@nanoforge-dev/editor 0.0.2-beta.8c768e4 → 0.0.2-beta.d1c5eea
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/_app/immutable/assets/0.Chsihp2s.css +1 -0
- package/dist/client/_app/immutable/assets/0.Chsihp2s.css.br +0 -0
- package/dist/client/_app/immutable/assets/0.Chsihp2s.css.gz +0 -0
- package/dist/client/_app/immutable/chunks/BAmaB5-w.js +6 -0
- package/dist/client/_app/immutable/chunks/BAmaB5-w.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BAmaB5-w.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{BpsTeBMk2.js → BFWbalF82.js} +1 -1
- package/dist/client/_app/immutable/chunks/BFWbalF82.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BFWbalF82.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BJ5-01Xz.js +1 -0
- package/dist/client/_app/immutable/chunks/BJ5-01Xz.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BJ5-01Xz.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{D8HnIxQ42.js → BLf9jss52.js} +1 -1
- package/dist/client/_app/immutable/chunks/BLf9jss52.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BLf9jss52.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{BNmi28p2.js → BQ4F9eo1.js} +1 -1
- package/dist/client/_app/immutable/chunks/BQ4F9eo1.js.br +2 -0
- package/dist/client/_app/immutable/chunks/BQ4F9eo1.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BQs6hrRa.js +293 -0
- package/dist/client/_app/immutable/chunks/BQs6hrRa.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BQs6hrRa.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{Wjj5hwVF2.js → BSNB_Uck2.js} +2 -2
- package/dist/client/_app/immutable/chunks/BSNB_Uck2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BSNB_Uck2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{56adh18U.js → BWNegMLP.js} +1 -1
- package/dist/client/_app/immutable/chunks/BWNegMLP.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BWNegMLP.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{DJq0R92X.js → BesjqVrk.js} +1 -1
- package/dist/client/_app/immutable/chunks/BesjqVrk.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BesjqVrk.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{NRUHq-_72.js → Bhafduqk2.js} +1 -1
- package/dist/client/_app/immutable/chunks/Bhafduqk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Bhafduqk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{Drjp27p72.js → CJxKUjL-2.js} +1 -1
- package/dist/client/_app/immutable/chunks/CJxKUjL-2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CJxKUjL-2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{VTYQK3v_2.js → CVQMNY_q2.js} +2 -2
- package/dist/client/_app/immutable/chunks/CVQMNY_q2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CVQMNY_q2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{CwcsJxhS2.js → CbW3yNTi.js} +1 -1
- package/dist/client/_app/immutable/chunks/CbW3yNTi.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CbW3yNTi.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CvkNa2t_.js +3 -0
- package/dist/client/_app/immutable/chunks/CvkNa2t_.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CvkNa2t_.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D2HMiRG4.js +1 -0
- package/dist/client/_app/immutable/chunks/D2HMiRG4.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D2HMiRG4.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{CuyfOZTk2.js → D2PipAw82.js} +1 -1
- package/dist/client/_app/immutable/chunks/D2PipAw82.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D2PipAw82.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{CHHvlOt72.js → D6-zOYYZ2.js} +1 -1
- package/dist/client/_app/immutable/chunks/D6-zOYYZ2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D6-zOYYZ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{B5BlQANa2.js → DGDm8Q4w2.js} +1 -1
- package/dist/client/_app/immutable/chunks/DGDm8Q4w2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DGDm8Q4w2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{Bfd-bGrZ2.js → DRQF0pcw2.js} +1 -1
- package/dist/client/_app/immutable/chunks/DRQF0pcw2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DRQF0pcw2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{B41NCdmk2.js → DYPPS7OK2.js} +1 -1
- package/dist/client/_app/immutable/chunks/DYPPS7OK2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DYPPS7OK2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{YpKUr6uE2.js → DaisyxdZ2.js} +1 -1
- package/dist/client/_app/immutable/chunks/DaisyxdZ2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DaisyxdZ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{D8Kk1mwW.js → DtcTX-YU.js} +1 -1
- package/dist/client/_app/immutable/chunks/DtcTX-YU.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DtcTX-YU.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{DbZ0P7x6.js → DuZNgOMp.js} +1 -1
- package/dist/client/_app/immutable/chunks/DuZNgOMp.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DuZNgOMp.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{CNh34b3X2.js → M5EMNuDS2.js} +1 -1
- package/dist/client/_app/immutable/chunks/M5EMNuDS2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/M5EMNuDS2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{Cx3ix-dL2.js → SmrQhi1p2.js} +1 -1
- package/dist/client/_app/immutable/chunks/SmrQhi1p2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/SmrQhi1p2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{D5kSEVHd2.js → TFu7Wn2c2.js} +1 -1
- package/dist/client/_app/immutable/chunks/TFu7Wn2c2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/TFu7Wn2c2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{DRG11iPc2.js → mESnenQM2.js} +1 -1
- package/dist/client/_app/immutable/chunks/mESnenQM2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/mESnenQM2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/nE3VUeYj.js +0 -0
- package/dist/client/_app/immutable/chunks/nE3VUeYj.js.br +1 -0
- package/dist/client/_app/immutable/chunks/nE3VUeYj.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/{CN98h0cI2.js → uIj7mV9x2.js} +1 -1
- package/dist/client/_app/immutable/chunks/uIj7mV9x2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/uIj7mV9x2.js.gz +0 -0
- package/dist/client/_app/immutable/entry/{app.CiLM39cw.js → app.CmKp5Z74.js} +2 -2
- package/dist/client/_app/immutable/entry/app.CmKp5Z74.js.br +0 -0
- package/dist/client/_app/immutable/entry/app.CmKp5Z74.js.gz +0 -0
- package/dist/client/_app/immutable/entry/start.D78MUtxi.js +1 -0
- package/dist/client/_app/immutable/entry/start.D78MUtxi.js.br +0 -0
- package/dist/client/_app/immutable/entry/start.D78MUtxi.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/{0.CEpgzEwS.js → 0.DG-EQJuO.js} +1 -1
- package/dist/client/_app/immutable/nodes/0.DG-EQJuO.js.br +0 -0
- package/dist/client/_app/immutable/nodes/0.DG-EQJuO.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/{1.Sm4J_hJ5.js → 1.3zpJchco.js} +1 -1
- package/dist/client/_app/immutable/nodes/1.3zpJchco.js.br +0 -0
- package/dist/client/_app/immutable/nodes/1.3zpJchco.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/{9.C7P5VSNI.js → 11.B2wyJh5I.js} +1 -1
- package/dist/client/_app/immutable/nodes/11.B2wyJh5I.js.br +0 -0
- package/dist/client/_app/immutable/nodes/11.B2wyJh5I.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/2.CW0zjRC8.js +1 -0
- package/dist/client/_app/immutable/nodes/2.CW0zjRC8.js.br +0 -0
- package/dist/client/_app/immutable/nodes/2.CW0zjRC8.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/3.gzy1bOy3.js +6 -0
- package/dist/client/_app/immutable/nodes/3.gzy1bOy3.js.br +0 -0
- package/dist/client/_app/immutable/nodes/3.gzy1bOy3.js.gz +0 -0
- package/dist/client/_app/version.json +1 -1
- package/dist/client/_app/version.json.br +0 -0
- package/dist/client/_app/version.json.gz +0 -0
- package/dist/server/chunks/{0-BgMtbrE9.js → 0-CdkGZW74.js} +6 -6
- package/dist/server/chunks/{0-BgMtbrE9.js.map → 0-CdkGZW74.js.map} +1 -1
- package/dist/server/chunks/{1-JuWV7qB2.js → 1-Bu7UAZ5T.js} +6 -6
- package/dist/server/chunks/{1-JuWV7qB2.js.map → 1-Bu7UAZ5T.js.map} +1 -1
- package/dist/server/chunks/{5-DVrv6Zto.js → 10-_cwipoJm.js} +13 -5
- package/dist/server/chunks/10-_cwipoJm.js.map +1 -0
- package/dist/server/chunks/11-Dx5w0MJO.js +22 -0
- package/dist/server/chunks/11-Dx5w0MJO.js.map +1 -0
- package/dist/server/chunks/{2-Dkn4MH5F.js → 2-5F9qcDLt.js} +10 -10
- package/dist/server/chunks/{2-Dkn4MH5F.js.map → 2-5F9qcDLt.js.map} +1 -1
- package/dist/server/chunks/3-Cql-Dmp2.js +22 -0
- package/dist/server/chunks/3-Cql-Dmp2.js.map +1 -0
- package/dist/server/chunks/{3-CcIZ_M60.js → 4-B2tSZCU9.js} +117 -6
- package/dist/server/chunks/4-B2tSZCU9.js.map +1 -0
- package/dist/server/chunks/{8-CRPOubhA.js → 5-D3-J9iUP.js} +13 -5
- package/dist/server/chunks/5-D3-J9iUP.js.map +1 -0
- package/dist/server/chunks/{4-DyArZX6h.js → 6-DDoqG8iB.js} +13 -5
- package/dist/server/chunks/6-DDoqG8iB.js.map +1 -0
- package/dist/server/chunks/7-CjZUt-gt.js +18 -0
- package/dist/server/chunks/7-CjZUt-gt.js.map +1 -0
- package/dist/server/chunks/8-ZgtdnItY.js +91 -0
- package/dist/server/chunks/8-ZgtdnItY.js.map +1 -0
- package/dist/server/chunks/{7-CuJ7XfzT.js → 9-6rlPfdHX.js} +5 -5
- package/dist/server/chunks/{7-CuJ7XfzT.js.map → 9-6rlPfdHX.js.map} +1 -1
- package/dist/server/chunks/{_layout.svelte-CP4jFwsK.js → _layout.svelte-By6MJeec.js} +6 -6
- package/dist/server/chunks/_layout.svelte-By6MJeec.js.map +1 -0
- package/dist/server/chunks/{_page.svelte-7KJNFri5.js → _page.svelte-COg8WlkX.js} +6 -6
- package/dist/server/chunks/_page.svelte-COg8WlkX.js.map +1 -0
- package/dist/server/chunks/{_page.svelte-B3Zfq6_t.js → _page.svelte-Dne41AAE.js} +433 -126
- package/dist/server/chunks/_page.svelte-Dne41AAE.js.map +1 -0
- package/dist/server/chunks/{_page.svelte-BQLzgYrr.js → _page.svelte-E1XZx_gJ.js} +7 -7
- package/dist/server/chunks/_page.svelte-E1XZx_gJ.js.map +1 -0
- package/dist/server/chunks/{_server.ts-BYvWhjnh.js → _server.ts-BwyH-SDr.js} +2 -2
- package/dist/server/chunks/{_server.ts-BYvWhjnh.js.map → _server.ts-BwyH-SDr.js.map} +1 -1
- package/dist/server/chunks/_server.ts-DJwl8--i.js +47 -0
- package/dist/server/chunks/_server.ts-DJwl8--i.js.map +1 -0
- package/dist/server/chunks/_server.ts-kFT5a-9I.js +13 -0
- package/dist/server/chunks/_server.ts-kFT5a-9I.js.map +1 -0
- package/dist/server/chunks/app-DUeJj5RD.js.map +1 -1
- package/dist/server/chunks/chunk-ByNZkrT6.js.map +1 -1
- package/dist/server/chunks/{client-BvtIF74Y.js → client-jrv3ueos.js} +4 -4
- package/dist/server/chunks/client-jrv3ueos.js.map +1 -0
- package/dist/server/chunks/decorate-CQ_JIwqD.js +11 -0
- package/dist/server/chunks/decorate-CQ_JIwqD.js.map +1 -0
- package/dist/server/chunks/{error-D23CGeyL.js → error-Cu-XIb00.js} +406 -191
- package/dist/server/chunks/error-Cu-XIb00.js.map +1 -0
- package/dist/server/chunks/{error.svelte-DZuW0iDP.js → error.svelte-BB7sWwXo.js} +3 -3
- package/dist/server/chunks/error.svelte-BB7sWwXo.js.map +1 -0
- package/dist/server/chunks/{exports-8wSs4fiF.js → exports-D0uQzbjy.js} +4 -4
- package/dist/server/chunks/{exports-8wSs4fiF.js.map → exports-D0uQzbjy.js.map} +1 -1
- package/dist/server/chunks/format-DGOlJxF5.js.map +1 -1
- package/dist/server/chunks/{hooks.server-Dox7llar.js → hooks.server-BTZM3Han.js} +6 -6
- package/dist/server/chunks/hooks.server-BTZM3Han.js.map +1 -0
- package/dist/server/chunks/{hooks.universal-DhGFdBkK.js → hooks.universal-bt2XJEN9.js} +2 -2
- package/dist/server/chunks/{hooks.universal-DhGFdBkK.js.map → hooks.universal-bt2XJEN9.js.map} +1 -1
- package/dist/server/chunks/{events-DeYJGjCt.js → index-server-BthNUqCR.js} +2640 -2635
- package/dist/server/chunks/index-server-BthNUqCR.js.map +1 -0
- package/dist/server/chunks/{internal-eM0YTBgj.js → internal-vr3mPczx.js} +2 -2
- package/dist/server/chunks/{internal-eM0YTBgj.js.map → internal-vr3mPczx.js.map} +1 -1
- package/dist/server/chunks/{internal-B77zebhK.js → internal2-BiukHRFA.js} +24 -17
- package/dist/server/chunks/internal2-BiukHRFA.js.map +1 -0
- package/dist/server/chunks/{loader-circle-zqx69BdD.js → loader-circle-C4T0os4K.js} +5 -5
- package/dist/server/chunks/loader-circle-C4T0os4K.js.map +1 -0
- package/dist/server/chunks/{logo-BfI7zmyL.js → logo-dxZl1N-5.js} +4 -4
- package/dist/server/chunks/logo-dxZl1N-5.js.map +1 -0
- package/dist/server/chunks/{project-loader-BkV0zjlj.js → project-loader-D46R4y2F.js} +4 -4
- package/dist/server/chunks/project-loader-D46R4y2F.js.map +1 -0
- package/dist/server/chunks/{request-handler-D-qbwxhh.js → request-handler-DTxrh7_f.js} +191 -117
- package/dist/server/chunks/request-handler-DTxrh7_f.js.map +1 -0
- package/dist/server/chunks/{runtime-CDHWD9vo.js → runtime-26c7QsEi.js} +9 -9
- package/dist/server/chunks/runtime-26c7QsEi.js.map +1 -0
- package/dist/server/chunks/{schemas-ENQuLVBq.js → schemas-nwfCECau.js} +490 -405
- package/dist/server/chunks/schemas-nwfCECau.js.map +1 -0
- package/dist/server/chunks/{session-CmQRz9-0.js → session-By0bbFhg.js} +2 -2
- package/dist/server/chunks/{session-CmQRz9-0.js.map → session-By0bbFhg.js.map} +1 -1
- package/dist/server/chunks/shared-server-Cha0Qlv9.js.map +1 -1
- package/dist/server/chunks/{state-q9lwVQK2.js → state-CviNrLh6.js} +3 -3
- package/dist/server/chunks/state-CviNrLh6.js.map +1 -0
- package/dist/server/index.js +374 -357
- package/dist/server/index.js.map +1 -1
- package/dist/server/manifest.js +55 -31
- package/dist/server/manifest.js.map +1 -1
- package/package.json +22 -18
- package/dist/client/_app/immutable/assets/0.CI0wrjoW.css +0 -1
- package/dist/client/_app/immutable/assets/0.CI0wrjoW.css.br +0 -0
- package/dist/client/_app/immutable/assets/0.CI0wrjoW.css.gz +0 -0
- package/dist/client/_app/immutable/chunks/56adh18U.js.br +0 -0
- package/dist/client/_app/immutable/chunks/56adh18U.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/9tBtThMc.js +0 -1
- package/dist/client/_app/immutable/chunks/9tBtThMc.js.br +0 -0
- package/dist/client/_app/immutable/chunks/9tBtThMc.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B41NCdmk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B41NCdmk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/B5BlQANa2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/B5BlQANa2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BNmi28p2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BNmi28p2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Bfd-bGrZ2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/BpsTeBMk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/BpsTeBMk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CHHvlOt72.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CHHvlOt72.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CN98h0cI2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CN98h0cI2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CNh34b3X2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CNh34b3X2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CsVJKLJK.js +0 -1
- package/dist/client/_app/immutable/chunks/CsVJKLJK.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CsVJKLJK.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CuyfOZTk2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CuyfOZTk2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/CwcsJxhS2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/CwcsJxhS2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Cx3ix-dL2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Cx3ix-dL2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D5kSEVHd2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D5kSEVHd2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D8HnIxQ42.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D8HnIxQ42.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/D8Kk1mwW.js.br +0 -0
- package/dist/client/_app/immutable/chunks/D8Kk1mwW.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DJq0R92X.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DJq0R92X.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DRG11iPc2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DRG11iPc2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DbZ0P7x6.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DbZ0P7x6.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Drjp27p72.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Drjp27p72.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/DuEGqPrO.js +0 -6
- package/dist/client/_app/immutable/chunks/DuEGqPrO.js.br +0 -0
- package/dist/client/_app/immutable/chunks/DuEGqPrO.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/H2okCofJ.js +0 -3
- package/dist/client/_app/immutable/chunks/H2okCofJ.js.br +0 -0
- package/dist/client/_app/immutable/chunks/H2okCofJ.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/NRUHq-_72.js.br +0 -0
- package/dist/client/_app/immutable/chunks/NRUHq-_72.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/UeNcXxK4.js +0 -293
- package/dist/client/_app/immutable/chunks/UeNcXxK4.js.br +0 -0
- package/dist/client/_app/immutable/chunks/UeNcXxK4.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/VTYQK3v_2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/VTYQK3v_2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/Wjj5hwVF2.js.gz +0 -0
- package/dist/client/_app/immutable/chunks/YpKUr6uE2.js.br +0 -0
- package/dist/client/_app/immutable/chunks/YpKUr6uE2.js.gz +0 -0
- package/dist/client/_app/immutable/entry/app.CiLM39cw.js.br +0 -0
- package/dist/client/_app/immutable/entry/app.CiLM39cw.js.gz +0 -0
- package/dist/client/_app/immutable/entry/start.CIrA5P2h.js +0 -1
- package/dist/client/_app/immutable/entry/start.CIrA5P2h.js.br +0 -0
- package/dist/client/_app/immutable/entry/start.CIrA5P2h.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/0.CEpgzEwS.js.br +0 -0
- package/dist/client/_app/immutable/nodes/0.CEpgzEwS.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/1.Sm4J_hJ5.js.br +0 -0
- package/dist/client/_app/immutable/nodes/1.Sm4J_hJ5.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/10.BcE-uamz.js +0 -6
- package/dist/client/_app/immutable/nodes/10.BcE-uamz.js.br +0 -0
- package/dist/client/_app/immutable/nodes/10.BcE-uamz.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/2.BGBkNPlf.js +0 -1
- package/dist/client/_app/immutable/nodes/2.BGBkNPlf.js.br +0 -0
- package/dist/client/_app/immutable/nodes/2.BGBkNPlf.js.gz +0 -0
- package/dist/client/_app/immutable/nodes/9.C7P5VSNI.js.br +0 -0
- package/dist/client/_app/immutable/nodes/9.C7P5VSNI.js.gz +0 -0
- package/dist/server/chunks/10-x0FGzJF7.js +0 -22
- package/dist/server/chunks/10-x0FGzJF7.js.map +0 -1
- package/dist/server/chunks/3-CcIZ_M60.js.map +0 -1
- package/dist/server/chunks/4-DyArZX6h.js.map +0 -1
- package/dist/server/chunks/5-DVrv6Zto.js.map +0 -1
- package/dist/server/chunks/6-AD0Ee23-.js +0 -65
- package/dist/server/chunks/6-AD0Ee23-.js.map +0 -1
- package/dist/server/chunks/8-CRPOubhA.js.map +0 -1
- package/dist/server/chunks/9-BhWG76gi.js +0 -22
- package/dist/server/chunks/9-BhWG76gi.js.map +0 -1
- package/dist/server/chunks/_layout.svelte-CP4jFwsK.js.map +0 -1
- package/dist/server/chunks/_page.svelte-7KJNFri5.js.map +0 -1
- package/dist/server/chunks/_page.svelte-B3Zfq6_t.js.map +0 -1
- package/dist/server/chunks/_page.svelte-BQLzgYrr.js.map +0 -1
- package/dist/server/chunks/_server.ts-B1t_0LJV.js +0 -19
- package/dist/server/chunks/_server.ts-B1t_0LJV.js.map +0 -1
- package/dist/server/chunks/client-BvtIF74Y.js.map +0 -1
- package/dist/server/chunks/error-D23CGeyL.js.map +0 -1
- package/dist/server/chunks/error.svelte-DZuW0iDP.js.map +0 -1
- package/dist/server/chunks/events-DeYJGjCt.js.map +0 -1
- package/dist/server/chunks/hooks.server-Dox7llar.js.map +0 -1
- package/dist/server/chunks/internal-B77zebhK.js.map +0 -1
- package/dist/server/chunks/loader-circle-zqx69BdD.js.map +0 -1
- package/dist/server/chunks/logo-BfI7zmyL.js.map +0 -1
- package/dist/server/chunks/project-loader-BkV0zjlj.js.map +0 -1
- package/dist/server/chunks/request-handler-D-qbwxhh.js.map +0 -1
- package/dist/server/chunks/runtime-CDHWD9vo.js.map +0 -1
- package/dist/server/chunks/schemas-ENQuLVBq.js.map +0 -1
- package/dist/server/chunks/state-q9lwVQK2.js.map +0 -1
- /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css → 3.BP_hUVIU.css} +0 -0
- /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css.br → 3.BP_hUVIU.css.br} +0 -0
- /package/dist/client/_app/immutable/assets/{10.BP_hUVIU.css.gz → 3.BP_hUVIU.css.gz} +0 -0
- /package/dist/client/_app/immutable/chunks/{CVaqCwHa.js → CVaqCwHa2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{CVaqCwHa.js.br → CVaqCwHa2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{CVaqCwHa.js.gz → CVaqCwHa2.js.gz} +0 -0
- /package/dist/client/_app/immutable/chunks/{De2hgUGE.js → De2hgUGE2.js} +0 -0
- /package/dist/client/_app/immutable/chunks/{De2hgUGE.js.br → De2hgUGE2.js.br} +0 -0
- /package/dist/client/_app/immutable/chunks/{De2hgUGE.js.gz → De2hgUGE2.js.gz} +0 -0
- /package/dist/server/chunks/{chunk-D7D4PA-g.js → rolldown-runtime-D7D4PA-g.js} +0 -0
|
@@ -130,7 +130,7 @@ var localeInitiallySet = false;
|
|
|
130
130
|
* in the order they are defined. In SSR contexts, the locale is retrieved from AsyncLocalStorage
|
|
131
131
|
* which is set by the `paraglideMiddleware()`.
|
|
132
132
|
*
|
|
133
|
-
* @see https://
|
|
133
|
+
* @see https://paraglidejs.com/strategy - Configure locale detection strategies
|
|
134
134
|
*
|
|
135
135
|
* @example
|
|
136
136
|
* if (getLocale() === 'de') {
|
|
@@ -155,7 +155,7 @@ var getLocale = () => {
|
|
|
155
155
|
}
|
|
156
156
|
return resolved;
|
|
157
157
|
}
|
|
158
|
-
throw new Error("No locale found. Read the docs https://
|
|
158
|
+
throw new Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found");
|
|
159
159
|
};
|
|
160
160
|
/**
|
|
161
161
|
* Resolve locale for a given URL using route-aware strategies.
|
|
@@ -166,7 +166,7 @@ var getLocale = () => {
|
|
|
166
166
|
function getLocaleForUrl(url) {
|
|
167
167
|
const resolved = resolveLocaleWithStrategies(getStrategyForUrl(url), typeof url === "string" ? url : url.href);
|
|
168
168
|
if (resolved) return resolved;
|
|
169
|
-
throw new Error("No locale found. Read the docs https://
|
|
169
|
+
throw new Error("No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found");
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
172
|
* @param {typeof strategy} strategyToUse
|
|
@@ -206,7 +206,7 @@ function resolveLocaleWithStrategies(strategyToUse, urlForUrlStrategy) {
|
|
|
206
206
|
* If any custom strategy's `setLocale` function is async, then this function
|
|
207
207
|
* will become async as well.
|
|
208
208
|
*
|
|
209
|
-
* @see https://
|
|
209
|
+
* @see https://paraglidejs.com/strategy
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* setLocale('en');
|
|
@@ -299,7 +299,7 @@ var extractLocaleFromRequestWithStrategies = (request, strategies, url = request
|
|
|
299
299
|
const matchedLocale = toLocale(locale);
|
|
300
300
|
if (matchedLocale) return matchedLocale;
|
|
301
301
|
}
|
|
302
|
-
throw new Error("No locale found. There is an error in your strategy. Try adding 'baseLocale' as the very last strategy. Read more here https://
|
|
302
|
+
throw new Error("No locale found. There is an error in your strategy. Try adding 'baseLocale' as the very last strategy. Read more here https://paraglidejs.com/errors#no-locale-found");
|
|
303
303
|
};
|
|
304
304
|
/**
|
|
305
305
|
* @param {Request} request
|
|
@@ -427,7 +427,7 @@ function defaultUrlPatternExtractLocale(url) {
|
|
|
427
427
|
* For client-side UI components, use `localizeHref()` instead, which provides
|
|
428
428
|
* a more convenient API with relative paths and automatic locale detection.
|
|
429
429
|
*
|
|
430
|
-
* @see https://
|
|
430
|
+
* @see https://paraglidejs.com/i18n-routing
|
|
431
431
|
*
|
|
432
432
|
* @example
|
|
433
433
|
* ```typescript
|
|
@@ -490,7 +490,7 @@ function localizeUrlDefaultPattern(url, locale) {
|
|
|
490
490
|
* For client-side UI components, use `deLocalizeHref()` instead, which provides
|
|
491
491
|
* a more convenient API with relative paths.
|
|
492
492
|
*
|
|
493
|
-
* @see https://
|
|
493
|
+
* @see https://paraglidejs.com/i18n-routing
|
|
494
494
|
*
|
|
495
495
|
* @example
|
|
496
496
|
* ```typescript
|
|
@@ -560,7 +560,7 @@ function deLocalizeUrlDefaultPattern(url) {
|
|
|
560
560
|
*
|
|
561
561
|
* When called in the browser without arguments, the current `window.location.href` is used.
|
|
562
562
|
*
|
|
563
|
-
* @see https://
|
|
563
|
+
* @see https://paraglidejs.com/i18n-routing#redirects
|
|
564
564
|
*
|
|
565
565
|
* @example
|
|
566
566
|
* // Client side usage (e.g. TanStack Router beforeLoad hook)
|
|
@@ -696,4 +696,4 @@ function isCustomStrategy(strategy) {
|
|
|
696
696
|
//#endregion
|
|
697
697
|
export { serverAsyncLocalStorage as a, overwriteServerAsyncLocalStorage as i, getStrategyForUrl as n, shouldRedirect as o, isExcludedByRouteStrategy as r, deLocalizeUrl as t };
|
|
698
698
|
|
|
699
|
-
//# sourceMappingURL=runtime-
|
|
699
|
+
//# sourceMappingURL=runtime-26c7QsEi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-26c7QsEi.js","names":[],"sources":["../../../.svelte-kit/adapter-bun/chunks/runtime.js"],"sourcesContent":["//#region src/lib/paraglide/runtime.js\n/** @type {any} */\nvar URLPattern = {};\n/**\n* The project's locales that have been specified in the settings.\n*\n* @example\n* if (locales.includes(userSelectedLocale) === false) {\n* throw new Error('Locale is not available');\n* }\n*/\nvar locales = [\"en\", \"fr\"];\n/** @type {string} */\nvar cookieName = \"PARAGLIDE_LOCALE\";\n/**\n* @type {Array<\"cookie\" | \"baseLocale\" | \"globalVariable\" | \"url\" | \"preferredLanguage\" | \"localStorage\" | `custom-${string}`>}\n*/\nvar strategy = [\n\t\"cookie\",\n\t\"globalVariable\",\n\t\"baseLocale\"\n];\n/**\n* Route-level strategy overrides.\n*\n* `match` uses URLPattern syntax.\n*\n* @type {Array<{\n* match: string;\n* strategy?: Array<\"cookie\" | \"baseLocale\" | \"globalVariable\" | \"url\" | \"preferredLanguage\" | \"localStorage\" | `custom-${string}`>;\n* exclude?: boolean;\n* }>}\n*/\nvar routeStrategies = [];\n/** @type {string | undefined} */\nvar cachedRouteStrategyUrl;\n/** @type {{ match: string; strategy?: typeof strategy; exclude?: boolean } | undefined} */\nvar cachedRouteStrategy;\n/**\n* @param {string | URL} url\n* @returns {{ match: string; strategy?: typeof strategy; exclude?: boolean } | undefined}\n*/\nfunction findMatchingRouteStrategy(url) {\n\tif (routeStrategies.length === 0) return;\n\tconst urlString = typeof url === \"string\" ? url : url.href;\n\tif (cachedRouteStrategyUrl === urlString) return cachedRouteStrategy;\n\tconst urlObject = new URL(urlString, \"http://dummy.com\");\n\tlet match;\n\tfor (const routeStrategy of routeStrategies) if (new URLPattern(routeStrategy.match, urlObject.href).exec(urlObject.href)) {\n\t\tmatch = routeStrategy;\n\t\tbreak;\n\t}\n\tcachedRouteStrategyUrl = urlString;\n\tcachedRouteStrategy = match;\n\treturn match;\n}\n/**\n* Returns the strategy to use for a specific URL.\n*\n* If no route strategy matches (or the matching rule is `exclude: true`),\n* the global strategy is returned.\n*\n* @param {string | URL} url\n* @returns {typeof strategy}\n*/\nfunction getStrategyForUrl(url) {\n\tconst routeStrategy = findMatchingRouteStrategy(url);\n\tif (routeStrategy && routeStrategy.exclude !== true && Array.isArray(routeStrategy.strategy)) return routeStrategy.strategy;\n\treturn strategy;\n}\n/**\n* Returns whether the given URL is excluded from middleware i18n processing.\n*\n* @param {string | URL} url\n* @returns {boolean}\n*/\nfunction isExcludedByRouteStrategy(url) {\n\treturn findMatchingRouteStrategy(url)?.exclude === true;\n}\n/**\n* @typedef {{\n* \t\tgetStore(): {\n* \t\tlocale?: Locale,\n* \t\t\torigin?: string,\n* \t\t\tmessageCalls?: Set<string>\n* \t} | undefined,\n* \t\trun: (store: { locale?: Locale, origin?: string, messageCalls?: Set<string>},\n* cb: any) => any\n* }} ParaglideAsyncLocalStorage\n*/\n/**\n* Server side async local storage that is set by `serverMiddleware()`.\n*\n* The variable is used to retrieve the locale and origin in a server-side\n* rendering context without effecting other requests.\n*\n* @type {ParaglideAsyncLocalStorage | undefined}\n*/\nvar serverAsyncLocalStorage = void 0;\n/**\n* Sets the server side async local storage.\n*\n* The function is needed because the `runtime.js` file\n* must define the `serverAsyncLocalStorage` variable to\n* avoid a circular import between `runtime.js` and\n* `server.js` files.\n*\n* @param {ParaglideAsyncLocalStorage | undefined} value\n*/\nfunction overwriteServerAsyncLocalStorage(value) {\n\tserverAsyncLocalStorage = value;\n}\n/** @type {any} */ globalThis.__paraglide = globalThis.__paraglide ?? {};\n/** @type {any} */ globalThis.__paraglide.ssr = globalThis.__paraglide.ssr ?? {};\n/**\n* This is a fallback to get started with a custom\n* strategy and avoid type errors.\n*\n* The implementation is overwritten\n* by `overwriteGetLocale()` and `defineSetLocale()`.\n*\n* @type {Locale | undefined}\n*/\nvar _locale;\nvar localeInitiallySet = false;\n/**\n* Get the current locale.\n*\n* The locale is resolved using your configured strategies (URL, cookie, localStorage, etc.)\n* in the order they are defined. In SSR contexts, the locale is retrieved from AsyncLocalStorage\n* which is set by the `paraglideMiddleware()`.\n*\n* @see https://paraglidejs.com/strategy - Configure locale detection strategies\n*\n* @example\n* if (getLocale() === 'de') {\n* console.log('Germany 🇩🇪');\n* } else if (getLocale() === 'nl') {\n* console.log('Netherlands 🇳🇱');\n* }\n*\n* @returns {Locale} The current locale.\n*/\nvar getLocale = () => {\n\tif (serverAsyncLocalStorage) {\n\t\tconst locale = serverAsyncLocalStorage?.getStore()?.locale;\n\t\tif (locale) return locale;\n\t}\n\tconst resolved = resolveLocaleWithStrategies(strategy, typeof window !== \"undefined\" ? window.location?.href : void 0);\n\tif (resolved) {\n\t\tif (!localeInitiallySet) {\n\t\t\t_locale = resolved;\n\t\t\tlocaleInitiallySet = true;\n\t\t\tsetLocale(resolved, { reload: false });\n\t\t}\n\t\treturn resolved;\n\t}\n\tthrow new Error(\"No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found\");\n};\n/**\n* Resolve locale for a given URL using route-aware strategies.\n*\n* @param {string | URL} url\n* @returns {Locale}\n*/\nfunction getLocaleForUrl(url) {\n\tconst resolved = resolveLocaleWithStrategies(getStrategyForUrl(url), typeof url === \"string\" ? url : url.href);\n\tif (resolved) return resolved;\n\tthrow new Error(\"No locale found. Read the docs https://paraglidejs.com/errors#no-locale-found\");\n}\n/**\n* @param {typeof strategy} strategyToUse\n* @param {string | undefined} urlForUrlStrategy\n* @returns {Locale | undefined}\n*/\nfunction resolveLocaleWithStrategies(strategyToUse, urlForUrlStrategy) {\n\t/** @type {string | undefined} */\n\tlet locale;\n\tfor (const strat of strategyToUse) {\n\t\tif (strat === \"cookie\") locale = extractLocaleFromCookie();\n\t\telse if (strat === \"baseLocale\") locale = \"en\";\n\t\telse if (strat === \"globalVariable\" && _locale !== void 0) locale = _locale;\n\t\telse if (isCustomStrategy(strat) && customClientStrategies.has(strat)) {\n\t\t\tconst handler = customClientStrategies.get(strat);\n\t\t\tif (handler) {\n\t\t\t\tconst result = handler.getLocale();\n\t\t\t\tif (result instanceof Promise) continue;\n\t\t\t\tif (result !== void 0) return assertIsLocale(result);\n\t\t\t}\n\t\t}\n\t\tconst matchedLocale = toLocale(locale);\n\t\tif (matchedLocale) return matchedLocale;\n\t}\n}\n/**\n* @typedef {(newLocale: Locale, options?: { reload?: boolean }) => void | Promise<void>} SetLocaleFn\n*/\n/**\n* Set the locale.\n*\n* Updates the locale using your configured strategies (cookie, localStorage, URL, etc.).\n* By default, this reloads the page on the client to reflect the new locale. Reloading\n* can be disabled by passing `reload: false` as an option, but you'll need to ensure\n* the UI updates to reflect the new locale.\n*\n* If any custom strategy's `setLocale` function is async, then this function\n* will become async as well.\n*\n* @see https://paraglidejs.com/strategy\n*\n* @example\n* setLocale('en');\n*\n* @example\n* setLocale('en', { reload: false });\n*\n* @type {SetLocaleFn}\n*/\nvar setLocale = (newLocale, options) => {\n\t({ ...options });\n\ttry {\n\t\tgetLocale();\n\t} catch {}\n\t/** @type {Array<Promise<void>>} */\n\tconst customSetLocalePromises = [];\n\tlet strategyToUse = strategy;\n\tfor (const strat of strategyToUse) if (strat === \"globalVariable\") _locale = newLocale;\n\telse if (strat === \"cookie\") continue;\n\telse if (strat === \"baseLocale\") continue;\n\telse if (isCustomStrategy(strat) && customClientStrategies.has(strat)) {\n\t\tconst handler = customClientStrategies.get(strat);\n\t\tif (handler) {\n\t\t\tlet result = handler.setLocale(newLocale);\n\t\t\tif (result instanceof Promise) {\n\t\t\t\tresult = result.catch((error) => {\n\t\t\t\t\tthrow new Error(`Custom strategy \"${strat}\" setLocale failed.`, { cause: error });\n\t\t\t\t});\n\t\t\t\tcustomSetLocalePromises.push(result);\n\t\t\t}\n\t\t}\n\t}\n\tif (customSetLocalePromises.length) return Promise.all(customSetLocalePromises).then(() => {});\n};\n/**\n* The origin of the current URL.\n*\n* Defaults to \"http://y.com\" in non-browser environments. If this\n* behavior is not desired, the implementation can be overwritten\n* by `overwriteGetUrlOrigin()`.\n*\n* @type {() => string}\n*/\nvar getUrlOrigin = () => {\n\tif (serverAsyncLocalStorage) return serverAsyncLocalStorage.getStore()?.origin ?? \"http://fallback.com\";\n\telse if (typeof window !== \"undefined\") return window.location.origin;\n\treturn \"http://fallback.com\";\n};\n/**\n* Coerces a locale-like string to the canonical locale value used by the runtime.\n*\n* @param {unknown} value\n* @returns {Locale | undefined}\n*/\nfunction toLocale(value) {\n\tif (typeof value !== \"string\") return;\n\tconst lowerValue = value.toLowerCase();\n\tfor (const locale of locales) if (locale.toLowerCase() === lowerValue) return locale;\n}\n/**\n* Asserts that the input can be normalized to a locale.\n*\n* @param {unknown} input - The input to check.\n* @returns {Locale} The input normalized to a Locale.\n* @throws {Error} If the input is not a locale.\n*/\nfunction assertIsLocale(input) {\n\tconst locale = toLocale(input);\n\tif (locale) return locale;\n\tthrow new Error(`Invalid locale: ${input}. Expected one of: ${locales.join(\", \")}`);\n}\n/**\n* Extracts a locale from a request using the provided strategy order.\n*\n* @param {Request} request\n* @param {typeof strategy} strategies\n* @param {string | URL} [url]\n* @returns {Locale}\n*/\nvar extractLocaleFromRequestWithStrategies = (request, strategies, url = request.url) => {\n\tresolveEffectiveRequestUrl(request, url);\n\t/** @type {string|undefined} */\n\tlet locale;\n\tfor (const strat of strategies) {\n\t\tif (strat === \"cookie\") locale = request.headers.get(\"cookie\")?.split(\"; \").find((c) => c.startsWith(\"PARAGLIDE_LOCALE=\"))?.split(\"=\")[1];\n\t\telse if (strat === \"globalVariable\") locale = _locale;\n\t\telse if (strat === \"baseLocale\") return \"en\";\n\t\telse if (strat === \"localStorage\") continue;\n\t\telse if (isCustomStrategy(strat)) continue;\n\t\tconst matchedLocale = toLocale(locale);\n\t\tif (matchedLocale) return matchedLocale;\n\t}\n\tthrow new Error(\"No locale found. There is an error in your strategy. Try adding 'baseLocale' as the very last strategy. Read more here https://paraglidejs.com/errors#no-locale-found\");\n};\n/**\n* @param {Request} request\n* @param {string | URL | undefined} effectiveRequestUrl\n* @returns {URL}\n*/\nfunction resolveEffectiveRequestUrl(request, effectiveRequestUrl = request.url) {\n\tif (effectiveRequestUrl instanceof URL) return new URL(effectiveRequestUrl.href);\n\treturn new URL(effectiveRequestUrl, request.url);\n}\n/**\n* Asynchronously extracts a locale from a request.\n*\n* This function supports async custom server strategies, unlike the synchronous\n* `extractLocaleFromRequest`. Use this function when you have custom server strategies\n* that need to perform asynchronous operations (like database calls) in their getLocale method.\n*\n* The function first processes any custom server strategies asynchronously, then falls back\n* to the synchronous `extractLocaleFromRequest` for all other strategies.\n*\n* @see {@link https://github.com/opral/inlang-paraglide-js/issues/527#issuecomment-2978151022}\n*\n* @example\n* // Basic usage\n* const locale = await extractLocaleFromRequestAsync(request);\n*\n* @example\n* // With custom async server strategy\n* defineCustomServerStrategy(\"custom-database\", {\n* getLocale: async (request) => {\n* const userId = extractUserIdFromRequest(request);\n* return await getUserLocaleFromDatabase(userId);\n* }\n* });\n*\n* const locale = await extractLocaleFromRequestAsync(request);\n*\n* @param {Request} request - The request object to extract the locale from.\n* @param {{ effectiveRequestUrl?: string | URL }} [options] - Effective request URL to use for route matching and locale detection with the URL strategy.\n* @returns {Promise<Locale>} The extracted locale.\n*/\nvar extractLocaleFromRequestAsync = async (request, options = {}) => {\n\t/** @type {string|undefined} */\n\tlet locale;\n\tconst effectiveRequestUrl = resolveEffectiveRequestUrlFromRequestAsync(request, options.effectiveRequestUrl);\n\tconst strategy = getStrategyForUrl(effectiveRequestUrl);\n\tfor (const strat of strategy) if (isCustomStrategy(strat) && customServerStrategies.has(strat)) {\n\t\tconst handler = customServerStrategies.get(strat);\n\t\tif (handler)\n /** @type {string|undefined} */\n\t\tlocale = await handler.getLocale(request);\n\t\tconst matchedLocale = toLocale(locale);\n\t\tif (matchedLocale) return matchedLocale;\n\t}\n\treturn extractLocaleFromRequestWithStrategies(request, strategy, effectiveRequestUrl);\n};\n/**\n* @param {Request} request\n* @param {string | URL | undefined} effectiveRequestUrl\n* @returns {URL}\n*/\nfunction resolveEffectiveRequestUrlFromRequestAsync(request, effectiveRequestUrl = request.url) {\n\tif (effectiveRequestUrl instanceof URL) return new URL(effectiveRequestUrl.href);\n\treturn new URL(effectiveRequestUrl, request.url);\n}\n/**\n* Extracts a cookie from the document.\n*\n* Will return undefined if the document is not available or if the cookie is not set.\n* The `document` object is not available in server-side rendering, so this function should not be called in that context.\n*\n* @returns {Locale | undefined}\n*/\nfunction extractLocaleFromCookie() {\n\tif (typeof document === \"undefined\" || !document.cookie) return;\n\tconst locale = document.cookie.match(new RegExp(`(^| )${cookieName}=([^;]+)`))?.[2];\n\treturn toLocale(locale);\n}\n/**\n* If extractLocaleFromUrl is called many times on the same page and the URL\n* hasn't changed, we don't need to recompute it every time which can get expensive.\n* We might use a LRU cache if needed, but for now storing only the last result is enough.\n* https://github.com/opral/monorepo/pull/3575#discussion_r2066731243\n*/\n/** @type {string|undefined} */\nvar cachedUrl;\n/** @type {Locale|undefined} */\nvar cachedLocale;\n/**\n* Extracts the locale from a given URL using native URLPattern.\n*\n* The built-in default `/:locale/...` routing is case-insensitive because it\n* canonicalizes the first path segment with `toLocale()`. Custom `urlPatterns`\n* keep URLPattern's normal exact matching semantics for path segments.\n*\n* @param {URL|string} url - The full URL from which to extract the locale.\n* @returns {Locale|undefined} The extracted locale, or undefined if no locale is found.\n*/\nfunction extractLocaleFromUrl(url) {\n\tconst urlString = typeof url === \"string\" ? url : url.href;\n\tif (cachedUrl === urlString) return cachedLocale;\n\t/** @type {Locale | undefined} */\n\tlet result;\n\tresult = defaultUrlPatternExtractLocale(url);\n\tcachedUrl = urlString;\n\tcachedLocale = result;\n\treturn result;\n}\n/**\n* https://github.com/opral/inlang-paraglide-js/issues/381\n*\n* @param {URL | string} url - The full URL from which to extract the locale.\n* @returns {Locale | undefined} The extracted locale, or undefined if no locale is found.\n*/\nfunction defaultUrlPatternExtractLocale(url) {\n\treturn toLocale(new URL(url, \"http://dummy.com\").pathname.split(\"/\").filter(Boolean)[0]) || \"en\";\n}\n/**\n* Lower-level URL localization function, primarily used in server contexts.\n*\n* This function is designed for server-side usage where you need precise control\n* over URL localization, such as in middleware or request handlers. It works with\n* URL objects and always returns absolute URLs.\n*\n* For client-side UI components, use `localizeHref()` instead, which provides\n* a more convenient API with relative paths and automatic locale detection.\n*\n* @see https://paraglidejs.com/i18n-routing\n*\n* @example\n* ```typescript\n* // Server middleware example\n* app.use((req, res, next) => {\n* const url = new URL(req.url, `${req.protocol}://${req.headers.host}`);\n* const localized = localizeUrl(url, { locale: \"de\" });\n*\n* if (localized.href !== url.href) {\n* return res.redirect(localized.href);\n* }\n* next();\n* });\n* ```\n*\n* @example\n* ```typescript\n* // Using with URL patterns\n* const url = new URL(\"https://example.com/about\");\n* localizeUrl(url, { locale: \"de\" });\n* // => URL(\"https://example.com/de/about\")\n*\n* // Using with domain-based localization\n* const url = new URL(\"https://example.com/store\");\n* localizeUrl(url, { locale: \"de\" });\n* // => URL(\"https://de.example.com/store\")\n* ```\n*\n* @param {string | URL} url - The URL to localize. If string, must be absolute.\n* @param {object} [options] - Options for localization\n* @param {Locale} [options.locale] - Target locale. If not provided, uses getLocale()\n* @returns {URL} The localized URL, always absolute\n*/\nfunction localizeUrl(url, options) {\n\treturn localizeUrlDefaultPattern(url, options?.locale ? assertIsLocale(options?.locale) : getLocale());\n}\n/**\n* https://github.com/opral/inlang-paraglide-js/issues/381\n*\n* @param {string | URL} url\n* @param {Locale} locale\n* @returns {URL}\n*/\nfunction localizeUrlDefaultPattern(url, locale) {\n\tconst urlObj = typeof url === \"string\" ? new URL(url, getUrlOrigin()) : new URL(url);\n\tif (extractLocaleFromUrl(urlObj) === locale) return urlObj;\n\tconst pathSegments = urlObj.pathname.split(\"/\").filter(Boolean);\n\tif (pathSegments.length > 0 && toLocale(pathSegments[0])) pathSegments.shift();\n\tif (locale === \"en\") urlObj.pathname = \"/\" + pathSegments.join(\"/\");\n\telse urlObj.pathname = \"/\" + locale + \"/\" + pathSegments.join(\"/\");\n\treturn urlObj;\n}\n/**\n* Low-level URL de-localization function, primarily used in server contexts.\n*\n* This function is designed for server-side usage where you need precise control\n* over URL de-localization, such as in middleware or request handlers. It works with\n* URL objects and always returns absolute URLs.\n*\n* For client-side UI components, use `deLocalizeHref()` instead, which provides\n* a more convenient API with relative paths.\n*\n* @see https://paraglidejs.com/i18n-routing\n*\n* @example\n* ```typescript\n* // Server middleware example\n* app.use((req, res, next) => {\n* const url = new URL(req.url, `${req.protocol}://${req.headers.host}`);\n* const baseUrl = deLocalizeUrl(url);\n*\n* // Store the base URL for later use\n* req.baseUrl = baseUrl;\n* next();\n* });\n* ```\n*\n* @example\n* ```typescript\n* // Using with URL patterns\n* const url = new URL(\"https://example.com/de/about\");\n* deLocalizeUrl(url); // => URL(\"https://example.com/about\")\n*\n* // Using with domain-based localization\n* const url = new URL(\"https://de.example.com/store\");\n* deLocalizeUrl(url); // => URL(\"https://example.com/store\")\n* ```\n*\n* @param {string | URL} url - The URL to de-localize. If string, must be absolute.\n* @returns {URL} The de-localized URL, always absolute\n*/\nfunction deLocalizeUrl(url) {\n\treturn deLocalizeUrlDefaultPattern(url);\n}\n/**\n* De-localizes a URL using the default pattern (/:locale/*)\n* @param {string|URL} url\n* @returns {URL}\n*/\nfunction deLocalizeUrlDefaultPattern(url) {\n\tconst urlObj = typeof url === \"string\" ? new URL(url, getUrlOrigin()) : new URL(url);\n\tconst pathSegments = urlObj.pathname.split(\"/\").filter(Boolean);\n\tif (pathSegments.length > 0 && toLocale(pathSegments[0])) urlObj.pathname = \"/\" + pathSegments.slice(1).join(\"/\");\n\treturn urlObj;\n}\n/**\n* @typedef {object} ShouldRedirectServerInput\n* @property {Request} request\n* @property {string | URL} [effectiveRequestUrl] - Effective request URL to use for route matching, locale detection with the URL strategy, and redirect targets.\n* @property {Locale} [locale]\n*\n* @typedef {object} ShouldRedirectClientInput\n* @property {undefined} [request]\n* @property {string | URL} [url]\n* @property {Locale} [locale]\n*\n* @typedef {ShouldRedirectServerInput | ShouldRedirectClientInput} ShouldRedirectInput\n*\n* @typedef {object} ShouldRedirectResult\n* @property {boolean} shouldRedirect - Indicates whether the consumer should perform a redirect.\n* @property {Locale} locale - Locale resolved using the configured strategies.\n* @property {URL | undefined} redirectUrl - Destination URL when a redirect is required.\n*/\n/**\n* Determines whether a redirect is required to align the current URL with the active locale.\n*\n* This helper mirrors the logic that powers `paraglideMiddleware`, but works in both server\n* and client environments. It evaluates the configured strategies in order, computes the\n* canonical localized URL, and reports when the current URL does not match.\n*\n* When called in the browser without arguments, the current `window.location.href` is used.\n*\n* @see https://paraglidejs.com/i18n-routing#redirects\n*\n* @example\n* // Client side usage (e.g. TanStack Router beforeLoad hook)\n* async function beforeLoad({ location }) {\n* const decision = await shouldRedirect({ url: location.href });\n*\n* if (decision.shouldRedirect) {\n* throw redirect({ to: decision.redirectUrl.href });\n* }\n* }\n*\n* @example\n* // Server side usage with a Request\n* export async function handle(request) {\n* const decision = await shouldRedirect({ request });\n*\n* if (decision.shouldRedirect) {\n* return Response.redirect(decision.redirectUrl, 307);\n* }\n*\n* return render(request, decision.locale);\n* }\n*\n* @example\n* // Server side usage behind a proxy where request.url is not public-facing\n* export async function handle(request) {\n* const effectiveRequestUrl = new URL(request.url);\n* effectiveRequestUrl.protocol = \"https:\";\n* effectiveRequestUrl.host = \"example.com\";\n*\n* const decision = await shouldRedirect({\n* request,\n* effectiveRequestUrl,\n* });\n*\n* if (decision.shouldRedirect) {\n* return Response.redirect(decision.redirectUrl, 307);\n* }\n* }\n*\n* @param {ShouldRedirectInput} [input]\n* @returns {Promise<ShouldRedirectResult>}\n*/\nasync function shouldRedirect(input = {}) {\n\tconst currentUrl = resolveUrl(input);\n\tconst locale = await resolveLocale(input, currentUrl);\n\tconst strategy = getStrategyForUrl(currentUrl.href);\n\tif (isExcludedByRouteStrategy(currentUrl.href) || !strategy.includes(\"url\")) return {\n\t\tshouldRedirect: false,\n\t\tlocale,\n\t\tredirectUrl: void 0\n\t};\n\tconst localizedUrl = localizeUrl(currentUrl.href, { locale });\n\tconst shouldRedirectToLocalizedUrl = normalizeUrl(localizedUrl.href) !== normalizeUrl(currentUrl.href);\n\treturn {\n\t\tshouldRedirect: shouldRedirectToLocalizedUrl,\n\t\tlocale,\n\t\tredirectUrl: shouldRedirectToLocalizedUrl ? localizedUrl : void 0\n\t};\n}\n/**\n* Resolves the locale either from the provided input or by using the configured strategies.\n*\n* @param {ShouldRedirectInput} input\n* @param {URL} currentUrl\n* @returns {Promise<Locale>}\n*/\nasync function resolveLocale(input, currentUrl) {\n\tconst locale = toLocale(input.locale);\n\tif (locale) return locale;\n\tif (input.request) return extractLocaleFromRequestAsync(input.request, { effectiveRequestUrl: currentUrl });\n\tif (\"url\" in input && typeof input.url !== \"undefined\") return getLocaleForUrl(currentUrl.href);\n\treturn getLocale();\n}\n/**\n* Resolves the current URL from the provided input or runtime context.\n*\n* @param {ShouldRedirectInput} input\n* @returns {URL}\n*/\nfunction resolveUrl(input) {\n\tif (\"effectiveRequestUrl\" in input && input.effectiveRequestUrl instanceof URL) return new URL(input.effectiveRequestUrl.href);\n\tif (\"effectiveRequestUrl\" in input && typeof input.effectiveRequestUrl === \"string\") return new URL(input.effectiveRequestUrl, input.request ? input.request.url : getUrlOrigin());\n\tif (input.request) return new URL(input.request.url);\n\tif (\"url\" in input && input.url instanceof URL) return new URL(input.url.href);\n\tif (\"url\" in input && typeof input.url === \"string\") return new URL(input.url, getUrlOrigin());\n\tif (typeof window !== \"undefined\" && window?.location?.href) return new URL(window.location.href);\n\tthrow new Error(\"shouldRedirect() requires either a request, an absolute URL, or must run in a browser environment.\");\n}\n/**\n* Normalize url for comparison by stripping the trailing slash.\n*\n* @param {string} url\n* @returns {string}\n*/\nfunction normalizeUrl(url) {\n\tconst urlObj = new URL(url);\n\turlObj.pathname = urlObj.pathname.replace(/\\/$/, \"\");\n\treturn urlObj.href;\n}\n/**\n* @typedef {\"cookie\" | \"baseLocale\" | \"globalVariable\" | \"url\" | \"preferredLanguage\" | \"localStorage\"} BuiltInStrategy\n*/\n/**\n* @typedef {`custom_${string}`} CustomStrategy\n*/\n/**\n* @typedef {BuiltInStrategy | CustomStrategy} Strategy\n*/\n/**\n* @typedef {Array<Strategy>} Strategies\n*/\n/**\n* @typedef {{ getLocale: (request?: Request) => Promise<string | undefined> | (string | undefined) }} CustomServerStrategyHandler\n*/\n/**\n* @typedef {{ getLocale: () => Promise<string|undefined> | (string | undefined), setLocale: (locale: string) => Promise<void> | void }} CustomClientStrategyHandler\n*/\n/** @type {Map<string, CustomServerStrategyHandler>} */\nvar customServerStrategies = /* @__PURE__ */ new Map();\n/** @type {Map<string, CustomClientStrategyHandler>} */\nvar customClientStrategies = /* @__PURE__ */ new Map();\n/**\n* Checks if the given strategy is a custom strategy.\n*\n* @param {unknown} strategy The name of the custom strategy to validate.\n* Must be a string that starts with \"custom-\" followed by alphanumeric characters, hyphens, or underscores.\n* @returns {boolean} Returns true if it is a custom strategy, false otherwise.\n*/\nfunction isCustomStrategy(strategy) {\n\treturn typeof strategy === \"string\" && /^custom-[A-Za-z0-9_-]+$/.test(strategy);\n}\n/**\n* A locale that is available in the project.\n*\n* @example\n* setLocale(request.locale as Locale)\n*\n* @typedef {typeof locales[number]} Locale\n*/\n/**\n* A branded type representing a localized string.\n*\n* Message functions return this type instead of \\`string\\`, enabling TypeScript\n* to distinguish translated strings from regular strings at compile time.\n* This allows you to enforce that only properly localized content is used\n* in your UI components.\n*\n* Since \\`LocalizedString\\` is a branded subtype of \\`string\\`, it remains fully\n* backward compatible—you can pass it anywhere a \\`string\\` is expected.\n*\n* @example\n* // Enforce localized strings in your components\n* function PageTitle(props: { title: LocalizedString }) {\n* return <h1>{props.title}</h1>\n* }\n*\n* // ✅ Correct: using a message function\n* <PageTitle title={m.welcome_title()} />\n*\n* // ❌ Type error: raw strings are not LocalizedString\n* <PageTitle title=\"Welcome\" />\n*\n* @example\n* // LocalizedString is assignable to string (backward compatible)\n* const localized: LocalizedString = m.greeting()\n* const str: string = localized // ✅ works fine\n*\n* // But string is not assignable to LocalizedString\n* const raw: LocalizedString = \"Hello\" // ❌ Type error\n*\n* @example\n* // Catches accidental string concatenation\n* function showMessage(msg: LocalizedString) { ... }\n*\n* showMessage(m.hello()) // ✅\n* showMessage(\"Hello \" + userName) // ❌ Type error\n* showMessage(m.hello_user({ name: userName })) // ✅ use params instead\n*\n* @typedef {string & { readonly __brand: 'LocalizedString' }} LocalizedString\n*/\n/**\n* A single markup option passed to a tag instance.\n*\n* @typedef {{\n* name: string;\n* value: unknown;\n* }} MessageMarkupOption\n*/\n/**\n* A single static markup attribute attached to a tag instance.\n*\n* @typedef {{\n* name: string;\n* value: string | true;\n* }} MessageMarkupAttribute\n*/\n/**\n* Record of markup options for a tag instance.\n*\n* @typedef {Record<string, unknown>} MessageMarkupOptions\n*/\n/**\n* Record of markup attributes for a tag instance.\n*\n* @typedef {Record<string, string | true>} MessageMarkupAttributes\n*/\n/**\n* Type-level schema for a single markup tag.\n*\n* @typedef {{\n* options: MessageMarkupOptions;\n* attributes: MessageMarkupAttributes;\n* children: boolean;\n* }} MessageMarkupTag\n*/\n/**\n* Type-level schema for all markup tags in a message.\n*\n* @typedef {Record<string, MessageMarkupTag>} MessageMarkupSchema\n*/\n/**\n* Type-only metadata attached to compiled message functions.\n*\n* @template Inputs\n* @template Options\n* @template {MessageMarkupSchema} [Markup = MessageMarkupSchema]\n* @typedef {{\n* readonly __paraglide?: {\n* inputs: Inputs;\n* options: Options;\n* markup: Markup;\n* };\n* }} MessageMetadata\n*/\n/**\n* A compiled, framework-neutral message part.\n*\n* @typedef {{\n* type: \"text\";\n* value: string;\n* } | {\n* type: \"markup-start\";\n* name: string;\n* options: MessageMarkupOptions;\n* attributes: MessageMarkupAttributes;\n* } | {\n* type: \"markup-end\";\n* name: string;\n* options: MessageMarkupOptions;\n* attributes: MessageMarkupAttributes;\n* } | {\n* type: \"markup-standalone\";\n* name: string;\n* options: MessageMarkupOptions;\n* attributes: MessageMarkupAttributes;\n* }} MessagePart\n*/\n/**\n* A message function is a message for a specific locale.\n*\n* @example\n* m.hello({ name: 'world' })\n*\n* @typedef {(inputs?: Record<string, never>) => LocalizedString} MessageFunction\n*/\n/**\n* A message bundle function that selects the message to be returned.\n*\n* Uses `getLocale()` under the hood to determine the locale with an option.\n*\n* @template {string} T\n*\n* @example\n* * m.hello({ name: 'world' }, { locale: \"en\" })\n*\n* @typedef {(params: Record<string, never>, options: { locale: T }) => LocalizedString} MessageBundleFunction\n*/\n//#endregion\nexport { serverAsyncLocalStorage as a, overwriteServerAsyncLocalStorage as i, getStrategyForUrl as n, shouldRedirect as o, isExcludedByRouteStrategy as r, deLocalizeUrl as t };\n"],"mappings":";;AAEA,IAAI,aAAa,CAAC;;;;;;;;;AASlB,IAAI,UAAU,CAAC,MAAM,IAAI;;AAEzB,IAAI,aAAa;;;;AAIjB,IAAI,WAAW;CACd;CACA;CACA;AACD;;;;;;;;;;;;AAYA,IAAI,kBAAkB,CAAC;;AAEvB,IAAI;;AAEJ,IAAI;;;;;AAKJ,SAAS,0BAA0B,KAAK;CACvC,IAAI,gBAAgB,WAAW,GAAG;CAClC,MAAM,YAAY,OAAO,QAAQ,WAAW,MAAM,IAAI;CACtD,IAAI,2BAA2B,WAAW,OAAO;CACjD,MAAM,YAAY,IAAI,IAAI,WAAW,kBAAkB;CACvD,IAAI;CACJ,KAAK,MAAM,iBAAiB,iBAAiB,IAAI,IAAI,WAAW,cAAc,OAAO,UAAU,IAAI,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