@turnipxenon/pineapple 2.4.46 → 2.4.47
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/.idea/workspace.xml +18 -14
- package/.svelte-kit/ambient.d.ts +4 -4
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/build/client/_app/immutable/assets/0.vT28YyQg.css.br +0 -0
- package/build/client/_app/immutable/assets/0.vT28YyQg.css.gz +0 -0
- package/build/client/_app/immutable/assets/13.BIMIBpeM.css.br +2 -0
- package/build/client/_app/immutable/assets/13.BIMIBpeM.css.gz +0 -0
- package/build/client/_app/immutable/assets/4.ClTmhFiH.css.br +0 -0
- package/build/client/_app/immutable/assets/4.ClTmhFiH.css.gz +0 -0
- package/build/client/_app/immutable/assets/Card.BAkK2DAr.css.br +0 -0
- package/build/client/_app/immutable/assets/Card.BAkK2DAr.css.gz +0 -0
- package/build/client/_app/immutable/assets/NavigationComponent.DAojhPuD.css.br +0 -0
- package/build/client/_app/immutable/assets/NavigationComponent.DAojhPuD.css.gz +0 -0
- package/build/client/_app/immutable/assets/PineappleBaseLayout.syfctdq0.css.br +0 -0
- package/build/client/_app/immutable/assets/PineappleBaseLayout.syfctdq0.css.gz +0 -0
- package/build/client/_app/immutable/assets/ProgressBar.Cirlo5Z8.css.br +0 -0
- package/build/client/_app/immutable/assets/ProgressBar.Cirlo5Z8.css.gz +0 -0
- package/build/client/_app/immutable/assets/SeaweedTemplate.GqF0sFEE.css +1 -0
- package/build/client/_app/immutable/assets/SeaweedTemplate.GqF0sFEE.css.br +0 -0
- package/build/client/_app/immutable/assets/SeaweedTemplate.GqF0sFEE.css.gz +0 -0
- package/build/client/_app/immutable/assets/_layout.h2ESO4YN.css.br +0 -0
- package/build/client/_app/immutable/assets/_layout.h2ESO4YN.css.gz +0 -0
- package/build/client/_app/immutable/assets/_page.BIMIBpeM.css.br +2 -0
- package/build/client/_app/immutable/assets/_page.BIMIBpeM.css.gz +0 -0
- package/build/client/_app/immutable/assets/_page.ClTmhFiH.css.br +0 -0
- package/build/client/_app/immutable/assets/_page.ClTmhFiH.css.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/Card.DH87RA66.js → build/client/_app/immutable/chunks/Card.Cqslzydv.js} +2 -2
- package/build/client/_app/immutable/chunks/Card.Cqslzydv.js.br +0 -0
- package/build/client/_app/immutable/chunks/Card.Cqslzydv.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/DialogManagerStore.p-R7jA3N.js → build/client/_app/immutable/chunks/DialogManagerStore.BHUI4V3S.js} +1 -1
- package/build/client/_app/immutable/chunks/DialogManagerStore.BHUI4V3S.js.br +0 -0
- package/build/client/_app/immutable/chunks/DialogManagerStore.BHUI4V3S.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DiY8SXB3.js → build/client/_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.CsYmxU_7.js} +1 -1
- package/build/client/_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.CsYmxU_7.js.br +0 -0
- package/build/client/_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.CsYmxU_7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/SeaweedTemplate.olNF2tjY.js +1070 -0
- package/build/client/_app/immutable/chunks/SeaweedTemplate.olNF2tjY.js.br +0 -0
- package/build/client/_app/immutable/chunks/SeaweedTemplate.olNF2tjY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/SeaweedTemplate.svelte_svelte_type_style_lang.DxGjnfBo.js +61 -0
- package/build/client/_app/immutable/chunks/SeaweedTemplate.svelte_svelte_type_style_lang.DxGjnfBo.js.br +0 -0
- package/build/client/_app/immutable/chunks/SeaweedTemplate.svelte_svelte_type_style_lang.DxGjnfBo.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/SlideToggle.DGF7DQhk.js → build/client/_app/immutable/chunks/SlideToggle.u1_9_9_F.js} +1 -1
- package/build/client/_app/immutable/chunks/SlideToggle.u1_9_9_F.js.br +0 -0
- package/build/client/_app/immutable/chunks/SlideToggle.u1_9_9_F.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Toast.DTsUTF2x.js +1 -0
- package/build/client/_app/immutable/chunks/Toast.DTsUTF2x.js.br +0 -0
- package/build/client/_app/immutable/chunks/Toast.DTsUTF2x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.BCsXwAds.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.BCsXwAds.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.CER3LJw4.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.CER3LJw4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.CJqYI1vC.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.CJqYI1vC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.CRke_Vt-.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.CRke_Vt-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.CdlE3ZqM.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.CdlE3ZqM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.D8F_fKwN.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.D8F_fKwN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.DOjmKWLN.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.DOjmKWLN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_page.UybeXHGE.js.br +0 -0
- package/build/client/_app/immutable/chunks/_page.UybeXHGE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/each.D6YF6ztN.js.br +0 -0
- package/build/client/_app/immutable/chunks/each.D6YF6ztN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/entry.CqafanwD.js +3 -0
- package/build/client/_app/immutable/chunks/entry.CqafanwD.js.br +0 -0
- package/build/client/_app/immutable/chunks/entry.CqafanwD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/index.CpCFB3OR.js +1 -0
- package/build/client/_app/immutable/chunks/index.CpCFB3OR.js.br +0 -0
- package/build/client/_app/immutable/chunks/index.CpCFB3OR.js.gz +0 -0
- package/build/{static/_app/immutable/chunks/index.CWCbcDVt.js → client/_app/immutable/chunks/index.CzQb476d.js} +2 -2
- package/build/client/_app/immutable/chunks/index.CzQb476d.js.br +0 -0
- package/build/client/_app/immutable/chunks/index.CzQb476d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/index.DbwYs1Xx.js.br +0 -0
- package/build/client/_app/immutable/chunks/index.DbwYs1Xx.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/index.HfS4ysOO.js → build/client/_app/immutable/chunks/index.XsyeOyy6.js} +1 -1
- package/build/client/_app/immutable/chunks/index.XsyeOyy6.js.br +0 -0
- package/build/client/_app/immutable/chunks/index.XsyeOyy6.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/index.BwUaF0YV.js → build/client/_app/immutable/chunks/index.siPN9RHO.js} +2 -2
- package/build/client/_app/immutable/chunks/index.siPN9RHO.js.br +0 -0
- package/build/client/_app/immutable/chunks/index.siPN9RHO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/preload-helper.BQ24v_F8.js.br +0 -0
- package/build/client/_app/immutable/chunks/preload-helper.BQ24v_F8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/scheduler._lhIxVlV.js +1 -0
- package/build/client/_app/immutable/chunks/scheduler._lhIxVlV.js.br +0 -0
- package/build/client/_app/immutable/chunks/scheduler._lhIxVlV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/spread.CgU5AtxT.js.br +0 -0
- package/build/client/_app/immutable/chunks/spread.CgU5AtxT.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/store.BMp6_Mv-.js → build/client/_app/immutable/chunks/store.RmhKBLzA.js} +1 -1
- package/build/client/_app/immutable/chunks/store.RmhKBLzA.js.br +0 -0
- package/build/client/_app/immutable/chunks/store.RmhKBLzA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/stores.BlLsExs2.js +1 -0
- package/build/client/_app/immutable/chunks/stores.BlLsExs2.js.br +2 -0
- package/build/client/_app/immutable/chunks/stores.BlLsExs2.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/stores.C1y1vsDB.js → build/client/_app/immutable/chunks/stores.DIRl0B43.js} +1 -1
- package/build/client/_app/immutable/chunks/stores.DIRl0B43.js.br +0 -0
- package/build/client/_app/immutable/chunks/stores.DIRl0B43.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/chunks/stores.CTStYDmk.js → build/client/_app/immutable/chunks/stores.UAeg925R.js} +1 -1
- package/build/client/_app/immutable/chunks/stores.UAeg925R.js.br +0 -0
- package/build/client/_app/immutable/chunks/stores.UAeg925R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/transitions.FXurGCgU.js.br +0 -0
- package/build/client/_app/immutable/chunks/transitions.FXurGCgU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/util.CpV-3U2s.js.br +0 -0
- package/build/client/_app/immutable/chunks/util.CpV-3U2s.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/entry/app.DBmRlvle.js → build/client/_app/immutable/entry/app.Roh-CwIG.js} +2 -2
- package/build/client/_app/immutable/entry/app.Roh-CwIG.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Roh-CwIG.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DcyrsFfL.js +1 -0
- package/build/client/_app/immutable/entry/start.DcyrsFfL.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DcyrsFfL.js.gz +0 -0
- package/build/{static/_app/immutable/nodes/0.DSodj2wf.js → client/_app/immutable/nodes/0.C4avhXVA.js} +2 -2
- package/build/client/_app/immutable/nodes/0.C4avhXVA.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.C4avhXVA.js.gz +0 -0
- package/build/{static/_app/immutable/nodes/1.BRjT3J9Z.js → client/_app/immutable/nodes/1.D0PSlzBz.js} +1 -1
- package/build/client/_app/immutable/nodes/1.D0PSlzBz.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.D0PSlzBz.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/nodes/10.CNjqd06K.js → build/client/_app/immutable/nodes/10.DOmmqdN-.js} +1 -1
- package/build/client/_app/immutable/nodes/10.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.DOmmqdN-.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/nodes/11.CNjqd06K.js → build/client/_app/immutable/nodes/11.DOmmqdN-.js} +1 -1
- package/build/client/_app/immutable/nodes/11.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.DOmmqdN-.js.gz +0 -0
- package/build/{static/_app/immutable/nodes/12.BYSc8zlB.js → client/_app/immutable/nodes/12.DsQEbmGE.js} +1 -1
- package/build/client/_app/immutable/nodes/12.DsQEbmGE.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.DsQEbmGE.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/nodes/13.BlqYNJ3t.js → build/client/_app/immutable/nodes/13.BT4c85jG.js} +5 -5
- package/build/client/_app/immutable/nodes/13.BT4c85jG.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BT4c85jG.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/nodes/14.CVCdnjGH.js → build/client/_app/immutable/nodes/14.Of3nlv7V.js} +1 -1
- package/build/client/_app/immutable/nodes/14.Of3nlv7V.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Of3nlv7V.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BPS0gknX.js +1 -0
- package/build/client/_app/immutable/nodes/15.BPS0gknX.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BPS0gknX.js.gz +0 -0
- package/build/{static/_app/immutable/nodes/2.Ug_nHwAt.js → client/_app/immutable/nodes/2.C0CLaNxi.js} +2 -2
- package/build/client/_app/immutable/nodes/2.C0CLaNxi.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.C0CLaNxi.js.gz +0 -0
- package/build/{static/_app/immutable/nodes/3.baFnd1R-.js → client/_app/immutable/nodes/3.DniefHgr.js} +1 -1
- package/build/client/_app/immutable/nodes/3.DniefHgr.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DniefHgr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CArxSEXv.js +1 -0
- package/build/client/_app/immutable/nodes/4.CArxSEXv.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CArxSEXv.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/nodes/5.CNjqd06K.js → build/client/_app/immutable/nodes/5.DOmmqdN-.js} +1 -1
- package/build/client/_app/immutable/nodes/5.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.DOmmqdN-.js.gz +0 -0
- package/{.svelte-kit/output/client/_app/immutable/nodes/6.CNjqd06K.js → build/client/_app/immutable/nodes/6.DOmmqdN-.js} +1 -1
- package/build/client/_app/immutable/nodes/6.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DOmmqdN-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.DOmmqdN-.js +1 -0
- package/build/client/_app/immutable/nodes/7.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DOmmqdN-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.DOmmqdN-.js +1 -0
- package/build/client/_app/immutable/nodes/8.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DOmmqdN-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DOmmqdN-.js +1 -0
- package/build/client/_app/immutable/nodes/9.DOmmqdN-.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DOmmqdN-.js.gz +0 -0
- package/build/client/_app/version.json +1 -0
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/env.js +43 -0
- package/build/handler.js +1334 -0
- package/build/index.js +323 -0
- package/build/prerendered/portfolio/__data.json.br +0 -0
- package/build/prerendered/portfolio/__data.json.gz +0 -0
- package/build/prerendered/portfolio.html +240 -0
- package/build/prerendered/portfolio.html.br +0 -0
- package/build/prerendered/portfolio.html.gz +0 -0
- package/build/server/chunks/0-KMIjynIm.js +9 -0
- package/build/server/chunks/0-KMIjynIm.js.map +1 -0
- package/build/server/chunks/1-CPYJlXmE.js +9 -0
- package/build/server/chunks/1-CPYJlXmE.js.map +1 -0
- package/build/server/chunks/10-ByB12I6i.js +9 -0
- package/build/server/chunks/10-ByB12I6i.js.map +1 -0
- package/build/server/chunks/11-Bqxt-_Xz.js +9 -0
- package/build/server/chunks/11-Bqxt-_Xz.js.map +1 -0
- package/build/server/chunks/12-wv3y8eRw.js +9 -0
- package/build/server/chunks/12-wv3y8eRw.js.map +1 -0
- package/build/server/chunks/13-CqUa6DKb.js +22 -0
- package/build/server/chunks/13-CqUa6DKb.js.map +1 -0
- package/build/server/chunks/15-D73EDQfd.js +22 -0
- package/build/server/chunks/15-D73EDQfd.js.map +1 -0
- package/build/server/chunks/2-DGl4iAUS.js +9 -0
- package/build/server/chunks/2-DGl4iAUS.js.map +1 -0
- package/build/server/chunks/3-BkP0gvW2.js +9 -0
- package/build/server/chunks/3-BkP0gvW2.js.map +1 -0
- package/build/server/chunks/4-D-IFPEHZ.js +9 -0
- package/build/server/chunks/4-D-IFPEHZ.js.map +1 -0
- package/build/server/chunks/5-1JJGr-hh.js +9 -0
- package/build/server/chunks/5-1JJGr-hh.js.map +1 -0
- package/build/server/chunks/6-CsfOsh4P.js +9 -0
- package/build/server/chunks/6-CsfOsh4P.js.map +1 -0
- package/build/server/chunks/7-ClOFYc99.js +9 -0
- package/build/server/chunks/7-ClOFYc99.js.map +1 -0
- package/build/server/chunks/8-BQiYCfzA.js +9 -0
- package/build/server/chunks/8-BQiYCfzA.js.map +1 -0
- package/build/server/chunks/9-BIbW4vaf.js +9 -0
- package/build/server/chunks/9-BIbW4vaf.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/Card.js → build/server/chunks/Card-2Fi14Ee_.js} +5 -4
- package/build/server/chunks/Card-2Fi14Ee_.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/DialogManagerStore.js → build/server/chunks/DialogManagerStore-_F4uBJWM.js} +9 -25
- package/build/server/chunks/DialogManagerStore-_F4uBJWM.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/ProgressBar.svelte_svelte_type_style_lang.js → build/server/chunks/ProgressBar.svelte_svelte_type_style_lang-SkkMcEL5.js} +5 -8
- package/build/server/chunks/ProgressBar.svelte_svelte_type_style_lang-SkkMcEL5.js.map +1 -0
- package/build/server/chunks/SeaweedTemplate.svelte_svelte_type_style_lang-CCbNvvLx.js +331 -0
- package/build/server/chunks/SeaweedTemplate.svelte_svelte_type_style_lang-CCbNvvLx.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/SlideToggle.js → build/server/chunks/SlideToggle-7ZUciZM2.js} +5 -4
- package/build/server/chunks/SlideToggle-7ZUciZM2.js.map +1 -0
- package/{.svelte-kit/adapter-node/entries/pages/_error.svelte.js → build/server/chunks/_error.svelte-BzIpkAmU.js} +8 -5
- package/build/server/chunks/_error.svelte-BzIpkAmU.js.map +1 -0
- package/{.svelte-kit/output/server/entries/pages/(pineapple)/_layout.svelte.js → build/server/chunks/_layout.svelte-BJy0SSDg.js} +14 -11
- package/build/server/chunks/_layout.svelte-BJy0SSDg.js.map +1 -0
- package/{.svelte-kit/output/server/entries/pages/_layout.svelte.js → build/server/chunks/_layout.svelte-BXEPLbGU.js} +14 -10
- package/build/server/chunks/_layout.svelte-BXEPLbGU.js.map +1 -0
- package/{.svelte-kit/adapter-node/entries/pages/(seaweed)/_layout.svelte.js → build/server/chunks/_layout.svelte-BZmk1pJQ.js} +10 -8
- package/build/server/chunks/_layout.svelte-BZmk1pJQ.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/_page.js → build/server/chunks/_page-C4bdgzNZ.js} +3 -3
- package/build/server/chunks/_page-C4bdgzNZ.js.map +1 -0
- package/{.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(pineapple)/_page.svelte.js → build/server/chunks/_page.svelte-CoBwY5R6.js} +17 -14
- package/build/server/chunks/_page.svelte-CoBwY5R6.js.map +1 -0
- package/build/server/chunks/_page.svelte-Cs3TpJ-J.js +25 -0
- package/build/server/chunks/_page.svelte-Cs3TpJ-J.js.map +1 -0
- package/build/server/chunks/_page.svelte-CwRPslA_.js +25 -0
- package/build/server/chunks/_page.svelte-CwRPslA_.js.map +1 -0
- package/build/server/chunks/_page.svelte-D4TldIJX.js +25 -0
- package/build/server/chunks/_page.svelte-D4TldIJX.js.map +1 -0
- package/{.svelte-kit/adapter-node/entries/pages/(pineapple)/_page.svelte.js → build/server/chunks/_page.svelte-DBubSTBJ.js} +14 -10
- package/build/server/chunks/_page.svelte-DBubSTBJ.js.map +1 -0
- package/build/server/chunks/_page.svelte-DWq_pga0.js +25 -0
- package/build/server/chunks/_page.svelte-DWq_pga0.js.map +1 -0
- package/build/server/chunks/_page.svelte-DX-wlnYc.js +22 -0
- package/build/server/chunks/_page.svelte-DX-wlnYc.js.map +1 -0
- package/build/server/chunks/_page.svelte-DmRwzfw2.js +25 -0
- package/build/server/chunks/_page.svelte-DmRwzfw2.js.map +1 -0
- package/build/server/chunks/_page.svelte-DoXYvCKL.js +1041 -0
- package/build/server/chunks/_page.svelte-DoXYvCKL.js.map +1 -0
- package/build/server/chunks/_page.svelte-Jf-X5Rnw.js +25 -0
- package/build/server/chunks/_page.svelte-Jf-X5Rnw.js.map +1 -0
- package/build/server/chunks/_page.svelte-esjB02TA.js +25 -0
- package/build/server/chunks/_page.svelte-esjB02TA.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/_page2.js → build/server/chunks/_page2-C4bdgzNZ.js} +3 -3
- package/build/server/chunks/_page2-C4bdgzNZ.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/_page3.js → build/server/chunks/_page3-C4bdgzNZ.js} +3 -3
- package/build/server/chunks/_page3-C4bdgzNZ.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/_page4.js → build/server/chunks/_page4-C4bdgzNZ.js} +3 -3
- package/build/server/chunks/_page4-C4bdgzNZ.js.map +1 -0
- package/build/server/chunks/_page5-C4bdgzNZ.js +4 -0
- package/build/server/chunks/_page5-C4bdgzNZ.js.map +1 -0
- package/build/server/chunks/_page6-C4bdgzNZ.js +4 -0
- package/build/server/chunks/_page6-C4bdgzNZ.js.map +1 -0
- package/build/server/chunks/_page7-C4bdgzNZ.js +4 -0
- package/build/server/chunks/_page7-C4bdgzNZ.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/_page8.js → build/server/chunks/_page8-DfvDtv49.js} +3 -3
- package/build/server/chunks/_page8-DfvDtv49.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/client.js → build/server/chunks/client-CjdeEz1m.js} +3 -2
- package/build/server/chunks/client-CjdeEz1m.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/exports.js → build/server/chunks/exports-DuWZopOC.js} +5 -72
- package/build/server/chunks/exports-DuWZopOC.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/ssr.js → build/server/chunks/index-Dux0Qc2u.js} +51 -26
- package/build/server/chunks/index-Dux0Qc2u.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/index2.js → build/server/chunks/index2-CKzT37zP.js} +6 -6
- package/build/server/chunks/index2-CKzT37zP.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/index3.js → build/server/chunks/index3-Bx4sUpqk.js} +6 -6
- package/build/server/chunks/index3-Bx4sUpqk.js.map +1 -0
- package/{.svelte-kit/output/server/chunks/index4.js → build/server/chunks/index4-Ce-TEB-q.js} +3 -4
- package/build/server/chunks/index4-Ce-TEB-q.js.map +1 -0
- package/build/server/chunks/prod-ssr-DxkyU4_t.js +5 -0
- package/build/server/chunks/prod-ssr-DxkyU4_t.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/store.js → build/server/chunks/store-wiFecv6I.js} +6 -12
- package/build/server/chunks/store-wiFecv6I.js.map +1 -0
- package/build/server/chunks/stores-CS43lvG7.js +6 -0
- package/build/server/chunks/stores-CS43lvG7.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/stores2.js → build/server/chunks/stores2-BKuxMr7h.js} +6 -5
- package/build/server/chunks/stores2-BKuxMr7h.js.map +1 -0
- package/{.svelte-kit/adapter-node/chunks/stores3.js → build/server/chunks/stores3-DzEecBrh.js} +5 -6
- package/build/server/chunks/stores3-DzEecBrh.js.map +1 -0
- package/{.svelte-kit/adapter-node → build/server}/index.js +1357 -49
- package/build/server/index.js.map +1 -0
- package/{.svelte-kit/adapter-node → build/server}/manifest.js +22 -19
- package/build/server/manifest.js.map +1 -0
- package/build/shims.js +32 -0
- package/package.json +3 -6
- package/svelte.config.js +1 -1
- package/yarn.lock +8 -300
- package/.svelte-kit/adapter-node/.vite/manifest.json +0 -612
- package/.svelte-kit/adapter-node/_app/immutable/assets/SeaweedTemplate.CVXyf0f_.css +0 -1
- package/.svelte-kit/adapter-node/chunks/DialogManagerStore.js +0 -1412
- package/.svelte-kit/adapter-node/chunks/ProgressBar.svelte_svelte_type_style_lang.js +0 -60
- package/.svelte-kit/adapter-node/chunks/SeaweedTemplate.js +0 -1094
- package/.svelte-kit/adapter-node/chunks/_page5.js +0 -4
- package/.svelte-kit/adapter-node/chunks/_page6.js +0 -4
- package/.svelte-kit/adapter-node/chunks/_page7.js +0 -4
- package/.svelte-kit/adapter-node/chunks/exports.js +0 -200
- package/.svelte-kit/adapter-node/chunks/index.js +0 -52
- package/.svelte-kit/adapter-node/chunks/index2.js +0 -100
- package/.svelte-kit/adapter-node/chunks/index3.js +0 -48
- package/.svelte-kit/adapter-node/chunks/index4.js +0 -12
- package/.svelte-kit/adapter-node/chunks/internal.js +0 -247
- package/.svelte-kit/adapter-node/chunks/prod-ssr.js +0 -6
- package/.svelte-kit/adapter-node/chunks/ssr.js +0 -322
- package/.svelte-kit/adapter-node/chunks/stores.js +0 -5
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/_layout.svelte.js +0 -292
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page1/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page2/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page5/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page6/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page7/(test_layout)/page8/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page7/_page.svelte.js +0 -22
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(extra-pages)/page4/_page.svelte.js +0 -18
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(pineapple)/_page.svelte.js +0 -332
- package/.svelte-kit/adapter-node/entries/pages/(pineapple)/pineapple/(pineapple)/_page.ts.js +0 -9
- package/.svelte-kit/adapter-node/entries/pages/(seaweed)/portfolio/_page.server.ts.js +0 -8
- package/.svelte-kit/adapter-node/entries/pages/(seaweed)/portfolio/_page.svelte.js +0 -8
- package/.svelte-kit/adapter-node/entries/pages/(seaweed)/portfolio/_page.ts.js +0 -9
- package/.svelte-kit/adapter-node/entries/pages/(seaweed)/portfolio/actual/_page.svelte.js +0 -18
- package/.svelte-kit/adapter-node/entries/pages/(seaweed)/portfolio/actual/_page.ts.js +0 -9
- package/.svelte-kit/adapter-node/entries/pages/_layout.svelte.js +0 -58
- package/.svelte-kit/adapter-node/internal.js +0 -13
- package/.svelte-kit/adapter-node/manifest-full.js +0 -125
- package/.svelte-kit/adapter-node/nodes/0.js +0 -8
- package/.svelte-kit/adapter-node/nodes/1.js +0 -8
- package/.svelte-kit/adapter-node/nodes/10.js +0 -8
- package/.svelte-kit/adapter-node/nodes/11.js +0 -8
- package/.svelte-kit/adapter-node/nodes/12.js +0 -8
- package/.svelte-kit/adapter-node/nodes/13.js +0 -10
- package/.svelte-kit/adapter-node/nodes/14.js +0 -13
- package/.svelte-kit/adapter-node/nodes/15.js +0 -10
- package/.svelte-kit/adapter-node/nodes/2.js +0 -8
- package/.svelte-kit/adapter-node/nodes/3.js +0 -8
- package/.svelte-kit/adapter-node/nodes/4.js +0 -8
- package/.svelte-kit/adapter-node/nodes/5.js +0 -8
- package/.svelte-kit/adapter-node/nodes/6.js +0 -8
- package/.svelte-kit/adapter-node/nodes/7.js +0 -8
- package/.svelte-kit/adapter-node/nodes/8.js +0 -8
- package/.svelte-kit/adapter-node/nodes/9.js +0 -8
- package/.svelte-kit/azure-tmp/api/host.json +0 -7
- package/.svelte-kit/azure-tmp/api/local.settings.json +0 -6
- package/.svelte-kit/azure-tmp/api/package.json +0 -1
- package/.svelte-kit/azure-tmp/entry.d.ts +0 -8
- package/.svelte-kit/azure-tmp/entry.js +0 -103
- package/.svelte-kit/azure-tmp/headers.js +0 -67
- package/.svelte-kit/azure-tmp/manifest.js +0 -117
- package/.svelte-kit/generated/client-optimized/app.js +0 -45
- package/.svelte-kit/generated/client-optimized/matchers.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/0.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/1.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/10.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/11.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/12.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/13.js +0 -3
- package/.svelte-kit/generated/client-optimized/nodes/14.js +0 -3
- package/.svelte-kit/generated/client-optimized/nodes/15.js +0 -3
- package/.svelte-kit/generated/client-optimized/nodes/2.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/3.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/4.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/5.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/6.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/7.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/8.js +0 -1
- package/.svelte-kit/generated/client-optimized/nodes/9.js +0 -1
- package/.svelte-kit/output/client/.vite/manifest.json +0 -688
- package/.svelte-kit/output/client/_app/immutable/assets/Card.BAkK2DAr.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/NavigationComponent.DAojhPuD.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/PineappleBaseLayout.syfctdq0.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/ProgressBar.Cirlo5Z8.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/SeaweedTemplate.CVXyf0f_.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/_layout.h2ESO4YN.css +0 -10
- package/.svelte-kit/output/client/_app/immutable/assets/_page.BIMIBpeM.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/_page.ClTmhFiH.css +0 -1
- package/.svelte-kit/output/client/_app/immutable/assets/ares_blushing.B6Q0SsBp.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_disappointed.LOpkh7Q7.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_happy.Cz9WhdwO.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_lets_go.BxjJjKUv.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_logo.C_a3ZQAP.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_mad.DofDLDmM.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_neutral.Hp923t8N.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_slightly_mad.DdwOp6J5.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_surprised.BxbNH_w8.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/ares_yay.EM2SNr0e.webp +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/bg_tiled_ares.DTcFskeK.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/bg_tiled_corn.D22ZwTZ0.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/bg_tiled_pineapple.D28N65_A.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/bg_tiled_reinhard.D22NV0xw.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/bg_tiled_tomato.O9Z7_E07.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/bg_tiled_turnip.DMU0uHH4.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/footage-chef-wings.dVBm8Uit.gif +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/header-hep-cat.DcyPS3Oy.mp4 +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/header-pengi.DWAOeO4q.mp4 +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/header-soulwork.BQRWmhTu.mp4 +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/placeholder_circle.Ij3bN7bI.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/seaweed-showcase.TTVTTC5m.mp4 +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/weaver-footage.sjDEbkrX.gif +0 -0
- package/.svelte-kit/output/client/_app/immutable/assets/window-set.IpgsYUna.png +0 -0
- package/.svelte-kit/output/client/_app/immutable/chunks/SeaweedTemplate.DeqnsKrn.js +0 -1064
- package/.svelte-kit/output/client/_app/immutable/chunks/Toast.Dil_rTuG.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/chunks/entry.DIDAHtmj.js +0 -3
- package/.svelte-kit/output/client/_app/immutable/chunks/index.CWCbcDVt.js +0 -4
- package/.svelte-kit/output/client/_app/immutable/chunks/index.TTW-3Z8m.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/chunks/scheduler.LgnVA12N.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/chunks/stores.CmlHsN0j.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/entry/start.DsC5h-eu.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/0.DSodj2wf.js +0 -2
- package/.svelte-kit/output/client/_app/immutable/nodes/1.BRjT3J9Z.js +0 -4
- package/.svelte-kit/output/client/_app/immutable/nodes/12.BYSc8zlB.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/15.BzziCvFz.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/2.Ug_nHwAt.js +0 -5
- package/.svelte-kit/output/client/_app/immutable/nodes/3.baFnd1R-.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/4.BVz7IBBS.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/7.CNjqd06K.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/8.CNjqd06K.js +0 -1
- package/.svelte-kit/output/client/_app/immutable/nodes/9.CNjqd06K.js +0 -1
- package/.svelte-kit/output/client/_app/version.json +0 -1
- package/.svelte-kit/output/prerendered/pages/portfolio.html +0 -239
- package/.svelte-kit/output/server/.vite/manifest.json +0 -612
- package/.svelte-kit/output/server/_app/immutable/assets/Card.BAkK2DAr.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/NavigationComponent.DAojhPuD.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/PineappleBaseLayout.syfctdq0.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/ProgressBar.Cirlo5Z8.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/SeaweedTemplate.CVXyf0f_.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/_layout.h2ESO4YN.css +0 -10
- package/.svelte-kit/output/server/_app/immutable/assets/_page.BIMIBpeM.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/_page.ClTmhFiH.css +0 -1
- package/.svelte-kit/output/server/_app/immutable/assets/ares_blushing.B6Q0SsBp.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_disappointed.LOpkh7Q7.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_happy.Cz9WhdwO.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_lets_go.BxjJjKUv.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_logo.C_a3ZQAP.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_mad.DofDLDmM.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_neutral.Hp923t8N.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_slightly_mad.DdwOp6J5.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_surprised.BxbNH_w8.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/ares_yay.EM2SNr0e.webp +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/bg_tiled_ares.DTcFskeK.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/bg_tiled_corn.D22ZwTZ0.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/bg_tiled_pineapple.D28N65_A.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/bg_tiled_reinhard.D22NV0xw.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/bg_tiled_tomato.O9Z7_E07.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/bg_tiled_turnip.DMU0uHH4.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/footage-chef-wings.dVBm8Uit.gif +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/header-hep-cat.DcyPS3Oy.mp4 +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/header-pengi.DWAOeO4q.mp4 +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/header-soulwork.BQRWmhTu.mp4 +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/placeholder_circle.Ij3bN7bI.png +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/seaweed-showcase.TTVTTC5m.mp4 +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/weaver-footage.sjDEbkrX.gif +0 -0
- package/.svelte-kit/output/server/_app/immutable/assets/window-set.IpgsYUna.png +0 -0
- package/.svelte-kit/output/server/chunks/Card.js +0 -37
- package/.svelte-kit/output/server/chunks/SeaweedTemplate.js +0 -1094
- package/.svelte-kit/output/server/chunks/SlideToggle.js +0 -84
- package/.svelte-kit/output/server/chunks/_page.js +0 -4
- package/.svelte-kit/output/server/chunks/_page2.js +0 -4
- package/.svelte-kit/output/server/chunks/_page3.js +0 -4
- package/.svelte-kit/output/server/chunks/_page4.js +0 -4
- package/.svelte-kit/output/server/chunks/_page5.js +0 -4
- package/.svelte-kit/output/server/chunks/_page6.js +0 -4
- package/.svelte-kit/output/server/chunks/_page7.js +0 -4
- package/.svelte-kit/output/server/chunks/_page8.js +0 -4
- package/.svelte-kit/output/server/chunks/client.js +0 -12
- package/.svelte-kit/output/server/chunks/index.js +0 -52
- package/.svelte-kit/output/server/chunks/internal.js +0 -247
- package/.svelte-kit/output/server/chunks/prod-ssr.js +0 -6
- package/.svelte-kit/output/server/chunks/store.js +0 -260
- package/.svelte-kit/output/server/chunks/stores.js +0 -5
- package/.svelte-kit/output/server/chunks/stores2.js +0 -26
- package/.svelte-kit/output/server/chunks/stores3.js +0 -38
- package/.svelte-kit/output/server/entries/pages/(pineapple)/_page.svelte.js +0 -23
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page1/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page2/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page5/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page6/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page7/(test_layout)/page8/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page3/page7/_page.svelte.js +0 -22
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(extra-pages)/page4/_page.svelte.js +0 -18
- package/.svelte-kit/output/server/entries/pages/(pineapple)/pineapple/(pineapple)/_page.ts.js +0 -9
- package/.svelte-kit/output/server/entries/pages/(seaweed)/_layout.svelte.js +0 -186
- package/.svelte-kit/output/server/entries/pages/(seaweed)/portfolio/_page.server.ts.js +0 -8
- package/.svelte-kit/output/server/entries/pages/(seaweed)/portfolio/_page.svelte.js +0 -8
- package/.svelte-kit/output/server/entries/pages/(seaweed)/portfolio/_page.ts.js +0 -9
- package/.svelte-kit/output/server/entries/pages/(seaweed)/portfolio/actual/_page.svelte.js +0 -18
- package/.svelte-kit/output/server/entries/pages/(seaweed)/portfolio/actual/_page.ts.js +0 -9
- package/.svelte-kit/output/server/entries/pages/_error.svelte.js +0 -29
- package/.svelte-kit/output/server/index.js +0 -2955
- package/.svelte-kit/output/server/internal.js +0 -13
- package/.svelte-kit/output/server/manifest-full.js +0 -125
- package/.svelte-kit/output/server/manifest.js +0 -117
- package/.svelte-kit/output/server/nodes/0.js +0 -8
- package/.svelte-kit/output/server/nodes/1.js +0 -8
- package/.svelte-kit/output/server/nodes/10.js +0 -8
- package/.svelte-kit/output/server/nodes/11.js +0 -8
- package/.svelte-kit/output/server/nodes/12.js +0 -8
- package/.svelte-kit/output/server/nodes/13.js +0 -10
- package/.svelte-kit/output/server/nodes/14.js +0 -13
- package/.svelte-kit/output/server/nodes/15.js +0 -10
- package/.svelte-kit/output/server/nodes/2.js +0 -8
- package/.svelte-kit/output/server/nodes/3.js +0 -8
- package/.svelte-kit/output/server/nodes/4.js +0 -8
- package/.svelte-kit/output/server/nodes/5.js +0 -8
- package/.svelte-kit/output/server/nodes/6.js +0 -8
- package/.svelte-kit/output/server/nodes/7.js +0 -8
- package/.svelte-kit/output/server/nodes/8.js +0 -8
- package/.svelte-kit/output/server/nodes/9.js +0 -8
- package/.svelte-kit/types/src/routes/(pineapple)/pineapple/$types.d.ts +0 -19
- package/.svelte-kit/vercel-tmp/index.js +0 -46
- package/.svelte-kit/vercel-tmp/manifest.js +0 -52
- package/build/server/host.json +0 -7
- package/build/server/local.settings.json +0 -6
- package/build/server/package-lock.json +0 -6
- package/build/server/package.json +0 -1
- package/build/server/sk_render/function.json +0 -17
- package/build/server/sk_render/index.js +0 -11489
- package/build/server/sk_render/index.js.map +0 -7
- package/build/static/_app/immutable/assets/0.vT28YyQg.css +0 -10
- package/build/static/_app/immutable/assets/13.BIMIBpeM.css +0 -1
- package/build/static/_app/immutable/assets/4.ClTmhFiH.css +0 -1
- package/build/static/_app/immutable/assets/Card.BAkK2DAr.css +0 -1
- package/build/static/_app/immutable/assets/NavigationComponent.DAojhPuD.css +0 -1
- package/build/static/_app/immutable/assets/PineappleBaseLayout.syfctdq0.css +0 -1
- package/build/static/_app/immutable/assets/ProgressBar.Cirlo5Z8.css +0 -1
- package/build/static/_app/immutable/assets/SeaweedTemplate.CVXyf0f_.css +0 -1
- package/build/static/_app/immutable/assets/_layout.h2ESO4YN.css +0 -10
- package/build/static/_app/immutable/assets/_page.BIMIBpeM.css +0 -1
- package/build/static/_app/immutable/assets/_page.ClTmhFiH.css +0 -1
- package/build/static/_app/immutable/assets/ares_blushing.B6Q0SsBp.webp +0 -0
- package/build/static/_app/immutable/assets/ares_disappointed.LOpkh7Q7.webp +0 -0
- package/build/static/_app/immutable/assets/ares_happy.Cz9WhdwO.webp +0 -0
- package/build/static/_app/immutable/assets/ares_lets_go.BxjJjKUv.webp +0 -0
- package/build/static/_app/immutable/assets/ares_logo.C_a3ZQAP.webp +0 -0
- package/build/static/_app/immutable/assets/ares_mad.DofDLDmM.webp +0 -0
- package/build/static/_app/immutable/assets/ares_neutral.Hp923t8N.webp +0 -0
- package/build/static/_app/immutable/assets/ares_slightly_mad.DdwOp6J5.webp +0 -0
- package/build/static/_app/immutable/assets/ares_surprised.BxbNH_w8.webp +0 -0
- package/build/static/_app/immutable/assets/ares_yay.EM2SNr0e.webp +0 -0
- package/build/static/_app/immutable/assets/bg_tiled_ares.DTcFskeK.png +0 -0
- package/build/static/_app/immutable/assets/bg_tiled_corn.D22ZwTZ0.png +0 -0
- package/build/static/_app/immutable/assets/bg_tiled_pineapple.D28N65_A.png +0 -0
- package/build/static/_app/immutable/assets/bg_tiled_reinhard.D22NV0xw.png +0 -0
- package/build/static/_app/immutable/assets/bg_tiled_tomato.O9Z7_E07.png +0 -0
- package/build/static/_app/immutable/assets/bg_tiled_turnip.DMU0uHH4.png +0 -0
- package/build/static/_app/immutable/assets/footage-chef-wings.dVBm8Uit.gif +0 -0
- package/build/static/_app/immutable/assets/header-hep-cat.DcyPS3Oy.mp4 +0 -0
- package/build/static/_app/immutable/assets/header-pengi.DWAOeO4q.mp4 +0 -0
- package/build/static/_app/immutable/assets/header-soulwork.BQRWmhTu.mp4 +0 -0
- package/build/static/_app/immutable/assets/placeholder_circle.Ij3bN7bI.png +0 -0
- package/build/static/_app/immutable/assets/seaweed-showcase.TTVTTC5m.mp4 +0 -0
- package/build/static/_app/immutable/assets/weaver-footage.sjDEbkrX.gif +0 -0
- package/build/static/_app/immutable/assets/window-set.IpgsYUna.png +0 -0
- package/build/static/_app/immutable/chunks/Card.DH87RA66.js +0 -5
- package/build/static/_app/immutable/chunks/DialogManagerStore.p-R7jA3N.js +0 -7
- package/build/static/_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DiY8SXB3.js +0 -1
- package/build/static/_app/immutable/chunks/SeaweedTemplate.DeqnsKrn.js +0 -1064
- package/build/static/_app/immutable/chunks/SlideToggle.DGF7DQhk.js +0 -1
- package/build/static/_app/immutable/chunks/Toast.Dil_rTuG.js +0 -1
- package/build/static/_app/immutable/chunks/_page.BCsXwAds.js +0 -8
- package/build/static/_app/immutable/chunks/_page.CER3LJw4.js +0 -8
- package/build/static/_app/immutable/chunks/_page.CJqYI1vC.js +0 -7
- package/build/static/_app/immutable/chunks/_page.CRke_Vt-.js +0 -8
- package/build/static/_app/immutable/chunks/_page.CdlE3ZqM.js +0 -8
- package/build/static/_app/immutable/chunks/_page.D8F_fKwN.js +0 -8
- package/build/static/_app/immutable/chunks/_page.DOjmKWLN.js +0 -8
- package/build/static/_app/immutable/chunks/_page.UybeXHGE.js +0 -8
- package/build/static/_app/immutable/chunks/each.D6YF6ztN.js +0 -1
- package/build/static/_app/immutable/chunks/entry.DIDAHtmj.js +0 -3
- package/build/static/_app/immutable/chunks/index.BwUaF0YV.js +0 -6
- package/build/static/_app/immutable/chunks/index.DbwYs1Xx.js +0 -1
- package/build/static/_app/immutable/chunks/index.HfS4ysOO.js +0 -1
- package/build/static/_app/immutable/chunks/index.TTW-3Z8m.js +0 -1
- package/build/static/_app/immutable/chunks/preload-helper.BQ24v_F8.js +0 -1
- package/build/static/_app/immutable/chunks/scheduler.LgnVA12N.js +0 -1
- package/build/static/_app/immutable/chunks/spread.CgU5AtxT.js +0 -1
- package/build/static/_app/immutable/chunks/store.BMp6_Mv-.js +0 -1
- package/build/static/_app/immutable/chunks/stores.C1y1vsDB.js +0 -1
- package/build/static/_app/immutable/chunks/stores.CTStYDmk.js +0 -1
- package/build/static/_app/immutable/chunks/stores.CmlHsN0j.js +0 -1
- package/build/static/_app/immutable/chunks/transitions.FXurGCgU.js +0 -1
- package/build/static/_app/immutable/chunks/util.CpV-3U2s.js +0 -1
- package/build/static/_app/immutable/entry/app.DBmRlvle.js +0 -7
- package/build/static/_app/immutable/entry/start.DsC5h-eu.js +0 -1
- package/build/static/_app/immutable/nodes/10.CNjqd06K.js +0 -1
- package/build/static/_app/immutable/nodes/11.CNjqd06K.js +0 -1
- package/build/static/_app/immutable/nodes/13.BlqYNJ3t.js +0 -61
- package/build/static/_app/immutable/nodes/14.CVCdnjGH.js +0 -1
- package/build/static/_app/immutable/nodes/15.BzziCvFz.js +0 -1
- package/build/static/_app/immutable/nodes/4.BVz7IBBS.js +0 -1
- package/build/static/_app/immutable/nodes/5.CNjqd06K.js +0 -1
- package/build/static/_app/immutable/nodes/6.CNjqd06K.js +0 -1
- package/build/static/_app/immutable/nodes/7.CNjqd06K.js +0 -1
- package/build/static/_app/immutable/nodes/8.CNjqd06K.js +0 -1
- package/build/static/_app/immutable/nodes/9.CNjqd06K.js +0 -1
- package/build/static/_app/version.json +0 -1
- package/build/static/default-card.png +0 -0
- package/build/static/favicon.png +0 -0
- package/build/static/index.html +0 -0
- package/build/static/portfolio/__data.json +0 -1
- package/build/static/portfolio.html +0 -239
- package/build/static/robots.txt +0 -5
- package/build/staticwebapp.config.json +0 -39
- /package/{.svelte-kit/output → build}/client/_app/immutable/assets/0.vT28YyQg.css +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/assets/13.BIMIBpeM.css +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/assets/4.ClTmhFiH.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/Card.BAkK2DAr.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/NavigationComponent.DAojhPuD.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/PineappleBaseLayout.syfctdq0.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ProgressBar.Cirlo5Z8.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/_layout.h2ESO4YN.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/_page.BIMIBpeM.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/_page.ClTmhFiH.css +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_blushing.B6Q0SsBp.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_disappointed.LOpkh7Q7.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_happy.Cz9WhdwO.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_lets_go.BxjJjKUv.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_logo.C_a3ZQAP.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_mad.DofDLDmM.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_neutral.Hp923t8N.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_slightly_mad.DdwOp6J5.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_surprised.BxbNH_w8.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/ares_yay.EM2SNr0e.webp +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/bg_tiled_ares.DTcFskeK.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/bg_tiled_corn.D22ZwTZ0.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/bg_tiled_pineapple.D28N65_A.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/bg_tiled_reinhard.D22NV0xw.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/bg_tiled_tomato.O9Z7_E07.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/bg_tiled_turnip.DMU0uHH4.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/footage-chef-wings.dVBm8Uit.gif +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/header-hep-cat.DcyPS3Oy.mp4 +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/header-pengi.DWAOeO4q.mp4 +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/header-soulwork.BQRWmhTu.mp4 +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/placeholder_circle.Ij3bN7bI.png +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/seaweed-showcase.TTVTTC5m.mp4 +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/weaver-footage.sjDEbkrX.gif +0 -0
- /package/{.svelte-kit/adapter-node → build/client}/_app/immutable/assets/window-set.IpgsYUna.png +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.BCsXwAds.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.CER3LJw4.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.CJqYI1vC.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.CRke_Vt-.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.CdlE3ZqM.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.D8F_fKwN.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.DOjmKWLN.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/_page.UybeXHGE.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/each.D6YF6ztN.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/index.DbwYs1Xx.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/preload-helper.BQ24v_F8.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/spread.CgU5AtxT.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/transitions.FXurGCgU.js +0 -0
- /package/{.svelte-kit/output → build}/client/_app/immutable/chunks/util.CpV-3U2s.js +0 -0
- /package/{.svelte-kit/output → build}/client/default-card.png +0 -0
- /package/{.svelte-kit/output → build}/client/favicon.png +0 -0
- /package/{.svelte-kit/output → build}/client/robots.txt +0 -0
- /package/{.svelte-kit/output/prerendered/dependencies → build/prerendered}/portfolio/__data.json +0 -0
|
@@ -1,10 +1,1336 @@
|
|
|
1
|
-
import { D as DEV } from
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { D as DEV } from './chunks/prod-ssr-DxkyU4_t.js';
|
|
2
|
+
import { c as create_ssr_component, s as setContext, v as validate_component, m as missing_component, r as readable, w as writable } from './chunks/index-Dux0Qc2u.js';
|
|
3
|
+
import { d as decode_pathname, h as has_data_suffix, s as strip_data_suffix, a as decode_params, n as normalize_path, b as disable_search, c as add_data_suffix, m as make_trackable, r as resolve } from './chunks/exports-DuWZopOC.js';
|
|
4
|
+
|
|
5
|
+
let base = "";
|
|
6
|
+
let assets = base;
|
|
7
|
+
const initial = { base, assets };
|
|
8
|
+
function override(paths) {
|
|
9
|
+
base = paths.base;
|
|
10
|
+
assets = paths.assets;
|
|
11
|
+
}
|
|
12
|
+
function reset() {
|
|
13
|
+
base = initial.base;
|
|
14
|
+
assets = initial.assets;
|
|
15
|
+
}
|
|
16
|
+
let public_env = {};
|
|
17
|
+
let safe_public_env = {};
|
|
18
|
+
function set_public_env(environment) {
|
|
19
|
+
public_env = environment;
|
|
20
|
+
}
|
|
21
|
+
function set_safe_public_env(environment) {
|
|
22
|
+
safe_public_env = environment;
|
|
23
|
+
}
|
|
24
|
+
function afterUpdate() {
|
|
25
|
+
}
|
|
26
|
+
const Root = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
|
27
|
+
let { stores } = $$props;
|
|
28
|
+
let { page } = $$props;
|
|
29
|
+
let { constructors } = $$props;
|
|
30
|
+
let { components = [] } = $$props;
|
|
31
|
+
let { form } = $$props;
|
|
32
|
+
let { data_0 = null } = $$props;
|
|
33
|
+
let { data_1 = null } = $$props;
|
|
34
|
+
let { data_2 = null } = $$props;
|
|
35
|
+
{
|
|
36
|
+
setContext("__svelte__", stores);
|
|
37
|
+
}
|
|
38
|
+
afterUpdate(stores.page.notify);
|
|
39
|
+
if ($$props.stores === void 0 && $$bindings.stores && stores !== void 0)
|
|
40
|
+
$$bindings.stores(stores);
|
|
41
|
+
if ($$props.page === void 0 && $$bindings.page && page !== void 0)
|
|
42
|
+
$$bindings.page(page);
|
|
43
|
+
if ($$props.constructors === void 0 && $$bindings.constructors && constructors !== void 0)
|
|
44
|
+
$$bindings.constructors(constructors);
|
|
45
|
+
if ($$props.components === void 0 && $$bindings.components && components !== void 0)
|
|
46
|
+
$$bindings.components(components);
|
|
47
|
+
if ($$props.form === void 0 && $$bindings.form && form !== void 0)
|
|
48
|
+
$$bindings.form(form);
|
|
49
|
+
if ($$props.data_0 === void 0 && $$bindings.data_0 && data_0 !== void 0)
|
|
50
|
+
$$bindings.data_0(data_0);
|
|
51
|
+
if ($$props.data_1 === void 0 && $$bindings.data_1 && data_1 !== void 0)
|
|
52
|
+
$$bindings.data_1(data_1);
|
|
53
|
+
if ($$props.data_2 === void 0 && $$bindings.data_2 && data_2 !== void 0)
|
|
54
|
+
$$bindings.data_2(data_2);
|
|
55
|
+
let $$settled;
|
|
56
|
+
let $$rendered;
|
|
57
|
+
let previous_head = $$result.head;
|
|
58
|
+
do {
|
|
59
|
+
$$settled = true;
|
|
60
|
+
$$result.head = previous_head;
|
|
61
|
+
{
|
|
62
|
+
stores.page.set(page);
|
|
63
|
+
}
|
|
64
|
+
$$rendered = ` ${constructors[1] ? `${validate_component(constructors[0] || missing_component, "svelte:component").$$render(
|
|
65
|
+
$$result,
|
|
66
|
+
{ data: data_0, this: components[0] },
|
|
67
|
+
{
|
|
68
|
+
this: ($$value) => {
|
|
69
|
+
components[0] = $$value;
|
|
70
|
+
$$settled = false;
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
default: () => {
|
|
75
|
+
return `${constructors[2] ? `${validate_component(constructors[1] || missing_component, "svelte:component").$$render(
|
|
76
|
+
$$result,
|
|
77
|
+
{ data: data_1, this: components[1] },
|
|
78
|
+
{
|
|
79
|
+
this: ($$value) => {
|
|
80
|
+
components[1] = $$value;
|
|
81
|
+
$$settled = false;
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
default: () => {
|
|
86
|
+
return `${validate_component(constructors[2] || missing_component, "svelte:component").$$render(
|
|
87
|
+
$$result,
|
|
88
|
+
{ data: data_2, form, this: components[2] },
|
|
89
|
+
{
|
|
90
|
+
this: ($$value) => {
|
|
91
|
+
components[2] = $$value;
|
|
92
|
+
$$settled = false;
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{}
|
|
96
|
+
)}`;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
)}` : `${validate_component(constructors[1] || missing_component, "svelte:component").$$render(
|
|
100
|
+
$$result,
|
|
101
|
+
{ data: data_1, form, this: components[1] },
|
|
102
|
+
{
|
|
103
|
+
this: ($$value) => {
|
|
104
|
+
components[1] = $$value;
|
|
105
|
+
$$settled = false;
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{}
|
|
109
|
+
)}`}`;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
)}` : `${validate_component(constructors[0] || missing_component, "svelte:component").$$render(
|
|
113
|
+
$$result,
|
|
114
|
+
{ data: data_0, form, this: components[0] },
|
|
115
|
+
{
|
|
116
|
+
this: ($$value) => {
|
|
117
|
+
components[0] = $$value;
|
|
118
|
+
$$settled = false;
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{}
|
|
122
|
+
)}`} ${``}`;
|
|
123
|
+
} while (!$$settled);
|
|
124
|
+
return $$rendered;
|
|
125
|
+
});
|
|
126
|
+
const options = {
|
|
127
|
+
app_dir: "_app",
|
|
128
|
+
app_template_contains_nonce: false,
|
|
129
|
+
csp: { "mode": "auto", "directives": { "upgrade-insecure-requests": false, "block-all-mixed-content": false }, "reportOnly": { "upgrade-insecure-requests": false, "block-all-mixed-content": false } },
|
|
130
|
+
csrf_check_origin: true,
|
|
131
|
+
embedded: false,
|
|
132
|
+
env_public_prefix: "PUBLIC_",
|
|
133
|
+
env_private_prefix: "",
|
|
134
|
+
hooks: null,
|
|
135
|
+
// added lazily, via `get_hooks`
|
|
136
|
+
preload_strategy: "modulepreload",
|
|
137
|
+
root: Root,
|
|
138
|
+
service_worker: false,
|
|
139
|
+
templates: {
|
|
140
|
+
app: ({ head, body, assets: assets2, nonce, env }) => '<!DOCTYPE html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <link rel="icon" href="' + assets2 + '/favicon.png" />\n <meta name="viewport" content="width=device-width" />\n ' + head + '\n </head>\n\n <body data-sveltekit-preload-data="hover" data-theme="crimson">\n <div style="display: contents" class="h-full overflow-hidden">' + body + "</div>\n </body>\n</html>\n",
|
|
141
|
+
error: ({ status, message }) => '<!doctype html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <title>' + message + `</title>
|
|
142
|
+
|
|
143
|
+
<style>
|
|
144
|
+
body {
|
|
145
|
+
--bg: white;
|
|
146
|
+
--fg: #222;
|
|
147
|
+
--divider: #ccc;
|
|
148
|
+
background: var(--bg);
|
|
149
|
+
color: var(--fg);
|
|
150
|
+
font-family:
|
|
151
|
+
system-ui,
|
|
152
|
+
-apple-system,
|
|
153
|
+
BlinkMacSystemFont,
|
|
154
|
+
'Segoe UI',
|
|
155
|
+
Roboto,
|
|
156
|
+
Oxygen,
|
|
157
|
+
Ubuntu,
|
|
158
|
+
Cantarell,
|
|
159
|
+
'Open Sans',
|
|
160
|
+
'Helvetica Neue',
|
|
161
|
+
sans-serif;
|
|
162
|
+
display: flex;
|
|
163
|
+
align-items: center;
|
|
164
|
+
justify-content: center;
|
|
165
|
+
height: 100vh;
|
|
166
|
+
margin: 0;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.error {
|
|
170
|
+
display: flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
max-width: 32rem;
|
|
173
|
+
margin: 0 1rem;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.status {
|
|
177
|
+
font-weight: 200;
|
|
178
|
+
font-size: 3rem;
|
|
179
|
+
line-height: 1;
|
|
180
|
+
position: relative;
|
|
181
|
+
top: -0.05rem;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.message {
|
|
185
|
+
border-left: 1px solid var(--divider);
|
|
186
|
+
padding: 0 0 0 1rem;
|
|
187
|
+
margin: 0 0 0 1rem;
|
|
188
|
+
min-height: 2.5rem;
|
|
189
|
+
display: flex;
|
|
190
|
+
align-items: center;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.message h1 {
|
|
194
|
+
font-weight: 400;
|
|
195
|
+
font-size: 1em;
|
|
196
|
+
margin: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@media (prefers-color-scheme: dark) {
|
|
200
|
+
body {
|
|
201
|
+
--bg: #222;
|
|
202
|
+
--fg: #ddd;
|
|
203
|
+
--divider: #666;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
</style>
|
|
207
|
+
</head>
|
|
208
|
+
<body>
|
|
209
|
+
<div class="error">
|
|
210
|
+
<span class="status">` + status + '</span>\n <div class="message">\n <h1>' + message + "</h1>\n </div>\n </div>\n </body>\n</html>\n"
|
|
211
|
+
},
|
|
212
|
+
version_hash: "44o79b"
|
|
213
|
+
};
|
|
214
|
+
async function get_hooks() {
|
|
215
|
+
return {};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
/** @type {Record<string, string>} */
|
|
219
|
+
const escaped = {
|
|
220
|
+
'<': '\\u003C',
|
|
221
|
+
'\\': '\\\\',
|
|
222
|
+
'\b': '\\b',
|
|
223
|
+
'\f': '\\f',
|
|
224
|
+
'\n': '\\n',
|
|
225
|
+
'\r': '\\r',
|
|
226
|
+
'\t': '\\t',
|
|
227
|
+
'\u2028': '\\u2028',
|
|
228
|
+
'\u2029': '\\u2029'
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
class DevalueError extends Error {
|
|
232
|
+
/**
|
|
233
|
+
* @param {string} message
|
|
234
|
+
* @param {string[]} keys
|
|
235
|
+
*/
|
|
236
|
+
constructor(message, keys) {
|
|
237
|
+
super(message);
|
|
238
|
+
this.name = 'DevalueError';
|
|
239
|
+
this.path = keys.join('');
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
/** @param {any} thing */
|
|
244
|
+
function is_primitive(thing) {
|
|
245
|
+
return Object(thing) !== thing;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
const object_proto_names = /* @__PURE__ */ Object.getOwnPropertyNames(
|
|
249
|
+
Object.prototype
|
|
250
|
+
)
|
|
251
|
+
.sort()
|
|
252
|
+
.join('\0');
|
|
253
|
+
|
|
254
|
+
/** @param {any} thing */
|
|
255
|
+
function is_plain_object(thing) {
|
|
256
|
+
const proto = Object.getPrototypeOf(thing);
|
|
257
|
+
|
|
258
|
+
return (
|
|
259
|
+
proto === Object.prototype ||
|
|
260
|
+
proto === null ||
|
|
261
|
+
Object.getOwnPropertyNames(proto).sort().join('\0') === object_proto_names
|
|
262
|
+
);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/** @param {any} thing */
|
|
266
|
+
function get_type(thing) {
|
|
267
|
+
return Object.prototype.toString.call(thing).slice(8, -1);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/** @param {string} char */
|
|
271
|
+
function get_escaped_char(char) {
|
|
272
|
+
switch (char) {
|
|
273
|
+
case '"':
|
|
274
|
+
return '\\"';
|
|
275
|
+
case '<':
|
|
276
|
+
return '\\u003C';
|
|
277
|
+
case '\\':
|
|
278
|
+
return '\\\\';
|
|
279
|
+
case '\n':
|
|
280
|
+
return '\\n';
|
|
281
|
+
case '\r':
|
|
282
|
+
return '\\r';
|
|
283
|
+
case '\t':
|
|
284
|
+
return '\\t';
|
|
285
|
+
case '\b':
|
|
286
|
+
return '\\b';
|
|
287
|
+
case '\f':
|
|
288
|
+
return '\\f';
|
|
289
|
+
case '\u2028':
|
|
290
|
+
return '\\u2028';
|
|
291
|
+
case '\u2029':
|
|
292
|
+
return '\\u2029';
|
|
293
|
+
default:
|
|
294
|
+
return char < ' '
|
|
295
|
+
? `\\u${char.charCodeAt(0).toString(16).padStart(4, '0')}`
|
|
296
|
+
: '';
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/** @param {string} str */
|
|
301
|
+
function stringify_string(str) {
|
|
302
|
+
let result = '';
|
|
303
|
+
let last_pos = 0;
|
|
304
|
+
const len = str.length;
|
|
305
|
+
|
|
306
|
+
for (let i = 0; i < len; i += 1) {
|
|
307
|
+
const char = str[i];
|
|
308
|
+
const replacement = get_escaped_char(char);
|
|
309
|
+
if (replacement) {
|
|
310
|
+
result += str.slice(last_pos, i) + replacement;
|
|
311
|
+
last_pos = i + 1;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
return `"${last_pos === 0 ? str : result + str.slice(last_pos)}"`;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
const chars$1 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$';
|
|
319
|
+
const unsafe_chars = /[<\b\f\n\r\t\0\u2028\u2029]/g;
|
|
320
|
+
const reserved =
|
|
321
|
+
/^(?:do|if|in|for|int|let|new|try|var|byte|case|char|else|enum|goto|long|this|void|with|await|break|catch|class|const|final|float|short|super|throw|while|yield|delete|double|export|import|native|return|switch|throws|typeof|boolean|default|extends|finally|package|private|abstract|continue|debugger|function|volatile|interface|protected|transient|implements|instanceof|synchronized)$/;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Turn a value into the JavaScript that creates an equivalent value
|
|
325
|
+
* @param {any} value
|
|
326
|
+
* @param {(value: any) => string | void} [replacer]
|
|
327
|
+
*/
|
|
328
|
+
function uneval(value, replacer) {
|
|
329
|
+
const counts = new Map();
|
|
330
|
+
|
|
331
|
+
/** @type {string[]} */
|
|
332
|
+
const keys = [];
|
|
333
|
+
|
|
334
|
+
const custom = new Map();
|
|
335
|
+
|
|
336
|
+
/** @param {any} thing */
|
|
337
|
+
function walk(thing) {
|
|
338
|
+
if (typeof thing === 'function') {
|
|
339
|
+
throw new DevalueError(`Cannot stringify a function`, keys);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
if (!is_primitive(thing)) {
|
|
343
|
+
if (counts.has(thing)) {
|
|
344
|
+
counts.set(thing, counts.get(thing) + 1);
|
|
345
|
+
return;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
counts.set(thing, 1);
|
|
349
|
+
|
|
350
|
+
if (replacer) {
|
|
351
|
+
const str = replacer(thing);
|
|
352
|
+
|
|
353
|
+
if (typeof str === 'string') {
|
|
354
|
+
custom.set(thing, str);
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
const type = get_type(thing);
|
|
360
|
+
|
|
361
|
+
switch (type) {
|
|
362
|
+
case 'Number':
|
|
363
|
+
case 'BigInt':
|
|
364
|
+
case 'String':
|
|
365
|
+
case 'Boolean':
|
|
366
|
+
case 'Date':
|
|
367
|
+
case 'RegExp':
|
|
368
|
+
return;
|
|
369
|
+
|
|
370
|
+
case 'Array':
|
|
371
|
+
/** @type {any[]} */ (thing).forEach((value, i) => {
|
|
372
|
+
keys.push(`[${i}]`);
|
|
373
|
+
walk(value);
|
|
374
|
+
keys.pop();
|
|
375
|
+
});
|
|
376
|
+
break;
|
|
377
|
+
|
|
378
|
+
case 'Set':
|
|
379
|
+
Array.from(thing).forEach(walk);
|
|
380
|
+
break;
|
|
381
|
+
|
|
382
|
+
case 'Map':
|
|
383
|
+
for (const [key, value] of thing) {
|
|
384
|
+
keys.push(
|
|
385
|
+
`.get(${is_primitive(key) ? stringify_primitive$1(key) : '...'})`
|
|
386
|
+
);
|
|
387
|
+
walk(value);
|
|
388
|
+
keys.pop();
|
|
389
|
+
}
|
|
390
|
+
break;
|
|
391
|
+
|
|
392
|
+
default:
|
|
393
|
+
if (!is_plain_object(thing)) {
|
|
394
|
+
throw new DevalueError(
|
|
395
|
+
`Cannot stringify arbitrary non-POJOs`,
|
|
396
|
+
keys
|
|
397
|
+
);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
if (Object.getOwnPropertySymbols(thing).length > 0) {
|
|
401
|
+
throw new DevalueError(
|
|
402
|
+
`Cannot stringify POJOs with symbolic keys`,
|
|
403
|
+
keys
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
for (const key in thing) {
|
|
408
|
+
keys.push(`.${key}`);
|
|
409
|
+
walk(thing[key]);
|
|
410
|
+
keys.pop();
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
walk(value);
|
|
417
|
+
|
|
418
|
+
const names = new Map();
|
|
419
|
+
|
|
420
|
+
Array.from(counts)
|
|
421
|
+
.filter((entry) => entry[1] > 1)
|
|
422
|
+
.sort((a, b) => b[1] - a[1])
|
|
423
|
+
.forEach((entry, i) => {
|
|
424
|
+
names.set(entry[0], get_name(i));
|
|
425
|
+
});
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* @param {any} thing
|
|
429
|
+
* @returns {string}
|
|
430
|
+
*/
|
|
431
|
+
function stringify(thing) {
|
|
432
|
+
if (names.has(thing)) {
|
|
433
|
+
return names.get(thing);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
if (is_primitive(thing)) {
|
|
437
|
+
return stringify_primitive$1(thing);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
if (custom.has(thing)) {
|
|
441
|
+
return custom.get(thing);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
const type = get_type(thing);
|
|
445
|
+
|
|
446
|
+
switch (type) {
|
|
447
|
+
case 'Number':
|
|
448
|
+
case 'String':
|
|
449
|
+
case 'Boolean':
|
|
450
|
+
return `Object(${stringify(thing.valueOf())})`;
|
|
451
|
+
|
|
452
|
+
case 'RegExp':
|
|
453
|
+
return `new RegExp(${stringify_string(thing.source)}, "${
|
|
454
|
+
thing.flags
|
|
455
|
+
}")`;
|
|
456
|
+
|
|
457
|
+
case 'Date':
|
|
458
|
+
return `new Date(${thing.getTime()})`;
|
|
459
|
+
|
|
460
|
+
case 'Array':
|
|
461
|
+
const members = /** @type {any[]} */ (thing).map((v, i) =>
|
|
462
|
+
i in thing ? stringify(v) : ''
|
|
463
|
+
);
|
|
464
|
+
const tail = thing.length === 0 || thing.length - 1 in thing ? '' : ',';
|
|
465
|
+
return `[${members.join(',')}${tail}]`;
|
|
466
|
+
|
|
467
|
+
case 'Set':
|
|
468
|
+
case 'Map':
|
|
469
|
+
return `new ${type}([${Array.from(thing).map(stringify).join(',')}])`;
|
|
470
|
+
|
|
471
|
+
default:
|
|
472
|
+
const obj = `{${Object.keys(thing)
|
|
473
|
+
.map((key) => `${safe_key(key)}:${stringify(thing[key])}`)
|
|
474
|
+
.join(',')}}`;
|
|
475
|
+
const proto = Object.getPrototypeOf(thing);
|
|
476
|
+
if (proto === null) {
|
|
477
|
+
return Object.keys(thing).length > 0
|
|
478
|
+
? `Object.assign(Object.create(null),${obj})`
|
|
479
|
+
: `Object.create(null)`;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
return obj;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
const str = stringify(value);
|
|
487
|
+
|
|
488
|
+
if (names.size) {
|
|
489
|
+
/** @type {string[]} */
|
|
490
|
+
const params = [];
|
|
491
|
+
|
|
492
|
+
/** @type {string[]} */
|
|
493
|
+
const statements = [];
|
|
494
|
+
|
|
495
|
+
/** @type {string[]} */
|
|
496
|
+
const values = [];
|
|
497
|
+
|
|
498
|
+
names.forEach((name, thing) => {
|
|
499
|
+
params.push(name);
|
|
500
|
+
|
|
501
|
+
if (custom.has(thing)) {
|
|
502
|
+
values.push(/** @type {string} */ (custom.get(thing)));
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
if (is_primitive(thing)) {
|
|
507
|
+
values.push(stringify_primitive$1(thing));
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
const type = get_type(thing);
|
|
512
|
+
|
|
513
|
+
switch (type) {
|
|
514
|
+
case 'Number':
|
|
515
|
+
case 'String':
|
|
516
|
+
case 'Boolean':
|
|
517
|
+
values.push(`Object(${stringify(thing.valueOf())})`);
|
|
518
|
+
break;
|
|
519
|
+
|
|
520
|
+
case 'RegExp':
|
|
521
|
+
values.push(thing.toString());
|
|
522
|
+
break;
|
|
523
|
+
|
|
524
|
+
case 'Date':
|
|
525
|
+
values.push(`new Date(${thing.getTime()})`);
|
|
526
|
+
break;
|
|
527
|
+
|
|
528
|
+
case 'Array':
|
|
529
|
+
values.push(`Array(${thing.length})`);
|
|
530
|
+
/** @type {any[]} */ (thing).forEach((v, i) => {
|
|
531
|
+
statements.push(`${name}[${i}]=${stringify(v)}`);
|
|
532
|
+
});
|
|
533
|
+
break;
|
|
534
|
+
|
|
535
|
+
case 'Set':
|
|
536
|
+
values.push(`new Set`);
|
|
537
|
+
statements.push(
|
|
538
|
+
`${name}.${Array.from(thing)
|
|
539
|
+
.map((v) => `add(${stringify(v)})`)
|
|
540
|
+
.join('.')}`
|
|
541
|
+
);
|
|
542
|
+
break;
|
|
543
|
+
|
|
544
|
+
case 'Map':
|
|
545
|
+
values.push(`new Map`);
|
|
546
|
+
statements.push(
|
|
547
|
+
`${name}.${Array.from(thing)
|
|
548
|
+
.map(([k, v]) => `set(${stringify(k)}, ${stringify(v)})`)
|
|
549
|
+
.join('.')}`
|
|
550
|
+
);
|
|
551
|
+
break;
|
|
552
|
+
|
|
553
|
+
default:
|
|
554
|
+
values.push(
|
|
555
|
+
Object.getPrototypeOf(thing) === null ? 'Object.create(null)' : '{}'
|
|
556
|
+
);
|
|
557
|
+
Object.keys(thing).forEach((key) => {
|
|
558
|
+
statements.push(
|
|
559
|
+
`${name}${safe_prop(key)}=${stringify(thing[key])}`
|
|
560
|
+
);
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
|
|
565
|
+
statements.push(`return ${str}`);
|
|
566
|
+
|
|
567
|
+
return `(function(${params.join(',')}){${statements.join(
|
|
568
|
+
';'
|
|
569
|
+
)}}(${values.join(',')}))`;
|
|
570
|
+
} else {
|
|
571
|
+
return str;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/** @param {number} num */
|
|
576
|
+
function get_name(num) {
|
|
577
|
+
let name = '';
|
|
578
|
+
|
|
579
|
+
do {
|
|
580
|
+
name = chars$1[num % chars$1.length] + name;
|
|
581
|
+
num = ~~(num / chars$1.length) - 1;
|
|
582
|
+
} while (num >= 0);
|
|
583
|
+
|
|
584
|
+
return reserved.test(name) ? `${name}0` : name;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/** @param {string} c */
|
|
588
|
+
function escape_unsafe_char(c) {
|
|
589
|
+
return escaped[c] || c;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
/** @param {string} str */
|
|
593
|
+
function escape_unsafe_chars(str) {
|
|
594
|
+
return str.replace(unsafe_chars, escape_unsafe_char);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/** @param {string} key */
|
|
598
|
+
function safe_key(key) {
|
|
599
|
+
return /^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(key)
|
|
600
|
+
? key
|
|
601
|
+
: escape_unsafe_chars(JSON.stringify(key));
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/** @param {string} key */
|
|
605
|
+
function safe_prop(key) {
|
|
606
|
+
return /^[_$a-zA-Z][_$a-zA-Z0-9]*$/.test(key)
|
|
607
|
+
? `.${key}`
|
|
608
|
+
: `[${escape_unsafe_chars(JSON.stringify(key))}]`;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/** @param {any} thing */
|
|
612
|
+
function stringify_primitive$1(thing) {
|
|
613
|
+
if (typeof thing === 'string') return stringify_string(thing);
|
|
614
|
+
if (thing === void 0) return 'void 0';
|
|
615
|
+
if (thing === 0 && 1 / thing < 0) return '-0';
|
|
616
|
+
const str = String(thing);
|
|
617
|
+
if (typeof thing === 'number') return str.replace(/^(-)?0\./, '$1.');
|
|
618
|
+
if (typeof thing === 'bigint') return thing + 'n';
|
|
619
|
+
return str;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
const UNDEFINED = -1;
|
|
623
|
+
const HOLE = -2;
|
|
624
|
+
const NAN = -3;
|
|
625
|
+
const POSITIVE_INFINITY = -4;
|
|
626
|
+
const NEGATIVE_INFINITY = -5;
|
|
627
|
+
const NEGATIVE_ZERO = -6;
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Turn a value into a JSON string that can be parsed with `devalue.parse`
|
|
631
|
+
* @param {any} value
|
|
632
|
+
* @param {Record<string, (value: any) => any>} [reducers]
|
|
633
|
+
*/
|
|
634
|
+
function stringify(value, reducers) {
|
|
635
|
+
/** @type {any[]} */
|
|
636
|
+
const stringified = [];
|
|
637
|
+
|
|
638
|
+
/** @type {Map<any, number>} */
|
|
639
|
+
const indexes = new Map();
|
|
640
|
+
|
|
641
|
+
/** @type {Array<{ key: string, fn: (value: any) => any }>} */
|
|
642
|
+
const custom = [];
|
|
643
|
+
for (const key in reducers) {
|
|
644
|
+
custom.push({ key, fn: reducers[key] });
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
/** @type {string[]} */
|
|
648
|
+
const keys = [];
|
|
649
|
+
|
|
650
|
+
let p = 0;
|
|
651
|
+
|
|
652
|
+
/** @param {any} thing */
|
|
653
|
+
function flatten(thing) {
|
|
654
|
+
if (typeof thing === 'function') {
|
|
655
|
+
throw new DevalueError(`Cannot stringify a function`, keys);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
if (indexes.has(thing)) return indexes.get(thing);
|
|
659
|
+
|
|
660
|
+
if (thing === undefined) return UNDEFINED;
|
|
661
|
+
if (Number.isNaN(thing)) return NAN;
|
|
662
|
+
if (thing === Infinity) return POSITIVE_INFINITY;
|
|
663
|
+
if (thing === -Infinity) return NEGATIVE_INFINITY;
|
|
664
|
+
if (thing === 0 && 1 / thing < 0) return NEGATIVE_ZERO;
|
|
665
|
+
|
|
666
|
+
const index = p++;
|
|
667
|
+
indexes.set(thing, index);
|
|
668
|
+
|
|
669
|
+
for (const { key, fn } of custom) {
|
|
670
|
+
const value = fn(thing);
|
|
671
|
+
if (value) {
|
|
672
|
+
stringified[index] = `["${key}",${flatten(value)}]`;
|
|
673
|
+
return index;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
let str = '';
|
|
678
|
+
|
|
679
|
+
if (is_primitive(thing)) {
|
|
680
|
+
str = stringify_primitive(thing);
|
|
681
|
+
} else {
|
|
682
|
+
const type = get_type(thing);
|
|
683
|
+
|
|
684
|
+
switch (type) {
|
|
685
|
+
case 'Number':
|
|
686
|
+
case 'String':
|
|
687
|
+
case 'Boolean':
|
|
688
|
+
str = `["Object",${stringify_primitive(thing)}]`;
|
|
689
|
+
break;
|
|
690
|
+
|
|
691
|
+
case 'BigInt':
|
|
692
|
+
str = `["BigInt",${thing}]`;
|
|
693
|
+
break;
|
|
694
|
+
|
|
695
|
+
case 'Date':
|
|
696
|
+
str = `["Date","${thing.toISOString()}"]`;
|
|
697
|
+
break;
|
|
698
|
+
|
|
699
|
+
case 'RegExp':
|
|
700
|
+
const { source, flags } = thing;
|
|
701
|
+
str = flags
|
|
702
|
+
? `["RegExp",${stringify_string(source)},"${flags}"]`
|
|
703
|
+
: `["RegExp",${stringify_string(source)}]`;
|
|
704
|
+
break;
|
|
705
|
+
|
|
706
|
+
case 'Array':
|
|
707
|
+
str = '[';
|
|
708
|
+
|
|
709
|
+
for (let i = 0; i < thing.length; i += 1) {
|
|
710
|
+
if (i > 0) str += ',';
|
|
711
|
+
|
|
712
|
+
if (i in thing) {
|
|
713
|
+
keys.push(`[${i}]`);
|
|
714
|
+
str += flatten(thing[i]);
|
|
715
|
+
keys.pop();
|
|
716
|
+
} else {
|
|
717
|
+
str += HOLE;
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
str += ']';
|
|
722
|
+
|
|
723
|
+
break;
|
|
724
|
+
|
|
725
|
+
case 'Set':
|
|
726
|
+
str = '["Set"';
|
|
727
|
+
|
|
728
|
+
for (const value of thing) {
|
|
729
|
+
str += `,${flatten(value)}`;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
str += ']';
|
|
733
|
+
break;
|
|
734
|
+
|
|
735
|
+
case 'Map':
|
|
736
|
+
str = '["Map"';
|
|
737
|
+
|
|
738
|
+
for (const [key, value] of thing) {
|
|
739
|
+
keys.push(
|
|
740
|
+
`.get(${is_primitive(key) ? stringify_primitive(key) : '...'})`
|
|
741
|
+
);
|
|
742
|
+
str += `,${flatten(key)},${flatten(value)}`;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
str += ']';
|
|
746
|
+
break;
|
|
747
|
+
|
|
748
|
+
default:
|
|
749
|
+
if (!is_plain_object(thing)) {
|
|
750
|
+
throw new DevalueError(
|
|
751
|
+
`Cannot stringify arbitrary non-POJOs`,
|
|
752
|
+
keys
|
|
753
|
+
);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
if (Object.getOwnPropertySymbols(thing).length > 0) {
|
|
757
|
+
throw new DevalueError(
|
|
758
|
+
`Cannot stringify POJOs with symbolic keys`,
|
|
759
|
+
keys
|
|
760
|
+
);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
if (Object.getPrototypeOf(thing) === null) {
|
|
764
|
+
str = '["null"';
|
|
765
|
+
for (const key in thing) {
|
|
766
|
+
keys.push(`.${key}`);
|
|
767
|
+
str += `,${stringify_string(key)},${flatten(thing[key])}`;
|
|
768
|
+
keys.pop();
|
|
769
|
+
}
|
|
770
|
+
str += ']';
|
|
771
|
+
} else {
|
|
772
|
+
str = '{';
|
|
773
|
+
let started = false;
|
|
774
|
+
for (const key in thing) {
|
|
775
|
+
if (started) str += ',';
|
|
776
|
+
started = true;
|
|
777
|
+
keys.push(`.${key}`);
|
|
778
|
+
str += `${stringify_string(key)}:${flatten(thing[key])}`;
|
|
779
|
+
keys.pop();
|
|
780
|
+
}
|
|
781
|
+
str += '}';
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
stringified[index] = str;
|
|
787
|
+
return index;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
const index = flatten(value);
|
|
791
|
+
|
|
792
|
+
// special case — value is represented as a negative index
|
|
793
|
+
if (index < 0) return `${index}`;
|
|
794
|
+
|
|
795
|
+
return `[${stringified.join(',')}]`;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @param {any} thing
|
|
800
|
+
* @returns {string}
|
|
801
|
+
*/
|
|
802
|
+
function stringify_primitive(thing) {
|
|
803
|
+
const type = typeof thing;
|
|
804
|
+
if (type === 'string') return stringify_string(thing);
|
|
805
|
+
if (thing instanceof String) return stringify_string(thing.toString());
|
|
806
|
+
if (thing === void 0) return UNDEFINED.toString();
|
|
807
|
+
if (thing === 0 && 1 / thing < 0) return NEGATIVE_ZERO.toString();
|
|
808
|
+
if (type === 'bigint') return `["BigInt","${thing}"]`;
|
|
809
|
+
return String(thing);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
var cookie = {};
|
|
813
|
+
|
|
814
|
+
/*!
|
|
815
|
+
* cookie
|
|
816
|
+
* Copyright(c) 2012-2014 Roman Shtylman
|
|
817
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
818
|
+
* MIT Licensed
|
|
819
|
+
*/
|
|
820
|
+
|
|
821
|
+
var hasRequiredCookie;
|
|
822
|
+
|
|
823
|
+
function requireCookie () {
|
|
824
|
+
if (hasRequiredCookie) return cookie;
|
|
825
|
+
hasRequiredCookie = 1;
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Module exports.
|
|
829
|
+
* @public
|
|
830
|
+
*/
|
|
831
|
+
|
|
832
|
+
cookie.parse = parse;
|
|
833
|
+
cookie.serialize = serialize;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Module variables.
|
|
837
|
+
* @private
|
|
838
|
+
*/
|
|
839
|
+
|
|
840
|
+
var __toString = Object.prototype.toString;
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
844
|
+
*
|
|
845
|
+
* field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
|
|
846
|
+
* field-vchar = VCHAR / obs-text
|
|
847
|
+
* obs-text = %x80-FF
|
|
848
|
+
*/
|
|
849
|
+
|
|
850
|
+
var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Parse a cookie header.
|
|
854
|
+
*
|
|
855
|
+
* Parse the given cookie header string into an object
|
|
856
|
+
* The object has the various cookies as keys(names) => values
|
|
857
|
+
*
|
|
858
|
+
* @param {string} str
|
|
859
|
+
* @param {object} [options]
|
|
860
|
+
* @return {object}
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
|
|
864
|
+
function parse(str, options) {
|
|
865
|
+
if (typeof str !== 'string') {
|
|
866
|
+
throw new TypeError('argument str must be a string');
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
var obj = {};
|
|
870
|
+
var opt = options || {};
|
|
871
|
+
var dec = opt.decode || decode;
|
|
872
|
+
|
|
873
|
+
var index = 0;
|
|
874
|
+
while (index < str.length) {
|
|
875
|
+
var eqIdx = str.indexOf('=', index);
|
|
876
|
+
|
|
877
|
+
// no more cookie pairs
|
|
878
|
+
if (eqIdx === -1) {
|
|
879
|
+
break
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
var endIdx = str.indexOf(';', index);
|
|
883
|
+
|
|
884
|
+
if (endIdx === -1) {
|
|
885
|
+
endIdx = str.length;
|
|
886
|
+
} else if (endIdx < eqIdx) {
|
|
887
|
+
// backtrack on prior semicolon
|
|
888
|
+
index = str.lastIndexOf(';', eqIdx - 1) + 1;
|
|
889
|
+
continue
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
var key = str.slice(index, eqIdx).trim();
|
|
893
|
+
|
|
894
|
+
// only assign once
|
|
895
|
+
if (undefined === obj[key]) {
|
|
896
|
+
var val = str.slice(eqIdx + 1, endIdx).trim();
|
|
897
|
+
|
|
898
|
+
// quoted values
|
|
899
|
+
if (val.charCodeAt(0) === 0x22) {
|
|
900
|
+
val = val.slice(1, -1);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
obj[key] = tryDecode(val, dec);
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
index = endIdx + 1;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
return obj;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Serialize data into a cookie header.
|
|
914
|
+
*
|
|
915
|
+
* Serialize the a name value pair into a cookie string suitable for
|
|
916
|
+
* http headers. An optional options object specified cookie parameters.
|
|
917
|
+
*
|
|
918
|
+
* serialize('foo', 'bar', { httpOnly: true })
|
|
919
|
+
* => "foo=bar; httpOnly"
|
|
920
|
+
*
|
|
921
|
+
* @param {string} name
|
|
922
|
+
* @param {string} val
|
|
923
|
+
* @param {object} [options]
|
|
924
|
+
* @return {string}
|
|
925
|
+
* @public
|
|
926
|
+
*/
|
|
927
|
+
|
|
928
|
+
function serialize(name, val, options) {
|
|
929
|
+
var opt = options || {};
|
|
930
|
+
var enc = opt.encode || encode;
|
|
931
|
+
|
|
932
|
+
if (typeof enc !== 'function') {
|
|
933
|
+
throw new TypeError('option encode is invalid');
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
if (!fieldContentRegExp.test(name)) {
|
|
937
|
+
throw new TypeError('argument name is invalid');
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
var value = enc(val);
|
|
941
|
+
|
|
942
|
+
if (value && !fieldContentRegExp.test(value)) {
|
|
943
|
+
throw new TypeError('argument val is invalid');
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
var str = name + '=' + value;
|
|
947
|
+
|
|
948
|
+
if (null != opt.maxAge) {
|
|
949
|
+
var maxAge = opt.maxAge - 0;
|
|
950
|
+
|
|
951
|
+
if (isNaN(maxAge) || !isFinite(maxAge)) {
|
|
952
|
+
throw new TypeError('option maxAge is invalid')
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
str += '; Max-Age=' + Math.floor(maxAge);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
if (opt.domain) {
|
|
959
|
+
if (!fieldContentRegExp.test(opt.domain)) {
|
|
960
|
+
throw new TypeError('option domain is invalid');
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
str += '; Domain=' + opt.domain;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
if (opt.path) {
|
|
967
|
+
if (!fieldContentRegExp.test(opt.path)) {
|
|
968
|
+
throw new TypeError('option path is invalid');
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
str += '; Path=' + opt.path;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
if (opt.expires) {
|
|
975
|
+
var expires = opt.expires;
|
|
976
|
+
|
|
977
|
+
if (!isDate(expires) || isNaN(expires.valueOf())) {
|
|
978
|
+
throw new TypeError('option expires is invalid');
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
str += '; Expires=' + expires.toUTCString();
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
if (opt.httpOnly) {
|
|
985
|
+
str += '; HttpOnly';
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
if (opt.secure) {
|
|
989
|
+
str += '; Secure';
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
if (opt.partitioned) {
|
|
993
|
+
str += '; Partitioned';
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
if (opt.priority) {
|
|
997
|
+
var priority = typeof opt.priority === 'string'
|
|
998
|
+
? opt.priority.toLowerCase()
|
|
999
|
+
: opt.priority;
|
|
1000
|
+
|
|
1001
|
+
switch (priority) {
|
|
1002
|
+
case 'low':
|
|
1003
|
+
str += '; Priority=Low';
|
|
1004
|
+
break
|
|
1005
|
+
case 'medium':
|
|
1006
|
+
str += '; Priority=Medium';
|
|
1007
|
+
break
|
|
1008
|
+
case 'high':
|
|
1009
|
+
str += '; Priority=High';
|
|
1010
|
+
break
|
|
1011
|
+
default:
|
|
1012
|
+
throw new TypeError('option priority is invalid')
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
if (opt.sameSite) {
|
|
1017
|
+
var sameSite = typeof opt.sameSite === 'string'
|
|
1018
|
+
? opt.sameSite.toLowerCase() : opt.sameSite;
|
|
1019
|
+
|
|
1020
|
+
switch (sameSite) {
|
|
1021
|
+
case true:
|
|
1022
|
+
str += '; SameSite=Strict';
|
|
1023
|
+
break;
|
|
1024
|
+
case 'lax':
|
|
1025
|
+
str += '; SameSite=Lax';
|
|
1026
|
+
break;
|
|
1027
|
+
case 'strict':
|
|
1028
|
+
str += '; SameSite=Strict';
|
|
1029
|
+
break;
|
|
1030
|
+
case 'none':
|
|
1031
|
+
str += '; SameSite=None';
|
|
1032
|
+
break;
|
|
1033
|
+
default:
|
|
1034
|
+
throw new TypeError('option sameSite is invalid');
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
return str;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* URL-decode string value. Optimized to skip native call when no %.
|
|
1043
|
+
*
|
|
1044
|
+
* @param {string} str
|
|
1045
|
+
* @returns {string}
|
|
1046
|
+
*/
|
|
1047
|
+
|
|
1048
|
+
function decode (str) {
|
|
1049
|
+
return str.indexOf('%') !== -1
|
|
1050
|
+
? decodeURIComponent(str)
|
|
1051
|
+
: str
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* URL-encode value.
|
|
1056
|
+
*
|
|
1057
|
+
* @param {string} val
|
|
1058
|
+
* @returns {string}
|
|
1059
|
+
*/
|
|
1060
|
+
|
|
1061
|
+
function encode (val) {
|
|
1062
|
+
return encodeURIComponent(val)
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Determine if value is a Date.
|
|
1067
|
+
*
|
|
1068
|
+
* @param {*} val
|
|
1069
|
+
* @private
|
|
1070
|
+
*/
|
|
1071
|
+
|
|
1072
|
+
function isDate (val) {
|
|
1073
|
+
return __toString.call(val) === '[object Date]' ||
|
|
1074
|
+
val instanceof Date
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Try decoding a string using a decoding function.
|
|
1079
|
+
*
|
|
1080
|
+
* @param {string} str
|
|
1081
|
+
* @param {function} decode
|
|
1082
|
+
* @private
|
|
1083
|
+
*/
|
|
1084
|
+
|
|
1085
|
+
function tryDecode(str, decode) {
|
|
1086
|
+
try {
|
|
1087
|
+
return decode(str);
|
|
1088
|
+
} catch (e) {
|
|
1089
|
+
return str;
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
return cookie;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
var cookieExports = requireCookie();
|
|
1096
|
+
|
|
1097
|
+
var setCookie = {exports: {}};
|
|
1098
|
+
|
|
1099
|
+
var hasRequiredSetCookie;
|
|
1100
|
+
|
|
1101
|
+
function requireSetCookie () {
|
|
1102
|
+
if (hasRequiredSetCookie) return setCookie.exports;
|
|
1103
|
+
hasRequiredSetCookie = 1;
|
|
1104
|
+
|
|
1105
|
+
var defaultParseOptions = {
|
|
1106
|
+
decodeValues: true,
|
|
1107
|
+
map: false,
|
|
1108
|
+
silent: false,
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
function isNonEmptyString(str) {
|
|
1112
|
+
return typeof str === "string" && !!str.trim();
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
function parseString(setCookieValue, options) {
|
|
1116
|
+
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
1117
|
+
|
|
1118
|
+
var nameValuePairStr = parts.shift();
|
|
1119
|
+
var parsed = parseNameValuePair(nameValuePairStr);
|
|
1120
|
+
var name = parsed.name;
|
|
1121
|
+
var value = parsed.value;
|
|
1122
|
+
|
|
1123
|
+
options = options
|
|
1124
|
+
? Object.assign({}, defaultParseOptions, options)
|
|
1125
|
+
: defaultParseOptions;
|
|
1126
|
+
|
|
1127
|
+
try {
|
|
1128
|
+
value = options.decodeValues ? decodeURIComponent(value) : value; // decode cookie value
|
|
1129
|
+
} catch (e) {
|
|
1130
|
+
console.error(
|
|
1131
|
+
"set-cookie-parser encountered an error while decoding a cookie with value '" +
|
|
1132
|
+
value +
|
|
1133
|
+
"'. Set options.decodeValues to false to disable this feature.",
|
|
1134
|
+
e
|
|
1135
|
+
);
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
var cookie = {
|
|
1139
|
+
name: name,
|
|
1140
|
+
value: value,
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
parts.forEach(function (part) {
|
|
1144
|
+
var sides = part.split("=");
|
|
1145
|
+
var key = sides.shift().trimLeft().toLowerCase();
|
|
1146
|
+
var value = sides.join("=");
|
|
1147
|
+
if (key === "expires") {
|
|
1148
|
+
cookie.expires = new Date(value);
|
|
1149
|
+
} else if (key === "max-age") {
|
|
1150
|
+
cookie.maxAge = parseInt(value, 10);
|
|
1151
|
+
} else if (key === "secure") {
|
|
1152
|
+
cookie.secure = true;
|
|
1153
|
+
} else if (key === "httponly") {
|
|
1154
|
+
cookie.httpOnly = true;
|
|
1155
|
+
} else if (key === "samesite") {
|
|
1156
|
+
cookie.sameSite = value;
|
|
1157
|
+
} else {
|
|
1158
|
+
cookie[key] = value;
|
|
1159
|
+
}
|
|
1160
|
+
});
|
|
1161
|
+
|
|
1162
|
+
return cookie;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
function parseNameValuePair(nameValuePairStr) {
|
|
1166
|
+
// Parses name-value-pair according to rfc6265bis draft
|
|
1167
|
+
|
|
1168
|
+
var name = "";
|
|
1169
|
+
var value = "";
|
|
1170
|
+
var nameValueArr = nameValuePairStr.split("=");
|
|
1171
|
+
if (nameValueArr.length > 1) {
|
|
1172
|
+
name = nameValueArr.shift();
|
|
1173
|
+
value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
1174
|
+
} else {
|
|
1175
|
+
value = nameValuePairStr;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
return { name: name, value: value };
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
function parse(input, options) {
|
|
1182
|
+
options = options
|
|
1183
|
+
? Object.assign({}, defaultParseOptions, options)
|
|
1184
|
+
: defaultParseOptions;
|
|
1185
|
+
|
|
1186
|
+
if (!input) {
|
|
1187
|
+
if (!options.map) {
|
|
1188
|
+
return [];
|
|
1189
|
+
} else {
|
|
1190
|
+
return {};
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
if (input.headers) {
|
|
1195
|
+
if (typeof input.headers.getSetCookie === "function") {
|
|
1196
|
+
// for fetch responses - they combine headers of the same type in the headers array,
|
|
1197
|
+
// but getSetCookie returns an uncombined array
|
|
1198
|
+
input = input.headers.getSetCookie();
|
|
1199
|
+
} else if (input.headers["set-cookie"]) {
|
|
1200
|
+
// fast-path for node.js (which automatically normalizes header names to lower-case
|
|
1201
|
+
input = input.headers["set-cookie"];
|
|
1202
|
+
} else {
|
|
1203
|
+
// slow-path for other environments - see #25
|
|
1204
|
+
var sch =
|
|
1205
|
+
input.headers[
|
|
1206
|
+
Object.keys(input.headers).find(function (key) {
|
|
1207
|
+
return key.toLowerCase() === "set-cookie";
|
|
1208
|
+
})
|
|
1209
|
+
];
|
|
1210
|
+
// warn if called on a request-like object with a cookie header rather than a set-cookie header - see #34, 36
|
|
1211
|
+
if (!sch && input.headers.cookie && !options.silent) {
|
|
1212
|
+
console.warn(
|
|
1213
|
+
"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."
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
input = sch;
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
if (!Array.isArray(input)) {
|
|
1220
|
+
input = [input];
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
options = options
|
|
1224
|
+
? Object.assign({}, defaultParseOptions, options)
|
|
1225
|
+
: defaultParseOptions;
|
|
1226
|
+
|
|
1227
|
+
if (!options.map) {
|
|
1228
|
+
return input.filter(isNonEmptyString).map(function (str) {
|
|
1229
|
+
return parseString(str, options);
|
|
1230
|
+
});
|
|
1231
|
+
} else {
|
|
1232
|
+
var cookies = {};
|
|
1233
|
+
return input.filter(isNonEmptyString).reduce(function (cookies, str) {
|
|
1234
|
+
var cookie = parseString(str, options);
|
|
1235
|
+
cookies[cookie.name] = cookie;
|
|
1236
|
+
return cookies;
|
|
1237
|
+
}, cookies);
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/*
|
|
1242
|
+
Set-Cookie header field-values are sometimes comma joined in one string. This splits them without choking on commas
|
|
1243
|
+
that are within a single set-cookie field-value, such as in the Expires portion.
|
|
1244
|
+
|
|
1245
|
+
This is uncommon, but explicitly allowed - see https://tools.ietf.org/html/rfc2616#section-4.2
|
|
1246
|
+
Node.js does this for every header *except* set-cookie - see https://github.com/nodejs/node/blob/d5e363b77ebaf1caf67cd7528224b651c86815c1/lib/_http_incoming.js#L128
|
|
1247
|
+
React Native's fetch does this for *every* header, including set-cookie.
|
|
1248
|
+
|
|
1249
|
+
Based on: https://github.com/google/j2objc/commit/16820fdbc8f76ca0c33472810ce0cb03d20efe25
|
|
1250
|
+
Credits to: https://github.com/tomball for original and https://github.com/chrusart for JavaScript implementation
|
|
1251
|
+
*/
|
|
1252
|
+
function splitCookiesString(cookiesString) {
|
|
1253
|
+
if (Array.isArray(cookiesString)) {
|
|
1254
|
+
return cookiesString;
|
|
1255
|
+
}
|
|
1256
|
+
if (typeof cookiesString !== "string") {
|
|
1257
|
+
return [];
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
var cookiesStrings = [];
|
|
1261
|
+
var pos = 0;
|
|
1262
|
+
var start;
|
|
1263
|
+
var ch;
|
|
1264
|
+
var lastComma;
|
|
1265
|
+
var nextStart;
|
|
1266
|
+
var cookiesSeparatorFound;
|
|
1267
|
+
|
|
1268
|
+
function skipWhitespace() {
|
|
1269
|
+
while (pos < cookiesString.length && /\s/.test(cookiesString.charAt(pos))) {
|
|
1270
|
+
pos += 1;
|
|
1271
|
+
}
|
|
1272
|
+
return pos < cookiesString.length;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
function notSpecialChar() {
|
|
1276
|
+
ch = cookiesString.charAt(pos);
|
|
1277
|
+
|
|
1278
|
+
return ch !== "=" && ch !== ";" && ch !== ",";
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
while (pos < cookiesString.length) {
|
|
1282
|
+
start = pos;
|
|
1283
|
+
cookiesSeparatorFound = false;
|
|
1284
|
+
|
|
1285
|
+
while (skipWhitespace()) {
|
|
1286
|
+
ch = cookiesString.charAt(pos);
|
|
1287
|
+
if (ch === ",") {
|
|
1288
|
+
// ',' is a cookie separator if we have later first '=', not ';' or ','
|
|
1289
|
+
lastComma = pos;
|
|
1290
|
+
pos += 1;
|
|
1291
|
+
|
|
1292
|
+
skipWhitespace();
|
|
1293
|
+
nextStart = pos;
|
|
1294
|
+
|
|
1295
|
+
while (pos < cookiesString.length && notSpecialChar()) {
|
|
1296
|
+
pos += 1;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
// currently special character
|
|
1300
|
+
if (pos < cookiesString.length && cookiesString.charAt(pos) === "=") {
|
|
1301
|
+
// we found cookies separator
|
|
1302
|
+
cookiesSeparatorFound = true;
|
|
1303
|
+
// pos is inside the next cookie, so back up and return it.
|
|
1304
|
+
pos = nextStart;
|
|
1305
|
+
cookiesStrings.push(cookiesString.substring(start, lastComma));
|
|
1306
|
+
start = pos;
|
|
1307
|
+
} else {
|
|
1308
|
+
// in param ',' or param separator ';',
|
|
1309
|
+
// we continue from that comma
|
|
1310
|
+
pos = lastComma + 1;
|
|
1311
|
+
}
|
|
1312
|
+
} else {
|
|
1313
|
+
pos += 1;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
if (!cookiesSeparatorFound || pos >= cookiesString.length) {
|
|
1318
|
+
cookiesStrings.push(cookiesString.substring(start, cookiesString.length));
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
return cookiesStrings;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
setCookie.exports = parse;
|
|
1326
|
+
setCookie.exports.parse = parse;
|
|
1327
|
+
setCookie.exports.parseString = parseString;
|
|
1328
|
+
setCookie.exports.splitCookiesString = splitCookiesString;
|
|
1329
|
+
return setCookie.exports;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
var setCookieExports = requireSetCookie();
|
|
1333
|
+
|
|
8
1334
|
const SVELTE_KIT_ASSETS = "/_svelte_kit_assets";
|
|
9
1335
|
const ENDPOINT_METHODS = ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"];
|
|
10
1336
|
const PAGE_METHODS = ["GET", "POST", "HEAD"];
|
|
@@ -482,19 +1808,11 @@ async function call_action(event, actions) {
|
|
|
482
1808
|
}
|
|
483
1809
|
return action(event);
|
|
484
1810
|
}
|
|
485
|
-
function validate_action_return(data) {
|
|
486
|
-
if (data instanceof Redirect) {
|
|
487
|
-
throw new Error("Cannot `return redirect(...)` — use `redirect(...)` instead");
|
|
488
|
-
}
|
|
489
|
-
if (data instanceof HttpError) {
|
|
490
|
-
throw new Error("Cannot `return error(...)` — use `error(...)` or `return fail(...)` instead");
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
1811
|
function uneval_action_response(data, route_id) {
|
|
494
|
-
return try_deserialize(data,
|
|
1812
|
+
return try_deserialize(data, uneval, route_id);
|
|
495
1813
|
}
|
|
496
1814
|
function stringify_action_response(data, route_id) {
|
|
497
|
-
return try_deserialize(data,
|
|
1815
|
+
return try_deserialize(data, stringify, route_id);
|
|
498
1816
|
}
|
|
499
1817
|
function try_deserialize(data, fn, route_id) {
|
|
500
1818
|
try {
|
|
@@ -1465,7 +2783,7 @@ async function render_response({
|
|
|
1465
2783
|
);
|
|
1466
2784
|
}
|
|
1467
2785
|
if (error) {
|
|
1468
|
-
serialized.error =
|
|
2786
|
+
serialized.error = uneval(error);
|
|
1469
2787
|
}
|
|
1470
2788
|
const hydrate = [
|
|
1471
2789
|
`node_ids: [${branch.map(({ node }) => node.index).join(", ")}]`,
|
|
@@ -1477,7 +2795,7 @@ async function render_response({
|
|
|
1477
2795
|
hydrate.push(`status: ${status}`);
|
|
1478
2796
|
}
|
|
1479
2797
|
if (options2.embedded) {
|
|
1480
|
-
hydrate.push(`params: ${
|
|
2798
|
+
hydrate.push(`params: ${uneval(event.params)}`, `route: ${s(event.route)}`);
|
|
1481
2799
|
}
|
|
1482
2800
|
const indent = " ".repeat(load_env_eagerly ? 7 : 6);
|
|
1483
2801
|
args.push(`{
|
|
@@ -1614,7 +2932,7 @@ function get_data(event, options2, nodes, global) {
|
|
|
1614
2932
|
count -= 1;
|
|
1615
2933
|
let str;
|
|
1616
2934
|
try {
|
|
1617
|
-
str =
|
|
2935
|
+
str = uneval({ id, data, error }, replacer);
|
|
1618
2936
|
} catch (e) {
|
|
1619
2937
|
error = await handle_error_and_jsonify(
|
|
1620
2938
|
event,
|
|
@@ -1622,7 +2940,7 @@ function get_data(event, options2, nodes, global) {
|
|
|
1622
2940
|
new Error(`Failed to serialize promise while rendering ${event.route.id}`)
|
|
1623
2941
|
);
|
|
1624
2942
|
data = void 0;
|
|
1625
|
-
str =
|
|
2943
|
+
str = uneval({ id, data, error }, replacer);
|
|
1626
2944
|
}
|
|
1627
2945
|
push(`<script>${global}.resolve(${str})<\/script>
|
|
1628
2946
|
`);
|
|
@@ -1637,7 +2955,7 @@ function get_data(event, options2, nodes, global) {
|
|
|
1637
2955
|
const strings = nodes.map((node) => {
|
|
1638
2956
|
if (!node)
|
|
1639
2957
|
return "null";
|
|
1640
|
-
return `{"type":"data","data":${
|
|
2958
|
+
return `{"type":"data","data":${uneval(node.data, replacer)},${stringify_uses(node)}${node.slash ? `,"slash":${JSON.stringify(node.slash)}` : ""}}`;
|
|
1641
2959
|
});
|
|
1642
2960
|
return {
|
|
1643
2961
|
data: `[${strings.join(",")}]`,
|
|
@@ -1910,7 +3228,7 @@ function get_data_json(event, options2, nodes) {
|
|
|
1910
3228
|
async (value) => {
|
|
1911
3229
|
let str;
|
|
1912
3230
|
try {
|
|
1913
|
-
str =
|
|
3231
|
+
str = stringify(value, reducers);
|
|
1914
3232
|
} catch (e) {
|
|
1915
3233
|
const error = await handle_error_and_jsonify(
|
|
1916
3234
|
event,
|
|
@@ -1918,7 +3236,7 @@ function get_data_json(event, options2, nodes) {
|
|
|
1918
3236
|
new Error(`Failed to serialize promise while rendering ${event.route.id}`)
|
|
1919
3237
|
);
|
|
1920
3238
|
key2 = "error";
|
|
1921
|
-
str =
|
|
3239
|
+
str = stringify(error, reducers);
|
|
1922
3240
|
}
|
|
1923
3241
|
count -= 1;
|
|
1924
3242
|
push(`{"type":"chunk","id":${id},"${key2}":${str}}
|
|
@@ -1938,7 +3256,7 @@ function get_data_json(event, options2, nodes) {
|
|
|
1938
3256
|
if (node.type === "error" || node.type === "skip") {
|
|
1939
3257
|
return JSON.stringify(node);
|
|
1940
3258
|
}
|
|
1941
|
-
return `{"type":"data","data":${
|
|
3259
|
+
return `{"type":"data","data":${stringify(node.data, reducers)},${stringify_uses(
|
|
1942
3260
|
node
|
|
1943
3261
|
)}${node.slash ? `,"slash":${JSON.stringify(node.slash)}` : ""}}`;
|
|
1944
3262
|
});
|
|
@@ -2242,7 +3560,7 @@ function validate_options(options2) {
|
|
|
2242
3560
|
}
|
|
2243
3561
|
function get_cookies(request, url, trailing_slash) {
|
|
2244
3562
|
const header = request.headers.get("cookie") ?? "";
|
|
2245
|
-
const initial_cookies = parse(header, { decode: (value) => value });
|
|
3563
|
+
const initial_cookies = cookieExports.parse(header, { decode: (value) => value });
|
|
2246
3564
|
const normalized_url = normalize_path(url.pathname, trailing_slash);
|
|
2247
3565
|
const new_cookies = {};
|
|
2248
3566
|
const defaults = {
|
|
@@ -2265,7 +3583,7 @@ function get_cookies(request, url, trailing_slash) {
|
|
|
2265
3583
|
return c.value;
|
|
2266
3584
|
}
|
|
2267
3585
|
const decoder = opts?.decode || decodeURIComponent;
|
|
2268
|
-
const req_cookies = parse(header, { decode: decoder });
|
|
3586
|
+
const req_cookies = cookieExports.parse(header, { decode: decoder });
|
|
2269
3587
|
const cookie = req_cookies[name];
|
|
2270
3588
|
return cookie;
|
|
2271
3589
|
},
|
|
@@ -2274,7 +3592,7 @@ function get_cookies(request, url, trailing_slash) {
|
|
|
2274
3592
|
*/
|
|
2275
3593
|
getAll(opts) {
|
|
2276
3594
|
const decoder = opts?.decode || decodeURIComponent;
|
|
2277
|
-
const cookies2 = parse(header, { decode: decoder });
|
|
3595
|
+
const cookies2 = cookieExports.parse(header, { decode: decoder });
|
|
2278
3596
|
for (const c of Object.values(new_cookies)) {
|
|
2279
3597
|
if (domain_matches(url.hostname, c.options.domain) && path_matches(url.pathname, c.options.path)) {
|
|
2280
3598
|
cookies2[c.name] = c.value;
|
|
@@ -2310,7 +3628,7 @@ function get_cookies(request, url, trailing_slash) {
|
|
|
2310
3628
|
if (!options2.domain || options2.domain === url.hostname) {
|
|
2311
3629
|
path = resolve(normalized_url, path);
|
|
2312
3630
|
}
|
|
2313
|
-
return serialize(name, value, { ...defaults, ...options2, path });
|
|
3631
|
+
return cookieExports.serialize(name, value, { ...defaults, ...options2, path });
|
|
2314
3632
|
}
|
|
2315
3633
|
};
|
|
2316
3634
|
function get_cookie_header(destination, header2) {
|
|
@@ -2328,7 +3646,7 @@ function get_cookies(request, url, trailing_slash) {
|
|
|
2328
3646
|
combined_cookies[cookie.name] = encoder2(cookie.value);
|
|
2329
3647
|
}
|
|
2330
3648
|
if (header2) {
|
|
2331
|
-
const parsed = parse(header2, { decode: (value) => value });
|
|
3649
|
+
const parsed = cookieExports.parse(header2, { decode: (value) => value });
|
|
2332
3650
|
for (const name in parsed) {
|
|
2333
3651
|
combined_cookies[name] = parsed[name];
|
|
2334
3652
|
}
|
|
@@ -2363,10 +3681,10 @@ function path_matches(path, constraint) {
|
|
|
2363
3681
|
function add_cookies_to_headers(headers2, cookies) {
|
|
2364
3682
|
for (const new_cookie of cookies) {
|
|
2365
3683
|
const { name, value, options: options2 } = new_cookie;
|
|
2366
|
-
headers2.append("set-cookie", serialize(name, value, options2));
|
|
3684
|
+
headers2.append("set-cookie", cookieExports.serialize(name, value, options2));
|
|
2367
3685
|
if (options2.path.endsWith(".html")) {
|
|
2368
3686
|
const path = add_data_suffix(options2.path);
|
|
2369
|
-
headers2.append("set-cookie", serialize(name, value, { ...options2, path }));
|
|
3687
|
+
headers2.append("set-cookie", cookieExports.serialize(name, value, { ...options2, path }));
|
|
2370
3688
|
}
|
|
2371
3689
|
}
|
|
2372
3690
|
}
|
|
@@ -2441,8 +3759,8 @@ function create_fetch({ event, options: options2, manifest, state, get_cookie_he
|
|
|
2441
3759
|
});
|
|
2442
3760
|
const set_cookie = response.headers.get("set-cookie");
|
|
2443
3761
|
if (set_cookie) {
|
|
2444
|
-
for (const str of
|
|
2445
|
-
const { name, value, ...options3 } =
|
|
3762
|
+
for (const str of setCookieExports.splitCookiesString(set_cookie)) {
|
|
3763
|
+
const { name, value, ...options3 } = setCookieExports.parseString(str);
|
|
2446
3764
|
const path = options3.path ?? (url.pathname.split("/").slice(0, -1).join("/") || "/");
|
|
2447
3765
|
set_internal(name, value, {
|
|
2448
3766
|
path,
|
|
@@ -2884,13 +4202,6 @@ function filter_public_env(env, { public_prefix, private_prefix }) {
|
|
|
2884
4202
|
)
|
|
2885
4203
|
);
|
|
2886
4204
|
}
|
|
2887
|
-
const prerender_env_handler = {
|
|
2888
|
-
get({ type }, prop) {
|
|
2889
|
-
throw new Error(
|
|
2890
|
-
`Cannot read values from $env/dynamic/${type} while prerendering (attempted to read env.${prop.toString()}). Use $env/static/${type} instead`
|
|
2891
|
-
);
|
|
2892
|
-
}
|
|
2893
|
-
};
|
|
2894
4205
|
class Server {
|
|
2895
4206
|
/** @type {import('types').SSROptions} */
|
|
2896
4207
|
#options;
|
|
@@ -2912,13 +4223,10 @@ class Server {
|
|
|
2912
4223
|
public_prefix: this.#options.env_public_prefix,
|
|
2913
4224
|
private_prefix: this.#options.env_private_prefix
|
|
2914
4225
|
};
|
|
2915
|
-
|
|
4226
|
+
filter_private_env(env, prefixes);
|
|
2916
4227
|
const public_env2 = filter_public_env(env, prefixes);
|
|
2917
|
-
set_private_env(
|
|
2918
|
-
prerendering ? new Proxy({ type: "private" }, prerender_env_handler) : private_env
|
|
2919
|
-
);
|
|
2920
4228
|
set_public_env(
|
|
2921
|
-
|
|
4229
|
+
public_env2
|
|
2922
4230
|
);
|
|
2923
4231
|
set_safe_public_env(public_env2);
|
|
2924
4232
|
if (!this.#options.hooks) {
|
|
@@ -2950,6 +4258,6 @@ class Server {
|
|
|
2950
4258
|
});
|
|
2951
4259
|
}
|
|
2952
4260
|
}
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
4261
|
+
|
|
4262
|
+
export { Server };
|
|
4263
|
+
//# sourceMappingURL=index.js.map
|