@myxtra/authentication-green 2.37.0 → 2.41.0-alpha.0
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/{App-tox1weLL.js → App-D6vqbbTn.js} +929 -921
- package/dist/{Categoriesbaby-DmvgH0qd.js → Categoriesbaby-DQdFbK4m.js} +1 -1
- package/dist/{Categoriesbakery-D18v2P8o.js → Categoriesbakery-D9dGGsO2.js} +1 -1
- package/dist/{Categoriesbbq-BqIbxzMt.js → Categoriesbbq-DnaZfWzI.js} +1 -1
- package/dist/{Categoriesbreakfast-CTrArZP5.js → Categoriesbreakfast-BzP3kODQ.js} +1 -1
- package/dist/{Categoriesbrik-CSR9QjwY.js → Categoriesbrik-CDdVVYxR.js} +1 -1
- package/dist/{Categoriescandy-C0p1MfNX.js → Categoriescandy-CwQHrAlp.js} +1 -1
- package/dist/{Categoriescar-CNSQ3scn.js → Categoriescar-BoO1CBp0.js} +1 -1
- package/dist/{Categoriescarandbike-W74PacvZ.js → Categoriescarandbike-Bt5-XXbF.js} +1 -1
- package/dist/{Categorieschild-CRCFb4yj.js → Categorieschild-B76ilzm9.js} +1 -1
- package/dist/{Categoriescigarette-rm4jwWJu.js → Categoriescigarette-Bc55HaSY.js} +1 -1
- package/dist/{Categoriescleaning-Bvy_r7Yk.js → Categoriescleaning-8sQIXsQz.js} +1 -1
- package/dist/{Categoriesclothing-DhaHWxAS.js → Categoriesclothing-CbjQv1cc.js} +1 -1
- package/dist/{Categoriesconserve-CDScpC5h.js → Categoriesconserve-BbhVtDvE.js} +1 -1
- package/dist/{Categoriesdairy-6ub0pX73.js → Categoriesdairy-Cto9zTA_.js} +1 -1
- package/dist/{Categoriesdeskandtravel-B_vU-2BM.js → Categoriesdeskandtravel-DdcLwyJg.js} +1 -1
- package/dist/{Categoriesdiet-CayaJ8gU.js → Categoriesdiet-B1uo_4nO.js} +1 -1
- package/dist/{Categoriesdryfood-TYEm4DNi.js → Categoriesdryfood-D0QxtRiF.js} +1 -1
- package/dist/{Categorieseaster-g2uv9tKU.js → Categorieseaster-XQu6XH_H.js} +1 -1
- package/dist/{Categoriesenergy-C4qN9kmm.js → Categoriesenergy-qcZ-vdzj.js} +1 -1
- package/dist/{Categoriesfish-D05qBPd1.js → Categoriesfish-j9Omd9IC.js} +1 -1
- package/dist/{Categoriesfood-ClXvVn42.js → Categoriesfood-D8FwNm0J.js} +1 -1
- package/dist/{Categoriesfreezer-66GNuVYL.js → Categoriesfreezer-2XkwF9UC.js} +1 -1
- package/dist/{Categoriesfuel-BuUTgMH2.js → Categoriesfuel-BDJecmpl.js} +1 -1
- package/dist/{Categoriesgranen-Bue_y4jN.js → Categoriesgranen-i4vcd1IE.js} +1 -1
- package/dist/{Categoriesgrid-BMavGDzP.js → Categoriesgrid-CNIn1ghX.js} +1 -1
- package/dist/{Categorieshome-CApsjscW.js → Categorieshome-D73xIePc.js} +1 -1
- package/dist/{Categorieshygiene-C8At5U10.js → Categorieshygiene-CAhXhrf1.js} +1 -1
- package/dist/{Categoriesmealbox-DwpAaRX9.js → Categoriesmealbox-B_YTIPrM.js} +1 -1
- package/dist/{Categoriesmeat-D3Qlt9_p.js → Categoriesmeat-CjbDZlNF.js} +1 -1
- package/dist/{Categoriesmultimedia-DKYuqbTw.js → Categoriesmultimedia-DFKuCw9b.js} +1 -1
- package/dist/{Categoriesnonfood-DK2kqyPT.js → Categoriesnonfood-BC1t-50j.js} +1 -1
- package/dist/{Categoriesonlinepromo-CmdKazbC.js → Categoriesonlinepromo-BnIuGzQm.js} +1 -1
- package/dist/{Categoriesparty-BS71ZDmM.js → Categoriesparty-BhoZ4CPn.js} +1 -1
- package/dist/{Categoriespets-BEEkrWBN.js → Categoriespets-BqgOOnB2.js} +1 -1
- package/dist/{Categoriesplaceholder-bU5qjPMi.js → Categoriesplaceholder-DqpC1W-b.js} +1 -1
- package/dist/{Categoriespuzzle-sGoKS3XJ.js → Categoriespuzzle-BVo6abKM.js} +1 -1
- package/dist/{Categoriessnacks-DPczRnHm.js → Categoriessnacks-JPTVZFF4.js} +1 -1
- package/dist/{Categoriessoda-voJIAwxb.js → Categoriessoda-Cu3p4go1.js} +1 -1
- package/dist/{Categoriessportfood-DsQGiri9.js → Categoriessportfood-6I20kmUP.js} +1 -1
- package/dist/{Categoriestins-BExw1To-.js → Categoriestins-DMoToNFc.js} +1 -1
- package/dist/{Categoriestoyandhobby-DrFoCNXm.js → Categoriestoyandhobby-Dzb4ETYG.js} +1 -1
- package/dist/{Categoriestoys-pxBYaXgV.js → Categoriestoys-DL74hcYf.js} +1 -1
- package/dist/{Categoriesvegetables-DnTPslRG.js → Categoriesvegetables-BKOVD_qh.js} +1 -1
- package/dist/{Categorieswine-Ch3Y26BR.js → Categorieswine-DO9u-AWO.js} +1 -1
- package/dist/{Fueladblue-CSU_nRSr.js → Fueladblue-Dl4io3TT.js} +1 -1
- package/dist/{Fuelb7-CtnkMPPO.js → Fuelb7-DJqq_Dri.js} +1 -1
- package/dist/{Fuelcng-D_ueH-pe.js → Fuelcng-kXm2Lc5z.js} +1 -1
- package/dist/{Fuele10-D0Qraz3V.js → Fuele10-Bs_qXkks.js} +1 -1
- package/dist/{Fuele5-BhkFZo9H.js → Fuele5-CehdfvYR.js} +1 -1
- package/dist/{Fuelfreetireinflation-BBq-BEOd.js → Fuelfreetireinflation-D4VAteY1.js} +1 -1
- package/dist/{Fuelh2-BaLXZO1E.js → Fuelh2-Pf4eajiY.js} +1 -1
- package/dist/{Functional18plus-D58ZC7QI.js → Functional18plus-DVjWRD_9.js} +1 -1
- package/dist/{Functionalaccount-G0bvUhwZ.js → Functionalaccount-Cf1X9n1t.js} +1 -1
- package/dist/{Functionaladdtolist-D-AwO0C7.js → Functionaladdtolist-W9qIgyAr.js} +1 -1
- package/dist/{Functionaladduser-DYr8gnk-.js → Functionaladduser-qeR8jMh9.js} +1 -1
- package/dist/{Functionalalphabeta-ElGEUoHI.js → Functionalalphabeta-DRrTLbD7.js} +1 -1
- package/dist/{Functionalback-Bpq-7b_o.js → Functionalback-B7gVAFmt.js} +1 -1
- package/dist/{Functionalbarcode-DgE-a1Kk.js → Functionalbarcode-C319GmsM.js} +1 -1
- package/dist/{Functionalblock-B3JlqIQh.js → Functionalblock-BdcChMtd.js} +1 -1
- package/dist/{Functionalbox-DGGK7DD-.js → Functionalbox-xeAB31J3.js} +1 -1
- package/dist/{Functionalcalendar-khjQQKDr.js → Functionalcalendar-B_kE_YDB.js} +1 -1
- package/dist/{Functionalcamera-BkkgIqUC.js → Functionalcamera-DVKncp-r.js} +1 -1
- package/dist/{Functionalcartcheckout-Dz7rIUCH.js → Functionalcartcheckout-B2oH2S-G.js} +1 -1
- package/dist/{Functionalcartedit-BrvtADRh.js → Functionalcartedit-D3_G2QgX.js} +1 -1
- package/dist/{Functionalcheck-BAKh2sZq.js → Functionalcheck-CgrMCln2.js} +1 -1
- package/dist/{Functionalchecklist-B2Tc5q76.js → Functionalchecklist-DO3KHeBN.js} +1 -1
- package/dist/{Functionalchevrondown-YSWSj7iR.js → Functionalchevrondown-B_rPVwRt.js} +1 -1
- package/dist/{Functionalchevronright-5mB1ZTKr.js → Functionalchevronright-D3y_3LjZ.js} +1 -1
- package/dist/{Functionalchevronup-Cr_a2BQN.js → Functionalchevronup-BDI4UYsI.js} +1 -1
- package/dist/{Functionalclock-Sp1cia5i.js → Functionalclock-CH4saSZS.js} +1 -1
- package/dist/{Functionalclose-DdOub7B1.js → Functionalclose-2Z_rs1mE.js} +1 -1
- package/dist/{Functionalcommunications-D11LSKyw.js → Functionalcommunications-DexbcD48.js} +1 -1
- package/dist/{Functionalconnecteddevice-Ci1Kxide.js → Functionalconnecteddevice-B0x16Z1M.js} +1 -1
- package/dist/{Functionalconnectioncable-BHHSefKx.js → Functionalconnectioncable-TUttBbZp.js} +1 -1
- package/dist/{Functionalcookies-BAhlu11p.js → Functionalcookies-a-Ql6sST.js} +1 -1
- package/dist/{Functionalcopy-CvbdgoZk.js → Functionalcopy-oJKPM4yr.js} +1 -1
- package/dist/{Functionalcustomerservice-DaTBtMoj.js → Functionalcustomerservice-CweB9x-D.js} +1 -1
- package/dist/{Functionaldeliveryaddresses-CeHieUpG.js → Functionaldeliveryaddresses-BYJOZ9MD.js} +1 -1
- package/dist/{Functionaldiscount-BSJHYoJQ.js → Functionaldiscount-9WrszQqX.js} +1 -1
- package/dist/{Functionaldiscountcode-Q5fmR97d.js → Functionaldiscountcode-CBz6JlNb.js} +1 -1
- package/dist/{Functionaldownload-YycBlOcB.js → Functionaldownload-DKhUeMhG.js} +1 -1
- package/dist/{Functionaldrycleaning-CUb0OthI.js → Functionaldrycleaning-WzvKpUbz.js} +1 -1
- package/dist/{Functionalecoearth-BYluMuX0.js → Functionalecoearth-DV-Ld6LH.js} +1 -1
- package/dist/{Functionaledit-DJl91Du-.js → Functionaledit-H3XNDpIG.js} +1 -1
- package/dist/{Functionalellipsis-CvNVipCx.js → Functionalellipsis-C0gR6Kc3.js} +1 -1
- package/dist/{Functionalerrorcircle-DIWgYIKf.js → Functionalerrorcircle-CWwAdiws.js} +1 -1
- package/dist/{Functionalerrorcirclefilled-LcYzDq4R.js → Functionalerrorcirclefilled-WKwMFMqJ.js} +1 -1
- package/dist/{Functionaleuro-C0ytguQX.js → Functionaleuro-C5LZbvTT.js} +1 -1
- package/dist/{Functionalexit-C9GTL7Rx.js → Functionalexit-6FBYs5ZH.js} +1 -1
- package/dist/{Functionalexport-Drl4ocyf.js → Functionalexport-DfBAx92N.js} +1 -1
- package/dist/{Functionalexternallink-JGyswW10.js → Functionalexternallink-BLKLAfkF.js} +1 -1
- package/dist/{Functionaleyehidden-B79qC2z9.js → Functionaleyehidden-DhLuW24L.js} +1 -1
- package/dist/{Functionaleyeshow-BDuG__4C.js → Functionaleyeshow-FV8t12wt.js} +1 -1
- package/dist/{Functionalfilter-Z_Jv9Pex.js → Functionalfilter-Cmv-zQKZ.js} +1 -1
- package/dist/{Functionalfirstadded-B4-P-A2w.js → Functionalfirstadded-CN1eLbNP.js} +1 -1
- package/dist/{Functionalgift-BEgdgxqp.js → Functionalgift-BJKQ7gC3.js} +1 -1
- package/dist/{Functionalhistory-BBvyxlrU.js → Functionalhistory-BAfHTo2a.js} +1 -1
- package/dist/{Functionalidea-5L8ci_D4.js → Functionalidea-BgOLQyKf.js} +1 -1
- package/dist/{Functionalinappnotifications-C3KTZVUe.js → Functionalinappnotifications-CZWxihDk.js} +1 -1
- package/dist/{Functionalkiosk-Bdi6h0f5.js → Functionalkiosk-BJ_rWjlO.js} +1 -1
- package/dist/{Functionallastadded-B215xf9i.js → Functionallastadded-uhywDw1O.js} +1 -1
- package/dist/{Functionallifestyle-GnBzE8Fw.js → Functionallifestyle-CZSPaRzh.js} +1 -1
- package/dist/{Functionallist-BsigFEIk.js → Functionallist-wKyOUsVJ.js} +1 -1
- package/dist/{Functionalloading-CzKbIyGw.js → Functionalloading-Loc6KAD1.js} +1 -1
- package/dist/{Functionallocate-Sk4DyPff.js → Functionallocate-Ct-HqVo4.js} +1 -1
- package/dist/{Functionallocation-D_aE-MHt.js → Functionallocation-CIncl3Wv.js} +1 -1
- package/dist/{Functionallocationhome-a-B9avDf.js → Functionallocationhome-DKggmqTH.js} +1 -1
- package/dist/{Functionallocationpickup-Be5jP0dE.js → Functionallocationpickup-Bqv93OsA.js} +1 -1
- package/dist/{Functionallogin-BMV0uMBF.js → Functionallogin-DybY0Fz2.js} +1 -1
- package/dist/{Functionallogout-DmZrFYrj.js → Functionallogout-yTLFdrWL.js} +1 -1
- package/dist/{Functionalmail-Yjt_eG7V.js → Functionalmail-B-wLbq2n.js} +1 -1
- package/dist/{Functionalmaplocation-DqVCqKox.js → Functionalmaplocation-BnwgJFqe.js} +1 -1
- package/dist/{Functionalmenu-CDqxFAvS.js → Functionalmenu-DUCLWiJY.js} +1 -1
- package/dist/{Functionalmessage-CUXpxAbs.js → Functionalmessage-CYRd3NTu.js} +1 -1
- package/dist/{Functionalmessagefield-BKd55ZS5.js → Functionalmessagefield-BIlhfJoQ.js} +1 -1
- package/dist/{Functionalminus-DU736_ma.js → Functionalminus-DTkX2aQM.js} +1 -1
- package/dist/{Functionalmobilepay-Drp80P2q.js → Functionalmobilepay-B2lkfCSL.js} +1 -1
- package/dist/{Functionalmultifactorauthenticator-1rRf43rV.js → Functionalmultifactorauthenticator-DDjOX7as.js} +1 -1
- package/dist/{Functionalnews-Bi4tJ_sZ.js → Functionalnews-CkT4gF4V.js} +1 -1
- package/dist/{Functionalnext-Ck3lZTvC.js → Functionalnext-uQ3mEZtn.js} +1 -1
- package/dist/{Functionalnoconnection-CqXATXCn.js → Functionalnoconnection-B98oW6mE.js} +1 -1
- package/dist/{Functionalnumber-CYIq7XAB.js → Functionalnumber-CWsGQozU.js} +1 -1
- package/dist/{Functionalother-7InCM9DJ.js → Functionalother-DiQ_aX74.js} +1 -1
- package/dist/{Functionalpack-CPcO6u31.js → Functionalpack-CXrWDayH.js} +1 -1
- package/dist/{Functionalpassword-DEuz2jIF.js → Functionalpassword-BfeN6H9z.js} +1 -1
- package/dist/{Functionalpercentage-BWZxNrvC.js → Functionalpercentage-hEC2Jg6h.js} +1 -1
- package/dist/{Functionalphone-Bsnhv67v.js → Functionalphone-BF9CyV6v.js} +1 -1
- package/dist/{Functionalpiece-nZx4CX2a.js → Functionalpiece-CtpUTK8Y.js} +1 -1
- package/dist/{Functionalpinoutlines-CktYKVcc.js → Functionalpinoutlines-tfIuiqQU.js} +1 -1
- package/dist/{Functionalplus-Dn9al4WQ.js → Functionalplus-Dn6pplIe.js} +1 -1
- package/dist/{Functionalpluscircle-CXZHmt9J.js → Functionalpluscircle-D9JzzRTn.js} +1 -1
- package/dist/{Functionalpresent-DzIm8p-p.js → Functionalpresent-bP2BhQ8e.js} +1 -1
- package/dist/{Functionalprivacy-PAHvXr6b.js → Functionalprivacy-BxMPzrDz.js} +1 -1
- package/dist/{Functionalpushnotifications-CEbT012V.js → Functionalpushnotifications-80Cbaljb.js} +1 -1
- package/dist/{Functionalquestioncircle-D5UHTqJV.js → Functionalquestioncircle-BCoi2sSI.js} +1 -1
- package/dist/{Functionalquestioncirclefilled-QPWpyE82.js → Functionalquestioncirclefilled-C3htLii9.js} +1 -1
- package/dist/{Functionalreadtime-D-9AhtVQ.js → Functionalreadtime-DKvtohyQ.js} +1 -1
- package/dist/{Functionalregister-QN9rarTv.js → Functionalregister-Bd52dvlF.js} +1 -1
- package/dist/{Functionalreset-DM3jPD7V.js → Functionalreset-CjL8Uezf.js} +1 -1
- package/dist/{Functionalsave-BJ5t6H9q.js → Functionalsave-BKIhnGKL.js} +1 -1
- package/dist/{Functionalsearch-BLD3BYvB.js → Functionalsearch-DUdranGP.js} +1 -1
- package/dist/{Functionalsettings-DKqogECJ.js → Functionalsettings-CEgqZq8_.js} +1 -1
- package/dist/{Functionalshare-C-DyG-2q.js → Functionalshare-CVyiRx4B.js} +1 -1
- package/dist/{Functionalshared-DTF-DT-N.js → Functionalshared-mrRFZnhq.js} +1 -1
- package/dist/{Functionalshoppingcart-2xiiQ7q4.js → Functionalshoppingcart-CJAw2C3a.js} +1 -1
- package/dist/{Functionalshops-BLHMaj4E.js → Functionalshops-CynWkCw4.js} +1 -1
- package/dist/{Functionalsms-zP0An-1q.js → Functionalsms-BD0ommXn.js} +1 -1
- package/dist/{Functionalsorting-CyEZ_EJ2.js → Functionalsorting-OZkMAkYi.js} +1 -1
- package/dist/{Functionalspinner-CML4vvdy.js → Functionalspinner-rislFO5M.js} +1 -1
- package/dist/{Functionalstorelayout-q7_Jucny.js → Functionalstorelayout-BfUUghs6.js} +1 -1
- package/dist/{Functionalsuccesscircle-ChCKYAQa.js → Functionalsuccesscircle-Exemz9eu.js} +1 -1
- package/dist/{Functionalsuccesscirclefilled-C7mIifw-.js → Functionalsuccesscirclefilled-ywjXtrlJ.js} +1 -1
- package/dist/{Functionalswap-BBvRKAnR.js → Functionalswap-783_HEjN.js} +1 -1
- package/dist/{Functionalswitch-C3FmHrV9.js → Functionalswitch-DG4jNG9C.js} +1 -1
- package/dist/{Functionalthumbsup-BdHKDvgL.js → Functionalthumbsup-BSh7bXR8.js} +1 -1
- package/dist/{Functionaltimer-B9sqGahj.js → Functionaltimer-nYjsqklF.js} +1 -1
- package/dist/{Functionaltrash-DP7pl7IV.js → Functionaltrash-_nwkGw44.js} +1 -1
- package/dist/{Functionaltruck-DEUC0ozn.js → Functionaltruck-CKO231xx.js} +1 -1
- package/dist/{Functionaluserinfo-C-PKTcE0.js → Functionaluserinfo-COKnecaL.js} +1 -1
- package/dist/{Functionalviewfile-NlJ2wI3t.js → Functionalviewfile-cRPDqhMH.js} +1 -1
- package/dist/{Functionalwarningcircle-BE_vqB-K.js → Functionalwarningcircle-D01LfNnB.js} +1 -1
- package/dist/{Functionalwarningcirclefilled-D8WElWou.js → Functionalwarningcirclefilled-rZo7AnFs.js} +1 -1
- package/dist/{Functionalwebsite-CHTdY_ZI.js → Functionalwebsite-Vuh2I5xa.js} +1 -1
- package/dist/{Functionalweight-CA2k1JUg.js → Functionalweight-bWWjfDzK.js} +1 -1
- package/dist/{Toolsassortment-DZ2URucT.js → Toolsassortment-CgbyCBiQ.js} +1 -1
- package/dist/{Toolscoupons-LEvHmfef.js → Toolscoupons-XYxrqHh1.js} +1 -1
- package/dist/{Toolsfavoriteactive-DJrz5Lo0.js → Toolsfavoriteactive-DY00Q_p_.js} +1 -1
- package/dist/{Toolsfavoriteinactive-DgWdtcf7.js → Toolsfavoriteinactive-pMYflgo1.js} +1 -1
- package/dist/{Toolsfuel-B0LHoVMQ.js → Toolsfuel-BX3Nt5Lj.js} +1 -1
- package/dist/{Toolspay-DgP9Kh7Z.js → Toolspay-CADM1m17.js} +1 -1
- package/dist/{Toolspromo-Djo4gsjy.js → Toolspromo-0PJYCHIm.js} +1 -1
- package/dist/{Toolsreceipt-DK2K5WBJ.js → Toolsreceipt-B5-acU0l.js} +1 -1
- package/dist/{Toolsrecipes2--B6Kccqz.js → Toolsrecipes2-BDfljXMB.js} +1 -1
- package/dist/{Toolsscan2-DLrO6sqc.js → Toolsscan2-Dq0RO2Gr.js} +1 -1
- package/dist/{Toolsshowxtranew-BrrkHAfz.js → Toolsshowxtranew-DLgj-ZVz.js} +1 -1
- package/dist/{Toolsshowxtraold-DmjjCRwd.js → Toolsshowxtraold-DzLRcGyf.js} +1 -1
- package/dist/{Toolsstats-C5wghhdB.js → Toolsstats-C8qR-KY4.js} +1 -1
- package/dist/{Toolsstorelocator-X9b3i3l5.js → Toolsstorelocator-D8WFtsnA.js} +1 -1
- package/dist/{Toolswarranty-Z94WkZZw.js → Toolswarranty-ve5rUdoH.js} +1 -1
- package/dist/{index-sFnhQM_s.js → index-B99f-XqD.js} +1 -1
- package/dist/xtra-authentication.js +1 -1
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var as = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var _e = (t, e, s) => e.has(t) ||
|
|
5
|
-
var c = (t, e, s) => (_e(t, e, "read from private field"), s ? s.call(t) : e.get(t)), b = (t, e, s) => e.has(t) ?
|
|
4
|
+
var _e = (t, e, s) => e.has(t) || as("Cannot " + s);
|
|
5
|
+
var c = (t, e, s) => (_e(t, e, "read from private field"), s ? s.call(t) : e.get(t)), b = (t, e, s) => e.has(t) ? as("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), y = (t, e, s, r) => (_e(t, e, "write to private field"), r ? r.call(t, s) : e.set(t, s), s), w = (t, e, s) => (_e(t, e, "access private method"), s);
|
|
6
6
|
var de = (t, e, s, r) => ({
|
|
7
7
|
set _(i) {
|
|
8
8
|
y(t, e, i, s);
|
|
@@ -11,7 +11,7 @@ var de = (t, e, s, r) => ({
|
|
|
11
11
|
return c(t, e, r);
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
import { r as a, j as n, u as
|
|
14
|
+
import { r as a, j as n, u as Tr, a as Mr, b as nt, g as je, P as os, c as Ke, d as Rr, e as Lr, E as zr, C as Fr } from "./index-B99f-XqD.js";
|
|
15
15
|
var re = class {
|
|
16
16
|
constructor() {
|
|
17
17
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
@@ -29,15 +29,15 @@ var re = class {
|
|
|
29
29
|
onUnsubscribe() {
|
|
30
30
|
}
|
|
31
31
|
}, zt = typeof window > "u" || "Deno" in globalThis;
|
|
32
|
-
function
|
|
32
|
+
function G() {
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Dr(t, e) {
|
|
35
35
|
return typeof t == "function" ? t(e) : t;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Ae(t) {
|
|
38
38
|
return typeof t == "number" && t >= 0 && t !== 1 / 0;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function $s(t, e) {
|
|
41
41
|
return Math.max(t + (e || 0) - Date.now(), 0);
|
|
42
42
|
}
|
|
43
43
|
function St(t, e) {
|
|
@@ -46,7 +46,7 @@ function St(t, e) {
|
|
|
46
46
|
function tt(t, e) {
|
|
47
47
|
return typeof t == "function" ? t(e) : t;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ls(t, e) {
|
|
50
50
|
const {
|
|
51
51
|
type: s = "all",
|
|
52
52
|
exact: r,
|
|
@@ -57,7 +57,7 @@ function os(t, e) {
|
|
|
57
57
|
} = t;
|
|
58
58
|
if (l) {
|
|
59
59
|
if (r) {
|
|
60
|
-
if (e.queryHash !==
|
|
60
|
+
if (e.queryHash !== We(l, e.options))
|
|
61
61
|
return !1;
|
|
62
62
|
} else if (!ne(e.queryKey, l))
|
|
63
63
|
return !1;
|
|
@@ -69,7 +69,7 @@ function os(t, e) {
|
|
|
69
69
|
}
|
|
70
70
|
return !(typeof u == "boolean" && e.isStale() !== u || i && i !== e.state.fetchStatus || o && !o(e));
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function cs(t, e) {
|
|
73
73
|
const { exact: s, status: r, predicate: i, mutationKey: o } = t;
|
|
74
74
|
if (o) {
|
|
75
75
|
if (!e.options.mutationKey)
|
|
@@ -82,7 +82,7 @@ function ls(t, e) {
|
|
|
82
82
|
}
|
|
83
83
|
return !(r && e.state.status !== r || i && !i(e));
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function We(t, e) {
|
|
86
86
|
return ((e == null ? void 0 : e.queryKeyHashFn) || Ft)(t);
|
|
87
87
|
}
|
|
88
88
|
function Ft(t) {
|
|
@@ -94,16 +94,16 @@ function Ft(t) {
|
|
|
94
94
|
function ne(t, e) {
|
|
95
95
|
return t === e ? !0 : typeof t != typeof e ? !1 : t && e && typeof t == "object" && typeof e == "object" ? Object.keys(e).every((s) => ne(t[s], e[s])) : !1;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Us(t, e) {
|
|
98
98
|
if (t === e)
|
|
99
99
|
return t;
|
|
100
|
-
const s =
|
|
100
|
+
const s = us(t) && us(e);
|
|
101
101
|
if (s || Ne(t) && Ne(e)) {
|
|
102
102
|
const r = s ? t : Object.keys(t), i = r.length, o = s ? e : Object.keys(e), l = o.length, u = s ? [] : {};
|
|
103
103
|
let h = 0;
|
|
104
104
|
for (let d = 0; d < l; d++) {
|
|
105
105
|
const f = s ? d : o[d];
|
|
106
|
-
(!s && r.includes(f) || s) && t[f] === void 0 && e[f] === void 0 ? (u[f] = void 0, h++) : (u[f] =
|
|
106
|
+
(!s && r.includes(f) || s) && t[f] === void 0 && e[f] === void 0 ? (u[f] = void 0, h++) : (u[f] = Us(t[f], e[f]), u[f] === t[f] && t[f] !== void 0 && h++);
|
|
107
107
|
}
|
|
108
108
|
return i === l && h === i ? t : u;
|
|
109
109
|
}
|
|
@@ -117,45 +117,45 @@ function ge(t, e) {
|
|
|
117
117
|
return !1;
|
|
118
118
|
return !0;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function us(t) {
|
|
121
121
|
return Array.isArray(t) && t.length === Object.keys(t).length;
|
|
122
122
|
}
|
|
123
123
|
function Ne(t) {
|
|
124
|
-
if (!
|
|
124
|
+
if (!hs(t))
|
|
125
125
|
return !1;
|
|
126
126
|
const e = t.constructor;
|
|
127
127
|
if (e === void 0)
|
|
128
128
|
return !0;
|
|
129
129
|
const s = e.prototype;
|
|
130
|
-
return !(!
|
|
130
|
+
return !(!hs(s) || !s.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(t) !== Object.prototype);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function hs(t) {
|
|
133
133
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function $r(t) {
|
|
136
136
|
return new Promise((e) => {
|
|
137
137
|
setTimeout(e, t);
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
return typeof s.structuralSharing == "function" ? s.structuralSharing(t, e) : s.structuralSharing !== !1 ?
|
|
140
|
+
function Pe(t, e, s) {
|
|
141
|
+
return typeof s.structuralSharing == "function" ? s.structuralSharing(t, e) : s.structuralSharing !== !1 ? Us(t, e) : e;
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Ur(t, e, s = 0) {
|
|
144
144
|
const r = [...t, e];
|
|
145
145
|
return s && r.length > s ? r.slice(1) : r;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Qr(t, e, s = 0) {
|
|
148
148
|
const r = [e, ...t];
|
|
149
149
|
return s && r.length > s ? r.slice(0, -1) : r;
|
|
150
150
|
}
|
|
151
|
-
var
|
|
152
|
-
function Us(t, e) {
|
|
153
|
-
return !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === We ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
|
|
154
|
-
}
|
|
151
|
+
var Ze = Symbol();
|
|
155
152
|
function Qs(t, e) {
|
|
153
|
+
return !t.queryFn && (e != null && e.initialPromise) ? () => e.initialPromise : !t.queryFn || t.queryFn === Ze ? () => Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)) : t.queryFn;
|
|
154
|
+
}
|
|
155
|
+
function Hs(t, e) {
|
|
156
156
|
return typeof t == "function" ? t(...e) : !!t;
|
|
157
157
|
}
|
|
158
|
-
var Ot, pt, qt,
|
|
158
|
+
var Ot, pt, qt, As, Hr = (As = class extends re {
|
|
159
159
|
constructor() {
|
|
160
160
|
super();
|
|
161
161
|
b(this, Ot);
|
|
@@ -196,7 +196,7 @@ var Ot, pt, qt, Os, Qr = (Os = class extends re {
|
|
|
196
196
|
var e;
|
|
197
197
|
return typeof c(this, Ot) == "boolean" ? c(this, Ot) : ((e = globalThis.document) == null ? void 0 : e.visibilityState) !== "hidden";
|
|
198
198
|
}
|
|
199
|
-
}, Ot = new WeakMap(), pt = new WeakMap(), qt = new WeakMap(),
|
|
199
|
+
}, Ot = new WeakMap(), pt = new WeakMap(), qt = new WeakMap(), As), Xe = new Hr(), Gt, mt, Kt, Ns, Vr = (Ns = class extends re {
|
|
200
200
|
constructor() {
|
|
201
201
|
super();
|
|
202
202
|
b(this, Gt, !0);
|
|
@@ -230,8 +230,8 @@ var Ot, pt, qt, Os, Qr = (Os = class extends re {
|
|
|
230
230
|
isOnline() {
|
|
231
231
|
return c(this, Gt);
|
|
232
232
|
}
|
|
233
|
-
}, Gt = new WeakMap(), mt = new WeakMap(), Kt = new WeakMap(), Ns), ve = new
|
|
234
|
-
function
|
|
233
|
+
}, Gt = new WeakMap(), mt = new WeakMap(), Kt = new WeakMap(), Ns), ve = new Vr();
|
|
234
|
+
function Te() {
|
|
235
235
|
let t, e;
|
|
236
236
|
const s = new Promise((i, o) => {
|
|
237
237
|
t = i, e = o;
|
|
@@ -253,30 +253,30 @@ function Pe() {
|
|
|
253
253
|
}), e(i);
|
|
254
254
|
}, s;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function qr(t) {
|
|
257
257
|
return Math.min(1e3 * 2 ** t, 3e4);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Vs(t) {
|
|
260
260
|
return (t ?? "online") === "online" ? ve.isOnline() : !0;
|
|
261
261
|
}
|
|
262
|
-
var
|
|
262
|
+
var qs = class extends Error {
|
|
263
263
|
constructor(t) {
|
|
264
264
|
super("CancelledError"), this.revert = t == null ? void 0 : t.revert, this.silent = t == null ? void 0 : t.silent;
|
|
265
265
|
}
|
|
266
266
|
};
|
|
267
267
|
function Ee(t) {
|
|
268
|
-
return t instanceof
|
|
268
|
+
return t instanceof qs;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function Gs(t) {
|
|
271
271
|
let e = !1, s = 0, r = !1, i;
|
|
272
|
-
const o =
|
|
272
|
+
const o = Te(), l = (v) => {
|
|
273
273
|
var C;
|
|
274
|
-
r || (g(new
|
|
274
|
+
r || (g(new qs(v)), (C = t.abort) == null || C.call(t));
|
|
275
275
|
}, u = () => {
|
|
276
276
|
e = !0;
|
|
277
277
|
}, h = () => {
|
|
278
278
|
e = !1;
|
|
279
|
-
}, d = () =>
|
|
279
|
+
}, d = () => Xe.isFocused() && (t.networkMode === "always" || ve.isOnline()) && t.canRun(), f = () => Vs(t.networkMode) && t.canRun(), p = (v) => {
|
|
280
280
|
var C;
|
|
281
281
|
r || (r = !0, (C = t.onSuccess) == null || C.call(t, v), i == null || i(), o.resolve(v));
|
|
282
282
|
}, g = (v) => {
|
|
@@ -301,15 +301,15 @@ function qs(t) {
|
|
|
301
301
|
v = Promise.reject(k);
|
|
302
302
|
}
|
|
303
303
|
Promise.resolve(v).then(p).catch((k) => {
|
|
304
|
-
var
|
|
304
|
+
var D;
|
|
305
305
|
if (r)
|
|
306
306
|
return;
|
|
307
|
-
const
|
|
308
|
-
if (e || !
|
|
307
|
+
const j = t.retry ?? (zt ? 0 : 3), A = t.retryDelay ?? qr, M = typeof A == "function" ? A(s, k) : A, F = j === !0 || typeof j == "number" && s < j || typeof j == "function" && j(s, k);
|
|
308
|
+
if (e || !F) {
|
|
309
309
|
g(k);
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
|
-
s++, (
|
|
312
|
+
s++, (D = t.onFail) == null || D.call(t, s, k), $r(M).then(() => d() ? void 0 : m()).then(() => {
|
|
313
313
|
e ? g(k) : x();
|
|
314
314
|
});
|
|
315
315
|
});
|
|
@@ -324,13 +324,13 @@ function qs(t) {
|
|
|
324
324
|
start: () => (f() ? x() : m().then(x), o)
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
327
|
+
var Gr = (t) => setTimeout(t, 0);
|
|
328
|
+
function Kr() {
|
|
329
329
|
let t = [], e = 0, s = (u) => {
|
|
330
330
|
u();
|
|
331
331
|
}, r = (u) => {
|
|
332
332
|
u();
|
|
333
|
-
}, i =
|
|
333
|
+
}, i = Gr;
|
|
334
334
|
const o = (u) => {
|
|
335
335
|
e ? t.push(u) : i(() => {
|
|
336
336
|
s(u);
|
|
@@ -384,15 +384,15 @@ function Gr() {
|
|
|
384
384
|
}
|
|
385
385
|
};
|
|
386
386
|
}
|
|
387
|
-
var U =
|
|
387
|
+
var U = Kr(), At, Ps, Ks = (Ps = class {
|
|
388
388
|
constructor() {
|
|
389
|
-
b(this,
|
|
389
|
+
b(this, At);
|
|
390
390
|
}
|
|
391
391
|
destroy() {
|
|
392
392
|
this.clearGcTimeout();
|
|
393
393
|
}
|
|
394
394
|
scheduleGc() {
|
|
395
|
-
this.clearGcTimeout(),
|
|
395
|
+
this.clearGcTimeout(), Ae(this.gcTime) && y(this, At, setTimeout(() => {
|
|
396
396
|
this.optionalRemove();
|
|
397
397
|
}, this.gcTime));
|
|
398
398
|
}
|
|
@@ -403,20 +403,20 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
403
403
|
);
|
|
404
404
|
}
|
|
405
405
|
clearGcTimeout() {
|
|
406
|
-
c(this,
|
|
406
|
+
c(this, At) && (clearTimeout(c(this, At)), y(this, At, void 0));
|
|
407
407
|
}
|
|
408
|
-
},
|
|
408
|
+
}, At = new WeakMap(), Ps), Wt, Zt, J, Nt, Q, ae, Pt, I, ot, Ts, Wr = (Ts = class extends Ks {
|
|
409
409
|
constructor(e) {
|
|
410
410
|
super();
|
|
411
411
|
b(this, I);
|
|
412
412
|
b(this, Wt);
|
|
413
413
|
b(this, Zt);
|
|
414
414
|
b(this, J);
|
|
415
|
-
b(this,
|
|
415
|
+
b(this, Nt);
|
|
416
416
|
b(this, Q);
|
|
417
417
|
b(this, ae);
|
|
418
418
|
b(this, Pt);
|
|
419
|
-
y(this, Pt, !1), y(this, ae, e.defaultOptions), this.setOptions(e.options), this.observers = [], y(this,
|
|
419
|
+
y(this, Pt, !1), y(this, ae, e.defaultOptions), this.setOptions(e.options), this.observers = [], y(this, Nt, e.client), y(this, J, c(this, Nt).getQueryCache()), this.queryKey = e.queryKey, this.queryHash = e.queryHash, y(this, Wt, Zr(this.options)), this.state = e.state ?? c(this, Wt), this.scheduleGc();
|
|
420
420
|
}
|
|
421
421
|
get meta() {
|
|
422
422
|
return this.options.meta;
|
|
@@ -432,7 +432,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
432
432
|
!this.observers.length && this.state.fetchStatus === "idle" && c(this, J).remove(this);
|
|
433
433
|
}
|
|
434
434
|
setData(e, s) {
|
|
435
|
-
const r =
|
|
435
|
+
const r = Pe(this.state.data, e, this.options);
|
|
436
436
|
return w(this, I, ot).call(this, {
|
|
437
437
|
data: r,
|
|
438
438
|
type: "success",
|
|
@@ -446,7 +446,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
446
446
|
cancel(e) {
|
|
447
447
|
var r, i;
|
|
448
448
|
const s = (r = c(this, Q)) == null ? void 0 : r.promise;
|
|
449
|
-
return (i = c(this, Q)) == null || i.cancel(e), s ? s.then(
|
|
449
|
+
return (i = c(this, Q)) == null || i.cancel(e), s ? s.then(G).catch(G) : Promise.resolve();
|
|
450
450
|
}
|
|
451
451
|
destroy() {
|
|
452
452
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -460,7 +460,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
460
460
|
);
|
|
461
461
|
}
|
|
462
462
|
isDisabled() {
|
|
463
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
463
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Ze || this.state.dataUpdateCount + this.state.errorUpdateCount === 0;
|
|
464
464
|
}
|
|
465
465
|
isStatic() {
|
|
466
466
|
return this.getObserversCount() > 0 ? this.observers.some(
|
|
@@ -473,7 +473,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
473
473
|
) : this.state.data === void 0 || this.state.isInvalidated;
|
|
474
474
|
}
|
|
475
475
|
isStaleByTime(e = 0) {
|
|
476
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 :
|
|
476
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !$s(this.state.dataUpdatedAt, e);
|
|
477
477
|
}
|
|
478
478
|
onFocus() {
|
|
479
479
|
var s;
|
|
@@ -515,8 +515,8 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
515
515
|
get: () => (y(this, Pt, !0), r.signal)
|
|
516
516
|
});
|
|
517
517
|
}, o = () => {
|
|
518
|
-
const p =
|
|
519
|
-
client: c(this,
|
|
518
|
+
const p = Qs(this.options, s), g = {
|
|
519
|
+
client: c(this, Nt),
|
|
520
520
|
queryKey: this.queryKey,
|
|
521
521
|
meta: this.meta
|
|
522
522
|
};
|
|
@@ -529,7 +529,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
529
529
|
fetchOptions: s,
|
|
530
530
|
options: this.options,
|
|
531
531
|
queryKey: this.queryKey,
|
|
532
|
-
client: c(this,
|
|
532
|
+
client: c(this, Nt),
|
|
533
533
|
state: this.state,
|
|
534
534
|
fetchFn: o
|
|
535
535
|
};
|
|
@@ -553,7 +553,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
553
553
|
this
|
|
554
554
|
)), this.scheduleGc();
|
|
555
555
|
};
|
|
556
|
-
return y(this, Q,
|
|
556
|
+
return y(this, Q, Gs({
|
|
557
557
|
initialPromise: s == null ? void 0 : s.initialPromise,
|
|
558
558
|
fn: l.fetchFn,
|
|
559
559
|
abort: r.abort.bind(r),
|
|
@@ -592,7 +592,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
592
592
|
canRun: () => !0
|
|
593
593
|
})), c(this, Q).start();
|
|
594
594
|
}
|
|
595
|
-
}, Wt = new WeakMap(), Zt = new WeakMap(), J = new WeakMap(),
|
|
595
|
+
}, Wt = new WeakMap(), Zt = new WeakMap(), J = new WeakMap(), Nt = new WeakMap(), Q = new WeakMap(), ae = new WeakMap(), Pt = new WeakMap(), I = new WeakSet(), ot = function(e) {
|
|
596
596
|
const s = (r) => {
|
|
597
597
|
switch (e.type) {
|
|
598
598
|
case "failed":
|
|
@@ -614,7 +614,7 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
614
614
|
case "fetch":
|
|
615
615
|
return {
|
|
616
616
|
...r,
|
|
617
|
-
...
|
|
617
|
+
...Ws(r.data, this.options),
|
|
618
618
|
fetchMeta: e.meta ?? null
|
|
619
619
|
};
|
|
620
620
|
case "success":
|
|
@@ -661,19 +661,19 @@ var U = Gr(), Nt, As, Gs = (As = class {
|
|
|
661
661
|
r.onQueryUpdate();
|
|
662
662
|
}), c(this, J).notify({ query: this, type: "updated", action: e });
|
|
663
663
|
});
|
|
664
|
-
},
|
|
665
|
-
function
|
|
664
|
+
}, Ts);
|
|
665
|
+
function Ws(t, e) {
|
|
666
666
|
return {
|
|
667
667
|
fetchFailureCount: 0,
|
|
668
668
|
fetchFailureReason: null,
|
|
669
|
-
fetchStatus:
|
|
669
|
+
fetchStatus: Vs(e.networkMode) ? "fetching" : "paused",
|
|
670
670
|
...t === void 0 && {
|
|
671
671
|
error: null,
|
|
672
672
|
status: "pending"
|
|
673
673
|
}
|
|
674
674
|
};
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Zr(t) {
|
|
677
677
|
const e = typeof t.initialData == "function" ? t.initialData() : t.initialData, s = e !== void 0, r = s ? typeof t.initialDataUpdatedAt == "function" ? t.initialDataUpdatedAt() : t.initialDataUpdatedAt : 0;
|
|
678
678
|
return {
|
|
679
679
|
data: e,
|
|
@@ -690,16 +690,16 @@ function Wr(t) {
|
|
|
690
690
|
fetchStatus: "idle"
|
|
691
691
|
};
|
|
692
692
|
}
|
|
693
|
-
var st,
|
|
693
|
+
var st, Ms, Xr = (Ms = class extends re {
|
|
694
694
|
constructor(e = {}) {
|
|
695
695
|
super();
|
|
696
696
|
b(this, st);
|
|
697
697
|
this.config = e, y(this, st, /* @__PURE__ */ new Map());
|
|
698
698
|
}
|
|
699
699
|
build(e, s, r) {
|
|
700
|
-
const i = s.queryKey, o = s.queryHash ??
|
|
700
|
+
const i = s.queryKey, o = s.queryHash ?? We(i, s);
|
|
701
701
|
let l = this.get(o);
|
|
702
|
-
return l || (l = new
|
|
702
|
+
return l || (l = new Wr({
|
|
703
703
|
client: e,
|
|
704
704
|
queryKey: i,
|
|
705
705
|
queryHash: o,
|
|
@@ -734,12 +734,12 @@ var st, Ts, Zr = (Ts = class extends re {
|
|
|
734
734
|
find(e) {
|
|
735
735
|
const s = { exact: !0, ...e };
|
|
736
736
|
return this.getAll().find(
|
|
737
|
-
(r) =>
|
|
737
|
+
(r) => ls(s, r)
|
|
738
738
|
);
|
|
739
739
|
}
|
|
740
740
|
findAll(e = {}) {
|
|
741
741
|
const s = this.getAll();
|
|
742
|
-
return Object.keys(e).length > 0 ? s.filter((r) =>
|
|
742
|
+
return Object.keys(e).length > 0 ? s.filter((r) => ls(e, r)) : s;
|
|
743
743
|
}
|
|
744
744
|
notify(e) {
|
|
745
745
|
U.batch(() => {
|
|
@@ -762,14 +762,14 @@ var st, Ts, Zr = (Ts = class extends re {
|
|
|
762
762
|
});
|
|
763
763
|
});
|
|
764
764
|
}
|
|
765
|
-
}, st = new WeakMap(),
|
|
765
|
+
}, st = new WeakMap(), Ms), rt, V, Tt, it, ft, Rs, Yr = (Rs = class extends Ks {
|
|
766
766
|
constructor(e) {
|
|
767
767
|
super();
|
|
768
768
|
b(this, it);
|
|
769
769
|
b(this, rt);
|
|
770
|
-
b(this,
|
|
770
|
+
b(this, V);
|
|
771
771
|
b(this, Tt);
|
|
772
|
-
this.mutationId = e.mutationId, y(this,
|
|
772
|
+
this.mutationId = e.mutationId, y(this, V, e.mutationCache), y(this, rt, []), this.state = e.state || Zs(), this.setOptions(e.options), this.scheduleGc();
|
|
773
773
|
}
|
|
774
774
|
setOptions(e) {
|
|
775
775
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -778,21 +778,21 @@ var st, Ts, Zr = (Ts = class extends re {
|
|
|
778
778
|
return this.options.meta;
|
|
779
779
|
}
|
|
780
780
|
addObserver(e) {
|
|
781
|
-
c(this, rt).includes(e) || (c(this, rt).push(e), this.clearGcTimeout(), c(this,
|
|
781
|
+
c(this, rt).includes(e) || (c(this, rt).push(e), this.clearGcTimeout(), c(this, V).notify({
|
|
782
782
|
type: "observerAdded",
|
|
783
783
|
mutation: this,
|
|
784
784
|
observer: e
|
|
785
785
|
}));
|
|
786
786
|
}
|
|
787
787
|
removeObserver(e) {
|
|
788
|
-
y(this, rt, c(this, rt).filter((s) => s !== e)), this.scheduleGc(), c(this,
|
|
788
|
+
y(this, rt, c(this, rt).filter((s) => s !== e)), this.scheduleGc(), c(this, V).notify({
|
|
789
789
|
type: "observerRemoved",
|
|
790
790
|
mutation: this,
|
|
791
791
|
observer: e
|
|
792
792
|
});
|
|
793
793
|
}
|
|
794
794
|
optionalRemove() {
|
|
795
|
-
c(this, rt).length || (this.state.status === "pending" ? this.scheduleGc() : c(this,
|
|
795
|
+
c(this, rt).length || (this.state.status === "pending" ? this.scheduleGc() : c(this, V).remove(this));
|
|
796
796
|
}
|
|
797
797
|
continue() {
|
|
798
798
|
var e;
|
|
@@ -800,14 +800,14 @@ var st, Ts, Zr = (Ts = class extends re {
|
|
|
800
800
|
this.execute(this.state.variables);
|
|
801
801
|
}
|
|
802
802
|
async execute(e) {
|
|
803
|
-
var o, l, u, h, d, f, p, g, m, x, v, C, k,
|
|
803
|
+
var o, l, u, h, d, f, p, g, m, x, v, C, k, j, A, M, F, D, et, $;
|
|
804
804
|
const s = () => {
|
|
805
805
|
w(this, it, ft).call(this, { type: "continue" });
|
|
806
806
|
};
|
|
807
|
-
y(this, Tt,
|
|
807
|
+
y(this, Tt, Gs({
|
|
808
808
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
|
|
809
|
-
onFail: (
|
|
810
|
-
w(this, it, ft).call(this, { type: "failed", failureCount:
|
|
809
|
+
onFail: (P, T) => {
|
|
810
|
+
w(this, it, ft).call(this, { type: "failed", failureCount: P, error: T });
|
|
811
811
|
},
|
|
812
812
|
onPause: () => {
|
|
813
813
|
w(this, it, ft).call(this, { type: "pause" });
|
|
@@ -816,76 +816,76 @@ var st, Ts, Zr = (Ts = class extends re {
|
|
|
816
816
|
retry: this.options.retry ?? 0,
|
|
817
817
|
retryDelay: this.options.retryDelay,
|
|
818
818
|
networkMode: this.options.networkMode,
|
|
819
|
-
canRun: () => c(this,
|
|
819
|
+
canRun: () => c(this, V).canRun(this)
|
|
820
820
|
}));
|
|
821
821
|
const r = this.state.status === "pending", i = !c(this, Tt).canStart();
|
|
822
822
|
try {
|
|
823
823
|
if (r)
|
|
824
824
|
s();
|
|
825
825
|
else {
|
|
826
|
-
w(this, it, ft).call(this, { type: "pending", variables: e, isPaused: i }), await ((l = (o = c(this,
|
|
826
|
+
w(this, it, ft).call(this, { type: "pending", variables: e, isPaused: i }), await ((l = (o = c(this, V).config).onMutate) == null ? void 0 : l.call(
|
|
827
827
|
o,
|
|
828
828
|
e,
|
|
829
829
|
this
|
|
830
830
|
));
|
|
831
|
-
const
|
|
832
|
-
|
|
831
|
+
const T = await ((h = (u = this.options).onMutate) == null ? void 0 : h.call(u, e));
|
|
832
|
+
T !== this.state.context && w(this, it, ft).call(this, {
|
|
833
833
|
type: "pending",
|
|
834
|
-
context:
|
|
834
|
+
context: T,
|
|
835
835
|
variables: e,
|
|
836
836
|
isPaused: i
|
|
837
837
|
});
|
|
838
838
|
}
|
|
839
|
-
const
|
|
840
|
-
return await ((f = (d = c(this,
|
|
839
|
+
const P = await c(this, Tt).start();
|
|
840
|
+
return await ((f = (d = c(this, V).config).onSuccess) == null ? void 0 : f.call(
|
|
841
841
|
d,
|
|
842
|
-
|
|
842
|
+
P,
|
|
843
843
|
e,
|
|
844
844
|
this.state.context,
|
|
845
845
|
this
|
|
846
|
-
)), await ((g = (p = this.options).onSuccess) == null ? void 0 : g.call(p,
|
|
846
|
+
)), await ((g = (p = this.options).onSuccess) == null ? void 0 : g.call(p, P, e, this.state.context)), await ((x = (m = c(this, V).config).onSettled) == null ? void 0 : x.call(
|
|
847
847
|
m,
|
|
848
|
-
|
|
848
|
+
P,
|
|
849
849
|
null,
|
|
850
850
|
this.state.variables,
|
|
851
851
|
this.state.context,
|
|
852
852
|
this
|
|
853
|
-
)), await ((C = (v = this.options).onSettled) == null ? void 0 : C.call(v,
|
|
854
|
-
} catch (
|
|
853
|
+
)), await ((C = (v = this.options).onSettled) == null ? void 0 : C.call(v, P, null, e, this.state.context)), w(this, it, ft).call(this, { type: "success", data: P }), P;
|
|
854
|
+
} catch (P) {
|
|
855
855
|
try {
|
|
856
|
-
throw await ((
|
|
856
|
+
throw await ((j = (k = c(this, V).config).onError) == null ? void 0 : j.call(
|
|
857
857
|
k,
|
|
858
|
-
|
|
858
|
+
P,
|
|
859
859
|
e,
|
|
860
860
|
this.state.context,
|
|
861
861
|
this
|
|
862
|
-
)), await ((
|
|
862
|
+
)), await ((M = (A = this.options).onError) == null ? void 0 : M.call(
|
|
863
863
|
A,
|
|
864
|
-
|
|
864
|
+
P,
|
|
865
865
|
e,
|
|
866
866
|
this.state.context
|
|
867
|
-
)), await ((
|
|
868
|
-
|
|
867
|
+
)), await ((D = (F = c(this, V).config).onSettled) == null ? void 0 : D.call(
|
|
868
|
+
F,
|
|
869
869
|
void 0,
|
|
870
|
-
|
|
870
|
+
P,
|
|
871
871
|
this.state.variables,
|
|
872
872
|
this.state.context,
|
|
873
873
|
this
|
|
874
|
-
)), await ((
|
|
874
|
+
)), await (($ = (et = this.options).onSettled) == null ? void 0 : $.call(
|
|
875
875
|
et,
|
|
876
876
|
void 0,
|
|
877
|
-
|
|
877
|
+
P,
|
|
878
878
|
e,
|
|
879
879
|
this.state.context
|
|
880
|
-
)),
|
|
880
|
+
)), P;
|
|
881
881
|
} finally {
|
|
882
|
-
w(this, it, ft).call(this, { type: "error", error:
|
|
882
|
+
w(this, it, ft).call(this, { type: "error", error: P });
|
|
883
883
|
}
|
|
884
884
|
} finally {
|
|
885
|
-
c(this,
|
|
885
|
+
c(this, V).runNext(this);
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
|
-
}, rt = new WeakMap(),
|
|
888
|
+
}, rt = new WeakMap(), V = new WeakMap(), Tt = new WeakMap(), it = new WeakSet(), ft = function(e) {
|
|
889
889
|
const s = (r) => {
|
|
890
890
|
switch (e.type) {
|
|
891
891
|
case "failed":
|
|
@@ -942,14 +942,14 @@ var st, Ts, Zr = (Ts = class extends re {
|
|
|
942
942
|
this.state = s(this.state), U.batch(() => {
|
|
943
943
|
c(this, rt).forEach((r) => {
|
|
944
944
|
r.onMutationUpdate(e);
|
|
945
|
-
}), c(this,
|
|
945
|
+
}), c(this, V).notify({
|
|
946
946
|
mutation: this,
|
|
947
947
|
type: "updated",
|
|
948
948
|
action: e
|
|
949
949
|
});
|
|
950
950
|
});
|
|
951
|
-
},
|
|
952
|
-
function
|
|
951
|
+
}, Rs);
|
|
952
|
+
function Zs() {
|
|
953
953
|
return {
|
|
954
954
|
context: void 0,
|
|
955
955
|
data: void 0,
|
|
@@ -962,7 +962,7 @@ function Ws() {
|
|
|
962
962
|
submittedAt: 0
|
|
963
963
|
};
|
|
964
964
|
}
|
|
965
|
-
var ct, B, oe,
|
|
965
|
+
var ct, B, oe, Ls, Jr = (Ls = class extends re {
|
|
966
966
|
constructor(e = {}) {
|
|
967
967
|
super();
|
|
968
968
|
b(this, ct);
|
|
@@ -1034,11 +1034,11 @@ var ct, B, oe, Rs, Xr = (Rs = class extends re {
|
|
|
1034
1034
|
find(e) {
|
|
1035
1035
|
const s = { exact: !0, ...e };
|
|
1036
1036
|
return this.getAll().find(
|
|
1037
|
-
(r) =>
|
|
1037
|
+
(r) => cs(s, r)
|
|
1038
1038
|
);
|
|
1039
1039
|
}
|
|
1040
1040
|
findAll(e = {}) {
|
|
1041
|
-
return this.getAll().filter((s) =>
|
|
1041
|
+
return this.getAll().filter((s) => cs(e, s));
|
|
1042
1042
|
}
|
|
1043
1043
|
notify(e) {
|
|
1044
1044
|
U.batch(() => {
|
|
@@ -1051,16 +1051,16 @@ var ct, B, oe, Rs, Xr = (Rs = class extends re {
|
|
|
1051
1051
|
const e = this.getAll().filter((s) => s.state.isPaused);
|
|
1052
1052
|
return U.batch(
|
|
1053
1053
|
() => Promise.all(
|
|
1054
|
-
e.map((s) => s.continue().catch(
|
|
1054
|
+
e.map((s) => s.continue().catch(G))
|
|
1055
1055
|
)
|
|
1056
1056
|
);
|
|
1057
1057
|
}
|
|
1058
|
-
}, ct = new WeakMap(), B = new WeakMap(), oe = new WeakMap(),
|
|
1058
|
+
}, ct = new WeakMap(), B = new WeakMap(), oe = new WeakMap(), Ls);
|
|
1059
1059
|
function fe(t) {
|
|
1060
1060
|
var e;
|
|
1061
1061
|
return (e = t.options.scope) == null ? void 0 : e.id;
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function ds(t) {
|
|
1064
1064
|
return {
|
|
1065
1065
|
onFetch: (e, s) => {
|
|
1066
1066
|
var f, p, g, m, x;
|
|
@@ -1075,40 +1075,40 @@ function hs(t) {
|
|
|
1075
1075
|
v = !0;
|
|
1076
1076
|
}), e.signal)
|
|
1077
1077
|
});
|
|
1078
|
-
}, k =
|
|
1078
|
+
}, k = Qs(e.options, e.fetchOptions), j = async (A, M, F) => {
|
|
1079
1079
|
if (v)
|
|
1080
1080
|
return Promise.reject();
|
|
1081
|
-
if (
|
|
1081
|
+
if (M == null && A.pages.length)
|
|
1082
1082
|
return Promise.resolve(A);
|
|
1083
|
-
const
|
|
1083
|
+
const D = {
|
|
1084
1084
|
client: e.client,
|
|
1085
1085
|
queryKey: e.queryKey,
|
|
1086
|
-
pageParam:
|
|
1087
|
-
direction:
|
|
1086
|
+
pageParam: M,
|
|
1087
|
+
direction: F ? "backward" : "forward",
|
|
1088
1088
|
meta: e.options.meta
|
|
1089
1089
|
};
|
|
1090
|
-
C(
|
|
1090
|
+
C(D);
|
|
1091
1091
|
const et = await k(
|
|
1092
|
-
|
|
1093
|
-
), { maxPages:
|
|
1092
|
+
D
|
|
1093
|
+
), { maxPages: $ } = e.options, P = F ? Qr : Ur;
|
|
1094
1094
|
return {
|
|
1095
|
-
pages:
|
|
1096
|
-
pageParams:
|
|
1095
|
+
pages: P(A.pages, et, $),
|
|
1096
|
+
pageParams: P(A.pageParams, M, $)
|
|
1097
1097
|
};
|
|
1098
1098
|
};
|
|
1099
1099
|
if (i && o.length) {
|
|
1100
|
-
const A = i === "backward",
|
|
1100
|
+
const A = i === "backward", M = A ? Ir : fs, F = {
|
|
1101
1101
|
pages: o,
|
|
1102
1102
|
pageParams: l
|
|
1103
|
-
},
|
|
1104
|
-
u = await
|
|
1103
|
+
}, D = M(r, F);
|
|
1104
|
+
u = await j(F, D, A);
|
|
1105
1105
|
} else {
|
|
1106
1106
|
const A = t ?? o.length;
|
|
1107
1107
|
do {
|
|
1108
|
-
const
|
|
1109
|
-
if (h > 0 &&
|
|
1108
|
+
const M = h === 0 ? l[0] ?? r.initialPageParam : fs(r, u);
|
|
1109
|
+
if (h > 0 && M == null)
|
|
1110
1110
|
break;
|
|
1111
|
-
u = await
|
|
1111
|
+
u = await j(u, M), h++;
|
|
1112
1112
|
} while (h < A);
|
|
1113
1113
|
}
|
|
1114
1114
|
return u;
|
|
@@ -1130,7 +1130,7 @@ function hs(t) {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
};
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function fs(t, { pages: e, pageParams: s }) {
|
|
1134
1134
|
const r = e.length - 1;
|
|
1135
1135
|
return e.length > 0 ? t.getNextPageParam(
|
|
1136
1136
|
e[r],
|
|
@@ -1139,27 +1139,27 @@ function ds(t, { pages: e, pageParams: s }) {
|
|
|
1139
1139
|
s
|
|
1140
1140
|
) : void 0;
|
|
1141
1141
|
}
|
|
1142
|
-
function
|
|
1142
|
+
function Ir(t, { pages: e, pageParams: s }) {
|
|
1143
1143
|
var r;
|
|
1144
1144
|
return e.length > 0 ? (r = t.getPreviousPageParam) == null ? void 0 : r.call(t, e[0], e, s[0], s) : void 0;
|
|
1145
1145
|
}
|
|
1146
|
-
var
|
|
1146
|
+
var z, yt, gt, Xt, Yt, vt, Jt, It, zs, Xs = (zs = class {
|
|
1147
1147
|
constructor(t = {}) {
|
|
1148
|
-
b(this,
|
|
1148
|
+
b(this, z);
|
|
1149
1149
|
b(this, yt);
|
|
1150
1150
|
b(this, gt);
|
|
1151
|
-
b(this, Yt);
|
|
1152
1151
|
b(this, Xt);
|
|
1152
|
+
b(this, Yt);
|
|
1153
1153
|
b(this, vt);
|
|
1154
1154
|
b(this, Jt);
|
|
1155
1155
|
b(this, It);
|
|
1156
|
-
y(this,
|
|
1156
|
+
y(this, z, t.queryCache || new Xr()), y(this, yt, t.mutationCache || new Jr()), y(this, gt, t.defaultOptions || {}), y(this, Xt, /* @__PURE__ */ new Map()), y(this, Yt, /* @__PURE__ */ new Map()), y(this, vt, 0);
|
|
1157
1157
|
}
|
|
1158
1158
|
mount() {
|
|
1159
|
-
de(this, vt)._++, c(this, vt) === 1 && (y(this, Jt,
|
|
1160
|
-
t && (await this.resumePausedMutations(), c(this,
|
|
1159
|
+
de(this, vt)._++, c(this, vt) === 1 && (y(this, Jt, Xe.subscribe(async (t) => {
|
|
1160
|
+
t && (await this.resumePausedMutations(), c(this, z).onFocus());
|
|
1161
1161
|
})), y(this, It, ve.subscribe(async (t) => {
|
|
1162
|
-
t && (await this.resumePausedMutations(), c(this,
|
|
1162
|
+
t && (await this.resumePausedMutations(), c(this, z).onOnline());
|
|
1163
1163
|
})));
|
|
1164
1164
|
}
|
|
1165
1165
|
unmount() {
|
|
@@ -1167,7 +1167,7 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1167
1167
|
de(this, vt)._--, c(this, vt) === 0 && ((t = c(this, Jt)) == null || t.call(this), y(this, Jt, void 0), (e = c(this, It)) == null || e.call(this), y(this, It, void 0));
|
|
1168
1168
|
}
|
|
1169
1169
|
isFetching(t) {
|
|
1170
|
-
return c(this,
|
|
1170
|
+
return c(this, z).findAll({ ...t, fetchStatus: "fetching" }).length;
|
|
1171
1171
|
}
|
|
1172
1172
|
isMutating(t) {
|
|
1173
1173
|
return c(this, yt).findAll({ ...t, status: "pending" }).length;
|
|
@@ -1182,28 +1182,28 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1182
1182
|
getQueryData(t) {
|
|
1183
1183
|
var s;
|
|
1184
1184
|
const e = this.defaultQueryOptions({ queryKey: t });
|
|
1185
|
-
return (s = c(this,
|
|
1185
|
+
return (s = c(this, z).get(e.queryHash)) == null ? void 0 : s.state.data;
|
|
1186
1186
|
}
|
|
1187
1187
|
ensureQueryData(t) {
|
|
1188
|
-
const e = this.defaultQueryOptions(t), s = c(this,
|
|
1188
|
+
const e = this.defaultQueryOptions(t), s = c(this, z).build(this, e), r = s.state.data;
|
|
1189
1189
|
return r === void 0 ? this.fetchQuery(t) : (t.revalidateIfStale && s.isStaleByTime(St(e.staleTime, s)) && this.prefetchQuery(e), Promise.resolve(r));
|
|
1190
1190
|
}
|
|
1191
1191
|
getQueriesData(t) {
|
|
1192
|
-
return c(this,
|
|
1192
|
+
return c(this, z).findAll(t).map(({ queryKey: e, state: s }) => {
|
|
1193
1193
|
const r = s.data;
|
|
1194
1194
|
return [e, r];
|
|
1195
1195
|
});
|
|
1196
1196
|
}
|
|
1197
1197
|
setQueryData(t, e, s) {
|
|
1198
|
-
const r = this.defaultQueryOptions({ queryKey: t }), i = c(this,
|
|
1198
|
+
const r = this.defaultQueryOptions({ queryKey: t }), i = c(this, z).get(
|
|
1199
1199
|
r.queryHash
|
|
1200
|
-
), o = i == null ? void 0 : i.state.data, l =
|
|
1200
|
+
), o = i == null ? void 0 : i.state.data, l = Dr(e, o);
|
|
1201
1201
|
if (l !== void 0)
|
|
1202
|
-
return c(this,
|
|
1202
|
+
return c(this, z).build(this, r).setData(l, { ...s, manual: !0 });
|
|
1203
1203
|
}
|
|
1204
1204
|
setQueriesData(t, e, s) {
|
|
1205
1205
|
return U.batch(
|
|
1206
|
-
() => c(this,
|
|
1206
|
+
() => c(this, z).findAll(t).map(({ queryKey: r }) => [
|
|
1207
1207
|
r,
|
|
1208
1208
|
this.setQueryData(r, e, s)
|
|
1209
1209
|
])
|
|
@@ -1212,12 +1212,12 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1212
1212
|
getQueryState(t) {
|
|
1213
1213
|
var s;
|
|
1214
1214
|
const e = this.defaultQueryOptions({ queryKey: t });
|
|
1215
|
-
return (s = c(this,
|
|
1215
|
+
return (s = c(this, z).get(
|
|
1216
1216
|
e.queryHash
|
|
1217
1217
|
)) == null ? void 0 : s.state;
|
|
1218
1218
|
}
|
|
1219
1219
|
removeQueries(t) {
|
|
1220
|
-
const e = c(this,
|
|
1220
|
+
const e = c(this, z);
|
|
1221
1221
|
U.batch(() => {
|
|
1222
1222
|
e.findAll(t).forEach((s) => {
|
|
1223
1223
|
e.remove(s);
|
|
@@ -1225,7 +1225,7 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1225
1225
|
});
|
|
1226
1226
|
}
|
|
1227
1227
|
resetQueries(t, e) {
|
|
1228
|
-
const s = c(this,
|
|
1228
|
+
const s = c(this, z);
|
|
1229
1229
|
return U.batch(() => (s.findAll(t).forEach((r) => {
|
|
1230
1230
|
r.reset();
|
|
1231
1231
|
}), this.refetchQueries(
|
|
@@ -1238,12 +1238,12 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
cancelQueries(t, e = {}) {
|
|
1240
1240
|
const s = { revert: !0, ...e }, r = U.batch(
|
|
1241
|
-
() => c(this,
|
|
1241
|
+
() => c(this, z).findAll(t).map((i) => i.cancel(s))
|
|
1242
1242
|
);
|
|
1243
|
-
return Promise.all(r).then(
|
|
1243
|
+
return Promise.all(r).then(G).catch(G);
|
|
1244
1244
|
}
|
|
1245
1245
|
invalidateQueries(t, e = {}) {
|
|
1246
|
-
return U.batch(() => (c(this,
|
|
1246
|
+
return U.batch(() => (c(this, z).findAll(t).forEach((s) => {
|
|
1247
1247
|
s.invalidate();
|
|
1248
1248
|
}), (t == null ? void 0 : t.refetchType) === "none" ? Promise.resolve() : this.refetchQueries(
|
|
1249
1249
|
{
|
|
@@ -1258,38 +1258,38 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1258
1258
|
...e,
|
|
1259
1259
|
cancelRefetch: e.cancelRefetch ?? !0
|
|
1260
1260
|
}, r = U.batch(
|
|
1261
|
-
() => c(this,
|
|
1261
|
+
() => c(this, z).findAll(t).filter((i) => !i.isDisabled() && !i.isStatic()).map((i) => {
|
|
1262
1262
|
let o = i.fetch(void 0, s);
|
|
1263
|
-
return s.throwOnError || (o = o.catch(
|
|
1263
|
+
return s.throwOnError || (o = o.catch(G)), i.state.fetchStatus === "paused" ? Promise.resolve() : o;
|
|
1264
1264
|
})
|
|
1265
1265
|
);
|
|
1266
|
-
return Promise.all(r).then(
|
|
1266
|
+
return Promise.all(r).then(G);
|
|
1267
1267
|
}
|
|
1268
1268
|
fetchQuery(t) {
|
|
1269
1269
|
const e = this.defaultQueryOptions(t);
|
|
1270
1270
|
e.retry === void 0 && (e.retry = !1);
|
|
1271
|
-
const s = c(this,
|
|
1271
|
+
const s = c(this, z).build(this, e);
|
|
1272
1272
|
return s.isStaleByTime(
|
|
1273
1273
|
St(e.staleTime, s)
|
|
1274
1274
|
) ? s.fetch(e) : Promise.resolve(s.state.data);
|
|
1275
1275
|
}
|
|
1276
1276
|
prefetchQuery(t) {
|
|
1277
|
-
return this.fetchQuery(t).then(
|
|
1277
|
+
return this.fetchQuery(t).then(G).catch(G);
|
|
1278
1278
|
}
|
|
1279
1279
|
fetchInfiniteQuery(t) {
|
|
1280
|
-
return t.behavior =
|
|
1280
|
+
return t.behavior = ds(t.pages), this.fetchQuery(t);
|
|
1281
1281
|
}
|
|
1282
1282
|
prefetchInfiniteQuery(t) {
|
|
1283
|
-
return this.fetchInfiniteQuery(t).then(
|
|
1283
|
+
return this.fetchInfiniteQuery(t).then(G).catch(G);
|
|
1284
1284
|
}
|
|
1285
1285
|
ensureInfiniteQueryData(t) {
|
|
1286
|
-
return t.behavior =
|
|
1286
|
+
return t.behavior = ds(t.pages), this.ensureQueryData(t);
|
|
1287
1287
|
}
|
|
1288
1288
|
resumePausedMutations() {
|
|
1289
1289
|
return ve.isOnline() ? c(this, yt).resumePausedMutations() : Promise.resolve();
|
|
1290
1290
|
}
|
|
1291
1291
|
getQueryCache() {
|
|
1292
|
-
return c(this,
|
|
1292
|
+
return c(this, z);
|
|
1293
1293
|
}
|
|
1294
1294
|
getMutationCache() {
|
|
1295
1295
|
return c(this, yt);
|
|
@@ -1301,25 +1301,25 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1301
1301
|
y(this, gt, t);
|
|
1302
1302
|
}
|
|
1303
1303
|
setQueryDefaults(t, e) {
|
|
1304
|
-
c(this,
|
|
1304
|
+
c(this, Xt).set(Ft(t), {
|
|
1305
1305
|
queryKey: t,
|
|
1306
1306
|
defaultOptions: e
|
|
1307
1307
|
});
|
|
1308
1308
|
}
|
|
1309
1309
|
getQueryDefaults(t) {
|
|
1310
|
-
const e = [...c(this,
|
|
1310
|
+
const e = [...c(this, Xt).values()], s = {};
|
|
1311
1311
|
return e.forEach((r) => {
|
|
1312
1312
|
ne(t, r.queryKey) && Object.assign(s, r.defaultOptions);
|
|
1313
1313
|
}), s;
|
|
1314
1314
|
}
|
|
1315
1315
|
setMutationDefaults(t, e) {
|
|
1316
|
-
c(this,
|
|
1316
|
+
c(this, Yt).set(Ft(t), {
|
|
1317
1317
|
mutationKey: t,
|
|
1318
1318
|
defaultOptions: e
|
|
1319
1319
|
});
|
|
1320
1320
|
}
|
|
1321
1321
|
getMutationDefaults(t) {
|
|
1322
|
-
const e = [...c(this,
|
|
1322
|
+
const e = [...c(this, Yt).values()], s = {};
|
|
1323
1323
|
return e.forEach((r) => {
|
|
1324
1324
|
ne(t, r.mutationKey) && Object.assign(s, r.defaultOptions);
|
|
1325
1325
|
}), s;
|
|
@@ -1333,10 +1333,10 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1333
1333
|
...t,
|
|
1334
1334
|
_defaulted: !0
|
|
1335
1335
|
};
|
|
1336
|
-
return e.queryHash || (e.queryHash =
|
|
1336
|
+
return e.queryHash || (e.queryHash = We(
|
|
1337
1337
|
e.queryKey,
|
|
1338
1338
|
e
|
|
1339
|
-
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn ===
|
|
1339
|
+
)), e.refetchOnReconnect === void 0 && (e.refetchOnReconnect = e.networkMode !== "always"), e.throwOnError === void 0 && (e.throwOnError = !!e.suspense), !e.networkMode && e.persister && (e.networkMode = "offlineFirst"), e.queryFn === Ze && (e.enabled = !1), e;
|
|
1340
1340
|
}
|
|
1341
1341
|
defaultMutationOptions(t) {
|
|
1342
1342
|
return t != null && t._defaulted ? t : {
|
|
@@ -1347,16 +1347,16 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1347
1347
|
};
|
|
1348
1348
|
}
|
|
1349
1349
|
clear() {
|
|
1350
|
-
c(this,
|
|
1350
|
+
c(this, z).clear(), c(this, yt).clear();
|
|
1351
1351
|
}
|
|
1352
|
-
},
|
|
1352
|
+
}, z = new WeakMap(), yt = new WeakMap(), gt = new WeakMap(), Xt = new WeakMap(), Yt = new WeakMap(), vt = new WeakMap(), Jt = new WeakMap(), It = new WeakMap(), zs), K, _, le, q, Mt, Bt, Ct, bt, ce, te, ee, Rt, Lt, xt, se, N, ie, Me, Re, Le, ze, Fe, De, $e, Ys, Fs, Br = (Fs = class extends re {
|
|
1353
1353
|
constructor(e, s) {
|
|
1354
1354
|
super();
|
|
1355
|
-
b(this,
|
|
1355
|
+
b(this, N);
|
|
1356
1356
|
b(this, K);
|
|
1357
|
-
b(this,
|
|
1357
|
+
b(this, _);
|
|
1358
1358
|
b(this, le);
|
|
1359
|
-
b(this,
|
|
1359
|
+
b(this, q);
|
|
1360
1360
|
b(this, Mt);
|
|
1361
1361
|
b(this, Bt);
|
|
1362
1362
|
b(this, Ct);
|
|
@@ -1370,7 +1370,7 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1370
1370
|
b(this, Lt);
|
|
1371
1371
|
b(this, xt);
|
|
1372
1372
|
b(this, se, /* @__PURE__ */ new Set());
|
|
1373
|
-
this.options = s, y(this, K, e), y(this, bt, null), y(this, Ct,
|
|
1373
|
+
this.options = s, y(this, K, e), y(this, bt, null), y(this, Ct, Te()), this.options.experimental_prefetchInRender || c(this, Ct).reject(
|
|
1374
1374
|
new Error("experimental_prefetchInRender feature flag is not enabled")
|
|
1375
1375
|
), this.bindMethods(), this.setOptions(s);
|
|
1376
1376
|
}
|
|
@@ -1378,55 +1378,55 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1378
1378
|
this.refetch = this.refetch.bind(this);
|
|
1379
1379
|
}
|
|
1380
1380
|
onSubscribe() {
|
|
1381
|
-
this.listeners.size === 1 && (c(this,
|
|
1381
|
+
this.listeners.size === 1 && (c(this, _).addObserver(this), ps(c(this, _), this.options) ? w(this, N, ie).call(this) : this.updateResult(), w(this, N, ze).call(this));
|
|
1382
1382
|
}
|
|
1383
1383
|
onUnsubscribe() {
|
|
1384
1384
|
this.hasListeners() || this.destroy();
|
|
1385
1385
|
}
|
|
1386
1386
|
shouldFetchOnReconnect() {
|
|
1387
|
-
return
|
|
1388
|
-
c(this,
|
|
1387
|
+
return Ue(
|
|
1388
|
+
c(this, _),
|
|
1389
1389
|
this.options,
|
|
1390
1390
|
this.options.refetchOnReconnect
|
|
1391
1391
|
);
|
|
1392
1392
|
}
|
|
1393
1393
|
shouldFetchOnWindowFocus() {
|
|
1394
|
-
return
|
|
1395
|
-
c(this,
|
|
1394
|
+
return Ue(
|
|
1395
|
+
c(this, _),
|
|
1396
1396
|
this.options,
|
|
1397
1397
|
this.options.refetchOnWindowFocus
|
|
1398
1398
|
);
|
|
1399
1399
|
}
|
|
1400
1400
|
destroy() {
|
|
1401
|
-
this.listeners = /* @__PURE__ */ new Set(), w(this,
|
|
1401
|
+
this.listeners = /* @__PURE__ */ new Set(), w(this, N, Fe).call(this), w(this, N, De).call(this), c(this, _).removeObserver(this);
|
|
1402
1402
|
}
|
|
1403
1403
|
setOptions(e) {
|
|
1404
|
-
const s = this.options, r = c(this,
|
|
1405
|
-
if (this.options = c(this, K).defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof tt(this.options.enabled, c(this,
|
|
1404
|
+
const s = this.options, r = c(this, _);
|
|
1405
|
+
if (this.options = c(this, K).defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof tt(this.options.enabled, c(this, _)) != "boolean")
|
|
1406
1406
|
throw new Error(
|
|
1407
1407
|
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
1408
1408
|
);
|
|
1409
|
-
w(this,
|
|
1409
|
+
w(this, N, $e).call(this), c(this, _).setOptions(this.options), s._defaulted && !ge(this.options, s) && c(this, K).getQueryCache().notify({
|
|
1410
1410
|
type: "observerOptionsUpdated",
|
|
1411
|
-
query: c(this,
|
|
1411
|
+
query: c(this, _),
|
|
1412
1412
|
observer: this
|
|
1413
1413
|
});
|
|
1414
1414
|
const i = this.hasListeners();
|
|
1415
|
-
i &&
|
|
1416
|
-
c(this,
|
|
1415
|
+
i && ms(
|
|
1416
|
+
c(this, _),
|
|
1417
1417
|
r,
|
|
1418
1418
|
this.options,
|
|
1419
1419
|
s
|
|
1420
|
-
) && w(this,
|
|
1421
|
-
const o = w(this,
|
|
1422
|
-
i && (c(this,
|
|
1420
|
+
) && w(this, N, ie).call(this), this.updateResult(), i && (c(this, _) !== r || tt(this.options.enabled, c(this, _)) !== tt(s.enabled, c(this, _)) || St(this.options.staleTime, c(this, _)) !== St(s.staleTime, c(this, _))) && w(this, N, Me).call(this);
|
|
1421
|
+
const o = w(this, N, Re).call(this);
|
|
1422
|
+
i && (c(this, _) !== r || tt(this.options.enabled, c(this, _)) !== tt(s.enabled, c(this, _)) || o !== c(this, xt)) && w(this, N, Le).call(this, o);
|
|
1423
1423
|
}
|
|
1424
1424
|
getOptimisticResult(e) {
|
|
1425
1425
|
const s = c(this, K).getQueryCache().build(c(this, K), e), r = this.createResult(s, e);
|
|
1426
|
-
return
|
|
1426
|
+
return ei(this, r) && (y(this, q, r), y(this, Bt, this.options), y(this, Mt, c(this, _).state)), r;
|
|
1427
1427
|
}
|
|
1428
1428
|
getCurrentResult() {
|
|
1429
|
-
return c(this,
|
|
1429
|
+
return c(this, q);
|
|
1430
1430
|
}
|
|
1431
1431
|
trackResult(e, s) {
|
|
1432
1432
|
return new Proxy(e, {
|
|
@@ -1437,7 +1437,7 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1437
1437
|
c(this, se).add(e);
|
|
1438
1438
|
}
|
|
1439
1439
|
getCurrentQuery() {
|
|
1440
|
-
return c(this,
|
|
1440
|
+
return c(this, _);
|
|
1441
1441
|
}
|
|
1442
1442
|
refetch({ ...e } = {}) {
|
|
1443
1443
|
return this.fetch({
|
|
@@ -1449,33 +1449,33 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1449
1449
|
return r.fetch().then(() => this.createResult(r, s));
|
|
1450
1450
|
}
|
|
1451
1451
|
fetch(e) {
|
|
1452
|
-
return w(this,
|
|
1452
|
+
return w(this, N, ie).call(this, {
|
|
1453
1453
|
...e,
|
|
1454
1454
|
cancelRefetch: e.cancelRefetch ?? !0
|
|
1455
|
-
}).then(() => (this.updateResult(), c(this,
|
|
1455
|
+
}).then(() => (this.updateResult(), c(this, q)));
|
|
1456
1456
|
}
|
|
1457
1457
|
createResult(e, s) {
|
|
1458
|
-
var
|
|
1459
|
-
const r = c(this,
|
|
1458
|
+
var P;
|
|
1459
|
+
const r = c(this, _), i = this.options, o = c(this, q), l = c(this, Mt), u = c(this, Bt), d = e !== r ? e.state : c(this, le), { state: f } = e;
|
|
1460
1460
|
let p = { ...f }, g = !1, m;
|
|
1461
1461
|
if (s._optimisticResults) {
|
|
1462
|
-
const
|
|
1463
|
-
(R ||
|
|
1462
|
+
const T = this.hasListeners(), R = !T && ps(e, s), H = T && ms(e, r, s, i);
|
|
1463
|
+
(R || H) && (p = {
|
|
1464
1464
|
...p,
|
|
1465
|
-
...
|
|
1465
|
+
...Ws(f.data, e.options)
|
|
1466
1466
|
}), s._optimisticResults === "isRestoring" && (p.fetchStatus = "idle");
|
|
1467
1467
|
}
|
|
1468
1468
|
let { error: x, errorUpdatedAt: v, status: C } = p;
|
|
1469
1469
|
m = p.data;
|
|
1470
1470
|
let k = !1;
|
|
1471
1471
|
if (s.placeholderData !== void 0 && m === void 0 && C === "pending") {
|
|
1472
|
-
let
|
|
1473
|
-
o != null && o.isPlaceholderData && s.placeholderData === (u == null ? void 0 : u.placeholderData) ? (
|
|
1474
|
-
(
|
|
1472
|
+
let T;
|
|
1473
|
+
o != null && o.isPlaceholderData && s.placeholderData === (u == null ? void 0 : u.placeholderData) ? (T = o.data, k = !0) : T = typeof s.placeholderData == "function" ? s.placeholderData(
|
|
1474
|
+
(P = c(this, ee)) == null ? void 0 : P.state.data,
|
|
1475
1475
|
c(this, ee)
|
|
1476
|
-
) : s.placeholderData,
|
|
1476
|
+
) : s.placeholderData, T !== void 0 && (C = "success", m = Pe(
|
|
1477
1477
|
o == null ? void 0 : o.data,
|
|
1478
|
-
|
|
1478
|
+
T,
|
|
1479
1479
|
s
|
|
1480
1480
|
), g = !0);
|
|
1481
1481
|
}
|
|
@@ -1484,19 +1484,19 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1484
1484
|
m = c(this, te);
|
|
1485
1485
|
else
|
|
1486
1486
|
try {
|
|
1487
|
-
y(this, ce, s.select), m = s.select(m), m =
|
|
1488
|
-
} catch (
|
|
1489
|
-
y(this, bt,
|
|
1487
|
+
y(this, ce, s.select), m = s.select(m), m = Pe(o == null ? void 0 : o.data, m, s), y(this, te, m), y(this, bt, null);
|
|
1488
|
+
} catch (T) {
|
|
1489
|
+
y(this, bt, T);
|
|
1490
1490
|
}
|
|
1491
1491
|
c(this, bt) && (x = c(this, bt), m = c(this, te), v = Date.now(), C = "error");
|
|
1492
|
-
const
|
|
1492
|
+
const j = p.fetchStatus === "fetching", A = C === "pending", M = C === "error", F = A && j, D = m !== void 0, $ = {
|
|
1493
1493
|
status: C,
|
|
1494
1494
|
fetchStatus: p.fetchStatus,
|
|
1495
1495
|
isPending: A,
|
|
1496
1496
|
isSuccess: C === "success",
|
|
1497
|
-
isError:
|
|
1498
|
-
isInitialLoading:
|
|
1499
|
-
isLoading:
|
|
1497
|
+
isError: M,
|
|
1498
|
+
isInitialLoading: F,
|
|
1499
|
+
isLoading: F,
|
|
1500
1500
|
data: m,
|
|
1501
1501
|
dataUpdatedAt: p.dataUpdatedAt,
|
|
1502
1502
|
error: x,
|
|
@@ -1506,42 +1506,42 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1506
1506
|
errorUpdateCount: p.errorUpdateCount,
|
|
1507
1507
|
isFetched: p.dataUpdateCount > 0 || p.errorUpdateCount > 0,
|
|
1508
1508
|
isFetchedAfterMount: p.dataUpdateCount > d.dataUpdateCount || p.errorUpdateCount > d.errorUpdateCount,
|
|
1509
|
-
isFetching:
|
|
1510
|
-
isRefetching:
|
|
1511
|
-
isLoadingError:
|
|
1509
|
+
isFetching: j,
|
|
1510
|
+
isRefetching: j && !A,
|
|
1511
|
+
isLoadingError: M && !D,
|
|
1512
1512
|
isPaused: p.fetchStatus === "paused",
|
|
1513
1513
|
isPlaceholderData: g,
|
|
1514
|
-
isRefetchError:
|
|
1514
|
+
isRefetchError: M && D,
|
|
1515
1515
|
isStale: Ye(e, s),
|
|
1516
1516
|
refetch: this.refetch,
|
|
1517
1517
|
promise: c(this, Ct)
|
|
1518
1518
|
};
|
|
1519
1519
|
if (this.options.experimental_prefetchInRender) {
|
|
1520
|
-
const
|
|
1521
|
-
|
|
1520
|
+
const T = (kt) => {
|
|
1521
|
+
$.status === "error" ? kt.reject($.error) : $.data !== void 0 && kt.resolve($.data);
|
|
1522
1522
|
}, R = () => {
|
|
1523
|
-
const kt = y(this, Ct,
|
|
1524
|
-
|
|
1525
|
-
},
|
|
1526
|
-
switch (
|
|
1523
|
+
const kt = y(this, Ct, $.promise = Te());
|
|
1524
|
+
T(kt);
|
|
1525
|
+
}, H = c(this, Ct);
|
|
1526
|
+
switch (H.status) {
|
|
1527
1527
|
case "pending":
|
|
1528
|
-
e.queryHash === r.queryHash &&
|
|
1528
|
+
e.queryHash === r.queryHash && T(H);
|
|
1529
1529
|
break;
|
|
1530
1530
|
case "fulfilled":
|
|
1531
|
-
(
|
|
1531
|
+
($.status === "error" || $.data !== H.value) && R();
|
|
1532
1532
|
break;
|
|
1533
1533
|
case "rejected":
|
|
1534
|
-
(
|
|
1534
|
+
($.status !== "error" || $.error !== H.reason) && R();
|
|
1535
1535
|
break;
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
|
-
return
|
|
1538
|
+
return $;
|
|
1539
1539
|
}
|
|
1540
1540
|
updateResult() {
|
|
1541
|
-
const e = c(this,
|
|
1542
|
-
if (y(this, Mt, c(this,
|
|
1541
|
+
const e = c(this, q), s = this.createResult(c(this, _), this.options);
|
|
1542
|
+
if (y(this, Mt, c(this, _).state), y(this, Bt, this.options), c(this, Mt).data !== void 0 && y(this, ee, c(this, _)), ge(s, e))
|
|
1543
1543
|
return;
|
|
1544
|
-
y(this,
|
|
1544
|
+
y(this, q, s);
|
|
1545
1545
|
const r = () => {
|
|
1546
1546
|
if (!e)
|
|
1547
1547
|
return !0;
|
|
@@ -1551,86 +1551,86 @@ var L, yt, gt, Yt, Xt, vt, Jt, It, Ls, Zs = (Ls = class {
|
|
|
1551
1551
|
const l = new Set(
|
|
1552
1552
|
o ?? c(this, se)
|
|
1553
1553
|
);
|
|
1554
|
-
return this.options.throwOnError && l.add("error"), Object.keys(c(this,
|
|
1554
|
+
return this.options.throwOnError && l.add("error"), Object.keys(c(this, q)).some((u) => {
|
|
1555
1555
|
const h = u;
|
|
1556
|
-
return c(this,
|
|
1556
|
+
return c(this, q)[h] !== e[h] && l.has(h);
|
|
1557
1557
|
});
|
|
1558
1558
|
};
|
|
1559
|
-
w(this,
|
|
1559
|
+
w(this, N, Ys).call(this, { listeners: r() });
|
|
1560
1560
|
}
|
|
1561
1561
|
onQueryUpdate() {
|
|
1562
|
-
this.updateResult(), this.hasListeners() && w(this,
|
|
1562
|
+
this.updateResult(), this.hasListeners() && w(this, N, ze).call(this);
|
|
1563
1563
|
}
|
|
1564
|
-
}, K = new WeakMap(),
|
|
1565
|
-
w(this,
|
|
1566
|
-
let s = c(this,
|
|
1564
|
+
}, K = new WeakMap(), _ = new WeakMap(), le = new WeakMap(), q = new WeakMap(), Mt = new WeakMap(), Bt = new WeakMap(), Ct = new WeakMap(), bt = new WeakMap(), ce = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), Rt = new WeakMap(), Lt = new WeakMap(), xt = new WeakMap(), se = new WeakMap(), N = new WeakSet(), ie = function(e) {
|
|
1565
|
+
w(this, N, $e).call(this);
|
|
1566
|
+
let s = c(this, _).fetch(
|
|
1567
1567
|
this.options,
|
|
1568
1568
|
e
|
|
1569
1569
|
);
|
|
1570
|
-
return e != null && e.throwOnError || (s = s.catch(
|
|
1571
|
-
},
|
|
1572
|
-
w(this,
|
|
1570
|
+
return e != null && e.throwOnError || (s = s.catch(G)), s;
|
|
1571
|
+
}, Me = function() {
|
|
1572
|
+
w(this, N, Fe).call(this);
|
|
1573
1573
|
const e = St(
|
|
1574
1574
|
this.options.staleTime,
|
|
1575
|
-
c(this,
|
|
1575
|
+
c(this, _)
|
|
1576
1576
|
);
|
|
1577
|
-
if (zt || c(this,
|
|
1577
|
+
if (zt || c(this, q).isStale || !Ae(e))
|
|
1578
1578
|
return;
|
|
1579
|
-
const r =
|
|
1579
|
+
const r = $s(c(this, q).dataUpdatedAt, e) + 1;
|
|
1580
1580
|
y(this, Rt, setTimeout(() => {
|
|
1581
|
-
c(this,
|
|
1581
|
+
c(this, q).isStale || this.updateResult();
|
|
1582
1582
|
}, r));
|
|
1583
|
-
},
|
|
1584
|
-
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(c(this,
|
|
1585
|
-
},
|
|
1586
|
-
w(this,
|
|
1587
|
-
(this.options.refetchIntervalInBackground ||
|
|
1583
|
+
}, Re = function() {
|
|
1584
|
+
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(c(this, _)) : this.options.refetchInterval) ?? !1;
|
|
1585
|
+
}, Le = function(e) {
|
|
1586
|
+
w(this, N, De).call(this), y(this, xt, e), !(zt || tt(this.options.enabled, c(this, _)) === !1 || !Ae(c(this, xt)) || c(this, xt) === 0) && y(this, Lt, setInterval(() => {
|
|
1587
|
+
(this.options.refetchIntervalInBackground || Xe.isFocused()) && w(this, N, ie).call(this);
|
|
1588
1588
|
}, c(this, xt)));
|
|
1589
|
-
}, Le = function() {
|
|
1590
|
-
w(this, P, Te).call(this), w(this, P, Re).call(this, w(this, P, Me).call(this));
|
|
1591
1589
|
}, ze = function() {
|
|
1592
|
-
|
|
1590
|
+
w(this, N, Me).call(this), w(this, N, Le).call(this, w(this, N, Re).call(this));
|
|
1593
1591
|
}, Fe = function() {
|
|
1594
|
-
c(this,
|
|
1592
|
+
c(this, Rt) && (clearTimeout(c(this, Rt)), y(this, Rt, void 0));
|
|
1595
1593
|
}, De = function() {
|
|
1594
|
+
c(this, Lt) && (clearInterval(c(this, Lt)), y(this, Lt, void 0));
|
|
1595
|
+
}, $e = function() {
|
|
1596
1596
|
const e = c(this, K).getQueryCache().build(c(this, K), this.options);
|
|
1597
|
-
if (e === c(this,
|
|
1597
|
+
if (e === c(this, _))
|
|
1598
1598
|
return;
|
|
1599
|
-
const s = c(this,
|
|
1600
|
-
y(this,
|
|
1599
|
+
const s = c(this, _);
|
|
1600
|
+
y(this, _, e), y(this, le, e.state), this.hasListeners() && (s == null || s.removeObserver(this), e.addObserver(this));
|
|
1601
1601
|
}, Ys = function(e) {
|
|
1602
1602
|
U.batch(() => {
|
|
1603
1603
|
e.listeners && this.listeners.forEach((s) => {
|
|
1604
|
-
s(c(this,
|
|
1604
|
+
s(c(this, q));
|
|
1605
1605
|
}), c(this, K).getQueryCache().notify({
|
|
1606
|
-
query: c(this,
|
|
1606
|
+
query: c(this, _),
|
|
1607
1607
|
type: "observerResultsUpdated"
|
|
1608
1608
|
});
|
|
1609
1609
|
});
|
|
1610
|
-
},
|
|
1611
|
-
function
|
|
1610
|
+
}, Fs);
|
|
1611
|
+
function ti(t, e) {
|
|
1612
1612
|
return tt(e.enabled, t) !== !1 && t.state.data === void 0 && !(t.state.status === "error" && e.retryOnMount === !1);
|
|
1613
1613
|
}
|
|
1614
|
-
function
|
|
1615
|
-
return
|
|
1614
|
+
function ps(t, e) {
|
|
1615
|
+
return ti(t, e) || t.state.data !== void 0 && Ue(t, e, e.refetchOnMount);
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1617
|
+
function Ue(t, e, s) {
|
|
1618
1618
|
if (tt(e.enabled, t) !== !1 && St(e.staleTime, t) !== "static") {
|
|
1619
1619
|
const r = typeof s == "function" ? s(t) : s;
|
|
1620
1620
|
return r === "always" || r !== !1 && Ye(t, e);
|
|
1621
1621
|
}
|
|
1622
1622
|
return !1;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1624
|
+
function ms(t, e, s, r) {
|
|
1625
1625
|
return (t !== e || tt(r.enabled, t) === !1) && (!s.suspense || t.state.status !== "error") && Ye(t, s);
|
|
1626
1626
|
}
|
|
1627
1627
|
function Ye(t, e) {
|
|
1628
1628
|
return tt(e.enabled, t) !== !1 && t.isStaleByTime(St(e.staleTime, t));
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function ei(t, e) {
|
|
1631
1631
|
return !ge(t.getCurrentResult(), e);
|
|
1632
1632
|
}
|
|
1633
|
-
var wt, jt, W, ut, ht, ye,
|
|
1633
|
+
var wt, jt, W, ut, ht, ye, Qe, Ds, si = (Ds = class extends re {
|
|
1634
1634
|
constructor(e, s) {
|
|
1635
1635
|
super();
|
|
1636
1636
|
b(this, ht);
|
|
@@ -1657,14 +1657,14 @@ var wt, jt, W, ut, ht, ye, Ue, Fs, ei = (Fs = class extends re {
|
|
|
1657
1657
|
this.hasListeners() || (e = c(this, W)) == null || e.removeObserver(this);
|
|
1658
1658
|
}
|
|
1659
1659
|
onMutationUpdate(e) {
|
|
1660
|
-
w(this, ht, ye).call(this), w(this, ht,
|
|
1660
|
+
w(this, ht, ye).call(this), w(this, ht, Qe).call(this, e);
|
|
1661
1661
|
}
|
|
1662
1662
|
getCurrentResult() {
|
|
1663
1663
|
return c(this, jt);
|
|
1664
1664
|
}
|
|
1665
1665
|
reset() {
|
|
1666
1666
|
var e;
|
|
1667
|
-
(e = c(this, W)) == null || e.removeObserver(this), y(this, W, void 0), w(this, ht, ye).call(this), w(this, ht,
|
|
1667
|
+
(e = c(this, W)) == null || e.removeObserver(this), y(this, W, void 0), w(this, ht, ye).call(this), w(this, ht, Qe).call(this);
|
|
1668
1668
|
}
|
|
1669
1669
|
mutate(e, s) {
|
|
1670
1670
|
var r;
|
|
@@ -1672,7 +1672,7 @@ var wt, jt, W, ut, ht, ye, Ue, Fs, ei = (Fs = class extends re {
|
|
|
1672
1672
|
}
|
|
1673
1673
|
}, wt = new WeakMap(), jt = new WeakMap(), W = new WeakMap(), ut = new WeakMap(), ht = new WeakSet(), ye = function() {
|
|
1674
1674
|
var s;
|
|
1675
|
-
const e = ((s = c(this, W)) == null ? void 0 : s.state) ??
|
|
1675
|
+
const e = ((s = c(this, W)) == null ? void 0 : s.state) ?? Zs();
|
|
1676
1676
|
y(this, jt, {
|
|
1677
1677
|
...e,
|
|
1678
1678
|
isPending: e.status === "pending",
|
|
@@ -1682,7 +1682,7 @@ var wt, jt, W, ut, ht, ye, Ue, Fs, ei = (Fs = class extends re {
|
|
|
1682
1682
|
mutate: this.mutate,
|
|
1683
1683
|
reset: this.reset
|
|
1684
1684
|
});
|
|
1685
|
-
},
|
|
1685
|
+
}, Qe = function(e) {
|
|
1686
1686
|
U.batch(() => {
|
|
1687
1687
|
var s, r, i, o, l, u, h, d;
|
|
1688
1688
|
if (c(this, ut) && this.hasListeners()) {
|
|
@@ -1699,21 +1699,21 @@ var wt, jt, W, ut, ht, ye, Ue, Fs, ei = (Fs = class extends re {
|
|
|
1699
1699
|
f(c(this, jt));
|
|
1700
1700
|
});
|
|
1701
1701
|
});
|
|
1702
|
-
},
|
|
1702
|
+
}, Ds), Js = a.createContext(
|
|
1703
1703
|
void 0
|
|
1704
|
-
),
|
|
1705
|
-
const e = a.useContext(
|
|
1704
|
+
), Je = (t) => {
|
|
1705
|
+
const e = a.useContext(Js);
|
|
1706
1706
|
if (!e)
|
|
1707
1707
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1708
1708
|
return e;
|
|
1709
|
-
},
|
|
1709
|
+
}, ri = ({
|
|
1710
1710
|
client: t,
|
|
1711
1711
|
children: e
|
|
1712
1712
|
}) => (a.useEffect(() => (t.mount(), () => {
|
|
1713
1713
|
t.unmount();
|
|
1714
|
-
}), [t]), /* @__PURE__ */ n.jsx(
|
|
1715
|
-
|
|
1716
|
-
function
|
|
1714
|
+
}), [t]), /* @__PURE__ */ n.jsx(Js.Provider, { value: t, children: e })), Is = a.createContext(!1), ii = () => a.useContext(Is);
|
|
1715
|
+
Is.Provider;
|
|
1716
|
+
function ni() {
|
|
1717
1717
|
let t = !1;
|
|
1718
1718
|
return {
|
|
1719
1719
|
clearReset: () => {
|
|
@@ -1725,33 +1725,33 @@ function ii() {
|
|
|
1725
1725
|
isReset: () => t
|
|
1726
1726
|
};
|
|
1727
1727
|
}
|
|
1728
|
-
var
|
|
1728
|
+
var ai = a.createContext(ni()), oi = () => a.useContext(ai), li = (t, e) => {
|
|
1729
1729
|
(t.suspense || t.throwOnError || t.experimental_prefetchInRender) && (e.isReset() || (t.retryOnMount = !1));
|
|
1730
|
-
},
|
|
1730
|
+
}, ci = (t) => {
|
|
1731
1731
|
a.useEffect(() => {
|
|
1732
1732
|
t.clearReset();
|
|
1733
1733
|
}, [t]);
|
|
1734
|
-
},
|
|
1734
|
+
}, ui = ({
|
|
1735
1735
|
result: t,
|
|
1736
1736
|
errorResetBoundary: e,
|
|
1737
1737
|
throwOnError: s,
|
|
1738
1738
|
query: r,
|
|
1739
1739
|
suspense: i
|
|
1740
|
-
}) => t.isError && !e.isReset() && !t.isFetching && r && (i && t.data === void 0 ||
|
|
1740
|
+
}) => t.isError && !e.isReset() && !t.isFetching && r && (i && t.data === void 0 || Hs(s, [t.error, r])), hi = (t) => {
|
|
1741
1741
|
if (t.suspense) {
|
|
1742
1742
|
const e = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), s = t.staleTime;
|
|
1743
1743
|
t.staleTime = typeof s == "function" ? (...r) => e(s(...r)) : e(s), typeof t.gcTime == "number" && (t.gcTime = Math.max(t.gcTime, 1e3));
|
|
1744
1744
|
}
|
|
1745
|
-
},
|
|
1745
|
+
}, di = (t, e) => t.isLoading && t.isFetching && !e, fi = (t, e) => (t == null ? void 0 : t.suspense) && e.isPending, ys = (t, e, s) => e.fetchOptimistic(t).catch(() => {
|
|
1746
1746
|
s.clearReset();
|
|
1747
1747
|
});
|
|
1748
|
-
function
|
|
1748
|
+
function pi(t, e, s) {
|
|
1749
1749
|
var p, g, m, x, v;
|
|
1750
|
-
const r =
|
|
1750
|
+
const r = Je(), i = ii(), o = oi(), l = r.defaultQueryOptions(t);
|
|
1751
1751
|
(g = (p = r.getDefaultOptions().queries) == null ? void 0 : p._experimental_beforeQuery) == null || g.call(
|
|
1752
1752
|
p,
|
|
1753
1753
|
l
|
|
1754
|
-
), l._optimisticResults = i ? "isRestoring" : "optimistic",
|
|
1754
|
+
), l._optimisticResults = i ? "isRestoring" : "optimistic", hi(l), li(l, o), ci(o);
|
|
1755
1755
|
const u = !r.getQueryCache().get(l.queryHash), [h] = a.useState(
|
|
1756
1756
|
() => new e(
|
|
1757
1757
|
r,
|
|
@@ -1761,7 +1761,7 @@ function fi(t, e, s) {
|
|
|
1761
1761
|
if (a.useSyncExternalStore(
|
|
1762
1762
|
a.useCallback(
|
|
1763
1763
|
(C) => {
|
|
1764
|
-
const k = f ? h.subscribe(U.batchCalls(C)) :
|
|
1764
|
+
const k = f ? h.subscribe(U.batchCalls(C)) : G;
|
|
1765
1765
|
return h.updateResult(), k;
|
|
1766
1766
|
},
|
|
1767
1767
|
[h, f]
|
|
@@ -1770,9 +1770,9 @@ function fi(t, e, s) {
|
|
|
1770
1770
|
() => h.getCurrentResult()
|
|
1771
1771
|
), a.useEffect(() => {
|
|
1772
1772
|
h.setOptions(l);
|
|
1773
|
-
}, [l, h]),
|
|
1774
|
-
throw
|
|
1775
|
-
if (
|
|
1773
|
+
}, [l, h]), fi(l, d))
|
|
1774
|
+
throw ys(l, h, o);
|
|
1775
|
+
if (ui({
|
|
1776
1776
|
result: d,
|
|
1777
1777
|
errorResetBoundary: o,
|
|
1778
1778
|
throwOnError: l.throwOnError,
|
|
@@ -1784,26 +1784,26 @@ function fi(t, e, s) {
|
|
|
1784
1784
|
m,
|
|
1785
1785
|
l,
|
|
1786
1786
|
d
|
|
1787
|
-
), l.experimental_prefetchInRender && !zt &&
|
|
1787
|
+
), l.experimental_prefetchInRender && !zt && di(d, i)) {
|
|
1788
1788
|
const C = u ? (
|
|
1789
1789
|
// Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
|
|
1790
|
-
|
|
1790
|
+
ys(l, h, o)
|
|
1791
1791
|
) : (
|
|
1792
1792
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
1793
1793
|
(v = r.getQueryCache().get(l.queryHash)) == null ? void 0 : v.promise
|
|
1794
1794
|
);
|
|
1795
|
-
C == null || C.catch(
|
|
1795
|
+
C == null || C.catch(G).finally(() => {
|
|
1796
1796
|
h.updateResult();
|
|
1797
1797
|
});
|
|
1798
1798
|
}
|
|
1799
1799
|
return l.notifyOnChangeProps ? d : h.trackResult(d);
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1802
|
-
return
|
|
1801
|
+
function Ie(t, e) {
|
|
1802
|
+
return pi(t, Br);
|
|
1803
1803
|
}
|
|
1804
|
-
function
|
|
1805
|
-
const s =
|
|
1806
|
-
() => new
|
|
1804
|
+
function mi(t, e) {
|
|
1805
|
+
const s = Je(), [r] = a.useState(
|
|
1806
|
+
() => new si(
|
|
1807
1807
|
s,
|
|
1808
1808
|
t
|
|
1809
1809
|
)
|
|
@@ -1820,43 +1820,43 @@ function pi(t, e) {
|
|
|
1820
1820
|
() => r.getCurrentResult()
|
|
1821
1821
|
), o = a.useCallback(
|
|
1822
1822
|
(l, u) => {
|
|
1823
|
-
r.mutate(l, u).catch(
|
|
1823
|
+
r.mutate(l, u).catch(G);
|
|
1824
1824
|
},
|
|
1825
1825
|
[r]
|
|
1826
1826
|
);
|
|
1827
|
-
if (i.error &&
|
|
1827
|
+
if (i.error && Hs(r.options.throwOnError, [i.error]))
|
|
1828
1828
|
throw i.error;
|
|
1829
1829
|
return { ...i, mutate: o, mutateAsync: i.mutate };
|
|
1830
1830
|
}
|
|
1831
|
-
function
|
|
1831
|
+
function Bs(t) {
|
|
1832
1832
|
var e, s, r = "";
|
|
1833
1833
|
if (typeof t == "string" || typeof t == "number") r += t;
|
|
1834
1834
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
1835
1835
|
var i = t.length;
|
|
1836
|
-
for (e = 0; e < i; e++) t[e] && (s =
|
|
1836
|
+
for (e = 0; e < i; e++) t[e] && (s = Bs(t[e])) && (r && (r += " "), r += s);
|
|
1837
1837
|
} else for (s in t) t[s] && (r && (r += " "), r += s);
|
|
1838
1838
|
return r;
|
|
1839
1839
|
}
|
|
1840
1840
|
function O() {
|
|
1841
|
-
for (var t, e, s = 0, r = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (e =
|
|
1841
|
+
for (var t, e, s = 0, r = "", i = arguments.length; s < i; s++) (t = arguments[s]) && (e = Bs(t)) && (r && (r += " "), r += e);
|
|
1842
1842
|
return r;
|
|
1843
1843
|
}
|
|
1844
|
-
var
|
|
1844
|
+
var yi = Object.defineProperty, gi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, Ce = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, gs = (t, e, s) => e in t ? yi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, S = (t, e) => {
|
|
1845
1845
|
for (var s in e || (e = {}))
|
|
1846
|
-
|
|
1846
|
+
tr.call(e, s) && gs(t, s, e[s]);
|
|
1847
1847
|
if (Ce)
|
|
1848
1848
|
for (var s of Ce(e))
|
|
1849
|
-
|
|
1849
|
+
er.call(e, s) && gs(t, s, e[s]);
|
|
1850
1850
|
return t;
|
|
1851
|
-
}, E = (t, e) =>
|
|
1851
|
+
}, E = (t, e) => gi(t, vi(e)), L = (t, e) => {
|
|
1852
1852
|
var s = {};
|
|
1853
1853
|
for (var r in t)
|
|
1854
|
-
|
|
1854
|
+
tr.call(t, r) && e.indexOf(r) < 0 && (s[r] = t[r]);
|
|
1855
1855
|
if (t != null && Ce)
|
|
1856
1856
|
for (var r of Ce(t))
|
|
1857
|
-
e.indexOf(r) < 0 &&
|
|
1857
|
+
e.indexOf(r) < 0 && er.call(t, r) && (s[r] = t[r]);
|
|
1858
1858
|
return s;
|
|
1859
|
-
},
|
|
1859
|
+
}, Ci = ({ firstName: t, lastName: e, variant: s = "small" }) => {
|
|
1860
1860
|
const r = `${t.charAt(0)}${e.charAt(0)}`;
|
|
1861
1861
|
return /* @__PURE__ */ n.jsx(
|
|
1862
1862
|
"span",
|
|
@@ -1877,7 +1877,7 @@ var mi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwn
|
|
|
1877
1877
|
variant: u,
|
|
1878
1878
|
className: h,
|
|
1879
1879
|
children: d
|
|
1880
|
-
} = s, f =
|
|
1880
|
+
} = s, f = L(s, [
|
|
1881
1881
|
"iconLeft",
|
|
1882
1882
|
"iconRight",
|
|
1883
1883
|
"isPending",
|
|
@@ -1889,7 +1889,7 @@ var mi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwn
|
|
|
1889
1889
|
const p = !!r || !!i;
|
|
1890
1890
|
return /* @__PURE__ */ n.jsxs(
|
|
1891
1891
|
"button",
|
|
1892
|
-
E(
|
|
1892
|
+
E(S({
|
|
1893
1893
|
ref: e
|
|
1894
1894
|
}, f), {
|
|
1895
1895
|
className: O(
|
|
@@ -1911,14 +1911,14 @@ var mi = Object.defineProperty, yi = Object.defineProperties, gi = Object.getOwn
|
|
|
1911
1911
|
);
|
|
1912
1912
|
Et.displayName = "Button";
|
|
1913
1913
|
a.createContext(void 0);
|
|
1914
|
-
var
|
|
1914
|
+
var bi = a.forwardRef(
|
|
1915
1915
|
(t, e) => {
|
|
1916
|
-
var s = t, { prefix: r, suffix: i, className: o } = s, l =
|
|
1916
|
+
var s = t, { prefix: r, suffix: i, className: o } = s, l = L(s, ["prefix", "suffix", "className"]);
|
|
1917
1917
|
return /* @__PURE__ */ n.jsxs("div", { className: "input__wrapper", children: [
|
|
1918
1918
|
r && /* @__PURE__ */ n.jsx("span", { className: "input__prefix", children: r }),
|
|
1919
1919
|
/* @__PURE__ */ n.jsx(
|
|
1920
1920
|
"input",
|
|
1921
|
-
|
|
1921
|
+
S({
|
|
1922
1922
|
ref: e,
|
|
1923
1923
|
className: O(
|
|
1924
1924
|
"input",
|
|
@@ -1932,56 +1932,56 @@ var Ci = a.forwardRef(
|
|
|
1932
1932
|
] });
|
|
1933
1933
|
}
|
|
1934
1934
|
);
|
|
1935
|
-
|
|
1935
|
+
bi.displayName = "TextField";
|
|
1936
1936
|
a.createContext(void 0);
|
|
1937
|
-
var
|
|
1938
|
-
const t = a.useContext(
|
|
1937
|
+
var sr = a.createContext(null), rr = a.createContext(null), Be = () => {
|
|
1938
|
+
const t = a.useContext(sr);
|
|
1939
1939
|
if (!t)
|
|
1940
1940
|
throw new Error("This component must be used inside <NotificationBanner>.");
|
|
1941
1941
|
return t;
|
|
1942
|
-
},
|
|
1943
|
-
const t = a.useContext(
|
|
1942
|
+
}, xi = () => {
|
|
1943
|
+
const t = a.useContext(rr);
|
|
1944
1944
|
if (!t)
|
|
1945
1945
|
throw new Error("This component must be used inside <NotificationBanner.Actions>.");
|
|
1946
1946
|
return t;
|
|
1947
|
-
},
|
|
1947
|
+
}, ir = (t) => {
|
|
1948
1948
|
var e = t, {
|
|
1949
1949
|
variant: s = "info",
|
|
1950
1950
|
children: r,
|
|
1951
1951
|
className: i
|
|
1952
|
-
} = e, o =
|
|
1952
|
+
} = e, o = L(e, [
|
|
1953
1953
|
"variant",
|
|
1954
1954
|
"children",
|
|
1955
1955
|
"className"
|
|
1956
1956
|
]);
|
|
1957
|
-
return /* @__PURE__ */ n.jsx(
|
|
1957
|
+
return /* @__PURE__ */ n.jsx(sr.Provider, { value: !0, children: /* @__PURE__ */ n.jsx("div", E(S({ className: O("notification-banner", s, i) }, o), { children: r })) });
|
|
1958
1958
|
};
|
|
1959
|
-
|
|
1960
|
-
var
|
|
1961
|
-
var e = t, { children: s, className: r } = e, i =
|
|
1962
|
-
return
|
|
1963
|
-
}, wi = (t) => {
|
|
1964
|
-
var e = t, { children: s, className: r } = e, i = M(e, ["children", "className"]);
|
|
1965
|
-
return Ie(), /* @__PURE__ */ n.jsx("p", E(j({ className: O("description", r) }, i), { children: s }));
|
|
1959
|
+
ir.displayName = "NotificationBanner";
|
|
1960
|
+
var wi = (t) => {
|
|
1961
|
+
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1962
|
+
return Be(), /* @__PURE__ */ n.jsx("div", E(S({ className: O("banner-content", r) }, i), { children: s }));
|
|
1966
1963
|
}, ji = (t) => {
|
|
1967
|
-
var e = t, { children: s, className: r } = e, i =
|
|
1968
|
-
return
|
|
1964
|
+
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1965
|
+
return Be(), /* @__PURE__ */ n.jsx("p", E(S({ className: O("description", r) }, i), { children: s }));
|
|
1969
1966
|
}, Si = (t) => {
|
|
1970
|
-
var e = t, { children: s, className: r } = e, i =
|
|
1971
|
-
return
|
|
1967
|
+
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1968
|
+
return Be(), /* @__PURE__ */ n.jsx(rr.Provider, { value: !0, children: /* @__PURE__ */ n.jsx("div", E(S({ className: O("actions", r) }, i), { children: s })) });
|
|
1969
|
+
}, _i = (t) => {
|
|
1970
|
+
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1971
|
+
return xi(), /* @__PURE__ */ n.jsx(Et, E(S({ variant: "icon--secondary", className: r }, i), { children: s }));
|
|
1972
1972
|
};
|
|
1973
|
-
Object.assign(
|
|
1974
|
-
Content:
|
|
1975
|
-
Description:
|
|
1976
|
-
Actions:
|
|
1977
|
-
Button:
|
|
1973
|
+
Object.assign(ir, {
|
|
1974
|
+
Content: wi,
|
|
1975
|
+
Description: ji,
|
|
1976
|
+
Actions: Si,
|
|
1977
|
+
Button: _i
|
|
1978
1978
|
});
|
|
1979
|
-
var
|
|
1980
|
-
var e = t, { children: s, className: r } = e, i =
|
|
1981
|
-
return /* @__PURE__ */ n.jsx("div", E(
|
|
1982
|
-
},
|
|
1979
|
+
var Ei = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__header__action", children: t }), ki = (t) => {
|
|
1980
|
+
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
1981
|
+
return /* @__PURE__ */ n.jsx("div", E(S({ className: O("card__body", r) }, i), { children: s }));
|
|
1982
|
+
}, Oi = (t) => /* @__PURE__ */ n.jsx(
|
|
1983
1983
|
"svg",
|
|
1984
|
-
E(
|
|
1984
|
+
E(S({
|
|
1985
1985
|
width: "24",
|
|
1986
1986
|
height: "24",
|
|
1987
1987
|
viewBox: "0 0 24 24",
|
|
@@ -1999,9 +1999,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
1999
1999
|
}
|
|
2000
2000
|
)
|
|
2001
2001
|
})
|
|
2002
|
-
),
|
|
2002
|
+
), ts = Oi, Ai = (t) => /* @__PURE__ */ n.jsx(
|
|
2003
2003
|
"svg",
|
|
2004
|
-
E(
|
|
2004
|
+
E(S({
|
|
2005
2005
|
width: "24",
|
|
2006
2006
|
height: "24",
|
|
2007
2007
|
viewBox: "0 0 24 24",
|
|
@@ -2019,9 +2019,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2019
2019
|
}
|
|
2020
2020
|
)
|
|
2021
2021
|
})
|
|
2022
|
-
), Ni =
|
|
2022
|
+
), Ni = Ai, Pi = (t) => /* @__PURE__ */ n.jsx(
|
|
2023
2023
|
"svg",
|
|
2024
|
-
E(
|
|
2024
|
+
E(S({
|
|
2025
2025
|
width: "24",
|
|
2026
2026
|
height: "24",
|
|
2027
2027
|
viewBox: "0 0 24 24",
|
|
@@ -2038,9 +2038,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2038
2038
|
}
|
|
2039
2039
|
)
|
|
2040
2040
|
})
|
|
2041
|
-
),
|
|
2041
|
+
), nr = Pi, Ti = (t) => /* @__PURE__ */ n.jsx(
|
|
2042
2042
|
"svg",
|
|
2043
|
-
E(
|
|
2043
|
+
E(S({
|
|
2044
2044
|
width: "24",
|
|
2045
2045
|
height: "24",
|
|
2046
2046
|
viewBox: "0 0 24 24",
|
|
@@ -2057,9 +2057,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2057
2057
|
}
|
|
2058
2058
|
)
|
|
2059
2059
|
})
|
|
2060
|
-
),
|
|
2060
|
+
), Mi = Ti, Ri = (t) => /* @__PURE__ */ n.jsx(
|
|
2061
2061
|
"svg",
|
|
2062
|
-
E(
|
|
2062
|
+
E(S({
|
|
2063
2063
|
width: "24",
|
|
2064
2064
|
height: "24",
|
|
2065
2065
|
viewBox: "0 0 24 24",
|
|
@@ -2076,9 +2076,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2076
2076
|
}
|
|
2077
2077
|
)
|
|
2078
2078
|
})
|
|
2079
|
-
),
|
|
2079
|
+
), Li = Ri, zi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2080
2080
|
"svg",
|
|
2081
|
-
E(
|
|
2081
|
+
E(S({
|
|
2082
2082
|
width: "24",
|
|
2083
2083
|
height: "24",
|
|
2084
2084
|
fill: "none",
|
|
@@ -2113,9 +2113,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2113
2113
|
/* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsx("clipPath", { id: "clip0_19_444", children: /* @__PURE__ */ n.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
2114
2114
|
]
|
|
2115
2115
|
})
|
|
2116
|
-
),
|
|
2116
|
+
), Fi = zi, Di = (t) => /* @__PURE__ */ n.jsxs(
|
|
2117
2117
|
"svg",
|
|
2118
|
-
E(
|
|
2118
|
+
E(S({
|
|
2119
2119
|
width: "24",
|
|
2120
2120
|
height: "24",
|
|
2121
2121
|
viewBox: "0 0 24 24",
|
|
@@ -2145,9 +2145,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2145
2145
|
)
|
|
2146
2146
|
]
|
|
2147
2147
|
})
|
|
2148
|
-
),
|
|
2148
|
+
), $i = Di, Ui = (t) => /* @__PURE__ */ n.jsxs(
|
|
2149
2149
|
"svg",
|
|
2150
|
-
E(
|
|
2150
|
+
E(S({
|
|
2151
2151
|
width: "24",
|
|
2152
2152
|
height: "24",
|
|
2153
2153
|
viewBox: "0 0 24 24",
|
|
@@ -2197,11 +2197,11 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2197
2197
|
)
|
|
2198
2198
|
]
|
|
2199
2199
|
})
|
|
2200
|
-
),
|
|
2201
|
-
var e = t, { className: s } = e, r =
|
|
2200
|
+
), Qi = Ui, Hi = (t) => {
|
|
2201
|
+
var e = t, { className: s } = e, r = L(e, ["className"]);
|
|
2202
2202
|
return /* @__PURE__ */ n.jsxs(
|
|
2203
2203
|
"svg",
|
|
2204
|
-
E(
|
|
2204
|
+
E(S({
|
|
2205
2205
|
width: "20",
|
|
2206
2206
|
height: "20",
|
|
2207
2207
|
viewBox: "0 0 20 20",
|
|
@@ -2226,9 +2226,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2226
2226
|
]
|
|
2227
2227
|
})
|
|
2228
2228
|
);
|
|
2229
|
-
},
|
|
2229
|
+
}, Vi = Hi, qi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2230
2230
|
"svg",
|
|
2231
|
-
E(
|
|
2231
|
+
E(S({
|
|
2232
2232
|
width: "24",
|
|
2233
2233
|
height: "24",
|
|
2234
2234
|
fill: "none",
|
|
@@ -2260,11 +2260,11 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2260
2260
|
/* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsx("clipPath", { id: "clip0_762_2934", children: /* @__PURE__ */ n.jsx("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
2261
2261
|
]
|
|
2262
2262
|
})
|
|
2263
|
-
),
|
|
2263
|
+
), Gi = qi, Ki = (t) => {
|
|
2264
2264
|
const e = (s) => `${s}${t.suffix ? `_${t.suffix}` : ""}`;
|
|
2265
2265
|
return /* @__PURE__ */ n.jsxs(
|
|
2266
2266
|
"svg",
|
|
2267
|
-
E(
|
|
2267
|
+
E(S({
|
|
2268
2268
|
width: "24",
|
|
2269
2269
|
height: "24",
|
|
2270
2270
|
viewBox: "0 0 24 24",
|
|
@@ -2431,9 +2431,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2431
2431
|
]
|
|
2432
2432
|
})
|
|
2433
2433
|
);
|
|
2434
|
-
},
|
|
2434
|
+
}, ar = Ki, Wi = (t) => /* @__PURE__ */ n.jsxs(
|
|
2435
2435
|
"svg",
|
|
2436
|
-
E(
|
|
2436
|
+
E(S({
|
|
2437
2437
|
fill: "none",
|
|
2438
2438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2439
2439
|
viewBox: "0 0 24 24",
|
|
@@ -2493,9 +2493,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2493
2493
|
)
|
|
2494
2494
|
]
|
|
2495
2495
|
})
|
|
2496
|
-
),
|
|
2496
|
+
), Zi = Wi, Xi = (t) => /* @__PURE__ */ n.jsx(
|
|
2497
2497
|
"svg",
|
|
2498
|
-
E(
|
|
2498
|
+
E(S({
|
|
2499
2499
|
fill: "none",
|
|
2500
2500
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2501
2501
|
viewBox: "0 0 21 16",
|
|
@@ -2513,9 +2513,9 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2513
2513
|
}
|
|
2514
2514
|
)
|
|
2515
2515
|
})
|
|
2516
|
-
), Yi =
|
|
2516
|
+
), Yi = Xi, Ji = (t) => /* @__PURE__ */ n.jsxs(
|
|
2517
2517
|
"svg",
|
|
2518
|
-
E(
|
|
2518
|
+
E(S({
|
|
2519
2519
|
width: "24",
|
|
2520
2520
|
height: "24",
|
|
2521
2521
|
fill: "none",
|
|
@@ -2540,7 +2540,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2540
2540
|
/* @__PURE__ */ n.jsx("circle", { r: ".8", transform: "matrix(1 0 0 -1 20.8 20.7)", fill: "currentColor" })
|
|
2541
2541
|
]
|
|
2542
2542
|
})
|
|
2543
|
-
),
|
|
2543
|
+
), Ii = Ji, Bi = (t) => {
|
|
2544
2544
|
var e = t, {
|
|
2545
2545
|
variant: s,
|
|
2546
2546
|
icon: r,
|
|
@@ -2548,7 +2548,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2548
2548
|
title: o,
|
|
2549
2549
|
description: l,
|
|
2550
2550
|
className: u
|
|
2551
|
-
} = e, h =
|
|
2551
|
+
} = e, h = L(e, [
|
|
2552
2552
|
"variant",
|
|
2553
2553
|
"icon",
|
|
2554
2554
|
"isStandalone",
|
|
@@ -2558,7 +2558,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2558
2558
|
]);
|
|
2559
2559
|
return /* @__PURE__ */ n.jsx(
|
|
2560
2560
|
"div",
|
|
2561
|
-
E(
|
|
2561
|
+
E(S({}, h), {
|
|
2562
2562
|
className: O(
|
|
2563
2563
|
"card__empty-state",
|
|
2564
2564
|
s === "error" && "card__empty-state--error",
|
|
@@ -2566,7 +2566,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2566
2566
|
u
|
|
2567
2567
|
),
|
|
2568
2568
|
children: /* @__PURE__ */ n.jsxs("div", { className: "card__empty-state__wrapper", children: [
|
|
2569
|
-
/* @__PURE__ */ n.jsx("i", { className: "card__empty-state__icon", "aria-hidden": !0, children: s === "error" ? /* @__PURE__ */ n.jsx(
|
|
2569
|
+
/* @__PURE__ */ n.jsx("i", { className: "card__empty-state__icon", "aria-hidden": !0, children: s === "error" ? /* @__PURE__ */ n.jsx(Gi, {}) : r }),
|
|
2570
2570
|
/* @__PURE__ */ n.jsxs("div", { className: "card__empty-state__content", children: [
|
|
2571
2571
|
/* @__PURE__ */ n.jsx("p", { className: "card__empty-state__title", children: o }),
|
|
2572
2572
|
/* @__PURE__ */ n.jsx("p", { className: "card__empty-state__description", children: l })
|
|
@@ -2574,13 +2574,13 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2574
2574
|
] })
|
|
2575
2575
|
})
|
|
2576
2576
|
);
|
|
2577
|
-
},
|
|
2577
|
+
}, tn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__footer", children: t }), en = (t) => {
|
|
2578
2578
|
var e = t, {
|
|
2579
2579
|
variant: s = "default",
|
|
2580
2580
|
sticky: r,
|
|
2581
2581
|
className: i,
|
|
2582
2582
|
children: o
|
|
2583
|
-
} = e, l =
|
|
2583
|
+
} = e, l = L(e, [
|
|
2584
2584
|
"variant",
|
|
2585
2585
|
"sticky",
|
|
2586
2586
|
"className",
|
|
@@ -2588,7 +2588,7 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2588
2588
|
]);
|
|
2589
2589
|
return /* @__PURE__ */ n.jsx(
|
|
2590
2590
|
"div",
|
|
2591
|
-
E(
|
|
2591
|
+
E(S({}, l), {
|
|
2592
2592
|
className: O(
|
|
2593
2593
|
"card__header",
|
|
2594
2594
|
s && `card__header--${s}`,
|
|
@@ -2598,15 +2598,15 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2598
2598
|
children: o
|
|
2599
2599
|
})
|
|
2600
2600
|
);
|
|
2601
|
-
},
|
|
2601
|
+
}, sn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__image", children: t }), rn = ({ children: t, className: e }) => /* @__PURE__ */ n.jsx("div", { className: O("card__body__item", e), children: t }), nn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__body__subtitle", children: t }), an = ({ icon: t, children: e }) => /* @__PURE__ */ n.jsxs("div", { className: "card__header__title", children: [
|
|
2602
2602
|
t && /* @__PURE__ */ n.jsx("span", { className: "card__header__title__icon", children: t }),
|
|
2603
2603
|
e
|
|
2604
|
-
] }),
|
|
2604
|
+
] }), or = a.forwardRef(
|
|
2605
2605
|
(t, e) => {
|
|
2606
|
-
var s = t, { type: r, children: i, className: o, variant: l = "default", disabled: u = !1 } = s, h =
|
|
2606
|
+
var s = t, { type: r, children: i, className: o, variant: l = "default", disabled: u = !1 } = s, h = L(s, ["type", "children", "className", "variant", "disabled"]);
|
|
2607
2607
|
return a.createElement(
|
|
2608
2608
|
r,
|
|
2609
|
-
|
|
2609
|
+
S({
|
|
2610
2610
|
className: O(
|
|
2611
2611
|
"card",
|
|
2612
2612
|
u && "card--disabled",
|
|
@@ -2619,32 +2619,32 @@ var _i = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "card__h
|
|
|
2619
2619
|
);
|
|
2620
2620
|
}
|
|
2621
2621
|
);
|
|
2622
|
-
|
|
2623
|
-
var
|
|
2624
|
-
Header:
|
|
2625
|
-
Action:
|
|
2626
|
-
Title:
|
|
2627
|
-
Subtitle:
|
|
2628
|
-
Body:
|
|
2629
|
-
Image:
|
|
2630
|
-
Item:
|
|
2631
|
-
Footer:
|
|
2632
|
-
EmptyState:
|
|
2633
|
-
}),
|
|
2634
|
-
var e = t, { className: s, children: r } = e, i =
|
|
2635
|
-
return /* @__PURE__ */ n.jsx("div", E(
|
|
2636
|
-
},
|
|
2637
|
-
var e = t, { className: s, children: r } = e, i =
|
|
2638
|
-
return /* @__PURE__ */ n.jsx("span", E(
|
|
2639
|
-
},
|
|
2640
|
-
const t = a.useContext(
|
|
2622
|
+
or.displayName = "Card";
|
|
2623
|
+
var on = Object.assign(or, {
|
|
2624
|
+
Header: en,
|
|
2625
|
+
Action: Ei,
|
|
2626
|
+
Title: an,
|
|
2627
|
+
Subtitle: nn,
|
|
2628
|
+
Body: ki,
|
|
2629
|
+
Image: sn,
|
|
2630
|
+
Item: rn,
|
|
2631
|
+
Footer: tn,
|
|
2632
|
+
EmptyState: Bi
|
|
2633
|
+
}), ln = (t) => {
|
|
2634
|
+
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2635
|
+
return /* @__PURE__ */ n.jsx("div", E(S({ className: O("checkbox__content", s) }, i), { children: r }));
|
|
2636
|
+
}, cn = (t) => {
|
|
2637
|
+
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2638
|
+
return /* @__PURE__ */ n.jsx("span", E(S({ className: O("checkbox__hint", s) }, i), { children: r }));
|
|
2639
|
+
}, lr = a.createContext(void 0), un = ({ id: t, name: e, children: s }) => /* @__PURE__ */ n.jsx(lr.Provider, { value: { id: t, name: e }, children: s }), hn = () => {
|
|
2640
|
+
const t = a.useContext(lr);
|
|
2641
2641
|
if (!t)
|
|
2642
2642
|
throw new Error("Checkbox compound components can not be rendered outside of Checkbox");
|
|
2643
2643
|
return t;
|
|
2644
|
-
},
|
|
2645
|
-
var e = t, { className: s, children: r } = e, i =
|
|
2646
|
-
const { id: o } =
|
|
2647
|
-
return /* @__PURE__ */ n.jsx("label", E(
|
|
2644
|
+
}, dn = (t) => {
|
|
2645
|
+
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2646
|
+
const { id: o } = hn();
|
|
2647
|
+
return /* @__PURE__ */ n.jsx("label", E(S({ htmlFor: o, className: O("checkbox__label", s) }, i), { children: r }));
|
|
2648
2648
|
}, Dt = (t) => {
|
|
2649
2649
|
var e = t, {
|
|
2650
2650
|
id: s,
|
|
@@ -2655,7 +2655,7 @@ var an = Object.assign(ar, {
|
|
|
2655
2655
|
single: u,
|
|
2656
2656
|
className: h,
|
|
2657
2657
|
children: d
|
|
2658
|
-
} = e, f =
|
|
2658
|
+
} = e, f = L(e, [
|
|
2659
2659
|
"id",
|
|
2660
2660
|
"name",
|
|
2661
2661
|
"isPending",
|
|
@@ -2675,7 +2675,7 @@ var an = Object.assign(ar, {
|
|
|
2675
2675
|
children: [
|
|
2676
2676
|
/* @__PURE__ */ n.jsx(
|
|
2677
2677
|
"input",
|
|
2678
|
-
|
|
2678
|
+
S({
|
|
2679
2679
|
id: s,
|
|
2680
2680
|
name: r,
|
|
2681
2681
|
type: "checkbox",
|
|
@@ -2684,46 +2684,46 @@ var an = Object.assign(ar, {
|
|
|
2684
2684
|
value: u ? "true" : ""
|
|
2685
2685
|
}, f)
|
|
2686
2686
|
),
|
|
2687
|
-
i ? /* @__PURE__ */ n.jsx(
|
|
2688
|
-
/* @__PURE__ */ n.jsx(
|
|
2687
|
+
i ? /* @__PURE__ */ n.jsx(Vi, { className: "checkbox__spinner", "aria-hidden": !0 }) : /* @__PURE__ */ n.jsx(Ni, { className: "checkbox__check", "aria-hidden": !0, strokeDasharray: "75" }),
|
|
2688
|
+
/* @__PURE__ */ n.jsx(un, { id: s, name: r, children: d })
|
|
2689
2689
|
]
|
|
2690
2690
|
}
|
|
2691
2691
|
);
|
|
2692
2692
|
};
|
|
2693
|
-
Dt.Content =
|
|
2694
|
-
Dt.Label =
|
|
2695
|
-
Dt.Hint =
|
|
2693
|
+
Dt.Content = ln;
|
|
2694
|
+
Dt.Label = dn;
|
|
2695
|
+
Dt.Hint = cn;
|
|
2696
2696
|
Dt.Error = Error;
|
|
2697
|
-
var
|
|
2698
|
-
var e = t, { type: s = "div", className: r, children: i } = e, o =
|
|
2699
|
-
return a.createElement(s,
|
|
2700
|
-
},
|
|
2701
|
-
const t = a.useContext(
|
|
2697
|
+
var fn = (t) => {
|
|
2698
|
+
var e = t, { type: s = "div", className: r, children: i } = e, o = L(e, ["type", "className", "children"]);
|
|
2699
|
+
return a.createElement(s, S({ className: O("dialog__body", r) }, o), i);
|
|
2700
|
+
}, pn = a.createContext(void 0), mn = () => {
|
|
2701
|
+
const t = a.useContext(pn);
|
|
2702
2702
|
if (!t)
|
|
2703
2703
|
throw new Error("Dialog compound components can not be rendered outside of Dialog");
|
|
2704
2704
|
return t;
|
|
2705
|
-
},
|
|
2706
|
-
var s = t, { className: r } = s, i =
|
|
2707
|
-
const { onClose: o } =
|
|
2705
|
+
}, yn = a.forwardRef((t, e) => {
|
|
2706
|
+
var s = t, { className: r } = s, i = L(s, ["className"]);
|
|
2707
|
+
const { onClose: o } = mn();
|
|
2708
2708
|
return /* @__PURE__ */ n.jsx(
|
|
2709
2709
|
Et,
|
|
2710
|
-
|
|
2710
|
+
S({
|
|
2711
2711
|
type: "submit",
|
|
2712
2712
|
ref: e,
|
|
2713
2713
|
formMethod: "dialog",
|
|
2714
2714
|
onClick: o,
|
|
2715
|
-
iconLeft: /* @__PURE__ */ n.jsx(
|
|
2715
|
+
iconLeft: /* @__PURE__ */ n.jsx(nr, {}),
|
|
2716
2716
|
variant: "icon--secondary",
|
|
2717
2717
|
className: O("dialog__close button--icon", r)
|
|
2718
2718
|
}, i)
|
|
2719
2719
|
);
|
|
2720
2720
|
});
|
|
2721
|
-
|
|
2722
|
-
var
|
|
2723
|
-
var e = t, { className: s, children: r } = e, i =
|
|
2724
|
-
return /* @__PURE__ */ n.jsx("div", E(
|
|
2725
|
-
},
|
|
2726
|
-
var e = t, { className: s, children: r, shouldAnimate: i = !0 } = e, o =
|
|
2721
|
+
yn.displayName = "Close";
|
|
2722
|
+
var gn = (t) => {
|
|
2723
|
+
var e = t, { className: s, children: r } = e, i = L(e, ["className", "children"]);
|
|
2724
|
+
return /* @__PURE__ */ n.jsx("div", E(S({ className: O("dialog__footer", s) }, i), { children: r }));
|
|
2725
|
+
}, vn = ({ children: t }) => /* @__PURE__ */ n.jsx("div", { className: "dialog__header", children: t }), Cn = () => document.body.style.removeProperty("overflow"), bn = (t) => {
|
|
2726
|
+
var e = t, { className: s, children: r, shouldAnimate: i = !0 } = e, o = L(e, ["className", "children", "shouldAnimate"]);
|
|
2727
2727
|
const { ref: l, defaultOpen: u, isModal: h, onClose: d } = ue();
|
|
2728
2728
|
return a.useEffect(() => {
|
|
2729
2729
|
u && (l != null && l.current) && l.current.focus();
|
|
@@ -2738,7 +2738,7 @@ var yn = (t) => {
|
|
|
2738
2738
|
/* @__PURE__ */ n.jsx("div", { className: "custom-backdrop", "aria-hidden": "true" }),
|
|
2739
2739
|
/* @__PURE__ */ n.jsx(
|
|
2740
2740
|
"div",
|
|
2741
|
-
E(
|
|
2741
|
+
E(S({
|
|
2742
2742
|
ref: l,
|
|
2743
2743
|
role: "dialog",
|
|
2744
2744
|
"aria-modal": !!h,
|
|
@@ -2750,14 +2750,14 @@ var yn = (t) => {
|
|
|
2750
2750
|
})
|
|
2751
2751
|
)
|
|
2752
2752
|
] }) : null;
|
|
2753
|
-
},
|
|
2753
|
+
}, cr = a.createContext(void 0), xn = ({ defaultOpen: t, onClose: e, isModal: s, children: r }) => {
|
|
2754
2754
|
const [i, o] = a.useState(t), l = a.useRef(null), u = a.useRef(e), h = a.useCallback(() => {
|
|
2755
|
-
|
|
2755
|
+
Cn(), o(!1), u.current && (u == null || u.current());
|
|
2756
2756
|
}, []), d = a.useCallback(() => {
|
|
2757
2757
|
o(!0);
|
|
2758
2758
|
}, []);
|
|
2759
2759
|
return /* @__PURE__ */ n.jsx(
|
|
2760
|
-
|
|
2760
|
+
cr.Provider,
|
|
2761
2761
|
{
|
|
2762
2762
|
value: {
|
|
2763
2763
|
ref: l,
|
|
@@ -2770,41 +2770,41 @@ var yn = (t) => {
|
|
|
2770
2770
|
}
|
|
2771
2771
|
);
|
|
2772
2772
|
}, ue = () => {
|
|
2773
|
-
const t = a.useContext(
|
|
2773
|
+
const t = a.useContext(cr);
|
|
2774
2774
|
if (!t)
|
|
2775
2775
|
throw new Error("Dialog compound components can not be rendered outside of Dialog");
|
|
2776
2776
|
return t;
|
|
2777
|
-
},
|
|
2778
|
-
var e = t, { children: s } = e, r =
|
|
2777
|
+
}, wn = (t) => {
|
|
2778
|
+
var e = t, { children: s } = e, r = L(e, ["children"]);
|
|
2779
2779
|
const { onClose: i } = ue();
|
|
2780
|
-
return /* @__PURE__ */ n.jsx(Et, E(
|
|
2781
|
-
},
|
|
2780
|
+
return /* @__PURE__ */ n.jsx(Et, E(S({ onClick: i }, r), { children: s }));
|
|
2781
|
+
}, ur = a.forwardRef(
|
|
2782
2782
|
(t, e) => {
|
|
2783
|
-
var s = t, { className: r } = s, i =
|
|
2783
|
+
var s = t, { className: r } = s, i = L(s, ["className"]);
|
|
2784
2784
|
const { onClose: o } = ue();
|
|
2785
2785
|
return /* @__PURE__ */ n.jsx(
|
|
2786
2786
|
Et,
|
|
2787
|
-
|
|
2787
|
+
S({
|
|
2788
2788
|
type: "submit",
|
|
2789
2789
|
ref: e,
|
|
2790
2790
|
formMethod: "dialog",
|
|
2791
2791
|
onClick: o,
|
|
2792
|
-
iconLeft: /* @__PURE__ */ n.jsx(
|
|
2792
|
+
iconLeft: /* @__PURE__ */ n.jsx(nr, {}),
|
|
2793
2793
|
variant: "icon--secondary",
|
|
2794
2794
|
className: O("dialog__close button--icon", r)
|
|
2795
2795
|
}, i)
|
|
2796
2796
|
);
|
|
2797
2797
|
}
|
|
2798
2798
|
);
|
|
2799
|
-
|
|
2800
|
-
var
|
|
2801
|
-
var e = t, { icon: s, children: r, className: i } = e, o =
|
|
2799
|
+
ur.displayName = "Close";
|
|
2800
|
+
var jn = (t) => {
|
|
2801
|
+
var e = t, { icon: s, children: r, className: i } = e, o = L(e, ["icon", "children", "className"]);
|
|
2802
2802
|
const { ref: l } = ue(), u = a.useRef(null);
|
|
2803
2803
|
return a.useEffect(() => {
|
|
2804
2804
|
l != null && l.current && l.current.focus();
|
|
2805
2805
|
}, [l]), /* @__PURE__ */ n.jsxs(
|
|
2806
2806
|
"div",
|
|
2807
|
-
E(
|
|
2807
|
+
E(S({
|
|
2808
2808
|
tabIndex: 0,
|
|
2809
2809
|
ref: u,
|
|
2810
2810
|
id: "dialogTitle",
|
|
@@ -2816,20 +2816,20 @@ var wn = (t) => {
|
|
|
2816
2816
|
]
|
|
2817
2817
|
})
|
|
2818
2818
|
);
|
|
2819
|
-
},
|
|
2820
|
-
var e = t, { children: s } = e, r =
|
|
2819
|
+
}, Sn = (t) => {
|
|
2820
|
+
var e = t, { children: s } = e, r = L(e, ["children"]);
|
|
2821
2821
|
const { onOpen: i } = ue();
|
|
2822
|
-
return /* @__PURE__ */ n.jsx(Et, E(
|
|
2823
|
-
}, Z = ({ defaultOpen: t, isModal: e, children: s, onClose: r }) => /* @__PURE__ */ n.jsx(
|
|
2824
|
-
Z.Trigger =
|
|
2825
|
-
Z.Root =
|
|
2826
|
-
Z.Title =
|
|
2827
|
-
Z.Header =
|
|
2828
|
-
Z.Body =
|
|
2829
|
-
Z.Footer =
|
|
2830
|
-
Z.Button =
|
|
2831
|
-
Z.Close =
|
|
2832
|
-
var
|
|
2822
|
+
return /* @__PURE__ */ n.jsx(Et, E(S({ onClick: i }, r), { children: s }));
|
|
2823
|
+
}, Z = ({ defaultOpen: t, isModal: e, children: s, onClose: r }) => /* @__PURE__ */ n.jsx(xn, { defaultOpen: !!t, isModal: e, onClose: r, children: s });
|
|
2824
|
+
Z.Trigger = Sn;
|
|
2825
|
+
Z.Root = bn;
|
|
2826
|
+
Z.Title = jn;
|
|
2827
|
+
Z.Header = vn;
|
|
2828
|
+
Z.Body = fn;
|
|
2829
|
+
Z.Footer = gn;
|
|
2830
|
+
Z.Button = wn;
|
|
2831
|
+
Z.Close = ur;
|
|
2832
|
+
var hr = a.createContext(void 0), _n = ({
|
|
2833
2833
|
id: t,
|
|
2834
2834
|
position: e,
|
|
2835
2835
|
isOpen: s,
|
|
@@ -2841,7 +2841,7 @@ var ur = a.createContext(void 0), Sn = ({
|
|
|
2841
2841
|
contentRef: h,
|
|
2842
2842
|
children: d
|
|
2843
2843
|
}) => /* @__PURE__ */ n.jsx(
|
|
2844
|
-
|
|
2844
|
+
hr.Provider,
|
|
2845
2845
|
{
|
|
2846
2846
|
value: {
|
|
2847
2847
|
id: t,
|
|
@@ -2856,12 +2856,12 @@ var ur = a.createContext(void 0), Sn = ({
|
|
|
2856
2856
|
},
|
|
2857
2857
|
children: d
|
|
2858
2858
|
}
|
|
2859
|
-
),
|
|
2860
|
-
const t = a.useContext(
|
|
2859
|
+
), dr = () => {
|
|
2860
|
+
const t = a.useContext(hr);
|
|
2861
2861
|
if (t === void 0)
|
|
2862
2862
|
throw new Error("useMenu must be used within a MenuProvider");
|
|
2863
2863
|
return t;
|
|
2864
|
-
},
|
|
2864
|
+
}, En = ({ as: t, children: e }) => {
|
|
2865
2865
|
const {
|
|
2866
2866
|
id: s,
|
|
2867
2867
|
position: r,
|
|
@@ -2872,13 +2872,13 @@ var ur = a.createContext(void 0), Sn = ({
|
|
|
2872
2872
|
clearActiveItemIndex: h,
|
|
2873
2873
|
triggerRef: d,
|
|
2874
2874
|
contentRef: f
|
|
2875
|
-
} =
|
|
2875
|
+
} = dr(), p = (g) => {
|
|
2876
2876
|
var m;
|
|
2877
2877
|
if (!i)
|
|
2878
2878
|
return;
|
|
2879
2879
|
if (g.key === "Escape")
|
|
2880
2880
|
return h(), o(!1), (m = d.current) == null ? void 0 : m.focus();
|
|
2881
|
-
const x = g.shiftKey, v =
|
|
2881
|
+
const x = g.shiftKey, v = pr(f.current).length - 1;
|
|
2882
2882
|
switch (g.key) {
|
|
2883
2883
|
case "Tab": {
|
|
2884
2884
|
if (x && l !== 0)
|
|
@@ -2927,11 +2927,11 @@ var ur = a.createContext(void 0), Sn = ({
|
|
|
2927
2927
|
}
|
|
2928
2928
|
)
|
|
2929
2929
|
);
|
|
2930
|
-
},
|
|
2931
|
-
var e = t, { children: s, className: r } = e, i =
|
|
2932
|
-
return /* @__PURE__ */ n.jsx("li", E(
|
|
2933
|
-
},
|
|
2934
|
-
const { id: s, isOpen: r, setIsOpen: i, clearActiveItemIndex: o, setActiveItemIndex: l, triggerRef: u } =
|
|
2930
|
+
}, kn = (t) => {
|
|
2931
|
+
var e = t, { children: s, className: r } = e, i = L(e, ["children", "className"]);
|
|
2932
|
+
return /* @__PURE__ */ n.jsx("li", E(S({}, i), { className: O("menu__list-item", r), children: s }));
|
|
2933
|
+
}, fr = ({ children: t, className: e }) => {
|
|
2934
|
+
const { id: s, isOpen: r, setIsOpen: i, clearActiveItemIndex: o, setActiveItemIndex: l, triggerRef: u } = dr(), h = () => {
|
|
2935
2935
|
o(), i((f) => !f), r || l(0);
|
|
2936
2936
|
}, d = (f) => {
|
|
2937
2937
|
if (r) {
|
|
@@ -2950,19 +2950,19 @@ var ur = a.createContext(void 0), Sn = ({
|
|
|
2950
2950
|
"aria-controls": `${s}-content`
|
|
2951
2951
|
});
|
|
2952
2952
|
};
|
|
2953
|
-
|
|
2954
|
-
var
|
|
2955
|
-
var e = t, { type: s, id: r, position: i = "bottom-end", children: o, className: l } = e, u =
|
|
2953
|
+
fr.displayName = "Trigger";
|
|
2954
|
+
var pr = (t) => t ? t.tagName === "UL" ? t.children : Array.from(t.getElementsByTagName("ul")).reduce((s, r) => [...s, ...Array.from(r.getElementsByTagName("li"))], []) : [], Y = (t) => {
|
|
2955
|
+
var e = t, { type: s, id: r, position: i = "bottom-end", children: o, className: l } = e, u = L(e, ["type", "id", "position", "children", "className"]);
|
|
2956
2956
|
const h = a.useRef(null), d = a.useRef(null), f = a.useRef(null), [p, g] = a.useState(!1), [m, x] = a.useState(), [v, C] = a.useState(m);
|
|
2957
|
-
m !== v && m !== void 0 && f.current && (
|
|
2957
|
+
m !== v && m !== void 0 && f.current && (pr(f.current)[m].firstChild.focus(), C(m));
|
|
2958
2958
|
const k = () => {
|
|
2959
2959
|
x(void 0), C(void 0);
|
|
2960
|
-
},
|
|
2961
|
-
var
|
|
2962
|
-
((
|
|
2960
|
+
}, j = (A) => {
|
|
2961
|
+
var M;
|
|
2962
|
+
((M = h.current) == null ? void 0 : M.contains(A.relatedTarget)) || (k(), g(!1));
|
|
2963
2963
|
};
|
|
2964
2964
|
return /* @__PURE__ */ n.jsx(
|
|
2965
|
-
|
|
2965
|
+
_n,
|
|
2966
2966
|
{
|
|
2967
2967
|
id: r,
|
|
2968
2968
|
position: i,
|
|
@@ -2975,482 +2975,482 @@ var fr = (t) => t ? t.tagName === "UL" ? t.children : Array.from(t.getElementsBy
|
|
|
2975
2975
|
contentRef: f,
|
|
2976
2976
|
children: a.createElement(
|
|
2977
2977
|
s,
|
|
2978
|
-
E(
|
|
2978
|
+
E(S({}, u), {
|
|
2979
2979
|
id: r,
|
|
2980
2980
|
ref: h,
|
|
2981
2981
|
className: `menu ${l || ""}`,
|
|
2982
|
-
onBlur:
|
|
2982
|
+
onBlur: j
|
|
2983
2983
|
}),
|
|
2984
2984
|
o
|
|
2985
2985
|
)
|
|
2986
2986
|
}
|
|
2987
2987
|
);
|
|
2988
2988
|
};
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2989
|
+
Y.Trigger = fr;
|
|
2990
|
+
Y.Content = En;
|
|
2991
|
+
Y.Item = kn;
|
|
2992
2992
|
a.createContext(void 0);
|
|
2993
|
-
var
|
|
2994
|
-
[...new Set(
|
|
2993
|
+
var On = (/* @__PURE__ */ new Map()).set("BE", "32").set("FR", "33").set("NL", "31").set("LU", "352").set("DE", "49").set("CA", "1").set("PR", "1").set("TC", "1").set("US", "1").set("BS", "1242").set("BB", "1246").set("AI", "1264").set("AG", "1268").set("KY", "1345").set("BM", "1441").set("GD", "1473").set("MS", "1664").set("GU", "1671").set("LC", "1758").set("DM", "1767").set("VC", "1784").set("DO", "1809").set("TT", "1868").set("KN", "1869").set("JM", "1876").set("EG", "20").set("SS", "211").set("MA", "212").set("DZ", "213").set("TN", "216").set("LY", "218").set("GM", "220").set("SN", "221").set("MR", "222").set("ML", "223").set("GN", "224").set("CI", "225").set("BF", "226").set("NE", "227").set("TG", "228").set("BJ", "229").set("MU", "230").set("LR", "231").set("SL", "232").set("GH", "233").set("NG", "234").set("TD", "235").set("CF", "236").set("CM", "237").set("CV", "238").set("ST", "239").set("GQ", "240").set("GA", "241").set("CG", "242").set("CD", "243").set("AO", "244").set("GW", "245").set("SC", "248").set("SD", "249").set("RW", "250").set("ET", "251").set("SO", "252").set("DJ", "253").set("KE", "254").set("TZ", "255").set("UG", "256").set("BI", "257").set("MZ", "258").set("ZM", "260").set("MG", "261").set("RE", "262").set("ZW", "263").set("NA", "264").set("MW", "265").set("LS", "266").set("BW", "267").set("SZ", "268").set("KM", "269").set("ZA", "27").set("VG", "284").set("ER", "291").set("AW", "297").set("FO", "298").set("GL", "299").set("GR", "30").set("ES", "34").set("GI", "350").set("PT", "351").set("IE", "353").set("IS", "354").set("AL", "355").set("MT", "356").set("CY", "357").set("FI", "358").set("BG", "359").set("HU", "36").set("LT", "370").set("LV", "371").set("EE", "372").set("MD", "373").set("AM", "374").set("BY", "375").set("AD", "376").set("MC", "377").set("SM", "378").set("UA", "380").set("RS", "381").set("ME", "382").set("HR", "385").set("SI", "386").set("BA", "387").set("MK", "389").set("IT", "39").set("RO", "40").set("CH", "41").set("CZ", "420").set("SK", "421").set("LI", "423").set("AT", "43").set("GB", "44").set("DK", "45").set("SE", "46").set("NO", "47").set("PL", "48").set("FK", "500").set("BZ", "501").set("GT", "502").set("SV", "503").set("HN", "504").set("NI", "505").set("CR", "506").set("PA", "507").set("PM", "508").set("HT", "509").set("PE", "51").set("MX", "52").set("CU", "53").set("AR", "54").set("BR", "55").set("CL", "56").set("CO", "57").set("VE", "58").set("GP", "590").set("BO", "591").set("GY", "592").set("EC", "593").set("FG", "594").set("PY", "595").set("MQ", "596").set("SR", "597").set("UY", "598").set("CW", "599").set("AN", "599").set("MY", "60").set("AU", "61").set("ID", "62").set("PH", "63").set("NZ", "64").set("SG", "65").set("TH", "66").set("TP", "670").set("BN", "673").set("PG", "675").set("TO", "676").set("SB", "677").set("VU", "678").set("FJ", "679").set("PW", "680").set("CK", "682").set("NU", "683").set("AS", "684").set("WS", "685").set("KI", "686").set("NC", "687").set("TV", "688").set("PF", "689").set("FM", "691").set("KZ", "7").set("RU", "7").set("JP", "81").set("KR", "82").set("VN", "84").set("KP", "850").set("HK", "852").set("MO", "853").set("KH", "855").set("LA", "856").set("CN", "86").set("BD", "880").set("TW", "886").set("TR", "90").set("IN", "91").set("PK", "92").set("AF", "93").set("LK", "94").set("MM", "95").set("MV", "960").set("LB", "961").set("JO", "962").set("SY", "963").set("IQ", "964").set("KW", "965").set("SA", "966").set("YE", "967").set("OM", "968").set("PS", "970").set("AE", "971").set("IL", "972").set("BH", "973").set("QA", "974").set("BT", "975").set("MN", "976").set("NP", "977").set("IR", "98").set("TK", "992").set("TM", "993").set("AZ", "994").set("GE", "995").set("KG", "996").set("UZ", "998");
|
|
2994
|
+
[...new Set(On.values())].map((t) => ({
|
|
2995
2995
|
label: `+${t}`,
|
|
2996
2996
|
value: t
|
|
2997
2997
|
}));
|
|
2998
2998
|
a.createContext(void 0);
|
|
2999
2999
|
a.createContext(void 0);
|
|
3000
3000
|
var be = /* @__PURE__ */ ((t) => (t[t.categoriesVegetables = 0] = "categoriesVegetables", t[t.categoriesMeat = 1] = "categoriesMeat", t[t.categoriesFish = 2] = "categoriesFish", t[t.categoriesDairy = 3] = "categoriesDairy", t[t.categoriesBreakfast = 4] = "categoriesBreakfast", t[t.categoriesSnacks = 5] = "categoriesSnacks", t[t.categoriesCandy = 6] = "categoriesCandy", t[t.categoriesNonFood = 7] = "categoriesNonFood", t[t.categoriesDryFood = 8] = "categoriesDryFood", t[t.categoriesTins = 9] = "categoriesTins", t[t.categoriesGrid = 10] = "categoriesGrid", t[t.categoriesSoda = 11] = "categoriesSoda", t[t.categoriesBakery = 12] = "categoriesBakery", t[t.categoriesWine = 13] = "categoriesWine", t[t.categoriesBaby = 14] = "categoriesBaby", t[t.categoriesDiet = 15] = "categoriesDiet", t[t.categoriesHygiene = 16] = "categoriesHygiene", t[t.categoriesCleaning = 17] = "categoriesCleaning", t[t.categoriesPets = 18] = "categoriesPets", t[t.categoriesFreezer = 19] = "categoriesFreezer", t[t.categoriesBbq = 20] = "categoriesBbq", t[t.categoriesMealbox = 21] = "categoriesMealbox", t[t.categoriesBrik = 22] = "categoriesBrik", t[t.categoriesGranen = 23] = "categoriesGranen", t[t.categoriesConserve = 24] = "categoriesConserve", t[t.categoriesHome = 25] = "categoriesHome", t[t.categoriesEaster = 26] = "categoriesEaster", t[t.categoriesOnlinePromo = 27] = "categoriesOnlinePromo", t[t.categoriesSportFood = 28] = "categoriesSportFood", t[t.categoriesClothing = 29] = "categoriesClothing", t[t.categoriesEnergy = 30] = "categoriesEnergy", t[t.categoriesDeskAndTravel = 31] = "categoriesDeskAndTravel", t[t.categoriesCigarette = 32] = "categoriesCigarette", t[t.categoriesFood = 33] = "categoriesFood", t[t.categoriesChild = 34] = "categoriesChild", t[t.categoriesPuzzle = 35] = "categoriesPuzzle", t[t.categoriesToys = 36] = "categoriesToys", t[t.categoriesCar = 37] = "categoriesCar", t[t.categoriesPlaceholder = 38] = "categoriesPlaceholder", t[t.categoriesFuel = 39] = "categoriesFuel", t[t.categoriesCarAndBike = 40] = "categoriesCarAndBike", t[t.categoriesToyAndHobby = 41] = "categoriesToyAndHobby", t[t.categoriesMultimedia = 42] = "categoriesMultimedia", t[t.categoriesParty = 43] = "categoriesParty", t[t.toolsPay = 44] = "toolsPay", t[t.toolsReceipt = 45] = "toolsReceipt", t[t.toolsFuel = 46] = "toolsFuel", t[t.toolsStoreLocator = 47] = "toolsStoreLocator", t[t.toolsStats = 48] = "toolsStats", t[t.toolsShowXtraOld = 49] = "toolsShowXtraOld", t[t.toolsShowXtraNew = 50] = "toolsShowXtraNew", t[t.toolsScan2 = 51] = "toolsScan2", t[t.toolsRecipes2 = 52] = "toolsRecipes2", t[t.toolsWarranty = 53] = "toolsWarranty", t[t.toolsCoupons = 54] = "toolsCoupons", t[t.toolsFavoriteInactive = 55] = "toolsFavoriteInactive", t[t.toolsFavoriteActive = 56] = "toolsFavoriteActive", t[t.toolsAssortment = 57] = "toolsAssortment", t[t.toolsPromo = 58] = "toolsPromo", t[t.fuelCng = 59] = "fuelCng", t[t.fuelE5 = 60] = "fuelE5", t[t.fuelAdblue = 61] = "fuelAdblue", t[t.fuelB7 = 62] = "fuelB7", t[t.fuelH2 = 63] = "fuelH2", t[t.fuelE10 = 64] = "fuelE10", t[t.fuelFreeTireInflation = 65] = "fuelFreeTireInflation", t[t.functionalClose = 66] = "functionalClose", t[t.functionalBack = 67] = "functionalBack", t[t.functionalSearch = 68] = "functionalSearch", t[t.functionalEdit = 69] = "functionalEdit", t[t.functionalShare = 70] = "functionalShare", t[t.functionalLocation = 71] = "functionalLocation", t[t.functionalTrash = 72] = "functionalTrash", t[t.functionalCamera = 73] = "functionalCamera", t[t.functionalPhone = 74] = "functionalPhone", t[t.functionalPushNotifications = 75] = "functionalPushNotifications", t[t.functionalMail = 76] = "functionalMail", t[t.functionalGift = 77] = "functionalGift", t[t.functionalPresent = 78] = "functionalPresent", t[t.functionalLoading = 79] = "functionalLoading", t[t.functionalChevronRight = 80] = "functionalChevronRight", t[t.functionalCheck = 81] = "functionalCheck", t[t.functionalChevronDown = 82] = "functionalChevronDown", t[t.functionalChevronUp = 83] = "functionalChevronUp", t[t.functionalPlus = 84] = "functionalPlus", t[t.functionalReset = 85] = "functionalReset", t[t.functionalDownload = 86] = "functionalDownload", t[t.functionalExport = 87] = "functionalExport", t[t.functionalCustomerService = 88] = "functionalCustomerService", t[t.functionalTruck = 89] = "functionalTruck", t[t.functionalBox = 90] = "functionalBox", t[t.functionalEllipsis = 91] = "functionalEllipsis", t[t.functionalLocationHome = 92] = "functionalLocationHome", t[t.functionalLocationPickup = 93] = "functionalLocationPickup", t[t.functionalAccount = 94] = "functionalAccount", t[t.functionalPrivacy = 95] = "functionalPrivacy", t[t.functionalSettings = 96] = "functionalSettings", t[t.functionalUserInfo = 97] = "functionalUserInfo", t[t.functionalPinOutlines = 98] = "functionalPinOutlines", t[t.functionalCalendar = 99] = "functionalCalendar", t[t.functionalMinus = 100] = "functionalMinus", t[t.functionalLifestyle = 101] = "functionalLifestyle", t[t.functionalSms = 102] = "functionalSms", t[t.functionalSwitch = 103] = "functionalSwitch", t[t.functionalSorting = 104] = "functionalSorting", t[t.functionalWarningCircle = 105] = "functionalWarningCircle", t[t.functionalQuestionCircle = 106] = "functionalQuestionCircle", t[t.functionalErrorCircle = 107] = "functionalErrorCircle", t[t.functionalSuccessCircle = 108] = "functionalSuccessCircle", t[t.functionalMessage = 109] = "functionalMessage", t[t.functionalExternalLink = 110] = "functionalExternalLink", t[t.functionalAddToList = 111] = "functionalAddToList", t[t.functionalShoppingcart = 112] = "functionalShoppingcart", t[t.functionalFilter = 113] = "functionalFilter", t[t.functionalLocate = 114] = "functionalLocate", t[t.functionalBarcode = 115] = "functionalBarcode", t[t.functionalClock = 116] = "functionalClock", t[t.functionalHistory = 117] = "functionalHistory", t[t.functionalShops = 118] = "functionalShops", t[t.functionalAddUser = 119] = "functionalAddUser", t[t.functionalOther = 120] = "functionalOther", t[t.functionalInAppNotifications = 121] = "functionalInAppNotifications", t[t.functionalExit = 122] = "functionalExit", t[t.functionalShared = 123] = "functionalShared", t[t.functionalThumbsup = 124] = "functionalThumbsup", t[t.functionalDiscount = 125] = "functionalDiscount", t[t.functionalPercentage = 126] = "functionalPercentage", t[t.functionalList = 127] = "functionalList", t[t.functionalMapLocation = 128] = "functionalMapLocation", t[t.functionalNoConnection = 129] = "functionalNoConnection", t[t.functionalSwap = 130] = "functionalSwap", t[t.functionalPiece = 131] = "functionalPiece", t[t.functionalWeight = 132] = "functionalWeight", t[t.functionalPack = 133] = "functionalPack", t[t.functionalCommunications = 134] = "functionalCommunications", t[t.functionalDeliveryAddresses = 135] = "functionalDeliveryAddresses", t[t["functional18+"] = 136] = "functional18+", t[t.functionalReadtime = 137] = "functionalReadtime", t[t.functionalCopy = 138] = "functionalCopy", t[t.functionalMessageField = 139] = "functionalMessageField", t[t.functionalNext = 140] = "functionalNext", t[t.functionalSave = 141] = "functionalSave", t[t.functionalLogin = 142] = "functionalLogin", t[t.functionalLogout = 143] = "functionalLogout", t[t.functionalWebsite = 144] = "functionalWebsite", t[t.functionalMenu = 145] = "functionalMenu", t[t.functionalRegister = 146] = "functionalRegister", t[t.functionalNews = 147] = "functionalNews", t[t.functionalTimer = 148] = "functionalTimer", t[t.functionalEyeShow = 149] = "functionalEyeShow", t[t.functionalMobilePay = 150] = "functionalMobilePay", t[t.functionalConnectionCable = 151] = "functionalConnectionCable", t[t.functionalDryCleaning = 152] = "functionalDryCleaning", t[t.functionalKiosk = 153] = "functionalKiosk", t[t.functionalConnectedDevice = 154] = "functionalConnectedDevice", t[t.functionalCookies = 155] = "functionalCookies", t[t.functionalViewFile = 156] = "functionalViewFile", t[t.functionalLastAdded = 157] = "functionalLastAdded", t[t.functionalFirstAdded = 158] = "functionalFirstAdded", t[t.functionalStoreLayout = 159] = "functionalStoreLayout", t[t.functionalBlock = 160] = "functionalBlock", t[t.functionalChecklist = 161] = "functionalChecklist", t[t.functionalCartCheckout = 162] = "functionalCartCheckout", t[t.functionalCartEdit = 163] = "functionalCartEdit", t[t.functionalEyeHidden = 164] = "functionalEyeHidden", t[t.functionalWarningCircleFilled = 165] = "functionalWarningCircleFilled", t[t.functionalQuestionCircleFilled = 166] = "functionalQuestionCircleFilled", t[t.functionalErrorCircleFilled = 167] = "functionalErrorCircleFilled", t[t.functionalSuccessCircleFilled = 168] = "functionalSuccessCircleFilled", t[t.functionalPlusCircle = 169] = "functionalPlusCircle", t[t.functionalSpinner = 170] = "functionalSpinner", t[t.functionalEcoEarth = 171] = "functionalEcoEarth", t[t.functionalAlphaBeta = 172] = "functionalAlphaBeta", t[t.functionalEuro = 173] = "functionalEuro", t[t.functionalNumber = 174] = "functionalNumber", t[t.functionalIdea = 175] = "functionalIdea", t[t.functionalMultifactorAuthenticator = 176] = "functionalMultifactorAuthenticator", t[t.functionalPassword = 177] = "functionalPassword", t[t.functionalDiscountCode = 178] = "functionalDiscountCode", t))(be || {});
|
|
3001
|
-
const
|
|
3001
|
+
const An = {
|
|
3002
3002
|
categoriesVegetables: a.lazy(
|
|
3003
|
-
() => import("./Categoriesvegetables-
|
|
3003
|
+
() => import("./Categoriesvegetables-BKOVD_qh.js")
|
|
3004
3004
|
),
|
|
3005
|
-
categoriesMeat: a.lazy(() => import("./Categoriesmeat-
|
|
3006
|
-
categoriesFish: a.lazy(() => import("./Categoriesfish-
|
|
3007
|
-
categoriesDairy: a.lazy(() => import("./Categoriesdairy-
|
|
3005
|
+
categoriesMeat: a.lazy(() => import("./Categoriesmeat-CjbDZlNF.js")),
|
|
3006
|
+
categoriesFish: a.lazy(() => import("./Categoriesfish-j9Omd9IC.js")),
|
|
3007
|
+
categoriesDairy: a.lazy(() => import("./Categoriesdairy-Cto9zTA_.js")),
|
|
3008
3008
|
categoriesBreakfast: a.lazy(
|
|
3009
|
-
() => import("./Categoriesbreakfast-
|
|
3009
|
+
() => import("./Categoriesbreakfast-BzP3kODQ.js")
|
|
3010
3010
|
),
|
|
3011
3011
|
categoriesSnacks: a.lazy(
|
|
3012
|
-
() => import("./Categoriessnacks-
|
|
3012
|
+
() => import("./Categoriessnacks-JPTVZFF4.js")
|
|
3013
3013
|
),
|
|
3014
|
-
categoriesCandy: a.lazy(() => import("./Categoriescandy-
|
|
3014
|
+
categoriesCandy: a.lazy(() => import("./Categoriescandy-CwQHrAlp.js")),
|
|
3015
3015
|
categoriesNonFood: a.lazy(
|
|
3016
|
-
() => import("./Categoriesnonfood-
|
|
3016
|
+
() => import("./Categoriesnonfood-BC1t-50j.js")
|
|
3017
3017
|
),
|
|
3018
3018
|
categoriesDryFood: a.lazy(
|
|
3019
|
-
() => import("./Categoriesdryfood-
|
|
3019
|
+
() => import("./Categoriesdryfood-D0QxtRiF.js")
|
|
3020
3020
|
),
|
|
3021
|
-
categoriesTins: a.lazy(() => import("./Categoriestins-
|
|
3022
|
-
categoriesGrid: a.lazy(() => import("./Categoriesgrid-
|
|
3023
|
-
categoriesSoda: a.lazy(() => import("./Categoriessoda-
|
|
3021
|
+
categoriesTins: a.lazy(() => import("./Categoriestins-DMoToNFc.js")),
|
|
3022
|
+
categoriesGrid: a.lazy(() => import("./Categoriesgrid-CNIn1ghX.js")),
|
|
3023
|
+
categoriesSoda: a.lazy(() => import("./Categoriessoda-Cu3p4go1.js")),
|
|
3024
3024
|
categoriesBakery: a.lazy(
|
|
3025
|
-
() => import("./Categoriesbakery-
|
|
3025
|
+
() => import("./Categoriesbakery-D9dGGsO2.js")
|
|
3026
3026
|
),
|
|
3027
|
-
categoriesWine: a.lazy(() => import("./Categorieswine-
|
|
3028
|
-
categoriesBaby: a.lazy(() => import("./Categoriesbaby-
|
|
3029
|
-
categoriesDiet: a.lazy(() => import("./Categoriesdiet-
|
|
3027
|
+
categoriesWine: a.lazy(() => import("./Categorieswine-DO9u-AWO.js")),
|
|
3028
|
+
categoriesBaby: a.lazy(() => import("./Categoriesbaby-DQdFbK4m.js")),
|
|
3029
|
+
categoriesDiet: a.lazy(() => import("./Categoriesdiet-B1uo_4nO.js")),
|
|
3030
3030
|
categoriesHygiene: a.lazy(
|
|
3031
|
-
() => import("./Categorieshygiene-
|
|
3031
|
+
() => import("./Categorieshygiene-CAhXhrf1.js")
|
|
3032
3032
|
),
|
|
3033
3033
|
categoriesCleaning: a.lazy(
|
|
3034
|
-
() => import("./Categoriescleaning-
|
|
3034
|
+
() => import("./Categoriescleaning-8sQIXsQz.js")
|
|
3035
3035
|
),
|
|
3036
|
-
categoriesPets: a.lazy(() => import("./Categoriespets-
|
|
3036
|
+
categoriesPets: a.lazy(() => import("./Categoriespets-BqgOOnB2.js")),
|
|
3037
3037
|
categoriesFreezer: a.lazy(
|
|
3038
|
-
() => import("./Categoriesfreezer-
|
|
3038
|
+
() => import("./Categoriesfreezer-2XkwF9UC.js")
|
|
3039
3039
|
),
|
|
3040
|
-
categoriesBbq: a.lazy(() => import("./Categoriesbbq-
|
|
3040
|
+
categoriesBbq: a.lazy(() => import("./Categoriesbbq-DnaZfWzI.js")),
|
|
3041
3041
|
categoriesMealbox: a.lazy(
|
|
3042
|
-
() => import("./Categoriesmealbox-
|
|
3042
|
+
() => import("./Categoriesmealbox-B_YTIPrM.js")
|
|
3043
3043
|
),
|
|
3044
|
-
categoriesBrik: a.lazy(() => import("./Categoriesbrik-
|
|
3044
|
+
categoriesBrik: a.lazy(() => import("./Categoriesbrik-CDdVVYxR.js")),
|
|
3045
3045
|
categoriesGranen: a.lazy(
|
|
3046
|
-
() => import("./Categoriesgranen-
|
|
3046
|
+
() => import("./Categoriesgranen-i4vcd1IE.js")
|
|
3047
3047
|
),
|
|
3048
3048
|
categoriesConserve: a.lazy(
|
|
3049
|
-
() => import("./Categoriesconserve-
|
|
3049
|
+
() => import("./Categoriesconserve-BbhVtDvE.js")
|
|
3050
3050
|
),
|
|
3051
|
-
categoriesHome: a.lazy(() => import("./Categorieshome-
|
|
3051
|
+
categoriesHome: a.lazy(() => import("./Categorieshome-D73xIePc.js")),
|
|
3052
3052
|
categoriesEaster: a.lazy(
|
|
3053
|
-
() => import("./Categorieseaster-
|
|
3053
|
+
() => import("./Categorieseaster-XQu6XH_H.js")
|
|
3054
3054
|
),
|
|
3055
3055
|
categoriesOnlinePromo: a.lazy(
|
|
3056
|
-
() => import("./Categoriesonlinepromo-
|
|
3056
|
+
() => import("./Categoriesonlinepromo-BnIuGzQm.js")
|
|
3057
3057
|
),
|
|
3058
3058
|
categoriesSportFood: a.lazy(
|
|
3059
|
-
() => import("./Categoriessportfood-
|
|
3059
|
+
() => import("./Categoriessportfood-6I20kmUP.js")
|
|
3060
3060
|
),
|
|
3061
3061
|
categoriesClothing: a.lazy(
|
|
3062
|
-
() => import("./Categoriesclothing-
|
|
3062
|
+
() => import("./Categoriesclothing-CbjQv1cc.js")
|
|
3063
3063
|
),
|
|
3064
3064
|
categoriesEnergy: a.lazy(
|
|
3065
|
-
() => import("./Categoriesenergy-
|
|
3065
|
+
() => import("./Categoriesenergy-qcZ-vdzj.js")
|
|
3066
3066
|
),
|
|
3067
3067
|
categoriesDeskAndTravel: a.lazy(
|
|
3068
|
-
() => import("./Categoriesdeskandtravel-
|
|
3068
|
+
() => import("./Categoriesdeskandtravel-DdcLwyJg.js")
|
|
3069
3069
|
),
|
|
3070
3070
|
categoriesCigarette: a.lazy(
|
|
3071
|
-
() => import("./Categoriescigarette-
|
|
3071
|
+
() => import("./Categoriescigarette-Bc55HaSY.js")
|
|
3072
3072
|
),
|
|
3073
|
-
categoriesFood: a.lazy(() => import("./Categoriesfood-
|
|
3074
|
-
categoriesChild: a.lazy(() => import("./Categorieschild-
|
|
3073
|
+
categoriesFood: a.lazy(() => import("./Categoriesfood-D8FwNm0J.js")),
|
|
3074
|
+
categoriesChild: a.lazy(() => import("./Categorieschild-B76ilzm9.js")),
|
|
3075
3075
|
categoriesPuzzle: a.lazy(
|
|
3076
|
-
() => import("./Categoriespuzzle-
|
|
3076
|
+
() => import("./Categoriespuzzle-BVo6abKM.js")
|
|
3077
3077
|
),
|
|
3078
|
-
categoriesToys: a.lazy(() => import("./Categoriestoys-
|
|
3079
|
-
categoriesCar: a.lazy(() => import("./Categoriescar-
|
|
3078
|
+
categoriesToys: a.lazy(() => import("./Categoriestoys-DL74hcYf.js")),
|
|
3079
|
+
categoriesCar: a.lazy(() => import("./Categoriescar-BoO1CBp0.js")),
|
|
3080
3080
|
categoriesPlaceholder: a.lazy(
|
|
3081
|
-
() => import("./Categoriesplaceholder-
|
|
3081
|
+
() => import("./Categoriesplaceholder-DqpC1W-b.js")
|
|
3082
3082
|
),
|
|
3083
|
-
categoriesFuel: a.lazy(() => import("./Categoriesfuel-
|
|
3083
|
+
categoriesFuel: a.lazy(() => import("./Categoriesfuel-BDJecmpl.js")),
|
|
3084
3084
|
categoriesCarAndBike: a.lazy(
|
|
3085
|
-
() => import("./Categoriescarandbike-
|
|
3085
|
+
() => import("./Categoriescarandbike-Bt5-XXbF.js")
|
|
3086
3086
|
),
|
|
3087
3087
|
categoriesToyAndHobby: a.lazy(
|
|
3088
|
-
() => import("./Categoriestoyandhobby-
|
|
3088
|
+
() => import("./Categoriestoyandhobby-Dzb4ETYG.js")
|
|
3089
3089
|
),
|
|
3090
3090
|
categoriesMultimedia: a.lazy(
|
|
3091
|
-
() => import("./Categoriesmultimedia-
|
|
3091
|
+
() => import("./Categoriesmultimedia-DFKuCw9b.js")
|
|
3092
3092
|
),
|
|
3093
|
-
categoriesParty: a.lazy(() => import("./Categoriesparty-
|
|
3094
|
-
toolsPay: a.lazy(() => import("./Toolspay-
|
|
3095
|
-
toolsReceipt: a.lazy(() => import("./Toolsreceipt-
|
|
3096
|
-
toolsFuel: a.lazy(() => import("./Toolsfuel-
|
|
3093
|
+
categoriesParty: a.lazy(() => import("./Categoriesparty-BhoZ4CPn.js")),
|
|
3094
|
+
toolsPay: a.lazy(() => import("./Toolspay-CADM1m17.js")),
|
|
3095
|
+
toolsReceipt: a.lazy(() => import("./Toolsreceipt-B5-acU0l.js")),
|
|
3096
|
+
toolsFuel: a.lazy(() => import("./Toolsfuel-BX3Nt5Lj.js")),
|
|
3097
3097
|
toolsStoreLocator: a.lazy(
|
|
3098
|
-
() => import("./Toolsstorelocator-
|
|
3098
|
+
() => import("./Toolsstorelocator-D8WFtsnA.js")
|
|
3099
3099
|
),
|
|
3100
|
-
toolsStats: a.lazy(() => import("./Toolsstats-
|
|
3100
|
+
toolsStats: a.lazy(() => import("./Toolsstats-C8qR-KY4.js")),
|
|
3101
3101
|
toolsShowXtraOld: a.lazy(
|
|
3102
|
-
() => import("./Toolsshowxtraold-
|
|
3102
|
+
() => import("./Toolsshowxtraold-DzLRcGyf.js")
|
|
3103
3103
|
),
|
|
3104
3104
|
toolsShowXtraNew: a.lazy(
|
|
3105
|
-
() => import("./Toolsshowxtranew-
|
|
3105
|
+
() => import("./Toolsshowxtranew-DLgj-ZVz.js")
|
|
3106
3106
|
),
|
|
3107
|
-
toolsScan2: a.lazy(() => import("./Toolsscan2-
|
|
3108
|
-
toolsRecipes2: a.lazy(() => import("./Toolsrecipes2
|
|
3109
|
-
toolsWarranty: a.lazy(() => import("./Toolswarranty-
|
|
3110
|
-
toolsCoupons: a.lazy(() => import("./Toolscoupons-
|
|
3107
|
+
toolsScan2: a.lazy(() => import("./Toolsscan2-Dq0RO2Gr.js")),
|
|
3108
|
+
toolsRecipes2: a.lazy(() => import("./Toolsrecipes2-BDfljXMB.js")),
|
|
3109
|
+
toolsWarranty: a.lazy(() => import("./Toolswarranty-ve5rUdoH.js")),
|
|
3110
|
+
toolsCoupons: a.lazy(() => import("./Toolscoupons-XYxrqHh1.js")),
|
|
3111
3111
|
toolsFavoriteInactive: a.lazy(
|
|
3112
|
-
() => import("./Toolsfavoriteinactive-
|
|
3112
|
+
() => import("./Toolsfavoriteinactive-pMYflgo1.js")
|
|
3113
3113
|
),
|
|
3114
3114
|
toolsFavoriteActive: a.lazy(
|
|
3115
|
-
() => import("./Toolsfavoriteactive-
|
|
3115
|
+
() => import("./Toolsfavoriteactive-DY00Q_p_.js")
|
|
3116
3116
|
),
|
|
3117
|
-
toolsAssortment: a.lazy(() => import("./Toolsassortment-
|
|
3118
|
-
toolsPromo: a.lazy(() => import("./Toolspromo-
|
|
3119
|
-
fuelCng: a.lazy(() => import("./Fuelcng-
|
|
3120
|
-
fuelE5: a.lazy(() => import("./Fuele5-
|
|
3121
|
-
fuelAdblue: a.lazy(() => import("./Fueladblue-
|
|
3122
|
-
fuelB7: a.lazy(() => import("./Fuelb7-
|
|
3123
|
-
fuelH2: a.lazy(() => import("./Fuelh2-
|
|
3124
|
-
fuelE10: a.lazy(() => import("./Fuele10-
|
|
3117
|
+
toolsAssortment: a.lazy(() => import("./Toolsassortment-CgbyCBiQ.js")),
|
|
3118
|
+
toolsPromo: a.lazy(() => import("./Toolspromo-0PJYCHIm.js")),
|
|
3119
|
+
fuelCng: a.lazy(() => import("./Fuelcng-kXm2Lc5z.js")),
|
|
3120
|
+
fuelE5: a.lazy(() => import("./Fuele5-CehdfvYR.js")),
|
|
3121
|
+
fuelAdblue: a.lazy(() => import("./Fueladblue-Dl4io3TT.js")),
|
|
3122
|
+
fuelB7: a.lazy(() => import("./Fuelb7-DJqq_Dri.js")),
|
|
3123
|
+
fuelH2: a.lazy(() => import("./Fuelh2-Pf4eajiY.js")),
|
|
3124
|
+
fuelE10: a.lazy(() => import("./Fuele10-Bs_qXkks.js")),
|
|
3125
3125
|
fuelFreeTireInflation: a.lazy(
|
|
3126
|
-
() => import("./Fuelfreetireinflation-
|
|
3126
|
+
() => import("./Fuelfreetireinflation-D4VAteY1.js")
|
|
3127
3127
|
),
|
|
3128
|
-
functionalClose: a.lazy(() => import("./Functionalclose-
|
|
3129
|
-
functionalBack: a.lazy(() => import("./Functionalback-
|
|
3128
|
+
functionalClose: a.lazy(() => import("./Functionalclose-2Z_rs1mE.js")),
|
|
3129
|
+
functionalBack: a.lazy(() => import("./Functionalback-B7gVAFmt.js")),
|
|
3130
3130
|
functionalSearch: a.lazy(
|
|
3131
|
-
() => import("./Functionalsearch-
|
|
3131
|
+
() => import("./Functionalsearch-DUdranGP.js")
|
|
3132
3132
|
),
|
|
3133
|
-
functionalEdit: a.lazy(() => import("./Functionaledit-
|
|
3134
|
-
functionalShare: a.lazy(() => import("./Functionalshare-
|
|
3133
|
+
functionalEdit: a.lazy(() => import("./Functionaledit-H3XNDpIG.js")),
|
|
3134
|
+
functionalShare: a.lazy(() => import("./Functionalshare-CVyiRx4B.js")),
|
|
3135
3135
|
functionalLocation: a.lazy(
|
|
3136
|
-
() => import("./Functionallocation-
|
|
3136
|
+
() => import("./Functionallocation-CIncl3Wv.js")
|
|
3137
3137
|
),
|
|
3138
|
-
functionalTrash: a.lazy(() => import("./Functionaltrash-
|
|
3138
|
+
functionalTrash: a.lazy(() => import("./Functionaltrash-_nwkGw44.js")),
|
|
3139
3139
|
functionalCamera: a.lazy(
|
|
3140
|
-
() => import("./Functionalcamera-
|
|
3140
|
+
() => import("./Functionalcamera-DVKncp-r.js")
|
|
3141
3141
|
),
|
|
3142
|
-
functionalPhone: a.lazy(() => import("./Functionalphone-
|
|
3142
|
+
functionalPhone: a.lazy(() => import("./Functionalphone-BF9CyV6v.js")),
|
|
3143
3143
|
functionalPushNotifications: a.lazy(
|
|
3144
|
-
() => import("./Functionalpushnotifications-
|
|
3144
|
+
() => import("./Functionalpushnotifications-80Cbaljb.js")
|
|
3145
3145
|
),
|
|
3146
|
-
functionalMail: a.lazy(() => import("./Functionalmail-
|
|
3147
|
-
functionalGift: a.lazy(() => import("./Functionalgift-
|
|
3146
|
+
functionalMail: a.lazy(() => import("./Functionalmail-B-wLbq2n.js")),
|
|
3147
|
+
functionalGift: a.lazy(() => import("./Functionalgift-BJKQ7gC3.js")),
|
|
3148
3148
|
functionalPresent: a.lazy(
|
|
3149
|
-
() => import("./Functionalpresent-
|
|
3149
|
+
() => import("./Functionalpresent-bP2BhQ8e.js")
|
|
3150
3150
|
),
|
|
3151
3151
|
functionalLoading: a.lazy(
|
|
3152
|
-
() => import("./Functionalloading-
|
|
3152
|
+
() => import("./Functionalloading-Loc6KAD1.js")
|
|
3153
3153
|
),
|
|
3154
3154
|
functionalChevronRight: a.lazy(
|
|
3155
|
-
() => import("./Functionalchevronright-
|
|
3155
|
+
() => import("./Functionalchevronright-D3y_3LjZ.js")
|
|
3156
3156
|
),
|
|
3157
|
-
functionalCheck: a.lazy(() => import("./Functionalcheck-
|
|
3157
|
+
functionalCheck: a.lazy(() => import("./Functionalcheck-CgrMCln2.js")),
|
|
3158
3158
|
functionalChevronDown: a.lazy(
|
|
3159
|
-
() => import("./Functionalchevrondown-
|
|
3159
|
+
() => import("./Functionalchevrondown-B_rPVwRt.js")
|
|
3160
3160
|
),
|
|
3161
3161
|
functionalChevronUp: a.lazy(
|
|
3162
|
-
() => import("./Functionalchevronup-
|
|
3162
|
+
() => import("./Functionalchevronup-BDI4UYsI.js")
|
|
3163
3163
|
),
|
|
3164
|
-
functionalPlus: a.lazy(() => import("./Functionalplus-
|
|
3165
|
-
functionalReset: a.lazy(() => import("./Functionalreset-
|
|
3164
|
+
functionalPlus: a.lazy(() => import("./Functionalplus-Dn6pplIe.js")),
|
|
3165
|
+
functionalReset: a.lazy(() => import("./Functionalreset-CjL8Uezf.js")),
|
|
3166
3166
|
functionalDownload: a.lazy(
|
|
3167
|
-
() => import("./Functionaldownload-
|
|
3167
|
+
() => import("./Functionaldownload-DKhUeMhG.js")
|
|
3168
3168
|
),
|
|
3169
3169
|
functionalExport: a.lazy(
|
|
3170
|
-
() => import("./Functionalexport-
|
|
3170
|
+
() => import("./Functionalexport-DfBAx92N.js")
|
|
3171
3171
|
),
|
|
3172
3172
|
functionalCustomerService: a.lazy(
|
|
3173
|
-
() => import("./Functionalcustomerservice-
|
|
3173
|
+
() => import("./Functionalcustomerservice-CweB9x-D.js")
|
|
3174
3174
|
),
|
|
3175
|
-
functionalTruck: a.lazy(() => import("./Functionaltruck-
|
|
3176
|
-
functionalBox: a.lazy(() => import("./Functionalbox-
|
|
3175
|
+
functionalTruck: a.lazy(() => import("./Functionaltruck-CKO231xx.js")),
|
|
3176
|
+
functionalBox: a.lazy(() => import("./Functionalbox-xeAB31J3.js")),
|
|
3177
3177
|
functionalEllipsis: a.lazy(
|
|
3178
|
-
() => import("./Functionalellipsis-
|
|
3178
|
+
() => import("./Functionalellipsis-C0gR6Kc3.js")
|
|
3179
3179
|
),
|
|
3180
3180
|
functionalLocationHome: a.lazy(
|
|
3181
|
-
() => import("./Functionallocationhome-
|
|
3181
|
+
() => import("./Functionallocationhome-DKggmqTH.js")
|
|
3182
3182
|
),
|
|
3183
3183
|
functionalLocationPickup: a.lazy(
|
|
3184
|
-
() => import("./Functionallocationpickup-
|
|
3184
|
+
() => import("./Functionallocationpickup-Bqv93OsA.js")
|
|
3185
3185
|
),
|
|
3186
3186
|
functionalAccount: a.lazy(
|
|
3187
|
-
() => import("./Functionalaccount-
|
|
3187
|
+
() => import("./Functionalaccount-Cf1X9n1t.js")
|
|
3188
3188
|
),
|
|
3189
3189
|
functionalPrivacy: a.lazy(
|
|
3190
|
-
() => import("./Functionalprivacy-
|
|
3190
|
+
() => import("./Functionalprivacy-BxMPzrDz.js")
|
|
3191
3191
|
),
|
|
3192
3192
|
functionalSettings: a.lazy(
|
|
3193
|
-
() => import("./Functionalsettings-
|
|
3193
|
+
() => import("./Functionalsettings-CEgqZq8_.js")
|
|
3194
3194
|
),
|
|
3195
3195
|
functionalUserInfo: a.lazy(
|
|
3196
|
-
() => import("./Functionaluserinfo-
|
|
3196
|
+
() => import("./Functionaluserinfo-COKnecaL.js")
|
|
3197
3197
|
),
|
|
3198
3198
|
functionalPinOutlines: a.lazy(
|
|
3199
|
-
() => import("./Functionalpinoutlines-
|
|
3199
|
+
() => import("./Functionalpinoutlines-tfIuiqQU.js")
|
|
3200
3200
|
),
|
|
3201
3201
|
functionalCalendar: a.lazy(
|
|
3202
|
-
() => import("./Functionalcalendar-
|
|
3202
|
+
() => import("./Functionalcalendar-B_kE_YDB.js")
|
|
3203
3203
|
),
|
|
3204
|
-
functionalMinus: a.lazy(() => import("./Functionalminus-
|
|
3204
|
+
functionalMinus: a.lazy(() => import("./Functionalminus-DTkX2aQM.js")),
|
|
3205
3205
|
functionalLifestyle: a.lazy(
|
|
3206
|
-
() => import("./Functionallifestyle-
|
|
3206
|
+
() => import("./Functionallifestyle-CZSPaRzh.js")
|
|
3207
3207
|
),
|
|
3208
|
-
functionalSms: a.lazy(() => import("./Functionalsms-
|
|
3208
|
+
functionalSms: a.lazy(() => import("./Functionalsms-BD0ommXn.js")),
|
|
3209
3209
|
functionalSwitch: a.lazy(
|
|
3210
|
-
() => import("./Functionalswitch-
|
|
3210
|
+
() => import("./Functionalswitch-DG4jNG9C.js")
|
|
3211
3211
|
),
|
|
3212
3212
|
functionalSorting: a.lazy(
|
|
3213
|
-
() => import("./Functionalsorting-
|
|
3213
|
+
() => import("./Functionalsorting-OZkMAkYi.js")
|
|
3214
3214
|
),
|
|
3215
3215
|
functionalWarningCircle: a.lazy(
|
|
3216
|
-
() => import("./Functionalwarningcircle-
|
|
3216
|
+
() => import("./Functionalwarningcircle-D01LfNnB.js")
|
|
3217
3217
|
),
|
|
3218
3218
|
functionalQuestionCircle: a.lazy(
|
|
3219
|
-
() => import("./Functionalquestioncircle-
|
|
3219
|
+
() => import("./Functionalquestioncircle-BCoi2sSI.js")
|
|
3220
3220
|
),
|
|
3221
3221
|
functionalErrorCircle: a.lazy(
|
|
3222
|
-
() => import("./Functionalerrorcircle-
|
|
3222
|
+
() => import("./Functionalerrorcircle-CWwAdiws.js")
|
|
3223
3223
|
),
|
|
3224
3224
|
functionalSuccessCircle: a.lazy(
|
|
3225
|
-
() => import("./Functionalsuccesscircle-
|
|
3225
|
+
() => import("./Functionalsuccesscircle-Exemz9eu.js")
|
|
3226
3226
|
),
|
|
3227
3227
|
functionalMessage: a.lazy(
|
|
3228
|
-
() => import("./Functionalmessage-
|
|
3228
|
+
() => import("./Functionalmessage-CYRd3NTu.js")
|
|
3229
3229
|
),
|
|
3230
3230
|
functionalExternalLink: a.lazy(
|
|
3231
|
-
() => import("./Functionalexternallink-
|
|
3231
|
+
() => import("./Functionalexternallink-BLKLAfkF.js")
|
|
3232
3232
|
),
|
|
3233
3233
|
functionalAddToList: a.lazy(
|
|
3234
|
-
() => import("./Functionaladdtolist-
|
|
3234
|
+
() => import("./Functionaladdtolist-W9qIgyAr.js")
|
|
3235
3235
|
),
|
|
3236
3236
|
functionalShoppingcart: a.lazy(
|
|
3237
|
-
() => import("./Functionalshoppingcart-
|
|
3237
|
+
() => import("./Functionalshoppingcart-CJAw2C3a.js")
|
|
3238
3238
|
),
|
|
3239
3239
|
functionalFilter: a.lazy(
|
|
3240
|
-
() => import("./Functionalfilter-
|
|
3240
|
+
() => import("./Functionalfilter-Cmv-zQKZ.js")
|
|
3241
3241
|
),
|
|
3242
3242
|
functionalLocate: a.lazy(
|
|
3243
|
-
() => import("./Functionallocate-
|
|
3243
|
+
() => import("./Functionallocate-Ct-HqVo4.js")
|
|
3244
3244
|
),
|
|
3245
3245
|
functionalBarcode: a.lazy(
|
|
3246
|
-
() => import("./Functionalbarcode-
|
|
3246
|
+
() => import("./Functionalbarcode-C319GmsM.js")
|
|
3247
3247
|
),
|
|
3248
|
-
functionalClock: a.lazy(() => import("./Functionalclock-
|
|
3248
|
+
functionalClock: a.lazy(() => import("./Functionalclock-CH4saSZS.js")),
|
|
3249
3249
|
functionalHistory: a.lazy(
|
|
3250
|
-
() => import("./Functionalhistory-
|
|
3250
|
+
() => import("./Functionalhistory-BAfHTo2a.js")
|
|
3251
3251
|
),
|
|
3252
|
-
functionalShops: a.lazy(() => import("./Functionalshops-
|
|
3252
|
+
functionalShops: a.lazy(() => import("./Functionalshops-CynWkCw4.js")),
|
|
3253
3253
|
functionalAddUser: a.lazy(
|
|
3254
|
-
() => import("./Functionaladduser-
|
|
3254
|
+
() => import("./Functionaladduser-qeR8jMh9.js")
|
|
3255
3255
|
),
|
|
3256
|
-
functionalOther: a.lazy(() => import("./Functionalother-
|
|
3256
|
+
functionalOther: a.lazy(() => import("./Functionalother-DiQ_aX74.js")),
|
|
3257
3257
|
functionalInAppNotifications: a.lazy(
|
|
3258
|
-
() => import("./Functionalinappnotifications-
|
|
3258
|
+
() => import("./Functionalinappnotifications-CZWxihDk.js")
|
|
3259
3259
|
),
|
|
3260
|
-
functionalExit: a.lazy(() => import("./Functionalexit-
|
|
3260
|
+
functionalExit: a.lazy(() => import("./Functionalexit-6FBYs5ZH.js")),
|
|
3261
3261
|
functionalShared: a.lazy(
|
|
3262
|
-
() => import("./Functionalshared-
|
|
3262
|
+
() => import("./Functionalshared-mrRFZnhq.js")
|
|
3263
3263
|
),
|
|
3264
3264
|
functionalThumbsup: a.lazy(
|
|
3265
|
-
() => import("./Functionalthumbsup-
|
|
3265
|
+
() => import("./Functionalthumbsup-BSh7bXR8.js")
|
|
3266
3266
|
),
|
|
3267
3267
|
functionalDiscount: a.lazy(
|
|
3268
|
-
() => import("./Functionaldiscount-
|
|
3268
|
+
() => import("./Functionaldiscount-9WrszQqX.js")
|
|
3269
3269
|
),
|
|
3270
3270
|
functionalPercentage: a.lazy(
|
|
3271
|
-
() => import("./Functionalpercentage-
|
|
3271
|
+
() => import("./Functionalpercentage-hEC2Jg6h.js")
|
|
3272
3272
|
),
|
|
3273
|
-
functionalList: a.lazy(() => import("./Functionallist-
|
|
3273
|
+
functionalList: a.lazy(() => import("./Functionallist-wKyOUsVJ.js")),
|
|
3274
3274
|
functionalMapLocation: a.lazy(
|
|
3275
|
-
() => import("./Functionalmaplocation-
|
|
3275
|
+
() => import("./Functionalmaplocation-BnwgJFqe.js")
|
|
3276
3276
|
),
|
|
3277
3277
|
functionalNoConnection: a.lazy(
|
|
3278
|
-
() => import("./Functionalnoconnection-
|
|
3278
|
+
() => import("./Functionalnoconnection-B98oW6mE.js")
|
|
3279
3279
|
),
|
|
3280
|
-
functionalSwap: a.lazy(() => import("./Functionalswap-
|
|
3281
|
-
functionalPiece: a.lazy(() => import("./Functionalpiece-
|
|
3280
|
+
functionalSwap: a.lazy(() => import("./Functionalswap-783_HEjN.js")),
|
|
3281
|
+
functionalPiece: a.lazy(() => import("./Functionalpiece-CtpUTK8Y.js")),
|
|
3282
3282
|
functionalWeight: a.lazy(
|
|
3283
|
-
() => import("./Functionalweight-
|
|
3283
|
+
() => import("./Functionalweight-bWWjfDzK.js")
|
|
3284
3284
|
),
|
|
3285
|
-
functionalPack: a.lazy(() => import("./Functionalpack-
|
|
3285
|
+
functionalPack: a.lazy(() => import("./Functionalpack-CXrWDayH.js")),
|
|
3286
3286
|
functionalCommunications: a.lazy(
|
|
3287
|
-
() => import("./Functionalcommunications-
|
|
3287
|
+
() => import("./Functionalcommunications-DexbcD48.js")
|
|
3288
3288
|
),
|
|
3289
3289
|
functionalDeliveryAddresses: a.lazy(
|
|
3290
|
-
() => import("./Functionaldeliveryaddresses-
|
|
3290
|
+
() => import("./Functionaldeliveryaddresses-BYJOZ9MD.js")
|
|
3291
3291
|
),
|
|
3292
3292
|
"functional18+": a.lazy(
|
|
3293
|
-
() => import("./Functional18plus-
|
|
3293
|
+
() => import("./Functional18plus-DVjWRD_9.js")
|
|
3294
3294
|
),
|
|
3295
3295
|
functionalReadtime: a.lazy(
|
|
3296
|
-
() => import("./Functionalreadtime-
|
|
3296
|
+
() => import("./Functionalreadtime-DKvtohyQ.js")
|
|
3297
3297
|
),
|
|
3298
|
-
functionalCopy: a.lazy(() => import("./Functionalcopy-
|
|
3298
|
+
functionalCopy: a.lazy(() => import("./Functionalcopy-oJKPM4yr.js")),
|
|
3299
3299
|
functionalMessageField: a.lazy(
|
|
3300
|
-
() => import("./Functionalmessagefield-
|
|
3300
|
+
() => import("./Functionalmessagefield-BIlhfJoQ.js")
|
|
3301
3301
|
),
|
|
3302
|
-
functionalNext: a.lazy(() => import("./Functionalnext-
|
|
3303
|
-
functionalSave: a.lazy(() => import("./Functionalsave-
|
|
3304
|
-
functionalLogin: a.lazy(() => import("./Functionallogin-
|
|
3302
|
+
functionalNext: a.lazy(() => import("./Functionalnext-uQ3mEZtn.js")),
|
|
3303
|
+
functionalSave: a.lazy(() => import("./Functionalsave-BKIhnGKL.js")),
|
|
3304
|
+
functionalLogin: a.lazy(() => import("./Functionallogin-DybY0Fz2.js")),
|
|
3305
3305
|
functionalLogout: a.lazy(
|
|
3306
|
-
() => import("./Functionallogout-
|
|
3306
|
+
() => import("./Functionallogout-yTLFdrWL.js")
|
|
3307
3307
|
),
|
|
3308
3308
|
functionalWebsite: a.lazy(
|
|
3309
|
-
() => import("./Functionalwebsite-
|
|
3309
|
+
() => import("./Functionalwebsite-Vuh2I5xa.js")
|
|
3310
3310
|
),
|
|
3311
|
-
functionalMenu: a.lazy(() => import("./Functionalmenu-
|
|
3311
|
+
functionalMenu: a.lazy(() => import("./Functionalmenu-DUCLWiJY.js")),
|
|
3312
3312
|
functionalRegister: a.lazy(
|
|
3313
|
-
() => import("./Functionalregister-
|
|
3313
|
+
() => import("./Functionalregister-Bd52dvlF.js")
|
|
3314
3314
|
),
|
|
3315
|
-
functionalNews: a.lazy(() => import("./Functionalnews-
|
|
3316
|
-
functionalTimer: a.lazy(() => import("./Functionaltimer-
|
|
3315
|
+
functionalNews: a.lazy(() => import("./Functionalnews-CkT4gF4V.js")),
|
|
3316
|
+
functionalTimer: a.lazy(() => import("./Functionaltimer-nYjsqklF.js")),
|
|
3317
3317
|
functionalEyeShow: a.lazy(
|
|
3318
|
-
() => import("./Functionaleyeshow-
|
|
3318
|
+
() => import("./Functionaleyeshow-FV8t12wt.js")
|
|
3319
3319
|
),
|
|
3320
3320
|
functionalMobilePay: a.lazy(
|
|
3321
|
-
() => import("./Functionalmobilepay-
|
|
3321
|
+
() => import("./Functionalmobilepay-B2lkfCSL.js")
|
|
3322
3322
|
),
|
|
3323
3323
|
functionalConnectionCable: a.lazy(
|
|
3324
|
-
() => import("./Functionalconnectioncable-
|
|
3324
|
+
() => import("./Functionalconnectioncable-TUttBbZp.js")
|
|
3325
3325
|
),
|
|
3326
3326
|
functionalDryCleaning: a.lazy(
|
|
3327
|
-
() => import("./Functionaldrycleaning-
|
|
3327
|
+
() => import("./Functionaldrycleaning-WzvKpUbz.js")
|
|
3328
3328
|
),
|
|
3329
|
-
functionalKiosk: a.lazy(() => import("./Functionalkiosk-
|
|
3329
|
+
functionalKiosk: a.lazy(() => import("./Functionalkiosk-BJ_rWjlO.js")),
|
|
3330
3330
|
functionalConnectedDevice: a.lazy(
|
|
3331
|
-
() => import("./Functionalconnecteddevice-
|
|
3331
|
+
() => import("./Functionalconnecteddevice-B0x16Z1M.js")
|
|
3332
3332
|
),
|
|
3333
3333
|
functionalCookies: a.lazy(
|
|
3334
|
-
() => import("./Functionalcookies-
|
|
3334
|
+
() => import("./Functionalcookies-a-Ql6sST.js")
|
|
3335
3335
|
),
|
|
3336
3336
|
functionalViewFile: a.lazy(
|
|
3337
|
-
() => import("./Functionalviewfile-
|
|
3337
|
+
() => import("./Functionalviewfile-cRPDqhMH.js")
|
|
3338
3338
|
),
|
|
3339
3339
|
functionalLastAdded: a.lazy(
|
|
3340
|
-
() => import("./Functionallastadded-
|
|
3340
|
+
() => import("./Functionallastadded-uhywDw1O.js")
|
|
3341
3341
|
),
|
|
3342
3342
|
functionalFirstAdded: a.lazy(
|
|
3343
|
-
() => import("./Functionalfirstadded-
|
|
3343
|
+
() => import("./Functionalfirstadded-CN1eLbNP.js")
|
|
3344
3344
|
),
|
|
3345
3345
|
functionalStoreLayout: a.lazy(
|
|
3346
|
-
() => import("./Functionalstorelayout-
|
|
3346
|
+
() => import("./Functionalstorelayout-BfUUghs6.js")
|
|
3347
3347
|
),
|
|
3348
|
-
functionalBlock: a.lazy(() => import("./Functionalblock-
|
|
3348
|
+
functionalBlock: a.lazy(() => import("./Functionalblock-BdcChMtd.js")),
|
|
3349
3349
|
functionalChecklist: a.lazy(
|
|
3350
|
-
() => import("./Functionalchecklist-
|
|
3350
|
+
() => import("./Functionalchecklist-DO3KHeBN.js")
|
|
3351
3351
|
),
|
|
3352
3352
|
functionalCartCheckout: a.lazy(
|
|
3353
|
-
() => import("./Functionalcartcheckout-
|
|
3353
|
+
() => import("./Functionalcartcheckout-B2oH2S-G.js")
|
|
3354
3354
|
),
|
|
3355
3355
|
functionalCartEdit: a.lazy(
|
|
3356
|
-
() => import("./Functionalcartedit-
|
|
3356
|
+
() => import("./Functionalcartedit-D3_G2QgX.js")
|
|
3357
3357
|
),
|
|
3358
3358
|
functionalEyeHidden: a.lazy(
|
|
3359
|
-
() => import("./Functionaleyehidden-
|
|
3359
|
+
() => import("./Functionaleyehidden-DhLuW24L.js")
|
|
3360
3360
|
),
|
|
3361
3361
|
functionalWarningCircleFilled: a.lazy(
|
|
3362
|
-
() => import("./Functionalwarningcirclefilled-
|
|
3362
|
+
() => import("./Functionalwarningcirclefilled-rZo7AnFs.js")
|
|
3363
3363
|
),
|
|
3364
3364
|
functionalQuestionCircleFilled: a.lazy(
|
|
3365
|
-
() => import("./Functionalquestioncirclefilled-
|
|
3365
|
+
() => import("./Functionalquestioncirclefilled-C3htLii9.js")
|
|
3366
3366
|
),
|
|
3367
3367
|
functionalErrorCircleFilled: a.lazy(
|
|
3368
|
-
() => import("./Functionalerrorcirclefilled-
|
|
3368
|
+
() => import("./Functionalerrorcirclefilled-WKwMFMqJ.js")
|
|
3369
3369
|
),
|
|
3370
3370
|
functionalSuccessCircleFilled: a.lazy(
|
|
3371
|
-
() => import("./Functionalsuccesscirclefilled-
|
|
3371
|
+
() => import("./Functionalsuccesscirclefilled-ywjXtrlJ.js")
|
|
3372
3372
|
),
|
|
3373
3373
|
functionalPlusCircle: a.lazy(
|
|
3374
|
-
() => import("./Functionalpluscircle-
|
|
3374
|
+
() => import("./Functionalpluscircle-D9JzzRTn.js")
|
|
3375
3375
|
),
|
|
3376
3376
|
functionalSpinner: a.lazy(
|
|
3377
|
-
() => import("./Functionalspinner-
|
|
3377
|
+
() => import("./Functionalspinner-rislFO5M.js")
|
|
3378
3378
|
),
|
|
3379
3379
|
functionalEcoEarth: a.lazy(
|
|
3380
|
-
() => import("./Functionalecoearth-
|
|
3380
|
+
() => import("./Functionalecoearth-DV-Ld6LH.js")
|
|
3381
3381
|
),
|
|
3382
3382
|
functionalAlphaBeta: a.lazy(
|
|
3383
|
-
() => import("./Functionalalphabeta-
|
|
3383
|
+
() => import("./Functionalalphabeta-DRrTLbD7.js")
|
|
3384
3384
|
),
|
|
3385
|
-
functionalEuro: a.lazy(() => import("./Functionaleuro-
|
|
3385
|
+
functionalEuro: a.lazy(() => import("./Functionaleuro-C5LZbvTT.js")),
|
|
3386
3386
|
functionalNumber: a.lazy(
|
|
3387
|
-
() => import("./Functionalnumber-
|
|
3387
|
+
() => import("./Functionalnumber-CWsGQozU.js")
|
|
3388
3388
|
),
|
|
3389
|
-
functionalIdea: a.lazy(() => import("./Functionalidea-
|
|
3389
|
+
functionalIdea: a.lazy(() => import("./Functionalidea-BgOLQyKf.js")),
|
|
3390
3390
|
functionalMultifactorAuthenticator: a.lazy(
|
|
3391
|
-
() => import("./Functionalmultifactorauthenticator-
|
|
3391
|
+
() => import("./Functionalmultifactorauthenticator-DDjOX7as.js")
|
|
3392
3392
|
),
|
|
3393
3393
|
functionalPassword: a.lazy(
|
|
3394
|
-
() => import("./Functionalpassword-
|
|
3394
|
+
() => import("./Functionalpassword-BfeN6H9z.js")
|
|
3395
3395
|
),
|
|
3396
3396
|
functionalDiscountCode: a.lazy(
|
|
3397
|
-
() => import("./Functionaldiscountcode-
|
|
3397
|
+
() => import("./Functionaldiscountcode-CBz6JlNb.js")
|
|
3398
3398
|
)
|
|
3399
3399
|
}, Nn = ({
|
|
3400
3400
|
bouIconId: t,
|
|
3401
3401
|
...e
|
|
3402
3402
|
}) => {
|
|
3403
|
-
const s = be[t], r =
|
|
3403
|
+
const s = be[t], r = An[s];
|
|
3404
3404
|
return r ? /* @__PURE__ */ n.jsx(a.Suspense, { fallback: /* @__PURE__ */ n.jsx("div", { children: "..." }), children: /* @__PURE__ */ n.jsx(r, { width: "24", height: "24", ...e, fill: "none", ref: void 0 }) }) : null;
|
|
3405
|
-
},
|
|
3405
|
+
}, He = (t) => typeof t.icon == "string" && t.icon in be ? /* @__PURE__ */ n.jsx(Nn, { bouIconId: be[t.icon] }) : t.icon, Pn = ({
|
|
3406
3406
|
label: t,
|
|
3407
3407
|
className: e,
|
|
3408
3408
|
onClick: s,
|
|
3409
3409
|
icon: r
|
|
3410
|
-
}) => /* @__PURE__ */ n.jsx(
|
|
3411
|
-
/* @__PURE__ */ n.jsx(
|
|
3410
|
+
}) => /* @__PURE__ */ n.jsx(Y.Item, { className: e, children: /* @__PURE__ */ n.jsxs("button", { onClick: s, children: [
|
|
3411
|
+
/* @__PURE__ */ n.jsx(He, { icon: r }),
|
|
3412
3412
|
t
|
|
3413
3413
|
] }) }), Qt = (t) => {
|
|
3414
|
-
const e =
|
|
3415
|
-
return /* @__PURE__ */ n.jsxs(
|
|
3414
|
+
const e = Tr(), { className: s, label: r, mobileUrl: i, desktopUrl: o, icon: l } = t;
|
|
3415
|
+
return /* @__PURE__ */ n.jsxs(Y.Item, { className: s, children: [
|
|
3416
3416
|
(!e || e && !o) && /* @__PURE__ */ n.jsxs("a", { href: i, referrerPolicy: "no-referrer-when-downgrade", children: [
|
|
3417
|
-
/* @__PURE__ */ n.jsx(
|
|
3417
|
+
/* @__PURE__ */ n.jsx(He, { icon: l }),
|
|
3418
3418
|
r
|
|
3419
3419
|
] }),
|
|
3420
3420
|
!!o && /* @__PURE__ */ n.jsxs("a", { href: o, referrerPolicy: "no-referrer-when-downgrade", children: [
|
|
3421
|
-
/* @__PURE__ */ n.jsx(
|
|
3421
|
+
/* @__PURE__ */ n.jsx(He, { icon: l }),
|
|
3422
3422
|
r
|
|
3423
3423
|
] })
|
|
3424
3424
|
] });
|
|
3425
|
-
},
|
|
3426
|
-
const t = a.useContext(
|
|
3425
|
+
}, mr = a.createContext(void 0), Tn = ({ apiUrl: t, authUrl: e, country: s, redirectUrl: r, bouHeaders: i, children: o }) => /* @__PURE__ */ n.jsx(mr.Provider, { value: { apiUrl: t, authUrl: e, country: s, redirectUrl: r, bouHeaders: i }, children: o }), dt = () => {
|
|
3426
|
+
const t = a.useContext(mr);
|
|
3427
3427
|
if (!t)
|
|
3428
3428
|
throw new Error("Api context can not be rendered outside of Api");
|
|
3429
3429
|
return t;
|
|
3430
|
-
},
|
|
3431
|
-
const t = a.useContext(
|
|
3430
|
+
}, yr = a.createContext(void 0), Mn = ({ position: t, bouMenuItems: e, menuItemsToHide: s, children: r }) => /* @__PURE__ */ n.jsx(yr.Provider, { value: { position: t, bouMenuItems: e, menuItemsToHide: s }, children: r }), gr = () => {
|
|
3431
|
+
const t = a.useContext(yr);
|
|
3432
3432
|
if (!t)
|
|
3433
3433
|
throw new Error("Authentication context can not be rendered outside of Authentication");
|
|
3434
3434
|
return t;
|
|
3435
|
-
},
|
|
3435
|
+
}, vr = ({ authUrl: t, redirectUrl: e, trackingInfo: s }) => {
|
|
3436
3436
|
const r = new URLSearchParams({ redirectUrl: e });
|
|
3437
3437
|
s && r.append("trackingInfo", s);
|
|
3438
3438
|
const i = `${t}/login?${r.toString()}`, o = `${t}/logout?${r.toString()}`;
|
|
3439
3439
|
return { loginUrl: i, logoutUrl: o };
|
|
3440
3440
|
}, Se = () => {
|
|
3441
|
-
const { authUrl: t, redirectUrl: e } = dt(), s =
|
|
3442
|
-
return
|
|
3443
|
-
},
|
|
3441
|
+
const { authUrl: t, redirectUrl: e } = dt(), s = Mr();
|
|
3442
|
+
return vr({ authUrl: t, redirectUrl: e, trackingInfo: s });
|
|
3443
|
+
}, Rn = () => {
|
|
3444
3444
|
const { apiUrl: t } = dt();
|
|
3445
3445
|
return `${`${t}/xtra`}/authentication/v1/user/profile`;
|
|
3446
|
-
},
|
|
3447
|
-
const { loginUrl: s } =
|
|
3446
|
+
}, vs = (t) => t ? `+${t.countryCode} ${t.number}` : "", Cs = (t, e) => e == null ? void 0 : e.find((s) => s.type === t), bs = ({ apiUrl: t, redirectUrl: e }) => {
|
|
3447
|
+
const { loginUrl: s } = vr({ authUrl: t, redirectUrl: e });
|
|
3448
3448
|
window.location.replace(s);
|
|
3449
|
-
},
|
|
3449
|
+
}, xs = (t) => {
|
|
3450
3450
|
var o;
|
|
3451
3451
|
if (!t)
|
|
3452
|
-
return { user: { state: () => "NotAuthenticated" }, tryToLogon:
|
|
3453
|
-
const e = new Date(t.dateOfBirth), s =
|
|
3452
|
+
return { user: { state: () => "NotAuthenticated" }, tryToLogon: bs };
|
|
3453
|
+
const e = new Date(t.dateOfBirth), s = Cs(os.Mobile, t.phone), r = Cs(os.Fixed, t.phone), i = vs(s) ?? vs(r) ?? "";
|
|
3454
3454
|
return {
|
|
3455
3455
|
user: {
|
|
3456
3456
|
...(o = window.XTRA) == null ? void 0 : o.user,
|
|
@@ -3489,12 +3489,12 @@ const On = {
|
|
|
3489
3489
|
cbh: () => t.customerIdentifier,
|
|
3490
3490
|
state: () => "Authenticated"
|
|
3491
3491
|
},
|
|
3492
|
-
tryToLogon:
|
|
3492
|
+
tryToLogon: bs
|
|
3493
3493
|
};
|
|
3494
|
-
},
|
|
3495
|
-
const { i18n: t } = nt(), { country: e, bouHeaders: s } = dt(), r =
|
|
3496
|
-
return
|
|
3497
|
-
queryKey:
|
|
3494
|
+
}, Cr = ["profile"], es = () => {
|
|
3495
|
+
const { i18n: t } = nt(), { country: e, bouHeaders: s } = dt(), r = Rn(), i = sessionStorage.getItem("profile"), o = !!i;
|
|
3496
|
+
return Ie({
|
|
3497
|
+
queryKey: Cr,
|
|
3498
3498
|
queryFn: async () => {
|
|
3499
3499
|
const u = je(t.language, e), h = await fetch(r, {
|
|
3500
3500
|
credentials: "include",
|
|
@@ -3503,7 +3503,7 @@ const On = {
|
|
|
3503
3503
|
});
|
|
3504
3504
|
if (!h.ok) {
|
|
3505
3505
|
if (h.status === 401)
|
|
3506
|
-
return window.XTRA = { ...window.XTRA, ...
|
|
3506
|
+
return window.XTRA = { ...window.XTRA, ...xs() }, window.postMessage(
|
|
3507
3507
|
{ source: "xtra-authentication", isAuthenticated: !1 },
|
|
3508
3508
|
new URL(window.location.href).origin
|
|
3509
3509
|
), sessionStorage.removeItem("profile"), { authenticationStatus: "NotAuthenticated" };
|
|
@@ -3515,7 +3515,7 @@ const On = {
|
|
|
3515
3515
|
return sessionStorage.setItem("profile", JSON.stringify({ firstName: f, lastName: p })), window.postMessage(
|
|
3516
3516
|
{ source: "xtra-authentication", isAuthenticated: !0 },
|
|
3517
3517
|
new URL(window.location.href).origin
|
|
3518
|
-
), window.XTRA = { ...window.XTRA, ...
|
|
3518
|
+
), window.XTRA = { ...window.XTRA, ...xs(d) }, {
|
|
3519
3519
|
authenticationStatus: "Authenticated",
|
|
3520
3520
|
profile: { firstName: d.firstName, lastName: d.lastName }
|
|
3521
3521
|
};
|
|
@@ -3525,12 +3525,9 @@ const On = {
|
|
|
3525
3525
|
profile: JSON.parse(i)
|
|
3526
3526
|
} : void 0,
|
|
3527
3527
|
placeholderData: { authenticationStatus: "Pending" },
|
|
3528
|
-
refetchOnWindowFocus: !1
|
|
3529
|
-
staleTime: 0,
|
|
3530
|
-
// Always consider data stale
|
|
3531
|
-
refetchOnMount: !0
|
|
3528
|
+
refetchOnWindowFocus: !1
|
|
3532
3529
|
});
|
|
3533
|
-
},
|
|
3530
|
+
}, Ln = (t) => {
|
|
3534
3531
|
const e = {
|
|
3535
3532
|
shouldHidePayments: !1,
|
|
3536
3533
|
shouldHideVouchers: !1,
|
|
@@ -3558,13 +3555,13 @@ const On = {
|
|
|
3558
3555
|
"Please make sure the Menu Items to hide are strings and the expected values are [Payment, Vouchers, QRCode]"
|
|
3559
3556
|
);
|
|
3560
3557
|
}), e;
|
|
3561
|
-
},
|
|
3562
|
-
const { t } = nt(), { position: e, bouMenuItems: s, menuItemsToHide: r } =
|
|
3558
|
+
}, zn = () => {
|
|
3559
|
+
const { t } = nt(), { position: e, bouMenuItems: s, menuItemsToHide: r } = gr(), { country: i } = dt(), o = Ke({ country: i }), { logoutUrl: l } = Se(), h = Je().getQueryData(Cr), d = (h == null ? void 0 : h.profile.firstName) ?? "", f = (h == null ? void 0 : h.profile.lastName) ?? "", { shouldHidePayments: p, shouldHideVouchers: g, shouldHideQrCodes: m } = Ln(r), x = () => {
|
|
3563
3560
|
sessionStorage.removeItem("profile"), window.location.href = l;
|
|
3564
3561
|
};
|
|
3565
|
-
return /* @__PURE__ */ n.jsxs(
|
|
3562
|
+
return /* @__PURE__ */ n.jsxs(Y, { type: "nav", id: "xtra-menu", position: e, children: [
|
|
3566
3563
|
/* @__PURE__ */ n.jsx(
|
|
3567
|
-
|
|
3564
|
+
Y.Trigger,
|
|
3568
3565
|
{
|
|
3569
3566
|
className: O(
|
|
3570
3567
|
"button",
|
|
@@ -3573,14 +3570,14 @@ const On = {
|
|
|
3573
3570
|
"button--authentication--authenticated"
|
|
3574
3571
|
),
|
|
3575
3572
|
children: /* @__PURE__ */ n.jsxs("button", { children: [
|
|
3576
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
3573
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(Ci, { variant: "small", firstName: d, lastName: f }) }),
|
|
3577
3574
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: d }),
|
|
3578
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(
|
|
3575
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(ts, {}) })
|
|
3579
3576
|
] })
|
|
3580
3577
|
}
|
|
3581
3578
|
),
|
|
3582
|
-
/* @__PURE__ */ n.jsxs(
|
|
3583
|
-
!!s && s.length > 0 && /* @__PURE__ */ n.jsx("ul", { className: "bou-menu__list", children: s.map(({ label: v, icon: C, url: k },
|
|
3579
|
+
/* @__PURE__ */ n.jsxs(Y.Content, { as: "div", children: [
|
|
3580
|
+
!!s && s.length > 0 && /* @__PURE__ */ n.jsx("ul", { className: "bou-menu__list", children: s.map(({ label: v, icon: C, url: k }, j) => /* @__PURE__ */ n.jsx(
|
|
3584
3581
|
Qt,
|
|
3585
3582
|
{
|
|
3586
3583
|
className: "bou-menu-item",
|
|
@@ -3588,7 +3585,7 @@ const On = {
|
|
|
3588
3585
|
icon: C,
|
|
3589
3586
|
label: v
|
|
3590
3587
|
},
|
|
3591
|
-
|
|
3588
|
+
j
|
|
3592
3589
|
)) }),
|
|
3593
3590
|
/* @__PURE__ */ n.jsxs("ul", { children: [
|
|
3594
3591
|
/* @__PURE__ */ n.jsx(
|
|
@@ -3597,7 +3594,7 @@ const On = {
|
|
|
3597
3594
|
className: "manage-profile",
|
|
3598
3595
|
mobileUrl: `${o}/manage-profile`,
|
|
3599
3596
|
desktopUrl: `${o}/manage-profile/personal-data`,
|
|
3600
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3597
|
+
icon: /* @__PURE__ */ n.jsx($i, {}),
|
|
3601
3598
|
label: t("manageProfile")
|
|
3602
3599
|
}
|
|
3603
3600
|
),
|
|
@@ -3615,7 +3612,7 @@ const On = {
|
|
|
3615
3612
|
{
|
|
3616
3613
|
className: "gift-cards",
|
|
3617
3614
|
mobileUrl: `${o}/${i === "BE" ? "gift-cards" : "vouchers"}`,
|
|
3618
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3615
|
+
icon: /* @__PURE__ */ n.jsx(Zi, {}),
|
|
3619
3616
|
label: t("giftCards")
|
|
3620
3617
|
}
|
|
3621
3618
|
),
|
|
@@ -3623,7 +3620,7 @@ const On = {
|
|
|
3623
3620
|
Qt,
|
|
3624
3621
|
{
|
|
3625
3622
|
mobileUrl: `${o}/identifiers`,
|
|
3626
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3623
|
+
icon: /* @__PURE__ */ n.jsx(Ii, {}),
|
|
3627
3624
|
label: t("qrCode")
|
|
3628
3625
|
}
|
|
3629
3626
|
),
|
|
@@ -3633,15 +3630,15 @@ const On = {
|
|
|
3633
3630
|
className: "manage-privacy",
|
|
3634
3631
|
mobileUrl: `${o}/manage-privacy`,
|
|
3635
3632
|
desktopUrl: `${o}/manage-privacy/permissions`,
|
|
3636
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
3633
|
+
icon: /* @__PURE__ */ n.jsx(Fi, {}),
|
|
3637
3634
|
label: t("privacy")
|
|
3638
3635
|
}
|
|
3639
3636
|
),
|
|
3640
|
-
/* @__PURE__ */ n.jsx(
|
|
3637
|
+
/* @__PURE__ */ n.jsx(Pn, { onClick: x, icon: /* @__PURE__ */ n.jsx(Li, {}), label: t("logout") })
|
|
3641
3638
|
] })
|
|
3642
3639
|
] })
|
|
3643
3640
|
] });
|
|
3644
|
-
},
|
|
3641
|
+
}, Fn = () => {
|
|
3645
3642
|
const { t } = nt();
|
|
3646
3643
|
return /* @__PURE__ */ n.jsxs("button", { className: O("button", "button--neutral", "button--authentication"), children: [
|
|
3647
3644
|
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx("i", { className: "spinner" }) }),
|
|
@@ -3660,7 +3657,7 @@ function pe(t) {
|
|
|
3660
3657
|
}
|
|
3661
3658
|
return t;
|
|
3662
3659
|
}
|
|
3663
|
-
var
|
|
3660
|
+
var Dn = {
|
|
3664
3661
|
read: function(t) {
|
|
3665
3662
|
return t[0] === '"' && (t = t.slice(1, -1)), t.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
3666
3663
|
},
|
|
@@ -3671,7 +3668,7 @@ var Fn = {
|
|
|
3671
3668
|
);
|
|
3672
3669
|
}
|
|
3673
3670
|
};
|
|
3674
|
-
function
|
|
3671
|
+
function Ve(t, e) {
|
|
3675
3672
|
function s(i, o, l) {
|
|
3676
3673
|
if (!(typeof document > "u")) {
|
|
3677
3674
|
l = pe({}, e, l), typeof l.expires == "number" && (l.expires = new Date(Date.now() + l.expires * 864e5)), l.expires && (l.expires = l.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
@@ -3709,10 +3706,10 @@ function He(t, e) {
|
|
|
3709
3706
|
);
|
|
3710
3707
|
},
|
|
3711
3708
|
withAttributes: function(i) {
|
|
3712
|
-
return
|
|
3709
|
+
return Ve(this.converter, pe({}, this.attributes, i));
|
|
3713
3710
|
},
|
|
3714
3711
|
withConverter: function(i) {
|
|
3715
|
-
return
|
|
3712
|
+
return Ve(pe({}, this.converter, i), this.attributes);
|
|
3716
3713
|
}
|
|
3717
3714
|
},
|
|
3718
3715
|
{
|
|
@@ -3721,12 +3718,12 @@ function He(t, e) {
|
|
|
3721
3718
|
}
|
|
3722
3719
|
);
|
|
3723
3720
|
}
|
|
3724
|
-
var
|
|
3725
|
-
const
|
|
3721
|
+
var ws = Ve(Dn, { path: "/" });
|
|
3722
|
+
const $n = ({ className: t }) => {
|
|
3726
3723
|
const { t: e } = nt(), { loginUrl: s } = Se(), r = a.useRef(null);
|
|
3727
3724
|
return a.useEffect(() => {
|
|
3728
|
-
const i =
|
|
3729
|
-
r != null && r.current && o && (
|
|
3725
|
+
const i = ws.get("shouldLogin"), o = !!i && !!atob(i);
|
|
3726
|
+
r != null && r.current && o && (ws.remove("shouldLogin"), r.current.click());
|
|
3730
3727
|
}, [r]), /* @__PURE__ */ n.jsxs(
|
|
3731
3728
|
"a",
|
|
3732
3729
|
{
|
|
@@ -3740,16 +3737,16 @@ const Dn = ({ className: t }) => {
|
|
|
3740
3737
|
t
|
|
3741
3738
|
),
|
|
3742
3739
|
children: [
|
|
3743
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
3740
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(ar, { width: 24, height: 24, suffix: "desktop" }) }),
|
|
3744
3741
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: e("login") }),
|
|
3745
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(
|
|
3742
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(ts, {}) })
|
|
3746
3743
|
]
|
|
3747
3744
|
}
|
|
3748
3745
|
);
|
|
3749
|
-
},
|
|
3750
|
-
const { t } = nt(), { loginUrl: e } = Se(), s =
|
|
3746
|
+
}, Un = () => {
|
|
3747
|
+
const { t } = nt(), { loginUrl: e } = Se(), s = Ke(), { position: r } = gr();
|
|
3751
3748
|
return /* @__PURE__ */ n.jsxs(
|
|
3752
|
-
|
|
3749
|
+
Y,
|
|
3753
3750
|
{
|
|
3754
3751
|
type: "nav",
|
|
3755
3752
|
id: "xtra-menu",
|
|
@@ -3757,30 +3754,30 @@ const Dn = ({ className: t }) => {
|
|
|
3757
3754
|
className: "menu--unauthenticated",
|
|
3758
3755
|
"aria-label": t("xtraMenuAriaLabel"),
|
|
3759
3756
|
children: [
|
|
3760
|
-
/* @__PURE__ */ n.jsx(
|
|
3761
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
3762
|
-
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(
|
|
3757
|
+
/* @__PURE__ */ n.jsx(Y.Trigger, { className: O("button", "button--neutral", "button--authentication"), children: /* @__PURE__ */ n.jsxs("button", { children: [
|
|
3758
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon", children: /* @__PURE__ */ n.jsx(ar, { width: 24, height: 24, suffix: "mobile" }) }),
|
|
3759
|
+
/* @__PURE__ */ n.jsx("div", { className: "button__icon button__icon-right", children: /* @__PURE__ */ n.jsx(ts, {}) })
|
|
3763
3760
|
] }) }),
|
|
3764
|
-
/* @__PURE__ */ n.jsxs(
|
|
3765
|
-
/* @__PURE__ */ n.jsx(
|
|
3766
|
-
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
3761
|
+
/* @__PURE__ */ n.jsxs(Y.Content, { children: [
|
|
3762
|
+
/* @__PURE__ */ n.jsx(Y.Item, { children: /* @__PURE__ */ n.jsxs("a", { href: e, className: "button button--with-icon", children: [
|
|
3763
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(Mi, {}) }),
|
|
3767
3764
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: t("login") })
|
|
3768
3765
|
] }) }),
|
|
3769
|
-
/* @__PURE__ */ n.jsx(
|
|
3770
|
-
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(
|
|
3766
|
+
/* @__PURE__ */ n.jsx(Y.Item, { children: /* @__PURE__ */ n.jsxs("a", { href: `${s}/onboarding/register`, className: "button button--with-icon", children: [
|
|
3767
|
+
/* @__PURE__ */ n.jsx("span", { className: "button__icon", children: /* @__PURE__ */ n.jsx(Qi, {}) }),
|
|
3771
3768
|
/* @__PURE__ */ n.jsx("span", { className: "button__label", children: t("register") })
|
|
3772
3769
|
] }) })
|
|
3773
3770
|
] })
|
|
3774
3771
|
]
|
|
3775
3772
|
}
|
|
3776
3773
|
);
|
|
3777
|
-
},
|
|
3774
|
+
}, Qn = () => {
|
|
3778
3775
|
var e, s;
|
|
3779
|
-
const t =
|
|
3780
|
-
return ((e = t.data) == null ? void 0 : e.authenticationStatus) === "Authenticated" ? /* @__PURE__ */ n.jsx(
|
|
3781
|
-
/* @__PURE__ */ n.jsx(
|
|
3782
|
-
/* @__PURE__ */ n.jsx(
|
|
3783
|
-
] }) : /* @__PURE__ */ n.jsx(
|
|
3776
|
+
const t = es();
|
|
3777
|
+
return ((e = t.data) == null ? void 0 : e.authenticationStatus) === "Authenticated" ? /* @__PURE__ */ n.jsx(zn, {}) : ((s = t.data) == null ? void 0 : s.authenticationStatus) === "NotAuthenticated" || t.isError ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
3778
|
+
/* @__PURE__ */ n.jsx($n, {}),
|
|
3779
|
+
/* @__PURE__ */ n.jsx(Un, {})
|
|
3780
|
+
] }) : /* @__PURE__ */ n.jsx(Fn, {});
|
|
3784
3781
|
};
|
|
3785
3782
|
function Ut(t) {
|
|
3786
3783
|
this._maxSize = t, this.clear();
|
|
@@ -3794,13 +3791,13 @@ Ut.prototype.get = function(t) {
|
|
|
3794
3791
|
Ut.prototype.set = function(t, e) {
|
|
3795
3792
|
return this._size >= this._maxSize && this.clear(), t in this._values || this._size++, this._values[t] = e;
|
|
3796
3793
|
};
|
|
3797
|
-
var
|
|
3794
|
+
var Hn = /[^.^\]^[]+|(?=\[\]|\.\.)/g, br = /^\d+$/, Vn = /^\d/, qn = /[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g, Gn = /^\s*(['"]?)(.*?)(\1)\s*$/, ss = 512, js = new Ut(ss), Ss = new Ut(ss), _s = new Ut(ss), xr = {
|
|
3798
3795
|
Cache: Ut,
|
|
3799
|
-
split:
|
|
3796
|
+
split: qe,
|
|
3800
3797
|
normalizePath: ke,
|
|
3801
3798
|
setter: function(t) {
|
|
3802
3799
|
var e = ke(t);
|
|
3803
|
-
return
|
|
3800
|
+
return Ss.get(t) || Ss.set(t, function(r, i) {
|
|
3804
3801
|
for (var o = 0, l = e.length, u = r; o < l - 1; ) {
|
|
3805
3802
|
var h = e[o];
|
|
3806
3803
|
if (h === "__proto__" || h === "constructor" || h === "prototype")
|
|
@@ -3812,7 +3809,7 @@ var Qn = /[^.^\]^[]+|(?=\[\]|\.\.)/g, Cr = /^\d+$/, Hn = /^\d/, Vn = /[~`!#$%\^&
|
|
|
3812
3809
|
},
|
|
3813
3810
|
getter: function(t, e) {
|
|
3814
3811
|
var s = ke(t);
|
|
3815
|
-
return
|
|
3812
|
+
return _s.get(t) || _s.set(t, function(i) {
|
|
3816
3813
|
for (var o = 0, l = s.length; o < l; )
|
|
3817
3814
|
if (i != null || !e) i = i[s[o++]];
|
|
3818
3815
|
else return;
|
|
@@ -3821,48 +3818,48 @@ var Qn = /[^.^\]^[]+|(?=\[\]|\.\.)/g, Cr = /^\d+$/, Hn = /^\d/, Vn = /[~`!#$%\^&
|
|
|
3821
3818
|
},
|
|
3822
3819
|
join: function(t) {
|
|
3823
3820
|
return t.reduce(function(e, s) {
|
|
3824
|
-
return e + (
|
|
3821
|
+
return e + (rs(s) || br.test(s) ? "[" + s + "]" : (e ? "." : "") + s);
|
|
3825
3822
|
}, "");
|
|
3826
3823
|
},
|
|
3827
3824
|
forEach: function(t, e, s) {
|
|
3828
|
-
|
|
3825
|
+
Kn(Array.isArray(t) ? t : qe(t), e, s);
|
|
3829
3826
|
}
|
|
3830
3827
|
};
|
|
3831
3828
|
function ke(t) {
|
|
3832
|
-
return
|
|
3829
|
+
return js.get(t) || js.set(
|
|
3833
3830
|
t,
|
|
3834
|
-
|
|
3835
|
-
return e.replace(
|
|
3831
|
+
qe(t).map(function(e) {
|
|
3832
|
+
return e.replace(Gn, "$2");
|
|
3836
3833
|
})
|
|
3837
3834
|
);
|
|
3838
3835
|
}
|
|
3839
|
-
function
|
|
3840
|
-
return t.match(
|
|
3836
|
+
function qe(t) {
|
|
3837
|
+
return t.match(Hn) || [""];
|
|
3841
3838
|
}
|
|
3842
|
-
function
|
|
3839
|
+
function Kn(t, e, s) {
|
|
3843
3840
|
var r = t.length, i, o, l, u;
|
|
3844
3841
|
for (o = 0; o < r; o++)
|
|
3845
|
-
i = t[o], i && (
|
|
3842
|
+
i = t[o], i && (Xn(i) && (i = '"' + i + '"'), u = rs(i), l = !u && /^\d+$/.test(i), e.call(s, i, u, l, o, t));
|
|
3846
3843
|
}
|
|
3847
|
-
function
|
|
3844
|
+
function rs(t) {
|
|
3848
3845
|
return typeof t == "string" && t && ["'", '"'].indexOf(t.charAt(0)) !== -1;
|
|
3849
3846
|
}
|
|
3850
|
-
function Kn(t) {
|
|
3851
|
-
return t.match(Hn) && !t.match(Cr);
|
|
3852
|
-
}
|
|
3853
3847
|
function Wn(t) {
|
|
3854
|
-
return Vn.
|
|
3848
|
+
return t.match(Vn) && !t.match(br);
|
|
3855
3849
|
}
|
|
3856
3850
|
function Zn(t) {
|
|
3857
|
-
return
|
|
3851
|
+
return qn.test(t);
|
|
3858
3852
|
}
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3853
|
+
function Xn(t) {
|
|
3854
|
+
return !rs(t) && (Wn(t) || Zn(t));
|
|
3855
|
+
}
|
|
3856
|
+
var wr = { exports: {} };
|
|
3857
|
+
wr.exports = function(t) {
|
|
3858
|
+
return jr(Yn(t), t);
|
|
3862
3859
|
};
|
|
3863
|
-
|
|
3864
|
-
function
|
|
3865
|
-
var s = t.length, r = new Array(s), i = {}, o = s, l =
|
|
3860
|
+
wr.exports.array = jr;
|
|
3861
|
+
function jr(t, e) {
|
|
3862
|
+
var s = t.length, r = new Array(s), i = {}, o = s, l = Jn(e), u = In(t);
|
|
3866
3863
|
for (e.forEach(function(d) {
|
|
3867
3864
|
if (!u.has(d[0]) || !u.has(d[1]))
|
|
3868
3865
|
throw new Error("Unknown node. There is an unknown node in the supplied edges.");
|
|
@@ -3903,48 +3900,48 @@ function Yn(t) {
|
|
|
3903
3900
|
}
|
|
3904
3901
|
return Array.from(e);
|
|
3905
3902
|
}
|
|
3906
|
-
function
|
|
3903
|
+
function Jn(t) {
|
|
3907
3904
|
for (var e = /* @__PURE__ */ new Map(), s = 0, r = t.length; s < r; s++) {
|
|
3908
3905
|
var i = t[s];
|
|
3909
3906
|
e.has(i[0]) || e.set(i[0], /* @__PURE__ */ new Set()), e.has(i[1]) || e.set(i[1], /* @__PURE__ */ new Set()), e.get(i[0]).add(i[1]);
|
|
3910
3907
|
}
|
|
3911
3908
|
return e;
|
|
3912
3909
|
}
|
|
3913
|
-
function
|
|
3910
|
+
function In(t) {
|
|
3914
3911
|
for (var e = /* @__PURE__ */ new Map(), s = 0, r = t.length; s < r; s++)
|
|
3915
3912
|
e.set(t[s], s);
|
|
3916
3913
|
return e;
|
|
3917
3914
|
}
|
|
3918
|
-
const
|
|
3919
|
-
function
|
|
3915
|
+
const Bn = Object.prototype.toString, ta = Error.prototype.toString, ea = RegExp.prototype.toString, sa = typeof Symbol < "u" ? Symbol.prototype.toString : () => "", ra = /^Symbol\((.*)\)(.*)$/;
|
|
3916
|
+
function ia(t) {
|
|
3920
3917
|
return t != +t ? "NaN" : t === 0 && 1 / t < 0 ? "-0" : "" + t;
|
|
3921
3918
|
}
|
|
3922
|
-
function
|
|
3919
|
+
function Es(t, e = !1) {
|
|
3923
3920
|
if (t == null || t === !0 || t === !1) return "" + t;
|
|
3924
3921
|
const s = typeof t;
|
|
3925
|
-
if (s === "number") return
|
|
3922
|
+
if (s === "number") return ia(t);
|
|
3926
3923
|
if (s === "string") return e ? `"${t}"` : t;
|
|
3927
3924
|
if (s === "function") return "[Function " + (t.name || "anonymous") + "]";
|
|
3928
|
-
if (s === "symbol") return
|
|
3929
|
-
const r =
|
|
3930
|
-
return r === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : r === "Error" || t instanceof Error ? "[" +
|
|
3925
|
+
if (s === "symbol") return sa.call(t).replace(ra, "Symbol($1)");
|
|
3926
|
+
const r = Bn.call(t).slice(8, -1);
|
|
3927
|
+
return r === "Date" ? isNaN(t.getTime()) ? "" + t : t.toISOString(t) : r === "Error" || t instanceof Error ? "[" + ta.call(t) + "]" : r === "RegExp" ? ea.call(t) : null;
|
|
3931
3928
|
}
|
|
3932
3929
|
function _t(t, e) {
|
|
3933
|
-
let s =
|
|
3930
|
+
let s = Es(t, e);
|
|
3934
3931
|
return s !== null ? s : JSON.stringify(t, function(r, i) {
|
|
3935
|
-
let o =
|
|
3932
|
+
let o = Es(this[r], e);
|
|
3936
3933
|
return o !== null ? o : i;
|
|
3937
3934
|
}, 2);
|
|
3938
3935
|
}
|
|
3939
|
-
function
|
|
3936
|
+
function Sr(t) {
|
|
3940
3937
|
return t == null ? [] : [].concat(t);
|
|
3941
3938
|
}
|
|
3942
|
-
let
|
|
3943
|
-
|
|
3944
|
-
class
|
|
3939
|
+
let _r, Er, kr, na = /\$\{\s*(\w+)\s*\}/g;
|
|
3940
|
+
_r = Symbol.toStringTag;
|
|
3941
|
+
class ks {
|
|
3945
3942
|
constructor(e, s, r, i) {
|
|
3946
|
-
this.name = void 0, this.message = void 0, this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = void 0, this.inner = void 0, this[
|
|
3947
|
-
if (
|
|
3943
|
+
this.name = void 0, this.message = void 0, this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = void 0, this.inner = void 0, this[_r] = "Error", this.name = "ValidationError", this.value = s, this.path = r, this.type = i, this.errors = [], this.inner = [], Sr(e).forEach((o) => {
|
|
3944
|
+
if (X.isError(o)) {
|
|
3948
3945
|
this.errors.push(...o.errors);
|
|
3949
3946
|
const l = o.inner.length ? o.inner : [o];
|
|
3950
3947
|
this.inner.push(...l);
|
|
@@ -3953,27 +3950,27 @@ class Es {
|
|
|
3953
3950
|
}), this.message = this.errors.length > 1 ? `${this.errors.length} errors occurred` : this.errors[0];
|
|
3954
3951
|
}
|
|
3955
3952
|
}
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
class
|
|
3953
|
+
Er = Symbol.hasInstance;
|
|
3954
|
+
kr = Symbol.toStringTag;
|
|
3955
|
+
class X extends Error {
|
|
3959
3956
|
static formatError(e, s) {
|
|
3960
3957
|
const r = s.label || s.path || "this";
|
|
3961
3958
|
return s = Object.assign({}, s, {
|
|
3962
3959
|
path: r,
|
|
3963
3960
|
originalPath: s.path
|
|
3964
|
-
}), typeof e == "string" ? e.replace(
|
|
3961
|
+
}), typeof e == "string" ? e.replace(na, (i, o) => _t(s[o])) : typeof e == "function" ? e(s) : e;
|
|
3965
3962
|
}
|
|
3966
3963
|
static isError(e) {
|
|
3967
3964
|
return e && e.name === "ValidationError";
|
|
3968
3965
|
}
|
|
3969
3966
|
constructor(e, s, r, i, o) {
|
|
3970
|
-
const l = new
|
|
3967
|
+
const l = new ks(e, s, r, i);
|
|
3971
3968
|
if (o)
|
|
3972
3969
|
return l;
|
|
3973
|
-
super(), this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = [], this.inner = [], this[
|
|
3970
|
+
super(), this.value = void 0, this.path = void 0, this.type = void 0, this.params = void 0, this.errors = [], this.inner = [], this[kr] = "Error", this.name = l.name, this.message = l.message, this.type = l.type, this.value = l.value, this.path = l.path, this.errors = l.errors, this.inner = l.inner, Error.captureStackTrace && Error.captureStackTrace(this, X);
|
|
3974
3971
|
}
|
|
3975
|
-
static [
|
|
3976
|
-
return
|
|
3972
|
+
static [Er](e) {
|
|
3973
|
+
return ks[Symbol.hasInstance](e) || super[Symbol.hasInstance](e);
|
|
3977
3974
|
}
|
|
3978
3975
|
}
|
|
3979
3976
|
let lt = {
|
|
@@ -3992,7 +3989,7 @@ let lt = {
|
|
|
3992
3989
|
const i = r != null && r !== s ? ` (cast from the value \`${_t(r, !0)}\`).` : ".";
|
|
3993
3990
|
return e !== "mixed" ? `${t} must be a \`${e}\` type, but the final value was: \`${_t(s, !0)}\`` + i : `${t} must match the configured type. The validated value was: \`${_t(s, !0)}\`` + i;
|
|
3994
3991
|
}
|
|
3995
|
-
},
|
|
3992
|
+
}, aa = {
|
|
3996
3993
|
length: "${path} must be exactly ${length} characters",
|
|
3997
3994
|
min: "${path} must be at least ${min} characters",
|
|
3998
3995
|
max: "${path} must be at most ${max} characters",
|
|
@@ -4006,7 +4003,7 @@ let lt = {
|
|
|
4006
4003
|
trim: "${path} must be a trimmed string",
|
|
4007
4004
|
lowercase: "${path} must be a lowercase string",
|
|
4008
4005
|
uppercase: "${path} must be a upper case string"
|
|
4009
|
-
},
|
|
4006
|
+
}, oa = {
|
|
4010
4007
|
min: "${path} must be greater than or equal to ${min}",
|
|
4011
4008
|
max: "${path} must be less than or equal to ${max}",
|
|
4012
4009
|
lessThan: "${path} must be less than ${less}",
|
|
@@ -4014,19 +4011,19 @@ let lt = {
|
|
|
4014
4011
|
positive: "${path} must be a positive number",
|
|
4015
4012
|
negative: "${path} must be a negative number",
|
|
4016
4013
|
integer: "${path} must be an integer"
|
|
4017
|
-
},
|
|
4014
|
+
}, Ge = {
|
|
4018
4015
|
min: "${path} field must be later than ${min}",
|
|
4019
4016
|
max: "${path} field must be at earlier than ${max}"
|
|
4020
|
-
}, oa = {
|
|
4021
|
-
isValue: "${path} field must be ${value}"
|
|
4022
4017
|
}, la = {
|
|
4018
|
+
isValue: "${path} field must be ${value}"
|
|
4019
|
+
}, ca = {
|
|
4023
4020
|
noUnknown: "${path} field has unspecified keys: ${unknown}",
|
|
4024
4021
|
exact: "${path} object contains unknown properties: ${properties}"
|
|
4025
|
-
},
|
|
4022
|
+
}, ua = {
|
|
4026
4023
|
min: "${path} field must have at least ${min} items",
|
|
4027
4024
|
max: "${path} field must have less than or equal to ${max} items",
|
|
4028
4025
|
length: "${path} must have ${length} items"
|
|
4029
|
-
},
|
|
4026
|
+
}, ha = {
|
|
4030
4027
|
notType: (t) => {
|
|
4031
4028
|
const {
|
|
4032
4029
|
path: e,
|
|
@@ -4037,20 +4034,20 @@ let lt = {
|
|
|
4037
4034
|
if (s.length < i) return `${e} tuple value has too few items, expected a length of ${i} but got ${s.length} for value: \`${_t(s, !0)}\``;
|
|
4038
4035
|
if (s.length > i) return `${e} tuple value has too many items, expected a length of ${i} but got ${s.length} for value: \`${_t(s, !0)}\``;
|
|
4039
4036
|
}
|
|
4040
|
-
return
|
|
4037
|
+
return X.formatError(lt.notType, t);
|
|
4041
4038
|
}
|
|
4042
4039
|
};
|
|
4043
4040
|
Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
4044
4041
|
mixed: lt,
|
|
4045
|
-
string:
|
|
4046
|
-
number:
|
|
4047
|
-
date:
|
|
4048
|
-
object:
|
|
4049
|
-
array:
|
|
4050
|
-
boolean:
|
|
4051
|
-
tuple:
|
|
4042
|
+
string: aa,
|
|
4043
|
+
number: oa,
|
|
4044
|
+
date: Ge,
|
|
4045
|
+
object: ca,
|
|
4046
|
+
array: ua,
|
|
4047
|
+
boolean: la,
|
|
4048
|
+
tuple: ha
|
|
4052
4049
|
});
|
|
4053
|
-
const
|
|
4050
|
+
const Or = (t) => t && t.__isYupSchema__;
|
|
4054
4051
|
class xe {
|
|
4055
4052
|
static fromOptions(e, s) {
|
|
4056
4053
|
if (!s.then && !s.otherwise) throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");
|
|
@@ -4076,7 +4073,7 @@ class xe {
|
|
|
4076
4073
|
if (i === void 0 || // @ts-ignore this can be base
|
|
4077
4074
|
i === e)
|
|
4078
4075
|
return e;
|
|
4079
|
-
if (!
|
|
4076
|
+
if (!Or(i)) throw new TypeError("conditions must return a schema object");
|
|
4080
4077
|
return i.resolve(s);
|
|
4081
4078
|
}
|
|
4082
4079
|
}
|
|
@@ -4090,7 +4087,7 @@ class he {
|
|
|
4090
4087
|
if (this.key = e.trim(), e === "") throw new TypeError("ref must be a non-empty string");
|
|
4091
4088
|
this.isContext = this.key[0] === me.context, this.isValue = this.key[0] === me.value, this.isSibling = !this.isContext && !this.isValue;
|
|
4092
4089
|
let r = this.isContext ? me.context : this.isValue ? me.value : "";
|
|
4093
|
-
this.path = this.key.slice(r.length), this.getter = this.path &&
|
|
4090
|
+
this.path = this.key.slice(r.length), this.getter = this.path && xr.getter(this.path, !0), this.map = s.map;
|
|
4094
4091
|
}
|
|
4095
4092
|
getValue(e, s, r) {
|
|
4096
4093
|
let i = this.isContext ? r : this.isValue ? e : s;
|
|
@@ -4123,7 +4120,7 @@ class he {
|
|
|
4123
4120
|
}
|
|
4124
4121
|
}
|
|
4125
4122
|
he.prototype.__isYupRef = !0;
|
|
4126
|
-
const
|
|
4123
|
+
const Ar = (t) => t == null;
|
|
4127
4124
|
function Ht(t) {
|
|
4128
4125
|
function e({
|
|
4129
4126
|
value: s,
|
|
@@ -4145,11 +4142,11 @@ function Ht(t) {
|
|
|
4145
4142
|
abortEarly: C = l.spec.abortEarly,
|
|
4146
4143
|
disableStackTrace: k = l.spec.disableStackTrace
|
|
4147
4144
|
} = i;
|
|
4148
|
-
function
|
|
4145
|
+
function j(R) {
|
|
4149
4146
|
return he.isRef(R) ? R.getValue(s, x, v) : R;
|
|
4150
4147
|
}
|
|
4151
4148
|
function A(R = {}) {
|
|
4152
|
-
const
|
|
4149
|
+
const H = Object.assign({
|
|
4153
4150
|
value: s,
|
|
4154
4151
|
originalValue: o,
|
|
4155
4152
|
label: l.spec.label,
|
|
@@ -4157,48 +4154,48 @@ function Ht(t) {
|
|
|
4157
4154
|
spec: l.spec,
|
|
4158
4155
|
disableStackTrace: R.disableStackTrace || k
|
|
4159
4156
|
}, p, R.params);
|
|
4160
|
-
for (const
|
|
4161
|
-
const kt = new
|
|
4162
|
-
return kt.params =
|
|
4157
|
+
for (const ns of Object.keys(H)) H[ns] = j(H[ns]);
|
|
4158
|
+
const kt = new X(X.formatError(R.message || g, H), s, H.path, R.type || d, H.disableStackTrace);
|
|
4159
|
+
return kt.params = H, kt;
|
|
4163
4160
|
}
|
|
4164
|
-
const
|
|
4165
|
-
let
|
|
4161
|
+
const M = C ? u : h;
|
|
4162
|
+
let F = {
|
|
4166
4163
|
path: r,
|
|
4167
4164
|
parent: x,
|
|
4168
4165
|
type: d,
|
|
4169
4166
|
from: i.from,
|
|
4170
4167
|
createError: A,
|
|
4171
|
-
resolve:
|
|
4168
|
+
resolve: j,
|
|
4172
4169
|
options: i,
|
|
4173
4170
|
originalValue: o,
|
|
4174
4171
|
schema: l
|
|
4175
4172
|
};
|
|
4176
|
-
const
|
|
4177
|
-
|
|
4173
|
+
const D = (R) => {
|
|
4174
|
+
X.isError(R) ? M(R) : R ? h(null) : M(A());
|
|
4178
4175
|
}, et = (R) => {
|
|
4179
|
-
|
|
4176
|
+
X.isError(R) ? M(R) : u(R);
|
|
4180
4177
|
};
|
|
4181
|
-
if (m &&
|
|
4182
|
-
return
|
|
4183
|
-
let
|
|
4178
|
+
if (m && Ar(s))
|
|
4179
|
+
return D(!0);
|
|
4180
|
+
let P;
|
|
4184
4181
|
try {
|
|
4185
|
-
var
|
|
4186
|
-
if (
|
|
4182
|
+
var T;
|
|
4183
|
+
if (P = f.call(F, s, F), typeof ((T = P) == null ? void 0 : T.then) == "function") {
|
|
4187
4184
|
if (i.sync)
|
|
4188
|
-
throw new Error(`Validation test of type: "${
|
|
4189
|
-
return Promise.resolve(
|
|
4185
|
+
throw new Error(`Validation test of type: "${F.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);
|
|
4186
|
+
return Promise.resolve(P).then(D, et);
|
|
4190
4187
|
}
|
|
4191
4188
|
} catch (R) {
|
|
4192
4189
|
et(R);
|
|
4193
4190
|
return;
|
|
4194
4191
|
}
|
|
4195
|
-
|
|
4192
|
+
D(P);
|
|
4196
4193
|
}
|
|
4197
4194
|
return e.OPTIONS = t, e;
|
|
4198
4195
|
}
|
|
4199
|
-
function
|
|
4196
|
+
function da(t, e, s, r = s) {
|
|
4200
4197
|
let i, o, l;
|
|
4201
|
-
return e ? (
|
|
4198
|
+
return e ? (xr.forEach(e, (u, h, d) => {
|
|
4202
4199
|
let f = h ? u.slice(1, u.length - 1) : u;
|
|
4203
4200
|
t = t.resolve({
|
|
4204
4201
|
context: r,
|
|
@@ -4249,7 +4246,7 @@ class we extends Set {
|
|
|
4249
4246
|
}
|
|
4250
4247
|
}
|
|
4251
4248
|
function Vt(t, e = /* @__PURE__ */ new Map()) {
|
|
4252
|
-
if (
|
|
4249
|
+
if (Or(t) || !t || typeof t != "object") return t;
|
|
4253
4250
|
if (e.has(t)) return e.get(t);
|
|
4254
4251
|
let s;
|
|
4255
4252
|
if (t instanceof Date)
|
|
@@ -4354,7 +4351,7 @@ class $t {
|
|
|
4354
4351
|
value: e
|
|
4355
4352
|
}, s)), i = s.assert === "ignore-optionality", o = r._cast(e, s);
|
|
4356
4353
|
if (s.assert !== !1 && !r.isType(o)) {
|
|
4357
|
-
if (i &&
|
|
4354
|
+
if (i && Ar(o))
|
|
4358
4355
|
return o;
|
|
4359
4356
|
let l = _t(e), u = _t(o);
|
|
4360
4357
|
throw new TypeError(`The value of ${s.path || "field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
@@ -4424,8 +4421,8 @@ attempted value: ${l}
|
|
|
4424
4421
|
};
|
|
4425
4422
|
for (let v = 0; v < o.length; v++) {
|
|
4426
4423
|
const C = o[v];
|
|
4427
|
-
C(x, f, function(
|
|
4428
|
-
|
|
4424
|
+
C(x, f, function(j) {
|
|
4425
|
+
j && (Array.isArray(j) ? m.push(...j) : m.push(j)), --g <= 0 && p(m);
|
|
4429
4426
|
});
|
|
4430
4427
|
}
|
|
4431
4428
|
}
|
|
@@ -4465,9 +4462,9 @@ attempted value: ${l}
|
|
|
4465
4462
|
value: e
|
|
4466
4463
|
})), o = (r = s == null ? void 0 : s.disableStackTrace) != null ? r : i.spec.disableStackTrace;
|
|
4467
4464
|
return new Promise((l, u) => i._validate(e, s, (h, d) => {
|
|
4468
|
-
|
|
4465
|
+
X.isError(h) && (h.value = d), u(h);
|
|
4469
4466
|
}, (h, d) => {
|
|
4470
|
-
h.length ? u(new
|
|
4467
|
+
h.length ? u(new X(h, d, void 0, void 0, o)) : l(d);
|
|
4471
4468
|
}));
|
|
4472
4469
|
}
|
|
4473
4470
|
validateSync(e, s) {
|
|
@@ -4478,15 +4475,15 @@ attempted value: ${l}
|
|
|
4478
4475
|
return i._validate(e, Object.assign({}, s, {
|
|
4479
4476
|
sync: !0
|
|
4480
4477
|
}), (u, h) => {
|
|
4481
|
-
throw
|
|
4478
|
+
throw X.isError(u) && (u.value = h), u;
|
|
4482
4479
|
}, (u, h) => {
|
|
4483
|
-
if (u.length) throw new
|
|
4480
|
+
if (u.length) throw new X(u, e, void 0, void 0, l);
|
|
4484
4481
|
o = h;
|
|
4485
4482
|
}), o;
|
|
4486
4483
|
}
|
|
4487
4484
|
isValid(e, s) {
|
|
4488
4485
|
return this.validate(e, s).then(() => !0, (r) => {
|
|
4489
|
-
if (
|
|
4486
|
+
if (X.isError(r)) return !1;
|
|
4490
4487
|
throw r;
|
|
4491
4488
|
});
|
|
4492
4489
|
}
|
|
@@ -4494,7 +4491,7 @@ attempted value: ${l}
|
|
|
4494
4491
|
try {
|
|
4495
4492
|
return this.validateSync(e, s), !0;
|
|
4496
4493
|
} catch (r) {
|
|
4497
|
-
if (
|
|
4494
|
+
if (X.isError(r)) return !1;
|
|
4498
4495
|
throw r;
|
|
4499
4496
|
}
|
|
4500
4497
|
}
|
|
@@ -4593,7 +4590,7 @@ attempted value: ${l}
|
|
|
4593
4590
|
}
|
|
4594
4591
|
when(e, s) {
|
|
4595
4592
|
!Array.isArray(e) && typeof e != "string" && (s = e, e = ".");
|
|
4596
|
-
let r = this.clone(), i =
|
|
4593
|
+
let r = this.clone(), i = Sr(e).map((o) => new he(o));
|
|
4597
4594
|
return i.forEach((o) => {
|
|
4598
4595
|
o.isSibling && r.deps.push(o.key);
|
|
4599
4596
|
}), r.conditions.push(typeof s == "function" ? new xe(i, s) : xe.fromOptions(i, s)), r;
|
|
@@ -4688,7 +4685,7 @@ for (const t of ["validate", "validateSync"]) $t.prototype[`${t}At`] = function(
|
|
|
4688
4685
|
parent: i,
|
|
4689
4686
|
parentPath: o,
|
|
4690
4687
|
schema: l
|
|
4691
|
-
} =
|
|
4688
|
+
} = da(this, e, s, r.context);
|
|
4692
4689
|
return l[t](i && i[o], Object.assign({}, r, {
|
|
4693
4690
|
parent: i,
|
|
4694
4691
|
path: e
|
|
@@ -4696,18 +4693,18 @@ for (const t of ["validate", "validateSync"]) $t.prototype[`${t}At`] = function(
|
|
|
4696
4693
|
};
|
|
4697
4694
|
for (const t of ["equals", "is"]) $t.prototype[t] = $t.prototype.oneOf;
|
|
4698
4695
|
for (const t of ["not", "nope"]) $t.prototype[t] = $t.prototype.notOneOf;
|
|
4699
|
-
const
|
|
4700
|
-
function
|
|
4701
|
-
const e =
|
|
4696
|
+
const fa = /^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;
|
|
4697
|
+
function pa(t) {
|
|
4698
|
+
const e = ma(t);
|
|
4702
4699
|
if (!e) return Date.parse ? Date.parse(t) : Number.NaN;
|
|
4703
4700
|
if (e.z === void 0 && e.plusMinus === void 0)
|
|
4704
4701
|
return new Date(e.year, e.month, e.day, e.hour, e.minute, e.second, e.millisecond).valueOf();
|
|
4705
4702
|
let s = 0;
|
|
4706
4703
|
return e.z !== "Z" && e.plusMinus !== void 0 && (s = e.hourOffset * 60 + e.minuteOffset, e.plusMinus === "+" && (s = 0 - s)), Date.UTC(e.year, e.month, e.day, e.hour, e.minute + s, e.second, e.millisecond);
|
|
4707
4704
|
}
|
|
4708
|
-
function
|
|
4705
|
+
function ma(t) {
|
|
4709
4706
|
var e, s;
|
|
4710
|
-
const r =
|
|
4707
|
+
const r = fa.exec(t);
|
|
4711
4708
|
return r ? {
|
|
4712
4709
|
year: at(r[1]),
|
|
4713
4710
|
month: at(r[2], 1) - 1,
|
|
@@ -4729,16 +4726,16 @@ function pa(t) {
|
|
|
4729
4726
|
function at(t, e = 0) {
|
|
4730
4727
|
return Number(t) || e;
|
|
4731
4728
|
}
|
|
4732
|
-
let
|
|
4733
|
-
class
|
|
4729
|
+
let ya = /* @__PURE__ */ new Date(""), ga = (t) => Object.prototype.toString.call(t) === "[object Date]";
|
|
4730
|
+
class is extends $t {
|
|
4734
4731
|
constructor() {
|
|
4735
4732
|
super({
|
|
4736
4733
|
type: "date",
|
|
4737
4734
|
check(e) {
|
|
4738
|
-
return
|
|
4735
|
+
return ga(e) && !isNaN(e.getTime());
|
|
4739
4736
|
}
|
|
4740
4737
|
}), this.withMutation(() => {
|
|
4741
|
-
this.transform((e, s, r) => !r.spec.coerce || r.isType(e) || e === null ? e : (e =
|
|
4738
|
+
this.transform((e, s, r) => !r.spec.coerce || r.isType(e) || e === null ? e : (e = pa(e), isNaN(e) ? is.INVALID_DATE : new Date(e)));
|
|
4742
4739
|
});
|
|
4743
4740
|
}
|
|
4744
4741
|
prepareParam(e, s) {
|
|
@@ -4752,7 +4749,7 @@ class rs extends $t {
|
|
|
4752
4749
|
}
|
|
4753
4750
|
return r;
|
|
4754
4751
|
}
|
|
4755
|
-
min(e, s =
|
|
4752
|
+
min(e, s = Ge.min) {
|
|
4756
4753
|
let r = this.prepareParam(e, "min");
|
|
4757
4754
|
return this.test({
|
|
4758
4755
|
message: s,
|
|
@@ -4767,7 +4764,7 @@ class rs extends $t {
|
|
|
4767
4764
|
}
|
|
4768
4765
|
});
|
|
4769
4766
|
}
|
|
4770
|
-
max(e, s =
|
|
4767
|
+
max(e, s = Ge.max) {
|
|
4771
4768
|
let r = this.prepareParam(e, "max");
|
|
4772
4769
|
return this.test({
|
|
4773
4770
|
message: s,
|
|
@@ -4783,14 +4780,14 @@ class rs extends $t {
|
|
|
4783
4780
|
});
|
|
4784
4781
|
}
|
|
4785
4782
|
}
|
|
4786
|
-
|
|
4783
|
+
is.INVALID_DATE = ya;
|
|
4787
4784
|
a.createContext(void 0);
|
|
4788
|
-
var
|
|
4785
|
+
var Os = (t) => {
|
|
4789
4786
|
window.udata || (window.udata = []), window.udata.push(t);
|
|
4790
4787
|
};
|
|
4791
|
-
|
|
4792
|
-
const
|
|
4793
|
-
function
|
|
4788
|
+
on.Body;
|
|
4789
|
+
const va = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx("p", { className: "form--user-consent__description", ...e, children: t });
|
|
4790
|
+
function Ca({
|
|
4794
4791
|
mutate: t,
|
|
4795
4792
|
userConsent: e,
|
|
4796
4793
|
errorMessage: s,
|
|
@@ -4814,13 +4811,13 @@ function va({
|
|
|
4814
4811
|
try {
|
|
4815
4812
|
await new Promise((C, k) => {
|
|
4816
4813
|
t(
|
|
4817
|
-
x.map((
|
|
4814
|
+
x.map((j) => j.value),
|
|
4818
4815
|
{
|
|
4819
4816
|
onSuccess: () => {
|
|
4820
4817
|
e.data === null ? d("consent") : r(), C();
|
|
4821
4818
|
},
|
|
4822
|
-
onError: (
|
|
4823
|
-
k(
|
|
4819
|
+
onError: (j) => {
|
|
4820
|
+
k(j);
|
|
4824
4821
|
}
|
|
4825
4822
|
}
|
|
4826
4823
|
);
|
|
@@ -4854,9 +4851,9 @@ function va({
|
|
|
4854
4851
|
const Nr = () => {
|
|
4855
4852
|
const { apiUrl: t } = dt();
|
|
4856
4853
|
return `${`${t}/xtra`}/authentication/v1/gdpr`;
|
|
4857
|
-
},
|
|
4858
|
-
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), i = new
|
|
4859
|
-
return
|
|
4854
|
+
}, ba = () => {
|
|
4855
|
+
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), i = new Xs();
|
|
4856
|
+
return mi({
|
|
4860
4857
|
mutationFn: async (l) => {
|
|
4861
4858
|
const u = je(t.language, s), h = await fetch(`${e}/tc`, {
|
|
4862
4859
|
body: JSON.stringify({ acceptedTC: l }),
|
|
@@ -4877,10 +4874,10 @@ const Nr = () => {
|
|
|
4877
4874
|
await i.invalidateQueries({ queryKey: ["gdpr"] });
|
|
4878
4875
|
}
|
|
4879
4876
|
});
|
|
4880
|
-
},
|
|
4877
|
+
}, xa = () => {
|
|
4881
4878
|
var u;
|
|
4882
|
-
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), o = ((u =
|
|
4883
|
-
return
|
|
4879
|
+
const { i18n: t } = nt(), e = Nr(), { country: s, bouHeaders: r } = dt(), o = ((u = es().data) == null ? void 0 : u.authenticationStatus) === "Authenticated";
|
|
4880
|
+
return Ie({
|
|
4884
4881
|
queryKey: ["gdpr"],
|
|
4885
4882
|
queryFn: async () => {
|
|
4886
4883
|
const h = je(t.language, s), d = await fetch(`${e}/tc/check`, {
|
|
@@ -4892,15 +4889,19 @@ const Nr = () => {
|
|
|
4892
4889
|
throw new Error("Network response was not ok");
|
|
4893
4890
|
return d.status === 204 ? [] : await d.json();
|
|
4894
4891
|
},
|
|
4895
|
-
enabled: o
|
|
4892
|
+
enabled: o,
|
|
4893
|
+
staleTime: 10 * 1e3,
|
|
4894
|
+
// 10 seconds
|
|
4895
|
+
gcTime: 1 * 60 * 1e3
|
|
4896
|
+
// 1 minute
|
|
4896
4897
|
});
|
|
4897
|
-
},
|
|
4898
|
+
}, wa = () => {
|
|
4898
4899
|
const { apiUrl: t } = dt();
|
|
4899
4900
|
return `${`${t}/xtra`}/authentication/v1/userconsent`;
|
|
4900
|
-
},
|
|
4901
|
+
}, ja = () => {
|
|
4901
4902
|
var u;
|
|
4902
|
-
const { i18n: t } = nt(), e =
|
|
4903
|
-
return
|
|
4903
|
+
const { i18n: t } = nt(), e = wa(), { country: s, bouHeaders: r } = dt(), o = ((u = es().data) == null ? void 0 : u.authenticationStatus) === "Authenticated";
|
|
4904
|
+
return Ie({
|
|
4904
4905
|
queryKey: ["userconsent"],
|
|
4905
4906
|
queryFn: async () => {
|
|
4906
4907
|
const h = je(t.language, s), d = await fetch(e, {
|
|
@@ -4913,39 +4914,46 @@ const Nr = () => {
|
|
|
4913
4914
|
return await d.json();
|
|
4914
4915
|
},
|
|
4915
4916
|
enabled: o,
|
|
4916
|
-
staleTime:
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4917
|
+
staleTime: 10 * 1e3,
|
|
4918
|
+
// 10 seconds
|
|
4919
|
+
gcTime: 1 * 60 * 1e3,
|
|
4920
|
+
// 1 minutes
|
|
4921
|
+
refetchOnWindowFocus: !0,
|
|
4920
4922
|
refetchOnReconnect: !1
|
|
4921
4923
|
});
|
|
4922
|
-
}
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
const
|
|
4924
|
+
};
|
|
4925
|
+
let Oe = !1;
|
|
4926
|
+
const Sa = () => {
|
|
4927
|
+
var P;
|
|
4928
|
+
const { t } = nt(), { logoutUrl: e } = Se(), { mutate: s, isError: r, isPending: i } = ba(), o = xa(), l = ja(), [u, h] = a.useState(!0), [d, f] = a.useState(!1), p = Ke(), g = a.useRef(!1), m = a.useRef("terms");
|
|
4929
|
+
Rr({ element: "xtra-authentication" });
|
|
4930
|
+
const x = t("termsAndConditions.error.required"), v = () => {
|
|
4927
4931
|
f(!1), document.body.style.removeProperty("overflow");
|
|
4928
|
-
}, { submitCount:
|
|
4932
|
+
}, { submitCount: C, errors: k, activeContent: j, setActiveContent: A, setErrors: M, handleSubmit: F } = Ca({ mutate: s, userConsent: l, errorMessage: x, resetDialog: v }), { AccessibleFormMessage: D, formRef: et } = Lr({ submitCount: C, errors: k });
|
|
4929
4933
|
a.useEffect(() => {
|
|
4930
|
-
var
|
|
4931
|
-
!o.isLoading && !l.isLoading && (h(!1), (
|
|
4932
|
-
event_name: "popup impression",
|
|
4933
|
-
popup_name: "one consent pop-up",
|
|
4934
|
-
popup_type: "call to action",
|
|
4935
|
-
popup_style: "overlay"
|
|
4936
|
-
}), sessionStorage.setItem(F, "true")), k("consent")) : (f(!1), m()));
|
|
4934
|
+
var T;
|
|
4935
|
+
!o.isLoading && !l.isLoading && (h(!1), (T = o.data) != null && T.length ? (f(!0), A("terms")) : l.data === null ? (f(!0), A("consent")) : (f(!1), v()));
|
|
4937
4936
|
}, [
|
|
4938
|
-
(
|
|
4937
|
+
(P = o.data) == null ? void 0 : P.length,
|
|
4939
4938
|
o.isLoading,
|
|
4940
4939
|
l.data,
|
|
4941
4940
|
l.isLoading
|
|
4942
4941
|
]), a.useEffect(() => {
|
|
4942
|
+
const T = g.current, R = m.current;
|
|
4943
|
+
d && j === "consent" && !Oe && // Fire if dialog just opened OR content just switched to consent
|
|
4944
|
+
(!T || R !== "consent") && (Os({
|
|
4945
|
+
event_name: "popup impression",
|
|
4946
|
+
popup_name: "one consent pop-up",
|
|
4947
|
+
popup_type: "call to action",
|
|
4948
|
+
popup_style: "overlay"
|
|
4949
|
+
}), Oe = !0), !d && T && (Oe = !1), g.current = d, m.current = j;
|
|
4950
|
+
}, [d, j]), a.useEffect(() => {
|
|
4943
4951
|
d && document.body.style.setProperty("overflow", "hidden");
|
|
4944
4952
|
}, [d]), a.useEffect(() => {
|
|
4945
|
-
r &&
|
|
4946
|
-
}, [
|
|
4947
|
-
const
|
|
4948
|
-
|
|
4953
|
+
r && M({ acceptedTC: x });
|
|
4954
|
+
}, [x, r]);
|
|
4955
|
+
const $ = (T) => {
|
|
4956
|
+
T.preventDefault(), Os({
|
|
4949
4957
|
event_name: "popup action",
|
|
4950
4958
|
popup_name: "one consent pop-up",
|
|
4951
4959
|
popup_type: "call to action",
|
|
@@ -4954,26 +4962,26 @@ const Nr = () => {
|
|
|
4954
4962
|
}), window.location.href = `${p}/selectconsent?existing=true`;
|
|
4955
4963
|
};
|
|
4956
4964
|
return d ? u || !d ? "Loading..." : /* @__PURE__ */ n.jsxs(Z, { defaultOpen: d, isModal: !0, children: [
|
|
4957
|
-
|
|
4965
|
+
D,
|
|
4958
4966
|
/* @__PURE__ */ n.jsxs(Z.Root, { children: [
|
|
4959
4967
|
/* @__PURE__ */ n.jsx(Z.Header, { children: /* @__PURE__ */ n.jsx(
|
|
4960
4968
|
Z.Title,
|
|
4961
4969
|
{
|
|
4962
|
-
icon:
|
|
4963
|
-
children: /* @__PURE__ */ n.jsx(
|
|
4970
|
+
icon: j === "terms" ? /* @__PURE__ */ n.jsx("i", { className: "commerce__icon" }) : null,
|
|
4971
|
+
children: /* @__PURE__ */ n.jsx(Oa, { children: t(j === "terms" ? "termsAndConditions.title" : "existingUserPopup.title") })
|
|
4964
4972
|
}
|
|
4965
4973
|
) }),
|
|
4966
|
-
/* @__PURE__ */ n.jsx(Z.Body, { children:
|
|
4974
|
+
/* @__PURE__ */ n.jsx(Z.Body, { children: j === "terms" ? /* @__PURE__ */ n.jsx(
|
|
4967
4975
|
Na,
|
|
4968
4976
|
{
|
|
4969
|
-
errors:
|
|
4970
|
-
handleSubmit:
|
|
4971
|
-
formRef:
|
|
4977
|
+
errors: k,
|
|
4978
|
+
handleSubmit: F,
|
|
4979
|
+
formRef: et,
|
|
4972
4980
|
termsAndConditions: o,
|
|
4973
|
-
errorMessage:
|
|
4981
|
+
errorMessage: x
|
|
4974
4982
|
}
|
|
4975
|
-
) : /* @__PURE__ */ n.jsx("form", { id: "consent-form", onSubmit:
|
|
4976
|
-
/* @__PURE__ */ n.jsx(Z.Footer, { children:
|
|
4983
|
+
) : /* @__PURE__ */ n.jsx("form", { id: "consent-form", onSubmit: $, children: /* @__PURE__ */ n.jsx(va, { children: t("existingUserPopup.description") }) }) }),
|
|
4984
|
+
/* @__PURE__ */ n.jsx(Z.Footer, { children: j === "terms" ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
4977
4985
|
/* @__PURE__ */ n.jsx(
|
|
4978
4986
|
"a",
|
|
4979
4987
|
{
|
|
@@ -4996,15 +5004,15 @@ const Nr = () => {
|
|
|
4996
5004
|
] }) : /* @__PURE__ */ n.jsx(Et, { form: "consent-form", type: "submit", variant: "primary", children: t("existingUserPopup.primaryAction") }) })
|
|
4997
5005
|
] })
|
|
4998
5006
|
] }) : null;
|
|
4999
|
-
},
|
|
5007
|
+
}, _a = ({
|
|
5000
5008
|
children: t,
|
|
5001
5009
|
...e
|
|
5002
|
-
}) => /* @__PURE__ */ n.jsx(Dt.Label, { className: "form--tc__label", ...e, children: t }),
|
|
5003
|
-
|
|
5004
|
-
const
|
|
5010
|
+
}) => /* @__PURE__ */ n.jsx(Dt.Label, { className: "form--tc__label", ...e, children: t }), Pr = a.forwardRef(({ children: t, ...e }, s) => /* @__PURE__ */ n.jsx("form", { className: "form--tc", ref: s, ...e, children: t }));
|
|
5011
|
+
Pr.displayName = "TermsAndConditionsForm";
|
|
5012
|
+
const Ea = ({
|
|
5005
5013
|
children: t,
|
|
5006
5014
|
...e
|
|
5007
|
-
}) => /* @__PURE__ */ n.jsx("p", { className: "form--tc__description", ...e, children: t }),
|
|
5015
|
+
}) => /* @__PURE__ */ n.jsx("p", { className: "form--tc__description", ...e, children: t }), ka = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx(
|
|
5008
5016
|
"a",
|
|
5009
5017
|
{
|
|
5010
5018
|
className: "form--tc__link",
|
|
@@ -5015,7 +5023,7 @@ const _a = ({
|
|
|
5015
5023
|
...e,
|
|
5016
5024
|
children: t
|
|
5017
5025
|
}
|
|
5018
|
-
),
|
|
5026
|
+
), Oa = ({ children: t }) => /* @__PURE__ */ n.jsx("h1", { className: "form--tc__title", children: t }), Aa = ({ children: t, ...e }) => /* @__PURE__ */ n.jsx("span", { className: "form--tc__error", role: "alert", ...e, children: t });
|
|
5019
5027
|
function Na({
|
|
5020
5028
|
errors: t,
|
|
5021
5029
|
handleSubmit: e,
|
|
@@ -5025,18 +5033,18 @@ function Na({
|
|
|
5025
5033
|
}) {
|
|
5026
5034
|
var l;
|
|
5027
5035
|
const { t: o } = nt();
|
|
5028
|
-
return /* @__PURE__ */ n.jsxs(
|
|
5029
|
-
/* @__PURE__ */ n.jsxs(
|
|
5036
|
+
return /* @__PURE__ */ n.jsxs(Pr, { ref: s, id: "tc-form", onSubmit: e, children: [
|
|
5037
|
+
/* @__PURE__ */ n.jsxs(Ea, { children: [
|
|
5030
5038
|
o("termsAndConditions.description"),
|
|
5031
|
-
t.acceptedTC && /* @__PURE__ */ n.jsx(
|
|
5039
|
+
t.acceptedTC && /* @__PURE__ */ n.jsx(Aa, { children: i })
|
|
5032
5040
|
] }),
|
|
5033
5041
|
(l = r.data) == null ? void 0 : l.map(({ tcCode: u, title: h, URL: d }) => /* @__PURE__ */ n.jsx(Dt, { id: u, value: u, name: "acceptedTC", variant: "primary", children: /* @__PURE__ */ n.jsxs(Dt.Content, { children: [
|
|
5034
|
-
/* @__PURE__ */ n.jsx(
|
|
5035
|
-
/* @__PURE__ */ n.jsx(
|
|
5042
|
+
/* @__PURE__ */ n.jsx(_a, { children: h }),
|
|
5043
|
+
/* @__PURE__ */ n.jsx(ka, { href: d, children: o("termsAndConditions.action", { title: h }) })
|
|
5036
5044
|
] }) }, u))
|
|
5037
5045
|
] });
|
|
5038
5046
|
}
|
|
5039
|
-
const
|
|
5047
|
+
const Pa = new Xs(), Ra = ({
|
|
5040
5048
|
environment: t,
|
|
5041
5049
|
redirectUrl: e,
|
|
5042
5050
|
apiUrl: s,
|
|
@@ -5047,28 +5055,28 @@ const Aa = new Zs(), Ma = ({
|
|
|
5047
5055
|
menuItemsToHide: u,
|
|
5048
5056
|
bouHeaders: h,
|
|
5049
5057
|
country: d
|
|
5050
|
-
}) => /* @__PURE__ */ n.jsx(
|
|
5051
|
-
|
|
5058
|
+
}) => /* @__PURE__ */ n.jsx(zr, { environment: t, children: /* @__PURE__ */ n.jsx(Fr, { commerceId: o, children: /* @__PURE__ */ n.jsx(
|
|
5059
|
+
Tn,
|
|
5052
5060
|
{
|
|
5053
5061
|
apiUrl: s,
|
|
5054
5062
|
authUrl: r,
|
|
5055
5063
|
country: d,
|
|
5056
5064
|
redirectUrl: e,
|
|
5057
5065
|
bouHeaders: h,
|
|
5058
|
-
children: /* @__PURE__ */ n.jsxs(
|
|
5066
|
+
children: /* @__PURE__ */ n.jsxs(ri, { client: Pa, children: [
|
|
5059
5067
|
/* @__PURE__ */ n.jsx(
|
|
5060
|
-
|
|
5068
|
+
Mn,
|
|
5061
5069
|
{
|
|
5062
5070
|
position: i,
|
|
5063
5071
|
bouMenuItems: l,
|
|
5064
5072
|
menuItemsToHide: u,
|
|
5065
|
-
children: /* @__PURE__ */ n.jsx(
|
|
5073
|
+
children: /* @__PURE__ */ n.jsx(Qn, {})
|
|
5066
5074
|
}
|
|
5067
5075
|
),
|
|
5068
|
-
/* @__PURE__ */ n.jsx(
|
|
5076
|
+
/* @__PURE__ */ n.jsx(Sa, {})
|
|
5069
5077
|
] })
|
|
5070
5078
|
}
|
|
5071
5079
|
) }) });
|
|
5072
5080
|
export {
|
|
5073
|
-
|
|
5081
|
+
Ra as default
|
|
5074
5082
|
};
|