@unchainedshop/admin-ui 4.8.24 → 4.8.26
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 +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/{1VR1ml6ZgsrkIHz15x9AN → _TiowajLX6Z3MYsLPNgxd}/_buildManifest.js +62 -62
- package/out/_next/static/chunks/{24-r3ko_zk9tx.js → 0-b63f3cwlt9h.js} +2 -2
- package/out/_next/static/chunks/{3_oq57mmti33y.js → 0-uh133eqcz6n.js} +1 -1
- package/out/_next/static/chunks/{0__v8hox2f99w.js → 0172idn4wi-am.js} +3 -3
- package/out/_next/static/chunks/{1snnkviatd2ds.js → 018n9pot9f5uf.js} +3 -3
- package/out/_next/static/chunks/{41mslgyvxwsej.js → 036jcj4okqca4.js} +1 -1
- package/out/_next/static/chunks/{33ndyf-aam_my.js → 03_e40kzqm4nj.js} +2 -2
- package/out/_next/static/chunks/{2yg0gngo1ojjy.js → 05dtc5uryjkmn.js} +2 -2
- package/out/_next/static/chunks/{3laksuh0hh5mn.js → 0989pcuje2j55.js} +1 -1
- package/out/_next/static/chunks/{3t-bgqidpfg2p.js → 0_ngi84ak813x.js} +1 -1
- package/out/_next/static/chunks/{423wh31vs9fkd.js → 0ac5zzn3zeki5.js} +7 -7
- package/out/_next/static/chunks/{02az0am12ruz7.js → 0c1eqd9oamcur.js} +2 -2
- package/out/_next/static/chunks/{0uh50ckof6hx6.js → 0c2th4nk1xlfd.js} +2 -2
- package/out/_next/static/chunks/{1xp6bya-kpwfn.js → 0cotrfgh1n2cx.js} +1 -1
- package/out/_next/static/chunks/{2vhrwf77u-txi.js → 0dtahnosgvou_.js} +3 -3
- package/out/_next/static/chunks/{3dstnf59_lxjk.js → 0dvf7ltl55td_.js} +2 -2
- package/out/_next/static/chunks/{2c7jus8h2lvwm.js → 0k433cermb_mg.js} +12 -12
- package/out/_next/static/chunks/0kkky_8vhaeaz.js +227 -0
- package/out/_next/static/chunks/{2jz9857mvxw1f.js → 0l3hp2c6_v3vu.js} +2 -2
- package/out/_next/static/chunks/{2zclrb781ijot.js → 0o16fnqhx30be.js} +2 -2
- package/out/_next/static/chunks/{2516fxi011eb1.js → 0pecsk3c09b19.js} +2 -2
- package/out/_next/static/chunks/{2k53q5l-08fs3.js → 0pj6j2o4ya0xs.js} +4 -4
- package/out/_next/static/chunks/{079edy40hhkgj.js → 0w2zoz_fn_wha.js} +4 -4
- package/out/_next/static/chunks/{1ian7p0y14cf8.js → 0yhj5b33a-dp1.js} +5 -5
- package/out/_next/static/chunks/1-uz_5-063kh9.js +188 -0
- package/out/_next/static/chunks/{2jdelz2l311he.js → 10os1s66nimmi.js} +1 -1
- package/out/_next/static/chunks/119eyvb0tl4d7.js +5 -0
- package/out/_next/static/chunks/{3gls52bjnoo8q.js → 12ukdi5bzlbeo.js} +5 -5
- package/out/_next/static/chunks/{2rjnybq036zly.js → 13qk8ukzu1snm.js} +1 -1
- package/out/_next/static/chunks/{3_12z4kmwbyi-.js → 17wc5344qnib1.js} +3 -3
- package/out/_next/static/chunks/{2nsiy55zbhk1z.js → 18e-92lfg29wn.js} +9 -9
- package/out/_next/static/chunks/{277akhd6xt9p_.js → 1bhsgjj7bbftc.js} +2 -2
- package/out/_next/static/chunks/{42fk1xz9mr0ln.js → 1bp_0jnta8nj1.js} +2 -2
- package/out/_next/static/chunks/{3v80f5bymfjvd.js → 1cgxgd2cf8u3j.js} +1 -1
- package/out/_next/static/chunks/{0z3r-u3woyf5f.js → 1d951b6ed8oqn.js} +10 -10
- package/out/_next/static/chunks/{1jhwnwl2v85h3.js → 1epelh6347c59.js} +5 -5
- package/out/_next/static/chunks/{05j07j2bqc6wn.js → 1f5-j4f3irx0j.js} +1 -1
- package/out/_next/static/chunks/{32u64w60mh-qb.js → 1f536itbgwelp.js} +2 -2
- package/out/_next/static/chunks/{3uhtf9i__bqje.js → 1g57y7cq7tjcb.js} +3 -3
- package/out/_next/static/chunks/{26ie8u_ab24o8.js → 1gksg35fivk0-.js} +6 -6
- package/out/_next/static/chunks/{278a5_xfwj8t8.js → 1gv6j3dx9s71x.js} +3 -3
- package/out/_next/static/chunks/{238_wkbkqe4ru.js → 1hpx7xjq9a5bq.js} +2 -2
- package/out/_next/static/chunks/{21505qvz72rrr.js → 1hwup6qqzqzh8.js} +8 -8
- package/out/_next/static/chunks/{1jvgta6cg9f63.js → 1k703f4i1hgfy.js} +2 -2
- package/out/_next/static/chunks/{0qz4fmzwbpwoh.js → 1mo_wvf-1w8h-.js} +3 -3
- package/out/_next/static/chunks/{04jdni_d0ild5.js → 1o41sjh1nhwir.js} +10 -10
- package/out/_next/static/chunks/{2ckezjg_6i9cn.js → 1r0jyqmys60fw.js} +2 -2
- package/out/_next/static/chunks/1shkyosfbiwr4.js +1 -0
- package/out/_next/static/chunks/{35995k_05rugk.js → 1sivy8bkkmwxl.js} +1 -1
- package/out/_next/static/chunks/1t20r1ofch5r3.js +95 -0
- package/out/_next/static/chunks/{3ggt1tip88nkp.js → 1w_4l5gk0n27a.js} +2 -2
- package/out/_next/static/chunks/{3g0xmbqgxpj7o.js → 1weq9keqxiqpy.js} +1 -1
- package/out/_next/static/chunks/{3pu2ctsxqn-fl.js → 1zzpf1xbmchcj.js} +1 -1
- package/out/_next/static/chunks/{1wcwzekzzjwlq.js → 2-ciniqgtu96t.js} +3 -3
- package/out/_next/static/chunks/{16eus7dy50oyb.js → 20wamkfz03l6l.js} +2 -2
- package/out/_next/static/chunks/{2soyg4wxppe6n.js → 21c515liq8_sf.js} +2 -2
- package/out/_next/static/chunks/{0ij8zl3c4lqsk.js → 21lf0tu71e9e5.js} +4 -4
- package/out/_next/static/chunks/{3b1om2xaljjvh.js → 27tp9qrxhs6uf.js} +2 -2
- package/out/_next/static/chunks/{003ookoyh79au.js → 28z1z7in8-kbg.js} +1 -1
- package/out/_next/static/chunks/{3j7lb46_vxpd6.js → 2_0bsdj7k4kue.js} +2 -2
- package/out/_next/static/chunks/{1h4ckn5mxvi_8.js → 2b_lhf_533k0a.js} +3 -3
- package/out/_next/static/chunks/{1wez602sl5xny.js → 2cnc1jkfc85_x.js} +2 -2
- package/out/_next/static/chunks/{3_t_mtrxdgcpx.js → 2cwzp5h99c8es.js} +2 -2
- package/out/_next/static/chunks/{20g8sxfy8vkaq.js → 2ecq8dhsm2eu1.js} +9 -9
- package/out/_next/static/chunks/{0x1q_xhnh-ahz.js → 2eo4m196-t6ed.js} +2 -2
- package/out/_next/static/chunks/{0id72_o51c3wx.js → 2f8qzo__ksyu7.js} +2 -2
- package/out/_next/static/chunks/{127vzg0pzx801.js → 2g0f0awj5p2qc.js} +2 -2
- package/out/_next/static/chunks/2i5uj5i4z-xu8.js +188 -0
- package/out/_next/static/chunks/2j6cph79-th54.js +7 -0
- package/out/_next/static/chunks/{0frvaf7psqfd-.js → 2o7wjpjbr5vau.js} +2 -2
- package/out/_next/static/chunks/{0feoncudhgyln.js → 2ocwu5vbc5r34.js} +1 -1
- package/out/_next/static/chunks/{1zapg4a_w8idd.js → 2p6deqdf8dlo0.js} +12 -12
- package/out/_next/static/chunks/{2ify0_8_eg6i8.js → 2rw-r9fvx6t4y.js} +2 -2
- package/out/_next/static/chunks/{3rskgltgatai7.js → 2skxi0oqka3ef.js} +4 -4
- package/out/_next/static/chunks/2tw-iq1oliu-h.js +1 -0
- package/out/_next/static/chunks/{0v97keszuu2ye.js → 2v0koj5wv-png.js} +2 -2
- package/out/_next/static/chunks/{36wixjyjpx2kp.js → 2vhqw66fy605y.js} +3 -3
- package/out/_next/static/chunks/{2lgzijzm81h5i.js → 2vy8ae-zwwle1.js} +3 -3
- package/out/_next/static/chunks/{3kniyx4tjrwz2.js → 2y9z7y6i5cawj.js} +3 -3
- package/out/_next/static/chunks/{2blfxtx5ec8hc.js → 2z5b35yv3i6aq.js} +2 -2
- package/out/_next/static/chunks/{0je6_km9r9fy3.js → 3-av_88np5f5_.js} +2 -2
- package/out/_next/static/chunks/{2pg_bikt9gdq9.js → 3-h5nu9jontfy.js} +2 -2
- package/out/_next/static/chunks/{2t8p0kniibzz0.js → 3-hdz4_6asex-.js} +2 -2
- package/out/_next/static/chunks/{2tn-d1ba-rexw.js → 30zp6-w17u9rt.js} +2 -2
- package/out/_next/static/chunks/{2tv9xcqwcx7cx.js → 31_pg1fxqgdfx.js} +5 -5
- package/out/_next/static/chunks/{15qb_nbftdngf.js → 31j6x_qgtn-7j.js} +2 -2
- package/out/_next/static/chunks/{1530qvlw3k6-r.js → 363ng2l8o_bee.js} +1 -1
- package/out/_next/static/chunks/378867ti5yucc.js +3 -0
- package/out/_next/static/chunks/{3zscwdzfvog6_.js → 37phwvegpccj0.js} +3 -3
- package/out/_next/static/chunks/{1b350uot8ezcc.js → 37rq4vcfobv9x.js} +2 -2
- package/out/_next/static/chunks/{095k8hpxw-xbn.js → 3dbskin37ha12.js} +2 -2
- package/out/_next/static/chunks/{3h7u-1nejqqtb.js → 3opuxnw_w3yb5.js} +1 -1
- package/out/_next/static/chunks/{3oa7poag0otjv.js → 3s18b668qqa87.js} +3 -3
- package/out/_next/static/chunks/{41zg0kqiqrk1p.js → 3u3tcrl7wxrzi.js} +2 -2
- package/out/_next/static/chunks/{40xs4068rcf2a.js → 3wm88ukxj8u46.js} +2 -2
- package/out/_next/static/chunks/{17oybfz0_w57_.js → 404_8bnljpu18.js} +3 -3
- package/out/_next/static/chunks/{1ape9gu816w4y.js → 40bl8g3_13c59.js} +2 -2
- package/out/_next/static/chunks/{2gkktfamtwne7.js → 40v94fy15qxej.js} +2 -2
- package/out/_next/static/chunks/{0tpwg7ts4gi8y.js → 4188i5qe83m24.js} +9 -9
- package/out/_next/static/chunks/{39yikkubmtgqz.js → 458tg2eg5h8j5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3kacigl3rdfnv.js → turbopack-06hufy_7yovzw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-36iwsu47bxp33.js → turbopack-08u3rgl_09tb7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3krde2-jab_v8.js → turbopack-0bljt1tp0zt4q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3r3t_benyr3e0.js → turbopack-0bp88aylp19tu.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3ooud-27zb68g.js → turbopack-0cbhwv4g0ak0q.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1w4scyf6vpol5.js → turbopack-0cu-maxx6s175.js} +1 -1
- package/out/_next/static/chunks/{turbopack-44xximgh8gm_p.js → turbopack-0hpk8f7-2xoz3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2b1khd4qbo4g_.js → turbopack-0i_uv1p6_dyo-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3qzwty6gp2rp6.js → turbopack-0j92hsdmi8k6p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3aomwkxdb1xcd.js → turbopack-0jijm5fs2d3pa.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2tgdz9h51_lba.js → turbopack-0la8grv9f6bxn.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1nyeff6x3-pse.js → turbopack-0nlhzx_9rg6_p.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1_gglg3dpcrb9.js → turbopack-0rt_vkqrb6ykb.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2qna1gaz_m8yg.js → turbopack-0ywznohf-p_-1.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1sbxamm6uhuz5.js → turbopack-10l1gows-lyo9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1fgjbzhy-a0wc.js → turbopack-13nb0axu41yph.js} +1 -1
- package/out/_next/static/chunks/{turbopack-43nacpl_z8zcq.js → turbopack-148_1qw3wae7d.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0svt-kcwdzhha.js → turbopack-14qzcqdgveoel.js} +1 -1
- package/out/_next/static/chunks/{turbopack-43sxh-28xjh-f.js → turbopack-14zydki2yqyd3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0_rgd_u2af3ru.js → turbopack-15x3cqzaaew93.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1us_6ukt1jk6-.js → turbopack-1bnaj5x8w5m6z.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0u-4g74a2wwm5.js → turbopack-1ddkj8w1l0b4_.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2sq3dp63iy9sc.js → turbopack-1gbk68s3o1ulv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_5cgc46h8vnh.js → turbopack-1k2h3st-nygbo.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2gd0kzz1h3hib.js → turbopack-1r4g2xna7gckz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-43j5vro9m-e5s.js → turbopack-1w2r6t0rjz8pp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0hqshmcyjb59f.js → turbopack-1w3-o4vpw_tgq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-37s27yvm7wqhz.js → turbopack-22r1qh8g6munp.js} +1 -1
- package/out/_next/static/chunks/{turbopack-21wpv-2yjj_2k.js → turbopack-252a5rlyrq9fk.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1hmv9sdzrieda.js → turbopack-25bgi6hb6qg8w.js} +1 -1
- package/out/_next/static/chunks/{turbopack-17yo0nf9vriak.js → turbopack-25hv3ltvy0wos.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3q_fl6svn9p5v.js → turbopack-26z9lzkojt-cx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2xi5gbt97onhy.js → turbopack-272y7gt3ncsq7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ifrpl-_oaw20.js → turbopack-2b14t7jx5tgn7.js} +1 -1
- package/out/_next/static/chunks/{turbopack-411xj3ahxrm7x.js → turbopack-2cvqtdfi5z-33.js} +1 -1
- package/out/_next/static/chunks/{turbopack-211nr22unb6cu.js → turbopack-2h3q2k9k2riyq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3zvyyemmsh9sp.js → turbopack-2ihmy6dk991x4.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2oib8sz_w6hep.js → turbopack-2jpit5njafpgz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1691x76-jvxsz.js → turbopack-2xm-84om1nxe3.js} +1 -1
- package/out/_next/static/chunks/{turbopack-34ki5zh3v60qq.js → turbopack-3-84r4h6w7ztq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-31mn29md8ofl3.js → turbopack-3-kzs1xrhesa8.js} +1 -1
- package/out/_next/static/chunks/{turbopack-392y78oof71z2.js → turbopack-328hjoqts5fe-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-028t8_6fqod-c.js → turbopack-34cd6px36-_ae.js} +1 -1
- package/out/_next/static/chunks/{turbopack-086jsmtsvtaec.js → turbopack-34gjko7_04blz.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3_-rg9lmp4h0e.js → turbopack-34rebh56g2zjd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2jz68yzgjx-xl.js → turbopack-3591lq9bl5zm-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2uzg6ysxx6cf5.js → turbopack-3aujkr72l5znq.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1pld3p02m7h8c.js → turbopack-3cnuj1vf45306.js} +1 -1
- package/out/_next/static/chunks/{turbopack-33hnf_-ch94yh.js → turbopack-3ma-qc75tctdd.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2jdl7nqnftjeq.js → turbopack-3mxiudedhdbib.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3xna14y4x6294.js → turbopack-3n_3uj335tm0n.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0mdwnlfssojp9.js → turbopack-3np05fneli2gv.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3vj5mrb50cv96.js → turbopack-3opb94dwpz7bg.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3en5il6z7-a36.js → turbopack-3ouyppea8jp6k.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1xt9y6imo4y47.js → turbopack-3qmjh91o7wte5.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2tvzuc7lcku4v.js → turbopack-3seov_dvv8im-.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0ougsw-ryfqrq.js → turbopack-3uov6gvwwuxmx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3p5qeedyziucp.js → turbopack-3x5pttfv2qlpw.js} +1 -1
- package/out/_next/static/chunks/{turbopack-3vozqs8tej365.js → turbopack-3xem4akmi9at9.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2u4m169_39_qy.js → turbopack-3z9v3oefxw81i.js} +1 -1
- package/out/_next/static/chunks/{turbopack-2gq3nwbp7cjh5.js → turbopack-3zxsk_hikkrwx.js} +1 -1
- package/out/_next/static/chunks/{turbopack-0bro3_e58rpi5.js → turbopack-42akqkt4irsps.js} +1 -1
- package/out/_next/static/chunks/{turbopack-1hmil1x9p77h_.js → turbopack-44bpgib3rn1s2.js} +1 -1
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/exports/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/WorkQueueListView/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-45H2WVIC.js +0 -51
- package/dist/chunk-4VNS5WPM.js +0 -37
- package/dist/chunk-54DKBWXV.js +0 -33
- package/dist/chunk-6TXD4TA7.js +0 -1196
- package/dist/chunk-BGCKJQGS.js +0 -58
- package/dist/chunk-BYXBJQAS.js +0 -1
- package/dist/chunk-EJDZRZSZ.js +0 -59
- package/dist/chunk-ELPURWDC.js +0 -75
- package/dist/chunk-IAQPLRXZ.js +0 -16
- package/dist/chunk-ILYPJE4N.js +0 -57
- package/dist/chunk-IXBMHOB5.js +0 -13
- package/dist/chunk-KH5MK6ZW.js +0 -18
- package/dist/chunk-NT7RB7AK.js +0 -70
- package/dist/chunk-OKGJ6HDE.js +0 -26
- package/dist/chunk-Q6S3LBUF.js +0 -180
- package/dist/chunk-QNLGYFV7.js +0 -22
- package/dist/chunk-RAQV2GYF.js +0 -70
- package/dist/chunk-RHUFQVKL.js +0 -514
- package/dist/chunk-RVG6IOFC.js +0 -11
- package/dist/chunk-SRAAKMWY.js +0 -39
- package/dist/chunk-UFYR5WZT.js +0 -165
- package/dist/chunk-UXG7EYHC.js +0 -614
- package/dist/chunk-VDKQGOMV.js +0 -840
- package/dist/chunk-XHOCXPD5.js +0 -9
- package/dist/chunk-XJBPMIC4.js +0 -284
- package/dist/chunk-YO6PT7KD.js +0 -13
- package/dist/chunk-YSKZE2KN.js +0 -652
- package/dist/components/ui/Accordion/Accordion.d.ts +0 -11
- package/dist/components/ui/Accordion/Accordion.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionHeader.d.ts +0 -6
- package/dist/components/ui/Accordion/AccordionHeader.d.ts.map +0 -1
- package/dist/components/ui/Accordion/AccordionItem.d.ts +0 -11
- package/dist/components/ui/Accordion/AccordionItem.d.ts.map +0 -1
- package/dist/components/ui/ActiveInActive.d.ts +0 -10
- package/dist/components/ui/ActiveInActive.d.ts.map +0 -1
- package/dist/components/ui/AnimatedCounter.d.ts +0 -7
- package/dist/components/ui/AnimatedCounter.d.ts.map +0 -1
- package/dist/components/ui/Badge.d.ts +0 -10
- package/dist/components/ui/Badge.d.ts.map +0 -1
- package/dist/components/ui/BreadCrumbs.d.ts +0 -7
- package/dist/components/ui/BreadCrumbs.d.ts.map +0 -1
- package/dist/components/ui/Button.d.ts +0 -36
- package/dist/components/ui/Button.d.ts.map +0 -1
- package/dist/components/ui/CopyableText.d.ts +0 -5
- package/dist/components/ui/CopyableText.d.ts.map +0 -1
- package/dist/components/ui/DateInput.d.ts +0 -15
- package/dist/components/ui/DateInput.d.ts.map +0 -1
- package/dist/components/ui/DateRangeFilterInput.d.ts +0 -4
- package/dist/components/ui/DateRangeFilterInput.d.ts.map +0 -1
- package/dist/components/ui/DetailHeader.d.ts +0 -6
- package/dist/components/ui/DetailHeader.d.ts.map +0 -1
- package/dist/components/ui/DraggableIcon.d.ts +0 -3
- package/dist/components/ui/DraggableIcon.d.ts.map +0 -1
- package/dist/components/ui/ErrorBoundary.d.ts +0 -18
- package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
- package/dist/components/ui/ErrorFallback.d.ts +0 -6
- package/dist/components/ui/ErrorFallback.d.ts.map +0 -1
- package/dist/components/ui/HelpText.d.ts +0 -11
- package/dist/components/ui/HelpText.d.ts.map +0 -1
- package/dist/components/ui/ImageWithFallback.d.ts +0 -7
- package/dist/components/ui/ImageWithFallback.d.ts.map +0 -1
- package/dist/components/ui/InfoTextBanner.d.ts +0 -6
- package/dist/components/ui/InfoTextBanner.d.ts.map +0 -1
- package/dist/components/ui/JSONView.d.ts +0 -6
- package/dist/components/ui/JSONView.d.ts.map +0 -1
- package/dist/components/ui/ListHeader.d.ts +0 -6
- package/dist/components/ui/ListHeader.d.ts.map +0 -1
- package/dist/components/ui/Loading.d.ts +0 -3
- package/dist/components/ui/Loading.d.ts.map +0 -1
- package/dist/components/ui/NoData.d.ts +0 -7
- package/dist/components/ui/NoData.d.ts.map +0 -1
- package/dist/components/ui/NoImage.d.ts +0 -7
- package/dist/components/ui/NoImage.d.ts.map +0 -1
- package/dist/components/ui/NoImageSvg.d.ts +0 -8
- package/dist/components/ui/NoImageSvg.d.ts.map +0 -1
- package/dist/components/ui/PageHeader.d.ts +0 -11
- package/dist/components/ui/PageHeader.d.ts.map +0 -1
- package/dist/components/ui/Pagination.d.ts +0 -8
- package/dist/components/ui/Pagination.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.d.ts.map +0 -1
- package/dist/components/ui/Portal/Portal.types.d.ts +0 -16
- package/dist/components/ui/Portal/Portal.types.d.ts.map +0 -1
- package/dist/components/ui/SaveAndCancelButtons.d.ts +0 -10
- package/dist/components/ui/SaveAndCancelButtons.d.ts.map +0 -1
- package/dist/components/ui/SearchField.d.ts +0 -7
- package/dist/components/ui/SearchField.d.ts.map +0 -1
- package/dist/components/ui/Tab.d.ts +0 -18
- package/dist/components/ui/Tab.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagInput.d.ts +0 -14
- package/dist/components/ui/Tag/TagInput.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagList.d.ts +0 -8
- package/dist/components/ui/Tag/TagList.d.ts.map +0 -1
- package/dist/components/ui/Tag/TagListForm.d.ts +0 -8
- package/dist/components/ui/Tag/TagListForm.d.ts.map +0 -1
- package/dist/components/ui/Toggle.d.ts +0 -11
- package/dist/components/ui/Toggle.d.ts.map +0 -1
- package/dist/components/ui/ToolTip.d.ts +0 -7
- package/dist/components/ui/ToolTip.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts +0 -9
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/chart.d.ts +0 -42
- package/dist/components/ui/chart.d.ts.map +0 -1
- package/dist/components/ui/form/CheckboxField.d.ts +0 -4
- package/dist/components/ui/form/CheckboxField.d.ts.map +0 -1
- package/dist/components/ui/form/ChoicesField.d.ts +0 -12
- package/dist/components/ui/form/ChoicesField.d.ts.map +0 -1
- package/dist/components/ui/form/Combobox.d.ts +0 -20
- package/dist/components/ui/form/Combobox.d.ts.map +0 -1
- package/dist/components/ui/form/DatePickerField.d.ts +0 -4
- package/dist/components/ui/form/DatePickerField.d.ts.map +0 -1
- package/dist/components/ui/form/EmailField.d.ts +0 -7
- package/dist/components/ui/form/EmailField.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWithHelp.d.ts +0 -10
- package/dist/components/ui/form/FieldWithHelp.d.ts.map +0 -1
- package/dist/components/ui/form/FieldWrapper.d.ts +0 -8
- package/dist/components/ui/form/FieldWrapper.d.ts.map +0 -1
- package/dist/components/ui/form/FormErrors.d.ts +0 -6
- package/dist/components/ui/form/FormErrors.d.ts.map +0 -1
- package/dist/components/ui/form/JSONAreaField.d.ts +0 -7
- package/dist/components/ui/form/JSONAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts +0 -8
- package/dist/components/ui/form/MarkdownTextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/PasswordField.d.ts +0 -3
- package/dist/components/ui/form/PasswordField.d.ts.map +0 -1
- package/dist/components/ui/form/SelectField.d.ts +0 -11
- package/dist/components/ui/form/SelectField.d.ts.map +0 -1
- package/dist/components/ui/form/SubmitButton.d.ts +0 -9
- package/dist/components/ui/form/SubmitButton.d.ts.map +0 -1
- package/dist/components/ui/form/TagInputField.d.ts +0 -6
- package/dist/components/ui/form/TagInputField.d.ts.map +0 -1
- package/dist/components/ui/form/TextAreaField.d.ts +0 -8
- package/dist/components/ui/form/TextAreaField.d.ts.map +0 -1
- package/dist/components/ui/form/TextField.d.ts +0 -10
- package/dist/components/ui/form/TextField.d.ts.map +0 -1
- package/dist/components/ui/form/index.d.ts +0 -17
- package/dist/components/ui/form/index.d.ts.map +0 -1
- package/dist/components/ui/icons.d.ts +0 -4
- package/dist/components/ui/icons.d.ts.map +0 -1
- package/dist/components/ui/index.d.ts +0 -41
- package/dist/components/ui/index.d.ts.map +0 -1
- package/dist/form.js +0 -30102
- package/dist/gql/types.d.ts +0 -17209
- package/dist/gql/types.d.ts.map +0 -1
- package/dist/hooks.js +0 -41
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/modal.js +0 -114
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts +0 -8
- package/dist/modules/UnchainedContext/UnchainedContext.d.ts.map +0 -1
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts +0 -7
- package/dist/modules/UnchainedContext/useUnchainedContext.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/MD5MetaDataFragment.d.ts.map +0 -1
- package/dist/modules/accounts/fragment/UserFragment.d.ts +0 -3
- package/dist/modules/accounts/fragment/UserFragment.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts +0 -10
- package/dist/modules/accounts/hooks/useCurrentUser.d.ts.map +0 -1
- package/dist/modules/accounts/hooks/useUsersCount.d.ts +0 -8
- package/dist/modules/accounts/hooks/useUsersCount.d.ts.map +0 -1
- package/dist/modules/accounts.js +0 -1013
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts +0 -8
- package/dist/modules/assortment/hooks/useAssortmentsCount.d.ts.map +0 -1
- package/dist/modules/assortment.js +0 -1121
- package/dist/modules/common/components/AppContext.d.ts +0 -18
- package/dist/modules/common/components/AppContext.d.ts.map +0 -1
- package/dist/modules/common/components/FormWrapper.d.ts +0 -8
- package/dist/modules/common/components/FormWrapper.d.ts.map +0 -1
- package/dist/modules/common/components/ThemeWrapper.d.ts +0 -10
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +0 -1
- package/dist/modules/common/data/iso-codes.d.ts +0 -4
- package/dist/modules/common/data/iso-codes.d.ts.map +0 -1
- package/dist/modules/common/data/miscellaneous.d.ts +0 -51
- package/dist/modules/common/data/miscellaneous.d.ts.map +0 -1
- package/dist/modules/common/fragments/AddressFragment.d.ts +0 -3
- package/dist/modules/common/fragments/AddressFragment.d.ts.map +0 -1
- package/dist/modules/common/hooks/useApp.d.ts +0 -11
- package/dist/modules/common/hooks/useApp.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVExport.d.ts +0 -10
- package/dist/modules/common/hooks/useCSVExport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useCSVImport.d.ts +0 -18
- package/dist/modules/common/hooks/useCSVImport.d.ts.map +0 -1
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts +0 -5
- package/dist/modules/common/hooks/useChatEndpointChecker.d.ts.map +0 -1
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts +0 -10
- package/dist/modules/common/hooks/useConfirmMediaUpload.d.ts.map +0 -1
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts +0 -23
- package/dist/modules/common/hooks/useDashboardMetrics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useLocalStorage.d.ts +0 -3
- package/dist/modules/common/hooks/useLocalStorage.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts +0 -25
- package/dist/modules/common/hooks/useOrderAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts +0 -16
- package/dist/modules/common/hooks/useOrderItemsAnalytics.d.ts.map +0 -1
- package/dist/modules/common/hooks/useOutsideClick.d.ts +0 -3
- package/dist/modules/common/hooks/useOutsideClick.d.ts.map +0 -1
- package/dist/modules/common/hooks/usePortal.d.ts +0 -20
- package/dist/modules/common/hooks/usePortal.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopConfiguration.d.ts +0 -8
- package/dist/modules/common/hooks/useShopConfiguration.d.ts.map +0 -1
- package/dist/modules/common/hooks/useShopInfo.d.ts +0 -41
- package/dist/modules/common/hooks/useShopInfo.d.ts.map +0 -1
- package/dist/modules/common/hooks/useStatusTypes.d.ts +0 -10
- package/dist/modules/common/hooks/useStatusTypes.d.ts.map +0 -1
- package/dist/modules/common/hooks/useSystemRoles.d.ts +0 -7
- package/dist/modules/common/hooks/useSystemRoles.d.ts.map +0 -1
- package/dist/modules/common/hooks/useTheme.d.ts +0 -7
- package/dist/modules/common/hooks/useTheme.d.ts.map +0 -1
- package/dist/modules/common/utils/deBounce.d.ts +0 -3
- package/dist/modules/common/utils/deBounce.d.ts.map +0 -1
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts +0 -7
- package/dist/modules/common/utils/defaultNextImageLoader.d.ts.map +0 -1
- package/dist/modules/common/utils/formatUsername.d.ts +0 -3
- package/dist/modules/common/utils/formatUsername.d.ts.map +0 -1
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts +0 -30
- package/dist/modules/common/utils/getSetupStepsConfigurationsMeta.d.ts.map +0 -1
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts +0 -4
- package/dist/modules/common/utils/normalizeFilterKeys.d.ts.map +0 -1
- package/dist/modules/common/utils/useFormatDateTime.d.ts +0 -7
- package/dist/modules/common/utils/useFormatDateTime.d.ts.map +0 -1
- package/dist/modules/common/utils/utils.d.ts +0 -21
- package/dist/modules/common/utils/utils.d.ts.map +0 -1
- package/dist/modules/country/fragments/CountryFragment.d.ts +0 -3
- package/dist/modules/country/fragments/CountryFragment.d.ts.map +0 -1
- package/dist/modules/country/hooks/useCountries.d.ts +0 -22
- package/dist/modules/country/hooks/useCountries.d.ts.map +0 -1
- package/dist/modules/country.js +0 -108
- package/dist/modules/currency.js +0 -119
- package/dist/modules/delivery-provider.js +0 -269
- package/dist/modules/enrollment.js +0 -353
- package/dist/modules/event.js +0 -123
- package/dist/modules/filter.js +0 -448
- package/dist/modules/forms/components/Form.d.ts +0 -8
- package/dist/modules/forms/components/Form.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useField.d.ts +0 -35
- package/dist/modules/forms/hooks/useField.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useForm.d.ts +0 -44
- package/dist/modules/forms/hooks/useForm.d.ts.map +0 -1
- package/dist/modules/forms/hooks/useFormContext.d.ts +0 -3
- package/dist/modules/forms/hooks/useFormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/FormContext.d.ts +0 -13
- package/dist/modules/forms/lib/FormContext.d.ts.map +0 -1
- package/dist/modules/forms/lib/clean.d.ts +0 -3
- package/dist/modules/forms/lib/clean.d.ts.map +0 -1
- package/dist/modules/forms/lib/validators.d.ts +0 -20
- package/dist/modules/forms/lib/validators.d.ts.map +0 -1
- package/dist/modules/language/fragments/LanguageFragment.d.ts +0 -3
- package/dist/modules/language/fragments/LanguageFragment.d.ts.map +0 -1
- package/dist/modules/language/hooks/useLanguages.d.ts +0 -19
- package/dist/modules/language/hooks/useLanguages.d.ts.map +0 -1
- package/dist/modules/language.js +0 -106
- package/dist/modules/modal/components/AlertMessage.d.ts +0 -9
- package/dist/modules/modal/components/AlertMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/DangerMessage.d.ts +0 -12
- package/dist/modules/modal/components/DangerMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/ImportResultMessage.d.ts +0 -14
- package/dist/modules/modal/components/ImportResultMessage.d.ts.map +0 -1
- package/dist/modules/modal/components/Modal.d.ts +0 -10
- package/dist/modules/modal/components/Modal.d.ts.map +0 -1
- package/dist/modules/modal/components/ModalWrapper.d.ts +0 -6
- package/dist/modules/modal/components/ModalWrapper.d.ts.map +0 -1
- package/dist/modules/modal/hooks/useModal.d.ts +0 -7
- package/dist/modules/modal/hooks/useModal.d.ts.map +0 -1
- package/dist/modules/modal/utils/ModalContext.d.ts +0 -9
- package/dist/modules/modal/utils/ModalContext.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderDetailFragment.d.ts.map +0 -1
- package/dist/modules/order/fragments/OrderFragment.d.ts +0 -3
- package/dist/modules/order/fragments/OrderFragment.d.ts.map +0 -1
- package/dist/modules/order/hooks/useOrders.d.ts +0 -46
- package/dist/modules/order/hooks/useOrders.d.ts.map +0 -1
- package/dist/modules/order.js +0 -563
- package/dist/modules/payment-providers.js +0 -206
- package/dist/modules/product/hooks/useProductsCount.d.ts +0 -8
- package/dist/modules/product/hooks/useProductsCount.d.ts.map +0 -1
- package/dist/modules/product-review.js +0 -251
- package/dist/modules/product.js +0 -1929
- package/dist/modules/quotation.js +0 -297
- package/dist/modules/token.js +0 -143
- package/dist/modules/warehousing-providers.js +0 -206
- package/dist/modules/work/fragments/WorkFragment.d.ts +0 -3
- package/dist/modules/work/fragments/WorkFragment.d.ts.map +0 -1
- package/dist/modules/work/hooks/useAddWork.d.ts +0 -6
- package/dist/modules/work/hooks/useAddWork.d.ts.map +0 -1
- package/dist/modules/work/hooks/useWork.d.ts +0 -32
- package/dist/modules/work/hooks/useWork.d.ts.map +0 -1
- package/dist/modules/work.js +0 -308
- package/dist/plugins.js +0 -8
- package/dist/providers.js +0 -6
- package/dist/sdk/hooks.d.ts +0 -9
- package/dist/sdk/hooks.d.ts.map +0 -1
- package/dist/sdk/modal.d.ts +0 -7
- package/dist/sdk/modal.d.ts.map +0 -1
- package/dist/sdk/plugins.d.ts +0 -67
- package/dist/sdk/plugins.d.ts.map +0 -1
- package/dist/sdk/providers.d.ts +0 -5
- package/dist/sdk/providers.d.ts.map +0 -1
- package/dist/sdk/theme.d.ts +0 -26
- package/dist/sdk/theme.d.ts.map +0 -1
- package/dist/theme.js +0 -34
- package/dist/ui.js +0 -21540
- package/out/_next/static/chunks/0-kffmdf1lcxk.js +0 -1
- package/out/_next/static/chunks/0axbsyx70ajmu.js +0 -5
- package/out/_next/static/chunks/0ki8gfs3dlslv.js +0 -3
- package/out/_next/static/chunks/1-kfgv00-58xr.js +0 -1
- package/out/_next/static/chunks/140i5f2n-78cg.js +0 -7
- package/out/_next/static/chunks/18-yq__gv10ty.js +0 -107
- package/out/_next/static/chunks/1qx9z7kl93y0b.js +0 -188
- package/out/_next/static/chunks/25mevljp4o01b.js +0 -188
- package/out/_next/static/chunks/2qhvt2n_whgz1.js +0 -227
- package/out/manifest.json +0 -48
- /package/out/_next/static/{1VR1ml6ZgsrkIHz15x9AN → _TiowajLX6Z3MYsLPNgxd}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{1VR1ml6ZgsrkIHz15x9AN → _TiowajLX6Z3MYsLPNgxd}/_ssgManifest.js +0 -0
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70693,12970,e=>{"use strict";var t=e.i(91788);let s=t.default.createContext({customProperties:{},hydrateFragment:(e,t)=>null});e.s(["default",0,s],12970),e.s(["default",0,()=>(0,t.useContext)(s)],70693)},56599,e=>{"use strict";var t=e.i(91398),s=e.i(90645),r=e.i(72043),l=e.i(91788),a=e.i(69322),i=e.i(59080),d=e.i(76204),n=e.i(21649);let o=i.gql`
|
|
2
|
-
mutation ExportToken(
|
|
3
|
-
$tokenId: ID!
|
|
4
|
-
$quantity: Int! = 1
|
|
5
|
-
$recipientWalletAddress: String!
|
|
6
|
-
) {
|
|
7
|
-
exportToken(
|
|
8
|
-
tokenId: $tokenId
|
|
9
|
-
quantity: $quantity
|
|
10
|
-
recipientWalletAddress: $recipientWalletAddress
|
|
11
|
-
) {
|
|
12
|
-
...TokenFragment
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
${n.default}
|
|
16
|
-
`,u=({isOpen:e,addresses:s,cancel:r,onExport:i})=>{let[d,n]=(0,l.useState)(""),{formatMessage:o}=(0,a.useIntl)();return e&&(0,t.jsxs)("div",{className:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-slate-500 bg-opacity/75 transition-opacity"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsxs)("div",{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("fieldset",{className:"space-y-5",children:s?.map(e=>(0,t.jsxs)("div",{className:"relative flex items-start",children:[(0,t.jsx)("div",{className:"flex h-5 items-center",children:(0,t.jsx)("input",{id:e.address,name:"addresses",value:e.address,onChange:()=>{n(e.address)},checked:d?.toLowerCase()===e.address?.toLowerCase(),type:"checkbox",className:"h-4 w-4 rounded-sm border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-slate-950 focus:ring-slate-900"})}),(0,t.jsx)("div",{className:"ml-3 text-sm",children:(0,t.jsx)("label",{htmlFor:"comments",className:"font-medium text-slate-700",children:e.address})})]},e.address))})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{htmlFor:"Address",className:"block text-sm font-medium text-slate-700",children:o({id:"or_manually_enter_address",defaultMessage:"Or enter address manually"})}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)("input",{type:"text",onChange:e=>n(e.target.value),value:d,name:"Address",id:"Address",className:"block w-full rounded-md border-slate-300 shadow-xs focus:border-slate-900 focus:ring-slate-900 sm:text-sm",placeholder:"0xF5F72AE7fa1fa990ebaF163208Ed7aD6a3f42DEA"})})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(d),className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-2 sm:text-sm",children:o({id:"export",defaultMessage:"Export"})}),(0,t.jsx)("button",{type:"button",onClick:r,className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-1 sm:mt-0 sm:text-sm",children:o({id:"cancel",defaultMessage:"Cancel"})})]})]})})})]})};e.s(["default",0,({tokenId:e,tokenStatus:i,addresses:n=[]})=>{let{exportToken:c}=(()=>{let[e]=(0,d.useMutation)(o);return{exportToken:async({quantity:t,recipientWalletAddress:s,tokenId:r})=>e({variables:{quantity:t,recipientWalletAddress:s,tokenId:r}})}})(),{formatMessage:m}=(0,a.useIntl)(),[f,h]=(0,l.useState)(!1),x=async t=>{await c({tokenId:e,recipientWalletAddress:t}),h(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{isOpen:f,cancel:()=>{h(!1)},onExport:x,addresses:n}),"DECENTRALIZED"!==i&&(0,t.jsxs)("button",{type:"button",onClick:()=>h(!0),disabled:"EXPORTING"===i,className:(0,r.default)(" text-center inline-flex truncate rounded-md border border-transparent bg-slate-950 px-5 py-1 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2",{"bg-slate-400 hover:bg-slate-500":"EXPORTING"===i}),children:[(0,t.jsx)(s.LinkIcon,{className:"w-6 h-6 mr-2"}),m("CENTRALIZED"===i?{id:"export",defaultMessage:"Export"}:{id:"exporting",defaultMessage:"Exporting..."})]})]})}],56599)},97351,e=>{"use strict";var t=e.i(10576),s=e.i(59080),r=e.i(76204);let l=s.gql`
|
|
17
|
-
mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
|
|
18
|
-
createWebAuthnCredentialCreationOptions(username: $username)
|
|
19
|
-
}
|
|
20
|
-
`,a=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["default",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,r.useMutation)(l);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:s})=>{let{data:r}=await e({username:s}),{createWebAuthnCredentialCreationOptions:l}=r,i=new TextEncoder;l.challenge=(0,t.default)(l.challenge),l.user={id:i.encode(s),name:s,displayName:s};let d=await navigator.credentials.create({publicKey:l}),n=a(d.response.attestationObject),o=a(d.response.clientDataJSON),u=a(d.rawId),c=d.response.getAuthenticatorData?a(d.response.getAuthenticatorData()):"",m=d.response.getPublicKey?a(d.response.getPublicKey()):"";return{id:u,rawId:u,response:{clientDataJSON:o,attestationObject:n,authenticatorData:c,publicKey:m,publicKeyAlgorithm:d.response.getPublicKeyAlgorithm?d.response.getPublicKeyAlgorithm():-7,transports:d.response.getTransports?d.response.getTransports():["internal"]},authenticatorAttachment:d.authenticatorAttachment||"platform",clientExtensionResults:d.getClientExtensionResults?.()||{},type:"public-key",user:{id:s,name:s,displayName:s}}}}}],97351)},44926,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(69322);e.s(["default",0,({isActive:e,activeText:l=null,activeClassName:a="",inActiveClassName:i="",inActiveText:d=null,containerClassName:n=""})=>{let{formatMessage:o}=(0,r.useIntl)();return(0,t.jsx)("span",{className:(0,s.default)("",n),children:e?(0,t.jsx)("span",{className:(0,s.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800 uppercase",a),children:l||o({id:"active",defaultMessage:"Active"})}):(0,t.jsx)("span",{className:(0,s.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-amber-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300 border-amber-400 dark:border-yellow-800 uppercase",i),children:d||o({id:"inactive",defaultMessage:"In-Active"})})})}])},5505,e=>{"use strict";var t=e.i(91398),s=e.i(91788),r=e.i(72043);let l=(0,s.createContext)(!1);e.s(["FormWrapperContext",0,l,"default",0,({children:e,className:s=""})=>(0,t.jsx)(l.Provider,{value:!0,children:(0,t.jsx)("div",{className:"sm:max-w-full",children:(0,t.jsx)("div",{className:(0,r.default)("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",s),children:e})})})])},35065,16509,e=>{"use strict";var t=e.i(91398),s=e.i(26019),r=e.i(91788),l=e.i(69322);let a=({src:e,width:t,quality:s=75})=>e?`${e}?w=${t}&q=${s}`:"/no-image.jpg";e.s(["default",0,a],16509);let i=({className:e="w-full h-full",width:s=200,height:r=200})=>(0,t.jsxs)("svg",{width:s,height:r,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:d,...n})=>{let[o,u]=(0,r.useState)(d),[c,m]=(0,r.useState)(!1),{formatMessage:f}=(0,l.useIntl)();return c||!o?(0,t.jsx)("div",{className:n.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(i,{width:n.width||200,height:n.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(s.default,{src:o,loader:a,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...n,onError:()=>{e&&o!==e?u(e):m(!0)}})}],35065)},12197,e=>{"use strict";var t=e.i(91398),s=e.i(69322);e.s(["default",0,()=>{let{formatMessage:e}=(0,s.useIntl)();return(0,t.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,t.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,t.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,t.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}])},77043,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(69322),l=e.i(35065),a=e.i(22315);e.s(["default",0,({file:e,className:i=""})=>{let{formatMessage:d}=(0,r.useIntl)();return(0,t.jsx)("div",{className:(0,s.default)("h-10 w-10 shrink-0",i),children:e?(0,t.jsx)(l.default,{className:"relative h-10 w-10 rounded-sm",src:e.url,width:100,height:100,alt:d({id:"image_not_available",defaultMessage:"Image not available"})}):(0,t.jsx)(a.default,{})})}])},26178,e=>{"use strict";var t=e.i(91398),s=e.i(91788);let r=s.forwardRef(function({title:e,titleId:t,...r},l){return s.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:l,"aria-labelledby":t},r),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 0 0 5.636 5.636m12.728 12.728A9 9 0 0 1 5.636 5.636m12.728 12.728L5.636 5.636"}))});var l=e.i(72043),a=e.i(69322);e.s(["default",0,({message:e,className:s="",Icon:i=null})=>(0,t.jsx)("div",{className:(0,l.default)("rounded-md flex w-full flex-col items-center justify-center min-h-[176px] py-8 border-1 border-dashed border-slate-300 dark:border-slate-700 text-slate-500 dark:text-slate-600",s),children:(0,t.jsxs)("div",{className:"grid items-center justify-center",children:[(0,t.jsx)("div",{className:"flex items-center justify-center text-slate-400 dark:text-slate-600",children:i||(0,t.jsx)(r,{className:"h-6 w-6"})}),(0,t.jsx)(a.FormattedMessage,{id:"no_data_message",defaultMessage:"<p>No <span> {message} available</span> </p>",values:{p:e=>(0,t.jsx)("p",{className:"mt-2 m-auto flex items-center justify-center",children:e}),span:e=>(0,t.jsxs)("span",{className:"capitalize ml-1",children:[" ",e," "]}),message:e}})]})})],26178)},22315,e=>{"use strict";var t=e.i(91398),s=e.i(81618),r=e.i(72043);e.s(["default",0,({className:e="",containerClassName:l="",Icon:a=null})=>(0,t.jsx)("span",{className:(0,r.default)("text-slate-400",l),children:a||(0,t.jsx)(s.PhotoIcon,{className:(0,r.default)(e)})})])},20495,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(2765);e.s(["default",0,({inputText:e=null,onInputChange:l,defaultValue:a})=>{let{formatMessage:i}=(0,s.useIntl)(),d=(0,r.default)(200)(l);return(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("label",{htmlFor:"search",className:"sr-only",children:e||i({id:"search",defaultMessage:"Search"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3",children:(0,t.jsx)("svg",{className:"h-5 w-5 text-slate-400 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})})}),(0,t.jsx)("input",{onChange:e=>d(e.target.value),id:"search",defaultValue:a,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:i({id:"search",defaultMessage:"Search"}),type:"search"})]})]})}])},8918,e=>{"use strict";var t=e.i(91398),s=e.i(91788),r=e.i(72043),l=e.i(69322),a=e.i(88566),i=e.i(25575),d=e.i(3828),n=e.i(83147);let o=({onSort:e,sortDirection:s})=>s?"ASC"===s?(0,t.jsx)(i.ChevronUpIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)(a.ChevronDownIcon,{className:"ml-2 w-5 h-5 text-slate-700",onClick:e}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"ml-2 w-6 h-6",onClick:e,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"})});var u=e.i(26178);let c=e=>{let t=[],r=[],l=[];return s.default.Children.forEach(e.children,e=>{e?.props?.header?t.push(e):e?.props?.footer?l.push(e):r.push(e)}),{header:t,footer:l,body:r}},m=({className:e="",...a})=>{let[i,d]=(0,s.useState)(c(a)),{formatMessage:n}=(0,l.useIntl)(),o={...i,header:s.default.Children.map(i.header,e=>s.default.cloneElement(e))};return(0,s.useEffect)(()=>{d(c(a))},[a.children]),o.header.length||o.body.length?(0,t.jsxs)("table",{className:(0,r.default)("overflow-hidden my-3 flex w-full flex-row flex-nowrap divide-y divide-slate-200 dark:divide-slate-600 shadow-sm sm:rounded-lg sm:bg-white dark:bg-slate-950",e),...a,children:[(0,t.jsx)("thead",{className:"hidden sm:table-header-group bg-slate-100 dark:bg-slate-700 text-sm text-slate-700 dark:text-slate-200",children:o.header}),o.body.length?(0,t.jsx)("tbody",{className:"space-y-4 sm:space-y-0 flex-1 sm:divide-y divide-slate-200 dark:divide-slate-700 sm:bg-white dark:sm:bg-slate-800 sm:flex-none",children:o.body}):null,o.footer.length?(0,t.jsx)("tfoot",{children:o.footer}):null]}):(0,t.jsx)(u.default,{message:n({id:"data",defaultMessage:"Data"})})};m.Row=({className:e="",children:l=[],header:a=!1,enablesort:i=!1,...d})=>{let n=s.default.Children.map(l,e=>s.default?.cloneElement(e||(0,t.jsx)("span",{}),{header:a,enablesort:i}));return(0,t.jsx)("tr",{className:(0,r.default)("grid grid-cols-1 auto-rows-fr border border-slate-100 dark:border-slate-700 sm:border-0 rounded-md sm:mb-0 sm:table-row sm:rounded-none bg-white dark:bg-slate-800 sm:bg-inherit dark:sm:bg-inherit",e),...d,children:n})},m.Cell=({className:e="",header:s=!1,enablesort:l=!1,children:a,sortKey:i=null,defaultSortDirection:u=null,...c})=>{let m=(0,d.useRouter)(),f=(0,n.getSortKeys)(m.query?.sort),h=s?"th":"td";return(0,t.jsx)(h,{className:(0,r.default)(s?"px-4 py-3 text-left text-slate-500 dark:text-slate-200":"whitespace-nowrap px-4 py-3 text-slate-500 dark:text-slate-200 border-b dark:border-slate-300 last:border-b-0 sm:border-b-0 text-left flex items-center sm:table-cell",e),...c,children:(0,t.jsxs)("div",{className:"flex items-center",children:[a,"th"===h&&l&&i&&(0,t.jsx)(o,{onSort:e=>{var t;let s;e.preventDefault(),((t=f[i])?"ASC"===t?"DESC":null:"ASC")||!f[i]?s={...f,[i]:"ASC"===f[i]?"DESC":"ASC"}:(delete f[i],s=f);let r=Object.entries(s).map(([e,t])=>[e,t].join("_")).join(","),{sort:l,...a}=m.query,d=Object.keys(a).map(e=>[e,a[e]].join("=")).join("&"),o=0===Object.keys(a).length?`${m.basePath}?sort=${r}`:`${m.basePath}?${d}&sort=${r}`;r?m.push(o):m.push({query:(0,n.normalizeQuery)(a)})},sortDirection:Object.keys(f).length?f[i]:u})]})})},e.s(["default",0,m],8918)},64591,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(3828),l=e.i(83147);e.s(["default",0,({toggleText:e="",toggleKey:a=null,onToggle:i=null,active:d=!1,className:n="",disabled:o=!1,...u})=>{let c=(0,r.useRouter)(),m=c?.query?.[a]==="true"||d;return(0,t.jsxs)("div",{className:(0,s.default)("",n),children:[(0,t.jsxs)("button",{id:a,disabled:o,type:"button",className:(0,s.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-slate-400 focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!m,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":m}),role:"switch",onClick:i||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,l.normalizeQuery)(t,!m,a)})}),"aria-checked":m?"true":"false",...u,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,s.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":m,"translate-x-0":!m}),children:[(0,t.jsx)("span",{className:(0,s.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":m,"opacity-100 duration-200 ease-in":!m}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,s.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":m,"opacity-0 duration-100 ease-out":!m}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-slate-900 dark:text-slate-200",children:e})})]})}])},79684,e=>{"use strict";var t=e.i(91788);e.s(["default",0,(e,s)=>{let[r,l]=(0,t.useState)(()=>{try{if(window.localStorage){let t=window.localStorage.getItem(e);return t?JSON.parse(t):s}return s}catch(e){return s}});return[r,t=>{try{if(window.localStorage){let s=t instanceof Function?t(r):t;l(s),window.localStorage.setItem(e,JSON.stringify(s))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]}])},83283,78001,e=>{"use strict";var t=e.i(91788),s=e.i(91398),r=e.i(79684);let l=(0,t.createContext)(void 0);e.s(["ThemeContext",0,l,"default",0,({children:e})=>{let[a,i]=(0,r.default)("theme","light");(0,t.useEffect)(()=>{"dark"!==localStorage.theme&&("theme"in localStorage||!window.matchMedia("(prefers-color-scheme: dark)").matches)?document.getElementsByTagName("html")[0].classList.remove("dark"):document.getElementsByTagName("html")[0].classList.add("dark")},[]),(0,t.useEffect)(()=>{"dark"===a?(document.getElementsByTagName("html")[0].classList.add("dark"),localStorage.theme="dark"):(document.getElementsByTagName("html")[0].classList.remove("dark"),localStorage.theme="light")},[a]);let d=(0,t.useMemo)(()=>[a,i],[a]);return(0,s.jsx)(l.Provider,{value:d,children:e})}],78001),e.s(["default",0,()=>{let e=(0,t.useContext)(l);if(void 0===e)throw Error("Theme Context was used outside of its Provider");let[s,r]=e;return{theme:s,setTheme:r}}],83283)},10576,e=>{"use strict";e.s(["default",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),s=t+"=".repeat((4-t.length%4)%4),r=window.atob(s),l=r.length,a=new Uint8Array(l);for(let e=0;e<l;e+=1)a[e]=r.charCodeAt(e);return a.buffer}throw Error("The atob and Uint8Array methods are not available")}])},2765,e=>{"use strict";e.s(["default",0,(e=500)=>t=>{let s;return(...r)=>{let l;clearTimeout(s),s=setTimeout(()=>t.apply(l,r),e)}}])},93380,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},1880,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:s}=e||{};return s||t?`${s?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},15356,e=>{"use strict";e.s(["default",0,e=>e?`${e.substr(0,6)}...${e.substr(-4,4)}`:"0x0"])},77930,70081,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(8918),l=e.i(41158),a=e.i(65153),i=e.i(84818),d=e.i(1880),n=e.i(77043),o=e.i(93380);let u={INITIAL:"orange",PAUSED:"yellow",TERMINATED:"amber",ACTIVE:"emerald"},c=({enrollment:e,showUser:c})=>{let{formatMessage:m}=(0,s.useIntl)(),{formatDateTime:f}=(0,i.default)();return(0,t.jsxs)(r.default.Row,{children:[(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{className:"text-sm",children:(0,t.jsx)(l.default,{href:`/enrollments?enrollmentId=${e._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.enrollmentNumber||e._id?.substr(0,10)})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:f(e.created,{dateStyle:"medium",timeStyle:"medium"})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(a.default,{text:m({id:"expired",defaultMessage:"Expired"}),color:"amber"}):f(e.expires,{dateStyle:"medium",timeStyle:"medium"})})}),c&&e.user&&(0,t.jsx)(r.default.Cell,{children:(0,t.jsxs)(l.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)("span",{className:"inline-block h-9 w-9 rounded-full",children:(0,t.jsx)(n.default,{file:e?.user?.avatar,className:"mr-3"})}),(0,t.jsx)("span",{className:"ml-2",children:(0,o.default)(e.user)})]})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsxs)(l.default,{href:`/products?slug=${(0,d.default)(e.plan.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(n.default,{file:e?.plan?.product?.media?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"ml-2",children:e?.plan?.product?.texts?.title})]})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(a.default,{text:e?.status,color:u[e.status],square:!0})})]})};e.s(["default",0,({enrollments:e,showUser:l=null,sortable:a=!1})=>{let{formatMessage:i}=(0,s.useIntl)();return(0,t.jsxs)(r.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(r.default.Row,{header:!0,enablesort:a,children:[(0,t.jsx)(r.default.Cell,{sortKey:"enrollmentNumber",children:i({id:"enrollment_number",defaultMessage:"Enrollment number"})}),(0,t.jsx)(r.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(r.default.Cell,{children:i({id:"expires",defaultMessage:"Expires"})}),l&&(0,t.jsx)(r.default.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(r.default.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(r.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(c,{showUser:!0,enrollment:e},`${e?._id}-body`))]})}],77930);var m=e.i(59080);let f=m.gql`
|
|
21
|
-
fragment EnrollmentFragment on Enrollment {
|
|
22
|
-
_id
|
|
23
|
-
country {
|
|
24
|
-
_id
|
|
25
|
-
isoCode
|
|
26
|
-
}
|
|
27
|
-
currency {
|
|
28
|
-
_id
|
|
29
|
-
isoCode
|
|
30
|
-
}
|
|
31
|
-
enrollmentNumber
|
|
32
|
-
updated
|
|
33
|
-
status
|
|
34
|
-
created
|
|
35
|
-
expires
|
|
36
|
-
isExpired
|
|
37
|
-
periods {
|
|
38
|
-
start
|
|
39
|
-
end
|
|
40
|
-
isTrial
|
|
41
|
-
}
|
|
42
|
-
payment {
|
|
43
|
-
provider {
|
|
44
|
-
_id
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
delivery {
|
|
48
|
-
provider {
|
|
49
|
-
_id
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
plan {
|
|
53
|
-
product {
|
|
54
|
-
_id
|
|
55
|
-
media {
|
|
56
|
-
_id
|
|
57
|
-
file {
|
|
58
|
-
_id
|
|
59
|
-
url
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
texts {
|
|
63
|
-
_id
|
|
64
|
-
title
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
quantity
|
|
68
|
-
}
|
|
69
|
-
user {
|
|
70
|
-
_id
|
|
71
|
-
username
|
|
72
|
-
name
|
|
73
|
-
avatar {
|
|
74
|
-
_id
|
|
75
|
-
url
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
`;e.s(["default",0,f],70081)},21056,e=>{"use strict";var t=e.i(59080),s=e.i(76204);let r=t.gql`
|
|
80
|
-
mutation SendEnrollmentEmail($email: String!) {
|
|
81
|
-
sendEnrollmentEmail(email: $email) {
|
|
82
|
-
success
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
`;e.s(["default",0,()=>{let[e]=(0,s.useMutation)(r);return{sendEnrollmentEmail:async({email:t})=>e({variables:{email:t}})}}])},38247,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(60741),l=e.i(82226),a=e.i(29691);let i=e=>{let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString().split("T")[0]};e.s(["default",0,({validators:e=[],className:d,parseDate:n=i,...o})=>{let u=(0,r.default)({validators:[...e,l.validateDate],...o}),c=u.value?new Date(u.value).toISOString().split("T")[0]:"";return(0,t.jsx)(a.default,{...u,className:o.containerClassName,children:(0,t.jsx)("input",{type:"date",id:u.id,name:u.name,disabled:u.disabled,className:(0,s.default)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-slate-800",d,{"border-rose-700 placeholder:text-rose-300":!!u.error}),onChange:e=>u.setValue(e.target.value),value:c,placeholder:u.placeholder,autoComplete:"off",...o})})}])},72094,e=>{"use strict";var t=e.i(91398),s=e.i(91788),r=e.i(61898);let l=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[r,a])=>"string"==typeof a||s.default.isValidElement(a)?[...e,[`${t}${r}`,a]]:[...Object.entries(l(Object.assign({},...a),`${t}${r}.`)),...e],[])),a=({submitError:e="",fieldErrors:r=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(l(r)).map(([e,r])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:s.default.isValidElement(r)?r:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:s,formik:l}=(0,r.default)(),i=l?.errors;return(s||e)&&(0,t.jsx)(a,{submitError:s,fieldErrors:e&&i})}])},68095,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(91788),l=e.i(45229);e.s(["default",0,({autoComplete:e="on",...a})=>{let[i,d]=(0,r.useState)(!1),n=e=>{e.preventDefault(),d(!i)};return(0,t.jsxs)("div",{className:(0,s.default)("relative",a.className),children:[(0,t.jsx)(l.default,{autoComplete:e||"on",name:"password",...a,type:i?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:n,onKeyUp:n,children:i?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},73419,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(60741),l=e.i(29691);e.s(["default",0,e=>{let{options:a,...i}=(0,r.default)(e),{className:d}=e||{className:""};return(0,t.jsx)(l.default,{...i,children:(0,t.jsx)("div",{className:"select-wrap",children:(0,t.jsxs)("select",{className:(0,s.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",d,{"border-rose-700 text-rose-600 dark:border-rose-500 dark:text-rose-400":!!i.error}),disabled:i.disabled,id:i.name,name:i.name,onChange:i.onChange,onBlur:i.onBlur,value:i.value,children:[(0,t.jsx)("option",{className:"dark:text-slate-200",value:"",disabled:i.required,hidden:i.required,children:i.placeholder||i.label}),Object.entries(a).map(([e,s])=>(0,t.jsx)("option",{className:"dark:text-slate-200",value:e,children:s},e))]})})})}])},45229,e=>{"use strict";var t=e.i(91398),s=e.i(72043),r=e.i(82226),l=e.i(60741),a=e.i(29691);e.s(["default",0,({maxLength:e=0,validators:i=[],...d})=>{let n=(0,l.default)({validators:[...i,e&&(0,r.validateMaxLength)(e)],...d});return(0,t.jsx)(a.default,{...n,children:(0,t.jsx)("input",{className:(0,s.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})})}])},15971,e=>{"use strict";var t=e.i(91398),s=e.i(69322);e.s(["default",0,({onOkClick:e,onCancelClick:r,okText:l=null,cancelText:a=null,headerText:i=null,message:d=null,icon:n=null,close:o=null})=>{let{formatMessage:u}=(0,s.useIntl)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"sm:flex sm:items-start",children:[n||(0,t.jsx)("div",{className:"mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900/30 sm:mx-0 sm:h-10 sm:w-10",children:(0,t.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})})}),(0,t.jsxs)("div",{className:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left",children:[(0,t.jsx)("h3",{className:"text-lg text-slate-900 dark:text-slate-200",id:"modal-title",children:i||u({id:"warning",defaultMessage:"Warning!"})}),(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)("p",{className:"text-sm text-slate-500 dark:text-slate-200",children:d||u({id:"are_you_sure",defaultMessage:"Are you sure?"})})})]})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-4 sm:flex sm:flex-row-reverse",children:[(0,t.jsx)("button",{id:"danger_continue",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-rose-600 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-rose-700 focus:outline-hidden focus:ring-2 focus:ring-rose-500 focus:ring-offset-2 sm:ml-3 sm:w-auto sm:text-sm",children:l||u({id:"continue",defaultMessage:"Continue"})}),(0,t.jsx)("button",{id:"danger_cancel",onClick:r||o,type:"button",className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm",children:a||u({id:"cancel",defaultMessage:"Cancel"})})]})]})}])},6607,e=>{"use strict";var t=e.i(91788),s=e.i(6444);e.s(["default",0,()=>(0,t.useContext)(s.default)])},6444,e=>{"use strict";let t=e.i(91788).default.createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}});e.s(["default",0,t])},44959,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(8918),l=e.i(41158),a=e.i(65153),i=e.i(93380),d=e.i(84818),n=e.i(83147),o=e.i(51782);let u=({order:e,showUser:u})=>{let{formatMessage:c}=(0,s.useIntl)(),{formatPrice:m}=(0,n.useFormatPrice)(),{formatDateTime:f}=(0,d.default)();return(0,t.jsxs)(r.default.Row,{className:"group",children:[(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center gap-3 text-sm font-medium text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-200",children:e?.orderNumber||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(a.default,{color:"yellow",text:c({id:"cart",defaultMessage:"Cart"})})]})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:f(e.ordered,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:m(e.total)})}),u&&e.user&&(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(l.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-300 hover:text-decoration",onClick:e=>e.stopPropagation(),children:(0,t.jsx)("span",{className:"font-medium",children:(0,i.default)(e.user)})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"block",children:(0,t.jsx)(o.OrderStatusBadge,{status:e.status})})})]})};e.s(["default",0,({orders:e,showUser:l,loading:a,sortable:i})=>{let{formatMessage:d}=(0,s.useIntl)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(r.default,{className:"min-w-full",children:[(e||[])?.map(e=>(0,t.jsxs)(r.default.Row,{header:!0,enablesort:i,children:[(0,t.jsx)(r.default.Cell,{sortKey:"orderNumber",children:d({id:"order_number",defaultMessage:"Order #"})}),(0,t.jsx)(r.default.Cell,{sortKey:"ordered",defaultSortDirection:"DESC",children:d({id:"order_date",defaultMessage:"Order date"})}),(0,t.jsx)(r.default.Cell,{children:d({id:"total",defaultMessage:"Total"})}),l&&(0,t.jsx)(r.default.Cell,{children:d({id:"user",defaultMessage:"User"})}),(0,t.jsx)(r.default.Cell,{sortKey:"status",children:d({id:"status",defaultMessage:"Status"})})]},e._id)),(e||[])?.map(e=>(0,t.jsx)(u,{order:e,showUser:!0},`${e?._id}-body`))]})})}],44959)},51782,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(65153),l=e.i(60193);let a={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["OrderStatusBadge",0,({status:e,className:i=""})=>{let{formatMessage:d}=(0,s.useIntl)(),n={PENDING:d({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:d({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:d({id:"open",defaultMessage:"OPEN"}),FULFILLED:d({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:d({id:"rejected",defaultMessage:"REJECTED"})},o=n?.[e]??d({id:"cart",defaultMessage:"Cart"});return a?.[e],(0,t.jsx)(r.default,{text:o,color:l.ORDER_STATUSES[e],square:!0,className:`uppercase ${i}`})}])},35308,e=>{"use strict";var t=e.i(59080);let s=t.gql`
|
|
86
|
-
fragment OrderFragment on Order {
|
|
87
|
-
_id
|
|
88
|
-
status
|
|
89
|
-
created
|
|
90
|
-
updated
|
|
91
|
-
ordered
|
|
92
|
-
orderNumber
|
|
93
|
-
confirmed
|
|
94
|
-
fulfilled
|
|
95
|
-
contact {
|
|
96
|
-
telNumber
|
|
97
|
-
emailAddress
|
|
98
|
-
}
|
|
99
|
-
total {
|
|
100
|
-
isTaxable
|
|
101
|
-
isNetPrice
|
|
102
|
-
amount
|
|
103
|
-
currencyCode
|
|
104
|
-
}
|
|
105
|
-
user {
|
|
106
|
-
_id
|
|
107
|
-
username
|
|
108
|
-
isGuest
|
|
109
|
-
avatar {
|
|
110
|
-
_id
|
|
111
|
-
url
|
|
112
|
-
}
|
|
113
|
-
profile {
|
|
114
|
-
displayName
|
|
115
|
-
address {
|
|
116
|
-
firstName
|
|
117
|
-
lastName
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
`;e.s(["default",0,s])},21649,e=>{"use strict";var t=e.i(59080);let s=t.gql`
|
|
123
|
-
fragment TokenFragment on Token {
|
|
124
|
-
_id
|
|
125
|
-
walletAddress
|
|
126
|
-
status
|
|
127
|
-
quantity
|
|
128
|
-
contractAddress
|
|
129
|
-
chainId
|
|
130
|
-
tokenSerialNumber
|
|
131
|
-
invalidatedDate
|
|
132
|
-
expiryDate
|
|
133
|
-
ercMetadata
|
|
134
|
-
accessKey
|
|
135
|
-
isInvalidateable
|
|
136
|
-
}
|
|
137
|
-
`;e.s(["default",0,s])},71805,40526,e=>{"use strict";var t=e.i(91398),s=e.i(69322),r=e.i(8918),l=e.i(41158),a=e.i(65153),i=e.i(77043),d=e.i(93380),n=e.i(1880),o=e.i(84818),u=e.i(60193);let c=({quotation:e,showUser:c})=>{let{formatMessage:m}=(0,s.useIntl)(),{formatDateTime:f}=(0,o.default)();return(0,t.jsxs)(r.default.Row,{children:[(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:(0,t.jsx)(l.default,{href:`/quotations?quotationId=${e?._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.quotationNumber||e?._id})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:f(e.created,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(a.default,{text:m({id:"expired",defaultMessage:"Expired"}),color:"amber"}):f(e?.expires,{dateStyle:"short",timeStyle:"short"})})}),c&&(0,t.jsx)(r.default.Cell,{children:(0,t.jsxs)(l.default,{href:`/users?userId=${e?.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.default,{file:e?.user?.avatar,className:"mr-2"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:(0,d.default)(e?.user)})]})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)("div",{children:(0,t.jsxs)(l.default,{href:`/products?slug=${(0,n.default)(e.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.default,{file:e.product?.media[0]?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:e?.product.texts.title})]})})}),(0,t.jsx)(r.default.Cell,{children:(0,t.jsx)(a.default,{text:e?.status,color:u.QUOTATION_STATUS[e?.status],square:!0})})]})};e.s(["default",0,({quotations:e,sortable:l=!1,showUser:a=!1})=>{let{formatMessage:i}=(0,s.useIntl)();return(0,t.jsxs)(r.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(r.default.Row,{header:!0,enablesort:l,children:[(0,t.jsx)(r.default.Cell,{sortKey:"quotationNumber",children:i({id:"quotation_number",defaultMessage:"Quotation number"})}),(0,t.jsx)(r.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(r.default.Cell,{sortKey:"expires",children:i({id:"expires",defaultMessage:"Expires"})}),a&&(0,t.jsx)(r.default.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(r.default.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(r.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(c,{showUser:a,quotation:e},`${e?._id}-body`))]})}],71805);var m=e.i(59080);let f=m.gql`
|
|
138
|
-
fragment QuotationFragment on Quotation {
|
|
139
|
-
_id
|
|
140
|
-
user {
|
|
141
|
-
_id
|
|
142
|
-
username
|
|
143
|
-
avatar {
|
|
144
|
-
_id
|
|
145
|
-
url
|
|
146
|
-
}
|
|
147
|
-
name
|
|
148
|
-
primaryEmail {
|
|
149
|
-
verified
|
|
150
|
-
address
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
product {
|
|
154
|
-
_id
|
|
155
|
-
texts {
|
|
156
|
-
_id
|
|
157
|
-
slug
|
|
158
|
-
subtitle
|
|
159
|
-
title
|
|
160
|
-
description
|
|
161
|
-
}
|
|
162
|
-
media {
|
|
163
|
-
_id
|
|
164
|
-
file {
|
|
165
|
-
_id
|
|
166
|
-
type
|
|
167
|
-
url
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
currency {
|
|
172
|
-
_id
|
|
173
|
-
contractAddress
|
|
174
|
-
decimals
|
|
175
|
-
isoCode
|
|
176
|
-
}
|
|
177
|
-
status
|
|
178
|
-
created
|
|
179
|
-
expires
|
|
180
|
-
updated
|
|
181
|
-
isExpired
|
|
182
|
-
quotationNumber
|
|
183
|
-
fulfilled
|
|
184
|
-
rejected
|
|
185
|
-
}
|
|
186
|
-
`;e.s(["default",0,f],40526)},88566,25575,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});e.s(["ChevronDownIcon",0,s],88566);let r=t.forwardRef(function({title:e,titleId:s,...r},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M9.47 6.47a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 1 1-1.06 1.06L10 8.06l-3.72 3.72a.75.75 0 0 1-1.06-1.06l4.25-4.25Z",clipRule:"evenodd"}))});e.s(["ChevronUpIcon",0,r],25575)},27572,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["ClipboardDocumentListIcon",0,s],27572)},64710,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M2.5 4A1.5 1.5 0 0 0 1 5.5V6h18v-.5A1.5 1.5 0 0 0 17.5 4h-15ZM19 8.5H1v6A1.5 1.5 0 0 0 2.5 16h15a1.5 1.5 0 0 0 1.5-1.5v-6ZM3 13.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75Zm4.75-.75a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z",clipRule:"evenodd"}))});e.s(["CreditCardIcon",0,s],64710)},24557,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{fillRule:"evenodd",d:"M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z",clipRule:"evenodd"}))});e.s(["TrashIcon",0,s],24557)},90645,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){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:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))});e.s(["LinkIcon",0,s],90645)},81618,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){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:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,s],81618)},67912,e=>{"use strict";var t=e.i(91788);let s=t.forwardRef(function({title:e,titleId:s,...r},l){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:l,"aria-labelledby":s},r),e?t.createElement("title",{id:s},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,s],67912)},49194,(e,t,s)=>{"use strict";e.i(50461),Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"Image",{enumerable:!0,get:function(){return w}});let r=e.r(41705),l=e.r(52456),a=e.r(91398),i=l._(e.r(91788)),d=r._(e.r(30943)),n=r._(e.r(80963)),o=e.r(66785),u=e.r(15125),c=e.r(13521),m=e.r(25479),f=r._(e.r(3866)),h=e.r(63230),x={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e,t,s,r,l,a,i){let d=e?.src;e&&e["data-loaded-src"]!==d&&(e["data-loaded-src"]=d,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&l(!0),s?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,l=!1;s.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>l,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{l=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function g(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b="u"<typeof window?i.useEffect:i.useLayoutEffect,v=(0,i.forwardRef)(({src:e,srcSet:t,sizes:s,height:r,width:l,decoding:d,className:n,style:o,fetchPriority:u,placeholder:c,loading:m,unoptimized:f,fill:x,onLoadRef:v,onLoadingCompleteRef:j,setBlurComplete:w,setShowAltText:y,sizesInput:N,onLoad:C,onError:k,...E},_)=>{let M=(0,i.useRef)(!1),S=(0,i.useRef)(null);b(()=>{let{current:e}=M,{current:t}=S;e||null===t||(k&&(t.src=t.src),t.complete&&p(t,c,v,j,w,f,N),M.current=!0)},[e,c,v,j,k,f,N]);let I=(0,h.useMergedRef)(_,S);return(0,a.jsx)("img",{...E,...g(u),loading:m,width:l,height:r,decoding:d,"data-nimg":x?"fill":"1",className:n,style:o,sizes:s,srcSet:t,src:e,ref:I,onLoad:e=>{p(e.currentTarget,c,v,j,w,f,N)},onError:e=>{y(!0),"empty"!==c&&w(!0),k&&k(e)}})});function j({isAppRouter:e,imgAttributes:t}){let s={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&d.default.preload?(d.default.preload(t.src,s),null):(0,a.jsx)(n.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...s},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,i.forwardRef)((e,t)=>{let s=(0,i.useContext)(m.RouterContext),r=(0,i.useContext)(c.ImageConfigContext),l=(0,i.useMemo)(()=>{let e=x||r||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),s=e.deviceSizes.sort((e,t)=>e-t),l=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:s,qualities:l,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:d,onLoadingComplete:n}=e,h=(0,i.useRef)(d);(0,i.useEffect)(()=>{h.current=d},[d]);let p=(0,i.useRef)(n);(0,i.useEffect)(()=>{p.current=n},[n]);let[g,b]=(0,i.useState)(!1),[w,y]=(0,i.useState)(!1),{props:N,meta:C}=(0,o.getImgProps)(e,{defaultLoader:f.default,imgConf:l,blurComplete:g,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...N,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:h,onLoadingCompleteRef:p,setBlurComplete:b,setShowAltText:y,sizesInput:e.sizes,ref:t}),C.preload?(0,a.jsx)(j,{isAppRouter:!s,imgAttributes:N}):null]})});("function"==typeof s.default||"object"==typeof s.default&&null!==s.default)&&void 0===s.default.__esModule&&(Object.defineProperty(s.default,"__esModule",{value:!0}),Object.assign(s.default,s),t.exports=s.default)},88961,(e,t,s)=>{"use strict";e.i(50461),Object.defineProperty(s,"__esModule",{value:!0});var r={default:function(){return u},getImageProps:function(){return o}};for(var l in r)Object.defineProperty(s,l,{enumerable:!0,get:r[l]});let a=e.r(41705),i=e.r(66785),d=e.r(49194),n=a._(e.r(3866));function o(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let u=d.Image},26019,(e,t,s)=>{t.exports=e.r(88961)},15633,(e,t,s)=>{"use strict";function r(e,t){let s=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-s)<Math.abs(e-s)?t:e,t.qualities[0]):s}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"findClosestQuality",{enumerable:!0,get:function(){return r}})},3866,(e,t,s)=>{"use strict";e.i(50461),Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"default",{enumerable:!0,get:function(){return i}});let r=e.r(15633),l=e.r(20262);function a({config:e,src:t,width:s,quality:i}){let d=(0,l.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,l.getAssetToken)())d=void 0;else{let e=t.indexOf("?");if(-1!==e){let s=new URLSearchParams(t.slice(e+1)),r=s.get("dpl");if(r){d=r,s.delete("dpl");let l=s.toString();t=t.slice(0,e)+(l?"?"+l:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
187
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let n=(0,r.findClosestQuality)(i,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${s}&q=${n}${t.startsWith("/")&&d?`&dpl=${d}`:""}`}a.__next_img_default=!0;let i=a},66785,(e,t,s)=>{"use strict";e.i(50461),Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImgProps",{enumerable:!0,get:function(){return o}});let r=e.r(20262),l=e.r(55034),a=e.r(15125),i=["-moz-initial","fill","none","scale-down",void 0];function d(e){return void 0!==e.default}function n(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o({src:e,sizes:t,unoptimized:s=!1,priority:u=!1,preload:c=!1,loading:m,className:f,quality:h,width:x,height:p,fill:g=!1,style:b,overrideSrc:v,onLoad:j,onLoadingComplete:w,placeholder:y="empty",blurDataURL:N,fetchPriority:C,decoding:k="async",layout:E,objectFit:_,objectPosition:M,lazyBoundary:S,lazyRoot:I,...O},R){var A;let P,L,$,{imgConf:D,showAltText:T,blurComplete:z,defaultLoader:q}=R,F=D||a.imageConfigDefault;if("allSizes"in F)P=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),s=F.qualities?.sort((e,t)=>e-t);P={...F,allSizes:e,deviceSizes:t,qualities:s}}if(void 0===q)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=O.loader||q;delete O.loader,delete O.srcSet;let W="__next_img_default"in B;if(W){if("custom"===P.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
188
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:s,...r}=t;return e(r)}}if(E){"fill"===E&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(b={...b,...e});let s={responsive:"100vw",fill:"100vw"}[E];s&&!t&&(t=s)}let U="",K=n(x),Z=n(p),V=!1;if((A=e)&&"object"==typeof A&&(d(A)||void 0!==A.src)){let t=d(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(L=t.blurWidth,$=t.blurHeight,N=N||t.blurDataURL,U=t.src,V=/\.avif(?:\?|$)/i.test(U),!g)if(K||Z){if(K&&!Z){let e=K/t.width;Z=Math.round(t.height*e)}else if(!K&&Z){let e=Z/t.height;K=Math.round(t.width*e)}}else K=t.width,Z=t.height}V&&"blur"===y&&!N&&(y="empty");let G=!u&&!c&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:U)||e.startsWith("data:")||e.startsWith("blob:"))&&(s=!0,G=!1),P.unoptimized&&(s=!0),W&&!P.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(s=!0);let H=n(h),J=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:M}:{},T?{}:{color:"transparent"},b),Q=z||"empty"===y?null:"blur"===y?`url("data:image/svg+xml;charset=utf-8,${(0,l.getImageBlurSvg)({widthInt:K,heightInt:Z,blurWidth:L,blurHeight:$,blurDataURL:N||"",objectFit:J.objectFit})}")`:`url("${y}")`,X=i.includes(J.objectFit)?"fill"===J.objectFit?"100% 100%":"cover":J.objectFit,Y=Q?{backgroundSize:X,backgroundPosition:J.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},ee=function({config:e,src:t,unoptimized:s,width:l,quality:a,sizes:i,loader:d}){if(s){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())e=void 0;else if(e){let s=t.indexOf("?");if(-1!==s){let r=new URLSearchParams(t.slice(s+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,s)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:n,kind:o}=function({deviceSizes:e,allSizes:t},s,r){if(r){let s=/(^|\s)(1?\d?\d)vw/g,l=[];for(let e;e=s.exec(r);)l.push(parseInt(e[2]));if(l.length){let s=.01*Math.min(...l);return{widths:t.filter(t=>t>=e[0]*s),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof s?{widths:e,kind:"w"}:{widths:[...new Set([s,2*s].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,l,i),u=n.length-1;return{sizes:i||"w"!==o?i:"100vw",srcSet:n.map((s,r)=>`${d({config:e,src:t,quality:a,width:s})} ${"w"===o?s:r+1}${o}`).join(", "),src:d({config:e,src:t,quality:a,width:n[u]})}}({config:P,src:e,unoptimized:s,width:K,quality:H,sizes:t,loader:B}),et=G?"lazy":m;return{props:{...O,loading:et,fetchPriority:C,width:K,height:Z,decoding:k,className:f,style:{...J,...Y},sizes:ee.sizes,srcSet:ee.srcSet,src:v||ee.src},meta:{unoptimized:s,preload:c||u,placeholder:y,fill:g}}}},55034,(e,t,s)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:s,blurHeight:l,blurDataURL:a,objectFit:i}){let d=s?40*s:e,n=l?40*l:t,o=d&&n?`viewBox='0 0 ${d} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},13521,(e,t,s)=>{"use strict";e.i(50461),Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let r=e.r(41705)._(e.r(91788)),l=e.r(15125),a=r.default.createContext(l.imageConfigDefault)},15125,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return i}};for(var l in r)Object.defineProperty(s,l,{enumerable:!0,get:r[l]});let a=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}}]);
|
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,56599,e=>{"use strict";var t=e.i(91398),r=e.i(90645),s=e.i(72043),l=e.i(91788),a=e.i(69322),i=e.i(59080),d=e.i(76204),n=e.i(21649);let o=i.gql`
|
|
2
|
-
mutation ExportToken(
|
|
3
|
-
$tokenId: ID!
|
|
4
|
-
$quantity: Int! = 1
|
|
5
|
-
$recipientWalletAddress: String!
|
|
6
|
-
) {
|
|
7
|
-
exportToken(
|
|
8
|
-
tokenId: $tokenId
|
|
9
|
-
quantity: $quantity
|
|
10
|
-
recipientWalletAddress: $recipientWalletAddress
|
|
11
|
-
) {
|
|
12
|
-
...TokenFragment
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
${n.default}
|
|
16
|
-
`,u=({isOpen:e,addresses:r,cancel:s,onExport:i})=>{let[d,n]=(0,l.useState)(""),{formatMessage:o}=(0,a.useIntl)();return e&&(0,t.jsxs)("div",{className:"relative z-10","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",children:[(0,t.jsx)("div",{className:"fixed inset-0 bg-slate-500 bg-opacity/75 transition-opacity"}),(0,t.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,t.jsx)("div",{className:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0",children:(0,t.jsxs)("div",{className:"relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6",children:[(0,t.jsx)("div",{children:(0,t.jsx)("fieldset",{className:"space-y-5",children:r?.map(e=>(0,t.jsxs)("div",{className:"relative flex items-start",children:[(0,t.jsx)("div",{className:"flex h-5 items-center",children:(0,t.jsx)("input",{id:e.address,name:"addresses",value:e.address,onChange:()=>{n(e.address)},checked:d?.toLowerCase()===e.address?.toLowerCase(),type:"checkbox",className:"h-4 w-4 rounded-sm border-slate-300 dark:border-slate-600 bg-white dark:!bg-slate-800 text-slate-950 focus:ring-slate-900"})}),(0,t.jsx)("div",{className:"ml-3 text-sm",children:(0,t.jsx)("label",{htmlFor:"comments",className:"font-medium text-slate-700",children:e.address})})]},e.address))})}),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("label",{htmlFor:"Address",className:"block text-sm font-medium text-slate-700",children:o({id:"or_manually_enter_address",defaultMessage:"Or enter address manually"})}),(0,t.jsx)("div",{className:"mt-1",children:(0,t.jsx)("input",{type:"text",onChange:e=>n(e.target.value),value:d,name:"Address",id:"Address",className:"block w-full rounded-md border-slate-300 shadow-xs focus:border-slate-900 focus:ring-slate-900 sm:text-sm",placeholder:"0xF5F72AE7fa1fa990ebaF163208Ed7aD6a3f42DEA"})})]}),(0,t.jsxs)("div",{className:"mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>i(d),className:"inline-flex w-full justify-center rounded-md border border-transparent bg-slate-950 px-4 py-2 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-2 sm:text-sm",children:o({id:"export",defaultMessage:"Export"})}),(0,t.jsx)("button",{type:"button",onClick:s,className:"mt-3 inline-flex w-full justify-center rounded-md border border-slate-300 bg-white px-4 py-2 text-base font-medium text-slate-700 shadow-xs hover:bg-slate-50 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2 sm:col-start-1 sm:mt-0 sm:text-sm",children:o({id:"cancel",defaultMessage:"Cancel"})})]})]})})})]})};e.s(["default",0,({tokenId:e,tokenStatus:i,addresses:n=[]})=>{let{exportToken:c}=(()=>{let[e]=(0,d.useMutation)(o);return{exportToken:async({quantity:t,recipientWalletAddress:r,tokenId:s})=>e({variables:{quantity:t,recipientWalletAddress:r,tokenId:s}})}})(),{formatMessage:m}=(0,a.useIntl)(),[f,h]=(0,l.useState)(!1),x=async t=>{await c({tokenId:e,recipientWalletAddress:t}),h(!1)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u,{isOpen:f,cancel:()=>{h(!1)},onExport:x,addresses:n}),"DECENTRALIZED"!==i&&(0,t.jsxs)("button",{type:"button",onClick:()=>h(!0),disabled:"EXPORTING"===i,className:(0,s.default)(" text-center inline-flex truncate rounded-md border border-transparent bg-slate-950 px-5 py-1 text-base font-medium text-white shadow-xs hover:bg-slate-950 focus:outline-hidden focus:ring-2 focus:ring-slate-900 focus:ring-offset-2",{"bg-slate-400 hover:bg-slate-500":"EXPORTING"===i}),children:[(0,t.jsx)(r.LinkIcon,{className:"w-6 h-6 mr-2"}),m("CENTRALIZED"===i?{id:"export",defaultMessage:"Export"}:{id:"exporting",defaultMessage:"Exporting..."})]})]})}],56599)},97351,e=>{"use strict";var t=e.i(10576),r=e.i(59080),s=e.i(76204);let l=r.gql`
|
|
17
|
-
mutation CreateWebAuthnCredentialCreationOptions($username: String!) {
|
|
18
|
-
createWebAuthnCredentialCreationOptions(username: $username)
|
|
19
|
-
}
|
|
20
|
-
`,a=e=>window.btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");e.s(["default",0,()=>{let{createWebAuthnCredentialCreationOptions:e}=(()=>{let[e]=(0,s.useMutation)(l);return{createWebAuthnCredentialCreationOptions:async({username:t})=>e({variables:{username:t}})}})();return{generateWebAuthCredentials:async({username:r})=>{let{data:s}=await e({username:r}),{createWebAuthnCredentialCreationOptions:l}=s,i=new TextEncoder;l.challenge=(0,t.default)(l.challenge),l.user={id:i.encode(r),name:r,displayName:r};let d=await navigator.credentials.create({publicKey:l}),n=a(d.response.attestationObject),o=a(d.response.clientDataJSON),u=a(d.rawId),c=d.response.getAuthenticatorData?a(d.response.getAuthenticatorData()):"",m=d.response.getPublicKey?a(d.response.getPublicKey()):"";return{id:u,rawId:u,response:{clientDataJSON:o,attestationObject:n,authenticatorData:c,publicKey:m,publicKeyAlgorithm:d.response.getPublicKeyAlgorithm?d.response.getPublicKeyAlgorithm():-7,transports:d.response.getTransports?d.response.getTransports():["internal"]},authenticatorAttachment:d.authenticatorAttachment||"platform",clientExtensionResults:d.getClientExtensionResults?.()||{},type:"public-key",user:{id:r,name:r,displayName:r}}}}}],97351)},44926,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(69322);e.s(["default",0,({isActive:e,activeText:l=null,activeClassName:a="",inActiveClassName:i="",inActiveText:d=null,containerClassName:n=""})=>{let{formatMessage:o}=(0,s.useIntl)();return(0,t.jsx)("span",{className:(0,r.default)("",n),children:e?(0,t.jsx)("span",{className:(0,r.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-emerald-50 dark:bg-emerald-900/30 text-emerald-700 dark:text-emerald-300 border-emerald-200 dark:border-emerald-800 uppercase",a),children:l||o({id:"active",defaultMessage:"Active"})}):(0,t.jsx)("span",{className:(0,r.default)("inline-flex items-center border rounded-full px-2.5 py-0.5 text-sm font-medium bg-amber-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300 border-amber-400 dark:border-yellow-800 uppercase",i),children:d||o({id:"inactive",defaultMessage:"In-Active"})})})}])},35065,16509,e=>{"use strict";var t=e.i(91398),r=e.i(26019),s=e.i(91788),l=e.i(69322);let a=({src:e,width:t,quality:r=75})=>e?`${e}?w=${t}&q=${r}`:"/no-image.jpg";e.s(["default",0,a],16509);let i=({className:e="w-full h-full",width:r=200,height:s=200})=>(0,t.jsxs)("svg",{width:r,height:s,viewBox:"0 0 200 200",fill:"none",className:e,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,t.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,t.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]});e.s(["default",0,({fallbackSrc:e="",src:d,...n})=>{let[o,u]=(0,s.useState)(d),[c,m]=(0,s.useState)(!1),{formatMessage:f}=(0,l.useIntl)();return c||!o?(0,t.jsx)("div",{className:n.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,t.jsx)(i,{width:n.width||200,height:n.height||200,className:"max-w-full max-h-full"})}):(0,t.jsx)(r.default,{src:o,loader:a,alt:f({id:"image-not-found",defaultMessage:"Image not found"}),...n,onError:()=>{e&&o!==e?u(e):m(!0)}})}],35065)},77043,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(69322),l=e.i(35065),a=e.i(22315);e.s(["default",0,({file:e,className:i=""})=>{let{formatMessage:d}=(0,s.useIntl)();return(0,t.jsx)("div",{className:(0,r.default)("h-10 w-10 shrink-0",i),children:e?(0,t.jsx)(l.default,{className:"relative h-10 w-10 rounded-sm",src:e.url,width:100,height:100,alt:d({id:"image_not_available",defaultMessage:"Image not available"})}):(0,t.jsx)(a.default,{})})}])},22315,e=>{"use strict";var t=e.i(91398),r=e.i(81618),s=e.i(72043);e.s(["default",0,({className:e="",containerClassName:l="",Icon:a=null})=>(0,t.jsx)("span",{className:(0,s.default)("text-slate-400",l),children:a||(0,t.jsx)(r.PhotoIcon,{className:(0,s.default)(e)})})])},10576,e=>{"use strict";e.s(["default",0,e=>{if(window.atob&&Uint8Array){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4),s=window.atob(r),l=s.length,a=new Uint8Array(l);for(let e=0;e<l;e+=1)a[e]=s.charCodeAt(e);return a.buffer}throw Error("The atob and Uint8Array methods are not available")}])},93380,e=>{"use strict";e.s(["default",0,e=>e?e?.username?e.username:e?.profile?.displayName?e?.profile?.displayName:e?.profile?.address?.firstName||e?.profile?.address?.lastName?`${e?.profile?.address?.firstName} ${e?.profile?.address?.lastName}`:e?.name?e.name:e.isGuest?e?.primaryEmail?.address?.split(".")?.[0]:null:null])},1880,e=>{"use strict";e.s(["default",0,(e={})=>{let{_id:t,texts:r}=e||{};return r||t?`${r?.slug?.split("/").join("")||""}_id_${t}`:null},"parseSlug",0,e=>{if(!e)return null;let[t]=e?.split("_id_")||[];return t},"parseUniqueId",0,e=>{if(!e)return null;let t=e?.split("_id_");return t?.pop()}])},15356,e=>{"use strict";e.s(["default",0,e=>e?`${e.substr(0,6)}...${e.substr(-4,4)}`:"0x0"])},77930,70081,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(8918),l=e.i(41158),a=e.i(65153),i=e.i(84818),d=e.i(1880),n=e.i(77043),o=e.i(93380);let u={INITIAL:"orange",PAUSED:"yellow",TERMINATED:"amber",ACTIVE:"emerald"},c=({enrollment:e,showUser:c})=>{let{formatMessage:m}=(0,r.useIntl)(),{formatDateTime:f}=(0,i.default)();return(0,t.jsxs)(s.default.Row,{children:[(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"text-sm",children:(0,t.jsx)(l.default,{href:`/enrollments?enrollmentId=${e._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.enrollmentNumber||e._id?.substr(0,10)})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:f(e.created,{dateStyle:"medium",timeStyle:"medium"})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(a.default,{text:m({id:"expired",defaultMessage:"Expired"}),color:"amber"}):f(e.expires,{dateStyle:"medium",timeStyle:"medium"})})}),c&&e.user&&(0,t.jsx)(s.default.Cell,{children:(0,t.jsxs)(l.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)("span",{className:"inline-block h-9 w-9 rounded-full",children:(0,t.jsx)(n.default,{file:e?.user?.avatar,className:"mr-3"})}),(0,t.jsx)("span",{className:"ml-2",children:(0,o.default)(e.user)})]})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsxs)(l.default,{href:`/products?slug=${(0,d.default)(e.plan.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(n.default,{file:e?.plan?.product?.media?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"ml-2",children:e?.plan?.product?.texts?.title})]})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{text:e?.status,color:u[e.status],square:!0})})]})};e.s(["default",0,({enrollments:e,showUser:l=null,sortable:a=!1})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)(s.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(s.default.Row,{header:!0,enablesort:a,children:[(0,t.jsx)(s.default.Cell,{sortKey:"enrollmentNumber",children:i({id:"enrollment_number",defaultMessage:"Enrollment number"})}),(0,t.jsx)(s.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(s.default.Cell,{children:i({id:"expires",defaultMessage:"Expires"})}),l&&(0,t.jsx)(s.default.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(s.default.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(s.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(c,{showUser:!0,enrollment:e},`${e?._id}-body`))]})}],77930);var m=e.i(59080);let f=m.gql`
|
|
21
|
-
fragment EnrollmentFragment on Enrollment {
|
|
22
|
-
_id
|
|
23
|
-
country {
|
|
24
|
-
_id
|
|
25
|
-
isoCode
|
|
26
|
-
}
|
|
27
|
-
currency {
|
|
28
|
-
_id
|
|
29
|
-
isoCode
|
|
30
|
-
}
|
|
31
|
-
enrollmentNumber
|
|
32
|
-
updated
|
|
33
|
-
status
|
|
34
|
-
created
|
|
35
|
-
expires
|
|
36
|
-
isExpired
|
|
37
|
-
periods {
|
|
38
|
-
start
|
|
39
|
-
end
|
|
40
|
-
isTrial
|
|
41
|
-
}
|
|
42
|
-
payment {
|
|
43
|
-
provider {
|
|
44
|
-
_id
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
delivery {
|
|
48
|
-
provider {
|
|
49
|
-
_id
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
plan {
|
|
53
|
-
product {
|
|
54
|
-
_id
|
|
55
|
-
media {
|
|
56
|
-
_id
|
|
57
|
-
file {
|
|
58
|
-
_id
|
|
59
|
-
url
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
texts {
|
|
63
|
-
_id
|
|
64
|
-
title
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
quantity
|
|
68
|
-
}
|
|
69
|
-
user {
|
|
70
|
-
_id
|
|
71
|
-
username
|
|
72
|
-
name
|
|
73
|
-
avatar {
|
|
74
|
-
_id
|
|
75
|
-
url
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
`;e.s(["default",0,f],70081)},21056,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.gql`
|
|
80
|
-
mutation SendEnrollmentEmail($email: String!) {
|
|
81
|
-
sendEnrollmentEmail(email: $email) {
|
|
82
|
-
success
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
`;e.s(["default",0,()=>{let[e]=(0,r.useMutation)(s);return{sendEnrollmentEmail:async({email:t})=>e({variables:{email:t}})}}])},38247,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(60741),l=e.i(82226),a=e.i(29691);let i=e=>{let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString().split("T")[0]};e.s(["default",0,({validators:e=[],className:d,parseDate:n=i,...o})=>{let u=(0,s.default)({validators:[...e,l.validateDate],...o}),c=u.value?new Date(u.value).toISOString().split("T")[0]:"";return(0,t.jsx)(a.default,{...u,className:o.containerClassName,children:(0,t.jsx)("input",{type:"date",id:u.id,name:u.name,disabled:u.disabled,className:(0,r.default)("relative mt-0 block w-full appearance-none rounded-md rounded-b-md border-1 border-slate-300 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-900 placeholder-slate-400 shadow-xs focus:z-10 focus:outline-hidden focus:ring-2 focus:ring-slate-800",d,{"border-rose-700 placeholder:text-rose-300":!!u.error}),onChange:e=>u.setValue(e.target.value),value:c,placeholder:u.placeholder,autoComplete:"off",...o})})}])},72094,e=>{"use strict";var t=e.i(91398),r=e.i(91788),s=e.i(61898);let l=(e,t="")=>Object.fromEntries(Object.entries(e).reduce((e=[],[s,a])=>"string"==typeof a||r.default.isValidElement(a)?[...e,[`${t}${s}`,a]]:[...Object.entries(l(Object.assign({},...a),`${t}${s}.`)),...e],[])),a=({submitError:e="",fieldErrors:s=[]})=>(0,t.jsx)("div",{className:"my-2 mb-5 text-rose-700",children:(0,t.jsxs)("ul",{className:"space-y-1",children:[e&&(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e}})},"submitError"),Object.entries(l(s)).map(([e,s])=>(0,t.jsx)("li",{className:"disabled",children:(0,t.jsx)("button",{type:"button",className:"no-button text-rose-600 dark:text-rose-400","aria-label":"Error button",onClick:()=>{let t=document.getElementById(e);t&&t.focus()},children:r.default.isValidElement(s)?s:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s}})})},e))]})});e.s(["default",0,({displayFieldErrors:e=!1})=>{let{submitError:r,formik:l}=(0,s.default)(),i=l?.errors;return(r||e)&&(0,t.jsx)(a,{submitError:r,fieldErrors:e&&i})}])},68095,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(91788),l=e.i(45229);e.s(["default",0,({autoComplete:e="on",...a})=>{let[i,d]=(0,s.useState)(!1),n=e=>{e.preventDefault(),d(!i)};return(0,t.jsxs)("div",{className:(0,r.default)("relative",a.className),children:[(0,t.jsx)(l.default,{autoComplete:e||"on",name:"password",...a,type:i?"text":"password"}),(0,t.jsx)("span",{role:"button",tabIndex:-1,"aria-label":"toggle password visibility",className:"absolute translate-y-[-137%] outline-hidden block right-3",onClick:n,onKeyUp:n,children:i?(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"})]}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 stroke-slate-700",fill:"none",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.543-7a9.97 9.97 0 011.563-3.029m5.858.908a3 3 0 114.243 4.243M9.878 9.878l4.242 4.242M9.88 9.88l-3.29-3.29m7.532 7.532l3.29 3.29M3 3l3.59 3.59m0 0A9.953 9.953 0 0112 5c4.478 0 8.268 2.943 9.543 7a10.025 10.025 0 01-4.132 5.411m0 0L21 21"})})})]})}])},44959,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(8918),l=e.i(41158),a=e.i(65153),i=e.i(93380),d=e.i(84818),n=e.i(83147),o=e.i(51782);let u=({order:e,showUser:u})=>{let{formatMessage:c}=(0,r.useIntl)(),{formatPrice:m}=(0,n.useFormatPrice)(),{formatDateTime:f}=(0,d.default)();return(0,t.jsxs)(s.default.Row,{className:"group",children:[(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center gap-3 text-sm font-medium text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-200",children:e?.orderNumber||(0,t.jsxs)(t.Fragment,{children:[e._id," ",(0,t.jsx)(a.default,{color:"yellow",text:c({id:"cart",defaultMessage:"Cart"})})]})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:f(e.ordered,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"flex items-center text-sm dark:text-slate-300",children:m(e.total)})}),u&&e.user&&(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{href:`/users?userId=${e.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-300 hover:text-decoration",onClick:e=>e.stopPropagation(),children:(0,t.jsx)("span",{className:"font-medium",children:(0,i.default)(e.user)})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(l.default,{href:`/orders?orderId=${e._id}`,className:"block",children:(0,t.jsx)(o.OrderStatusBadge,{status:e.status})})})]})};e.s(["default",0,({orders:e,showUser:l,loading:a,sortable:i})=>{let{formatMessage:d}=(0,r.useIntl)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(s.default,{className:"min-w-full",children:[(e||[])?.map(e=>(0,t.jsxs)(s.default.Row,{header:!0,enablesort:i,children:[(0,t.jsx)(s.default.Cell,{sortKey:"orderNumber",children:d({id:"order_number",defaultMessage:"Order #"})}),(0,t.jsx)(s.default.Cell,{sortKey:"ordered",defaultSortDirection:"DESC",children:d({id:"order_date",defaultMessage:"Order date"})}),(0,t.jsx)(s.default.Cell,{children:d({id:"total",defaultMessage:"Total"})}),l&&(0,t.jsx)(s.default.Cell,{children:d({id:"user",defaultMessage:"User"})}),(0,t.jsx)(s.default.Cell,{sortKey:"status",children:d({id:"status",defaultMessage:"Status"})})]},e._id)),(e||[])?.map(e=>(0,t.jsx)(u,{order:e,showUser:!0},`${e?._id}-body`))]})})}],44959)},51782,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(65153),l=e.i(60193);let a={PENDING:"bg-yellow-100 text-yellow-800",CONFIRMED:"bg-blue-100 text-blue-800",OPEN:"bg-gray-100 text-gray-800",FULFILLED:"bg-green-100 text-green-800",REJECTED:"bg-red-100 text-red-800"};e.s(["OrderStatusBadge",0,({status:e,className:i=""})=>{let{formatMessage:d}=(0,r.useIntl)(),n={PENDING:d({id:"pending",defaultMessage:"PENDING"}),CONFIRMED:d({id:"confirmed",defaultMessage:"CONFIRMED"}),OPEN:d({id:"open",defaultMessage:"OPEN"}),FULFILLED:d({id:"fulfilled",defaultMessage:"FULFILLED"}),REJECTED:d({id:"rejected",defaultMessage:"REJECTED"})},o=n?.[e]??d({id:"cart",defaultMessage:"Cart"});return a?.[e],(0,t.jsx)(s.default,{text:o,color:l.ORDER_STATUSES[e],square:!0,className:`uppercase ${i}`})}])},35308,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
86
|
-
fragment OrderFragment on Order {
|
|
87
|
-
_id
|
|
88
|
-
status
|
|
89
|
-
created
|
|
90
|
-
updated
|
|
91
|
-
ordered
|
|
92
|
-
orderNumber
|
|
93
|
-
confirmed
|
|
94
|
-
fulfilled
|
|
95
|
-
contact {
|
|
96
|
-
telNumber
|
|
97
|
-
emailAddress
|
|
98
|
-
}
|
|
99
|
-
total {
|
|
100
|
-
isTaxable
|
|
101
|
-
isNetPrice
|
|
102
|
-
amount
|
|
103
|
-
currencyCode
|
|
104
|
-
}
|
|
105
|
-
user {
|
|
106
|
-
_id
|
|
107
|
-
username
|
|
108
|
-
isGuest
|
|
109
|
-
avatar {
|
|
110
|
-
_id
|
|
111
|
-
url
|
|
112
|
-
}
|
|
113
|
-
profile {
|
|
114
|
-
displayName
|
|
115
|
-
address {
|
|
116
|
-
firstName
|
|
117
|
-
lastName
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
`;e.s(["default",0,r])},21649,e=>{"use strict";var t=e.i(59080);let r=t.gql`
|
|
123
|
-
fragment TokenFragment on Token {
|
|
124
|
-
_id
|
|
125
|
-
walletAddress
|
|
126
|
-
status
|
|
127
|
-
quantity
|
|
128
|
-
contractAddress
|
|
129
|
-
chainId
|
|
130
|
-
tokenSerialNumber
|
|
131
|
-
invalidatedDate
|
|
132
|
-
expiryDate
|
|
133
|
-
ercMetadata
|
|
134
|
-
accessKey
|
|
135
|
-
isInvalidateable
|
|
136
|
-
}
|
|
137
|
-
`;e.s(["default",0,r])},71805,40526,e=>{"use strict";var t=e.i(91398),r=e.i(69322),s=e.i(8918),l=e.i(41158),a=e.i(65153),i=e.i(77043),d=e.i(93380),n=e.i(1880),o=e.i(84818),u=e.i(60193);let c=({quotation:e,showUser:c})=>{let{formatMessage:m}=(0,r.useIntl)(),{formatDateTime:f}=(0,o.default)();return(0,t.jsxs)(s.default.Row,{children:[(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:(0,t.jsx)(l.default,{href:`/quotations?quotationId=${e?._id}`,className:"font-medium text-slate-800 dark:text-slate-700",children:e?.quotationNumber||e?._id})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:f(e.created,{dateStyle:"short",timeStyle:"short"})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{className:"flex items-center text-sm ",children:e.isExpired?(0,t.jsx)(a.default,{text:m({id:"expired",defaultMessage:"Expired"}),color:"amber"}):f(e?.expires,{dateStyle:"short",timeStyle:"short"})})}),c&&(0,t.jsx)(s.default.Cell,{children:(0,t.jsxs)(l.default,{href:`/users?userId=${e?.user._id}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.default,{file:e?.user?.avatar,className:"mr-2"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:(0,d.default)(e?.user)})]})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)("div",{children:(0,t.jsxs)(l.default,{href:`/products?slug=${(0,n.default)(e.product)}`,className:"flex items-center text-sm text-slate-800 dark:text-slate-700 hover:text-decoration",children:[(0,t.jsx)(i.default,{file:e.product?.media[0]?.file,className:"mr-3"}),(0,t.jsx)("span",{className:"font-medium ml-2",children:e?.product.texts.title})]})})}),(0,t.jsx)(s.default.Cell,{children:(0,t.jsx)(a.default,{text:e?.status,color:u.QUOTATION_STATUS[e?.status],square:!0})})]})};e.s(["default",0,({quotations:e,sortable:l=!1,showUser:a=!1})=>{let{formatMessage:i}=(0,r.useIntl)();return(0,t.jsxs)(s.default,{className:"min-w-full",children:[e?.map(e=>(0,t.jsxs)(s.default.Row,{header:!0,enablesort:l,children:[(0,t.jsx)(s.default.Cell,{sortKey:"quotationNumber",children:i({id:"quotation_number",defaultMessage:"Quotation number"})}),(0,t.jsx)(s.default.Cell,{sortKey:"created",children:i({id:"created",defaultMessage:"Created"})}),(0,t.jsx)(s.default.Cell,{sortKey:"expires",children:i({id:"expires",defaultMessage:"Expires"})}),a&&(0,t.jsx)(s.default.Cell,{children:i({id:"user",defaultMessage:"User"})}),(0,t.jsx)(s.default.Cell,{children:i({id:"product",defaultMessage:"Product"})}),(0,t.jsx)(s.default.Cell,{sortKey:"status",children:i({id:"status",defaultMessage:"Status"})})]},e._id)),e?.map(e=>(0,t.jsx)(c,{showUser:a,quotation:e},`${e?._id}-body`))]})}],71805);var m=e.i(59080);let f=m.gql`
|
|
138
|
-
fragment QuotationFragment on Quotation {
|
|
139
|
-
_id
|
|
140
|
-
user {
|
|
141
|
-
_id
|
|
142
|
-
username
|
|
143
|
-
avatar {
|
|
144
|
-
_id
|
|
145
|
-
url
|
|
146
|
-
}
|
|
147
|
-
name
|
|
148
|
-
primaryEmail {
|
|
149
|
-
verified
|
|
150
|
-
address
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
product {
|
|
154
|
-
_id
|
|
155
|
-
texts {
|
|
156
|
-
_id
|
|
157
|
-
slug
|
|
158
|
-
subtitle
|
|
159
|
-
title
|
|
160
|
-
description
|
|
161
|
-
}
|
|
162
|
-
media {
|
|
163
|
-
_id
|
|
164
|
-
file {
|
|
165
|
-
_id
|
|
166
|
-
type
|
|
167
|
-
url
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
currency {
|
|
172
|
-
_id
|
|
173
|
-
contractAddress
|
|
174
|
-
decimals
|
|
175
|
-
isoCode
|
|
176
|
-
}
|
|
177
|
-
status
|
|
178
|
-
created
|
|
179
|
-
expires
|
|
180
|
-
updated
|
|
181
|
-
isExpired
|
|
182
|
-
quotationNumber
|
|
183
|
-
fulfilled
|
|
184
|
-
rejected
|
|
185
|
-
}
|
|
186
|
-
`;e.s(["default",0,f],40526)},27572,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M15.988 3.012A2.25 2.25 0 0 1 18 5.25v6.5A2.25 2.25 0 0 1 15.75 14H13.5V7A2.5 2.5 0 0 0 11 4.5H8.128a2.252 2.252 0 0 1 1.884-1.488A2.25 2.25 0 0 1 12.25 1h1.5a2.25 2.25 0 0 1 2.238 2.012ZM11.5 3.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 .75.75v.25h-3v-.25Z",clipRule:"evenodd"}),t.createElement("path",{fillRule:"evenodd",d:"M2 7a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7Zm2 3.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm0 3.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z",clipRule:"evenodd"}))});e.s(["ClipboardDocumentListIcon",0,r],27572)},64710,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},l){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{fillRule:"evenodd",d:"M2.5 4A1.5 1.5 0 0 0 1 5.5V6h18v-.5A1.5 1.5 0 0 0 17.5 4h-15ZM19 8.5H1v6A1.5 1.5 0 0 0 2.5 16h15a1.5 1.5 0 0 0 1.5-1.5v-6ZM3 13.25a.75.75 0 0 1 .75-.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.75.75 0 0 1-.75-.75Zm4.75-.75a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-3.5Z",clipRule:"evenodd"}))});e.s(["CreditCardIcon",0,r],64710)},90645,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))});e.s(["LinkIcon",0,r],90645)},81618,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});e.s(["PhotoIcon",0,r],81618)},67912,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},l){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:l,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))});e.s(["UserCircleIcon",0,r],67912)},49194,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return y}});let s=e.r(41705),l=e.r(52456),a=e.r(91398),i=l._(e.r(91788)),d=s._(e.r(30943)),n=s._(e.r(80963)),o=e.r(66785),u=e.r(15125),c=e.r(13521),m=e.r(25479),f=s._(e.r(3866)),h=e.r(63230),x={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function p(e,t,r,s,l,a,i){let d=e?.src;e&&e["data-loaded-src"]!==d&&(e["data-loaded-src"]=d,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&l(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,l=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>l,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{l=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function g(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b="u"<typeof window?i.useEffect:i.useLayoutEffect,j=(0,i.forwardRef)(({src:e,srcSet:t,sizes:r,height:s,width:l,decoding:d,className:n,style:o,fetchPriority:u,placeholder:c,loading:m,unoptimized:f,fill:x,onLoadRef:j,onLoadingCompleteRef:v,setBlurComplete:y,setShowAltText:w,sizesInput:C,onLoad:E,onError:N,..._},k)=>{let I=(0,i.useRef)(!1),S=(0,i.useRef)(null);b(()=>{let{current:e}=I,{current:t}=S;e||null===t||(N&&(t.src=t.src),t.complete&&p(t,c,j,v,y,f,C),I.current=!0)},[e,c,j,v,N,f,C]);let M=(0,h.useMergedRef)(k,S);return(0,a.jsx)("img",{..._,...g(u),loading:m,width:l,height:s,decoding:d,"data-nimg":x?"fill":"1",className:n,style:o,sizes:r,srcSet:t,src:e,ref:M,onLoad:e=>{p(e.currentTarget,c,j,v,y,f,C)},onError:e=>{w(!0),"empty"!==c&&y(!0),N&&N(e)}})});function v({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&d.default.preload?(d.default.preload(t.src,r),null):(0,a.jsx)(n.default,{children:(0,a.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,i.forwardRef)((e,t)=>{let r=(0,i.useContext)(m.RouterContext),s=(0,i.useContext)(c.ImageConfigContext),l=(0,i.useMemo)(()=>{let e=x||s||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),r=e.deviceSizes.sort((e,t)=>e-t),l=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:l,localPatterns:"u"<typeof window?s?.localPatterns:e.localPatterns}},[s]),{onLoad:d,onLoadingComplete:n}=e,h=(0,i.useRef)(d);(0,i.useEffect)(()=>{h.current=d},[d]);let p=(0,i.useRef)(n);(0,i.useEffect)(()=>{p.current=n},[n]);let[g,b]=(0,i.useState)(!1),[y,w]=(0,i.useState)(!1),{props:C,meta:E}=(0,o.getImgProps)(e,{defaultLoader:f.default,imgConf:l,blurComplete:g,showAltText:y});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j,{...C,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:h,onLoadingCompleteRef:p,setBlurComplete:b,setShowAltText:w,sizesInput:e.sizes,ref:t}),E.preload?(0,a.jsx)(v,{isAppRouter:!r,imgAttributes:C}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88961,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0});var s={default:function(){return u},getImageProps:function(){return o}};for(var l in s)Object.defineProperty(r,l,{enumerable:!0,get:s[l]});let a=e.r(41705),i=e.r(66785),d=e.r(49194),n=a._(e.r(3866));function o(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=d.Image},26019,(e,t,r)=>{t.exports=e.r(88961)},15633,(e,t,r)=>{"use strict";function s(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return s}})},3866,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let s=e.r(15633),l=e.r(20262);function a({config:e,src:t,width:r,quality:i}){let d=(0,l.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,l.getAssetToken)())d=void 0;else{let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),s=r.get("dpl");if(s){d=s,r.delete("dpl");let l=r.toString();t=t.slice(0,e)+(l?"?"+l:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
|
|
187
|
-
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let n=(0,s.findClosestQuality)(i,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${n}${t.startsWith("/")&&d?`&dpl=${d}`:""}`}a.__next_img_default=!0;let i=a},66785,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return o}});let s=e.r(20262),l=e.r(55034),a=e.r(15125),i=["-moz-initial","fill","none","scale-down",void 0];function d(e){return void 0!==e.default}function n(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o({src:e,sizes:t,unoptimized:r=!1,priority:u=!1,preload:c=!1,loading:m,className:f,quality:h,width:x,height:p,fill:g=!1,style:b,overrideSrc:j,onLoad:v,onLoadingComplete:y,placeholder:w="empty",blurDataURL:C,fetchPriority:E,decoding:N="async",layout:_,objectFit:k,objectPosition:I,lazyBoundary:S,lazyRoot:M,...O},R){var P;let A,$,D,{imgConf:T,showAltText:L,blurComplete:z,defaultLoader:q}=R,F=T||a.imageConfigDefault;if("allSizes"in F)A=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),r=F.qualities?.sort((e,t)=>e-t);A={...F,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===q)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=O.loader||q;delete O.loader,delete O.srcSet;let U="__next_img_default"in W;if(U){if("custom"===A.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
|
|
188
|
-
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:r,...s}=t;return e(s)}}if(_){"fill"===_&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[_];r&&!t&&(t=r)}let B="",K=n(x),G=n(p),Z=!1;if((P=e)&&"object"==typeof P&&(d(P)||void 0!==P.src)){let t=d(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if($=t.blurWidth,D=t.blurHeight,C=C||t.blurDataURL,B=t.src,Z=/\.avif(?:\?|$)/i.test(B),!g)if(K||G){if(K&&!G){let e=K/t.width;G=Math.round(t.height*e)}else if(!K&&G){let e=G/t.height;K=Math.round(t.width*e)}}else K=t.width,G=t.height}Z&&"blur"===w&&!C&&(w="empty");let V=!u&&!c&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:B)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,V=!1),A.unoptimized&&(r=!0),U&&!A.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let H=n(h),X=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:I}:{},L?{}:{color:"transparent"},b),J=z||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,l.getImageBlurSvg)({widthInt:K,heightInt:G,blurWidth:$,blurHeight:D,blurDataURL:C||"",objectFit:X.objectFit})}")`:`url("${w}")`,Q=i.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Y=J?{backgroundSize:Q,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},ee=function({config:e,src:t,unoptimized:r,width:l,quality:a,sizes:i,loader:d}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,s.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,s.getAssetToken)())e=void 0;else if(e){let r=t.indexOf("?");if(-1!==r){let s=new URLSearchParams(t.slice(r+1));s.get("dpl")||(s.append("dpl",e),t=t.slice(0,r)+"?"+s.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:n,kind:o}=function({deviceSizes:e,allSizes:t},r,s){if(s){let r=/(^|\s)(1?\d?\d)vw/g,l=[];for(let e;e=r.exec(s);)l.push(parseInt(e[2]));if(l.length){let r=.01*Math.min(...l);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,l,i),u=n.length-1;return{sizes:i||"w"!==o?i:"100vw",srcSet:n.map((r,s)=>`${d({config:e,src:t,quality:a,width:r})} ${"w"===o?r:s+1}${o}`).join(", "),src:d({config:e,src:t,quality:a,width:n[u]})}}({config:A,src:e,unoptimized:r,width:K,quality:H,sizes:t,loader:W}),et=V?"lazy":m;return{props:{...O,loading:et,fetchPriority:E,width:K,height:G,decoding:N,className:f,style:{...X,...Y},sizes:ee.sizes,srcSet:ee.srcSet,src:j||ee.src},meta:{unoptimized:r,preload:c||u,placeholder:w,fill:g}}}},55034,(e,t,r)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:r,blurHeight:l,blurDataURL:a,objectFit:i}){let d=r?40*r:e,n=l?40*l:t,o=d&&n?`viewBox='0 0 ${d} ${n}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${o}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${o?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${a}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},13521,(e,t,r)=>{"use strict";e.i(50461),Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let s=e.r(41705)._(e.r(91788)),l=e.r(15125),a=s.default.createContext(l.imageConfigDefault)},15125,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return a},imageConfigDefault:function(){return i}};for(var l in s)Object.defineProperty(r,l,{enumerable:!0,get:s[l]});let a=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}}]);
|