@nanoforge-dev/editor 0.0.1 → 0.0.2-beta.394e65b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/_app/immutable/assets/0.DOl0zkp7.css +1 -0
- package/dist/client/_app/immutable/assets/0.DOl0zkp7.css.br +0 -0
- package/dist/client/_app/immutable/assets/0.DOl0zkp7.css.gz +0 -0
- package/dist/client/_app/immutable/assets/10.BP_hUVIU.css +1 -0
- package/dist/client/_app/immutable/assets/10.BP_hUVIU.css.br +0 -0
- package/dist/client/_app/immutable/assets/10.BP_hUVIU.css.gz +0 -0
- package/dist/client/_app/immutable/assets/editor.BuC0XPbM.css.gz +0 -0
- package/dist/client/_app/immutable/assets/error.CV-KWLNP.css +1 -0
- package/dist/client/_app/immutable/assets/error.CV-KWLNP.css.br +1 -0
- package/dist/client/_app/immutable/assets/error.CV-KWLNP.css.gz +0 -0
- package/dist/client/_app/immutable/chunks/08VXUWAP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/43DmfD33.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/6RTg0lbw2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B2921r3t2.js +1 -0
- package/dist/client/_app/immutable/chunks/B2921r3t2.js.br +1 -0
- package/dist/client/_app/immutable/chunks/B2921r3t2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B4w9-fYM2.js +1 -0
- package/dist/client/_app/immutable/chunks/B4w9-fYM2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B4w9-fYM2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B5-_aFwp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B8J7ngcE2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B9JPFI3C2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BApLQfqY.js +6 -0
- package/dist/client/_app/immutable/chunks/BApLQfqY.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BApLQfqY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BDBSsbMb.js +1 -0
- package/dist/client/_app/immutable/chunks/BDBSsbMb.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BDBSsbMb.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BEEn4gHE.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BEtHBSE62.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BKFRmAUx.js +0 -0
- package/dist/client/_app/immutable/chunks/BKFRmAUx.js.br +1 -0
- package/dist/client/_app/immutable/chunks/BKFRmAUx.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BKxtCVv1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BOotOW0E2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BS47D1Yd2.js +1 -0
- package/dist/client/_app/immutable/chunks/BS47D1Yd2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BS47D1Yd2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BWDRzheF2.js +1 -0
- package/dist/client/_app/immutable/chunks/BWDRzheF2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BWDRzheF2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BWPQTe0t.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BYgofb2h.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BZqFHUa32.js +1 -0
- package/dist/client/_app/immutable/chunks/BZqFHUa32.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BZqFHUa32.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Ba7i2nA0.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bc_sGQ0U.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BeGwcela.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js +1 -0
- package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Bk9DeFcz2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BlGyHMDZ.js +1 -0
- package/dist/client/_app/immutable/chunks/BlGyHMDZ.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BlGyHMDZ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bri6UV-V2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BvRk9kiK.js +0 -0
- package/dist/client/_app/immutable/chunks/BvRk9kiK.js.br +1 -0
- package/dist/client/_app/immutable/chunks/BvRk9kiK.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BwWAgYKi2.js +1 -0
- package/dist/client/_app/immutable/chunks/BwWAgYKi2.js.br +3 -0
- package/dist/client/_app/immutable/chunks/BwWAgYKi2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BwWrilGY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bxkupp3x.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bz4Y3fRF.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BzGBrbo22.js +1 -0
- package/dist/client/_app/immutable/chunks/BzGBrbo22.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BzGBrbo22.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C-y9NEjX2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C50LmoI1.js +0 -0
- package/dist/client/_app/immutable/chunks/C50LmoI1.js.br +1 -0
- package/dist/client/_app/immutable/chunks/C50LmoI1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C531GsRP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C5_-GSwl2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{Bi01QGTh2.js → C7bUlFLk2.js} +1 -1
- package/dist/client/_app/immutable/chunks/C7bUlFLk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/C7bUlFLk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C7h46wYY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{XIokwnxj2.js → C83DJP9w2.js} +1 -1
- package/dist/client/_app/immutable/chunks/C83DJP9w2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/C83DJP9w2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C8Ef5oNN2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CC2rA5mh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CIPQ_RoX.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CKei9xPI2.js +2 -0
- package/dist/client/_app/immutable/chunks/CKei9xPI2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CKei9xPI2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CRfGWb83.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CVaqCwHa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CcwsVR0C.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CfSJPG6W2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cimd5fb32.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cl5WnCnS.js +0 -0
- package/dist/client/_app/immutable/chunks/Cl5WnCnS.js.br +1 -0
- package/dist/client/_app/immutable/chunks/Cl5WnCnS.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/ClamHrr6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cm7r79vr.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CmuvbAn5.js +1 -0
- package/dist/client/_app/immutable/chunks/CmuvbAn5.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CmuvbAn5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CnhOha0Z2.js +4 -0
- package/dist/client/_app/immutable/chunks/CnhOha0Z2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CnhOha0Z2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Coa6r0tY.js +1 -0
- package/dist/client/_app/immutable/chunks/Coa6r0tY.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Coa6r0tY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CopQ2nXW.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CpzslTdj2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CsQS60Ue2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Ctc_6ReW.js +1 -0
- package/dist/client/_app/immutable/chunks/Ctc_6ReW.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Ctc_6ReW.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D-oSqn_W2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D-ptJ9y-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D05T4iGw2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D3hlyOfw.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DFXoGGM32.js +1 -0
- package/dist/client/_app/immutable/chunks/DFXoGGM32.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DFXoGGM32.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{BwWFGvpp2.js → DH-ThjiG2.js} +2 -2
- package/dist/client/_app/immutable/chunks/DH-ThjiG2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DH-ThjiG2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DHQLzCjY2.js +1 -0
- package/dist/client/_app/immutable/chunks/DHQLzCjY2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DHQLzCjY2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DHpiXF5c.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DIMkf-bt.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DISqw1ZD.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DMUM7wLl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DT7zqm-g.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{B1bBmRUz2.js → DT8Ddh1L2.js} +1 -1
- package/dist/client/_app/immutable/chunks/DT8Ddh1L2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DT8Ddh1L2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DTj74zXo.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DV3o63ZY2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DZFCIeNp2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D_Lu-MrJ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DauUninz.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DbInun42.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DdL9SqIa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/De2hgUGE.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DezsRK8O.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DfAL3LhV.js +293 -0
- package/dist/client/_app/immutable/chunks/DfAL3LhV.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DfAL3LhV.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DgrK8UCQ.js +0 -0
- package/dist/client/_app/immutable/chunks/DgrK8UCQ.js.br +1 -0
- package/dist/client/_app/immutable/chunks/DgrK8UCQ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DkqhCAOL.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DmHpPYUd.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DpFanUEy2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DrH0SRf2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{BnEty9Zf.js → DuDzfUqN2.js} +1 -1
- package/dist/client/_app/immutable/chunks/DuDzfUqN2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DuDzfUqN2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DybRo6-H.js +0 -0
- package/dist/client/_app/immutable/chunks/DybRo6-H.js.br +1 -0
- package/dist/client/_app/immutable/chunks/DybRo6-H.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Fu4roQAh.js +1 -0
- package/dist/client/_app/immutable/chunks/Fu4roQAh.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Fu4roQAh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/FvmIjYaQ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/JwdpM2S5.js +1 -0
- package/dist/client/_app/immutable/chunks/JwdpM2S5.js.br +0 -0
- package/dist/client/_app/immutable/chunks/JwdpM2S5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/NEE52Syq.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/SOo6toE5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Z5eAx3Zn.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/ZLGReh43.js +3 -0
- package/dist/client/_app/immutable/chunks/ZLGReh43.js.br +0 -0
- package/dist/client/_app/immutable/chunks/ZLGReh43.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/bTuwJoIa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/fmXr3nnJ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/gp-XZpBa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/i0X4ZdIN.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/mRVEsFly2.js +1 -0
- package/dist/client/_app/immutable/chunks/mRVEsFly2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/mRVEsFly2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/nr791fC2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/onAF5SnQ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/orCHVlgT.js +1 -0
- package/dist/client/_app/immutable/chunks/orCHVlgT.js.br +0 -0
- package/dist/client/_app/immutable/chunks/orCHVlgT.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/oz_6vUea.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/sBoK_t0W2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/uo5fvlDn2.js +872 -0
- package/dist/client/_app/immutable/chunks/uo5fvlDn2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/uo5fvlDn2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
- package/dist/client/_app/immutable/entry/app.BzOeKbPs.js +2 -0
- package/dist/client/_app/immutable/entry/app.BzOeKbPs.js.br +0 -0
- package/dist/client/_app/immutable/entry/app.BzOeKbPs.js.gz +0 -0
- package/dist/client/_app/immutable/entry/start.CNF2MUuM.js +1 -0
- package/dist/client/_app/immutable/entry/start.CNF2MUuM.js.br +0 -0
- package/dist/client/_app/immutable/entry/start.CNF2MUuM.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/0.CPqemWaq.js +9 -0
- package/dist/client/_app/immutable/nodes/0.CPqemWaq.js.br +0 -0
- package/dist/client/_app/immutable/nodes/0.CPqemWaq.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/1.OaHPDibP.js +1 -0
- package/dist/client/_app/immutable/nodes/1.OaHPDibP.js.br +2 -0
- package/dist/client/_app/immutable/nodes/1.OaHPDibP.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/10.BRGL1_0_.js +6 -0
- package/dist/client/_app/immutable/nodes/10.BRGL1_0_.js.br +0 -0
- package/dist/client/_app/immutable/nodes/10.BRGL1_0_.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/2.BK6m2FYa.js +1 -0
- package/dist/client/_app/immutable/nodes/2.BK6m2FYa.js.br +0 -0
- package/dist/client/_app/immutable/nodes/2.BK6m2FYa.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/9.Hjdmo-wG.js +1 -0
- package/dist/client/_app/immutable/nodes/9.Hjdmo-wG.js.br +0 -0
- package/dist/client/_app/immutable/nodes/9.Hjdmo-wG.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{css.worker-DRFWP4k7.js → css.worker-CvXBzhp8.js} +2 -2
- package/dist/client/_app/immutable/workers/css.worker-CvXBzhp8.js.br +0 -0
- package/dist/client/_app/immutable/workers/css.worker-CvXBzhp8.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{html.worker-CXAEVlCI.js → html.worker-BO6WuOEO.js} +3 -3
- package/dist/client/_app/immutable/workers/html.worker-BO6WuOEO.js.br +0 -0
- package/dist/client/_app/immutable/workers/html.worker-BO6WuOEO.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{json.worker-Dkwen84u.js → json.worker-BkJRGcCJ.js} +2 -2
- package/dist/client/_app/immutable/workers/json.worker-BkJRGcCJ.js.br +0 -0
- package/dist/client/_app/immutable/workers/json.worker-BkJRGcCJ.js.gz +0 -0
- package/dist/client/_app/immutable/workers/{ts.worker-DJwDx_mp.js → ts.worker-B0J26iPs.js} +33 -18
- package/dist/client/_app/immutable/workers/ts.worker-B0J26iPs.js.br +0 -0
- package/dist/client/_app/immutable/workers/ts.worker-B0J26iPs.js.gz +0 -0
- package/dist/client/_app/version.json +1 -1
- package/dist/client/_app/version.json.br +0 -0
- package/dist/client/_app/version.json.gz +0 -0
- package/dist/client/assets/fonts/dmmono-53a90e28.woff2 +0 -0
- package/dist/client/assets/fonts/dmmono-cd6ed524.woff2 +0 -0
- package/dist/client/assets/fonts/dmsans-56778fc7.woff2 +0 -0
- package/dist/client/assets/fonts/dmsans-7c37c8a6.woff2 +0 -0
- package/dist/client/assets/fonts/dmserifdisplay-1f997542.woff2 +0 -0
- package/dist/client/assets/fonts/dmserifdisplay-b6206db2.woff2 +0 -0
- package/dist/client/favicon.svg.gz +0 -0
- package/dist/server/chunks/0-CM-Y6ut6.js +16 -0
- package/dist/server/chunks/0-CM-Y6ut6.js.map +1 -0
- package/dist/server/chunks/{1-BgVLfks1.js → 1-C2ffLW3O.js} +7 -7
- package/dist/server/chunks/{1-BgVLfks1.js.map → 1-C2ffLW3O.js.map} +1 -1
- package/dist/server/chunks/10-DhkWDAeT.js +22 -0
- package/dist/server/chunks/10-DhkWDAeT.js.map +1 -0
- package/dist/server/chunks/{2-CzdRJh2P.js → 2-BAs82M_7.js} +13 -13
- package/dist/server/chunks/2-BAs82M_7.js.map +1 -0
- package/dist/server/chunks/3-CtfjP4uZ.js +263 -0
- package/dist/server/chunks/3-CtfjP4uZ.js.map +1 -0
- package/dist/server/chunks/4-DP-_gDay.js +29 -0
- package/dist/server/chunks/4-DP-_gDay.js.map +1 -0
- package/dist/server/chunks/5-610NKQc3.js +29 -0
- package/dist/server/chunks/5-610NKQc3.js.map +1 -0
- package/dist/server/chunks/6-Dl_h_OyU.js +98 -0
- package/dist/server/chunks/6-Dl_h_OyU.js.map +1 -0
- package/dist/server/chunks/7-BUEKgK7m.js +27 -0
- package/dist/server/chunks/7-BUEKgK7m.js.map +1 -0
- package/dist/server/chunks/8-s07Rj2Zo.js +35 -0
- package/dist/server/chunks/8-s07Rj2Zo.js.map +1 -0
- package/dist/server/chunks/9-CDMb5iwc.js +22 -0
- package/dist/server/chunks/9-CDMb5iwc.js.map +1 -0
- package/dist/server/chunks/_layout.svelte-uX7XiB9K.js +1944 -0
- package/dist/server/chunks/_layout.svelte-uX7XiB9K.js.map +1 -0
- package/dist/server/chunks/_page.svelte-Bn7BSazx.js +599 -0
- package/dist/server/chunks/_page.svelte-Bn7BSazx.js.map +1 -0
- package/dist/server/chunks/_page.svelte-DR4jsdM6.js +155 -0
- package/dist/server/chunks/_page.svelte-DR4jsdM6.js.map +1 -0
- package/dist/server/chunks/_page.svelte-vOyGpofm.js +6274 -0
- package/dist/server/chunks/_page.svelte-vOyGpofm.js.map +1 -0
- package/dist/server/chunks/_server.ts-DlC2sxcm.js +35 -0
- package/dist/server/chunks/_server.ts-DlC2sxcm.js.map +1 -0
- package/dist/server/chunks/_server.ts-a-I4s4R9.js +19 -0
- package/dist/server/chunks/_server.ts-a-I4s4R9.js.map +1 -0
- package/dist/server/chunks/{app-l-cuFP__.js → app-DUeJj5RD.js} +1 -1
- package/dist/server/chunks/app-DUeJj5RD.js.map +1 -0
- package/dist/server/chunks/{chunk-9PtDFT_4.js → chunk-ByNZkrT6.js} +5 -7
- package/dist/server/chunks/chunk-ByNZkrT6.js.map +1 -0
- package/dist/server/chunks/chunk-D7D4PA-g.js +13 -0
- package/dist/server/chunks/{client-Dx0O-q6m.js → client-bZcBshMs.js} +53 -9
- package/dist/server/chunks/client-bZcBshMs.js.map +1 -0
- package/dist/server/chunks/const-Dy5RfQqP.js +17 -0
- package/dist/server/chunks/const-Dy5RfQqP.js.map +1 -0
- package/dist/server/chunks/decorate-CQ_JIwqD.js +11 -0
- package/dist/server/chunks/decorate-CQ_JIwqD.js.map +1 -0
- package/dist/server/chunks/error-DYeUQ7mQ.js +14985 -0
- package/dist/server/chunks/error-DYeUQ7mQ.js.map +1 -0
- package/dist/server/chunks/error.svelte-DDsdZM_m.js +12 -0
- package/dist/server/chunks/error.svelte-DDsdZM_m.js.map +1 -0
- package/dist/server/chunks/{dev-7V6fUCff.js → events-Bhh2w-5S.js} +1507 -1032
- package/dist/server/chunks/events-Bhh2w-5S.js.map +1 -0
- package/dist/server/chunks/{exports-j3HcL9It.js → exports-CWOtdr_a.js} +4 -5
- package/dist/server/chunks/exports-CWOtdr_a.js.map +1 -0
- package/dist/server/chunks/format-DGOlJxF5.js +123 -0
- package/dist/server/chunks/format-DGOlJxF5.js.map +1 -0
- package/dist/server/chunks/hooks.server-BGpE7svk.js +362 -0
- package/dist/server/chunks/hooks.server-BGpE7svk.js.map +1 -0
- package/dist/server/chunks/{hooks.universal-0JHSyeLw.js → hooks.universal-DhGFdBkK.js} +2 -2
- package/dist/server/chunks/{hooks.universal-0JHSyeLw.js.map → hooks.universal-DhGFdBkK.js.map} +1 -1
- package/dist/server/chunks/{internal-BgFVxXcc.js → internal-DsA4iYdx.js} +2 -2
- package/dist/server/chunks/{internal-BgFVxXcc.js.map → internal-DsA4iYdx.js.map} +1 -1
- package/dist/server/chunks/{internal-BqoJe00m.js → internal2-DBpj29pr.js} +185 -254
- package/dist/server/chunks/internal2-DBpj29pr.js.map +1 -0
- package/dist/server/chunks/loader-circle-CFNm9vip.js +1592 -0
- package/dist/server/chunks/loader-circle-CFNm9vip.js.map +1 -0
- package/dist/server/chunks/logo-DQI0khKS.js +848 -0
- package/dist/server/chunks/logo-DQI0khKS.js.map +1 -0
- package/dist/server/chunks/project-loader-DaQVgPID.js +185 -0
- package/dist/server/chunks/project-loader-DaQVgPID.js.map +1 -0
- package/dist/server/chunks/request-handler-guINVc1G.js +1089 -0
- package/dist/server/chunks/request-handler-guINVc1G.js.map +1 -0
- package/dist/server/chunks/{runtime-ISoc6PNh.js → runtime-CDHWD9vo.js} +3 -7
- package/dist/server/chunks/runtime-CDHWD9vo.js.map +1 -0
- package/dist/server/chunks/schemas-BDVbWglI.js +11364 -0
- package/dist/server/chunks/schemas-BDVbWglI.js.map +1 -0
- package/dist/server/chunks/{hooks.server-DqaQ1y1I.js → session-DLCjVGKo.js} +77 -368
- package/dist/server/chunks/session-DLCjVGKo.js.map +1 -0
- package/dist/server/chunks/{shared-server-D--cyMsO.js → shared-server-Cha0Qlv9.js} +1 -1
- package/dist/server/chunks/shared-server-Cha0Qlv9.js.map +1 -0
- package/dist/server/chunks/{error.svelte-C5CCEI9O.js → state-DwdUA00F.js} +5 -33
- package/dist/server/chunks/state-DwdUA00F.js.map +1 -0
- package/dist/server/chunks/window-D774FEA_.js +6 -0
- package/dist/server/chunks/window-D774FEA_.js.map +1 -0
- package/dist/server/index.js +387 -235
- package/dist/server/index.js.map +1 -1
- package/dist/server/manifest.js +98 -26
- package/dist/server/manifest.js.map +1 -1
- package/package.json +57 -41
- package/dist/client/_app/immutable/assets/0.562EP7L3.css +0 -1
- package/dist/client/_app/immutable/assets/0.562EP7L3.css.br +0 -0
- package/dist/client/_app/immutable/assets/0.562EP7L3.css.gz +0 -0
- package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css +0 -1
- package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css.br +0 -0
- package/dist/client/_app/immutable/assets/2.Dl9w-_FK.css.gz +0 -0
- package/dist/client/_app/immutable/assets/api.CD54FDqW.css +0 -1
- package/dist/client/_app/immutable/assets/api.CD54FDqW.css.br +0 -0
- package/dist/client/_app/immutable/assets/api.CD54FDqW.css.gz +0 -0
- package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js +0 -1
- package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/0wEXW2Hc2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/1rG2eYdz2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/5CAt0tAC.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/5TEFcS4X2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/5k3Q8YWH.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B0Q9zT_Q.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B1GYE4NT.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B1bBmRUz2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B1bBmRUz2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B3IjbASq.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B3VOL0kZ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B5crfj0i.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BAtlESPp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BCAAnHTF2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BEN0jOJp.js +0 -1
- package/dist/client/_app/immutable/chunks/BEN0jOJp.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BEN0jOJp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BHHccBgG2.js +0 -1
- package/dist/client/_app/immutable/chunks/BHHccBgG2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BHHccBgG2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BHxBHC3k.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BK6ghPUh.js +0 -1
- package/dist/client/_app/immutable/chunks/BK6ghPUh.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BK6ghPUh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BL9YzxJT.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BNqbTcCU.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BSRtLNCV.js +0 -3
- package/dist/client/_app/immutable/chunks/BSRtLNCV.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BSRtLNCV.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BSa9oWuP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BTEHXt4u.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BUMhJFWc.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BXNW00E2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B__0yjCH2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B_rYXvqX.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BaORWDBQ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BeRB61Rp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Berct1R62.js +0 -1
- package/dist/client/_app/immutable/chunks/Berct1R62.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Berct1R62.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bi01QGTh2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Bi01QGTh2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BnEty9Zf.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BnEty9Zf.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bp42GhE_.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BqR20QL0.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BuvsQ_0P.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BwWFGvpp2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BwWFGvpp2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BxyUv_372.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C459oz3p.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C4oBl-ul.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C5dBxjD0.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C7TuqZTk.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C84aX3eL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CGFoxiJT2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CGdCAl_w2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CJL4GRLV2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CKihvhpr.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CKybJfA6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CQai7aNJ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CQghOihB.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CTK4WrGL2.js +0 -1
- package/dist/client/_app/immutable/chunks/CTK4WrGL2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CTK4WrGL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CUVqITEW2.js +0 -1
- package/dist/client/_app/immutable/chunks/CUVqITEW2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CUVqITEW2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CVmNMiIj.js +0 -1
- package/dist/client/_app/immutable/chunks/CVmNMiIj.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CVmNMiIj.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CW_66Q8N.js +0 -872
- package/dist/client/_app/immutable/chunks/CW_66Q8N.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CW_66Q8N.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CXBbh9s-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CXlfFz7D2.js +0 -1
- package/dist/client/_app/immutable/chunks/CXlfFz7D2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CXlfFz7D2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/C_QqwttH.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CbFxQFBh.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CmjNmBcK.js +0 -1
- package/dist/client/_app/immutable/chunks/CmjNmBcK.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CmjNmBcK.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CntDmp6G.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CqqoQT4S.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CtzzCjLE2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CziQemry2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Czovc13W.js +0 -1
- package/dist/client/_app/immutable/chunks/Czovc13W.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Czovc13W.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D38BHtSY.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DBkS_L3S.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DEoC-BX-.js +0 -11
- package/dist/client/_app/immutable/chunks/DEoC-BX-.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DEoC-BX-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DHkiqSLl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DL7ZpfJd.js +0 -1
- package/dist/client/_app/immutable/chunks/DL7ZpfJd.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DL7ZpfJd.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DUC3NMun2.js +0 -4
- package/dist/client/_app/immutable/chunks/DUC3NMun2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DUC3NMun2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DWUlubL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D_HtEbjl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DaCLQrfC.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DbxPn-f9.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DhPi0T7V2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DkZEX-tr.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js +0 -1
- package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Dqs1VwMg2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DrDIkqkr2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DunPnEs5.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DxLN9Q9A.js +0 -1
- package/dist/client/_app/immutable/chunks/DxLN9Q9A.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DxLN9Q9A.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/GhmjqkHA.js +0 -1
- package/dist/client/_app/immutable/chunks/GhmjqkHA.js.br +0 -0
- package/dist/client/_app/immutable/chunks/GhmjqkHA.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/H_bCfo1Z.js +0 -1
- package/dist/client/_app/immutable/chunks/H_bCfo1Z.js.br +0 -1
- package/dist/client/_app/immutable/chunks/H_bCfo1Z.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/KoMdYtDs2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/OELm4xo1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/OdxrjoDx.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/SlhV96tq.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/X9L1iai42.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/XIokwnxj2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/XIokwnxj2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js +0 -1
- package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js.br +0 -0
- package/dist/client/_app/immutable/chunks/ZmwXQQ8p.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/acVTcwNd.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/bLoc39kl.js +0 -2
- package/dist/client/_app/immutable/chunks/bLoc39kl.js.br +0 -0
- package/dist/client/_app/immutable/chunks/bLoc39kl.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/dm7qVrFn2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/if7vWS9-.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/kAc38cH_.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/kks0AxFY2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/mA7hbneB.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/qWHUp0PJ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/u6JPB_fg2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/v_jBEYI6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/x4VkYCou2.js.gz +0 -0
- package/dist/client/_app/immutable/entry/app.CrM2Umgq.js +0 -2
- package/dist/client/_app/immutable/entry/app.CrM2Umgq.js.br +0 -0
- package/dist/client/_app/immutable/entry/app.CrM2Umgq.js.gz +0 -0
- package/dist/client/_app/immutable/entry/start.25Vi3KZA.js +0 -1
- package/dist/client/_app/immutable/entry/start.25Vi3KZA.js.br +0 -0
- package/dist/client/_app/immutable/entry/start.25Vi3KZA.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js +0 -1
- package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js.br +0 -0
- package/dist/client/_app/immutable/nodes/0.Ck5XUPzX.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js +0 -1
- package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js.br +0 -0
- package/dist/client/_app/immutable/nodes/1.Dpx0WKl2.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/2.CwofzauD.js +0 -4
- package/dist/client/_app/immutable/nodes/2.CwofzauD.js.br +0 -0
- package/dist/client/_app/immutable/nodes/2.CwofzauD.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/3.CU9DPzka.js +0 -1
- package/dist/client/_app/immutable/nodes/3.CU9DPzka.js.br +0 -0
- package/dist/client/_app/immutable/nodes/3.CU9DPzka.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js +0 -5
- package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js.br +0 -0
- package/dist/client/_app/immutable/nodes/4.P9ayzmJ4.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js +0 -1
- package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js.br +0 -0
- package/dist/client/_app/immutable/nodes/5.Dcsjm3Pq.js.gz +0 -0
- package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js.br +0 -0
- package/dist/client/_app/immutable/workers/css.worker-DRFWP4k7.js.gz +0 -0
- package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js.br +0 -0
- package/dist/client/_app/immutable/workers/html.worker-CXAEVlCI.js.gz +0 -0
- package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js.br +0 -0
- package/dist/client/_app/immutable/workers/json.worker-Dkwen84u.js.gz +0 -0
- package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js.br +0 -0
- package/dist/client/_app/immutable/workers/ts.worker-DJwDx_mp.js.gz +0 -0
- package/dist/server/chunks/0-DmwMCtOF.js +0 -16
- package/dist/server/chunks/0-DmwMCtOF.js.map +0 -1
- package/dist/server/chunks/2-CzdRJh2P.js.map +0 -1
- package/dist/server/chunks/3-C6uctiU1.js +0 -185
- package/dist/server/chunks/3-C6uctiU1.js.map +0 -1
- package/dist/server/chunks/4-BO3KTp14.js +0 -390
- package/dist/server/chunks/4-BO3KTp14.js.map +0 -1
- package/dist/server/chunks/5-LbaHRTVX.js +0 -259
- package/dist/server/chunks/5-LbaHRTVX.js.map +0 -1
- package/dist/server/chunks/_layout.svelte-BzcRjvYO.js +0 -11
- package/dist/server/chunks/_layout.svelte-BzcRjvYO.js.map +0 -1
- package/dist/server/chunks/_page.svelte-CB5X_URD.js +0 -197
- package/dist/server/chunks/_page.svelte-CB5X_URD.js.map +0 -1
- package/dist/server/chunks/_page.svelte-DMwjXpw4.js +0 -13
- package/dist/server/chunks/_page.svelte-DMwjXpw4.js.map +0 -1
- package/dist/server/chunks/_page.svelte-XIYDQw7d.js +0 -14
- package/dist/server/chunks/_page.svelte-XIYDQw7d.js.map +0 -1
- package/dist/server/chunks/_page.svelte-paWD_HcG.js +0 -4302
- package/dist/server/chunks/_page.svelte-paWD_HcG.js.map +0 -1
- package/dist/server/chunks/api-9BLkbfaG.js +0 -9126
- package/dist/server/chunks/api-9BLkbfaG.js.map +0 -1
- package/dist/server/chunks/app-l-cuFP__.js.map +0 -1
- package/dist/server/chunks/client-Dx0O-q6m.js.map +0 -1
- package/dist/server/chunks/dev-7V6fUCff.js.map +0 -1
- package/dist/server/chunks/error.svelte-C5CCEI9O.js.map +0 -1
- package/dist/server/chunks/exports-j3HcL9It.js.map +0 -1
- package/dist/server/chunks/forms-CffPpDq6.js +0 -36
- package/dist/server/chunks/forms-CffPpDq6.js.map +0 -1
- package/dist/server/chunks/hooks.server-DqaQ1y1I.js.map +0 -1
- package/dist/server/chunks/internal-BqoJe00m.js.map +0 -1
- package/dist/server/chunks/runtime-ISoc6PNh.js.map +0 -1
- package/dist/server/chunks/server-BlOy0jJl.js +0 -91
- package/dist/server/chunks/server-BlOy0jJl.js.map +0 -1
- package/dist/server/chunks/shared-server-D--cyMsO.js.map +0 -1
- /package/dist/client/_app/immutable/chunks/{DkZEX-tr.js → 08VXUWAP.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DkZEX-tr.js.br → 08VXUWAP.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{5CAt0tAC.js → 43DmfD33.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{5CAt0tAC.js.br → 43DmfD33.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQghOihB.js → 6RTg0lbw2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQghOihB.js.br → 6RTg0lbw2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CqqoQT4S.js → B5-_aFwp.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CqqoQT4S.js.br → B5-_aFwp.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BNqbTcCU.js → B8J7ngcE2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BNqbTcCU.js.br → B8J7ngcE2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C84aX3eL2.js → B9JPFI3C2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C84aX3eL2.js.br → B9JPFI3C2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{Bp42GhE_.js → BEEn4gHE.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{Bp42GhE_.js.br → BEEn4gHE.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BxyUv_372.js → BEtHBSE62.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BxyUv_372.js.br → BEtHBSE62.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DunPnEs5.js → BKxtCVv1.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DunPnEs5.js.br → BKxtCVv1.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CJL4GRLV2.js → BOotOW0E2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CJL4GRLV2.js.br → BOotOW0E2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C5dBxjD0.js → BWPQTe0t.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C5dBxjD0.js.br → BWPQTe0t.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B5crfj0i.js → BYgofb2h.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B5crfj0i.js.br → BYgofb2h.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BeRB61Rp.js → Ba7i2nA0.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BeRB61Rp.js.br → Ba7i2nA0.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BAtlESPp.js → Bc_sGQ0U.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BAtlESPp.js.br → Bc_sGQ0U.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BuvsQ_0P.js → BeGwcela.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BuvsQ_0P.js.br → BeGwcela.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGdCAl_w2.js → Bri6UV-V2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGdCAl_w2.js.br → Bri6UV-V2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DaCLQrfC.js → BwWrilGY.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DaCLQrfC.js.br → BwWrilGY.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CXBbh9s-.js → Bxkupp3x.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CXBbh9s-.js.br → Bxkupp3x.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BqR20QL0.js → Bz4Y3fRF.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BqR20QL0.js.br → Bz4Y3fRF.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DrDIkqkr2.js → C-y9NEjX2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DrDIkqkr2.js.br → C-y9NEjX2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BUMhJFWc.js → C531GsRP.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BUMhJFWc.js.br → C531GsRP.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKybJfA6.js → C5_-GSwl2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKybJfA6.js.br → C5_-GSwl2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DbxPn-f9.js → C7h46wYY.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DbxPn-f9.js.br → C7h46wYY.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{KoMdYtDs2.js → C8Ef5oNN2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{KoMdYtDs2.js.br → C8Ef5oNN2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DWUlubL2.js → CC2rA5mh.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DWUlubL2.js.br → CC2rA5mh.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{kks0AxFY2.js → CIPQ_RoX.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{kks0AxFY2.js.br → CIPQ_RoX.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C_QqwttH.js → CRfGWb83.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C_QqwttH.js.br → CRfGWb83.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C7TuqZTk.js → CVaqCwHa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C7TuqZTk.js.br → CVaqCwHa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{SlhV96tq.js → CcwsVR0C.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{SlhV96tq.js.br → CcwsVR0C.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DhPi0T7V2.js → CfSJPG6W2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DhPi0T7V2.js.br → CfSJPG6W2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{qWHUp0PJ2.js → Cimd5fb32.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{qWHUp0PJ2.js.br → Cimd5fb32.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{if7vWS9-.js → ClamHrr6.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{if7vWS9-.js.br → ClamHrr6.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B_rYXvqX.js → Cm7r79vr.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B_rYXvqX.js.br → Cm7r79vr.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BTEHXt4u.js → CopQ2nXW.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BTEHXt4u.js.br → CopQ2nXW.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CziQemry2.js → CpzslTdj2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CziQemry2.js.br → CpzslTdj2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CtzzCjLE2.js → CsQS60Ue2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CtzzCjLE2.js.br → CsQS60Ue2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{dm7qVrFn2.js → D-oSqn_W2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{dm7qVrFn2.js.br → D-oSqn_W2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGFoxiJT2.js → D-ptJ9y-.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CGFoxiJT2.js.br → D-ptJ9y-.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{acVTcwNd.js → D05T4iGw2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{acVTcwNd.js.br → D05T4iGw2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQai7aNJ.js → D3hlyOfw.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CQai7aNJ.js.br → D3hlyOfw.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3IjbASq.js → DHpiXF5c.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3IjbASq.js.br → DHpiXF5c.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{kAc38cH_.js → DIMkf-bt.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{kAc38cH_.js.br → DIMkf-bt.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{D_HtEbjl.js → DISqw1ZD.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{D_HtEbjl.js.br → DISqw1ZD.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKihvhpr.js → DMUM7wLl.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CKihvhpr.js.br → DMUM7wLl.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B1GYE4NT.js → DT7zqm-g.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B1GYE4NT.js.br → DT7zqm-g.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3VOL0kZ.js → DTj74zXo.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B3VOL0kZ.js.br → DTj74zXo.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B0Q9zT_Q.js → DV3o63ZY2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B0Q9zT_Q.js.br → DV3o63ZY2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{5k3Q8YWH.js → DZFCIeNp2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{5k3Q8YWH.js.br → DZFCIeNp2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BL9YzxJT.js → D_Lu-MrJ.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BL9YzxJT.js.br → D_Lu-MrJ.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{x4VkYCou2.js → DauUninz.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{x4VkYCou2.js.br → DauUninz.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BSa9oWuP.js → DbInun42.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BSa9oWuP.js.br → DbInun42.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CbFxQFBh.js → DdL9SqIa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CbFxQFBh.js.br → DdL9SqIa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C4oBl-ul.js → De2hgUGE.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C4oBl-ul.js.br → De2hgUGE.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BaORWDBQ.js → DezsRK8O.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BaORWDBQ.js.br → DezsRK8O.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BHxBHC3k.js → DkqhCAOL.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BHxBHC3k.js.br → DkqhCAOL.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DBkS_L3S.js → DmHpPYUd.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DBkS_L3S.js.br → DmHpPYUd.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{D38BHtSY.js → DpFanUEy2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{D38BHtSY.js.br → DpFanUEy2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{B__0yjCH2.js → DrH0SRf2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{B__0yjCH2.js.br → DrH0SRf2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BCAAnHTF2.js → FvmIjYaQ.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BCAAnHTF2.js.br → FvmIjYaQ.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CntDmp6G.js → NEE52Syq.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CntDmp6G.js.br → NEE52Syq.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{X9L1iai42.js → SOo6toE5.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{X9L1iai42.js.br → SOo6toE5.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{OELm4xo1.js → Z5eAx3Zn.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{OELm4xo1.js.br → Z5eAx3Zn.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{BXNW00E2.js → bTuwJoIa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{BXNW00E2.js.br → bTuwJoIa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{1rG2eYdz2.js → fmXr3nnJ2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{1rG2eYdz2.js.br → fmXr3nnJ2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{mA7hbneB.js → gp-XZpBa.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{mA7hbneB.js.br → gp-XZpBa.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{DHkiqSLl.js → i0X4ZdIN.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{DHkiqSLl.js.br → i0X4ZdIN.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{C459oz3p.js → nr791fC2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{C459oz3p.js.br → nr791fC2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{OdxrjoDx.js → onAF5SnQ2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{OdxrjoDx.js.br → onAF5SnQ2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{u6JPB_fg2.js → oz_6vUea.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{u6JPB_fg2.js.br → oz_6vUea.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{5TEFcS4X2.js → sBoK_t0W2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{5TEFcS4X2.js.br → sBoK_t0W2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{v_jBEYI6.js → xihTtKlq.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{v_jBEYI6.js.br → xihTtKlq.js.br} +0 -0
package/dist/server/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { i as
|
|
5
|
-
import { i as
|
|
6
|
-
import { i as
|
|
7
|
-
import { n as set_app } from "./chunks/app-
|
|
1
|
+
import { t as __commonJSMin } from "./chunks/chunk-ByNZkrT6.js";
|
|
2
|
+
import { St as writable, rt as readable, vt as uneval } from "./chunks/events-Bhh2w-5S.js";
|
|
3
|
+
import { i as SvelteKitError, n as HttpError, r as Redirect, t as ActionFailure } from "./chunks/internal-DsA4iYdx.js";
|
|
4
|
+
import { $ as text_encoder, A as with_request_store, B as coalesce_to_error, C as validate_layout_exports, D as merge_tracing, E as validate_page_server_exports, F as override, G as noop, H as get_message, I as reset, J as parse, K as normalize_error, L as INVALIDATED_PARAM, M as assets, N as base, Q as stringify$1, R as TRAILING_SLASH_PARAM, S as strip_resolution_suffix, T as validate_page_exports, U as get_relative_path, V as create_remote_key, W as get_status, X as split_remote_key, Y as parse_remote_arg, Z as stringify, _ as noop_span, a as set_read_implementation, c as compact, d as find_route, g as make_trackable, h as hash, i as set_manifest, j as app_dir, l as decode_pathname, m as has_resolution_suffix, n as options, o as add_data_suffix, p as has_data_suffix, q as once, r as read_implementation, s as add_resolution_suffix, t as get_hooks, u as disable_search, v as normalize_path, w as validate_layout_server_exports, x as strip_data_suffix, y as resolve, z as base64_encode } from "./chunks/internal2-DBpj29pr.js";
|
|
5
|
+
import { i as json, o as text, r as isRedirect, t as error } from "./chunks/exports-CWOtdr_a.js";
|
|
6
|
+
import { i as set_public_env, n as public_env, r as set_private_env } from "./chunks/shared-server-Cha0Qlv9.js";
|
|
7
|
+
import { n as set_app } from "./chunks/app-DUeJj5RD.js";
|
|
8
8
|
//#region .svelte-kit/adapter-bun/chunks/utils.js
|
|
9
9
|
var ENDPOINT_METHODS = [
|
|
10
10
|
"GET",
|
|
@@ -20,9 +20,146 @@ var PAGE_METHODS = [
|
|
|
20
20
|
"POST",
|
|
21
21
|
"HEAD"
|
|
22
22
|
];
|
|
23
|
+
var defaultParseOptions = {
|
|
24
|
+
decodeValues: true,
|
|
25
|
+
map: false,
|
|
26
|
+
silent: false,
|
|
27
|
+
split: "auto"
|
|
28
|
+
};
|
|
29
|
+
function isForbiddenKey(key) {
|
|
30
|
+
return typeof key !== "string" || key in {};
|
|
31
|
+
}
|
|
32
|
+
function createNullObj() {
|
|
33
|
+
return Object.create(null);
|
|
34
|
+
}
|
|
35
|
+
function isNonEmptyString(str) {
|
|
36
|
+
return typeof str === "string" && !!str.trim();
|
|
37
|
+
}
|
|
38
|
+
function parseString(setCookieValue, options) {
|
|
39
|
+
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
40
|
+
var parsed = parseNameValuePair(parts.shift());
|
|
41
|
+
var name = parsed.name;
|
|
42
|
+
var value = parsed.value;
|
|
43
|
+
options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
|
|
44
|
+
if (isForbiddenKey(name)) return null;
|
|
45
|
+
try {
|
|
46
|
+
value = options.decodeValues ? decodeURIComponent(value) : value;
|
|
47
|
+
} catch (e) {
|
|
48
|
+
console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.", e);
|
|
49
|
+
}
|
|
50
|
+
var cookie = createNullObj();
|
|
51
|
+
cookie.name = name;
|
|
52
|
+
cookie.value = value;
|
|
53
|
+
parts.forEach(function(part) {
|
|
54
|
+
var sides = part.split("=");
|
|
55
|
+
var key = sides.shift().trimLeft().toLowerCase();
|
|
56
|
+
if (isForbiddenKey(key)) return;
|
|
57
|
+
var value = sides.join("=");
|
|
58
|
+
if (key === "expires") cookie.expires = new Date(value);
|
|
59
|
+
else if (key === "max-age") {
|
|
60
|
+
var n = parseInt(value, 10);
|
|
61
|
+
if (!Number.isNaN(n)) cookie.maxAge = n;
|
|
62
|
+
} else if (key === "secure") cookie.secure = true;
|
|
63
|
+
else if (key === "httponly") cookie.httpOnly = true;
|
|
64
|
+
else if (key === "samesite") cookie.sameSite = value;
|
|
65
|
+
else if (key === "partitioned") cookie.partitioned = true;
|
|
66
|
+
else if (key) cookie[key] = value;
|
|
67
|
+
});
|
|
68
|
+
return cookie;
|
|
69
|
+
}
|
|
70
|
+
function parseNameValuePair(nameValuePairStr) {
|
|
71
|
+
var name = "";
|
|
72
|
+
var value = "";
|
|
73
|
+
var nameValueArr = nameValuePairStr.split("=");
|
|
74
|
+
if (nameValueArr.length > 1) {
|
|
75
|
+
name = nameValueArr.shift();
|
|
76
|
+
value = nameValueArr.join("=");
|
|
77
|
+
} else value = nameValuePairStr;
|
|
78
|
+
return {
|
|
79
|
+
name,
|
|
80
|
+
value
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
function parseSetCookie(input, options) {
|
|
84
|
+
options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
|
|
85
|
+
if (!input) if (!options.map) return [];
|
|
86
|
+
else return createNullObj();
|
|
87
|
+
if (input.headers) if (typeof input.headers.getSetCookie === "function") input = input.headers.getSetCookie();
|
|
88
|
+
else if (input.headers["set-cookie"]) input = input.headers["set-cookie"];
|
|
89
|
+
else {
|
|
90
|
+
var sch = input.headers[Object.keys(input.headers).find(function(key) {
|
|
91
|
+
return key.toLowerCase() === "set-cookie";
|
|
92
|
+
})];
|
|
93
|
+
if (!sch && input.headers.cookie && !options.silent) console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning.");
|
|
94
|
+
input = sch;
|
|
95
|
+
}
|
|
96
|
+
var split = options.split;
|
|
97
|
+
var isArray = Array.isArray(input);
|
|
98
|
+
if (split === "auto") split = !isArray;
|
|
99
|
+
if (!isArray) input = [input];
|
|
100
|
+
input = input.filter(isNonEmptyString);
|
|
101
|
+
if (split) input = input.map(splitCookiesString).flat();
|
|
102
|
+
if (!options.map) return input.map(function(str) {
|
|
103
|
+
return parseString(str, options);
|
|
104
|
+
}).filter(Boolean);
|
|
105
|
+
else {
|
|
106
|
+
var cookies = createNullObj();
|
|
107
|
+
return input.reduce(function(cookies, str) {
|
|
108
|
+
var cookie = parseString(str, options);
|
|
109
|
+
if (cookie && !isForbiddenKey(cookie.name)) cookies[cookie.name] = cookie;
|
|
110
|
+
return cookies;
|
|
111
|
+
}, cookies);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function splitCookiesString(cookiesString) {
|
|
115
|
+
if (Array.isArray(cookiesString)) return cookiesString;
|
|
116
|
+
if (typeof cookiesString !== "string") return [];
|
|
117
|
+
var cookiesStrings = [];
|
|
118
|
+
var pos = 0;
|
|
119
|
+
var start;
|
|
120
|
+
var ch;
|
|
121
|
+
var lastComma;
|
|
122
|
+
var nextStart;
|
|
123
|
+
var cookiesSeparatorFound;
|
|
124
|
+
function skipWhitespace() {
|
|
125
|
+
while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) pos += 1;
|
|
126
|
+
return pos < cookiesString.length;
|
|
127
|
+
}
|
|
128
|
+
function notSpecialChar() {
|
|
129
|
+
ch = cookiesString.charAt(pos);
|
|
130
|
+
return ch !== "=" && ch !== ";" && ch !== ",";
|
|
131
|
+
}
|
|
132
|
+
while (pos < cookiesString.length) {
|
|
133
|
+
start = pos;
|
|
134
|
+
cookiesSeparatorFound = false;
|
|
135
|
+
while (skipWhitespace()) {
|
|
136
|
+
ch = cookiesString.charAt(pos);
|
|
137
|
+
if (ch === ",") {
|
|
138
|
+
lastComma = pos;
|
|
139
|
+
pos += 1;
|
|
140
|
+
skipWhitespace();
|
|
141
|
+
nextStart = pos;
|
|
142
|
+
while (pos < cookiesString.length && notSpecialChar()) pos += 1;
|
|
143
|
+
if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
|
|
144
|
+
cookiesSeparatorFound = true;
|
|
145
|
+
pos = nextStart;
|
|
146
|
+
cookiesStrings.push(cookiesString.substring(start, lastComma));
|
|
147
|
+
start = pos;
|
|
148
|
+
} else pos = lastComma + 1;
|
|
149
|
+
} else pos += 1;
|
|
150
|
+
}
|
|
151
|
+
if (!cookiesSeparatorFound || pos >= cookiesString.length) cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
|
|
152
|
+
}
|
|
153
|
+
return cookiesStrings;
|
|
154
|
+
}
|
|
155
|
+
parseSetCookie.parseSetCookie = parseSetCookie;
|
|
156
|
+
parseSetCookie.parse = parseSetCookie;
|
|
157
|
+
parseSetCookie.parseString = parseString;
|
|
158
|
+
parseSetCookie.splitCookiesString = splitCookiesString;
|
|
23
159
|
/** @import { RemoteForm } from '@sveltejs/kit' */
|
|
24
160
|
/** @import { BinaryFormMeta, InternalRemoteFormIssue } from 'types' */
|
|
25
161
|
/** @import { StandardSchemaV1 } from '@standard-schema/spec' */
|
|
162
|
+
var decoder = new TextDecoder();
|
|
26
163
|
/**
|
|
27
164
|
* Sets a value in a nested object using a path string, mutating the original object
|
|
28
165
|
* @param {Record<string, any>} object
|
|
@@ -81,8 +218,6 @@ async function deserialize_binary_form(request) {
|
|
|
81
218
|
};
|
|
82
219
|
}
|
|
83
220
|
if (!request.body) throw deserialize_error("no body");
|
|
84
|
-
const content_length = parseInt(request.headers.get("content-length") ?? "");
|
|
85
|
-
if (Number.isNaN(content_length)) throw deserialize_error("invalid Content-Length header");
|
|
86
221
|
const reader = request.body.getReader();
|
|
87
222
|
/** @type {Array<Promise<Uint8Array<ArrayBuffer> | undefined>>} */
|
|
88
223
|
const chunks = [];
|
|
@@ -144,9 +279,7 @@ async function deserialize_binary_form(request) {
|
|
|
144
279
|
if (header[0] !== BINARY_FORM_VERSION) throw deserialize_error(`got version ${header[0]}, expected version ${BINARY_FORM_VERSION}`);
|
|
145
280
|
const header_view = new DataView(header.buffer, header.byteOffset, header.byteLength);
|
|
146
281
|
const data_length = header_view.getUint32(1, true);
|
|
147
|
-
if (HEADER_BYTES + data_length > content_length) throw deserialize_error("data overflow");
|
|
148
282
|
const file_offsets_length = header_view.getUint16(5, true);
|
|
149
|
-
if (HEADER_BYTES + data_length + file_offsets_length > content_length) throw deserialize_error("file offset table overflow");
|
|
150
283
|
const data_buffer = await get_buffer(HEADER_BYTES, data_length);
|
|
151
284
|
if (!data_buffer) throw deserialize_error("data too short");
|
|
152
285
|
/** @type {Array<number | undefined>} */
|
|
@@ -156,20 +289,19 @@ async function deserialize_binary_form(request) {
|
|
|
156
289
|
if (file_offsets_length > 0) {
|
|
157
290
|
const file_offsets_buffer = await get_buffer(HEADER_BYTES + data_length, file_offsets_length);
|
|
158
291
|
if (!file_offsets_buffer) throw deserialize_error("file offset table too short");
|
|
159
|
-
const parsed_offsets = JSON.parse(
|
|
292
|
+
const parsed_offsets = JSON.parse(decoder.decode(file_offsets_buffer));
|
|
160
293
|
if (!Array.isArray(parsed_offsets) || parsed_offsets.some((n) => typeof n !== "number" || !Number.isInteger(n) || n < 0)) throw deserialize_error("invalid file offset table");
|
|
161
294
|
file_offsets = parsed_offsets;
|
|
162
295
|
files_start_offset = HEADER_BYTES + data_length + file_offsets_length;
|
|
163
296
|
}
|
|
164
297
|
/** @type {Array<{ offset: number, size: number }>} */
|
|
165
298
|
const file_spans = [];
|
|
166
|
-
const [data, meta] = parse(
|
|
299
|
+
const [data, meta] = parse(decoder.decode(data_buffer), { File: ([name, type, size, last_modified, index]) => {
|
|
167
300
|
if (typeof name !== "string" || typeof type !== "string" || typeof size !== "number" || typeof last_modified !== "number" || typeof index !== "number") throw deserialize_error("invalid file metadata");
|
|
168
301
|
let offset = file_offsets[index];
|
|
169
302
|
if (offset === void 0) throw deserialize_error("duplicate file offset table index");
|
|
170
303
|
file_offsets[index] = void 0;
|
|
171
304
|
offset += files_start_offset;
|
|
172
|
-
if (offset + size > content_length) throw deserialize_error("file data overflow");
|
|
173
305
|
file_spans.push({
|
|
174
306
|
offset,
|
|
175
307
|
size
|
|
@@ -294,7 +426,7 @@ var LazyFile = class LazyFile {
|
|
|
294
426
|
});
|
|
295
427
|
}
|
|
296
428
|
async text() {
|
|
297
|
-
return
|
|
429
|
+
return decoder.decode(await this.arrayBuffer());
|
|
298
430
|
}
|
|
299
431
|
};
|
|
300
432
|
var path_regex = /^[a-zA-Z_$]\w*(\.[a-zA-Z_$]\w*|\[\d+\])*$/;
|
|
@@ -324,8 +456,8 @@ function deep_set(object, keys, value) {
|
|
|
324
456
|
const key = keys[i];
|
|
325
457
|
check_prototype_pollution(key);
|
|
326
458
|
const is_array = /^\d+$/.test(keys[i + 1]);
|
|
327
|
-
const
|
|
328
|
-
const
|
|
459
|
+
const inner = Object.hasOwn(current, key) ? current[key] : void 0;
|
|
460
|
+
const exists = inner != null;
|
|
329
461
|
if (exists && is_array !== Array.isArray(inner)) throw new Error(`Invalid array key ${keys[i + 1]}`);
|
|
330
462
|
if (!exists) current[key] = is_array ? [] : {};
|
|
331
463
|
current = current[key];
|
|
@@ -374,6 +506,22 @@ function negotiate(accept, types) {
|
|
|
374
506
|
return accepted;
|
|
375
507
|
}
|
|
376
508
|
/**
|
|
509
|
+
* Reads all `Set-Cookie` headers as separate values. `Headers.get('set-cookie')`
|
|
510
|
+
* collapses them into a single comma-joined string that browsers cannot parse, so
|
|
511
|
+
* we use `Headers.getSetCookie()` where available and fall back to splitting the
|
|
512
|
+
* joined string otherwise.
|
|
513
|
+
*
|
|
514
|
+
* TODO 3.0 `getSetCookie` is available in Node 19.7+; once we drop support for
|
|
515
|
+
* older versions we can use it directly and remove the `splitCookiesString` fallback
|
|
516
|
+
* @param {Headers} headers
|
|
517
|
+
* @returns {string[]}
|
|
518
|
+
*/
|
|
519
|
+
function get_set_cookies(headers) {
|
|
520
|
+
if (typeof headers.getSetCookie === "function") return headers.getSetCookie();
|
|
521
|
+
const set_cookie = headers.get("set-cookie");
|
|
522
|
+
return set_cookie ? splitCookiesString(set_cookie) : [];
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
377
525
|
* Returns `true` if the request contains a `content-type` header with the given type
|
|
378
526
|
* @param {Request} request
|
|
379
527
|
* @param {...string} types
|
|
@@ -423,6 +571,7 @@ function escape_html(str, is_attr) {
|
|
|
423
571
|
return dict[match] ?? `&#${match.charCodeAt(0)};`;
|
|
424
572
|
});
|
|
425
573
|
}
|
|
574
|
+
/** @import { ServerHooks } from 'types' */
|
|
426
575
|
/**
|
|
427
576
|
* @param {Partial<Record<import('types').HttpMethod, any>>} mod
|
|
428
577
|
* @param {import('types').HttpMethod} method
|
|
@@ -560,6 +709,21 @@ function get_node_type(node_id) {
|
|
|
560
709
|
if (!filename) return "unknown";
|
|
561
710
|
return filename.split(".").slice(0, -1).join(".");
|
|
562
711
|
}
|
|
712
|
+
/**
|
|
713
|
+
* Creates a serialiser for non-arbitrary POJOs using the app's transport hook
|
|
714
|
+
* @param {ServerHooks['transport']} transport
|
|
715
|
+
* @returns {(thing: unknown) => string | undefined}
|
|
716
|
+
*/
|
|
717
|
+
function create_replacer(transport) {
|
|
718
|
+
/** @param {unknown} thing */
|
|
719
|
+
const replacer = (thing) => {
|
|
720
|
+
for (const key in transport) {
|
|
721
|
+
const encoded = transport[key].encode(thing);
|
|
722
|
+
if (encoded) return `app.decode('${key}', ${uneval(encoded, replacer)})`;
|
|
723
|
+
}
|
|
724
|
+
};
|
|
725
|
+
return replacer;
|
|
726
|
+
}
|
|
563
727
|
//#endregion
|
|
564
728
|
//#region .svelte-kit/adapter-bun/index.js
|
|
565
729
|
/** @see https://github.com/microsoft/TypeScript/blob/904e7dd97dc8da1352c8e05d70829dff17c73214/src/lib/es2024.promise.d.ts */
|
|
@@ -823,12 +987,7 @@ async function call_action(event, event_state, actions) {
|
|
|
823
987
|
* @param {ServerHooks['transport']} transport
|
|
824
988
|
*/
|
|
825
989
|
function uneval_action_response(data, route_id, transport) {
|
|
826
|
-
const replacer = (
|
|
827
|
-
for (const key in transport) {
|
|
828
|
-
const encoded = transport[key].encode(thing);
|
|
829
|
-
if (encoded) return `app.decode('${key}', ${uneval(encoded, replacer)})`;
|
|
830
|
-
}
|
|
831
|
-
};
|
|
990
|
+
const replacer = create_replacer(transport);
|
|
832
991
|
return try_serialize(data, (value) => uneval(value, replacer), route_id);
|
|
833
992
|
}
|
|
834
993
|
/**
|
|
@@ -998,6 +1157,7 @@ function server_data_serializer_json(event, event_state, options) {
|
|
|
998
1157
|
const iterator = create_async_iterator();
|
|
999
1158
|
const reducers = {
|
|
1000
1159
|
...Object.fromEntries(Object.entries(options.hooks.transport).map(([key, value]) => [key, value.encode])),
|
|
1160
|
+
/** @param {any} thing */
|
|
1001
1161
|
Promise: (thing) => {
|
|
1002
1162
|
if (typeof thing?.then !== "function") return;
|
|
1003
1163
|
const id = promise_id++;
|
|
@@ -1110,6 +1270,7 @@ async function load_server_data({ event, event_state, state, node, parent }) {
|
|
|
1110
1270
|
new URL(info instanceof Request ? info.url : info, event.url);
|
|
1111
1271
|
return event.fetch(info, init);
|
|
1112
1272
|
},
|
|
1273
|
+
/** @param {string[]} deps */
|
|
1113
1274
|
depends: (...deps) => {
|
|
1114
1275
|
for (const dep of deps) {
|
|
1115
1276
|
const { href } = new URL(dep, event.url);
|
|
@@ -1331,10 +1492,14 @@ function create_universal_fetch(event, state, fetched, csr, resolve_opts) {
|
|
|
1331
1492
|
async function stream_to_string(stream) {
|
|
1332
1493
|
let result = "";
|
|
1333
1494
|
const reader = stream.getReader();
|
|
1495
|
+
const decoder = new TextDecoder();
|
|
1334
1496
|
while (true) {
|
|
1335
1497
|
const { done, value } = await reader.read();
|
|
1336
|
-
if (done)
|
|
1337
|
-
|
|
1498
|
+
if (done) {
|
|
1499
|
+
result += decoder.decode();
|
|
1500
|
+
break;
|
|
1501
|
+
}
|
|
1502
|
+
result += decoder.decode(value, { stream: true });
|
|
1338
1503
|
}
|
|
1339
1504
|
return result;
|
|
1340
1505
|
}
|
|
@@ -1950,18 +2115,6 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
1950
2115
|
} finally {
|
|
1951
2116
|
reset();
|
|
1952
2117
|
}
|
|
1953
|
-
for (const { node } of branch) {
|
|
1954
|
-
for (const url of node.imports) modulepreloads.add(url);
|
|
1955
|
-
for (const url of node.stylesheets) stylesheets.add(url);
|
|
1956
|
-
for (const url of node.fonts) fonts.add(url);
|
|
1957
|
-
if (node.inline_styles && !client.inline) Object.entries(await node.inline_styles()).forEach(([filename, css]) => {
|
|
1958
|
-
if (typeof css === "string") {
|
|
1959
|
-
inline_styles.set(filename, css);
|
|
1960
|
-
return;
|
|
1961
|
-
}
|
|
1962
|
-
inline_styles.set(filename, css(`${assets$1}/${app_dir}/immutable/assets`, assets$1));
|
|
1963
|
-
});
|
|
1964
|
-
}
|
|
1965
2118
|
} else rendered = {
|
|
1966
2119
|
head: "",
|
|
1967
2120
|
html: "",
|
|
@@ -1971,6 +2124,18 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
1971
2124
|
},
|
|
1972
2125
|
hashes: { script: [] }
|
|
1973
2126
|
};
|
|
2127
|
+
for (const { node } of branch) {
|
|
2128
|
+
for (const url of node.imports) modulepreloads.add(url);
|
|
2129
|
+
for (const url of node.stylesheets) stylesheets.add(url);
|
|
2130
|
+
for (const url of node.fonts) fonts.add(url);
|
|
2131
|
+
if (node.inline_styles && !client.inline) Object.entries(await node.inline_styles()).forEach(([filename, css]) => {
|
|
2132
|
+
if (typeof css === "string") {
|
|
2133
|
+
inline_styles.set(filename, css);
|
|
2134
|
+
return;
|
|
2135
|
+
}
|
|
2136
|
+
inline_styles.set(filename, css(`${assets$1}/${app_dir}/immutable/assets`, assets$1));
|
|
2137
|
+
});
|
|
2138
|
+
}
|
|
1974
2139
|
const head = new Head(rendered.head, !!state.prerendering);
|
|
1975
2140
|
let body = rendered.html;
|
|
1976
2141
|
/** @param {string} path */
|
|
@@ -2107,7 +2272,7 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2107
2272
|
if (!entry.serialize) continue;
|
|
2108
2273
|
const remote_key = create_remote_key(internals.id, key);
|
|
2109
2274
|
const store = internals.type === "prerender" ? prerender : query;
|
|
2110
|
-
if (event_state.remote.refreshes?.
|
|
2275
|
+
if (event_state.remote.refreshes?.has(remote_key) || event_state.remote.reconnects?.has(remote_key)) store[remote_key] = await entry.data;
|
|
2111
2276
|
else {
|
|
2112
2277
|
const result = await Promise.race([Promise.resolve(entry.data).then((v) => ({
|
|
2113
2278
|
settled: true,
|
|
@@ -2125,12 +2290,7 @@ async function render_response({ branch, fetched, options, manifest, state, page
|
|
|
2125
2290
|
}
|
|
2126
2291
|
}
|
|
2127
2292
|
}
|
|
2128
|
-
const replacer = (
|
|
2129
|
-
for (const key in options.hooks.transport) {
|
|
2130
|
-
const encoded = options.hooks.transport[key].encode(thing);
|
|
2131
|
-
if (encoded) return `app.decode('${key}', ${uneval(encoded, replacer)})`;
|
|
2132
|
-
}
|
|
2133
|
-
};
|
|
2293
|
+
const replacer = create_replacer(options.hooks.transport);
|
|
2134
2294
|
if (Object.keys(query).length > 0) serialized_query_data = `${global}.query = ${uneval(query, replacer)};\n\n\t\t\t\t\t\t`;
|
|
2135
2295
|
if (Object.keys(prerender).length > 0) serialized_prerender_data = `${global}.prerender = ${uneval(prerender, replacer)};\n\n\t\t\t\t\t\t`;
|
|
2136
2296
|
}
|
|
@@ -2277,6 +2437,7 @@ var Head = class {
|
|
|
2277
2437
|
}
|
|
2278
2438
|
};
|
|
2279
2439
|
var PageNodes = class {
|
|
2440
|
+
/** All layout nodes and the page node, if any */
|
|
2280
2441
|
data;
|
|
2281
2442
|
/**
|
|
2282
2443
|
* @param {Array<import('types').SSRNode | undefined>} nodes
|
|
@@ -2491,7 +2652,8 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2491
2652
|
return json({
|
|
2492
2653
|
type: "result",
|
|
2493
2654
|
result: stringify(result, transport),
|
|
2494
|
-
refreshes: result.issues ? void 0 : await
|
|
2655
|
+
refreshes: result.issues ? void 0 : await serialize_singleflight(state.remote.refreshes),
|
|
2656
|
+
reconnects: result.issues ? void 0 : await serialize_singleflight(state.remote.reconnects)
|
|
2495
2657
|
});
|
|
2496
2658
|
}
|
|
2497
2659
|
if (internals.type === "command") {
|
|
@@ -2505,9 +2667,77 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2505
2667
|
event,
|
|
2506
2668
|
state
|
|
2507
2669
|
}, () => fn(arg)), transport),
|
|
2508
|
-
refreshes: await
|
|
2670
|
+
refreshes: await serialize_singleflight(state.remote.refreshes),
|
|
2671
|
+
reconnects: await serialize_singleflight(state.remote.reconnects)
|
|
2509
2672
|
});
|
|
2510
2673
|
}
|
|
2674
|
+
if (internals.type === "query_live") {
|
|
2675
|
+
if (event.request.method !== "GET") throw new SvelteKitError(405, "Method Not Allowed", `\`query.live\` functions must be invoked via GET request, not ${event.request.method}`);
|
|
2676
|
+
const payload = new URL(event.request.url).searchParams.get("payload");
|
|
2677
|
+
const generator = internals.run(event, state, parse_remote_arg(payload, transport));
|
|
2678
|
+
const encoder = new TextEncoder();
|
|
2679
|
+
/**
|
|
2680
|
+
* @param {ReadableStreamDefaultController} controller
|
|
2681
|
+
* @param {any} payload
|
|
2682
|
+
*/
|
|
2683
|
+
function send(controller, payload) {
|
|
2684
|
+
controller.enqueue(encoder.encode(JSON.stringify(payload) + "\n"));
|
|
2685
|
+
}
|
|
2686
|
+
let closed = false;
|
|
2687
|
+
/** @type {string | undefined} */
|
|
2688
|
+
let result = void 0;
|
|
2689
|
+
async function cancel() {
|
|
2690
|
+
if (closed) return;
|
|
2691
|
+
closed = true;
|
|
2692
|
+
await generator.return(void 0);
|
|
2693
|
+
}
|
|
2694
|
+
event.request.signal.addEventListener("abort", cancel, { once: true });
|
|
2695
|
+
return new Response(new ReadableStream({
|
|
2696
|
+
async pull(controller) {
|
|
2697
|
+
if (event.request.signal.aborted) {
|
|
2698
|
+
await cancel();
|
|
2699
|
+
controller.close();
|
|
2700
|
+
return;
|
|
2701
|
+
}
|
|
2702
|
+
try {
|
|
2703
|
+
while (true) {
|
|
2704
|
+
const { value, done } = await generator.next();
|
|
2705
|
+
if (done) {
|
|
2706
|
+
await cancel();
|
|
2707
|
+
controller.close();
|
|
2708
|
+
return;
|
|
2709
|
+
}
|
|
2710
|
+
if (result !== (result = stringify(value, transport))) {
|
|
2711
|
+
send(controller, {
|
|
2712
|
+
type: "result",
|
|
2713
|
+
result
|
|
2714
|
+
});
|
|
2715
|
+
return;
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
} catch (error) {
|
|
2719
|
+
if (!event.request.signal.aborted) if (error instanceof Redirect) send(controller, {
|
|
2720
|
+
type: "redirect",
|
|
2721
|
+
location: error.location
|
|
2722
|
+
});
|
|
2723
|
+
else {
|
|
2724
|
+
const status = error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
|
|
2725
|
+
send(controller, {
|
|
2726
|
+
type: "error",
|
|
2727
|
+
error: await handle_error_and_jsonify(event, state, options, error),
|
|
2728
|
+
status
|
|
2729
|
+
});
|
|
2730
|
+
}
|
|
2731
|
+
await cancel();
|
|
2732
|
+
controller.close();
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
cancel
|
|
2736
|
+
}), { headers: {
|
|
2737
|
+
"cache-control": "private, no-store",
|
|
2738
|
+
"content-type": "application/x-ndjson"
|
|
2739
|
+
} });
|
|
2740
|
+
}
|
|
2511
2741
|
const payload = internals.type === "prerender" ? additional_args : new URL(event.request.url).searchParams.get("payload");
|
|
2512
2742
|
return json({
|
|
2513
2743
|
type: "result",
|
|
@@ -2520,7 +2750,8 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2520
2750
|
if (error instanceof Redirect) return json({
|
|
2521
2751
|
type: "redirect",
|
|
2522
2752
|
location: error.location,
|
|
2523
|
-
refreshes: await
|
|
2753
|
+
refreshes: await serialize_singleflight(state.remote.refreshes),
|
|
2754
|
+
reconnects: await serialize_singleflight(state.remote.reconnects)
|
|
2524
2755
|
});
|
|
2525
2756
|
const status = error instanceof HttpError || error instanceof SvelteKitError ? error.status : 500;
|
|
2526
2757
|
return json({
|
|
@@ -2532,11 +2763,10 @@ async function handle_remote_call_internal(event, state, options, manifest, id)
|
|
|
2532
2763
|
headers: { "cache-control": "private, no-store" }
|
|
2533
2764
|
});
|
|
2534
2765
|
}
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
const results = await Promise.all(entries.map(async ([key, promise]) => {
|
|
2766
|
+
/** @param {Map<string, Promise<any>> | null} map */
|
|
2767
|
+
async function serialize_singleflight(map) {
|
|
2768
|
+
if (!map || map.size === 0) return;
|
|
2769
|
+
const results = await Promise.all(Array.from(map, async ([key, promise]) => {
|
|
2540
2770
|
try {
|
|
2541
2771
|
return [key, {
|
|
2542
2772
|
type: "result",
|
|
@@ -2639,19 +2869,21 @@ function get_remote_id(url) {
|
|
|
2639
2869
|
function get_remote_action(url) {
|
|
2640
2870
|
return url.searchParams.get("/remote");
|
|
2641
2871
|
}
|
|
2872
|
+
/** @import { ActionResult, RequestEvent, SSRManifest } from '@sveltejs/kit' */
|
|
2873
|
+
/** @import { PageNodeIndexes, RequestState, RequiredResolveOptions, ServerDataNode, SSRComponent, SSRNode, SSROptions, SSRState } from 'types' */
|
|
2642
2874
|
/**
|
|
2643
2875
|
* The maximum request depth permitted before assuming we're stuck in an infinite loop
|
|
2644
2876
|
*/
|
|
2645
2877
|
var MAX_DEPTH = 10;
|
|
2646
2878
|
/**
|
|
2647
|
-
* @param {
|
|
2648
|
-
* @param {
|
|
2649
|
-
* @param {
|
|
2650
|
-
* @param {
|
|
2651
|
-
* @param {
|
|
2652
|
-
* @param {
|
|
2879
|
+
* @param {RequestEvent} event
|
|
2880
|
+
* @param {RequestState} event_state
|
|
2881
|
+
* @param {PageNodeIndexes} page
|
|
2882
|
+
* @param {SSROptions} options
|
|
2883
|
+
* @param {SSRManifest} manifest
|
|
2884
|
+
* @param {SSRState} state
|
|
2653
2885
|
* @param {import('../../../utils/page_nodes.js').PageNodes} nodes
|
|
2654
|
-
* @param {
|
|
2886
|
+
* @param {RequiredResolveOptions} resolve_opts
|
|
2655
2887
|
* @returns {Promise<Response>}
|
|
2656
2888
|
*/
|
|
2657
2889
|
async function render_page(event, event_state, page, options, manifest, state, nodes, resolve_opts) {
|
|
@@ -2660,7 +2892,7 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2660
2892
|
try {
|
|
2661
2893
|
const leaf_node = nodes.page();
|
|
2662
2894
|
let status = 200;
|
|
2663
|
-
/** @type {
|
|
2895
|
+
/** @type {ActionResult | undefined} */
|
|
2664
2896
|
let action_result = void 0;
|
|
2665
2897
|
if (is_action_request(event)) {
|
|
2666
2898
|
const remote_id = get_remote_action(event.url);
|
|
@@ -2682,7 +2914,13 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2682
2914
|
const ssr = nodes.ssr();
|
|
2683
2915
|
const csr = nodes.csr();
|
|
2684
2916
|
if (ssr === false && !(state.prerendering && should_prerender_data)) return await render_response({
|
|
2685
|
-
branch:
|
|
2917
|
+
branch: compact(nodes.data).map((node) => {
|
|
2918
|
+
return {
|
|
2919
|
+
node,
|
|
2920
|
+
data: null,
|
|
2921
|
+
server_data: null
|
|
2922
|
+
};
|
|
2923
|
+
}),
|
|
2686
2924
|
fetched,
|
|
2687
2925
|
page_config: {
|
|
2688
2926
|
ssr: false,
|
|
@@ -2704,7 +2942,7 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2704
2942
|
let load_error = null;
|
|
2705
2943
|
const data_serializer = server_data_serializer(event, event_state, options);
|
|
2706
2944
|
const data_serializer_json = state.prerendering && should_prerender_data ? server_data_serializer_json(event, event_state, options) : null;
|
|
2707
|
-
/** @type {Array<Promise<
|
|
2945
|
+
/** @type {Array<Promise<ServerDataNode | null>>} */
|
|
2708
2946
|
const server_promises = nodes.data.map((node, i) => {
|
|
2709
2947
|
if (load_error) throw load_error;
|
|
2710
2948
|
return Promise.resolve().then(async () => {
|
|
@@ -2846,7 +3084,7 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2846
3084
|
},
|
|
2847
3085
|
status,
|
|
2848
3086
|
error: null,
|
|
2849
|
-
branch:
|
|
3087
|
+
branch: compact(branch),
|
|
2850
3088
|
action_result,
|
|
2851
3089
|
fetched,
|
|
2852
3090
|
data_serializer: !ssr ? server_data_serializer(event, event_state, options) : data_serializer,
|
|
@@ -2868,14 +3106,14 @@ async function render_page(event, event_state, page, options, manifest, state, n
|
|
|
2868
3106
|
}
|
|
2869
3107
|
/**
|
|
2870
3108
|
*
|
|
2871
|
-
* @param {
|
|
3109
|
+
* @param {SSROptions} options
|
|
2872
3110
|
* @param {boolean} ssr
|
|
2873
3111
|
* @param {Array<import('./types.js').Loaded | null>} branch
|
|
2874
|
-
* @param {
|
|
2875
|
-
* @param {
|
|
3112
|
+
* @param {PageNodeIndexes} page
|
|
3113
|
+
* @param {SSRManifest} manifest
|
|
2876
3114
|
*/
|
|
2877
3115
|
async function load_error_components(options, ssr, branch, page, manifest) {
|
|
2878
|
-
/** @type {Array<
|
|
3116
|
+
/** @type {Array<SSRComponent | undefined> | undefined} */
|
|
2879
3117
|
let error_components;
|
|
2880
3118
|
if (options.server_error_boundaries && ssr) {
|
|
2881
3119
|
let last_idx = -1;
|
|
@@ -2997,6 +3235,12 @@ function redirect_json_response(redirect) {
|
|
|
2997
3235
|
location: redirect.location
|
|
2998
3236
|
});
|
|
2999
3237
|
}
|
|
3238
|
+
/*!
|
|
3239
|
+
* cookie
|
|
3240
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
3241
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
3242
|
+
* MIT Licensed
|
|
3243
|
+
*/
|
|
3000
3244
|
var import_cookie = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
3001
3245
|
/**
|
|
3002
3246
|
* Module exports.
|
|
@@ -3205,6 +3449,10 @@ function get_cookies(request, url) {
|
|
|
3205
3449
|
};
|
|
3206
3450
|
/** @type {import('@sveltejs/kit').Cookies} */
|
|
3207
3451
|
const cookies = {
|
|
3452
|
+
/**
|
|
3453
|
+
* @param {string} name
|
|
3454
|
+
* @param {import('cookie').CookieParseOptions} [opts]
|
|
3455
|
+
*/
|
|
3208
3456
|
get(name, opts) {
|
|
3209
3457
|
const best_match = Array.from(new_cookies.values()).filter((c) => {
|
|
3210
3458
|
return c.name === name && domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path);
|
|
@@ -3212,6 +3460,9 @@ function get_cookies(request, url) {
|
|
|
3212
3460
|
if (best_match) return best_match.options.maxAge === 0 ? void 0 : best_match.value;
|
|
3213
3461
|
return (0, import_cookie.parse)(header, { decode: opts?.decode })[name];
|
|
3214
3462
|
},
|
|
3463
|
+
/**
|
|
3464
|
+
* @param {import('cookie').CookieParseOptions} [opts]
|
|
3465
|
+
*/
|
|
3215
3466
|
getAll(opts) {
|
|
3216
3467
|
const cookies = (0, import_cookie.parse)(header, { decode: opts?.decode });
|
|
3217
3468
|
const lookup = /* @__PURE__ */ new Map();
|
|
@@ -3225,6 +3476,11 @@ function get_cookies(request, url) {
|
|
|
3225
3476
|
value
|
|
3226
3477
|
}));
|
|
3227
3478
|
},
|
|
3479
|
+
/**
|
|
3480
|
+
* @param {string} name
|
|
3481
|
+
* @param {string} value
|
|
3482
|
+
* @param {import('./page/types.js').Cookie['options']} options
|
|
3483
|
+
*/
|
|
3228
3484
|
set(name, value, options) {
|
|
3229
3485
|
const illegal_characters = name.match(INVALID_COOKIE_CHARACTER_REGEX);
|
|
3230
3486
|
if (illegal_characters) console.warn(`The cookie name "${name}" will be invalid in SvelteKit 3.0 as it contains ${illegal_characters.join(" and ")}. See RFC 2616 for more details https://datatracker.ietf.org/doc/html/rfc2616#section-2.2`);
|
|
@@ -3234,6 +3490,10 @@ function get_cookies(request, url) {
|
|
|
3234
3490
|
...options
|
|
3235
3491
|
});
|
|
3236
3492
|
},
|
|
3493
|
+
/**
|
|
3494
|
+
* @param {string} name
|
|
3495
|
+
* @param {import('./page/types.js').Cookie['options']} options
|
|
3496
|
+
*/
|
|
3237
3497
|
delete(name, options) {
|
|
3238
3498
|
validate_options(options);
|
|
3239
3499
|
cookies.set(name, "", {
|
|
@@ -3241,6 +3501,11 @@ function get_cookies(request, url) {
|
|
|
3241
3501
|
maxAge: 0
|
|
3242
3502
|
});
|
|
3243
3503
|
},
|
|
3504
|
+
/**
|
|
3505
|
+
* @param {string} name
|
|
3506
|
+
* @param {string} value
|
|
3507
|
+
* @param {import('./page/types.js').Cookie['options']} options
|
|
3508
|
+
*/
|
|
3244
3509
|
serialize(name, value, options) {
|
|
3245
3510
|
validate_options(options);
|
|
3246
3511
|
let path = options.path;
|
|
@@ -3351,142 +3616,6 @@ function add_cookies_to_headers(headers, cookies) {
|
|
|
3351
3616
|
}
|
|
3352
3617
|
}
|
|
3353
3618
|
}
|
|
3354
|
-
var defaultParseOptions = {
|
|
3355
|
-
decodeValues: true,
|
|
3356
|
-
map: false,
|
|
3357
|
-
silent: false,
|
|
3358
|
-
split: "auto"
|
|
3359
|
-
};
|
|
3360
|
-
function isForbiddenKey(key) {
|
|
3361
|
-
return typeof key !== "string" || key in {};
|
|
3362
|
-
}
|
|
3363
|
-
function createNullObj() {
|
|
3364
|
-
return Object.create(null);
|
|
3365
|
-
}
|
|
3366
|
-
function isNonEmptyString(str) {
|
|
3367
|
-
return typeof str === "string" && !!str.trim();
|
|
3368
|
-
}
|
|
3369
|
-
function parseString(setCookieValue, options) {
|
|
3370
|
-
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
3371
|
-
var parsed = parseNameValuePair(parts.shift());
|
|
3372
|
-
var name = parsed.name;
|
|
3373
|
-
var value = parsed.value;
|
|
3374
|
-
options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
|
|
3375
|
-
if (isForbiddenKey(name)) return null;
|
|
3376
|
-
try {
|
|
3377
|
-
value = options.decodeValues ? decodeURIComponent(value) : value;
|
|
3378
|
-
} catch (e) {
|
|
3379
|
-
console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.", e);
|
|
3380
|
-
}
|
|
3381
|
-
var cookie = createNullObj();
|
|
3382
|
-
cookie.name = name;
|
|
3383
|
-
cookie.value = value;
|
|
3384
|
-
parts.forEach(function(part) {
|
|
3385
|
-
var sides = part.split("=");
|
|
3386
|
-
var key = sides.shift().trimLeft().toLowerCase();
|
|
3387
|
-
if (isForbiddenKey(key)) return;
|
|
3388
|
-
var value = sides.join("=");
|
|
3389
|
-
if (key === "expires") cookie.expires = new Date(value);
|
|
3390
|
-
else if (key === "max-age") {
|
|
3391
|
-
var n = parseInt(value, 10);
|
|
3392
|
-
if (!Number.isNaN(n)) cookie.maxAge = n;
|
|
3393
|
-
} else if (key === "secure") cookie.secure = true;
|
|
3394
|
-
else if (key === "httponly") cookie.httpOnly = true;
|
|
3395
|
-
else if (key === "samesite") cookie.sameSite = value;
|
|
3396
|
-
else if (key === "partitioned") cookie.partitioned = true;
|
|
3397
|
-
else if (key) cookie[key] = value;
|
|
3398
|
-
});
|
|
3399
|
-
return cookie;
|
|
3400
|
-
}
|
|
3401
|
-
function parseNameValuePair(nameValuePairStr) {
|
|
3402
|
-
var name = "";
|
|
3403
|
-
var value = "";
|
|
3404
|
-
var nameValueArr = nameValuePairStr.split("=");
|
|
3405
|
-
if (nameValueArr.length > 1) {
|
|
3406
|
-
name = nameValueArr.shift();
|
|
3407
|
-
value = nameValueArr.join("=");
|
|
3408
|
-
} else value = nameValuePairStr;
|
|
3409
|
-
return {
|
|
3410
|
-
name,
|
|
3411
|
-
value
|
|
3412
|
-
};
|
|
3413
|
-
}
|
|
3414
|
-
function parseSetCookie(input, options) {
|
|
3415
|
-
options = options ? Object.assign({}, defaultParseOptions, options) : defaultParseOptions;
|
|
3416
|
-
if (!input) if (!options.map) return [];
|
|
3417
|
-
else return createNullObj();
|
|
3418
|
-
if (input.headers) if (typeof input.headers.getSetCookie === "function") input = input.headers.getSetCookie();
|
|
3419
|
-
else if (input.headers["set-cookie"]) input = input.headers["set-cookie"];
|
|
3420
|
-
else {
|
|
3421
|
-
var sch = input.headers[Object.keys(input.headers).find(function(key) {
|
|
3422
|
-
return key.toLowerCase() === "set-cookie";
|
|
3423
|
-
})];
|
|
3424
|
-
if (!sch && input.headers.cookie && !options.silent) console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning.");
|
|
3425
|
-
input = sch;
|
|
3426
|
-
}
|
|
3427
|
-
var split = options.split;
|
|
3428
|
-
var isArray = Array.isArray(input);
|
|
3429
|
-
if (split === "auto") split = !isArray;
|
|
3430
|
-
if (!isArray) input = [input];
|
|
3431
|
-
input = input.filter(isNonEmptyString);
|
|
3432
|
-
if (split) input = input.map(splitCookiesString).flat();
|
|
3433
|
-
if (!options.map) return input.map(function(str) {
|
|
3434
|
-
return parseString(str, options);
|
|
3435
|
-
}).filter(Boolean);
|
|
3436
|
-
else {
|
|
3437
|
-
var cookies = createNullObj();
|
|
3438
|
-
return input.reduce(function(cookies, str) {
|
|
3439
|
-
var cookie = parseString(str, options);
|
|
3440
|
-
if (cookie && !isForbiddenKey(cookie.name)) cookies[cookie.name] = cookie;
|
|
3441
|
-
return cookies;
|
|
3442
|
-
}, cookies);
|
|
3443
|
-
}
|
|
3444
|
-
}
|
|
3445
|
-
function splitCookiesString(cookiesString) {
|
|
3446
|
-
if (Array.isArray(cookiesString)) return cookiesString;
|
|
3447
|
-
if (typeof cookiesString !== "string") return [];
|
|
3448
|
-
var cookiesStrings = [];
|
|
3449
|
-
var pos = 0;
|
|
3450
|
-
var start;
|
|
3451
|
-
var ch;
|
|
3452
|
-
var lastComma;
|
|
3453
|
-
var nextStart;
|
|
3454
|
-
var cookiesSeparatorFound;
|
|
3455
|
-
function skipWhitespace() {
|
|
3456
|
-
while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) pos += 1;
|
|
3457
|
-
return pos < cookiesString.length;
|
|
3458
|
-
}
|
|
3459
|
-
function notSpecialChar() {
|
|
3460
|
-
ch = cookiesString.charAt(pos);
|
|
3461
|
-
return ch !== "=" && ch !== ";" && ch !== ",";
|
|
3462
|
-
}
|
|
3463
|
-
while (pos < cookiesString.length) {
|
|
3464
|
-
start = pos;
|
|
3465
|
-
cookiesSeparatorFound = false;
|
|
3466
|
-
while (skipWhitespace()) {
|
|
3467
|
-
ch = cookiesString.charAt(pos);
|
|
3468
|
-
if (ch === ",") {
|
|
3469
|
-
lastComma = pos;
|
|
3470
|
-
pos += 1;
|
|
3471
|
-
skipWhitespace();
|
|
3472
|
-
nextStart = pos;
|
|
3473
|
-
while (pos < cookiesString.length && notSpecialChar()) pos += 1;
|
|
3474
|
-
if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
|
|
3475
|
-
cookiesSeparatorFound = true;
|
|
3476
|
-
pos = nextStart;
|
|
3477
|
-
cookiesStrings.push(cookiesString.substring(start, lastComma));
|
|
3478
|
-
start = pos;
|
|
3479
|
-
} else pos = lastComma + 1;
|
|
3480
|
-
} else pos += 1;
|
|
3481
|
-
}
|
|
3482
|
-
if (!cookiesSeparatorFound || pos >= cookiesString.length) cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
|
|
3483
|
-
}
|
|
3484
|
-
return cookiesStrings;
|
|
3485
|
-
}
|
|
3486
|
-
parseSetCookie.parseSetCookie = parseSetCookie;
|
|
3487
|
-
parseSetCookie.parse = parseSetCookie;
|
|
3488
|
-
parseSetCookie.parseString = parseString;
|
|
3489
|
-
parseSetCookie.splitCookiesString = splitCookiesString;
|
|
3490
3619
|
/**
|
|
3491
3620
|
* @param {{
|
|
3492
3621
|
* event: import('@sveltejs/kit').RequestEvent;
|
|
@@ -3556,8 +3685,7 @@ function create_fetch({ event, options, manifest, state, get_cookie_header, set_
|
|
|
3556
3685
|
if (!request.headers.has("accept")) request.headers.set("accept", "*/*");
|
|
3557
3686
|
if (!request.headers.has("accept-language")) request.headers.set("accept-language", event.request.headers.get("accept-language"));
|
|
3558
3687
|
const response = await internal_fetch(request, options, manifest, state);
|
|
3559
|
-
const
|
|
3560
|
-
if (set_cookie) for (const str of splitCookiesString(set_cookie)) {
|
|
3688
|
+
for (const str of get_set_cookies(response.headers)) {
|
|
3561
3689
|
const { name, value, ...options } = parseString(str, { decodeValues: false });
|
|
3562
3690
|
set_internal(name, value, {
|
|
3563
3691
|
path: options.path ?? (url.pathname.split("/").slice(0, -1).join("/") || "/"),
|
|
@@ -3615,7 +3743,7 @@ async function internal_fetch(request, options, manifest, state) {
|
|
|
3615
3743
|
});
|
|
3616
3744
|
}
|
|
3617
3745
|
/** @type {string} */
|
|
3618
|
-
var
|
|
3746
|
+
var payload;
|
|
3619
3747
|
/** @type {string} */
|
|
3620
3748
|
var etag;
|
|
3621
3749
|
/** @type {Headers} */
|
|
@@ -3625,7 +3753,8 @@ var headers;
|
|
|
3625
3753
|
* @returns {Response}
|
|
3626
3754
|
*/
|
|
3627
3755
|
function get_public_env(request) {
|
|
3628
|
-
|
|
3756
|
+
const script = request.url.endsWith(".script.js");
|
|
3757
|
+
payload ??= uneval(public_env);
|
|
3629
3758
|
etag ??= `W/${Date.now()}`;
|
|
3630
3759
|
headers ??= new Headers({
|
|
3631
3760
|
"content-type": "application/javascript; charset=utf-8",
|
|
@@ -3635,9 +3764,10 @@ function get_public_env(request) {
|
|
|
3635
3764
|
status: 304,
|
|
3636
3765
|
headers
|
|
3637
3766
|
});
|
|
3638
|
-
return new Response(
|
|
3767
|
+
if (script) return new Response(`globalThis.__sveltekit_sw={env:${payload}}`, { headers });
|
|
3768
|
+
return new Response(`export const env=${payload}`, { headers });
|
|
3639
3769
|
}
|
|
3640
|
-
/** @import { RequestState } from 'types' */
|
|
3770
|
+
/** @import { RequestState, SSRNode } from 'types' */
|
|
3641
3771
|
/** @type {import('types').RequiredResolveOptions['transformPageChunk']} */
|
|
3642
3772
|
var default_transform = ({ html }) => html;
|
|
3643
3773
|
/** @type {import('types').RequiredResolveOptions['filterSerializedResponseHeaders']} */
|
|
@@ -3713,7 +3843,9 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3713
3843
|
forms: null,
|
|
3714
3844
|
refreshes: null,
|
|
3715
3845
|
requested: null,
|
|
3716
|
-
|
|
3846
|
+
reconnects: null,
|
|
3847
|
+
batches: null,
|
|
3848
|
+
live_iterators: null
|
|
3717
3849
|
},
|
|
3718
3850
|
is_in_remote_function: false,
|
|
3719
3851
|
is_in_render: false,
|
|
@@ -3761,6 +3893,7 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3761
3893
|
config: {},
|
|
3762
3894
|
prerender: !!state.prerendering?.fallback
|
|
3763
3895
|
});
|
|
3896
|
+
/** @type {string | null} */
|
|
3764
3897
|
let resolved_path = url.pathname;
|
|
3765
3898
|
if (!remote_id) {
|
|
3766
3899
|
const prerendering_reroute_state = state.prerendering?.inside_reroute;
|
|
@@ -3776,10 +3909,21 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3776
3909
|
if (state.prerendering) state.prerendering.inside_reroute = prerendering_reroute_state;
|
|
3777
3910
|
}
|
|
3778
3911
|
}
|
|
3912
|
+
/** @type {import('types').RequiredResolveOptions} */
|
|
3913
|
+
let resolve_opts = {
|
|
3914
|
+
transformPageChunk: default_transform,
|
|
3915
|
+
filterSerializedResponseHeaders: default_filter,
|
|
3916
|
+
preload: default_preload
|
|
3917
|
+
};
|
|
3918
|
+
/** @type {import('types').TrailingSlash} */
|
|
3919
|
+
let trailing_slash = "never";
|
|
3920
|
+
/** @type {PageNodes | undefined} */
|
|
3921
|
+
let page_nodes;
|
|
3779
3922
|
try {
|
|
3780
3923
|
resolved_path = decode_pathname(resolved_path);
|
|
3781
3924
|
} catch {
|
|
3782
|
-
|
|
3925
|
+
resolved_path = null;
|
|
3926
|
+
return await handle();
|
|
3783
3927
|
}
|
|
3784
3928
|
if (resolved_path !== decode_pathname(url.pathname) && !state.prerendering?.fallback && has_prerendered_path(manifest, resolved_path)) {
|
|
3785
3929
|
const url = new URL(request.url);
|
|
@@ -3807,7 +3951,7 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3807
3951
|
resolved_path = resolved_path.slice(base.length) || "/";
|
|
3808
3952
|
}
|
|
3809
3953
|
if (is_route_resolution_request) return resolve_route(resolved_path, new URL(request.url), manifest);
|
|
3810
|
-
if (resolved_path === `/_app/env.js`) return get_public_env(request);
|
|
3954
|
+
if (resolved_path === `/_app/env.js` || resolved_path === `/_app/env.script.js`) return get_public_env(request);
|
|
3811
3955
|
if (!remote_id && resolved_path.startsWith(`/_app`)) {
|
|
3812
3956
|
const headers = new Headers();
|
|
3813
3957
|
headers.set("cache-control", "public, max-age=0, must-revalidate");
|
|
@@ -3825,17 +3969,8 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3825
3969
|
event.params = result.params;
|
|
3826
3970
|
}
|
|
3827
3971
|
}
|
|
3828
|
-
/** @type {import('types').RequiredResolveOptions} */
|
|
3829
|
-
let resolve_opts = {
|
|
3830
|
-
transformPageChunk: default_transform,
|
|
3831
|
-
filterSerializedResponseHeaders: default_filter,
|
|
3832
|
-
preload: default_preload
|
|
3833
|
-
};
|
|
3834
|
-
/** @type {import('types').TrailingSlash} */
|
|
3835
|
-
let trailing_slash = "never";
|
|
3836
3972
|
try {
|
|
3837
|
-
|
|
3838
|
-
const page_nodes = route?.page ? new PageNodes(await load_page_nodes(route.page, manifest)) : void 0;
|
|
3973
|
+
page_nodes = route?.page ? new PageNodes(await load_page_nodes(route.page, manifest)) : void 0;
|
|
3839
3974
|
if (route && !remote_id) {
|
|
3840
3975
|
if (url.pathname === base || url.pathname === base + "/") trailing_slash = "always";
|
|
3841
3976
|
else if (page_nodes) trailing_slash = page_nodes.trailing_slash();
|
|
@@ -3862,13 +3997,25 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3862
3997
|
config = page_nodes.get_config() ?? config;
|
|
3863
3998
|
prerender = page_nodes.prerender();
|
|
3864
3999
|
}
|
|
3865
|
-
if (state.before_handle) state.before_handle(event, config, prerender);
|
|
3866
4000
|
if (state.emulator?.platform) event.platform = await state.emulator.platform({
|
|
3867
4001
|
config,
|
|
3868
4002
|
prerender
|
|
3869
4003
|
});
|
|
4004
|
+
if (state.before_handle) return await state.before_handle(event, config, prerender, handle);
|
|
3870
4005
|
}
|
|
3871
4006
|
}
|
|
4007
|
+
return await handle();
|
|
4008
|
+
} catch (e) {
|
|
4009
|
+
if (e instanceof Redirect) try {
|
|
4010
|
+
const response = is_data_request || remote_id ? redirect_json_response(e) : route?.page && is_action_json_request(event) ? action_json_redirect(e) : redirect_response(e.status, e.location);
|
|
4011
|
+
add_cookies_to_headers(response.headers, new_cookies.values());
|
|
4012
|
+
return response;
|
|
4013
|
+
} catch (err) {
|
|
4014
|
+
return await handle_fatal_error(event, event_state, options, err);
|
|
4015
|
+
}
|
|
4016
|
+
return await handle_fatal_error(event, event_state, options, e);
|
|
4017
|
+
}
|
|
4018
|
+
async function handle() {
|
|
3872
4019
|
set_trailing_slash(trailing_slash);
|
|
3873
4020
|
if (state.prerendering && !state.prerendering.fallback && !state.prerendering.inside_reroute) disable_search(url);
|
|
3874
4021
|
const response = await record_span({
|
|
@@ -3929,12 +4076,12 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3929
4076
|
"content-location",
|
|
3930
4077
|
"date",
|
|
3931
4078
|
"expires",
|
|
3932
|
-
"vary"
|
|
3933
|
-
"set-cookie"
|
|
4079
|
+
"vary"
|
|
3934
4080
|
]) {
|
|
3935
4081
|
const value = response.headers.get(key);
|
|
3936
4082
|
if (value) headers.set(key, value);
|
|
3937
4083
|
}
|
|
4084
|
+
for (const cookie of get_set_cookies(response.headers)) headers.append("set-cookie", cookie);
|
|
3938
4085
|
return new Response(void 0, {
|
|
3939
4086
|
status: 304,
|
|
3940
4087
|
headers
|
|
@@ -3946,15 +4093,6 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3946
4093
|
if (location) return redirect_json_response(new Redirect(response.status, location));
|
|
3947
4094
|
}
|
|
3948
4095
|
return response;
|
|
3949
|
-
} catch (e) {
|
|
3950
|
-
if (e instanceof Redirect) try {
|
|
3951
|
-
const response = is_data_request || remote_id ? redirect_json_response(e) : route?.page && is_action_json_request(event) ? action_json_redirect(e) : redirect_response(e.status, e.location);
|
|
3952
|
-
add_cookies_to_headers(response.headers, new_cookies.values());
|
|
3953
|
-
return response;
|
|
3954
|
-
} catch (err) {
|
|
3955
|
-
return await handle_fatal_error(event, event_state, options, err);
|
|
3956
|
-
}
|
|
3957
|
-
return await handle_fatal_error(event, event_state, options, e);
|
|
3958
4096
|
}
|
|
3959
4097
|
/**
|
|
3960
4098
|
* @param {import('@sveltejs/kit').RequestEvent} event
|
|
@@ -3968,6 +4106,16 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3968
4106
|
filterSerializedResponseHeaders: opts.filterSerializedResponseHeaders || default_filter,
|
|
3969
4107
|
preload: opts.preload || default_preload
|
|
3970
4108
|
};
|
|
4109
|
+
if (resolved_path === null) return await respond_with_error({
|
|
4110
|
+
event,
|
|
4111
|
+
event_state,
|
|
4112
|
+
options,
|
|
4113
|
+
manifest,
|
|
4114
|
+
state,
|
|
4115
|
+
status: 400,
|
|
4116
|
+
error: new SvelteKitError(400, "Malformed URI", `Failed to decode URI: ${event.url.pathname}`),
|
|
4117
|
+
resolve_opts
|
|
4118
|
+
});
|
|
3971
4119
|
if (options.hash_routing || state.prerendering?.fallback) return await render_response({
|
|
3972
4120
|
event,
|
|
3973
4121
|
event_state,
|
|
@@ -3980,7 +4128,11 @@ async function internal_respond(request, options, manifest, state) {
|
|
|
3980
4128
|
},
|
|
3981
4129
|
status: 200,
|
|
3982
4130
|
error: null,
|
|
3983
|
-
branch: [
|
|
4131
|
+
branch: [{
|
|
4132
|
+
node: await manifest._.nodes[0](),
|
|
4133
|
+
data: null,
|
|
4134
|
+
server_data: null
|
|
4135
|
+
}],
|
|
3984
4136
|
fetched: [],
|
|
3985
4137
|
resolve_opts,
|
|
3986
4138
|
data_serializer: server_data_serializer(event, event_state, options)
|