@unchainedshop/admin-ui 4.8.34 → 4.9.1
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/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/3N8lTawkhD5WNCBa3Xrre/_buildManifest.js +258 -0
- package/out/_next/static/chunks/{3hubf9lb56zls.js → 0-66i4h-noxvn.js} +1 -1
- package/out/_next/static/chunks/0-wbl3cr3959x.js +1 -0
- package/out/_next/static/chunks/01bmb-z2nror5.js +63 -0
- package/out/_next/static/chunks/01ehk69jm7o3h.js +1 -0
- package/out/_next/static/chunks/01v4zuf_1s632.js +24 -0
- package/out/_next/static/chunks/{35odkwyh-md-p.js → 02bw09719wk6m.js} +2 -2
- package/out/_next/static/chunks/{37j2g662wreov.js → 04u9l5z90u8zc.js} +1 -1
- package/out/_next/static/chunks/{29fdom9djvjop.js → 05kae8xt4d-mt.js} +3 -3
- package/out/_next/static/chunks/{181zsbok_ljo_.js → 060-0-y0yq4tn.js} +1 -1
- package/out/_next/static/chunks/06umepciqel5y.js +15 -0
- package/out/_next/static/chunks/{0e4nzgbtw6x_d.js → 07oa-1j75vunn.js} +2 -2
- package/out/_next/static/chunks/07qh9c3qklj41.js +3 -0
- package/out/_next/static/chunks/08aonh4sng6e2.js +7 -0
- package/out/_next/static/chunks/08u8uu0r0k0o9.js +9 -0
- package/out/_next/static/chunks/096x-m7s73l-c.js +1 -0
- package/out/_next/static/chunks/{1p3agrt0e0t9t.js → 0ab6zl-u7ml1p.js} +2 -2
- package/out/_next/static/chunks/0amj69l-d5-85.js +1 -0
- package/out/_next/static/chunks/{1edk56b1rx05q.js → 0bvh9mjjgn_w3.js} +1 -1
- package/out/_next/static/chunks/0crno_6ew111i.js +8 -0
- package/out/_next/static/chunks/{1nikeez809jr8.js → 0fogiqvh9bznp.js} +2 -2
- package/out/_next/static/chunks/0g1uyaoneybnf.js +41 -0
- package/out/_next/static/chunks/0h373kx_wlwzy.js +1 -0
- package/out/_next/static/chunks/{3vf-3rhaiq_n1.js → 0h7smollos00x.js} +2 -2
- package/out/_next/static/chunks/{1cz2fp89ssu5d.js → 0hq9p72y7ki0h.js} +1 -1
- package/out/_next/static/chunks/0hqvf-b6yry5-.js +12 -0
- package/out/_next/static/chunks/0ikig1vazlo5p.js +1 -0
- package/out/_next/static/chunks/{0af-w950yl0l5.js → 0jol393fjamwq.js} +3 -3
- package/out/_next/static/chunks/0jr0_6oupairk.js +13 -0
- package/out/_next/static/chunks/{1y0mbad52vao6.js → 0m006z-rbif-h.js} +2 -2
- package/out/_next/static/chunks/0n3ixknyc6_ma.js +1 -0
- package/out/_next/static/chunks/0nsa2b75vwe9r.js +43 -0
- package/out/_next/static/chunks/0oeas4d1fnzbb.js +36 -0
- package/out/_next/static/chunks/0q7n10ncl7jak.js +119 -0
- package/out/_next/static/chunks/{0mavm6oemhb-d.js → 0qyx2854lfah9.js} +3 -3
- package/out/_next/static/chunks/{2sc_zg0bvlmak.js → 0rjrvdq5w-984.js} +2 -2
- package/out/_next/static/chunks/{2i07f6t3xq708.js → 0tavmhzr7m3u9.js} +2 -2
- package/out/_next/static/chunks/0tp8_k14lgo7i.js +12 -0
- package/out/_next/static/chunks/{3ae7hwg50q67p.js → 0u290yfuv_u2_.js} +1 -1
- package/out/_next/static/chunks/{0sv5w2_cae8tj.js → 0v2v5x8dtpfh6.js} +3 -3
- package/out/_next/static/chunks/0var4u7x1jrna.js +1 -0
- package/out/_next/static/chunks/0vik72soxnie0.js +32 -0
- package/out/_next/static/chunks/{0dzn-wes7gjdt.js → 0xry2ss7g-gk_.js} +1 -1
- package/out/_next/static/chunks/0xywzizg7ntfd.js +44 -0
- package/out/_next/static/chunks/0y3lr_rwmezii.js +1 -0
- package/out/_next/static/chunks/0zvpipo0q47xl.js +15 -0
- package/out/_next/static/chunks/{1t5wlk2j9d4ss.js → 1---h4b693b81.js} +1 -1
- package/out/_next/static/chunks/1-jp7as2d7zp6.js +44 -0
- package/out/_next/static/chunks/10jrq6wew06i6.js +23 -0
- package/out/_next/static/chunks/{25_kx8fsd5k0d.js → 1164-c5abnfyy.js} +2 -2
- package/out/_next/static/chunks/{2893194r7ays6.js → 119d8cbr8mij2.js} +2 -2
- package/out/_next/static/chunks/122a0xxhrak7b.js +1 -0
- package/out/_next/static/chunks/{3ciuktttw5i71.js → 129-110-fx4g2.js} +3 -3
- package/out/_next/static/chunks/12hh2h53sa5vl.js +33 -0
- package/out/_next/static/chunks/{1t8jj0-6g8uyd.js → 12yd8t4k6c0t1.js} +1 -1
- package/out/_next/static/chunks/14qvgxj89rj3h.js +16 -0
- package/out/_next/static/chunks/{3ljqspad_536i.js → 179acu8_sgizp.js} +1 -1
- package/out/_next/static/chunks/{0l1xycyhdztmy.js → 1a120nyn1xssj.js} +1 -1
- package/out/_next/static/chunks/{3t1q9dc-nlr3j.js → 1ata93ftwo5e5.js} +1 -1
- package/out/_next/static/chunks/{1pcrg5m_9agof.js → 1ca5de-nq28g5.js} +2 -2
- package/out/_next/static/chunks/{2a1m9ia2zp2t9.js → 1cm161_p0htmv.js} +2 -2
- package/out/_next/static/chunks/{2wg_0x11ef6uc.js → 1cp5rjbtbj7im.js} +2 -2
- package/out/_next/static/chunks/{0iliy1guwadr4.js → 1d-xju_35oiky.js} +3 -3
- package/out/_next/static/chunks/{3ylglplnmhho2.js → 1d2l6vs2y96io.js} +2 -2
- package/out/_next/static/chunks/1dl-ild2tc5fi.js +10 -0
- package/out/_next/static/chunks/{0buyef0vid-ym.js → 1eh2ap8tgodgp.js} +3 -3
- package/out/_next/static/chunks/{3z51ql4pljujr.js → 1eq7kau-2figm.js} +2 -2
- package/out/_next/static/chunks/{1pbfjibxvspoj.js → 1h9sc720aq7zm.js} +2 -2
- package/out/_next/static/chunks/1igwz8p4ycvw8.js +68 -0
- package/out/_next/static/chunks/{3180oblgqnad5.js → 1kti-rwl34_4h.js} +5 -5
- package/out/_next/static/chunks/{3d0cucf7-qlz9.js → 1l_4m35yky3vy.js} +2 -2
- package/out/_next/static/chunks/{09kihj6ay6mqn.js → 1n3dc-2mpab65.js} +2 -2
- package/out/_next/static/chunks/1nmwo96drt-k-.js +18 -0
- package/out/_next/static/chunks/1o2f_mtcw23zu.js +7 -0
- package/out/_next/static/chunks/1p6gh68l05_ak.js +1 -0
- package/out/_next/static/chunks/1sf71q2hkno8s.js +43 -0
- package/out/_next/static/chunks/{2lh-lsn2en0pp.js → 1u0hy0trwf8uk.js} +1 -1
- package/out/_next/static/chunks/{3d2mjl6ls12h_.js → 1w22i299136_d.js} +2 -2
- package/out/_next/static/chunks/{1gyt_0aw92ysk.js → 1w69w7bav5fw7.js} +2 -2
- package/out/_next/static/chunks/{0qkdih-hi6c2m.js → 1xjtni6_z8nxp.js} +2 -2
- package/out/_next/static/chunks/1y-db7_k0jgmb.js +1 -0
- package/out/_next/static/chunks/1y7wv_pb43doo.js +31 -0
- package/out/_next/static/chunks/1y84xua0xgwrn.js +39 -0
- package/out/_next/static/chunks/1yqexzm6_8pjh.js +71 -0
- package/out/_next/static/chunks/1zsrg53se30e4.js +7 -0
- package/out/_next/static/chunks/2-e86kt6vo58k.js +24 -0
- package/out/_next/static/chunks/2-lj_k3ewua_k.js +71 -0
- package/out/_next/static/chunks/2-omz_z29hp_j.js +1 -0
- package/out/_next/static/chunks/20f2gs8iua6fk.js +1 -0
- package/out/_next/static/chunks/{30lpu8mp25ag1.js → 21hoklicpietg.js} +2 -2
- package/out/_next/static/chunks/{40trlm34cnu6v.js → 22kqizuxl67c-.js} +1 -1
- package/out/_next/static/chunks/259obwu0l4d7_.js +8 -0
- package/out/_next/static/chunks/{13bcbgywansr-.js → 25k-q1asg1of_.js} +3 -3
- package/out/_next/static/chunks/28cyd6sk-kr-8.js +8 -0
- package/out/_next/static/chunks/{0raj1enjck-ex.js → 29j-tq9ymqima.js} +1 -1
- package/out/_next/static/chunks/{27h86ht8kvqop.js → 29lz37yh8ev4g.js} +5 -5
- package/out/_next/static/chunks/29qzk6rf1oo1g.js +8 -0
- package/out/_next/static/chunks/{0_m0oaoy22un6.js → 2_0nlvri-u3yb.js} +2 -2
- package/out/_next/static/chunks/{0duy5y86n4tl3.js → 2_ebmmbmnfung.js} +2 -2
- package/out/_next/static/chunks/2_nlmvpwjvbuc.js +1 -0
- package/out/_next/static/chunks/2abvgs_fkmp8g.js +12 -0
- package/out/_next/static/chunks/2ad3aff-kd860.js +16 -0
- package/out/_next/static/chunks/2asfqwl1f6ptd.js +71 -0
- package/out/_next/static/chunks/2bo7flfdpsojx.js +1 -0
- package/out/_next/static/chunks/2c3pj-ifdt9sv.js +8 -0
- package/out/_next/static/chunks/{2w_0wk23uirx6.js → 2dem0g4wrt39t.js} +4 -4
- package/out/_next/static/chunks/{343n05fzlb2an.js → 2dg0lloufpbdb.js} +3 -3
- package/out/_next/static/chunks/2e-u5srw2p0n6.js +23 -0
- package/out/_next/static/chunks/{2eac98hmhj8tp.js → 2gfl5yx5-dzk7.js} +2 -2
- package/out/_next/static/chunks/{1aojv48cs6ufj.js → 2gqvhjmjfypz9.js} +2 -2
- package/out/_next/static/chunks/2hqwx9e8xxk58.js +1 -0
- package/out/_next/static/chunks/2i5k6tlwd58hp.js +1 -0
- package/out/_next/static/chunks/2jro0zgoal0kz.js +39 -0
- package/out/_next/static/chunks/2khmu80rhpzi0.js +7 -0
- package/out/_next/static/chunks/{0ah2m5cl87avs.js → 2mohqnh8393k0.js} +2 -2
- package/out/_next/static/chunks/{1ew4i-mm087xs.js → 2ozm0eim2f3sc.js} +1 -1
- package/out/_next/static/chunks/{26wuxv_gsk3jb.js → 2pass0agqwhhu.js} +1 -1
- package/out/_next/static/chunks/{011h6mc3kuxq9.js → 2q16yoj85f5--.js} +3 -3
- package/out/_next/static/chunks/{2oyujmi3aqs6f.js → 2qgzju2ps7tn2.js} +2 -2
- package/out/_next/static/chunks/2qmtn9qs15pe6.js +23 -0
- package/out/_next/static/chunks/2starzmj1ng6d.js +13 -0
- package/out/_next/static/chunks/2tltorbhbyodj.js +1 -0
- package/out/_next/static/chunks/{1uzvaujlk79rn.js → 2u8vf0tm3oweg.js} +2 -2
- package/out/_next/static/chunks/2vveotzevnkfp.js +1 -0
- package/out/_next/static/chunks/{1inbspyz1wpdj.js → 2xq9wvqdb609r.js} +1 -1
- package/out/_next/static/chunks/{2zx42lz8zcp91.js → 2ye-zd_107wh_.js} +2 -2
- package/out/_next/static/chunks/{2-2kg667v82ek.js → 2yttr5mp9mh23.js} +4 -4
- package/out/_next/static/chunks/{35tgy8og7dw73.js → 2z6e-_lzi04v4.js} +2 -2
- package/out/_next/static/chunks/{187p6ryym-x3i.js → 2z_zbj33aeywz.js} +3 -3
- package/out/_next/static/chunks/2zq9_3p7cg3wb.js +9 -0
- package/out/_next/static/chunks/{19f7gu0kvm7xl.js → 2zuoqtb2013in.js} +3 -3
- package/out/_next/static/chunks/302pe6kwodzps.js +31 -0
- package/out/_next/static/chunks/30c42kdwlkc30.js +7 -0
- package/out/_next/static/chunks/30jqt_vus0ht9.js +1 -0
- package/out/_next/static/chunks/30lj8m3h07k4v.js +1 -0
- package/out/_next/static/chunks/3328j3xx0enu_.js +1 -0
- package/out/_next/static/chunks/339grcmrh2be_.js +1 -0
- package/out/_next/static/chunks/{06gyzyq56kw_2.js → 33pzdslirf1vx.js} +2 -2
- package/out/_next/static/chunks/33w88h3hbfzbk.js +1 -0
- package/out/_next/static/chunks/35wqmtcm47y_w.js +39 -0
- package/out/_next/static/chunks/{3_zgl8ng3nj3g.js → 36o0xcj8l-mau.js} +4 -4
- package/out/_next/static/chunks/37lm6c8w-c7bs.js +5 -0
- package/out/_next/static/chunks/38op2tjm2a38-.js +10 -0
- package/out/_next/static/chunks/398z-133dgtem.js +14 -0
- package/out/_next/static/chunks/{01rghd4wcj4ex.js → 39_3a5rlqmxjd.js} +2 -2
- package/out/_next/static/chunks/3admj5_pwyksw.js +1 -0
- package/out/_next/static/chunks/3c7j6t3by9tj7.js +155 -0
- package/out/_next/static/chunks/{09irjy-7k1922.js → 3cyj5euwvlu1t.js} +1 -1
- package/out/_next/static/chunks/3d8yko5j3oni7.js +100 -0
- package/out/_next/static/chunks/3de9en65e-2qx.js +1 -0
- package/out/_next/static/chunks/3f_aw3x3h5zrb.js +54 -0
- package/out/_next/static/chunks/{2m_p_bx_gsrlf.js → 3fdcfxfy7_ijd.js} +2 -2
- package/out/_next/static/chunks/{1g1na7eoafolj.js → 3g-zjnc7_4583.js} +1 -1
- package/out/_next/static/chunks/3h22kt6ngwxji.js +12 -0
- package/out/_next/static/chunks/{0eb98o1s1ojq7.js → 3id1esivwnwn0.js} +2 -2
- package/out/_next/static/chunks/3jy48b2yol0pg.js +28 -0
- package/out/_next/static/chunks/{27tf612b6s-45.js → 3k_w16w3eoy6p.js} +3 -3
- package/out/_next/static/chunks/{3fvf-l1-bp--9.js → 3ks-dq47wvmwf.js} +2 -2
- package/out/_next/static/chunks/{294uscwjocbpf.js → 3lch4_9c5hsbw.js} +2 -2
- package/out/_next/static/chunks/{1hvvot0p0442h.js → 3lirqns-0nf0z.js} +2 -2
- package/out/_next/static/chunks/{0wd1l2f5cin-0.js → 3o83hyi0qcw6f.js} +1 -1
- package/out/_next/static/chunks/3ot810y4c4j5w.js +7 -0
- package/out/_next/static/chunks/3q2g8_47dz6k3.js +95 -0
- package/out/_next/static/chunks/{181-yaruteuqm.js → 3s0alhaimym6o.js} +2 -2
- package/out/_next/static/chunks/{26x7o2gzms54c.js → 3sull2f3eleju.js} +2 -2
- package/out/_next/static/chunks/3tzv_v3fezh8p.js +1 -0
- package/out/_next/static/chunks/3z14p5htgyrv9.js +7 -0
- package/out/_next/static/chunks/40tteajtwsyj8.js +116 -0
- package/out/_next/static/chunks/{0hgha-mywwcsd.js → 40vdr7s_c0h75.js} +3 -3
- package/out/_next/static/chunks/41184_al87--k.js +46 -0
- package/out/_next/static/chunks/{1zfhgsywbsg2e.js → 42iy04ceb32i1.js} +2 -2
- package/out/_next/static/chunks/438vgwwahfwwj.js +54 -0
- package/out/_next/static/chunks/{0b4rcc2y1ex8j.js → 44l-287ai2bc0.js} +1 -1
- package/out/_next/static/chunks/{0uef4ugmc_g10.js → 44p9j-nopxm66.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 +26 -26
- package/out/_next/static/DUswS2PYjGTW9uUGVJ6xd/_buildManifest.js +0 -258
- package/out/_next/static/chunks/0-e21p2v90828.js +0 -23
- package/out/_next/static/chunks/0-w25xfpw-_e9.js +0 -44
- package/out/_next/static/chunks/01n5rd9ngv-t4.js +0 -1
- package/out/_next/static/chunks/03omde6jo6sta.js +0 -1
- package/out/_next/static/chunks/06kqbwwnuu3te.js +0 -1
- package/out/_next/static/chunks/07i53w2a3x0so.js +0 -1
- package/out/_next/static/chunks/09ml8g7-byzio.js +0 -71
- package/out/_next/static/chunks/09yk8jmltcqcd.js +0 -5
- package/out/_next/static/chunks/0ahfhl4hk0fuj.js +0 -12
- package/out/_next/static/chunks/0gow2wyosbjb6.js +0 -71
- package/out/_next/static/chunks/0h4ehpg2f7fp2.js +0 -46
- package/out/_next/static/chunks/0lh8xbz1qulcr.js +0 -15
- package/out/_next/static/chunks/0nk0kgnsiap5g.js +0 -116
- package/out/_next/static/chunks/0o3o1f00j5wxa.js +0 -8
- package/out/_next/static/chunks/0pny1c_ni8rn7.js +0 -39
- package/out/_next/static/chunks/0q62hlhpcumrt.js +0 -33
- package/out/_next/static/chunks/0qz61g2g6ijfh.js +0 -54
- package/out/_next/static/chunks/0rmomvc8u__n4.js +0 -10
- package/out/_next/static/chunks/0s0ufx1fl32v7.js +0 -12
- package/out/_next/static/chunks/0sgxa66r-iing.js +0 -1
- package/out/_next/static/chunks/0ub1l2hrjkz2-.js +0 -1
- package/out/_next/static/chunks/0uksleo_xd7j5.js +0 -1
- package/out/_next/static/chunks/0wbciytf8tnsa.js +0 -18
- package/out/_next/static/chunks/0zfm51umxvjc6.js +0 -1
- package/out/_next/static/chunks/10enect1zh1vj.js +0 -3
- package/out/_next/static/chunks/11e6h7l-whxh3.js +0 -7
- package/out/_next/static/chunks/11vnr4kb9qkjr.js +0 -1
- package/out/_next/static/chunks/13ytpmhxkpnwy.js +0 -1
- package/out/_next/static/chunks/14pnkf7som1m1.js +0 -1
- package/out/_next/static/chunks/17nr-ur3sbo_z.js +0 -24
- package/out/_next/static/chunks/1802-tohqffps.js +0 -1
- package/out/_next/static/chunks/198-_r3as1j63.js +0 -8
- package/out/_next/static/chunks/19kin-dby998k.js +0 -8
- package/out/_next/static/chunks/1cs-w7vppvm8o.js +0 -1
- package/out/_next/static/chunks/1ewn0p_wru2ra.js +0 -15
- package/out/_next/static/chunks/1gfocmey44pyr.js +0 -7
- package/out/_next/static/chunks/1grwyry6zqknr.js +0 -100
- package/out/_next/static/chunks/1l2p87t0w4-yb.js +0 -8
- package/out/_next/static/chunks/1lew6f82bg1x1.js +0 -1
- package/out/_next/static/chunks/1nbc2o30_g9bj.js +0 -95
- package/out/_next/static/chunks/1p1f35qy1lt0s.js +0 -7
- package/out/_next/static/chunks/1p6qsnui0zjik.js +0 -44
- package/out/_next/static/chunks/1rm2w7nvmejdw.js +0 -31
- package/out/_next/static/chunks/1ttpypjue-zdo.js +0 -63
- package/out/_next/static/chunks/1xnlhfvi8m4a8.js +0 -1
- package/out/_next/static/chunks/1zhfbuv-et-34.js +0 -13
- package/out/_next/static/chunks/21z3-xqp62vs8.js +0 -7
- package/out/_next/static/chunks/243ubs_ig9hwo.js +0 -13
- package/out/_next/static/chunks/249u7sg_mycfl.js +0 -24
- package/out/_next/static/chunks/24_57hr3o_ll8.js +0 -1
- package/out/_next/static/chunks/252_8-fyz3vjh.js +0 -9
- package/out/_next/static/chunks/29c8fj1poxxec.js +0 -39
- package/out/_next/static/chunks/2__om5ddn5b91.js +0 -7
- package/out/_next/static/chunks/2_krlw-01uumq.js +0 -119
- package/out/_next/static/chunks/2c2arjke9rx-g.js +0 -14
- package/out/_next/static/chunks/2de99go2pdzl3.js +0 -12
- package/out/_next/static/chunks/2dnn7jhe55iy8.js +0 -32
- package/out/_next/static/chunks/2h_j6q1pnhf07.js +0 -16
- package/out/_next/static/chunks/2i6nzzm63658q.js +0 -10
- package/out/_next/static/chunks/2ksch2zc9k7uj.js +0 -71
- package/out/_next/static/chunks/2of_ro6r-fwjx.js +0 -16
- package/out/_next/static/chunks/2pumckmhpvlo2.js +0 -23
- package/out/_next/static/chunks/2r4x7nghsoqhe.js +0 -7
- package/out/_next/static/chunks/2s-226q_lc70k.js +0 -9
- package/out/_next/static/chunks/2tlxpweh5c3fh.js +0 -43
- package/out/_next/static/chunks/3-l_ott2smmqm.js +0 -7
- package/out/_next/static/chunks/3168hp9w1h68h.js +0 -68
- package/out/_next/static/chunks/32traobkc55z_.js +0 -54
- package/out/_next/static/chunks/36mjt8cgckx2r.js +0 -1
- package/out/_next/static/chunks/37vezmh4pf5j4.js +0 -12
- package/out/_next/static/chunks/38uyt89jy0tt7.js +0 -1
- package/out/_next/static/chunks/39-pv-7i0kah_.js +0 -155
- package/out/_next/static/chunks/3__spmlu2_ez6.js +0 -41
- package/out/_next/static/chunks/3a6ahlxxtjn1v.js +0 -8
- package/out/_next/static/chunks/3btzusax1chra.js +0 -36
- package/out/_next/static/chunks/3dxz87hw4lx39.js +0 -1
- package/out/_next/static/chunks/3f2rrfc7u_j6o.js +0 -1
- package/out/_next/static/chunks/3hxp-xwv4g3ek.js +0 -1
- package/out/_next/static/chunks/3mnca5jc1q8c_.js +0 -43
- package/out/_next/static/chunks/3skw31vkshyt2.js +0 -1
- package/out/_next/static/chunks/3szdkqecej3fb.js +0 -1
- package/out/_next/static/chunks/3t-6admtmkzzy.js +0 -39
- package/out/_next/static/chunks/3u6_-nj6i_l_r.js +0 -1
- package/out/_next/static/chunks/3uql2yuaknc-3.js +0 -1
- package/out/_next/static/chunks/3ym4exwo-py5d.js +0 -23
- package/out/_next/static/chunks/3yre4w19nehxf.js +0 -1
- package/out/_next/static/chunks/3zhcq27e8jjni.js +0 -28
- package/out/_next/static/chunks/40fs5lh83_iox.js +0 -1
- package/out/_next/static/chunks/40kvqov4hgd5s.js +0 -31
- package/out/_next/static/chunks/43n5979c79f0d.js +0 -1
- /package/out/_next/static/{DUswS2PYjGTW9uUGVJ6xd → 3N8lTawkhD5WNCBa3Xrre}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{DUswS2PYjGTW9uUGVJ6xd → 3N8lTawkhD5WNCBa3Xrre}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/account", [
|
|
2
|
+
"static/chunks/2vveotzevnkfp.js",
|
|
3
|
+
"static/chunks/1yqexzm6_8pjh.js",
|
|
4
|
+
"static/chunks/339grcmrh2be_.js",
|
|
5
|
+
"static/chunks/29lz37yh8ev4g.js",
|
|
6
|
+
"static/chunks/30jqt_vus0ht9.js",
|
|
7
|
+
"static/chunks/2hqwx9e8xxk58.js",
|
|
8
|
+
"static/chunks/0ikig1vazlo5p.js",
|
|
9
|
+
"static/chunks/096x-m7s73l-c.js",
|
|
10
|
+
"static/chunks/07oa-1j75vunn.js",
|
|
11
|
+
"static/chunks/turbopack-077hmtqrhcoji.js"
|
|
12
|
+
])
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69322,15845,e=>{"use strict";var t,r,i,n,s,o=e.i(91788);function a(e,t){let r=t&&t.cache?t.cache:m,i=t&&t.serializer?t.serializer:u;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let n=1===e.length?h:l;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function h(e,t,r,i){let n=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),s=t.get(n);return void 0===s&&(s=e.call(this,i),t.set(n,s)),s}function l(e,t,r){let i=Array.prototype.slice.call(arguments,3),n=r(i),s=t.get(n);return void 0===s&&(s=e.apply(this,i),t.set(n,s)),s}let u=function(){return JSON.stringify(arguments)};var c=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let m={create:function(){return new c}},f={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,l.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,h.bind(this,e,r,i)}};e.s(["Z",0,a,"f",0,f],15845);let p=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,g=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,d=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,b=/^(@+)?(\+|#+)?[rs]?$/g,y=/(\*)(0+)|(#+)(0+)|(0+)/g,E=/^(0+)$/;function H(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(b,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function B(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function T(e){let t=B(e);return t||{}}let I=((t={})[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG",t),S=((r={})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",r);function P(e){return!!(e&&"object"==typeof e&&0===e.type)}function A(e){return!!(e&&"object"==typeof e&&1===e.type)}let N=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L=/([^\t-\r -\/:-@\[-\^`\{-~\x85\xA0-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u1680\u2000-\u200A\u2010-\u2029\u202F-\u203E\u2041-\u2053\u2055-\u205F\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3000-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]*)/g,D={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HT:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["hB","hb","H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},_=RegExp(`^${N.source}*`),v=RegExp(`${N.source}*$`);function F(e,t){return{start:e,end:t}}let R=!!Object.fromEntries,M=!!String.prototype.trimStart,w=!!String.prototype.trimEnd,O=R?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},C=M?function(e){return e.trimStart()}:function(e){return e.replace(_,"")},U=w?function(e){return e.trimEnd()}:function(e){return e.replace(v,"")},G=function(){try{let e=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");if(e.exec("a ")?.[1]==="a")return e}catch{}return L}();var k=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons,this.captureEscapes=!!t.captureEscapes}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let i=0;i<e.length;){let n=e.charCodeAt(i);switch(n){case 35:case 39:case 60:case 123:case 125:return null}if(10===n)t++,r=1,i++;else if(r++,n>=55296&&n<=56319&&i+1<e.length){let t=e.charCodeAt(i+1);i+=t>=56320&&t<=57343?2:1}else i++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,...this.captureEscapes&&{rawValue:this.message},location:F(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let n=this.char();if(123===n){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===n&&e>0)break;else if(35===n&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:7,location:F(e,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&x(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(26,F(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${i}/>`,location:F(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,F(r,this.clonePosition()));{let n=this.parseMessage(e+1,t,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,F(r,this.clonePosition()));{if(this.isEOF()||!x(this.char()))return this.error(23,F(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(26,F(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:i,children:s,location:F(r,this.clonePosition())},err:null}:this.error(23,F(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;continue}let n=this.tryParseUnquoted(e,t);if(n){i+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}return{val:{type:0,value:i,location:F(r,this.clonePosition()),...this.captureEscapes&&{rawValue:this.message.slice(r.offset,this.offset())}},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(x(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,F(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(3,F(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:i,location:F(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,F(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(3,F(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,G.lastIndex=r,G.exec(e)[1]??""),n=r+i.length;return this.bumpTo(n),{value:i,location:F(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(4,F(n,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=U(r.val);if(0===i.length)return this.error(6,F(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:F(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let n=F(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=C(e.style.slice(2));if("number"===s){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:2,value:r,location:n,style:i.val},err:null}}{let i;if(0===t.length)return this.error(10,n);let o=t;return this.locale&&(o=function(e,t){let r="";for(let i=0;i<e.length;i++){let n=e.charAt(i);if("j"===n){let s=0;for(;i+1<e.length&&e.charAt(i+1)===n;)s++,i++;let o=1+(1&s),a=s<2?1:3+(s>>1),h=function(e){let t,r=e.hourCycle;if(void 0===r&&(r=e.getHourCycles?.()[0]??e.hourCycles?.[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(D[`${i}-${t}`]||D[t||""]||D[i||""]||D[`${i}-001`]||D["001"])[0].charAt(0)}(t);for(("H"==h||"k"==h)&&(a=0);a-- >0;)r+="a";for(;o-- >0;)r=h+r}else"J"===n?r+="H":r+=n}return r}(t,this.locale)),{val:{type:"date"===s?3:4,value:r,location:n,style:{type:1,pattern:o,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},o.replace(p,e=>{let t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-3];break;case"a":i.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}}},err:null}}}return{val:{type:"number"===s?2:"date"===s?3:4,value:r,location:n,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,F(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=e.val}let h=this.tryParsePluralOrSelectOptions(e,s,t,o);if(h.err)return h;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=F(i,this.clonePosition());if("select"===s)return{val:{type:5,value:r,options:O(h.val),location:u},err:null};return{val:{type:6,value:r,options:O(h.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,F(n,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,F(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,F(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(g).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...n]=t;for(let e of n)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:n})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"unit":t.style="unit",t.unit=r.options[0];continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...T(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(y,function(e,r,i,n,s,o){if(r)t.minimumIntegerDigits=i.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(E.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(d.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(d,function(e,r,i,n,s,o){return"*"===i?t.minimumFractionDigits=r.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:s&&o?(t.minimumFractionDigits=s.length,t.maximumFractionDigits=s.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...H(e)});continue}if(b.test(r.stem)){t={...t,...H(r.stem)};continue}let e=B(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!E.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let n=!1,s=[],o=new Set,{value:a,location:h}=i;for(;;){if(0===a.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;h=F(e,this.clonePosition()),a=this.message.slice(e.offset,this.offset())}else break}if(o.has(a))return this.error("select"===t?21:20,h);"other"===a&&(n=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,F(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;s.push([a,{value:l.val,location:F(i,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:h}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===t?15:16,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(22,F(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let n=!1,s=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)n=!0,s=10*s+(e-48),this.bump();else break}let o=F(i,this.clonePosition());return n?Number.isSafeInteger(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){let t=this.offset();if(this.message.slice(t,t+e.length)===e){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function x(e){return e>=97&&e<=122||e>=65&&e<=90}function $(e,t={}){let r=new k(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(I[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&P(t.style)||(3===t.type||4===t.type)&&A(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}let j=((i={}).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API",i);var V=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},K=class extends V{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",i)}},Z=class extends V{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},X=class extends V{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function Y(e){return"function"==typeof e}function W(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var z=class e{constructor(t,r=e.defaultLocale,i,n){var s;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,n,s,o,a){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let h=[];for(let l of t){if(0===l.type){h.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof o&&h.push({type:0,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(s&&t in s))throw new X(t,a);let u=s[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),h.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?n.date[l.style]:A(l.style)?l.style.parsedOptions:void 0;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?n.time[l.style]:A(l.style)?l.style.parsedOptions:n.time.medium;h.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?n.number[l.style]:P(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}h.push({type:0,value:i.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=s[u];if(!Y(c))throw new Z(u,"function",a);let m=c(e(t,r,i,n,s,o).map(e=>e.value));Array.isArray(m)||(m=[m]),h.push(...m.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new K(l.value,u,Object.keys(l.options),a);h.push(...e(o.value,r,i,n,s));continue}if(6===l.type){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new V(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,"MISSING_INTL_API",a);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new K(l.value,u,Object.keys(l.options),a);let c="bigint"==typeof u?Number(u):u;h.push(...e(o.value,r,i,n,s,c-(l.offset||0)));continue}}return h.length<2?h:h.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=n||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(s=e.formats,i?Object.keys(s).reduce((e,t)=>{var r,n;return e[t]=(r=s[t],(n=i[t])?{...r,...n,...Object.keys(r).reduce((e,t)=>(e[t]={...r[t],...n[t]},e),{})}:r),e},{...s}):s),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:a((...e)=>new Intl.NumberFormat(...e),{cache:W(e.number),strategy:f.variadic}),getDateTimeFormat:a((...e)=>new Intl.DateTimeFormat(...e),{cache:W(e.dateTime),strategy:f.variadic}),getPluralRules:a((...e)=>new Intl.PluralRules(...e),{cache:W(e.pluralRules),strategy:f.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=$}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}},J=class e extends Error{constructor(t,r,i){let n=i?i instanceof Error?i:Error(String(i)):void 0;super(`[@formatjs/intl Error ${t}] ${r}
|
|
4
|
+
${n?`
|
|
5
|
+
${n.message}
|
|
6
|
+
${n.stack}`:""}`),this.code=t,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,e)}},q=class extends J{constructor(e,t){super("UNSUPPORTED_FORMATTER",e,t)}},Q=class extends J{constructor(e,t){super("INVALID_CONFIG",e,t)}},ee=class extends J{constructor(e,t){super("MISSING_DATA",e,t)}},et=class extends J{constructor(e,t,r){super("FORMAT_ERROR",`${e}
|
|
7
|
+
Locale: ${t}
|
|
8
|
+
`,r),this.locale=t}},er=class extends et{constructor(e,t,r,i){super(`${e}
|
|
9
|
+
MessageID: ${r?.id}
|
|
10
|
+
Default Message: ${r?.defaultMessage}
|
|
11
|
+
Description: ${r?.description}
|
|
12
|
+
`,t,i),this.descriptor=r,this.locale=t}},ei=class extends J{constructor(e,t){super("MISSING_TRANSLATION",`Missing message: "${e.id}" for locale "${t}", using ${e.defaultMessage?`default message (${"string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map(e=>e.value??JSON.stringify(e)).join()})`:"id"} as fallback.`),this.descriptor=e}};function en(e,t,r={}){return t.reduce((t,i)=>(i in e?t[i]=e[i]:i in r&&(t[i]=r[i]),t),{})}let es={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:e=>{},onWarn:e=>{}};function eo(){return{dateTime:{},number:{},message:{},duration:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ea(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}function eh(e,t,r,i){let n,s=e&&e[t];if(s&&(n=s[r]),n)return n;i(new q(`No ${t} format named: ${r}`))}function el(e,t){return Object.keys(e).reduce((r,i)=>(r[i]={timeZone:t,...e[i]},r),{})}function eu(e,t){return Object.keys({...e,...t}).reduce((r,i)=>(r[i]={...e[i],...t[i]},r),{})}function ec(e,t){if(!t)return e;let r=z.formats;return{...r,...e,date:eu(el(r.date,t),el(e.date||{},t)),time:eu(el(r.time,t),el(e.time||{},t))}}let em=({locale:e,formats:t,messages:r,defaultLocale:i,defaultFormats:n,fallbackOnEmptyString:s,onError:o,timeZone:a,defaultRichTextElements:h},l,u={id:""},c,m)=>{let{id:f,defaultMessage:p}=u;f||function(e,t,r=Error){if(!e)throw new r(t)}(!1,`[@formatjs/intl] An \`id\` must be provided to format a message. You can either:
|
|
13
|
+
1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)
|
|
14
|
+
or [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR
|
|
15
|
+
2. Configure your \`eslint\` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)
|
|
16
|
+
to autofix this issue${function(e){let{defaultMessage:t}=e;try{return void 0!==t?`
|
|
17
|
+
Default Message: ${"string"==typeof t?t:JSON.stringify(t)}`:`
|
|
18
|
+
Message Descriptor: ${JSON.stringify(e)}`}catch{return""}}(u)}`);let g=String(f),d=r&&Object.prototype.hasOwnProperty.call(r,g)&&r[g];if(Array.isArray(d)&&1===d.length&&d[0].type===S.literal)return d[0].value;if(c={...h,...c},t=ec(t,a),n=ec(n,a),!d){if(!1===s&&""===d)return d;if((!p||e&&e.toLowerCase()!==i.toLowerCase())&&o(new ei(u,e)),p)try{return l.getMessageFormat(p,i,n,m).format(c)}catch(t){return o(new er(`Error formatting default message for: "${g}", rendering default message verbatim`,e,u,t)),"string"==typeof p?p:g}return g}try{return l.getMessageFormat(d,e,t,{formatters:l,...m}).format(c)}catch(t){o(new er(`Error formatting message: "${g}", using ${p?"default message":"id"} as fallback.`,e,u,t))}if(p)try{return l.getMessageFormat(p,i,n,m).format(c)}catch(t){o(new er(`Error formatting the default message for: "${g}", rendering message verbatim`,e,u,t))}return"string"==typeof d?d:"string"==typeof p?p:g},ef=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function ep({locale:e,formats:t,onError:r,timeZone:i},n,s,o={}){let{format:a}=o,h=en(o,ef,{...i&&{timeZone:i},...a&&eh(t,n,a,r)});return"time"!==n||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h={...h,hour:"numeric",minute:"numeric"}),s(e,h)}function eg(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ep(e,"date",t,i).format(n)}catch(t){e.onError(new et("Error formatting date.",e.locale,t))}return String(n)}function ed(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ep(e,"time",t,i).format(n)}catch(t){e.onError(new et("Error formatting time.",e.locale,t))}return String(n)}function eb(e,t,r,i,n={}){let s="string"==typeof r?new Date(r||0):r,o="string"==typeof i?new Date(i||0):i;try{return ep(e,"dateTimeRange",t,n).formatRange(s,o)}catch(t){e.onError(new et("Error formatting date time range.",e.locale,t))}return String(s)}function ey(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ep(e,"date",t,i).formatToParts(n)}catch(t){e.onError(new et("Error formatting date.",e.locale,t))}return[]}function eE(e,t,r,i={}){let n="string"==typeof r?new Date(r||0):r;try{return ep(e,"time",t,i).formatToParts(n)}catch(t){e.onError(new et("Error formatting time.",e.locale,t))}return[]}let eH=["style","numberingSystem","years","yearsDisplay","months","monthsDisplay","weeks","weeksDisplay","days","daysDisplay","hours","hoursDisplay","minutes","minutesDisplay","seconds","secondsDisplay","milliseconds","millisecondsDisplay","microseconds","microsecondsDisplay","nanoseconds","nanosecondsDisplay","fractionalDigits"];function eB({locale:e,formats:t,onError:r},i,n){if(!Intl.DurationFormat)return void r(new V('Intl.DurationFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-durationformat"',j.MISSING_INTL_API));let{format:s}=n;return i(e,en(n,eH,s&&eh(t,"duration",s,r)||{}))}function eT(e,t,r,i={}){try{return eB(e,t,i)?.format(r)??""}catch(t){e.onError(new et("Error formatting duration.",e.locale,t))}return""}function eI(e,t,r,i={}){try{return eB(e,t,i)?.formatToParts(r)??[]}catch(t){e.onError(new et("Error formatting duration.",e.locale,t))}return[]}let eS=["style","type","fallback","languageDisplay"];function eP({locale:e,onError:t},r,i,n){Intl.DisplayNames||t(new V(`Intl.DisplayNames is not available in this environment.
|
|
19
|
+
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
20
|
+
`,j.MISSING_INTL_API));let s=en(n,eS);try{return r(e,s).of(i)}catch(r){t(new et("Error formatting display name.",e,r))}}let eA=["type","style"],eN=Date.now();function eL(e,t,r,i={}){let n=eD(e,t,r,i).reduce((e,t)=>{let r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===n.length?n[0]:0===n.length?"":n}function eD({locale:e,onError:t},r,i,n={}){Intl.ListFormat||t(new V(`Intl.ListFormat is not available in this environment.
|
|
21
|
+
Try polyfilling it using "@formatjs/intl-listformat"
|
|
22
|
+
`,j.MISSING_INTL_API));let s=en(n,eA);try{let t={},n=Array.from(i).map((e,r)=>{if("object"==typeof e&&null!==e){let i=`${eN}_${r}_${eN}`;return t[i]=e,i}return String(e)});return r(e,s).formatToParts(n).map(e=>"literal"===e.type?e:{...e,value:t[e.value]||e.value})}catch(r){t(new et("Error formatting list.",e,r))}return i}let e_=["type"];function ev({locale:e,onError:t},r,i,n={}){Intl.PluralRules||t(new V(`Intl.PluralRules is not available in this environment.
|
|
23
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
24
|
+
`,j.MISSING_INTL_API));let s=en(n,e_);try{return r(e,s).select(i)}catch(r){t(new et("Error formatting plural.",e,r))}return"other"}let eF=["numeric","style"];function eR(e,t,r,i,n={}){i||(i="second"),Intl.RelativeTimeFormat||e.onError(new V(`Intl.RelativeTimeFormat is not available in this environment.
|
|
25
|
+
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
26
|
+
`,j.MISSING_INTL_API));try{return(function({locale:e,formats:t,onError:r},i,n={}){let{format:s}=n;return i(e,en(n,eF,!!s&&eh(t,"relative",s,r)||{}))})(e,t,n).format(r,i)}catch(t){e.onError(new et("Error formatting relative time.",e.locale,t))}return String(r)}let eM=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function ew({locale:e,formats:t,onError:r},i,n={}){let{format:s}=n;return i(e,en(n,eM,s&&eh(t,"number",s,r)||{}))}function eO(e,t,r,i={}){try{return ew(e,t,i).format(r)}catch(t){e.onError(new et("Error formatting number.",e.locale,t))}return String(r)}function eC(e,t,r,i={}){try{return ew(e,t,i).formatToParts(r)}catch(t){e.onError(new et("Error formatting number.",e.locale,t))}return[]}var eU=e.i(91398);function eG(e){!function(e,t,r=Error){if(!e)throw new r(t)}(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}let ek={...es,textComponent:o.Fragment},ex=e=>o.Children.toArray(e).map((e,t)=>o.isValidElement(e)?(0,eU.jsx)(o.Fragment,{children:e},t):e);function e$(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),i=Object.keys(t),n=r.length;if(i.length!==n)return!1;for(var s=0;s<n;s++){var o=r[s];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}let ej=o.createContext(null),eV=ej.Provider;function eK(){let e=o.useContext(ej);return eG(e),e}var eZ=((n=eZ||{}).formatDate="FormattedDate",n.formatTime="FormattedTime",n.formatNumber="FormattedNumber",n.formatList="FormattedList",n.formatDuration="FormattedDuration",n.formatDisplayName="FormattedDisplayName",n),eX=((s=eX||{}).formatDate="FormattedDateParts",s.formatTime="FormattedTimeParts",s.formatNumber="FormattedNumberParts",s.formatList="FormattedListParts",s);function eY(e){let t=t=>{let r=eK(),{value:i,children:n,...s}=t,o="string"==typeof i?new Date(i||0):i;return n("formatDate"===e?r.formatDateToParts(o,s):r.formatTimeToParts(o,s))};return t.displayName=eX[e],t}function eW(e){let t=t=>{let r=eK(),{value:i,children:n,...s}=t,a=r[e](i,s);if("function"==typeof n)return n(a);let h=r.textComponent||o.Fragment;return(0,eU.jsx)(h,{children:a})};return t.displayName=eZ[e],t}function ez(e){return e?Object.keys(e).reduce((t,r)=>{let i=e[r];return t[r]=Y(i)?function(e){return i(ex(e))}:i,t},{}):e}let eJ=(e,t,r,i,...n)=>{let s=em(e,t,r,ez(i),...n);return Array.isArray(s)?ex(s):s};function eq(e){let{formatMessage:t,textComponent:r=o.Fragment}=eK(),{id:i,description:n,defaultMessage:s,values:a,children:h,tagName:l=r,ignoreTag:u}=e,c=t({id:i,description:n,defaultMessage:s},a,{ignoreTag:u});return"function"==typeof h?h(Array.isArray(c)?c:[c]):l?(0,eU.jsx)(l,{children:c}):(0,eU.jsx)(eU.Fragment,{children:c})}eq.displayName="FormattedMessage";let eQ=o.memo(eq,function(e,t){let{values:r,...i}=e,{values:n,...s}=t;return e$(n,r)&&e$(i,s)});function e0(e){var t;let r=o.useRef(eo()),i=o.useRef(void 0),n=o.useRef(void 0),s={};for(let t in e)void 0!==e[t]&&(s[t]=e[t]);let h={locale:(t={...ek,...s}).locale,timeZone:t.timeZone,fallbackOnEmptyString:t.fallbackOnEmptyString,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError,onWarn:t.onWarn,wrapRichTextChunksInFragment:t.wrapRichTextChunksInFragment,defaultRichTextElements:t.defaultRichTextElements};return i.current&&e$(i.current,h)||(i.current=h,n.current=(({defaultRichTextElements:e,...t},r)=>{let i=ez(e),n=function(e,t){var r;let i=function(e=eo()){let t=Intl.RelativeTimeFormat,r=Intl.ListFormat,i=Intl.DisplayNames,n=a((...e)=>new Intl.DateTimeFormat(...e),{cache:ea(e.dateTime),strategy:f.variadic}),s=a((...e)=>new Intl.NumberFormat(...e),{cache:ea(e.number),strategy:f.variadic}),o=a((...e)=>new Intl.PluralRules(...e),{cache:ea(e.pluralRules),strategy:f.variadic});return{getDateTimeFormat:n,getNumberFormat:s,getMessageFormat:a((e,t,r,i)=>new z(e,t,r,{formatters:{getNumberFormat:s,getDateTimeFormat:n,getPluralRules:o},...i}),{cache:ea(e.message),strategy:f.variadic}),getDurationFormat:a((...e)=>new Intl.DurationFormat(...e),{cache:ea(e.duration),strategy:f.variadic}),getRelativeTimeFormat:a((...e)=>new t(...e),{cache:ea(e.relativeTime),strategy:f.variadic}),getPluralRules:o,getListFormat:a((...e)=>new r(...e),{cache:ea(e.list),strategy:f.variadic}),getDisplayNames:a((...e)=>new i(...e),{cache:ea(e.displayNames),strategy:f.variadic})}}(t),n={...es,...e},{locale:s,defaultLocale:o,onError:h}=n;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&h?h(new ee(`Missing locale data for locale: "${s}" in Intl.NumberFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&h&&h(new ee(`Missing locale data for locale: "${s}" in Intl.DateTimeFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(h&&h(new Q(`"locale" was not configured, using "${o}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),n.locale=n.defaultLocale||"en"),n.onWarn&&n.defaultRichTextElements&&"string"==typeof(r=n.messages||{})[Object.keys(r)[0]]&&n.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
|
|
27
|
+
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
|
|
28
|
+
For more details see https://formatjs.github.io/docs/getting-started/message-distribution`),{...n,formatters:i,formatNumber:eO.bind(null,n,i.getNumberFormat),formatNumberToParts:eC.bind(null,n,i.getNumberFormat),formatDuration:eT.bind(null,n,i.getDurationFormat),formatDurationToParts:eI.bind(null,n,i.getDurationFormat),formatRelativeTime:eR.bind(null,n,i.getRelativeTimeFormat),formatDate:eg.bind(null,n,i.getDateTimeFormat),formatDateToParts:ey.bind(null,n,i.getDateTimeFormat),formatTime:ed.bind(null,n,i.getDateTimeFormat),formatDateTimeRange:eb.bind(null,n,i.getDateTimeFormat),formatTimeToParts:eE.bind(null,n,i.getDateTimeFormat),formatPlural:ev.bind(null,n,i.getPluralRules),formatMessage:em.bind(null,n,i),$t:em.bind(null,n,i),formatList:eL.bind(null,n,i.getListFormat),formatListToParts:eD.bind(null,n,i.getListFormat),formatDisplayName:eP.bind(null,n,i.getDisplayNames)}}({...ek,...t,defaultRichTextElements:i},r),s={locale:n.locale,timeZone:n.timeZone,fallbackOnEmptyString:n.fallbackOnEmptyString,formats:n.formats,defaultLocale:n.defaultLocale,defaultFormats:n.defaultFormats,messages:n.messages,onError:n.onError,defaultRichTextElements:i};return{...n,formatMessage:eJ.bind(null,s,n.formatters),$t:eJ.bind(null,s,n.formatters)}})(h,r.current)),eG(n.current),(0,eU.jsx)(eV,{value:n.current,children:e.children})}eQ.displayName="MemoizedFormattedMessage",e0.displayName="IntlProvider";eW("formatDate"),eW("formatTime"),eW("formatNumber"),eW("formatDuration"),eW("formatList"),eW("formatDisplayName"),eY("formatDate"),eY("formatTime"),e.s(["K",0,eQ,"R",0,e0,"S",0,eK],69322)}]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
__turbopack_load_page_chunks__("/styleguide", [
|
|
2
2
|
"static/chunks/37y01hdz8sxhr.js",
|
|
3
|
-
"static/chunks/
|
|
4
|
-
"static/chunks/
|
|
5
|
-
"static/chunks/
|
|
3
|
+
"static/chunks/1y-db7_k0jgmb.js",
|
|
4
|
+
"static/chunks/30jqt_vus0ht9.js",
|
|
5
|
+
"static/chunks/2hqwx9e8xxk58.js",
|
|
6
6
|
"static/chunks/turbopack-077hmtqrhcoji.js"
|
|
7
7
|
])
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85463,(e,t,r)=>{let s="/products/new";(window.__NEXT_P=window.__NEXT_P||[]).push([s,()=>e.r(46342)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([s])})},61494,e=>{"use strict";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:o=null,depth:l=null})=>{let i=(0,s.useRouter)(),{formatMessage:n}=(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=i.asPath?.split("/")?.filter((e,t)=>i.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:n({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=d[r];return{name:a?n({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&&o?o:e.name})]})},e.path))})})}])},81013,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:o="",disabled:l=!1,id:i="",variant:n="primary",size:d="md",type:c="button",loading:u=!1,icon:f,iconRight:p,fullWidth:m=!1,rounded:g="md",ariaLabel:b,...h})=>{let x=s||e,y=(f||p)&&x?"gap-2":"";return(0,t.jsx)("button",{id:i,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"}[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"}[n],y,{"w-full":m},o),...h,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"}),x]}):(0,t.jsxs)(t.Fragment,{children:[f,x,p]})})}])},30276,e=>{"use strict";var t=e.i(91398),r=e.i(91788);let s=r.forwardRef(function({title:e,titleId:t,...s},a){return r.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":t},s),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))});var a=e.i(69322);e.s(["f",0,({messageKey:e,defaultMessage:r,values:o,className:l="",showIcon:i=!0})=>{let{formatMessage:n}=(0,a.S)(),d=n({id:e,defaultMessage:r},o);return d?(0,t.jsxs)("div",{className:`flex items-start space-x-1 text-sm text-slate-600 dark:text-slate-400 ${l}`,children:[i&&(0,t.jsx)(s,{className:"h-4 w-4 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:d})]}):null}],30276)},11056,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(5505),a=e.i(57561);e.s(["f",0,({children:e,onlyFull:o=!1})=>{let{languageDialectList:l,selectedLocale:i,setSelectedLocale:n}=(0,a.f)(),d=(0,r.useContext)(s.W),c=l.filter(e=>!o||e.isoCode.includes("-"));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:`w-fit mt-5 mb-3 ${d?"ml-5":""}`,children:(0,t.jsx)("select",{id:"locale-wrapper",className:"cursor-pointer rounded-md border-1 border-slate-300 dark:border-slate-700 py-1 pr-8 text-sm lg:py-1 lg:pr-10 text-black dark:text-white dark:bg-slate-800 shadow-xs focus:outline-hidden focus:ring-2 focus:ring-slate-800",value:i||"",onChange:e=>{e.stopPropagation(),n(e.target.value)},children:c?.map(e=>(0,t.jsx)("option",{value:e.isoCode,children:e.isoCode},e._id))})}),(0,t.jsx)("div",{children:r.default.cloneElement(e)})]})}])},17644,e=>{"use strict";var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(69322),o=e.i(37369),l=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:i=null,onDelete:n=null,children:d=null,title:c=null,addPath:u=null,addButtonText:f=null})=>{let{formatMessage:p}=(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)(o.f,{className:"h-5 w-5"}),text:f||p({id:"add",defaultMessage:"Add"})})}),i&&(0,t.jsx)(l.f,{variant:"secondary",onClick:i,text:p({id:"edit",defaultMessage:"Edit"})}),n&&(0,t.jsx)(l.f,{variant:"danger",onClick:n,text:p({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},73419,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(60741),a=e.i(29691);e.s(["f",0,e=>{let{options:o,...l}=(0,s.f)(e),{className:i}=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",i,{"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(o).map(([e,r])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:r},e))]})})})}])},99160,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:o=!1,className:l="",hidden:i=!1,...n})=>{let d=(0,s.m)(),{...c}=n,u=Object.fromEntries(Object.keys(d.initialValues).map(e=>[e,d.getFieldMeta(e)])),{disabled:f}=(0,a.f)(),p=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),m=o||f||d.isSubmitting||p,g=d.isSubmitting&&!p,b=(o||f||p)&&!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":g,"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":!m,hidden:i}),"aria-label":e,type:"submit",value:e,disabled:m,...c})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),o=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:l=[],...i})=>{let n=(0,a.f)({validators:[...l,e&&(0,s.f)(e)],...i});return(0,t.jsx)(o.f,{...n,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":!!n.error,"border-slate-300 placeholder-slate-400":!n.error}),disabled:n.disabled,id:n.name,name:n.name,onChange:n.onChange,onClick:e=>{e.stopPropagation()},onBlur:n.onBlur,placeholder:n.placeholder,autoComplete:n.autoComplete||"off",type:n.type||"text",value:n.value,autoFocus:n.autoFocus})})}])},62199,14336,e=>{"use strict";var t=e.i(59080);let r=t.f`
|
|
2
|
+
fragment ProductDetailFragment on Product {
|
|
3
|
+
_id
|
|
4
|
+
sequence
|
|
5
|
+
status
|
|
6
|
+
created
|
|
7
|
+
tags
|
|
8
|
+
updated
|
|
9
|
+
published
|
|
10
|
+
|
|
11
|
+
media {
|
|
12
|
+
_id
|
|
13
|
+
tags
|
|
14
|
+
file {
|
|
15
|
+
_id
|
|
16
|
+
url
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
reviews {
|
|
20
|
+
_id
|
|
21
|
+
created
|
|
22
|
+
author {
|
|
23
|
+
_id
|
|
24
|
+
username
|
|
25
|
+
isGuest
|
|
26
|
+
}
|
|
27
|
+
rating
|
|
28
|
+
title
|
|
29
|
+
review
|
|
30
|
+
voteCount
|
|
31
|
+
ownVotes {
|
|
32
|
+
type
|
|
33
|
+
timestamp
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
siblings {
|
|
37
|
+
_id
|
|
38
|
+
media {
|
|
39
|
+
_id
|
|
40
|
+
file {
|
|
41
|
+
_id
|
|
42
|
+
url
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`;e.s(["f",0,r],62199);let s=t.f`
|
|
48
|
+
fragment ProductTextsFragment on ProductTexts {
|
|
49
|
+
_id
|
|
50
|
+
locale
|
|
51
|
+
slug
|
|
52
|
+
title
|
|
53
|
+
subtitle
|
|
54
|
+
description
|
|
55
|
+
vendor
|
|
56
|
+
brand
|
|
57
|
+
labels
|
|
58
|
+
}
|
|
59
|
+
`;e.s(["f",0,s],14336)},38994,e=>{"use strict";var t=e.i(59080),r=e.i(76204),s=e.i(62199),a=e.i(14336);let o=t.f`
|
|
60
|
+
mutation CreateProduct(
|
|
61
|
+
$product: CreateProductInput!
|
|
62
|
+
$texts: [ProductTextInput!]
|
|
63
|
+
) {
|
|
64
|
+
createProduct(product: $product, texts: $texts) {
|
|
65
|
+
...ProductDetailFragment
|
|
66
|
+
... on SimpleProduct {
|
|
67
|
+
texts {
|
|
68
|
+
...ProductTextsFragment
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
... on ConfigurableProduct {
|
|
72
|
+
texts {
|
|
73
|
+
...ProductTextsFragment
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
... on BundleProduct {
|
|
77
|
+
texts {
|
|
78
|
+
...ProductTextsFragment
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
... on TokenizedProduct {
|
|
82
|
+
texts {
|
|
83
|
+
...ProductTextsFragment
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
... on PlanProduct {
|
|
87
|
+
texts {
|
|
88
|
+
...ProductTextsFragment
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
${s.f}
|
|
94
|
+
${a.f}
|
|
95
|
+
`;e.s(["f",0,()=>{let[e,{data:t,error:s,loading:a}]=(0,r.f)(o);return{createProduct:async({product:{type:t,tags:r},texts:s})=>e({variables:{product:{type:t,tags:r},texts:s},refetchQueries:["Products","ShopStatus","ShopInfo"]}),newProduct:t?.createProduct,error:s,loading:a}}])},46342,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(69322),a=e.i(61494),o=e.i(5505),l=e.i(17644),i=e.i(1880),n=e.i(66773),d=e.i(58971),c=e.i(69211),u=e.i(73419),f=e.i(99160),p=e.i(96015),m=e.i(45229),g=e.i(98949),b=e.i(30276),h=e.i(57561);let x=({onSubmit:e,onSubmitSuccess:r})=>{let{formatMessage:a}=(0,s.S)(),{hasRole:o}=(0,d.f)(),{selectedLocale:l,shopInfo:i}=(0,h.f)(),x=a({id:"product_added",defaultMessage:"Product added successfully!"}),y=(0,g.f)({submit:async t=>{let{title:r,subtitle:s,type:a,tags:o}=t;if(!r||!a)return{success:!1};let i=[{title:r,subtitle:s||"",slug:r.toLowerCase().replace(/\s+/g,"-"),locale:l}];return await e({texts:i,type:a,tags:o||[]})},onSubmitSuccess:r,successMessage:x,initialValues:{title:"",subtitle:"",type:n.f.SimpleProduct,tags:[]}});return(0,t.jsxs)(c.f,{form:y,children:[(0,t.jsxs)("div",{className:"p-5 pb-7 sm:max-w-full flex flex-col gap-3",children:[(0,t.jsx)(m.f,{name:"title",id:"title",label:a({id:"name",defaultMessage:"Name"}),required:!0,className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,t.jsx)(m.f,{name:"subtitle",id:"subtitle",label:a({id:"subtitle",defaultMessage:"Subtitle"}),className:"block w-full max-w-full rounded-md border-slate-300 dark:border-slate-800 text-sm focus:ring-slate-800 sm:text-sm"}),(0,t.jsx)(u.f,{className:"mt-1 w-full",label:a({id:"type",defaultMessage:"Type"}),placeholder:a({id:"type",defaultMessage:"Type"}),required:!0,name:"type",options:Object.fromEntries(Object.entries(n.f).map(([e,t])=>[t,e]))}),(0,t.jsx)(p.f,{name:"tags",label:a({id:"tags",defaultMessage:"Tags"}),placeholder:a({id:"enter_tag",defaultMessage:"Enter tag..."}),selectOptions:(i?.adminUiConfig.productTags||[]).map(e=>({value:e,label:e}))}),(0,t.jsx)(b.f,{messageKey:"product_tags_help",defaultMessage:"Add keywords to organize and filter products (e.g., 'electronics', 'outdoor', 'premium'). These work across all languages and help customers find products through search and filters.",className:"mt-1"})]}),o(n.C.ManageProducts)&&(0,t.jsx)("div",{className:"border-t border-t-slate-100 dark:border-t-slate-700 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(f.f,{label:a({id:"add_product",defaultMessage:"Add Product"})})})]})};var y=e.i(38994),v=e.i(11056);e.s(["default",0,()=>{let{createProduct:e}=(0,y.f)(),n=(0,r.useRouter)(),{formatMessage:d}=(0,s.S)(),c=async({texts:t,type:r,tags:s})=>{let{data:a,error:o}=await e({product:{type:r,tags:s},texts:t});return o?{success:!1}:{success:!0,data:a?.createProduct}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.f,{}),(0,t.jsx)(l.f,{headerText:d({id:"new_product_header",defaultMessage:"New product"})}),(0,t.jsxs)("div",{className:"mt-6 lg:grid lg:grid-cols-3 gap-10",children:[(0,t.jsx)("div",{className:"lg:col-span-2",children:(0,t.jsx)(o.U,{children:(0,t.jsx)(v.f,{children:(0,t.jsx)(x,{onSubmit:c,onSubmitSuccess:(e,{...t})=>(n.replace(`/products?slug=${(0,i.U)(t)}`),!0)})})})}),(0,t.jsxs)("div",{className:"mt-10 lg:mt-0 lg:col-span-1 space-y-2",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",children:d({id:"product_type",defaultMessage:"Product type"})}),(0,t.jsxs)("div",{className:"text-sm divide-y divide-slate-200 dark:divide-slate-800 dark:text-slate-400 lg:mr-10",children:[(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"simple_product_definition",defaultMessage:" <h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"plan_product_definition",defaultMessage:" <h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation.\n\n </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"bundle_product_definition",defaultMessage:" <h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})}),(0,t.jsx)("div",{className:"my-2 py-2",children:(0,t.jsx)(s.K,{id:"configurable_product_definition",defaultMessage:" <h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>",values:{h3:e=>(0,t.jsx)("h3",{className:"font-semibold ",children:e}),p:e=>(0,t.jsx)("p",{children:e})}})})]})]})]})]})}],46342)},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let o=e.i(21953).f?r.useLayoutEffect:r.useEffect;var l=e.i(98926);function i(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,n){let d=(0,l.f)(n?.client),[c,u]=r.useState(()=>i(d)),f=r.useRef({result:c,mutationId:0,isMounted:!0,client:d,mutation:e,options:n});o(()=>{Object.assign(f.current,{client:d,options:n,mutation:e})});let p=r.useCallback((e={})=>{let{options:r,mutation:o}=f.current,l={...r,mutation:o},i=e.client||f.current.client,n="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:i});let d=++f.current.mutationId,c=(0,s.f)(l,{...e,context:n});return(0,a.f)(i.mutate(c).then(r=>{let{data:s,error:a}=r,o=e.onError||f.current.options?.onError;if(a&&o&&o(a,c),d===f.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:i};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:i};(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}))},[]),m=r.useCallback(()=>{if(f.current.isMounted){let e=i(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}},[]),[p,{reset:m,...c}]}],76204)},37369,e=>{"use strict";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)},9356,e=>{"use strict";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=>{"use strict";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=>{"use strict";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)=>{"use strict";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},o={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},i={};function n(e){return s.isMemo(e)?l:i[e.$$typeof]||a}i[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[s.Memo]=l;var d=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(m){var a=p(r);a&&a!==m&&e(t,a,s)}var l=c(r);u&&(l=l.concat(u(r)));for(var i=n(t),g=n(r),b=0;b<l.length;++b){var h=l[b];if(!o[h]&&!(s&&s[h])&&!(g&&g[h])&&!(i&&i[h])){var x=f(r,h);try{d(t,h,x)}catch(e){}}}}return t}},40563,(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,o=s?Symbol.for("react.portal"):60106,l=s?Symbol.for("react.fragment"):60107,i=s?Symbol.for("react.strict_mode"):60108,n=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,p=s?Symbol.for("react.forward_ref"):60112,m=s?Symbol.for("react.suspense"):60113,g=s?Symbol.for("react.suspense_list"):60120,b=s?Symbol.for("react.memo"):60115,h=s?Symbol.for("react.lazy"):60116,x=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 n:case i:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case h:case b:case d:return e;default:return t}}case o: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=p,r.Fragment=l,r.Lazy=h,r.Memo=b,r.Portal=o,r.Profiler=n,r.StrictMode=i,r.Suspense=m,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)===p},r.isFragment=function(e){return k(e)===l},r.isLazy=function(e){return k(e)===h},r.isMemo=function(e){return k(e)===b},r.isPortal=function(e){return k(e)===o},r.isProfiler=function(e){return k(e)===n},r.isStrictMode=function(e){return k(e)===i},r.isSuspense=function(e){return k(e)===m},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===l||e===f||e===n||e===i||e===m||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===b||e.$$typeof===d||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===j||e.$$typeof===x)},r.typeOf=k},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)}]);
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
_id
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
`;e.s(["f",0,()=>{let[e]=(0,r.f)(i);return{removePaymentProvider:async({paymentProviderId:t})=>e({variables:{paymentProviderId:t},refetchQueries:["PaymentProviders","ShopStatus"]})}}])},70365,e=>{"use strict";var t=e.i(91398),r=e.i(3828),i=e.i(66773),a=e.i(
|
|
48
|
+
`;e.s(["f",0,()=>{let[e]=(0,r.f)(i);return{removePaymentProvider:async({paymentProviderId:t})=>e({variables:{paymentProviderId:t},refetchQueries:["PaymentProviders","ShopStatus"]})}}])},70365,e=>{"use strict";var t=e.i(91398),r=e.i(3828),i=e.i(66773),a=e.i(69322),d=e.i(28401),n=e.i(61494),o=e.i(17644),s=e.i(53555),y=e.i(74982),p=e.i(59080),m=e.i(76204),v=e.i(16238);let P=p.f`
|
|
49
49
|
mutation UpdatePaymentProvider(
|
|
50
50
|
$paymentProvider: UpdateProviderInput!
|
|
51
51
|
$paymentProviderId: ID!
|
|
@@ -58,4 +58,4 @@
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
${v.f}
|
|
61
|
-
`;var u=e.i(12197),l=e.i(15971),c=e.i(6607),f=e.i(33457),_=e.i(81359),g=e.i(83147),h=e.i(58971);e.s(["default",0,({paymentProviderId:e})=>{let{formatMessage:p}=(0,a.S)(),{setModal:v}=(0,c.f)(),{push:x,replace:T}=(0,r.useRouter)(),{hasRole:j}=(0,h.f)(),{updatePaymentProvider:w}=(()=>{let[e]=(0,m.f)(P);return{updatePaymentProvider:async({configuration:t,paymentProviderId:r})=>e({variables:{paymentProvider:{configuration:t},paymentProviderId:r}})}})(),{removePaymentProvider:C}=(0,y.f)(),{paymentProvider:I,loading:M}=(0,s.f)({paymentProviderId:e}),$=async({configuration:t})=>(await w({configuration:JSON.parse(t||"[]"),paymentProviderId:e}),!0),b=async()=>{await v((0,t.jsx)(l.f,{onCancelClick:async()=>v(""),message:p({id:"delete_payment_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this payment provider? "}),onOkClick:async()=>{v(""),await C({paymentProviderId:e}),d.c.success(p({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"})),x("/payment-provider")},okText:p({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{currentPageTitle:(0,g.D)(I?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between",children:[(0,t.jsx)(o.f,{headerText:p({id:"update_payment_provider_header",defaultMessage:"Update payment provider"}),title:p({id:"payment_detail_title",defaultMessage:"Payment provider {id}"},{id:I?._id})}),j(i.C.ManagePaymentProviders)&&(0,t.jsx)(_.f,{onClick:b})]}),M?(0,t.jsx)(u.f,{}):(0,t.jsx)(f.f,{readOnly:!j(i.C.ManagePaymentProviders),provider:I,onSubmit:$,onSubmitSuccess:()=>{T("/payment-provider")}})]})}],70365)},45753,e=>{"use strict";var t=e.i(91398),r=e.i(28401),i=e.i(66773),a=e.i(
|
|
61
|
+
`;var u=e.i(12197),l=e.i(15971),c=e.i(6607),f=e.i(33457),_=e.i(81359),g=e.i(83147),h=e.i(58971);e.s(["default",0,({paymentProviderId:e})=>{let{formatMessage:p}=(0,a.S)(),{setModal:v}=(0,c.f)(),{push:x,replace:T}=(0,r.useRouter)(),{hasRole:j}=(0,h.f)(),{updatePaymentProvider:w}=(()=>{let[e]=(0,m.f)(P);return{updatePaymentProvider:async({configuration:t,paymentProviderId:r})=>e({variables:{paymentProvider:{configuration:t},paymentProviderId:r}})}})(),{removePaymentProvider:C}=(0,y.f)(),{paymentProvider:I,loading:M}=(0,s.f)({paymentProviderId:e}),$=async({configuration:t})=>(await w({configuration:JSON.parse(t||"[]"),paymentProviderId:e}),!0),b=async()=>{await v((0,t.jsx)(l.f,{onCancelClick:async()=>v(""),message:p({id:"delete_payment_provider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this payment provider? "}),onOkClick:async()=>{v(""),await C({paymentProviderId:e}),d.c.success(p({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"})),x("/payment-provider")},okText:p({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.f,{currentPageTitle:(0,g.D)(I?.interface)}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between",children:[(0,t.jsx)(o.f,{headerText:p({id:"update_payment_provider_header",defaultMessage:"Update payment provider"}),title:p({id:"payment_detail_title",defaultMessage:"Payment provider {id}"},{id:I?._id})}),j(i.C.ManagePaymentProviders)&&(0,t.jsx)(_.f,{onClick:b})]}),M?(0,t.jsx)(u.f,{}):(0,t.jsx)(f.f,{readOnly:!j(i.C.ManagePaymentProviders),provider:I,onSubmit:$,onSubmitSuccess:()=>{T("/payment-provider")}})]})}],70365)},45753,e=>{"use strict";var t=e.i(91398),r=e.i(28401),i=e.i(66773),a=e.i(69322),d=e.i(3828),n=e.i(29338),o=e.i(74982),s=e.i(65395),y=e.i(61494),p=e.i(17644),m=e.i(6607),v=e.i(15971),P=e.i(12197),u=e.i(94724),l=e.i(44658),c=e.i(51967),f=e.i(58971),_=e.i(70365);e.s(["default",0,()=>{let{formatMessage:e}=(0,a.S)(),{query:g}=(0,d.useRouter)(),{type:h,paymentProviderId:x}=g,{paymentProviders:T,paymentProvidersCount:j,loading:w}=(0,n.f)({type:h}),{setModal:C}=(0,m.f)(),{removePaymentProvider:I}=(0,o.f)(),{paymentProviderType:M}=(0,c.f)(),{hasRole:$}=(0,f.f)(),b=async i=>{await C((0,t.jsx)(v.f,{onCancelClick:()=>C(""),message:e({id:"delete_paymentProvider_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this Payment provider? "}),onOkClick:async()=>{C(""),await I({paymentProviderId:i}),r.c.success(e({id:"payment_provider_deleted",defaultMessage:"Payment provider deleted successfully"}))},okText:e({id:"delete_payment_provider",defaultMessage:"Delete payment provider"})}))};return x?(0,t.jsx)(_.default,{paymentProviderId:x}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.f,{}),(0,t.jsx)(p.f,{headerText:e((j??0)===1?{id:"payment_provider_count_header_singular",defaultMessage:"1 Payment Provider"}:{id:"payment_providers_count_header",defaultMessage:"{count} Payment Providers"},{count:j??0}),addPath:$(i.C.ManagePaymentProviders)&&"/payment-provider/new",addButtonText:e({id:"add_payment_provider",defaultMessage:"Add Payment Provider"})}),(0,t.jsx)(u.f,{children:(0,t.jsx)(l.f,{providerType:M?.map(({value:e})=>e)})}),w?(0,t.jsx)(P.f,{}):(0,t.jsx)(s.f,{providerPath:"/payment-provider?paymentProviderId",providers:T,onRemove:b,canDelete:$(i.C.ManagePaymentProviders),canEdit:$(i.C.ViewPaymentProvider)})]})}])}]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
__turbopack_load_page_chunks__("/orders/OrderDetailPage", [
|
|
2
2
|
"static/chunks/1sh2ogc7tcbu-.js",
|
|
3
|
-
"static/chunks/
|
|
4
|
-
"static/chunks/
|
|
3
|
+
"static/chunks/2dg0lloufpbdb.js",
|
|
4
|
+
"static/chunks/2tltorbhbyodj.js",
|
|
5
5
|
"static/chunks/turbopack-077hmtqrhcoji.js"
|
|
6
6
|
])
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20495,e=>{"use strict";var t=e.i(91398),n=e.i(69322),i=e.i(2765);e.s(["f",0,({inputText:e=null,onInputChange:r,defaultValue:l})=>{let{formatMessage:o}=(0,n.S)(),a=(0,i.f)(200)(r);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||o({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>a(e.target.value),id:"search",defaultValue:l,name:"search",className:"block w-full rounded-md border-1 border-slate-300 dark:border-slate-700 text-slate-900 dark:bg-slate-900 dark:text-slate-200 py-3 pl-10 px-4 shadow-xs placeholder:text-slate-400 dark:placeholder:text-slate-400 focus:ring-2 focus:ring-slate-800 focus:outline-hidden sm:text-sm",placeholder:o({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},2765,e=>{"use strict";e.s(["f",0,(e=500)=>t=>{let n;return(...i)=>{let r;clearTimeout(n),n=setTimeout(()=>t.apply(r,i),e)}}])},95963,32572,36394,e=>{"use strict";let t,n=["top","right","bottom","left"],i=n.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),r=Math.min,l=Math.max,o=Math.round,a=Math.floor,f=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function s(e,t,n){return l(e,r(t,n))}function u(e,t){return"function"==typeof e?e(t):e}function d(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function p(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function w(e){return m(g(e))}function v(e,t,n){void 0===n&&(n=!1);let i=h(e),r=w(e),l=p(r),o="x"===r?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[l]>t.floating[l]&&(o=E(o)),[o,E(o)]}function y(e){let t=E(e);return[x(e),t,x(t)]}function x(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let b=["left","right"],R=["right","left"],T=["top","bottom"],L=["bottom","top"];function A(e,t,n,i){let r=h(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?R:b;return t?b:R;case"left":case"right":return t?T:L;default:return[]}}(d(e),"start"===n,i);return r&&(l=l.map(e=>e+"-"+r),t&&(l=l.concat(l.map(x)))),l}function E(e){let t=d(e);return c[t]+e.slice(t.length)}function O(e){var t,n,i,r;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(n=e.right)?n:0,bottom:null!=(i=e.bottom)?i:0,left:null!=(r=e.left)?r:0}:{top:e,right:e,bottom:e,left:e}}function C(e){let{x:t,y:n,width:i,height:r}=e;return{width:i,height:r,top:n,left:t,right:t+i,bottom:n+r,x:t,y:n}}function S(e,t,n){let i,{reference:r,floating:l}=e,o=g(t),a=w(t),f=p(a),c=d(t),s=r.x+r.width/2-l.width/2,u=r.y+r.height/2-l.height/2,m=r[f]/2-l[f]/2;switch(c){case"top":i={x:s,y:r.y-l.height};break;case"bottom":i={x:s,y:r.y+r.height};break;case"right":i={x:r.x+r.width,y:u};break;case"left":i={x:r.x-l.width,y:u};break;default:i={x:r.x,y:r.y}}let v=h(t);return v&&(i[a]+=m*("end"===v?1:-1)*(n&&"y"===o?-1:1)),i}async function P(e,t){var n;void 0===t&&(t={});let{x:i,y:r,platform:l,rects:o,elements:a,strategy:f}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=u(t,e),p=O(m),g=a[h?"floating"===d?"reference":"floating":d],w=C(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(g)))||n?g:g.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:f})),v="floating"===d?{x:i,y:r,width:o.floating.width,height:o.floating.height}:o.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),x=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},b=C(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:f}):v);return{top:(w.top-b.top+p.top)/x.y,bottom:(b.bottom-w.bottom+p.bottom)/x.y,left:(w.left-b.left+p.left)/x.x,right:(b.right-w.right+p.right)/x.x}}e.s(["O",0,s,"I",0,f,"h",0,u,"w",0,a,"R",0,h,"i",0,w,"N",0,v,"T",0,p,"P",0,y,"o",0,x,"J",0,m,"K",0,A,"t",0,E,"j",0,O,"m",0,d,"$",0,g,"y",0,l,"u",0,r,"Z",0,i,"_",0,C,"H",0,o,"M",0,n],32572);let k=async(e,t,n)=>{let{placement:i="bottom",strategy:r="absolute",middleware:l=[],platform:o}=n,a=o.detectOverflow?o:{...o,detectOverflow:P},f=await (null==o.isRTL?void 0:o.isRTL(t)),c=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:u}=S(c,i,f),d=i,h=0,m={};for(let n=0;n<l.length;n++){let p=l[n];if(!p)continue;let{name:g,fn:w}=p,{x:v,y:y,data:x,reset:b}=await w({x:s,y:u,initialPlacement:i,placement:d,strategy:r,middlewareData:m,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=v?v:s,u=null!=y?y:u,m[g]={...m[g],...x},b&&h<50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await o.getElementRects({reference:e,floating:t,strategy:r}):b.rects),{x:s,y:u}=S(c,d,f)),n=-1)}return{x:s,y:u,placement:d,strategy:r,middlewareData:m}};function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function F(e){return n.some(t=>e[t]>=0)}function H(e){let t=r(...e.map(e=>e.left)),n=r(...e.map(e=>e.top));return{x:t,y:n,width:l(...e.map(e=>e.right))-t,height:l(...e.map(e=>e.bottom))-n}}let M=new Set(["left","top"]);async function N(e,t){let{placement:n,platform:i,elements:r}=e,l=await (null==i.isRTL?void 0:i.isRTL(r.floating)),o=d(n),a=h(n),f="y"===g(n),c=M.has(o)?-1:1,s=l&&f?-1:1,m=u(t,e),{mainAxis:p,crossAxis:w,alignmentAxis:v}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&"number"==typeof v&&(w="end"===a?-1*v:v),f?{x:w*s,y:p*c}:{x:p*c,y:w*s}}function W(){return"u">typeof window}function B(e){return z(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function j(e){var t;return null==(t=(z(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function z(e){return!!W()&&(e instanceof Node||e instanceof V(e).Node)}function _(e){return!!W()&&(e instanceof Element||e instanceof V(e).Element)}function I(e){return!!W()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function K(e){return!(!W()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:n,overflowY:i,display:r}=et(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&"inline"!==r&&"contents"!==r}function q(e){return/^(table|td|th)$/.test(B(e))}function G(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let J=/transform|translate|scale|rotate|perspective|filter/,U=/paint|layout|strict|content/,X=e=>!!e&&"none"!==e;function Z(e){let t=_(e)?et(e):e;return X(t.transform)||X(t.translate)||X(t.scale)||X(t.rotate)||X(t.perspective)||!Y()&&(X(t.backdropFilter)||X(t.filter))||J.test(t.willChange||"")||U.test(t.contain||"")}function Q(e){let t=ei(e);for(;I(t)&&!ee(t);){if(Z(t))return t;if(G(t))break;t=ei(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 V(e).getComputedStyle(e)}function en(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ei(e){if("html"===B(e))return e;let t=e.assignedSlot||e.parentNode||K(e)&&e.host||j(e);return K(t)?t.host:t}function er(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);let r=function e(t){let n=ei(t);return ee(n)?(t.ownerDocument||t).body:I(n)&&$(n)?n:e(n)}(e),l=r===(null==(i=e.ownerDocument)?void 0:i.body),o=V(r);if(!l)return t.concat(r,er(r,[],n));{let e=el(o);return t.concat(o,o.visualViewport||[],$(r)?r:[],e&&n?er(e):[])}}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=et(e),n=parseFloat(t.width)||0,i=parseFloat(t.height)||0,r=I(e),l=r?e.offsetWidth:n,a=r?e.offsetHeight:i,f=o(n)!==l||o(i)!==a;return f&&(n=l,i=a),{width:n,height:i,$:f}}function ea(e){return _(e)?e:e.contextElement}function ef(e){let t=ea(e);if(!I(t))return f(1);let n=t.getBoundingClientRect(),{width:i,height:r,$:l}=eo(t),a=(l?o(n.width):n.width)/i,c=(l?o(n.height):n.height)/r;return a&&Number.isFinite(a)||(a=1),c&&Number.isFinite(c)||(c=1),{x:a,y:c}}e.s(["X",0,et,"f",0,Q,"I",0,j,"w",0,el,"A",0,B,"Q",0,en,"G",0,er,"J",0,ei,"K",0,V,"e",0,Z,"m",0,_,"E",0,I,"Z",0,ee,"B",0,$,"R",0,K,"S",0,q,"D",0,G,"i",0,Y],36394);let ec=f(0);function es(e){let t=V(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ec}function eu(e,t,n,i){var r;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),o=ea(e),a=f(1);t&&(i?_(i)&&(a=ef(i)):a=ef(e));let c=(void 0===(r=n)&&(r=!1),i&&r&&i===V(o))?es(o):f(0),s=(l.left+c.x)/a.x,u=(l.top+c.y)/a.y,d=l.width/a.x,h=l.height/a.y;if(o&&i){let e=V(o),t=_(i)?V(i):i,n=e,r=el(n);for(;r&&t!==n;){let e=ef(r),t=r.getBoundingClientRect(),i=et(r),l=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;s*=e.x,u*=e.y,d*=e.x,h*=e.y,s+=l,u+=o,r=el(n=V(r))}}return C({width:d,height:h,x:s,y:u})}function ed(e,t){let n=en(e).scrollLeft;return t?t.left+n:eu(j(e)).left+n}function eh(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ed(e,n),y:n.top+t.scrollTop}}function em(e,t,n){var i;let r;if("viewport"===t||"layoutViewport"===t)r=function(e,t,n){void 0===n&&(n="viewport");let i="layoutViewport"===n,r=V(e),l=j(e),o=r.visualViewport,a=l.clientWidth,f=l.clientHeight,c=0,s=0;if(o){let e=!Y()||"fixed"===t;i?e||(c=-o.offsetLeft,s=-o.offsetTop):(a=o.width,f=o.height,e&&(c=o.offsetLeft,s=o.offsetTop))}if(0>=ed(l)){let e=l.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,r=Math.abs(l.clientWidth-t.clientWidth-i),o="stable both-edges"===getComputedStyle(l).scrollbarGutter?r/2:r;o<=25&&(a-=o)}return{width:a,height:f,x:c,y:s}}(e,n,t);else if("document"===t){let t,n,o,a,f,c;t=en(i=j(e)),n=i.ownerDocument.body,o=l(i.scrollWidth,i.clientWidth,n.scrollWidth,n.clientWidth),a=l(i.scrollHeight,i.clientHeight,n.scrollHeight,n.clientHeight),f=-t.scrollLeft+ed(i),c=-t.scrollTop,"rtl"===et(n).direction&&(f+=l(i.clientWidth,n.clientWidth)-o),r={width:o,height:a,x:f,y:c}}else if(_(t)){let e,i,l,o,a,f;i=(e=eu(t,!0,"fixed"===n)).top+t.clientTop,l=e.left+t.clientLeft,o=ef(t),a=t.clientWidth*o.x,f=t.clientHeight*o.y,r={width:a,height:f,x:l*o.x,y:i*o.y}}else{let n=es(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return C(r)}function ep(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 n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){let n=V(e);if(G(e))return n;if(!I(e)){let t=ei(e);for(;t&&!ee(t);){if(_(t)&&!ep(t))return t;t=ei(t)}return n}let i=eg(e,t);for(;i&&q(i)&&ep(i);)i=eg(i,t);return i&&ee(i)&&ep(i)&&!Z(i)?n:i||Q(e)||n}let ev=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,i=await n(e.floating);return{reference:function(e,t,n){let i=I(t),r=j(t),l="fixed"===n,o=eu(e,!0,l,t),a={scrollLeft:0,scrollTop:0},c=f(0);if((i||!l)&&(("body"!==B(t)||$(r))&&(a=en(t)),i)){let e=eu(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}!i&&r&&(c.x=ed(r));let s=!r||i||l?f(0):eh(r,a);return{x:o.left+a.scrollLeft-c.x-s.x,y:o.top+a.scrollTop-c.y-s.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:r}=e,l="fixed"===r,o=j(i),a=!!t&&G(t.floating);if(i===o||a&&l)return n;let c={scrollLeft:0,scrollTop:0},s=f(1),u=f(0),d=I(i);if((d||!l)&&(("body"!==B(i)||$(o))&&(c=en(i)),d)){let e=eu(i);s=ef(i),u.x=e.x+i.clientLeft,u.y=e.y+i.clientTop}let h=!o||d||l?f(0):eh(o,c);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-c.scrollLeft*s.x+u.x+h.x,y:n.y*s.y-c.scrollTop*s.y+u.y+h.y}},getDocumentElement:j,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e,a=[..."clippingAncestors"===n?G(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let i=er(e,[],!1).filter(e=>_(e)&&"body"!==B(e)),r=null,l="fixed"===et(e).position,o=l?ei(e):e;for(;_(o)&&!ee(o);){let e=et(o),t=Z(o),n=r?r.position:l?"fixed":"";t||"fixed"!==n&&("absolute"!==n||"static"!==e.position)?r=e:i=i.filter(e=>e!==o),o=ei(o)}return t.set(e,i),i}(t,this._c):[].concat(n),i],f=em(t,a[0],o),c=f.top,s=f.right,u=f.bottom,d=f.left;for(let e=1;e<a.length;e++){let n=em(t,a[e],o);c=l(n.top,c),s=r(n.right,s),u=r(n.bottom,u),d=l(n.left,d)}return{width:s-d,height:u-c,x:d,y:c}},getOffsetParent:ew,getElementRects:ev,getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ef,isElement:_,isRTL:function(e){return"rtl"===et(e).direction}};function ex(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:n,y:i,placement:l,rects:o,platform:a,elements:f,middlewareData:c}=t,{element:d,padding:m=0}=u(e,t)||{};if(null==d)return{};let g=O(m),v={x:n,y:i},y=w(l),x=p(y),b=await a.getDimensions(d),R="y"===y,T=R?"clientHeight":"clientWidth",L=o.reference[x]+o.reference[y]-v[y]-o.floating[x],A=v[y]-o.reference[y],E=await (null==a.getOffsetParent?void 0:a.getOffsetParent(d)),C=E?E[T]:0;C&&await (null==a.isElement?void 0:a.isElement(E))||(C=f.floating[T]||o.floating[x]);let S=C/2-b[x]/2-1,P=r(g[R?"top":"left"],S),k=r(g[R?"bottom":"right"],S),D=C-b[x]-k,F=C/2-b[x]/2+(L/2-A/2),H=s(P,F,D),M=!c.arrow&&null!=h(l)&&F!==H&&o.reference[x]/2-(F<P?P:k)-b[x]/2<0,N=M?F<P?F-P:F-D:0;return{[y]:v[y]+N,data:{[y]:H,centerOffset:F-H-N,...M&&{alignmentOffset:N}},reset:M}}}),"p",0,function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,l,o;let{rects:a,middlewareData:f,placement:c,platform:s,elements:m}=t,{crossAxis:p=!1,alignment:g,allowedPlacements:w=i,autoAlignment:y=!0,...b}=u(e,t),R=void 0!==g||w===i?((o=g||null)?[...w.filter(e=>h(e)===o),...w.filter(e=>h(e)!==o)]:w.filter(e=>d(e)===e)).filter(e=>!o||h(e)===o||!!y&&x(e)!==e):w,T=(null==(n=f.autoPlacement)?void 0:n.index)||0,L=R[T];if(null==L)return{};if(c!==L)return{reset:{placement:R[0]}};let A=await s.detectOverflow(t,b),E=v(L,a,await (null==s.isRTL?void 0:s.isRTL(m.floating))),O=[A[d(L)],A[E[0]],A[E[1]]],C=[...(null==(r=f.autoPlacement)?void 0:r.overflows)||[],{placement:L,overflows:O}],S=R[T+1];if(S)return{data:{index:T+1,overflows:C},reset:{placement:S}};let P=C.map(e=>{let t=h(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce((e,t)=>e+t,0):e.overflows[0],e.overflows]}).sort((e,t)=>e[1]-t[1]),k=(null==(l=P.filter(e=>e[2].slice(0,h(e[0])?2:3).every(e=>e<=0))[0])?void 0:l[0])||P[0][0];return k!==c?{data:{index:T+1,overflows:C},reset:{placement:k}}:{}}}},"n",0,function(e,t,n,i){let o;void 0===i&&(i={});let{ancestorScroll:f=!0,ancestorResize:c=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:d=!1}=i,h=ea(e),m=f||c?[...h?er(h):[],...t?er(t):[]]:[];m.forEach(e=>{f&&e.addEventListener("scroll",n),c&&e.addEventListener("resize",n)});let p=h&&u?function(e,t,n){let i,o=null,f=j(e);function c(){var e;clearTimeout(i),null==(e=o)||e.disconnect(),o=null}function s(n,u){void 0===n&&(n=!1),void 0===u&&(u=1),c();let d=e.getBoundingClientRect(),{left:h,top:m,width:p,height:g}=d;if(n||t(),!p||!g)return;let w={rootMargin:-a(m)+"px "+-a(f.clientWidth-(h+p))+"px "+-a(f.clientHeight-(m+g))+"px "+-a(h)+"px",threshold:l(0,r(1,u))||1},v=!0;function y(t){let n=t[0].intersectionRatio;if(!ex(d,e.getBoundingClientRect()))return s();if(n!==u){if(!v)return s();n?s(!1,n):i=setTimeout(()=>{s(!1,1e-7)},1e3)}v=!1}try{o=new IntersectionObserver(y,{...w,root:f.ownerDocument})}catch(e){o=new IntersectionObserver(y,w)}o.observe(e)}let u=V(e),d=()=>s(n);return u.addEventListener("resize",d),s(!0),()=>{u.removeEventListener("resize",d),c()}}(h,n,c):null,g=-1,w=null;s&&(w=new ResizeObserver(e=>{let[i]=e;i&&i.target===h&&w&&t&&(w.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=w)||e.observe(t)})),n()}),h&&!d&&w.observe(h),t&&w.observe(t));let v=d?eu(e):null;return d&&function t(){let i=eu(e);v&&!ex(v,i)&&n(),v=i,o=requestAnimationFrame(t)}(),n(),()=>{var e;m.forEach(e=>{f&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)}),null==p||p(),null==(e=w)||e.disconnect(),w=null,d&&cancelAnimationFrame(o)}},"A",0,(e,t,n)=>{let i=new Map,r=null!=n?n:{},l={...ey,...r.platform,_c:i};return k(e,t,{...r,platform:l})},"k",0,P,"x",0,function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i,r,l,o;let{placement:a,middlewareData:f,rects:c,initialPlacement:s,platform:h,elements:m}=t,{mainAxis:p=!0,crossAxis:w=!0,fallbackPlacements:x,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:T=!0,...L}=u(e,t);if(null!=(n=f.arrow)&&n.alignmentOffset)return{};let O=d(a),C=g(s),S=d(s)===s,P=await (null==h.isRTL?void 0:h.isRTL(m.floating)),k=x||(S||!T?[E(s)]:y(s)),D="none"!==R;!x&&D&&k.push(...A(s,T,R,P));let F=[s,...k],H=await h.detectOverflow(t,L),M=[],N=(null==(i=f.flip)?void 0:i.overflows)||[];if(p&&M.push(H[O]),w){let e=v(a,c,P);M.push(H[e[0]],H[e[1]])}if(N=[...N,{placement:a,overflows:M}],!M.every(e=>e<=0)){let e=((null==(r=f.flip)?void 0:r.index)||0)+1,t=F[e];if(t&&("alignment"!==w||C===g(t)||N.every(e=>g(e.placement)!==C||e.overflows[0]>0)))return{data:{index:e,overflows:N},reset:{placement:t}};let n=null==(l=N.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(b){case"bestFit":{let e=null==(o=N.filter(e=>{if(D){let t=g(e.placement);return t===C||"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:o[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}}},"c",0,function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:i}=t,{strategy:r="referenceHidden",...l}=u(e,t);switch(r){case"referenceHidden":{let e=D(await i.detectOverflow(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:F(e)}}}case"escaped":{let e=D(await i.detectOverflow(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:F(e)}}}default:return{}}}}},"g",0,function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:i,rects:o,platform:a,strategy:f}=t,{padding:c=2,x:s,y:h}=u(e,t),m=Array.from(await (null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]);if(!m.length)return{};let p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],i=null;for(let e=0;e<t.length;e++){let r=t[e];!i||r.y-i.y>i.height/2?n.push([r]):n[n.length-1].push(r),i=r}return n.map(e=>C(H(e)))}(m),w=C(H(m)),v=O(c),y=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&(p[0].left>p[1].right||p[1].left>p[0].right)&&null!=s&&null!=h)return p.find(e=>s>e.left-v.left&&s<e.right+v.right&&h>e.top-v.top&&h<e.bottom+v.bottom)||w;if(p.length>=2){if("y"===g(n)){let e=p[0],t=p[p.length-1],i="top"===d(n),r=e.top,l=t.bottom,o=i?e.left:t.left;return C({x:o,y:r,width:(i?e.right:t.right)-o,height:l-r})}let e="left"===d(n),t=l(...p.map(e=>e.right)),i=r(...p.map(e=>e.left)),o=p.filter(n=>e?n.left===i:n.right===t),a=o[0].top;return C({x:i,y:a,width:t-i,height:o[o.length-1].bottom-a})}return w}},floating:i.floating,strategy:f});return o.reference.x!==y.reference.x||o.reference.y!==y.reference.y||o.reference.width!==y.reference.width||o.reference.height!==y.reference.height?{reset:{rects:y}}:{}}}},"o",0,function(e){return void 0===e&&(e={}),{options:e,fn(t){var n,i,r,l;let{x:o,y:a,placement:f,rects:c,middlewareData:s}=t,{offset:h=0,mainAxis:p=!0,crossAxis:w=!0}=u(e,t),v={x:o,y:a},y=g(f),x=m(y),b=v[x],R=v[y],T=u(h,t),L="number"==typeof T?{mainAxis:T,crossAxis:0}:{mainAxis:null!=(n=T.mainAxis)?n:0,crossAxis:null!=(i=T.crossAxis)?i:0};if(p){let e="y"===x?"height":"width",t=c.reference[x]-c.floating[e]+L.mainAxis,n=c.reference[x]+c.reference[e]-L.mainAxis;b<t?b=t:b>n&&(b=n)}if(w){let e="y"===x?"width":"height",t=M.has(d(f)),n=c.reference[y]-c.floating[e]+(t&&(null==(r=s.offset)?void 0:r[y])||0)+(t?0:L.crossAxis),i=c.reference[y]+c.reference[e]+(t?0:(null==(l=s.offset)?void 0:l[y])||0)-(t?L.crossAxis:0);R<n?R=n:R>i&&(R=i)}return{[x]:b,[y]:R}}}},"T",0,function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;let{x:r,y:l,placement:o,middlewareData:a}=t,f=await N(t,e);return o===(null==(n=a.offset)?void 0:n.placement)&&null!=(i=a.arrow)&&i.alignmentOffset?{}:{x:r+f.x,y:l+f.y,data:{...f,placement:o}}}}},"e",0,function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:i,placement:r,platform:l}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=u(e,t),d={x:n,y:i},h=await l.detectOverflow(t,c),p=g(r),w=m(p),v=d[w],y=d[p],x=(e,t)=>s(t+h["y"===e?"top":"left"],t,t-h["y"===e?"bottom":"right"]);o&&(v=x(w,v)),a&&(y=x(p,y));let b=f.fn({...t,[w]:v,[p]:y});return{...b,data:{x:b.x-n,y:b.y-i,enabled:{[w]:o,[p]:a}}}}}},"q",0,function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,i,{placement:o,rects:a,platform:f,elements:c}=t,{apply:s=()=>{},...m}=u(e,t),p=await f.detectOverflow(t,m),w=d(o),v=h(o),y="y"===g(o),{width:x,height:b}=a.floating;"top"===w||"bottom"===w?(n=w,i=v===(await (null==f.isRTL?void 0:f.isRTL(c.floating))?"start":"end")?"left":"right"):(i=w,n="end"===v?"top":"bottom");let R=b-p.top-p.bottom,T=x-p.left-p.right,L=r(b-p[n],R),A=r(x-p[i],T),E=t.middlewareData.shift,O=!E,C=L,S=A;null!=E&&E.enabled.x&&(S=T),null!=E&&E.enabled.y&&(C=R),O&&!v&&(y?S=x-2*l(p.left,p.right):C=b-2*l(p.top,p.bottom)),await s({...t,availableWidth:S,availableHeight:C});let P=await f.getDimensions(c.floating);return x!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}}],95963)}]);
|