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