@unchainedshop/admin-ui 4.8.33 → 4.8.34
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/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
- package/dist/{chunk-PJLYVMUM.js → chunk-4MXPTVDL.js} +2 -2
- package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
- 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-E77YIMGR.js → chunk-ED2FP42R.js} +1 -1
- package/dist/{chunk-HJKRGBDG.js → chunk-GWMLIF3C.js} +1 -1
- package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
- package/dist/{chunk-BMDNY67T.js → chunk-PGJTFYBT.js} +1385 -932
- package/dist/{chunk-ICJH36K4.js → chunk-YUXHILXY.js} +1 -1
- package/dist/form.js +797 -286
- package/dist/hooks.js +3 -3
- package/dist/modal.js +5 -5
- package/dist/modules/accounts.js +1 -1
- package/dist/modules/assortment.js +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 +1 -1
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +1 -1
- package/dist/modules/language.js +1 -1
- package/dist/modules/order.js +1 -1
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +1 -1
- package/dist/modules/product.js +5 -5
- package/dist/modules/quotation.js +1 -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 +3884 -3401
- 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/DUswS2PYjGTW9uUGVJ6xd/_buildManifest.js +258 -0
- package/out/_next/static/chunks/0-e21p2v90828.js +23 -0
- package/out/_next/static/chunks/0-w25xfpw-_e9.js +44 -0
- package/out/_next/static/chunks/011h6mc3kuxq9.js +217 -0
- package/out/_next/static/chunks/01n5rd9ngv-t4.js +1 -0
- package/out/_next/static/chunks/01rghd4wcj4ex.js +5 -0
- package/out/_next/static/chunks/03omde6jo6sta.js +1 -0
- package/out/_next/static/chunks/06gyzyq56kw_2.js +6 -0
- package/out/_next/static/chunks/{2ajr0rk0_yax6.js → 06kqbwwnuu3te.js} +1 -1
- package/out/_next/static/chunks/07i53w2a3x0so.js +1 -0
- package/out/_next/static/chunks/09irjy-7k1922.js +1 -0
- package/out/_next/static/chunks/09kihj6ay6mqn.js +39 -0
- package/out/_next/static/chunks/09ml8g7-byzio.js +71 -0
- package/out/_next/static/chunks/09yk8jmltcqcd.js +5 -0
- package/out/_next/static/chunks/0_m0oaoy22un6.js +5 -0
- package/out/_next/static/chunks/0af-w950yl0l5.js +277 -0
- package/out/_next/static/chunks/0ah2m5cl87avs.js +935 -0
- package/out/_next/static/chunks/0ahfhl4hk0fuj.js +12 -0
- package/out/_next/static/chunks/0b4rcc2y1ex8j.js +12 -0
- package/out/_next/static/chunks/0buyef0vid-ym.js +224 -0
- package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
- package/out/_next/static/chunks/0duy5y86n4tl3.js +5 -0
- package/out/_next/static/chunks/0dzn-wes7gjdt.js +33 -0
- package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 0e4nzgbtw6x_d.js} +4 -4
- package/out/_next/static/chunks/0eb98o1s1ojq7.js +5 -0
- package/out/_next/static/chunks/0gow2wyosbjb6.js +71 -0
- package/out/_next/static/chunks/0h4ehpg2f7fp2.js +46 -0
- package/out/_next/static/chunks/0hgha-mywwcsd.js +8 -0
- package/out/_next/static/chunks/0iliy1guwadr4.js +7 -0
- package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
- package/out/_next/static/chunks/0l1xycyhdztmy.js +46 -0
- package/out/_next/static/chunks/0lh8xbz1qulcr.js +15 -0
- package/out/_next/static/chunks/0mavm6oemhb-d.js +152 -0
- package/out/_next/static/chunks/0nk0kgnsiap5g.js +116 -0
- package/out/_next/static/chunks/0o3o1f00j5wxa.js +8 -0
- package/out/_next/static/chunks/0pny1c_ni8rn7.js +39 -0
- package/out/_next/static/chunks/0q62hlhpcumrt.js +33 -0
- package/out/_next/static/chunks/0qkdih-hi6c2m.js +15 -0
- package/out/_next/static/chunks/0qz61g2g6ijfh.js +54 -0
- package/out/_next/static/chunks/0raj1enjck-ex.js +4 -0
- package/out/_next/static/chunks/0rmomvc8u__n4.js +10 -0
- package/out/_next/static/chunks/0s0ufx1fl32v7.js +12 -0
- package/out/_next/static/chunks/0sgxa66r-iing.js +1 -0
- package/out/_next/static/chunks/0sv5w2_cae8tj.js +7 -0
- package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
- package/out/_next/static/chunks/0ub1l2hrjkz2-.js +1 -0
- package/out/_next/static/chunks/0uef4ugmc_g10.js +1 -0
- package/out/_next/static/chunks/0uksleo_xd7j5.js +1 -0
- package/out/_next/static/chunks/0wbciytf8tnsa.js +18 -0
- package/out/_next/static/chunks/0wd1l2f5cin-0.js +4 -0
- package/out/_next/static/chunks/0zfm51umxvjc6.js +1 -0
- package/out/_next/static/chunks/10enect1zh1vj.js +3 -0
- package/out/_next/static/chunks/11e6h7l-whxh3.js +7 -0
- package/out/_next/static/chunks/11vnr4kb9qkjr.js +1 -0
- package/out/_next/static/chunks/13bcbgywansr-.js +130 -0
- package/out/_next/static/chunks/13ytpmhxkpnwy.js +1 -0
- package/out/_next/static/chunks/14pnkf7som1m1.js +1 -0
- package/out/_next/static/chunks/17nr-ur3sbo_z.js +24 -0
- package/out/_next/static/chunks/1802-tohqffps.js +1 -0
- package/out/_next/static/chunks/181-yaruteuqm.js +61 -0
- package/out/_next/static/chunks/181zsbok_ljo_.js +4 -0
- package/out/_next/static/chunks/187p6ryym-x3i.js +5 -0
- package/out/_next/static/chunks/198-_r3as1j63.js +8 -0
- package/out/_next/static/chunks/19f7gu0kvm7xl.js +7 -0
- package/out/_next/static/chunks/19kin-dby998k.js +8 -0
- package/out/_next/static/chunks/1aojv48cs6ufj.js +6 -0
- package/out/_next/static/chunks/1cs-w7vppvm8o.js +1 -0
- package/out/_next/static/chunks/1cz2fp89ssu5d.js +4 -0
- package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
- package/out/_next/static/chunks/1edk56b1rx05q.js +4 -0
- package/out/_next/static/chunks/1ew4i-mm087xs.js +4 -0
- package/out/_next/static/chunks/1ewn0p_wru2ra.js +15 -0
- package/out/_next/static/chunks/1g1na7eoafolj.js +1 -0
- package/out/_next/static/chunks/1gfocmey44pyr.js +7 -0
- package/out/_next/static/chunks/1grwyry6zqknr.js +100 -0
- package/out/_next/static/chunks/1gyt_0aw92ysk.js +5 -0
- package/out/_next/static/chunks/1hvvot0p0442h.js +5 -0
- package/out/_next/static/chunks/1inbspyz1wpdj.js +1 -0
- package/out/_next/static/chunks/1l2p87t0w4-yb.js +8 -0
- package/out/_next/static/chunks/1lew6f82bg1x1.js +1 -0
- package/out/_next/static/chunks/1nbc2o30_g9bj.js +95 -0
- package/out/_next/static/chunks/1nikeez809jr8.js +2 -0
- package/out/_next/static/chunks/1p1f35qy1lt0s.js +7 -0
- package/out/_next/static/chunks/1p3agrt0e0t9t.js +5 -0
- package/out/_next/static/chunks/1p6qsnui0zjik.js +44 -0
- package/out/_next/static/chunks/1pbfjibxvspoj.js +5 -0
- package/out/_next/static/chunks/1pcrg5m_9agof.js +5 -0
- package/out/_next/static/chunks/1rm2w7nvmejdw.js +31 -0
- package/out/_next/static/chunks/{1---h4b693b81.js → 1t5wlk2j9d4ss.js} +1 -1
- package/out/_next/static/chunks/{12yd8t4k6c0t1.js → 1t8jj0-6g8uyd.js} +1 -1
- package/out/_next/static/chunks/1ttpypjue-zdo.js +63 -0
- package/out/_next/static/chunks/1uzvaujlk79rn.js +145 -0
- package/out/_next/static/chunks/1xnlhfvi8m4a8.js +1 -0
- package/out/_next/static/chunks/1y0mbad52vao6.js +5 -0
- package/out/_next/static/chunks/1zfhgsywbsg2e.js +5 -0
- package/out/_next/static/chunks/1zhfbuv-et-34.js +13 -0
- package/out/_next/static/chunks/2-2kg667v82ek.js +171 -0
- package/out/_next/static/chunks/21z3-xqp62vs8.js +7 -0
- package/out/_next/static/chunks/22odam86c8kps.js +1 -0
- package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
- package/out/_next/static/chunks/243ubs_ig9hwo.js +13 -0
- package/out/_next/static/chunks/249u7sg_mycfl.js +24 -0
- package/out/_next/static/chunks/24_57hr3o_ll8.js +1 -0
- package/out/_next/static/chunks/252_8-fyz3vjh.js +9 -0
- package/out/_next/static/chunks/25_kx8fsd5k0d.js +5 -0
- package/out/_next/static/chunks/26wuxv_gsk3jb.js +30 -0
- package/out/_next/static/chunks/26x7o2gzms54c.js +6 -0
- package/out/_next/static/chunks/27h86ht8kvqop.js +267 -0
- package/out/_next/static/chunks/27tf612b6s-45.js +7 -0
- package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 2893194r7ays6.js} +5 -5
- package/out/_next/static/chunks/294uscwjocbpf.js +5 -0
- package/out/_next/static/chunks/29c8fj1poxxec.js +39 -0
- package/out/_next/static/chunks/{439tz_ubj8h-g.js → 29fdom9djvjop.js} +9 -9
- package/out/_next/static/chunks/2__om5ddn5b91.js +7 -0
- package/out/_next/static/chunks/2_krlw-01uumq.js +119 -0
- package/out/_next/static/chunks/2a1m9ia2zp2t9.js +6 -0
- package/out/_next/static/chunks/2c2arjke9rx-g.js +14 -0
- package/out/_next/static/chunks/2de99go2pdzl3.js +12 -0
- package/out/_next/static/chunks/2dnn7jhe55iy8.js +32 -0
- package/out/_next/static/chunks/2eac98hmhj8tp.js +5 -0
- package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
- package/out/_next/static/chunks/2h_j6q1pnhf07.js +16 -0
- package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
- package/out/_next/static/chunks/2i07f6t3xq708.js +5 -0
- package/out/_next/static/chunks/2i6nzzm63658q.js +10 -0
- package/out/_next/static/chunks/2ksch2zc9k7uj.js +71 -0
- package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 2lh-lsn2en0pp.js} +2 -2
- package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
- package/out/_next/static/chunks/2m_p_bx_gsrlf.js +5 -0
- package/out/_next/static/chunks/2of_ro6r-fwjx.js +16 -0
- package/out/_next/static/chunks/2oyujmi3aqs6f.js +5 -0
- package/out/_next/static/chunks/2pumckmhpvlo2.js +23 -0
- package/out/_next/static/chunks/2r4x7nghsoqhe.js +7 -0
- package/out/_next/static/chunks/2s-226q_lc70k.js +9 -0
- package/out/_next/static/chunks/2sc_zg0bvlmak.js +78 -0
- package/out/_next/static/chunks/2tlxpweh5c3fh.js +43 -0
- package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2w_0wk23uirx6.js} +7 -7
- package/out/_next/static/chunks/2wg_0x11ef6uc.js +7 -0
- package/out/_next/static/chunks/2zx42lz8zcp91.js +6 -0
- package/out/_next/static/chunks/3-l_ott2smmqm.js +7 -0
- package/out/_next/static/chunks/30lpu8mp25ag1.js +41 -0
- package/out/_next/static/chunks/3168hp9w1h68h.js +68 -0
- package/out/_next/static/chunks/3180oblgqnad5.js +194 -0
- package/out/_next/static/chunks/32traobkc55z_.js +54 -0
- package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
- package/out/_next/static/chunks/{153ec1_-yt3jb.js → 343n05fzlb2an.js} +5 -5
- package/out/_next/static/chunks/35odkwyh-md-p.js +59 -0
- package/out/_next/static/chunks/35tgy8og7dw73.js +149 -0
- package/out/_next/static/chunks/36mjt8cgckx2r.js +1 -0
- package/out/_next/static/chunks/37j2g662wreov.js +108 -0
- package/out/_next/static/chunks/37vezmh4pf5j4.js +12 -0
- package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
- package/out/_next/static/chunks/38uyt89jy0tt7.js +1 -0
- package/out/_next/static/chunks/39-pv-7i0kah_.js +155 -0
- package/out/_next/static/chunks/3__spmlu2_ez6.js +41 -0
- package/out/_next/static/chunks/3_zgl8ng3nj3g.js +9 -0
- package/out/_next/static/chunks/3a6ahlxxtjn1v.js +8 -0
- package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 3ae7hwg50q67p.js} +2 -2
- package/out/_next/static/chunks/3btzusax1chra.js +36 -0
- package/out/_next/static/chunks/3ciuktttw5i71.js +277 -0
- package/out/_next/static/chunks/{2ho4591ngh3y2.js → 3d0cucf7-qlz9.js} +6 -6
- package/out/_next/static/chunks/3d2mjl6ls12h_.js +5 -0
- package/out/_next/static/chunks/3dxz87hw4lx39.js +1 -0
- package/out/_next/static/chunks/3f2rrfc7u_j6o.js +1 -0
- package/out/_next/static/chunks/3fvf-l1-bp--9.js +5 -0
- package/out/_next/static/chunks/3hubf9lb56zls.js +7 -0
- package/out/_next/static/chunks/3hxp-xwv4g3ek.js +1 -0
- package/out/_next/static/chunks/3ljqspad_536i.js +4 -0
- package/out/_next/static/chunks/3mnca5jc1q8c_.js +43 -0
- package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
- package/out/_next/static/chunks/3skw31vkshyt2.js +1 -0
- package/out/_next/static/chunks/3szdkqecej3fb.js +1 -0
- package/out/_next/static/chunks/3t-6admtmkzzy.js +39 -0
- package/out/_next/static/chunks/3t1q9dc-nlr3j.js +1 -0
- package/out/_next/static/chunks/3u6_-nj6i_l_r.js +1 -0
- package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
- package/out/_next/static/chunks/3uql2yuaknc-3.js +1 -0
- package/out/_next/static/chunks/3vf-3rhaiq_n1.js +6 -0
- package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
- package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
- package/out/_next/static/chunks/3ylglplnmhho2.js +5 -0
- package/out/_next/static/chunks/3ym4exwo-py5d.js +23 -0
- package/out/_next/static/chunks/3yre4w19nehxf.js +1 -0
- package/out/_next/static/chunks/3z51ql4pljujr.js +81 -0
- package/out/_next/static/chunks/3zhcq27e8jjni.js +28 -0
- package/out/_next/static/chunks/40fs5lh83_iox.js +1 -0
- package/out/_next/static/chunks/40kvqov4hgd5s.js +31 -0
- package/out/_next/static/chunks/40trlm34cnu6v.js +108 -0
- package/out/_next/static/chunks/43n5979c79f0d.js +1 -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/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/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 +1 -1
- package/out/_next/static/LYf4c16v7ZGmJ_J77NFgQ/_buildManifest.js +0 -258
- package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
- package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
- package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
- package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
- package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
- package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
- package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
- package/out/_next/static/chunks/05p330iybjojg.js +0 -44
- package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
- package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
- package/out/_next/static/chunks/07o9g5hqfpvjc.js +0 -12
- package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
- package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
- package/out/_next/static/chunks/0a5nr3-_q7xx1.js +0 -100
- package/out/_next/static/chunks/0amj69l-d5-85.js +0 -1
- package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
- package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
- package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
- package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
- package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
- package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
- package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
- package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
- package/out/_next/static/chunks/0n3ixknyc6_ma.js +0 -1
- package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
- package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
- package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
- package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
- package/out/_next/static/chunks/0qj3xdz043z8l.js +0 -12
- package/out/_next/static/chunks/0skst735jufgh.js +0 -71
- package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
- package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
- package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
- package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
- package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
- package/out/_next/static/chunks/0zzoylv2rl1xu.js +0 -3
- package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
- package/out/_next/static/chunks/11ehf3t7qzbua.js +0 -4
- package/out/_next/static/chunks/11go520d1hcm5.js +0 -1
- package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
- package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
- package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
- package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
- package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
- package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
- package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
- package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
- package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
- package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
- package/out/_next/static/chunks/1f7-0l47bx76m.js +0 -13
- package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
- package/out/_next/static/chunks/1g96s7-fwvokd.js +0 -2
- package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
- package/out/_next/static/chunks/1hviha1jcz_og.js +0 -4
- package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
- package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
- package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
- package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
- package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
- package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
- package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
- package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
- package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
- package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
- package/out/_next/static/chunks/1qi5yjvzxspwv.js +0 -15
- package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
- package/out/_next/static/chunks/1s9v5dndopkuz.js +0 -12
- package/out/_next/static/chunks/1sksqjru86hlm.js +0 -1
- package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
- package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
- package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
- package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
- package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
- package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
- package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
- package/out/_next/static/chunks/20f2gs8iua6fk.js +0 -1
- package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
- package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
- package/out/_next/static/chunks/22-o32hlte36e.js +0 -130
- package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
- package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
- package/out/_next/static/chunks/23swqksldp1rl.js +0 -5
- package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
- package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
- package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
- package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
- package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
- package/out/_next/static/chunks/283567a82x9qi.js +0 -149
- package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
- package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
- package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
- package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
- package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
- package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
- package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +0 -1
- package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
- package/out/_next/static/chunks/2hoi6cb1lromr.js +0 -4
- package/out/_next/static/chunks/2i5k6tlwd58hp.js +0 -1
- package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
- package/out/_next/static/chunks/2jonbba27xy3u.js +0 -14
- package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
- package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
- package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
- package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
- package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
- package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
- package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
- package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
- package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
- package/out/_next/static/chunks/2rb1-3t3-sv5s.js +0 -8
- package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
- package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
- package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
- package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
- package/out/_next/static/chunks/2vveotzevnkfp.js +0 -1
- package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
- package/out/_next/static/chunks/2wmsx4gjbgvfv.js +0 -18
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
- package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
- package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
- package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
- package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
- package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
- package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
- package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
- package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
- package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
- package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
- package/out/_next/static/chunks/33yzdcbu7w60l.js +0 -13
- package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
- package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
- package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
- package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
- package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
- package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
- package/out/_next/static/chunks/3bqaitmo4sp-a.js +0 -116
- package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
- package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
- package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
- package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
- package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
- package/out/_next/static/chunks/3fqonijzsxy8u.js +0 -28
- package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
- package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
- package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
- package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
- package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
- package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
- package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
- package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
- package/out/_next/static/chunks/3q3m075m4bxz1.js +0 -2
- package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
- package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
- package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
- package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
- package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
- package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
- package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
- package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
- package/out/_next/static/chunks/3vgurvjr6hkyv.js +0 -4
- package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
- package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
- package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
- package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
- package/out/_next/static/chunks/3wlvio5id54ow.js +0 -5
- package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
- package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
- package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
- package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
- package/out/_next/static/chunks/40l5d7o95aw37.js +0 -4
- package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
- package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
- package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
- package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
- /package/out/_next/static/{LYf4c16v7ZGmJ_J77NFgQ → DUswS2PYjGTW9uUGVJ6xd}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{LYf4c16v7ZGmJ_J77NFgQ → DUswS2PYjGTW9uUGVJ6xd}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61494,e=>{var t=e.i(91398),r=e.i(41158),n=e.i(3828),o=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:i=null})=>{let a=(0,n.useRouter)(),{formatMessage:s}=(0,o.S)(),c={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"},u=a.asPath?.split("/")?.filter((e,t)=>a.asPath?.split("/")?.indexOf(e)===t);if(1===u.length)return null;let f="";i&&u.splice(i),e&&(u[u.length-1]=e);let d=u?.map(t=>{if(f+=`${t}/`,!t)return{name:s({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],n=e?r:r.replace(/-/g," "),o=c[r];return{name:o?s({id:o,defaultMessage:n}):decodeURIComponent(n),path:f.replace(/.$/,"")}});return(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:d?.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==n&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:n===d.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:n,onClick:o,className:l="",disabled:i=!1,id:a="",variant:s="primary",size:c="md",type:u="button",loading:f=!1,icon:d,iconRight:m,fullWidth:p=!1,rounded:h="md",ariaLabel:g,...y})=>{let b=n||e,x=(d||m)&&b?"gap-2":"";return(0,t.jsx)("button",{id:a,type:u,disabled:i||f,onClick:o,"aria-label":g,className:(0,r.default)("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"}[c],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[h],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",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-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[s],x,{"w-full":p},l),...y,children:f?(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"}),b]}):(0,t.jsxs)(t.Fragment,{children:[d,b,m]})})}])},17644,e=>{var t=e.i(91398),r=e.i(58678),n=e.i(41158),o=e.i(69322),l=e.i(37369),i=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:a=null,onDelete:s=null,children:c=null,title:u=null,addPath:f=null,addButtonText:d=null})=>{let{formatMessage:m}=(0,o.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",u||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:[c,f&&(0,t.jsx)(n.default,{href:f,children:(0,t.jsx)(i.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:d||m({id:"add",defaultMessage:"Add"})})}),a&&(0,t.jsx)(i.f,{variant:"secondary",onClick:a,text:m({id:"edit",defaultMessage:"Edit"})}),s&&(0,t.jsx)(i.f,{variant:"danger",onClick:s,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},64591,e=>{var t=e.i(91398),r=e.i(72043),n=e.i(3828),o=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:l=null,onToggle:i=null,active:a=!1,className:s="",disabled:c=!1,...u})=>{let f=(0,n.useRouter)(),d=f?.query?.[l]==="true"||a;return(0,t.jsxs)("div",{className:(0,r.default)("",s),children:[(0,t.jsxs)("button",{id:l,disabled:c,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!d,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":d}),role:"switch",onClick:i||(()=>{let{skip:e,...t}=f.query;f.push({query:(0,o._)(t,!d,l)})}),"aria-checked":d?"true":"false",...u,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":d,"translate-x-0":!d}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":d,"opacity-100 duration-200 ease-in":!d}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":d,"opacity-0 duration-100 ease-out":!d}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},73319,e=>{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)])},99160,e=>{var t=e.i(91398),r=e.i(72043),n=e.i(38865),o=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:i="",hidden:a=!1,...s})=>{let c=(0,n.m)(),{...u}=s,f=Object.fromEntries(Object.keys(c.initialValues).map(e=>[e,c.getFieldMeta(e)])),{disabled:d}=(0,o.f)(),m=Object.values(f).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=l||d||c.isSubmitting||m,h=c.isSubmitting&&!m,g=(l||d||m)&&!c.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":h,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:a}),"aria-label":e,type:"submit",value:e,disabled:p,...u})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),n=e.i(82226),o=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:i=[],...a})=>{let s=(0,o.f)({validators:[...i,e&&(0,n.f)(e)],...a});return(0,t.jsx)(l.f,{...s,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!s.error,"border-slate-300 placeholder-slate-400":!s.error}),disabled:s.disabled,id:s.name,name:s.name,onChange:s.onChange,onClick:e=>{e.stopPropagation()},onBlur:s.onBlur,placeholder:s.placeholder,autoComplete:s.autoComplete||"off",type:s.type||"text",value:s.value,autoFocus:s.autoFocus})})}])},76204,e=>{var t=e.i(24669),r=e.i(91788),n=e.i(30928),o=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var i=e.i(98926);function a(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,s){let c=(0,i.f)(s?.client),[u,f]=r.useState(()=>a(c)),d=r.useRef({result:u,mutationId:0,isMounted:!0,client:c,mutation:e,options:s});l(()=>{Object.assign(d.current,{client:c,options:s,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:l}=d.current,i={...r,mutation:l},a=e.client||d.current.client,s="function"==typeof e.context?e.context(r?.context):e.context;!d.current.result.loading&&d.current.isMounted&&f(d.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});let c=++d.current.mutationId,u=(0,n.f)(i,{...e,context:s});return(0,o.f)(a.mutate(u).then(r=>{let{data:n,error:o}=r,l=e.onError||d.current.options?.onError;if(o&&l&&l(o,u),c===d.current.mutationId){let e={called:!0,loading:!1,data:n,error:o,client:a};d.current.isMounted&&!(0,t.f)(d.current.result,e)&&f(d.current.result=e)}let i=e.onCompleted||d.current.options?.onCompleted;return o||i?.(r.data,u),r},r=>{if(c===d.current.mutationId&&d.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:a};(0,t.f)(d.current.result,e)||f(d.current.result=e)}let n=e.onError||d.current.options?.onError;throw n&&n(r,u),r}))},[]),p=r.useCallback(()=>{if(d.current.isMounted){let e=a(d.current.client);Object.assign(d.current,{mutationId:0,result:e}),f(e)}},[]);return r.useEffect(()=>{let e=d.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...u}]}],76204)},95963,32572,36394,e=>{let t,r=["top","right","bottom","left"],n=r.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),o=Math.min,l=Math.max,i=Math.round,a=Math.floor,s=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t,r){return l(e,o(t,r))}function f(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function m(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return p(g(e))}function b(e,t,r){void 0===r&&(r=!1);let n=m(e),o=y(e),l=h(o),i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=S(i)),[i,S(i)]}function x(e){let t=S(e);return[v(e),t,v(t)]}function v(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],k=["right","left"],j=["top","bottom"],R=["bottom","top"];function C(e,t,r,n){let o=m(e),l=function(e,t,r){switch(e){case"top":case"bottom":if(r)return t?k:w;return t?w:k;case"left":case"right":return t?j:R;default:return[]}}(d(e),"start"===r,n);return o&&(l=l.map(e=>e+"-"+o),t&&(l=l.concat(l.map(v)))),l}function S(e){let t=d(e);return c[t]+e.slice(t.length)}function O(e){var t,r,n,o;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(o=e.left)?o:0}:{top:e,right:e,bottom:e,left:e}}function L(e){let{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function T(e,t,r){let n,{reference:o,floating:l}=e,i=g(t),a=y(t),s=h(a),c=d(t),u=o.x+o.width/2-l.width/2,f=o.y+o.height/2-l.height/2,p=o[s]/2-l[s]/2;switch(c){case"top":n={x:u,y:o.y-l.height};break;case"bottom":n={x:u,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:f};break;case"left":n={x:o.x-l.width,y:f};break;default:n={x:o.x,y:o.y}}let b=m(t);return b&&(n[a]+=p*("end"===b?1:-1)*(r&&"y"===i?-1:1)),n}async function E(e,t){var r;void 0===t&&(t={});let{x:n,y:o,platform:l,rects:i,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:m=!1,padding:p=0}=f(t,e),h=O(p),g=a[m?"floating"===d?"reference":"floating":d],y=L(await l.getClippingRect({element:null==(r=await (null==l.isElement?void 0:l.isElement(g)))||r?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),b="floating"===d?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),v=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},w=L(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:x,strategy:s}):b);return{top:(y.top-w.top+h.top)/v.y,bottom:(w.bottom-y.bottom+h.bottom)/v.y,left:(y.left-w.left+h.left)/v.x,right:(w.right-y.right+h.right)/v.x}}e.s(["O",0,u,"I",0,s,"h",0,f,"w",0,a,"R",0,m,"i",0,y,"N",0,b,"T",0,h,"P",0,x,"o",0,v,"J",0,p,"K",0,C,"t",0,S,"j",0,O,"m",0,d,"$",0,g,"y",0,l,"u",0,o,"Z",0,n,"_",0,L,"H",0,i,"M",0,r],32572);let A=async(e,t,r)=>{let{placement:n="bottom",strategy:o="absolute",middleware:l=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:E},s=await (null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=T(c,n,s),d=n,m=0,p={};for(let r=0;r<l.length;r++){let h=l[r];if(!h)continue;let{name:g,fn:y}=h,{x:b,y:x,data:v,reset:w}=await y({x:u,y:f,initialPlacement:n,placement:d,strategy:o,middlewareData:p,rects:c,platform:a,elements:{reference:e,floating:t}});u=null!=b?b:u,f=null!=x?x:f,p[g]={...p[g],...v},w&&m<50&&(m++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(c=!0===w.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:u,y:f}=T(c,d,s)),r=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return r.some(t=>e[t]>=0)}function N(e){let t=o(...e.map(e=>e.left)),r=o(...e.map(e=>e.top));return{x:t,y:r,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-r}}let $=new Set(["left","top"]);async function F(e,t){let{placement:r,platform:n,elements:o}=e,l=await (null==n.isRTL?void 0:n.isRTL(o.floating)),i=d(r),a=m(r),s="y"===g(r),c=$.has(i)?-1:1,u=l&&s?-1:1,p=f(t,e),{mainAxis:h,crossAxis:y,alignmentAxis:b}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return a&&"number"==typeof b&&(y="end"===a?-1*b:b),s?{x:y*u,y:h*c}:{x:h*c,y:y*u}}function D(){return"u">typeof window}function B(e){return _(e)?(e.nodeName||"").toLowerCase():"#document"}function z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function H(e){var t;return null==(t=(_(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function _(e){return!!D()&&(e instanceof Node||e instanceof z(e).Node)}function W(e){return!!D()&&(e instanceof Element||e instanceof z(e).Element)}function I(e){return!!D()&&(e instanceof HTMLElement||e instanceof z(e).HTMLElement)}function V(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof z(e).ShadowRoot)}function q(e){let{overflow:t,overflowX:r,overflowY:n,display:o}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function U(e){return/^(table|td|th)$/.test(B(e))}function K(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let G=/transform|translate|scale|rotate|perspective|filter/,J=/paint|layout|strict|content/,Q=e=>!!e&&"none"!==e;function X(e){let t=W(e)?et(e):e;return Q(t.transform)||Q(t.translate)||Q(t.scale)||Q(t.rotate)||Q(t.perspective)||!Y()&&(Q(t.backdropFilter)||Q(t.filter))||G.test(t.willChange||"")||J.test(t.contain||"")}function Z(e){let t=en(e);for(;I(t)&&!ee(t);){if(X(t))return t;if(K(t))break;t=en(t)}return null}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function ee(e){return/^(html|body|#document)$/.test(B(e))}function et(e){return z(e).getComputedStyle(e)}function er(e){return W(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||V(e)&&e.host||H(e);return V(t)?t.host:t}function eo(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let o=function e(t){let r=en(t);return ee(r)?(t.ownerDocument||t).body:I(r)&&q(r)?r:e(r)}(e),l=o===(null==(n=e.ownerDocument)?void 0:n.body),i=z(o);if(!l)return t.concat(o,eo(o,[],r));{let e=el(i);return t.concat(i,i.visualViewport||[],q(o)?o:[],e&&r?eo(e):[])}}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ei(e){let t=et(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=I(e),l=o?e.offsetWidth:r,a=o?e.offsetHeight:n,s=i(r)!==l||i(n)!==a;return s&&(r=l,n=a),{width:r,height:n,$:s}}function ea(e){return W(e)?e:e.contextElement}function es(e){let t=ea(e);if(!I(t))return s(1);let r=t.getBoundingClientRect(),{width:n,height:o,$:l}=ei(t),a=(l?i(r.width):r.width)/n,c=(l?i(r.height):r.height)/o;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}e.s(["X",0,et,"f",0,Z,"I",0,H,"w",0,el,"A",0,B,"Q",0,er,"G",0,eo,"J",0,en,"K",0,z,"e",0,X,"m",0,W,"E",0,I,"Z",0,ee,"B",0,q,"R",0,V,"S",0,U,"D",0,K,"i",0,Y],36394);let ec=s(0);function eu(e){let t=z(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ec}function ef(e,t,r,n){var o;void 0===t&&(t=!1),void 0===r&&(r=!1);let l=e.getBoundingClientRect(),i=ea(e),a=s(1);t&&(n?W(n)&&(a=es(n)):a=es(e));let c=(void 0===(o=r)&&(o=!1),n&&o&&n===z(i))?eu(i):s(0),u=(l.left+c.x)/a.x,f=(l.top+c.y)/a.y,d=l.width/a.x,m=l.height/a.y;if(i&&n){let e=z(i),t=W(n)?z(n):n,r=e,o=el(r);for(;o&&t!==r;){let e=es(o),t=o.getBoundingClientRect(),n=et(o),l=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,f*=e.y,d*=e.x,m*=e.y,u+=l,f+=i,o=el(r=z(o))}}return L({width:d,height:m,x:u,y:f})}function ed(e,t){let r=er(e).scrollLeft;return t?t.left+r:ef(H(e)).left+r}function em(e,t){let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-ed(e,r),y:r.top+t.scrollTop}}function ep(e,t,r){var n;let o;if("viewport"===t||"layoutViewport"===t)o=function(e,t,r){void 0===r&&(r="viewport");let n="layoutViewport"===r,o=z(e),l=H(e),i=o.visualViewport,a=l.clientWidth,s=l.clientHeight,c=0,u=0;if(i){let e=!Y()||"fixed"===t;n?e||(c=-i.offsetLeft,u=-i.offsetTop):(a=i.width,s=i.height,e&&(c=i.offsetLeft,u=i.offsetTop))}if(0>=ed(l)){let e=l.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(l.clientWidth-t.clientWidth-n),i="stable both-edges"===getComputedStyle(l).scrollbarGutter?o/2:o;i<=25&&(a-=i)}return{width:a,height:s,x:c,y:u}}(e,r,t);else if("document"===t){let t,r,i,a,s,c;t=er(n=H(e)),r=n.ownerDocument.body,i=l(n.scrollWidth,n.clientWidth,r.scrollWidth,r.clientWidth),a=l(n.scrollHeight,n.clientHeight,r.scrollHeight,r.clientHeight),s=-t.scrollLeft+ed(n),c=-t.scrollTop,"rtl"===et(r).direction&&(s+=l(n.clientWidth,r.clientWidth)-i),o={width:i,height:a,x:s,y:c}}else if(W(t)){let e,n,l,i,a,s;n=(e=ef(t,!0,"fixed"===r)).top+t.clientTop,l=e.left+t.clientLeft,i=es(t),a=t.clientWidth*i.x,s=t.clientHeight*i.y,o={width:a,height:s,x:l*i.x,y:n*i.y}}else{let r=eu(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return L(o)}function eh(e){return"static"===et(e).position}function eg(e,t){if(!I(e)||"fixed"===et(e).position)return null;if(t)return t(e);let r=e.offsetParent;return H(e)===r&&(r=r.ownerDocument.body),r}function ey(e,t){let r=z(e);if(K(e))return r;if(!I(e)){let t=en(e);for(;t&&!ee(t);){if(W(t)&&!eh(t))return t;t=en(t)}return r}let n=eg(e,t);for(;n&&U(n)&&eh(n);)n=eg(n,t);return n&&ee(n)&&eh(n)&&!X(n)?r:n||Z(e)||r}let eb=async function(e){let t=this.getOffsetParent||ey,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=I(t),o=H(t),l="fixed"===r,i=ef(e,!0,l,t),a={scrollLeft:0,scrollTop:0},c=s(0);if((n||!l)&&(("body"!==B(t)||q(o))&&(a=er(t)),n)){let e=ef(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!n&&o&&(c.x=ed(o));let u=!o||n||l?s(0):em(o,a);return{x:i.left+a.scrollLeft-c.x-u.x,y:i.top+a.scrollTop-c.y-u.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},ex={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e,l="fixed"===o,i=H(n),a=!!t&&K(t.floating);if(n===i||a&&l)return r;let c={scrollLeft:0,scrollTop:0},u=s(1),f=s(0),d=I(n);if((d||!l)&&(("body"!==B(n)||q(i))&&(c=er(n)),d)){let e=ef(n);u=es(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}let m=!i||d||l?s(0):em(i,c);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-c.scrollLeft*u.x+f.x+m.x,y:r.y*u.y-c.scrollTop*u.y+f.y+m.y}},getDocumentElement:H,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,a=[..."clippingAncestors"===r?K(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=eo(e,[],!1).filter(e=>W(e)&&"body"!==B(e)),o=null,l="fixed"===et(e).position,i=l?en(e):e;for(;W(i)&&!ee(i);){let e=et(i),t=X(i),r=o?o.position:l?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?o=e:n=n.filter(e=>e!==i),i=en(i)}return t.set(e,n),n}(t,this._c):[].concat(r),n],s=ep(t,a[0],i),c=s.top,u=s.right,f=s.bottom,d=s.left;for(let e=1;e<a.length;e++){let r=ep(t,a[e],i);c=l(r.top,c),u=o(r.right,u),f=o(r.bottom,f),d=l(r.left,d)}return{width:u-d,height:f-c,x:d,y:c}},getOffsetParent:ey,getElementRects:eb,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:r}=ei(e);return{width:t,height:r}},getScale:es,isElement:W,isRTL:function(e){return"rtl"===et(e).direction}};function ev(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}e.s(["P",0,e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:l,rects:i,platform:a,elements:s,middlewareData:c}=t,{element:d,padding:p=0}=f(e,t)||{};if(null==d)return{};let g=O(p),b={x:r,y:n},x=y(l),v=h(x),w=await a.getDimensions(d),k="y"===x,j=k?"clientHeight":"clientWidth",R=i.reference[v]+i.reference[x]-b[x]-i.floating[v],C=b[x]-i.reference[x],S=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),L=S?S[j]:0;L&&await (null==a.isElement?void 0:a.isElement(S))||(L=s.floating[j]||i.floating[v]);let T=L/2-w[v]/2-1,E=o(g[k?"top":"left"],T),A=o(g[k?"bottom":"right"],T),M=L-w[v]-A,P=L/2-w[v]/2+(R/2-C/2),N=u(E,P,M),$=!c.arrow&&null!=m(l)&&P!==N&&i.reference[v]/2-(P<E?E:A)-w[v]/2<0,F=$?P<E?P-E:P-M:0;return{[x]:b[x]+F,data:{[x]:N,centerOffset:P-N-F,...$&&{alignmentOffset:F}},reset:$}}}),"p",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,o,l,i;let{rects:a,middlewareData:s,placement:c,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:g,allowedPlacements:y=n,autoAlignment:x=!0,...w}=f(e,t),k=void 0!==g||y===n?((i=g||null)?[...y.filter(e=>m(e)===i),...y.filter(e=>m(e)!==i)]:y.filter(e=>d(e)===e)).filter(e=>!i||m(e)===i||!!x&&v(e)!==e):y,j=(null==(r=s.autoPlacement)?void 0:r.index)||0,R=k[j];if(null==R)return{};if(c!==R)return{reset:{placement:k[0]}};let C=await u.detectOverflow(t,w),S=b(R,a,await (null==u.isRTL?void 0:u.isRTL(p.floating))),O=[C[d(R)],C[S[0]],C[S[1]]],L=[...(null==(o=s.autoPlacement)?void 0:o.overflows)||[],{placement:R,overflows:O}],T=k[j+1];if(T)return{data:{index:j+1,overflows:L},reset:{placement:T}};let E=L.map(e=>{let t=m(e.placement);return[e.placement,t&&h?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),A=(null==(l=E.filter(e=>e[2].slice(0,m(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||E[0][0];return A!==c?{data:{index:j+1,overflows:L},reset:{placement:A}}:{}}}},"n",0,function(e,t,r,n){let i;void 0===n&&(n={});let{ancestorScroll:s=!0,ancestorResize:c=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=n,m=ea(e),p=s||c?[...m?eo(m):[],...t?eo(t):[]]:[];p.forEach(e=>{s&&e.addEventListener("scroll",r),c&&e.addEventListener("resize",r)});let h=m&&f?function(e,t,r){let n,i=null,s=H(e);function c(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}function u(r,f){void 0===r&&(r=!1),void 0===f&&(f=1),c();let d=e.getBoundingClientRect(),{left:m,top:p,width:h,height:g}=d;if(r||t(),!h||!g)return;let y={rootMargin:-a(p)+"px "+-a(s.clientWidth-(m+h))+"px "+-a(s.clientHeight-(p+g))+"px "+-a(m)+"px",threshold:l(0,o(1,f))||1},b=!0;function x(t){let r=t[0].intersectionRatio;if(!ev(d,e.getBoundingClientRect()))return u();if(r!==f){if(!b)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}b=!1}try{i=new IntersectionObserver(x,{...y,root:s.ownerDocument})}catch(e){i=new IntersectionObserver(x,y)}i.observe(e)}let f=z(e),d=()=>u(r);return f.addEventListener("resize",d),u(!0),()=>{f.removeEventListener("resize",d),c()}}(m,r,c):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[n]=e;n&&n.target===m&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),r()}),m&&!d&&y.observe(m),t&&y.observe(t));let b=d?ef(e):null;return d&&function t(){let n=ef(e);b&&!ev(b,n)&&r(),b=n,i=requestAnimationFrame(t)}(),r(),()=>{var e;p.forEach(e=>{s&&e.removeEventListener("scroll",r),c&&e.removeEventListener("resize",r)}),null==h||h(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(i)}},"A",0,(e,t,r)=>{let n=new Map,o=null!=r?r:{},l={...ex,...o.platform,_c:n};return A(e,t,{...o,platform:l})},"k",0,E,"x",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,o,l,i;let{placement:a,middlewareData:s,rects:c,initialPlacement:u,platform:m,elements:p}=t,{mainAxis:h=!0,crossAxis:y=!0,fallbackPlacements:v,fallbackStrategy:w="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:j=!0,...R}=f(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let O=d(a),L=g(u),T=d(u)===u,E=await (null==m.isRTL?void 0:m.isRTL(p.floating)),A=v||(T||!j?[S(u)]:x(u)),M="none"!==k;!v&&M&&A.push(...C(u,j,k,E));let P=[u,...A],N=await m.detectOverflow(t,R),$=[],F=(null==(n=s.flip)?void 0:n.overflows)||[];if(h&&$.push(N[O]),y){let e=b(a,c,E);$.push(N[e[0]],N[e[1]])}if(F=[...F,{placement:a,overflows:$}],!$.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=P[e];if(t&&("alignment"!==y||L===g(t)||F.every(e=>g(e.placement)!==L||e.overflows[0]>0)))return{data:{index:e,overflows:F},reset:{placement:t}};let r=null==(l=F.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!r)switch(w){case"bestFit":{let e=null==(i=F.filter(e=>{if(M){let t=g(e.placement);return t===L||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(r=e);break}case"initialPlacement":r=u}if(a!==r)return{reset:{placement:r}}}return{}}}},"c",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r,platform:n}=t,{strategy:o="referenceHidden",...l}=f(e,t);switch(o){case"referenceHidden":{let e=M(await n.detectOverflow(t,{...l,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:P(e)}}}case"escaped":{let e=M(await n.detectOverflow(t,{...l,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:P(e)}}}default:return{}}}}},"g",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:r,elements:n,rects:i,platform:a,strategy:s}=t,{padding:c=2,x:u,y:m}=f(e,t),p=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(n.reference))||[]);if(!p.length)return{};let h=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),r=[],n=null;for(let e=0;e<t.length;e++){let o=t[e];!n||o.y-n.y>n.height/2?r.push([o]):r[r.length-1].push(o),n=o}return r.map(e=>L(N(e)))}(p),y=L(N(p)),b=O(c),x=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&(h[0].left>h[1].right||h[1].left>h[0].right)&&null!=u&&null!=m)return h.find(e=>u>e.left-b.left&&u<e.right+b.right&&m>e.top-b.top&&m<e.bottom+b.bottom)||y;if(h.length>=2){if("y"===g(r)){let e=h[0],t=h[h.length-1],n="top"===d(r),o=e.top,l=t.bottom,i=n?e.left:t.left;return L({x:i,y:o,width:(n?e.right:t.right)-i,height:l-o})}let e="left"===d(r),t=l(...h.map(e=>e.right)),n=o(...h.map(e=>e.left)),i=h.filter(r=>e?r.left===n:r.right===t),a=i[0].top;return L({x:n,y:a,width:t-n,height:i[i.length-1].bottom-a})}return y}},floating:n.floating,strategy:s});return i.reference.x!==x.reference.x||i.reference.y!==x.reference.y||i.reference.width!==x.reference.width||i.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},"o",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,n,o,l;let{x:i,y:a,placement:s,rects:c,middlewareData:u}=t,{offset:m=0,mainAxis:h=!0,crossAxis:y=!0}=f(e,t),b={x:i,y:a},x=g(s),v=p(x),w=b[v],k=b[x],j=f(m,t),R="number"==typeof j?{mainAxis:j,crossAxis:0}:{mainAxis:null!=(r=j.mainAxis)?r:0,crossAxis:null!=(n=j.crossAxis)?n:0};if(h){let e="y"===v?"height":"width",t=c.reference[v]-c.floating[e]+R.mainAxis,r=c.reference[v]+c.reference[e]-R.mainAxis;w<t?w=t:w>r&&(w=r)}if(y){let e="y"===v?"width":"height",t=$.has(d(s)),r=c.reference[x]-c.floating[e]+(t&&(null==(o=u.offset)?void 0:o[x])||0)+(t?0:R.crossAxis),n=c.reference[x]+c.reference[e]+(t?0:(null==(l=u.offset)?void 0:l[x])||0)-(t?R.crossAxis:0);k<r?k=r:k>n&&(k=n)}return{[v]:w,[x]:k}}}},"T",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:o,y:l,placement:i,middlewareData:a}=t,s=await F(t,e);return i===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:l+s.y,data:{...s,placement:i}}}}},"e",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:o,platform:l}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=f(e,t),d={x:r,y:n},m=await l.detectOverflow(t,c),h=g(o),y=p(h),b=d[y],x=d[h],v=(e,t)=>u(t+m["y"===e?"top":"left"],t,t-m["y"===e?"bottom":"right"]);i&&(b=v(y,b)),a&&(x=v(h,x));let w=s.fn({...t,[y]:b,[h]:x});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[y]:i,[h]:a}}}}}},"q",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let r,n,{placement:i,rects:a,platform:s,elements:c}=t,{apply:u=()=>{},...p}=f(e,t),h=await s.detectOverflow(t,p),y=d(i),b=m(i),x="y"===g(i),{width:v,height:w}=a.floating;"top"===y||"bottom"===y?(r=y,n=b===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(n=y,r="end"===b?"top":"bottom");let k=w-h.top-h.bottom,j=v-h.left-h.right,R=o(w-h[r],k),C=o(v-h[n],j),S=t.middlewareData.shift,O=!S,L=R,T=C;null!=S&&S.enabled.x&&(T=j),null!=S&&S.enabled.y&&(L=k),O&&!b&&(x?T=v-2*l(h.left,h.right):L=w-2*l(h.top,h.bottom)),await u({...t,availableWidth:T,availableHeight:L});let E=await s.getDimensions(c.floating);return v!==E.width||w!==E.height?{reset:{rects:!0}}:{}}}}],95963)},37369,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},o){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let n=(0,t.f)(e,r?.in);return n.setHours(0,0,0,0),n}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var n=e.r(49957),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return n.isMemo(e)?i:a[e.$$typeof]||o}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=m(r);o&&o!==p&&e(t,o,n)}var i=u(r);f&&(i=i.concat(f(r)));for(var a=s(t),h=s(r),g=0;g<i.length;++g){var y=i[g];if(!l[y]&&!(n&&n[y])&&!(h&&h[y])&&!(a&&a[y])){var b=d(r,y);try{c(t,y,b)}catch(e){}}}}return t}},40563,(e,t,r)=>{var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,l=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,f=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,y=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,x=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case m:case y:case g:case c:return e;default:return t}}case l:return t}}}function j(e){return k(e)===d}r.AsyncMode=f,r.ConcurrentMode=d,r.ContextConsumer=u,r.ContextProvider=c,r.Element=o,r.ForwardRef=m,r.Fragment=i,r.Lazy=y,r.Memo=g,r.Portal=l,r.Profiler=s,r.StrictMode=a,r.Suspense=p,r.isAsyncMode=function(e){return j(e)||k(e)===f},r.isConcurrentMode=j,r.isContextConsumer=function(e){return k(e)===u},r.isContextProvider=function(e){return k(e)===c},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===i},r.isLazy=function(e){return k(e)===y},r.isMemo=function(e){return k(e)===g},r.isPortal=function(e){return k(e)===l},r.isProfiler=function(e){return k(e)===s},r.isStrictMode=function(e){return k(e)===a},r.isSuspense=function(e){return k(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===c||e.$$typeof===u||e.$$typeof===m||e.$$typeof===x||e.$$typeof===v||e.$$typeof===w||e.$$typeof===b)},r.typeOf=k},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}])})();
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[61494,e=>{var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:n=null,depth:l=null})=>{let o=(0,s.useRouter)(),{formatMessage:i}=(0,a.S)(),d={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"},c=o.asPath?.split("/")?.filter((e,t)=>o.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";l&&c.splice(l),e&&(c[c.length-1]=e);let f=c?.map(t=>{if(u+=`${t}/`,!t)return{name:i({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?i({id:a,defaultMessage:s}):decodeURIComponent(s),path:u.replace(/.$/,"")}});return(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,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:s===f.length-1&&n?n:e.name})]})},e.path))})})}])},81013,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:n="",disabled:l=!1,id:o="",variant:i="primary",size:d="md",type:c="button",loading:u=!1,icon:f,iconRight:m,fullWidth:p=!1,rounded:x="md",ariaLabel:b,...g})=>{let h=s||e,y=(f||m)&&h?"gap-2":"";return(0,t.jsx)("button",{id:o,type:c,disabled:l||u,onClick:a,"aria-label":b,className:(0,r.default)("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"}[d],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[x],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",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-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[i],y,{"w-full":p},n),...g,children:u?(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"}),h]}):(0,t.jsxs)(t.Fragment,{children:[f,h,m]})})}])},81359,e=>{var t=e.i(91398),r=e.i(24608),s=e.i(69322);e.s(["f",0,({onClick:e,text:a=null,Icon:n=null})=>{let{formatMessage:l}=(0,s.S)();return(0,t.jsxs)("button",{type:"button",onClick:e,"aria-describedby":"header-delete-button",className:"inline-flex items-center gap-2 justify-center rounded-md border border-rose-500 px-4 py-2 text-sm font-medium leading-5 text-rose-600 dark:text-rose-200 shadow-sm hover:border-rose-600 hover:bg-rose-600 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 h-[38px]",children:[(0,t.jsx)("span",{children:n||(0,t.jsx)(r.f,{className:"h-5 w-5"})}),a||l({id:"delete",defaultMessage:"Delete"})]})}])},17644,e=>{var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(69322),n=e.i(37369),l=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:o=null,onDelete:i=null,children:d=null,title:c=null,addPath:u=null,addButtonText:f=null})=>{let{formatMessage:m}=(0,a.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||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:[d,u&&(0,t.jsx)(s.default,{href:u,children:(0,t.jsx)(l.f,{variant:"secondary",icon:(0,t.jsx)(n.f,{className:"h-5 w-5"}),text:f||m({id:"add",defaultMessage:"Add"})})}),o&&(0,t.jsx)(l.f,{variant:"secondary",onClick:o,text:m({id:"edit",defaultMessage:"Edit"})}),i&&(0,t.jsx)(l.f,{variant:"danger",onClick:i,text:m({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},64591,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(3828),a=e.i(83147);e.s(["f",0,({toggleText:e="",toggleKey:n=null,onToggle:l=null,active:o=!1,className:i="",disabled:d=!1,...c})=>{let u=(0,s.useRouter)(),f=u?.query?.[n]==="true"||o;return(0,t.jsxs)("div",{className:(0,r.default)("",i),children:[(0,t.jsxs)("button",{id:n,disabled:d,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:l||(()=>{let{skip:e,...t}=u.query;u.push({query:(0,a._)(t,!f,n)})}),"aria-checked":f?"true":"false",...c,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},73319,e=>{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)])},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,s=null]=(t||"")?.split("_")||[];return{...e,[r]:s}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let s;return s=r?{...e,[r]:t}:e,Object.keys(s)?.map(e=>[e,s[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},40191,e=>{var t=e.i(91398),r=e.i(69322),s=e.i(66773),a=e.i(58971),n=e.i(64591),l=e.i(69211),o=e.i(99160),i=e.i(45229),d=e.i(73419),c=e.i(98949),u=e.i(82226);e.s(["f",0,({onSubmit:e,onSubmitSuccess:f=null,defaultValue:m={},isEdit:p=!1})=>{let{formatMessage:x}=(0,r.S)(),{hasRole:b}=(0,a.f)(),g=x({id:"currency_added",defaultMessage:"Currency added successfully!"}),h=x({id:"currency_updated",defaultMessage:"Currency updated successfully!"}),y=(0,c.f)({submit:e,onSubmitSuccess:f,successMessage:p?h:g,getSubmitErrorMessage:e=>{if(e?.message?.includes("duplicate key"))return y.formik.setFieldError("isoCode",x({id:"currency_exists",defaultMessage:"Currency with the same ISO code already exists"})),null},initialValues:{isoCode:"",contractAddress:"",isActive:!1,decimals:2,...m}});return(0,t.jsxs)(l.f,{form:y,children:[(0,t.jsxs)("div",{className:"p-5 pb-7",children:[(0,t.jsx)(i.f,{name:"isoCode",disabled:!b(s.C.ManageCurrencies),id:"isoCode",label:x({id:"iso_code",defaultMessage:"ISO code"}),autoComplete:"on",required:!0}),(0,t.jsx)(i.f,{name:"contractAddress",disabled:!b(s.C.ManageCurrencies),id:"contractAddress",validators:[(0,u.J)()],label:x({id:"contract_address",defaultMessage:"Contract Address"}),autoComplete:"on",className:"mt-4"}),(0,t.jsx)(d.f,{className:"mt-4",label:x({id:"decimals",defaultMessage:"Decimals"}),required:!0,name:"decimals",disabled:!b(s.C.ManageCurrencies),options:Object.fromEntries(Array(32).fill(null).map((e,t)=>[t,`${t}`]))}),p&&(0,t.jsx)("div",{className:"mt-5 flex items-center",children:(0,t.jsx)(n.f,{toggleText:x({id:"active",defaultMessage:"Active"}),disabled:!b(s.C.ManageCurrencies),active:y.formik.values.isActive,onToggle:()=>y.formik.setFieldValue("isActive",!y.formik.values.isActive)})})]}),b(s.C.ManageCurrencies)&&(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 rounded-b-md bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(o.f,{label:p?x({id:"update_currency",defaultMessage:"Update Currency"}):x({id:"add_currency",defaultMessage:"Add Currency"})})})]})}])},68191,e=>{var t=e.i(59080);let r=t.f`
|
|
2
|
-
fragment CurrencyFragment on Currency {
|
|
3
|
-
_id
|
|
4
|
-
isoCode
|
|
5
|
-
isActive
|
|
6
|
-
contractAddress
|
|
7
|
-
decimals
|
|
8
|
-
}
|
|
9
|
-
`;e.s(["f",0,r])},22787,e=>{var t=e.i(59080),r=e.i(32171),s=e.i(70693),a=e.i(68191);e.s(["f",0,({currencyId:e})=>{let{customProperties:n}=(0,s.f)(),{data:l,loading:o,error:i}=(0,r.f)(((e="")=>t.f`
|
|
10
|
-
query Currency($currencyId: ID!) {
|
|
11
|
-
currency(currencyId: $currencyId) {
|
|
12
|
-
...CurrencyFragment
|
|
13
|
-
${e}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
${a.f}
|
|
17
|
-
`)(n?.Currency),{skip:!e,variables:{currencyId:e}});return{currency:l?.currency,loading:o,error:i}}])},45401,e=>{var t=e.i(59080),r=e.i(76204),s=e.i(68191);let a=t.f`
|
|
18
|
-
mutation RemoveCurrency($currencyId: ID!) {
|
|
19
|
-
removeCurrency(currencyId: $currencyId) {
|
|
20
|
-
...CurrencyFragment
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
${s.f}
|
|
24
|
-
`;e.s(["f",0,()=>{let[e]=(0,r.f)(a);return{removeCurrency:async({currencyId:t})=>e({variables:{currencyId:t},refetchQueries:["Currencies","ShopStatus","ShopInfo"]})}}])},73419,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(60741),a=e.i(29691);e.s(["f",0,e=>{let{options:n,...l}=(0,s.f)(e),{className:o}=e||{className:""};return(0,t.jsx)(a.f,{...l,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,r.default)("block w-full dark:bg-slate-900 dark:text-white rounded-md border-1 border-slate-300 dark:border-slate-700 py-2.5 pl-3 pr-10 text-base text-black shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800 sm:text-sm",o,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!l.error}),disabled:l.disabled,id:l.name,name:l.name,onChange:l.onChange,onBlur:l.onBlur,value:l.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:l.required,hidden:l.required,children:l.placeholder||l.label}),Object.entries(n).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},99160,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:n=!1,className:l="",hidden:o=!1,...i})=>{let d=(0,s.m)(),{...c}=i,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,a.f)(),m=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),p=n||f||d.isSubmitting||m,x=d.isSubmitting&&!m,b=(n||f||m)&&!d.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",l,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":b,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":x,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!p,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:p,...c})}])},45229,e=>{var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),n=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:l=[],...o})=>{let i=(0,a.f)({validators:[...l,e&&(0,s.f)(e)],...o});return(0,t.jsx)(n.f,{...i,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!i.error,"border-slate-300 placeholder-slate-400":!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onClick:e=>{e.stopPropagation()},onBlur:i.onBlur,placeholder:i.placeholder,autoComplete:i.autoComplete||"off",type:i.type||"text",value:i.value,autoFocus:i.autoFocus})})}])},15971,e=>{var t=e.i(91398),r=e.i(69322);e.s(["f",0,({onOkClick:e,onCancelClick:s,okText:a=null,cancelText:n=null,headerText:l=null,message:o=null,icon:i=null,close:d=null})=>{let{formatMessage:c}=(0,r.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[i||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:l||c({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:o||c({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||c({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:s||d,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:n||c({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{var t=e.i(91788),r=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(r.f)])},73664,e=>{var t=e.i(91398),r=e.i(3828),s=e.i(66773),a=e.i(69322),n=e.i(28401),l=e.i(5505),o=e.i(40191),i=e.i(22787),d=e.i(45401),c=e.i(59080),u=e.i(76204),f=e.i(68191);let m=c.f`
|
|
25
|
-
mutation UpdateCurrency($currency: UpdateCurrencyInput!, $currencyId: ID!) {
|
|
26
|
-
updateCurrency(currency: $currency, currencyId: $currencyId) {
|
|
27
|
-
...CurrencyFragment
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
${f.f}
|
|
31
|
-
`;var p=e.i(61494),x=e.i(17644),b=e.i(6607),g=e.i(15971),h=e.i(81359),y=e.i(12197),v=e.i(83147),j=e.i(58971);e.s(["default",0,({currencyId:e})=>{let{push:c}=(0,r.useRouter)(),{formatMessage:f,locale:k}=(0,a.S)(),{hasRole:w}=(0,j.f)(),{setModal:C}=(0,b.f)(),{currency:N,loading:M}=(0,i.f)({currencyId:e}),{updateCurrency:$}=(()=>{let[e]=(0,u.f)(m);return{updateCurrency:async({currency:{isoCode:t,isActive:r,decimals:s,contractAddress:a},currencyId:n})=>e({variables:{currency:{isoCode:t,isActive:r,contractAddress:a,decimals:parseInt(s||"2",10)},currencyId:n},refetchQueries:["Currencies","ShopStatus","ShopInfo"]})}})(),{removeCurrency:S}=(0,d.f)(),_=async({isActive:t,isoCode:r,contractAddress:s,decimals:a})=>(await $({currencyId:e,currency:{isActive:t,isoCode:r,contractAddress:s,decimals:a}}),!0),I=async()=>{await C((0,t.jsx)(g.f,{onCancelClick:async()=>C(""),message:f({id:"delete_currency_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this currency? "}),onOkClick:async()=>{C(""),await S({currencyId:e}),n.c.success(f({id:"currency_deleted",defaultMessage:"Currency deleted successfully"})),c("/currency")},okText:f({id:"delete_currency",defaultMessage:"Delete currency"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.f,{currentPageTitle:(0,v.j)(k,N?.isoCode)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(x.f,{headerText:(0,v.j)(k,N?.isoCode)}),w(s.C.ManageCurrencies)&&(0,t.jsx)(h.f,{onClick:I})]}),M?(0,t.jsx)(y.f,{}):(0,t.jsx)("div",{className:"mx-auto mt-6 sm:max-w-xl",children:(0,t.jsx)(l.U,{children:(0,t.jsx)(o.f,{onSubmit:_,defaultValue:N,isEdit:!0})})})]})}],73664)},76204,e=>{var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let n=e.i(21953).f?r.useLayoutEffect:r.useEffect;var l=e.i(98926);function o(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,i){let d=(0,l.f)(i?.client),[c,u]=r.useState(()=>o(d)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:i});n(()=>{Object.assign(f.current,{client:d,options:i,mutation:e})});let m=r.useCallback((e={})=>{let{options:r,mutation:n}=f.current,l={...r,mutation:n},o=e.client||f.current.client,i="function"==typeof e.context?e.context(r?.context):e.context;!f.current.result.loading&&f.current.isMounted&&u(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let d=++f.current.mutationId,c=(0,s.f)(l,{...e,context:i});return(0,a.f)(o.mutate(c).then(r=>{let{data:s,error:a}=r,n=e.onError||f.current.options?.onError;if(a&&n&&n(a,c),d===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:o};f.current.isMounted&&!(0,t.f)(f.current.result,e)&&u(f.current.result=e)}let l=e.onCompleted||f.current.options?.onCompleted;return a||l?.(r.data,c),r},r=>{if(d===f.current.mutationId&&f.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:o};(0,t.f)(f.current.result,e)||u(f.current.result=e)}let s=e.onError||f.current.options?.onError;throw s&&s(r,c),r}))},[]),p=r.useCallback(()=>{if(f.current.isMounted){let e=o(f.current.client);Object.assign(f.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=f.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[m,{reset:p,...c}]}],76204)},37369,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},24608,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["f",0,r],24608)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(e){return s.isMemo(e)?l:o[e.$$typeof]||a}o[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[s.Memo]=l;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(p){var a=m(r);a&&a!==p&&e(t,a,s)}var l=c(r);u&&(l=l.concat(u(r)));for(var o=i(t),x=i(r),b=0;b<l.length;++b){var g=l[b];if(!n[g]&&!(s&&s[g])&&!(x&&x[g])&&!(o&&o[g])){var h=f(r,g);try{d(t,g,h)}catch(e){}}}}return t}},40563,(e,t,r)=>{var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,n=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,o=s?Symbol.for("react.strict_mode"):60108,i=s?Symbol.for("react.profiler"):60114,d=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,u=s?Symbol.for("react.async_mode"):60111,f=s?Symbol.for("react.concurrent_mode"):60111,m=s?Symbol.for("react.forward_ref"):60112,p=s?Symbol.for("react.suspense"):60113,x=s?Symbol.for("react.suspense_list"):60120,b=s?Symbol.for("react.memo"):60115,g=s?Symbol.for("react.lazy"):60116,h=s?Symbol.for("react.block"):60121,y=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,j=s?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case u:case f:case l:case i:case o:case p:return e;default:switch(e=e&&e.$$typeof){case c:case m:case g:case b:case d:return e;default:return t}}case n:return t}}}function w(e){return k(e)===f}r.AsyncMode=u,r.ConcurrentMode=f,r.ContextConsumer=c,r.ContextProvider=d,r.Element=a,r.ForwardRef=m,r.Fragment=l,r.Lazy=g,r.Memo=b,r.Portal=n,r.Profiler=i,r.StrictMode=o,r.Suspense=p,r.isAsyncMode=function(e){return w(e)||k(e)===u},r.isConcurrentMode=w,r.isContextConsumer=function(e){return k(e)===c},r.isContextProvider=function(e){return k(e)===d},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return k(e)===m},r.isFragment=function(e){return k(e)===l},r.isLazy=function(e){return k(e)===g},r.isMemo=function(e){return k(e)===b},r.isPortal=function(e){return k(e)===n},r.isProfiler=function(e){return k(e)===i},r.isStrictMode=function(e){return k(e)===o},r.isSuspense=function(e){return k(e)===p},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===f||e===i||e===o||e===p||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===d||e.$$typeof===c||e.$$typeof===m||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===h)},r.typeOf=k},49957,(e,t,r)=>{e.i(50461),t.exports=e.r(40563)}],14917,(e,t,r)=>{let s="/currency/CurrencyDetailPage";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(73664)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,66773,e=>{(r={}).Private="PRIVATE",r.Public="PUBLIC",(t={}).AdapterNotFound="ADAPTER_NOT_FOUND",t.IncompleteConfiguration="INCOMPLETE_CONFIGURATION",t.NotImplemented="NOT_IMPLEMENTED",t.WrongCredentials="WRONG_CREDENTIALS";var r,t,i,n,o,a,s,u,l,d,c,E,R,T,v,f,p,O,P,_,h,A,U,D,m,I,C,y,w,N,S,g,M,b,V=((i={}).Pickup="PICKUP",i.Shipping="SHIPPING",i);(n={}).Active="ACTIVE",n.Initial="INITIAL",n.Paused="PAUSED",n.Terminated="TERMINATED",(o={}).ApiLoginTokenCreated="API_LOGIN_TOKEN_CREATED",o.ApiLogout="API_LOGOUT",o.AssortmentAddFilter="ASSORTMENT_ADD_FILTER",o.AssortmentAddLink="ASSORTMENT_ADD_LINK",o.AssortmentAddMedia="ASSORTMENT_ADD_MEDIA",o.AssortmentAddProduct="ASSORTMENT_ADD_PRODUCT",o.AssortmentCreate="ASSORTMENT_CREATE",o.AssortmentRemove="ASSORTMENT_REMOVE",o.AssortmentRemoveFilter="ASSORTMENT_REMOVE_FILTER",o.AssortmentRemoveLink="ASSORTMENT_REMOVE_LINK",o.AssortmentRemoveMedia="ASSORTMENT_REMOVE_MEDIA",o.AssortmentRemoveProduct="ASSORTMENT_REMOVE_PRODUCT",o.AssortmentReorderFilters="ASSORTMENT_REORDER_FILTERS",o.AssortmentReorderLinks="ASSORTMENT_REORDER_LINKS",o.AssortmentReorderMedia="ASSORTMENT_REORDER_MEDIA",o.AssortmentReorderProducts="ASSORTMENT_REORDER_PRODUCTS",o.AssortmentUpdate="ASSORTMENT_UPDATE",o.AssortmentUpdateMediaText="ASSORTMENT_UPDATE_MEDIA_TEXT",o.AssortmentUpdateText="ASSORTMENT_UPDATE_TEXT",o.BookmarkCreate="BOOKMARK_CREATE",o.BookmarkRemove="BOOKMARK_REMOVE",o.BookmarkUpdate="BOOKMARK_UPDATE",o.CountryCreate="COUNTRY_CREATE",o.CountryRemove="COUNTRY_REMOVE",o.CountryUpdate="COUNTRY_UPDATE",o.CurrencyCreate="CURRENCY_CREATE",o.CurrencyRemove="CURRENCY_REMOVE",o.CurrencyUpdate="CURRENCY_UPDATE",o.DeliveryProviderCreate="DELIVERY_PROVIDER_CREATE",o.DeliveryProviderRemove="DELIVERY_PROVIDER_REMOVE",o.DeliveryProviderUpdate="DELIVERY_PROVIDER_UPDATE",o.EnrollmentAddPeriod="ENROLLMENT_ADD_PERIOD",o.EnrollmentCreate="ENROLLMENT_CREATE",o.EnrollmentRemove="ENROLLMENT_REMOVE",o.EnrollmentUpdate="ENROLLMENT_UPDATE",o.FileCreate="FILE_CREATE",o.FileRemove="FILE_REMOVE",o.FileUpdate="FILE_UPDATE",o.FilterCreate="FILTER_CREATE",o.FilterRemove="FILTER_REMOVE",o.FilterUpdate="FILTER_UPDATE",o.FilterUpdateText="FILTER_UPDATE_TEXT",o.LanguageCreate="LANGUAGE_CREATE",o.LanguageRemove="LANGUAGE_REMOVE",o.LanguageUpdate="LANGUAGE_UPDATE",o.OrderAddProduct="ORDER_ADD_PRODUCT",o.OrderCheckout="ORDER_CHECKOUT",o.OrderConfirmed="ORDER_CONFIRMED",o.OrderCreate="ORDER_CREATE",o.OrderCreateDiscount="ORDER_CREATE_DISCOUNT",o.OrderDeliver="ORDER_DELIVER",o.OrderEmptyCart="ORDER_EMPTY_CART",o.OrderFulfilled="ORDER_FULFILLED",o.OrderPay="ORDER_PAY",o.OrderRejected="ORDER_REJECTED",o.OrderRemove="ORDER_REMOVE",o.OrderRemoveCartItem="ORDER_REMOVE_CART_ITEM",o.OrderRemoveDiscount="ORDER_REMOVE_DISCOUNT",o.OrderSetDeliveryProvider="ORDER_SET_DELIVERY_PROVIDER",o.OrderSetPaymentProvider="ORDER_SET_PAYMENT_PROVIDER",o.OrderSignPayment="ORDER_SIGN_PAYMENT",o.OrderUpdate="ORDER_UPDATE",o.OrderUpdateCartItem="ORDER_UPDATE_CART_ITEM",o.OrderUpdateDelivery="ORDER_UPDATE_DELIVERY",o.OrderUpdateDiscount="ORDER_UPDATE_DISCOUNT",o.OrderUpdatePayment="ORDER_UPDATE_PAYMENT",o.PageView="PAGE_VIEW",o.PaymentProviderCreate="PAYMENT_PROVIDER_CREATE",o.PaymentProviderRemove="PAYMENT_PROVIDER_REMOVE",o.PaymentProviderUpdate="PAYMENT_PROVIDER_UPDATE",o.ProductAddAssignment="PRODUCT_ADD_ASSIGNMENT",o.ProductAddMedia="PRODUCT_ADD_MEDIA",o.ProductCreate="PRODUCT_CREATE",o.ProductCreateBundleItem="PRODUCT_CREATE_BUNDLE_ITEM",o.ProductCreateVariation="PRODUCT_CREATE_VARIATION",o.ProductPublish="PRODUCT_PUBLISH",o.ProductRemove="PRODUCT_REMOVE",o.ProductRemoveAssignment="PRODUCT_REMOVE_ASSIGNMENT",o.ProductRemoveBundleItem="PRODUCT_REMOVE_BUNDLE_ITEM",o.ProductRemoveMedia="PRODUCT_REMOVE_MEDIA",o.ProductRemoveReview="PRODUCT_REMOVE_REVIEW",o.ProductRemoveReviewVote="PRODUCT_REMOVE_REVIEW_VOTE",o.ProductRemoveVariation="PRODUCT_REMOVE_VARIATION",o.ProductRemoveVariationOption="PRODUCT_REMOVE_VARIATION_OPTION",o.ProductReorderMedia="PRODUCT_REORDER_MEDIA",o.ProductReviewAddVote="PRODUCT_REVIEW_ADD_VOTE",o.ProductReviewCreate="PRODUCT_REVIEW_CREATE",o.ProductSetBase="PRODUCT_SET_BASE",o.ProductUnpublish="PRODUCT_UNPUBLISH",o.ProductUpdate="PRODUCT_UPDATE",o.ProductUpdateMediaText="PRODUCT_UPDATE_MEDIA_TEXT",o.ProductUpdateReview="PRODUCT_UPDATE_REVIEW",o.ProductUpdateText="PRODUCT_UPDATE_TEXT",o.ProductUpdateVariationText="PRODUCT_UPDATE_VARIATION_TEXT",o.ProductVariationOptionCreate="PRODUCT_VARIATION_OPTION_CREATE",o.QuotationRemove="QUOTATION_REMOVE",o.QuotationRequestCreate="QUOTATION_REQUEST_CREATE",o.QuotationUpdate="QUOTATION_UPDATE",o.TokenInvalidated="TOKEN_INVALIDATED",o.TokenOwnershipChanged="TOKEN_OWNERSHIP_CHANGED",o.Unknown="UNKNOWN",o.UserAccountAction="USER_ACCOUNT_ACTION",o.UserAddRoles="USER_ADD_ROLES",o.UserCreate="USER_CREATE",o.UserRemove="USER_REMOVE",o.UserUpdate="USER_UPDATE",o.UserUpdateAvatar="USER_UPDATE_AVATAR",o.UserUpdateBillingAddress="USER_UPDATE_BILLING_ADDRESS",o.UserUpdateGuest="USER_UPDATE_GUEST",o.UserUpdateHeartbeat="USER_UPDATE_HEARTBEAT",o.UserUpdateLastContact="USER_UPDATE_LAST_CONTACT",o.UserUpdatePassword="USER_UPDATE_PASSWORD",o.UserUpdateProfile="USER_UPDATE_PROFILE",o.UserUpdateRole="USER_UPDATE_ROLE",o.UserUpdateTags="USER_UPDATE_TAGS",o.UserUpdateUsername="USER_UPDATE_USERNAME",o.UserUpdateWeb3Address="USER_UPDATE_WEB3_ADDRESS",o.WarehousingProviderCreate="WAREHOUSING_PROVIDER_CREATE",o.WarehousingProviderRemove="WAREHOUSING_PROVIDER_REMOVE",o.WarehousingProviderUpdate="WAREHOUSING_PROVIDER_UPDATE",o.WorkAdded="WORK_ADDED",o.WorkAllocated="WORK_ALLOCATED",o.WorkDeleted="WORK_DELETED",o.WorkFinished="WORK_FINISHED",o.WorkRescheduled="WORK_RESCHEDULED",(a={}).Blank="BLANK",a.Self="SELF";var L=((s={}).MultiChoice="MULTI_CHOICE",s.Range="RANGE",s.SingleChoice="SINGLE_CHOICE",s.Switch="SWITCH",s);(u={}).Feet="FEET",u.Meters="METERS",u.Millimeters="MILLIMETERS",(l={}).Gram="GRAM",l.Kilogram="KILOGRAM",l.Pounds="POUNDS",(d={}).Delivered="DELIVERED",d.Open="OPEN",d.Returned="RETURNED",(c={}).System="SYSTEM",c.User="USER",(E={}).Discount="DISCOUNT",E.Item="ITEM",E.Tax="TAX",(R={}).Open="OPEN",R.Paid="PAID",R.Refunded="REFUNDED",(T={}).Delivery="DELIVERY",T.Discounts="DISCOUNTS",T.Items="ITEMS",T.Payment="PAYMENT",T.Taxes="TAXES",(v={}).Confirmed="CONFIRMED",v.Fulfilled="FULFILLED",v.Open="OPEN",v.Pending="PENDING",v.Rejected="REJECTED",(f={}).AdapterNotFound="ADAPTER_NOT_FOUND",f.IncompleteConfiguration="INCOMPLETE_CONFIGURATION",f.NotImplemented="NOT_IMPLEMENTED",f.WrongCredentials="WRONG_CREDENTIALS";var k=((p={}).Generic="GENERIC",p.Invoice="INVOICE",p);(O={}).Days="DAYS",O.Hours="HOURS",O.Months="MONTHS",O.Weeks="WEEKS",O.Years="YEARS",(P={}).Licensed="LICENSED",P.Metered="METERED",(_={}).Downvote="DOWNVOTE",_.Report="REPORT",_.Upvote="UPVOTE";var F=((h={}).Active="ACTIVE",h.Deleted="DELETED",h.Draft="DRAFT",h),W=((A={}).BundleProduct="BUNDLE_PRODUCT",A.ConfigurableProduct="CONFIGURABLE_PRODUCT",A.PlanProduct="PLAN_PRODUCT",A.SimpleProduct="SIMPLE_PRODUCT",A.TokenizedProduct="TOKENIZED_PRODUCT",A),x=((U={}).Color="COLOR",U.Text="TEXT",U);(D={}).Other="OTHER",D.Proposal="PROPOSAL",(m={}).Fulfilled="FULFILLED",m.Processing="PROCESSING",m.Proposed="PROPOSED",m.Rejected="REJECTED",m.Requested="REQUESTED";var G=((I={}).AnswerQuotation="answerQuotation",I.BookmarkProduct="bookmarkProduct",I.BulkImport="bulkImport",I.ChangePassword="changePassword",I.CheckoutCart="checkoutCart",I.ConfirmMediaUpload="confirmMediaUpload",I.CreateCart="createCart",I.CreateEnrollment="createEnrollment",I.CreateUser="createUser",I.DownloadFile="downloadFile",I.EnrollUser="enrollUser",I.ForgotPassword="forgotPassword",I.Heartbeat="heartbeat",I.Impersonate="impersonate",I.LoginAsGuest="loginAsGuest",I.LoginWithPassword="loginWithPassword",I.LoginWithWebAuthn="loginWithWebAuthn",I.Logout="logout",I.ManageAssortments="manageAssortments",I.ManageBookmarks="manageBookmarks",I.ManageCountries="manageCountries",I.ManageCurrencies="manageCurrencies",I.ManageDeliveryProviders="manageDeliveryProviders",I.ManageFilters="manageFilters",I.ManageLanguages="manageLanguages",I.ManagePaymentCredentials="managePaymentCredentials",I.ManagePaymentProviders="managePaymentProviders",I.ManageProductReviews="manageProductReviews",I.ManageProducts="manageProducts",I.ManageQuotations="manageQuotations",I.ManageUsers="manageUsers",I.ManageWarehousingProviders="manageWarehousingProviders",I.ManageWorker="manageWorker",I.MarkOrderConfirmed="markOrderConfirmed",I.MarkOrderDelivered="markOrderDelivered",I.MarkOrderPaid="markOrderPaid",I.MarkOrderRejected="markOrderRejected",I.PageView="pageView",I.RegisterPaymentCredentials="registerPaymentCredentials",I.RemoveUser="removeUser",I.RequestQuotation="requestQuotation",I.ResetPassword="resetPassword",I.ReviewProduct="reviewProduct",I.Search="search",I.SendEmail="sendEmail",I.StopImpersonation="stopImpersonation",I.UpdateCart="updateCart",I.UpdateEnrollment="updateEnrollment",I.UpdateOrder="updateOrder",I.UpdateOrderDelivery="updateOrderDelivery",I.UpdateOrderDiscount="updateOrderDiscount",I.UpdateOrderItem="updateOrderItem",I.UpdateOrderPayment="updateOrderPayment",I.UpdateProductReview="updateProductReview",I.UpdateToken="updateToken",I.UpdateUser="updateUser",I.UpdateUsername="updateUsername",I.UploadTempFile="uploadTempFile",I.UploadUserAvatar="uploadUserAvatar",I.UseWebAuthn="useWebAuthn",I.VerifyEmail="verifyEmail",I.ViewAssortment="viewAssortment",I.ViewAssortments="viewAssortments",I.ViewCountries="viewCountries",I.ViewCountry="viewCountry",I.ViewCurrencies="viewCurrencies",I.ViewCurrency="viewCurrency",I.ViewDeliveryInterfaces="viewDeliveryInterfaces",I.ViewDeliveryProvider="viewDeliveryProvider",I.ViewDeliveryProviders="viewDeliveryProviders",I.ViewEnrollment="viewEnrollment",I.ViewEnrollments="viewEnrollments",I.ViewEvent="viewEvent",I.ViewEvents="viewEvents",I.ViewFilter="viewFilter",I.ViewFilters="viewFilters",I.ViewLanguage="viewLanguage",I.ViewLanguages="viewLanguages",I.ViewLogs="viewLogs",I.ViewOrder="viewOrder",I.ViewOrders="viewOrders",I.ViewPaymentInterfaces="viewPaymentInterfaces",I.ViewPaymentProvider="viewPaymentProvider",I.ViewPaymentProviders="viewPaymentProviders",I.ViewProduct="viewProduct",I.ViewProducts="viewProducts",I.ViewQuotation="viewQuotation",I.ViewQuotations="viewQuotations",I.ViewShopInfo="viewShopInfo",I.ViewStatistics="viewStatistics",I.ViewToken="viewToken",I.ViewTokens="viewTokens",I.ViewTranslations="viewTranslations",I.ViewUser="viewUser",I.ViewUserCount="viewUserCount",I.ViewUserEnrollments="viewUserEnrollments",I.ViewUserOrders="viewUserOrders",I.ViewUserPrivateInfos="viewUserPrivateInfos",I.ViewUserProductReviews="viewUserProductReviews",I.ViewUserPublicInfos="viewUserPublicInfos",I.ViewUserQuotations="viewUserQuotations",I.ViewUserRoles="viewUserRoles",I.ViewUserTokens="viewUserTokens",I.ViewUsers="viewUsers",I.ViewWarehousingInterfaces="viewWarehousingInterfaces",I.ViewWarehousingProvider="viewWarehousingProvider",I.ViewWarehousingProviders="viewWarehousingProviders",I.ViewWork="viewWork",I.ViewWorkQueue="viewWorkQueue",I.VoteProductReview="voteProductReview",I);(C={}).Erc721="ERC721",C.Erc1155="ERC1155";var B=((y={}).Asc="ASC",y.Desc="DESC",y);(w={}).Centralized="CENTRALIZED",w.Decentralized="DECENTRALIZED",w.Exporting="EXPORTING",(N={}).AdapterNotFound="ADAPTER_NOT_FOUND",N.IncompleteConfiguration="INCOMPLETE_CONFIGURATION",N.NotImplemented="NOT_IMPLEMENTED",N.WrongCredentials="WRONG_CREDENTIALS";var K=((S={}).Physical="PHYSICAL",S.Virtual="VIRTUAL",S),H=((g={}).Allocated="ALLOCATED",g.Deleted="DELETED",g.Failed="FAILED",g.New="NEW",g.Success="SUCCESS",g),Q=((M={}).Budgetsms="BUDGETSMS",M.Bulkgate="BULKGATE",M.BulkExport="BULK_EXPORT",M.BulkImport="BULK_IMPORT",M.Email="EMAIL",M.EnrollmentOrderGenerator="ENROLLMENT_ORDER_GENERATOR",M.ErrorNotifications="ERROR_NOTIFICATIONS",M.ExportToken="EXPORT_TOKEN",M.External="EXTERNAL",M.Heartbeat="HEARTBEAT",M.HttpRequest="HTTP_REQUEST",M.Message="MESSAGE",M.Push="PUSH",M.Twilio="TWILIO",M.Unknown="UNKNOWN",M.UpdateCoinbaseRates="UPDATE_COINBASE_RATES",M.UpdateEcbRates="UPDATE_ECB_RATES",M.ZombieKiller="ZOMBIE_KILLER",M);(b={}).Scalar="SCALAR",b.Object="OBJECT",b.Interface="INTERFACE",b.Union="UNION",b.Enum="ENUM",b.InputObject="INPUT_OBJECT",b.List="LIST",b.NonNull="NON_NULL",e.s(["F",()=>V,"J",()=>L,"R",()=>k,"X",()=>F,"f",()=>W,"k",()=>x,"C",()=>G,"A",()=>B,"_",()=>K,"h",()=>H,"i",()=>Q])},76810,e=>{var r,t;(t=r||(r={}))[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error",t[t.streaming=9]="streaming",e.s(["f",0,r])},32171,e=>{var r=e.i(24669),t=e.i(91788),i=e.i(18018),n=e.i(32106),o=e.i(76810),a=e.i(91584),s=e.i(30928),u=e.i(15953);let l=Symbol.for("apollo.skipToken"),d=Symbol.for("apollo.hook.wrappers");var c=e.i(21805),E=e.i(98926),R=e.i(29520),T=e.i(21953),v=e.i(22420),f=e.i(93532);let p=!1,O=t.useSyncExternalStore,P="ReactNative"==(0,v.f)(()=>navigator.product),_=(0,v.f)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,h=(T.f||P)&&!_,A=O||((e,r,i)=>{let n=r();R.f&&!p&&n!==r()&&(p=!0,f.k.error(36));let[{inst:o},a]=t.useState({inst:{value:n,getSnapshot:r}});return h?t.useLayoutEffect(()=>{Object.assign(o,{value:n,getSnapshot:r}),U(o)&&a({inst:o})},[e,n,r]):Object.assign(o,{value:n,getSnapshot:r}),t.useEffect(()=>(U(o)&&a({inst:o}),e(function(){U(o)&&a({inst:o})})),[e]),n});function U({value:e,getSnapshot:r}){try{return e!==r()}catch{return!0}}let D=Symbol(),m=function(e,...[r]){return(function(e,r,i){let n=[i.queryManager,e.startsWith("use")?t.useContext((0,c.f)()):void 0],o=r;for(let r of n){let t=r?.[d]?.[e];t&&(o=t(o))}return o})("useQuery",I,(0,E.f)("object"==typeof r?r.client:void 0))(e,r)};function I(e,o={}){var a,d,c,R,T,v,f,p,O,P;let _,h,U=(0,E.f)("object"==typeof o?o.client:void 0),{ssr:y}="object"==typeof o?o:{},w=(a=e,d=o,c=U.defaultOptions.watchQuery,R=()=>{if(d===l){let e={...(0,s.f)(c,{query:a,fetchPolicy:"standby"}),[u.N]:!0};return e[C]=!0,e}let e=(0,s.f)(c,{...d,query:a});return d.skip&&(e.initialFetchPolicy=d.initialFetchPolicy||d.fetchPolicy,e.fetchPolicy="standby"),e},T=[a,d,c],(_=t.useRef(void 0)).current&&(0,r.f)(_.current.deps,T)||(_.current={value:R(),deps:T}),_.current.value);function N(r){let t=U.watchQuery(w);return{client:U,query:e,observable:t,resultData:{current:t.getCurrentResult(),previousData:r?.resultData.current.data,variables:t.variables}}}let[S,g]=t.useState(N);(U!==S.client||e!==S.query)&&g(S=N(S));let{observable:M,resultData:b}=S;v=w,f=M,v.fetchPolicy||(v.fetchPolicy=f.options.initialFetchPolicy),function(e,t,i){if(t[D]&&!(0,r.f)(t[D],i)){var n,o;t[D][C]&&!i.initialFetchPolicy&&(i.initialFetchPolicy=i.fetchPolicy),(n=t[D],o=i,n.query===o.query&&(0,r.f)(n.variables,o.variables)&&(n.fetchPolicy===o.fetchPolicy||"standby"!==o.fetchPolicy&&"standby"!==n.fetchPolicy))?t.applyOptions(i):t.reobserve(i);let a=t.getCurrentResult();(0,r.f)(a.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=a,e.variables=t.variables}t[D]=i}(b,M,w);let V=(p=M,O=b,P=y,h=p.options.fetchPolicy,A(t.useCallback(e=>{let t=p.pipe((0,n.f)(i.f)).subscribe(t=>{let i=O.current;(0,r.f)(i,t)&&(0,r.f)(O.variables,p.variables)||(O.variables=p.variables,i.data&&!(0,r.f)(i.data,t.data)&&(O.previousData=i.data),O.current=t,e())});return()=>{setTimeout(()=>t.unsubscribe())}},[p,O]),()=>O.current,()=>"standby"!==h&&!1===P||"no-cache"===h?m.ssrDisabledResult:O.current)),L=t.useMemo(()=>({refetch:M.refetch.bind(M),fetchMore:M.fetchMore.bind(M),updateQuery:M.updateQuery.bind(M),startPolling:M.startPolling.bind(M),stopPolling:M.stopPolling.bind(M),subscribeToMore:M.subscribeToMore.bind(M)}),[M]),k=b.previousData;return t.useMemo(()=>{let{partial:e,...r}=V;return{...r,client:U,observable:M,variables:M.variables,previousData:k,...L}},[V,U,M,k,L])}let C=Symbol();m.ssrDisabledResult=(0,a.f)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:o.f.loading,partial:!0}),e.s(["f",0,m],32171)},91584,66930,15953,e=>{var r=e.i(29520);function t(e){return null!==e&&"object"==typeof e}e.s(["f",0,t],66930),e.s(["f",0,function(e){let i;return r.f&&(i=new Set([e])).forEach(e=>{t(e)&&function(e){if(r.f&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(r=>{t(e[r])&&i.add(e[r])})}),e}],91584);let i=Symbol.for("apollo.result.extensions"),n=Symbol.for("apollo.result.streamInfo"),o=Symbol.for("apollo.observableQuery.variablesUnknown"),a=Symbol.for("apollo.cache.handleIncremental");e.s(["K",0,i,"q",0,a,"j",0,n,"N",0,o],15953)},61340,57070,72572,e=>{var r=e.i(89280),t=e.i(49363);function i(e){var r=e(function(e){Error.call(e),e.stack=Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}e.s(["f",0,i],57070);var n=i(function(e){return function(r){e(this),this.message=r?r.length+" errors occurred during unsubscription:\n"+r.map(function(e,r){return r+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=r}});function o(e,r){if(e){var t=e.indexOf(r);0<=t&&e.splice(t,1)}}e.s(["f",0,o],72572);var a=function(){var e;function i(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,i,o,a,s,l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var d=(0,r._)(l),c=d.next();!c.done;c=d.next())c.value.remove(this)}catch(r){e={error:r}}finally{try{c&&!c.done&&(i=d.return)&&i.call(d)}finally{if(e)throw e.error}}else l.remove(this);var E=this.initialTeardown;if((0,t.f)(E))try{E()}catch(e){s=e instanceof n?e.errors:[e]}var R=this._finalizers;if(R){this._finalizers=null;try{for(var T=(0,r._)(R),v=T.next();!v.done;v=T.next()){var f=v.value;try{u(f)}catch(e){s=null!=s?s:[],e instanceof n?s=(0,r.p)((0,r.p)([],(0,r.J)(s)),(0,r.J)(e.errors)):s.push(e)}}}catch(e){o={error:e}}finally{try{v&&!v.done&&(a=T.return)&&a.call(T)}finally{if(o)throw o.error}}}if(s)throw new n(s)}},i.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)u(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},i.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},i.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},i.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&o(r,e)},i.prototype.remove=function(e){var r=this._finalizers;r&&o(r,e),e instanceof i&&e._removeParent(this)},(e=new i).closed=!0,i.EMPTY=e,i}(),s=a.EMPTY;function u(e){(0,t.f)(e)?e():e.unsubscribe()}e.s(["N",0,s,"l",0,a,"E",0,function(e){return e instanceof a||e&&"closed"in e&&(0,t.f)(e.remove)&&(0,t.f)(e.add)&&(0,t.f)(e.unsubscribe)}],61340)},99657,80406,33229,58365,13616,e=>{var r=e.i(89280),t=e.i(49363),i=e.i(61340),n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};e.s(["f",0,n],80406);var o={setTimeout:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var a=o.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,(0,r.p)([e,t],(0,r.J)(i))):setTimeout.apply(void 0,(0,r.p)([e,t],(0,r.J)(i)))},clearTimeout:function(e){var r=o.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function a(e){o.setTimeout(function(){var r=n.onUnhandledError;if(r)r(e);else throw e})}function s(){}e.s(["f",0,a],33229);var u=l("C",void 0,void 0);function l(e,r,t){return{kind:e,value:r,error:t}}var d=null;function c(e){n.useDeprecatedSynchronousErrorHandling&&d&&(d.errorThrown=!0,d.error=e)}e.s(["a",0,c,"N",0,function(e){if(n.useDeprecatedSynchronousErrorHandling){var r=!d;if(r&&(d={errorThrown:!1,error:null}),e(),r){var t=d,i=t.errorThrown,o=t.error;if(d=null,i)throw o}}else e()}],58365);var E=function(e){function t(r){var t=e.call(this)||this;return t.isStopped=!1,r?(t.destination=r,(0,i.E)(r)&&r.add(t)):t.destination=P,t}return(0,r.w)(t,e),t.create=function(e,r,t){return new f(e,r,t)},t.prototype.next=function(e){this.isStopped?O(l("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?O(l("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?O(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(i.l),R=Function.prototype.bind;function T(e,r){return R.call(e,r)}var v=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(e){p(e)}},e.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(e){p(e)}else p(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){p(e)}},e}(),f=function(e){function i(r,i,o){var a,s,u=e.call(this)||this;return(0,t.f)(r)||!r?a={next:null!=r?r:void 0,error:null!=i?i:void 0,complete:null!=o?o:void 0}:u&&n.useDeprecatedNextContext?((s=Object.create(r)).unsubscribe=function(){return u.unsubscribe()},a={next:r.next&&T(r.next,s),error:r.error&&T(r.error,s),complete:r.complete&&T(r.complete,s)}):a=r,u.destination=new v(a),u}return(0,r.w)(i,e),i}(E);function p(e){n.useDeprecatedSynchronousErrorHandling?c(e):a(e)}function O(e,r){var t=n.onStoppedNotification;t&&o.setTimeout(function(){return t(e,r)})}var P={closed:!0,next:s,error:function(e){throw e},complete:s};e.s(["N",0,f,"P",0,E],13616);var _=function(e){function t(r,t,i,n,o,a){var s=e.call(this,r)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=t?function(e){try{t(e)}catch(e){r.error(e)}}:e.prototype._next,s._error=n?function(e){try{n(e)}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=i?function(){try{i()}catch(e){r.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return(0,r.w)(t,e),t.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var t=this.closed;e.prototype.unsubscribe.call(this),t||null==(r=this.onFinalize)||r.call(this)}},t}(E);e.s(["f",0,function(e,r,t,i,n){return new _(e,r,t,i,n)}],99657)},32106,e=>{var r=e.i(95065),t=e.i(81288),i=e.i(99657);e.s(["f",0,function(e,n){return void 0===n&&(n=0),(0,t.f)(function(t,o){t.subscribe((0,i.f)(o,function(t){return(0,r.f)(o,e,function(){return o.next(t)},n)},function(){return(0,r.f)(o,e,function(){return o.complete()},n)},function(t){return(0,r.f)(o,e,function(){return o.error(t)},n)}))})}])},42410,e=>{var r,t=e.i(89280),i=e.i(87268),n=1,o={};function a(e){return e in o&&(delete o[e],!0)}var s=function(e){var t=n++;return o[t]=!0,r||(r=Promise.resolve()),r.then(function(){return a(t)&&e()}),t},u=function(e){a(e)},l={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=l.delegate;return((null==i?void 0:i.setImmediate)||s).apply(void 0,(0,t.p)([],(0,t.J)(e)))},clearImmediate:function(e){var r=l.delegate;return((null==r?void 0:r.clearImmediate)||u)(e)},delegate:void 0},d=function(e){function r(r,t){var i=e.call(this,r,t)||this;return i.scheduler=r,i.work=t,i}return(0,t.w)(r,e),r.prototype.requestAsyncId=function(r,t,i){return(void 0===i&&(i=0),null!==i&&i>0)?e.prototype.requestAsyncId.call(this,r,t,i):(r.actions.push(this),r._scheduled||(r._scheduled=l.setImmediate(r.flush.bind(r,void 0))))},r.prototype.recycleAsyncId=function(r,t,i){if(void 0===i&&(i=0),null!=i?i>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,r,t,i);var n,o=r.actions;null!=t&&(null==(n=o[o.length-1])?void 0:n.id)!==t&&(l.clearImmediate(t),r._scheduled===t&&(r._scheduled=void 0))},r}(i.f);e.s(["f",0,d],42410)},87268,e=>{var r=e.i(89280),t=function(e){function t(r,t){return e.call(this)||this}return(0,r.w)(t,e),t.prototype.schedule=function(e,r){return void 0===r&&(r=0),this},t}(e.i(61340).l),i={setInterval:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a=i.delegate;return(null==a?void 0:a.setInterval)?a.setInterval.apply(a,(0,r.p)([e,t],(0,r.J)(n))):setInterval.apply(void 0,(0,r.p)([e,t],(0,r.J)(n)))},clearInterval:function(e){var r=i.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0},n=e.i(72572),o=function(e){function t(r,t){var i=e.call(this,r,t)||this;return i.scheduler=r,i.work=t,i.pending=!1,i}return(0,r.w)(t,e),t.prototype.schedule=function(e,r){if(void 0===r&&(r=0),this.closed)return this;this.state=e;var t,i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,r)),this.pending=!0,this.delay=r,this.id=null!=(t=this.id)?t:this.requestAsyncId(n,this.id,r),this},t.prototype.requestAsyncId=function(e,r,t){return void 0===t&&(t=0),i.setInterval(e.flush.bind(e,this),t)},t.prototype.recycleAsyncId=function(e,r,t){if(void 0===t&&(t=0),null!=t&&this.delay===t&&!1===this.pending)return r;null!=r&&i.clearInterval(r)},t.prototype.execute=function(e,r){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var t=this._execute(e,r);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,r){var t,i=!1;try{this.work(e)}catch(e){i=!0,t=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),t},t.prototype.unsubscribe=function(){if(!this.closed){var r=this.id,t=this.scheduler,i=t.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,n.f)(i,this),null!=r&&(this.id=this.recycleAsyncId(t,r,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(t);e.s(["f",0,o],87268)},12884,e=>{var r=e.i(89280),t=e.i(68827),i=function(){function e(r,t){void 0===t&&(t=e.now),this.schedulerActionCtor=r,this.now=t}return e.prototype.schedule=function(e,r,t){return void 0===r&&(r=0),new this.schedulerActionCtor(this,e).schedule(t,r)},e.now=t.f.now,e}(),n=function(e){function t(r,t){void 0===t&&(t=i.now);var n=e.call(this,r,t)||this;return n.actions=[],n._active=!1,n}return(0,r.w)(t,e),t.prototype.flush=function(e){var r,t=this.actions;if(this._active)return void t.push(e);this._active=!0;do if(r=e.execute(e.state,e.delay))break;while(e=t.shift())if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}},t}(i);e.s(["f",0,n],12884)},18018,e=>{var r=e.i(42410),t=e.i(89280),i=new(function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return(0,t.w)(r,e),r.prototype.flush=function(e){this._active=!0;var r,t=this._scheduled;this._scheduled=void 0;var i=this.actions;e=e||i.shift();do if(r=e.execute(e.state,e.delay))break;while((e=i[0])&&e.id===t&&i.shift())if(this._active=!1,r){for(;(e=i[0])&&e.id===t&&i.shift();)e.unsubscribe();throw r}},r}(e.i(12884).f))(r.f);e.s(["f",0,i],18018)},68827,e=>{var r={now:function(){return(r.delegate||Date).now()},delegate:void 0};e.s(["f",0,r])},95065,e=>{e.s(["f",0,function(e,r,t,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var o=r.schedule(function(){t(),n?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(o),!n)return o}])},49363,e=>{e.s(["f",0,function(e){return"function"==typeof e}])},81288,e=>{var r=e.i(49363);e.s(["f",0,function(e){return function(t){if((0,r.f)(null==t?void 0:t.lift))return t.lift(function(r){try{return e(r,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}])}])})();
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,78270,e=>{let t;var n=((t=n||{}).Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t);e.s(["f",0,n])},99030,8404,56833,80281,e=>{let t;var n,r,o=e.i(91788);e.s(["f",0,function(e,t){return(0,o.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}],99030),e.s(["f",0,function(e){return(0,o.useMemo)(()=>e,Object.values(e))}],8404);var i=e.i(93481);let u=Symbol();e.s(["f",0,function(e,t=!0){return Object.assign(e,{[u]:t})},"V",0,function(...e){let t=(0,o.useRef)(e);(0,o.useEffect)(()=>{t.current=e},[e]);let n=(0,i.f)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[u]))?void 0:n}],56833);var l=e.i(50461),a=e.i(60004),s=e.i(26171),c=e.i(64728);void 0!==l.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(n=null==l.default?void 0:l.default.env)?void 0:n.NODE_ENV)==="test"&&void 0===(null==(r=null==Element?void 0:Element.prototype)?void 0:r.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
2
|
-
`)),[]});var d=((t=d||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);e.s(["p",0,function(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t},"S",0,function(e,t,n,r){let[i,u]=(0,o.useState)(n),{hasFlag:l,addFlag:d,removeFlag:f}=function(e=0){let[t,n]=(0,o.useState)(e),r=(0,o.useCallback)(e=>n(e),[]),i=(0,o.useCallback)(e=>n(t=>t|e),[]),u=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:r,addFlag:i,hasFlag:u,removeFlag:(0,o.useCallback)(e=>n(t=>t&~e),[]),toggleFlag:(0,o.useCallback)(e=>n(t=>t^e),[])}}(e&&i?3:0),p=(0,o.useRef)(!1),v=(0,o.useRef)(!1),m=(0,s.f)();return(0,c.f)(()=>{var o;if(e){if(n&&u(!0),!t){n&&d(3);return}return null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:o}){let i=(0,a.f)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:o}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(function(e,t){var n,r;let o=(0,a.f)();if(!e)return o.dispose;let i=!1;o.add(()=>{i=!0});let u=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?r:[];return 0===u.length?t():Promise.allSettled(u.map(e=>e.finished)).then(()=>{i||t()}),o.dispose}(e,r))})}),i.dispose}(t,{inFlight:p,prepare(){v.current?v.current=!1:v.current=p.current,p.current=!0,v.current||(n?(d(3),f(4)):(d(4),f(2)))},run(){v.current?n?(f(3),d(4)):(f(4),d(3)):n?f(1):d(1)},done(){var e,o,i,l;v.current&&(null!=(l=null==(i=(o=t).getAnimations)?void 0:i.call(o))?l:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(p.current=!1,f(7),n||u(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})}},[e,n,t,m]),e?[i,{closed:l(1),enter:l(2),leave:l(4),transition:l(2)||l(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}],80281)},96694,e=>{let t;var n=e.i(91788);let r=(0,n.createContext)(null);r.displayName="OpenClosedContext";var o=((t=o||{})[t.Open=1]="Open",t[t.Closed=2]="Closed",t[t.Closing=4]="Closing",t[t.Opening=8]="Opening",t);e.s(["z",0,function({value:e,children:t}){return n.default.createElement(r.Provider,{value:e},t)},"P",0,function({children:e}){return n.default.createElement(r.Provider,{value:null},e)},"A",0,o,"N",0,function(){return(0,n.useContext)(r)}])},30317,55367,26417,e=>{function t(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function n(e){return t(e)&&"tagName"in e}function r(e){return n(e)&&"accessKey"in e}function o(e){return r(e)&&"FIELDSET"===e.nodeName}function i(e){return r(e)&&"LEGEND"===e.nodeName}e.s(["E",0,function(e){return n(e)&&"style"in e},"F",0,r,"J",0,o,"I",0,function(e){return r(e)&&"IFRAME"===e.nodeName},"k",0,function(e){return r(e)&&"INPUT"===e.nodeName},"M",0,function(e){return r(e)&&"LABEL"===e.nodeName},"D",0,i,"N",0,function(e){return n(e)&&"tabIndex"in e},"W",0,function(e){return!!n(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')},"t",0,t],55367),e.s(["f",0,function(e){let t=e.parentElement,n=null;for(;t&&!o(t);)i(t)&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(i(t))return!1;t=t.previousElementSibling}return!0}(n))&&r}],30317),e.s(["f",0,function e(t,n,...r){if(t in n){let e=n[t];return"function"==typeof e?e(...r):e}let o=Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,e),o}],26417)},74664,21713,e=>{let t,n;var r=e.i(91788);function o(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}e.s(["f",0,o],21713);var i=e.i(26417),u=((t=u||{})[t.None=0]="None",t[t.RenderStrategy=1]="RenderStrategy",t[t.Static=2]="Static",t),l=((n=l||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function a(e,t={},n,i,u){let{as:l=n,children:s,refName:v="ref",...m}=f(e,["unmount","static"]),y=void 0!==e.ref?{[v]:e.ref}:{},b="function"==typeof s?s(t):s;b=function e(t){if(null!=t&&t.$$typeof===Symbol.for("react.lazy")){let n=t._payload;if(null!=n&&"fulfilled"===n.status)return e(n.value)}return t}(b),"className"in m&&m.className&&"function"==typeof m.className&&(m.className=m.className(t)),m["aria-labelledby"]&&m["aria-labelledby"]===m.id&&(m["aria-labelledby"]=void 0);let g={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(g["data-headlessui-state"]=n.join(" "),n))g[`data-${e}`]=""}if(p(l)&&(Object.keys(d(m)).length>0||Object.keys(d(g)).length>0))if(!(0,r.isValidElement)(b)||Array.isArray(b)&&b.length>1||p(b.type)){if(Object.keys(d(m)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(d(m)).concat(Object.keys(d(g))).map(e=>` - ${e}`).join(`
|
|
3
|
-
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(`
|
|
4
|
-
`)].join(`
|
|
5
|
-
`))}else{var h;let e=b.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>o(t(...e),m.className):o(t,m.className),i=c(b.props,d(f(m,["ref"])));for(let e in g)e in i&&delete g[e];return(0,r.cloneElement)(b,Object.assign({},i,g,y,{ref:u((h=b,r.default.version.split(".")[0]>="19"?h.props.ref:h.ref),y.ref)},n?{className:n}:{}))}return(0,r.createElement)(l,Object.assign({},f(m,["ref"]),!p(l)&&y,!p(l)&&g),b)}function s(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function c(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){for(let o of n[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;o(t,...r)}}});return t}function d(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function f(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function p(e){return e===r.Fragment||e===Symbol.for("react.fragment")}e.s(["J",0,u,"j",0,l,"x",0,d,"t",0,function(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})},"F",0,p,"w",0,function(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){for(let r of n[e])null==r||r(...t)}});return t},"n",0,function(){let e,t,n=(e=(0,r.useRef)([]),t=(0,r.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]),(...n)=>{if(!n.every(e=>null==e))return e.current=n,t});return(0,r.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:u=!0,name:l,mergeRefs:d}){d=null!=d?d:s;let f=c(t,e);if(u)return a(f,n,r,l,d);let p=null!=o?o:0;if(2&p){let{static:e=!1,...t}=f;if(e)return a(t,n,r,l,d)}if(1&p){let{unmount:e=!0,...t}=f;return(0,i.f)(+!e,{0:()=>null,1:()=>a({...t,hidden:!0,style:{display:"none"}},n,r,l,d)})}return a(f,n,r,l,d)})({mergeRefs:n,...e}),[n])}],74664)},86567,12717,81093,80795,38403,60004,26171,64728,15067,93481,72016,e=>{let t,n=e=>{var t,n;return"object"==typeof(t=e)&&null!=t&&"window"in t&&t.window===t?e.document:function(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType}(n=e)&&9===n.nodeType?e:e?.ownerDocument??("u">typeof document?document:void 0)},r=e=>{let t=n(e);return t?.defaultView??("u">typeof window?window:void 0)};function o(e,t){return!!t&&!!e&&e.contains(t)}function i(e){return e.target}"u">typeof Element&&Element.prototype;let u=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"];u.join(":not([hidden]),"),u.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),u.join(':not([hidden]):not([tabindex="-1"]),');var l=e.i(91788);let a="u">typeof document?l.default.useLayoutEffect:()=>{};function s(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function c(e){let t=(0,l.useRef)({isFocused:!1,observer:null});return a(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,l.useCallback)(n=>{let r=i(n);(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&(t.current.isFocused=!0,r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=s(n);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){t.current.observer?.disconnect();let e=r===((e=document)=>e.activeElement)()?null:((e=document)=>e.activeElement)();r.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]}))},[e])}function d(e){if("u"<typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function f(e){return"u">typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function p(e){let t=null;return()=>(null==t&&(t=e()),t)}let v=p(function(){return f(/^Mac/i)}),m=p(function(){return f(/^iPhone/i)}),y=p(function(){return f(/^iPad/i)||v()&&navigator.maxTouchPoints>1}),b=p(function(){return m()||y()});p(function(){return v()||b()});let g=p(function(){return d(/AppleWebKit/i)&&(b()||!h())});p(function(){return g()&&!h()&&!w()});let h=p(function(){return d(/Chrome|CriOS|CrMo/i)}),E=p(function(){return d(/Android/i)}),w=p(function(){return d(/(Firefox|FxiOS)/i)});function T(e,t,n=!0){let{metaKey:r,ctrlKey:o,altKey:i,shiftKey:u}=t,l=g()&&v()&&!y()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:i,shiftKey:u}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:i,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});T.isOpening=n,e.focus({preventScroll:!0}),e.dispatchEvent(l),T.isOpening=!1}T.isOpening=!1;let L={prefix:String(Math.round(1e10*Math.random())),current:0};l.default.createContext(L),l.default.createContext(!1),"u">typeof window&&window.document&&window.document.createElement,new WeakMap;l.default.useId;let F=null,k=new Set,C=new Map,P=!1,S=!1,A={Tab:!0,Escape:!0};function O(e,t){for(let n of k)n(e,t)}function j(e){P=!0,T.isOpening||e.metaKey||!v()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(F="keyboard",O("keyboard",e))}function M(e){F="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(P=!0,O("pointer",e))}function H(e){T.isOpening||(""!==e.pointerType||!e.isTrusted)&&(E()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(P=!0,F="virtual")}function N(e){let t=i(e),o=r(t),u=n(t);if(t===o){S=!0;return}t!==u&&e.isTrusted&&(P||S||(F="virtual",O("virtual",e)),P=!1,S=!1)}function x(){P=!1,S=!0}function R(e){let t=((e=document)=>e.activeElement)(n(i(e)));queueMicrotask(()=>{var r;((e=document)=>e.activeElement)(n(i(e)))!==t&&(F=r="keyboard",O(r,null))})}function D(e){if("u"<typeof window||"u"<typeof document)return;let t=r(e),o=n(e);if(C.get(t))return;let i=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){P=!0,i.apply(this,arguments)}}),o.addEventListener("keydown",j,!0),o.addEventListener("keyup",j,!0),o.addEventListener("click",H,!0),o.addEventListener("invalid",R,!0),t.addEventListener("focus",N,!0),t.addEventListener("blur",x,!1),"u">typeof PointerEvent&&(o.addEventListener("pointerdown",M,!0),o.addEventListener("pointermove",M,!0),o.addEventListener("pointerup",M,!0)),t.addEventListener("beforeunload",()=>{K(e)},{once:!0}),C.set(t,{focus:i})}let K=(e,t)=>{let o=r(e),i=n(e);t&&i.removeEventListener("DOMContentLoaded",t),C.has(o)&&(Reflect.defineProperty(o.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:C.get(o).focus}),i.removeEventListener("keydown",j,!0),i.removeEventListener("keyup",j,!0),i.removeEventListener("click",H,!0),i.removeEventListener("invalid",R,!0),o.removeEventListener("focus",N,!0),o.removeEventListener("blur",x,!1),"u">typeof PointerEvent&&(i.removeEventListener("pointerdown",M,!0),i.removeEventListener("pointermove",M,!0),i.removeEventListener("pointerup",M,!0)),C.delete(o))};function I(){return"pointer"!==F}"u">typeof document&&("loading"!==(t=n(void 0)).readyState?D(void 0):t.addEventListener("DOMContentLoaded",()=>{D(void 0)}));let W=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function B(){let e=(0,l.useRef)(new Map),t=(0,l.useCallback)((t,n,r,o)=>{let i=o?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,i,o)},[]),n=(0,l.useCallback)((t,n,r,o)=>{let i=e.current.get(r)?.fn||r;t.removeEventListener(n,i,o),e.current.delete(r)},[]),r=(0,l.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,l.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}e.s(["f",0,function(e={}){var t;let{autoFocus:u=!1,isTextInput:a,within:d}=e,f=(0,l.useRef)({isFocused:!1,isFocusVisible:u||I()}),[p,v]=(0,l.useState)(!1),[m,y]=(0,l.useState)(()=>f.current.isFocused&&f.current.isFocusVisible),b=(0,l.useCallback)(()=>y(f.current.isFocused&&f.current.isFocusVisible),[]),g=(0,l.useCallback)(e=>{f.current.isFocused=e,f.current.isFocusVisible=I(),v(e),b()},[b]);t={enabled:p,isTextInput:a},D(),(0,l.useEffect)(()=>{if(t?.enabled===!1)return;let e=(e,o)=>{var u;let l,a,s,c,d,p,v,m;u=!!t?.isTextInput,a=n(l=o?i(o):void 0),c=void 0!==(s=r(l))?s.HTMLInputElement:HTMLInputElement,d=void 0!==s?s.HTMLTextAreaElement:HTMLTextAreaElement,p=void 0!==s?s.HTMLElement:HTMLElement,v=void 0!==s?s.KeyboardEvent:KeyboardEvent,m=((e=document)=>e.activeElement)(a),(u=u||m instanceof c&&!W.has(m.type)||m instanceof d||m instanceof p&&m.isContentEditable)&&"keyboard"===e&&o instanceof v&&!A[o.key]||(e=>{f.current.isFocusVisible=e,b()})(I())};return k.add(e),()=>{k.delete(e)}},[a,p]);let{focusProps:h}=function(e){let{isDisabled:t,onFocus:r,onBlur:o,onFocusChange:u}=e,a=(0,l.useCallback)(e=>{if(i(e)===e.currentTarget)return o&&o(e),u&&u(!1),!0},[o,u]),s=c(a),d=(0,l.useCallback)(e=>{let t=i(e),o=n(t),l=o?((e=document)=>e.activeElement)(o):((e=document)=>e.activeElement)();t===e.currentTarget&&t===l&&(r&&r(e),u&&u(!0),s(e))},[u,r,s]);return{focusProps:{onFocus:!t&&(r||u||o)?d:void 0,onBlur:!t&&(o||u)?a:void 0}}}({isDisabled:d,onFocusChange:g}),{focusWithinProps:E}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:u,onFocusWithinChange:a}=e,d=(0,l.useRef)({isFocusWithin:!1}),{addGlobalListener:f,removeAllGlobalListeners:p}=B(),v=(0,l.useCallback)(e=>{o(e.currentTarget,i(e))&&d.current.isFocusWithin&&!o(e.currentTarget,e.relatedTarget)&&(d.current.isFocusWithin=!1,p(),r&&r(e),a&&a(!1))},[r,a,d,p]),m=c(v),y=(0,l.useCallback)(e=>{if(!o(e.currentTarget,i(e)))return;let t=i(e),r=n(t),l=((e=document)=>e.activeElement)(r);if(!d.current.isFocusWithin&&l===t){u&&u(e),a&&a(!0),d.current.isFocusWithin=!0,m(e);let t=e.currentTarget;f(r,"focus",e=>{let n=i(e);if(d.current.isFocusWithin&&!o(t,n)){let e=new r.defaultView.FocusEvent("blur",{relatedTarget:n});Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t}),v(s(e))}},{capture:!0})}},[u,a,m,f,v]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:y,onBlur:v}}}({isDisabled:!d,onFocusWithinChange:g});return{isFocused:p,isFocusVisible:m,focusProps:d?E:h}}],86567);let U=!1,V=0;function $(e){"touch"===e.pointerType&&(U=!0,setTimeout(()=>{U=!1},500))}function q(){let e=n(null);if(void 0!==e)return 0===V&&"u">typeof PointerEvent&&e.addEventListener("pointerup",$),V++,()=>{!(--V>0)&&"u">typeof PointerEvent&&e.removeEventListener("pointerup",$)}}e.s(["f",0,function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:u,isDisabled:a}=e,[s,c]=(0,l.useState)(!1),d=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(q,[]);let{addGlobalListener:f,removeAllGlobalListeners:p}=B(),{hoverProps:v,triggerHoverEnd:m}=(0,l.useMemo)(()=>{let e=(e,t)=>{let n=d.target;d.pointerType="",d.target=null,"touch"!==t&&d.isHovered&&n&&(d.isHovered=!1,p(),u&&u({type:"hoverend",target:n,pointerType:t}),r&&r(!1),c(!1))},l={};return"u">typeof PointerEvent&&(l.onPointerEnter=u=>{U&&"mouse"===u.pointerType||((u,l)=>{if(d.pointerType=l,a||"touch"===l||d.isHovered||!o(u.currentTarget,i(u)))return;d.isHovered=!0;let s=u.currentTarget;d.target=s,f(n(i(u)),"pointerover",t=>{d.isHovered&&d.target&&!o(d.target,i(t))&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:l}),r&&r(!0),c(!0)})(u,u.pointerType)},l.onPointerLeave=t=>{!a&&o(t.currentTarget,i(t))&&e(t,t.pointerType)}),{hoverProps:l,triggerHoverEnd:e}},[t,r,u,a,d,f,p]);return(0,l.useEffect)(()=>{a&&m({currentTarget:d.target},d.pointerType)},[a]),{hoverProps:v,isHovered:s}}],12717);var G=Object.defineProperty,z=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?G(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};let Y=new class{constructor(){z(this,"current",this.detect()),z(this,"handoffState","pending"),z(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};function J(e){var t;return Y.isServer?null:null==e?document:null!=(t=null==e?void 0:e.ownerDocument)?t:document}function X(e){var t,n;return Y.isServer?null:null==e?document:null!=(n=null==(t=null==e?void 0:e.getRootNode)?void 0:t.call(e))?n:document}function _(e){var t,n;return null!=(n=null==(t=X(e))?void 0:t.activeElement)?n:null}function Z(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function Q(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add(()=>e.removeEventListener(n,r,o))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return Z(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=Q();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function ee(){let[e]=(0,l.useState)(Q);return(0,l.useEffect)(()=>()=>e.dispose(),[e]),e}e.s(["f",0,Y],81093),e.s(["z",0,_,"o",0,J,"g",0,X,"M",0,function(e){return _(e)===e}],80795),e.s(["f",0,Z],38403),e.s(["f",0,Q],60004),e.s(["f",0,ee],26171);let et=(e,t)=>{Y.isServer?(0,l.useEffect)(e,t):(0,l.useLayoutEffect)(e,t)};function en(e){let t=(0,l.useRef)(e);return et(()=>{t.current=e},[e]),t}e.s(["f",0,et],64728),e.s(["f",0,en],15067);let er=function(e){let t=en(e);return l.default.useCallback((...e)=>t.current(...e),[t])};e.s(["f",0,er],93481),e.s(["f",0,function({disabled:e=!1}={}){let t=(0,l.useRef)(null),[n,r]=(0,l.useState)(!1),o=ee(),i=er(()=>{t.current=null,r(!1),o.dispose()}),u=er(e=>{if(o.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=J(e.currentTarget);o.addEventListener(n,"pointerup",i,!1),o.addEventListener(n,"pointermove",e=>{if(t.current){var n,o;let i,u;r((i=e.width/2,u=e.height/2,n={top:e.clientY-u,right:e.clientX+i,bottom:e.clientY+u,left:e.clientX-i},o=t.current.getBoundingClientRect(),!(!n||!o||n.right<o.left||n.left>o.right||n.bottom<o.top||n.top>o.bottom)))}},!1),o.addEventListener(n,"pointercancel",i,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:u,onPointerUp:i,onClick:i}}}],72016)}])})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61494,e=>{var t=e.i(91398),r=e.i(41158),n=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:i=null,depth:o=null})=>{let s=(0,n.useRouter)(),{formatMessage:l}=(0,a.S)(),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=s.asPath?.split("/")?.filter((e,t)=>s.asPath?.split("/")?.indexOf(e)===t);if(1===d.length)return null;let c="";o&&d.splice(o),e&&(d[d.length-1]=e);let m=d?.map(t=>{if(c+=`${t}/`,!t)return{name:l({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],n=e?r:r.replace(/-/g," "),a=u[r];return{name:a?l({id:a,defaultMessage:n}):decodeURIComponent(n),path:c.replace(/.$/,"")}});return(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:m?.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==n&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",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-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:n===m.length-1&&i?i:e.name})]})},e.path))})})}])},81013,e=>{var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:n,onClick:a,className:i="",disabled:o=!1,id:s="",variant:l="primary",size:u="md",type:d="button",loading:c=!1,icon:m,iconRight:f,fullWidth:h=!1,rounded:g="md",ariaLabel:w,...b})=>{let p=n||e,y=(m||f)&&p?"gap-2":"";return(0,t.jsx)("button",{id:s,type:d,disabled:o||c,onClick:a,"aria-label":w,className:(0,r.default)("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"}[g],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",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-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[l],y,{"w-full":h},i),...b,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"}),p]}):(0,t.jsxs)(t.Fragment,{children:[m,p,f]})})}])},17644,e=>{var t=e.i(91398),r=e.i(58678),n=e.i(41158),a=e.i(69322),i=e.i(37369),o=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:s=null,onDelete:l=null,children:u=null,title:d=null,addPath:c=null,addButtonText:m=null})=>{let{formatMessage:f}=(0,a.S)();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)(n.default,{href:c,children:(0,t.jsx)(o.f,{variant:"secondary",icon:(0,t.jsx)(i.f,{className:"h-5 w-5"}),text:m||f({id:"add",defaultMessage:"Add"})})}),s&&(0,t.jsx)(o.f,{variant:"secondary",onClick:s,text:f({id:"edit",defaultMessage:"Edit"})}),l&&(0,t.jsx)(o.f,{variant:"danger",onClick:l,text:f({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},84818,e=>{var t=e.i(92042);e.i(27861);let r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={},a=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),i="06/25/2014, 00:00:00"===a||"06/25/2014 00:00:00"===a;function o(e,t,r,n,a,i,o){let s=new Date(0);return s.setUTCFullYear(e,t,r),s.setUTCHours(n,a,i,o),s}let s=/^(Z)$/,l=/^([+-]\d{2})$/,u=/^([+-])(\d{2}):?(\d{2})$/;function d(e,t,r){let n,a;if(!e)return 0;let i=s.exec(e);if(i)return 0;if(i=l.exec(e))return m(n=parseInt(i[1],10))?-(36e5*n):0/0;if(i=u.exec(e)){n=parseInt(i[2],10);let e=parseInt(i[3],10);return m(n,e)?(a=36e5*Math.abs(n)+6e4*e,"+"===i[1]?-a:a):0/0}if(function(e){if(f[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),f[e]=!0,!0}catch(e){return!1}}(e)){var d;t=new Date(t||Date.now());let n=c(r?t:o((d=t).getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()),e);return-(r?n:function(e,t,r){let n=e.getTime()-t,a=c(new Date(n),r);if(t===a)return t;let i=c(new Date(n-=a-t),r);return a===i?a:Math.max(a,i)}(t,n,e))}return 0/0}function c(e,t){var a,s,l;let u,d,c,m=(n[a=t]||(n[a]=i?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(c=n[a])?function(e,t){try{let n=e.formatToParts(t),a=[];for(let e=0;e<n.length;e++){let t=r[n[e].type];void 0!==t&&(a[t]=parseInt(n[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[0/0];throw e}}(c,e):(s=c,l=e,u=s.format(l),[parseInt((d=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(u))[3],10),parseInt(d[1],10),parseInt(d[2],10),parseInt(d[4],10),parseInt(d[5],10),parseInt(d[6],10)])),f=o(m[0],m[1]-1,m[2],m[3]%24,m[4],m[5],0).getTime(),h=e.getTime(),g=h%1e3;return f-(h-=g>=0?g:1e3+g)}function m(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let f={};function h(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let g=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,w=/^([0-9W+-]+)(T| )(.*)/,b=/^([0-9W+-]+)(.*)/,p=/^(\d{2})$/,y=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],x=/^(\d{4})/,v=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],k=/^-(\d{2})$/,M=/^-?(\d{3})$/,D=/^-?(\d{2})-?(\d{2})$/,j=/^-?W(\d{2})$/,T=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,C=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,P=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function N(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(0/0);let r=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==r&&1!==r&&0!==r)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(0/0);let n=function(e){let t,r={},n=w.exec(e);if(n?(r.date=n[1],t=n[3]):(n=b.exec(e))?(r.date=n[1],t=n[2]):(r.date=null,t=e),t){let e=g.exec(t);e?(r.time=t.replace(e[1],""),r.timeZone=e[1].trim()):r.time=t}return r}(e),{year:a,restDateString:i}=function(e,t){if(e){let r=y[t],n=v[t],a=x.exec(e)||n.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=p.exec(e)||r.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(n.date,r),o=function(e,t){let r,n,a;if(null===t)return null;if(!e||!e.length)return(r=new Date(0)).setUTCFullYear(t),r;let i=k.exec(e);if(i)return(r=new Date(0),O(t,n=parseInt(i[1],10)-1))?(r.setUTCFullYear(t,n),r):new Date(0/0);if(i=M.exec(e)){r=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let r=I(e);return(!r||!(t>366))&&(!!r||!(t>365))}(t,e)?new Date(0/0):(r.setUTCFullYear(t,0,e),r)}if(i=D.exec(e)){r=new Date(0),n=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return O(t,n,e)?(r.setUTCFullYear(t,n,e),r):new Date(0/0)}if(i=j.exec(e))return E(a=parseInt(i[1],10)-1)?W(t,a):new Date(0/0);if(i=T.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return E(a,e)?W(t,a,e):new Date(0/0)}return null}(i,a);if(null===o||isNaN(o.getTime())||!o)return new Date(0/0);{let e,r=o.getTime(),a=0;if(n.time&&(null===(a=function(e){let t,r,n=S.exec(e);if(n)return $(t=parseFloat(n[1].replace(",",".")))?t%24*36e5:0/0;if(n=C.exec(e))return $(t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")))?t%24*36e5+6e4*r:0/0;if(n=P.exec(e)){t=parseInt(n[1],10),r=parseInt(n[2],10);let e=parseFloat(n[3].replace(",","."));return $(t,r,e)?t%24*36e5+6e4*r+1e3*e:0/0}return null}(n.time))||isNaN(a)))return new Date(0/0);if(n.timeZone||t.timeZone){if(isNaN(e=d(n.timeZone||t.timeZone,new Date(r+a))))return new Date(0/0)}else e=h(new Date(r+a)),e=h(new Date(r+a+e));return new Date(r+a+e)}}function W(e,t,r){t=t||0,r=r||0;let n=new Date(0);n.setUTCFullYear(e,0,4);let a=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+a),n}let F=[31,28,31,30,31,30,31,31,30,31,30,31],Y=[31,29,31,30,31,30,31,31,30,31,30,31];function I(e){return e%400==0||e%4==0&&e%100!=0}function O(e,t,r){if(t<0||t>11)return!1;if(null!=r){if(r<1)return!1;let n=I(e);if(n&&r>Y[t]||!n&&r>F[t])return!1}return!0}function E(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function $(e,t,r){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==r||!(r<0)&&!(r>=60))}e.s(["f",0,()=>({formatDateTime:(e,t={})=>e&&Date.parse(e)?Intl.DateTimeFormat(void 0,t).format(new Date(e).getTime()):"n/a",getDateFormatPattern:()=>new Intl.DateTimeFormat(void 0).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join(""),parseDate:e=>(0,t.f)(function(e,t){if("string"==typeof e&&!e.match(g))return N(e,{timeZone:t});let r=o((e=N(e,void 0)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),n=d(t,new Date(r));return new Date(r+n)}(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")})],84818)},83147,e=>{let t=e=>e&&e?.split(",").reduce((e,t)=>{let[r=null,n=null]=(t||"")?.split("_")||[];return{...e,[r]:n}},null)||{};e.s(["S",0,(...e)=>e.filter(Boolean).join(" "),"R",0,e=>Object.entries(t(e))?.map(([e,t])=>({key:e,value:t})),"D",0,e=>e?.label&&e?.version?`${e.label} ${e.version}`:"","v",0,t,"Q",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"region"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"j",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"currency"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"I",0,(e,t,r=!0)=>{if(!t)return"";try{return`${new Intl.DisplayNames([e],{type:"language"}).of(t)} ${r?`(${t})`:""}`}catch{return t}},"_",0,(e,t,r)=>{let n;return n=r?{...e,[r]:t}:e,Object.keys(n)?.map(e=>[e,n[e]].join("="))?.join("&")},"d",0,()=>({formatPrice:e=>{if(!e?.currencyCode)return"n/a";if(e?.amount===void 0||e?.amount===null)return"";let{amount:t,currencyCode:r}=e||{};return new Intl.NumberFormat(navigator.language,{style:"currency",currency:r}).format(t/100)}})])},15971,e=>{var t=e.i(91398),r=e.i(69322);e.s(["f",0,({onOkClick:e,onCancelClick:n,okText:a=null,cancelText:i=null,headerText:o=null,message:s=null,icon:l=null,close:u=null})=>{let{formatMessage:d}=(0,r.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[l||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:o||d({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:s||d({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:a||d({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:n||u,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:i||d({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{var t=e.i(91788),r=e.i(6444);e.s(["f",0,()=>(0,t.useContext)(r.f)])},76204,e=>{var t=e.i(24669),r=e.i(91788),n=e.i(30928),a=e.i(52006);let i=e.i(21953).f?r.useLayoutEffect:r.useEffect;var o=e.i(98926);function s(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,l){let u=(0,o.f)(l?.client),[d,c]=r.useState(()=>s(u)),m=r.useRef({result:d,mutationId:0,isMounted:!0,client:u,mutation:e,options:l});i(()=>{Object.assign(m.current,{client:u,options:l,mutation:e})});let f=r.useCallback((e={})=>{let{options:r,mutation:i}=m.current,o={...r,mutation:i},s=e.client||m.current.client,l="function"==typeof e.context?e.context(r?.context):e.context;!m.current.result.loading&&m.current.isMounted&&c(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});let u=++m.current.mutationId,d=(0,n.f)(o,{...e,context:l});return(0,a.f)(s.mutate(d).then(r=>{let{data:n,error:a}=r,i=e.onError||m.current.options?.onError;if(a&&i&&i(a,d),u===m.current.mutationId){let e={called:!0,loading:!1,data:n,error:a,client:s};m.current.isMounted&&!(0,t.f)(m.current.result,e)&&c(m.current.result=e)}let o=e.onCompleted||m.current.options?.onCompleted;return a||o?.(r.data,d),r},r=>{if(u===m.current.mutationId&&m.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:s};(0,t.f)(m.current.result,e)||c(m.current.result=e)}let n=e.onError||m.current.options?.onError;throw n&&n(r,d),r}))},[]),h=r.useCallback(()=>{if(m.current.isMounted){let e=s(m.current.client);Object.assign(m.current,{mutationId:0,result:e}),c(e)}},[]);return r.useEffect(()=>{let e=m.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[f,{reset:h,...d}]}],76204)},37369,e=>{var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...n},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},n),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},92042,50216,27861,57322,24323,e=>{let t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(e){return (t={})=>{let r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}let n={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function i(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=r?.width?String(r.width):t;n=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=r?.width?String(r.width):e.defaultWidth;n=e.values[a]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,r={})=>{let n,a=r.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let s=o[0],l=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}(l,e=>e.test(s)):function(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}let s={code:"en-US",formatDistance:(e,r,n)=>{let a,i=t[e];if(a="string"==typeof i?i:1===r?i.one:i.other.replace("{{count}}",r.toString()),n?.addSuffix)if(n.comparison&&n.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:n,formatRelative:(e,t,r,n)=>a[e],localize:{ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:i({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:i({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:i({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let r=e.match(d.matchPattern);if(!r)return null;let n=r[0],a=e.match(d.parsePattern);if(!a)return null;let i=d.valueCallback?d.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(n.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["f",0,s],50216);let l={};function u(){return l}e.s(["f",0,u],27861);var d,c=e.i(35113);function m(e){let t=(0,c.f)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}e.s(["f",0,m],57322);var f=e.i(98170);function h(e,...t){let r=f.f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}e.s(["f",0,h],24323);var g=e.i(2848),w=e.i(49543);function b(e,t){let r=u(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=(0,c.f)(e,t?.in),i=a.getDay();return a.setDate(a.getDate()-(7*(i<n)+i-n)),a.setHours(0,0,0,0),a}function p(e,t){return b(e,{...t,weekStartsOn:1})}function y(e,t){let r=(0,c.f)(e,t?.in),n=r.getFullYear(),a=(0,f.f)(r,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);let i=p(a),o=(0,f.f)(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let s=p(o);return r.getTime()>=i.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}function x(e,t){let r=(0,c.f)(e,t?.in),n=r.getFullYear(),a=u(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=(0,f.f)(t?.in||e,0);o.setFullYear(n+1,0,i),o.setHours(0,0,0,0);let s=b(o,t),l=(0,f.f)(t?.in||e,0);l.setFullYear(n,0,i),l.setHours(0,0,0,0);let d=b(l,t);return+r>=+s?n+1:+r>=+d?n:n-1}function v(e,t){let r=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+r}let k={y(e,t){let r=e.getFullYear(),n=r>0?r:1-r;return v("yy"===t?n%100:n,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):v(r+1,2)},d:(e,t)=>v(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>v(e.getHours()%12||12,t.length),H:(e,t)=>v(e.getHours(),t.length),m:(e,t)=>v(e.getMinutes(),t.length),s:(e,t)=>v(e.getSeconds(),t.length),S(e,t){let r=t.length;return v(Math.trunc(e.getMilliseconds()*Math.pow(10,r-3)),t.length)}},M={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear();return r.ordinalNumber(t>0?t:1-t,{unit:"year"})}return k.y(e,t)},Y:function(e,t,r,n){let a=x(e,n),i=a>0?a:1-a;return"YY"===t?v(i%100,2):"Yo"===t?r.ordinalNumber(i,{unit:"year"}):v(i,t.length)},R:function(e,t){return v(y(e),t.length)},u:function(e,t){return v(e.getFullYear(),t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return v(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return v(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return k.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return v(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let a,i,o,s,l,d=Math.round((b(a=(0,c.f)(e,n?.in),n)-(i=u(),o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=x(a,n),(l=(0,f.f)(n?.in||a,0)).setFullYear(s,0,o),l.setHours(0,0,0,0),b(l,n)))/g.A)+1;return"wo"===t?r.ordinalNumber(d,{unit:"week"}):v(d,t.length)},I:function(e,t,r){let n,a,i,o=Math.round((p(n=(0,c.f)(e,void 0))-(a=y(n,void 0),(i=(0,f.f)(n,0)).setFullYear(a,0,4),i.setHours(0,0,0,0),p(i)))/g.A)+1;return"Io"===t?r.ordinalNumber(o,{unit:"week"}):v(o,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):k.d(e,t)},D:function(e,t,r){let n,a,i=function(e,t){let[r,n]=h(void 0,e,t),a=(0,w.f)(r),i=(0,w.f)(n);return Math.round((a-m(a)-(i-m(i)))/g._)}(n=(0,c.f)(e,void 0),((a=(0,c.f)(n,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===t?r.ordinalNumber(i,{unit:"dayOfYear"}):v(i,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return v(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let a=e.getDay(),i=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return v(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),a=0===n?7:n;switch(t){case"i":return String(a);case"ii":return v(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,a=e.getHours();switch(n=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,a=e.getHours();switch(n=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return k.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):k.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):v(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):v(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):k.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):k.s(e,t)},S:function(e,t){return k.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return j(n);case"XXXX":case"XX":return T(n);default:return T(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return j(n);case"xxxx":case"xx":return T(n);default:return T(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+D(n,":");default:return"GMT"+T(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+D(n,":");default:return"GMT"+T(n,":")}},t:function(e,t,r){return v(Math.trunc(e/1e3),t.length)},T:function(e,t,r){return v(+e,t.length)}};function D(e,t=""){let r=e>0?"-":"+",n=Math.abs(e),a=Math.trunc(n/60),i=n%60;return 0===i?r+String(a):r+String(a)+t+v(i,2)}function j(e,t){return e%60==0?(e>0?"-":"+")+v(Math.abs(e)/60,2):T(e,t)}function T(e,t=""){let r=Math.abs(e);return(e>0?"-":"+")+v(Math.trunc(r/60),2)+t+v(r%60,2)}let S=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},C=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},P={p:C,P:(e,t)=>{let r,n=e.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return S(e,t);switch(a){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",S(a,t)).replace("{{time}}",C(i,t))}},N=/^D+$/,W=/^Y+$/,F=["D","DD","YY","YYYY"];var Y=e.i(9356);let I=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,O=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E=/^'([^]*?)'?$/,$=/''/g,q=/[a-zA-Z]/;e.s(["f",0,function(e,t,r){let n=u(),a=r?.locale??n.locale??s,i=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=(0,c.f)(e,r?.in);if(!(0,Y.f)(l))throw RangeError("Invalid time value");let d=t.match(O).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,P[t])(e,a.formatLong):e}).join("").match(I).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var r;let t;return{isToken:!1,value:(t=(r=e).match(E))?t[1].replace($,"'"):r}}if(M[t])return{isToken:!0,value:e};if(t.match(q))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(d=a.localize.preprocessor(l,d));let m={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return d.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!r?.useAdditionalWeekYearTokens&&W.test(i)||!r?.useAdditionalDayOfYearTokens&&N.test(i))&&function(e,t,r){var n,a,i;let o,s=(n=e,a=t,i=r,o="Y"===n[0]?"years":"days of the month",`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(s),F.includes(e))throw RangeError(s)}(i,t,String(e)),(0,M[i[0]])(l,i,a.localize,m)}).join("")}],92042)},9356,e=>{var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{var t=e.i(35113);e.s(["f",0,function(e,r){let n=(0,t.f)(e,r?.in);return n.setHours(0,0,0,0),n}])},35113,2848,98170,e=>{let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)}])})();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,38291,(e,t,s)=>{let r="/404";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(3617)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([r])})},3617,e=>{"use strict";var t=e.i(91398),s=e.i(41158),r=e.i(69322),l=e.i(5505);let a=()=>{let{formatMessage:e}=(0,r.S)();return(0,t.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,t.jsx)("div",{children:(0,t.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:e({id:"page_not_found",defaultMessage:"Page Not Found"})})}),(0,t.jsx)(l.U,{children:(0,t.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-yellow-100 dark:bg-yellow-900",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-yellow-600 dark:text-yellow-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})})}),(0,t.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-yellow-600 dark:text-yellow-400",children:e({id:"error_404",defaultMessage:"404 Error"})}),(0,t.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:e({id:"not_found_message",defaultMessage:"Sorry, we couldn't find the page you're looking for."})})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,t.jsx)(s.default,{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:e({id:"back_to_home",defaultMessage:"Back to Home"})}),(0,t.jsx)("button",{type:"button",onClick:()=>window.history.back(),className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:e({id:"go_back",defaultMessage:"Go Back"})})]})]})})]})})};a.getLayout=e=>e,e.s(["default",0,a])}]);
|