@selvajs/selva 2.0.10 → 3.0.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/build/client/_app/immutable/assets/0.B0phAlf7.css.gz +0 -0
- package/build/client/_app/immutable/assets/20.DzF5JyuX.css +1 -0
- package/build/client/_app/immutable/assets/20.DzF5JyuX.css.br +0 -0
- package/build/client/_app/immutable/assets/20.DzF5JyuX.css.gz +0 -0
- package/build/client/_app/immutable/assets/index.CV-KWLNP.css.gz +0 -0
- package/build/client/_app/immutable/chunks/2BnY_oab.js +1 -0
- package/build/client/_app/immutable/chunks/2BnY_oab.js.br +0 -0
- package/build/client/_app/immutable/chunks/2BnY_oab.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5h7wo9xN.js +1 -0
- package/build/client/_app/immutable/chunks/5h7wo9xN.js.br +0 -0
- package/build/client/_app/immutable/chunks/5h7wo9xN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6CzuHfQM.js +2 -0
- package/build/client/_app/immutable/chunks/6CzuHfQM.js.br +0 -0
- package/build/client/_app/immutable/chunks/6CzuHfQM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9DES--UJ.js +1 -0
- package/build/client/_app/immutable/chunks/9DES--UJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/9DES--UJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3KcsPFR.js +1 -0
- package/build/client/_app/immutable/chunks/B3KcsPFR.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3KcsPFR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B48NJnzU.js +1 -0
- package/build/client/_app/immutable/chunks/B48NJnzU.js.br +0 -0
- package/build/client/_app/immutable/chunks/B48NJnzU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B5HD-6Ib.js +1 -0
- package/build/client/_app/immutable/chunks/B5HD-6Ib.js.br +0 -0
- package/build/client/_app/immutable/chunks/B5HD-6Ib.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BDpsQuxH.js +1 -0
- package/build/client/_app/immutable/chunks/BDpsQuxH.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDpsQuxH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEya8QN5.js +1 -0
- package/build/client/_app/immutable/chunks/BEya8QN5.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEya8QN5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BH9oGrlA.js +1 -0
- package/build/client/_app/immutable/chunks/BH9oGrlA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BH9oGrlA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHzbkLpq.js +1 -0
- package/build/client/_app/immutable/chunks/BHzbkLpq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHzbkLpq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJTJCSLB.js +1 -0
- package/build/client/_app/immutable/chunks/BJTJCSLB.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJTJCSLB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKZ_D8Qd.js +1 -0
- package/build/client/_app/immutable/chunks/BKZ_D8Qd.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKZ_D8Qd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKkYsBzb.js +9 -0
- package/build/client/_app/immutable/chunks/BKkYsBzb.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKkYsBzb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLBezPFp.js +1 -0
- package/build/client/_app/immutable/chunks/BLBezPFp.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLBezPFp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMNUAT2D.js +1 -0
- package/build/client/_app/immutable/chunks/BMNUAT2D.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMNUAT2D.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNs1__IY.js +1 -0
- package/build/client/_app/immutable/chunks/BNs1__IY.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNs1__IY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTm-dDt9.js +5 -0
- package/build/client/_app/immutable/chunks/BTm-dDt9.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTm-dDt9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ba74WbdD.js +1 -0
- package/build/client/_app/immutable/chunks/Ba74WbdD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ba74WbdD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bex2dy3F.js +1 -0
- package/build/client/_app/immutable/chunks/Bex2dy3F.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bex2dy3F.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfHBnYuG.js +1 -0
- package/build/client/_app/immutable/chunks/BfHBnYuG.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfHBnYuG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfraRswf.js +1 -0
- package/build/client/_app/immutable/chunks/BfraRswf.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfraRswf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhwCS4j8.js +1 -0
- package/build/client/_app/immutable/chunks/BhwCS4j8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhwCS4j8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BiG82jCv.js +1 -0
- package/build/client/_app/immutable/chunks/BiG82jCv.js.br +0 -0
- package/build/client/_app/immutable/chunks/BiG82jCv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjB88iwt.js +1 -0
- package/build/client/_app/immutable/chunks/BjB88iwt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjB88iwt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BnIDUuJL.js +1 -0
- package/build/client/_app/immutable/chunks/BnIDUuJL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BnIDUuJL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BnZOgasr.js +1 -0
- package/build/client/_app/immutable/chunks/BnZOgasr.js.br +0 -0
- package/build/client/_app/immutable/chunks/BnZOgasr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BsZHa2Wi.js +1 -0
- package/build/client/_app/immutable/chunks/BsZHa2Wi.js.br +0 -0
- package/build/client/_app/immutable/chunks/BsZHa2Wi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzBbrBKd.js +1 -0
- package/build/client/_app/immutable/chunks/BzBbrBKd.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzBbrBKd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C33A5aSj.js +1 -0
- package/build/client/_app/immutable/chunks/C33A5aSj.js.br +0 -0
- package/build/client/_app/immutable/chunks/C33A5aSj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C46MGZre.js +1 -0
- package/build/client/_app/immutable/chunks/C46MGZre.js.br +0 -0
- package/build/client/_app/immutable/chunks/C46MGZre.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C5BR2Ers.js +1 -0
- package/build/client/_app/immutable/chunks/C5BR2Ers.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5BR2Ers.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBjt6cm5.js +1 -0
- package/build/client/_app/immutable/chunks/CBjt6cm5.js.br +1 -0
- package/build/client/_app/immutable/chunks/CBjt6cm5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CE8BcsFf.js +1 -0
- package/build/client/_app/immutable/chunks/CE8BcsFf.js.br +0 -0
- package/build/client/_app/immutable/chunks/CE8BcsFf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJPg7PqR.js +1 -0
- package/build/client/_app/immutable/chunks/CJPg7PqR.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJPg7PqR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CKPgdp0v.js +1 -0
- package/build/client/_app/immutable/chunks/CKPgdp0v.js.br +0 -0
- package/build/client/_app/immutable/chunks/CKPgdp0v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMh2kjaf.js +1 -0
- package/build/client/_app/immutable/chunks/CMh2kjaf.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMh2kjaf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COWz2et1.js +1 -0
- package/build/client/_app/immutable/chunks/COWz2et1.js.br +0 -0
- package/build/client/_app/immutable/chunks/COWz2et1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQerFpzT.js +1 -0
- package/build/client/_app/immutable/chunks/CQerFpzT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQerFpzT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CYyqq9B1.js +1 -0
- package/build/client/_app/immutable/chunks/CYyqq9B1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CYyqq9B1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cauzi832.js +1 -0
- package/build/client/_app/immutable/chunks/Cauzi832.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cauzi832.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cbu9Tg11.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcBbOJ-v.js +1 -0
- package/build/client/_app/immutable/chunks/CcBbOJ-v.js.br +2 -0
- package/build/client/_app/immutable/chunks/CcBbOJ-v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ckd6DpGW.js +1 -0
- package/build/client/_app/immutable/chunks/Ckd6DpGW.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ckd6DpGW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsdWDH4Y.js +1 -0
- package/build/client/_app/immutable/chunks/CsdWDH4Y.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsdWDH4Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ctxx2m1z.js +3 -0
- package/build/client/_app/immutable/chunks/Ctxx2m1z.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ctxx2m1z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CvUP44VI.js +1 -0
- package/build/client/_app/immutable/chunks/CvUP44VI.js.br +0 -0
- package/build/client/_app/immutable/chunks/CvUP44VI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CwEiVMBL.js +1 -0
- package/build/client/_app/immutable/chunks/CwEiVMBL.js.br +0 -0
- package/build/client/_app/immutable/chunks/CwEiVMBL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-3pI9hp.js +1 -0
- package/build/client/_app/immutable/chunks/D-3pI9hp.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-3pI9hp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DApsykQI.js +1 -0
- package/build/client/_app/immutable/chunks/DApsykQI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DApsykQI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DC8WqQE0.js +1 -0
- package/build/client/_app/immutable/chunks/DC8WqQE0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DC8WqQE0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCBLBrrW.js +1 -0
- package/build/client/_app/immutable/chunks/DCBLBrrW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCBLBrrW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCgyaAAq.js +1 -0
- package/build/client/_app/immutable/chunks/DCgyaAAq.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCgyaAAq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DEk358l3.js +1 -0
- package/build/client/_app/immutable/chunks/DEk358l3.js.br +0 -0
- package/build/client/_app/immutable/chunks/DEk358l3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DFnVpznB.js +1 -0
- package/build/client/_app/immutable/chunks/DFnVpznB.js.br +4 -0
- package/build/client/_app/immutable/chunks/DFnVpznB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DH_OLMrQ.js +1 -0
- package/build/client/_app/immutable/chunks/DH_OLMrQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DH_OLMrQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DKP3kMac.js +2 -0
- package/build/client/_app/immutable/chunks/DKP3kMac.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKP3kMac.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRNG0pfi.js +1 -0
- package/build/client/_app/immutable/chunks/DRNG0pfi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRNG0pfi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DS1KfRtl.js +1 -0
- package/build/client/_app/immutable/chunks/DS1KfRtl.js.br +0 -0
- package/build/client/_app/immutable/chunks/DS1KfRtl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DU8tQv0c.js +1 -0
- package/build/client/_app/immutable/chunks/DU8tQv0c.js.br +0 -0
- package/build/client/_app/immutable/chunks/DU8tQv0c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUpVdSFf.js +1 -0
- package/build/client/_app/immutable/chunks/DUpVdSFf.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUpVdSFf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DciO9jhd.js +1 -0
- package/build/client/_app/immutable/chunks/DciO9jhd.js.br +0 -0
- package/build/client/_app/immutable/chunks/DciO9jhd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfVTcmam.js +1 -0
- package/build/client/_app/immutable/chunks/DfVTcmam.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfVTcmam.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfcDRMtE.js +1 -0
- package/build/client/_app/immutable/chunks/DfcDRMtE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfcDRMtE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DglJwvDE.js +1 -0
- package/build/client/_app/immutable/chunks/DglJwvDE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DglJwvDE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DkpwXYYZ.js +1 -0
- package/build/client/_app/immutable/chunks/DkpwXYYZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DkpwXYYZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DsnmJJEf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dw6fzgfW.js +1 -0
- package/build/client/_app/immutable/chunks/Dw6fzgfW.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dw6fzgfW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DzNzLgOO.js +1 -0
- package/build/client/_app/immutable/chunks/DzNzLgOO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DzNzLgOO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/E7F5LllG.js +1 -0
- package/build/client/_app/immutable/chunks/E7F5LllG.js.br +0 -0
- package/build/client/_app/immutable/chunks/E7F5LllG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FdBsYR_f.js +1 -0
- package/build/client/_app/immutable/chunks/FdBsYR_f.js.br +0 -0
- package/build/client/_app/immutable/chunks/FdBsYR_f.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KIV0kKdR.js +1 -0
- package/build/client/_app/immutable/chunks/KIV0kKdR.js.br +0 -0
- package/build/client/_app/immutable/chunks/KIV0kKdR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MJK-ocUx.js +1 -0
- package/build/client/_app/immutable/chunks/MJK-ocUx.js.br +0 -0
- package/build/client/_app/immutable/chunks/MJK-ocUx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NPsDidaV.js +1 -0
- package/build/client/_app/immutable/chunks/NPsDidaV.js.br +0 -0
- package/build/client/_app/immutable/chunks/NPsDidaV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OVtUuDzp.js +1 -0
- package/build/client/_app/immutable/chunks/OVtUuDzp.js.br +0 -0
- package/build/client/_app/immutable/chunks/OVtUuDzp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Qf_Lg02h.js +1 -0
- package/build/client/_app/immutable/chunks/Qf_Lg02h.js.br +0 -0
- package/build/client/_app/immutable/chunks/Qf_Lg02h.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RmXOMQTe.js +1 -0
- package/build/client/_app/immutable/chunks/RmXOMQTe.js.br +0 -0
- package/build/client/_app/immutable/chunks/RmXOMQTe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/T-Nslbso.js +2 -0
- package/build/client/_app/immutable/chunks/T-Nslbso.js.br +0 -0
- package/build/client/_app/immutable/chunks/T-Nslbso.js.gz +0 -0
- package/build/client/_app/immutable/chunks/X4d9Q9UP.js +1 -0
- package/build/client/_app/immutable/chunks/X4d9Q9UP.js.br +0 -0
- package/build/client/_app/immutable/chunks/X4d9Q9UP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/jO1WSR3P.js +1 -0
- package/build/client/_app/immutable/chunks/jO1WSR3P.js.br +0 -0
- package/build/client/_app/immutable/chunks/jO1WSR3P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lyBl2EWc.js +64 -0
- package/build/client/_app/immutable/chunks/lyBl2EWc.js.br +0 -0
- package/build/client/_app/immutable/chunks/lyBl2EWc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/xQ1SsCxk.js +1 -0
- package/build/client/_app/immutable/chunks/xQ1SsCxk.js.br +0 -0
- package/build/client/_app/immutable/chunks/xQ1SsCxk.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.6Pcj7C1y.js +2 -0
- package/build/client/_app/immutable/entry/app.6Pcj7C1y.js.br +0 -0
- package/build/client/_app/immutable/entry/app.6Pcj7C1y.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DIHLwcbZ.js +1 -0
- package/build/client/_app/immutable/entry/start.DIHLwcbZ.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DIHLwcbZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.jHfSJDLC.js +1 -0
- package/build/client/_app/immutable/nodes/0.jHfSJDLC.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.jHfSJDLC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BhykIdRx.js +1 -0
- package/build/client/_app/immutable/nodes/1.BhykIdRx.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BhykIdRx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.CFymu_sF.js +3 -0
- package/build/client/_app/immutable/nodes/10.CFymu_sF.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CFymu_sF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.DyOlzJcZ.js +2 -0
- package/build/client/_app/immutable/nodes/11.DyOlzJcZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DyOlzJcZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BqHQ_pQ5.js +1 -0
- package/build/client/_app/immutable/nodes/12.BqHQ_pQ5.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BqHQ_pQ5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.s79JEajb.js +2 -0
- package/build/client/_app/immutable/nodes/13.s79JEajb.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.s79JEajb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.CYT3iXz4.js +2 -0
- package/build/client/_app/immutable/nodes/14.CYT3iXz4.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.CYT3iXz4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BmUKGag9.js +16 -0
- package/build/client/_app/immutable/nodes/15.BmUKGag9.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BmUKGag9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BV1yTi0H.js +6 -0
- package/build/client/_app/immutable/nodes/16.BV1yTi0H.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BV1yTi0H.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.BJ9W1-Gp.js +2 -0
- package/build/client/_app/immutable/nodes/17.BJ9W1-Gp.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BJ9W1-Gp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.Cl9SXwAF.js +1 -0
- package/build/client/_app/immutable/nodes/18.Cl9SXwAF.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.Cl9SXwAF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CotcbdTq.js +2 -0
- package/build/client/_app/immutable/nodes/19.CotcbdTq.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CotcbdTq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.bzOm1515.js +1 -0
- package/build/client/_app/immutable/nodes/2.bzOm1515.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.bzOm1515.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CA3HJZEu.js +4116 -0
- package/build/client/_app/immutable/nodes/20.CA3HJZEu.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CA3HJZEu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BJPjb8-v.js +6 -0
- package/build/client/_app/immutable/nodes/21.BJPjb8-v.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BJPjb8-v.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.BRvOrN4m.js +16 -0
- package/build/client/_app/immutable/nodes/23.BRvOrN4m.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.BRvOrN4m.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.BXo-yHSI.js +6 -0
- package/build/client/_app/immutable/nodes/24.BXo-yHSI.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.BXo-yHSI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DQ1u0u88.js +1 -0
- package/build/client/_app/immutable/nodes/25.DQ1u0u88.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DQ1u0u88.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Ds_gf_O9.js +3 -0
- package/build/client/_app/immutable/nodes/26.Ds_gf_O9.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Ds_gf_O9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.BYAdgkyp.js +4 -0
- package/build/client/_app/immutable/nodes/27.BYAdgkyp.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.BYAdgkyp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.LN6851SR.js +4 -0
- package/build/client/_app/immutable/nodes/28.LN6851SR.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.LN6851SR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.DLioElQp.js +2 -0
- package/build/client/_app/immutable/nodes/29.DLioElQp.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.DLioElQp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.BrNhFCwf.js +1 -0
- package/build/client/_app/immutable/nodes/3.BrNhFCwf.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.BrNhFCwf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.8X3_Qhc4.js +2 -0
- package/build/client/_app/immutable/nodes/30.8X3_Qhc4.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.8X3_Qhc4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.CaWXI_qm.js +2 -0
- package/build/client/_app/immutable/nodes/31.CaWXI_qm.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.CaWXI_qm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.Drmb2nxJ.js +3 -0
- package/build/client/_app/immutable/nodes/32.Drmb2nxJ.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.Drmb2nxJ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CieI7_Lb.js +1 -0
- package/build/client/_app/immutable/nodes/4.CieI7_Lb.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CieI7_Lb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Bv0v3n_x.js +1 -0
- package/build/client/_app/immutable/nodes/5.Bv0v3n_x.js.br +1 -0
- package/build/client/_app/immutable/nodes/5.Bv0v3n_x.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.Bcm8SZhY.js +1 -0
- package/build/client/_app/immutable/nodes/6.Bcm8SZhY.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.Bcm8SZhY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.BxG3WtIs.js +1 -0
- package/build/client/_app/immutable/nodes/7.BxG3WtIs.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BxG3WtIs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.D5JMD1BH.js +2 -0
- package/build/client/_app/immutable/nodes/8.D5JMD1BH.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.D5JMD1BH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.C-ulXdlh.js +1 -0
- package/build/client/_app/immutable/nodes/9.C-ulXdlh.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.C-ulXdlh.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/favicon/favicon.svg.gz +0 -0
- package/build/client/robots.txt.gz +0 -0
- package/build/server/chunks/0-B-R0kBeY.js +55 -0
- package/build/server/chunks/0-B-R0kBeY.js.map +1 -0
- package/build/server/chunks/1-CuAyMauj.js +9 -0
- package/build/server/chunks/1-CuAyMauj.js.map +1 -0
- package/build/server/chunks/10-Nv6D0XYy.js +220 -0
- package/build/server/chunks/10-Nv6D0XYy.js.map +1 -0
- package/build/server/chunks/11-BeesIJzU.js +57 -0
- package/build/server/chunks/11-BeesIJzU.js.map +1 -0
- package/build/server/chunks/12-BUwej7vW.js +52 -0
- package/build/server/chunks/12-BUwej7vW.js.map +1 -0
- package/build/server/chunks/13-BXJkEncV.js +57 -0
- package/build/server/chunks/13-BXJkEncV.js.map +1 -0
- package/build/server/chunks/14-znPM9Pcq.js +100 -0
- package/build/server/chunks/14-znPM9Pcq.js.map +1 -0
- package/build/server/chunks/15-DZglhlvG.js +43 -0
- package/build/server/chunks/15-DZglhlvG.js.map +1 -0
- package/build/server/chunks/16-Bn08tbq5.js +83 -0
- package/build/server/chunks/16-Bn08tbq5.js.map +1 -0
- package/build/server/chunks/17-Cso-R6ia.js +9 -0
- package/build/server/chunks/17-Cso-R6ia.js.map +1 -0
- package/build/server/chunks/18-DSqnjSZR.js +74 -0
- package/build/server/chunks/18-DSqnjSZR.js.map +1 -0
- package/build/server/chunks/19-B5ff1LX8.js +94 -0
- package/build/server/chunks/19-B5ff1LX8.js.map +1 -0
- package/build/server/chunks/2-BGvFL0S4.js +41 -0
- package/build/server/chunks/2-BGvFL0S4.js.map +1 -0
- package/build/server/chunks/20-DFsHWLTF.js +220 -0
- package/build/server/chunks/20-DFsHWLTF.js.map +1 -0
- package/build/server/chunks/21-Dn5qUx_W.js +83 -0
- package/build/server/chunks/21-Dn5qUx_W.js.map +1 -0
- package/build/server/chunks/22-CsEswj1y.js +23 -0
- package/build/server/chunks/22-CsEswj1y.js.map +1 -0
- package/build/server/chunks/23-BEE28B4-.js +136 -0
- package/build/server/chunks/23-BEE28B4-.js.map +1 -0
- package/build/server/chunks/24-C2tGGVXp.js +144 -0
- package/build/server/chunks/24-C2tGGVXp.js.map +1 -0
- package/build/server/chunks/25-ojiP_VIe.js +51 -0
- package/build/server/chunks/25-ojiP_VIe.js.map +1 -0
- package/build/server/chunks/26-Dia3LwgX.js +9 -0
- package/build/server/chunks/26-Dia3LwgX.js.map +1 -0
- package/build/server/chunks/27-DDqk8ntu.js +57 -0
- package/build/server/chunks/27-DDqk8ntu.js.map +1 -0
- package/build/server/chunks/28-DcIwnJDD.js +69 -0
- package/build/server/chunks/28-DcIwnJDD.js.map +1 -0
- package/build/server/chunks/29-CPECC6Qt.js +55 -0
- package/build/server/chunks/29-CPECC6Qt.js.map +1 -0
- package/build/server/chunks/3-CzLHDT1Q.js +9 -0
- package/build/server/chunks/3-CzLHDT1Q.js.map +1 -0
- package/build/server/chunks/30-Bno1WrtW.js +57 -0
- package/build/server/chunks/30-Bno1WrtW.js.map +1 -0
- package/build/server/chunks/31-DC1gGFWA.js +42 -0
- package/build/server/chunks/31-DC1gGFWA.js.map +1 -0
- package/build/server/chunks/32-BOGJTOSC.js +34 -0
- package/build/server/chunks/32-BOGJTOSC.js.map +1 -0
- package/build/server/chunks/4-DJKd7IS0.js +9 -0
- package/build/server/chunks/4-DJKd7IS0.js.map +1 -0
- package/build/server/chunks/5-C2v3v85u.js +32 -0
- package/build/server/chunks/5-C2v3v85u.js.map +1 -0
- package/build/server/chunks/6-km9_lsf3.js +40 -0
- package/build/server/chunks/6-km9_lsf3.js.map +1 -0
- package/build/server/chunks/7-DPthSRvp.js +19 -0
- package/build/server/chunks/7-DPthSRvp.js.map +1 -0
- package/build/server/chunks/8-AVVSYGmP.js +130 -0
- package/build/server/chunks/8-AVVSYGmP.js.map +1 -0
- package/build/server/chunks/9-BYsSPT2b.js +46 -0
- package/build/server/chunks/9-BYsSPT2b.js.map +1 -0
- package/build/server/chunks/AppHeader-DuJuMtMy.js +271 -0
- package/build/server/chunks/AppHeader-DuJuMtMy.js.map +1 -0
- package/build/server/chunks/DataTable-DYplJ2LW.js +26 -0
- package/build/server/chunks/DataTable-DYplJ2LW.js.map +1 -0
- package/build/server/chunks/DefinitionCard-CYv7Z13m.js +257 -0
- package/build/server/chunks/DefinitionCard-CYv7Z13m.js.map +1 -0
- package/build/server/chunks/EmptyState-BMCljy6g.js +53 -0
- package/build/server/chunks/EmptyState-BMCljy6g.js.map +1 -0
- package/build/server/chunks/ErrorScreen-d8Z8hQ1U.js +131 -0
- package/build/server/chunks/ErrorScreen-d8Z8hQ1U.js.map +1 -0
- package/build/server/chunks/FilterableDropdown-0UzIjcXJ.js +61 -0
- package/build/server/chunks/FilterableDropdown-0UzIjcXJ.js.map +1 -0
- package/build/server/chunks/SectionHeader-CjuQsFLx.js +32 -0
- package/build/server/chunks/SectionHeader-CjuQsFLx.js.map +1 -0
- package/build/server/chunks/SideNav-QbExg2MG.js +87 -0
- package/build/server/chunks/SideNav-QbExg2MG.js.map +1 -0
- package/build/server/chunks/StatCard-CRzbit9Z.js +50 -0
- package/build/server/chunks/StatCard-CRzbit9Z.js.map +1 -0
- package/build/server/chunks/UserAvatar-DZgfurXJ.js +13 -0
- package/build/server/chunks/UserAvatar-DZgfurXJ.js.map +1 -0
- package/build/server/chunks/UserChip-Ba0wRTtZ.js +1113 -0
- package/build/server/chunks/UserChip-Ba0wRTtZ.js.map +1 -0
- package/build/server/chunks/_error.svelte-DCuOEylf.js +29 -0
- package/build/server/chunks/_error.svelte-DCuOEylf.js.map +1 -0
- package/build/server/chunks/_error.svelte-DKd7sQzn.js +27 -0
- package/build/server/chunks/_error.svelte-DKd7sQzn.js.map +1 -0
- package/build/server/chunks/_layout.svelte-BmmDpTcb.js +152 -0
- package/build/server/chunks/_layout.svelte-BmmDpTcb.js.map +1 -0
- package/build/server/chunks/_layout.svelte-Bu7WpdFm.js +42 -0
- package/build/server/chunks/_layout.svelte-Bu7WpdFm.js.map +1 -0
- package/build/server/chunks/_layout.svelte-Cbs_hosi.js +105 -0
- package/build/server/chunks/_layout.svelte-Cbs_hosi.js.map +1 -0
- package/build/server/chunks/_layout.svelte-UsfBRC0f.js +795 -0
- package/build/server/chunks/_layout.svelte-UsfBRC0f.js.map +1 -0
- package/build/server/chunks/_page.svelte-B2WQ2nhU.js +69 -0
- package/build/server/chunks/_page.svelte-B2WQ2nhU.js.map +1 -0
- package/build/server/chunks/_page.svelte-B8iLZ6Zi.js +119 -0
- package/build/server/chunks/_page.svelte-B8iLZ6Zi.js.map +1 -0
- package/build/server/chunks/_page.svelte-BB3Q4U32.js +595 -0
- package/build/server/chunks/_page.svelte-BB3Q4U32.js.map +1 -0
- package/build/server/chunks/_page.svelte-BHM2cdfQ.js +119 -0
- package/build/server/chunks/_page.svelte-BHM2cdfQ.js.map +1 -0
- package/build/server/chunks/_page.svelte-BIABhE1J.js +329 -0
- package/build/server/chunks/_page.svelte-BIABhE1J.js.map +1 -0
- package/build/server/chunks/_page.svelte-BKk3pcBL.js +546 -0
- package/build/server/chunks/_page.svelte-BKk3pcBL.js.map +1 -0
- package/build/server/chunks/_page.svelte-BS4E9SvL.js +10510 -0
- package/build/server/chunks/_page.svelte-BS4E9SvL.js.map +1 -0
- package/build/server/chunks/_page.svelte-BYPZuYIR.js +276 -0
- package/build/server/chunks/_page.svelte-BYPZuYIR.js.map +1 -0
- package/build/server/chunks/_page.svelte-Big1I6tL.js +274 -0
- package/build/server/chunks/_page.svelte-Big1I6tL.js.map +1 -0
- package/build/server/chunks/_page.svelte-BjX7K7cb.js +249 -0
- package/build/server/chunks/_page.svelte-BjX7K7cb.js.map +1 -0
- package/build/server/chunks/_page.svelte-Bqwz1thf.js +146 -0
- package/build/server/chunks/_page.svelte-Bqwz1thf.js.map +1 -0
- package/build/server/chunks/_page.svelte-CEhO1-1V.js +452 -0
- package/build/server/chunks/_page.svelte-CEhO1-1V.js.map +1 -0
- package/build/server/chunks/_page.svelte-C_Jgsry_.js +500 -0
- package/build/server/chunks/_page.svelte-C_Jgsry_.js.map +1 -0
- package/build/server/chunks/_page.svelte-Cx28CapC.js +3847 -0
- package/build/server/chunks/_page.svelte-Cx28CapC.js.map +1 -0
- package/build/server/chunks/_page.svelte-D9-g6SJP.js +168 -0
- package/build/server/chunks/_page.svelte-D9-g6SJP.js.map +1 -0
- package/build/server/chunks/_page.svelte-DIn0gOqM.js +609 -0
- package/build/server/chunks/_page.svelte-DIn0gOqM.js.map +1 -0
- package/build/server/chunks/_page.svelte-DKPG7AbM.js +113 -0
- package/build/server/chunks/_page.svelte-DKPG7AbM.js.map +1 -0
- package/build/server/chunks/_page.svelte-DU9OiqeO.js +423 -0
- package/build/server/chunks/_page.svelte-DU9OiqeO.js.map +1 -0
- package/build/server/chunks/_page.svelte-DUFBSMDt.js +557 -0
- package/build/server/chunks/_page.svelte-DUFBSMDt.js.map +1 -0
- package/build/server/chunks/_page.svelte-DcbxsxZM.js +330 -0
- package/build/server/chunks/_page.svelte-DcbxsxZM.js.map +1 -0
- package/build/server/chunks/_page.svelte-DtVw2EYT.js +56 -0
- package/build/server/chunks/_page.svelte-DtVw2EYT.js.map +1 -0
- package/build/server/chunks/_page.svelte-DtbsSvbp.js +13 -0
- package/build/server/chunks/_page.svelte-DtbsSvbp.js.map +1 -0
- package/build/server/chunks/_page.svelte-DyTTCbrh.js +83 -0
- package/build/server/chunks/_page.svelte-DyTTCbrh.js.map +1 -0
- package/build/server/chunks/_page.svelte-jwU-46Sj.js +301 -0
- package/build/server/chunks/_page.svelte-jwU-46Sj.js.map +1 -0
- package/build/server/chunks/_page.svelte-tP-wCOII.js +714 -0
- package/build/server/chunks/_page.svelte-tP-wCOII.js.map +1 -0
- package/build/server/chunks/_server.ts-B22_T7V_.js +36 -0
- package/build/server/chunks/_server.ts-B22_T7V_.js.map +1 -0
- package/build/server/chunks/_server.ts-BDlLVhr0.js +76 -0
- package/build/server/chunks/_server.ts-BDlLVhr0.js.map +1 -0
- package/build/server/chunks/_server.ts-BGuNdvh3.js +85 -0
- package/build/server/chunks/_server.ts-BGuNdvh3.js.map +1 -0
- package/build/server/chunks/_server.ts-BKMhht9X.js +31 -0
- package/build/server/chunks/_server.ts-BKMhht9X.js.map +1 -0
- package/build/server/chunks/_server.ts-BLSWyveF.js +38 -0
- package/build/server/chunks/_server.ts-BLSWyveF.js.map +1 -0
- package/build/server/chunks/_server.ts-BW-lT0M3.js +58 -0
- package/build/server/chunks/_server.ts-BW-lT0M3.js.map +1 -0
- package/build/server/chunks/_server.ts-Ba8fgvzw.js +81 -0
- package/build/server/chunks/_server.ts-Ba8fgvzw.js.map +1 -0
- package/build/server/chunks/_server.ts-BmAiI-M6.js +75 -0
- package/build/server/chunks/_server.ts-BmAiI-M6.js.map +1 -0
- package/build/server/chunks/_server.ts-BrIEBX7H.js +86 -0
- package/build/server/chunks/_server.ts-BrIEBX7H.js.map +1 -0
- package/build/server/chunks/_server.ts-BrlTfpwE.js +71 -0
- package/build/server/chunks/_server.ts-BrlTfpwE.js.map +1 -0
- package/build/server/chunks/_server.ts-C0-8Ghjh.js +81 -0
- package/build/server/chunks/_server.ts-C0-8Ghjh.js.map +1 -0
- package/build/server/chunks/_server.ts-C1KGgrcN.js +38 -0
- package/build/server/chunks/_server.ts-C1KGgrcN.js.map +1 -0
- package/build/server/chunks/_server.ts-CM1ulGpl.js +94 -0
- package/build/server/chunks/_server.ts-CM1ulGpl.js.map +1 -0
- package/build/server/chunks/_server.ts-CZHS4EZU.js +35 -0
- package/build/server/chunks/_server.ts-CZHS4EZU.js.map +1 -0
- package/build/server/chunks/_server.ts-Cc1sYV4N.js +73 -0
- package/build/server/chunks/_server.ts-Cc1sYV4N.js.map +1 -0
- package/build/server/chunks/_server.ts-ChAgra2R.js +103 -0
- package/build/server/chunks/_server.ts-ChAgra2R.js.map +1 -0
- package/build/server/chunks/_server.ts-CiS1dBE4.js +110 -0
- package/build/server/chunks/_server.ts-CiS1dBE4.js.map +1 -0
- package/build/server/chunks/_server.ts-Co2Yjt2k.js +408 -0
- package/build/server/chunks/_server.ts-Co2Yjt2k.js.map +1 -0
- package/build/server/chunks/_server.ts-CpyLZir2.js +106 -0
- package/build/server/chunks/_server.ts-CpyLZir2.js.map +1 -0
- package/build/server/chunks/_server.ts-CuIFnCAh.js +31 -0
- package/build/server/chunks/_server.ts-CuIFnCAh.js.map +1 -0
- package/build/server/chunks/_server.ts-CzolkXdt.js +49 -0
- package/build/server/chunks/_server.ts-CzolkXdt.js.map +1 -0
- package/build/server/chunks/_server.ts-D1D_prNC.js +52 -0
- package/build/server/chunks/_server.ts-D1D_prNC.js.map +1 -0
- package/build/server/chunks/_server.ts-DAmmd8N5.js +29 -0
- package/build/server/chunks/_server.ts-DAmmd8N5.js.map +1 -0
- package/build/server/chunks/_server.ts-DEeyDsgj.js +70 -0
- package/build/server/chunks/_server.ts-DEeyDsgj.js.map +1 -0
- package/build/server/chunks/_server.ts-DOEzw2-7.js +94 -0
- package/build/server/chunks/_server.ts-DOEzw2-7.js.map +1 -0
- package/build/server/chunks/_server.ts-DOqfhUd4.js +33 -0
- package/build/server/chunks/_server.ts-DOqfhUd4.js.map +1 -0
- package/build/server/chunks/_server.ts-DZngf68M.js +39 -0
- package/build/server/chunks/_server.ts-DZngf68M.js.map +1 -0
- package/build/server/chunks/_server.ts-D_cDSuDn.js +37 -0
- package/build/server/chunks/_server.ts-D_cDSuDn.js.map +1 -0
- package/build/server/chunks/_server.ts-Dev4bRG7.js +37 -0
- package/build/server/chunks/_server.ts-Dev4bRG7.js.map +1 -0
- package/build/server/chunks/_server.ts-DiADR0vf.js +41 -0
- package/build/server/chunks/_server.ts-DiADR0vf.js.map +1 -0
- package/build/server/chunks/_server.ts-DmTvYkS6.js +48 -0
- package/build/server/chunks/_server.ts-DmTvYkS6.js.map +1 -0
- package/build/server/chunks/_server.ts-DtqNIvuj.js +30 -0
- package/build/server/chunks/_server.ts-DtqNIvuj.js.map +1 -0
- package/build/server/chunks/_server.ts-PC1ANpTi.js +293 -0
- package/build/server/chunks/_server.ts-PC1ANpTi.js.map +1 -0
- package/build/server/chunks/_server.ts-VVJtskXo.js +64 -0
- package/build/server/chunks/_server.ts-VVJtskXo.js.map +1 -0
- package/build/server/chunks/_server.ts-mpVOvyBh.js +42 -0
- package/build/server/chunks/_server.ts-mpVOvyBh.js.map +1 -0
- package/build/server/chunks/_server.ts-rck08O_p.js +78 -0
- package/build/server/chunks/_server.ts-rck08O_p.js.map +1 -0
- package/build/server/chunks/_server.ts-sBiGcMzk.js +39 -0
- package/build/server/chunks/_server.ts-sBiGcMzk.js.map +1 -0
- package/build/server/chunks/_server.ts-uudU-YvI.js +61 -0
- package/build/server/chunks/_server.ts-uudU-YvI.js.map +1 -0
- package/build/server/chunks/access.server-BPceukOr.js +411 -0
- package/build/server/chunks/access.server-BPceukOr.js.map +1 -0
- package/build/server/chunks/activity-Dmfe6yjx.js +18 -0
- package/build/server/chunks/activity-Dmfe6yjx.js.map +1 -0
- package/build/server/chunks/admin-auth.server-45kKyH82.js +78 -0
- package/build/server/chunks/admin-auth.server-45kKyH82.js.map +1 -0
- package/build/server/chunks/alert-description-BNqu-OG5.js +59 -0
- package/build/server/chunks/alert-description-BNqu-OG5.js.map +1 -0
- package/build/server/chunks/api-errors-KUItADEX.js +36 -0
- package/build/server/chunks/api-errors-KUItADEX.js.map +1 -0
- package/build/server/chunks/arrow-left-KOVWDB5k.js +14 -0
- package/build/server/chunks/arrow-left-KOVWDB5k.js.map +1 -0
- package/build/server/chunks/arrow-right-D0bOY6-5.js +14 -0
- package/build/server/chunks/arrow-right-D0bOY6-5.js.map +1 -0
- package/build/server/chunks/auth-bootstrap.server-C1OnV0V5.js +98 -0
- package/build/server/chunks/auth-bootstrap.server-C1OnV0V5.js.map +1 -0
- package/build/server/chunks/badge-DIEbxzcl.js +50 -0
- package/build/server/chunks/badge-DIEbxzcl.js.map +1 -0
- package/build/server/chunks/bootHealth.server-DzX0P_m2.js +58 -0
- package/build/server/chunks/bootHealth.server-DzX0P_m2.js.map +1 -0
- package/build/server/chunks/building-2-DFvNRZpq.js +22 -0
- package/build/server/chunks/building-2-DFvNRZpq.js.map +1 -0
- package/build/server/chunks/button-DPLE4Wc8.js +73 -0
- package/build/server/chunks/button-DPLE4Wc8.js.map +1 -0
- package/build/server/chunks/card-content-BlxX1RCO.js +46 -0
- package/build/server/chunks/card-content-BlxX1RCO.js.map +1 -0
- package/build/server/chunks/card-description-Z3TpzjmK.js +26 -0
- package/build/server/chunks/card-description-Z3TpzjmK.js.map +1 -0
- package/build/server/chunks/card-title-CdR5nQ-b.js +46 -0
- package/build/server/chunks/card-title-CdR5nQ-b.js.map +1 -0
- package/build/server/chunks/check-382jBCB9.js +11 -0
- package/build/server/chunks/check-382jBCB9.js.map +1 -0
- package/build/server/chunks/chevron-down-D5-hWbt-.js +11 -0
- package/build/server/chunks/chevron-down-D5-hWbt-.js.map +1 -0
- package/build/server/chunks/chevron-right-BqxmmxHL.js +11 -0
- package/build/server/chunks/chevron-right-BqxmmxHL.js.map +1 -0
- package/build/server/chunks/chevron-up-StZ3cnZ8.js +11 -0
- package/build/server/chunks/chevron-up-StZ3cnZ8.js.map +1 -0
- package/build/server/chunks/circle-DgRVKHBX.js +11 -0
- package/build/server/chunks/circle-DgRVKHBX.js.map +1 -0
- package/build/server/chunks/circle-alert-DVGjYRbM.js +18 -0
- package/build/server/chunks/circle-alert-DVGjYRbM.js.map +1 -0
- package/build/server/chunks/client-BGbAMHJi.js +39 -0
- package/build/server/chunks/client-BGbAMHJi.js.map +1 -0
- package/build/server/chunks/computeLimits-CKK96OOR.js +26 -0
- package/build/server/chunks/computeLimits-CKK96OOR.js.map +1 -0
- package/build/server/chunks/context-WcuX1UXU.js +134 -0
- package/build/server/chunks/context-WcuX1UXU.js.map +1 -0
- package/build/server/chunks/copy-ifB2TUP_.js +29 -0
- package/build/server/chunks/copy-ifB2TUP_.js.map +1 -0
- package/build/server/chunks/create-id-B-AKukLt.js +653 -0
- package/build/server/chunks/create-id-B-AKukLt.js.map +1 -0
- package/build/server/chunks/dialog-description-C-wNjCmv.js +523 -0
- package/build/server/chunks/dialog-description-C-wNjCmv.js.map +1 -0
- package/build/server/chunks/events-qfxQNxtp.js +119 -0
- package/build/server/chunks/events-qfxQNxtp.js.map +1 -0
- package/build/server/chunks/folder-kanban-pqeOGmPr.js +21 -0
- package/build/server/chunks/folder-kanban-pqeOGmPr.js.map +1 -0
- package/build/server/chunks/folder-open-Cs60gLjJ.js +18 -0
- package/build/server/chunks/folder-open-Cs60gLjJ.js.map +1 -0
- package/build/server/chunks/folders-u0VAZ6yv.js +24 -0
- package/build/server/chunks/folders-u0VAZ6yv.js.map +1 -0
- package/build/server/chunks/footerContext.svelte-CJMFkrzZ.js +523 -0
- package/build/server/chunks/footerContext.svelte-CJMFkrzZ.js.map +1 -0
- package/build/server/chunks/hooks.server-ChS4bxJn.js +218 -0
- package/build/server/chunks/hooks.server-ChS4bxJn.js.map +1 -0
- package/build/server/chunks/index-CtiRmlms.js +28 -0
- package/build/server/chunks/index-CtiRmlms.js.map +1 -0
- package/build/server/chunks/index2-CJwvvJu6.js +4379 -0
- package/build/server/chunks/index2-CJwvvJu6.js.map +1 -0
- package/build/server/chunks/index3-CNrCbgC4.js +541 -0
- package/build/server/chunks/index3-CNrCbgC4.js.map +1 -0
- package/build/server/chunks/input-BEmCftCF.js +53 -0
- package/build/server/chunks/input-BEmCftCF.js.map +1 -0
- package/build/server/chunks/label-D8oB1018.js +112 -0
- package/build/server/chunks/label-D8oB1018.js.map +1 -0
- package/build/server/chunks/link-2-D3b2vEpL.js +15 -0
- package/build/server/chunks/link-2-D3b2vEpL.js.map +1 -0
- package/build/server/chunks/mail-DZDbJkFt.js +17 -0
- package/build/server/chunks/mail-DZDbJkFt.js.map +1 -0
- package/build/server/chunks/noop-iPXixleG.js +138 -0
- package/build/server/chunks/noop-iPXixleG.js.map +1 -0
- package/build/server/chunks/permissions-compat.server-CAfCu77g.js +19 -0
- package/build/server/chunks/permissions-compat.server-CAfCu77g.js.map +1 -0
- package/build/server/chunks/permissions.server-Ba-N3_W5.js +8 -0
- package/build/server/chunks/permissions.server-Ba-N3_W5.js.map +1 -0
- package/build/server/chunks/plus-j_UY0EeU.js +11 -0
- package/build/server/chunks/plus-j_UY0EeU.js.map +1 -0
- package/build/server/chunks/providers.server-DOymvucH.js +4537 -0
- package/build/server/chunks/providers.server-DOymvucH.js.map +1 -0
- package/build/server/chunks/renderer-x4cX3Aau.js +3775 -0
- package/build/server/chunks/renderer-x4cX3Aau.js.map +1 -0
- package/build/server/chunks/resolve.server-fKH_sqyC.js +11 -0
- package/build/server/chunks/resolve.server-fKH_sqyC.js.map +1 -0
- package/build/server/chunks/resolve.server2-BnfeaGcZ.js +50 -0
- package/build/server/chunks/resolve.server2-BnfeaGcZ.js.map +1 -0
- package/build/server/chunks/root-CGeBSY2K.js +1134 -0
- package/build/server/chunks/root-CGeBSY2K.js.map +1 -0
- package/build/server/chunks/rotate-ccw-DChq5zhW.js +17 -0
- package/build/server/chunks/rotate-ccw-DChq5zhW.js.map +1 -0
- package/build/server/chunks/scroll-lock-BVxv0Dsn.js +1558 -0
- package/build/server/chunks/scroll-lock-BVxv0Dsn.js.map +1 -0
- package/build/server/chunks/scroll-text-Bi9gx_V4.js +21 -0
- package/build/server/chunks/scroll-text-Bi9gx_V4.js.map +1 -0
- package/build/server/chunks/server-LxtlHpuz.js +36 -0
- package/build/server/chunks/server-LxtlHpuz.js.map +1 -0
- package/build/server/chunks/settings-Cr5mYyBS.js +19 -0
- package/build/server/chunks/settings-Cr5mYyBS.js.map +1 -0
- package/build/server/chunks/shared-server-C3WdcJCQ.js +11 -0
- package/build/server/chunks/shared-server-C3WdcJCQ.js.map +1 -0
- package/build/server/chunks/shield-BSf8CVMT.js +18 -0
- package/build/server/chunks/shield-BSf8CVMT.js.map +1 -0
- package/build/server/chunks/shield-check-OpZRvDHN.js +19 -0
- package/build/server/chunks/shield-check-OpZRvDHN.js.map +1 -0
- package/build/server/chunks/star-KGWYAeYA.js +18 -0
- package/build/server/chunks/star-KGWYAeYA.js.map +1 -0
- package/build/server/chunks/stores-uHR_5Kqw.js +31 -0
- package/build/server/chunks/stores-uHR_5Kqw.js.map +1 -0
- package/build/server/chunks/textarea-CzRER9c0.js +685 -0
- package/build/server/chunks/textarea-CzRER9c0.js.map +1 -0
- package/build/server/chunks/toast-state.svelte-CFWzxRA3.js +185 -0
- package/build/server/chunks/toast-state.svelte-CFWzxRA3.js.map +1 -0
- package/build/server/chunks/token.server-BGL9vwYS.js +25 -0
- package/build/server/chunks/token.server-BGL9vwYS.js.map +1 -0
- package/build/server/chunks/token.server2-CaWL-Isp.js +22 -0
- package/build/server/chunks/token.server2-CaWL-Isp.js.map +1 -0
- package/build/server/chunks/trash-2-DmuR9br3.js +17 -0
- package/build/server/chunks/trash-2-DmuR9br3.js.map +1 -0
- package/build/server/chunks/triangle-alert-CuX-M239.js +444 -0
- package/build/server/chunks/triangle-alert-CuX-M239.js.map +1 -0
- package/build/server/chunks/upload-Dc1WcTjY.js +62 -0
- package/build/server/chunks/upload-Dc1WcTjY.js.map +1 -0
- package/build/server/chunks/user-plus-Jn4Z4v9g.js +16 -0
- package/build/server/chunks/user-plus-Jn4Z4v9g.js.map +1 -0
- package/build/server/chunks/users-BgwwwoIh.js +16 -0
- package/build/server/chunks/users-BgwwwoIh.js.map +1 -0
- package/build/server/chunks/utils2-BF28g2lj.js +56 -0
- package/build/server/chunks/utils2-BF28g2lj.js.map +1 -0
- package/build/server/chunks/utils3-Dv2HSd2-.js +80 -0
- package/build/server/chunks/utils3-Dv2HSd2-.js.map +1 -0
- package/build/server/chunks/x-B1q8Cpoy.js +14 -0
- package/build/server/chunks/x-B1q8Cpoy.js.map +1 -0
- package/build/server/index.js +12 -16
- package/build/server/index.js.map +1 -1
- package/build/server/manifest.js +72 -72
- package/build/server/manifest.js.map +1 -1
- package/package.json +5 -5
- package/build/client/_app/immutable/assets/20.Bne67Vgr.css +0 -1
- package/build/client/_app/immutable/assets/20.Bne67Vgr.css.br +0 -0
- package/build/client/_app/immutable/assets/20.Bne67Vgr.css.gz +0 -0
- package/build/client/_app/immutable/chunks/1s2jTHrf.js +0 -1
- package/build/client/_app/immutable/chunks/1s2jTHrf.js.br +0 -0
- package/build/client/_app/immutable/chunks/1s2jTHrf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2XlIPTRw.js +0 -1
- package/build/client/_app/immutable/chunks/2XlIPTRw.js.br +0 -1
- package/build/client/_app/immutable/chunks/2XlIPTRw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2_FEXmq1.js +0 -9
- package/build/client/_app/immutable/chunks/2_FEXmq1.js.br +0 -0
- package/build/client/_app/immutable/chunks/2_FEXmq1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2dX6Wjni.js +0 -1
- package/build/client/_app/immutable/chunks/2dX6Wjni.js.br +0 -0
- package/build/client/_app/immutable/chunks/2dX6Wjni.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4tskcAVN.js +0 -1
- package/build/client/_app/immutable/chunks/4tskcAVN.js.br +0 -0
- package/build/client/_app/immutable/chunks/4tskcAVN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/A6Vs_oZV.js +0 -2
- package/build/client/_app/immutable/chunks/A6Vs_oZV.js.br +0 -0
- package/build/client/_app/immutable/chunks/A6Vs_oZV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/AEyooZaf.js +0 -1
- package/build/client/_app/immutable/chunks/AEyooZaf.js.br +0 -0
- package/build/client/_app/immutable/chunks/AEyooZaf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1aRL9Hz.js +0 -1
- package/build/client/_app/immutable/chunks/B1aRL9Hz.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1aRL9Hz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8uG8z2c.js +0 -1
- package/build/client/_app/immutable/chunks/B8uG8z2c.js.br +0 -0
- package/build/client/_app/immutable/chunks/B8uG8z2c.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8zY50Bc.js +0 -1
- package/build/client/_app/immutable/chunks/B8zY50Bc.js.br +0 -5
- package/build/client/_app/immutable/chunks/B8zY50Bc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BCse3N0b.js +0 -1
- package/build/client/_app/immutable/chunks/BCse3N0b.js.br +0 -0
- package/build/client/_app/immutable/chunks/BCse3N0b.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BGxzXVpM.js +0 -1
- package/build/client/_app/immutable/chunks/BGxzXVpM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BGxzXVpM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BM4_iXSA.js +0 -1
- package/build/client/_app/immutable/chunks/BM4_iXSA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BM4_iXSA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMGykAfL.js +0 -2
- package/build/client/_app/immutable/chunks/BMGykAfL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMGykAfL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNScKugQ.js +0 -1
- package/build/client/_app/immutable/chunks/BNScKugQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNScKugQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNzEBMy8.js +0 -1
- package/build/client/_app/immutable/chunks/BNzEBMy8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNzEBMy8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BU9URCkw.js +0 -1
- package/build/client/_app/immutable/chunks/BU9URCkw.js.br +0 -0
- package/build/client/_app/immutable/chunks/BU9URCkw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BW4xleRz.js +0 -1
- package/build/client/_app/immutable/chunks/BW4xleRz.js.br +0 -0
- package/build/client/_app/immutable/chunks/BW4xleRz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZmrLQwT.js +0 -1
- package/build/client/_app/immutable/chunks/BZmrLQwT.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZmrLQwT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_Lmgh7q.js +0 -1
- package/build/client/_app/immutable/chunks/B_Lmgh7q.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_Lmgh7q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BapAUJpM.js +0 -1
- package/build/client/_app/immutable/chunks/BapAUJpM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BapAUJpM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bb9xebuT.js +0 -1
- package/build/client/_app/immutable/chunks/Bb9xebuT.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bb9xebuT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bgf48GEj.js +0 -1
- package/build/client/_app/immutable/chunks/Bgf48GEj.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bgf48GEj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjkQG7dw.js +0 -1
- package/build/client/_app/immutable/chunks/BjkQG7dw.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjkQG7dw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bmz9gLBz.js +0 -1
- package/build/client/_app/immutable/chunks/Bmz9gLBz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bmz9gLBz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bnpwcepm.js +0 -1
- package/build/client/_app/immutable/chunks/Bnpwcepm.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bnpwcepm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BoR6OKl6.js +0 -1
- package/build/client/_app/immutable/chunks/BoR6OKl6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoR6OKl6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Br5bpmJC.js +0 -1
- package/build/client/_app/immutable/chunks/Br5bpmJC.js.br +0 -0
- package/build/client/_app/immutable/chunks/Br5bpmJC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxCHY0iG.js +0 -1
- package/build/client/_app/immutable/chunks/BxCHY0iG.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxCHY0iG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1Sz0rtw.js +0 -1
- package/build/client/_app/immutable/chunks/C1Sz0rtw.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1Sz0rtw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1aQuqo_.js +0 -2
- package/build/client/_app/immutable/chunks/C1aQuqo_.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1aQuqo_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C26nmevH.js +0 -1
- package/build/client/_app/immutable/chunks/C26nmevH.js.br +0 -0
- package/build/client/_app/immutable/chunks/C26nmevH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8ko2SLk.js +0 -1
- package/build/client/_app/immutable/chunks/C8ko2SLk.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8ko2SLk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CAMhfNhW.js +0 -1
- package/build/client/_app/immutable/chunks/CAMhfNhW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CAMhfNhW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEnIp_6Y.js +0 -1
- package/build/client/_app/immutable/chunks/CEnIp_6Y.js.br +0 -3
- package/build/client/_app/immutable/chunks/CEnIp_6Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CGG8rM-6.js +0 -1
- package/build/client/_app/immutable/chunks/CGG8rM-6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CGG8rM-6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMjc_m7Z.js +0 -1
- package/build/client/_app/immutable/chunks/CMjc_m7Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMjc_m7Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQQ--RFk.js +0 -1
- package/build/client/_app/immutable/chunks/CQQ--RFk.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQQ--RFk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CRRzXoPz.js +0 -5
- package/build/client/_app/immutable/chunks/CRRzXoPz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CRRzXoPz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CTEi7jkr.js +0 -3
- package/build/client/_app/immutable/chunks/CTEi7jkr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CTEi7jkr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXh1ITwj.js +0 -1
- package/build/client/_app/immutable/chunks/CXh1ITwj.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXh1ITwj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZ1oTCKP.js +0 -1
- package/build/client/_app/immutable/chunks/CZ1oTCKP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZ1oTCKP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcYNc8-G.js +0 -1
- package/build/client/_app/immutable/chunks/CcYNc8-G.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcYNc8-G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cdcajer6.js +0 -1
- package/build/client/_app/immutable/chunks/Cdcajer6.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cdcajer6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ce2MupFq.js +0 -1
- package/build/client/_app/immutable/chunks/Ce2MupFq.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ce2MupFq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfP1DoGT.js +0 -1
- package/build/client/_app/immutable/chunks/CfP1DoGT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CfP1DoGT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfhPDo21.js +0 -1
- package/build/client/_app/immutable/chunks/CfhPDo21.js.br +0 -1
- package/build/client/_app/immutable/chunks/CfhPDo21.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkW8YtSm.js +0 -1
- package/build/client/_app/immutable/chunks/CkW8YtSm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkW8YtSm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoR7xVWs.js +0 -1
- package/build/client/_app/immutable/chunks/CoR7xVWs.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoR7xVWs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CpGv0MSX.js +0 -1
- package/build/client/_app/immutable/chunks/CpGv0MSX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CpGv0MSX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cvr8AlQE.js +0 -1
- package/build/client/_app/immutable/chunks/Cvr8AlQE.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cvr8AlQE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D0QMYypb.js +0 -1
- package/build/client/_app/immutable/chunks/D0QMYypb.js.br +0 -0
- package/build/client/_app/immutable/chunks/D0QMYypb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D40b34QZ.js +0 -1
- package/build/client/_app/immutable/chunks/D40b34QZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/D40b34QZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6MI_dhi.js +0 -1
- package/build/client/_app/immutable/chunks/D6MI_dhi.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6MI_dhi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7l1JayF.js +0 -1
- package/build/client/_app/immutable/chunks/D7l1JayF.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7l1JayF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D99uXqZb.js +0 -1
- package/build/client/_app/immutable/chunks/D99uXqZb.js.br +0 -0
- package/build/client/_app/immutable/chunks/D99uXqZb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DEBBEmC0.js +0 -1
- package/build/client/_app/immutable/chunks/DEBBEmC0.js.br +0 -0
- package/build/client/_app/immutable/chunks/DEBBEmC0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNsLImlA.js +0 -64
- package/build/client/_app/immutable/chunks/DNsLImlA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNsLImlA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRDjLZb3.js +0 -1
- package/build/client/_app/immutable/chunks/DRDjLZb3.js.br +0 -3
- package/build/client/_app/immutable/chunks/DRDjLZb3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTJeGfAL.js +0 -1
- package/build/client/_app/immutable/chunks/DTJeGfAL.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTJeGfAL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZFqETAQ.js +0 -1
- package/build/client/_app/immutable/chunks/DZFqETAQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZFqETAQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_wr-JLf.js +0 -1
- package/build/client/_app/immutable/chunks/D_wr-JLf.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_wr-JLf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DaXfFNFB.js +0 -1
- package/build/client/_app/immutable/chunks/DaXfFNFB.js.br +0 -0
- package/build/client/_app/immutable/chunks/DaXfFNFB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dl4WTuMB.js +0 -1
- package/build/client/_app/immutable/chunks/Dl4WTuMB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dl4WTuMB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Doks8ISn.js +0 -1
- package/build/client/_app/immutable/chunks/Doks8ISn.js.br +0 -0
- package/build/client/_app/immutable/chunks/Doks8ISn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/E3yOQTT0.js +0 -1
- package/build/client/_app/immutable/chunks/E3yOQTT0.js.br +0 -0
- package/build/client/_app/immutable/chunks/E3yOQTT0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Gxlzmh6y.js +0 -1
- package/build/client/_app/immutable/chunks/Gxlzmh6y.js.br +0 -0
- package/build/client/_app/immutable/chunks/Gxlzmh6y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ib-7xmHT.js +0 -1
- package/build/client/_app/immutable/chunks/Ib-7xmHT.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ib-7xmHT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/P4Np3c9O.js +0 -1
- package/build/client/_app/immutable/chunks/P4Np3c9O.js.br +0 -0
- package/build/client/_app/immutable/chunks/P4Np3c9O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Zf7VV5ZB.js +0 -1
- package/build/client/_app/immutable/chunks/Zf7VV5ZB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Zf7VV5ZB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_OLpdTiI.js +0 -1
- package/build/client/_app/immutable/chunks/_OLpdTiI.js.br +0 -0
- package/build/client/_app/immutable/chunks/_OLpdTiI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/azBeeLR0.js +0 -1
- package/build/client/_app/immutable/chunks/azBeeLR0.js.br +0 -0
- package/build/client/_app/immutable/chunks/azBeeLR0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gMllmzma.js +0 -1
- package/build/client/_app/immutable/chunks/gMllmzma.js.br +0 -0
- package/build/client/_app/immutable/chunks/gMllmzma.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hRoV10UM.js +0 -1
- package/build/client/_app/immutable/chunks/hRoV10UM.js.br +0 -0
- package/build/client/_app/immutable/chunks/hRoV10UM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/iEBlyxZv.js +0 -1
- package/build/client/_app/immutable/chunks/iEBlyxZv.js.br +0 -0
- package/build/client/_app/immutable/chunks/iEBlyxZv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/jFKgkeON.js +0 -1
- package/build/client/_app/immutable/chunks/jFKgkeON.js.br +0 -0
- package/build/client/_app/immutable/chunks/jFKgkeON.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ooPBmYPj.js +0 -1
- package/build/client/_app/immutable/chunks/ooPBmYPj.js.br +0 -0
- package/build/client/_app/immutable/chunks/ooPBmYPj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pRg-f8xU.js +0 -1
- package/build/client/_app/immutable/chunks/pRg-f8xU.js.br +0 -0
- package/build/client/_app/immutable/chunks/pRg-f8xU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uINs3xv3.js +0 -1
- package/build/client/_app/immutable/chunks/uINs3xv3.js.br +0 -0
- package/build/client/_app/immutable/chunks/uINs3xv3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wamM80bu.js +0 -1
- package/build/client/_app/immutable/chunks/wamM80bu.js.br +0 -0
- package/build/client/_app/immutable/chunks/wamM80bu.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.CKMPJJRF.js +0 -2
- package/build/client/_app/immutable/entry/app.CKMPJJRF.js.br +0 -0
- package/build/client/_app/immutable/entry/app.CKMPJJRF.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BNxKlw9Q.js +0 -1
- package/build/client/_app/immutable/entry/start.BNxKlw9Q.js.br +0 -2
- package/build/client/_app/immutable/entry/start.BNxKlw9Q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DlG8LAVR.js +0 -1
- package/build/client/_app/immutable/nodes/0.DlG8LAVR.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DlG8LAVR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CBSGNp0x.js +0 -1
- package/build/client/_app/immutable/nodes/1.CBSGNp0x.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CBSGNp0x.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.C5pTC9MT.js +0 -3
- package/build/client/_app/immutable/nodes/10.C5pTC9MT.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C5pTC9MT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.D8vq6hbM.js +0 -2
- package/build/client/_app/immutable/nodes/11.D8vq6hbM.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.D8vq6hbM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BoPfAFdi.js +0 -1
- package/build/client/_app/immutable/nodes/12.BoPfAFdi.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BoPfAFdi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.CAeK6ncz.js +0 -2
- package/build/client/_app/immutable/nodes/13.CAeK6ncz.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CAeK6ncz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BQgMKGR9.js +0 -2
- package/build/client/_app/immutable/nodes/14.BQgMKGR9.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BQgMKGR9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.CAs53i3e.js +0 -16
- package/build/client/_app/immutable/nodes/15.CAs53i3e.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.CAs53i3e.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.COqS-C2g.js +0 -6
- package/build/client/_app/immutable/nodes/16.COqS-C2g.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.COqS-C2g.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DFOKDpKT.js +0 -2
- package/build/client/_app/immutable/nodes/17.DFOKDpKT.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DFOKDpKT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.BpVlwZ30.js +0 -1
- package/build/client/_app/immutable/nodes/18.BpVlwZ30.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.BpVlwZ30.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.Dvf5ii3B.js +0 -2
- package/build/client/_app/immutable/nodes/19.Dvf5ii3B.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.Dvf5ii3B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.B4hNrAp8.js +0 -1
- package/build/client/_app/immutable/nodes/2.B4hNrAp8.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.B4hNrAp8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.DXexjElq.js +0 -4116
- package/build/client/_app/immutable/nodes/20.DXexjElq.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.DXexjElq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.CY6vTFDO.js +0 -3
- package/build/client/_app/immutable/nodes/21.CY6vTFDO.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.CY6vTFDO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.DuFwz8Vn.js +0 -16
- package/build/client/_app/immutable/nodes/23.DuFwz8Vn.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.DuFwz8Vn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DxzLaZvY.js +0 -6
- package/build/client/_app/immutable/nodes/24.DxzLaZvY.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DxzLaZvY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.oeBaWIUn.js +0 -1
- package/build/client/_app/immutable/nodes/25.oeBaWIUn.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.oeBaWIUn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.lPx5SjN1.js +0 -3
- package/build/client/_app/immutable/nodes/26.lPx5SjN1.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.lPx5SjN1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.BuC47dzM.js +0 -4
- package/build/client/_app/immutable/nodes/27.BuC47dzM.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.BuC47dzM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.C_uTKWGO.js +0 -4
- package/build/client/_app/immutable/nodes/28.C_uTKWGO.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.C_uTKWGO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.8zDETWDm.js +0 -2
- package/build/client/_app/immutable/nodes/29.8zDETWDm.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.8zDETWDm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.Bfn3gVJk.js +0 -1
- package/build/client/_app/immutable/nodes/3.Bfn3gVJk.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.Bfn3gVJk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.e6k62qmr.js +0 -2
- package/build/client/_app/immutable/nodes/30.e6k62qmr.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.e6k62qmr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.DKnO7o1W.js +0 -2
- package/build/client/_app/immutable/nodes/31.DKnO7o1W.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.DKnO7o1W.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.D4xYDWvG.js +0 -3
- package/build/client/_app/immutable/nodes/32.D4xYDWvG.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.D4xYDWvG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.0a-qdY5B.js +0 -1
- package/build/client/_app/immutable/nodes/4.0a-qdY5B.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.0a-qdY5B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.BuIfvCG_.js +0 -1
- package/build/client/_app/immutable/nodes/5.BuIfvCG_.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.BuIfvCG_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.7n3uXlRb.js +0 -1
- package/build/client/_app/immutable/nodes/6.7n3uXlRb.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.7n3uXlRb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.hY96lcAK.js +0 -1
- package/build/client/_app/immutable/nodes/7.hY96lcAK.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.hY96lcAK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BJVGDvKO.js +0 -2
- package/build/client/_app/immutable/nodes/8.BJVGDvKO.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BJVGDvKO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DfzNXXlu.js +0 -1
- package/build/client/_app/immutable/nodes/9.DfzNXXlu.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DfzNXXlu.js.gz +0 -0
- package/build/server/chunks/0-BwkJawM9.js +0 -55
- package/build/server/chunks/0-BwkJawM9.js.map +0 -1
- package/build/server/chunks/1-DHXobBGu.js +0 -9
- package/build/server/chunks/1-DHXobBGu.js.map +0 -1
- package/build/server/chunks/10-B96sdHm3.js +0 -220
- package/build/server/chunks/10-B96sdHm3.js.map +0 -1
- package/build/server/chunks/11-BDWsB0ko.js +0 -57
- package/build/server/chunks/11-BDWsB0ko.js.map +0 -1
- package/build/server/chunks/12-Djatn5UB.js +0 -52
- package/build/server/chunks/12-Djatn5UB.js.map +0 -1
- package/build/server/chunks/13-C2yj7_Mb.js +0 -57
- package/build/server/chunks/13-C2yj7_Mb.js.map +0 -1
- package/build/server/chunks/14-BQlCNoCl.js +0 -100
- package/build/server/chunks/14-BQlCNoCl.js.map +0 -1
- package/build/server/chunks/15-CHrs6UVa.js +0 -43
- package/build/server/chunks/15-CHrs6UVa.js.map +0 -1
- package/build/server/chunks/16-CgRtwJn8.js +0 -83
- package/build/server/chunks/16-CgRtwJn8.js.map +0 -1
- package/build/server/chunks/17-BQigDlDw.js +0 -9
- package/build/server/chunks/17-BQigDlDw.js.map +0 -1
- package/build/server/chunks/18-ZllBwU0v.js +0 -74
- package/build/server/chunks/18-ZllBwU0v.js.map +0 -1
- package/build/server/chunks/19-rqqB4i4s.js +0 -94
- package/build/server/chunks/19-rqqB4i4s.js.map +0 -1
- package/build/server/chunks/2-BYd4MZUE.js +0 -41
- package/build/server/chunks/2-BYd4MZUE.js.map +0 -1
- package/build/server/chunks/20-DooF4BHq.js +0 -172
- package/build/server/chunks/20-DooF4BHq.js.map +0 -1
- package/build/server/chunks/21-BNS0VEZs.js +0 -78
- package/build/server/chunks/21-BNS0VEZs.js.map +0 -1
- package/build/server/chunks/22-Bweil5nd.js +0 -23
- package/build/server/chunks/22-Bweil5nd.js.map +0 -1
- package/build/server/chunks/23-CrylGvWo.js +0 -136
- package/build/server/chunks/23-CrylGvWo.js.map +0 -1
- package/build/server/chunks/24-DX03r0Ku.js +0 -144
- package/build/server/chunks/24-DX03r0Ku.js.map +0 -1
- package/build/server/chunks/25-DaOQwMkm.js +0 -51
- package/build/server/chunks/25-DaOQwMkm.js.map +0 -1
- package/build/server/chunks/26-CI8uo3hW.js +0 -9
- package/build/server/chunks/26-CI8uo3hW.js.map +0 -1
- package/build/server/chunks/27-BumS-Wey.js +0 -57
- package/build/server/chunks/27-BumS-Wey.js.map +0 -1
- package/build/server/chunks/28-Bs0ilm4z.js +0 -68
- package/build/server/chunks/28-Bs0ilm4z.js.map +0 -1
- package/build/server/chunks/29-eOSgz-Q6.js +0 -55
- package/build/server/chunks/29-eOSgz-Q6.js.map +0 -1
- package/build/server/chunks/3-C1Hnunxq.js +0 -9
- package/build/server/chunks/3-C1Hnunxq.js.map +0 -1
- package/build/server/chunks/30-B_fYQ406.js +0 -57
- package/build/server/chunks/30-B_fYQ406.js.map +0 -1
- package/build/server/chunks/31-B1XsXSZ-.js +0 -42
- package/build/server/chunks/31-B1XsXSZ-.js.map +0 -1
- package/build/server/chunks/32-Dczg8t26.js +0 -34
- package/build/server/chunks/32-Dczg8t26.js.map +0 -1
- package/build/server/chunks/4-rU40n2rV.js +0 -9
- package/build/server/chunks/4-rU40n2rV.js.map +0 -1
- package/build/server/chunks/5-Bhs6XBN_.js +0 -32
- package/build/server/chunks/5-Bhs6XBN_.js.map +0 -1
- package/build/server/chunks/6-DQiiyzxX.js +0 -40
- package/build/server/chunks/6-DQiiyzxX.js.map +0 -1
- package/build/server/chunks/7-Mh6-dFfT.js +0 -19
- package/build/server/chunks/7-Mh6-dFfT.js.map +0 -1
- package/build/server/chunks/8-tu9jPKDH.js +0 -130
- package/build/server/chunks/8-tu9jPKDH.js.map +0 -1
- package/build/server/chunks/9-Blq9VO5M.js +0 -46
- package/build/server/chunks/9-Blq9VO5M.js.map +0 -1
- package/build/server/chunks/AppHeader-BGs-cVxu.js +0 -270
- package/build/server/chunks/AppHeader-BGs-cVxu.js.map +0 -1
- package/build/server/chunks/DataTable-Calmth3f.js +0 -26
- package/build/server/chunks/DataTable-Calmth3f.js.map +0 -1
- package/build/server/chunks/DefinitionCard-p4VxRESg.js +0 -257
- package/build/server/chunks/DefinitionCard-p4VxRESg.js.map +0 -1
- package/build/server/chunks/EmptyState-Vs823elu.js +0 -53
- package/build/server/chunks/EmptyState-Vs823elu.js.map +0 -1
- package/build/server/chunks/ErrorScreen-Btv-WHiu.js +0 -131
- package/build/server/chunks/ErrorScreen-Btv-WHiu.js.map +0 -1
- package/build/server/chunks/FilterableDropdown-B2_HPO_D.js +0 -61
- package/build/server/chunks/FilterableDropdown-B2_HPO_D.js.map +0 -1
- package/build/server/chunks/SectionHeader-C1XxBz32.js +0 -32
- package/build/server/chunks/SectionHeader-C1XxBz32.js.map +0 -1
- package/build/server/chunks/SideNav-B8LeM-P_.js +0 -87
- package/build/server/chunks/SideNav-B8LeM-P_.js.map +0 -1
- package/build/server/chunks/StatCard--Plm6nsA.js +0 -50
- package/build/server/chunks/StatCard--Plm6nsA.js.map +0 -1
- package/build/server/chunks/UserAvatar-CaOe1AcR.js +0 -13
- package/build/server/chunks/UserAvatar-CaOe1AcR.js.map +0 -1
- package/build/server/chunks/UserChip-vdJXrk99.js +0 -1113
- package/build/server/chunks/UserChip-vdJXrk99.js.map +0 -1
- package/build/server/chunks/_error.svelte-Bifw6LEZ.js +0 -27
- package/build/server/chunks/_error.svelte-Bifw6LEZ.js.map +0 -1
- package/build/server/chunks/_error.svelte-C2KGldTD.js +0 -29
- package/build/server/chunks/_error.svelte-C2KGldTD.js.map +0 -1
- package/build/server/chunks/_layout.svelte-1of9r1N3.js +0 -42
- package/build/server/chunks/_layout.svelte-1of9r1N3.js.map +0 -1
- package/build/server/chunks/_layout.svelte-BvTGPzuy.js +0 -795
- package/build/server/chunks/_layout.svelte-BvTGPzuy.js.map +0 -1
- package/build/server/chunks/_layout.svelte-CGIvkx7D.js +0 -152
- package/build/server/chunks/_layout.svelte-CGIvkx7D.js.map +0 -1
- package/build/server/chunks/_layout.svelte-u5-cJLoF.js +0 -105
- package/build/server/chunks/_layout.svelte-u5-cJLoF.js.map +0 -1
- package/build/server/chunks/_page.svelte-4090fhI5.js +0 -83
- package/build/server/chunks/_page.svelte-4090fhI5.js.map +0 -1
- package/build/server/chunks/_page.svelte-BfQQ6DpG.js +0 -276
- package/build/server/chunks/_page.svelte-BfQQ6DpG.js.map +0 -1
- package/build/server/chunks/_page.svelte-Br3YjZJA.js +0 -595
- package/build/server/chunks/_page.svelte-Br3YjZJA.js.map +0 -1
- package/build/server/chunks/_page.svelte-BsU27A26.js +0 -452
- package/build/server/chunks/_page.svelte-BsU27A26.js.map +0 -1
- package/build/server/chunks/_page.svelte-BvG__sle.js +0 -119
- package/build/server/chunks/_page.svelte-BvG__sle.js.map +0 -1
- package/build/server/chunks/_page.svelte-C2Pa9XCr.js +0 -119
- package/build/server/chunks/_page.svelte-C2Pa9XCr.js.map +0 -1
- package/build/server/chunks/_page.svelte-C48Yzxtt.js +0 -330
- package/build/server/chunks/_page.svelte-C48Yzxtt.js.map +0 -1
- package/build/server/chunks/_page.svelte-C4V_xDVU.js +0 -329
- package/build/server/chunks/_page.svelte-C4V_xDVU.js.map +0 -1
- package/build/server/chunks/_page.svelte-CFbpEr-L.js +0 -249
- package/build/server/chunks/_page.svelte-CFbpEr-L.js.map +0 -1
- package/build/server/chunks/_page.svelte-CRZeKEsV.js +0 -546
- package/build/server/chunks/_page.svelte-CRZeKEsV.js.map +0 -1
- package/build/server/chunks/_page.svelte-CWJ99QbZ.js +0 -500
- package/build/server/chunks/_page.svelte-CWJ99QbZ.js.map +0 -1
- package/build/server/chunks/_page.svelte-CaOLJFdL.js +0 -711
- package/build/server/chunks/_page.svelte-CaOLJFdL.js.map +0 -1
- package/build/server/chunks/_page.svelte-Cj20v_rA.js +0 -10510
- package/build/server/chunks/_page.svelte-Cj20v_rA.js.map +0 -1
- package/build/server/chunks/_page.svelte-Cn6-gBTd.js +0 -56
- package/build/server/chunks/_page.svelte-Cn6-gBTd.js.map +0 -1
- package/build/server/chunks/_page.svelte-D2rnbrpK.js +0 -423
- package/build/server/chunks/_page.svelte-D2rnbrpK.js.map +0 -1
- package/build/server/chunks/_page.svelte-DFumYbGi.js +0 -168
- package/build/server/chunks/_page.svelte-DFumYbGi.js.map +0 -1
- package/build/server/chunks/_page.svelte-DIgP7KVt.js +0 -549
- package/build/server/chunks/_page.svelte-DIgP7KVt.js.map +0 -1
- package/build/server/chunks/_page.svelte-DMn46_VU.js +0 -301
- package/build/server/chunks/_page.svelte-DMn46_VU.js.map +0 -1
- package/build/server/chunks/_page.svelte-DQeDu6UN.js +0 -146
- package/build/server/chunks/_page.svelte-DQeDu6UN.js.map +0 -1
- package/build/server/chunks/_page.svelte-DSpONoJg.js +0 -252
- package/build/server/chunks/_page.svelte-DSpONoJg.js.map +0 -1
- package/build/server/chunks/_page.svelte-DciqGYJp.js +0 -609
- package/build/server/chunks/_page.svelte-DciqGYJp.js.map +0 -1
- package/build/server/chunks/_page.svelte-DfCFSzaO.js +0 -3847
- package/build/server/chunks/_page.svelte-DfCFSzaO.js.map +0 -1
- package/build/server/chunks/_page.svelte-DtUlWJaB.js +0 -113
- package/build/server/chunks/_page.svelte-DtUlWJaB.js.map +0 -1
- package/build/server/chunks/_page.svelte-wsvtYRRE.js +0 -69
- package/build/server/chunks/_page.svelte-wsvtYRRE.js.map +0 -1
- package/build/server/chunks/_page.svelte-zL7ihDzp.js +0 -13
- package/build/server/chunks/_page.svelte-zL7ihDzp.js.map +0 -1
- package/build/server/chunks/_server.ts-B-Q-Ll-v.js +0 -94
- package/build/server/chunks/_server.ts-B-Q-Ll-v.js.map +0 -1
- package/build/server/chunks/_server.ts-B1Y6yftf.js +0 -31
- package/build/server/chunks/_server.ts-B1Y6yftf.js.map +0 -1
- package/build/server/chunks/_server.ts-B8Klg9b0.js +0 -36
- package/build/server/chunks/_server.ts-B8Klg9b0.js.map +0 -1
- package/build/server/chunks/_server.ts-B9dyak6S.js +0 -85
- package/build/server/chunks/_server.ts-B9dyak6S.js.map +0 -1
- package/build/server/chunks/_server.ts-BJxv0nGq.js +0 -103
- package/build/server/chunks/_server.ts-BJxv0nGq.js.map +0 -1
- package/build/server/chunks/_server.ts-BNeRrZiC.js +0 -71
- package/build/server/chunks/_server.ts-BNeRrZiC.js.map +0 -1
- package/build/server/chunks/_server.ts-BOkX-0DJ.js +0 -58
- package/build/server/chunks/_server.ts-BOkX-0DJ.js.map +0 -1
- package/build/server/chunks/_server.ts-BZI6uyQW.js +0 -41
- package/build/server/chunks/_server.ts-BZI6uyQW.js.map +0 -1
- package/build/server/chunks/_server.ts-BauREevi.js +0 -38
- package/build/server/chunks/_server.ts-BauREevi.js.map +0 -1
- package/build/server/chunks/_server.ts-Bv7Vz5Xn.js +0 -39
- package/build/server/chunks/_server.ts-Bv7Vz5Xn.js.map +0 -1
- package/build/server/chunks/_server.ts-BzyWxO2V.js +0 -106
- package/build/server/chunks/_server.ts-BzyWxO2V.js.map +0 -1
- package/build/server/chunks/_server.ts-C6-TzfcL.js +0 -31
- package/build/server/chunks/_server.ts-C6-TzfcL.js.map +0 -1
- package/build/server/chunks/_server.ts-CJ3r_HVJ.js +0 -110
- package/build/server/chunks/_server.ts-CJ3r_HVJ.js.map +0 -1
- package/build/server/chunks/_server.ts-CM4bU3nb.js +0 -94
- package/build/server/chunks/_server.ts-CM4bU3nb.js.map +0 -1
- package/build/server/chunks/_server.ts-CRWYKoKH.js +0 -38
- package/build/server/chunks/_server.ts-CRWYKoKH.js.map +0 -1
- package/build/server/chunks/_server.ts-CU_uO5Be.js +0 -81
- package/build/server/chunks/_server.ts-CU_uO5Be.js.map +0 -1
- package/build/server/chunks/_server.ts-CWgMDUW5.js +0 -78
- package/build/server/chunks/_server.ts-CWgMDUW5.js.map +0 -1
- package/build/server/chunks/_server.ts-CWhAZS7d.js +0 -39
- package/build/server/chunks/_server.ts-CWhAZS7d.js.map +0 -1
- package/build/server/chunks/_server.ts-CXxbYs18.js +0 -49
- package/build/server/chunks/_server.ts-CXxbYs18.js.map +0 -1
- package/build/server/chunks/_server.ts-CYg1-gUK.js +0 -30
- package/build/server/chunks/_server.ts-CYg1-gUK.js.map +0 -1
- package/build/server/chunks/_server.ts-CasH9SwH.js +0 -37
- package/build/server/chunks/_server.ts-CasH9SwH.js.map +0 -1
- package/build/server/chunks/_server.ts-CeMGFK8t.js +0 -35
- package/build/server/chunks/_server.ts-CeMGFK8t.js.map +0 -1
- package/build/server/chunks/_server.ts-CoEHLvhd.js +0 -293
- package/build/server/chunks/_server.ts-CoEHLvhd.js.map +0 -1
- package/build/server/chunks/_server.ts-Cw0SJh0B.js +0 -86
- package/build/server/chunks/_server.ts-Cw0SJh0B.js.map +0 -1
- package/build/server/chunks/_server.ts-DA0Lq54y.js +0 -33
- package/build/server/chunks/_server.ts-DA0Lq54y.js.map +0 -1
- package/build/server/chunks/_server.ts-DEwvCClL.js +0 -75
- package/build/server/chunks/_server.ts-DEwvCClL.js.map +0 -1
- package/build/server/chunks/_server.ts-DFSeb1Vi.js +0 -408
- package/build/server/chunks/_server.ts-DFSeb1Vi.js.map +0 -1
- package/build/server/chunks/_server.ts-DHk_Z16q.js +0 -48
- package/build/server/chunks/_server.ts-DHk_Z16q.js.map +0 -1
- package/build/server/chunks/_server.ts-DMQx2USs.js +0 -37
- package/build/server/chunks/_server.ts-DMQx2USs.js.map +0 -1
- package/build/server/chunks/_server.ts-DZIvAAI3.js +0 -42
- package/build/server/chunks/_server.ts-DZIvAAI3.js.map +0 -1
- package/build/server/chunks/_server.ts-Dnhj7lwZ.js +0 -29
- package/build/server/chunks/_server.ts-Dnhj7lwZ.js.map +0 -1
- package/build/server/chunks/_server.ts-DqAlXFFH.js +0 -52
- package/build/server/chunks/_server.ts-DqAlXFFH.js.map +0 -1
- package/build/server/chunks/_server.ts-Dty-h13-.js +0 -64
- package/build/server/chunks/_server.ts-Dty-h13-.js.map +0 -1
- package/build/server/chunks/_server.ts-HHpSHV0x.js +0 -61
- package/build/server/chunks/_server.ts-HHpSHV0x.js.map +0 -1
- package/build/server/chunks/_server.ts-HrxAWCu8.js +0 -81
- package/build/server/chunks/_server.ts-HrxAWCu8.js.map +0 -1
- package/build/server/chunks/_server.ts-HtL-WwFA.js +0 -70
- package/build/server/chunks/_server.ts-HtL-WwFA.js.map +0 -1
- package/build/server/chunks/_server.ts-JUsPxh3B.js +0 -73
- package/build/server/chunks/_server.ts-JUsPxh3B.js.map +0 -1
- package/build/server/chunks/_server.ts-wKzFLxYm.js +0 -76
- package/build/server/chunks/_server.ts-wKzFLxYm.js.map +0 -1
- package/build/server/chunks/access.server-Cpz6F2ZC.js +0 -411
- package/build/server/chunks/access.server-Cpz6F2ZC.js.map +0 -1
- package/build/server/chunks/activity-5BrQjmZv.js +0 -18
- package/build/server/chunks/activity-5BrQjmZv.js.map +0 -1
- package/build/server/chunks/admin-auth.server-CdTfBMI5.js +0 -78
- package/build/server/chunks/admin-auth.server-CdTfBMI5.js.map +0 -1
- package/build/server/chunks/alert-description-CJHDA62x.js +0 -59
- package/build/server/chunks/alert-description-CJHDA62x.js.map +0 -1
- package/build/server/chunks/api-errors-CBEdAg2T.js +0 -36
- package/build/server/chunks/api-errors-CBEdAg2T.js.map +0 -1
- package/build/server/chunks/arrow-left-Bg-KTjhY.js +0 -14
- package/build/server/chunks/arrow-left-Bg-KTjhY.js.map +0 -1
- package/build/server/chunks/arrow-right-BvyjMBhI.js +0 -14
- package/build/server/chunks/arrow-right-BvyjMBhI.js.map +0 -1
- package/build/server/chunks/auth-bootstrap.server-BnBerntQ.js +0 -98
- package/build/server/chunks/auth-bootstrap.server-BnBerntQ.js.map +0 -1
- package/build/server/chunks/badge-DP8t-wkc.js +0 -50
- package/build/server/chunks/badge-DP8t-wkc.js.map +0 -1
- package/build/server/chunks/bootHealth.server-XLXnMQ_j.js +0 -58
- package/build/server/chunks/bootHealth.server-XLXnMQ_j.js.map +0 -1
- package/build/server/chunks/building-2-DzHZbdjX.js +0 -22
- package/build/server/chunks/building-2-DzHZbdjX.js.map +0 -1
- package/build/server/chunks/button-5YNnSoty.js +0 -73
- package/build/server/chunks/button-5YNnSoty.js.map +0 -1
- package/build/server/chunks/card-content-PfaaTs7O.js +0 -46
- package/build/server/chunks/card-content-PfaaTs7O.js.map +0 -1
- package/build/server/chunks/card-description-BfE_PWv4.js +0 -26
- package/build/server/chunks/card-description-BfE_PWv4.js.map +0 -1
- package/build/server/chunks/card-title-CV7CjSMp.js +0 -46
- package/build/server/chunks/card-title-CV7CjSMp.js.map +0 -1
- package/build/server/chunks/check-6xLpsphW.js +0 -11
- package/build/server/chunks/check-6xLpsphW.js.map +0 -1
- package/build/server/chunks/chevron-down-DdRkfYjQ.js +0 -11
- package/build/server/chunks/chevron-down-DdRkfYjQ.js.map +0 -1
- package/build/server/chunks/chevron-right-yB_oBTHp.js +0 -11
- package/build/server/chunks/chevron-right-yB_oBTHp.js.map +0 -1
- package/build/server/chunks/chevron-up-CskoDtlM.js +0 -11
- package/build/server/chunks/chevron-up-CskoDtlM.js.map +0 -1
- package/build/server/chunks/circle-CcD9wKGy.js +0 -11
- package/build/server/chunks/circle-CcD9wKGy.js.map +0 -1
- package/build/server/chunks/circle-alert-DKo6GQWU.js +0 -18
- package/build/server/chunks/circle-alert-DKo6GQWU.js.map +0 -1
- package/build/server/chunks/client-CUfa2kzY.js +0 -39
- package/build/server/chunks/client-CUfa2kzY.js.map +0 -1
- package/build/server/chunks/computeLimits-FIJ-Mzn4.js +0 -26
- package/build/server/chunks/computeLimits-FIJ-Mzn4.js.map +0 -1
- package/build/server/chunks/context-9tV9WxQ5.js +0 -134
- package/build/server/chunks/context-9tV9WxQ5.js.map +0 -1
- package/build/server/chunks/copy-B82RxBlo.js +0 -29
- package/build/server/chunks/copy-B82RxBlo.js.map +0 -1
- package/build/server/chunks/create-id-BYuAt6fp.js +0 -653
- package/build/server/chunks/create-id-BYuAt6fp.js.map +0 -1
- package/build/server/chunks/dialog-description-Cp1dB1if.js +0 -523
- package/build/server/chunks/dialog-description-Cp1dB1if.js.map +0 -1
- package/build/server/chunks/events-Dh5zddQQ.js +0 -119
- package/build/server/chunks/events-Dh5zddQQ.js.map +0 -1
- package/build/server/chunks/folder-kanban-srfqpNh0.js +0 -21
- package/build/server/chunks/folder-kanban-srfqpNh0.js.map +0 -1
- package/build/server/chunks/folder-open-LjMDYW2a.js +0 -18
- package/build/server/chunks/folder-open-LjMDYW2a.js.map +0 -1
- package/build/server/chunks/folders-BMeWz5-X.js +0 -24
- package/build/server/chunks/folders-BMeWz5-X.js.map +0 -1
- package/build/server/chunks/footerContext.svelte-QTotPOm_.js +0 -523
- package/build/server/chunks/footerContext.svelte-QTotPOm_.js.map +0 -1
- package/build/server/chunks/hooks.server-CWpJXpT3.js +0 -214
- package/build/server/chunks/hooks.server-CWpJXpT3.js.map +0 -1
- package/build/server/chunks/index-DwB9DMAB.js +0 -28
- package/build/server/chunks/index-DwB9DMAB.js.map +0 -1
- package/build/server/chunks/index2-olcdaqbX.js +0 -4379
- package/build/server/chunks/index2-olcdaqbX.js.map +0 -1
- package/build/server/chunks/index3-Ye-aF_FM.js +0 -541
- package/build/server/chunks/index3-Ye-aF_FM.js.map +0 -1
- package/build/server/chunks/input-BIyn3mzZ.js +0 -53
- package/build/server/chunks/input-BIyn3mzZ.js.map +0 -1
- package/build/server/chunks/label-CTvvOsnE.js +0 -112
- package/build/server/chunks/label-CTvvOsnE.js.map +0 -1
- package/build/server/chunks/link-2-DyFf_-Tu.js +0 -15
- package/build/server/chunks/link-2-DyFf_-Tu.js.map +0 -1
- package/build/server/chunks/mail-DS_q8hHt.js +0 -17
- package/build/server/chunks/mail-DS_q8hHt.js.map +0 -1
- package/build/server/chunks/noop-CzO8kTeB.js +0 -138
- package/build/server/chunks/noop-CzO8kTeB.js.map +0 -1
- package/build/server/chunks/permissions-compat.server-DSV7bClF.js +0 -19
- package/build/server/chunks/permissions-compat.server-DSV7bClF.js.map +0 -1
- package/build/server/chunks/permissions.server-zTQc77dD.js +0 -8
- package/build/server/chunks/permissions.server-zTQc77dD.js.map +0 -1
- package/build/server/chunks/plus-kUAGz2vQ.js +0 -11
- package/build/server/chunks/plus-kUAGz2vQ.js.map +0 -1
- package/build/server/chunks/providers.server-D1dTI3cw.js +0 -4510
- package/build/server/chunks/providers.server-D1dTI3cw.js.map +0 -1
- package/build/server/chunks/renderer-BFEBS3DQ.js +0 -3757
- package/build/server/chunks/renderer-BFEBS3DQ.js.map +0 -1
- package/build/server/chunks/resolve.server-DmsjqGqj.js +0 -11
- package/build/server/chunks/resolve.server-DmsjqGqj.js.map +0 -1
- package/build/server/chunks/resolve.server2-WBINVOER.js +0 -50
- package/build/server/chunks/resolve.server2-WBINVOER.js.map +0 -1
- package/build/server/chunks/root-DfWNVuNE.js +0 -1134
- package/build/server/chunks/root-DfWNVuNE.js.map +0 -1
- package/build/server/chunks/rotate-ccw-BhVSWSeP.js +0 -17
- package/build/server/chunks/rotate-ccw-BhVSWSeP.js.map +0 -1
- package/build/server/chunks/scroll-lock-BNv9iOMl.js +0 -1558
- package/build/server/chunks/scroll-lock-BNv9iOMl.js.map +0 -1
- package/build/server/chunks/scroll-text-DqHQWAWm.js +0 -21
- package/build/server/chunks/scroll-text-DqHQWAWm.js.map +0 -1
- package/build/server/chunks/server-CtTftue_.js +0 -36
- package/build/server/chunks/server-CtTftue_.js.map +0 -1
- package/build/server/chunks/settings-DUGFWkVU.js +0 -19
- package/build/server/chunks/settings-DUGFWkVU.js.map +0 -1
- package/build/server/chunks/shared-server-DaWdgxVh.js +0 -11
- package/build/server/chunks/shared-server-DaWdgxVh.js.map +0 -1
- package/build/server/chunks/shield-DcFe9IEC.js +0 -18
- package/build/server/chunks/shield-DcFe9IEC.js.map +0 -1
- package/build/server/chunks/shield-check-BpiYOxKK.js +0 -19
- package/build/server/chunks/shield-check-BpiYOxKK.js.map +0 -1
- package/build/server/chunks/star-CyFkn9su.js +0 -18
- package/build/server/chunks/star-CyFkn9su.js.map +0 -1
- package/build/server/chunks/stores-r9x46ujW.js +0 -31
- package/build/server/chunks/stores-r9x46ujW.js.map +0 -1
- package/build/server/chunks/textarea-BCZD0juO.js +0 -685
- package/build/server/chunks/textarea-BCZD0juO.js.map +0 -1
- package/build/server/chunks/toast-state.svelte-CW-nObZ9.js +0 -185
- package/build/server/chunks/toast-state.svelte-CW-nObZ9.js.map +0 -1
- package/build/server/chunks/token.server-CBtuQZt0.js +0 -25
- package/build/server/chunks/token.server-CBtuQZt0.js.map +0 -1
- package/build/server/chunks/token.server2-D0Z99lBB.js +0 -22
- package/build/server/chunks/token.server2-D0Z99lBB.js.map +0 -1
- package/build/server/chunks/trash-2-DWN_oRG7.js +0 -17
- package/build/server/chunks/trash-2-DWN_oRG7.js.map +0 -1
- package/build/server/chunks/triangle-alert-DYYSX_Mf.js +0 -444
- package/build/server/chunks/triangle-alert-DYYSX_Mf.js.map +0 -1
- package/build/server/chunks/upload-DREoObmA.js +0 -62
- package/build/server/chunks/upload-DREoObmA.js.map +0 -1
- package/build/server/chunks/user-plus-Nb35DNnT.js +0 -16
- package/build/server/chunks/user-plus-Nb35DNnT.js.map +0 -1
- package/build/server/chunks/users-DMh0XDYp.js +0 -16
- package/build/server/chunks/users-DMh0XDYp.js.map +0 -1
- package/build/server/chunks/utils2-fF4hylrs.js +0 -56
- package/build/server/chunks/utils2-fF4hylrs.js.map +0 -1
- package/build/server/chunks/utils3-AZ8FPfBW.js +0 -80
- package/build/server/chunks/utils3-AZ8FPfBW.js.map +0 -1
- package/build/server/chunks/x-wRP5erhc.js +0 -14
- package/build/server/chunks/x-wRP5erhc.js.map +0 -1
|
@@ -1,3757 +0,0 @@
|
|
|
1
|
-
import { clsx as clsx$1 } from 'clsx';
|
|
2
|
-
|
|
3
|
-
const browser = false;
|
|
4
|
-
const escaped = {
|
|
5
|
-
"<": "\\u003C",
|
|
6
|
-
"\\": "\\\\",
|
|
7
|
-
"\b": "\\b",
|
|
8
|
-
"\f": "\\f",
|
|
9
|
-
"\n": "\\n",
|
|
10
|
-
"\r": "\\r",
|
|
11
|
-
" ": "\\t",
|
|
12
|
-
"\u2028": "\\u2028",
|
|
13
|
-
"\u2029": "\\u2029"
|
|
14
|
-
};
|
|
15
|
-
class DevalueError extends Error {
|
|
16
|
-
/**
|
|
17
|
-
* @param {string} message
|
|
18
|
-
* @param {string[]} keys
|
|
19
|
-
* @param {any} [value] - The value that failed to be serialized
|
|
20
|
-
* @param {any} [root] - The root value being serialized
|
|
21
|
-
*/
|
|
22
|
-
constructor(message, keys, value, root) {
|
|
23
|
-
super(message);
|
|
24
|
-
this.name = "DevalueError";
|
|
25
|
-
this.path = keys.join("");
|
|
26
|
-
this.value = value;
|
|
27
|
-
this.root = root;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function is_primitive(thing) {
|
|
31
|
-
return thing === null || typeof thing !== "object" && typeof thing !== "function";
|
|
32
|
-
}
|
|
33
|
-
const object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(Object.prototype).sort().join("\0");
|
|
34
|
-
function is_plain_object(thing) {
|
|
35
|
-
const proto = Object.getPrototypeOf(thing);
|
|
36
|
-
return proto === Object.prototype || proto === null || Object.getPrototypeOf(proto) === null || Object.getOwnPropertyNames(proto).sort().join("\0") === object_proto_names;
|
|
37
|
-
}
|
|
38
|
-
function get_type(thing) {
|
|
39
|
-
return Object.prototype.toString.call(thing).slice(8, -1);
|
|
40
|
-
}
|
|
41
|
-
function get_escaped_char(char) {
|
|
42
|
-
switch (char) {
|
|
43
|
-
case '"':
|
|
44
|
-
return '\\"';
|
|
45
|
-
case "<":
|
|
46
|
-
return "\\u003C";
|
|
47
|
-
case "\\":
|
|
48
|
-
return "\\\\";
|
|
49
|
-
case "\n":
|
|
50
|
-
return "\\n";
|
|
51
|
-
case "\r":
|
|
52
|
-
return "\\r";
|
|
53
|
-
case " ":
|
|
54
|
-
return "\\t";
|
|
55
|
-
case "\b":
|
|
56
|
-
return "\\b";
|
|
57
|
-
case "\f":
|
|
58
|
-
return "\\f";
|
|
59
|
-
case "\u2028":
|
|
60
|
-
return "\\u2028";
|
|
61
|
-
case "\u2029":
|
|
62
|
-
return "\\u2029";
|
|
63
|
-
default:
|
|
64
|
-
return char < " " ? `\\u${char.charCodeAt(0).toString(16).padStart(4, "0")}` : "";
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
function stringify_string(str) {
|
|
68
|
-
let result = "";
|
|
69
|
-
let last_pos = 0;
|
|
70
|
-
const len = str.length;
|
|
71
|
-
for (let i = 0; i < len; i += 1) {
|
|
72
|
-
const char = str[i];
|
|
73
|
-
const replacement = get_escaped_char(char);
|
|
74
|
-
if (replacement) {
|
|
75
|
-
result += str.slice(last_pos, i) + replacement;
|
|
76
|
-
last_pos = i + 1;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
return `"${last_pos === 0 ? str : result + str.slice(last_pos)}"`;
|
|
80
|
-
}
|
|
81
|
-
function enumerable_symbols(object) {
|
|
82
|
-
return Object.getOwnPropertySymbols(object).filter(
|
|
83
|
-
(symbol) => Object.getOwnPropertyDescriptor(object, symbol).enumerable
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
const is_identifier = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/;
|
|
87
|
-
function stringify_key(key) {
|
|
88
|
-
return is_identifier.test(key) ? "." + key : "[" + JSON.stringify(key) + "]";
|
|
89
|
-
}
|
|
90
|
-
function is_valid_array_index(s) {
|
|
91
|
-
if (s.length === 0) return false;
|
|
92
|
-
if (s.length > 1 && s.charCodeAt(0) === 48) return false;
|
|
93
|
-
for (let i = 0; i < s.length; i++) {
|
|
94
|
-
const c = s.charCodeAt(i);
|
|
95
|
-
if (c < 48 || c > 57) return false;
|
|
96
|
-
}
|
|
97
|
-
const n = +s;
|
|
98
|
-
if (n >= 2 ** 32 - 1) return false;
|
|
99
|
-
if (n < 0) return false;
|
|
100
|
-
return true;
|
|
101
|
-
}
|
|
102
|
-
function valid_array_indices(array) {
|
|
103
|
-
const keys = Object.keys(array);
|
|
104
|
-
for (var i = keys.length - 1; i >= 0; i--) {
|
|
105
|
-
if (is_valid_array_index(keys[i])) {
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
keys.length = i + 1;
|
|
110
|
-
return keys;
|
|
111
|
-
}
|
|
112
|
-
const chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$";
|
|
113
|
-
const unsafe_chars = /[<\b\f\n\r\t\0\u2028\u2029]/g;
|
|
114
|
-
const reserved = /^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;
|
|
115
|
-
function uneval(value, replacer) {
|
|
116
|
-
const counts = /* @__PURE__ */ new Map();
|
|
117
|
-
const keys = [];
|
|
118
|
-
const custom = /* @__PURE__ */ new Map();
|
|
119
|
-
function walk(thing) {
|
|
120
|
-
if (!is_primitive(thing)) {
|
|
121
|
-
if (counts.has(thing)) {
|
|
122
|
-
counts.set(thing, counts.get(thing) + 1);
|
|
123
|
-
return;
|
|
124
|
-
}
|
|
125
|
-
counts.set(thing, 1);
|
|
126
|
-
if (replacer) {
|
|
127
|
-
const str2 = replacer(thing, (value2) => uneval(value2, replacer));
|
|
128
|
-
if (typeof str2 === "string") {
|
|
129
|
-
custom.set(thing, str2);
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
if (typeof thing === "function") {
|
|
134
|
-
throw new DevalueError(`Cannot stringify a function`, keys, thing, value);
|
|
135
|
-
}
|
|
136
|
-
const type = get_type(thing);
|
|
137
|
-
switch (type) {
|
|
138
|
-
case "Number":
|
|
139
|
-
case "BigInt":
|
|
140
|
-
case "String":
|
|
141
|
-
case "Boolean":
|
|
142
|
-
case "Date":
|
|
143
|
-
case "RegExp":
|
|
144
|
-
case "URL":
|
|
145
|
-
case "URLSearchParams":
|
|
146
|
-
return;
|
|
147
|
-
case "Array":
|
|
148
|
-
thing.forEach((value2, i) => {
|
|
149
|
-
keys.push(`[${i}]`);
|
|
150
|
-
walk(value2);
|
|
151
|
-
keys.pop();
|
|
152
|
-
});
|
|
153
|
-
break;
|
|
154
|
-
case "Set":
|
|
155
|
-
Array.from(thing).forEach(walk);
|
|
156
|
-
break;
|
|
157
|
-
case "Map":
|
|
158
|
-
for (const [key, value2] of thing) {
|
|
159
|
-
keys.push(`.get(${is_primitive(key) ? stringify_primitive(key) : "..."})`);
|
|
160
|
-
walk(value2);
|
|
161
|
-
keys.pop();
|
|
162
|
-
}
|
|
163
|
-
break;
|
|
164
|
-
case "Int8Array":
|
|
165
|
-
case "Uint8Array":
|
|
166
|
-
case "Uint8ClampedArray":
|
|
167
|
-
case "Int16Array":
|
|
168
|
-
case "Uint16Array":
|
|
169
|
-
case "Float16Array":
|
|
170
|
-
case "Int32Array":
|
|
171
|
-
case "Uint32Array":
|
|
172
|
-
case "Float32Array":
|
|
173
|
-
case "Float64Array":
|
|
174
|
-
case "BigInt64Array":
|
|
175
|
-
case "BigUint64Array":
|
|
176
|
-
case "DataView":
|
|
177
|
-
walk(thing.buffer);
|
|
178
|
-
return;
|
|
179
|
-
case "ArrayBuffer":
|
|
180
|
-
return;
|
|
181
|
-
case "Temporal.Duration":
|
|
182
|
-
case "Temporal.Instant":
|
|
183
|
-
case "Temporal.PlainDate":
|
|
184
|
-
case "Temporal.PlainTime":
|
|
185
|
-
case "Temporal.PlainDateTime":
|
|
186
|
-
case "Temporal.PlainMonthDay":
|
|
187
|
-
case "Temporal.PlainYearMonth":
|
|
188
|
-
case "Temporal.ZonedDateTime":
|
|
189
|
-
return;
|
|
190
|
-
default:
|
|
191
|
-
if (!is_plain_object(thing)) {
|
|
192
|
-
throw new DevalueError(`Cannot stringify arbitrary non-POJOs`, keys, thing, value);
|
|
193
|
-
}
|
|
194
|
-
if (enumerable_symbols(thing).length > 0) {
|
|
195
|
-
throw new DevalueError(`Cannot stringify POJOs with symbolic keys`, keys, thing, value);
|
|
196
|
-
}
|
|
197
|
-
for (const key of Object.keys(thing)) {
|
|
198
|
-
if (key === "__proto__") {
|
|
199
|
-
throw new DevalueError(
|
|
200
|
-
`Cannot stringify objects with __proto__ keys`,
|
|
201
|
-
keys,
|
|
202
|
-
thing,
|
|
203
|
-
value
|
|
204
|
-
);
|
|
205
|
-
}
|
|
206
|
-
keys.push(stringify_key(key));
|
|
207
|
-
walk(thing[key]);
|
|
208
|
-
keys.pop();
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
} else if (typeof thing === "symbol") {
|
|
212
|
-
throw new DevalueError(`Cannot stringify a Symbol primitive`, keys, thing, value);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
walk(value);
|
|
216
|
-
const names = /* @__PURE__ */ new Map();
|
|
217
|
-
Array.from(counts).filter((entry) => entry[1] > 1).sort((a, b) => b[1] - a[1]).forEach((entry, i) => {
|
|
218
|
-
names.set(entry[0], get_name(i));
|
|
219
|
-
});
|
|
220
|
-
function stringify(thing) {
|
|
221
|
-
if (names.has(thing)) {
|
|
222
|
-
return names.get(thing);
|
|
223
|
-
}
|
|
224
|
-
if (is_primitive(thing)) {
|
|
225
|
-
return stringify_primitive(thing);
|
|
226
|
-
}
|
|
227
|
-
if (custom.has(thing)) {
|
|
228
|
-
return custom.get(thing);
|
|
229
|
-
}
|
|
230
|
-
const type = get_type(thing);
|
|
231
|
-
switch (type) {
|
|
232
|
-
case "Number":
|
|
233
|
-
case "String":
|
|
234
|
-
case "Boolean":
|
|
235
|
-
case "BigInt":
|
|
236
|
-
return `Object(${stringify(thing.valueOf())})`;
|
|
237
|
-
case "RegExp":
|
|
238
|
-
const { source, flags } = thing;
|
|
239
|
-
return flags ? `new RegExp(${stringify_string(source)},"${flags}")` : `new RegExp(${stringify_string(source)})`;
|
|
240
|
-
case "Date":
|
|
241
|
-
return `new Date(${thing.getTime()})`;
|
|
242
|
-
case "URL":
|
|
243
|
-
return `new URL(${stringify_string(thing.toString())})`;
|
|
244
|
-
case "URLSearchParams":
|
|
245
|
-
return `new URLSearchParams(${stringify_string(thing.toString())})`;
|
|
246
|
-
case "Array": {
|
|
247
|
-
let has_holes = false;
|
|
248
|
-
let result = "[";
|
|
249
|
-
for (let i = 0; i < thing.length; i += 1) {
|
|
250
|
-
if (i > 0) result += ",";
|
|
251
|
-
if (Object.hasOwn(thing, i)) {
|
|
252
|
-
result += stringify(thing[i]);
|
|
253
|
-
} else if (!has_holes) {
|
|
254
|
-
const populated_keys = valid_array_indices(
|
|
255
|
-
/** @type {any[]} */
|
|
256
|
-
thing
|
|
257
|
-
);
|
|
258
|
-
const population = populated_keys.length;
|
|
259
|
-
const d = String(thing.length).length;
|
|
260
|
-
const hole_cost = thing.length + 2;
|
|
261
|
-
const sparse_cost = 25 + d + population * (d + 2);
|
|
262
|
-
if (hole_cost > sparse_cost) {
|
|
263
|
-
const entries = populated_keys.map((k) => `${k}:${stringify(thing[k])}`).join(",");
|
|
264
|
-
return `Object.assign(Array(${thing.length}),{${entries}})`;
|
|
265
|
-
}
|
|
266
|
-
has_holes = true;
|
|
267
|
-
i -= 1;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
const tail = thing.length === 0 || thing.length - 1 in thing ? "" : ",";
|
|
271
|
-
return result + tail + "]";
|
|
272
|
-
}
|
|
273
|
-
case "Set":
|
|
274
|
-
case "Map":
|
|
275
|
-
return `new ${type}([${Array.from(thing).map(stringify).join(",")}])`;
|
|
276
|
-
case "Int8Array":
|
|
277
|
-
case "Uint8Array":
|
|
278
|
-
case "Uint8ClampedArray":
|
|
279
|
-
case "Int16Array":
|
|
280
|
-
case "Uint16Array":
|
|
281
|
-
case "Float16Array":
|
|
282
|
-
case "Int32Array":
|
|
283
|
-
case "Uint32Array":
|
|
284
|
-
case "Float32Array":
|
|
285
|
-
case "Float64Array":
|
|
286
|
-
case "BigInt64Array":
|
|
287
|
-
case "BigUint64Array": {
|
|
288
|
-
let str2 = `new ${type}`;
|
|
289
|
-
if (!names.has(thing.buffer)) {
|
|
290
|
-
const array = new thing.constructor(thing.buffer);
|
|
291
|
-
str2 += `([${array}])`;
|
|
292
|
-
} else {
|
|
293
|
-
str2 += `(${stringify(thing.buffer)})`;
|
|
294
|
-
}
|
|
295
|
-
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
296
|
-
const start = thing.byteOffset / thing.BYTES_PER_ELEMENT;
|
|
297
|
-
const end = start + thing.length;
|
|
298
|
-
str2 += `.subarray(${start},${end})`;
|
|
299
|
-
}
|
|
300
|
-
return str2;
|
|
301
|
-
}
|
|
302
|
-
case "DataView": {
|
|
303
|
-
let str2 = `new DataView`;
|
|
304
|
-
if (!names.has(thing.buffer)) {
|
|
305
|
-
str2 += `(new Uint8Array([${new Uint8Array(thing.buffer)}]).buffer`;
|
|
306
|
-
} else {
|
|
307
|
-
str2 += `(${stringify(thing.buffer)}`;
|
|
308
|
-
}
|
|
309
|
-
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
310
|
-
str2 += `,${thing.startOffset},${thing.byteLength}`;
|
|
311
|
-
}
|
|
312
|
-
return str2 + ")";
|
|
313
|
-
}
|
|
314
|
-
case "ArrayBuffer": {
|
|
315
|
-
const ui8 = new Uint8Array(thing);
|
|
316
|
-
return `new Uint8Array([${ui8.toString()}]).buffer`;
|
|
317
|
-
}
|
|
318
|
-
case "Temporal.Duration":
|
|
319
|
-
case "Temporal.Instant":
|
|
320
|
-
case "Temporal.PlainDate":
|
|
321
|
-
case "Temporal.PlainTime":
|
|
322
|
-
case "Temporal.PlainDateTime":
|
|
323
|
-
case "Temporal.PlainMonthDay":
|
|
324
|
-
case "Temporal.PlainYearMonth":
|
|
325
|
-
case "Temporal.ZonedDateTime":
|
|
326
|
-
return `${type}.from(${stringify_string(thing.toString())})`;
|
|
327
|
-
default:
|
|
328
|
-
const keys2 = Object.keys(thing);
|
|
329
|
-
const obj = keys2.map((key) => `${safe_key(key)}:${stringify(thing[key])}`).join(",");
|
|
330
|
-
const proto = Object.getPrototypeOf(thing);
|
|
331
|
-
if (proto === null) {
|
|
332
|
-
return keys2.length > 0 ? `{${obj},__proto__:null}` : `{__proto__:null}`;
|
|
333
|
-
}
|
|
334
|
-
return `{${obj}}`;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
const str = stringify(value);
|
|
338
|
-
if (names.size) {
|
|
339
|
-
const params = [];
|
|
340
|
-
const statements = [];
|
|
341
|
-
const values = [];
|
|
342
|
-
names.forEach((name, thing) => {
|
|
343
|
-
params.push(name);
|
|
344
|
-
if (custom.has(thing)) {
|
|
345
|
-
values.push(
|
|
346
|
-
/** @type {string} */
|
|
347
|
-
custom.get(thing)
|
|
348
|
-
);
|
|
349
|
-
return;
|
|
350
|
-
}
|
|
351
|
-
if (is_primitive(thing)) {
|
|
352
|
-
values.push(stringify_primitive(thing));
|
|
353
|
-
return;
|
|
354
|
-
}
|
|
355
|
-
const type = get_type(thing);
|
|
356
|
-
switch (type) {
|
|
357
|
-
case "Number":
|
|
358
|
-
case "String":
|
|
359
|
-
case "Boolean":
|
|
360
|
-
case "BigInt":
|
|
361
|
-
values.push(`Object(${stringify(thing.valueOf())})`);
|
|
362
|
-
break;
|
|
363
|
-
case "RegExp":
|
|
364
|
-
const { source, flags } = thing;
|
|
365
|
-
const regexp = flags ? `new RegExp(${stringify_string(source)},"${flags}")` : `new RegExp(${stringify_string(source)})`;
|
|
366
|
-
values.push(regexp);
|
|
367
|
-
break;
|
|
368
|
-
case "Date":
|
|
369
|
-
values.push(`new Date(${thing.getTime()})`);
|
|
370
|
-
break;
|
|
371
|
-
case "URL":
|
|
372
|
-
values.push(`new URL(${stringify_string(thing.toString())})`);
|
|
373
|
-
break;
|
|
374
|
-
case "URLSearchParams":
|
|
375
|
-
values.push(`new URLSearchParams(${stringify_string(thing.toString())})`);
|
|
376
|
-
break;
|
|
377
|
-
case "Array":
|
|
378
|
-
values.push(`Array(${thing.length})`);
|
|
379
|
-
thing.forEach((v, i) => {
|
|
380
|
-
statements.push(`${name}[${i}]=${stringify(v)}`);
|
|
381
|
-
});
|
|
382
|
-
break;
|
|
383
|
-
case "Set":
|
|
384
|
-
values.push(`new Set`);
|
|
385
|
-
statements.push(
|
|
386
|
-
`${name}.${Array.from(thing).map((v) => `add(${stringify(v)})`).join(".")}`
|
|
387
|
-
);
|
|
388
|
-
break;
|
|
389
|
-
case "Map":
|
|
390
|
-
values.push(`new Map`);
|
|
391
|
-
statements.push(
|
|
392
|
-
`${name}.${Array.from(thing).map(([k, v]) => `set(${stringify(k)}, ${stringify(v)})`).join(".")}`
|
|
393
|
-
);
|
|
394
|
-
break;
|
|
395
|
-
case "Int8Array":
|
|
396
|
-
case "Uint8Array":
|
|
397
|
-
case "Uint8ClampedArray":
|
|
398
|
-
case "Int16Array":
|
|
399
|
-
case "Uint16Array":
|
|
400
|
-
case "Float16Array":
|
|
401
|
-
case "Int32Array":
|
|
402
|
-
case "Uint32Array":
|
|
403
|
-
case "Float32Array":
|
|
404
|
-
case "Float64Array":
|
|
405
|
-
case "BigInt64Array":
|
|
406
|
-
case "BigUint64Array": {
|
|
407
|
-
let str2 = `new ${type}`;
|
|
408
|
-
if (!names.has(thing.buffer)) {
|
|
409
|
-
const array = new thing.constructor(thing.buffer);
|
|
410
|
-
str2 += `([${array}])`;
|
|
411
|
-
} else {
|
|
412
|
-
str2 += `(${stringify(thing.buffer)})`;
|
|
413
|
-
}
|
|
414
|
-
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
415
|
-
const start = thing.byteOffset / thing.BYTES_PER_ELEMENT;
|
|
416
|
-
const end = start + thing.length;
|
|
417
|
-
str2 += `.subarray(${start},${end})`;
|
|
418
|
-
}
|
|
419
|
-
values.push(`{}`);
|
|
420
|
-
statements.push(`${name}=${str2}`);
|
|
421
|
-
break;
|
|
422
|
-
}
|
|
423
|
-
case "DataView": {
|
|
424
|
-
let str2 = `new DataView`;
|
|
425
|
-
if (!names.has(thing.buffer)) {
|
|
426
|
-
str2 += `(new Uint8Array([${new Uint8Array(thing.buffer)}]).buffer`;
|
|
427
|
-
} else {
|
|
428
|
-
str2 += `(${stringify(thing.buffer)}`;
|
|
429
|
-
}
|
|
430
|
-
if (thing.byteLength !== thing.buffer.byteLength) {
|
|
431
|
-
str2 += `,${thing.byteOffset},${thing.byteLength}`;
|
|
432
|
-
}
|
|
433
|
-
str2 += ")";
|
|
434
|
-
values.push(`{}`);
|
|
435
|
-
statements.push(`${name}=${str2}`);
|
|
436
|
-
break;
|
|
437
|
-
}
|
|
438
|
-
case "ArrayBuffer":
|
|
439
|
-
values.push(`new Uint8Array([${new Uint8Array(thing)}]).buffer`);
|
|
440
|
-
break;
|
|
441
|
-
default:
|
|
442
|
-
values.push(Object.getPrototypeOf(thing) === null ? "Object.create(null)" : "{}");
|
|
443
|
-
Object.keys(thing).forEach((key) => {
|
|
444
|
-
statements.push(`${name}${safe_prop(key)}=${stringify(thing[key])}`);
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
});
|
|
448
|
-
statements.push(`return ${str}`);
|
|
449
|
-
return `(function(${params.join(",")}){${statements.join(";")}}(${values.join(",")}))`;
|
|
450
|
-
} else {
|
|
451
|
-
return str;
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
function get_name(num) {
|
|
455
|
-
let name = "";
|
|
456
|
-
do {
|
|
457
|
-
name = chars[num % chars.length] + name;
|
|
458
|
-
num = ~~(num / chars.length) - 1;
|
|
459
|
-
} while (num >= 0);
|
|
460
|
-
return reserved.test(name) ? `${name}0` : name;
|
|
461
|
-
}
|
|
462
|
-
function escape_unsafe_char(c) {
|
|
463
|
-
return escaped[c] || c;
|
|
464
|
-
}
|
|
465
|
-
function escape_unsafe_chars(str) {
|
|
466
|
-
return str.replace(unsafe_chars, escape_unsafe_char);
|
|
467
|
-
}
|
|
468
|
-
function safe_key(key) {
|
|
469
|
-
return /^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(key) ? key : escape_unsafe_chars(JSON.stringify(key));
|
|
470
|
-
}
|
|
471
|
-
function safe_prop(key) {
|
|
472
|
-
return /^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(key) ? `.${key}` : `[${escape_unsafe_chars(JSON.stringify(key))}]`;
|
|
473
|
-
}
|
|
474
|
-
function stringify_primitive(thing) {
|
|
475
|
-
const type = typeof thing;
|
|
476
|
-
if (type === "string") return stringify_string(thing);
|
|
477
|
-
if (thing === void 0) return "void 0";
|
|
478
|
-
if (thing === 0 && 1 / thing < 0) return "-0";
|
|
479
|
-
const str = String(thing);
|
|
480
|
-
if (type === "number") return str.replace(/^(-)?0\./, "$1.");
|
|
481
|
-
if (type === "bigint") return thing + "n";
|
|
482
|
-
return str;
|
|
483
|
-
}
|
|
484
|
-
function lifecycle_outside_component(name) {
|
|
485
|
-
{
|
|
486
|
-
throw new Error(`https://svelte.dev/e/lifecycle_outside_component`);
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
function await_invalid() {
|
|
490
|
-
const error = new Error(`await_invalid
|
|
491
|
-
Encountered asynchronous work while rendering synchronously.
|
|
492
|
-
https://svelte.dev/e/await_invalid`);
|
|
493
|
-
error.name = "Svelte error";
|
|
494
|
-
throw error;
|
|
495
|
-
}
|
|
496
|
-
function dynamic_element_invalid_tag(tag) {
|
|
497
|
-
const error = new Error(`dynamic_element_invalid_tag
|
|
498
|
-
\`<svelte:element this="${tag}">\` is not a valid element name — the element will not be rendered
|
|
499
|
-
https://svelte.dev/e/dynamic_element_invalid_tag`);
|
|
500
|
-
error.name = "Svelte error";
|
|
501
|
-
throw error;
|
|
502
|
-
}
|
|
503
|
-
function invalid_csp() {
|
|
504
|
-
const error = new Error(`invalid_csp
|
|
505
|
-
\`csp.nonce\` was set while \`csp.hash\` was \`true\`. These options cannot be used simultaneously.
|
|
506
|
-
https://svelte.dev/e/invalid_csp`);
|
|
507
|
-
error.name = "Svelte error";
|
|
508
|
-
throw error;
|
|
509
|
-
}
|
|
510
|
-
function invalid_id_prefix() {
|
|
511
|
-
const error = new Error(`invalid_id_prefix
|
|
512
|
-
The \`idPrefix\` option cannot include \`--\`.
|
|
513
|
-
https://svelte.dev/e/invalid_id_prefix`);
|
|
514
|
-
error.name = "Svelte error";
|
|
515
|
-
throw error;
|
|
516
|
-
}
|
|
517
|
-
function lifecycle_function_unavailable(name) {
|
|
518
|
-
const error = new Error(`lifecycle_function_unavailable
|
|
519
|
-
\`${name}(...)\` is not available on the server
|
|
520
|
-
https://svelte.dev/e/lifecycle_function_unavailable`);
|
|
521
|
-
error.name = "Svelte error";
|
|
522
|
-
throw error;
|
|
523
|
-
}
|
|
524
|
-
function server_context_required() {
|
|
525
|
-
const error = new Error(`server_context_required
|
|
526
|
-
Could not resolve \`render\` context.
|
|
527
|
-
https://svelte.dev/e/server_context_required`);
|
|
528
|
-
error.name = "Svelte error";
|
|
529
|
-
throw error;
|
|
530
|
-
}
|
|
531
|
-
function get_render_context() {
|
|
532
|
-
const store = als?.getStore();
|
|
533
|
-
{
|
|
534
|
-
server_context_required();
|
|
535
|
-
}
|
|
536
|
-
return store;
|
|
537
|
-
}
|
|
538
|
-
let als = null;
|
|
539
|
-
|
|
540
|
-
var ssr_context = null;
|
|
541
|
-
function set_ssr_context(v) {
|
|
542
|
-
ssr_context = v;
|
|
543
|
-
}
|
|
544
|
-
function getContext(key) {
|
|
545
|
-
const context_map = get_or_init_context_map();
|
|
546
|
-
const result = (
|
|
547
|
-
/** @type {T} */
|
|
548
|
-
context_map.get(key)
|
|
549
|
-
);
|
|
550
|
-
return result;
|
|
551
|
-
}
|
|
552
|
-
function setContext(key, context) {
|
|
553
|
-
get_or_init_context_map().set(key, context);
|
|
554
|
-
return context;
|
|
555
|
-
}
|
|
556
|
-
function hasContext(key) {
|
|
557
|
-
return get_or_init_context_map().has(key);
|
|
558
|
-
}
|
|
559
|
-
function getAllContexts() {
|
|
560
|
-
return get_or_init_context_map();
|
|
561
|
-
}
|
|
562
|
-
function get_or_init_context_map(name) {
|
|
563
|
-
if (ssr_context === null) {
|
|
564
|
-
lifecycle_outside_component();
|
|
565
|
-
}
|
|
566
|
-
return ssr_context.c ??= new Map(get_parent_context(ssr_context) || void 0);
|
|
567
|
-
}
|
|
568
|
-
function push$1(fn) {
|
|
569
|
-
ssr_context = { p: ssr_context, c: null, r: null };
|
|
570
|
-
}
|
|
571
|
-
function pop$1() {
|
|
572
|
-
ssr_context = /** @type {SSRContext} */
|
|
573
|
-
ssr_context.p;
|
|
574
|
-
}
|
|
575
|
-
function get_parent_context(ssr_context2) {
|
|
576
|
-
let parent = ssr_context2.p;
|
|
577
|
-
while (parent !== null) {
|
|
578
|
-
const context_map = parent.c;
|
|
579
|
-
if (context_map !== null) {
|
|
580
|
-
return context_map;
|
|
581
|
-
}
|
|
582
|
-
parent = parent.p;
|
|
583
|
-
}
|
|
584
|
-
return null;
|
|
585
|
-
}
|
|
586
|
-
var is_array = Array.isArray;
|
|
587
|
-
var index_of = Array.prototype.indexOf;
|
|
588
|
-
var includes = Array.prototype.includes;
|
|
589
|
-
var array_from = Array.from;
|
|
590
|
-
var define_property = Object.defineProperty;
|
|
591
|
-
var get_descriptor = Object.getOwnPropertyDescriptor;
|
|
592
|
-
var object_prototype = Object.prototype;
|
|
593
|
-
var array_prototype = Array.prototype;
|
|
594
|
-
var get_prototype_of = Object.getPrototypeOf;
|
|
595
|
-
var is_extensible = Object.isExtensible;
|
|
596
|
-
var has_own_property = Object.prototype.hasOwnProperty;
|
|
597
|
-
const noop = () => {
|
|
598
|
-
};
|
|
599
|
-
function run(fn) {
|
|
600
|
-
return fn();
|
|
601
|
-
}
|
|
602
|
-
function run_all(arr) {
|
|
603
|
-
for (var i = 0; i < arr.length; i++) {
|
|
604
|
-
arr[i]();
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
function deferred() {
|
|
608
|
-
var resolve;
|
|
609
|
-
var reject;
|
|
610
|
-
var promise = new Promise((res, rej) => {
|
|
611
|
-
resolve = res;
|
|
612
|
-
reject = rej;
|
|
613
|
-
});
|
|
614
|
-
return { promise, resolve, reject };
|
|
615
|
-
}
|
|
616
|
-
const DERIVED = 1 << 1;
|
|
617
|
-
const EFFECT = 1 << 2;
|
|
618
|
-
const RENDER_EFFECT = 1 << 3;
|
|
619
|
-
const MANAGED_EFFECT = 1 << 24;
|
|
620
|
-
const BLOCK_EFFECT = 1 << 4;
|
|
621
|
-
const BRANCH_EFFECT = 1 << 5;
|
|
622
|
-
const ROOT_EFFECT = 1 << 6;
|
|
623
|
-
const BOUNDARY_EFFECT = 1 << 7;
|
|
624
|
-
const CONNECTED = 1 << 9;
|
|
625
|
-
const CLEAN = 1 << 10;
|
|
626
|
-
const DIRTY = 1 << 11;
|
|
627
|
-
const MAYBE_DIRTY = 1 << 12;
|
|
628
|
-
const INERT = 1 << 13;
|
|
629
|
-
const DESTROYED = 1 << 14;
|
|
630
|
-
const REACTION_RAN = 1 << 15;
|
|
631
|
-
const DESTROYING = 1 << 25;
|
|
632
|
-
const EFFECT_TRANSPARENT = 1 << 16;
|
|
633
|
-
const EAGER_EFFECT = 1 << 17;
|
|
634
|
-
const HEAD_EFFECT = 1 << 18;
|
|
635
|
-
const EFFECT_PRESERVED = 1 << 19;
|
|
636
|
-
const USER_EFFECT = 1 << 20;
|
|
637
|
-
const WAS_MARKED = 1 << 16;
|
|
638
|
-
const REACTION_IS_UPDATING = 1 << 21;
|
|
639
|
-
const ASYNC = 1 << 22;
|
|
640
|
-
const ERROR_VALUE = 1 << 23;
|
|
641
|
-
const STATE_SYMBOL = /* @__PURE__ */ Symbol("$state");
|
|
642
|
-
const LEGACY_PROPS = /* @__PURE__ */ Symbol("legacy props");
|
|
643
|
-
const STALE_REACTION = new class StaleReactionError extends Error {
|
|
644
|
-
name = "StaleReactionError";
|
|
645
|
-
message = "The reaction that called `getAbortSignal()` was re-run or destroyed";
|
|
646
|
-
}();
|
|
647
|
-
const COMMENT_NODE = 8;
|
|
648
|
-
let controller = null;
|
|
649
|
-
function abort() {
|
|
650
|
-
controller?.abort(STALE_REACTION);
|
|
651
|
-
controller = null;
|
|
652
|
-
}
|
|
653
|
-
let tracing_mode_flag = false;
|
|
654
|
-
const HYDRATION_START = "[";
|
|
655
|
-
const HYDRATION_START_ELSE = "[!";
|
|
656
|
-
const HYDRATION_START_FAILED = "[?";
|
|
657
|
-
const HYDRATION_END = "]";
|
|
658
|
-
const HYDRATION_ERROR = {};
|
|
659
|
-
const ELEMENT_IS_NAMESPACED = 1;
|
|
660
|
-
const ELEMENT_PRESERVE_ATTRIBUTE_CASE = 1 << 1;
|
|
661
|
-
const ELEMENT_IS_INPUT = 1 << 2;
|
|
662
|
-
const UNINITIALIZED = /* @__PURE__ */ Symbol();
|
|
663
|
-
const ATTACHMENT_KEY = "@attach";
|
|
664
|
-
function unresolved_hydratable(key, stack) {
|
|
665
|
-
{
|
|
666
|
-
console.warn(`https://svelte.dev/e/unresolved_hydratable`);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
const BLOCK_OPEN = `<!--${HYDRATION_START}-->`;
|
|
670
|
-
const BLOCK_CLOSE = `<!--${HYDRATION_END}-->`;
|
|
671
|
-
const EMPTY_COMMENT = `<!---->`;
|
|
672
|
-
const ATTR_REGEX = /[&"<]/g;
|
|
673
|
-
const CONTENT_REGEX = /[&<]/g;
|
|
674
|
-
function escape_html(value, is_attr) {
|
|
675
|
-
const str = String(value ?? "");
|
|
676
|
-
const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
|
|
677
|
-
pattern.lastIndex = 0;
|
|
678
|
-
let escaped = "";
|
|
679
|
-
let last = 0;
|
|
680
|
-
while (pattern.test(str)) {
|
|
681
|
-
const i = pattern.lastIndex - 1;
|
|
682
|
-
const ch = str[i];
|
|
683
|
-
escaped += str.substring(last, i) + (ch === "&" ? "&" : ch === '"' ? """ : "<");
|
|
684
|
-
last = i + 1;
|
|
685
|
-
}
|
|
686
|
-
return escaped + str.substring(last);
|
|
687
|
-
}
|
|
688
|
-
const replacements = {
|
|
689
|
-
translate: /* @__PURE__ */ new Map([
|
|
690
|
-
[true, "yes"],
|
|
691
|
-
[false, "no"]
|
|
692
|
-
])
|
|
693
|
-
};
|
|
694
|
-
function attr(name, value, is_boolean = false) {
|
|
695
|
-
if (name === "hidden" && value !== "until-found") {
|
|
696
|
-
is_boolean = true;
|
|
697
|
-
}
|
|
698
|
-
if (value == null || !value && is_boolean) return "";
|
|
699
|
-
const normalized = has_own_property.call(replacements, name) && replacements[name].get(value) || value;
|
|
700
|
-
const assignment = is_boolean ? `=""` : `="${escape_html(normalized, true)}"`;
|
|
701
|
-
return ` ${name}${assignment}`;
|
|
702
|
-
}
|
|
703
|
-
function clsx(value) {
|
|
704
|
-
if (typeof value === "object") {
|
|
705
|
-
return clsx$1(value);
|
|
706
|
-
} else {
|
|
707
|
-
return value ?? "";
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
const whitespace = [..." \n\r\f \v\uFEFF"];
|
|
711
|
-
function to_class(value, hash, directives) {
|
|
712
|
-
var classname = value == null ? "" : "" + value;
|
|
713
|
-
if (hash) {
|
|
714
|
-
classname = classname ? classname + " " + hash : hash;
|
|
715
|
-
}
|
|
716
|
-
if (directives) {
|
|
717
|
-
for (var key of Object.keys(directives)) {
|
|
718
|
-
if (directives[key]) {
|
|
719
|
-
classname = classname ? classname + " " + key : key;
|
|
720
|
-
} else if (classname.length) {
|
|
721
|
-
var len = key.length;
|
|
722
|
-
var a = 0;
|
|
723
|
-
while ((a = classname.indexOf(key, a)) >= 0) {
|
|
724
|
-
var b = a + len;
|
|
725
|
-
if ((a === 0 || whitespace.includes(classname[a - 1])) && (b === classname.length || whitespace.includes(classname[b]))) {
|
|
726
|
-
classname = (a === 0 ? "" : classname.substring(0, a)) + classname.substring(b + 1);
|
|
727
|
-
} else {
|
|
728
|
-
a = b;
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
return classname === "" ? null : classname;
|
|
735
|
-
}
|
|
736
|
-
function append_styles(styles, important = false) {
|
|
737
|
-
var separator = important ? " !important;" : ";";
|
|
738
|
-
var css = "";
|
|
739
|
-
for (var key of Object.keys(styles)) {
|
|
740
|
-
var value = styles[key];
|
|
741
|
-
if (value != null && value !== "") {
|
|
742
|
-
css += " " + key + ": " + value + separator;
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
return css;
|
|
746
|
-
}
|
|
747
|
-
function to_css_name(name) {
|
|
748
|
-
if (name[0] !== "-" || name[1] !== "-") {
|
|
749
|
-
return name.toLowerCase();
|
|
750
|
-
}
|
|
751
|
-
return name;
|
|
752
|
-
}
|
|
753
|
-
function to_style(value, styles) {
|
|
754
|
-
if (styles) {
|
|
755
|
-
var new_style = "";
|
|
756
|
-
var normal_styles;
|
|
757
|
-
var important_styles;
|
|
758
|
-
if (Array.isArray(styles)) {
|
|
759
|
-
normal_styles = styles[0];
|
|
760
|
-
important_styles = styles[1];
|
|
761
|
-
} else {
|
|
762
|
-
normal_styles = styles;
|
|
763
|
-
}
|
|
764
|
-
if (value) {
|
|
765
|
-
value = String(value).replaceAll(/\s*\/\*.*?\*\/\s*/g, "").trim();
|
|
766
|
-
var in_str = false;
|
|
767
|
-
var in_apo = 0;
|
|
768
|
-
var in_comment = false;
|
|
769
|
-
var reserved_names = [];
|
|
770
|
-
if (normal_styles) {
|
|
771
|
-
reserved_names.push(...Object.keys(normal_styles).map(to_css_name));
|
|
772
|
-
}
|
|
773
|
-
if (important_styles) {
|
|
774
|
-
reserved_names.push(...Object.keys(important_styles).map(to_css_name));
|
|
775
|
-
}
|
|
776
|
-
var start_index = 0;
|
|
777
|
-
var name_index = -1;
|
|
778
|
-
const len = value.length;
|
|
779
|
-
for (var i = 0; i < len; i++) {
|
|
780
|
-
var c = value[i];
|
|
781
|
-
if (in_comment) {
|
|
782
|
-
if (c === "/" && value[i - 1] === "*") {
|
|
783
|
-
in_comment = false;
|
|
784
|
-
}
|
|
785
|
-
} else if (in_str) {
|
|
786
|
-
if (in_str === c) {
|
|
787
|
-
in_str = false;
|
|
788
|
-
}
|
|
789
|
-
} else if (c === "/" && value[i + 1] === "*") {
|
|
790
|
-
in_comment = true;
|
|
791
|
-
} else if (c === '"' || c === "'") {
|
|
792
|
-
in_str = c;
|
|
793
|
-
} else if (c === "(") {
|
|
794
|
-
in_apo++;
|
|
795
|
-
} else if (c === ")") {
|
|
796
|
-
in_apo--;
|
|
797
|
-
}
|
|
798
|
-
if (!in_comment && in_str === false && in_apo === 0) {
|
|
799
|
-
if (c === ":" && name_index === -1) {
|
|
800
|
-
name_index = i;
|
|
801
|
-
} else if (c === ";" || i === len - 1) {
|
|
802
|
-
if (name_index !== -1) {
|
|
803
|
-
var name = to_css_name(value.substring(start_index, name_index).trim());
|
|
804
|
-
if (!reserved_names.includes(name)) {
|
|
805
|
-
if (c !== ";") {
|
|
806
|
-
i++;
|
|
807
|
-
}
|
|
808
|
-
var property = value.substring(start_index, i).trim();
|
|
809
|
-
new_style += " " + property + ";";
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
start_index = i + 1;
|
|
813
|
-
name_index = -1;
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
if (normal_styles) {
|
|
819
|
-
new_style += append_styles(normal_styles);
|
|
820
|
-
}
|
|
821
|
-
if (important_styles) {
|
|
822
|
-
new_style += append_styles(important_styles, true);
|
|
823
|
-
}
|
|
824
|
-
new_style = new_style.trim();
|
|
825
|
-
return new_style === "" ? null : new_style;
|
|
826
|
-
}
|
|
827
|
-
return value == null ? null : String(value);
|
|
828
|
-
}
|
|
829
|
-
function effect_update_depth_exceeded() {
|
|
830
|
-
{
|
|
831
|
-
throw new Error(`https://svelte.dev/e/effect_update_depth_exceeded`);
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
function hydration_failed() {
|
|
835
|
-
{
|
|
836
|
-
throw new Error(`https://svelte.dev/e/hydration_failed`);
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
function state_descriptors_fixed() {
|
|
840
|
-
{
|
|
841
|
-
throw new Error(`https://svelte.dev/e/state_descriptors_fixed`);
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
function state_prototype_fixed() {
|
|
845
|
-
{
|
|
846
|
-
throw new Error(`https://svelte.dev/e/state_prototype_fixed`);
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
function state_unsafe_mutation() {
|
|
850
|
-
{
|
|
851
|
-
throw new Error(`https://svelte.dev/e/state_unsafe_mutation`);
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
function svelte_boundary_reset_onerror() {
|
|
855
|
-
{
|
|
856
|
-
throw new Error(`https://svelte.dev/e/svelte_boundary_reset_onerror`);
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
function derived_inert() {
|
|
860
|
-
{
|
|
861
|
-
console.warn(`https://svelte.dev/e/derived_inert`);
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
function hydration_mismatch(location) {
|
|
865
|
-
{
|
|
866
|
-
console.warn(`https://svelte.dev/e/hydration_mismatch`);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
function svelte_boundary_reset_noop() {
|
|
870
|
-
{
|
|
871
|
-
console.warn(`https://svelte.dev/e/svelte_boundary_reset_noop`);
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
function equals(value) {
|
|
875
|
-
return value === this.v;
|
|
876
|
-
}
|
|
877
|
-
function safe_not_equal(a, b) {
|
|
878
|
-
return a != a ? b == b : a !== b || a !== null && typeof a === "object" || typeof a === "function";
|
|
879
|
-
}
|
|
880
|
-
function safe_equals(value) {
|
|
881
|
-
return !safe_not_equal(value, this.v);
|
|
882
|
-
}
|
|
883
|
-
let component_context = null;
|
|
884
|
-
function set_component_context(context) {
|
|
885
|
-
component_context = context;
|
|
886
|
-
}
|
|
887
|
-
function push(props, runes = false, fn) {
|
|
888
|
-
component_context = {
|
|
889
|
-
p: component_context,
|
|
890
|
-
i: false,
|
|
891
|
-
c: null,
|
|
892
|
-
e: null,
|
|
893
|
-
s: props,
|
|
894
|
-
x: null,
|
|
895
|
-
r: (
|
|
896
|
-
/** @type {Effect} */
|
|
897
|
-
active_effect
|
|
898
|
-
),
|
|
899
|
-
l: null
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
function pop(component) {
|
|
903
|
-
var context = (
|
|
904
|
-
/** @type {ComponentContext} */
|
|
905
|
-
component_context
|
|
906
|
-
);
|
|
907
|
-
var effects = context.e;
|
|
908
|
-
if (effects !== null) {
|
|
909
|
-
context.e = null;
|
|
910
|
-
for (var fn of effects) {
|
|
911
|
-
create_user_effect(fn);
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
context.i = true;
|
|
915
|
-
component_context = context.p;
|
|
916
|
-
return (
|
|
917
|
-
/** @type {T} */
|
|
918
|
-
{}
|
|
919
|
-
);
|
|
920
|
-
}
|
|
921
|
-
function is_runes() {
|
|
922
|
-
return true;
|
|
923
|
-
}
|
|
924
|
-
let micro_tasks = [];
|
|
925
|
-
function run_micro_tasks() {
|
|
926
|
-
var tasks = micro_tasks;
|
|
927
|
-
micro_tasks = [];
|
|
928
|
-
run_all(tasks);
|
|
929
|
-
}
|
|
930
|
-
function queue_micro_task(fn) {
|
|
931
|
-
if (micro_tasks.length === 0 && !is_flushing_sync) {
|
|
932
|
-
var tasks = micro_tasks;
|
|
933
|
-
queueMicrotask(() => {
|
|
934
|
-
if (tasks === micro_tasks) run_micro_tasks();
|
|
935
|
-
});
|
|
936
|
-
}
|
|
937
|
-
micro_tasks.push(fn);
|
|
938
|
-
}
|
|
939
|
-
function flush_tasks() {
|
|
940
|
-
while (micro_tasks.length > 0) {
|
|
941
|
-
run_micro_tasks();
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
function handle_error(error) {
|
|
945
|
-
var effect = active_effect;
|
|
946
|
-
if (effect === null) {
|
|
947
|
-
active_reaction.f |= ERROR_VALUE;
|
|
948
|
-
return error;
|
|
949
|
-
}
|
|
950
|
-
if ((effect.f & REACTION_RAN) === 0 && (effect.f & EFFECT) === 0) {
|
|
951
|
-
throw error;
|
|
952
|
-
}
|
|
953
|
-
invoke_error_boundary(error, effect);
|
|
954
|
-
}
|
|
955
|
-
function invoke_error_boundary(error, effect) {
|
|
956
|
-
while (effect !== null) {
|
|
957
|
-
if ((effect.f & BOUNDARY_EFFECT) !== 0) {
|
|
958
|
-
if ((effect.f & REACTION_RAN) === 0) {
|
|
959
|
-
throw error;
|
|
960
|
-
}
|
|
961
|
-
try {
|
|
962
|
-
effect.b.error(error);
|
|
963
|
-
return;
|
|
964
|
-
} catch (e) {
|
|
965
|
-
error = e;
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
effect = effect.parent;
|
|
969
|
-
}
|
|
970
|
-
throw error;
|
|
971
|
-
}
|
|
972
|
-
const STATUS_MASK = -7169;
|
|
973
|
-
function set_signal_status(signal, status) {
|
|
974
|
-
signal.f = signal.f & STATUS_MASK | status;
|
|
975
|
-
}
|
|
976
|
-
function update_derived_status(derived2) {
|
|
977
|
-
if ((derived2.f & CONNECTED) !== 0 || derived2.deps === null) {
|
|
978
|
-
set_signal_status(derived2, CLEAN);
|
|
979
|
-
} else {
|
|
980
|
-
set_signal_status(derived2, MAYBE_DIRTY);
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
function clear_marked(deps) {
|
|
984
|
-
if (deps === null) return;
|
|
985
|
-
for (const dep of deps) {
|
|
986
|
-
if ((dep.f & DERIVED) === 0 || (dep.f & WAS_MARKED) === 0) {
|
|
987
|
-
continue;
|
|
988
|
-
}
|
|
989
|
-
dep.f ^= WAS_MARKED;
|
|
990
|
-
clear_marked(
|
|
991
|
-
/** @type {Derived} */
|
|
992
|
-
dep.deps
|
|
993
|
-
);
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
function defer_effect(effect, dirty_effects, maybe_dirty_effects) {
|
|
997
|
-
if ((effect.f & DIRTY) !== 0) {
|
|
998
|
-
dirty_effects.add(effect);
|
|
999
|
-
} else if ((effect.f & MAYBE_DIRTY) !== 0) {
|
|
1000
|
-
maybe_dirty_effects.add(effect);
|
|
1001
|
-
}
|
|
1002
|
-
clear_marked(effect.deps);
|
|
1003
|
-
set_signal_status(effect, CLEAN);
|
|
1004
|
-
}
|
|
1005
|
-
const batches = /* @__PURE__ */ new Set();
|
|
1006
|
-
let current_batch = null;
|
|
1007
|
-
let batch_values = null;
|
|
1008
|
-
let last_scheduled_effect = null;
|
|
1009
|
-
let is_flushing_sync = false;
|
|
1010
|
-
let is_processing = false;
|
|
1011
|
-
let collected_effects = null;
|
|
1012
|
-
let legacy_updates = null;
|
|
1013
|
-
var flush_count = 0;
|
|
1014
|
-
let uid = 1;
|
|
1015
|
-
class Batch {
|
|
1016
|
-
id = uid++;
|
|
1017
|
-
/**
|
|
1018
|
-
* The current values of any signals that are updated in this batch.
|
|
1019
|
-
* Tuple format: [value, is_derived] (note: is_derived is false for deriveds, too, if they were overridden via assignment)
|
|
1020
|
-
* They keys of this map are identical to `this.#previous`
|
|
1021
|
-
* @type {Map<Value, [any, boolean]>}
|
|
1022
|
-
*/
|
|
1023
|
-
current = /* @__PURE__ */ new Map();
|
|
1024
|
-
/**
|
|
1025
|
-
* The values of any signals (sources and deriveds) that are updated in this batch _before_ those updates took place.
|
|
1026
|
-
* They keys of this map are identical to `this.#current`
|
|
1027
|
-
* @type {Map<Value, any>}
|
|
1028
|
-
*/
|
|
1029
|
-
previous = /* @__PURE__ */ new Map();
|
|
1030
|
-
/**
|
|
1031
|
-
* When the batch is committed (and the DOM is updated), we need to remove old branches
|
|
1032
|
-
* and append new ones by calling the functions added inside (if/each/key/etc) blocks
|
|
1033
|
-
* @type {Set<(batch: Batch) => void>}
|
|
1034
|
-
*/
|
|
1035
|
-
#commit_callbacks = /* @__PURE__ */ new Set();
|
|
1036
|
-
/**
|
|
1037
|
-
* If a fork is discarded, we need to destroy any effects that are no longer needed
|
|
1038
|
-
* @type {Set<(batch: Batch) => void>}
|
|
1039
|
-
*/
|
|
1040
|
-
#discard_callbacks = /* @__PURE__ */ new Set();
|
|
1041
|
-
/**
|
|
1042
|
-
* Callbacks that should run only when a fork is committed.
|
|
1043
|
-
* @type {Set<(batch: Batch) => void>}
|
|
1044
|
-
*/
|
|
1045
|
-
#fork_commit_callbacks = /* @__PURE__ */ new Set();
|
|
1046
|
-
/**
|
|
1047
|
-
* Async effects that are currently in flight
|
|
1048
|
-
* @type {Map<Effect, number>}
|
|
1049
|
-
*/
|
|
1050
|
-
#pending = /* @__PURE__ */ new Map();
|
|
1051
|
-
/**
|
|
1052
|
-
* Async effects that are currently in flight, _not_ inside a pending boundary
|
|
1053
|
-
* @type {Map<Effect, number>}
|
|
1054
|
-
*/
|
|
1055
|
-
#blocking_pending = /* @__PURE__ */ new Map();
|
|
1056
|
-
/**
|
|
1057
|
-
* A deferred that resolves when the batch is committed, used with `settled()`
|
|
1058
|
-
* TODO replace with Promise.withResolvers once supported widely enough
|
|
1059
|
-
* @type {{ promise: Promise<void>, resolve: (value?: any) => void, reject: (reason: unknown) => void } | null}
|
|
1060
|
-
*/
|
|
1061
|
-
#deferred = null;
|
|
1062
|
-
/**
|
|
1063
|
-
* The root effects that need to be flushed
|
|
1064
|
-
* @type {Effect[]}
|
|
1065
|
-
*/
|
|
1066
|
-
#roots = [];
|
|
1067
|
-
/**
|
|
1068
|
-
* Effects created while this batch was active.
|
|
1069
|
-
* @type {Effect[]}
|
|
1070
|
-
*/
|
|
1071
|
-
#new_effects = [];
|
|
1072
|
-
/**
|
|
1073
|
-
* Deferred effects (which run after async work has completed) that are DIRTY
|
|
1074
|
-
* @type {Set<Effect>}
|
|
1075
|
-
*/
|
|
1076
|
-
#dirty_effects = /* @__PURE__ */ new Set();
|
|
1077
|
-
/**
|
|
1078
|
-
* Deferred effects that are MAYBE_DIRTY
|
|
1079
|
-
* @type {Set<Effect>}
|
|
1080
|
-
*/
|
|
1081
|
-
#maybe_dirty_effects = /* @__PURE__ */ new Set();
|
|
1082
|
-
/**
|
|
1083
|
-
* A map of branches that still exist, but will be destroyed when this batch
|
|
1084
|
-
* is committed — we skip over these during `process`.
|
|
1085
|
-
* The value contains child effects that were dirty/maybe_dirty before being reset,
|
|
1086
|
-
* so they can be rescheduled if the branch survives.
|
|
1087
|
-
* @type {Map<Effect, { d: Effect[], m: Effect[] }>}
|
|
1088
|
-
*/
|
|
1089
|
-
#skipped_branches = /* @__PURE__ */ new Map();
|
|
1090
|
-
/**
|
|
1091
|
-
* Inverse of #skipped_branches which we need to tell prior batches to unskip them when committing
|
|
1092
|
-
* @type {Set<Effect>}
|
|
1093
|
-
*/
|
|
1094
|
-
#unskipped_branches = /* @__PURE__ */ new Set();
|
|
1095
|
-
is_fork = false;
|
|
1096
|
-
#decrement_queued = false;
|
|
1097
|
-
/** @type {Set<Batch>} */
|
|
1098
|
-
#blockers = /* @__PURE__ */ new Set();
|
|
1099
|
-
#is_deferred() {
|
|
1100
|
-
return this.is_fork || this.#blocking_pending.size > 0;
|
|
1101
|
-
}
|
|
1102
|
-
#is_blocked() {
|
|
1103
|
-
for (const batch of this.#blockers) {
|
|
1104
|
-
for (const effect of batch.#blocking_pending.keys()) {
|
|
1105
|
-
var skipped = false;
|
|
1106
|
-
var e = effect;
|
|
1107
|
-
while (e.parent !== null) {
|
|
1108
|
-
if (this.#skipped_branches.has(e)) {
|
|
1109
|
-
skipped = true;
|
|
1110
|
-
break;
|
|
1111
|
-
}
|
|
1112
|
-
e = e.parent;
|
|
1113
|
-
}
|
|
1114
|
-
if (!skipped) {
|
|
1115
|
-
return true;
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
}
|
|
1119
|
-
return false;
|
|
1120
|
-
}
|
|
1121
|
-
/**
|
|
1122
|
-
* Add an effect to the #skipped_branches map and reset its children
|
|
1123
|
-
* @param {Effect} effect
|
|
1124
|
-
*/
|
|
1125
|
-
skip_effect(effect) {
|
|
1126
|
-
if (!this.#skipped_branches.has(effect)) {
|
|
1127
|
-
this.#skipped_branches.set(effect, { d: [], m: [] });
|
|
1128
|
-
}
|
|
1129
|
-
this.#unskipped_branches.delete(effect);
|
|
1130
|
-
}
|
|
1131
|
-
/**
|
|
1132
|
-
* Remove an effect from the #skipped_branches map and reschedule
|
|
1133
|
-
* any tracked dirty/maybe_dirty child effects
|
|
1134
|
-
* @param {Effect} effect
|
|
1135
|
-
* @param {(e: Effect) => void} callback
|
|
1136
|
-
*/
|
|
1137
|
-
unskip_effect(effect, callback = (e) => this.schedule(e)) {
|
|
1138
|
-
var tracked = this.#skipped_branches.get(effect);
|
|
1139
|
-
if (tracked) {
|
|
1140
|
-
this.#skipped_branches.delete(effect);
|
|
1141
|
-
for (var e of tracked.d) {
|
|
1142
|
-
set_signal_status(e, DIRTY);
|
|
1143
|
-
callback(e);
|
|
1144
|
-
}
|
|
1145
|
-
for (e of tracked.m) {
|
|
1146
|
-
set_signal_status(e, MAYBE_DIRTY);
|
|
1147
|
-
callback(e);
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
this.#unskipped_branches.add(effect);
|
|
1151
|
-
}
|
|
1152
|
-
#process() {
|
|
1153
|
-
if (flush_count++ > 1e3) {
|
|
1154
|
-
batches.delete(this);
|
|
1155
|
-
infinite_loop_guard();
|
|
1156
|
-
}
|
|
1157
|
-
if (!this.#is_deferred()) {
|
|
1158
|
-
for (const e of this.#dirty_effects) {
|
|
1159
|
-
this.#maybe_dirty_effects.delete(e);
|
|
1160
|
-
set_signal_status(e, DIRTY);
|
|
1161
|
-
this.schedule(e);
|
|
1162
|
-
}
|
|
1163
|
-
for (const e of this.#maybe_dirty_effects) {
|
|
1164
|
-
set_signal_status(e, MAYBE_DIRTY);
|
|
1165
|
-
this.schedule(e);
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
const roots = this.#roots;
|
|
1169
|
-
this.#roots = [];
|
|
1170
|
-
this.apply();
|
|
1171
|
-
var effects = collected_effects = [];
|
|
1172
|
-
var render_effects = [];
|
|
1173
|
-
var updates = legacy_updates = [];
|
|
1174
|
-
for (const root of roots) {
|
|
1175
|
-
try {
|
|
1176
|
-
this.#traverse(root, effects, render_effects);
|
|
1177
|
-
} catch (e) {
|
|
1178
|
-
reset_all(root);
|
|
1179
|
-
throw e;
|
|
1180
|
-
}
|
|
1181
|
-
}
|
|
1182
|
-
current_batch = null;
|
|
1183
|
-
if (updates.length > 0) {
|
|
1184
|
-
var batch = Batch.ensure();
|
|
1185
|
-
for (const e of updates) {
|
|
1186
|
-
batch.schedule(e);
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
collected_effects = null;
|
|
1190
|
-
legacy_updates = null;
|
|
1191
|
-
if (this.#is_deferred() || this.#is_blocked()) {
|
|
1192
|
-
this.#defer_effects(render_effects);
|
|
1193
|
-
this.#defer_effects(effects);
|
|
1194
|
-
for (const [e, t] of this.#skipped_branches) {
|
|
1195
|
-
reset_branch(e, t);
|
|
1196
|
-
}
|
|
1197
|
-
} else {
|
|
1198
|
-
if (this.#pending.size === 0) {
|
|
1199
|
-
batches.delete(this);
|
|
1200
|
-
}
|
|
1201
|
-
this.#dirty_effects.clear();
|
|
1202
|
-
this.#maybe_dirty_effects.clear();
|
|
1203
|
-
for (const fn of this.#commit_callbacks) fn(this);
|
|
1204
|
-
this.#commit_callbacks.clear();
|
|
1205
|
-
flush_queued_effects(render_effects);
|
|
1206
|
-
flush_queued_effects(effects);
|
|
1207
|
-
this.#deferred?.resolve();
|
|
1208
|
-
}
|
|
1209
|
-
var next_batch = (
|
|
1210
|
-
/** @type {Batch | null} */
|
|
1211
|
-
/** @type {unknown} */
|
|
1212
|
-
current_batch
|
|
1213
|
-
);
|
|
1214
|
-
if (this.#roots.length > 0) {
|
|
1215
|
-
const batch2 = next_batch ??= this;
|
|
1216
|
-
batch2.#roots.push(...this.#roots.filter((r) => !batch2.#roots.includes(r)));
|
|
1217
|
-
}
|
|
1218
|
-
if (next_batch !== null) {
|
|
1219
|
-
batches.add(next_batch);
|
|
1220
|
-
next_batch.#process();
|
|
1221
|
-
}
|
|
1222
|
-
}
|
|
1223
|
-
/**
|
|
1224
|
-
* Traverse the effect tree, executing effects or stashing
|
|
1225
|
-
* them for later execution as appropriate
|
|
1226
|
-
* @param {Effect} root
|
|
1227
|
-
* @param {Effect[]} effects
|
|
1228
|
-
* @param {Effect[]} render_effects
|
|
1229
|
-
*/
|
|
1230
|
-
#traverse(root, effects, render_effects) {
|
|
1231
|
-
root.f ^= CLEAN;
|
|
1232
|
-
var effect = root.first;
|
|
1233
|
-
while (effect !== null) {
|
|
1234
|
-
var flags = effect.f;
|
|
1235
|
-
var is_branch = (flags & (BRANCH_EFFECT | ROOT_EFFECT)) !== 0;
|
|
1236
|
-
var is_skippable_branch = is_branch && (flags & CLEAN) !== 0;
|
|
1237
|
-
var skip = is_skippable_branch || (flags & INERT) !== 0 || this.#skipped_branches.has(effect);
|
|
1238
|
-
if (!skip && effect.fn !== null) {
|
|
1239
|
-
if (is_branch) {
|
|
1240
|
-
effect.f ^= CLEAN;
|
|
1241
|
-
} else if ((flags & EFFECT) !== 0) {
|
|
1242
|
-
effects.push(effect);
|
|
1243
|
-
} else if (is_dirty(effect)) {
|
|
1244
|
-
if ((flags & BLOCK_EFFECT) !== 0) this.#maybe_dirty_effects.add(effect);
|
|
1245
|
-
update_effect(effect);
|
|
1246
|
-
}
|
|
1247
|
-
var child = effect.first;
|
|
1248
|
-
if (child !== null) {
|
|
1249
|
-
effect = child;
|
|
1250
|
-
continue;
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
while (effect !== null) {
|
|
1254
|
-
var next = effect.next;
|
|
1255
|
-
if (next !== null) {
|
|
1256
|
-
effect = next;
|
|
1257
|
-
break;
|
|
1258
|
-
}
|
|
1259
|
-
effect = effect.parent;
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
}
|
|
1263
|
-
/**
|
|
1264
|
-
* @param {Effect[]} effects
|
|
1265
|
-
*/
|
|
1266
|
-
#defer_effects(effects) {
|
|
1267
|
-
for (var i = 0; i < effects.length; i += 1) {
|
|
1268
|
-
defer_effect(effects[i], this.#dirty_effects, this.#maybe_dirty_effects);
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
/**
|
|
1272
|
-
* Associate a change to a given source with the current
|
|
1273
|
-
* batch, noting its previous and current values
|
|
1274
|
-
* @param {Value} source
|
|
1275
|
-
* @param {any} value
|
|
1276
|
-
* @param {boolean} [is_derived]
|
|
1277
|
-
*/
|
|
1278
|
-
capture(source2, value, is_derived = false) {
|
|
1279
|
-
if (source2.v !== UNINITIALIZED && !this.previous.has(source2)) {
|
|
1280
|
-
this.previous.set(source2, source2.v);
|
|
1281
|
-
}
|
|
1282
|
-
if ((source2.f & ERROR_VALUE) === 0) {
|
|
1283
|
-
this.current.set(source2, [value, is_derived]);
|
|
1284
|
-
batch_values?.set(source2, value);
|
|
1285
|
-
}
|
|
1286
|
-
if (!this.is_fork) {
|
|
1287
|
-
source2.v = value;
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
activate() {
|
|
1291
|
-
current_batch = this;
|
|
1292
|
-
}
|
|
1293
|
-
deactivate() {
|
|
1294
|
-
current_batch = null;
|
|
1295
|
-
batch_values = null;
|
|
1296
|
-
}
|
|
1297
|
-
flush() {
|
|
1298
|
-
try {
|
|
1299
|
-
is_processing = true;
|
|
1300
|
-
current_batch = this;
|
|
1301
|
-
this.#process();
|
|
1302
|
-
} finally {
|
|
1303
|
-
flush_count = 0;
|
|
1304
|
-
last_scheduled_effect = null;
|
|
1305
|
-
collected_effects = null;
|
|
1306
|
-
legacy_updates = null;
|
|
1307
|
-
is_processing = false;
|
|
1308
|
-
current_batch = null;
|
|
1309
|
-
batch_values = null;
|
|
1310
|
-
old_values.clear();
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
discard() {
|
|
1314
|
-
for (const fn of this.#discard_callbacks) fn(this);
|
|
1315
|
-
this.#discard_callbacks.clear();
|
|
1316
|
-
this.#fork_commit_callbacks.clear();
|
|
1317
|
-
batches.delete(this);
|
|
1318
|
-
}
|
|
1319
|
-
/**
|
|
1320
|
-
* @param {Effect} effect
|
|
1321
|
-
*/
|
|
1322
|
-
register_created_effect(effect) {
|
|
1323
|
-
this.#new_effects.push(effect);
|
|
1324
|
-
}
|
|
1325
|
-
#commit() {
|
|
1326
|
-
for (const batch of batches) {
|
|
1327
|
-
var is_earlier = batch.id < this.id;
|
|
1328
|
-
var sources = [];
|
|
1329
|
-
for (const [source3, [value, is_derived]] of this.current) {
|
|
1330
|
-
if (batch.current.has(source3)) {
|
|
1331
|
-
var batch_value = (
|
|
1332
|
-
/** @type {[any, boolean]} */
|
|
1333
|
-
batch.current.get(source3)[0]
|
|
1334
|
-
);
|
|
1335
|
-
if (is_earlier && value !== batch_value) {
|
|
1336
|
-
batch.current.set(source3, [value, is_derived]);
|
|
1337
|
-
} else {
|
|
1338
|
-
continue;
|
|
1339
|
-
}
|
|
1340
|
-
}
|
|
1341
|
-
sources.push(source3);
|
|
1342
|
-
}
|
|
1343
|
-
var others = [...batch.current.keys()].filter((s) => !this.current.has(s));
|
|
1344
|
-
if (others.length === 0) {
|
|
1345
|
-
if (is_earlier) {
|
|
1346
|
-
batch.discard();
|
|
1347
|
-
}
|
|
1348
|
-
} else if (sources.length > 0) {
|
|
1349
|
-
if (is_earlier) {
|
|
1350
|
-
for (const unskipped of this.#unskipped_branches) {
|
|
1351
|
-
batch.unskip_effect(unskipped, (e) => {
|
|
1352
|
-
if ((e.f & (BLOCK_EFFECT | ASYNC)) !== 0) {
|
|
1353
|
-
batch.schedule(e);
|
|
1354
|
-
} else {
|
|
1355
|
-
batch.#defer_effects([e]);
|
|
1356
|
-
}
|
|
1357
|
-
});
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
batch.activate();
|
|
1361
|
-
var marked = /* @__PURE__ */ new Set();
|
|
1362
|
-
var checked = /* @__PURE__ */ new Map();
|
|
1363
|
-
for (var source2 of sources) {
|
|
1364
|
-
mark_effects(source2, others, marked, checked);
|
|
1365
|
-
}
|
|
1366
|
-
checked = /* @__PURE__ */ new Map();
|
|
1367
|
-
var current_unequal = [...batch.current.keys()].filter(
|
|
1368
|
-
(c) => this.current.has(c) ? (
|
|
1369
|
-
/** @type {[any, boolean]} */
|
|
1370
|
-
this.current.get(c)[0] !== c
|
|
1371
|
-
) : true
|
|
1372
|
-
);
|
|
1373
|
-
for (const effect of this.#new_effects) {
|
|
1374
|
-
if ((effect.f & (DESTROYED | INERT | EAGER_EFFECT)) === 0 && depends_on(effect, current_unequal, checked)) {
|
|
1375
|
-
if ((effect.f & (ASYNC | BLOCK_EFFECT)) !== 0) {
|
|
1376
|
-
set_signal_status(effect, DIRTY);
|
|
1377
|
-
batch.schedule(effect);
|
|
1378
|
-
} else {
|
|
1379
|
-
batch.#dirty_effects.add(effect);
|
|
1380
|
-
}
|
|
1381
|
-
}
|
|
1382
|
-
}
|
|
1383
|
-
if (batch.#roots.length > 0) {
|
|
1384
|
-
batch.apply();
|
|
1385
|
-
for (var root of batch.#roots) {
|
|
1386
|
-
batch.#traverse(root, [], []);
|
|
1387
|
-
}
|
|
1388
|
-
batch.#roots = [];
|
|
1389
|
-
}
|
|
1390
|
-
batch.deactivate();
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
for (const batch of batches) {
|
|
1394
|
-
if (batch.#blockers.has(this)) {
|
|
1395
|
-
batch.#blockers.delete(this);
|
|
1396
|
-
if (batch.#blockers.size === 0 && !batch.#is_deferred()) {
|
|
1397
|
-
batch.activate();
|
|
1398
|
-
batch.#process();
|
|
1399
|
-
}
|
|
1400
|
-
}
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
/**
|
|
1404
|
-
* @param {boolean} blocking
|
|
1405
|
-
* @param {Effect} effect
|
|
1406
|
-
*/
|
|
1407
|
-
increment(blocking, effect) {
|
|
1408
|
-
let pending_count = this.#pending.get(effect) ?? 0;
|
|
1409
|
-
this.#pending.set(effect, pending_count + 1);
|
|
1410
|
-
if (blocking) {
|
|
1411
|
-
let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
|
|
1412
|
-
this.#blocking_pending.set(effect, blocking_pending_count + 1);
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
/**
|
|
1416
|
-
* @param {boolean} blocking
|
|
1417
|
-
* @param {Effect} effect
|
|
1418
|
-
* @param {boolean} skip - whether to skip updates (because this is triggered by a stale reaction)
|
|
1419
|
-
*/
|
|
1420
|
-
decrement(blocking, effect, skip) {
|
|
1421
|
-
let pending_count = this.#pending.get(effect) ?? 0;
|
|
1422
|
-
if (pending_count === 1) {
|
|
1423
|
-
this.#pending.delete(effect);
|
|
1424
|
-
} else {
|
|
1425
|
-
this.#pending.set(effect, pending_count - 1);
|
|
1426
|
-
}
|
|
1427
|
-
if (blocking) {
|
|
1428
|
-
let blocking_pending_count = this.#blocking_pending.get(effect) ?? 0;
|
|
1429
|
-
if (blocking_pending_count === 1) {
|
|
1430
|
-
this.#blocking_pending.delete(effect);
|
|
1431
|
-
} else {
|
|
1432
|
-
this.#blocking_pending.set(effect, blocking_pending_count - 1);
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
|
-
if (this.#decrement_queued || skip) return;
|
|
1436
|
-
this.#decrement_queued = true;
|
|
1437
|
-
queue_micro_task(() => {
|
|
1438
|
-
this.#decrement_queued = false;
|
|
1439
|
-
this.flush();
|
|
1440
|
-
});
|
|
1441
|
-
}
|
|
1442
|
-
/**
|
|
1443
|
-
* @param {Set<Effect>} dirty_effects
|
|
1444
|
-
* @param {Set<Effect>} maybe_dirty_effects
|
|
1445
|
-
*/
|
|
1446
|
-
transfer_effects(dirty_effects, maybe_dirty_effects) {
|
|
1447
|
-
for (const e of dirty_effects) {
|
|
1448
|
-
this.#dirty_effects.add(e);
|
|
1449
|
-
}
|
|
1450
|
-
for (const e of maybe_dirty_effects) {
|
|
1451
|
-
this.#maybe_dirty_effects.add(e);
|
|
1452
|
-
}
|
|
1453
|
-
dirty_effects.clear();
|
|
1454
|
-
maybe_dirty_effects.clear();
|
|
1455
|
-
}
|
|
1456
|
-
/** @param {(batch: Batch) => void} fn */
|
|
1457
|
-
oncommit(fn) {
|
|
1458
|
-
this.#commit_callbacks.add(fn);
|
|
1459
|
-
}
|
|
1460
|
-
/** @param {(batch: Batch) => void} fn */
|
|
1461
|
-
ondiscard(fn) {
|
|
1462
|
-
this.#discard_callbacks.add(fn);
|
|
1463
|
-
}
|
|
1464
|
-
/** @param {(batch: Batch) => void} fn */
|
|
1465
|
-
on_fork_commit(fn) {
|
|
1466
|
-
this.#fork_commit_callbacks.add(fn);
|
|
1467
|
-
}
|
|
1468
|
-
run_fork_commit_callbacks() {
|
|
1469
|
-
for (const fn of this.#fork_commit_callbacks) fn(this);
|
|
1470
|
-
this.#fork_commit_callbacks.clear();
|
|
1471
|
-
}
|
|
1472
|
-
settled() {
|
|
1473
|
-
return (this.#deferred ??= deferred()).promise;
|
|
1474
|
-
}
|
|
1475
|
-
static ensure() {
|
|
1476
|
-
if (current_batch === null) {
|
|
1477
|
-
const batch = current_batch = new Batch();
|
|
1478
|
-
if (!is_processing) {
|
|
1479
|
-
batches.add(current_batch);
|
|
1480
|
-
if (!is_flushing_sync) {
|
|
1481
|
-
queue_micro_task(() => {
|
|
1482
|
-
if (current_batch !== batch) {
|
|
1483
|
-
return;
|
|
1484
|
-
}
|
|
1485
|
-
batch.flush();
|
|
1486
|
-
});
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
return current_batch;
|
|
1491
|
-
}
|
|
1492
|
-
apply() {
|
|
1493
|
-
{
|
|
1494
|
-
batch_values = null;
|
|
1495
|
-
return;
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
/**
|
|
1499
|
-
*
|
|
1500
|
-
* @param {Effect} effect
|
|
1501
|
-
*/
|
|
1502
|
-
schedule(effect) {
|
|
1503
|
-
last_scheduled_effect = effect;
|
|
1504
|
-
if (effect.b?.is_pending && (effect.f & (EFFECT | RENDER_EFFECT | MANAGED_EFFECT)) !== 0 && (effect.f & REACTION_RAN) === 0) {
|
|
1505
|
-
effect.b.defer_effect(effect);
|
|
1506
|
-
return;
|
|
1507
|
-
}
|
|
1508
|
-
var e = effect;
|
|
1509
|
-
while (e.parent !== null) {
|
|
1510
|
-
e = e.parent;
|
|
1511
|
-
var flags = e.f;
|
|
1512
|
-
if (collected_effects !== null && e === active_effect) {
|
|
1513
|
-
if ((active_reaction === null || (active_reaction.f & DERIVED) === 0) && true) {
|
|
1514
|
-
return;
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
if ((flags & (ROOT_EFFECT | BRANCH_EFFECT)) !== 0) {
|
|
1518
|
-
if ((flags & CLEAN) === 0) {
|
|
1519
|
-
return;
|
|
1520
|
-
}
|
|
1521
|
-
e.f ^= CLEAN;
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
this.#roots.push(e);
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
function flushSync(fn) {
|
|
1528
|
-
var was_flushing_sync = is_flushing_sync;
|
|
1529
|
-
is_flushing_sync = true;
|
|
1530
|
-
try {
|
|
1531
|
-
var result;
|
|
1532
|
-
if (fn) ;
|
|
1533
|
-
while (true) {
|
|
1534
|
-
flush_tasks();
|
|
1535
|
-
if (current_batch === null) {
|
|
1536
|
-
return (
|
|
1537
|
-
/** @type {T} */
|
|
1538
|
-
result
|
|
1539
|
-
);
|
|
1540
|
-
}
|
|
1541
|
-
current_batch.flush();
|
|
1542
|
-
}
|
|
1543
|
-
} finally {
|
|
1544
|
-
is_flushing_sync = was_flushing_sync;
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
function infinite_loop_guard() {
|
|
1548
|
-
try {
|
|
1549
|
-
effect_update_depth_exceeded();
|
|
1550
|
-
} catch (error) {
|
|
1551
|
-
invoke_error_boundary(error, last_scheduled_effect);
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
let eager_block_effects = null;
|
|
1555
|
-
function flush_queued_effects(effects) {
|
|
1556
|
-
var length = effects.length;
|
|
1557
|
-
if (length === 0) return;
|
|
1558
|
-
var i = 0;
|
|
1559
|
-
while (i < length) {
|
|
1560
|
-
var effect = effects[i++];
|
|
1561
|
-
if ((effect.f & (DESTROYED | INERT)) === 0 && is_dirty(effect)) {
|
|
1562
|
-
eager_block_effects = /* @__PURE__ */ new Set();
|
|
1563
|
-
update_effect(effect);
|
|
1564
|
-
if (effect.deps === null && effect.first === null && effect.nodes === null && effect.teardown === null && effect.ac === null) {
|
|
1565
|
-
unlink_effect(effect);
|
|
1566
|
-
}
|
|
1567
|
-
if (eager_block_effects?.size > 0) {
|
|
1568
|
-
old_values.clear();
|
|
1569
|
-
for (const e of eager_block_effects) {
|
|
1570
|
-
if ((e.f & (DESTROYED | INERT)) !== 0) continue;
|
|
1571
|
-
const ordered_effects = [e];
|
|
1572
|
-
let ancestor = e.parent;
|
|
1573
|
-
while (ancestor !== null) {
|
|
1574
|
-
if (eager_block_effects.has(ancestor)) {
|
|
1575
|
-
eager_block_effects.delete(ancestor);
|
|
1576
|
-
ordered_effects.push(ancestor);
|
|
1577
|
-
}
|
|
1578
|
-
ancestor = ancestor.parent;
|
|
1579
|
-
}
|
|
1580
|
-
for (let j = ordered_effects.length - 1; j >= 0; j--) {
|
|
1581
|
-
const e2 = ordered_effects[j];
|
|
1582
|
-
if ((e2.f & (DESTROYED | INERT)) !== 0) continue;
|
|
1583
|
-
update_effect(e2);
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
eager_block_effects.clear();
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
}
|
|
1590
|
-
eager_block_effects = null;
|
|
1591
|
-
}
|
|
1592
|
-
function mark_effects(value, sources, marked, checked) {
|
|
1593
|
-
if (marked.has(value)) return;
|
|
1594
|
-
marked.add(value);
|
|
1595
|
-
if (value.reactions !== null) {
|
|
1596
|
-
for (const reaction of value.reactions) {
|
|
1597
|
-
const flags = reaction.f;
|
|
1598
|
-
if ((flags & DERIVED) !== 0) {
|
|
1599
|
-
mark_effects(
|
|
1600
|
-
/** @type {Derived} */
|
|
1601
|
-
reaction,
|
|
1602
|
-
sources,
|
|
1603
|
-
marked,
|
|
1604
|
-
checked
|
|
1605
|
-
);
|
|
1606
|
-
} else if ((flags & (ASYNC | BLOCK_EFFECT)) !== 0 && (flags & DIRTY) === 0 && depends_on(reaction, sources, checked)) {
|
|
1607
|
-
set_signal_status(reaction, DIRTY);
|
|
1608
|
-
schedule_effect(
|
|
1609
|
-
/** @type {Effect} */
|
|
1610
|
-
reaction
|
|
1611
|
-
);
|
|
1612
|
-
}
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
}
|
|
1616
|
-
function depends_on(reaction, sources, checked) {
|
|
1617
|
-
const depends = checked.get(reaction);
|
|
1618
|
-
if (depends !== void 0) return depends;
|
|
1619
|
-
if (reaction.deps !== null) {
|
|
1620
|
-
for (const dep of reaction.deps) {
|
|
1621
|
-
if (includes.call(sources, dep)) {
|
|
1622
|
-
return true;
|
|
1623
|
-
}
|
|
1624
|
-
if ((dep.f & DERIVED) !== 0 && depends_on(
|
|
1625
|
-
/** @type {Derived} */
|
|
1626
|
-
dep,
|
|
1627
|
-
sources,
|
|
1628
|
-
checked
|
|
1629
|
-
)) {
|
|
1630
|
-
checked.set(
|
|
1631
|
-
/** @type {Derived} */
|
|
1632
|
-
dep,
|
|
1633
|
-
true
|
|
1634
|
-
);
|
|
1635
|
-
return true;
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
checked.set(reaction, false);
|
|
1640
|
-
return false;
|
|
1641
|
-
}
|
|
1642
|
-
function schedule_effect(effect) {
|
|
1643
|
-
current_batch.schedule(effect);
|
|
1644
|
-
}
|
|
1645
|
-
function reset_branch(effect, tracked) {
|
|
1646
|
-
if ((effect.f & BRANCH_EFFECT) !== 0 && (effect.f & CLEAN) !== 0) {
|
|
1647
|
-
return;
|
|
1648
|
-
}
|
|
1649
|
-
if ((effect.f & DIRTY) !== 0) {
|
|
1650
|
-
tracked.d.push(effect);
|
|
1651
|
-
} else if ((effect.f & MAYBE_DIRTY) !== 0) {
|
|
1652
|
-
tracked.m.push(effect);
|
|
1653
|
-
}
|
|
1654
|
-
set_signal_status(effect, CLEAN);
|
|
1655
|
-
var e = effect.first;
|
|
1656
|
-
while (e !== null) {
|
|
1657
|
-
reset_branch(e, tracked);
|
|
1658
|
-
e = e.next;
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
function reset_all(effect) {
|
|
1662
|
-
set_signal_status(effect, CLEAN);
|
|
1663
|
-
var e = effect.first;
|
|
1664
|
-
while (e !== null) {
|
|
1665
|
-
reset_all(e);
|
|
1666
|
-
e = e.next;
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
function destroy_derived_effects(derived2) {
|
|
1670
|
-
var effects = derived2.effects;
|
|
1671
|
-
if (effects !== null) {
|
|
1672
|
-
derived2.effects = null;
|
|
1673
|
-
for (var i = 0; i < effects.length; i += 1) {
|
|
1674
|
-
destroy_effect(
|
|
1675
|
-
/** @type {Effect} */
|
|
1676
|
-
effects[i]
|
|
1677
|
-
);
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
}
|
|
1681
|
-
function execute_derived(derived2) {
|
|
1682
|
-
var value;
|
|
1683
|
-
var prev_active_effect = active_effect;
|
|
1684
|
-
var parent = derived2.parent;
|
|
1685
|
-
if (!is_destroying_effect && parent !== null && (parent.f & (DESTROYED | INERT)) !== 0) {
|
|
1686
|
-
derived_inert();
|
|
1687
|
-
return derived2.v;
|
|
1688
|
-
}
|
|
1689
|
-
set_active_effect(parent);
|
|
1690
|
-
{
|
|
1691
|
-
try {
|
|
1692
|
-
derived2.f &= ~WAS_MARKED;
|
|
1693
|
-
destroy_derived_effects(derived2);
|
|
1694
|
-
value = update_reaction(derived2);
|
|
1695
|
-
} finally {
|
|
1696
|
-
set_active_effect(prev_active_effect);
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
return value;
|
|
1700
|
-
}
|
|
1701
|
-
function update_derived(derived2) {
|
|
1702
|
-
var value = execute_derived(derived2);
|
|
1703
|
-
if (!derived2.equals(value)) {
|
|
1704
|
-
derived2.wv = increment_write_version();
|
|
1705
|
-
if (!current_batch?.is_fork || derived2.deps === null) {
|
|
1706
|
-
if (current_batch !== null) {
|
|
1707
|
-
current_batch.capture(derived2, value, true);
|
|
1708
|
-
} else {
|
|
1709
|
-
derived2.v = value;
|
|
1710
|
-
}
|
|
1711
|
-
if (derived2.deps === null) {
|
|
1712
|
-
set_signal_status(derived2, CLEAN);
|
|
1713
|
-
return;
|
|
1714
|
-
}
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
if (is_destroying_effect) {
|
|
1718
|
-
return;
|
|
1719
|
-
}
|
|
1720
|
-
if (batch_values !== null) {
|
|
1721
|
-
if (effect_tracking() || current_batch?.is_fork) {
|
|
1722
|
-
batch_values.set(derived2, value);
|
|
1723
|
-
}
|
|
1724
|
-
} else {
|
|
1725
|
-
update_derived_status(derived2);
|
|
1726
|
-
}
|
|
1727
|
-
}
|
|
1728
|
-
function freeze_derived_effects(derived2) {
|
|
1729
|
-
if (derived2.effects === null) return;
|
|
1730
|
-
for (const e of derived2.effects) {
|
|
1731
|
-
if (e.teardown || e.ac) {
|
|
1732
|
-
e.teardown?.();
|
|
1733
|
-
e.ac?.abort(STALE_REACTION);
|
|
1734
|
-
e.teardown = noop;
|
|
1735
|
-
e.ac = null;
|
|
1736
|
-
remove_reactions(e, 0);
|
|
1737
|
-
destroy_effect_children(e);
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
function unfreeze_derived_effects(derived2) {
|
|
1742
|
-
if (derived2.effects === null) return;
|
|
1743
|
-
for (const e of derived2.effects) {
|
|
1744
|
-
if (e.teardown) {
|
|
1745
|
-
update_effect(e);
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
let eager_effects = /* @__PURE__ */ new Set();
|
|
1750
|
-
const old_values = /* @__PURE__ */ new Map();
|
|
1751
|
-
let eager_effects_deferred = false;
|
|
1752
|
-
function source(v, stack) {
|
|
1753
|
-
var signal = {
|
|
1754
|
-
f: 0,
|
|
1755
|
-
// TODO ideally we could skip this altogether, but it causes type errors
|
|
1756
|
-
v,
|
|
1757
|
-
reactions: null,
|
|
1758
|
-
equals,
|
|
1759
|
-
rv: 0,
|
|
1760
|
-
wv: 0
|
|
1761
|
-
};
|
|
1762
|
-
return signal;
|
|
1763
|
-
}
|
|
1764
|
-
// @__NO_SIDE_EFFECTS__
|
|
1765
|
-
function state(v, stack) {
|
|
1766
|
-
const s = source(v);
|
|
1767
|
-
push_reaction_value(s);
|
|
1768
|
-
return s;
|
|
1769
|
-
}
|
|
1770
|
-
// @__NO_SIDE_EFFECTS__
|
|
1771
|
-
function mutable_source(initial_value, immutable = false, trackable = true) {
|
|
1772
|
-
const s = source(initial_value);
|
|
1773
|
-
if (!immutable) {
|
|
1774
|
-
s.equals = safe_equals;
|
|
1775
|
-
}
|
|
1776
|
-
return s;
|
|
1777
|
-
}
|
|
1778
|
-
function set(source2, value, should_proxy = false) {
|
|
1779
|
-
if (active_reaction !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
|
|
1780
|
-
// to ensure we error if state is set inside an inspect effect
|
|
1781
|
-
(!untracking || (active_reaction.f & EAGER_EFFECT) !== 0) && is_runes() && (active_reaction.f & (DERIVED | BLOCK_EFFECT | ASYNC | EAGER_EFFECT)) !== 0 && (current_sources === null || !includes.call(current_sources, source2))) {
|
|
1782
|
-
state_unsafe_mutation();
|
|
1783
|
-
}
|
|
1784
|
-
let new_value = should_proxy ? proxy(value) : value;
|
|
1785
|
-
return internal_set(source2, new_value, legacy_updates);
|
|
1786
|
-
}
|
|
1787
|
-
function internal_set(source2, value, updated_during_traversal = null) {
|
|
1788
|
-
if (!source2.equals(value)) {
|
|
1789
|
-
old_values.set(source2, is_destroying_effect ? value : source2.v);
|
|
1790
|
-
var batch = Batch.ensure();
|
|
1791
|
-
batch.capture(source2, value);
|
|
1792
|
-
if ((source2.f & DERIVED) !== 0) {
|
|
1793
|
-
const derived2 = (
|
|
1794
|
-
/** @type {Derived} */
|
|
1795
|
-
source2
|
|
1796
|
-
);
|
|
1797
|
-
if ((source2.f & DIRTY) !== 0) {
|
|
1798
|
-
execute_derived(derived2);
|
|
1799
|
-
}
|
|
1800
|
-
if (batch_values === null) {
|
|
1801
|
-
update_derived_status(derived2);
|
|
1802
|
-
}
|
|
1803
|
-
}
|
|
1804
|
-
source2.wv = increment_write_version();
|
|
1805
|
-
mark_reactions(source2, DIRTY, updated_during_traversal);
|
|
1806
|
-
if (active_effect !== null && (active_effect.f & CLEAN) !== 0 && (active_effect.f & (BRANCH_EFFECT | ROOT_EFFECT)) === 0) {
|
|
1807
|
-
if (untracked_writes === null) {
|
|
1808
|
-
set_untracked_writes([source2]);
|
|
1809
|
-
} else {
|
|
1810
|
-
untracked_writes.push(source2);
|
|
1811
|
-
}
|
|
1812
|
-
}
|
|
1813
|
-
if (!batch.is_fork && eager_effects.size > 0 && !eager_effects_deferred) {
|
|
1814
|
-
flush_eager_effects();
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
return value;
|
|
1818
|
-
}
|
|
1819
|
-
function flush_eager_effects() {
|
|
1820
|
-
eager_effects_deferred = false;
|
|
1821
|
-
for (const effect of eager_effects) {
|
|
1822
|
-
if ((effect.f & CLEAN) !== 0) {
|
|
1823
|
-
set_signal_status(effect, MAYBE_DIRTY);
|
|
1824
|
-
}
|
|
1825
|
-
if (is_dirty(effect)) {
|
|
1826
|
-
update_effect(effect);
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
eager_effects.clear();
|
|
1830
|
-
}
|
|
1831
|
-
function increment(source2) {
|
|
1832
|
-
set(source2, source2.v + 1);
|
|
1833
|
-
}
|
|
1834
|
-
function mark_reactions(signal, status, updated_during_traversal) {
|
|
1835
|
-
var reactions = signal.reactions;
|
|
1836
|
-
if (reactions === null) return;
|
|
1837
|
-
var length = reactions.length;
|
|
1838
|
-
for (var i = 0; i < length; i++) {
|
|
1839
|
-
var reaction = reactions[i];
|
|
1840
|
-
var flags = reaction.f;
|
|
1841
|
-
var not_dirty = (flags & DIRTY) === 0;
|
|
1842
|
-
if (not_dirty) {
|
|
1843
|
-
set_signal_status(reaction, status);
|
|
1844
|
-
}
|
|
1845
|
-
if ((flags & DERIVED) !== 0) {
|
|
1846
|
-
var derived2 = (
|
|
1847
|
-
/** @type {Derived} */
|
|
1848
|
-
reaction
|
|
1849
|
-
);
|
|
1850
|
-
batch_values?.delete(derived2);
|
|
1851
|
-
if ((flags & WAS_MARKED) === 0) {
|
|
1852
|
-
if (flags & CONNECTED && (active_effect === null || (active_effect.f & REACTION_IS_UPDATING) === 0)) {
|
|
1853
|
-
reaction.f |= WAS_MARKED;
|
|
1854
|
-
}
|
|
1855
|
-
mark_reactions(derived2, MAYBE_DIRTY, updated_during_traversal);
|
|
1856
|
-
}
|
|
1857
|
-
} else if (not_dirty) {
|
|
1858
|
-
var effect = (
|
|
1859
|
-
/** @type {Effect} */
|
|
1860
|
-
reaction
|
|
1861
|
-
);
|
|
1862
|
-
if ((flags & BLOCK_EFFECT) !== 0 && eager_block_effects !== null) {
|
|
1863
|
-
eager_block_effects.add(effect);
|
|
1864
|
-
}
|
|
1865
|
-
if (updated_during_traversal !== null) {
|
|
1866
|
-
updated_during_traversal.push(effect);
|
|
1867
|
-
} else {
|
|
1868
|
-
schedule_effect(effect);
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
function proxy(value) {
|
|
1874
|
-
if (typeof value !== "object" || value === null || STATE_SYMBOL in value) {
|
|
1875
|
-
return value;
|
|
1876
|
-
}
|
|
1877
|
-
const prototype = get_prototype_of(value);
|
|
1878
|
-
if (prototype !== object_prototype && prototype !== array_prototype) {
|
|
1879
|
-
return value;
|
|
1880
|
-
}
|
|
1881
|
-
var sources = /* @__PURE__ */ new Map();
|
|
1882
|
-
var is_proxied_array = is_array(value);
|
|
1883
|
-
var version = /* @__PURE__ */ state(0);
|
|
1884
|
-
var parent_version = update_version;
|
|
1885
|
-
var with_parent = (fn) => {
|
|
1886
|
-
if (update_version === parent_version) {
|
|
1887
|
-
return fn();
|
|
1888
|
-
}
|
|
1889
|
-
var reaction = active_reaction;
|
|
1890
|
-
var version2 = update_version;
|
|
1891
|
-
set_active_reaction(null);
|
|
1892
|
-
set_update_version(parent_version);
|
|
1893
|
-
var result = fn();
|
|
1894
|
-
set_active_reaction(reaction);
|
|
1895
|
-
set_update_version(version2);
|
|
1896
|
-
return result;
|
|
1897
|
-
};
|
|
1898
|
-
if (is_proxied_array) {
|
|
1899
|
-
sources.set("length", /* @__PURE__ */ state(
|
|
1900
|
-
/** @type {any[]} */
|
|
1901
|
-
value.length
|
|
1902
|
-
));
|
|
1903
|
-
}
|
|
1904
|
-
return new Proxy(
|
|
1905
|
-
/** @type {any} */
|
|
1906
|
-
value,
|
|
1907
|
-
{
|
|
1908
|
-
defineProperty(_, prop, descriptor) {
|
|
1909
|
-
if (!("value" in descriptor) || descriptor.configurable === false || descriptor.enumerable === false || descriptor.writable === false) {
|
|
1910
|
-
state_descriptors_fixed();
|
|
1911
|
-
}
|
|
1912
|
-
var s = sources.get(prop);
|
|
1913
|
-
if (s === void 0) {
|
|
1914
|
-
with_parent(() => {
|
|
1915
|
-
var s2 = /* @__PURE__ */ state(descriptor.value);
|
|
1916
|
-
sources.set(prop, s2);
|
|
1917
|
-
return s2;
|
|
1918
|
-
});
|
|
1919
|
-
} else {
|
|
1920
|
-
set(s, descriptor.value, true);
|
|
1921
|
-
}
|
|
1922
|
-
return true;
|
|
1923
|
-
},
|
|
1924
|
-
deleteProperty(target, prop) {
|
|
1925
|
-
var s = sources.get(prop);
|
|
1926
|
-
if (s === void 0) {
|
|
1927
|
-
if (prop in target) {
|
|
1928
|
-
const s2 = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
|
|
1929
|
-
sources.set(prop, s2);
|
|
1930
|
-
increment(version);
|
|
1931
|
-
}
|
|
1932
|
-
} else {
|
|
1933
|
-
set(s, UNINITIALIZED);
|
|
1934
|
-
increment(version);
|
|
1935
|
-
}
|
|
1936
|
-
return true;
|
|
1937
|
-
},
|
|
1938
|
-
get(target, prop, receiver) {
|
|
1939
|
-
if (prop === STATE_SYMBOL) {
|
|
1940
|
-
return value;
|
|
1941
|
-
}
|
|
1942
|
-
var s = sources.get(prop);
|
|
1943
|
-
var exists = prop in target;
|
|
1944
|
-
if (s === void 0 && (!exists || get_descriptor(target, prop)?.writable)) {
|
|
1945
|
-
s = with_parent(() => {
|
|
1946
|
-
var p = proxy(exists ? target[prop] : UNINITIALIZED);
|
|
1947
|
-
var s2 = /* @__PURE__ */ state(p);
|
|
1948
|
-
return s2;
|
|
1949
|
-
});
|
|
1950
|
-
sources.set(prop, s);
|
|
1951
|
-
}
|
|
1952
|
-
if (s !== void 0) {
|
|
1953
|
-
var v = get(s);
|
|
1954
|
-
return v === UNINITIALIZED ? void 0 : v;
|
|
1955
|
-
}
|
|
1956
|
-
return Reflect.get(target, prop, receiver);
|
|
1957
|
-
},
|
|
1958
|
-
getOwnPropertyDescriptor(target, prop) {
|
|
1959
|
-
var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
|
|
1960
|
-
if (descriptor && "value" in descriptor) {
|
|
1961
|
-
var s = sources.get(prop);
|
|
1962
|
-
if (s) descriptor.value = get(s);
|
|
1963
|
-
} else if (descriptor === void 0) {
|
|
1964
|
-
var source2 = sources.get(prop);
|
|
1965
|
-
var value2 = source2?.v;
|
|
1966
|
-
if (source2 !== void 0 && value2 !== UNINITIALIZED) {
|
|
1967
|
-
return {
|
|
1968
|
-
enumerable: true,
|
|
1969
|
-
configurable: true,
|
|
1970
|
-
value: value2,
|
|
1971
|
-
writable: true
|
|
1972
|
-
};
|
|
1973
|
-
}
|
|
1974
|
-
}
|
|
1975
|
-
return descriptor;
|
|
1976
|
-
},
|
|
1977
|
-
has(target, prop) {
|
|
1978
|
-
if (prop === STATE_SYMBOL) {
|
|
1979
|
-
return true;
|
|
1980
|
-
}
|
|
1981
|
-
var s = sources.get(prop);
|
|
1982
|
-
var has = s !== void 0 && s.v !== UNINITIALIZED || Reflect.has(target, prop);
|
|
1983
|
-
if (s !== void 0 || active_effect !== null && (!has || get_descriptor(target, prop)?.writable)) {
|
|
1984
|
-
if (s === void 0) {
|
|
1985
|
-
s = with_parent(() => {
|
|
1986
|
-
var p = has ? proxy(target[prop]) : UNINITIALIZED;
|
|
1987
|
-
var s2 = /* @__PURE__ */ state(p);
|
|
1988
|
-
return s2;
|
|
1989
|
-
});
|
|
1990
|
-
sources.set(prop, s);
|
|
1991
|
-
}
|
|
1992
|
-
var value2 = get(s);
|
|
1993
|
-
if (value2 === UNINITIALIZED) {
|
|
1994
|
-
return false;
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
|
-
return has;
|
|
1998
|
-
},
|
|
1999
|
-
set(target, prop, value2, receiver) {
|
|
2000
|
-
var s = sources.get(prop);
|
|
2001
|
-
var has = prop in target;
|
|
2002
|
-
if (is_proxied_array && prop === "length") {
|
|
2003
|
-
for (var i = value2; i < /** @type {Source<number>} */
|
|
2004
|
-
s.v; i += 1) {
|
|
2005
|
-
var other_s = sources.get(i + "");
|
|
2006
|
-
if (other_s !== void 0) {
|
|
2007
|
-
set(other_s, UNINITIALIZED);
|
|
2008
|
-
} else if (i in target) {
|
|
2009
|
-
other_s = with_parent(() => /* @__PURE__ */ state(UNINITIALIZED));
|
|
2010
|
-
sources.set(i + "", other_s);
|
|
2011
|
-
}
|
|
2012
|
-
}
|
|
2013
|
-
}
|
|
2014
|
-
if (s === void 0) {
|
|
2015
|
-
if (!has || get_descriptor(target, prop)?.writable) {
|
|
2016
|
-
s = with_parent(() => /* @__PURE__ */ state(void 0));
|
|
2017
|
-
set(s, proxy(value2));
|
|
2018
|
-
sources.set(prop, s);
|
|
2019
|
-
}
|
|
2020
|
-
} else {
|
|
2021
|
-
has = s.v !== UNINITIALIZED;
|
|
2022
|
-
var p = with_parent(() => proxy(value2));
|
|
2023
|
-
set(s, p);
|
|
2024
|
-
}
|
|
2025
|
-
var descriptor = Reflect.getOwnPropertyDescriptor(target, prop);
|
|
2026
|
-
if (descriptor?.set) {
|
|
2027
|
-
descriptor.set.call(receiver, value2);
|
|
2028
|
-
}
|
|
2029
|
-
if (!has) {
|
|
2030
|
-
if (is_proxied_array && typeof prop === "string") {
|
|
2031
|
-
var ls = (
|
|
2032
|
-
/** @type {Source<number>} */
|
|
2033
|
-
sources.get("length")
|
|
2034
|
-
);
|
|
2035
|
-
var n = Number(prop);
|
|
2036
|
-
if (Number.isInteger(n) && n >= ls.v) {
|
|
2037
|
-
set(ls, n + 1);
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
increment(version);
|
|
2041
|
-
}
|
|
2042
|
-
return true;
|
|
2043
|
-
},
|
|
2044
|
-
ownKeys(target) {
|
|
2045
|
-
get(version);
|
|
2046
|
-
var own_keys = Reflect.ownKeys(target).filter((key2) => {
|
|
2047
|
-
var source3 = sources.get(key2);
|
|
2048
|
-
return source3 === void 0 || source3.v !== UNINITIALIZED;
|
|
2049
|
-
});
|
|
2050
|
-
for (var [key, source2] of sources) {
|
|
2051
|
-
if (source2.v !== UNINITIALIZED && !(key in target)) {
|
|
2052
|
-
own_keys.push(key);
|
|
2053
|
-
}
|
|
2054
|
-
}
|
|
2055
|
-
return own_keys;
|
|
2056
|
-
},
|
|
2057
|
-
setPrototypeOf() {
|
|
2058
|
-
state_prototype_fixed();
|
|
2059
|
-
}
|
|
2060
|
-
}
|
|
2061
|
-
);
|
|
2062
|
-
}
|
|
2063
|
-
var $window;
|
|
2064
|
-
var first_child_getter;
|
|
2065
|
-
var next_sibling_getter;
|
|
2066
|
-
function init_operations() {
|
|
2067
|
-
if ($window !== void 0) {
|
|
2068
|
-
return;
|
|
2069
|
-
}
|
|
2070
|
-
$window = window;
|
|
2071
|
-
var element_prototype = Element.prototype;
|
|
2072
|
-
var node_prototype = Node.prototype;
|
|
2073
|
-
var text_prototype = Text.prototype;
|
|
2074
|
-
first_child_getter = get_descriptor(node_prototype, "firstChild").get;
|
|
2075
|
-
next_sibling_getter = get_descriptor(node_prototype, "nextSibling").get;
|
|
2076
|
-
if (is_extensible(element_prototype)) {
|
|
2077
|
-
element_prototype.__click = void 0;
|
|
2078
|
-
element_prototype.__className = void 0;
|
|
2079
|
-
element_prototype.__attributes = null;
|
|
2080
|
-
element_prototype.__style = void 0;
|
|
2081
|
-
element_prototype.__e = void 0;
|
|
2082
|
-
}
|
|
2083
|
-
if (is_extensible(text_prototype)) {
|
|
2084
|
-
text_prototype.__t = void 0;
|
|
2085
|
-
}
|
|
2086
|
-
}
|
|
2087
|
-
function create_text(value = "") {
|
|
2088
|
-
return document.createTextNode(value);
|
|
2089
|
-
}
|
|
2090
|
-
// @__NO_SIDE_EFFECTS__
|
|
2091
|
-
function get_first_child(node) {
|
|
2092
|
-
return (
|
|
2093
|
-
/** @type {TemplateNode | null} */
|
|
2094
|
-
first_child_getter.call(node)
|
|
2095
|
-
);
|
|
2096
|
-
}
|
|
2097
|
-
// @__NO_SIDE_EFFECTS__
|
|
2098
|
-
function get_next_sibling(node) {
|
|
2099
|
-
return (
|
|
2100
|
-
/** @type {TemplateNode | null} */
|
|
2101
|
-
next_sibling_getter.call(node)
|
|
2102
|
-
);
|
|
2103
|
-
}
|
|
2104
|
-
function clear_text_content(node) {
|
|
2105
|
-
node.textContent = "";
|
|
2106
|
-
}
|
|
2107
|
-
function without_reactive_context(fn) {
|
|
2108
|
-
var previous_reaction = active_reaction;
|
|
2109
|
-
var previous_effect = active_effect;
|
|
2110
|
-
set_active_reaction(null);
|
|
2111
|
-
set_active_effect(null);
|
|
2112
|
-
try {
|
|
2113
|
-
return fn();
|
|
2114
|
-
} finally {
|
|
2115
|
-
set_active_reaction(previous_reaction);
|
|
2116
|
-
set_active_effect(previous_effect);
|
|
2117
|
-
}
|
|
2118
|
-
}
|
|
2119
|
-
function push_effect(effect, parent_effect) {
|
|
2120
|
-
var parent_last = parent_effect.last;
|
|
2121
|
-
if (parent_last === null) {
|
|
2122
|
-
parent_effect.last = parent_effect.first = effect;
|
|
2123
|
-
} else {
|
|
2124
|
-
parent_last.next = effect;
|
|
2125
|
-
effect.prev = parent_last;
|
|
2126
|
-
parent_effect.last = effect;
|
|
2127
|
-
}
|
|
2128
|
-
}
|
|
2129
|
-
function create_effect(type, fn) {
|
|
2130
|
-
var parent = active_effect;
|
|
2131
|
-
if (parent !== null && (parent.f & INERT) !== 0) {
|
|
2132
|
-
type |= INERT;
|
|
2133
|
-
}
|
|
2134
|
-
var effect = {
|
|
2135
|
-
ctx: component_context,
|
|
2136
|
-
deps: null,
|
|
2137
|
-
nodes: null,
|
|
2138
|
-
f: type | DIRTY | CONNECTED,
|
|
2139
|
-
first: null,
|
|
2140
|
-
fn,
|
|
2141
|
-
last: null,
|
|
2142
|
-
next: null,
|
|
2143
|
-
parent,
|
|
2144
|
-
b: parent && parent.b,
|
|
2145
|
-
prev: null,
|
|
2146
|
-
teardown: null,
|
|
2147
|
-
wv: 0,
|
|
2148
|
-
ac: null
|
|
2149
|
-
};
|
|
2150
|
-
current_batch?.register_created_effect(effect);
|
|
2151
|
-
var e = effect;
|
|
2152
|
-
if ((type & EFFECT) !== 0) {
|
|
2153
|
-
if (collected_effects !== null) {
|
|
2154
|
-
collected_effects.push(effect);
|
|
2155
|
-
} else {
|
|
2156
|
-
Batch.ensure().schedule(effect);
|
|
2157
|
-
}
|
|
2158
|
-
} else if (fn !== null) {
|
|
2159
|
-
try {
|
|
2160
|
-
update_effect(effect);
|
|
2161
|
-
} catch (e2) {
|
|
2162
|
-
destroy_effect(effect);
|
|
2163
|
-
throw e2;
|
|
2164
|
-
}
|
|
2165
|
-
if (e.deps === null && e.teardown === null && e.nodes === null && e.first === e.last && // either `null`, or a singular child
|
|
2166
|
-
(e.f & EFFECT_PRESERVED) === 0) {
|
|
2167
|
-
e = e.first;
|
|
2168
|
-
if ((type & BLOCK_EFFECT) !== 0 && (type & EFFECT_TRANSPARENT) !== 0 && e !== null) {
|
|
2169
|
-
e.f |= EFFECT_TRANSPARENT;
|
|
2170
|
-
}
|
|
2171
|
-
}
|
|
2172
|
-
}
|
|
2173
|
-
if (e !== null) {
|
|
2174
|
-
e.parent = parent;
|
|
2175
|
-
if (parent !== null) {
|
|
2176
|
-
push_effect(e, parent);
|
|
2177
|
-
}
|
|
2178
|
-
if (active_reaction !== null && (active_reaction.f & DERIVED) !== 0 && (type & ROOT_EFFECT) === 0) {
|
|
2179
|
-
var derived2 = (
|
|
2180
|
-
/** @type {Derived} */
|
|
2181
|
-
active_reaction
|
|
2182
|
-
);
|
|
2183
|
-
(derived2.effects ??= []).push(e);
|
|
2184
|
-
}
|
|
2185
|
-
}
|
|
2186
|
-
return effect;
|
|
2187
|
-
}
|
|
2188
|
-
function effect_tracking() {
|
|
2189
|
-
return active_reaction !== null && !untracking;
|
|
2190
|
-
}
|
|
2191
|
-
function create_user_effect(fn) {
|
|
2192
|
-
return create_effect(EFFECT | USER_EFFECT, fn);
|
|
2193
|
-
}
|
|
2194
|
-
function component_root(fn) {
|
|
2195
|
-
Batch.ensure();
|
|
2196
|
-
const effect = create_effect(ROOT_EFFECT | EFFECT_PRESERVED, fn);
|
|
2197
|
-
return (options = {}) => {
|
|
2198
|
-
return new Promise((fulfil) => {
|
|
2199
|
-
if (options.outro) {
|
|
2200
|
-
pause_effect(effect, () => {
|
|
2201
|
-
destroy_effect(effect);
|
|
2202
|
-
fulfil(void 0);
|
|
2203
|
-
});
|
|
2204
|
-
} else {
|
|
2205
|
-
destroy_effect(effect);
|
|
2206
|
-
fulfil(void 0);
|
|
2207
|
-
}
|
|
2208
|
-
});
|
|
2209
|
-
};
|
|
2210
|
-
}
|
|
2211
|
-
function render_effect(fn, flags = 0) {
|
|
2212
|
-
return create_effect(RENDER_EFFECT | flags, fn);
|
|
2213
|
-
}
|
|
2214
|
-
function block(fn, flags = 0) {
|
|
2215
|
-
var effect = create_effect(BLOCK_EFFECT | flags, fn);
|
|
2216
|
-
return effect;
|
|
2217
|
-
}
|
|
2218
|
-
function branch(fn) {
|
|
2219
|
-
return create_effect(BRANCH_EFFECT | EFFECT_PRESERVED, fn);
|
|
2220
|
-
}
|
|
2221
|
-
function execute_effect_teardown(effect) {
|
|
2222
|
-
var teardown = effect.teardown;
|
|
2223
|
-
if (teardown !== null) {
|
|
2224
|
-
const previously_destroying_effect = is_destroying_effect;
|
|
2225
|
-
const previous_reaction = active_reaction;
|
|
2226
|
-
set_is_destroying_effect(true);
|
|
2227
|
-
set_active_reaction(null);
|
|
2228
|
-
try {
|
|
2229
|
-
teardown.call(null);
|
|
2230
|
-
} finally {
|
|
2231
|
-
set_is_destroying_effect(previously_destroying_effect);
|
|
2232
|
-
set_active_reaction(previous_reaction);
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
function destroy_effect_children(signal, remove_dom = false) {
|
|
2237
|
-
var effect = signal.first;
|
|
2238
|
-
signal.first = signal.last = null;
|
|
2239
|
-
while (effect !== null) {
|
|
2240
|
-
const controller2 = effect.ac;
|
|
2241
|
-
if (controller2 !== null) {
|
|
2242
|
-
without_reactive_context(() => {
|
|
2243
|
-
controller2.abort(STALE_REACTION);
|
|
2244
|
-
});
|
|
2245
|
-
}
|
|
2246
|
-
var next = effect.next;
|
|
2247
|
-
if ((effect.f & ROOT_EFFECT) !== 0) {
|
|
2248
|
-
effect.parent = null;
|
|
2249
|
-
} else {
|
|
2250
|
-
destroy_effect(effect, remove_dom);
|
|
2251
|
-
}
|
|
2252
|
-
effect = next;
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
function destroy_block_effect_children(signal) {
|
|
2256
|
-
var effect = signal.first;
|
|
2257
|
-
while (effect !== null) {
|
|
2258
|
-
var next = effect.next;
|
|
2259
|
-
if ((effect.f & BRANCH_EFFECT) === 0) {
|
|
2260
|
-
destroy_effect(effect);
|
|
2261
|
-
}
|
|
2262
|
-
effect = next;
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
function destroy_effect(effect, remove_dom = true) {
|
|
2266
|
-
var removed = false;
|
|
2267
|
-
if ((remove_dom || (effect.f & HEAD_EFFECT) !== 0) && effect.nodes !== null && effect.nodes.end !== null) {
|
|
2268
|
-
remove_effect_dom(
|
|
2269
|
-
effect.nodes.start,
|
|
2270
|
-
/** @type {TemplateNode} */
|
|
2271
|
-
effect.nodes.end
|
|
2272
|
-
);
|
|
2273
|
-
removed = true;
|
|
2274
|
-
}
|
|
2275
|
-
set_signal_status(effect, DESTROYING);
|
|
2276
|
-
destroy_effect_children(effect, remove_dom && !removed);
|
|
2277
|
-
remove_reactions(effect, 0);
|
|
2278
|
-
var transitions = effect.nodes && effect.nodes.t;
|
|
2279
|
-
if (transitions !== null) {
|
|
2280
|
-
for (const transition of transitions) {
|
|
2281
|
-
transition.stop();
|
|
2282
|
-
}
|
|
2283
|
-
}
|
|
2284
|
-
execute_effect_teardown(effect);
|
|
2285
|
-
effect.f ^= DESTROYING;
|
|
2286
|
-
effect.f |= DESTROYED;
|
|
2287
|
-
var parent = effect.parent;
|
|
2288
|
-
if (parent !== null && parent.first !== null) {
|
|
2289
|
-
unlink_effect(effect);
|
|
2290
|
-
}
|
|
2291
|
-
effect.next = effect.prev = effect.teardown = effect.ctx = effect.deps = effect.fn = effect.nodes = effect.ac = effect.b = null;
|
|
2292
|
-
}
|
|
2293
|
-
function remove_effect_dom(node, end) {
|
|
2294
|
-
while (node !== null) {
|
|
2295
|
-
var next = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
|
|
2296
|
-
node.remove();
|
|
2297
|
-
node = next;
|
|
2298
|
-
}
|
|
2299
|
-
}
|
|
2300
|
-
function unlink_effect(effect) {
|
|
2301
|
-
var parent = effect.parent;
|
|
2302
|
-
var prev = effect.prev;
|
|
2303
|
-
var next = effect.next;
|
|
2304
|
-
if (prev !== null) prev.next = next;
|
|
2305
|
-
if (next !== null) next.prev = prev;
|
|
2306
|
-
if (parent !== null) {
|
|
2307
|
-
if (parent.first === effect) parent.first = next;
|
|
2308
|
-
if (parent.last === effect) parent.last = prev;
|
|
2309
|
-
}
|
|
2310
|
-
}
|
|
2311
|
-
function pause_effect(effect, callback, destroy = true) {
|
|
2312
|
-
var transitions = [];
|
|
2313
|
-
pause_children(effect, transitions, true);
|
|
2314
|
-
var fn = () => {
|
|
2315
|
-
if (destroy) destroy_effect(effect);
|
|
2316
|
-
if (callback) callback();
|
|
2317
|
-
};
|
|
2318
|
-
var remaining = transitions.length;
|
|
2319
|
-
if (remaining > 0) {
|
|
2320
|
-
var check = () => --remaining || fn();
|
|
2321
|
-
for (var transition of transitions) {
|
|
2322
|
-
transition.out(check);
|
|
2323
|
-
}
|
|
2324
|
-
} else {
|
|
2325
|
-
fn();
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
function pause_children(effect, transitions, local) {
|
|
2329
|
-
if ((effect.f & INERT) !== 0) return;
|
|
2330
|
-
effect.f ^= INERT;
|
|
2331
|
-
var t = effect.nodes && effect.nodes.t;
|
|
2332
|
-
if (t !== null) {
|
|
2333
|
-
for (const transition of t) {
|
|
2334
|
-
if (transition.is_global || local) {
|
|
2335
|
-
transitions.push(transition);
|
|
2336
|
-
}
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
|
-
var child = effect.first;
|
|
2340
|
-
while (child !== null) {
|
|
2341
|
-
var sibling = child.next;
|
|
2342
|
-
if ((child.f & ROOT_EFFECT) === 0) {
|
|
2343
|
-
var transparent = (child.f & EFFECT_TRANSPARENT) !== 0 || // If this is a branch effect without a block effect parent,
|
|
2344
|
-
// it means the parent block effect was pruned. In that case,
|
|
2345
|
-
// transparency information was transferred to the branch effect.
|
|
2346
|
-
(child.f & BRANCH_EFFECT) !== 0 && (effect.f & BLOCK_EFFECT) !== 0;
|
|
2347
|
-
pause_children(child, transitions, transparent ? local : false);
|
|
2348
|
-
}
|
|
2349
|
-
child = sibling;
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
function move_effect(effect, fragment) {
|
|
2353
|
-
if (!effect.nodes) return;
|
|
2354
|
-
var node = effect.nodes.start;
|
|
2355
|
-
var end = effect.nodes.end;
|
|
2356
|
-
while (node !== null) {
|
|
2357
|
-
var next = node === end ? null : /* @__PURE__ */ get_next_sibling(node);
|
|
2358
|
-
fragment.append(node);
|
|
2359
|
-
node = next;
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
let is_updating_effect = false;
|
|
2363
|
-
let is_destroying_effect = false;
|
|
2364
|
-
function set_is_destroying_effect(value) {
|
|
2365
|
-
is_destroying_effect = value;
|
|
2366
|
-
}
|
|
2367
|
-
let active_reaction = null;
|
|
2368
|
-
let untracking = false;
|
|
2369
|
-
function set_active_reaction(reaction) {
|
|
2370
|
-
active_reaction = reaction;
|
|
2371
|
-
}
|
|
2372
|
-
let active_effect = null;
|
|
2373
|
-
function set_active_effect(effect) {
|
|
2374
|
-
active_effect = effect;
|
|
2375
|
-
}
|
|
2376
|
-
let current_sources = null;
|
|
2377
|
-
function push_reaction_value(value) {
|
|
2378
|
-
if (active_reaction !== null && true) {
|
|
2379
|
-
if (current_sources === null) {
|
|
2380
|
-
current_sources = [value];
|
|
2381
|
-
} else {
|
|
2382
|
-
current_sources.push(value);
|
|
2383
|
-
}
|
|
2384
|
-
}
|
|
2385
|
-
}
|
|
2386
|
-
let new_deps = null;
|
|
2387
|
-
let skipped_deps = 0;
|
|
2388
|
-
let untracked_writes = null;
|
|
2389
|
-
function set_untracked_writes(value) {
|
|
2390
|
-
untracked_writes = value;
|
|
2391
|
-
}
|
|
2392
|
-
let write_version = 1;
|
|
2393
|
-
let read_version = 0;
|
|
2394
|
-
let update_version = read_version;
|
|
2395
|
-
function set_update_version(value) {
|
|
2396
|
-
update_version = value;
|
|
2397
|
-
}
|
|
2398
|
-
function increment_write_version() {
|
|
2399
|
-
return ++write_version;
|
|
2400
|
-
}
|
|
2401
|
-
function is_dirty(reaction) {
|
|
2402
|
-
var flags = reaction.f;
|
|
2403
|
-
if ((flags & DIRTY) !== 0) {
|
|
2404
|
-
return true;
|
|
2405
|
-
}
|
|
2406
|
-
if (flags & DERIVED) {
|
|
2407
|
-
reaction.f &= ~WAS_MARKED;
|
|
2408
|
-
}
|
|
2409
|
-
if ((flags & MAYBE_DIRTY) !== 0) {
|
|
2410
|
-
var dependencies = (
|
|
2411
|
-
/** @type {Value[]} */
|
|
2412
|
-
reaction.deps
|
|
2413
|
-
);
|
|
2414
|
-
var length = dependencies.length;
|
|
2415
|
-
for (var i = 0; i < length; i++) {
|
|
2416
|
-
var dependency = dependencies[i];
|
|
2417
|
-
if (is_dirty(
|
|
2418
|
-
/** @type {Derived} */
|
|
2419
|
-
dependency
|
|
2420
|
-
)) {
|
|
2421
|
-
update_derived(
|
|
2422
|
-
/** @type {Derived} */
|
|
2423
|
-
dependency
|
|
2424
|
-
);
|
|
2425
|
-
}
|
|
2426
|
-
if (dependency.wv > reaction.wv) {
|
|
2427
|
-
return true;
|
|
2428
|
-
}
|
|
2429
|
-
}
|
|
2430
|
-
if ((flags & CONNECTED) !== 0 && // During time traveling we don't want to reset the status so that
|
|
2431
|
-
// traversal of the graph in the other batches still happens
|
|
2432
|
-
batch_values === null) {
|
|
2433
|
-
set_signal_status(reaction, CLEAN);
|
|
2434
|
-
}
|
|
2435
|
-
}
|
|
2436
|
-
return false;
|
|
2437
|
-
}
|
|
2438
|
-
function schedule_possible_effect_self_invalidation(signal, effect, root = true) {
|
|
2439
|
-
var reactions = signal.reactions;
|
|
2440
|
-
if (reactions === null) return;
|
|
2441
|
-
if (current_sources !== null && includes.call(current_sources, signal)) {
|
|
2442
|
-
return;
|
|
2443
|
-
}
|
|
2444
|
-
for (var i = 0; i < reactions.length; i++) {
|
|
2445
|
-
var reaction = reactions[i];
|
|
2446
|
-
if ((reaction.f & DERIVED) !== 0) {
|
|
2447
|
-
schedule_possible_effect_self_invalidation(
|
|
2448
|
-
/** @type {Derived} */
|
|
2449
|
-
reaction,
|
|
2450
|
-
effect,
|
|
2451
|
-
false
|
|
2452
|
-
);
|
|
2453
|
-
} else if (effect === reaction) {
|
|
2454
|
-
if (root) {
|
|
2455
|
-
set_signal_status(reaction, DIRTY);
|
|
2456
|
-
} else if ((reaction.f & CLEAN) !== 0) {
|
|
2457
|
-
set_signal_status(reaction, MAYBE_DIRTY);
|
|
2458
|
-
}
|
|
2459
|
-
schedule_effect(
|
|
2460
|
-
/** @type {Effect} */
|
|
2461
|
-
reaction
|
|
2462
|
-
);
|
|
2463
|
-
}
|
|
2464
|
-
}
|
|
2465
|
-
}
|
|
2466
|
-
function update_reaction(reaction) {
|
|
2467
|
-
var previous_deps = new_deps;
|
|
2468
|
-
var previous_skipped_deps = skipped_deps;
|
|
2469
|
-
var previous_untracked_writes = untracked_writes;
|
|
2470
|
-
var previous_reaction = active_reaction;
|
|
2471
|
-
var previous_sources = current_sources;
|
|
2472
|
-
var previous_component_context = component_context;
|
|
2473
|
-
var previous_untracking = untracking;
|
|
2474
|
-
var previous_update_version = update_version;
|
|
2475
|
-
var flags = reaction.f;
|
|
2476
|
-
new_deps = /** @type {null | Value[]} */
|
|
2477
|
-
null;
|
|
2478
|
-
skipped_deps = 0;
|
|
2479
|
-
untracked_writes = null;
|
|
2480
|
-
active_reaction = (flags & (BRANCH_EFFECT | ROOT_EFFECT)) === 0 ? reaction : null;
|
|
2481
|
-
current_sources = null;
|
|
2482
|
-
set_component_context(reaction.ctx);
|
|
2483
|
-
untracking = false;
|
|
2484
|
-
update_version = ++read_version;
|
|
2485
|
-
if (reaction.ac !== null) {
|
|
2486
|
-
without_reactive_context(() => {
|
|
2487
|
-
reaction.ac.abort(STALE_REACTION);
|
|
2488
|
-
});
|
|
2489
|
-
reaction.ac = null;
|
|
2490
|
-
}
|
|
2491
|
-
try {
|
|
2492
|
-
reaction.f |= REACTION_IS_UPDATING;
|
|
2493
|
-
var fn = (
|
|
2494
|
-
/** @type {Function} */
|
|
2495
|
-
reaction.fn
|
|
2496
|
-
);
|
|
2497
|
-
var result = fn();
|
|
2498
|
-
reaction.f |= REACTION_RAN;
|
|
2499
|
-
var deps = reaction.deps;
|
|
2500
|
-
var is_fork = current_batch?.is_fork;
|
|
2501
|
-
if (new_deps !== null) {
|
|
2502
|
-
var i;
|
|
2503
|
-
if (!is_fork) {
|
|
2504
|
-
remove_reactions(reaction, skipped_deps);
|
|
2505
|
-
}
|
|
2506
|
-
if (deps !== null && skipped_deps > 0) {
|
|
2507
|
-
deps.length = skipped_deps + new_deps.length;
|
|
2508
|
-
for (i = 0; i < new_deps.length; i++) {
|
|
2509
|
-
deps[skipped_deps + i] = new_deps[i];
|
|
2510
|
-
}
|
|
2511
|
-
} else {
|
|
2512
|
-
reaction.deps = deps = new_deps;
|
|
2513
|
-
}
|
|
2514
|
-
if (effect_tracking() && (reaction.f & CONNECTED) !== 0) {
|
|
2515
|
-
for (i = skipped_deps; i < deps.length; i++) {
|
|
2516
|
-
(deps[i].reactions ??= []).push(reaction);
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
} else if (!is_fork && deps !== null && skipped_deps < deps.length) {
|
|
2520
|
-
remove_reactions(reaction, skipped_deps);
|
|
2521
|
-
deps.length = skipped_deps;
|
|
2522
|
-
}
|
|
2523
|
-
if (is_runes() && untracked_writes !== null && !untracking && deps !== null && (reaction.f & (DERIVED | MAYBE_DIRTY | DIRTY)) === 0) {
|
|
2524
|
-
for (i = 0; i < /** @type {Source[]} */
|
|
2525
|
-
untracked_writes.length; i++) {
|
|
2526
|
-
schedule_possible_effect_self_invalidation(
|
|
2527
|
-
untracked_writes[i],
|
|
2528
|
-
/** @type {Effect} */
|
|
2529
|
-
reaction
|
|
2530
|
-
);
|
|
2531
|
-
}
|
|
2532
|
-
}
|
|
2533
|
-
if (previous_reaction !== null && previous_reaction !== reaction) {
|
|
2534
|
-
read_version++;
|
|
2535
|
-
if (previous_reaction.deps !== null) {
|
|
2536
|
-
for (let i2 = 0; i2 < previous_skipped_deps; i2 += 1) {
|
|
2537
|
-
previous_reaction.deps[i2].rv = read_version;
|
|
2538
|
-
}
|
|
2539
|
-
}
|
|
2540
|
-
if (previous_deps !== null) {
|
|
2541
|
-
for (const dep of previous_deps) {
|
|
2542
|
-
dep.rv = read_version;
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
if (untracked_writes !== null) {
|
|
2546
|
-
if (previous_untracked_writes === null) {
|
|
2547
|
-
previous_untracked_writes = untracked_writes;
|
|
2548
|
-
} else {
|
|
2549
|
-
previous_untracked_writes.push(.../** @type {Source[]} */
|
|
2550
|
-
untracked_writes);
|
|
2551
|
-
}
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
if ((reaction.f & ERROR_VALUE) !== 0) {
|
|
2555
|
-
reaction.f ^= ERROR_VALUE;
|
|
2556
|
-
}
|
|
2557
|
-
return result;
|
|
2558
|
-
} catch (error) {
|
|
2559
|
-
return handle_error(error);
|
|
2560
|
-
} finally {
|
|
2561
|
-
reaction.f ^= REACTION_IS_UPDATING;
|
|
2562
|
-
new_deps = previous_deps;
|
|
2563
|
-
skipped_deps = previous_skipped_deps;
|
|
2564
|
-
untracked_writes = previous_untracked_writes;
|
|
2565
|
-
active_reaction = previous_reaction;
|
|
2566
|
-
current_sources = previous_sources;
|
|
2567
|
-
set_component_context(previous_component_context);
|
|
2568
|
-
untracking = previous_untracking;
|
|
2569
|
-
update_version = previous_update_version;
|
|
2570
|
-
}
|
|
2571
|
-
}
|
|
2572
|
-
function remove_reaction(signal, dependency) {
|
|
2573
|
-
let reactions = dependency.reactions;
|
|
2574
|
-
if (reactions !== null) {
|
|
2575
|
-
var index = index_of.call(reactions, signal);
|
|
2576
|
-
if (index !== -1) {
|
|
2577
|
-
var new_length = reactions.length - 1;
|
|
2578
|
-
if (new_length === 0) {
|
|
2579
|
-
reactions = dependency.reactions = null;
|
|
2580
|
-
} else {
|
|
2581
|
-
reactions[index] = reactions[new_length];
|
|
2582
|
-
reactions.pop();
|
|
2583
|
-
}
|
|
2584
|
-
}
|
|
2585
|
-
}
|
|
2586
|
-
if (reactions === null && (dependency.f & DERIVED) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
2587
|
-
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
2588
|
-
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
2589
|
-
(new_deps === null || !includes.call(new_deps, dependency))) {
|
|
2590
|
-
var derived2 = (
|
|
2591
|
-
/** @type {Derived} */
|
|
2592
|
-
dependency
|
|
2593
|
-
);
|
|
2594
|
-
if ((derived2.f & CONNECTED) !== 0) {
|
|
2595
|
-
derived2.f ^= CONNECTED;
|
|
2596
|
-
derived2.f &= ~WAS_MARKED;
|
|
2597
|
-
}
|
|
2598
|
-
if (derived2.v !== UNINITIALIZED) {
|
|
2599
|
-
update_derived_status(derived2);
|
|
2600
|
-
}
|
|
2601
|
-
freeze_derived_effects(derived2);
|
|
2602
|
-
remove_reactions(derived2, 0);
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
function remove_reactions(signal, start_index) {
|
|
2606
|
-
var dependencies = signal.deps;
|
|
2607
|
-
if (dependencies === null) return;
|
|
2608
|
-
for (var i = start_index; i < dependencies.length; i++) {
|
|
2609
|
-
remove_reaction(signal, dependencies[i]);
|
|
2610
|
-
}
|
|
2611
|
-
}
|
|
2612
|
-
function update_effect(effect) {
|
|
2613
|
-
var flags = effect.f;
|
|
2614
|
-
if ((flags & DESTROYED) !== 0) {
|
|
2615
|
-
return;
|
|
2616
|
-
}
|
|
2617
|
-
set_signal_status(effect, CLEAN);
|
|
2618
|
-
var previous_effect = active_effect;
|
|
2619
|
-
var was_updating_effect = is_updating_effect;
|
|
2620
|
-
active_effect = effect;
|
|
2621
|
-
is_updating_effect = true;
|
|
2622
|
-
try {
|
|
2623
|
-
if ((flags & (BLOCK_EFFECT | MANAGED_EFFECT)) !== 0) {
|
|
2624
|
-
destroy_block_effect_children(effect);
|
|
2625
|
-
} else {
|
|
2626
|
-
destroy_effect_children(effect);
|
|
2627
|
-
}
|
|
2628
|
-
execute_effect_teardown(effect);
|
|
2629
|
-
var teardown = update_reaction(effect);
|
|
2630
|
-
effect.teardown = typeof teardown === "function" ? teardown : null;
|
|
2631
|
-
effect.wv = write_version;
|
|
2632
|
-
var dep;
|
|
2633
|
-
if (browser && tracing_mode_flag && (effect.f & DIRTY) !== 0 && effect.deps !== null) ;
|
|
2634
|
-
} finally {
|
|
2635
|
-
is_updating_effect = was_updating_effect;
|
|
2636
|
-
active_effect = previous_effect;
|
|
2637
|
-
}
|
|
2638
|
-
}
|
|
2639
|
-
function get(signal) {
|
|
2640
|
-
var flags = signal.f;
|
|
2641
|
-
var is_derived = (flags & DERIVED) !== 0;
|
|
2642
|
-
if (active_reaction !== null && !untracking) {
|
|
2643
|
-
var destroyed = active_effect !== null && (active_effect.f & DESTROYED) !== 0;
|
|
2644
|
-
if (!destroyed && (current_sources === null || !includes.call(current_sources, signal))) {
|
|
2645
|
-
var deps = active_reaction.deps;
|
|
2646
|
-
if ((active_reaction.f & REACTION_IS_UPDATING) !== 0) {
|
|
2647
|
-
if (signal.rv < read_version) {
|
|
2648
|
-
signal.rv = read_version;
|
|
2649
|
-
if (new_deps === null && deps !== null && deps[skipped_deps] === signal) {
|
|
2650
|
-
skipped_deps++;
|
|
2651
|
-
} else if (new_deps === null) {
|
|
2652
|
-
new_deps = [signal];
|
|
2653
|
-
} else {
|
|
2654
|
-
new_deps.push(signal);
|
|
2655
|
-
}
|
|
2656
|
-
}
|
|
2657
|
-
} else {
|
|
2658
|
-
(active_reaction.deps ??= []).push(signal);
|
|
2659
|
-
var reactions = signal.reactions;
|
|
2660
|
-
if (reactions === null) {
|
|
2661
|
-
signal.reactions = [active_reaction];
|
|
2662
|
-
} else if (!includes.call(reactions, active_reaction)) {
|
|
2663
|
-
reactions.push(active_reaction);
|
|
2664
|
-
}
|
|
2665
|
-
}
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
|
-
if (is_destroying_effect && old_values.has(signal)) {
|
|
2669
|
-
return old_values.get(signal);
|
|
2670
|
-
}
|
|
2671
|
-
if (is_derived) {
|
|
2672
|
-
var derived2 = (
|
|
2673
|
-
/** @type {Derived} */
|
|
2674
|
-
signal
|
|
2675
|
-
);
|
|
2676
|
-
if (is_destroying_effect) {
|
|
2677
|
-
var value = derived2.v;
|
|
2678
|
-
if ((derived2.f & CLEAN) === 0 && derived2.reactions !== null || depends_on_old_values(derived2)) {
|
|
2679
|
-
value = execute_derived(derived2);
|
|
2680
|
-
}
|
|
2681
|
-
old_values.set(derived2, value);
|
|
2682
|
-
return value;
|
|
2683
|
-
}
|
|
2684
|
-
var should_connect = (derived2.f & CONNECTED) === 0 && !untracking && active_reaction !== null && (is_updating_effect || (active_reaction.f & CONNECTED) !== 0);
|
|
2685
|
-
var is_new = (derived2.f & REACTION_RAN) === 0;
|
|
2686
|
-
if (is_dirty(derived2)) {
|
|
2687
|
-
if (should_connect) {
|
|
2688
|
-
derived2.f |= CONNECTED;
|
|
2689
|
-
}
|
|
2690
|
-
update_derived(derived2);
|
|
2691
|
-
}
|
|
2692
|
-
if (should_connect && !is_new) {
|
|
2693
|
-
unfreeze_derived_effects(derived2);
|
|
2694
|
-
reconnect(derived2);
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
if (batch_values?.has(signal)) {
|
|
2698
|
-
return batch_values.get(signal);
|
|
2699
|
-
}
|
|
2700
|
-
if ((signal.f & ERROR_VALUE) !== 0) {
|
|
2701
|
-
throw signal.v;
|
|
2702
|
-
}
|
|
2703
|
-
return signal.v;
|
|
2704
|
-
}
|
|
2705
|
-
function reconnect(derived2) {
|
|
2706
|
-
derived2.f |= CONNECTED;
|
|
2707
|
-
if (derived2.deps === null) return;
|
|
2708
|
-
for (const dep of derived2.deps) {
|
|
2709
|
-
(dep.reactions ??= []).push(derived2);
|
|
2710
|
-
if ((dep.f & DERIVED) !== 0 && (dep.f & CONNECTED) === 0) {
|
|
2711
|
-
unfreeze_derived_effects(
|
|
2712
|
-
/** @type {Derived} */
|
|
2713
|
-
dep
|
|
2714
|
-
);
|
|
2715
|
-
reconnect(
|
|
2716
|
-
/** @type {Derived} */
|
|
2717
|
-
dep
|
|
2718
|
-
);
|
|
2719
|
-
}
|
|
2720
|
-
}
|
|
2721
|
-
}
|
|
2722
|
-
function depends_on_old_values(derived2) {
|
|
2723
|
-
if (derived2.v === UNINITIALIZED) return true;
|
|
2724
|
-
if (derived2.deps === null) return false;
|
|
2725
|
-
for (const dep of derived2.deps) {
|
|
2726
|
-
if (old_values.has(dep)) {
|
|
2727
|
-
return true;
|
|
2728
|
-
}
|
|
2729
|
-
if ((dep.f & DERIVED) !== 0 && depends_on_old_values(
|
|
2730
|
-
/** @type {Derived} */
|
|
2731
|
-
dep
|
|
2732
|
-
)) {
|
|
2733
|
-
return true;
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2736
|
-
return false;
|
|
2737
|
-
}
|
|
2738
|
-
function untrack(fn) {
|
|
2739
|
-
var previous_untracking = untracking;
|
|
2740
|
-
try {
|
|
2741
|
-
untracking = true;
|
|
2742
|
-
return fn();
|
|
2743
|
-
} finally {
|
|
2744
|
-
untracking = previous_untracking;
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
function subscribe_to_store(store, run2, invalidate) {
|
|
2748
|
-
if (store == null) {
|
|
2749
|
-
run2(void 0);
|
|
2750
|
-
return noop;
|
|
2751
|
-
}
|
|
2752
|
-
const unsub = untrack(
|
|
2753
|
-
() => store.subscribe(
|
|
2754
|
-
run2,
|
|
2755
|
-
// @ts-expect-error
|
|
2756
|
-
invalidate
|
|
2757
|
-
)
|
|
2758
|
-
);
|
|
2759
|
-
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
|
2760
|
-
}
|
|
2761
|
-
const VOID_ELEMENT_NAMES = [
|
|
2762
|
-
"area",
|
|
2763
|
-
"base",
|
|
2764
|
-
"br",
|
|
2765
|
-
"col",
|
|
2766
|
-
"command",
|
|
2767
|
-
"embed",
|
|
2768
|
-
"hr",
|
|
2769
|
-
"img",
|
|
2770
|
-
"input",
|
|
2771
|
-
"keygen",
|
|
2772
|
-
"link",
|
|
2773
|
-
"meta",
|
|
2774
|
-
"param",
|
|
2775
|
-
"source",
|
|
2776
|
-
"track",
|
|
2777
|
-
"wbr"
|
|
2778
|
-
];
|
|
2779
|
-
function is_void(name) {
|
|
2780
|
-
return VOID_ELEMENT_NAMES.includes(name) || name.toLowerCase() === "!doctype";
|
|
2781
|
-
}
|
|
2782
|
-
const DOM_BOOLEAN_ATTRIBUTES = [
|
|
2783
|
-
"allowfullscreen",
|
|
2784
|
-
"async",
|
|
2785
|
-
"autofocus",
|
|
2786
|
-
"autoplay",
|
|
2787
|
-
"checked",
|
|
2788
|
-
"controls",
|
|
2789
|
-
"default",
|
|
2790
|
-
"disabled",
|
|
2791
|
-
"formnovalidate",
|
|
2792
|
-
"indeterminate",
|
|
2793
|
-
"inert",
|
|
2794
|
-
"ismap",
|
|
2795
|
-
"loop",
|
|
2796
|
-
"multiple",
|
|
2797
|
-
"muted",
|
|
2798
|
-
"nomodule",
|
|
2799
|
-
"novalidate",
|
|
2800
|
-
"open",
|
|
2801
|
-
"playsinline",
|
|
2802
|
-
"readonly",
|
|
2803
|
-
"required",
|
|
2804
|
-
"reversed",
|
|
2805
|
-
"seamless",
|
|
2806
|
-
"selected",
|
|
2807
|
-
"webkitdirectory",
|
|
2808
|
-
"defer",
|
|
2809
|
-
"disablepictureinpicture",
|
|
2810
|
-
"disableremoteplayback"
|
|
2811
|
-
];
|
|
2812
|
-
function is_boolean_attribute(name) {
|
|
2813
|
-
return DOM_BOOLEAN_ATTRIBUTES.includes(name);
|
|
2814
|
-
}
|
|
2815
|
-
const PASSIVE_EVENTS = ["touchstart", "touchmove"];
|
|
2816
|
-
function is_passive_event(name) {
|
|
2817
|
-
return PASSIVE_EVENTS.includes(name);
|
|
2818
|
-
}
|
|
2819
|
-
const RAW_TEXT_ELEMENTS = (
|
|
2820
|
-
/** @type {const} */
|
|
2821
|
-
["textarea", "script", "style", "title"]
|
|
2822
|
-
);
|
|
2823
|
-
function is_raw_text_element(name) {
|
|
2824
|
-
return RAW_TEXT_ELEMENTS.includes(
|
|
2825
|
-
/** @type {typeof RAW_TEXT_ELEMENTS[number]} */
|
|
2826
|
-
name
|
|
2827
|
-
);
|
|
2828
|
-
}
|
|
2829
|
-
const REGEX_VALID_TAG_NAME = /^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]+)*$/u;
|
|
2830
|
-
const INVALID_ATTR_NAME_CHAR_REGEX = /[\s'">/=\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;
|
|
2831
|
-
function element(renderer, tag, attributes_fn = noop, children_fn = noop) {
|
|
2832
|
-
renderer.push("<!---->");
|
|
2833
|
-
if (tag) {
|
|
2834
|
-
if (!REGEX_VALID_TAG_NAME.test(tag)) {
|
|
2835
|
-
dynamic_element_invalid_tag(tag);
|
|
2836
|
-
}
|
|
2837
|
-
renderer.push(`<${tag}`);
|
|
2838
|
-
attributes_fn();
|
|
2839
|
-
renderer.push(`>`);
|
|
2840
|
-
if (!is_void(tag)) {
|
|
2841
|
-
children_fn();
|
|
2842
|
-
if (!is_raw_text_element(tag)) {
|
|
2843
|
-
renderer.push(EMPTY_COMMENT);
|
|
2844
|
-
}
|
|
2845
|
-
renderer.push(`</${tag}>`);
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
renderer.push("<!---->");
|
|
2849
|
-
}
|
|
2850
|
-
function render(component, options = {}) {
|
|
2851
|
-
if (options.csp?.hash && options.csp.nonce) {
|
|
2852
|
-
invalid_csp();
|
|
2853
|
-
}
|
|
2854
|
-
return Renderer.render(
|
|
2855
|
-
/** @type {Component<Props>} */
|
|
2856
|
-
component,
|
|
2857
|
-
options
|
|
2858
|
-
);
|
|
2859
|
-
}
|
|
2860
|
-
function head(hash, renderer, fn) {
|
|
2861
|
-
renderer.head((renderer2) => {
|
|
2862
|
-
renderer2.push(`<!--${hash}-->`);
|
|
2863
|
-
renderer2.child(fn);
|
|
2864
|
-
renderer2.push(EMPTY_COMMENT);
|
|
2865
|
-
});
|
|
2866
|
-
}
|
|
2867
|
-
function attributes(attrs, css_hash, classes, styles, flags = 0) {
|
|
2868
|
-
if (styles) {
|
|
2869
|
-
attrs.style = to_style(attrs.style, styles);
|
|
2870
|
-
}
|
|
2871
|
-
if (attrs.class) {
|
|
2872
|
-
attrs.class = clsx(attrs.class);
|
|
2873
|
-
}
|
|
2874
|
-
if (css_hash || classes) {
|
|
2875
|
-
attrs.class = to_class(attrs.class, css_hash, classes);
|
|
2876
|
-
}
|
|
2877
|
-
let attr_str = "";
|
|
2878
|
-
let name;
|
|
2879
|
-
const is_html = (flags & ELEMENT_IS_NAMESPACED) === 0;
|
|
2880
|
-
const lowercase = (flags & ELEMENT_PRESERVE_ATTRIBUTE_CASE) === 0;
|
|
2881
|
-
const is_input = (flags & ELEMENT_IS_INPUT) !== 0;
|
|
2882
|
-
for (name of Object.keys(attrs)) {
|
|
2883
|
-
if (typeof attrs[name] === "function") continue;
|
|
2884
|
-
if (name[0] === "$" && name[1] === "$") continue;
|
|
2885
|
-
if (INVALID_ATTR_NAME_CHAR_REGEX.test(name)) continue;
|
|
2886
|
-
var value = attrs[name];
|
|
2887
|
-
var lower = name.toLowerCase();
|
|
2888
|
-
if (lowercase) name = lower;
|
|
2889
|
-
if (lower.length > 2 && lower.startsWith("on")) continue;
|
|
2890
|
-
if (is_input) {
|
|
2891
|
-
if (name === "defaultvalue" || name === "defaultchecked") {
|
|
2892
|
-
name = name === "defaultvalue" ? "value" : "checked";
|
|
2893
|
-
if (attrs[name]) continue;
|
|
2894
|
-
}
|
|
2895
|
-
}
|
|
2896
|
-
attr_str += attr(name, value, is_html && is_boolean_attribute(name));
|
|
2897
|
-
}
|
|
2898
|
-
return attr_str;
|
|
2899
|
-
}
|
|
2900
|
-
function spread_props(props) {
|
|
2901
|
-
const merged_props = {};
|
|
2902
|
-
let key;
|
|
2903
|
-
for (let i = 0; i < props.length; i++) {
|
|
2904
|
-
const obj = props[i];
|
|
2905
|
-
if (obj == null) continue;
|
|
2906
|
-
for (key of Object.keys(obj)) {
|
|
2907
|
-
const desc = Object.getOwnPropertyDescriptor(obj, key);
|
|
2908
|
-
if (desc) {
|
|
2909
|
-
Object.defineProperty(merged_props, key, desc);
|
|
2910
|
-
} else {
|
|
2911
|
-
merged_props[key] = obj[key];
|
|
2912
|
-
}
|
|
2913
|
-
}
|
|
2914
|
-
}
|
|
2915
|
-
return merged_props;
|
|
2916
|
-
}
|
|
2917
|
-
function stringify(value) {
|
|
2918
|
-
return typeof value === "string" ? value : value == null ? "" : value + "";
|
|
2919
|
-
}
|
|
2920
|
-
function attr_class(value, hash, directives) {
|
|
2921
|
-
var result = to_class(value, hash, directives);
|
|
2922
|
-
return result ? ` class="${escape_html(result, true)}"` : "";
|
|
2923
|
-
}
|
|
2924
|
-
function attr_style(value, directives) {
|
|
2925
|
-
var result = to_style(value, directives);
|
|
2926
|
-
return result ? ` style="${escape_html(result, true)}"` : "";
|
|
2927
|
-
}
|
|
2928
|
-
function store_get(store_values, store_name, store) {
|
|
2929
|
-
if (store_name in store_values && store_values[store_name][0] === store) {
|
|
2930
|
-
return store_values[store_name][2];
|
|
2931
|
-
}
|
|
2932
|
-
store_values[store_name]?.[1]();
|
|
2933
|
-
store_values[store_name] = [store, null, void 0];
|
|
2934
|
-
const unsub = subscribe_to_store(
|
|
2935
|
-
store,
|
|
2936
|
-
/** @param {any} v */
|
|
2937
|
-
(v) => store_values[store_name][2] = v
|
|
2938
|
-
);
|
|
2939
|
-
store_values[store_name][1] = unsub;
|
|
2940
|
-
return store_values[store_name][2];
|
|
2941
|
-
}
|
|
2942
|
-
function unsubscribe_stores(store_values) {
|
|
2943
|
-
for (const store_name of Object.keys(store_values)) {
|
|
2944
|
-
store_values[store_name][1]();
|
|
2945
|
-
}
|
|
2946
|
-
}
|
|
2947
|
-
function bind_props(props_parent, props_now) {
|
|
2948
|
-
for (const key of Object.keys(props_now)) {
|
|
2949
|
-
const initial_value = props_parent[key];
|
|
2950
|
-
const value = props_now[key];
|
|
2951
|
-
if (initial_value === void 0 && value !== void 0 && Object.getOwnPropertyDescriptor(props_parent, key)?.set) {
|
|
2952
|
-
props_parent[key] = value;
|
|
2953
|
-
}
|
|
2954
|
-
}
|
|
2955
|
-
}
|
|
2956
|
-
function ensure_array_like(array_like_or_iterator) {
|
|
2957
|
-
if (array_like_or_iterator) {
|
|
2958
|
-
return array_like_or_iterator.length !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
|
|
2959
|
-
}
|
|
2960
|
-
return [];
|
|
2961
|
-
}
|
|
2962
|
-
function once(get_value) {
|
|
2963
|
-
let value = (
|
|
2964
|
-
/** @type {V} */
|
|
2965
|
-
UNINITIALIZED
|
|
2966
|
-
);
|
|
2967
|
-
return () => {
|
|
2968
|
-
if (value === UNINITIALIZED) {
|
|
2969
|
-
value = get_value();
|
|
2970
|
-
}
|
|
2971
|
-
return value;
|
|
2972
|
-
};
|
|
2973
|
-
}
|
|
2974
|
-
function props_id(renderer) {
|
|
2975
|
-
const uid2 = renderer.global.uid();
|
|
2976
|
-
renderer.push("<!--$" + uid2 + "-->");
|
|
2977
|
-
return uid2;
|
|
2978
|
-
}
|
|
2979
|
-
function derived(fn) {
|
|
2980
|
-
const get_value = ssr_context === null ? fn : once(fn);
|
|
2981
|
-
let updated_value;
|
|
2982
|
-
return function(new_value) {
|
|
2983
|
-
if (arguments.length === 0) {
|
|
2984
|
-
return updated_value ?? get_value();
|
|
2985
|
-
}
|
|
2986
|
-
updated_value = new_value;
|
|
2987
|
-
return updated_value;
|
|
2988
|
-
};
|
|
2989
|
-
}
|
|
2990
|
-
let text_encoder;
|
|
2991
|
-
let crypto;
|
|
2992
|
-
const obfuscated_import = (module_name) => import(
|
|
2993
|
-
/* @vite-ignore */
|
|
2994
|
-
module_name
|
|
2995
|
-
);
|
|
2996
|
-
async function sha256(data) {
|
|
2997
|
-
text_encoder ??= new TextEncoder();
|
|
2998
|
-
crypto ??= globalThis.crypto?.subtle?.digest ? globalThis.crypto : (
|
|
2999
|
-
// @ts-ignore - we don't install node types in the prod build
|
|
3000
|
-
// don't use import('node:crypto') directly because static analysers will think we rely on node when we don't
|
|
3001
|
-
(await obfuscated_import("node:crypto")).webcrypto
|
|
3002
|
-
);
|
|
3003
|
-
const hash_buffer = await crypto.subtle.digest("SHA-256", text_encoder.encode(data));
|
|
3004
|
-
return base64_encode(hash_buffer);
|
|
3005
|
-
}
|
|
3006
|
-
function base64_encode(bytes) {
|
|
3007
|
-
if (globalThis.Buffer) {
|
|
3008
|
-
return globalThis.Buffer.from(bytes).toString("base64");
|
|
3009
|
-
}
|
|
3010
|
-
let binary = "";
|
|
3011
|
-
for (let i = 0; i < bytes.length; i++) {
|
|
3012
|
-
binary += String.fromCharCode(bytes[i]);
|
|
3013
|
-
}
|
|
3014
|
-
return btoa(binary);
|
|
3015
|
-
}
|
|
3016
|
-
class Renderer {
|
|
3017
|
-
/**
|
|
3018
|
-
* The contents of the renderer.
|
|
3019
|
-
* @type {RendererItem[]}
|
|
3020
|
-
*/
|
|
3021
|
-
#out = [];
|
|
3022
|
-
/**
|
|
3023
|
-
* Any `onDestroy` callbacks registered during execution of this renderer.
|
|
3024
|
-
* @type {(() => void)[] | undefined}
|
|
3025
|
-
*/
|
|
3026
|
-
#on_destroy = void 0;
|
|
3027
|
-
/**
|
|
3028
|
-
* Whether this renderer is a component body.
|
|
3029
|
-
* @type {boolean}
|
|
3030
|
-
*/
|
|
3031
|
-
#is_component_body = false;
|
|
3032
|
-
/**
|
|
3033
|
-
* If set, this renderer is an error boundary. When async collection
|
|
3034
|
-
* of the children fails, the failed snippet is rendered instead.
|
|
3035
|
-
* @type {{
|
|
3036
|
-
* failed: (renderer: Renderer, error: unknown, reset: () => void) => void;
|
|
3037
|
-
* transformError: (error: unknown) => unknown;
|
|
3038
|
-
* context: SSRContext | null;
|
|
3039
|
-
* } | null}
|
|
3040
|
-
*/
|
|
3041
|
-
#boundary = null;
|
|
3042
|
-
/**
|
|
3043
|
-
* The type of string content that this renderer is accumulating.
|
|
3044
|
-
* @type {RendererType}
|
|
3045
|
-
*/
|
|
3046
|
-
type;
|
|
3047
|
-
/** @type {Renderer | undefined} */
|
|
3048
|
-
#parent;
|
|
3049
|
-
/**
|
|
3050
|
-
* Asynchronous work associated with this renderer
|
|
3051
|
-
* @type {Promise<void> | undefined}
|
|
3052
|
-
*/
|
|
3053
|
-
promise = void 0;
|
|
3054
|
-
/**
|
|
3055
|
-
* State which is associated with the content tree as a whole.
|
|
3056
|
-
* It will be re-exposed, uncopied, on all children.
|
|
3057
|
-
* @type {SSRState}
|
|
3058
|
-
* @readonly
|
|
3059
|
-
*/
|
|
3060
|
-
global;
|
|
3061
|
-
/**
|
|
3062
|
-
* State that is local to the branch it is declared in.
|
|
3063
|
-
* It will be shallow-copied to all children.
|
|
3064
|
-
*
|
|
3065
|
-
* @type {{ select_value: string | undefined }}
|
|
3066
|
-
*/
|
|
3067
|
-
local;
|
|
3068
|
-
/**
|
|
3069
|
-
* @param {SSRState} global
|
|
3070
|
-
* @param {Renderer | undefined} [parent]
|
|
3071
|
-
*/
|
|
3072
|
-
constructor(global, parent) {
|
|
3073
|
-
this.#parent = parent;
|
|
3074
|
-
this.global = global;
|
|
3075
|
-
this.local = parent ? { ...parent.local } : { select_value: void 0 };
|
|
3076
|
-
this.type = parent ? parent.type : "body";
|
|
3077
|
-
}
|
|
3078
|
-
/**
|
|
3079
|
-
* @param {(renderer: Renderer) => void} fn
|
|
3080
|
-
*/
|
|
3081
|
-
head(fn) {
|
|
3082
|
-
const head2 = new Renderer(this.global, this);
|
|
3083
|
-
head2.type = "head";
|
|
3084
|
-
this.#out.push(head2);
|
|
3085
|
-
head2.child(fn);
|
|
3086
|
-
}
|
|
3087
|
-
/**
|
|
3088
|
-
* @param {Array<Promise<void>>} blockers
|
|
3089
|
-
* @param {(renderer: Renderer) => void} fn
|
|
3090
|
-
*/
|
|
3091
|
-
async_block(blockers, fn) {
|
|
3092
|
-
this.#out.push(BLOCK_OPEN);
|
|
3093
|
-
this.async(blockers, fn);
|
|
3094
|
-
this.#out.push(BLOCK_CLOSE);
|
|
3095
|
-
}
|
|
3096
|
-
/**
|
|
3097
|
-
* @param {Array<Promise<void>>} blockers
|
|
3098
|
-
* @param {(renderer: Renderer) => void} fn
|
|
3099
|
-
*/
|
|
3100
|
-
async(blockers, fn) {
|
|
3101
|
-
let callback = fn;
|
|
3102
|
-
if (blockers.length > 0) {
|
|
3103
|
-
const context = ssr_context;
|
|
3104
|
-
callback = (renderer) => {
|
|
3105
|
-
return Promise.all(blockers).then(() => {
|
|
3106
|
-
const previous_context = ssr_context;
|
|
3107
|
-
try {
|
|
3108
|
-
set_ssr_context(context);
|
|
3109
|
-
return fn(renderer);
|
|
3110
|
-
} finally {
|
|
3111
|
-
set_ssr_context(previous_context);
|
|
3112
|
-
}
|
|
3113
|
-
});
|
|
3114
|
-
};
|
|
3115
|
-
}
|
|
3116
|
-
this.child(callback);
|
|
3117
|
-
}
|
|
3118
|
-
/**
|
|
3119
|
-
* @param {Array<() => void>} thunks
|
|
3120
|
-
*/
|
|
3121
|
-
run(thunks) {
|
|
3122
|
-
const context = ssr_context;
|
|
3123
|
-
let promise = Promise.resolve(thunks[0]());
|
|
3124
|
-
const promises = [promise];
|
|
3125
|
-
for (const fn of thunks.slice(1)) {
|
|
3126
|
-
promise = promise.then(() => {
|
|
3127
|
-
const previous_context = ssr_context;
|
|
3128
|
-
set_ssr_context(context);
|
|
3129
|
-
try {
|
|
3130
|
-
return fn();
|
|
3131
|
-
} finally {
|
|
3132
|
-
set_ssr_context(previous_context);
|
|
3133
|
-
}
|
|
3134
|
-
});
|
|
3135
|
-
promises.push(promise);
|
|
3136
|
-
}
|
|
3137
|
-
promise.catch(noop);
|
|
3138
|
-
this.promise = promise;
|
|
3139
|
-
return promises;
|
|
3140
|
-
}
|
|
3141
|
-
/**
|
|
3142
|
-
* @param {(renderer: Renderer) => MaybePromise<void>} fn
|
|
3143
|
-
*/
|
|
3144
|
-
child_block(fn) {
|
|
3145
|
-
this.#out.push(BLOCK_OPEN);
|
|
3146
|
-
this.child(fn);
|
|
3147
|
-
this.#out.push(BLOCK_CLOSE);
|
|
3148
|
-
}
|
|
3149
|
-
/**
|
|
3150
|
-
* Create a child renderer. The child renderer inherits the state from the parent,
|
|
3151
|
-
* but has its own content.
|
|
3152
|
-
* @param {(renderer: Renderer) => MaybePromise<void>} fn
|
|
3153
|
-
*/
|
|
3154
|
-
child(fn) {
|
|
3155
|
-
const child = new Renderer(this.global, this);
|
|
3156
|
-
this.#out.push(child);
|
|
3157
|
-
const parent = ssr_context;
|
|
3158
|
-
set_ssr_context({
|
|
3159
|
-
...ssr_context,
|
|
3160
|
-
p: parent,
|
|
3161
|
-
c: null,
|
|
3162
|
-
r: child
|
|
3163
|
-
});
|
|
3164
|
-
const result = fn(child);
|
|
3165
|
-
set_ssr_context(parent);
|
|
3166
|
-
if (result instanceof Promise) {
|
|
3167
|
-
result.catch(noop);
|
|
3168
|
-
result.finally(() => set_ssr_context(null)).catch(noop);
|
|
3169
|
-
if (child.global.mode === "sync") {
|
|
3170
|
-
await_invalid();
|
|
3171
|
-
}
|
|
3172
|
-
child.promise = result;
|
|
3173
|
-
}
|
|
3174
|
-
return child;
|
|
3175
|
-
}
|
|
3176
|
-
/**
|
|
3177
|
-
* Render children inside an error boundary. If the children throw and the API-level
|
|
3178
|
-
* `transformError` transform handles the error (doesn't re-throw), the `failed` snippet is
|
|
3179
|
-
* rendered instead. Otherwise the error propagates.
|
|
3180
|
-
*
|
|
3181
|
-
* @param {{ failed?: (renderer: Renderer, error: unknown, reset: () => void) => void }} props
|
|
3182
|
-
* @param {(renderer: Renderer) => MaybePromise<void>} children_fn
|
|
3183
|
-
*/
|
|
3184
|
-
boundary(props, children_fn) {
|
|
3185
|
-
const child = new Renderer(this.global, this);
|
|
3186
|
-
this.#out.push(child);
|
|
3187
|
-
const parent_context = ssr_context;
|
|
3188
|
-
if (props.failed) {
|
|
3189
|
-
child.#boundary = {
|
|
3190
|
-
failed: props.failed,
|
|
3191
|
-
transformError: this.global.transformError,
|
|
3192
|
-
context: parent_context
|
|
3193
|
-
};
|
|
3194
|
-
}
|
|
3195
|
-
set_ssr_context({
|
|
3196
|
-
...ssr_context,
|
|
3197
|
-
p: parent_context,
|
|
3198
|
-
c: null,
|
|
3199
|
-
r: child
|
|
3200
|
-
});
|
|
3201
|
-
try {
|
|
3202
|
-
const result = children_fn(child);
|
|
3203
|
-
set_ssr_context(parent_context);
|
|
3204
|
-
if (result instanceof Promise) {
|
|
3205
|
-
if (child.global.mode === "sync") {
|
|
3206
|
-
await_invalid();
|
|
3207
|
-
}
|
|
3208
|
-
result.catch(noop);
|
|
3209
|
-
child.promise = result;
|
|
3210
|
-
}
|
|
3211
|
-
} catch (error) {
|
|
3212
|
-
set_ssr_context(parent_context);
|
|
3213
|
-
const failed_snippet = props.failed;
|
|
3214
|
-
if (!failed_snippet) throw error;
|
|
3215
|
-
const result = this.global.transformError(error);
|
|
3216
|
-
child.#out.length = 0;
|
|
3217
|
-
child.#boundary = null;
|
|
3218
|
-
if (result instanceof Promise) {
|
|
3219
|
-
if (this.global.mode === "sync") {
|
|
3220
|
-
await_invalid();
|
|
3221
|
-
}
|
|
3222
|
-
child.promise = /** @type {Promise<unknown>} */
|
|
3223
|
-
result.then((transformed) => {
|
|
3224
|
-
set_ssr_context(parent_context);
|
|
3225
|
-
child.#out.push(Renderer.#serialize_failed_boundary(transformed));
|
|
3226
|
-
failed_snippet(child, transformed, noop);
|
|
3227
|
-
child.#out.push(BLOCK_CLOSE);
|
|
3228
|
-
});
|
|
3229
|
-
child.promise.catch(noop);
|
|
3230
|
-
} else {
|
|
3231
|
-
child.#out.push(Renderer.#serialize_failed_boundary(result));
|
|
3232
|
-
failed_snippet(child, result, noop);
|
|
3233
|
-
child.#out.push(BLOCK_CLOSE);
|
|
3234
|
-
}
|
|
3235
|
-
}
|
|
3236
|
-
}
|
|
3237
|
-
/**
|
|
3238
|
-
* Create a component renderer. The component renderer inherits the state from the parent,
|
|
3239
|
-
* but has its own content. It is treated as an ordering boundary for ondestroy callbacks.
|
|
3240
|
-
* @param {(renderer: Renderer) => MaybePromise<void>} fn
|
|
3241
|
-
* @param {Function} [component_fn]
|
|
3242
|
-
* @returns {void}
|
|
3243
|
-
*/
|
|
3244
|
-
component(fn, component_fn) {
|
|
3245
|
-
push$1();
|
|
3246
|
-
const child = this.child(fn);
|
|
3247
|
-
child.#is_component_body = true;
|
|
3248
|
-
pop$1();
|
|
3249
|
-
}
|
|
3250
|
-
/**
|
|
3251
|
-
* @param {Record<string, any>} attrs
|
|
3252
|
-
* @param {(renderer: Renderer) => void} fn
|
|
3253
|
-
* @param {string | undefined} [css_hash]
|
|
3254
|
-
* @param {Record<string, boolean> | undefined} [classes]
|
|
3255
|
-
* @param {Record<string, string> | undefined} [styles]
|
|
3256
|
-
* @param {number | undefined} [flags]
|
|
3257
|
-
* @param {boolean | undefined} [is_rich]
|
|
3258
|
-
* @returns {void}
|
|
3259
|
-
*/
|
|
3260
|
-
select(attrs, fn, css_hash, classes, styles, flags, is_rich) {
|
|
3261
|
-
const { value, ...select_attrs } = attrs;
|
|
3262
|
-
this.push(`<select${attributes(select_attrs, css_hash, classes, styles, flags)}>`);
|
|
3263
|
-
this.child((renderer) => {
|
|
3264
|
-
renderer.local.select_value = value;
|
|
3265
|
-
fn(renderer);
|
|
3266
|
-
});
|
|
3267
|
-
this.push(`${is_rich ? "<!>" : ""}</select>`);
|
|
3268
|
-
}
|
|
3269
|
-
/**
|
|
3270
|
-
* @param {Record<string, any>} attrs
|
|
3271
|
-
* @param {string | number | boolean | ((renderer: Renderer) => void)} body
|
|
3272
|
-
* @param {string | undefined} [css_hash]
|
|
3273
|
-
* @param {Record<string, boolean> | undefined} [classes]
|
|
3274
|
-
* @param {Record<string, string> | undefined} [styles]
|
|
3275
|
-
* @param {number | undefined} [flags]
|
|
3276
|
-
* @param {boolean | undefined} [is_rich]
|
|
3277
|
-
*/
|
|
3278
|
-
option(attrs, body, css_hash, classes, styles, flags, is_rich) {
|
|
3279
|
-
this.#out.push(`<option${attributes(attrs, css_hash, classes, styles, flags)}`);
|
|
3280
|
-
const close = (renderer, value, { head: head2, body: body2 }) => {
|
|
3281
|
-
if (has_own_property.call(attrs, "value")) {
|
|
3282
|
-
value = attrs.value;
|
|
3283
|
-
}
|
|
3284
|
-
if (value === this.local.select_value) {
|
|
3285
|
-
renderer.#out.push(' selected=""');
|
|
3286
|
-
}
|
|
3287
|
-
renderer.#out.push(`>${body2}${is_rich ? "<!>" : ""}</option>`);
|
|
3288
|
-
if (head2) {
|
|
3289
|
-
renderer.head((child) => child.push(head2));
|
|
3290
|
-
}
|
|
3291
|
-
};
|
|
3292
|
-
if (typeof body === "function") {
|
|
3293
|
-
this.child((renderer) => {
|
|
3294
|
-
const r = new Renderer(this.global, this);
|
|
3295
|
-
body(r);
|
|
3296
|
-
if (this.global.mode === "async") {
|
|
3297
|
-
return r.#collect_content_async().then((content) => {
|
|
3298
|
-
close(renderer, content.body.replaceAll("<!---->", ""), content);
|
|
3299
|
-
});
|
|
3300
|
-
} else {
|
|
3301
|
-
const content = r.#collect_content();
|
|
3302
|
-
close(renderer, content.body.replaceAll("<!---->", ""), content);
|
|
3303
|
-
}
|
|
3304
|
-
});
|
|
3305
|
-
} else {
|
|
3306
|
-
close(this, body, { body: escape_html(body) });
|
|
3307
|
-
}
|
|
3308
|
-
}
|
|
3309
|
-
/**
|
|
3310
|
-
* @param {(renderer: Renderer) => void} fn
|
|
3311
|
-
*/
|
|
3312
|
-
title(fn) {
|
|
3313
|
-
const path = this.get_path();
|
|
3314
|
-
const close = (head2) => {
|
|
3315
|
-
this.global.set_title(head2, path);
|
|
3316
|
-
};
|
|
3317
|
-
this.child((renderer) => {
|
|
3318
|
-
const r = new Renderer(renderer.global, renderer);
|
|
3319
|
-
fn(r);
|
|
3320
|
-
if (renderer.global.mode === "async") {
|
|
3321
|
-
return r.#collect_content_async().then((content) => {
|
|
3322
|
-
close(content.head);
|
|
3323
|
-
});
|
|
3324
|
-
} else {
|
|
3325
|
-
const content = r.#collect_content();
|
|
3326
|
-
close(content.head);
|
|
3327
|
-
}
|
|
3328
|
-
});
|
|
3329
|
-
}
|
|
3330
|
-
/**
|
|
3331
|
-
* @param {string | (() => Promise<string>)} content
|
|
3332
|
-
*/
|
|
3333
|
-
push(content) {
|
|
3334
|
-
if (typeof content === "function") {
|
|
3335
|
-
this.child(async (renderer) => renderer.push(await content()));
|
|
3336
|
-
} else {
|
|
3337
|
-
this.#out.push(content);
|
|
3338
|
-
}
|
|
3339
|
-
}
|
|
3340
|
-
/**
|
|
3341
|
-
* @param {() => void} fn
|
|
3342
|
-
*/
|
|
3343
|
-
on_destroy(fn) {
|
|
3344
|
-
(this.#on_destroy ??= []).push(fn);
|
|
3345
|
-
}
|
|
3346
|
-
/**
|
|
3347
|
-
* @returns {number[]}
|
|
3348
|
-
*/
|
|
3349
|
-
get_path() {
|
|
3350
|
-
return this.#parent ? [...this.#parent.get_path(), this.#parent.#out.indexOf(this)] : [];
|
|
3351
|
-
}
|
|
3352
|
-
/**
|
|
3353
|
-
* @deprecated this is needed for legacy component bindings
|
|
3354
|
-
*/
|
|
3355
|
-
copy() {
|
|
3356
|
-
const copy = new Renderer(this.global, this.#parent);
|
|
3357
|
-
copy.#out = this.#out.map((item) => item instanceof Renderer ? item.copy() : item);
|
|
3358
|
-
copy.promise = this.promise;
|
|
3359
|
-
return copy;
|
|
3360
|
-
}
|
|
3361
|
-
/**
|
|
3362
|
-
* @param {Renderer} other
|
|
3363
|
-
* @deprecated this is needed for legacy component bindings
|
|
3364
|
-
*/
|
|
3365
|
-
subsume(other) {
|
|
3366
|
-
if (this.global.mode !== other.global.mode) {
|
|
3367
|
-
throw new Error(
|
|
3368
|
-
"invariant: A renderer cannot switch modes. If you're seeing this, there's a compiler bug. File an issue!"
|
|
3369
|
-
);
|
|
3370
|
-
}
|
|
3371
|
-
this.local = other.local;
|
|
3372
|
-
this.#out = other.#out.map((item, i) => {
|
|
3373
|
-
const current = this.#out[i];
|
|
3374
|
-
if (current instanceof Renderer && item instanceof Renderer) {
|
|
3375
|
-
current.subsume(item);
|
|
3376
|
-
return current;
|
|
3377
|
-
}
|
|
3378
|
-
return item;
|
|
3379
|
-
});
|
|
3380
|
-
this.promise = other.promise;
|
|
3381
|
-
this.type = other.type;
|
|
3382
|
-
}
|
|
3383
|
-
get length() {
|
|
3384
|
-
return this.#out.length;
|
|
3385
|
-
}
|
|
3386
|
-
/**
|
|
3387
|
-
* Creates the hydration comment that marks the start of a failed boundary.
|
|
3388
|
-
* The error is JSON-serialized and embedded inside an HTML comment for the client
|
|
3389
|
-
* to parse during hydration. The JSON is escaped to prevent `-->` or `<!--` sequences
|
|
3390
|
-
* from breaking out of the comment (XSS). Uses unicode escapes which `JSON.parse()`
|
|
3391
|
-
* handles transparently.
|
|
3392
|
-
* @param {unknown} error
|
|
3393
|
-
* @returns {string}
|
|
3394
|
-
*/
|
|
3395
|
-
static #serialize_failed_boundary(error) {
|
|
3396
|
-
var json = JSON.stringify(error);
|
|
3397
|
-
var escaped = json.replace(/>/g, "\\u003e").replace(/</g, "\\u003c");
|
|
3398
|
-
return `<!--${HYDRATION_START_FAILED}${escaped}-->`;
|
|
3399
|
-
}
|
|
3400
|
-
/**
|
|
3401
|
-
* Only available on the server and when compiling with the `server` option.
|
|
3402
|
-
* Takes a component and returns an object with `body` and `head` properties on it, which you can use to populate the HTML when server-rendering your app.
|
|
3403
|
-
* @template {Record<string, any>} Props
|
|
3404
|
-
* @param {Component<Props>} component
|
|
3405
|
-
* @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp }} [options]
|
|
3406
|
-
* @returns {RenderOutput}
|
|
3407
|
-
*/
|
|
3408
|
-
static render(component, options = {}) {
|
|
3409
|
-
let sync;
|
|
3410
|
-
const result = (
|
|
3411
|
-
/** @type {RenderOutput} */
|
|
3412
|
-
{}
|
|
3413
|
-
);
|
|
3414
|
-
Object.defineProperties(result, {
|
|
3415
|
-
html: {
|
|
3416
|
-
get: () => {
|
|
3417
|
-
return (sync ??= Renderer.#render(component, options)).body;
|
|
3418
|
-
}
|
|
3419
|
-
},
|
|
3420
|
-
head: {
|
|
3421
|
-
get: () => {
|
|
3422
|
-
return (sync ??= Renderer.#render(component, options)).head;
|
|
3423
|
-
}
|
|
3424
|
-
},
|
|
3425
|
-
body: {
|
|
3426
|
-
get: () => {
|
|
3427
|
-
return (sync ??= Renderer.#render(component, options)).body;
|
|
3428
|
-
}
|
|
3429
|
-
},
|
|
3430
|
-
hashes: {
|
|
3431
|
-
value: {
|
|
3432
|
-
script: ""
|
|
3433
|
-
}
|
|
3434
|
-
},
|
|
3435
|
-
then: {
|
|
3436
|
-
value: (
|
|
3437
|
-
/**
|
|
3438
|
-
* this is not type-safe, but honestly it's the best I can do right now, and it's a straightforward function.
|
|
3439
|
-
*
|
|
3440
|
-
* @template TResult1
|
|
3441
|
-
* @template [TResult2=never]
|
|
3442
|
-
* @param { (value: SyncRenderOutput) => TResult1 } onfulfilled
|
|
3443
|
-
* @param { (reason: unknown) => TResult2 } onrejected
|
|
3444
|
-
*/
|
|
3445
|
-
(onfulfilled, onrejected) => {
|
|
3446
|
-
{
|
|
3447
|
-
const result2 = sync ??= Renderer.#render(component, options);
|
|
3448
|
-
const user_result = onfulfilled({
|
|
3449
|
-
head: result2.head,
|
|
3450
|
-
body: result2.body,
|
|
3451
|
-
html: result2.body,
|
|
3452
|
-
hashes: { script: [] }
|
|
3453
|
-
});
|
|
3454
|
-
return Promise.resolve(user_result);
|
|
3455
|
-
}
|
|
3456
|
-
}
|
|
3457
|
-
)
|
|
3458
|
-
}
|
|
3459
|
-
});
|
|
3460
|
-
return result;
|
|
3461
|
-
}
|
|
3462
|
-
/**
|
|
3463
|
-
* Collect all of the `onDestroy` callbacks registered during rendering. In an async context, this is only safe to call
|
|
3464
|
-
* after awaiting `collect_async`.
|
|
3465
|
-
*
|
|
3466
|
-
* Child renderers are "porous" and don't affect execution order, but component body renderers
|
|
3467
|
-
* create ordering boundaries. Within a renderer, callbacks run in order until hitting a component boundary.
|
|
3468
|
-
* @returns {Iterable<() => void>}
|
|
3469
|
-
*/
|
|
3470
|
-
*#collect_on_destroy() {
|
|
3471
|
-
for (const component of this.#traverse_components()) {
|
|
3472
|
-
yield* component.#collect_ondestroy();
|
|
3473
|
-
}
|
|
3474
|
-
}
|
|
3475
|
-
/**
|
|
3476
|
-
* Performs a depth-first search of renderers, yielding the deepest components first, then additional components as we backtrack up the tree.
|
|
3477
|
-
* @returns {Iterable<Renderer>}
|
|
3478
|
-
*/
|
|
3479
|
-
*#traverse_components() {
|
|
3480
|
-
for (const child of this.#out) {
|
|
3481
|
-
if (typeof child !== "string") {
|
|
3482
|
-
yield* child.#traverse_components();
|
|
3483
|
-
}
|
|
3484
|
-
}
|
|
3485
|
-
if (this.#is_component_body) {
|
|
3486
|
-
yield this;
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
/**
|
|
3490
|
-
* @returns {Iterable<() => void>}
|
|
3491
|
-
*/
|
|
3492
|
-
*#collect_ondestroy() {
|
|
3493
|
-
if (this.#on_destroy) {
|
|
3494
|
-
for (const fn of this.#on_destroy) {
|
|
3495
|
-
yield fn;
|
|
3496
|
-
}
|
|
3497
|
-
}
|
|
3498
|
-
for (const child of this.#out) {
|
|
3499
|
-
if (child instanceof Renderer && !child.#is_component_body) {
|
|
3500
|
-
yield* child.#collect_ondestroy();
|
|
3501
|
-
}
|
|
3502
|
-
}
|
|
3503
|
-
}
|
|
3504
|
-
/**
|
|
3505
|
-
* Render a component. Throws if any of the children are performing asynchronous work.
|
|
3506
|
-
*
|
|
3507
|
-
* @template {Record<string, any>} Props
|
|
3508
|
-
* @param {Component<Props>} component
|
|
3509
|
-
* @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string }} options
|
|
3510
|
-
* @returns {AccumulatedContent}
|
|
3511
|
-
*/
|
|
3512
|
-
static #render(component, options) {
|
|
3513
|
-
var previous_context = ssr_context;
|
|
3514
|
-
try {
|
|
3515
|
-
const renderer = Renderer.#open_render("sync", component, options);
|
|
3516
|
-
const content = renderer.#collect_content();
|
|
3517
|
-
return Renderer.#close_render(content, renderer);
|
|
3518
|
-
} finally {
|
|
3519
|
-
abort();
|
|
3520
|
-
set_ssr_context(previous_context);
|
|
3521
|
-
}
|
|
3522
|
-
}
|
|
3523
|
-
/**
|
|
3524
|
-
* Render a component.
|
|
3525
|
-
*
|
|
3526
|
-
* @template {Record<string, any>} Props
|
|
3527
|
-
* @param {Component<Props>} component
|
|
3528
|
-
* @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp }} options
|
|
3529
|
-
* @returns {Promise<AccumulatedContent & { hashes: { script: Sha256Source[] } }>}
|
|
3530
|
-
*/
|
|
3531
|
-
static async #render_async(component, options) {
|
|
3532
|
-
const previous_context = ssr_context;
|
|
3533
|
-
try {
|
|
3534
|
-
const renderer = Renderer.#open_render("async", component, options);
|
|
3535
|
-
const content = await renderer.#collect_content_async();
|
|
3536
|
-
const hydratables = await renderer.#collect_hydratables();
|
|
3537
|
-
if (hydratables !== null) {
|
|
3538
|
-
content.head = hydratables + content.head;
|
|
3539
|
-
}
|
|
3540
|
-
return Renderer.#close_render(content, renderer);
|
|
3541
|
-
} finally {
|
|
3542
|
-
set_ssr_context(previous_context);
|
|
3543
|
-
abort();
|
|
3544
|
-
}
|
|
3545
|
-
}
|
|
3546
|
-
/**
|
|
3547
|
-
* Collect all of the code from the `out` array and return it as a string, or a promise resolving to a string.
|
|
3548
|
-
* @param {AccumulatedContent} content
|
|
3549
|
-
* @returns {AccumulatedContent}
|
|
3550
|
-
*/
|
|
3551
|
-
#collect_content(content = { head: "", body: "" }) {
|
|
3552
|
-
for (const item of this.#out) {
|
|
3553
|
-
if (typeof item === "string") {
|
|
3554
|
-
content[this.type] += item;
|
|
3555
|
-
} else if (item instanceof Renderer) {
|
|
3556
|
-
item.#collect_content(content);
|
|
3557
|
-
}
|
|
3558
|
-
}
|
|
3559
|
-
return content;
|
|
3560
|
-
}
|
|
3561
|
-
/**
|
|
3562
|
-
* Collect all of the code from the `out` array and return it as a string.
|
|
3563
|
-
* @param {AccumulatedContent} content
|
|
3564
|
-
* @returns {Promise<AccumulatedContent>}
|
|
3565
|
-
*/
|
|
3566
|
-
async #collect_content_async(content = { head: "", body: "" }) {
|
|
3567
|
-
await this.promise;
|
|
3568
|
-
for (const item of this.#out) {
|
|
3569
|
-
if (typeof item === "string") {
|
|
3570
|
-
content[this.type] += item;
|
|
3571
|
-
} else if (item instanceof Renderer) {
|
|
3572
|
-
if (item.#boundary) {
|
|
3573
|
-
const boundary_content = { head: "", body: "" };
|
|
3574
|
-
try {
|
|
3575
|
-
await item.#collect_content_async(boundary_content);
|
|
3576
|
-
content.head += boundary_content.head;
|
|
3577
|
-
content.body += boundary_content.body;
|
|
3578
|
-
} catch (error) {
|
|
3579
|
-
const { context, failed, transformError } = item.#boundary;
|
|
3580
|
-
set_ssr_context(context);
|
|
3581
|
-
let transformed = await transformError(error);
|
|
3582
|
-
const failed_renderer = new Renderer(item.global, item);
|
|
3583
|
-
failed_renderer.type = item.type;
|
|
3584
|
-
failed_renderer.#out.push(Renderer.#serialize_failed_boundary(transformed));
|
|
3585
|
-
failed(failed_renderer, transformed, noop);
|
|
3586
|
-
failed_renderer.#out.push(BLOCK_CLOSE);
|
|
3587
|
-
await failed_renderer.#collect_content_async(content);
|
|
3588
|
-
}
|
|
3589
|
-
} else {
|
|
3590
|
-
await item.#collect_content_async(content);
|
|
3591
|
-
}
|
|
3592
|
-
}
|
|
3593
|
-
}
|
|
3594
|
-
return content;
|
|
3595
|
-
}
|
|
3596
|
-
async #collect_hydratables() {
|
|
3597
|
-
const ctx = get_render_context().hydratable;
|
|
3598
|
-
for (const [_, key] of ctx.unresolved_promises) {
|
|
3599
|
-
unresolved_hydratable(key, ctx.lookup.get(key)?.stack ?? "<missing stack trace>");
|
|
3600
|
-
}
|
|
3601
|
-
for (const comparison of ctx.comparisons) {
|
|
3602
|
-
await comparison;
|
|
3603
|
-
}
|
|
3604
|
-
return await this.#hydratable_block(ctx);
|
|
3605
|
-
}
|
|
3606
|
-
/**
|
|
3607
|
-
* @template {Record<string, any>} Props
|
|
3608
|
-
* @param {'sync' | 'async'} mode
|
|
3609
|
-
* @param {import('svelte').Component<Props>} component
|
|
3610
|
-
* @param {{ props?: Omit<Props, '$$slots' | '$$events'>; context?: Map<any, any>; idPrefix?: string; csp?: Csp; transformError?: (error: unknown) => unknown }} options
|
|
3611
|
-
* @returns {Renderer}
|
|
3612
|
-
*/
|
|
3613
|
-
static #open_render(mode, component, options) {
|
|
3614
|
-
if (options.idPrefix?.includes("--")) {
|
|
3615
|
-
invalid_id_prefix();
|
|
3616
|
-
}
|
|
3617
|
-
var previous_context = ssr_context;
|
|
3618
|
-
try {
|
|
3619
|
-
const renderer = new Renderer(
|
|
3620
|
-
new SSRState(
|
|
3621
|
-
mode,
|
|
3622
|
-
options.idPrefix ? options.idPrefix + "-" : "",
|
|
3623
|
-
options.csp,
|
|
3624
|
-
options.transformError
|
|
3625
|
-
)
|
|
3626
|
-
);
|
|
3627
|
-
const context = { p: null, c: options.context ?? null, r: renderer };
|
|
3628
|
-
set_ssr_context(context);
|
|
3629
|
-
renderer.push(BLOCK_OPEN);
|
|
3630
|
-
component(renderer, options.props ?? {});
|
|
3631
|
-
renderer.push(BLOCK_CLOSE);
|
|
3632
|
-
return renderer;
|
|
3633
|
-
} finally {
|
|
3634
|
-
set_ssr_context(previous_context);
|
|
3635
|
-
}
|
|
3636
|
-
}
|
|
3637
|
-
/**
|
|
3638
|
-
* @param {AccumulatedContent} content
|
|
3639
|
-
* @param {Renderer} renderer
|
|
3640
|
-
* @returns {AccumulatedContent & { hashes: { script: Sha256Source[] } }}
|
|
3641
|
-
*/
|
|
3642
|
-
static #close_render(content, renderer) {
|
|
3643
|
-
for (const cleanup of renderer.#collect_on_destroy()) {
|
|
3644
|
-
cleanup();
|
|
3645
|
-
}
|
|
3646
|
-
let head2 = content.head + renderer.global.get_title();
|
|
3647
|
-
let body = content.body;
|
|
3648
|
-
for (const { hash, code } of renderer.global.css) {
|
|
3649
|
-
head2 += `<style id="${hash}">${code}</style>`;
|
|
3650
|
-
}
|
|
3651
|
-
return {
|
|
3652
|
-
head: head2,
|
|
3653
|
-
body,
|
|
3654
|
-
hashes: {
|
|
3655
|
-
script: renderer.global.csp.script_hashes
|
|
3656
|
-
}
|
|
3657
|
-
};
|
|
3658
|
-
}
|
|
3659
|
-
/**
|
|
3660
|
-
* @param {HydratableContext} ctx
|
|
3661
|
-
*/
|
|
3662
|
-
async #hydratable_block(ctx) {
|
|
3663
|
-
if (ctx.lookup.size === 0) {
|
|
3664
|
-
return null;
|
|
3665
|
-
}
|
|
3666
|
-
let entries = [];
|
|
3667
|
-
let has_promises = false;
|
|
3668
|
-
for (const [k, v] of ctx.lookup) {
|
|
3669
|
-
if (v.promises) {
|
|
3670
|
-
has_promises = true;
|
|
3671
|
-
for (const p of v.promises) await p;
|
|
3672
|
-
}
|
|
3673
|
-
entries.push(`[${uneval(k)},${v.serialized}]`);
|
|
3674
|
-
}
|
|
3675
|
-
let prelude = `const h = (window.__svelte ??= {}).h ??= new Map();`;
|
|
3676
|
-
if (has_promises) {
|
|
3677
|
-
prelude = `const r = (v) => Promise.resolve(v);
|
|
3678
|
-
${prelude}`;
|
|
3679
|
-
}
|
|
3680
|
-
const body = `
|
|
3681
|
-
{
|
|
3682
|
-
${prelude}
|
|
3683
|
-
|
|
3684
|
-
for (const [k, v] of [
|
|
3685
|
-
${entries.join(",\n ")}
|
|
3686
|
-
]) {
|
|
3687
|
-
h.set(k, v);
|
|
3688
|
-
}
|
|
3689
|
-
}
|
|
3690
|
-
`;
|
|
3691
|
-
let csp_attr = "";
|
|
3692
|
-
if (this.global.csp.nonce) {
|
|
3693
|
-
csp_attr = ` nonce="${this.global.csp.nonce}"`;
|
|
3694
|
-
} else if (this.global.csp.hash) {
|
|
3695
|
-
const hash = await sha256(body);
|
|
3696
|
-
this.global.csp.script_hashes.push(`sha256-${hash}`);
|
|
3697
|
-
}
|
|
3698
|
-
return `
|
|
3699
|
-
<script${csp_attr}>${body}<\/script>`;
|
|
3700
|
-
}
|
|
3701
|
-
}
|
|
3702
|
-
class SSRState {
|
|
3703
|
-
/** @readonly @type {Csp & { script_hashes: Sha256Source[] }} */
|
|
3704
|
-
csp;
|
|
3705
|
-
/** @readonly @type {'sync' | 'async'} */
|
|
3706
|
-
mode;
|
|
3707
|
-
/** @readonly @type {() => string} */
|
|
3708
|
-
uid;
|
|
3709
|
-
/** @readonly @type {Set<{ hash: string; code: string }>} */
|
|
3710
|
-
css = /* @__PURE__ */ new Set();
|
|
3711
|
-
/**
|
|
3712
|
-
* `transformError` passed to `render`. Called when an error boundary catches an error.
|
|
3713
|
-
* Throws by default if unset in `render`.
|
|
3714
|
-
* @type {(error: unknown) => unknown}
|
|
3715
|
-
*/
|
|
3716
|
-
transformError;
|
|
3717
|
-
/** @type {{ path: number[], value: string }} */
|
|
3718
|
-
#title = { path: [], value: "" };
|
|
3719
|
-
/**
|
|
3720
|
-
* @param {'sync' | 'async'} mode
|
|
3721
|
-
* @param {string} id_prefix
|
|
3722
|
-
* @param {Csp} csp
|
|
3723
|
-
* @param {((error: unknown) => unknown) | undefined} [transformError]
|
|
3724
|
-
*/
|
|
3725
|
-
constructor(mode, id_prefix = "", csp = { hash: false }, transformError) {
|
|
3726
|
-
this.mode = mode;
|
|
3727
|
-
this.csp = { ...csp, script_hashes: [] };
|
|
3728
|
-
this.transformError = transformError ?? ((error) => {
|
|
3729
|
-
throw error;
|
|
3730
|
-
});
|
|
3731
|
-
let uid2 = 1;
|
|
3732
|
-
this.uid = () => `${id_prefix}s${uid2++}`;
|
|
3733
|
-
}
|
|
3734
|
-
get_title() {
|
|
3735
|
-
return this.#title.value;
|
|
3736
|
-
}
|
|
3737
|
-
/**
|
|
3738
|
-
* Performs a depth-first (lexicographic) comparison using the path. Rejects sets
|
|
3739
|
-
* from earlier than or equal to the current value.
|
|
3740
|
-
* @param {string} value
|
|
3741
|
-
* @param {number[]} path
|
|
3742
|
-
*/
|
|
3743
|
-
set_title(value, path) {
|
|
3744
|
-
const current = this.#title.path;
|
|
3745
|
-
let i = 0;
|
|
3746
|
-
let l = Math.min(path.length, current.length);
|
|
3747
|
-
while (i < l && path[i] === current[i]) i += 1;
|
|
3748
|
-
if (path[i] === void 0) return;
|
|
3749
|
-
if (current[i] === void 0 || path[i] > current[i]) {
|
|
3750
|
-
this.#title.path = path;
|
|
3751
|
-
this.#title.value = value;
|
|
3752
|
-
}
|
|
3753
|
-
}
|
|
3754
|
-
}
|
|
3755
|
-
|
|
3756
|
-
export { effect_tracking as $, array_from as A, is_passive_event as B, COMMENT_NODE as C, DevalueError as D, setContext as E, active_effect as F, BOUNDARY_EFFECT as G, HYDRATION_START as H, block as I, branch as J, queue_micro_task as K, LEGACY_PROPS as L, pause_effect as M, current_batch as N, move_effect as O, defer_effect as P, set_active_effect as Q, set_active_reaction as R, set_component_context as S, Batch as T, handle_error as U, active_reaction as V, component_context as W, internal_set as X, destroy_effect as Y, invoke_error_boundary as Z, derived as _, is_plain_object as a, render_effect as a0, HYDRATION_END as a1, HYDRATION_START_ELSE as a2, svelte_boundary_reset_onerror as a3, source as a4, untrack as a5, increment as a6, HYDRATION_START_FAILED as a7, svelte_boundary_reset_noop as a8, push as a9, is_array as aA, get_prototype_of as aB, object_prototype as aC, pop as aa, EFFECT_TRANSPARENT as ab, EFFECT_PRESERVED as ac, without_reactive_context as ad, head as ae, spread_props as af, attr as ag, stringify as ah, ensure_array_like as ai, attributes as aj, clsx as ak, hasContext as al, getContext as am, run as an, attr_class as ao, attr_style as ap, escape_html as aq, bind_props as ar, element as as, props_id as at, ATTACHMENT_KEY as au, ssr_context as av, getAllContexts as aw, lifecycle_function_unavailable as ax, store_get as ay, unsubscribe_stores as az, stringify_string as b, browser as c, safe_not_equal as d, enumerable_symbols as e, set as f, get_type as g, get as h, is_primitive as i, flushSync as j, define_property as k, init_operations as l, mutable_source as m, noop as n, get_first_child as o, get_next_sibling as p, HYDRATION_ERROR as q, render as r, stringify_key as s, hydration_failed as t, uneval as u, valid_array_indices as v, clear_text_content as w, hydration_mismatch as x, component_root as y, create_text as z };
|
|
3757
|
-
//# sourceMappingURL=renderer-BFEBS3DQ.js.map
|