@unchainedshop/admin-ui 4.9.0 → 4.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WPLOTFGW.js → chunk-2HTCKO4E.js} +12 -3
- package/dist/{chunk-PJLYVMUM.js → chunk-4MXPTVDL.js} +2 -2
- package/dist/{chunk-I64TXIE7.js → chunk-ATZJXTRA.js} +1 -1
- package/dist/{chunk-QHR23GVH.js → chunk-CUYIP5XG.js} +1 -1
- package/dist/{chunk-5WPFHQZN.js → chunk-E6HDJYA6.js} +3 -3
- package/dist/{chunk-FDHXLNZQ.js → chunk-EAVP6XZQ.js} +1 -1
- package/dist/{chunk-E77YIMGR.js → chunk-ED2FP42R.js} +1 -1
- package/dist/{chunk-HJKRGBDG.js → chunk-GWMLIF3C.js} +1 -1
- package/dist/{chunk-3L6EZQ6P.js → chunk-NFJE5EJG.js} +1 -1
- package/dist/{chunk-BMDNY67T.js → chunk-PGJTFYBT.js} +1385 -932
- package/dist/{chunk-ICJH36K4.js → chunk-YUXHILXY.js} +1 -1
- package/dist/form.js +797 -286
- package/dist/hooks.js +3 -3
- package/dist/modal.js +5 -5
- package/dist/modules/accounts.js +1 -1
- package/dist/modules/assortment.js +1 -1
- package/dist/modules/country.js +1 -1
- package/dist/modules/currency.js +1 -1
- package/dist/modules/delivery-provider.js +1 -1
- package/dist/modules/enrollment.js +1 -1
- package/dist/modules/event.js +1 -1
- package/dist/modules/filter.js +1 -1
- package/dist/modules/language.js +1 -1
- package/dist/modules/order.js +1 -1
- package/dist/modules/payment-providers.js +1 -1
- package/dist/modules/product-review.js +1 -1
- package/dist/modules/product.js +5 -5
- package/dist/modules/quotation.js +1 -1
- package/dist/modules/token.js +1 -1
- package/dist/modules/warehousing-providers.js +1 -1
- package/dist/modules/work.js +1 -1
- package/dist/plugins.js +1 -1
- package/dist/providers.js +5 -5
- package/dist/shims/admin-ui-plugins.js +1 -1
- package/dist/shims/apollo-client-react.js +1 -1
- package/dist/shims/apollo-client.js +1 -1
- package/dist/shims/next-head.js +1 -1
- package/dist/shims/next-image.js +1 -1
- package/dist/shims/next-link.js +1 -1
- package/dist/shims/next-router.js +1 -1
- package/dist/shims/react-dom-client.js +1 -1
- package/dist/shims/react-dom.js +1 -1
- package/dist/shims/react-hook-form.js +1 -1
- package/dist/shims/react-intl.js +1 -1
- package/dist/shims/react-jsx-runtime.js +1 -1
- package/dist/shims/react-toastify.js +1 -1
- package/dist/shims/react.js +1 -1
- package/dist/theme.js +1 -1
- package/dist/ui.js +3884 -3401
- package/out/403/index.html +3 -3
- package/out/404/index.html +3 -3
- package/out/404.html +3 -3
- package/out/423/index.html +3 -3
- package/out/500/index.html +3 -3
- package/out/_next/static/TwsufYu8Ldt9ZNxtvzshp/_buildManifest.js +258 -0
- package/out/_next/static/chunks/0-66i4h-noxvn.js +7 -0
- package/out/_next/static/chunks/0-wbl3cr3959x.js +1 -0
- package/out/_next/static/chunks/01bmb-z2nror5.js +63 -0
- package/out/_next/static/chunks/01ehk69jm7o3h.js +1 -0
- package/out/_next/static/chunks/01v4zuf_1s632.js +24 -0
- package/out/_next/static/chunks/02bw09719wk6m.js +59 -0
- package/out/_next/static/chunks/04u9l5z90u8zc.js +108 -0
- package/out/_next/static/chunks/{439tz_ubj8h-g.js → 05kae8xt4d-mt.js} +9 -9
- package/out/_next/static/chunks/060-0-y0yq4tn.js +4 -0
- package/out/_next/static/chunks/06umepciqel5y.js +15 -0
- package/out/_next/static/chunks/{2rmgaa88-4bpb.js → 07oa-1j75vunn.js} +4 -4
- package/out/_next/static/chunks/{0zzoylv2rl1xu.js → 07qh9c3qklj41.js} +1 -1
- package/out/_next/static/chunks/08aonh4sng6e2.js +7 -0
- package/out/_next/static/chunks/08u8uu0r0k0o9.js +9 -0
- package/out/_next/static/chunks/096x-m7s73l-c.js +1 -0
- package/out/_next/static/chunks/0ab6zl-u7ml1p.js +5 -0
- package/out/_next/static/chunks/{40l5d7o95aw37.js → 0bvh9mjjgn_w3.js} +1 -1
- package/out/_next/static/chunks/0crno_6ew111i.js +8 -0
- package/out/_next/static/chunks/0czpir4zjwmos.js +1 -0
- package/out/_next/static/chunks/0fogiqvh9bznp.js +2 -0
- package/out/_next/static/chunks/0g1uyaoneybnf.js +41 -0
- package/out/_next/static/chunks/0h373kx_wlwzy.js +1 -0
- package/out/_next/static/chunks/{2hoi6cb1lromr.js → 0hq9p72y7ki0h.js} +1 -1
- package/out/_next/static/chunks/0hqvf-b6yry5-.js +12 -0
- package/out/_next/static/chunks/0ikig1vazlo5p.js +1 -0
- package/out/_next/static/chunks/0jol393fjamwq.js +277 -0
- package/out/_next/static/chunks/0jr0_6oupairk.js +13 -0
- package/out/_next/static/chunks/0l0hzoqd-va5-.js +1 -0
- package/out/_next/static/chunks/0m006z-rbif-h.js +5 -0
- package/out/_next/static/chunks/0nsa2b75vwe9r.js +43 -0
- package/out/_next/static/chunks/0oeas4d1fnzbb.js +36 -0
- package/out/_next/static/chunks/0q7n10ncl7jak.js +119 -0
- package/out/_next/static/chunks/0qyx2854lfah9.js +152 -0
- package/out/_next/static/chunks/0rjrvdq5w-984.js +78 -0
- package/out/_next/static/chunks/0tavmhzr7m3u9.js +5 -0
- package/out/_next/static/chunks/0tp8_k14lgo7i.js +12 -0
- package/out/_next/static/chunks/{1tkvi0wb-x3v8.js → 0u290yfuv_u2_.js} +2 -2
- package/out/_next/static/chunks/0u_zr87ce7iu-.js +1 -0
- package/out/_next/static/chunks/0v2v5x8dtpfh6.js +7 -0
- package/out/_next/static/chunks/0var4u7x1jrna.js +1 -0
- package/out/_next/static/chunks/0vik72soxnie0.js +32 -0
- package/out/_next/static/chunks/0xry2ss7g-gk_.js +33 -0
- package/out/_next/static/chunks/0xywzizg7ntfd.js +44 -0
- package/out/_next/static/chunks/0y3lr_rwmezii.js +1 -0
- package/out/_next/static/chunks/0zvpipo0q47xl.js +15 -0
- package/out/_next/static/chunks/1-jp7as2d7zp6.js +44 -0
- package/out/_next/static/chunks/10jrq6wew06i6.js +23 -0
- package/out/_next/static/chunks/1164-c5abnfyy.js +5 -0
- package/out/_next/static/chunks/{3qzrrjb48t2w3.js → 119d8cbr8mij2.js} +5 -5
- package/out/_next/static/chunks/122a0xxhrak7b.js +1 -0
- package/out/_next/static/chunks/129-110-fx4g2.js +277 -0
- package/out/_next/static/chunks/12hh2h53sa5vl.js +33 -0
- package/out/_next/static/chunks/14qvgxj89rj3h.js +16 -0
- package/out/_next/static/chunks/179acu8_sgizp.js +4 -0
- package/out/_next/static/chunks/1a120nyn1xssj.js +46 -0
- package/out/_next/static/chunks/1ata93ftwo5e5.js +1 -0
- package/out/_next/static/chunks/1ca5de-nq28g5.js +5 -0
- package/out/_next/static/chunks/1cm161_p0htmv.js +6 -0
- package/out/_next/static/chunks/1cp5rjbtbj7im.js +7 -0
- package/out/_next/static/chunks/1d-xju_35oiky.js +7 -0
- package/out/_next/static/chunks/1d2l6vs2y96io.js +5 -0
- package/out/_next/static/chunks/1dedrypk-h8qr.js +1 -0
- package/out/_next/static/chunks/1dl-ild2tc5fi.js +10 -0
- package/out/_next/static/chunks/1eh2ap8tgodgp.js +224 -0
- package/out/_next/static/chunks/1eq7kau-2figm.js +81 -0
- package/out/_next/static/chunks/1h9sc720aq7zm.js +5 -0
- package/out/_next/static/chunks/1i-6ya37cs5-w.js +116 -0
- package/out/_next/static/chunks/1igwz8p4ycvw8.js +68 -0
- package/out/_next/static/chunks/1kti-rwl34_4h.js +194 -0
- package/out/_next/static/chunks/{2ho4591ngh3y2.js → 1l_4m35yky3vy.js} +6 -6
- package/out/_next/static/chunks/1n3dc-2mpab65.js +39 -0
- package/out/_next/static/chunks/1nmwo96drt-k-.js +18 -0
- package/out/_next/static/chunks/1o2f_mtcw23zu.js +7 -0
- package/out/_next/static/chunks/1p6gh68l05_ak.js +1 -0
- package/out/_next/static/chunks/1sf71q2hkno8s.js +43 -0
- package/out/_next/static/chunks/{1gqd9vrno0rq4.js → 1u0hy0trwf8uk.js} +2 -2
- package/out/_next/static/chunks/1w22i299136_d.js +5 -0
- package/out/_next/static/chunks/1w69w7bav5fw7.js +5 -0
- package/out/_next/static/chunks/1xjtni6_z8nxp.js +15 -0
- package/out/_next/static/chunks/1y-db7_k0jgmb.js +1 -0
- package/out/_next/static/chunks/1y7wv_pb43doo.js +31 -0
- package/out/_next/static/chunks/1y84xua0xgwrn.js +39 -0
- package/out/_next/static/chunks/1yqexzm6_8pjh.js +71 -0
- package/out/_next/static/chunks/1zsrg53se30e4.js +7 -0
- package/out/_next/static/chunks/2-e86kt6vo58k.js +24 -0
- package/out/_next/static/chunks/2-lj_k3ewua_k.js +71 -0
- package/out/_next/static/chunks/2-omz_z29hp_j.js +1 -0
- package/out/_next/static/chunks/21hoklicpietg.js +41 -0
- package/out/_next/static/chunks/22kqizuxl67c-.js +108 -0
- package/out/_next/static/chunks/22odam86c8kps.js +1 -0
- package/out/_next/static/chunks/23wfelj92rx3n.js +1 -0
- package/out/_next/static/chunks/259obwu0l4d7_.js +8 -0
- package/out/_next/static/chunks/{22-o32hlte36e.js → 25k-q1asg1of_.js} +6 -6
- package/out/_next/static/chunks/28cyd6sk-kr-8.js +8 -0
- package/out/_next/static/chunks/{3vgurvjr6hkyv.js → 29j-tq9ymqima.js} +1 -1
- package/out/_next/static/chunks/29lz37yh8ev4g.js +267 -0
- package/out/_next/static/chunks/29qzk6rf1oo1g.js +8 -0
- package/out/_next/static/chunks/2_0nlvri-u3yb.js +5 -0
- package/out/_next/static/chunks/2_ebmmbmnfung.js +5 -0
- package/out/_next/static/chunks/2_nlmvpwjvbuc.js +1 -0
- package/out/_next/static/chunks/2abvgs_fkmp8g.js +12 -0
- package/out/_next/static/chunks/2ad3aff-kd860.js +16 -0
- package/out/_next/static/chunks/2asfqwl1f6ptd.js +71 -0
- package/out/_next/static/chunks/2bo7flfdpsojx.js +1 -0
- package/out/_next/static/chunks/2c3pj-ifdt9sv.js +8 -0
- package/out/_next/static/chunks/2cdf8zir46fgf.js +6 -0
- package/out/_next/static/chunks/{1_55km6vm5mc0.js → 2dem0g4wrt39t.js} +5 -5
- package/out/_next/static/chunks/{153ec1_-yt3jb.js → 2dg0lloufpbdb.js} +5 -5
- package/out/_next/static/chunks/2e-u5srw2p0n6.js +23 -0
- package/out/_next/static/chunks/2fxjo2s_nsjsa.js +5 -0
- package/out/_next/static/chunks/2gfl5yx5-dzk7.js +5 -0
- package/out/_next/static/chunks/2gqvhjmjfypz9.js +6 -0
- package/out/_next/static/chunks/2hqwx9e8xxk58.js +1 -0
- package/out/_next/static/chunks/2hthxhwh84ls1.css +1 -0
- package/out/_next/static/chunks/2jro0zgoal0kz.js +39 -0
- package/out/_next/static/chunks/2khmu80rhpzi0.js +7 -0
- package/out/_next/static/chunks/2luj-95aqr25b.js +1 -0
- package/out/_next/static/chunks/2mohqnh8393k0.js +935 -0
- package/out/_next/static/chunks/{11ehf3t7qzbua.js → 2ozm0eim2f3sc.js} +1 -1
- package/out/_next/static/chunks/2pass0agqwhhu.js +30 -0
- package/out/_next/static/chunks/2q16yoj85f5--.js +217 -0
- package/out/_next/static/chunks/2qgzju2ps7tn2.js +5 -0
- package/out/_next/static/chunks/2qmtn9qs15pe6.js +23 -0
- package/out/_next/static/chunks/2starzmj1ng6d.js +13 -0
- package/out/_next/static/chunks/2tltorbhbyodj.js +1 -0
- package/out/_next/static/chunks/2u8vf0tm3oweg.js +145 -0
- package/out/_next/static/chunks/2xq9wvqdb609r.js +1 -0
- package/out/_next/static/chunks/2ye-zd_107wh_.js +6 -0
- package/out/_next/static/chunks/2yttr5mp9mh23.js +171 -0
- package/out/_next/static/chunks/2z6e-_lzi04v4.js +149 -0
- package/out/_next/static/chunks/2z_zbj33aeywz.js +5 -0
- package/out/_next/static/chunks/2zq9_3p7cg3wb.js +9 -0
- package/out/_next/static/chunks/2zuoqtb2013in.js +7 -0
- package/out/_next/static/chunks/302pe6kwodzps.js +31 -0
- package/out/_next/static/chunks/30c42kdwlkc30.js +7 -0
- package/out/_next/static/chunks/30jqt_vus0ht9.js +1 -0
- package/out/_next/static/chunks/30lj8m3h07k4v.js +1 -0
- package/out/_next/static/chunks/3328j3xx0enu_.js +1 -0
- package/out/_next/static/chunks/339grcmrh2be_.js +1 -0
- package/out/_next/static/chunks/33pzdslirf1vx.js +6 -0
- package/out/_next/static/chunks/33s24dpx0eo63.js +2 -0
- package/out/_next/static/chunks/33w88h3hbfzbk.js +1 -0
- package/out/_next/static/chunks/35wqmtcm47y_w.js +39 -0
- package/out/_next/static/chunks/36o0xcj8l-mau.js +9 -0
- package/out/_next/static/chunks/37lm6c8w-c7bs.js +5 -0
- package/out/_next/static/chunks/37y01hdz8sxhr.js +1 -0
- package/out/_next/static/chunks/38op2tjm2a38-.js +10 -0
- package/out/_next/static/chunks/398z-133dgtem.js +14 -0
- package/out/_next/static/chunks/39_3a5rlqmxjd.js +5 -0
- package/out/_next/static/chunks/3admj5_pwyksw.js +1 -0
- package/out/_next/static/chunks/3c7j6t3by9tj7.js +155 -0
- package/out/_next/static/chunks/3cyj5euwvlu1t.js +1 -0
- package/out/_next/static/chunks/3d8yko5j3oni7.js +100 -0
- package/out/_next/static/chunks/3de9en65e-2qx.js +1 -0
- package/out/_next/static/chunks/3f_aw3x3h5zrb.js +54 -0
- package/out/_next/static/chunks/3fdcfxfy7_ijd.js +5 -0
- package/out/_next/static/chunks/3g-zjnc7_4583.js +1 -0
- package/out/_next/static/chunks/3h22kt6ngwxji.js +12 -0
- package/out/_next/static/chunks/3id1esivwnwn0.js +5 -0
- package/out/_next/static/chunks/{3fqonijzsxy8u.js → 3jy48b2yol0pg.js} +1 -1
- package/out/_next/static/chunks/3k_w16w3eoy6p.js +7 -0
- package/out/_next/static/chunks/3ks-dq47wvmwf.js +5 -0
- package/out/_next/static/chunks/3lch4_9c5hsbw.js +5 -0
- package/out/_next/static/chunks/3lirqns-0nf0z.js +5 -0
- package/out/_next/static/chunks/{1hviha1jcz_og.js → 3o83hyi0qcw6f.js} +1 -1
- package/out/_next/static/chunks/3ot810y4c4j5w.js +7 -0
- package/out/_next/static/chunks/3q2g8_47dz6k3.js +95 -0
- package/out/_next/static/chunks/{0q2e8h8498pvo.js → 3qqhr2o1soxh_.js} +1 -1
- package/out/_next/static/chunks/3s0alhaimym6o.js +61 -0
- package/out/_next/static/chunks/3sull2f3eleju.js +6 -0
- package/out/_next/static/chunks/3tzv_v3fezh8p.js +1 -0
- package/out/_next/static/chunks/3uekb_s0jaboj.js +1 -0
- package/out/_next/static/chunks/3xtawjchyn0qb.js +1 -0
- package/out/_next/static/chunks/3xze13c1irm_5.js +1 -0
- package/out/_next/static/chunks/3z14p5htgyrv9.js +7 -0
- package/out/_next/static/chunks/40vdr7s_c0h75.js +8 -0
- package/out/_next/static/chunks/41184_al87--k.js +46 -0
- package/out/_next/static/chunks/42iy04ceb32i1.js +5 -0
- package/out/_next/static/chunks/438vgwwahfwwj.js +54 -0
- package/out/_next/static/chunks/44l-287ai2bc0.js +12 -0
- package/out/_next/static/chunks/44p9j-nopxm66.js +1 -0
- package/out/_next/static/chunks/{turbopack-2c3mg3r-05n1w.js → turbopack-077hmtqrhcoji.js} +1 -1
- package/out/_offline/index.html +3 -3
- package/out/account/forgot-password/index.html +3 -3
- package/out/account/index.html +3 -3
- package/out/assortments/AssortmentDetailPage/index.html +3 -3
- package/out/assortments/index.html +3 -3
- package/out/assortments/new/index.html +3 -3
- package/out/copilot/index.html +3 -3
- package/out/country/CountryDetailPage/index.html +3 -3
- package/out/country/index.html +3 -3
- package/out/country/new/index.html +3 -3
- package/out/currency/CurrencyDetailPage/index.html +3 -3
- package/out/currency/index.html +3 -3
- package/out/currency/new/index.html +3 -3
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -3
- package/out/delivery-provider/index.html +3 -3
- package/out/delivery-provider/new/index.html +3 -3
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -3
- package/out/enrollments/index.html +3 -3
- package/out/events/EventDetailPage/index.html +3 -3
- package/out/events/index.html +3 -3
- package/out/exports/index.html +3 -3
- package/out/external/index.html +3 -3
- package/out/filters/FilterDetailPage/index.html +3 -3
- package/out/filters/index.html +3 -3
- package/out/filters/new/index.html +3 -3
- package/out/index.html +3 -3
- package/out/install/index.html +3 -3
- package/out/language/LanguageDetailPage/index.html +3 -3
- package/out/language/index.html +3 -3
- package/out/language/new/index.html +3 -3
- package/out/log-in/index.html +3 -3
- package/out/orders/OrderDetailPage/index.html +3 -3
- package/out/orders/index.html +3 -3
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -3
- package/out/payment-provider/index.html +3 -3
- package/out/payment-provider/new/index.html +3 -3
- package/out/products/ProductDetailPage/index.html +3 -3
- package/out/products/index.html +3 -3
- package/out/products/new/index.html +3 -3
- package/out/quotations/QuotationDetailPage/index.html +3 -3
- package/out/quotations/index.html +3 -3
- package/out/reset-password/index.html +3 -3
- package/out/sign-up/index.html +3 -3
- package/out/styleguide/index.html +3 -3
- package/out/tokens/TokenDetailPage/index.html +3 -3
- package/out/tokens/index.html +3 -3
- package/out/users/UserDetailPage/index.html +3 -3
- package/out/users/index.html +3 -3
- package/out/users/new/index.html +3 -3
- package/out/verify-email/index.html +3 -3
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -3
- package/out/warehousing-provider/index.html +3 -3
- package/out/warehousing-provider/new/index.html +3 -3
- package/out/works/WorkDetailPage/index.html +3 -3
- package/out/works/WorkQueueListView/index.html +3 -3
- package/out/works/index.html +3 -3
- package/out/works/management/index.html +3 -3
- package/package.json +26 -26
- package/out/_next/static/chunks/0-_s79k4_7ei_.js +0 -5
- package/out/_next/static/chunks/00aks9rqke2x0.js +0 -7
- package/out/_next/static/chunks/00az81dk4vdda.js +0 -54
- package/out/_next/static/chunks/01e4gd649r2tq.js +0 -7
- package/out/_next/static/chunks/01j2wi94k90x0.js +0 -5
- package/out/_next/static/chunks/043i-g05cyvrd.js +0 -1
- package/out/_next/static/chunks/04kyktzbxprj0.js +0 -61
- package/out/_next/static/chunks/05p330iybjojg.js +0 -44
- package/out/_next/static/chunks/05qk8ozexvlxp.js +0 -5
- package/out/_next/static/chunks/06i50j458a7g5.js +0 -12
- package/out/_next/static/chunks/08o61gwabp3h1.js +0 -33
- package/out/_next/static/chunks/0_bvgo8ev4gs7.js +0 -7
- package/out/_next/static/chunks/0b05sca2hdcys.js +0 -30
- package/out/_next/static/chunks/0bc8hmxlcg6h5.js +0 -18
- package/out/_next/static/chunks/0c3kwkqr9evm4.js +0 -5
- package/out/_next/static/chunks/0c4jv8pwvpxei.js +0 -1
- package/out/_next/static/chunks/0c7ljn9lo_0oh.js +0 -5
- package/out/_next/static/chunks/0djb38xrt32ao.js +0 -12
- package/out/_next/static/chunks/0drw_p7p-jjq1.js +0 -5
- package/out/_next/static/chunks/0ewr86ctcw7fx.js +0 -1
- package/out/_next/static/chunks/0hz0qu27uks3z.js +0 -8
- package/out/_next/static/chunks/0jham55cr3rhy.js +0 -81
- package/out/_next/static/chunks/0lr7o7tyjmrmf.js +0 -8
- package/out/_next/static/chunks/0mx8opz23nwlb.js +0 -5
- package/out/_next/static/chunks/0o0e82-3pc7ur.js +0 -78
- package/out/_next/static/chunks/0ohk7l49gjm62.js +0 -5
- package/out/_next/static/chunks/0p31l6a9hynnt.js +0 -6
- package/out/_next/static/chunks/0qa-zbgmv-k3p.js +0 -9
- package/out/_next/static/chunks/0rzjz052fwjjc.js +0 -12
- package/out/_next/static/chunks/0skst735jufgh.js +0 -71
- package/out/_next/static/chunks/0t28q5fb2jp-6.js +0 -8
- package/out/_next/static/chunks/0tmamaq8exyij.js +0 -1
- package/out/_next/static/chunks/0ydy3ky15gx62.js +0 -1
- package/out/_next/static/chunks/0zh311lu9jf2x.js +0 -5
- package/out/_next/static/chunks/0zpyyygbqx3pf.js +0 -152
- package/out/_next/static/chunks/10m_etq9t2pkv.js +0 -7
- package/out/_next/static/chunks/16le3cqxj12u6.js +0 -5
- package/out/_next/static/chunks/16zxfacsu_jbq.js +0 -1
- package/out/_next/static/chunks/170d-jbu8ilzu.js +0 -100
- package/out/_next/static/chunks/17fibl49qtd6c.js +0 -8
- package/out/_next/static/chunks/182l1mlbf0glb.js +0 -1
- package/out/_next/static/chunks/18xyj4i_i5lyn.js +0 -6
- package/out/_next/static/chunks/1a9-pdm78ri7r.js +0 -1
- package/out/_next/static/chunks/1aej6iqnlr74p.js +0 -1
- package/out/_next/static/chunks/1asbed4hne69c.js +0 -7
- package/out/_next/static/chunks/1c60nzy_x4kez.js +0 -277
- package/out/_next/static/chunks/1c77vl6xdqfd4.js +0 -15
- package/out/_next/static/chunks/1da89agg-nacc.js +0 -224
- package/out/_next/static/chunks/1epju6xepfqtq.js +0 -2
- package/out/_next/static/chunks/1fbsyczyh9hwh.js +0 -1
- package/out/_next/static/chunks/1hih2cxmgqcd3.js +0 -10
- package/out/_next/static/chunks/1il9vuoxtb2_n.js +0 -43
- package/out/_next/static/chunks/1jaatdt0mlypl.js +0 -16
- package/out/_next/static/chunks/1l4g6_of_bbr8.js +0 -5
- package/out/_next/static/chunks/1lezxecnoaxnn.js +0 -32
- package/out/_next/static/chunks/1m27au_nmk8_k.js +0 -71
- package/out/_next/static/chunks/1m4fwgl1mj4d-.js +0 -46
- package/out/_next/static/chunks/1ma82ip9shpkc.js +0 -24
- package/out/_next/static/chunks/1nbh1zkzirnuw.js +0 -1
- package/out/_next/static/chunks/1nohf8_cc6gmw.js +0 -9
- package/out/_next/static/chunks/1os6pvhjeb16o.js +0 -1
- package/out/_next/static/chunks/1r0w-hk6d2kqw.js +0 -15
- package/out/_next/static/chunks/1rsexg6dg82f0.js +0 -7
- package/out/_next/static/chunks/1u79pcgqjgjpq.js +0 -1
- package/out/_next/static/chunks/1uqiaqtv_0v2x.js +0 -5
- package/out/_next/static/chunks/1x8o-luxdxxk7.js +0 -1
- package/out/_next/static/chunks/1yjb7gogaf8po.js +0 -31
- package/out/_next/static/chunks/1zyhzessv0wtg.js +0 -1
- package/out/_next/static/chunks/2-pl31kdikt3k.js +0 -5
- package/out/_next/static/chunks/20c4_1i5r3kkz.js +0 -1
- package/out/_next/static/chunks/20zdaln201w8j.js +0 -277
- package/out/_next/static/chunks/21l46nbaop06z.js +0 -39
- package/out/_next/static/chunks/231j2_p-ha14w.js +0 -7
- package/out/_next/static/chunks/23s2f7_-ol94s.js +0 -8
- package/out/_next/static/chunks/25frktmrq-xu0.js +0 -1
- package/out/_next/static/chunks/26_mx-ritu68j.js +0 -24
- package/out/_next/static/chunks/26ckmxeluyknq.js +0 -1
- package/out/_next/static/chunks/26r0y7ldf3iqs.js +0 -6
- package/out/_next/static/chunks/27fzoozwycagi.js +0 -6
- package/out/_next/static/chunks/27jmq7a-vh0b4.js +0 -7
- package/out/_next/static/chunks/283567a82x9qi.js +0 -149
- package/out/_next/static/chunks/29he8uukp5s4u.js +0 -31
- package/out/_next/static/chunks/2adglo0sf0jcg.js +0 -905
- package/out/_next/static/chunks/2ajr0rk0_yax6.js +0 -1
- package/out/_next/static/chunks/2b4ewxxz6f462.js +0 -7
- package/out/_next/static/chunks/2bh2dv7j9m8c8.css +0 -1
- package/out/_next/static/chunks/2bi8v13lm76lr.js +0 -95
- package/out/_next/static/chunks/2burvpf9877y_.js +0 -44
- package/out/_next/static/chunks/2cclew3l28rc4.js +0 -14
- package/out/_next/static/chunks/2cj703xtrf5i6.js +0 -46
- package/out/_next/static/chunks/2ec7xatyld40t.js +0 -7
- package/out/_next/static/chunks/2iy0jr00qhq-q.js +0 -5
- package/out/_next/static/chunks/2m0rrts8gwqwp.js +0 -1
- package/out/_next/static/chunks/2m_u12ggzosat.js +0 -5
- package/out/_next/static/chunks/2mdns56l5antm.js +0 -5
- package/out/_next/static/chunks/2mrbytgs3uetd.js +0 -4
- package/out/_next/static/chunks/2olb298bph2yc.js +0 -13
- package/out/_next/static/chunks/2p9gwjxeui1zd.js +0 -71
- package/out/_next/static/chunks/2pfhy9qy_cijn.js +0 -5
- package/out/_next/static/chunks/2q5k4rozyr2wt.js +0 -4
- package/out/_next/static/chunks/2qx8nnki_qv5v.js +0 -171
- package/out/_next/static/chunks/2r_rj84l3cy7r.js +0 -119
- package/out/_next/static/chunks/2swxmzb-xk_bo.js +0 -108
- package/out/_next/static/chunks/2t0biwx5e_4w_.js +0 -1
- package/out/_next/static/chunks/2ts3v72jkbcdr.js +0 -7
- package/out/_next/static/chunks/2vfexvltv2avy.js +0 -5
- package/out/_next/static/chunks/2wkg65dtx56je.js +0 -155
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +0 -1
- package/out/_next/static/chunks/2xz7hnr9ikqzq.js +0 -7
- package/out/_next/static/chunks/2y1lq1efnvcdt.js +0 -23
- package/out/_next/static/chunks/2ziasg8l_c9n7.js +0 -5
- package/out/_next/static/chunks/3-wsablhqgzoa.js +0 -1
- package/out/_next/static/chunks/30ppb2wc-m4ph.js +0 -1
- package/out/_next/static/chunks/336k08jwyc5i-.js +0 -1
- package/out/_next/static/chunks/33_-2ne9ecvay.js +0 -1
- package/out/_next/static/chunks/33d061qpkafqm.js +0 -39
- package/out/_next/static/chunks/33fyy6d5mo55_.js +0 -8
- package/out/_next/static/chunks/33kh18frqc3b1.js +0 -5
- package/out/_next/static/chunks/33qeilxkl3ckn.js +0 -116
- package/out/_next/static/chunks/33tewe5d_lfl-.js +0 -13
- package/out/_next/static/chunks/33v05ol-ire9s.js +0 -10
- package/out/_next/static/chunks/348l8p7-vo4l5.js +0 -63
- package/out/_next/static/chunks/35hu5vin0swdf.js +0 -41
- package/out/_next/static/chunks/37a6yquh875rn.js +0 -39
- package/out/_next/static/chunks/3_2i9du5-ffrp.js +0 -59
- package/out/_next/static/chunks/3_84h3z_tewmg.js +0 -145
- package/out/_next/static/chunks/3bo7uiy-wh63m.js +0 -108
- package/out/_next/static/chunks/3c-an5ft_3emc.js +0 -1
- package/out/_next/static/chunks/3d_222ci0_30_.js +0 -41
- package/out/_next/static/chunks/3dldch03dfaed.js +0 -1
- package/out/_next/static/chunks/3eedy49gsvv_t.js +0 -1
- package/out/_next/static/chunks/3fayuejnrsd90.js +0 -15
- package/out/_next/static/chunks/3g1ale0hytu9q.js +0 -12
- package/out/_next/static/chunks/3i9q2-4e0mix5.js +0 -12
- package/out/_next/static/chunks/3k3gvr7-e3g_s.js +0 -5
- package/out/_next/static/chunks/3kwoyyxi_-q7m.js +0 -1
- package/out/_next/static/chunks/3le1bywe19_u9.js +0 -1
- package/out/_next/static/chunks/3lku4-9kpf-mj.js +0 -267
- package/out/_next/static/chunks/3lz5h1tw50wr_.js +0 -54
- package/out/_next/static/chunks/3m4smrmdqi2-3.js +0 -5
- package/out/_next/static/chunks/3oq-khgfpo0nx.js +0 -39
- package/out/_next/static/chunks/3ps25ocfalcap.js +0 -43
- package/out/_next/static/chunks/3r0i-7zjuz9i1.js +0 -6
- package/out/_next/static/chunks/3rgn5xwtr51ul.js +0 -7
- package/out/_next/static/chunks/3ridg_u19b6ih.js +0 -8
- package/out/_next/static/chunks/3skzk-w2ytvku.js +0 -5
- package/out/_next/static/chunks/3srw10h0hcztd.js +0 -68
- package/out/_next/static/chunks/3tgrftdet8sna.js +0 -15
- package/out/_next/static/chunks/3uax_eq1kjjta.js +0 -1
- package/out/_next/static/chunks/3uj94afpsi6cs.js +0 -1
- package/out/_next/static/chunks/3viepyovs19ub.js +0 -23
- package/out/_next/static/chunks/3vnzp3n_wd3j_.js +0 -1
- package/out/_next/static/chunks/3w8h5lxnd0z4z.js +0 -1
- package/out/_next/static/chunks/3wh4xa9dnw-55.js +0 -194
- package/out/_next/static/chunks/3wzvscqui-9ml.js +0 -23
- package/out/_next/static/chunks/3y8h3g1tqukrv.js +0 -36
- package/out/_next/static/chunks/3zcilnj6p9-t5.js +0 -1
- package/out/_next/static/chunks/3zmmdm68s05-t.js +0 -217
- package/out/_next/static/chunks/3zw4-oie-f7_0.js +0 -2
- package/out/_next/static/chunks/417kn9hki8k81.js +0 -33
- package/out/_next/static/chunks/42mofxcd0l7qi.js +0 -1
- package/out/_next/static/chunks/43hfssep7ry-z.js +0 -5
- package/out/_next/static/chunks/45bcpjurhxb-j.js +0 -1
- package/out/_next/static/nrNmgRi1nHylx_8lvjG2D/_buildManifest.js +0 -258
- /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → TwsufYu8Ldt9ZNxtvzshp}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{nrNmgRi1nHylx_8lvjG2D → TwsufYu8Ldt9ZNxtvzshp}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26178,e=>{"use strict";var t=e.i(91398),n=e.i(91788);let r=n.forwardRef(function({title:e,titleId:t,...r},a){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":t},r),e?n.createElement("title",{id:t},e):null,n.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 a=e.i(72043),i=e.i(69322);e.s(["f",0,({message:e,className:n="",Icon:o=null})=>(0,t.jsx)("div",{className:(0,a.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",n),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:o||(0,t.jsx)(r,{className:"h-6 w-6"})}),(0,t.jsx)(i.K,{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)},84818,e=>{"use strict";var t=e.i(92042);e.i(27861);let n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={},a=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),i="06/25/2014, 00:00:00"===a||"06/25/2014 00:00:00"===a;function o(e,t,n,r,a,i,o){let u=new Date(0);return u.setUTCFullYear(e,t,n),u.setUTCHours(r,a,i,o),u}let u=/^(Z)$/,s=/^([+-]\d{2})$/,l=/^([+-])(\d{2}):?(\d{2})$/;function d(e,t,n){let r,a;if(!e)return 0;let i=u.exec(e);if(i)return 0;if(i=s.exec(e))return h(r=parseInt(i[1],10))?-(36e5*r):0/0;if(i=l.exec(e)){r=parseInt(i[2],10);let e=parseInt(i[3],10);return h(r,e)?(a=36e5*Math.abs(r)+6e4*e,"+"===i[1]?-a:a):0/0}if(function(e){if(m[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),m[e]=!0,!0}catch(e){return!1}}(e)){var d;t=new Date(t||Date.now());let r=c(n?t:o((d=t).getFullYear(),d.getMonth(),d.getDate(),d.getHours(),d.getMinutes(),d.getSeconds(),d.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,a=c(new Date(r),n);if(t===a)return t;let i=c(new Date(r-=a-t),n);return a===i?a:Math.max(a,i)}(t,r,e))}return 0/0}function c(e,t){var a,u,s;let l,d,c,h=(r[a=t]||(r[a]=i?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:a,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),"formatToParts"in(c=r[a])?function(e,t){try{let r=e.formatToParts(t),a=[];for(let e=0;e<r.length;e++){let t=n[r[e].type];void 0!==t&&(a[t]=parseInt(r[e].value,10))}return a}catch(e){if(e instanceof RangeError)return[0/0];throw e}}(c,e):(u=c,s=e,l=u.format(s),[parseInt((d=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(l))[3],10),parseInt(d[1],10),parseInt(d[2],10),parseInt(d[4],10),parseInt(d[5],10),parseInt(d[6],10)])),m=o(h[0],h[1]-1,h[2],h[3]%24,h[4],h[5],0).getTime(),f=e.getTime(),g=f%1e3;return m-(f-=g>=0?g:1e3+g)}function h(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let m={};function f(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e-t}let g=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,w=/^([0-9W+-]+)(T| )(.*)/,b=/^([0-9W+-]+)(.*)/,y=/^(\d{2})$/,p=[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],v=/^(\d{4})/,M=[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],D=/^-(\d{2})$/,x=/^-?(\d{3})$/,T=/^-?(\d{2})-?(\d{2})$/,k=/^-?W(\d{2})$/,P=/^-?W(\d{2})-?(\d{1})$/,S=/^(\d{2}([.,]\d*)?)$/,W=/^(\d{2}):?(\d{2}([.,]\d*)?)$/,C=/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/;function F(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(0/0);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(0/0);let r=function(e){let t,n={},r=w.exec(e);if(r?(n.date=r[1],t=r[3]):(r=b.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=g.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:a,restDateString:i}=function(e,t){if(e){let n=p[t],r=M[t],a=v.exec(e)||r.exec(e);if(a){let t=a[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(a=y.exec(e)||n.exec(e)){let t=a[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),o=function(e,t){let n,r,a;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let i=D.exec(e);if(i)return(n=new Date(0),I(t,r=parseInt(i[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(0/0);if(i=x.exec(e)){n=new Date(0);let e=parseInt(i[1],10);return!function(e,t){if(t<1)return!1;let n=O(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(0/0):(n.setUTCFullYear(t,0,e),n)}if(i=T.exec(e)){n=new Date(0),r=parseInt(i[1],10)-1;let e=parseInt(i[2],10);return I(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(0/0)}if(i=k.exec(e))return q(a=parseInt(i[1],10)-1)?Y(t,a):new Date(0/0);if(i=P.exec(e)){a=parseInt(i[1],10)-1;let e=parseInt(i[2],10)-1;return q(a,e)?Y(t,a,e):new Date(0/0)}return null}(i,a);if(null===o||isNaN(o.getTime())||!o)return new Date(0/0);{let e,n=o.getTime(),a=0;if(r.time&&(null===(a=function(e){let t,n,r=S.exec(e);if(r)return E(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:0/0;if(r=W.exec(e))return E(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:0/0;if(r=C.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return E(t,n,e)?t%24*36e5+6e4*n+1e3*e:0/0}return null}(r.time))||isNaN(a)))return new Date(0/0);if(r.timeZone||t.timeZone){if(isNaN(e=d(r.timeZone||t.timeZone,new Date(n+a))))return new Date(0/0)}else e=f(new Date(n+a)),e=f(new Date(n+a+e));return new Date(n+a+e)}}function Y(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let a=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+a),r}let N=[31,28,31,30,31,30,31,31,30,31,30,31],j=[31,29,31,30,31,30,31,31,30,31,30,31];function O(e){return e%400==0||e%4==0&&e%100!=0}function I(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=O(e);if(r&&n>j[t]||!r&&n>N[t])return!1}return!0}function q(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function E(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}e.s(["f",0,()=>({formatDateTime:(e,t={})=>e&&Date.parse(e)?Intl.DateTimeFormat(void 0,t).format(new Date(e).getTime()):"n/a",getDateFormatPattern:()=>new Intl.DateTimeFormat(void 0).formatToParts(new Date).map(e=>{switch(e.type){case"day":return"d".repeat(e.value.length);case"month":return"M".repeat(e.value.length);case"year":return"y".repeat(e.value.length);case"literal":return e.value;default:return"dd.mm.yyyy"}}).join(""),parseDate:e=>(0,t.f)(function(e,t){if("string"==typeof e&&!e.match(g))return F(e,{timeZone:t});let n=o((e=F(e,void 0)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),r=d(t,new Date(n));return new Date(n+r)}(e,Intl.DateTimeFormat().resolvedOptions().timeZone),"yyyy-MM-dd")})],84818)},92042,50216,27861,57322,24323,e=>{"use strict";let t={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function n(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let r={date:n({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:n({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:n({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function i(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,a=n?.width?String(n.width):t;r=e.formattingValues[a]||e.formattingValues[t]}else{let t=e.defaultWidth,a=n?.width?String(n.width):e.defaultWidth;r=e.values[a]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function o(e){return(t,n={})=>{let r,a=n.width,i=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;let u=o[0],s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(s,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(s,e=>e.test(u));return r=e.valueCallback?e.valueCallback(l):l,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(u.length)}}}let u={code:"en-US",formatDistance:(e,n,r)=>{let a,i=t[e];if(a="string"==typeof i?i:1===n?i.one:i.other.replace("{{count}}",n.toString()),r?.addSuffix)if(r.comparison&&r.comparison>0)return"in "+a;else return a+" ago";return a},formatLong:r,formatRelative:(e,t,n,r)=>a[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:i({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:i({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:i({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:i({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:i({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(d={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(d.matchPattern);if(!n)return null;let r=n[0],a=e.match(d.parsePattern);if(!a)return null;let i=d.valueCallback?d.valueCallback(a[0]):a[0];return{value:i=t.valueCallback?t.valueCallback(i):i,rest:e.slice(r.length)}}),era:o({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:o({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:o({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:o({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:o({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};e.s(["f",0,u],50216);let s={};function l(){return s}e.s(["f",0,l],27861);var d,c=e.i(35113);function h(e){let t=(0,c.f)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-n}e.s(["f",0,h],57322);var m=e.i(98170);function f(e,...t){let n=m.f.bind(null,e||t.find(e=>"object"==typeof e));return t.map(n)}e.s(["f",0,f],24323);var g=e.i(2848),w=e.i(49543);function b(e,t){let n=l(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,c.f)(e,t?.in),i=a.getDay();return a.setDate(a.getDate()-(7*(i<r)+i-r)),a.setHours(0,0,0,0),a}function y(e,t){return b(e,{...t,weekStartsOn:1})}function p(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=(0,m.f)(n,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=y(a),o=(0,m.f)(n,0);o.setFullYear(r,0,4),o.setHours(0,0,0,0);let u=y(o);return n.getTime()>=i.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function v(e,t){let n=(0,c.f)(e,t?.in),r=n.getFullYear(),a=l(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??a.firstWeekContainsDate??a.locale?.options?.firstWeekContainsDate??1,o=(0,m.f)(t?.in||e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);let u=b(o,t),s=(0,m.f)(t?.in||e,0);s.setFullYear(r,0,i),s.setHours(0,0,0,0);let d=b(s,t);return+n>=+u?r+1:+n>=+d?r:r-1}function M(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let D={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return M("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):M(n+1,2)},d:(e,t)=>M(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>M(e.getHours()%12||12,t.length),H:(e,t)=>M(e.getHours(),t.length),m:(e,t)=>M(e.getMinutes(),t.length),s:(e,t)=>M(e.getSeconds(),t.length),S(e,t){let n=t.length;return M(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},x={G:function(e,t,n){let r=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return D.y(e,t)},Y:function(e,t,n,r){let a=v(e,r),i=a>0?a:1-a;return"YY"===t?M(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):M(i,t.length)},R:function(e,t){return M(p(e),t.length)},u:function(e,t){return M(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return M(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return M(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return D.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return M(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let a,i,o,u,s,d=Math.round((b(a=(0,c.f)(e,r?.in),r)-(i=l(),o=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,u=v(a,r),(s=(0,m.f)(r?.in||a,0)).setFullYear(u,0,o),s.setHours(0,0,0,0),b(s,r)))/g.A)+1;return"wo"===t?n.ordinalNumber(d,{unit:"week"}):M(d,t.length)},I:function(e,t,n){let r,a,i,o=Math.round((y(r=(0,c.f)(e,void 0))-(a=p(r,void 0),(i=(0,m.f)(r,0)).setFullYear(a,0,4),i.setHours(0,0,0,0),y(i)))/g.A)+1;return"Io"===t?n.ordinalNumber(o,{unit:"week"}):M(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):D.d(e,t)},D:function(e,t,n){let r,a,i=function(e,t){let[n,r]=f(void 0,e,t),a=(0,w.f)(n),i=(0,w.f)(r);return Math.round((a-h(a)-(i-h(i)))/g._)}(r=(0,c.f)(e,void 0),((a=(0,c.f)(r,void 0)).setFullYear(a.getFullYear(),0,1),a.setHours(0,0,0,0),a))+1;return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):M(i,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return M(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let a=e.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return M(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),a=0===r?7:r;switch(t){case"i":return String(a);case"ii":return M(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r,a=e.getHours();switch(r=12===a?"noon":0===a?"midnight":a/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r,a=e.getHours();switch(r=a>=17?"evening":a>=12?"afternoon":a>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return D.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):D.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):M(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):M(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):D.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):D.s(e,t)},S:function(e,t){return D.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return k(r);case"XXXX":case"XX":return P(r);default:return P(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return k(r);case"xxxx":case"xx":return P(r);default:return P(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+T(r,":");default:return"GMT"+P(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+T(r,":");default:return"GMT"+P(r,":")}},t:function(e,t,n){return M(Math.trunc(e/1e3),t.length)},T:function(e,t,n){return M(+e,t.length)}};function T(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+t+M(i,2)}function k(e,t){return e%60==0?(e>0?"-":"+")+M(Math.abs(e)/60,2):P(e,t)}function P(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+M(Math.trunc(n/60),2)+t+M(n%60,2)}let S=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},W=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},C={p:W,P:(e,t)=>{let n,r=e.match(/(P+)(p+)?/)||[],a=r[1],i=r[2];if(!i)return S(e,t);switch(a){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",S(a,t)).replace("{{time}}",W(i,t))}},F=/^D+$/,Y=/^Y+$/,N=["D","DD","YY","YYYY"];var j=e.i(9356);let O=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,I=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,q=/^'([^]*?)'?$/,E=/''/g,H=/[a-zA-Z]/;e.s(["f",0,function(e,t,n){let r=l(),a=n?.locale??r.locale??u,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=(0,c.f)(e,n?.in);if(!(0,j.f)(s))throw RangeError("Invalid time value");let d=t.match(I).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,C[t])(e,a.formatLong):e}).join("").match(O).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t){var n;let t;return{isToken:!1,value:(t=(n=e).match(q))?t[1].replace(E,"'"):n}}if(x[t])return{isToken:!0,value:e};if(t.match(H))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});a.localize.preprocessor&&(d=a.localize.preprocessor(s,d));let h={firstWeekContainsDate:i,weekStartsOn:o,locale:a};return d.map(r=>{if(!r.isToken)return r.value;let i=r.value;return(!n?.useAdditionalWeekYearTokens&&Y.test(i)||!n?.useAdditionalDayOfYearTokens&&F.test(i))&&function(e,t,n){var r,a,i;let o,u=(r=e,a=t,i=n,o="Y"===r[0]?"years":"days of the month",`Use \`${r.toLowerCase()}\` instead of \`${r}\` (in \`${a}\`) for formatting ${o} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(console.warn(u),N.includes(e))throw RangeError(u)}(i,t,String(e)),(0,x[i[0]])(s,i,a.localize,h)}).join("")}],92042)}]);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,61494,e=>{"use strict";var t=e.i(91398),r=e.i(41158),s=e.i(3828),a=e.i(69322);e.s(["f",0,({routeName:e=null,currentPageTitle:l=null,depth:i=null})=>{let o=(0,s.useRouter)(),{formatMessage:d}=(0,a.S)(),n={home:"home",products:"products",orders:"orders",users:"users",assortments:"assortments",filters:"filters",tokens:"tokens",quotations:"quotations",enrollments:"enrollments",activities:"activities",works:"work_queue",events:"events",currency:"currencies",country:"countries",language:"languages","delivery-provider":"delivery_providers","payment-provider":"payment_providers","warehousing-provider":"warehousing_provider",system:"system",account:"account",new:"new",edit:"edit"},c=o.asPath?.split("/")?.filter((e,t)=>o.asPath?.split("/")?.indexOf(e)===t);if(1===c.length)return null;let u="";i&&c.splice(i),e&&(c[c.length-1]=e);let m=c?.map(t=>{if(u+=`${t}/`,!t)return{name:d({id:"home",defaultMessage:"Home"}),path:"/"};let r=t?.split("?")[0],s=e?r:r.replace(/-/g," "),a=n[r];return{name:a?d({id:a,defaultMessage:s}):decodeURIComponent(s),path:u.replace(/.$/,"")}});return(0,t.jsx)("nav",{className:"mb-5 hidden sm:flex lg:mt-5 lg:mb-8","aria-label":"Breadcrumb",children:(0,t.jsx)("ol",{className:"flex items-center space-x-4",children:m?.map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:"flex items-center",children:[0!==s&&(0,t.jsx)("svg",{className:"mr-4 h-5 w-5 shrink-0 text-slate-400",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"})}),(0,t.jsx)(r.default,{href:e.path,className:"text-sm font-medium capitalize text-slate-500 dark:text-slate-400 dark:hover:text-slate-300 hover:text-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md px-1 py-1",children:s===m.length-1&&l?l:e.name})]})},e.path))})})}])},81013,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({text:e,children:s,onClick:a,className:l="",disabled:i=!1,id:o="",variant:d="primary",size:n="md",type:c="button",loading:u=!1,icon:m,iconRight:f,fullWidth:x=!1,rounded:p="md",ariaLabel:h,...b})=>{let g=s||e,k=(m||f)&&g?"gap-2":"";return(0,t.jsx)("button",{id:o,type:c,disabled:i||u,onClick:a,"aria-label":h,className:(0,r.default)("inline-flex items-center justify-center font-medium shadow-xs focus:outline-hidden focus:ring-2 focus:ring-offset-2 transition-colors duration-200 disabled:cursor-not-allowed disabled:opacity-50",{xs:"px-2.5 py-1.5 text-xs h-6",sm:"px-3 py-2 text-sm h-8",md:"px-4 py-2 text-sm h-9",lg:"px-6 py-3 text-base h-11"}[n],{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",full:"rounded-full"}[p],{primary:"border border-slate-800 dark:border-slate-600 bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:ring-slate-800 dark:focus:ring-slate-400",secondary:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-700 dark:text-slate-200 hover:bg-slate-50 dark:hover:bg-slate-700 focus:ring-slate-500",tertiary:"border border-slate-200 dark:border-slate-700 bg-slate-50 dark:bg-slate-800 text-slate-600 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:ring-slate-400",quaternary:"bg-transparent text-slate-700 dark:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",danger:"border border-rose-500 dark:border-rose-400 bg-white dark:bg-slate-800 text-rose-600 dark:text-rose-400 hover:bg-rose-50 dark:hover:bg-rose-900/10 focus:ring-rose-500",ghost:"bg-transparent border border-transparent text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-400",success:"border border-emerald-500 dark:border-emerald-400 bg-emerald-50 dark:bg-emerald-900/20 text-emerald-600 dark:text-emerald-400 hover:bg-emerald-100 dark:hover:bg-emerald-900/30 focus:ring-emerald-500",neutral:"border border-slate-300 dark:border-slate-600 bg-slate-100 dark:bg-slate-700 text-slate-600 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:ring-slate-400",input:"border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-slate-100 hover:border-slate-400 dark:hover:border-slate-500 focus:ring-slate-500 focus:border-slate-500"}[d],k,{"w-full":x},l),...b,children:u?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),g]}):(0,t.jsxs)(t.Fragment,{children:[m,g,f]})})}])},55215,e=>{"use strict";var t=e.i(91398),r=e.i(72043);e.s(["f",0,({value:e,className:s,onChange:a=()=>{},rows:l=7,...i})=>{let o=Math.max(e?e.split("\n").length:1,l);return(0,t.jsx)("textarea",{className:(0,r.default)("text-black dark:bg-slate-900 dark:text-slate-200 border-transparent border-t border-t-slate-200 dark:border-t-slate-800 resize-y",s),value:e,onChange:a,rows:o,...i})}])},17644,e=>{"use strict";var t=e.i(91398),r=e.i(58678),s=e.i(41158),a=e.i(69322),l=e.i(37369),i=e.i(81013);e.s(["f",0,({headerText:e=null,onEdit:o=null,onDelete:d=null,children:n=null,title:c=null,addPath:u=null,addButtonText:m=null})=>{let{formatMessage:f}=(0,a.S)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{children:(0,t.jsxs)("title",{children:["Unchained AdminUI - ",c||e," "]})}),(0,t.jsx)("div",{className:"flex gap-3 flex-wrap items-center justify-between",children:(0,t.jsxs)("div",{className:"flex items-center flex-wrap justify-between w-full gap-4",children:[e&&(0,t.jsx)("h2",{className:"text-2xl font-medium text-slate-900 dark:text-slate-300 sm:truncate sm:text-3xl lg:text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex items-center gap-3 flex-shrink-0",children:[n,u&&(0,t.jsx)(s.default,{href:u,children:(0,t.jsx)(i.f,{variant:"secondary",icon:(0,t.jsx)(l.f,{className:"h-5 w-5"}),text:m||f({id:"add",defaultMessage:"Add"})})}),o&&(0,t.jsx)(i.f,{variant:"secondary",onClick:o,text:f({id:"edit",defaultMessage:"Edit"})}),d&&(0,t.jsx)(i.f,{variant:"danger",onClick:d,text:f({id:"delete",defaultMessage:"Delete"})})]})]})})]})}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["Q",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"C",0,t,"T",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},38247,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(60741),a=e.i(82226),l=e.i(29691);let i=e=>{let t=new Date(e);return isNaN(t.getTime())?null:t.toISOString().split("T")[0]};e.s(["f",0,({validators:e=[],className:o,parseDate:d=i,...n})=>{let c=(0,s.f)({validators:[...e,a.G],...n}),u=c.value?new Date(c.value).toISOString().split("T")[0]:"";return(0,t.jsx)(l.f,{...c,className:n.containerClassName,children:(0,t.jsx)("input",{type:"date",id:c.id,name:c.name,disabled:c.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",o,{"border-rose-700 placeholder:text-rose-300":!!c.error}),onChange:e=>c.setValue(e.target.value),value:u,placeholder:c.placeholder,autoComplete:"off",...n})})}])},7105,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(55215),a=e.i(60741),l=e.i(29691);e.s(["f",0,({validators:e=[],rows:i=10,...o})=>{let d=(0,a.f)({...o,validators:[...e,{isValid:e=>{try{return JSON?.parse(e),!0}catch(e){return!1}},intlMessageDescriptor:{id:"invalid_json_input",defaultMessage:"Invalid JSON input"}}]});return(0,t.jsx)(l.f,{...d,children:(0,t.jsx)(s.f,{className:(0,r.default)("mt-1 block w-full max-w-full rounded-md border-1 border-slate-300 dark:border-slate-800 dark:bg-slate-900 dark:text-slate-200 shadow-xs dark:shadow-none focus:ring-slate-800 sm:text-sm",{"border-rose-300 text-rose-600 focus:border-rose-600 focus:ring-rose-600":!!d.error},o.className),disabled:d.disabled,id:d.name,name:d.name,onChange:e=>{try{JSON.parse(e.target.value||"{}"),d.setError("")}catch(e){d.setError(e.message?.replace("JSON.parse",""))}finally{d.setValue(e.target.value,!0),d.setTouched(!0)}},onBlur:e=>{try{d.setValue(JSON.stringify(JSON.parse(e.target.value),void 0,2),!0),d.setError("")}catch(e){d.setError(e.message)}},placeholder:d.placeholder,autoComplete:d.autoComplete,value:d.value})})}])},99160,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(38865),a=e.i(61898);e.s(["f",0,({label:e,disabled:l=!1,className:i="",hidden:o=!1,...d})=>{let n=(0,s.m)(),{...c}=d,u=Object.fromEntries(Object.keys(n.initialValues).map(e=>[e,n.getFieldMeta(e)])),{disabled:m}=(0,a.f)(),f=Object.values(u).reduce((e,{error:t,touched:r})=>e||t&&r,!1),x=l||m||n.isSubmitting||f,p=n.isSubmitting&&!f,h=(l||m||f)&&!n.isSubmitting;return(0,t.jsx)("input",{className:(0,r.default)("inline-flex cursor-pointer justify-center rounded-sm border border-slate-300 px-4 py-2 text-center text-sm font-medium leading-5 shadow-sm hover:shadow-md focus:ring-slate-800 dark:focus:ring-slate-400",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":h,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-slate-800 dark:bg-slate-600 text-white hover:bg-slate-900 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!x,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:x,...c})}])},45229,e=>{"use strict";var t=e.i(91398),r=e.i(72043),s=e.i(82226),a=e.i(60741),l=e.i(29691);e.s(["f",0,({maxLength:e=0,validators:i=[],...o})=>{let d=(0,a.f)({validators:[...i,e&&(0,s.f)(e)],...o});return(0,t.jsx)(l.f,{...d,children:(0,t.jsx)("input",{className:(0,r.default)("relative mt-1 block w-full dark:focus:autofill dark:hover:autofill dark:autofill dark:placeholder:text-slate-600 dark:bg-slate-900 dark:text-slate-200 appearance-none rounded-md border-1 dark:border-slate-700 px-4 py-2.5 text-sm text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800 shadow-xs",{"border-rose-700 placeholder:text-rose-500":!!d.error,"border-slate-300 placeholder-slate-400":!d.error}),disabled:d.disabled,id:d.name,name:d.name,onChange:d.onChange,onClick:e=>{e.stopPropagation()},onBlur:d.onBlur,placeholder:d.placeholder,autoComplete:d.autoComplete||"off",type:d.type||"text",value:d.value,autoFocus:d.autoFocus})})}])},30086,e=>{"use strict";var t=e.i(59080),r=e.i(76204);let s=t.f`
|
|
2
|
+
mutation AddWork(
|
|
3
|
+
$type: WorkType!
|
|
4
|
+
$priority: Int! = 0
|
|
5
|
+
$input: JSON
|
|
6
|
+
$originalWorkId: ID
|
|
7
|
+
$scheduled: Timestamp
|
|
8
|
+
$retries: Int! = 20
|
|
9
|
+
) {
|
|
10
|
+
addWork(
|
|
11
|
+
type: $type
|
|
12
|
+
priority: $priority
|
|
13
|
+
input: $input
|
|
14
|
+
originalWorkId: $originalWorkId
|
|
15
|
+
scheduled: $scheduled
|
|
16
|
+
retries: $retries
|
|
17
|
+
) {
|
|
18
|
+
_id
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
`;e.s(["f",0,()=>{let[e]=(0,r.f)(s);return{addWork:async({type:t,priority:r,input:s,originalWorkId:a,scheduled:l=null,retries:i})=>e({variables:{type:t,priority:r,input:s,originalWorkId:a,scheduled:l,retries:i},refetchQueries:["WorkQueue"]})}}])},3334,35496,54020,e=>{"use strict";var t=e.i(98170),r=e.i(50216),s=e.i(27861),a=e.i(36980),l=e.i(57322),i=e.i(24323),o=e.i(60836),d=e.i(2848);let n=["years","months","weeks","days","hours","minutes","seconds"];e.s(["f",0,()=>({getScheduledTime:e=>{if(!e)return null;let{scheduled:n,status:c,started:u}=e;if("FAILED"===c||"SUCCESS"===c||"DELETED"===c)return null;let m=new Date(n).getTime();if("ALLOCATED"===c||"NEW"===c&&!u){var f;return f={addSuffix:!0},function(e,t,n){let c,u=(0,s.f)(),m=n?.locale??u.locale??r.f,f=(0,o.f)(e,t);if(isNaN(f))throw RangeError("Invalid time value");let x=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f}),[p,h]=(0,i.f)(n?.in,...f>0?[t,e]:[e,t]),b=(0,a.f)(n?.roundingMethod??"round"),g=h.getTime()-p.getTime(),k=g/d.z,v=(g-((0,l.f)(h)-(0,l.f)(p)))/d.z,y=n?.unit;if("second"===(c=y||(k<1?"second":k<60?"minute":k<d.k?"hour":v<d.d?"day":v<d.l?"month":"year"))){let e=b(g/1e3);return m.formatDistance("xSeconds",e,x)}if("minute"===c){let e=b(k);return m.formatDistance("xMinutes",e,x)}if("hour"===c){let e=b(k/60);return m.formatDistance("xHours",e,x)}if("day"===c){let e=b(v/d.k);return m.formatDistance("xDays",e,x)}if("month"===c){let e=b(v/d.d);return 12===e&&"month"!==y?m.formatDistance("xYears",1,x):m.formatDistance("xMonths",e,x)}else{let e=b(v/d.l);return m.formatDistance("xYears",e,x)}}(m,(0,t.f)(m,Date.now()),f)}return null},getDuration:e=>{var t,a;let l,i,o,d,c,u;if(!e)return null;let{started:m,finished:f}=e,x=new Date().getTime();return m?(t={hours:Number(Math.floor((l=f?new Date(f).getTime()-new Date(m).getTime():x-new Date(m).getTime())/1e3/60/60)%24),minutes:Number(Math.floor(l/1e3/60)%60),seconds:Number(Math.ceil(l/1e3)%60)},a={zero:!1},i=(0,s.f)(),o=a?.locale??i.locale??r.f,d=a?.format??n,c=a?.zero??!1,u=a?.delimiter??" ",o.formatDistance?d.reduce((e,r)=>{let s=`x${r.replace(/(^.)/,e=>e.toUpperCase())}`,a=t[r];return void 0!==a&&(c||t[r])?e.concat(o.formatDistance(s,a)):e},[]).join(u):""):null}})],3334);var c=e.i(91398),u=e.i(91788);e.s(["f",0,({text:e,children:t})=>{let[r,s]=(0,u.useState)(!1);return(0,c.jsxs)("div",{className:"relative",children:[(0,c.jsx)("div",{onMouseEnter:()=>{s(!0)},onMouseLeave:()=>{s(!1)},children:t}),r&&(0,c.jsx)("div",{className:"tooltip absolute p-2 bg-slate-700 text-white rounded-lg whitespace-nowrap",children:e})]})}],35496),e.s(["f",0,({work:e,children:t=null})=>e?.original?e?.original?.retries===e?.retries?(0,c.jsxs)("span",{children:[(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,c.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t]}):(0,c.jsx)("span",{children:(0,c.jsxs)("span",{children:[(0,c.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor",className:"w-3 h-3 inline-block text-slate-500 mr-2",children:(0,c.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"})}),t,(0,c.jsx)("span",{className:"text-rose-400 text-sm ml-2",children:`${e?.retries} / ${e?.original?.retries}`})]})}):t],54020)},63104,e=>{"use strict";var t=e.i(59080),r=e.i(32171),s=e.i(70693),a=e.i(94672);let l=(e="")=>t.f`
|
|
22
|
+
query Work($workId: ID!) {
|
|
23
|
+
work(workId: $workId) {
|
|
24
|
+
...WorkFragment
|
|
25
|
+
${e}
|
|
26
|
+
error
|
|
27
|
+
priority
|
|
28
|
+
worker
|
|
29
|
+
timeout
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
${a.f}
|
|
33
|
+
`;e.s(["k",0,l,"U",0,({workId:e=null,...t})=>{let{customProperties:a}=(0,s.f)(),{data:i,loading:o,error:d,previousData:n}=(0,r.f)(l(a?.Work),{skip:!e,variables:{workId:e},...t});return{work:i?.work||n?.work,loading:o,error:d}}])},9459,e=>{"use strict";var t=e.i(91398),r=e.i(3828),s=e.i(69322),a=e.i(28401),l=e.i(41158),i=e.i(91788),o=e.i(65153),d=e.i(84818),n=e.i(60193),c=e.i(55215),u=e.i(3334),m=e.i(35496),f=e.i(54020);let x=({work:e})=>{let{formatMessage:r}=(0,s.S)(),{formatDateTime:a}=(0,d.f)(),{getDuration:x,getScheduledTime:p}=(0,u.f)(),[,h]=(0,i.useState)(null);(0,i.useEffect)(()=>{let t=null;return e&&("NEW"===e.status||"ALLOCATED"===e.status)&&(t=setInterval(()=>h(Date.now()),1e3)),()=>{clearInterval(t)}},[e?.status]);let b={timeStyle:"medium",dateStyle:"long"};return(0,t.jsx)("div",{className:`rounded-xl xl:-mx-8 mt-10 p-2 sm:p-6 lg:p-8 ${(0,n.c)(e?.status)}`,children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2 auto-rows-max",children:[(0,t.jsxs)("div",{className:"max-h-fit col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:[(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_type",defaultMessage:"Work type"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.type})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_status",defaultMessage:"Work Status"})}),(0,t.jsx)(o.f,{text:e?.status,color:n.Q[e?.status]})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_priority",defaultMessage:"Priority"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm ",children:e?.priority})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_retries",defaultMessage:"Retries"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(f.f,{work:e})})]}),(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:r({id:"worker",defaultMessage:"Worker"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:e?.worker?(0,t.jsx)(o.f,{text:r({id:"worker_dynamic",defaultMessage:"{worker}"},{worker:e?.worker}),color:"purple"}):"n/a"})]}),e?.retries||e?.original?(0,t.jsxs)("div",{className:"mb-2 flex flex-wrap items-center justify-between",children:[(0,t.jsx)("div",{className:"mr-4 text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_original",defaultMessage:"Original Work"})}),(0,t.jsx)("div",{className:"mt-2 max-w-prose space-y-5 text-sm",children:(0,t.jsx)(l.default,{href:`/works?workerId=${e?.original?._id}`,className:"text-slate-900 dark:text-slate-300",children:e?.original?._id})})]}):""]}),(0,t.jsx)("div",{className:"col-span-2 rounded-lg border border-slate-300 dark:border-slate-800 bg-white dark:bg-slate-900 p-4 shadow-md dark:shadow-none sm:p-6 lg:col-span-1 lg:p-8",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-5",children:[(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_created",defaultMessage:"Created"})}),(0,t.jsx)("div",{className:"flex text-sm",children:a(e?.created,b)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_scheduled",defaultMessage:"Scheduled"})}),(0,t.jsx)("div",{className:"flex text-sm w-100",children:(0,t.jsx)(m.f,{text:a(e?.scheduled,b),children:p(e)})})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_started",defaultMessage:"Started"})}),(0,t.jsx)("div",{className:"flex text-sm",children:a(e?.started,b)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:r({id:"work_finished",defaultMessage:"Finished"})}),(0,t.jsx)("div",{className:"flex text-sm",children:a(e?.finished,b)})]}),(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:r({id:"duration",defaultMessage:"Duration"})}),(0,t.jsx)("div",{className:"flex text-sm",children:x(e)})]}),e?.deleted&&(0,t.jsxs)("div",{className:"sm:col-span-1",children:[(0,t.jsx)("div",{className:"flex text-base text-slate-500 dark:text-slate-500 ",children:r({id:"deleted",defaultMessage:"Deleted"})}),(0,t.jsx)("div",{className:"flex text-sm",children:a(e?.deleted,b)})]})]})}),e?.error&&(0,t.jsxs)("div",{className:"rounded-lg shadow-md dark:shadow-none border-2 border-rose-300 dark:border-rose-800 col-span-2 lg:col-span-2 order-first overflow-hidden bg-rose-100 dark:bg-rose-800",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6 border-b border-rose-300 dark:border-rose-800",children:(0,t.jsxs)("h3",{className:"text-lg font-medium leading-6 text-rose-700 dark:text-rose-300 flex items-center gap-2",children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),r({id:"error",defaultMessage:"Error"})]})}),(0,t.jsx)("div",{className:"bg-rose-50 dark:bg-rose-950",children:(0,t.jsx)(c.f,{value:decodeURI(JSON.stringify(e.error,null,2)),disabled:!0,className:"block border-none w-full max-w-full resize-none sm:text-sm text-rose-900 dark:text-rose-100"})})]}),e?.input&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg border border-slate-300 dark:border-slate-800 col-span-2 shadow-md dark:shadow-none bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsx)("div",{className:"px-4 py-5 sm:px-6",children:(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:r({id:"input",defaultMessage:"Input"})})}),(0,t.jsx)(c.f,{value:JSON.stringify(e.input,null,2),disabled:!0,className:"block w-full max-w-full resize-none sm:text-sm"})]}),e?.result&&(0,t.jsxs)("div",{className:"overflow-hidden rounded-lg shadow-md dark:shadow-none border border-slate-300 dark:border-slate-800 col-span-2 bg-white dark:bg-slate-900 lg:col-span-1",children:[(0,t.jsxs)("div",{className:"px-4 py-5 sm:px-6 flex items-center justify-between",children:[(0,t.jsx)("h3",{className:"text-lg font-medium leading-6 text-slate-900 dark:text-slate-500",children:r({id:"result",defaultMessage:"Result"})}),e?.type==="BULK_IMPORT"&&e?.result?.created&&(0,t.jsx)("span",{className:"text-sm text-slate-600 dark:text-slate-400",children:r({id:"items_created",defaultMessage:"{count} items created"},{count:e.result.created.length})})]}),(0,t.jsx)(c.f,{value:JSON.stringify(e.result,null,2),disabled:!0,className:`block w-full max-w-full resize-none sm:text-sm ${e?.type==="BULK_IMPORT"&&e?.result?.created?.length>50?"max-h-96 overflow-y-auto":""}`})]})]})})};var p=e.i(63104),h=e.i(59080),b=e.i(76204);let g=h.f`
|
|
34
|
+
mutation RemoveWork($workId: ID!) {
|
|
35
|
+
removeWork(workId: $workId) {
|
|
36
|
+
_id
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`;var k=e.i(30086),v=e.i(12197),y=e.i(17644),w=e.i(61494),j=e.i(15971),N=e.i(6607),M=e.i(81359),S=e.i(86129),C=e.i(66773),$=e.i(5505),O=e.i(38247),D=e.i(69211),I=e.i(7105),_=e.i(99160),E=e.i(45229),T=e.i(98949);let W=({work:e,onSubmit:a})=>{let{formatMessage:l,locale:i}=(0,s.S)(),o=(0,r.useRouter)(),d=l({id:"work_added_success",defaultMessage:"Work added successfully!"}),n=(0,T.f)({submit:a,successMessage:d,onSubmitSuccess:(e,{_id:t})=>(o.replace(`/works?workerId=${t}`),!0),enableReinitialize:!0,initialValues:{...e,input:JSON.stringify(e?.input||{},null,2)}});return(0,t.jsx)($.U,{children:(0,t.jsx)(D.f,{form:n,children:(0,t.jsxs)("div",{className:"space-y-6 rounded-md bg-white dark:bg-slate-900 shadow-md ",children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-slate-900 dark:text-slate-200 ",children:l({id:"retry_work",defaultMessage:"Retry Work"})}),(0,t.jsx)("div",{className:"flex flex-col sm:flex-row sm:justify-between sm:items-center dark:border-slate-700 pb-4 mb-4",children:(0,t.jsx)("div",{className:"text-sm text-slate-500 dark:text-slate-400 mt-2 sm:mt-0 flex flex-col sm:flex-row sm:gap-4",children:(0,t.jsxs)("span",{children:[(0,t.jsx)("strong",{children:l({id:"type",defaultMessage:"Type"})})," ",e.type]})})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,t.jsx)(E.f,{name:"priority",id:"priority",label:l({id:"priority",defaultMessage:"Priority"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"}),(0,t.jsx)(E.f,{name:"retries",id:"retries",label:l({id:"retries",defaultMessage:"Retries"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",type:"number",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})]}),(0,t.jsx)(O.f,{name:"scheduled",label:l({id:"scheduled",defaultMessage:"Scheduled"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full py-2 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md",containerClassName:"w-full",locale:i,showTimeInput:!0,timeFormat:"p",timeIntervals:15}),(0,t.jsx)("div",{children:(0,t.jsx)(I.f,{name:"input",label:l({id:"input",defaultMessage:"Input"}),labelClassName:"text-sm font-medium text-slate-500 mb-1",className:"w-full h-48 text-sm text-slate-900 dark:text-slate-200 dark:bg-slate-800 rounded-md"})}),(0,t.jsx)("div",{className:"border-t-slate-100 border-t dark:border-t-slate-700 space-y-6 bg-slate-50 dark:bg-slate-900 p-5 text-right",children:(0,t.jsx)(_.f,{label:l({id:"retry_submit",defaultMessage:"Retry"})})})]})})})};e.s(["default",0,({workerId:e})=>{let l,{formatMessage:o}=(0,s.S)(),{push:d}=(0,r.useRouter)(),{work:n}=(0,p.U)({workId:e,pollInterval:2e3}),{setModal:c}=(0,N.f)(),{removeWork:u}=(()=>{let[e]=(0,b.f)(g);return{removeWork:async({workId:t})=>e({variables:{workId:t},refetchQueries:["WorkQueue"]})}})(),{addWork:m}=(0,k.f)(),f=(0,i.useCallback)(async()=>{c((0,t.jsx)(W,{work:n,onSubmit:async e=>{try{let{data:t}=await m({type:n?.type,priority:e.priority||n?.priority,retries:e.retries,scheduled:e.scheduled,input:JSON.parse(e.input||"{}"),originalWorkId:n?._id});return d(`/works?workerId=${t.addWork._id}`),c(null),{success:!0}}catch(e){return{success:!1,error:e}}}}),{closeOnOutsideClick:!0})},[n]),h=async()=>{await c((0,t.jsx)(j.f,{onCancelClick:()=>c(""),message:o({id:"delete_work_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this work? "}),onOkClick:async()=>{c(""),await u({workId:e}),a.c.success(o({id:"work_deleted",defaultMessage:"Work deleted successfully"}))},okText:o({id:"delete_work",defaultMessage:"Delete work"})}))};return(0,t.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,t.jsx)(w.f,{}),(0,t.jsxs)("div",{className:"items-center flex min-w-full justify-between gap-3 flex-wrap",children:[(0,t.jsx)(y.f,{headerText:o({id:"work_detail",defaultMessage:"Work Detail"}),title:o({id:"work_detail_title",defaultMessage:"Work {id}"},{id:n?._id})}),n&&(n?.status===C.h.Failed||n?.status===C.h.Success)?(0,t.jsxs)("button",{type:"button","aria-describedby":"header-delete-button",className:"my-auto flex items-center justify-center rounded-sm border-1 border-emerald-600 px-3 py-2 text-sm font-semibold text-emerald-600 shadow-xs hover:border-emerald-800 hover:bg-emerald-700 hover:text-white focus:outline-hidden focus:ring-2 focus:ring-emerald-700 focus:ring-offset-2",onClick:f,children:[(0,t.jsx)("span",{className:"pr-1",children:(0,t.jsx)(S.f,{className:"h-5 w-5"})}),o({id:"retry-work",defaultMessage:"Retry"})]}):null,n&&((l=n?.status)===C.h.New||l===C.h.Allocated)?(0,t.jsx)(M.f,{onClick:h}):null]}),n?(0,t.jsx)(x,{work:n}):(0,t.jsx)(v.f,{})]})}],9459)},76204,e=>{"use strict";var t=e.i(24669),r=e.i(91788),s=e.i(30928),a=e.i(52006);let l=e.i(21953).f?r.useLayoutEffect:r.useEffect;var i=e.i(98926);function o(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}e.s(["f",0,function(e,d){let n=(0,i.f)(d?.client),[c,u]=r.useState(()=>o(n)),m=r.useRef({result:c,mutationId:0,isMounted:!0,client:n,mutation:e,options:d});l(()=>{Object.assign(m.current,{client:n,options:d,mutation:e})});let f=r.useCallback((e={})=>{let{options:r,mutation:l}=m.current,i={...r,mutation:l},o=e.client||m.current.client,d="function"==typeof e.context?e.context(r?.context):e.context;!m.current.result.loading&&m.current.isMounted&&u(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let n=++m.current.mutationId,c=(0,s.f)(i,{...e,context:d});return(0,a.f)(o.mutate(c).then(r=>{let{data:s,error:a}=r,l=e.onError||m.current.options?.onError;if(a&&l&&l(a,c),n===m.current.mutationId){let e={called:!0,loading:!1,data:s,error:a,client:o};m.current.isMounted&&!(0,t.f)(m.current.result,e)&&u(m.current.result=e)}let i=e.onCompleted||m.current.options?.onCompleted;return a||i?.(r.data,c),r},r=>{if(n===m.current.mutationId&&m.current.isMounted){let e={loading:!1,error:r,data:void 0,called:!0,client:o};(0,t.f)(m.current.result,e)||u(m.current.result=e)}let s=e.onError||m.current.options?.onError;throw s&&s(r,c),r}))},[]),x=r.useCallback(()=>{if(m.current.isMounted){let e=o(m.current.client);Object.assign(m.current,{mutationId:0,result:e}),u(e)}},[]);return r.useEffect(()=>{let e=m.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[f,{reset:x,...c}]}],76204)},86129,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});e.s(["f",0,r],86129)},37369,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...s},a){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:a,"aria-labelledby":r},s),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))});e.s(["f",0,r],37369)},36980,e=>{"use strict";e.s(["f",0,function(e){return t=>{let r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}])},60836,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e)-(0,t.f)(r);return s<0?-1:s>0?1:s}])},9356,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e){return!(!(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))&&"number"!=typeof e||isNaN(+(0,t.f)(e)))}],9356)},49543,e=>{"use strict";var t=e.i(35113);e.s(["f",0,function(e,r){let s=(0,t.f)(e,r?.in);return s.setHours(0,0,0,0),s}])},35113,2848,98170,e=>{"use strict";let t=Symbol.for("constructDateFrom");function r(e,r){return"function"==typeof e?e(r):e&&"object"==typeof e&&t in e?e[t](r):e instanceof Date?new e.constructor(r):new Date(r)}e.s(["C",0,t,"_",0,864e5,"r",0,36e5,"z",0,6e4,"A",0,6048e5,"k",0,1440,"d",0,43200,"l",0,525600],2848),e.s(["f",0,r],98170),e.s(["f",0,function(e,t){return r(t||e,e)}],35113)},34980,(e,t,r)=>{"use strict";var s=e.r(49957),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function d(e){return s.isMemo(e)?i:o[e.$$typeof]||a}o[s.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[s.Memo]=i;var n=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,x=Object.prototype;t.exports=function e(t,r,s){if("string"!=typeof r){if(x){var a=f(r);a&&a!==x&&e(t,a,s)}var i=c(r);u&&(i=i.concat(u(r)));for(var o=d(t),p=d(r),h=0;h<i.length;++h){var b=i[h];if(!l[b]&&!(s&&s[b])&&!(p&&p[b])&&!(o&&o[b])){var g=m(r,b);try{n(t,b,g)}catch(e){}}}}return t}},40563,(e,t,r)=>{"use strict";var s="function"==typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103,l=s?Symbol.for("react.portal"):60106,i=s?Symbol.for("react.fragment"):60107,o=s?Symbol.for("react.strict_mode"):60108,d=s?Symbol.for("react.profiler"):60114,n=s?Symbol.for("react.provider"):60109,c=s?Symbol.for("react.context"):60110,u=s?Symbol.for("react.async_mode"):60111,m=s?Symbol.for("react.concurrent_mode"):60111,f=s?Symbol.for("react.forward_ref"):60112,x=s?Symbol.for("react.suspense"):60113,p=s?Symbol.for("react.suspense_list"):60120,h=s?Symbol.for("react.memo"):60115,b=s?Symbol.for("react.lazy"):60116,g=s?Symbol.for("react.block"):60121,k=s?Symbol.for("react.fundamental"):60117,v=s?Symbol.for("react.responder"):60118,y=s?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case a:switch(e=e.type){case u:case m:case i:case d:case o:case x:return e;default:switch(e=e&&e.$$typeof){case c:case f:case b:case h:case n:return e;default:return t}}case l:return t}}}function j(e){return w(e)===m}r.AsyncMode=u,r.ConcurrentMode=m,r.ContextConsumer=c,r.ContextProvider=n,r.Element=a,r.ForwardRef=f,r.Fragment=i,r.Lazy=b,r.Memo=h,r.Portal=l,r.Profiler=d,r.StrictMode=o,r.Suspense=x,r.isAsyncMode=function(e){return j(e)||w(e)===u},r.isConcurrentMode=j,r.isContextConsumer=function(e){return w(e)===c},r.isContextProvider=function(e){return w(e)===n},r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===a},r.isForwardRef=function(e){return w(e)===f},r.isFragment=function(e){return w(e)===i},r.isLazy=function(e){return w(e)===b},r.isMemo=function(e){return w(e)===h},r.isPortal=function(e){return w(e)===l},r.isProfiler=function(e){return w(e)===d},r.isStrictMode=function(e){return w(e)===o},r.isSuspense=function(e){return w(e)===x},r.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===m||e===d||e===o||e===x||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===h||e.$$typeof===n||e.$$typeof===c||e.$$typeof===f||e.$$typeof===k||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},r.typeOf=w},49957,(e,t,r)=>{"use strict";e.i(50461),t.exports=e.r(40563)}]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
__turbopack_load_page_chunks__("/copilot", [
|
|
2
|
+
"static/chunks/0h373kx_wlwzy.js",
|
|
3
|
+
"static/chunks/3uekb_s0jaboj.js",
|
|
4
|
+
"static/chunks/3xze13c1irm_5.js",
|
|
5
|
+
"static/chunks/37lm6c8w-c7bs.js",
|
|
6
|
+
"static/chunks/096x-m7s73l-c.js",
|
|
7
|
+
"static/chunks/07qh9c3qklj41.js",
|
|
8
|
+
"static/chunks/turbopack-077hmtqrhcoji.js"
|
|
9
|
+
])
|