@unchainedshop/admin-ui 5.0.0-alpha.11 → 5.0.0-alpha.14
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.
- package/README.md +1 -1
- package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
- package/dist/{chunk-I64TXIE7.js → chunk-5UHBGLFV.js} +40 -2
- package/dist/{chunk-PJLYVMUM.js → chunk-6WMH7PLC.js} +2 -2
- package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
- package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
- package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
- package/dist/{chunk-HJKRGBDG.js → chunk-EKWWSFDK.js} +1 -1
- package/dist/{chunk-Q6S3LBUF.js → chunk-JC6PXYZP.js} +7 -1
- package/dist/{chunk-BOMSMJF2.js → chunk-JGER2LQO.js} +1 -0
- package/dist/{chunk-ICJH36K4.js → chunk-M2242FCR.js} +1 -1
- package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
- package/dist/{chunk-BMDNY67T.js → chunk-NUGWX3KO.js} +3361 -1769
- package/dist/{chunk-E77YIMGR.js → chunk-XZ2V6XTD.js} +2 -2
- package/dist/components/ui/Loading.d.ts +8 -1
- package/dist/components/ui/Loading.d.ts.map +1 -1
- package/dist/components/ui/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/form.js +798 -379
- package/dist/gql/operation-types.d.ts +51 -18
- package/dist/gql/operation-types.d.ts.map +1 -1
- package/dist/gql/schema-types.d.ts +28 -2
- package/dist/gql/schema-types.d.ts.map +1 -1
- package/dist/hooks.js +5 -5
- package/dist/modal.js +5 -5
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +1 -0
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +1 -1
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +1 -0
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +1 -1
- package/dist/modules/accounts.js +48 -2
- package/dist/modules/assortment.js +2 -2
- package/dist/modules/common/components/SearchWithTags.d.ts +10 -0
- package/dist/modules/common/components/SearchWithTags.d.ts.map +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts +1 -0
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +1 -1
- package/dist/modules/country.js +1 -1
- package/dist/modules/currency.js +1 -1
- package/dist/modules/delivery-provider.js +1 -1
- package/dist/modules/enrollment.js +25 -11
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +1 -1
- package/dist/modules/forms/lib/validators.d.ts +3 -1
- package/dist/modules/forms/lib/validators.d.ts.map +1 -1
- package/dist/modules/language.js +1 -1
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +1 -1
- package/dist/modules/order.js +1 -2
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product/hooks/useProductsCount.d.ts +1 -1
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +1 -1
- package/dist/modules/product-review.js +2 -2
- package/dist/modules/product.js +437 -25
- package/dist/modules/quotation.js +2 -1
- package/dist/modules/token.js +1 -1
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work.js +1 -1
- package/dist/plugins.js +1 -1
- package/dist/providers.js +5 -5
- package/dist/shims/admin-ui-plugins.js +1 -1
- package/dist/shims/apollo-client-react.js +1 -1
- package/dist/shims/apollo-client.js +1 -1
- package/dist/shims/next-head.js +1 -1
- package/dist/shims/next-image.js +1 -1
- package/dist/shims/next-link.js +1 -1
- package/dist/shims/next-router.js +1 -1
- package/dist/shims/react-dom-client.js +1 -1
- package/dist/shims/react-dom.js +1 -1
- package/dist/shims/react-hook-form.js +1 -1
- package/dist/shims/react-intl.js +1 -1
- package/dist/shims/react-jsx-runtime.js +1 -1
- package/dist/shims/react-toastify.js +1 -1
- package/dist/shims/react.js +1 -1
- package/dist/theme.js +1 -1
- package/dist/ui.js +9627 -8204
- package/out/403/index.html +3 -3
- package/out/404/index.html +3 -3
- package/out/404.html +3 -3
- package/out/423/index.html +3 -3
- package/out/500/index.html +3 -3
- package/out/_next/static/WEaZ5SW9HLnJWzXs84JMH/_buildManifest.js +266 -0
- package/out/_next/static/chunks/0-kvzk5p0hp-4.js +11 -0
- package/out/_next/static/chunks/0-nzk-g6k41e-.js +119 -0
- package/out/_next/static/chunks/00p6gl0n0kga2.js +46 -0
- package/out/_next/static/chunks/01otzjqxk372n.js +1 -0
- package/out/_next/static/chunks/0389l__ljgq-b.js +1 -0
- package/out/_next/static/chunks/039xltalow0bh.js +1 -0
- package/out/_next/static/chunks/03awz8e25u6-9.js +33 -0
- package/out/_next/static/chunks/04_r4qnsjmy81.js +4 -0
- package/out/_next/static/chunks/04egfa7kckou_.js +165 -0
- package/out/_next/static/chunks/04kydtjv2qqb1.js +39 -0
- package/out/_next/static/chunks/05ghb-a4hshp1.js +24 -0
- package/out/_next/static/chunks/06gqojz2tfk7h.js +33 -0
- package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
- package/out/_next/static/chunks/0728622u98g6r.js +1 -0
- package/out/_next/static/chunks/08e3-wndual-j.js +183 -0
- package/out/_next/static/chunks/08gngcgmdigfl.js +7 -0
- package/out/_next/static/chunks/{01xy3u9ybz9ts.js → 08htfpcq8k2ct.js} +2 -2
- package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
- package/out/_next/static/chunks/0_ppdn6x6ci0v.js +31 -0
- package/out/_next/static/chunks/0ao00r36i0nko.js +4 -0
- package/out/_next/static/chunks/0az9r1m1m5nw7.js +5 -0
- package/out/_next/static/chunks/0bahbwxzev843.js +8 -0
- package/out/_next/static/chunks/0ejd4so6pfsb9.js +8 -0
- package/out/_next/static/chunks/0f0aouv41459l.js +99 -0
- package/out/_next/static/chunks/0f4mwm9gegsvc.js +8 -0
- package/out/_next/static/chunks/0ffdde8s4b7e2.js +5 -0
- package/out/_next/static/chunks/0ftb36h7poyeo.js +235 -0
- package/out/_next/static/chunks/0gclli_nyb0px.js +4 -0
- package/out/_next/static/chunks/0hv62tllrjbgx.js +5 -0
- package/out/_next/static/chunks/0ik3suboifvvc.js +1 -0
- package/out/_next/static/chunks/0iohwbogpxe5r.js +1 -0
- package/out/_next/static/chunks/0jsbw2npug66o.js +54 -0
- package/out/_next/static/chunks/0lgoprkr2wj68.js +12 -0
- package/out/_next/static/chunks/0mpgc4f7hc1dd.js +7 -0
- package/out/_next/static/chunks/0o4aj3bm49d_h.js +61 -0
- package/out/_next/static/chunks/0oauw10y-zu7q.js +14 -0
- package/out/_next/static/chunks/0p55j-ysba0wq.js +63 -0
- package/out/_next/static/chunks/0pnifxx4n6jz4.js +30 -0
- package/out/_next/static/chunks/0rj53mrsrvu49.js +5 -0
- package/out/_next/static/chunks/0s2jvi6_qj0lc.js +16 -0
- package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
- package/out/_next/static/chunks/0v2f0xq8mp63h.js +1 -0
- package/out/_next/static/chunks/0wvck3kmtd8h3.js +5 -0
- package/out/_next/static/chunks/0y-xf7e4lgmru.js +4 -0
- package/out/_next/static/chunks/0zlzflyq18hhy.js +4 -0
- package/out/_next/static/chunks/12cy_5m_0fj96.js +44 -0
- package/out/_next/static/chunks/12z0--swhgre2.js +33 -0
- package/out/_next/static/chunks/139wqbl161pdw.js +12 -0
- package/out/_next/static/chunks/13sl42_jx13hh.js +7 -0
- package/out/_next/static/chunks/14jd75j8ij4u2.js +3 -0
- package/out/_next/static/chunks/14wav1vmqi2oo.js +371 -0
- package/out/_next/static/chunks/15oodwh44nrve.js +43 -0
- package/out/_next/static/chunks/15ullli2vlj87.js +8 -0
- package/out/_next/static/chunks/177p92k5pdloo.js +1 -0
- package/out/_next/static/chunks/17g3a6iz0s59f.js +837 -0
- package/out/_next/static/chunks/19-1z6h5eeq_w.js +134 -0
- package/out/_next/static/chunks/19-fs9eq1syvw.js +103 -0
- package/out/_next/static/chunks/195cwzh3q1i0h.js +7 -0
- package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
- package/out/_next/static/chunks/1e2jykfql801f.js +16 -0
- package/out/_next/static/chunks/1fou9xz0_rm6d.js +5 -0
- package/out/_next/static/chunks/1gl4h7w9t850f.js +1 -0
- package/out/_next/static/chunks/1in8spfokcjsp.js +8 -0
- package/out/_next/static/chunks/1k1b69hvwr-0g.js +5 -0
- package/out/_next/static/chunks/1kdcu-0jkya-b.js +61 -0
- package/out/_next/static/chunks/1kyjdq0bnkw10.js +95 -0
- package/out/_next/static/chunks/1l2ix83845lui.js +5 -0
- package/out/_next/static/chunks/{1iamjw8qh1m4o.js → 1mx0p6r-9c5u_.js} +1 -1
- package/out/_next/static/chunks/1ossmsdseqyeu.js +147 -0
- package/out/_next/static/chunks/1p5lt4tkyouxz.js +4 -0
- package/out/_next/static/chunks/1pm7k55e4pfpm.js +59 -0
- package/out/_next/static/chunks/1pqyz1opm5_7r.js +1 -0
- package/out/_next/static/chunks/1qd4fupa708s4.js +5 -0
- package/out/_next/static/chunks/1r61kgm2ct0nf.js +74 -0
- package/out/_next/static/chunks/1rmlm4404fsge.js +15 -0
- package/out/_next/static/chunks/1s3ool53utm9o.js +39 -0
- package/out/_next/static/chunks/1sc2ug6_szd_d.js +2 -0
- package/out/_next/static/chunks/1t1ecrjkykbv1.js +4 -0
- package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
- package/out/_next/static/chunks/1tej7js0fwv1h.js +11 -0
- package/out/_next/static/chunks/1th8knz7txt9f.js +5 -0
- package/out/_next/static/chunks/1tosw188dr9d6.js +44 -0
- package/out/_next/static/chunks/1tuf110jbpl_r.js +1 -0
- package/out/_next/static/chunks/1tzkeg4c-br-z.js +17 -0
- package/out/_next/static/chunks/1u7l4tos3wysc.js +5 -0
- package/out/_next/static/chunks/1v0ag3k96c56s.js +1 -0
- package/out/_next/static/chunks/1w6iuc_ba9g-3.js +3 -0
- package/out/_next/static/chunks/1x7cm_fuwp9m8.js +1 -0
- package/out/_next/static/chunks/1yv22tvuqofr_.js +296 -0
- package/out/_next/static/chunks/1yvl8l5yx1rj8.js +4 -0
- package/out/_next/static/chunks/2-s-hteo3lrnj.js +21 -0
- package/out/_next/static/chunks/20au-bdji0nu2.js +14 -0
- package/out/_next/static/chunks/20p146xfq-xrq.js +5 -0
- package/out/_next/static/chunks/20t2g2u3jhtvy.js +5 -0
- package/out/_next/static/chunks/21zghy5-42i1e.js +1 -0
- package/out/_next/static/chunks/{43uqmej6-s4am.js → 231mhpexhdm2g.js} +3 -3
- package/out/_next/static/chunks/{3m_9ozv0orvze.js → 249b4cg2ev597.js} +3 -3
- package/out/_next/static/chunks/24zfmgc4cu-n1.js +9 -0
- package/out/_next/static/chunks/25b_pi2_ro9yy.js +5 -0
- package/out/_next/static/chunks/25ite4-jpq_mo.js +4 -0
- package/out/_next/static/chunks/25vdihxswn7dy.js +1 -0
- package/out/_next/static/chunks/2693w1263bb3s.js +5 -0
- package/out/_next/static/chunks/26guwpx1_pkxv.js +1 -0
- package/out/_next/static/chunks/26yarz_db5ms0.js +5 -0
- package/out/_next/static/chunks/28xbb7hkhkoup.js +1 -0
- package/out/_next/static/chunks/299pou8yuoq6b.js +116 -0
- package/out/_next/static/chunks/29x7cj-318eaa.js +1 -0
- package/out/_next/static/chunks/2_cq751vth7u7.js +81 -0
- package/out/_next/static/chunks/2a2cayocu5mc3.js +1 -0
- package/out/_next/static/chunks/2a9dpzjx5mfjp.js +4 -0
- package/out/_next/static/chunks/2apnv1hcv-4zc.js +23 -0
- package/out/_next/static/chunks/2bugi3kot5jtu.js +1 -0
- package/out/_next/static/chunks/2dn2ma73q9ye0.js +5 -0
- package/out/_next/static/chunks/2ege1545af18d.js +4 -0
- package/out/_next/static/chunks/2fnn6q9fmhu3s.js +4 -0
- package/out/_next/static/chunks/2ga95n_v_6_7b.js +175 -0
- package/out/_next/static/chunks/2gfljy_oo0nnr.js +12 -0
- package/out/_next/static/chunks/2gfot_-pkeohl.js +103 -0
- package/out/_next/static/chunks/2gfzt_fdr-h96.js +81 -0
- package/out/_next/static/chunks/2h4bxz0oww5pk.js +4 -0
- package/out/_next/static/chunks/2hc3d38gb0q-v.js +1 -0
- package/out/_next/static/chunks/2hci18oosfv5d.js +5 -0
- package/out/_next/static/chunks/{3fpgg_wy6j2ph.js → 2ipcn3vy6d4_6.js} +1 -1
- package/out/_next/static/chunks/2j4g1tyyp8ta1.js +1 -0
- package/out/_next/static/chunks/2mt78e61hd_4p.js +100 -0
- package/out/_next/static/chunks/2rri_ex6s-d8g.js +4 -0
- package/out/_next/static/chunks/2sc6dwzzc2t7n.js +5 -0
- package/out/_next/static/chunks/2texlu369byon.js +1 -0
- package/out/_next/static/chunks/2tq8sqd3-wavo.js +6 -0
- package/out/_next/static/chunks/2u2obxhc_n6xk.js +119 -0
- package/out/_next/static/chunks/{0m73vd78oga92.js → 2u4cc_r_qo0s4.js} +14 -14
- package/out/_next/static/chunks/2u6n7ohruqpxp.js +1 -0
- package/out/_next/static/chunks/2u9myo1sjc-q0.js +276 -0
- package/out/_next/static/chunks/2ubbeh02scr2l.js +7 -0
- package/out/_next/static/chunks/2v_bdu-atp2qq.js +5 -0
- package/out/_next/static/chunks/2vyv371s8n48m.js +41 -0
- package/out/_next/static/chunks/2xd_5hafdvicw.js +5 -0
- package/out/_next/static/chunks/{2yw5sk06gdixu.js → 2y8uau15r3p-o.js} +1 -1
- package/out/_next/static/chunks/2ym9q2u0yw0m8.js +326 -0
- package/out/_next/static/chunks/2zb-xmda5rbn0.js +1 -0
- package/out/_next/static/chunks/2zsvxbghbsuz1.js +4 -0
- package/out/_next/static/chunks/3-grp4-_b_uin.js +5 -0
- package/out/_next/static/chunks/31i76bjr7wp3u.js +5 -0
- package/out/_next/static/chunks/32g5gxee1kcdc.js +28 -0
- package/out/_next/static/chunks/32thgoqghnqfk.js +5 -0
- package/out/_next/static/chunks/33svzh7wrh2ca.js +147 -0
- package/out/_next/static/chunks/33v1m9okpss0r.js +5 -0
- package/out/_next/static/chunks/34gspkpv7wikw.js +8 -0
- package/out/_next/static/chunks/34wf3lz_fft3k.js +2 -0
- package/out/_next/static/chunks/{1jmdpa0tc5puj.js → 35zhvtyq31ani.js} +3 -3
- package/out/_next/static/chunks/36vqjcd_y2j30.js +1 -0
- package/out/_next/static/chunks/{3btkj1_irjkq7.js → 36x7q29atus_r.js} +6 -6
- package/out/_next/static/chunks/38043sp-g7lor.js +43 -0
- package/out/_next/static/chunks/{1so6ouxrq_ffa.js → 393--hagnnm97.js} +3 -3
- package/out/_next/static/chunks/395bs5xmcnl_3.js +31 -0
- package/out/_next/static/chunks/3_0q-dmk8few_.css +1 -0
- package/out/_next/static/chunks/3_adkt8r_brx4.js +165 -0
- package/out/_next/static/chunks/3_jqu6hq_bq0s.js +23 -0
- package/out/_next/static/chunks/3_tuio1shb_8w.js +4 -0
- package/out/_next/static/chunks/3_u_uxeaysv2y.js +6 -0
- package/out/_next/static/chunks/3e9x78_cfl4gs.js +59 -0
- package/out/_next/static/chunks/3ek1bahoqa_ll.js +5 -0
- package/out/_next/static/chunks/3i7obrooylax2.js +1 -0
- package/out/_next/static/chunks/3ij_85v4doyfu.js +2 -0
- package/out/_next/static/chunks/3jfe0uesrzz7a.js +1 -0
- package/out/_next/static/chunks/3jgmo9q79w1-c.js +290 -0
- package/out/_next/static/chunks/3jp_xvjzuj3ts.js +33 -0
- package/out/_next/static/chunks/3l9ixfzewn8ct.js +5 -0
- package/out/_next/static/chunks/3ltrxqm61t2um.js +1 -0
- package/out/_next/static/chunks/3nrrzhhoy8amt.js +4 -0
- package/out/_next/static/chunks/3qt1oiw306jtf.js +5 -0
- package/out/_next/static/chunks/3s5_6nq23zb_5.js +7 -0
- package/out/_next/static/chunks/3s_74oi_rqb7q.js +5 -0
- package/out/_next/static/chunks/3skconxcf6r_s.js +156 -0
- package/out/_next/static/chunks/3t48n1yk76zoa.js +1 -0
- package/out/_next/static/chunks/3t_520l4ihlg3.js +54 -0
- package/out/_next/static/chunks/{3j25u7rzawm9f.js → 3ud-crkzgoj7q.js} +8 -8
- package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
- package/out/_next/static/chunks/3wr9v36meolw7.js +710 -0
- package/out/_next/static/chunks/3xun85a44o067.js +1 -0
- package/out/_next/static/chunks/3yktizlgzr6vc.js +4 -0
- package/out/_next/static/chunks/407elvwrmcfn6.js +5 -0
- package/out/_next/static/chunks/40j4nxaeofft-.js +1 -0
- package/out/_next/static/chunks/42ijceja_327z.js +54 -0
- package/out/_next/static/chunks/440jwge6wnjj6.js +1 -0
- package/out/_next/static/chunks/449x6nw2kd7l6.js +119 -0
- package/out/_next/static/chunks/44xnlcqhabyj6.js +174 -0
- package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
- package/out/_offline/index.html +3 -3
- package/out/account/forgot-password/index.html +3 -3
- package/out/account/index.html +3 -3
- package/out/assortments/AssortmentDetailPage/index.html +3 -3
- package/out/assortments/index.html +3 -3
- package/out/assortments/new/index.html +3 -3
- package/out/copilot/index.html +3 -3
- package/out/country/CountryDetailPage/index.html +3 -3
- package/out/country/index.html +3 -3
- package/out/country/new/index.html +3 -3
- package/out/currency/CurrencyDetailPage/index.html +3 -3
- package/out/currency/index.html +3 -3
- package/out/currency/new/index.html +3 -3
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
- package/out/delivery-provider/index.html +3 -3
- package/out/delivery-provider/new/index.html +3 -3
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
- package/out/enrollments/index.html +3 -3
- package/out/events/EventDetailPage/index.html +3 -3
- package/out/events/index.html +3 -3
- package/out/exports/index.html +3 -3
- package/out/ext/[[...slug]]/index.html +3 -3
- package/out/external/index.html +3 -3
- package/out/filters/FilterDetailPage/index.html +3 -3
- package/out/filters/index.html +3 -3
- package/out/filters/new/index.html +3 -3
- package/out/index.html +3 -3
- package/out/install/index.html +3 -3
- package/out/language/LanguageDetailPage/index.html +3 -3
- package/out/language/index.html +3 -3
- package/out/language/new/index.html +3 -3
- package/out/log-in/index.html +3 -3
- package/out/login-code/index.html +12 -0
- package/out/orders/OrderDetailPage/index.html +3 -3
- package/out/orders/index.html +3 -3
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
- package/out/payment-provider/index.html +3 -3
- package/out/payment-provider/new/index.html +3 -3
- package/out/products/ProductDetailPage/index.html +3 -3
- package/out/products/index.html +3 -3
- package/out/products/new/index.html +3 -3
- package/out/quotations/QuotationDetailPage/index.html +3 -3
- package/out/quotations/index.html +3 -3
- package/out/reset-password/index.html +3 -3
- package/out/sign-up/index.html +3 -3
- package/out/styleguide/index.html +3 -3
- package/out/tokens/TokenDetailPage/index.html +3 -3
- package/out/tokens/index.html +3 -3
- package/out/users/UserDetailPage/index.html +3 -3
- package/out/users/index.html +3 -3
- package/out/users/new/index.html +3 -3
- package/out/verify-email/index.html +3 -3
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
- package/out/warehousing-provider/index.html +3 -3
- package/out/warehousing-provider/new/index.html +3 -3
- package/out/works/WorkDetailPage/index.html +3 -3
- package/out/works/WorkQueueListView/index.html +3 -3
- package/out/works/index.html +3 -3
- package/out/works/management/index.html +3 -3
- package/package.json +10 -10
- package/src/modules/accounts/hooks/logOut.ts +26 -0
- package/src/modules/accounts/hooks/useAddEmail.ts +34 -0
- package/src/modules/accounts/hooks/useAddWeb3Address.ts +38 -0
- package/src/modules/accounts/hooks/useAddWebAuthnCredentials.ts +48 -0
- package/src/modules/accounts/hooks/useBulkUserOperations.ts +91 -0
- package/src/modules/accounts/hooks/useChangePassword.ts +36 -0
- package/src/modules/accounts/hooks/useCreateUser.ts +74 -0
- package/src/modules/accounts/hooks/useCreateWebAuthnCredentialCreationOptions.ts +31 -0
- package/src/modules/accounts/hooks/useCreateWebAuthnCredentialRequestOptions.ts +30 -0
- package/src/modules/accounts/hooks/useCurrentUser.ts +44 -0
- package/src/modules/accounts/hooks/useDeleteUser.ts +26 -0
- package/src/modules/accounts/hooks/useEnrollUser.ts +48 -0
- package/src/modules/accounts/hooks/useForgotPassword.ts +35 -0
- package/src/modules/accounts/hooks/useGenerateLoginCredentials.ts +80 -0
- package/src/modules/accounts/hooks/useGenerateWebAuthCredentials.ts +102 -0
- package/src/modules/accounts/hooks/useLoginWithLoginCode.ts +45 -0
- package/src/modules/accounts/hooks/useLoginWithPassword.ts +65 -0
- package/src/modules/accounts/hooks/useLoginWithWebAuthn.ts +38 -0
- package/src/modules/accounts/hooks/useLogoutAllSessions.ts +27 -0
- package/src/modules/accounts/hooks/useRemoveBookmark.ts +36 -0
- package/src/modules/accounts/hooks/useRemoveEmail.ts +40 -0
- package/src/modules/accounts/hooks/useRemoveWeb3Address.ts +38 -0
- package/src/modules/accounts/hooks/useRemoveWebAuthCredentials.ts +36 -0
- package/src/modules/accounts/hooks/useRequestLoginCode.ts +31 -0
- package/src/modules/accounts/hooks/useResetPassword.ts +46 -0
- package/src/modules/accounts/hooks/useSendVerificationEmail.ts +35 -0
- package/src/modules/accounts/hooks/useSetPassword.ts +38 -0
- package/src/modules/accounts/hooks/useSetRoles.ts +40 -0
- package/src/modules/accounts/hooks/useSetUserTags.ts +48 -0
- package/src/modules/accounts/hooks/useSetUsername.ts +40 -0
- package/src/modules/accounts/hooks/useUpdateUserAvatar.ts +49 -0
- package/src/modules/accounts/hooks/useUpdateUserProfile.ts +40 -0
- package/src/modules/accounts/hooks/useUser.ts +201 -0
- package/src/modules/accounts/hooks/useUserBookmarks.ts +51 -0
- package/src/modules/accounts/hooks/useUserExport.ts +107 -0
- package/src/modules/accounts/hooks/useUserWebAuthnCredentials.ts +44 -0
- package/src/modules/accounts/hooks/useUsers.ts +82 -0
- package/src/modules/accounts/hooks/useUsersCount.ts +50 -0
- package/src/modules/accounts/hooks/useValidateEmailVerificationToken.ts +34 -0
- package/src/modules/accounts/hooks/useValidateResetPasswordToken.ts +35 -0
- package/src/modules/accounts/hooks/useVerifyEmail.ts +41 -0
- package/src/modules/accounts/hooks/useVerifyWeb3Address.ts +40 -0
- package/src/modules/accounts/index.ts +2 -0
- package/src/modules/assortment/fragments/AssortmentChildrenFragment.ts +16 -0
- package/src/modules/assortment/fragments/AssortmentFragment.ts +31 -0
- package/src/modules/assortment/fragments/AssortmentLinkFragment.ts +18 -0
- package/src/modules/assortment/fragments/AssortmentMediaFragment.ts +19 -0
- package/src/modules/assortment/fragments/AssortmentMediaTextsFragment.ts +12 -0
- package/src/modules/assortment/fragments/AssortmentTextsFragment.ts +14 -0
- package/src/modules/assortment/hooks/useAddAssortmentFilter.ts +46 -0
- package/src/modules/assortment/hooks/useAddAssortmentLink.ts +46 -0
- package/src/modules/assortment/hooks/useAddAssortmentMedia.ts +52 -0
- package/src/modules/assortment/hooks/useAddAssortmentProduct.ts +46 -0
- package/src/modules/assortment/hooks/useAssortment.ts +56 -0
- package/src/modules/assortment/hooks/useAssortmentChildren.ts +58 -0
- package/src/modules/assortment/hooks/useAssortmentExport.ts +60 -0
- package/src/modules/assortment/hooks/useAssortmentFilters.ts +51 -0
- package/src/modules/assortment/hooks/useAssortmentLinks.ts +54 -0
- package/src/modules/assortment/hooks/useAssortmentMedia.ts +57 -0
- package/src/modules/assortment/hooks/useAssortmentPaths.ts +39 -0
- package/src/modules/assortment/hooks/useAssortmentProducts.ts +62 -0
- package/src/modules/assortment/hooks/useAssortments.ts +103 -0
- package/src/modules/assortment/hooks/useAssortmentsCount.ts +51 -0
- package/src/modules/assortment/hooks/useBulkAssortmentOperations.ts +100 -0
- package/src/modules/assortment/hooks/useCreateAssortment.ts +55 -0
- package/src/modules/assortment/hooks/usePrepareAssortmentImport.ts +211 -0
- package/src/modules/assortment/hooks/useRemoveAssortment.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentFilter.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentLink.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentMedia.ts +36 -0
- package/src/modules/assortment/hooks/useRemoveAssortmentProduct.ts +36 -0
- package/src/modules/assortment/hooks/useReorderAssortmentFilters.ts +39 -0
- package/src/modules/assortment/hooks/useReorderAssortmentLinks.ts +37 -0
- package/src/modules/assortment/hooks/useReorderAssortmentMedia.ts +37 -0
- package/src/modules/assortment/hooks/useReorderAssortmentProducts.ts +39 -0
- package/src/modules/assortment/hooks/useTranslatedAssortmentMediaTexts.ts +41 -0
- package/src/modules/assortment/hooks/useTranslatedAssortmentTexts.ts +40 -0
- package/src/modules/assortment/hooks/useUpdateAssortment.ts +43 -0
- package/src/modules/assortment/hooks/useUpdateAssortmentMediaTexts.ts +45 -0
- package/src/modules/assortment/hooks/useUpdateAssortmentTexts.ts +42 -0
- package/src/modules/common/fragments/AddressFragment.ts +16 -0
- package/src/modules/common/hooks/useApp.ts +11 -0
- package/src/modules/common/hooks/useBulkActionConfirmation.tsx +68 -0
- package/src/modules/common/hooks/useBulkResultHandler.ts +83 -0
- package/src/modules/common/hooks/useBulkSelection.ts +86 -0
- package/src/modules/common/hooks/useCSVExport.ts +94 -0
- package/src/modules/common/hooks/useCSVImport.ts +69 -0
- package/src/modules/common/hooks/useChatEndpointChecker.ts +25 -0
- package/src/modules/common/hooks/useConfirmMediaUpload.ts +45 -0
- package/src/modules/common/hooks/useDashboardMetrics.ts +42 -0
- package/src/modules/common/hooks/useLocalStorage.ts +34 -0
- package/src/modules/common/hooks/useOrderAnalytics.ts +139 -0
- package/src/modules/common/hooks/useOrderItemsAnalytics.ts +107 -0
- package/src/modules/common/hooks/useOutsideClick.ts +29 -0
- package/src/modules/common/hooks/usePortal.ts +54 -0
- package/src/modules/common/hooks/useScrollRestoration.ts +123 -0
- package/src/modules/common/hooks/useShopConfiguration.ts +83 -0
- package/src/modules/common/hooks/useShopInfo.ts +66 -0
- package/src/modules/common/hooks/useStatusTypes.ts +29 -0
- package/src/modules/common/hooks/useSystemRoles.ts +29 -0
- package/src/modules/common/hooks/useTheme.ts +14 -0
- package/src/modules/copilot/hooks/useAvailableTools.ts +92 -0
- package/src/modules/copilot/hooks/useChatManager.ts +169 -0
- package/src/modules/copilot/hooks/useToolTextNormalizer.ts +84 -0
- package/src/modules/country/fragments/CountryFragment.ts +17 -0
- package/src/modules/country/hooks/useCountries.ts +66 -0
- package/src/modules/country/hooks/useCountry.ts +34 -0
- package/src/modules/country/hooks/useCreateCountry.ts +41 -0
- package/src/modules/country/hooks/useRemoveCountry.ts +38 -0
- package/src/modules/country/hooks/useUpdateCountry.ts +42 -0
- package/src/modules/currency/fragments/CurrencyFragment.ts +13 -0
- package/src/modules/currency/hooks/useCreateCurrency.ts +48 -0
- package/src/modules/currency/hooks/useCurrencies.ts +68 -0
- package/src/modules/currency/hooks/useCurrency.ts +34 -0
- package/src/modules/currency/hooks/useRemoveCurrency.ts +38 -0
- package/src/modules/currency/hooks/useUpdateCurrency.ts +47 -0
- package/src/modules/delivery-provider/hooks/useCreateDeliveryProvider.ts +67 -0
- package/src/modules/delivery-provider/hooks/useDeliveryInterfacesByType.ts +38 -0
- package/src/modules/delivery-provider/hooks/useDeliveryProvider.ts +60 -0
- package/src/modules/delivery-provider/hooks/useDeliveryProviderTypes.ts +34 -0
- package/src/modules/delivery-provider/hooks/useDeliveryProviders.ts +59 -0
- package/src/modules/delivery-provider/hooks/useRemoveDeliveryProvider.ts +38 -0
- package/src/modules/delivery-provider/hooks/useUpdateDeliveryProvider.ts +68 -0
- package/src/modules/enrollment/fragments/EnrollmentDetailFragment.ts +111 -0
- package/src/modules/enrollment/fragments/EnrollmentFragment.ts +66 -0
- package/src/modules/enrollment/hooks/useActivateEnrollment.ts +36 -0
- package/src/modules/enrollment/hooks/useEnrollment.ts +39 -0
- package/src/modules/enrollment/hooks/useEnrollments.ts +70 -0
- package/src/modules/enrollment/hooks/useSendEnrollmentEmail.ts +35 -0
- package/src/modules/enrollment/hooks/useSuspendEnrollment.ts +31 -0
- package/src/modules/enrollment/hooks/useTerminateEnrollment.ts +48 -0
- package/src/modules/enrollment/hooks/useUpdateEnrollmentExpires.ts +38 -0
- package/src/modules/enrollment/hooks/useUpdateEnrollmentPlan.ts +45 -0
- package/src/modules/enrollment/hooks/useUserEnrollments.ts +61 -0
- package/src/modules/event/fragments/EventFragment.ts +12 -0
- package/src/modules/event/hooks/useEvent.ts +32 -0
- package/src/modules/event/hooks/useEventTypes.ts +29 -0
- package/src/modules/event/hooks/useEvents.ts +77 -0
- package/src/modules/filter/fragments/FilterFragment.ts +24 -0
- package/src/modules/filter/fragments/FilterOptionFragment.ts +16 -0
- package/src/modules/filter/fragments/FilterTextsFragment.ts +12 -0
- package/src/modules/filter/hooks/useBulkFilterOperations.ts +59 -0
- package/src/modules/filter/hooks/useCreateFilter.ts +44 -0
- package/src/modules/filter/hooks/useCreateFilterOption.ts +42 -0
- package/src/modules/filter/hooks/useFilter.ts +44 -0
- package/src/modules/filter/hooks/useFilterExport.ts +35 -0
- package/src/modules/filter/hooks/useFilterOptions.ts +40 -0
- package/src/modules/filter/hooks/useFilterTypes.ts +34 -0
- package/src/modules/filter/hooks/useFilters.ts +78 -0
- package/src/modules/filter/hooks/useFiltersCount.ts +37 -0
- package/src/modules/filter/hooks/usePrepareFilterImport.ts +142 -0
- package/src/modules/filter/hooks/useRemoveFilter.ts +34 -0
- package/src/modules/filter/hooks/useRemoveFilterOption.ts +40 -0
- package/src/modules/filter/hooks/useTranslatedFilterTexts.ts +40 -0
- package/src/modules/filter/hooks/useUpdateFilter.ts +38 -0
- package/src/modules/filter/hooks/useUpdateFilterTexts.ts +48 -0
- package/src/modules/forms/hooks/useField.ts +151 -0
- package/src/modules/forms/hooks/useForm.ts +210 -0
- package/src/modules/forms/hooks/useFormContext.ts +7 -0
- package/src/modules/language/fragments/LanguageFragment.ts +13 -0
- package/src/modules/language/hooks/useCreateLanguage.ts +40 -0
- package/src/modules/language/hooks/useLanguage.ts +34 -0
- package/src/modules/language/hooks/useLanguages.ts +64 -0
- package/src/modules/language/hooks/useRemoveLanguage.ts +38 -0
- package/src/modules/language/hooks/useUpdateLanguage.ts +42 -0
- package/src/modules/modal/hooks/useModal.ts +8 -0
- package/src/modules/order/fragments/OrderDetailFragment.ts +254 -0
- package/src/modules/order/fragments/OrderFragment.ts +42 -0
- package/src/modules/order/hooks/useConfirmOrder.ts +36 -0
- package/src/modules/order/hooks/useDeliverOrder.ts +36 -0
- package/src/modules/order/hooks/useOrder.ts +35 -0
- package/src/modules/order/hooks/useOrders.ts +105 -0
- package/src/modules/order/hooks/usePayOrder.ts +36 -0
- package/src/modules/order/hooks/useRejectOrder.ts +36 -0
- package/src/modules/order/hooks/useRemoveOrder.ts +36 -0
- package/src/modules/order/hooks/useUserCart.ts +71 -0
- package/src/modules/order/hooks/useUserOrders.ts +65 -0
- package/src/modules/payment-providers/fragments/PaymentProviderFragment.ts +21 -0
- package/src/modules/payment-providers/hooks/useCreatePaymentProvider.ts +43 -0
- package/src/modules/payment-providers/hooks/usePaymentInterfacesByType.ts +38 -0
- package/src/modules/payment-providers/hooks/usePaymentProvider.ts +39 -0
- package/src/modules/payment-providers/hooks/usePaymentProviderTypes.ts +34 -0
- package/src/modules/payment-providers/hooks/usePaymentProviders.ts +42 -0
- package/src/modules/payment-providers/hooks/useRemovePaymentProvider.ts +38 -0
- package/src/modules/payment-providers/hooks/useUpdatePaymentProvider.ts +47 -0
- package/src/modules/product/fragments/ProductAssignmentFragment.ts +39 -0
- package/src/modules/product/fragments/ProductBriefFragment.ts +57 -0
- package/src/modules/product/fragments/ProductCatalogPriceFragment.ts +23 -0
- package/src/modules/product/fragments/ProductDetailFragment.ts +51 -0
- package/src/modules/product/fragments/ProductDimensionFragment.ts +12 -0
- package/src/modules/product/fragments/ProductMediaFragment.ts +24 -0
- package/src/modules/product/fragments/ProductMediaTextsFragment.ts +12 -0
- package/src/modules/product/fragments/ProductPlanConfigurationFragment.ts +14 -0
- package/src/modules/product/fragments/ProductTextsFragment.ts +17 -0
- package/src/modules/product/fragments/ProductVariationFragment.ts +27 -0
- package/src/modules/product/fragments/TokenFragment.ts +24 -0
- package/src/modules/product/hooks/useAddProductAssignment.ts +46 -0
- package/src/modules/product/hooks/useAddProductMedia.ts +47 -0
- package/src/modules/product/hooks/useBulkProductOperations.ts +123 -0
- package/src/modules/product/hooks/useCreateProduct.ts +72 -0
- package/src/modules/product/hooks/useCreateProductBundleItem.ts +40 -0
- package/src/modules/product/hooks/useCreateProductVariation.ts +46 -0
- package/src/modules/product/hooks/useCreateProductVariationOption.ts +46 -0
- package/src/modules/product/hooks/useExportToken.ts +51 -0
- package/src/modules/product/hooks/useMenuPosition.ts +34 -0
- package/src/modules/product/hooks/usePrepareProductImport.ts +350 -0
- package/src/modules/product/hooks/useProduct.ts +93 -0
- package/src/modules/product/hooks/useProductAssignments.ts +71 -0
- package/src/modules/product/hooks/useProductBundleItems.ts +61 -0
- package/src/modules/product/hooks/useProductCatalogPrices.ts +39 -0
- package/src/modules/product/hooks/useProductExport.ts +90 -0
- package/src/modules/product/hooks/useProductFulfillmentSimulation.ts +137 -0
- package/src/modules/product/hooks/useProductMedia.ts +44 -0
- package/src/modules/product/hooks/useProductPlan.ts +50 -0
- package/src/modules/product/hooks/useProductPlanConfigurationOptions.ts +42 -0
- package/src/modules/product/hooks/useProductReviews.ts +62 -0
- package/src/modules/product/hooks/useProductSupply.ts +52 -0
- package/src/modules/product/hooks/useProductTokenization.ts +52 -0
- package/src/modules/product/hooks/useProductVariationTypes.ts +34 -0
- package/src/modules/product/hooks/useProductVariations.ts +50 -0
- package/src/modules/product/hooks/useProductWarehousing.ts +45 -0
- package/src/modules/product/hooks/useProducts.ts +111 -0
- package/src/modules/product/hooks/useProductsCount.ts +54 -0
- package/src/modules/product/hooks/usePublishProduct.ts +39 -0
- package/src/modules/product/hooks/useReOrderProductMedia.ts +36 -0
- package/src/modules/product/hooks/useRemoveBundleItem.ts +37 -0
- package/src/modules/product/hooks/useRemoveProduct.ts +36 -0
- package/src/modules/product/hooks/useRemoveProductAssignment.ts +40 -0
- package/src/modules/product/hooks/useRemoveProductMedia.ts +36 -0
- package/src/modules/product/hooks/useRemoveProductVariation.ts +36 -0
- package/src/modules/product/hooks/useRemoveProductVariationOption.ts +43 -0
- package/src/modules/product/hooks/useScaffoldBundleItem.ts +38 -0
- package/src/modules/product/hooks/useScaffoldVariationProduct.ts +50 -0
- package/src/modules/product/hooks/useSmartContractStandards.ts +34 -0
- package/src/modules/product/hooks/useTranslatedProductMediaTexts.ts +39 -0
- package/src/modules/product/hooks/useTranslatedProductTexts.ts +42 -0
- package/src/modules/product/hooks/useUnPublishProduct.ts +39 -0
- package/src/modules/product/hooks/useUpdateProduct.ts +46 -0
- package/src/modules/product/hooks/useUpdateProductCommerce.ts +50 -0
- package/src/modules/product/hooks/useUpdateProductMediaTexts.ts +42 -0
- package/src/modules/product/hooks/useUpdateProductPlan.ts +54 -0
- package/src/modules/product/hooks/useUpdateProductSupply.ts +60 -0
- package/src/modules/product/hooks/useUpdateProductTexts.ts +39 -0
- package/src/modules/product/hooks/useUpdateProductTokenization.ts +58 -0
- package/src/modules/product/hooks/useUpdateProductVariationTexts.ts +50 -0
- package/src/modules/product/hooks/useUpdateProductWarehousing.ts +50 -0
- package/src/modules/product/hooks/useUserTokens.ts +48 -0
- package/src/modules/product/index.ts +3 -0
- package/src/modules/product-review/fragments/ProductReviewDetailFragment.ts +55 -0
- package/src/modules/product-review/hooks/useAddProductReviewVote.ts +55 -0
- package/src/modules/product-review/hooks/useCreateProductReview.ts +47 -0
- package/src/modules/product-review/hooks/useProductReviewsByProductId.ts +70 -0
- package/src/modules/product-review/hooks/useRemoveProductReview.ts +38 -0
- package/src/modules/product-review/hooks/useRemoveProductReviewVote.ts +43 -0
- package/src/modules/product-review/hooks/useUserProductReviews.ts +92 -0
- package/src/modules/quotation/fragments/QuotationDetailFragment.ts +71 -0
- package/src/modules/quotation/fragments/QuotationFragment.ts +54 -0
- package/src/modules/quotation/hooks/useMakeQuotationProposal.ts +41 -0
- package/src/modules/quotation/hooks/useQuotation.ts +37 -0
- package/src/modules/quotation/hooks/useQuotations.ts +61 -0
- package/src/modules/quotation/hooks/useRejectQuotation.ts +41 -0
- package/src/modules/quotation/hooks/useUserQuotations.ts +60 -0
- package/src/modules/quotation/hooks/useVerifyQuotation.ts +41 -0
- package/src/modules/search/fragments/GlobalSearchFragment.ts +20 -0
- package/src/modules/search/hooks/useGlobalSearch.ts +168 -0
- package/src/modules/token/hooks/useInvalidateTicket.ts +27 -0
- package/src/modules/token/hooks/useToken.ts +64 -0
- package/src/modules/token/hooks/useTokens.ts +72 -0
- package/src/modules/warehousing-providers/fragments/WarehousingProviderFragment.ts +21 -0
- package/src/modules/warehousing-providers/hooks/useCreateWarehousingProvider.ts +46 -0
- package/src/modules/warehousing-providers/hooks/useRemoveWarehousingProvider.ts +38 -0
- package/src/modules/warehousing-providers/hooks/useUpdateWarehousingProvider.ts +47 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingInterfacesByType.ts +38 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingProvider.ts +39 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingProviderTypes.ts +34 -0
- package/src/modules/warehousing-providers/hooks/useWarehousingProviders.ts +41 -0
- package/src/modules/work/fragments/WorkFragment.ts +24 -0
- package/src/modules/work/hooks/useActiveWorkTypes.ts +29 -0
- package/src/modules/work/hooks/useAddWork.ts +62 -0
- package/src/modules/work/hooks/useAllocateWork.ts +40 -0
- package/src/modules/work/hooks/useRecentExports.ts +129 -0
- package/src/modules/work/hooks/useRegisteredWorkTypes.ts +27 -0
- package/src/modules/work/hooks/useRemoveWork.ts +36 -0
- package/src/modules/work/hooks/useWork.ts +42 -0
- package/src/modules/work/hooks/useWorkQueue.ts +98 -0
- package/src/sdk/README.md +2 -2
- package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +0 -262
- package/out/_next/static/chunks/02ir8k2vqhw7u.js +0 -4
- package/out/_next/static/chunks/03mdkmx9pb3yx.js +0 -28
- package/out/_next/static/chunks/03spbldywp99b.js +0 -31
- package/out/_next/static/chunks/0531sa8v36e39.js +0 -1
- package/out/_next/static/chunks/065ltxdt7s8b2.js +0 -134
- package/out/_next/static/chunks/06b1jza2fvc6f.js +0 -4
- package/out/_next/static/chunks/0701uizxsgs75.js +0 -4
- package/out/_next/static/chunks/09olk50zbo5r6.js +0 -5
- package/out/_next/static/chunks/09pabifvs84zb.js +0 -12
- package/out/_next/static/chunks/0_pn7w49dpkak.js +0 -5
- package/out/_next/static/chunks/0a_gulnq-c7to.js +0 -709
- package/out/_next/static/chunks/0agx-csdwbk-x.js +0 -5
- package/out/_next/static/chunks/0clmvy-auef0p.js +0 -14
- package/out/_next/static/chunks/0czktxcs2aa12.js +0 -1
- package/out/_next/static/chunks/0d_qylr054ab-.js +0 -5
- package/out/_next/static/chunks/0e2znhpcecrqs.js +0 -175
- package/out/_next/static/chunks/0ef4vp3ehm369.js +0 -4
- package/out/_next/static/chunks/0fggi8jpi5gjk.js +0 -165
- package/out/_next/static/chunks/0gyabz3vqllr6.js +0 -83
- package/out/_next/static/chunks/0j05dboa5_xkw.js +0 -5
- package/out/_next/static/chunks/0kr4ift9_1a3s.js +0 -1
- package/out/_next/static/chunks/0l8tmlevl_6p0.js +0 -1
- package/out/_next/static/chunks/0o91usftba97q.js +0 -54
- package/out/_next/static/chunks/0oi1kpp0levnm.js +0 -1
- package/out/_next/static/chunks/0p86ng98eiz5q.js +0 -11
- package/out/_next/static/chunks/0pw1zl8_l93xl.js +0 -5
- package/out/_next/static/chunks/0py8-umjmwiwi.js +0 -156
- package/out/_next/static/chunks/0q0m2pv-3b2e2.js +0 -4
- package/out/_next/static/chunks/0r57e83u39trg.js +0 -5
- package/out/_next/static/chunks/0r9a_mcjh1k24.js +0 -6
- package/out/_next/static/chunks/0rgtc82y8z7_x.js +0 -5
- package/out/_next/static/chunks/0rxhx_x-7dojh.js +0 -182
- package/out/_next/static/chunks/0s6u_6w75ggbw.js +0 -297
- package/out/_next/static/chunks/0teb3b5h78855.js +0 -44
- package/out/_next/static/chunks/0thsuuvsozjop.js +0 -54
- package/out/_next/static/chunks/0v6x3uondh5hw.js +0 -5
- package/out/_next/static/chunks/0v_uz3j8jolmq.js +0 -4
- package/out/_next/static/chunks/0vwmp6qrw7odm.js +0 -7
- package/out/_next/static/chunks/0w6t6v_jzrudq.js +0 -4
- package/out/_next/static/chunks/0w7gz501ry22r.js +0 -4
- package/out/_next/static/chunks/0xgn-89s97a5w.js +0 -1
- package/out/_next/static/chunks/0xqtemh7t38y9.js +0 -119
- package/out/_next/static/chunks/1-1rj15j67dqt.js +0 -1
- package/out/_next/static/chunks/10drou7w-k58p.js +0 -4
- package/out/_next/static/chunks/11w7hldkge7sg.js +0 -8
- package/out/_next/static/chunks/130c8cta7pec6.js +0 -1
- package/out/_next/static/chunks/13qi39a_b6gkv.js +0 -1
- package/out/_next/static/chunks/15142badc5ufq.js +0 -4
- package/out/_next/static/chunks/155boltbcvwo-.js +0 -63
- package/out/_next/static/chunks/15_nwd8p454gd.js +0 -1
- package/out/_next/static/chunks/15s4qkdyz56pg.js +0 -115
- package/out/_next/static/chunks/15vdx0kewzv-6.js +0 -33
- package/out/_next/static/chunks/16shuavdpgni8.js +0 -327
- package/out/_next/static/chunks/170j06y4-47o4.js +0 -5
- package/out/_next/static/chunks/18a5kibvycb6u.js +0 -1
- package/out/_next/static/chunks/1_bckhq06wfmb.js +0 -4
- package/out/_next/static/chunks/1_ymf_rfke1aw.js +0 -6
- package/out/_next/static/chunks/1a1m389awxw4k.js +0 -1
- package/out/_next/static/chunks/1albq_5cppsa1.js +0 -5
- package/out/_next/static/chunks/1bhibqf8k2-z1.js +0 -117
- package/out/_next/static/chunks/1bxesp6kakz8_.js +0 -353
- package/out/_next/static/chunks/1d80ahah359g5.js +0 -174
- package/out/_next/static/chunks/1dbjry-rs_5we.js +0 -1
- package/out/_next/static/chunks/1dlr1eig6zpl1.js +0 -12
- package/out/_next/static/chunks/1gq8ickcg_vmv.js +0 -147
- package/out/_next/static/chunks/1gyrsx1nip-lm.js +0 -2
- package/out/_next/static/chunks/1hma23kynopdj.js +0 -3
- package/out/_next/static/chunks/1i996uxxmc736.js +0 -234
- package/out/_next/static/chunks/1ivhp-mi-5l--.js +0 -57
- package/out/_next/static/chunks/1ktkks-wpk8q-.js +0 -1
- package/out/_next/static/chunks/1kz62r46jwi0y.js +0 -5
- package/out/_next/static/chunks/1lex3myb5hmsw.js +0 -1
- package/out/_next/static/chunks/1lha1nklxo2g7.js +0 -1
- package/out/_next/static/chunks/1mwmcucidjio0.js +0 -8
- package/out/_next/static/chunks/1mzejejof4s6g.js +0 -147
- package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
- package/out/_next/static/chunks/1p937fyqa7ssz.js +0 -1
- package/out/_next/static/chunks/1po7d3udj6iv4.js +0 -5
- package/out/_next/static/chunks/1qxxbcidu-hmv.js +0 -1
- package/out/_next/static/chunks/1re4i2t_po4sr.js +0 -95
- package/out/_next/static/chunks/1s4oi1bw8zl5d.js +0 -31
- package/out/_next/static/chunks/1sb04cqudnfpj.js +0 -4
- package/out/_next/static/chunks/1uom050rz5iol.js +0 -272
- package/out/_next/static/chunks/1uymuiqrms2h8.js +0 -103
- package/out/_next/static/chunks/1wijj_fal57co.js +0 -2
- package/out/_next/static/chunks/1wpen9t3_zbte.js +0 -1
- package/out/_next/static/chunks/1wpv1sl7vwg04.js +0 -99
- package/out/_next/static/chunks/1y3poj860g968.js +0 -24
- package/out/_next/static/chunks/1yk0pxcl4urkd.js +0 -4
- package/out/_next/static/chunks/1z2rl3h7scna4.js +0 -7
- package/out/_next/static/chunks/1zyhq82pkterc.js +0 -61
- package/out/_next/static/chunks/2-4610weysas_.js +0 -1
- package/out/_next/static/chunks/2-zr9-ri30va5.css +0 -1
- package/out/_next/static/chunks/20j8cdot33hql.js +0 -13
- package/out/_next/static/chunks/21fo9zerxyx-l.js +0 -59
- package/out/_next/static/chunks/22sxsq82r3cwy.js +0 -41
- package/out/_next/static/chunks/23nwkbry8kz0-.js +0 -1
- package/out/_next/static/chunks/259ckrmoldaqg.js +0 -5
- package/out/_next/static/chunks/25y2dqqrhstuq.js +0 -5
- package/out/_next/static/chunks/28myh-gi8t3t7.js +0 -7
- package/out/_next/static/chunks/29y82c6-u55hj.js +0 -5
- package/out/_next/static/chunks/2ahlen2u4lbnm.js +0 -16
- package/out/_next/static/chunks/2c3ehieqiwiw8.js +0 -119
- package/out/_next/static/chunks/2c5gq6izeq6nx.js +0 -81
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
- package/out/_next/static/chunks/2d9lzme_uzwvq.js +0 -1
- package/out/_next/static/chunks/2dqoft2pp4355.js +0 -1
- package/out/_next/static/chunks/2gso7_8v7owco.js +0 -1
- package/out/_next/static/chunks/2hc4nowrexhn3.js +0 -100
- package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
- package/out/_next/static/chunks/2hw2_8kkf_2fg.js +0 -1
- package/out/_next/static/chunks/2kd4p_esjbozz.js +0 -21
- package/out/_next/static/chunks/2lwhn1ypqwukz.js +0 -11
- package/out/_next/static/chunks/2oz432iieo_c6.js +0 -43
- package/out/_next/static/chunks/2qjnhmz4c5fq1.js +0 -23
- package/out/_next/static/chunks/2rdjgc7_za785.js +0 -9
- package/out/_next/static/chunks/2ru66cyp0hbxn.js +0 -103
- package/out/_next/static/chunks/2ung-az_h871_.js +0 -4
- package/out/_next/static/chunks/2v4rvvdyh028e.js +0 -1
- package/out/_next/static/chunks/2vsl3-revotpl.js +0 -43
- package/out/_next/static/chunks/2wbc_9uwtsjbp.js +0 -15
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
- package/out/_next/static/chunks/2y6i_xssusr93.js +0 -1
- package/out/_next/static/chunks/2y_t26eglpeka.js +0 -4
- package/out/_next/static/chunks/3-hgyqm9mhcm9.js +0 -33
- package/out/_next/static/chunks/364y5vueeinvz.js +0 -276
- package/out/_next/static/chunks/366b9y413lk4d.js +0 -33
- package/out/_next/static/chunks/36vauyb71ot_b.js +0 -61
- package/out/_next/static/chunks/394m309ssmlo3.js +0 -5
- package/out/_next/static/chunks/39pveojee3ma1.js +0 -33
- package/out/_next/static/chunks/3_--novhq2u1q.js +0 -807
- package/out/_next/static/chunks/3apnk6kuvwze8.js +0 -5
- package/out/_next/static/chunks/3b0868kyqqkn3.js +0 -5
- package/out/_next/static/chunks/3dcwbsiechj8e.js +0 -7
- package/out/_next/static/chunks/3dyd0ilb-ee5w.js +0 -8
- package/out/_next/static/chunks/3eftzknnu45-s.js +0 -1
- package/out/_next/static/chunks/3ejsx4af27cct.js +0 -7
- package/out/_next/static/chunks/3es4yddhl8uwc.js +0 -7
- package/out/_next/static/chunks/3inp15oicq85k.js +0 -1
- package/out/_next/static/chunks/3kd-t_qz3nxh7.js +0 -30
- package/out/_next/static/chunks/3kl8vv7w9jkjr.js +0 -23
- package/out/_next/static/chunks/3kmfx3f7oyfdm.js +0 -5
- package/out/_next/static/chunks/3koj4-48a7p_9.js +0 -4
- package/out/_next/static/chunks/3l7glrtu8ueuo.js +0 -4
- package/out/_next/static/chunks/3lgq9oa_2erwo.js +0 -5
- package/out/_next/static/chunks/3muxcxam24i5z.js +0 -1
- package/out/_next/static/chunks/3nimt7ngr5zv6.js +0 -46
- package/out/_next/static/chunks/3pwezwpggrz59.js +0 -74
- package/out/_next/static/chunks/3r02t7a7jknrv.js +0 -7
- package/out/_next/static/chunks/3s40iuaou1rt4.js +0 -1
- package/out/_next/static/chunks/3selzn479n73i.js +0 -16
- package/out/_next/static/chunks/3srflqnqdfd60.js +0 -5
- package/out/_next/static/chunks/3t57k35xu2eo8.js +0 -5
- package/out/_next/static/chunks/3tu90a7do336z.js +0 -12
- package/out/_next/static/chunks/3ukgj2jzxf10n.js +0 -5
- package/out/_next/static/chunks/3vosu-lpiis6v.js +0 -5
- package/out/_next/static/chunks/3xaz8fvw2x6b3.js +0 -5
- package/out/_next/static/chunks/3xgjhwzul66dp.js +0 -4
- package/out/_next/static/chunks/3zze6y1x00k__.js +0 -165
- package/out/_next/static/chunks/40730dyt912zu.js +0 -5
- package/out/_next/static/chunks/40f26tfp8txip.js +0 -5
- package/out/_next/static/chunks/40kc42ezz2dri.js +0 -1
- package/out/_next/static/chunks/41f60q88qcigi.js +0 -39
- package/out/_next/static/chunks/41l5iphw-rna3.js +0 -44
- package/out/_next/static/chunks/423kk9x5t9_b8.js +0 -5
- package/out/_next/static/chunks/42k5e3tr3uyzs.js +0 -54
- package/out/_next/static/chunks/4481d7yj7bm2q.js +0 -5
- package/out/_next/static/chunks/448is1kpt9eaa.js +0 -39
- package/out/_next/static/chunks/44fkzg2e80pqt.js +0 -8
- /package/out/_next/static/{BPoacQET3TJr2q9E370Ez → WEaZ5SW9HLnJWzXs84JMH}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{BPoacQET3TJr2q9E370Ez → WEaZ5SW9HLnJWzXs84JMH}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62205,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"detectDomainLocale",{enumerable:!0,get:function(){return a}});let a=(...e)=>{};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},76149,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isJavaScriptURLString",{enumerable:!0,get:function(){return n}});let a=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function n(e){return a.test(""+e)}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61741,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"resolvePromiseWithTimeout",{enumerable:!0,get:function(){return n}});let a=e.r(99604);function n(e,t,r){return new Promise((r,n)=>{let o=!1;e.then(e=>{o=!0,r(e)}).catch(n),(0,a.requestIdleCallback)(()=>setTimeout(()=>{o||n(t)},3800))})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},44691,(e,t,r)=>{"use strict";function a(e){return e}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeBasePath",{enumerable:!0,get:function(){return a}}),e.r(68186),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},57396,(e,t,r)=>{"use strict";function a(e,t){return e}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removeLocale",{enumerable:!0,get:function(){return a}}),e.r(72796),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},55447,(e,t,r)=>{"use strict";let a;e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var n={createRouteLoader:function(){return y},getClientBuildManifest:function(){return _},isAssetError:function(){return p},markAssetError:function(){return f}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});e.r(31640),e.r(16544);let i=e.r(43557),s=e.r(99604),l=e.r(20262),u=e.r(55583),c=e.r(61741);function h(e,t,r){let a,n=t.get(e);if(n)return"future"in n?n.future:Promise.resolve(n);let o=new Promise(e=>{a=e});return t.set(e,{resolve:a,future:o}),r?r().then(e=>(a(e),e)).catch(r=>{throw t.delete(e),r}):o}let d=Symbol("ASSET_LOAD_ERROR");function f(e){return Object.defineProperty(e,d,{})}function p(e){return e&&d in e}let m=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch{return!1}}();function _(){if(self.__BUILD_MANIFEST)return Promise.resolve(self.__BUILD_MANIFEST);let e=new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}});return(0,c.resolvePromiseWithTimeout)(e,f(Error("Failed to load client build manifest")),a)}function g(e,t){return _().then(r=>{if(!(t in r))throw f(Error(`Failed to lookup route: ${t}`));let a=r[t].map(t=>e+"/_next/"+(0,u.encodeURIPath)(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,i.__unsafeCreateTrustedScriptURL)(e)+(0,l.getAssetTokenQuery)()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+(0,l.getAssetTokenQuery)())}})}function y(e){let t=new Map,r=new Map,n=new Map,o=new Map,i=new Set;function l(e){{var t;let a=r.get(e.toString());return a?a:document.querySelector(`script[src^="${e}"]`)?Promise.resolve():(r.set(e.toString(),a=new Promise((r,a)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>a(f(Error(`Failed to load script: ${e}`))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),a)}}function u(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Error(`Failed to load stylesheet: ${e}`);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw f(e)})),t}return{whenEntrypoint:e=>h(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let a=t.get(e);a&&"resolve"in a?r&&(t.set(e,r),a.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})},loadRoute(r,n){return h(r,o,()=>{let o;return(0,c.resolvePromiseWithTimeout)(g(e,r).then(({scripts:e,css:a})=>Promise.all([t.has(r)?[]:Promise.all(e.map(l)).then(e=>(!function(e){if(i.has(e))return;let t=self.__TURBOPACK_PAGE_BOOTSTRAP?.[e],r=self.__TURBOPACK_CHUNK_LOADING_GLOBAL;null!=t&&(i.add(e),self[r].push(t))}(r),e)),Promise.all(a.map(u))])).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),f(Error(`Route did not complete loading: ${r}`)),a).then(({entrypoint:e,styles:t})=>{let r=Object.assign({styles:t},e);return"error"in e?e:r}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>o?.())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(m?e.scripts.map(e=>{var t,r,a;return t=e.toString(),r="script",new Promise((e,n)=>{let o=`
|
|
2
|
+
link[rel="prefetch"][href^="${t}"],
|
|
3
|
+
link[rel="preload"][href^="${t}"],
|
|
4
|
+
script[src^="${t}"]`;if(document.querySelector(o))return e();a=document.createElement("link"),r&&(a.as=r),a.rel="prefetch",a.crossOrigin=void 0,a.onload=e,a.onerror=()=>n(f(Error(`Failed to prefetch: ${t}`))),a.href=t,document.head.appendChild(a)})}):[])).then(()=>{(0,s.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26990,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={Router:function(){return s.default},createRouter:function(){return g},default:function(){return m},makePublicRouterInstance:function(){return y},useRouter:function(){return _},withRouter:function(){return c.default}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(31640),i=o._(e.r(91788)),s=o._(e.r(24438)),l=e.r(25479),u=o._(e.r(53910)),c=o._(e.r(94408)),h={router:null,readyCallbacks:[],ready(e){if(this.router)return e();"u">typeof window&&this.readyCallbacks.push(e)}},d=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],f=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!h.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return h.router}Object.defineProperty(h,"events",{get:()=>s.default.events}),d.forEach(e=>{Object.defineProperty(h,e,{get:()=>p()[e]})}),f.forEach(e=>{h[e]=(...t)=>p()[e](...t)}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{h.ready(()=>{s.default.events.on(e,(...t)=>{let r=`on${e.charAt(0).toUpperCase()}${e.substring(1)}`;if(h[r])try{h[r](...t)}catch(e){console.error(`Error when running the Router event: ${r}`),console.error((0,u.default)(e)?`${e.message}
|
|
5
|
+
${e.stack}`:e+"")}})})});let m=h;function _(){let e=i.default.useContext(l.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function g(...e){return h.router=new s.default(...e),h.readyCallbacks.forEach(e=>e()),h.readyCallbacks=[],h.router}function y(e){let t={};for(let r of d){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=s.default.events,f.forEach(r=>{t[r]=(...t)=>e[r](...t)}),t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},61457,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return b},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return y}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(31640),i=e.r(71650),s=e.r(91398),l=o._(e.r(30943)),u=i._(e.r(91788)),c=e.r(13584),h=e.r(26016),d=e.r(99604),f=e.r(10616),p=new Map,m=new Set,_=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:n=null,dangerouslySetInnerHTML:o,children:i="",strategy:s="afterInteractive",onError:u,stylesheets:c}=e,d=r||t;if(d&&m.has(d))return;if(p.has(t)){m.add(d),p.get(t).then(a,u);return}let f=()=>{n&&n(),m.add(d)},_=document.createElement("script"),g=new Promise((e,t)=>{_.addEventListener("load",function(t){e(),a&&a.call(this,t),f()}),_.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});o?(_.innerHTML=o.__html||"",f()):i?(_.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",f()):t&&(_.src=t,p.set(t,g)),(0,h.setAttributesFromProps)(_,e),"worker"===s&&_.setAttribute("type","text/partytown"),_.setAttribute("data-nscript",s),c&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(_)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>_(e))}):_(e)}function y(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function P(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:n=null,strategy:o="afterInteractive",onError:i,stylesheets:h,...p}=e,{updateScripts:g,scripts:y,getIsSsr:P,appDir:b,nonce:v}=(0,u.useContext)(c.HeadManagerContext);v=p.nonce||v;let w=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;w.current||(n&&e&&m.has(e)&&n(),w.current=!0)},[n,t,r]);let S=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!S.current){if("afterInteractive"===o)_(e);else"lazyOnload"===o&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>_(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>_(e))}));S.current=!0}},[e,o]),("beforeInteractive"===o||"worker"===o)&&(g?(y[o]=(y[o]||[]).concat([{id:t,src:r,onLoad:a,onReady:n,onError:i,...p,nonce:v}]),g(y)):P&&P()?m.add(t||r):P&&!P()&&_({...e,nonce:v})),b){if(h&&h.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===o)if(!r)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([0,{...p,id:t}]))})`}});else return l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([r,{...p,id:t}]))})`}});"afterInteractive"===o&&r&&l.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:v,crossOrigin:p.crossOrigin}:{as:"script",nonce:v,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(P,"__nextScript",{value:!0});let b=P;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},26016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"setAttributesFromProps",{enumerable:!0,get:function(){return i}});let a={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function o(e){return["async","defer","noModule"].includes(e)}function i(e,t){for(let[r,i]of Object.entries(t)){if(!t.hasOwnProperty(r)||n.includes(r)||void 0===i)continue;let s=a[r]||r.toLowerCase();"SCRIPT"===e.tagName&&o(s)?e[s]=!!i:e.setAttribute(s,String(i)),(!1===i||"SCRIPT"===e.tagName&&o(s)&&(!i||"false"===i))&&(e.setAttribute(s,""),e.removeAttribute(s))}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43557,(e,t,r)=>{"use strict";let a;function n(e){return(void 0===a&&"u">typeof window&&(a=window.trustedTypes?.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})||null),a)?.createScriptURL(e)||e}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94408,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}}),e.r(31640);let a=e.r(91398);e.r(91788);let n=e.r(26990);function o(e){function t(t){return(0,a.jsx)(e,{router:(0,n.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},45399,(e,t,r)=>{"use strict";function a(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isAPIRoute",{enumerable:!0,get:function(){return a}})},53910,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return i},getProperError:function(){return s}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(27361);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function s(e){let t;return i(e)?e:Error((0,o.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})):e+"")}},72522,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BloomFilter",{enumerable:!0,get:function(){return a}});class a{constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}static from(e,t=1e-4){let r=new a(e.length,t);for(let t of e)r.add(t);return r}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let a=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(`${e}${r}`)%this.numBits;t.push(a)}return t}}},55583,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},10616,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={ESCAPE_REGEX:function(){return i},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},i=/[&><\u2028\u2029]/g,s={"&":"&",'"':""","'":"'","<":"<",">":">"},l=/[&"'<>]/g;function u(e){return e.replace(i,e=>o[e])}function c(e){return e.replace(l,e=>s[e])}},92090,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let a=new WeakMap;function n(e,t){let r;if(!t)return{pathname:e};let n=a.get(t);n||(n=t.map(e=>e.toLowerCase()),a.set(t,n));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),s=n.indexOf(i);return s<0?{pathname:e}:(r=t[s],{pathname:e=e.slice(r.length+1)||"/",detectedLocale:r})}},27361,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={getObjectClassLabel:function(){return o},isPlainObject:function(){return i}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});function o(e){return Object.prototype.toString.call(e)}function i(e){if("[object Object]"!==o(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},47194,(e,t,r)=>{"use strict";function a(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t,...r){(e[t]||[]).slice().map(e=>{e(...r)})}}}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}})},10291,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let a=e.r(31235),n=e.r(36090);function o(e){let t=(0,n.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,a.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},36090,(e,t,r)=>{"use strict";function a(e){return e.replace(/\\/g,"/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"normalizePathSep",{enumerable:!0,get:function(){return a}})},24438,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var a={createKey:function(){return Y},default:function(){return ee},matchesMiddleware:function(){return $}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(31640),i=e.r(71650),s=e.r(23486),l=e.r(55447),u=e.r(61457),c=i._(e.r(53910)),h=e.r(10291),d=e.r(92090),f=o._(e.r(47194)),p=e.r(89129),m=e.r(78690),_=e.r(69590),g=e.r(29944),y=e.r(94599),P=e.r(73110),b=e.r(28169);e.r(62205);let v=e.r(72796),w=e.r(14862),S=e.r(57396),O=e.r(44691),j=e.r(44113),R=e.r(68186),L=e.r(60472),E=e.r(45399),M=e.r(71755),x=e.r(65746),C=e.r(15755),I=e.r(71112),A=e.r(47852),T=e.r(57285),B=e.r(50169),k=e.r(1280),H=e.r(2987),N=e.r(20262),D=e.r(76149);function U(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function $(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,v.parsePath)(e.asPath),a=(0,R.hasBasePath)(r)?(0,O.removeBasePath)(r):r,n=(0,j.addBasePath)((0,w.addLocale)(a,e.locale));return t.some(e=>new RegExp(e.regexp).test(n))}function F(e){let t=(0,p.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function W(e,t,r){let[a,n]=(0,L.resolveHref)(e,t,!0),o=(0,p.getLocationOrigin)(),i=a.startsWith(o),s=n&&n.startsWith(o);a=F(a),n=n?F(n):n;let l=i?a:(0,j.addBasePath)(a),u=r?F((0,L.resolveHref)(e,r)):n||a;return{url:l,as:s?u:(0,j.addBasePath)(u)}}function q(e,t,r){if(!(0,I.isLocalURL)(t))return null;let{pathname:a}=(0,_.parseRelativeUrl)(t),n=r||e.locale;return(0,s.removeTrailingSlash)((0,w.addLocale)((0,s.removeTrailingSlash)(a),n))}function G(e,t){let r=(0,s.removeTrailingSlash)((0,h.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,m.isDynamicRoute)(t)&&(0,y.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,s.removeTrailingSlash)(e))}async function J(e){if(!await $(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let a={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!0},n=t.headers.get("x-nextjs-rewrite"),o=n||t.headers.get("x-nextjs-matched-path"),i=t.headers.get(H.MATCHED_PATH_HEADER);if(!i||o||i.includes("__next_data_catchall")||i.includes("/_error")||i.includes("/404")||(o=i),o){if(o.startsWith("/")){let t=(0,_.parseRelativeUrl)(o),i=(0,M.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),u=(0,s.removeTrailingSlash)(i.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,l.getClientBuildManifest)()]).then(([o,{__rewrites:s}])=>{let l=(0,w.addLocale)(i.pathname,i.locale);if((0,m.isDynamicRoute)(l)||!n&&o.includes((0,d.normalizeLocalePath)((0,O.removeBasePath)(l),r.router.locales).pathname)){let r=(0,M.getNextPathnameInfo)((0,_.parseRelativeUrl)(e).pathname,{nextConfig:{basePath:a.basePath,trailingSlash:a.trailingSlash},parseData:!0});t.pathname=l=(0,j.addBasePath)(r.pathname)}if(!o.includes(u)){let e=G(u,o);e!==u&&(u=e)}let c=o.includes(u)?u:G((0,d.normalizeLocalePath)((0,O.removeBasePath)(t.pathname),r.router.locales).pathname,o);if((0,m.isDynamicRoute)(c)){let e=(0,g.getRouteMatcher)((0,y.getRouteRegex)(c))(l);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:c}})}let t=(0,v.parsePath)(e),i=(0,x.formatNextPathnameInfo)({...(0,M.getNextPathnameInfo)(t.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-external",destination:`${i}${t.query}${t.hash}`})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,v.parsePath)(u),t=(0,x.formatNextPathnameInfo)({...(0,M.getNextPathnameInfo)(e.pathname,{nextConfig:a,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:`${t}${e.query}${e.hash}`,newUrl:`${t}${e.query}${e.hash}`})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let V="u">typeof window&&"scrollRestoration"in window.history&&!!function(){try{let e="__next";return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){}}(),z=Symbol("SSG_DATA_NOT_FOUND");function X(e){try{return JSON.parse(e)}catch(e){return null}}function K({dataHref:e,inflightCache:t,isPrefetch:r,hasMiddleware:a,isServerRender:n,parseJSON:o,persistCache:i,isBackground:s,unstable_skipClientCache:u}){let{href:c}=new URL(e,window.location.href),h=(0,N.getDeploymentId)(),d=s=>(function e(t,r,a){return fetch(t,{credentials:"same-origin",method:a.method||"GET",headers:Object.assign({},a.headers,{"x-nextjs-data":"1"})}).then(n=>!n.ok&&r>1&&n.status>=500?e(t,r-1,a):n)})(e,n?3:1,{headers:Object.assign({},r?{purpose:"prefetch"}:{},r&&a?{"x-middleware-prefetch":"1"}:{},h?{"x-deployment-id":h}:{}),method:s?.method??"GET"}).then(t=>t.ok&&s?.method==="HEAD"?{dataHref:e,response:t,text:"",json:{},cacheKey:c}:t.text().then(r=>{if(!t.ok){if(a&&[301,302,307,308].includes(t.status))return{dataHref:e,response:t,text:r,json:{},cacheKey:c};if(404===t.status&&X(r)?.notFound)return{dataHref:e,json:{notFound:z},response:t,text:r,cacheKey:c};let o=Error("Failed to load static props");throw n||(0,l.markAssetError)(o),o}let i=t.headers.get(H.NEXT_NAV_DEPLOYMENT_ID_HEADER);if(null!=i&&i!==h){let e=Error("Loaded static props were from an outdated deployment, forcing a hard reload");throw n||(0,l.markAssetError)(e),e}return{dataHref:e,json:o?X(r):null,response:t,text:r,cacheKey:c}})).then(e=>(i&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete t[c],e)).catch(e=>{throw u||delete t[c],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,l.markAssetError)(e),e});return u&&i?d({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(t[c]=Promise.resolve(e)),e)):void 0!==t[c]?t[c]:t[c]=d(s?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function Q({url:e,router:t}){if(e===(0,j.addBasePath)((0,w.addLocale)(t.asPath,t.locale)))throw Error(`Invariant: attempted to hard navigate to the same URL ${e} ${location.href}`);window.location.href=e}let Z=({route:e,router:t})=>{let r=!1,a=t.clc=()=>{r=!0};return()=>{if(r){let t=Error(`Abort fetching component for route: "${e}"`);throw t.cancelled=!0,t}a===t.clc&&(t.clc=null)}};class ee{static{this.events=(0,f.default)()}constructor(e,t,r,{initialProps:a,pageLoader:n,App:o,wrapApp:i,Component:l,err:u,subscription:c,isFallback:h,locale:d,locales:f,defaultLocale:g,domainLocales:y,isPreview:P}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let a=e.state;if(!a){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,b.formatWithValidation)({pathname:(0,j.addBasePath)(e),query:t}),(0,p.getURL)());return}if(a.__NA)return void window.location.reload();if(!a.__N||r&&this.locale===a.options.locale&&a.as===this.asPath)return;let{url:n,as:o,options:i,key:s}=a;if(V&&this._key!==s){try{sessionStorage.setItem("__next_scroll_"+this._key,JSON.stringify({x:self.pageXOffset,y:self.pageYOffset}))}catch{}try{let e=sessionStorage.getItem("__next_scroll_"+s);t=JSON.parse(e)}catch{t={x:0,y:0}}}this._key=s;let{pathname:l}=(0,_.parseRelativeUrl)(n);this.isSsr&&o===(0,j.addBasePath)(this.asPath)&&l===(0,j.addBasePath)(this.pathname)||(!this._bps||this._bps(a))&&this.change("replaceState",n,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let v=(0,s.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[v]={Component:l,initial:!0,props:a,err:u,__N_SSG:a&&a.__N_SSG,__N_SSP:a&&a.__N_SSP}),this.components["/_app"]={Component:o,styleSheets:[]},this.events=ee.events,this.pageLoader=n;let w=(0,m.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=i,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!w&&!self.location.search),this.state={route:v,pathname:e,query:t,asPath:w?e:r,isPreview:!!P,locale:void 0,isFallback:h},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),"u">typeof window){if(!r.startsWith("//")){let a={locale:d},n=(0,p.getURL)();this._initialMatchesMiddlewarePromise=$({router:this,locale:d,asPath:n}).then(o=>(a._shouldResolveHref=r!==e,this.changeState("replaceState",o?n:(0,b.formatWithValidation)({pathname:(0,j.addBasePath)(e),query:t}),n,a),o))}window.addEventListener("popstate",this.onPopState),V&&(window.history.scrollRestoration="manual")}}reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r={}){if((0,D.isJavaScriptURLString)(e.toString())||t&&(0,D.isJavaScriptURLString)(t.toString()))throw Error("Next.js has blocked a javascript: URL as a security precaution.");if(V)try{sessionStorage.setItem("__next_scroll_"+this._key,JSON.stringify({x:self.pageXOffset,y:self.pageYOffset}))}catch{}return{url:e,as:t}=W(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r={}){if((0,D.isJavaScriptURLString)(e.toString())||t&&(0,D.isJavaScriptURLString)(t.toString()))throw Error("Next.js has blocked a javascript: URL as a security precaution.");return{url:e,as:t}=W(this,e,t),this.change("replaceState",e,t,r)}async _bfl(t,r,a,n){{if(!this._bfl_s&&!this._bfl_d){let r,o,{BloomFilter:i}=e.r(72522);try{({__routerFilterStatic:r,__routerFilterDynamic:o}=await (0,l.getClientBuildManifest)())}catch(e){if(console.error(e),n)return!0;return Q({url:(0,j.addBasePath)((0,w.addLocale)(t,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}let s={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!r&&s&&(r=s);let u={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};!o&&u&&(o=u),r?.numHashes&&(this._bfl_s=new i(r.numItems,r.errorRate),this._bfl_s.import(r)),o?.numHashes&&(this._bfl_d=new i(o.numItems,o.errorRate),this._bfl_d.import(o))}let o=!1,i=!1;for(let{as:e,allowMatchCurrent:l}of[{as:t},{as:r}])if(e){let r=(0,s.removeTrailingSlash)(new URL(e,"http://n").pathname),u=(0,j.addBasePath)((0,w.addLocale)(r,a||this.locale));if(l||r!==(0,s.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){for(let e of(o=o||!!this._bfl_s?.contains(r)||!!this._bfl_s?.contains(u),[r,u])){let t=e.split("/");for(let e=0;!i&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&this._bfl_d?.contains(r)){i=!0;break}}}if(o||i){if(n)return!0;return Q({url:(0,j.addBasePath)((0,w.addLocale)(t,a||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,a,n){let o,i;if(!(0,I.isLocalURL)(t))return Q({url:t,router:this}),!1;let h=1===a._h;h||a.shallow||await this._bfl(r,void 0,a.locale);let d=h||a._shouldResolveHref||(0,v.parsePath)(t).pathname===(0,v.parsePath)(r).pathname,f={...this.state},L=!0!==this.isReady;this.isReady=!0;let E=this.isSsr;if(h||(this.isSsr=!1),h&&this.clc)return!1;let M=f.locale;p.ST&&performance.mark("routeChange");let{shallow:x=!1,scroll:A=!0}=a,k={shallow:x};this._inFlightRoute&&this.clc&&(E||ee.events.emit("routeChangeError",U(),this._inFlightRoute,k),this.clc(),this.clc=null),r=(0,j.addBasePath)((0,w.addLocale)((0,R.hasBasePath)(r)?(0,O.removeBasePath)(r):r,a.locale,this.defaultLocale));let H=(0,S.removeLocale)((0,R.hasBasePath)(r)?(0,O.removeBasePath)(r):r,f.locale);this._inFlightRoute=r;let N=M!==f.locale;if(!h&&this.onlyAHashChange(H)&&!N){f.asPath=H,ee.events.emit("hashChangeStart",r,k),this.changeState(e,t,r,{...a,scroll:!1}),A&&this.scrollToHash(H);try{await this.set(f,this.components[f.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&ee.events.emit("routeChangeError",e,H,k),e}return ee.events.emit("hashChangeComplete",r,k),!0}let D=(0,_.parseRelativeUrl)(t),{pathname:F,query:J}=D;try{[o,{__rewrites:i}]=await Promise.all([this.pageLoader.getPageList(),(0,l.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Q({url:r,router:this}),!1}this.urlIsNew(H)||N||(e="replaceState");let V=r;F=F?(0,s.removeTrailingSlash)((0,O.removeBasePath)(F)):F;let X=(0,s.removeTrailingSlash)(F),K=r.startsWith("/")&&(0,_.parseRelativeUrl)(r).pathname,Y=q(this,H,f.locale);if(null!==Y&&this.components[Y]?.__appRouter||this.components[X]?.__appRouter)return Q({url:r,router:this}),new Promise(()=>{});let Z=!!(K&&X!==K&&(!(0,m.isDynamicRoute)(X)||!(0,g.getRouteMatcher)((0,y.getRouteRegex)(X))(K))),et=!a.shallow&&await $({asPath:r,locale:f.locale,router:this});if(h&&et&&(d=!1),d&&"/_error"!==F&&(a._shouldResolveHref=!0,D.pathname=G(F,o),D.pathname!==F&&(F=D.pathname,D.pathname=(0,j.addBasePath)(F),et||(t=(0,b.formatWithValidation)(D)))),!h&&!a.shallow&&this._bfl_d&&(0,m.isDynamicRoute)(F)){let e=(0,s.removeTrailingSlash)((0,_.parseRelativeUrl)(H).pathname);if((0,P.hasDynamicFilterCandidate)(F,e,e=>!!this._bfl_d?.contains(e)))return Q({url:r,router:this}),new Promise(()=>{})}if(!(0,I.isLocalURL)(r))return Q({url:r,router:this}),!1;if(V=(0,S.removeLocale)((0,O.removeBasePath)(V),f.locale),X=(0,s.removeTrailingSlash)(F),this.components[X]?.__appRouter)return Q({url:r,router:this}),new Promise(()=>{});let er=!1;if((0,m.isDynamicRoute)(X)){let e=(0,_.parseRelativeUrl)(V),a=e.pathname,n=(0,y.getRouteRegex)(X);er=(0,g.getRouteMatcher)(n)(a);let o=X===a,i=o?(0,B.interpolateAs)(X,a,J):{};if(er&&(!o||i.result))o?r=(0,b.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,T.omit)(J,i.params)})):Object.assign(J,er);else{let e=Object.keys(n.groups).filter(e=>!J[e]&&!n.groups[e].optional);if(e.length>0&&!et)throw Error((o?`The provided \`href\` (${t}) value is missing query values (${e.join(", ")}) to be interpolated properly. `:`The provided \`as\` value (${a}) is incompatible with the \`href\` value (${X}). `)+`Read more: https://nextjs.org/docs/messages/${o?"href-interpolation-failed":"incompatible-href-as"}`)}}h||ee.events.emit("routeChangeStart",r,k);let ea="/404"===this.pathname||"/_error"===this.pathname;try{let i=await this.getRouteInfo({route:X,pathname:F,query:J,as:r,resolvedAs:V,routeProps:k,locale:f.locale,isPreview:f.isPreview,hasMiddleware:et,unstable_skipClientCache:a.unstable_skipClientCache,isQueryUpdating:h&&!this.isFallback,isMiddlewareRewrite:Z});if(h||a.shallow||await this._bfl(r,"resolvedAs"in i?i.resolvedAs:void 0,f.locale),"route"in i&&et){X=F=i.route||X,k.shallow||(J=Object.assign({},i.query||{},J));let e=(0,R.hasBasePath)(D.pathname)?(0,O.removeBasePath)(D.pathname):D.pathname;if(er&&F!==e&&Object.keys(er).forEach(e=>{er&&J[e]===er[e]&&delete J[e]}),(0,m.isDynamicRoute)(F)){let e=!k.shallow&&i.resolvedAs?i.resolvedAs:(0,j.addBasePath)((0,w.addLocale)(new URL(r,location.href).pathname,f.locale),!0);(0,R.hasBasePath)(e)&&(e=(0,O.removeBasePath)(e));let t=(0,y.getRouteRegex)(F),a=(0,g.getRouteMatcher)(t)(new URL(e,location.href).pathname);a&&Object.assign(J,a)}}if("type"in i)if("redirect-internal"===i.type)return this.change(e,i.newUrl,i.newAs,a);else return Q({url:i.destination,router:this}),new Promise(()=>{});let s=i.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(i.__N_SSG||i.__N_SSP)&&i.props){if(i.props.pageProps&&i.props.pageProps.__N_REDIRECT){a.locale=!1;let t=i.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==i.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,_.parseRelativeUrl)(t);r.pathname=G(r.pathname,o);let{url:n,as:i}=W(this,t,t);return this.change(e,n,i,a)}return Q({url:t,router:this}),new Promise(()=>{})}if(f.isPreview=!!i.props.__N_PREVIEW,i.props.notFound===z){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(i=await this.getRouteInfo({route:e,pathname:e,query:J,as:r,resolvedAs:V,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isNotFound:!0}),"type"in i)throw Error("Unexpected middleware effect on /404")}}h&&"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);let l=a.shallow&&f.route===(i.route??X),d=a.scroll??(!h&&!l),p=n??(d?{x:0,y:0}:null),P={...f,route:X,pathname:F,query:J,asPath:H,isFallback:!1};if(h&&ea){if(i=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:J,as:r,resolvedAs:V,routeProps:{shallow:!1},locale:f.locale,isPreview:f.isPreview,isQueryUpdating:h&&!this.isFallback}),"type"in i)throw Error(`Unexpected middleware effect on ${this.pathname}`);"/_error"===this.pathname&&self.__NEXT_DATA__.props?.pageProps?.statusCode===500&&i.props?.pageProps&&(i.props.pageProps.statusCode=500);try{await this.set(P,i,p)}catch(e){throw(0,c.default)(e)&&e.cancelled&&ee.events.emit("routeChangeError",e,H,k),e}return!0}if(ee.events.emit("beforeHistoryChange",r,k),this.changeState(e,t,r,a),!(h&&!p&&!L&&!N&&(0,C.compareRouterStates)(P,this.state))){try{await this.set(P,i,p)}catch(e){if(e.cancelled)i.error=i.error||e;else throw e}if(i.error)throw h||ee.events.emit("routeChangeError",i.error,H,k),i.error;h||ee.events.emit("routeChangeComplete",r,k),d&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,a={}){("pushState"!==e||(0,p.getURL)()!==r)&&(this._shallow=a.shallow,window.history[e]({url:t,as:r,options:a,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",r))}async handleRouteInfoError(e,t,r,a,n,o){if(e.cancelled)throw e;if((0,l.isAssetError)(e)||o)throw ee.events.emit("routeChangeError",e,a,n),Q({url:a,router:this}),U();console.error(e);try{let a,{page:n,styleSheets:o}=await this.fetchComponent("/_error"),i={props:a,Component:n,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(n,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Error(e+""),t,r,a,n,!0)}}async getRouteInfo({route:e,pathname:t,query:r,as:a,resolvedAs:n,routeProps:o,locale:i,hasMiddleware:l,isPreview:u,unstable_skipClientCache:h,isQueryUpdating:f,isMiddlewareRewrite:p,isNotFound:m}){let _=e;try{let e=this.components[_];if(e&&e.__appRouter&&(e=void 0),o.shallow&&e&&this.route===_)return e;let c=Z({route:_,router:this});l&&(e=void 0);let g=!e||"initial"in e?void 0:e,y={dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:t,query:r}),skipInterpolation:!0,asPath:m?"/404":n,locale:i}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:f?this.sbc:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h,isBackground:f},P=f&&!p?null:await J({fetchData:()=>K(y),asPath:m?"/404":n,locale:i,router:this}).catch(e=>{if(f)return null;throw e});if(P&&("/_error"===t||"/404"===t)&&(P.effect=void 0),f&&(P?P.json=self.__NEXT_DATA__.props:P={json:self.__NEXT_DATA__.props}),c(),P?.effect?.type==="redirect-internal"||P?.effect?.type==="redirect-external")return P.effect;if(P?.effect?.type==="rewrite"){let a=(0,s.removeTrailingSlash)(P.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!f||i.includes(a))&&(_=a,t=P.effect.resolvedHref,r={...r,...P.effect.parsedAs.query},n=(0,O.removeBasePath)((0,d.normalizeLocalePath)(P.effect.parsedAs.pathname,this.locales).pathname),(e=this.components[_])&&e.__appRouter&&(e=void 0),o.shallow&&e&&this.route===_&&!l))return{...e,route:_}}if((0,E.isAPIRoute)(_))return Q({url:a,router:this}),new Promise(()=>{});let v=g||await this.fetchComponent(_).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),w=P?.response?.headers.get("x-middleware-skip"),S=v.__N_SSG||v.__N_SSP;w&&P?.dataHref&&delete this.sdc[P.dataHref];let{props:j,cacheKey:R}=await this._getData(async()=>{if(S){if(P?.json&&!w)return{cacheKey:P.cacheKey,props:P.json};let e=P?.dataHref?P.dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:t,query:r}),asPath:n,locale:i}),a=await K({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:w?{}:this.sdc,persistCache:!u,isPrefetch:!1,unstable_skipClientCache:h});return{cacheKey:a.cacheKey,props:a.json||{}}}return{headers:{},props:await this.getInitialProps(v.Component,{pathname:t,query:r,asPath:a,locale:i,locales:this.locales,defaultLocale:this.defaultLocale})}});return v.__N_SSP&&y.dataHref&&R&&delete this.sdc[R],this.isPreview||!v.__N_SSG||f||K(Object.assign({},y,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),j.pageProps=Object.assign({},j.pageProps),v.props=j,v.route=_,v.query=r,v.resolvedAs=n,this.components[_]=v,v}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),t,r,a,o)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[a,n]=e.split("#",2);return!!n&&t===a&&r===n||t===a&&r!==n}scrollToHash(e){let[,t=""]=e.split("#",2);(0,k.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let a=document.getElementsByName(e)[0];a&&a.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t=e,r={}){if("u">typeof window&&(0,A.isBot)(window.navigator.userAgent))return;let a=(0,_.parseRelativeUrl)(e),{pathname:n,query:o}=a,i=n,l=await this.pageLoader.getPageList(),u=t,c=void 0!==r.locale?r.locale||void 0:this.locale,h=await $({asPath:t,locale:c,router:this});a.pathname=G(a.pathname,l),(0,m.isDynamicRoute)(a.pathname)&&(n=a.pathname,a.pathname=n,Object.assign(o,(0,g.getRouteMatcher)((0,y.getRouteRegex)(a.pathname))((0,v.parsePath)(t).pathname)||{}),h||(e=(0,b.formatWithValidation)(a)));let d=await J({fetchData:()=>K({dataHref:this.pageLoader.getDataHref({href:(0,b.formatWithValidation)({pathname:i,query:o}),skipInterpolation:!0,asPath:u,locale:c}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:c,router:this});if(d?.effect.type==="rewrite"&&(a.pathname=d.effect.resolvedHref,n=d.effect.resolvedHref,o={...o,...d.effect.parsedAs.query},u=d.effect.parsedAs.pathname,e=(0,b.formatWithValidation)(a)),d?.effect.type==="redirect-external")return;let f=(0,s.removeTrailingSlash)(n);if(await this._bfl(t,u,r.locale,!0)){let e=q(this,t,r.locale);null!==e&&void 0===this.components[e]&&(this.components[e]={__appRouter:!0})}await Promise.all([this.pageLoader._isSsg(f).then(t=>!!t&&K({dataHref:d?.json?d?.dataHref:this.pageLoader.getDataHref({href:e,asPath:u,locale:c}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](f)])}async fetchComponent(e){let t=Z({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],a=this._wrapApp(r);return t.AppTree=a,(0,p.loadGetInitialProps)(r,{AppTree:a,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}}},52419,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addLocale",{enumerable:!0,get:function(){return o}});let a=e.r(43980),n=e.r(97742);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,n.pathHasPrefix)(i,"/api")||(0,n.pathHasPrefix)(i,`/${t.toLowerCase()}`))?e:(0,a.addPathPrefix)(e,`/${t}`)}},42393,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"addPathSuffix",{enumerable:!0,get:function(){return n}});let a=e.r(72796);function n(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:n,hash:o}=(0,a.parsePath)(e);return`${r}${t}${n}${o}`}},15755,(e,t,r)=>{"use strict";function a(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let a=r.length;a--;){let n=r[a];if("query"===n){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let a=r.length;a--;){let n=r[a];if(!t.query.hasOwnProperty(n)||e.query[n]!==t.query[n])return!1}}else if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"compareRouterStates",{enumerable:!0,get:function(){return a}})},1280,(e,t,r)=>{"use strict";function a(e,t={}){if(t.onlyHashChange)return void e();let r=document.documentElement;if("smooth"!==r.dataset.scrollBehavior)return void e();let n=r.style.scrollBehavior;r.style.scrollBehavior="auto",t.dontForceLayout||r.getClientRects(),e(),r.style.scrollBehavior=n}e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return a}})},73110,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={DYNAMIC_FILTER_PLACEHOLDER:function(){return o},hasDynamicFilterCandidate:function(){return i}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o="[]";function i(e,t,r){let a=e.split("/"),n=t.split("/"),i=a[a.length-1]??"";if(!(i.startsWith("[...")||i.startsWith("[[..."))&&a.length!==n.length)return!1;let s=[];for(let e=1;e<n.length;e++){if(""===n[e])continue;let t=a[e];(void 0===t||t.startsWith("["))&&s.push(e)}if(0===s.length||s.length>8)return!1;let l=(1<<s.length)-1;for(let e=0;e<l;e++){let t=n.slice();for(let r=0;r<s.length;r++)(e&1<<r)==0&&(t[s[r]]=o);if(r(t.join("/")))return!0}return!1}},65746,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let a=e.r(23486),n=e.r(43980),o=e.r(42393),i=e.r(52419);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,a.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,n.addPathPrefix)(t,`/_next/data/${e.buildId}`),"/"===e.pathname?"index.json":".json")),t=(0,n.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,a.removeTrailingSlash)(t)}},16544,(e,t,r)=>{"use strict";function a(e,t=""){return("/"===e?"/index":/^\/index(\/|$)/.test(e)?`/index${e}`:e)+t}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}})},71755,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let a=e.r(92090),n=e.r(40671),o=e.r(97742);function i(e,t){let{basePath:r,i18n:i,trailingSlash:s}=t.nextConfig??{},l={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):s};r&&(0,o.pathHasPrefix)(l.pathname,r)&&(l.pathname=(0,n.removePathPrefix)(l.pathname,r),l.basePath=r);let u=l.pathname;if(l.pathname.startsWith("/_next/data/")&&l.pathname.endsWith(".json")){let e=l.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");l.buildId=e[0],u="index"!==e[1]?`/${e.slice(1).join("/")}`:"/",!0===t.parseData&&(l.pathname=u)}if(i){let e=t.i18nProvider?t.i18nProvider.analyze(l.pathname):(0,a.normalizeLocalePath)(l.pathname,i.locales);l.locale=e.detectedLocale,l.pathname=e.pathname??l.pathname,!e.detectedLocale&&l.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(u):(0,a.normalizeLocalePath)(u,i.locales)).detectedLocale&&(l.locale=e.detectedLocale)}return l}},93857,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return a}});let a=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},47852,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={HTML_LIMITED_BOT_UA_RE:function(){return o.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return s},getBotType:function(){return c},isBot:function(){return u}};for(var n in a)Object.defineProperty(r,n,{enumerable:!0,get:a[n]});let o=e.r(93857),i=/Googlebot(?!-)|Googlebot$/i,s=o.HTML_LIMITED_BOT_UA_RE.source;function l(e){return o.HTML_LIMITED_BOT_UA_RE.test(e)}function u(e){return i.test(e)||l(e)}function c(e){return i.test(e)?"dom":l(e)?"html":void 0}},69590,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let a=e.r(89129),n=e.r(98928);function o(e,t,r=!0){let i=new URL("u"<typeof window?"http://n":(0,a.getLocationOrigin)()),s=t?new URL(t,i):e.startsWith(".")?new URL("u"<typeof window?"http://n":window.location.href):i,{pathname:l,searchParams:u,search:c,hash:h,href:d,origin:f}=e.startsWith("/")?new URL(`${s.protocol}//${s.host}${e}`):new URL(e,s);if(f!==i.origin)throw Error(`invariant: invalid relative URL, router received ${e}`);return{auth:null,host:null,hostname:null,pathname:l,port:null,protocol:null,query:r?(0,n.searchParamsToUrlQuery)(u):void 0,search:c,hash:h,href:d.slice(f.length),slashes:null}}},40671,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"removePathPrefix",{enumerable:!0,get:function(){return n}});let a=e.r(97742);function n(e,t){if(!(0,a.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:`/${r}`}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54466,(e,t,r)=>{let s="/ext/[[...slug]]";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(70222)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},58668,e=>{"use strict";var t=e.i(91398),r=e.i(91788);class s extends r.default.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error(`Plugin "${this.props.pluginName}" crashed in component "${this.props.componentName}":`,e,t)}render(){return this.state.hasError?(0,t.jsx)("div",{className:"rounded-lg border border-danger bg-danger-surface p-4 my-2",children:(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-medium text-danger",children:['Plugin "',this.props.pluginName,'" encountered an error']}),(0,t.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Component: ",this.props.componentName]}),this.state.error&&(0,t.jsxs)("details",{className:"mt-2",children:[(0,t.jsx)("summary",{className:"text-xs text-text-muted cursor-pointer hover:text-text-secondary",children:"Error details"}),(0,t.jsxs)("pre",{className:"mt-1 text-xs text-text-muted whitespace-pre-wrap break-words font-mono bg-surface p-2 rounded max-h-32 overflow-auto",children:[this.state.error.message,this.state.error.stack&&`
|
|
2
|
-
${this.state.error.stack.split("\n").slice(1,4).join("\n")}`]})]})]}),(0,t.jsxs)("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"ml-4 shrink-0 inline-flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-surface-raised transition-colors",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182"})}),"Retry"]})]})}):this.props.children}}e.s(["f",0,s])},70222,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(13534),n=e.i(26539),o=e.i(58668),i=e.i(58971),a=e.i(53576);e.s(["default",0,()=>{let e=(0,r.useRouter)(),{slug:l}=e.query,{manifests:c,getComponent:d,loading:m}=(0,s.L)(),{hasRole:u}=(0,i.f)();if(m)return(0,t.jsx)(a.f,{});let p=Array.isArray(l)?l:l?[l]:[];if(0===p.length)return(0,t.jsx)("div",{className:"text-center py-16 text-text-muted",children:"No plugin path specified."});let h=p[0],x=p[1],f="new"===x;for(let r of c){let s=r.slots.entities?.find(e=>e.path.replace(/^\//,"")===h);if(s){let i;if(s.requiredRole&&!u(s.requiredRole))return e.replace("/403"),(0,t.jsx)(a.f,{});i=x?f&&s.components.create?s.components.create:s.components.detail:s.components.list;let l=d(r.name,i);if(!l)return(0,t.jsxs)("div",{className:"text-center py-16 text-text-muted",children:['Component "',i,'" not found in plugin "',r.name,'"']});return(0,t.jsx)(o.f,{pluginName:r.name,componentName:i,children:(0,t.jsx)(n.h,{value:{pluginName:r.name,version:r.version,slotId:"entities",config:s},children:(0,t.jsx)(l,{entityId:x})})})}let i=r.slots.pages?.find(e=>e.path.replace(/^\//,"")===h);if(i){if(i.requiredRole&&!u(i.requiredRole))return e.replace("/403"),(0,t.jsx)(a.f,{});let s=d(r.name,i.component);if(s)return(0,t.jsx)(o.f,{pluginName:r.name,componentName:i.component,children:(0,t.jsx)(n.h,{value:{pluginName:r.name,version:r.version,slotId:"pages",config:i},children:(0,t.jsx)(s,{})})})}}return(0,t.jsxs)("div",{className:"text-center py-16 text-text-muted",children:['Plugin page "',h,'" not found.']})}])}]);
|
|
2
|
+
${this.state.error.stack.split("\n").slice(1,4).join("\n")}`]})]})]}),(0,t.jsxs)("button",{onClick:()=>this.setState({hasError:!1,error:null}),className:"ml-4 shrink-0 inline-flex items-center gap-1 rounded-md border border-border bg-surface px-3 py-1.5 text-xs font-medium text-text-primary hover:bg-surface-raised transition-colors",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0l3.181 3.183a8.25 8.25 0 0013.803-3.7M4.031 9.865a8.25 8.25 0 0113.803-3.7l3.181 3.182"})}),"Retry"]})]})}):this.props.children}}e.s(["f",0,s])},70222,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(13534),n=e.i(26539),o=e.i(58668),i=e.i(58971),a=e.i(53576);e.s(["default",0,()=>{let e=(0,r.useRouter)(),{slug:l}=e.query,{manifests:c,getComponent:d,loading:m}=(0,s.L)(),{hasRole:u}=(0,i.f)();if(m)return(0,t.jsx)(a.f,{variant:"content"});let p=Array.isArray(l)?l:l?[l]:[];if(0===p.length)return(0,t.jsx)("div",{className:"text-center py-16 text-text-muted",children:"No plugin path specified."});let h=p[0],x=p[1],f="new"===x;for(let r of c){let s=r.slots.entities?.find(e=>e.path.replace(/^\//,"")===h);if(s){let i;if(s.requiredRole&&!u(s.requiredRole))return e.replace("/403"),(0,t.jsx)(a.f,{variant:"content"});i=x?f&&s.components.create?s.components.create:s.components.detail:s.components.list;let l=d(r.name,i);if(!l)return(0,t.jsxs)("div",{className:"text-center py-16 text-text-muted",children:['Component "',i,'" not found in plugin "',r.name,'"']});return(0,t.jsx)(o.f,{pluginName:r.name,componentName:i,children:(0,t.jsx)(n.h,{value:{pluginName:r.name,version:r.version,slotId:"entities",config:s},children:(0,t.jsx)(l,{entityId:x})})})}let i=r.slots.pages?.find(e=>e.path.replace(/^\//,"")===h);if(i){if(i.requiredRole&&!u(i.requiredRole))return e.replace("/403"),(0,t.jsx)(a.f,{variant:"content"});let s=d(r.name,i.component);if(s)return(0,t.jsx)(o.f,{pluginName:r.name,componentName:i.component,children:(0,t.jsx)(n.h,{value:{pluginName:r.name,version:r.version,slotId:"pages",config:i},children:(0,t.jsx)(s,{})})})}}return(0,t.jsxs)("div",{className:"text-center py-16 text-text-muted",children:['Plugin page "',h,'" not found.']})}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50595,e=>{"use strict";var t=e.i(91398),r=e.i(41158),a=e.i(3828),s=e.i(3326);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:o=null})=>{let i=(0,a.useRouter)(),{formatMessage:n}=(0,s.X)(),u={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},d=i.asPath?.split("/")?.filter((e,t)=>i.asPath?.split("/")?.indexOf(e)===t);if(1===d.length)return null;let c="";o&&d.splice(o),e&&(d[d.length-1]=e);let f=d?.map(t=>{if(c+=`${t}/`,!t)return{name:n({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],a=e?r:r.replace(/-/g," "),s=u[r];return{name:s?n({id:s,defaultMessage:a}):decodeURIComponent(a),path:c.replace(/.$/,"")}}),m=f?.length>1?f[f.length-2]:null;return(0,t.jsxs)(t.Fragment,{children:[m&&(0,t.jsx)("nav",{className:"mb-4 flex sm:hidden","aria-label":"Breadcrumb",children:(0,t.jsxs)(r.default,{href:m.path,className:"flex items-center text-sm font-medium capitalize text-text-muted hover:text-text-primary focus:outline-hidden focus:ring-2 focus:ring-focus-ring rounded-md px-1 py-1",children:[(0,t.jsx)("svg",{className:"mr-1.5 h-4 w-4 shrink-0",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:"M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z",clipRule:"evenodd"})}),m.name]})}),(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:f?.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==a&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-text-muted",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-text-muted hover:text-text-primary focus:outline-hidden focus:ring-2 focus:ring-focus-ring rounded-md px-1 py-1",children:a===f.length-1&&l?l:e.name})]})},e.path))})})]})}])},21623,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["f",0,({text:e,children:a,onClick:s,className:l="",disabled:o=!1,id:i="",variant:n="primary",size:u="md",type:d="button",loading:c=!1,icon:f,iconRight:m,fullWidth:g=!1,rounded:p="md",ariaLabel:b,...h})=>{let x=a||e,y=(f||m)&&x?"gap-2":"";return(0,t.jsx)("button",{id:i,type:d,disabled:o||c,onClick:s,"aria-label":b,className:(0,r.U)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[u],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[p],{primary:"border border-accent bg-accent text-text-on-accent hover:bg-accent-hover focus:ring-focus-ring",secondary:"border border-border-default bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",tertiary:"border border-border-subtle bg-surface text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",quaternary:"bg-transparent text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",danger:"border border-danger bg-surface text-danger hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-text-secondary hover:text-text-primary hover:bg-surface-raised focus:ring-focus-ring",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-border-default bg-surface-raised text-text-secondary hover:bg-surface-raised focus:ring-focus-ring",input:"border border-border-default bg-surface text-text-primary hover:border-slate-400 dark:hover:border-slate-500 focus:ring-focus-ring focus:border-slate-500"}[n],y,{"w-full":g},l),...h,children:c?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),x]}):(0,t.jsxs)(t.Fragment,{children:[f,x,m]})})}])},65897,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["f",0,({value:e,className:a,onChange:s=()=>{},rows:l=7,...o})=>{let i=Math.max(e?e.split("\n").length:1,l);return(0,t.jsx)("textarea",{className:(0,r.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:i,...o})}])},25327,e=>{"use strict";var t=e.i(91398),r=e.i(5205),a=e.i(41158),s=e.i(3326),l=e.i(37369),o=e.i(21623);e.s(["f",0,({headerText:e=null,onEdit:i=null,onDelete:n=null,children:u=null,title:d=null,addPath:c=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,s.X)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",d||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[u,c&&(0,t.jsx)(a.default,{href:c,children:(0,t.jsx)(o.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),i&&(0,t.jsx)(o.f,{variant:"secondary",onClick:i,text:m({id:"edit",defaultMessage:"Edit"})}),n&&(0,t.jsx)(o.f,{variant:"danger",onClick:n,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},23239,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(65897),s=e.i(60741),l=e.i(54879);e.s(["f",0,({validators:e=[],rows:o=10,...i})=>{let n=(0,s.f)({...i,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,t.jsx)(l.f,{...n,children:(0,t.jsx)(a.f,{className:(0,r.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},i.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})})}])},10685,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(60741),s=e.i(54879);e.s(["f",0,e=>{let{options:l,...o}=(0,a.f)(e),{className:i}=e||{className:""};return(0,t.jsx)(s.f,{...o,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.U)("block w-full bg-surface-input rounded-md border-1 border-border-default py-2.5 pl-3 pr-10 text-base text-text-primary shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring sm:text-sm",i,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!o.error}),disabled:o.disabled,id:o.name,name:o.name,onChange:o.onChange,onBlur:o.onBlur,value:o.value,children:[(0,t.jsx)("option",{className:"text-text-secondary",value:"",disabled:o.required,hidden:o.required,children:o.placeholder||o.label}),Object.entries(l).map(([e,r])=>(0,t.jsx)("option",{className:"text-text-secondary",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(["f",0,({label:e,disabled:l=!1,className:o="",hidden:i=!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,s.f)(),m=l||f||u.isSubmitting||c,g=u.isSubmitting&&!c,p=(l||f||c)&&!u.isSubmitting;return(0,t.jsx)("input",{className:(0,r.U)("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",o,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":p,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":g,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:i}),"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(["f",0,({maxLength:e=0,validators:o=[],...i})=>{let n=(0,s.f)({validators:[...o,e&&(0,a.f)(e)],...i});return(0,t.jsx)(l.f,{...n,children:(0,t.jsx)("input",{className:(0,r.U)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill appearance-none rounded-md border-1 bg-surface-input px-4 py-2.5 text-sm text-text-primary border-border-default placeholder:text-text-muted focus:outline-hidden focus:ring-2 focus:ring-focus-ring shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onClick:e=>{e.stopPropagation()},onBlur:n.onBlur,placeholder:n.placeholder,autoComplete:n.autoComplete||"off",type:n.type||"text",value:n.value,autoFocus:n.autoFocus})})}])},1504,e=>{"use strict";e.s(["f",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(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["f",0,({form:e,children:s,className:l="",...o})=>(0,t.jsx)(a.f.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,...o,children:s})})})])},60741,54879,e=>{"use strict";var t=e.i(91788),r=e.i(3326),a=e.i(58021),s=e.i(82226),l=e.i(61898);e.s(["f",0,e=>{let o=(0,r.X)(),{rhf:i,...n}=(0,l.f)(),{name:u,required:d,errorMessage:c,disabled:f=n.disabled||i?.formState?.isSubmitting,label:m=o.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:g=[]}=e,p=[...g,d&&s.w].filter(Boolean),b=e=>p.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:s})=>t||r(e)?t:c||o.formatMessage(a,{label:m,...s}),""),h=(0,t.useRef)(b);h.current=b;let{field:x,fieldState:y,formState:v}=(0,a.useController)({name:u,control:i?.control,rules:{validate:e=>h.current(e)||!0}}),_=(y.isTouched||v.isSubmitted)&&y.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);x.onChange(r)}else x.onChange(t)},onBlur:x.onBlur,value:null==x.value?"":x.value,setValue:(e,t)=>{i?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?i?.setError(u,{type:"manual",message:e}):i?.clearErrors(u)},setTouched:e=>{e&&i?.trigger(u)}}}],60741);var o=e.i(91398),i=e.i(56206);e.s(["f",0,({children:e,className:t,error:r,disabled:a,required:s,name:l,label:n,hideLabel:u,labelClassName:d})=>(0,o.jsxs)("div",{className:(0,i.U)("container",{"is-invalid":!!r,disabled:a,required:s},t),children:[(0,o.jsx)("label",{"aria-label":n,htmlFor:l,className:(0,i.U)("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":!!r,"sr-only":u},d),children:r||n}),e]})],54879)},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(3326),s=e.i(28401),l=e.i(73319);let o=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=>o(e)):Array.isArray(e)&&e?.length&&(0,l.C)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,o(t)]))):e,i=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>i(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,i(t)])):e;e.s(["f",0,({submit:e,getSubmitErrorMessage:l=()=>"",onSubmitSuccess:n=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:g,disabled:p=!1})=>{let b=(0,a.X)(),[h,x]=(0,t.useState)(""),y=(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}),v=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return b.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[b]),_=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,o(t)]))),i=("boolean"==typeof a?a:a?.success)??!a?.error;if(i)f&&s.toast.success(f),await n(i,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,x(l(e)||v(e))}):(r=!1,x(l(e)||v(e)))}}catch(e){r=!1,x(l(e)||v(e))}r&&x("")},[e,f,n,l,v]);return{submitError:h,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{y.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{y.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{y.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return y.getValues()},get isValid(){return y.formState.isValid},get isSubmitting(){return y.formState.isSubmitting},handleSubmit:y.handleSubmit(_),handleReset:()=>{y.reset()},resetForm:e=>{y.reset(e||u)},submitForm:()=>{y.handleSubmit(_)()},getFieldMeta:e=>{let t=y.getFieldState(e,y.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return i(y.formState.errors)}}),[y,_,u]),rhf:y,setSubmitError:x,disabled:p}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["f",0,()=>(0,t.useContext)(r.f)])},60170,e=>{"use strict";var t=e.i(91788);let r=(0,e.i(98837).f)("FormContext",t.default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1}));e.s(["f",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(3326);let o=["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"],i=["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"],n=e=>null===e||""===e||void 0===e;e.s(["J",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"u",0,e=>{let t=RegExp(`^\\d+${e>0?`(\\.\\d{1,${e}})?`:""}$`);return{isValid:e=>n(e)||t.test(String(e).trim())&&Number(e)>0,intlMessageDescriptor:{id:"error_amount",defaultMessage:"{label} must be an amount above 0 with at most {decimals} decimals"},intlMessageValues:{decimals:e}}},"$",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,s.f)(t))return!1;let r=(0,l.f)(new Date);return!(+(0,a.f)(t)>+(0,a.f)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"v",0,()=>({isValid:e=>o.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"G",0,{isValid:e=>!e||(0,s.f)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"L",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"j",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"}}),"y",0,()=>({isValid:e=>i.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"f",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"H",0,{isValid:e=>n(e)||/^[1-9]\d*$/.test(String(e).trim()),intlMessageDescriptor:{id:"error_positive_integer",defaultMessage:"{label} must be a whole number above 0"}},"D",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"}}),"P",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t,a=r?.[e];return!a||1===r.filter(({minQuantity:e,countryCode:t,currencyCode:r})=>t===a.countryCode&&r===a.currencyCode&&(n(e)||0===Number(e))).length},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label}: every country and currency needs one price with min quantity 0 or empty"}}),"w",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"}},"x",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},37369,e=>{"use strict";var t=e.i(84985);e.s(["f",()=>t.f])},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,o=encodeURI(e).split(/%..|./).length-1;return o>=r&&(void 0===a||o<=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},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,h,x=r[1];if(e=e.replace(x,"").replace(/(^<|>$)/g,""),x.endsWith(" ")&&(x=x.slice(0,-1)),!(!(!(h=(u=x).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(h)&&(h===u||h.split('"').length!==h.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var y=e.split("@"),v=y.pop(),_=v.toLowerCase();if(t.host_blacklist.length>0&&(0,s.default)(_,t.host_blacklist)||t.host_whitelist.length>0&&!(0,s.default)(_,t.host_whitelist))return!1;var M=y.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var w=(M=M.toLowerCase()).split("+")[0];if(!(0,l.default)(w.replace(/\./g,""),{min:6,max:30}))return!1;for(var j=w.split("."),S=0;S<j.length;S++)if(!m.test(j[S]))return!1}if(!1===t.ignore_max_length&&(!(0,l.default)(M,{max:64})||!(0,l.default)(v,{max:254})))return!1;if(!(0,o.default)(v,{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,i.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var F=v.slice(1,-1);if(0===F.length||!(0,i.default)(F))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?b.test(M):g.test(M);for(var k=t.allow_utf8_local_part?p:f,C=M.split("."),N=0;N<C.length;N++)if(!k.test(C[N]))return!1;return!0};var a=u(e.r(78262)),s=u(e.r(80930)),l=u(e.r(60054)),o=u(e.r(96184)),i=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]+$/,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,p=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,b=/^([\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},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,o)).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 o={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()?n.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 o="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",i="(".concat(o,"[.]){3}").concat(o),n=new RegExp("^".concat(i,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(i,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(i,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(i,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(i,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(i,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(i,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(i,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");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,o=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],i=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],n=e.length-o.length-i.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,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},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},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},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}]);
|