@unchainedshop/admin-ui 5.0.0-alpha.10 → 5.0.0-alpha.11
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-HTPSKUXQ.js → chunk-BMDNY67T.js} +121 -50
- package/dist/{chunk-AOR2B5N5.js → chunk-BOMSMJF2.js} +4 -1
- package/dist/{chunk-E7BVYJ3R.js → chunk-E77YIMGR.js} +1 -1
- package/dist/{chunk-H6G4UTZ5.js → chunk-HJKRGBDG.js} +4 -10
- package/dist/{chunk-DTJ2DTKS.js → chunk-ICJH36K4.js} +15 -3
- package/dist/chunk-IWKDBADX.js +73 -0
- package/dist/{chunk-AE5LOZGH.js → chunk-PJLYVMUM.js} +15 -57
- package/dist/chunk-VYEXPG3M.js +107 -0
- package/dist/{chunk-VDKQGOMV.js → chunk-ZUOVKRKC.js} +118 -1
- package/dist/components/ui/Badge.d.ts.map +1 -1
- package/dist/components/ui/BreadCrumbs.d.ts.map +1 -1
- package/dist/components/ui/Pagination.d.ts.map +1 -1
- package/dist/components/ui/form/Combobox.d.ts.map +1 -1
- package/dist/components/ui/form/TextField.d.ts.map +1 -1
- package/dist/form.js +22 -11
- package/dist/gql/operation-types.d.ts +195 -19
- package/dist/gql/operation-types.d.ts.map +1 -1
- package/dist/gql/schema-types.d.ts +62 -7
- package/dist/gql/schema-types.d.ts.map +1 -1
- package/dist/hooks.js +3 -3
- package/dist/modules/accounts.js +182 -2
- package/dist/modules/assortment.js +81 -2
- package/dist/modules/common/components/AppContext.d.ts.map +1 -1
- package/dist/modules/common/components/FormWrapper.d.ts.map +1 -1
- package/dist/modules/common/components/ThemeWrapper.d.ts.map +1 -1
- package/dist/modules/common/data/miscellaneous.d.ts +1 -0
- package/dist/modules/common/data/miscellaneous.d.ts.map +1 -1
- package/dist/modules/enrollment.js +65 -8
- package/dist/modules/filter.js +51 -2
- package/dist/modules/order.js +1 -1
- package/dist/modules/product-review.js +2 -2
- package/dist/modules/product.js +259 -11
- package/dist/modules/quotation.js +7 -0
- package/dist/modules/token.js +1 -1
- package/dist/modules/work.js +17 -101
- package/dist/providers.js +1 -1
- package/dist/ui.js +91 -60
- package/out/403/index.html +3 -2
- package/out/404/index.html +3 -2
- package/out/404.html +3 -2
- package/out/423/index.html +3 -2
- package/out/500/index.html +3 -2
- package/out/_next/static/BPoacQET3TJr2q9E370Ez/_buildManifest.js +262 -0
- package/out/_next/static/chunks/01xy3u9ybz9ts.js +5 -0
- package/out/_next/static/chunks/02ir8k2vqhw7u.js +4 -0
- package/out/_next/static/chunks/03mdkmx9pb3yx.js +28 -0
- package/out/_next/static/chunks/03spbldywp99b.js +31 -0
- package/out/_next/static/chunks/0531sa8v36e39.js +1 -0
- package/out/_next/static/chunks/065ltxdt7s8b2.js +134 -0
- package/out/_next/static/chunks/06b1jza2fvc6f.js +4 -0
- package/out/_next/static/chunks/0701uizxsgs75.js +4 -0
- package/out/_next/static/chunks/09olk50zbo5r6.js +5 -0
- package/out/_next/static/chunks/09pabifvs84zb.js +12 -0
- package/out/_next/static/chunks/0_pn7w49dpkak.js +5 -0
- package/out/_next/static/chunks/0a_gulnq-c7to.js +709 -0
- package/out/_next/static/chunks/0agx-csdwbk-x.js +5 -0
- package/out/_next/static/chunks/0clmvy-auef0p.js +14 -0
- package/out/_next/static/chunks/0czktxcs2aa12.js +1 -0
- package/out/_next/static/chunks/0d_qylr054ab-.js +5 -0
- package/out/_next/static/chunks/0e2znhpcecrqs.js +175 -0
- package/out/_next/static/chunks/0ef4vp3ehm369.js +4 -0
- package/out/_next/static/chunks/0fggi8jpi5gjk.js +165 -0
- package/out/_next/static/chunks/0gyabz3vqllr6.js +83 -0
- package/out/_next/static/chunks/0j05dboa5_xkw.js +5 -0
- package/out/_next/static/chunks/0kr4ift9_1a3s.js +1 -0
- package/out/_next/static/chunks/0l8tmlevl_6p0.js +1 -0
- package/out/_next/static/chunks/0m73vd78oga92.js +342 -0
- package/out/_next/static/chunks/0o91usftba97q.js +54 -0
- package/out/_next/static/chunks/0oi1kpp0levnm.js +1 -0
- package/out/_next/static/chunks/0p7said9rdor1.js +1 -0
- package/out/_next/static/chunks/0p86ng98eiz5q.js +11 -0
- package/out/_next/static/chunks/0pw1zl8_l93xl.js +5 -0
- package/out/_next/static/chunks/0py8-umjmwiwi.js +156 -0
- package/out/_next/static/chunks/0q0m2pv-3b2e2.js +4 -0
- package/out/_next/static/chunks/0r57e83u39trg.js +5 -0
- package/out/_next/static/chunks/0r9a_mcjh1k24.js +6 -0
- package/out/_next/static/chunks/0rgtc82y8z7_x.js +5 -0
- package/out/_next/static/chunks/0rxhx_x-7dojh.js +182 -0
- package/out/_next/static/chunks/0s6u_6w75ggbw.js +297 -0
- package/out/_next/static/chunks/0teb3b5h78855.js +44 -0
- package/out/_next/static/chunks/0thsuuvsozjop.js +54 -0
- package/out/_next/static/chunks/0v6x3uondh5hw.js +5 -0
- package/out/_next/static/chunks/0v_uz3j8jolmq.js +4 -0
- package/out/_next/static/chunks/0vwmp6qrw7odm.js +7 -0
- package/out/_next/static/chunks/0w6t6v_jzrudq.js +4 -0
- package/out/_next/static/chunks/0w7gz501ry22r.js +4 -0
- package/out/_next/static/chunks/0xgn-89s97a5w.js +1 -0
- package/out/_next/static/chunks/0xqtemh7t38y9.js +119 -0
- package/out/_next/static/chunks/1-1rj15j67dqt.js +1 -0
- package/out/_next/static/chunks/10drou7w-k58p.js +4 -0
- package/out/_next/static/chunks/11w7hldkge7sg.js +8 -0
- package/out/_next/static/chunks/12yd8t4k6c0t1.js +1 -0
- package/out/_next/static/chunks/130c8cta7pec6.js +1 -0
- package/out/_next/static/chunks/13qi39a_b6gkv.js +1 -0
- package/out/_next/static/chunks/15142badc5ufq.js +4 -0
- package/out/_next/static/chunks/155boltbcvwo-.js +63 -0
- package/out/_next/static/chunks/15_nwd8p454gd.js +1 -0
- package/out/_next/static/chunks/15s4qkdyz56pg.js +115 -0
- package/out/_next/static/chunks/15vdx0kewzv-6.js +33 -0
- package/out/_next/static/chunks/16shuavdpgni8.js +327 -0
- package/out/_next/static/chunks/170j06y4-47o4.js +5 -0
- package/out/_next/static/chunks/18a5kibvycb6u.js +1 -0
- package/out/_next/static/chunks/1_bckhq06wfmb.js +4 -0
- package/out/_next/static/chunks/1_ymf_rfke1aw.js +6 -0
- package/out/_next/static/chunks/1a1m389awxw4k.js +1 -0
- package/out/_next/static/chunks/1albq_5cppsa1.js +5 -0
- package/out/_next/static/chunks/1bhibqf8k2-z1.js +117 -0
- package/out/_next/static/chunks/1bxesp6kakz8_.js +353 -0
- package/out/_next/static/chunks/1d80ahah359g5.js +174 -0
- package/out/_next/static/chunks/1dbjry-rs_5we.js +1 -0
- package/out/_next/static/chunks/1dlr1eig6zpl1.js +12 -0
- package/out/_next/static/chunks/1gq8ickcg_vmv.js +147 -0
- package/out/_next/static/chunks/1gyrsx1nip-lm.js +2 -0
- package/out/_next/static/chunks/1hma23kynopdj.js +3 -0
- package/out/_next/static/chunks/1i996uxxmc736.js +234 -0
- package/out/_next/static/chunks/1iamjw8qh1m4o.js +4 -0
- package/out/_next/static/chunks/1ivhp-mi-5l--.js +57 -0
- package/out/_next/static/chunks/1jmdpa0tc5puj.js +7 -0
- package/out/_next/static/chunks/1ktkks-wpk8q-.js +1 -0
- package/out/_next/static/chunks/1kz62r46jwi0y.js +5 -0
- package/out/_next/static/chunks/1lex3myb5hmsw.js +1 -0
- package/out/_next/static/chunks/1lha1nklxo2g7.js +1 -0
- package/out/_next/static/chunks/1mwmcucidjio0.js +8 -0
- package/out/_next/static/chunks/1mzejejof4s6g.js +147 -0
- package/out/_next/static/chunks/1os6pvhjeb16o.js +1 -0
- package/out/_next/static/chunks/1p937fyqa7ssz.js +1 -0
- package/out/_next/static/chunks/1po7d3udj6iv4.js +5 -0
- package/out/_next/static/chunks/1qxxbcidu-hmv.js +1 -0
- package/out/_next/static/chunks/1re4i2t_po4sr.js +95 -0
- package/out/_next/static/chunks/1s4oi1bw8zl5d.js +31 -0
- package/out/_next/static/chunks/1sb04cqudnfpj.js +4 -0
- package/out/_next/static/chunks/1sh2ogc7tcbu-.js +1 -0
- package/out/_next/static/chunks/1so6ouxrq_ffa.js +39 -0
- package/out/_next/static/chunks/1ulje1tawz8fl.js +1 -0
- package/out/_next/static/chunks/1uom050rz5iol.js +272 -0
- package/out/_next/static/chunks/1uymuiqrms2h8.js +103 -0
- package/out/_next/static/chunks/1wijj_fal57co.js +2 -0
- package/out/_next/static/chunks/1wpen9t3_zbte.js +1 -0
- package/out/_next/static/chunks/1wpv1sl7vwg04.js +99 -0
- package/out/_next/static/chunks/1y3poj860g968.js +24 -0
- package/out/_next/static/chunks/1yk0pxcl4urkd.js +4 -0
- package/out/_next/static/chunks/1z1mbux-7g74d.js +1 -0
- package/out/_next/static/chunks/1z2rl3h7scna4.js +7 -0
- package/out/_next/static/chunks/1zyhq82pkterc.js +61 -0
- package/out/_next/static/chunks/2-4610weysas_.js +1 -0
- package/out/_next/static/chunks/2-zr9-ri30va5.css +1 -0
- package/out/_next/static/chunks/20j8cdot33hql.js +13 -0
- package/out/_next/static/chunks/21fo9zerxyx-l.js +59 -0
- package/out/_next/static/chunks/22sxsq82r3cwy.js +41 -0
- package/out/_next/static/chunks/23nwkbry8kz0-.js +1 -0
- package/out/_next/static/chunks/259ckrmoldaqg.js +5 -0
- package/out/_next/static/chunks/25y2dqqrhstuq.js +5 -0
- package/out/_next/static/chunks/28myh-gi8t3t7.js +7 -0
- package/out/_next/static/chunks/28oppyg7ev102.js +1 -0
- package/out/_next/static/chunks/29y82c6-u55hj.js +5 -0
- package/out/_next/static/chunks/2ahlen2u4lbnm.js +16 -0
- package/out/_next/static/chunks/{2kzyda4a6mqut.js → 2ajr0rk0_yax6.js} +1 -1
- package/out/_next/static/chunks/2c3ehieqiwiw8.js +119 -0
- package/out/_next/static/chunks/2c5gq6izeq6nx.js +81 -0
- package/out/_next/static/chunks/2cj8g3fxmitaa.js +1 -0
- package/out/_next/static/chunks/2d9lzme_uzwvq.js +1 -0
- package/out/_next/static/chunks/2dqoft2pp4355.js +1 -0
- package/out/_next/static/chunks/2gso7_8v7owco.js +1 -0
- package/out/_next/static/chunks/2hc4nowrexhn3.js +100 -0
- package/out/_next/static/chunks/2hoi6cb1lromr.js +4 -0
- package/out/_next/static/chunks/2hw2_8kkf_2fg.js +1 -0
- package/out/_next/static/chunks/2kd4p_esjbozz.js +21 -0
- package/out/_next/static/chunks/2l8gepfm4kyjp.js +1 -0
- package/out/_next/static/chunks/2lwhn1ypqwukz.js +11 -0
- package/out/_next/static/chunks/2oz432iieo_c6.js +43 -0
- package/out/_next/static/chunks/2qjnhmz4c5fq1.js +23 -0
- package/out/_next/static/chunks/2rdjgc7_za785.js +9 -0
- package/out/_next/static/chunks/2ru66cyp0hbxn.js +103 -0
- package/out/_next/static/chunks/2ung-az_h871_.js +4 -0
- package/out/_next/static/chunks/2v4rvvdyh028e.js +1 -0
- package/out/_next/static/chunks/2vsl3-revotpl.js +43 -0
- package/out/_next/static/chunks/2wbc_9uwtsjbp.js +15 -0
- package/out/_next/static/chunks/2xixk0t9e9mnw.js +1 -0
- package/out/_next/static/chunks/2y6i_xssusr93.js +1 -0
- package/out/_next/static/chunks/2y_t26eglpeka.js +4 -0
- package/out/_next/static/chunks/2yw5sk06gdixu.js +1 -0
- package/out/_next/static/chunks/3-hgyqm9mhcm9.js +33 -0
- package/out/_next/static/chunks/3-ve59izq9j-p.js +1 -0
- package/out/_next/static/chunks/364y5vueeinvz.js +276 -0
- package/out/_next/static/chunks/366b9y413lk4d.js +33 -0
- package/out/_next/static/chunks/36vauyb71ot_b.js +61 -0
- package/out/_next/static/chunks/394m309ssmlo3.js +5 -0
- package/out/_next/static/chunks/39pveojee3ma1.js +33 -0
- package/out/_next/static/chunks/3_--novhq2u1q.js +807 -0
- package/out/_next/static/chunks/3apnk6kuvwze8.js +5 -0
- package/out/_next/static/chunks/3b0868kyqqkn3.js +5 -0
- package/out/_next/static/chunks/3btkj1_irjkq7.js +161 -0
- package/out/_next/static/chunks/3dcwbsiechj8e.js +7 -0
- package/out/_next/static/chunks/3dyd0ilb-ee5w.js +8 -0
- package/out/_next/static/chunks/3eftzknnu45-s.js +1 -0
- package/out/_next/static/chunks/3ejsx4af27cct.js +7 -0
- package/out/_next/static/chunks/3es4yddhl8uwc.js +7 -0
- package/out/_next/static/chunks/3fpgg_wy6j2ph.js +2 -0
- package/out/_next/static/chunks/3inp15oicq85k.js +1 -0
- package/out/_next/static/chunks/3j25u7rzawm9f.js +367 -0
- package/out/_next/static/chunks/3jxeyjg2g7w94.js +1 -0
- package/out/_next/static/chunks/3kd-t_qz3nxh7.js +30 -0
- package/out/_next/static/chunks/3kl8vv7w9jkjr.js +23 -0
- package/out/_next/static/chunks/3kmfx3f7oyfdm.js +5 -0
- package/out/_next/static/chunks/3koj4-48a7p_9.js +4 -0
- package/out/_next/static/chunks/3l7glrtu8ueuo.js +4 -0
- package/out/_next/static/chunks/3lgq9oa_2erwo.js +5 -0
- package/out/_next/static/chunks/3m_9ozv0orvze.js +187 -0
- package/out/_next/static/chunks/3muxcxam24i5z.js +1 -0
- package/out/_next/static/chunks/3nimt7ngr5zv6.js +46 -0
- package/out/_next/static/chunks/3pwezwpggrz59.js +74 -0
- package/out/_next/static/chunks/3r02t7a7jknrv.js +7 -0
- package/out/_next/static/chunks/3s40iuaou1rt4.js +1 -0
- package/out/_next/static/chunks/3selzn479n73i.js +16 -0
- package/out/_next/static/chunks/3srflqnqdfd60.js +5 -0
- package/out/_next/static/chunks/3t57k35xu2eo8.js +5 -0
- package/out/_next/static/chunks/3tu90a7do336z.js +12 -0
- package/out/_next/static/chunks/3ukgj2jzxf10n.js +5 -0
- package/out/_next/static/chunks/3vosu-lpiis6v.js +5 -0
- package/out/_next/static/chunks/3xaz8fvw2x6b3.js +5 -0
- package/out/_next/static/chunks/3xgjhwzul66dp.js +4 -0
- package/out/_next/static/chunks/3zze6y1x00k__.js +165 -0
- package/out/_next/static/chunks/40730dyt912zu.js +5 -0
- package/out/_next/static/chunks/40f26tfp8txip.js +5 -0
- package/out/_next/static/chunks/40kc42ezz2dri.js +1 -0
- package/out/_next/static/chunks/41f60q88qcigi.js +39 -0
- package/out/_next/static/chunks/41l5iphw-rna3.js +44 -0
- package/out/_next/static/chunks/423kk9x5t9_b8.js +5 -0
- package/out/_next/static/chunks/42k5e3tr3uyzs.js +54 -0
- package/out/_next/static/chunks/43uqmej6-s4am.js +7 -0
- package/out/_next/static/chunks/4481d7yj7bm2q.js +5 -0
- package/out/_next/static/chunks/448is1kpt9eaa.js +39 -0
- package/out/_next/static/chunks/44fkzg2e80pqt.js +8 -0
- package/out/_next/static/chunks/turbopack-2c3mg3r-05n1w.js +1 -0
- package/out/_offline/index.html +3 -2
- package/out/account/forgot-password/index.html +3 -2
- package/out/account/index.html +3 -2
- package/out/assortments/AssortmentDetailPage/index.html +3 -2
- package/out/assortments/index.html +3 -2
- package/out/assortments/new/index.html +3 -2
- package/out/copilot/index.html +3 -2
- package/out/country/CountryDetailPage/index.html +3 -2
- package/out/country/index.html +3 -2
- package/out/country/new/index.html +3 -2
- package/out/currency/CurrencyDetailPage/index.html +3 -2
- package/out/currency/index.html +3 -2
- package/out/currency/new/index.html +3 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +3 -2
- package/out/delivery-provider/index.html +3 -2
- package/out/delivery-provider/new/index.html +3 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +3 -2
- package/out/enrollments/index.html +3 -2
- package/out/events/EventDetailPage/index.html +3 -2
- package/out/events/index.html +3 -2
- package/out/exports/index.html +3 -2
- package/out/ext/[[...slug]]/index.html +3 -2
- package/out/external/index.html +3 -2
- package/out/filters/FilterDetailPage/index.html +3 -2
- package/out/filters/index.html +3 -2
- package/out/filters/new/index.html +3 -2
- package/out/index.html +3 -2
- package/out/install/index.html +3 -2
- package/out/language/LanguageDetailPage/index.html +3 -2
- package/out/language/index.html +3 -2
- package/out/language/new/index.html +3 -2
- package/out/log-in/index.html +3 -2
- package/out/orders/OrderDetailPage/index.html +3 -2
- package/out/orders/index.html +3 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +3 -2
- package/out/payment-provider/index.html +3 -2
- package/out/payment-provider/new/index.html +3 -2
- package/out/products/ProductDetailPage/index.html +3 -2
- package/out/products/index.html +3 -2
- package/out/products/new/index.html +3 -2
- package/out/quotations/QuotationDetailPage/index.html +3 -2
- package/out/quotations/index.html +3 -2
- package/out/reset-password/index.html +3 -2
- package/out/sign-up/index.html +3 -2
- package/out/styleguide/index.html +3 -2
- package/out/tokens/TokenDetailPage/index.html +3 -2
- package/out/tokens/index.html +3 -2
- package/out/users/UserDetailPage/index.html +3 -2
- package/out/users/index.html +3 -2
- package/out/users/new/index.html +3 -2
- package/out/verify-email/index.html +3 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +3 -2
- package/out/warehousing-provider/index.html +3 -2
- package/out/warehousing-provider/new/index.html +3 -2
- package/out/works/WorkDetailPage/index.html +3 -2
- package/out/works/WorkQueueListView/index.html +3 -2
- package/out/works/index.html +3 -2
- package/out/works/management/index.html +3 -2
- package/package.json +1 -1
- package/src/modules/accounts/index.ts +6 -0
- package/src/modules/assortment/index.ts +2 -0
- package/src/modules/enrollment/index.ts +2 -0
- package/src/modules/filter/index.ts +2 -0
- package/src/modules/product/index.ts +4 -0
- package/src/modules/work/index.ts +1 -0
- package/src/sdk/README.md +11 -2
- package/src/sdk/plugin-navigation.test.mjs +59 -0
- package/out/_next/static/chunks/0-2b37ubdpy0o.js +0 -7
- package/out/_next/static/chunks/012cafv-4m7rj.js +0 -807
- package/out/_next/static/chunks/02dnhll1bce87.js +0 -46
- package/out/_next/static/chunks/02ptvddfjlsxb.js +0 -1
- package/out/_next/static/chunks/03ebenjfvoj8n.js +0 -1
- package/out/_next/static/chunks/03r347235l6c4.js +0 -7
- package/out/_next/static/chunks/05au-xyt__0f2.js +0 -3
- package/out/_next/static/chunks/05nn5xr3ufcsh.js +0 -1
- package/out/_next/static/chunks/05o_q7jg8wucs.js +0 -44
- package/out/_next/static/chunks/05scroolqe8fu.js +0 -234
- package/out/_next/static/chunks/072qxdqjtqvn9.js +0 -11
- package/out/_next/static/chunks/0752goe9_9g2s.js +0 -110
- package/out/_next/static/chunks/07e-sk6v9u-qh.js +0 -807
- package/out/_next/static/chunks/07evy5u8ldd1y.js +0 -50
- package/out/_next/static/chunks/083ylavob4a8d.js +0 -3
- package/out/_next/static/chunks/08jrw03_vxllg.js +0 -54
- package/out/_next/static/chunks/08pag0k09j2b3.js +0 -807
- package/out/_next/static/chunks/09n6h-_l73rez.js +0 -13
- package/out/_next/static/chunks/0_b5faks_mrvi.js +0 -14
- package/out/_next/static/chunks/0a_bg-ub3r2eo.js +0 -60
- package/out/_next/static/chunks/0aqxsjssb0dh9.js +0 -21
- package/out/_next/static/chunks/0aw4jxe6zcc0c.js +0 -32
- package/out/_next/static/chunks/0b0hrx3sbbs70.js +0 -807
- package/out/_next/static/chunks/0bg4_y1qh5y5h.js +0 -47
- package/out/_next/static/chunks/0bgz44wi1lidl.js +0 -13
- package/out/_next/static/chunks/0dcpvidzyamvk.js +0 -100
- package/out/_next/static/chunks/0dnh0kr83_tj0.js +0 -1
- package/out/_next/static/chunks/0dxp17sbyy_dr.js +0 -22
- package/out/_next/static/chunks/0dxu94yin5gdn.js +0 -35
- package/out/_next/static/chunks/0e2c-jlh2q_eq.js +0 -74
- package/out/_next/static/chunks/0el7gr-83bm5j.js +0 -3
- package/out/_next/static/chunks/0f_ofo__wyqsp.js +0 -22
- package/out/_next/static/chunks/0gx9t6j5kx_ho.js +0 -9
- package/out/_next/static/chunks/0h0r_q6xa9qr_.js +0 -1
- package/out/_next/static/chunks/0i9ymn9xxs0nx.js +0 -18
- package/out/_next/static/chunks/0iy11ws57hzzr.js +0 -99
- package/out/_next/static/chunks/0j8_uikfyrn1f.js +0 -1
- package/out/_next/static/chunks/0jeddko6bac8h.js +0 -1
- package/out/_next/static/chunks/0jzx7vxh13cpi.js +0 -15
- package/out/_next/static/chunks/0kody3217__os.js +0 -16
- package/out/_next/static/chunks/0kwo-m1-mo-s-.js +0 -31
- package/out/_next/static/chunks/0lp_pnq1t06sl.js +0 -104
- package/out/_next/static/chunks/0m6jydfuy_4o3.js +0 -1
- package/out/_next/static/chunks/0mez27zlo26ni.js +0 -103
- package/out/_next/static/chunks/0nj8vn3509oe-.js +0 -9
- package/out/_next/static/chunks/0np9pcbt6dmxe.js +0 -25
- package/out/_next/static/chunks/0o7k5vanq57ch.js +0 -807
- package/out/_next/static/chunks/0r5wwinf72z4g.js +0 -1
- package/out/_next/static/chunks/0rqjr_lmrk4pz.js +0 -5
- package/out/_next/static/chunks/0swe0fkt4vyzn.js +0 -136
- package/out/_next/static/chunks/0u4st428hgv1v.js +0 -27
- package/out/_next/static/chunks/0u7--d8_-qyne.js +0 -83
- package/out/_next/static/chunks/0ubzi2s1spm4e.js +0 -342
- package/out/_next/static/chunks/0uecw_5mn0zvr.js +0 -110
- package/out/_next/static/chunks/0uw9cbq0ivaz0.js +0 -1
- package/out/_next/static/chunks/0uxwblyj0htyb.js +0 -1
- package/out/_next/static/chunks/0uyhr7vs9ltp0.js +0 -141
- package/out/_next/static/chunks/0vr19nswhvt2-.js +0 -14
- package/out/_next/static/chunks/0vyvc19p87f_r.js +0 -234
- package/out/_next/static/chunks/0wznlnzc2xsbz.js +0 -16
- package/out/_next/static/chunks/0ycu-q8fcc8ta.js +0 -1
- package/out/_next/static/chunks/0ytserk6fuf71.js +0 -175
- package/out/_next/static/chunks/0zoum0jzrtu0s.js +0 -145
- package/out/_next/static/chunks/1-6s62fsl_z_7.js +0 -126
- package/out/_next/static/chunks/10b6et0qn-pa0.js +0 -59
- package/out/_next/static/chunks/13m7st62a61df.js +0 -25
- package/out/_next/static/chunks/13u_a5l2xngm4.js +0 -1
- package/out/_next/static/chunks/15vz50rks0o2-.js +0 -238
- package/out/_next/static/chunks/1647yxi4ymq0z.js +0 -14
- package/out/_next/static/chunks/16hd7xvkocqxs.js +0 -807
- package/out/_next/static/chunks/16t18hhd4ax36.js +0 -2
- package/out/_next/static/chunks/17wle25pg9jkp.js +0 -11
- package/out/_next/static/chunks/18juy_eauk94g.js +0 -58
- package/out/_next/static/chunks/19eflki8bmivb.js +0 -81
- package/out/_next/static/chunks/19eu5d-wm2hfr.js +0 -23
- package/out/_next/static/chunks/19izcjxrrapb3.js +0 -9
- package/out/_next/static/chunks/1_jbj-c1d2606.js +0 -21
- package/out/_next/static/chunks/1_pwqdjxb6oou.js +0 -226
- package/out/_next/static/chunks/1ae-9ft5cgojf.js +0 -1
- package/out/_next/static/chunks/1bftmuhck_-7b.js +0 -1
- package/out/_next/static/chunks/1bww_2og01jxh.js +0 -807
- package/out/_next/static/chunks/1c0cemuv_tf6i.js +0 -16
- package/out/_next/static/chunks/1c4a2qxtb3r4_.js +0 -16
- package/out/_next/static/chunks/1cjd95y23a9qx.js +0 -1
- package/out/_next/static/chunks/1cy-2yb5j5_9b.js +0 -157
- package/out/_next/static/chunks/1dkv555kaccbl.js +0 -13
- package/out/_next/static/chunks/1dt9_bzfioi8a.js +0 -24
- package/out/_next/static/chunks/1fd7ewfb7bi_g.js +0 -234
- package/out/_next/static/chunks/1gncrqljnmqjn.js +0 -43
- package/out/_next/static/chunks/1gt65pz91hyuz.js +0 -1
- package/out/_next/static/chunks/1iewktf-9h_n8.js +0 -15
- package/out/_next/static/chunks/1l7p7exnzd0c2.js +0 -12
- package/out/_next/static/chunks/1nqu3ymv6lgev.js +0 -3
- package/out/_next/static/chunks/1o_8g-kpuqi9h.js +0 -1
- package/out/_next/static/chunks/1oent0-9-0rgb.js +0 -20
- package/out/_next/static/chunks/1og09fg689_nc.js +0 -180
- package/out/_next/static/chunks/1pj279k5ntty3.js +0 -13
- package/out/_next/static/chunks/1q_sewe1wbxsk.js +0 -54
- package/out/_next/static/chunks/1qvs4gd4rbhb2.js +0 -15
- package/out/_next/static/chunks/1rtv3c_klo0jk.js +0 -1
- package/out/_next/static/chunks/1sdqr2_r6o46f.js +0 -16
- package/out/_next/static/chunks/1vti949e9wuhz.js +0 -15
- package/out/_next/static/chunks/1x-yucftdml28.js +0 -1
- package/out/_next/static/chunks/1xbofs3ibkjvj.js +0 -1
- package/out/_next/static/chunks/1ylgjha1c0ua_.js +0 -124
- package/out/_next/static/chunks/1yp98n-n4gxwy.js +0 -15
- package/out/_next/static/chunks/1zcm_9oew7412.js +0 -14
- package/out/_next/static/chunks/2-e0d1qpp7rk9.js +0 -14
- package/out/_next/static/chunks/20ubrczdsehfm.js +0 -879
- package/out/_next/static/chunks/23m--gc-gjenm.js +0 -3
- package/out/_next/static/chunks/24-pobk4qjjvp.js +0 -3
- package/out/_next/static/chunks/24jptulqn322i.js +0 -15
- package/out/_next/static/chunks/24jyi7e2pq4gy.js +0 -15
- package/out/_next/static/chunks/252jebodi67kg.js +0 -1
- package/out/_next/static/chunks/26eux546aoag5.js +0 -58
- package/out/_next/static/chunks/270ua9t85a7ev.js +0 -5
- package/out/_next/static/chunks/28r_j2kquxrjn.js +0 -807
- package/out/_next/static/chunks/2_ccruvok3u8j.js +0 -16
- package/out/_next/static/chunks/2_ojfjgg8do9t.js +0 -1
- package/out/_next/static/chunks/2aj5aq_c0b4r_.js +0 -13
- package/out/_next/static/chunks/2ba3n9zx9e9q9.js +0 -807
- package/out/_next/static/chunks/2d-hxb31pgpn7.js +0 -13
- package/out/_next/static/chunks/2df2cqwidgpan.js +0 -15
- package/out/_next/static/chunks/2djnsowjy3p8y.js +0 -1
- package/out/_next/static/chunks/2dyj8q92_k5el.js +0 -708
- package/out/_next/static/chunks/2e0k9dt1emjfm.js +0 -1
- package/out/_next/static/chunks/2e3gba1n-yyuj.js +0 -15
- package/out/_next/static/chunks/2e_p1vqr0g_-_.js +0 -7
- package/out/_next/static/chunks/2e_te6sbs_5uw.js +0 -1
- package/out/_next/static/chunks/2f16josk9b_cl.js +0 -8
- package/out/_next/static/chunks/2fo2ki1egxbah.js +0 -39
- package/out/_next/static/chunks/2g8gzs8wpsofk.js +0 -2
- package/out/_next/static/chunks/2gh355-kh19zx.js +0 -13
- package/out/_next/static/chunks/2gr4t5xe0atdr.js +0 -15
- package/out/_next/static/chunks/2ib6fee-nqe-z.js +0 -23
- package/out/_next/static/chunks/2kjux30i3gg-c.js +0 -5
- package/out/_next/static/chunks/2ljoq6sr-g2da.js +0 -1
- package/out/_next/static/chunks/2ll_mqee86g8c.js +0 -1
- package/out/_next/static/chunks/2lx_iig9xewfj.js +0 -52
- package/out/_next/static/chunks/2lylr4-3tu1_t.js +0 -15
- package/out/_next/static/chunks/2n1v8ph2nt43w.js +0 -17
- package/out/_next/static/chunks/2o9hdz0gk1-s7.js +0 -165
- package/out/_next/static/chunks/2oadogfqpak51.js +0 -1
- package/out/_next/static/chunks/2oogwntgnu9rf.js +0 -17
- package/out/_next/static/chunks/2p4e3kh8sa8iq.js +0 -13
- package/out/_next/static/chunks/2q-mpau-4gsvd.js +0 -1
- package/out/_next/static/chunks/2rddaar-ns45d.js +0 -116
- package/out/_next/static/chunks/2s3qhuh87mu_w.js +0 -126
- package/out/_next/static/chunks/2s6u8274_jzk2.js +0 -105
- package/out/_next/static/chunks/2skfzjx2g9hkk.js +0 -134
- package/out/_next/static/chunks/2u6jwsqz0uhes.js +0 -24
- package/out/_next/static/chunks/2v4k4vpb2id7m.js +0 -44
- package/out/_next/static/chunks/2xctb084h1lyg.js +0 -329
- package/out/_next/static/chunks/2xgpwzpd6-tdb.js +0 -234
- package/out/_next/static/chunks/3-soz24u9483h.js +0 -15
- package/out/_next/static/chunks/30_ns6urg1dkn.js +0 -41
- package/out/_next/static/chunks/30nxkqu5mcga3.js +0 -1
- package/out/_next/static/chunks/313i1x81q2xj1.js +0 -1
- package/out/_next/static/chunks/31qwglme02a_r.js +0 -807
- package/out/_next/static/chunks/31sk60zzj3bc5.js +0 -17
- package/out/_next/static/chunks/325a7n__tfxy_.js +0 -61
- package/out/_next/static/chunks/33emlry70k-lv.js +0 -2
- package/out/_next/static/chunks/33v8la4hkia7j.js +0 -1
- package/out/_next/static/chunks/34ar-34flu6bu.js +0 -43
- package/out/_next/static/chunks/34z48lfdm9u0l.js +0 -9
- package/out/_next/static/chunks/351jscvbk_wb9.js +0 -13
- package/out/_next/static/chunks/357odtev0t245.js +0 -59
- package/out/_next/static/chunks/360g4b1clnt45.js +0 -142
- package/out/_next/static/chunks/360uyru28azf6.js +0 -20
- package/out/_next/static/chunks/366apf6d0xh2u.js +0 -30
- package/out/_next/static/chunks/36_zbuqpk5cpj.js +0 -14
- package/out/_next/static/chunks/36aqs7u7s-lb1.js +0 -119
- package/out/_next/static/chunks/36beon3q8orx2.js +0 -1
- package/out/_next/static/chunks/37703j9_zf5_h.js +0 -13
- package/out/_next/static/chunks/37rwzuocwsv_k.js +0 -16
- package/out/_next/static/chunks/37w6b3h04uc4c.js +0 -19
- package/out/_next/static/chunks/38ffn8gazqz8_.js +0 -3
- package/out/_next/static/chunks/38xse6_r51yqp.js +0 -234
- package/out/_next/static/chunks/39s8xbnm9f08v.js +0 -14
- package/out/_next/static/chunks/39x-p8r_sl0ng.js +0 -15
- package/out/_next/static/chunks/39zisxvmik0t_.js +0 -34
- package/out/_next/static/chunks/3_97tge0xvvon.js +0 -11
- package/out/_next/static/chunks/3aw-ri7876ngd.js +0 -39
- package/out/_next/static/chunks/3bv7gi3o6-41h.js +0 -11
- package/out/_next/static/chunks/3cdfuacs4_0d-.js +0 -1
- package/out/_next/static/chunks/3cxpx38ycu7u2.js +0 -9
- package/out/_next/static/chunks/3d1ofcqmlbg-5.js +0 -52
- package/out/_next/static/chunks/3e3i3qqkv_my7.js +0 -15
- package/out/_next/static/chunks/3ex71q3pp_ekc.js +0 -247
- package/out/_next/static/chunks/3g1lpkudwo8kg.js +0 -1
- package/out/_next/static/chunks/3h68t22714to5.js +0 -3
- package/out/_next/static/chunks/3jpzhwqgdnobq.js +0 -103
- package/out/_next/static/chunks/3jxuqt_2-j_uc.js +0 -18
- package/out/_next/static/chunks/3kqqv33l7ssn0.js +0 -16
- package/out/_next/static/chunks/3l-9xxd1i1sya.js +0 -1
- package/out/_next/static/chunks/3mancxzz8c7hl.js +0 -51
- package/out/_next/static/chunks/3mq2s9rfy78je.js +0 -27
- package/out/_next/static/chunks/3om1fkw-lrmng.js +0 -1
- package/out/_next/static/chunks/3oynij37wfjb2.js +0 -119
- package/out/_next/static/chunks/3pbyo5kkko3wh.js +0 -1
- package/out/_next/static/chunks/3pjja1obml896.js +0 -15
- package/out/_next/static/chunks/3qaiz-jwi7q2x.js +0 -1
- package/out/_next/static/chunks/3rh3nigvg06yu.js +0 -337
- package/out/_next/static/chunks/3rppjab6j3_k9.js +0 -1
- package/out/_next/static/chunks/3t_3vlnk1ntkb.js +0 -95
- package/out/_next/static/chunks/3tpo2ho54vtth.js +0 -807
- package/out/_next/static/chunks/3tqspv0ggt8j0.js +0 -17
- package/out/_next/static/chunks/3um54w4ca27n_.js +0 -17
- package/out/_next/static/chunks/3vet2a9q9rf2c.js +0 -61
- package/out/_next/static/chunks/3vjgbl76cgrmt.js +0 -1
- package/out/_next/static/chunks/3vz3gqmojh7sx.js +0 -4
- package/out/_next/static/chunks/3w2e5xa061qou.js +0 -9
- package/out/_next/static/chunks/3w9xrlkiztuwi.js +0 -23
- package/out/_next/static/chunks/3x4xfy_av3o0d.js +0 -1
- package/out/_next/static/chunks/3x9k13s5fam4j.js +0 -22
- package/out/_next/static/chunks/3xmtbqm0gddn8.js +0 -3
- package/out/_next/static/chunks/3z5uyt9mc9_fd.js +0 -2
- package/out/_next/static/chunks/3zlwp96x3hoy9.js +0 -16
- package/out/_next/static/chunks/3zr_sumh1g7il.js +0 -22
- package/out/_next/static/chunks/40jl8yfmy6tp6.js +0 -234
- package/out/_next/static/chunks/40xhwnc_48o73.js +0 -297
- package/out/_next/static/chunks/41-iysd7qkyg1.js +0 -16
- package/out/_next/static/chunks/4105a9rejv_p4.js +0 -1
- package/out/_next/static/chunks/41e2wlkp9_pvk.js +0 -28
- package/out/_next/static/chunks/41g7mv3yuhz6k.js +0 -68
- package/out/_next/static/chunks/43jyzccx6x0lw.js +0 -1
- package/out/_next/static/chunks/43vuxh3wdo567.js +0 -10
- package/out/_next/static/chunks/44daaafswok67.css +0 -1
- package/out/_next/static/chunks/452fv7r-tie6t.js +0 -1
- package/out/_next/static/chunks/457j51b69odrw.js +0 -1
- package/out/_next/static/chunks/turbopack-02vysfmmbped5.js +0 -1
- package/out/_next/static/chunks/turbopack-03fj2scz_09ul.js +0 -1
- package/out/_next/static/chunks/turbopack-07wtduwtfqsl_.js +0 -1
- package/out/_next/static/chunks/turbopack-0_zihh5ueb_wj.js +0 -1
- package/out/_next/static/chunks/turbopack-0b8-ww_z1vgvn.js +0 -1
- package/out/_next/static/chunks/turbopack-0beql_u-wc_3e.js +0 -1
- package/out/_next/static/chunks/turbopack-0dxdn-gyy3_qj.js +0 -1
- package/out/_next/static/chunks/turbopack-0hqw81t-42tbj.js +0 -1
- package/out/_next/static/chunks/turbopack-0jsdrr-oq87lm.js +0 -1
- package/out/_next/static/chunks/turbopack-0jxa33q3ikjqg.js +0 -1
- package/out/_next/static/chunks/turbopack-0k9zths9zte_8.js +0 -1
- package/out/_next/static/chunks/turbopack-0pa42wgwsv141.js +0 -1
- package/out/_next/static/chunks/turbopack-0te09_mp07k1x.js +0 -1
- package/out/_next/static/chunks/turbopack-0xsxl45thi-35.js +0 -1
- package/out/_next/static/chunks/turbopack-10-8q-q2zomxa.js +0 -1
- package/out/_next/static/chunks/turbopack-142w-8owzbg7_.js +0 -1
- package/out/_next/static/chunks/turbopack-18tezl3vagvil.js +0 -1
- package/out/_next/static/chunks/turbopack-1_1a-_v7vml72.js +0 -1
- package/out/_next/static/chunks/turbopack-1_k-7s9lmntml.js +0 -1
- package/out/_next/static/chunks/turbopack-1a47di2tss4e-.js +0 -1
- package/out/_next/static/chunks/turbopack-1c60gn7g-uduw.js +0 -1
- package/out/_next/static/chunks/turbopack-1e1yk3pkaodr5.js +0 -1
- package/out/_next/static/chunks/turbopack-1jtk1c9w2axlk.js +0 -1
- package/out/_next/static/chunks/turbopack-1k2ukl9u-7ovo.js +0 -1
- package/out/_next/static/chunks/turbopack-1lkz81ntcp1zv.js +0 -1
- package/out/_next/static/chunks/turbopack-1pkw_r5dvv20d.js +0 -1
- package/out/_next/static/chunks/turbopack-1pu2s2k3szn0s.js +0 -1
- package/out/_next/static/chunks/turbopack-1rxz_6lqtls5b.js +0 -1
- package/out/_next/static/chunks/turbopack-1uf07pugrv1fy.js +0 -1
- package/out/_next/static/chunks/turbopack-1uobzdn2r7ebw.js +0 -1
- package/out/_next/static/chunks/turbopack-1wv610ktbtzka.js +0 -1
- package/out/_next/static/chunks/turbopack-1wz4te1fj20zp.js +0 -1
- package/out/_next/static/chunks/turbopack-1zi2ss8eiiyfx.js +0 -1
- package/out/_next/static/chunks/turbopack-207p7bsc5wea7.js +0 -1
- package/out/_next/static/chunks/turbopack-21zngkzhonfcm.js +0 -1
- package/out/_next/static/chunks/turbopack-23y20ll8n-nwk.js +0 -1
- package/out/_next/static/chunks/turbopack-26wtylwa4_s95.js +0 -1
- package/out/_next/static/chunks/turbopack-27l7xplqpifq6.js +0 -1
- package/out/_next/static/chunks/turbopack-285oyoobdo21x.js +0 -1
- package/out/_next/static/chunks/turbopack-28b0zyhf3uqaq.js +0 -1
- package/out/_next/static/chunks/turbopack-28m_9eg3draop.js +0 -1
- package/out/_next/static/chunks/turbopack-29h9fgcal-fng.js +0 -1
- package/out/_next/static/chunks/turbopack-2a84kh6nmf_78.js +0 -1
- package/out/_next/static/chunks/turbopack-2b73dx1bsdg5f.js +0 -1
- package/out/_next/static/chunks/turbopack-2bslf96g-y1vv.js +0 -1
- package/out/_next/static/chunks/turbopack-2d-2wg8-_f9-v.js +0 -1
- package/out/_next/static/chunks/turbopack-2ez-mfb63qve0.js +0 -1
- package/out/_next/static/chunks/turbopack-2g7u83j1wlswz.js +0 -1
- package/out/_next/static/chunks/turbopack-2m4gns1_64-7_.js +0 -1
- package/out/_next/static/chunks/turbopack-2n4ba44aafc4x.js +0 -1
- package/out/_next/static/chunks/turbopack-2t3zb47_j-ahd.js +0 -1
- package/out/_next/static/chunks/turbopack-2tf6rdek5zvm6.js +0 -1
- package/out/_next/static/chunks/turbopack-2vb0p2htqo4nd.js +0 -1
- package/out/_next/static/chunks/turbopack-30-bi-9_7jd01.js +0 -1
- package/out/_next/static/chunks/turbopack-32pjcar5xpn1o.js +0 -1
- package/out/_next/static/chunks/turbopack-3a3skasosq9-4.js +0 -1
- package/out/_next/static/chunks/turbopack-3d2rk8-5wcgrs.js +0 -1
- package/out/_next/static/chunks/turbopack-3i91g2le3tkne.js +0 -1
- package/out/_next/static/chunks/turbopack-3j4bdo8-ldea5.js +0 -1
- package/out/_next/static/chunks/turbopack-3m47jybfw85nc.js +0 -1
- package/out/_next/static/chunks/turbopack-3yfksvslbm14s.js +0 -1
- package/out/_next/static/chunks/turbopack-414roft8p92hp.js +0 -1
- package/out/_next/static/chunks/turbopack-424slv1lqxh_5.js +0 -1
- package/out/_next/static/chunks/turbopack-444yt6auyioxn.js +0 -1
- package/out/_next/static/z5KrmhOz2mLscINN5EbUf/_buildManifest.js +0 -262
- /package/dist/{chunk-JED6SHHG.js → chunk-PUI5BIKO.js} +0 -0
- /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → BPoacQET3TJr2q9E370Ez}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{z5KrmhOz2mLscINN5EbUf → BPoacQET3TJr2q9E370Ez}/_ssgManifest.js +0 -0
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,57986,26013,e=>{"use strict";var s=e.i(91398),t=e.i(69322),a=e.i(15361),r=e.i(10833);e.s(["XCircleIcon",()=>r.default],26013);var r=r,l=e.i(67912),d=e.i(41158),i=e.i(93380),n=e.i(87284);let c=({username:e})=>(0,s.jsx)(l.UserCircleIcon,{className:"h-8 w-8 text-slate-800 dark:text-slate-600"});e.s(["default",0,({user:e,contact:l})=>{let{formatMessage:o}=(0,t.useIntl)();return(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:"h-8 w-8 rounded-full",children:e?.avatar?(0,s.jsx)(n.default,{src:e.avatar.url,alt:e.name||e.username,width:100,height:100}):(0,s.jsx)(c,{username:e?.username})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-4",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:(0,s.jsxs)("span",{className:"flex items-center",children:[(0,s.jsx)("h3",{className:"text-xl font-semibold capitalize",children:(0,s.jsx)(d.default,{href:`/users?userId=${e?._id}`,className:"text-text-secondary hover:text-slate-900 dark:hover:text-slate-600",children:(0,i.default)(e)})}),e?.primaryEmail?.verified&&(0,s.jsxs)("dl",{className:"self-end",children:[(0,s.jsx)("dt",{className:"sr-only",children:o({id:"account_status",defaultMessage:"Account status"})}),(0,s.jsx)("dd",{className:"mt-3 flex items-center self-end text-sm font-medium capitalize text-slate-900 sm:mr-6 sm:mt-0",children:e?.primaryEmail?.verified?(0,s.jsx)(a.CheckCircleIcon,{className:"h-4 w-4 shrink-0 text-emerald-400","aria-hidden":"true"}):(0,s.jsx)(r.default,{className:"h-4 w-4 shrink-0 text-rose-400","aria-hidden":"true"})})]})]})}),l?.emailAddress&&(0,s.jsx)("div",{children:l.emailAddress}),l?.telNumber&&(0,s.jsx)("div",{children:l.telNumber})]})]})}],57986)},66885,e=>{"use strict";var s=e.i(91398),t=e.i(69322),a=e.i(38322),r=e.i(84818),l=e.i(83147),d=e.i(51782);e.s(["default",0,({data:e,statusTypes:i,timeline:n})=>{let{formatMessage:c}=(0,t.useIntl)(),{formatDateTime:o}=(0,r.default)(),{content:u={},id:m}=n[e?.status]||{},x=i.filter(({value:e})=>n[e]?.visible);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flow-root sm:hidden",children:(0,s.jsx)("ul",{className:"my-4",children:x.map(({value:t,label:r},d)=>(0,s.jsx)("li",{children:(0,s.jsxs)("div",{className:"relative pb-8",children:[d!==x.length-1?(0,s.jsx)("span",{className:(0,l.classNames)(m>d+1?"bg-slate-900":"bg-slate-200","absolute top-2.5 left-2.5 -ml-px h-full w-0.5"),"aria-hidden":"true"}):null,(0,s.jsxs)("div",{className:"relative flex items-center space-x-3",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:(0,l.classNames)(m>d?"bg-slate-900":"bg-slate-600","flex h-5 w-5 items-center justify-center rounded-full"),children:m>d?(0,s.jsx)(a.CheckIcon,{className:"h-5 w-5 text-white","aria-hidden":"true"}):null})}),(0,s.jsxs)("div",{className:"ml-4 flex min-w-0 flex-1 items-center justify-between",children:[(0,s.jsx)("div",{className:"flex-auto",children:(0,s.jsx)("p",{className:"text-sm text-slate-500",children:(0,s.jsxs)("span",{className:"flex w-full items-center justify-between text-text-primary",children:[t,n[t]?.Component&&n[t].Component]})})}),m>=n[t].id?(0,s.jsx)("div",{className:"whitespace-nowrap text-right text-sm text-text-muted ml-4",children:e[n?.[t]?.content]?o(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null}):null]})]})]})},`${t}${r}`))})}),(0,s.jsxs)("div",{className:" p-4 bg-white shadow-sm dark:shadow-none dark:border dark:border-slate-700 sm:rounded-lg dark:bg-slate-900",children:[(0,s.jsxs)("p",{className:"font-medium flex items-center justify-between",children:[(0,s.jsx)(d.OrderStatusBadge,{status:e.status}),(0,s.jsx)("span",{children:e[u]?o(e[u],{dateStyle:"full",timeStyle:"medium"}):c({id:"in_cart",defaultMessage:"In cart"})})]}),(0,s.jsx)("div",{className:"mt-2","aria-hidden":"true",children:(0,s.jsx)("div",{className:"mt-2 hidden text-sm font-medium text-slate-600 sm:flex",children:x.map(({value:t,label:a})=>(0,s.jsxs)("div",{className:"sm:flex-auto",children:[(0,s.jsx)("div",{className:"relative mb-4 mr-1",children:(0,s.jsx)("span",{className:(0,l.classNames)(m>=n[t].id?e?.status==="CONFIRMED"?"bg-lime-600":e?.status==="PENDING"?"bg-amber-600":e?.status==="OPEN"?"bg-sky-600":"bg-emerald-600":"bg-surface-raised","absolute top-0 left-0 -ml-px h-2 w-full"),"aria-hidden":"true"})}),(0,s.jsxs)("div",{className:(0,l.classNames)(m>=n[t].id?"text-slate-900":"opacity-50","text-start"),children:[(0,s.jsx)("span",{className:"text-slate-900 dark:text-slate-400 uppercase",children:n[t]?.Component?n[t].Component:"CONFIRMED"===t?c({id:"confirmed",defaultMessage:"CONFIRMED"}):"PENDING"===t?c({id:"pending",defaultMessage:"PENDING"}):"OPEN"===t?c({id:"open",defaultMessage:"OPEN"}):"FULFILLED"===t?c({id:"fulfilled",defaultMessage:"FULFILLED"}):"REJECTED"===t?c({id:"rejected",defaultMessage:"REJECTED"}):t}),(0,s.jsx)("span",{className:"block text-text-primary",children:m>=n?.[t]?.id?o(e[n?.[t]?.content],{dateStyle:"short",timeStyle:"short"}):null})]})]},`${t}${a}`))})})]})]})}])},11959,e=>{"use strict";var s=e.i(59080),t=e.i(32171);let a=s.gql`
|
|
2
|
-
query StatusTypes($enumName: String!) {
|
|
3
|
-
statusTypes: __type(name: $enumName) {
|
|
4
|
-
options: enumValues {
|
|
5
|
-
value: name
|
|
6
|
-
label: description
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
`;e.s(["default",0,e=>{let{data:s,loading:r,error:l}=(0,t.useQuery)(a,{variables:{enumName:e}});return{statusTypes:s?.statusTypes?.options||[],loading:r,error:l}}])},34728,e=>{"use strict";var s=e.i(91398),t=e.i(38322);e.s(["default",0,({onOkClick:e,buttonText:a,headerText:r,message:l,icon:d=null})=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[d||(0,s.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-emerald-100 dark:bg-emerald-900/30",children:(0,s.jsx)(t.CheckIcon,{className:"h-6 w-6 text-emerald-600 dark:text-emerald-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"mt-3 text-center sm:mt-5",children:[(0,s.jsx)("h3",{className:"text-lg text-text-primary",id:"modal-title",children:r}),(0,s.jsx)("div",{className:"mt-2",children:(0,s.jsx)("p",{className:"text-sm text-text-muted",children:l})})]})]}),(0,s.jsx)("div",{className:"mt-5 sm:mt-6",children:(0,s.jsx)("button",{id:"alert_ok",onClick:e,type:"button",className:"inline-flex w-full justify-center rounded-md border border-transparent bg-accent px-4 py-2 text-base font-medium text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 sm:text-sm",children:a})})]})])},71774,e=>{"use strict";var s=e.i(91398),t=e.i(3828);e.i(51523);var a=e.i(19518),r=e.i(69322),l=e.i(28401),d=e.i(50595),i=e.i(53576),n=e.i(59080),c=e.i(32171),o=e.i(70693),u=e.i(36494);let m=n.gql`
|
|
11
|
-
fragment OrderDetailFragment on Order {
|
|
12
|
-
_id
|
|
13
|
-
totalTax: total(category: TAXES) {
|
|
14
|
-
amount
|
|
15
|
-
currencyCode
|
|
16
|
-
}
|
|
17
|
-
itemsTotal: total(category: ITEMS) {
|
|
18
|
-
amount
|
|
19
|
-
currencyCode
|
|
20
|
-
}
|
|
21
|
-
totalDiscount: total(category: DISCOUNTS) {
|
|
22
|
-
amount
|
|
23
|
-
currencyCode
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
totalPayment: total(category: PAYMENT) {
|
|
27
|
-
amount
|
|
28
|
-
currencyCode
|
|
29
|
-
}
|
|
30
|
-
totalDelivery: total(category: DELIVERY) {
|
|
31
|
-
amount
|
|
32
|
-
currencyCode
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
user {
|
|
36
|
-
_id
|
|
37
|
-
username
|
|
38
|
-
isGuest
|
|
39
|
-
avatar {
|
|
40
|
-
_id
|
|
41
|
-
url
|
|
42
|
-
}
|
|
43
|
-
profile {
|
|
44
|
-
displayName
|
|
45
|
-
address {
|
|
46
|
-
firstName
|
|
47
|
-
lastName
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
discounts {
|
|
52
|
-
_id
|
|
53
|
-
trigger
|
|
54
|
-
code
|
|
55
|
-
interface {
|
|
56
|
-
_id
|
|
57
|
-
label
|
|
58
|
-
version
|
|
59
|
-
}
|
|
60
|
-
total {
|
|
61
|
-
amount
|
|
62
|
-
currencyCode
|
|
63
|
-
isTaxable
|
|
64
|
-
isNetPrice
|
|
65
|
-
}
|
|
66
|
-
discounted {
|
|
67
|
-
_id
|
|
68
|
-
orderDiscount {
|
|
69
|
-
_id
|
|
70
|
-
total {
|
|
71
|
-
amount
|
|
72
|
-
currencyCode
|
|
73
|
-
isTaxable
|
|
74
|
-
isNetPrice
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
total {
|
|
78
|
-
amount
|
|
79
|
-
currencyCode
|
|
80
|
-
isTaxable
|
|
81
|
-
isNetPrice
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
payment {
|
|
86
|
-
_id
|
|
87
|
-
provider {
|
|
88
|
-
_id
|
|
89
|
-
type
|
|
90
|
-
interface {
|
|
91
|
-
_id
|
|
92
|
-
label
|
|
93
|
-
version
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
status
|
|
97
|
-
fee {
|
|
98
|
-
currencyCode
|
|
99
|
-
amount
|
|
100
|
-
}
|
|
101
|
-
paid
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
orderNumber
|
|
105
|
-
status
|
|
106
|
-
created
|
|
107
|
-
updated
|
|
108
|
-
ordered
|
|
109
|
-
|
|
110
|
-
confirmed
|
|
111
|
-
fulfilled
|
|
112
|
-
contact {
|
|
113
|
-
telNumber
|
|
114
|
-
emailAddress
|
|
115
|
-
}
|
|
116
|
-
country {
|
|
117
|
-
_id
|
|
118
|
-
isoCode
|
|
119
|
-
flagEmoji
|
|
120
|
-
name
|
|
121
|
-
}
|
|
122
|
-
currency {
|
|
123
|
-
_id
|
|
124
|
-
isoCode
|
|
125
|
-
isActive
|
|
126
|
-
}
|
|
127
|
-
billingAddress {
|
|
128
|
-
...AddressFragment
|
|
129
|
-
}
|
|
130
|
-
delivery {
|
|
131
|
-
_id
|
|
132
|
-
... on OrderDeliveryPickUp {
|
|
133
|
-
activePickUpLocation {
|
|
134
|
-
_id
|
|
135
|
-
name
|
|
136
|
-
address {
|
|
137
|
-
...AddressFragment
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
... on OrderDeliveryShipping {
|
|
142
|
-
address {
|
|
143
|
-
...AddressFragment
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
provider {
|
|
147
|
-
_id
|
|
148
|
-
created
|
|
149
|
-
updated
|
|
150
|
-
deleted
|
|
151
|
-
type
|
|
152
|
-
configuration
|
|
153
|
-
interface {
|
|
154
|
-
_id
|
|
155
|
-
label
|
|
156
|
-
version
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
status
|
|
160
|
-
delivered
|
|
161
|
-
fee {
|
|
162
|
-
isTaxable
|
|
163
|
-
isNetPrice
|
|
164
|
-
amount
|
|
165
|
-
currencyCode
|
|
166
|
-
}
|
|
167
|
-
discounts {
|
|
168
|
-
_id
|
|
169
|
-
orderDiscount {
|
|
170
|
-
_id
|
|
171
|
-
trigger
|
|
172
|
-
code
|
|
173
|
-
order {
|
|
174
|
-
_id
|
|
175
|
-
orderNumber
|
|
176
|
-
}
|
|
177
|
-
interface {
|
|
178
|
-
_id
|
|
179
|
-
label
|
|
180
|
-
version
|
|
181
|
-
}
|
|
182
|
-
total {
|
|
183
|
-
isTaxable
|
|
184
|
-
isNetPrice
|
|
185
|
-
amount
|
|
186
|
-
currencyCode
|
|
187
|
-
}
|
|
188
|
-
discounted {
|
|
189
|
-
_id
|
|
190
|
-
orderDiscount {
|
|
191
|
-
_id
|
|
192
|
-
trigger
|
|
193
|
-
code
|
|
194
|
-
order {
|
|
195
|
-
_id
|
|
196
|
-
orderNumber
|
|
197
|
-
}
|
|
198
|
-
interface {
|
|
199
|
-
_id
|
|
200
|
-
label
|
|
201
|
-
version
|
|
202
|
-
}
|
|
203
|
-
total {
|
|
204
|
-
isTaxable
|
|
205
|
-
isNetPrice
|
|
206
|
-
amount
|
|
207
|
-
currencyCode
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
delivered
|
|
215
|
-
}
|
|
216
|
-
total {
|
|
217
|
-
isTaxable
|
|
218
|
-
isTaxable
|
|
219
|
-
amount
|
|
220
|
-
currencyCode
|
|
221
|
-
}
|
|
222
|
-
items {
|
|
223
|
-
_id
|
|
224
|
-
product {
|
|
225
|
-
_id
|
|
226
|
-
texts {
|
|
227
|
-
_id
|
|
228
|
-
slug
|
|
229
|
-
brand
|
|
230
|
-
vendor
|
|
231
|
-
title
|
|
232
|
-
subtitle
|
|
233
|
-
}
|
|
234
|
-
media {
|
|
235
|
-
_id
|
|
236
|
-
file {
|
|
237
|
-
_id
|
|
238
|
-
url
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
quantity
|
|
243
|
-
|
|
244
|
-
unitPrice {
|
|
245
|
-
amount
|
|
246
|
-
isTaxable
|
|
247
|
-
isNetPrice
|
|
248
|
-
currencyCode
|
|
249
|
-
}
|
|
250
|
-
total {
|
|
251
|
-
amount
|
|
252
|
-
isTaxable
|
|
253
|
-
isNetPrice
|
|
254
|
-
currencyCode
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
${u.default}
|
|
259
|
-
`;var x=e.i(41158),f=e.i(83147),h=e.i(1880),p=e.i(87284);let g=({item:e})=>{let{formatMessage:t}=(0,r.useIntl)(),{formatPrice:a}=(0,f.useFormatPrice)();return(0,s.jsx)(x.default,{href:`/products?slug=${(0,h.default)(e.product)}`,children:(0,s.jsx)("div",{className:"space-y-8",children:(0,s.jsxs)("div",{className:"flex items-center flex-wrap",children:[(0,s.jsx)("div",{className:"flex shrink-0 overflow-hidden rounded-lg sm:mx-0 ",children:e.product?.media?.length?(0,s.jsx)(p.default,{src:`${e.product?.media[0].file.url}`,alt:e?.product?.texts?.title||e?.product?.texts?.subtitle,className:"object-cover object-center",width:80,height:80}):null}),(0,s.jsxs)("div",{className:"flex flex-col justify-center sm:mt-0 ml-3 sm:flex-auto",children:[(0,s.jsx)("h3",{className:"text-base text-text-primary truncate",dangerouslySetInnerHTML:{__html:e?.product?.texts?.title||e?.product?.texts?.subtitle}}),(0,s.jsx)("div",{className:"mt-1 text-sm dark:text-slate-400",children:a(e?.unitPrice)}),(0,s.jsxs)("div",{className:"mt-1 text-sm dark:text-slate-400",children:[t({id:"item_quantity",defaultMessage:"Quantity:"}),(0,s.jsx)("span",{className:"ml-1",children:e?.quantity})]})]})]})})})},v=({order:e})=>{let{formatMessage:t}=(0,r.useIntl)(),{formatPrice:a}=(0,f.useFormatPrice)(),l=e?.status==="OPEN"||!e?.orderNumber;return(0,s.jsx)("div",{"aria-labelledby":"summary-heading",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between pb-3 text-xl",children:[(0,s.jsx)("dt",{className:"",children:t({id:"order_total",defaultMessage:"Order total"})}),(0,s.jsx)("dd",{className:"",children:a(e?.total)})]}),!l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"discount",defaultMessage:"Discount"})}),(0,s.jsx)("dd",{className:"",children:a(e?.totalDiscount)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"shipping",defaultMessage:"Shipping"})}),(0,s.jsx)("dd",{className:"",children:a(e?.totalDelivery)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"tax",defaultMessage:"Tax"})}),(0,s.jsx)("dd",{className:"",children:a(e?.totalTax)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"order_payment_fees",defaultMessage:"Fees"})}),(0,s.jsx)("dd",{className:"",children:a(e?.totalPayment)})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)("dt",{className:"text-text-secondary",children:t({id:"subtotal",defaultMessage:"Subtotal"})}),(0,s.jsx)("dd",{className:"",children:a(e?.itemsTotal)})]})]})]})})};var j=e.i(37369),y=e.i(34728),b=e.i(6607),N=e.i(76204);let k=n.gql`
|
|
260
|
-
mutation PayOrder($orderId: ID!) {
|
|
261
|
-
payOrder(orderId: $orderId) {
|
|
262
|
-
_id
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
`;var _=e.i(51967),w=e.i(11959),I=e.i(84818);let M=({enumType:e,currentType:t,label:a,component:l=null})=>{let{formatMessage:d}=(0,r.useIntl)();return l||(0,s.jsx)("span",{title:a,className:`${t===e?"border-slate-300 bg-slate-200 text-slate-950 dark:bg-slate-800 dark:text-slate-200":"opacity-10 dark:bg-slate-900 "} mr-2 mb-2 inline-flex items-center rounded-md border border-slate-300 bg-white px-2 py-1 text-sm uppercase dark:border-slate-700 dark:bg-slate-800 dark:text-slate-200 transition-colors duration-200 ease-in-out hover:bg-surface-raised focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 focus:ring-offset-white dark:focus:ring-offset-slate-800`,children:(e=>{switch(e){case"INVOICE":return d({id:"invoice",defaultMessage:"INVOICE"});case"SHIPPING":return d({id:"shipping_method",defaultMessage:"SHIPPING"});case"OPEN":return d({id:"open",defaultMessage:"OPEN"});case"DELIVERED":return d({id:"delivered",defaultMessage:"Delivered"}).toUpperCase();case"PAID":return d({id:"paid",defaultMessage:"Paid"}).toUpperCase();default:return e}})(e)})};var C=e.i(58971);let E=({order:e})=>{let{paymentProviderType:t}=(0,_.default)(),{statusTypes:d}=(0,w.default)("OrderPaymentStatus"),{formatDateTime:i}=(0,I.default)(),{formatPrice:n}=(0,f.useFormatPrice)(),{formatMessage:c}=(0,r.useIntl)(),{setModal:o}=(0,b.default)(),{payOrder:u}=(()=>{let[e]=(0,N.useMutation)(k);return{payOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{hasRole:m}=(0,C.default)(),h=async()=>{await o((0,s.jsx)(y.default,{buttonText:c({id:"pay",defaultMessage:"Mark paid"}),message:c({id:"mark_as_paid_question",defaultMessage:"This will change the order payment status to Paid."}),headerText:c({id:"mark_as_paid_question_header",defaultMessage:"Mark as paid?"}),onOkClick:async()=>{o(""),await u({orderId:e._id}),l.toast.success(c({id:"order_paid",defaultMessage:"Order paid successfully"}))}}))};return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsx)("h2",{className:"pt-4 text-2xl text-text-primary",children:c({id:"payment",defaultMessage:"Payment"})}),e?.payment?.fee?.currencyCode&&(0,s.jsx)("span",{className:"block",children:n(e.payment.fee)}),e?.payment?.paid&&(0,s.jsx)("span",{className:"font-mono",children:i(e.payment.paid,{timeStyle:"short",dateStyle:"medium"})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mb-5 block text-xs font-mono",children:e?.payment?.provider&&(0,s.jsx)(x.default,{href:`/payment-provider?paymentProviderId=${e.payment.provider._id}`,className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,f.getInterfaceLabel)(e.payment?.provider?.interface)})}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:c({id:"method",defaultMessage:"Method"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...t].sort((s,t)=>s.value===e.payment?.provider?.type?-1:+(t.value===e.payment?.provider?.type)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e.payment?.provider?.type,label:t.label},t.value))}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:c({id:"delivery_status",defaultMessage:"Status"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...d].sort((s,t)=>s.value===e.payment?.status?-1:+(t.value===e.payment?.status)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e.payment?.status,label:t.label,component:"OPEN"===e.payment.status&&"PAID"===t.value&&m(a.IRoleAction.MarkOrderPaid)&&(0,s.jsxs)("button",{id:"pay",type:"button",onClick:h,className:"cursor-pointer my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-transparent bg-accent py-1 px-2 text-xs font-semibold text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,s.jsx)("span",{className:"mr-1",children:(0,s.jsx)(j.PlusIcon,{className:"inline-block h-3 w-3 text-white"})}),c({id:"mark_as_paid",defaultMessage:"Mark as Paid"})]})},t.value))})]})]})};var O=e.i(93333);let T=n.gql`
|
|
266
|
-
mutation DeliverOrder($orderId: ID!) {
|
|
267
|
-
deliverOrder(orderId: $orderId) {
|
|
268
|
-
_id
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
`,P=({order:e})=>{let{deliveryProviderType:t}=(0,O.default)(),{setModal:d}=(0,b.default)(),{statusTypes:i}=(0,w.default)("OrderDeliveryStatus"),{deliverOrder:n}=(()=>{let[e]=(0,N.useMutation)(T);return{deliverOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{formatPrice:c}=(0,f.useFormatPrice)(),{formatMessage:o}=(0,r.useIntl)(),{formatDateTime:u}=(0,I.default)(),{hasRole:m}=(0,C.default)(),h=async()=>{await d((0,s.jsx)(y.default,{buttonText:o({id:"delivered",defaultMessage:"Delivered"}),message:o({id:"mark_as_delivered_message",defaultMessage:"This will change the order delivery status to delivered"}),headerText:o({id:"mark_as_delivered_question",defaultMessage:"Mark as delivered ?"}),onOkClick:async()=>{d(""),await n({orderId:e._id}),l.toast.success(o({id:"order__marked_delivered",defaultMessage:"Order marked as delivered successfully"}))}}))};return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsx)("h2",{className:"pt-4 text-2xl",children:o({id:"delivery",defaultMessage:"Delivery"})}),e?.delivery?.fee?.currencyCode&&(0,s.jsx)("span",{className:"block",children:c(e.delivery.fee)}),e?.delivery?.delivered&&(0,s.jsx)("span",{className:"font-mono",children:u(e.delivery.delivered,{timeStyle:"short",dateStyle:"medium"})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mb-5 block font-mono text-xs",children:e?.delivery&&(0,s.jsx)(x.default,{href:`/delivery-provider?deliveryProviderId=${e?.delivery?.provider?._id}`,className:"text-slate-500 dark:text-slate-300 hover:text-slate-800 dark:hover:text-slate-600",children:(0,f.getInterfaceLabel)(e?.delivery?.provider?.interface)})}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:o({id:"method",defaultMessage:"Method"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...t].sort((s,t)=>s.value===e?.delivery?.provider?.type?-1:+(t.value===e?.delivery?.provider?.type)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e?.delivery?.provider?.type,label:t.label},t.value))}),(0,s.jsx)("div",{className:"mt-3 text-sm text-text-muted",children:o({id:"status",defaultMessage:"Status"})}),(0,s.jsx)("span",{className:"mr-2 block rounded-full py-1 text-xs font-semibold leading-5",children:[...i].sort((s,t)=>s.value===e?.delivery?.status?-1:+(t.value===e?.delivery?.status)).map(t=>(0,s.jsx)(M,{enumType:t.value,currentType:e?.delivery?.status,label:t.label,component:e?.delivery?.status==="OPEN"&&"DELIVERED"===t.value&&m(a.IRoleAction.MarkOrderDelivered)&&(0,s.jsxs)("button",{id:"deliver",type:"button",onClick:h,className:"my-2 mr-2 inline-flex h-full items-center justify-center rounded-sm border border-slate-300 border-transparent bg-accent py-1 px-2 text-xs font-semibold text-text-on-accent shadow-xs hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-focus-ring dark:focus:ring-focus-ring focus:ring-offset-2",children:[(0,s.jsx)("span",{className:"mr-1",children:(0,s.jsx)(j.PlusIcon,{className:"inline-block h-3 w-3 text-white"})}),o({id:"mark_as_delivered",defaultMessage:"Mark as delivered"})]})},t.value))})]})]})};var D=e.i(64710),A=e.i(49740),$=e.i(91788);let R=$.forwardRef(function({title:e,titleId:s,...t},a){return $.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:a,"aria-labelledby":s},t),e?$.createElement("title",{id:s},e):null,$.createElement("path",{d:"M2.879 7.121A3 3 0 0 0 7.5 6.66a2.997 2.997 0 0 0 2.5 1.34 2.997 2.997 0 0 0 2.5-1.34 3 3 0 1 0 4.622-3.78l-.293-.293A2 2 0 0 0 15.415 2H4.585a2 2 0 0 0-1.414.586l-.292.292a3 3 0 0 0 0 4.243ZM3 9.032a4.507 4.507 0 0 0 4.5-.29A4.48 4.48 0 0 0 10 9.5a4.48 4.48 0 0 0 2.5-.758 4.507 4.507 0 0 0 4.5.29V16.5h.25a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75v-3.5a.75.75 0 0 0-.75-.75h-2.5a.75.75 0 0 0-.75.75v3.5a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1 0-1.5H3V9.032Z"}))}),S=({order:e})=>{let{formatMessage:t}=(0,r.useIntl)(),a=e?.delivery,l=a?.provider?.type==="PICKUP",d=a?.address||a?.activePickUpLocation?.address||{},i=a?.activePickUpLocation?.name;return(0,s.jsxs)("section",{"aria-labelledby":"addresses-heading",className:"lg:grid lg:grid-cols-2 flex flex-col gap-8",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,s.jsx)(D.CreditCardIcon,{className:"h-5 w-5"}),t({id:"billing_address",defaultMessage:"Billing address"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"block",children:e?.billingAddress?.firstName&&e?.billingAddress?.lastName?`${e.billingAddress.firstName} ${e.billingAddress.lastName}`:e?.billingAddress?.firstName||e?.billingAddress?.lastName||""}),(0,s.jsx)("span",{className:"block",children:e?.billingAddress?.addressLine}),e?.billingAddress?.addressLine2&&(0,s.jsx)("span",{className:"block",children:e.billingAddress.addressLine2}),(0,s.jsx)("span",{children:e?.billingAddress?.postalCode})," ",(0,s.jsx)("span",{children:e?.billingAddress?.city}),(0,s.jsx)("span",{className:"block",children:e?.country?.name&&(0,s.jsxs)(s.Fragment,{children:[e.country.name," ",(0,s.jsx)("span",{className:"inline-block grayscale hover:grayscale-0 transition-all text-xl",children:e.country.flagEmoji})]})})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-2 text-xl dark:text-slate-400 flex items-center gap-2",children:[(0,s.jsx)(A.TruckIcon,{className:"h-5 w-5"}),t({id:"delivery_details",defaultMessage:"Delivery details"})]}),(0,s.jsxs)("div",{children:[l?(0,s.jsxs)("div",{className:"mb-1 flex items-center gap-1",children:[(0,s.jsx)(R,{className:"h-5 w-5 text-gray-500"}),(0,s.jsx)("span",{className:"font-semibold",children:i||t({id:"pickup_location",defaultMessage:"Pickup Location"})})]}):null,(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"block",children:d?.firstName&&d?.lastName?`${d.firstName} ${d.lastName}`:d?.firstName||d?.lastName||""}),d?.company&&(0,s.jsx)("span",{className:"block",children:d.company}),(0,s.jsx)("span",{className:"block",children:d?.addressLine}),d?.addressLine2&&(0,s.jsx)("span",{className:"block",children:d.addressLine2}),(0,s.jsx)("span",{children:d?.postalCode})," ",(0,s.jsx)("span",{children:d?.city}),(0,s.jsxs)("span",{className:"block text-gray-500 text-sm",children:[d?.regionCode," — ",d?.countryCode]})]})]})]})]})};var F=e.i(8918),L=e.i(42469),q=e.i(2194);let U={SYSTEM:"teal",USER:"indigo"},V=({discounts:e})=>{let{formatMessage:t}=(0,r.useIntl)(),{formatPrice:a}=(0,f.useFormatPrice)();return(0,s.jsxs)("div",{className:"flex flex-auto flex-col",children:[(0,s.jsx)("h2",{className:"text-2xl",children:t({id:"discount_information",defaultMessage:"Discounts"})}),(0,s.jsx)("div",{className:"mt-2",children:e?.length?(0,s.jsxs)(F.default,{className:"min-w-full ",children:[(e||[])?.map(e=>(0,s.jsxs)(F.default.Row,{header:!0,children:[(0,s.jsx)(F.default.Cell,{children:t({id:"code",defaultMessage:"Code"})}),(0,s.jsx)(F.default.Cell,{children:t({id:"discount_amount",defaultMessage:"Discount Amount"})})]},e._id)),(e||[])?.map(e=>(0,s.jsx)($.Fragment,{children:(0,s.jsxs)(F.default.Row,{children:[(0,s.jsx)(F.default.Cell,{children:(0,s.jsxs)("div",{className:"flex items-center text-sm text-slate-900",children:[e.code?e.code:"n/a",(0,s.jsx)("span",{className:"mr-2 inline-block rounded-full py-1 text-xs font-semibold leading-5",children:(0,s.jsx)(L.default,{text:e.trigger,color:U[e.trigger],square:!0})})]})}),(0,s.jsx)(F.default.Cell,{children:(0,s.jsx)("div",{className:"flex items-center text-sm text-slate-900",children:a(e.total)})})]})},e._id))]}):(0,s.jsx)(q.default,{message:t({id:"discounts",defaultMessage:"Discounts"})})})]})},B=n.gql`
|
|
272
|
-
mutation ConfirmOrder($orderId: ID!) {
|
|
273
|
-
confirmOrder(orderId: $orderId) {
|
|
274
|
-
_id
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
`;var G=e.i(66885),Z=e.i(57986);let Q=({order:e})=>{let{formatMessage:t,locale:a}=(0,r.useIntl)(),{formatDateTime:l}=(0,I.default)();if(!e)return null;let d=e?.status==="OPEN"||!e?.orderNumber;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between items-baseline flex-wrap mb-10",children:[(0,s.jsx)("div",{className:"flex items-center justify-between gap-5 flex-wrap",children:(0,s.jsx)("h2",{className:"text-2xl font-medium text-text-primary sm:truncate sm:text-3xl lg:text-4xl xl:text-5xl",children:d?(0,s.jsxs)(s.Fragment,{children:[t({id:"cart",defaultMessage:"Cart"}),` ${e._id}`]}):(0,s.jsxs)(s.Fragment,{children:[t({id:"order_number",defaultMessage:"Order #"}),e?.orderNumber?`${e.orderNumber}`:""]})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mr-1 text-text-muted",children:t(d?{id:"cart_created",defaultMessage:"Warenkorb erstellt"}:{id:"order_placed",defaultMessage:"Order placed"})}),d?l(e.created):e?.ordered?l(e.ordered):null]})]}),!d&&(0,s.jsx)(Z.default,{user:e?.user,contact:e?.contact}),d&&e?.user&&(0,s.jsx)("div",{className:"mt-5",children:(0,s.jsx)("span",{className:"text-lg text-text-secondary",children:e.user.profile?.displayName||(e.user.profile?.address?.firstName&&e.user.profile?.address?.lastName?`${e.user.profile.address.firstName} ${e.user.profile.address.lastName}`:e.user.username)||"Guest"})})]})},H=n.gql`
|
|
278
|
-
mutation RejectOrder($orderId: ID!) {
|
|
279
|
-
rejectOrder(orderId: $orderId) {
|
|
280
|
-
_id
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
`;var J=e.i(15971),K=e.i(70475);let W=({order:e})=>{let{formatMessage:t}=(0,r.useIntl)(),{setModal:d}=(0,b.default)(),{confirmOrder:i}=(()=>{let[e]=(0,N.useMutation)(B);return{confirmOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{rejectOrder:n}=(()=>{let[e]=(0,N.useMutation)(H);return{rejectOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),{hasRole:c}=(0,C.default)(),{statusTypes:o}=(0,w.default)("OrderStatus");if(!e)return null;let u=e?.status==="OPEN"||!e?.orderNumber,m=async()=>{await d((0,s.jsx)(y.default,{buttonText:t({id:"confirm_order_alert_button",defaultMessage:"Confirm"}),headerText:t({id:"confirm_order_alert_header",defaultMessage:"Confirm order?"}),message:t({id:"confirm_order_alert_message",defaultMessage:"This will mark order as confirmed"}),onOkClick:async()=>{d(""),await i({orderId:e._id}),l.toast.success(t({id:"order_confirmed_success",defaultMessage:"Order confirmed successfully"}))}}))},x=async()=>{await d((0,s.jsx)(J.default,{onCancelClick:async()=>d(""),okText:t({id:"reject_order_alert_button",defaultMessage:"Reject"}),headerText:t({id:"reject_order_alert_header",defaultMessage:"Reject order?"}),onOkClick:async()=>{d(""),await n({orderId:e._id}),l.toast.success(t({id:"order_reject_success",defaultMessage:"Order rejected successfully"}))}}))},f={OPEN:{id:1,content:"created",visible:!0},PENDING:{id:2,content:"ordered",Component:e?.status==="PENDING"&&(0,s.jsxs)(s.Fragment,{children:[c(a.IRoleAction.MarkOrderConfirmed)&&(0,s.jsx)("button",{id:"confirm_order",onClick:m,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-accent bg-accent px-2 py-1 text-sm font-medium text-text-on-accent hover:bg-accent-hover dark:focus:border-slate-400 focus:outline-hidden focus:ring-0 focus:ring-focus-ring",children:t({id:"confirm_order",defaultMessage:"Confirm order"})}),c(a.IRoleAction.MarkOrderRejected)&&(0,s.jsx)("button",{id:"reject_order",onClick:x,type:"button",className:"bg-white-300 relative -ml-px inline-flex items-center space-x-2 rounded-md border border-rose-500 bg-rose-500 px-2 py-1 text-sm font-medium text-white hover:bg-rose-700 focus:border-rose-400 focus:outline-hidden focus:ring-0 focus:ring-rose-400",children:t({id:"reject_order",defaultMessage:"Reject order"})})]}),visible:!0},REJECTED:{id:3,content:"rejected",visible:e?.status==="REJECTED"},CONFIRMED:{id:4,content:"confirmed",visible:e?.status!=="REJECTED"},FULFILLED:{id:5,content:"fulfilled",visible:e?.status!=="REJECTED"}};return(0,s.jsxs)("div",{className:"space-y-4 lg:gap-10 dark:text-slate-200",children:[(0,s.jsx)("div",{children:(0,s.jsx)(Q,{order:e})}),!u&&(0,s.jsx)("div",{className:"mt-10",children:(0,s.jsx)(S,{order:e})}),(0,s.jsxs)("div",{className:"mt-20 lg:grid lg:grid-cols-2 lg:gap-10",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"mb-6 text-xl dark:text-slate-400",children:t({id:"items_purchased",defaultMessage:"Items purchased"})}),(0,s.jsx)("div",{className:"flex gap-5 flex-col",children:e?.items.map(e=>(0,s.jsx)(g,{item:e},e._id))})]}),(0,s.jsx)("div",{children:(0,s.jsx)(v,{order:e})})]}),(0,s.jsx)("div",{className:"mt-20",children:(0,s.jsx)(G.default,{data:e,statusTypes:o,timeline:f})}),!u&&(0,s.jsxs)("div",{className:"mt-10 lg:mt-30 lg:grid lg:grid-cols-2 xl:grid-cols-3 lg:gap-10",children:[(0,s.jsx)(P,{order:e}),(0,s.jsx)(E,{order:e}),(0,s.jsx)(V,{discounts:e?.discounts})]}),(0,s.jsx)(K.default,{slot:"order:tabs",entityId:e._id,children:(t,a,r)=>(0,s.jsx)("div",{className:"mt-10",children:(0,s.jsx)(t,{order:e,entityId:e._id})})})]})},X=n.gql`
|
|
284
|
-
mutation RemoveOrder($orderId: ID!) {
|
|
285
|
-
removeOrder(orderId: $orderId) {
|
|
286
|
-
_id
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
`;var Y=e.i(21623),z=e.i(24608);e.s(["default",0,({orderId:e})=>{let{formatMessage:u}=(0,r.useIntl)(),{setModal:x}=(0,b.default)(),{removeOrder:f}=(()=>{let[e]=(0,N.useMutation)(X);return{removeOrder:async({orderId:s})=>e({variables:{orderId:s},refetchQueries:["Order"]})}})(),h=(0,t.useRouter)(),{hasRole:p}=(0,C.default)(),{order:g,loading:v}=(({orderId:e=null})=>{let{customProperties:s}=(0,o.default)(),{data:t,loading:a,error:r}=(0,c.useQuery)(((e="")=>n.gql`
|
|
290
|
-
query Order($orderId: ID!) {
|
|
291
|
-
order(orderId: $orderId) {
|
|
292
|
-
...OrderDetailFragment
|
|
293
|
-
${e}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
${m}
|
|
297
|
-
`)(s?.Order),{skip:!e,variables:{orderId:e}});return{order:t?.order,loading:a,error:r}})({orderId:e}),j=async()=>{await x((0,s.jsx)(J.default,{message:u({id:"delete_order_confirmation",defaultMessage:"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order? "}),onCancelClick:async()=>x(""),onOkClick:async()=>{x(""),await f({orderId:e}),l.toast.success(u({id:"order_deleted",defaultMessage:"Order deleted successfully"})),h.push("/orders")},okText:u({id:"delete_order",defaultMessage:"Delete order"})}))};return(0,s.jsxs)("div",{className:"mt-5 max-w-full",children:[(0,s.jsx)(d.default,{currentPageTitle:g?.orderNumber?`#${g?.orderNumber}`:""}),(0,s.jsx)("div",{className:"items-center flex min-w-full justify-end gap-3 flex-wrap",children:g&&"OPEN"===g.status&&p(a.IRoleAction.UpdateOrder)?(0,s.jsx)(Y.default,{variant:"danger",icon:(0,s.jsx)(z.XMarkIcon,{className:"h-5 w-5"}),text:"Delete",onClick:j}):null}),v?(0,s.jsx)(i.default,{}):(0,s.jsx)(W,{order:g})]})}],71774)},49740,e=>{"use strict";var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){return s.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:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{d:"M6.5 3c-1.051 0-2.093.04-3.125.117A1.49 1.49 0 0 0 2 4.607V10.5h9V4.606c0-.771-.59-1.43-1.375-1.489A41.568 41.568 0 0 0 6.5 3ZM2 12v2.5A1.5 1.5 0 0 0 3.5 16h.041a3 3 0 0 1 5.918 0h.791a.75.75 0 0 0 .75-.75V12H2Z"}),s.createElement("path",{d:"M6.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM13.25 5a.75.75 0 0 0-.75.75v8.514a3.001 3.001 0 0 1 4.893 1.44c.37-.275.61-.719.595-1.227a24.905 24.905 0 0 0-1.784-8.549A1.486 1.486 0 0 0 14.823 5H13.25ZM14.5 18a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"}))});e.s(["TruckIcon",0,t],49740)},89974,e=>{"use strict";var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){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:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["default",0,t])},15361,e=>{"use strict";var s=e.i(89974);e.s(["CheckCircleIcon",()=>s.default])},10833,e=>{"use strict";var s=e.i(91788);let t=s.forwardRef(function({title:e,titleId:t,...a},r){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:r,"aria-labelledby":t},a),e?s.createElement("title",{id:t},e):null,s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});e.s(["default",0,t])}]);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
__turbopack_load_page_chunks__("/warehousing-provider/WarehousingProviderDetailPage", [
|
|
2
|
-
"static/chunks/2v4k4vpb2id7m.js",
|
|
3
|
-
"static/chunks/3qaiz-jwi7q2x.js",
|
|
4
|
-
"static/chunks/1bww_2og01jxh.js",
|
|
5
|
-
"static/chunks/1rtv3c_klo0jk.js",
|
|
6
|
-
"static/chunks/3vjgbl76cgrmt.js",
|
|
7
|
-
"static/chunks/2e0k9dt1emjfm.js",
|
|
8
|
-
"static/chunks/0jeddko6bac8h.js",
|
|
9
|
-
"static/chunks/3om1fkw-lrmng.js",
|
|
10
|
-
"static/chunks/252jebodi67kg.js",
|
|
11
|
-
"static/chunks/41e2wlkp9_pvk.js",
|
|
12
|
-
"static/chunks/38xse6_r51yqp.js",
|
|
13
|
-
"static/chunks/0rqjr_lmrk4pz.js",
|
|
14
|
-
"static/chunks/33emlry70k-lv.js",
|
|
15
|
-
"static/chunks/turbopack-18tezl3vagvil.js"
|
|
16
|
-
])
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,25093,e=>{"use strict";var t=e.i(91398),r=e.i(91788);e.s(["default",0,({value:e,duration:a=300})=>{let[l,s]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t,r;if(0===e)return void s(0);let l=i=>{t||(t=i);let o=Math.min((i-t)/a,1);s(Math.round((1-Math.pow(1-o,3))*e)),o<1&&(r=requestAnimationFrame(l))};return r=requestAnimationFrame(l),()=>{r&&cancelAnimationFrame(r)}},[e,a]),(0,t.jsx)("span",{children:l})}])},82078,e=>{"use strict";var t=e.i(91398),r=e.i(44112);e.s(["default",0,({title:e=null,description:a})=>(0,t.jsx)("div",{className:"mb-6 p-4 bg-blue-50 dark:bg-blue-900/20 border border-blue-200 dark:border-blue-800 rounded-lg",children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(r.InformationCircleIcon,{className:"w-5 h-5 text-blue-600 dark:text-blue-400 mt-0.5 flex-shrink-0"}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("h3",{className:"text-sm font-semibold text-blue-900 dark:text-blue-100 mb-2",children:e}),(0,t.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200 leading-relaxed",children:a})]})]})})])},2194,e=>{"use strict";var t=e.i(91398),r=e.i(92802),r=r,a=e.i(56206),l=e.i(69322);e.s(["default",0,({message:e,className:s="",Icon:i=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-border-default 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.default,{className:"h-6 w-6"})}),(0,t.jsx)(l.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}})]})})],2194)},76038,e=>{"use strict";var t=e.i(91398),r=e.i(91788),a=e.i(56206),l=e.i(69322),s=e.i(42469);let i=e=>e?Array.isArray(e)?e:e.toString()?.split(",")?.map(e=>e.trim()):[];e.s(["default",0,({tagList:e,onChange:o,disabled:n=!1,name:u="tag-input",id:d="tag-input",placeholder:c="",selectOptions:f=[],className:m="",buttonText:p="",showTagsInline:g=!0})=>{let{formatMessage:b}=(0,l.useIntl)(),[h,x]=(0,r.useState)(i(e)),[v,y]=(0,r.useState)(""),[_,w]=(0,r.useState)(!1),M=(0,r.useRef)(null);(0,r.useEffect)(()=>{x(i(e))},[e]),(0,r.useEffect)(()=>{let e=e=>{M.current&&!M.current.contains(e.target)&&w(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let j=(0,r.useCallback)(e=>{let t=e.trim(),r=f.find(e=>e.value.toLowerCase()===t.toLowerCase()),a=r?.value||t;if(!h.some(e=>e.toLowerCase()===a.toLowerCase())&&a){let e=[...h,a];x(e),o(e),y(""),w(!1)}},[h,o,f]),F=(0,r.useMemo)(()=>{let e=f.filter(e=>!h.some(t=>t.toLowerCase()===e.value.toLowerCase()));return v?e.filter(e=>e.label.toLowerCase().includes(v.toLowerCase())):e},[f,h,v]),C=v.trim().toLowerCase(),S=!!(C&&!h.some(e=>e.toLowerCase()===C)&&!f.some(e=>e.value.toLowerCase()===C)),k=(0,t.jsxs)("div",{className:"relative",ref:M,children:[(0,t.jsx)("input",{id:d,name:u,type:"text",role:"combobox","aria-expanded":_,"aria-autocomplete":"list",disabled:n,className:(0,a.default)("w-full rounded-md border border-border-default bg-surface-input py-2.5 pl-4 pr-4 text-sm text-text-primary placeholder:text-text-muted shadow-xs focus:outline-hidden focus:ring-2 focus:ring-focus-ring",m),placeholder:c,value:v,onChange:e=>{y(e.target.value),w(!0)},onFocus:()=>w(!0),onKeyDown:e=>{"Enter"===e.key&&v.trim()&&(e.preventDefault(),j(F[0]?.value||v.trim()))}}),_&&(S||F.length>0)&&(0,t.jsxs)("ul",{role:"listbox",className:"absolute z-9999999 mt-1 max-h-60 w-full overflow-auto rounded-md bg-surface border border-border-subtle py-1 text-sm shadow-lg",children:[F.map(e=>(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:t=>{t.preventDefault(),j(e.value)},children:e.label},e.value)),S&&(0,t.jsx)("li",{role:"option","aria-selected":!1,className:"cursor-pointer select-none border-t border-border-subtle py-2 px-4 text-text-primary hover:bg-surface-raised",onMouseDown:e=>{e.preventDefault(),j(v.trim())},children:p||b({id:"add_new_tag",defaultMessage:'Add "{inputValue}"'},{inputValue:v.trim()})})]})]});return g?(0,t.jsxs)(t.Fragment,{children:[k,(0,t.jsx)("div",{className:(0,a.default)("ml-4 flex items-center flex-wrap gap-5",h.length>0&&"mt-1"),children:h?.map(e=>(0,t.jsx)(s.default,{text:e,color:"slate",onClick:()=>(e=>{let t=h.indexOf(e);if(-1!==t){let e=[...h];e.splice(t,1),o(e),x(e)}})(e)},e))})]}):k}])},6634,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(3828),l=e.i(83147);e.s(["default",0,({toggleText:e="",toggleKey:s=null,onToggle:i=null,active:o=!1,className:n="",disabled:u=!1,...d})=>{let c=(0,a.useRouter)(),f=c?.query?.[s]==="true"||o;return(0,t.jsxs)("div",{className:(0,r.default)("",n),children:[(0,t.jsxs)("button",{id:s,disabled:u,type:"button",className:(0,r.default)("relative inline-flex h-3.5 w-9 shrink-0 cursor-pointer rounded-full border-1 border-transparent transition-all duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-focus-ring focus:ring-offset-2",{"bg-slate-200 dark:bg-slate-700":!f,"bg-emerald-500 dark:bg-emerald-600 shadow-sm":f}),role:"switch",onClick:i||(()=>{let{skip:e,...t}=c.query;c.push({query:(0,l.normalizeQuery)(t,!f,s)})}),"aria-checked":f?"true":"false",...d,children:[(0,t.jsx)("span",{className:"sr-only",children:e}),(0,t.jsxs)("span",{className:(0,r.default)("ml-0.5 pointer-events-none relative inline-block h-3 w-3 transform rounded-full bg-white shadow-sm ring-0 transition-all duration-200 ease-in-out",{"translate-x-5 shadow-md":f,"translate-x-0":!f}),children:[(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-0 duration-100 ease-out":f,"opacity-100 duration-200 ease-in":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4 8l2-2m0 0l2-2M6 6L4 4m2 2l2 2",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("span",{className:(0,r.default)("absolute inset-0 flex h-full w-full items-center justify-center transition-opacity",{"opacity-100 duration-200 ease-in":f,"opacity-0 duration-100 ease-out":!f}),"aria-hidden":"true",children:(0,t.jsx)("svg",{className:"h-3 w-3 text-emerald-500",fill:"currentColor",viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M3.707 5.293a1 1 0 00-1.414 1.414l1.414-1.414zM5 8l-.707.707a1 1 0 001.414 0L5 8zm4.707-3.293a1 1 0 00-1.414-1.414l1.414 1.414zm-7.414 2l2 2 1.414-1.414-2-2-1.414 1.414zm3.414 2l4-4-1.414-1.414-4 4 1.414 1.414z"})})})]})]}),(0,t.jsx)("span",{className:"ml-3",id:"annual-billing-label",children:(0,t.jsx)("span",{className:"text-sm font-medium text-text-primary",children:e})})]})}])},54879,e=>{"use strict";var t=e.i(91398),r=e.i(56206);e.s(["default",0,({children:e,className:a,error:l,disabled:s,required:i,name:o,label:n,hideLabel:u,labelClassName:d})=>(0,t.jsxs)("div",{className:(0,r.default)("container",{"is-invalid":!!l,disabled:s,required:i},a),children:[(0,t.jsx)("label",{"aria-label":n,htmlFor:o,className:(0,r.default)("mb-2 block text-left text-sm font-light text-text-secondary",{"mt-1 rounded-sm border border-rose-100 dark:border-rose-800 bg-rose-50 dark:bg-rose-900/20 p-2 pl-4 text-rose-700 dark:text-rose-400":!!l,"sr-only":u},d),children:l||n}),e]})])},21128,e=>{"use strict";var t=e.i(91398),r=e.i(56206),a=e.i(58021),l=e.i(61898);e.s(["default",0,({label:e,disabled:s=!1,className:i="",hidden:o=!1,...n})=>{let{formState:u}=(0,a.useFormContext)(),{...d}=n,c=Object.keys(u.errors).length>0&&Object.values(u.errors).some(e=>!!e),{disabled:f}=(0,l.default)(),m=s||f||u.isSubmitting||c,p=u.isSubmitting&&!c,g=(s||f||c)&&!u.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-focus-ring",i,{"bg-rose-50 dark:bg-slate-800 dark:text-rose-300 cursor-not-allowed border-rose-300 dark:border-rose-600 text-rose-900":g,"bg-slate-600 dark:bg-slate-700 text-white cursor-not-allowed border-slate-400 dark:border-slate-600":p,"bg-accent text-text-on-accent hover:bg-accent-hover focus:outline-hidden focus:ring-2 focus:ring-offset-2 border-transparent":!m,hidden:o}),"aria-label":e,type:"submit",value:e,disabled:m,...d})}])},73319,e=>{"use strict";let t=e=>"[object Object]"===Object.prototype.toString.call(e);e.s(["extractQuery",0,e=>decodeURIComponent(e||[])?.split(",")?.filter(Boolean),"isObject",0,t,"isTruthy",0,e=>!(!e||null==e||t(e)&&!Object.keys(e).length||Array.isArray(e)&&!e.length)])},69211,e=>{"use strict";var t=e.i(91398),r=e.i(58021),a=e.i(60170);e.s(["default",0,({form:e,children:l,className:s="",...i})=>(0,t.jsx)(a.default.Provider,{value:e,children:(0,t.jsx)(r.FormProvider,{...e.rhf,children:(0,t.jsx)("form",{onReset:()=>e.api.handleReset(),onSubmit:e.api.handleSubmit,method:"POST",className:s,...i,children:l})})})])},60741,e=>{"use strict";var t=e.i(91788),r=e.i(69322),a=e.i(58021),l=e.i(82226),s=e.i(61898);e.s(["default",0,e=>{let i=(0,r.useIntl)(),{rhf:o,...n}=(0,s.default)(),{name:u,required:d,errorMessage:c,disabled:f=n.disabled||o?.formState?.isSubmitting,label:m=i.formatMessage({id:u,defaultMessage:"default_input_name",description:"DO not translate Skip this as it's the default given label when a component is not provided explicit label"}),validators:p=[]}=e,g=[...p,d&&l.validateRequired].filter(Boolean),b=e=>g.reduce((t,{isValid:r,intlMessageDescriptor:a,intlMessageValues:l})=>t||r(e)?t:c||i.formatMessage(a,{label:m,...l}),""),h=(0,t.useRef)(b);h.current=b;let{field:x,fieldState:v,formState:y}=(0,a.useController)({name:u,control:o?.control,rules:{validate:e=>h.current(e)||!0}}),_=(v.isTouched||y.isSubmitted)&&v.error?.message;return{...e,name:u,error:_,label:m,disabled:f,required:d,onChange:t=>{if(e.onChange&&e.onChange(t),"number"===e.type){let e=t?.target?.value,r=""===e||null==e?null:Number(e);x.onChange(r)}else x.onChange(t)},onBlur:x.onBlur,value:null==x.value?"":x.value,setValue:(e,t)=>{o?.setValue(u,e,{shouldDirty:!0,shouldValidate:t??!1})},setError:e=>{e?o?.setError(u,{type:"manual",message:e}):o?.clearErrors(u)},setTouched:e=>{e&&o?.trigger(u)}}}])},98949,e=>{"use strict";var t=e.i(91788),r=e.i(58021),a=e.i(69322),l=e.i(28401),s=e.i(73319);let i=e=>""===e||"string"==typeof e&&e?.trim()===""?null:"string"==typeof e&&e.length?e.trim():Array.isArray(e)&&e?.length&&"string"==typeof e[0]?e.map(e=>i(e)):Array.isArray(e)&&e?.length&&(0,s.isObject)(e[0])?e.map(e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[e,i(t)]))):e,o=e=>e&&"object"==typeof e?"string"==typeof e.message&&e.message?e.message:Array.isArray(e)?e.map(e=>o(e)):Object.fromEntries(Object.entries(e).filter(([e])=>"ref"!==e).map(([e,t])=>[e,o(t)])):e;e.s(["default",0,({submit:e,getSubmitErrorMessage:s=()=>"",onSubmitSuccess:n=()=>!0,initialValues:u,initialErrors:d,initialTouched:c,successMessage:f,enableReinitialize:m,validate:p,disabled:g=!1})=>{let b=(0,a.useIntl)(),[h,x]=(0,t.useState)(""),v=(0,r.useForm)({mode:"onTouched",defaultValues:u,values:m?u:void 0,errors:d?Object.fromEntries(Object.entries(d).map(([e,t])=>[e,{type:"manual",message:t}])):void 0}),y=(0,t.useCallback)(e=>{let t=e?.errors?.[0];return b.formatMessage({id:"error_server",defaultMessage:"{details}"},{details:t?.message||""})},[b]),_=(0,t.useCallback)(async t=>{let r=!0;try{let a=await e(Object.fromEntries(Object.entries(t).map(([e,t])=>[e,i(t)]))),o=("boolean"==typeof a?a:a?.success)??!a?.error;if(o)f&&l.toast.success(f),await n(o,a?.data||t);else{let e="boolean"==typeof a?!a:a?.error;Array.isArray(e)?e.forEach(e=>{r=!1,x(s(e)||y(e))}):(r=!1,x(s(e)||y(e)))}}catch(e){r=!1,x(s(e)||y(e))}r&&x("")},[e,f,n,s,y]);return{submitError:h,api:(0,t.useMemo)(()=>({setFieldError:(e,t)=>{v.setError(e,{type:"manual",message:t})},setFieldValue:(e,t)=>{v.setValue(e,t,{shouldDirty:!0,shouldTouch:!0})},setValues:e=>{v.reset(e,{keepDirtyValues:!1,keepErrors:!1})},get values(){return v.getValues()},get isValid(){return v.formState.isValid},get isSubmitting(){return v.formState.isSubmitting},handleSubmit:v.handleSubmit(_),handleReset:()=>{v.reset()},resetForm:e=>{v.reset(e||u)},submitForm:()=>{v.handleSubmit(_)()},getFieldMeta:e=>{let t=v.getFieldState(e,v.formState);return{error:t.error?.message,touched:t.isTouched}},get initialValues(){return u},get errors(){return o(v.formState.errors)}}),[v,_,u]),rhf:v,setSubmitError:x,disabled:g}}],98949)},61898,e=>{"use strict";var t=e.i(91788),r=e.i(60170);e.s(["default",0,()=>(0,t.useContext)(r.default)])},60170,e=>{"use strict";var t=e.i(91788);let r=(0,e.i(98837).default)("FormContext",t.default.createContext({submitError:"",rhf:null,api:null,setSubmitError:()=>{},disabled:!1}));e.s(["default",0,r])},82226,e=>{"use strict";var t=e.i(73663),r=e.i(12051),a=e.i(35113),l=e.i(9356),s=e.i(49543);e.i(69322);let i=["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GU","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IM","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],o=["ab","aa","af","ak","sq","am","ar","an","hy","as","av","ae","ay","az","bm","ba","eu","be","bn","bh","bi","bs","br","bg","my","ca","ch","ce","ny","zh","cv","kw","co","cr","hr","cs","da","dv","nl","en","eo","et","ee","fo","fj","fi","fr","ff","gl","ka","de","el","gn","gu","ht","ha","he","hz","hi","ho","hu","ia","id","ie","ga","ig","ik","io","is","it","iu","ja","jv","kl","kn","kr","ks","kk","km","ki","rw","ky","kv","kg","ko","ku","kj","la","lb","lg","li","ln","lo","lt","lu","lv","gv","mk","mg","ms","ml","mt","mi","mr","mh","mn","na","nv","nb","nd","ne","ng","nn","no","ii","nr","oc","oj","cu","om","or","os","pa","pi","fa","pl","ps","pt","qu","rm","rn","ro","ru","sa","sc","sd","se","sm","sg","sr","gd","sn","si","sk","sl","so","st","es","su","sw","ss","sv","ta","te","tg","th","ti","bo","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","cy","wo","fy","xh","yi","yo","za"];e.s(["isContractAddress",0,(e=!1)=>({isValid:t=>!e&&!t||/^(0x)?[a-z0-9]{40}$/i.test(t),intlMessageDescriptor:{id:"error_contract_address",defaultMessage:"Invalid contract address"}}),"validateBirthdate",0,{isValid:e=>{if(!e)return!0;let t=new Date(e);if(!(0,l.isValid)(t))return!1;let r=(0,s.startOfDay)(new Date);return!(+(0,a.toDate)(t)>+(0,a.toDate)(r))},intlMessageDescriptor:{id:"error_birthdate_in_future",defaultMessage:"{label} cannot be in the future"}},"validateCountry",0,()=>({isValid:e=>i.includes(e.toUpperCase()),intlMessageDescriptor:{id:"error_country_code",defaultMessage:"Invalid country code"}}),"validateDate",0,{isValid:e=>!e||(0,l.isValid)(new Date(e)),intlMessageDescriptor:{id:"error_invalid_date",defaultMessage:"{label} is not a valid date"}},"validateEmail",0,{isValid:e=>(0,r.default)(e||""),intlMessageDescriptor:{id:"error_email",defaultMessage:"{label} must be a valid email address"}},"validateInteger",0,()=>({isValid:e=>null==e||""===e||!Number.isNaN(e)&&Number.isInteger(Number(e)),intlMessageDescriptor:{id:"error_number_not_int",defaultMessage:"Invalid value please provide integer value"}}),"validateLanguage",0,()=>({isValid:e=>o.includes(e?.toLowerCase()),intlMessageDescriptor:{id:"error_language_code",defaultMessage:"Invalid language code"}}),"validateMaxLength",0,e=>({isValid:r=>(0,t.default)(r||"",{max:e}),intlMessageDescriptor:{id:"error_max_length"},intlMessageValues:{maxLength:e.toString()}}),"validateProductCommerce",0,(e,t)=>({isValid:()=>{let r="function"==typeof t?t():t;if(!r?.length||r?.length===1)return!0;let a=r[e];return r.filter((t,r)=>r!==e).every(({minQuantity:e,countryCode:t,currencyCode:r})=>e!==a?.minQuantity||t!==a?.countryCode||r!==a?.currencyCode)},intlMessageDescriptor:{id:"error_same_product_prices",defaultMessage:"{label} can not be equal for a price with the same country and currency"}}),"validateProductCommerceOneZero",0,e=>({isValid:()=>{let t="function"==typeof e?e():e;if(!t?.length)return!0;let r=e=>null===e||""===e||void 0===e||0===Number(e);return(1!==t.length||!!r(t[0].minQuantity))&&t.filter(({minQuantity:e})=>r(e))?.length===1},intlMessageDescriptor:{id:"error_commerce_quantity_null_required",defaultMessage:"{label} should have one price with min quantity of 0 or empty"}}),"validateRequired",0,{isValid:e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||(Array.isArray(e)?e.length>0:!!e),intlMessageDescriptor:{id:"error_required",defaultMessage:"{label} is a required field"}},"validateRequiredTag",0,e=>({isValid:t=>!e||t.length>0,intlMessageDescriptor:{id:"error_tag_required",defaultMessage:"{label} you must provide at least one tag"}})],82226)},88566,25575,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},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,r],88566);let a=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},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,a],25575)},39775,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m11.25 11.25.041-.02a.75.75 0 0 1 1.063.852l-.708 2.836a.75.75 0 0 0 1.063.853l.041-.021M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9-3.75h.008v.008H12V8.25Z"}))});e.s(["default",0,r])},44112,e=>{"use strict";var t=e.i(39775);e.s(["InformationCircleIcon",()=>t.default])},92802,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.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"}))});e.s(["default",0,r])},30999,e=>{"use strict";var t=e.i(91788);let r=t.forwardRef(function({title:e,titleId:r,...a},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},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["default",0,r])},24608,e=>{"use strict";var t=e.i(30999);e.s(["XMarkIcon",()=>t.default])},78262,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e){if(null==e)throw TypeError("Expected a string but received a ".concat(e));if("String"!==e.constructor.name)throw TypeError("Expected a string but received a ".concat(e.constructor.name))},t.exports=r.default,t.exports.default=r.default},73663,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,l.default)(e),"object"===s(t)?(r=t.min||0,a=t.max):(r=arguments[1]||0,a=arguments[2]);var r,a,i=e.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g)||[],o=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],n=e.length-i.length-o.length,u=n>=r&&(void 0===a||n<=a);return u&&Array.isArray(null==t?void 0:t.discreteLengths)?t.discreteLengths.some(function(e){return e===n}):u};var a,l=(a=e.r(78262))&&a.__esModule?a:{default:a};function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},80930,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){for(var r=0;r<t.length;r++){var a=t[r];if(e===a||"[object RegExp]"===Object.prototype.toString.call(a)&&a.test(e))return!0}return!1},t.exports=r.default,t.exports.default=r.default},60054,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,l.default)(e),"object"===s(t)?(r=t.min||0,a=t.max):(r=arguments[1],a=arguments[2]);var r,a,i=encodeURI(e).split(/%..|./).length-1;return i>=r&&(void 0===a||i<=a)};var a,l=(a=e.r(78262))&&a.__esModule?a:{default:a};function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.exports=r.default,t.exports.default=r.default},34058,(e,t,r)=>{"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var r in("object"!==a(e)||null===e)&&(e={}),t)void 0===e[r]&&(e[r]=t[r]);return e},t.exports=r.default,t.exports.default=r.default},96184,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){(0,a.default)(e),(t=(0,l.default)(t,i)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1)),!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var r=e.split("."),s=r[r.length-1];return!(t.require_tld&&(r.length<2||!t.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(s)||/\s/.test(s)))&&!(!t.allow_numeric_tld&&/^\d+$/.test(s))&&r.every(function(e){return!(e.length>63&&!t.ignore_max_length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})};var a=s(e.r(78262)),l=s(e.r(34058));function s(e){return e&&e.__esModule?e:{default:e}}var i={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=r.default,t.exports.default=r.default},90498,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.default)(t);var a=("object"===s(r)?r.version:arguments[1])||"";return a?"4"===a.toString()?n.test(t):"6"===a.toString()&&d.test(t):e(t,{version:4})||e(t,{version:6})};var a,l=(a=e.r(78262))&&a.__esModule?a:{default:a};function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",o="(".concat(i,"[.]){3}").concat(i),n=new RegExp("^".concat(o,"$")),u="(?:[0-9a-fA-F]{1,4})",d=RegExp("^("+"(?:".concat(u,":){7}(?:").concat(u,"|:)|")+"(?:".concat(u,":){6}(?:").concat(o,"|:").concat(u,"|:)|")+"(?:".concat(u,":){5}(?::").concat(o,"|(:").concat(u,"){1,2}|:)|")+"(?:".concat(u,":){4}(?:(:").concat(u,"){0,1}:").concat(o,"|(:").concat(u,"){1,3}|:)|")+"(?:".concat(u,":){3}(?:(:").concat(u,"){0,2}:").concat(o,"|(:").concat(u,"){1,4}|:)|")+"(?:".concat(u,":){2}(?:(:").concat(u,"){0,3}:").concat(o,"|(:").concat(u,"){1,5}|:)|")+"(?:".concat(u,":){1}(?:(:").concat(u,"){0,4}:").concat(o,"|(:").concat(u,"){1,6}|:)|")+"(?::((?::".concat(u,"){0,5}:").concat(o,"|(?::").concat(u,"){1,7}|:))")+")(%[0-9a-zA-Z.]{1,})?$");t.exports=r.default,t.exports.default=r.default},12051,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){if((0,a.default)(e),(t=(0,n.default)(t,d)).require_display_name||t.allow_display_name){var r=e.match(c);if(r){var u,h,x=r[1];if(e=e.replace(x,"").replace(/(^<|>$)/g,""),x.endsWith(" ")&&(x=x.slice(0,-1)),!(!(!(h=(u=x).replace(/^"(.+)"$/,"$1")).trim()||/[\.";<>]/.test(h)&&(h===u||h.split('"').length!==h.split('\\"').length))&&1))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var v=e.split("@"),y=v.pop(),_=y.toLowerCase();if(t.host_blacklist.length>0&&(0,l.default)(_,t.host_blacklist)||t.host_whitelist.length>0&&!(0,l.default)(_,t.host_whitelist))return!1;var w=v.join("@");if(t.domain_specific_validation&&("gmail.com"===_||"googlemail.com"===_)){var M=(w=w.toLowerCase()).split("+")[0];if(!(0,s.default)(M.replace(/\./g,""),{min:6,max:30}))return!1;for(var j=M.split("."),F=0;F<j.length;F++)if(!m.test(j[F]))return!1}if(!1===t.ignore_max_length&&(!(0,s.default)(w,{max:64})||!(0,s.default)(y,{max:254})))return!1;if(!(0,i.default)(y,{require_tld:t.require_tld,ignore_max_length:t.ignore_max_length,allow_underscores:t.allow_underscores})){if(!t.allow_ip_domain)return!1;if(!(0,o.default)(y)){if(!y.startsWith("[")||!y.endsWith("]"))return!1;var C=y.slice(1,-1);if(0===C.length||!(0,o.default)(C))return!1}}if(t.blacklisted_chars&&-1!==w.search(RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;if('"'===w[0]&&'"'===w[w.length-1])return w=w.slice(1,w.length-1),t.allow_utf8_local_part?b.test(w):p.test(w);for(var S=t.allow_utf8_local_part?g:f,k=w.split("."),E=0;E<k.length;E++)if(!S.test(k[E]))return!1;return!0};var a=u(e.r(78262)),l=u(e.r(80930)),s=u(e.r(60054)),i=u(e.r(96184)),o=u(e.r(90498)),n=u(e.r(34058));function u(e){return e&&e.__esModule?e:{default:e}}var d={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,f=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,m=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,g=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,b=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;t.exports=r.default,t.exports.default=r.default}]);
|