@stacksjs/stx 0.2.264 → 0.2.266
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/caching.js +2 -0
- package/dist/{chunk-25de1sj7.js → chunk-0athjw48.js} +2 -2
- package/dist/{chunk-38ykv2gd.js → chunk-135mme4g.js} +1 -1
- package/dist/{chunk-gpt6ggxj.js → chunk-1hhxj2r5.js} +1 -1
- package/dist/{chunk-f0rjjfk0.js → chunk-1j77d7fw.js} +1 -1
- package/dist/{chunk-sr49fd8p.js → chunk-1m4sa11y.js} +1 -1
- package/dist/{chunk-nteg247p.js → chunk-278yw67q.js} +1 -1
- package/dist/{chunk-0mk858ne.js → chunk-2ed60g20.js} +2 -2
- package/dist/{chunk-qpsj28s2.js → chunk-2qsa4h1t.js} +2 -2
- package/dist/{chunk-3rnc94mp.js → chunk-2x9s5z8x.js} +1 -1
- package/dist/{chunk-va2wwrpf.js → chunk-455pgdzh.js} +1 -1
- package/dist/{chunk-k6st4606.js → chunk-4ay1ymgp.js} +1 -1
- package/dist/{chunk-x7pp10qb.js → chunk-4cr21p7m.js} +1 -1
- package/dist/chunk-4mvpapjz.js +2 -0
- package/dist/{chunk-7exqxjx5.js → chunk-4mw2kfqd.js} +1 -1
- package/dist/chunk-4wnnet1k.js +12 -0
- package/dist/{chunk-jt8as8j8.js → chunk-52wr95ps.js} +1 -1
- package/dist/chunk-5htqgzbb.js +2 -0
- package/dist/chunk-5jcsg2mc.js +2 -0
- package/dist/{chunk-z0aygs4h.js → chunk-5k0j7bjy.js} +1 -1
- package/dist/{chunk-aw651z2y.js → chunk-5wkwhjjn.js} +54 -20
- package/dist/{chunk-xr1758xj.js → chunk-6746wmsf.js} +1 -1
- package/dist/{chunk-0bm5enna.js → chunk-6g4mnrr0.js} +1 -1
- package/dist/{chunk-new80es4.js → chunk-6g7m08rv.js} +1 -1
- package/dist/{chunk-4zkv1vqh.js → chunk-6yphtg3q.js} +1 -1
- package/dist/{chunk-p1rswnys.js → chunk-73yr54sg.js} +1 -1
- package/dist/{chunk-2pavh1yg.js → chunk-78bm61kd.js} +1 -1
- package/dist/chunk-7cts329z.js +2 -0
- package/dist/chunk-7kkc13rc.js +2 -0
- package/dist/chunk-8evws5cc.js +11 -0
- package/dist/{chunk-zr4emtxf.js → chunk-8jvmjzmr.js} +1 -1
- package/dist/{chunk-zr6m5k3t.js → chunk-987kjtg8.js} +1 -1
- package/dist/{chunk-3fa6t4fw.js → chunk-9gzmcxzg.js} +1 -1
- package/dist/{chunk-b3f5dwzz.js → chunk-9rdg7x9h.js} +1 -1
- package/dist/chunk-9rkcrzj4.js +2 -0
- package/dist/{chunk-8pvymy12.js → chunk-9y175wxc.js} +1 -1
- package/dist/{chunk-7a7jy8yr.js → chunk-a78tzerx.js} +1 -1
- package/dist/{chunk-5qngxbmv.js → chunk-a7x7dmtf.js} +1 -1
- package/dist/{chunk-3txrk37v.js → chunk-a95rrp0j.js} +1 -1
- package/dist/{chunk-s44edj8s.js → chunk-aagn8j9e.js} +10 -10
- package/dist/{chunk-dnhckx52.js → chunk-bby4emay.js} +1 -1
- package/dist/{chunk-j59pkkzn.js → chunk-behbakfv.js} +1 -1
- package/dist/chunk-c1r9q5pk.js +15 -0
- package/dist/chunk-cd4v7xyr.js +2 -0
- package/dist/chunk-d3v3p15c.js +2 -0
- package/dist/{chunk-jq375v8t.js → chunk-dhe8sp1a.js} +1 -1
- package/dist/chunk-dpgp6rzq.js +2 -0
- package/dist/{chunk-g8tce9rr.js → chunk-f1jd5qjb.js} +1 -1
- package/dist/chunk-f3k5xbhk.js +2 -0
- package/dist/{chunk-4qq5wj04.js → chunk-f3m0q482.js} +1 -1
- package/dist/{chunk-wb7dfcnc.js → chunk-f8g0zbm3.js} +1 -1
- package/dist/{chunk-0y6f4037.js → chunk-f8wjdg40.js} +1 -1
- package/dist/chunk-fcv00xs9.js +2 -0
- package/dist/{chunk-sne7938g.js → chunk-fn9yw31x.js} +1 -1
- package/dist/chunk-g4z7gah7.js +2 -0
- package/dist/{chunk-ph5f8eev.js → chunk-gej3rmfy.js} +1 -1
- package/dist/{chunk-a90d3xne.js → chunk-gn48cpgb.js} +1 -1
- package/dist/{chunk-1qnyvw5w.js → chunk-hhyf0s7s.js} +1 -1
- package/dist/{chunk-x84g0m0p.js → chunk-j24k071e.js} +1 -1
- package/dist/chunk-jb7h4qgh.js +22 -0
- package/dist/{chunk-a8mnhryz.js → chunk-jnbhyzkv.js} +2 -2
- package/dist/{chunk-nqy2v6vh.js → chunk-k4m48h62.js} +1 -1
- package/dist/chunk-k5c19t7e.js +2 -0
- package/dist/{chunk-6vqb54c8.js → chunk-k7n88ess.js} +1 -1
- package/dist/{chunk-wj2trgsn.js → chunk-krgth3gf.js} +1 -1
- package/dist/chunk-mb0kqnwf.js +2 -0
- package/dist/{chunk-r7dd7c7y.js → chunk-mbvkvac6.js} +332 -343
- package/dist/{chunk-4w3gg4g7.js → chunk-mcn9mwzv.js} +1 -1
- package/dist/{chunk-bjj27mf3.js → chunk-mv0syvrg.js} +1 -1
- package/dist/{chunk-rp0m678g.js → chunk-n2r83qwt.js} +1 -1
- package/dist/{chunk-j6e4vwv5.js → chunk-n3jgypjf.js} +1 -1
- package/dist/{chunk-ksm4b1cx.js → chunk-nfykda12.js} +1 -1
- package/dist/chunk-ng1wyd2v.js +2 -0
- package/dist/{chunk-xhq2a50x.js → chunk-nswz1rkm.js} +1 -1
- package/dist/{chunk-1n16xphq.js → chunk-nwq01xh0.js} +1 -1
- package/dist/chunk-p9ase2nx.js +2 -0
- package/dist/{chunk-s2wm8qwg.js → chunk-q4n8a7sf.js} +1 -1
- package/dist/chunk-q5et8k2d.js +2 -0
- package/dist/chunk-qf5grrg1.js +2 -0
- package/dist/{chunk-k1e72asa.js → chunk-qh6223a0.js} +1 -1
- package/dist/{chunk-gg2en16q.js → chunk-qkbrbys7.js} +1 -1
- package/dist/{chunk-yjk7vyd8.js → chunk-r4nkpr60.js} +1 -1
- package/dist/{chunk-c17txgm7.js → chunk-r9z71gj0.js} +1 -1
- package/dist/{chunk-c59rkxwf.js → chunk-rc4zrsw3.js} +1 -1
- package/dist/chunk-rgh4njyv.js +2 -0
- package/dist/{chunk-10tcqry1.js → chunk-rwb4nztb.js} +1 -1
- package/dist/chunk-scdxk8nn.js +2 -0
- package/dist/{chunk-5h5ydexj.js → chunk-sde45gh3.js} +1 -1
- package/dist/{chunk-chsfdfqm.js → chunk-shtemwbq.js} +1 -1
- package/dist/chunk-tc01rmwh.js +2 -0
- package/dist/{chunk-wx73fmky.js → chunk-tv6ds16a.js} +1 -1
- package/dist/chunk-tybdapd3.js +2 -0
- package/dist/chunk-v9crchhq.js +2 -0
- package/dist/{chunk-95mj2e8x.js → chunk-vrskjx64.js} +1 -1
- package/dist/{chunk-4svmpj7y.js → chunk-w7gpyx2k.js} +1 -1
- package/dist/{chunk-gyga6sjp.js → chunk-wacr03x4.js} +1 -1
- package/dist/chunk-x2mke7a1.js +2 -0
- package/dist/chunk-xkb16kmv.js +2 -0
- package/dist/chunk-xpsxwbw0.js +2 -0
- package/dist/{chunk-yb3nrbqz.js → chunk-yhtq662h.js} +1 -1
- package/dist/chunk-ykxs16y7.js +2 -0
- package/dist/chunk-yxp7wv61.js +3 -0
- package/dist/{chunk-x0t0ndxd.js → chunk-z66a9nnd.js} +1 -1
- package/dist/cli.js +14 -14
- package/dist/client-script-bundler.d.ts +14 -0
- package/dist/client-script-bundler.js +37 -21
- package/dist/client-script.d.ts +1 -0
- package/dist/client-script.js +4 -2
- package/dist/color-mode-boot.js +6 -3
- package/dist/component-client-factories.d.ts +29 -0
- package/dist/component-client-factories.js +24 -0
- package/dist/craft-entry.js +1 -1
- package/dist/craft.js +1 -1
- package/dist/database.js +1 -1
- package/dist/dev-server/crosswind.d.ts +0 -3
- package/dist/dev-server/crosswind.js +13 -0
- package/dist/framework-composables.js +12 -2
- package/dist/performance-utils.d.ts +22 -1
- package/dist/performance-utils.js +30 -5
- package/dist/pwa.js +2 -2
- package/dist/render-memo.d.ts +40 -0
- package/dist/render-memo.js +33 -0
- package/dist/script-validation.js +25 -11
- package/dist/ssg.js +3 -3
- package/dist/store-loader.js +10 -1
- package/dist/style-scoping.js +18 -7
- package/dist/utils.js +108 -58
- package/dist/variable-extractor.js +14 -8
- package/dist/visual-testing.js +1 -1
- package/package.json +5 -5
- package/dist/chunk-0ha9e1wt.js +0 -5
- package/dist/chunk-0x022m9m.js +0 -2
- package/dist/chunk-14cps421.js +0 -2
- package/dist/chunk-1r8c2wws.js +0 -2
- package/dist/chunk-2p4v6ed7.js +0 -2
- package/dist/chunk-2qbde7w2.js +0 -2
- package/dist/chunk-3wwnx5d4.js +0 -2
- package/dist/chunk-6gc8phhe.js +0 -2
- package/dist/chunk-7qgnd7z8.js +0 -2
- package/dist/chunk-85wgtm01.js +0 -2
- package/dist/chunk-8raem8ng.js +0 -2
- package/dist/chunk-a5sn113x.js +0 -12
- package/dist/chunk-b3zes539.js +0 -11
- package/dist/chunk-c2mvr9z1.js +0 -2
- package/dist/chunk-fenb3cqw.js +0 -2
- package/dist/chunk-g4t9zc0a.js +0 -2
- package/dist/chunk-gayjne01.js +0 -2
- package/dist/chunk-gd9gfw08.js +0 -2
- package/dist/chunk-gyf9fky4.js +0 -2
- package/dist/chunk-h44qqffw.js +0 -2
- package/dist/chunk-k6wnmjhf.js +0 -3
- package/dist/chunk-m116b3d9.js +0 -2
- package/dist/chunk-m8hggrdc.js +0 -2
- package/dist/chunk-mjbsb088.js +0 -2
- package/dist/chunk-p8ppbq1a.js +0 -2
- package/dist/chunk-ptcpaeem.js +0 -11
- package/dist/chunk-rs5w6cm5.js +0 -2
- package/dist/chunk-s5pd0ec9.js +0 -2
- package/dist/chunk-tn2kwwy4.js +0 -13
- package/dist/chunk-venjrj7g.js +0 -2
- package/dist/chunk-xezfdh27.js +0 -2
- package/dist/chunk-xmrwskw2.js +0 -2
- package/dist/chunk-zcz486dz.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Wu as Ae,Xu as u}from"./chunk-f8wjdg40.js";function _(e){return e.split(/[\\/]/).filter(Boolean).slice(0,-1).some((a)=>g.includes(a))}function m(e){return _(e.replace(/^\//,""))}var g;var b=u(()=>{g=["components","layouts","partials","emails"]});import d from"fs";import y from"path";function x(e,t){let a=e.filter((o)=>!m(o.pattern)),r=["// Auto-generated by STX - do not edit"];if(a.length===0)r.push("// No page routes found \u2014 route paths stay typed as string.","export {}","");else{r.push("declare module '@stacksjs/stx' {"," interface KnownRoutes {");for(let o of a){let i=[];for(let c of o.params){let f=o.pattern.includes(`:${c}?`)?"?":"";i.push(`${c}${f}: string`)}let l=i.join("; ");r.push(` '${o.pattern}': { ${l} }`)}r.push(" }","}","","export {}","")}let n=r.join(`
|
|
3
3
|
`),s=y.join(t,"route-types.d.ts");try{if(d.existsSync(s)&&d.readFileSync(s,"utf8")===n)return;d.mkdirSync(t,{recursive:!0}),d.writeFileSync(s,n)}catch{}}function S(e,t,a){let r=process.cwd(),n=y.relative(r,a),s=e.filter((i)=>!m(i.pattern)),o=["// Auto-generated by stx \u2014 do not edit",`// Source: ${n||"pages"}/`,"","export const routes = ["];for(let i of s){let l=y.relative(r,i.filePath).replace(/\\/g,"/"),c=JSON.stringify(i.params),f=i.layout?`, layout: '${y.relative(r,i.layout).replace(/\\/g,"/")}'`:"";o.push(` { pattern: '${i.pattern}', filePath: '${l}', isDynamic: ${i.isDynamic}, params: ${c}${f} },`)}o.push("] as const",""),o.push("export type RouteName = typeof routes[number]['pattern']",""),d.mkdirSync(t,{recursive:!0}),d.writeFileSync(y.join(t,"routes.ts"),o.join(`
|
|
4
|
-
`))}var F=u(()=>{b()});import V from"path";function k(e,t){let r=V.relative(t,e).replace(/\.(stx|md)$/,"");if(r=r.split(V.sep).join("/"),r==="index")return"/";if(r.endsWith("/index"))r=r.slice(0,-6);return r=r.replace(/\[\[([^\]]+)\]\]/g,":$1?"),r=r.replace(/\[([^\]]+)\]/g,":$1"),r=r.replace(/:\.\.\.([^/]+)/g,":$1*"),`/${r}`}function v(e){let t=[],a="",r=0;while(r<e.length){let n=e.slice(r),s=/^\/:([^/?*]+)\?/.exec(n);if(s){t.push(s[1]),a+="(?:/([^/]+))?",r+=s[0].length;continue}let o=/^:([^/?*]+)\*/.exec(n);if(o){t.push(o[1]),a+="(.+)",r+=o[0].length;continue}let i=/^:([^/?*]+)/.exec(n);if(i){t.push(i[1]),a+="([^/]+)",r+=i[0].length;continue}a+=e[r].replace(/[.+^${}()|[\]\\*?]/g,"\\$&"),r+=1}return{regex:new RegExp(`^${a}$`),params:t}}function
|
|
4
|
+
`))}var F=u(()=>{b()});import V from"path";function k(e,t){let r=V.relative(t,e).replace(/\.(stx|md)$/,"");if(r=r.split(V.sep).join("/"),r==="index")return"/";if(r.endsWith("/index"))r=r.slice(0,-6);return r=r.replace(/\[\[([^\]]+)\]\]/g,":$1?"),r=r.replace(/\[([^\]]+)\]/g,":$1"),r=r.replace(/:\.\.\.([^/]+)/g,":$1*"),`/${r}`}function v(e){let t=[],a="",r=0;while(r<e.length){let n=e.slice(r),s=/^\/:([^/?*]+)\?/.exec(n);if(s){t.push(s[1]),a+="(?:/([^/]+))?",r+=s[0].length;continue}let o=/^:([^/?*]+)\*/.exec(n);if(o){t.push(o[1]),a+="(.+)",r+=o[0].length;continue}let i=/^:([^/?*]+)/.exec(n);if(i){t.push(i[1]),a+="([^/]+)",r+=i[0].length;continue}a+=e[r].replace(/[.+^${}()|[\]\\*?]/g,"\\$&"),r+=1}return{regex:new RegExp(`^${a}$`),params:t}}function D(e,t){let a=e===""?"/":e;for(let r of t){let n=a.match(r.regex);if(n){let s={};return r.params.forEach((o,i)=>{s[o]=n[i+1]}),{route:r,params:s}}}return null}function W(e){let t=e.replace(/\[\[([^\]]+)\]\]/g,":$1?").replace(/\[([^\]]+)\]/g,":$1").replace(/:\.\.\.([^/]+)/g,":$1*");return v(t)}var M=()=>{};import xe from"fs";import I from"path";function A(e,t){let a=[],r=I.dirname(e);while(r.startsWith(t)||r===t){let n=I.join(r,"_layout.stx");if(xe.existsSync(n))a.unshift(n);if(r===t)break;r=I.dirname(r)}return a}var N=()=>{};import P from"fs";import h from"path";function K(e,t){let a=[];if(!P.existsSync(e))return a;let r=P.readdirSync(e,{withFileTypes:!0});for(let n of r){let s=h.join(e,n.name);if(n.isDirectory()){if(n.name.startsWith("."))continue;if(g.includes(n.name))continue;a.push(...K(s,t))}else if(n.isFile()){let o=h.extname(n.name);if(t.includes(o)){if(n.name.startsWith("_")&&n.name!=="_layout.stx")continue;if(n.name==="_layout.stx")continue;a.push(s)}}}return a}class C{routes;pagesDir;pagesDirs;config;constructor(e,t={}){this.config=t;let a=t.pagesDirs&&t.pagesDirs.length>0?t.pagesDirs:[t.pagesDir||"pages"];this.pagesDirs=a.map((o)=>h.resolve(e,o)),this.pagesDir=this.pagesDirs[0];let r=t.extensions||[".stx"],n=new Set;this.routes=[];for(let o of this.pagesDirs){let i=K(o,r);for(let l of i){let c=k(l,o);if(n.has(c))continue;n.add(c);let{regex:f,params:H}=v(c),O=t.layouts!==!1?A(l,o):[];this.routes.push({pattern:c,regex:f,params:H,filePath:l,isDynamic:H.length>0,layout:O.length>0?O[O.length-1]:void 0})}}this.routes.sort((o,i)=>{if(!o.isDynamic&&i.isDynamic)return-1;if(o.isDynamic&&!i.isDynamic)return 1;let l=o.pattern.split("/").length,c=i.pattern.split("/").length;if(l!==c)return c-l;return o.pattern.localeCompare(i.pattern)});let s=h.resolve(e,t.stateDir||process.env.STX_DIR?.trim()||".stx");x(this.routes,s),S(this.routes,s,this.pagesDir)}match(e){let t=e===""?"/":e;for(let a of this.routes){let r=t.match(a.regex);if(r){let n={};return a.params.forEach((s,o)=>{n[s]=r[o+1]}),{route:a,params:n}}}return null}resolve(e,t){let a=this.routes.find((n)=>n.pattern===e||n.filePath.includes(e));if(!a)return"#not-found";let r=a.pattern;if(t)for(let[n,s]of Object.entries(t))r=r.replace(`:${n}`,encodeURIComponent(s));return r}addRoute(e){this.routes.push(e),this.routes.sort((t,a)=>{if(!t.isDynamic&&a.isDynamic)return-1;if(t.isDynamic&&!a.isDynamic)return 1;return t.pattern.localeCompare(a.pattern)})}getLayout(e){return e.layout??null}}function z(e,t){return new C(e,t)}function $(e,t){let a=[`${t}.stx`,"error.stx"];for(let r of a){let n=h.join(e,r);if(P.existsSync(n))return n}return null}function Y(e,t){return e.map((a)=>{let r=h.relative(t,a.filePath),n=a.isDynamic?" (dynamic)":"";return`${a.pattern} \u2192 ${r}${n}`})}var J=u(()=>{F();M();N();b()});function Z(e){E=e.replace(/\/$/,"")}function Q(e,t,a={}){p[e]={path:t,name:e,params:a}}function ee(e){for(let[t,a]of Object.entries(e))if(typeof a==="string")p[t]={path:a,name:t};else p[t]={...a,name:t}}function te(e,t={},a=!1){let r=p[e];if(!r)return console.warn(`Route [${e}] not defined.`),"#undefined-route";let n={...r.params,...t},s=r.path;s=s.replace(/:(\w+)/g,(i,l)=>{let c=n[l];if(c===void 0)return console.warn(`Missing parameter [${l}] for route [${e}].`),`:${l}`;return delete n[l],encodeURIComponent(String(c))});let o=Object.entries(n);if(o.length>0){let i=o.map(([l,c])=>`${encodeURIComponent(l)}=${encodeURIComponent(String(c))}`).join("&");s+=(s.includes("?")?"&":"?")+i}return a&&E?`${E}${s}`:s}function re(){for(let e of Object.keys(p))delete p[e];E=""}var p,E="";var ae=u(()=>{p={}});import ne from"fs";import oe from"path";function se(e,t={}){return{type:"redirect",path:e,options:{replace:t.replace??!1,external:t.external??!1,redirectCode:t.redirectCode??302}}}function ie(e){return{type:"abort",error:typeof e==="string"?{statusCode:500,message:e}:e}}function le(e,t={}){return{handler:e,mode:t.mode??"universal"}}function B(e){let t={};if(!e)return t;let a=e.split(";");for(let r of a){let[n,...s]=r.split("=");if(n){let o=n.trim(),i=s.join("=").trim();if(o)t[o]=decodeURIComponent(i)}}return t}function T(e,t,a={}){let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;if(a.expires){let n=typeof a.expires==="number"?new Date(Date.now()+a.expires*1000):a.expires;r+=`; Expires=${n.toUTCString()}`}if(a.path)r+=`; Path=${a.path}`;if(a.domain)r+=`; Domain=${a.domain}`;if(a.secure)r+="; Secure";if(a.httpOnly)r+="; HttpOnly";if(a.sameSite)r+=`; SameSite=${a.sameSite}`;return r}function U(e,t){let a=e.headers.get("cookie")||"",r=B(a);return{get(n){return r[n]},set(n,s,o={}){r[n]=s,t.append("Set-Cookie",T(n,s,o))},delete(n){delete r[n],t.append("Set-Cookie",T(n,"",{expires:new Date(0),path:"/"}))},getAll(){return{...r}}}}function G(){return{get(e){if(typeof document>"u")return;return B(document.cookie)[e]},set(e,t,a={}){if(typeof document>"u")return;document.cookie=T(e,t,a)},delete(e){if(typeof document>"u")return;document.cookie=T(e,"",{expires:new Date(0),path:"/"})},getAll(){if(typeof document>"u")return{};return B(document.cookie)}}}function X(){let e=typeof window<"u"&&typeof window.localStorage<"u";return{get(t){if(!e)return null;try{return window.localStorage.getItem(t)}catch{return null}},set(t,a){if(!e)return;try{window.localStorage.setItem(t,a)}catch{}},remove(t){if(!e)return;try{window.localStorage.removeItem(t)}catch{}},isAvailable(){return e}}}function R(e,t){w.set(e,t)}function j(e){return w.get(e)}function ce(e){return w.has(e)}function ue(){w.clear()}function de(){return Array.from(w.keys())}async function he(e,t="middleware"){let a=oe.resolve(e,t);if(!ne.existsSync(a))return;let r=ne.readdirSync(a);for(let n of r){if(!n.endsWith(".ts")&&!n.endsWith(".js"))continue;if(n.includes(".test.")||n.includes(".spec."))continue;let s=n.replace(/\.(ts|js)$/,""),o=oe.join(a,n);try{let l=(await import(o)).default;if(l&&typeof l.handler==="function")R(s,l);else if(typeof l==="function")R(s,{handler:l,mode:"universal"})}catch(i){console.warn(`Failed to load middleware '${s}' from ${o}:`,i)}}}function Se(e){let t={};if(!e)return t;let a=new URLSearchParams(e);for(let[r,n]of a)t[r]=n;return t}function pe(e,t,a,r=""){return{path:e,params:t,query:Se(r),fullPath:r?`${e}?${r}`:e,meta:a}}function fe(e,t,a,r){let n=r?.isServer??typeof window>"u",s=!n,o=new Headers;return{to:e,from:t,isClient:s,isServer:n,cookies:n&&a?U(a,o):G(),storage:X(),state:{},request:a,responseHeaders:o}}async function ge(e,t){let a=Array.isArray(e)?e:[e],r=t.isServer;for(let n of a){let s=j(n);if(!s)return console.error(`Route middleware '${n}' is not registered \u2014 failing the guard closed.`),{passed:!1,abort:{type:"abort",error:{statusCode:500,message:`Route middleware '${n}' is not registered`}},state:t.state,responseHeaders:t.responseHeaders};if(s.mode==="server"&&!r)continue;try{let o=await s.handler(t);if(o){if(o.type==="redirect")return{passed:!1,redirect:o,state:t.state,responseHeaders:t.responseHeaders};if(o.type==="abort")return{passed:!1,abort:o,state:t.state,responseHeaders:t.responseHeaders}}}catch(o){return console.error(`Error in middleware '${n}':`,o),{passed:!1,abort:{type:"abort",error:{statusCode:500,message:o instanceof Error?o.message:"Middleware error"}},state:t.state,responseHeaders:t.responseHeaders}}}return{passed:!0,state:t.state,responseHeaders:t.responseHeaders}}var w;var me=u(()=>{w=new Map});function q(e){let a=e.replace(/\\/g,"/").split("/").filter(Boolean),r=a.lastIndexOf("layouts"),n=r>=0?a[r+1]:a.at(-1);if(!n)return"app";return n.replace(/\.stx$/i,"")||"app"}function ye(e){let t=e.match(/<meta\b[^>]*name=["']stx-layout["'][^>]*content=["']([^"']+)["'][^>]*>/i),a=e.match(/<meta\b[^>]*name=["']stx-layout-group["'][^>]*content=["']([^"']+)["'][^>]*>/i),r=e.match(/<!--\s*stx-layout:\s*([^ ]+)\s*-->/i),n=t?.[1]||r?.[1]||"";return{layout:n,group:a?.[1]||q(n)}}var ve=()=>{};function ke(e){try{return new Bun.Transpiler({loader:"js",minifyWhitespace:!0}).transformSync(e).replace(/\}(var |let |const |function )/g,"};$1").trim()}catch{return e}}function we(){if(L)return L;return L=ke(`
|
|
5
5
|
;(function(){
|
|
6
6
|
'use strict';
|
|
7
7
|
var ROUTER_REV=7;
|
|
@@ -117,6 +117,45 @@ import{Qu as Ae,Ru as u}from"./chunk-0y6f4037.js";function _(e){return e.split(/
|
|
|
117
117
|
delete attrsCache[oldest];
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
+
// Read a prefetch response into the shape setCache stores, or null when this
|
|
121
|
+
// answer must not be cached at all.
|
|
122
|
+
//
|
|
123
|
+
// Both prefetch paths used to assemble this by hand, and both left out
|
|
124
|
+
// X-STX-Container-Attrs (#1947): setCache takes six arguments and they
|
|
125
|
+
// passed five, which JavaScript accepts without a word. The entry was
|
|
126
|
+
// cached with no container attributes, so a link that had been hovered
|
|
127
|
+
// before it was clicked applied '' on the cache hit, and setContainerAttrs
|
|
128
|
+
// stripped the class the previous navigation had put on the routed
|
|
129
|
+
// container. A dashboard lost its max-width, but only on links that
|
|
130
|
+
// happened to be hovered first, and a hard reload always fixed it \u2014 which
|
|
131
|
+
// made it read as a CSS problem.
|
|
132
|
+
//
|
|
133
|
+
// Hand-assembling it twice is what let them drift, so the two guards below
|
|
134
|
+
// live here rather than at the call sites \u2014 the hover path had one of them
|
|
135
|
+
// and the public router.prefetch() had neither:
|
|
136
|
+
//
|
|
137
|
+
// - a redirected body belongs to the URL it came FROM. A guarded route
|
|
138
|
+
// prefetched while logged out answers with /login's markup, and storing
|
|
139
|
+
// that under the guarded key poisons the cache: the later real
|
|
140
|
+
// navigation is a hit, so it swaps the login page in without ever
|
|
141
|
+
// reaching the network, where navigate's own redirect check would have
|
|
142
|
+
// caught it (#1849).
|
|
143
|
+
// - a fragment from a DIFFERENT build must not be handed to this page's
|
|
144
|
+
// runtime (#1772). navigate answers skew by reloading; a prefetch must
|
|
145
|
+
// not, because the user only hovered a link. Declining to cache is the
|
|
146
|
+
// whole fix \u2014 the click then goes to the network, where navigate does
|
|
147
|
+
// the reload properly.
|
|
148
|
+
function readPrefetchResponse(r,wantsFragment){
|
|
149
|
+
if(r.redirected)return Promise.resolve(null);
|
|
150
|
+
if(isBuildSkew(r.headers.get('X-STX-Build')||''))return Promise.resolve(null);
|
|
151
|
+
var isFrag=wantsFragment&&r.headers.get('X-STX-Fragment')==='true';
|
|
152
|
+
var layout=r.headers.get('X-STX-Layout')||'';
|
|
153
|
+
var group=r.headers.get('X-STX-Layout-Group')||'';
|
|
154
|
+
var title=r.headers.get('X-STX-Title')||'';
|
|
155
|
+
var cattrs=r.headers.get('X-STX-Container-Attrs')||'';
|
|
156
|
+
var runtime=r.headers.get('X-STX-Runtime')||'';
|
|
157
|
+
return r.text().then(function(html){return{html:isFrag?fragmentMarker(runtime)+html:html,layout:layout,layoutGroup:group,title:title,containerAttrs:cattrs}});
|
|
158
|
+
}
|
|
120
159
|
// Apply a page title captured from the fragment response's X-STX-Title
|
|
121
160
|
// header (URI-encoded) so SPA swaps keep document.title in sync with the
|
|
122
161
|
// page \u2014 full-document swaps set the title from the <title> tag directly.
|
|
@@ -137,7 +176,14 @@ import{Qu as Ae,Ru as u}from"./chunk-0y6f4037.js";function _(e){return e.split(/
|
|
|
137
176
|
var probe=document.createElement('div');
|
|
138
177
|
probe.innerHTML='<i '+attrStr+'></i>';
|
|
139
178
|
var src=probe.firstChild;
|
|
140
|
-
|
|
179
|
+
// getAttributeNames first: it is the same standard DOM answer and it is
|
|
180
|
+
// what the test DOM implements. Reading .attributes alone made this
|
|
181
|
+
// silently return {} there \u2014 so the whole container-attrs path, header to
|
|
182
|
+
// element, had no test coverage at all while #1947 sat in it.
|
|
183
|
+
if(src&&src.getAttributeNames){
|
|
184
|
+
src.getAttributeNames().forEach(function(n){map[n]=src.getAttribute(n)});
|
|
185
|
+
}
|
|
186
|
+
else if(src&&src.attributes){
|
|
141
187
|
Array.prototype.forEach.call(src.attributes,function(a){map[a.name]=a.value});
|
|
142
188
|
}
|
|
143
189
|
return map;
|
|
@@ -1601,21 +1647,9 @@ else {
|
|
|
1601
1647
|
prefetching[key]=true;
|
|
1602
1648
|
var wantsFragment=shouldUseFragmentResponse();
|
|
1603
1649
|
fetch(href,{headers:wantsFragment?{'X-STX-Router':'true','Accept':'text/html'}:{'Accept':'text/html'}}).then(function(r){
|
|
1604
|
-
|
|
1605
|
-
// prefetched while logged out answers with /login's markup, and
|
|
1606
|
-
// storing it under the guarded key poisons the cache: the later real
|
|
1607
|
-
// navigation is a cache hit, so it swaps the login page in without
|
|
1608
|
-
// ever hitting the network, where the redirect check above would
|
|
1609
|
-
// have caught it (#1849).
|
|
1610
|
-
if(r.redirected)return null;
|
|
1611
|
-
var isFrag=wantsFragment&&r.headers.get('X-STX-Fragment')==='true';
|
|
1612
|
-
var pLayout=r.headers.get('X-STX-Layout')||'';
|
|
1613
|
-
var pGroup=r.headers.get('X-STX-Layout-Group')||'';
|
|
1614
|
-
var pTitle=r.headers.get('X-STX-Title')||'';
|
|
1615
|
-
var pRuntime=r.headers.get('X-STX-Runtime')||'';
|
|
1616
|
-
return r.text().then(function(html){return{html:isFrag?fragmentMarker(pRuntime)+html:html,layout:pLayout,layoutGroup:pGroup,title:pTitle}});
|
|
1650
|
+
return readPrefetchResponse(r,wantsFragment);
|
|
1617
1651
|
}).then(function(result){
|
|
1618
|
-
if(result&&o.cache)setCache(key,result.html,result.layout,result.layoutGroup,result.title);
|
|
1652
|
+
if(result&&o.cache)setCache(key,result.html,result.layout,result.layoutGroup,result.title,result.containerAttrs);
|
|
1619
1653
|
}).catch(function(){}).finally(function(){delete prefetching[key]});
|
|
1620
1654
|
},true);
|
|
1621
1655
|
}
|
|
@@ -1731,7 +1765,7 @@ else {
|
|
|
1731
1765
|
var key=cacheKey(url);
|
|
1732
1766
|
if(!cache[key]){
|
|
1733
1767
|
var wantsFragment=shouldUseFragmentResponse();
|
|
1734
|
-
fetch(url,{headers:wantsFragment?{'X-STX-Router':'true'}:{'Accept':'text/html'}}).then(function(r){
|
|
1768
|
+
fetch(url,{headers:wantsFragment?{'X-STX-Router':'true'}:{'Accept':'text/html'}}).then(function(r){return readPrefetchResponse(r,wantsFragment)}).then(function(result){if(result)setCache(key,result.html,result.layout,result.layoutGroup,result.title,result.containerAttrs)}).catch(function(){});
|
|
1735
1769
|
}
|
|
1736
1770
|
},
|
|
1737
1771
|
// Re-run the CURRENT route against the server and swap the result.
|
|
@@ -1776,5 +1810,5 @@ else {
|
|
|
1776
1810
|
|
|
1777
1811
|
if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',init);else init();
|
|
1778
1812
|
})();
|
|
1779
|
-
`),L}var L;var be=()=>{};var Ce={};Ae(Ce,{setAppUrl:()=>Z,runMiddleware:()=>ge,route:()=>te,resolveLayoutChain:()=>A,resetRoutes:()=>re,registerMiddleware:()=>R,patternToRegex:()=>v,navigateTo:()=>se,matchRoute:()=>
|
|
1780
|
-
export{g as
|
|
1813
|
+
`),L}var L;var be=()=>{};var Ce={};Ae(Ce,{setAppUrl:()=>Z,runMiddleware:()=>ge,route:()=>te,resolveLayoutChain:()=>A,resetRoutes:()=>re,registerMiddleware:()=>R,patternToRegex:()=>v,navigateTo:()=>se,matchRoute:()=>D,loadMiddlewareFromDirectory:()=>he,isNonPageRoutePattern:()=>m,isNonPageRoutePath:()=>_,hasMiddleware:()=>ce,getRouterScript:()=>we,getMiddlewareNames:()=>de,getMiddleware:()=>j,generateRouteTypes:()=>x,generateRouteManifest:()=>S,formatRoutes:()=>Y,findErrorPage:()=>$,filePathToPattern:()=>k,extractLayoutMetadata:()=>ye,deriveLayoutGroup:()=>q,defineRoutes:()=>ee,defineRoute:()=>Q,defineMiddleware:()=>le,createStorageManager:()=>X,createServerCookieManager:()=>U,createRouter:()=>z,createRouteLocation:()=>pe,createMiddlewareContext:()=>fe,createClientCookieManager:()=>G,clearMiddleware:()=>ue,bracketPathToRegex:()=>W,abortNavigation:()=>ie,Router:()=>C,NON_PAGE_DIRS:()=>g});var Ee=u(()=>{J();M();ae();me();N();ve();F();b();be()});
|
|
1814
|
+
export{g as bu,_ as cu,m as du,x as eu,S as fu,k as gu,v as hu,D as iu,W as ju,A as ku,C as lu,z as mu,$ as nu,Y as ou,Z as pu,Q as qu,ee as ru,te as su,re as tu,se as uu,ie as vu,le as wu,U as xu,G as yu,X as zu,R as Au,j as Bu,ce as Cu,ue as Du,de as Eu,he as Fu,pe as Gu,fe as Hu,ge as Iu,q as Ju,ye as Ku,ve as Lu,we as Mu,Ce as Nu,Ee as Ou};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ni as a,oi as b,pi as c,qi as d,ri as e}from"./chunk-9y0g8kzt.js";import"./chunk-
|
|
2
|
+
import{ni as a,oi as b,pi as c,qi as d,ri as e}from"./chunk-9y0g8kzt.js";import"./chunk-f8wjdg40.js";export{a as processAsyncDirectives,c as isAsyncComponent,e as generateAsyncComponentRuntime,d as generateAsyncComponentCSS,b as defineAsyncComponent};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{cs as E}from"./chunk-mbvkvac6.js";import{Yu as D}from"./chunk-f8wjdg40.js";import I from"path";async function M(k={}){let G=performance.now(),J=k.root||process.cwd(),j=await E(),q=j.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${q.toUpperCase()}${j.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let A,B;if(q==="ssg"){let{generateStaticSite:z}=await import("./ssg.js");A=await z({pagesDir:I.join(j.root||".",j.pagesDir||j.build?.pagesDir||"pages"),publicDir:j.publicDir||j.build?.publicDir||"public",outputDir:j.build?.outputDir||"dist",generate404:j.build?.generate404??!0,minify:j.build?.minify??!0,cleanOutput:j.build?.cleanOutput??!0,router:j.router,...k.ssg})}else{let{buildForProduction:z}=await import("./chunk-f3k5xbhk.js");B=await z({outputDir:".output",debug:k.debug,...k.ssr})}let H=Math.round(performance.now()-G);return{mode:q,ssg:A,ssr:B,duration:H}}
|
|
3
3
|
export{M as kg};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$i as v,_i as _,aj as U}from"./chunk-9n0gvfrg.js";import{
|
|
2
|
+
import{$i as v,_i as _,aj as U}from"./chunk-9n0gvfrg.js";import{Nq as T,Ol as C,Pl as N,Rl as E,cs as S}from"./chunk-mbvkvac6.js";import{Nt as y}from"./chunk-sde45gh3.js";import L from"path";var j=new Map,M=new Map,b=["composables","functions"];function K(V){let J=L.basename(V,".ts");return J==="index"||J==="types"||V.endsWith(".d.ts")}async function F(V){if(V)return L.resolve(V);let J=`<default>:${process.cwd()}`,Q=M.get(J);if(Q!==void 0)return Q;let z=await h();if(z!==null)M.set(J,z);return z}async function h(){let V=await S(),J=V.root||process.cwd(),Q=V.composablesDir;if(Q)return L.resolve(J,Q);for(let z of b){let Z=L.resolve(J,z);try{let W=new Bun.Glob("**/*.ts");for await(let Y of W.scan({cwd:Z,absolute:!0}))if(!K(Y))return Z}catch{}}return null}async function s(V){let J=await F(V);if(!J)return[];let Q=[];try{let W=new Bun.Glob("**/*.ts");for await(let Y of W.scan({cwd:J,absolute:!0}))if(!K(Y))Q.push(Y)}catch{return[]}Q.sort();let z=T({loader:"ts",target:"browser",define:E()}),Z=[];for(let W of Q)try{let Y=await Bun.file(W).text(),G=z.scan(Y).exports.filter(($)=>$!=="default");if(G.length>0)Z.push({file:W,names:G})}catch{}return Z}function u(V,J){return new RegExp(`\\b${J.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}\\b`).test(V)}function f(V,J,Q){let z=new Map;for(let{file:G,names:$}of V)for(let O of $)if(!z.has(O))z.set(O,G);let Z=(G)=>{let $=[];for(let[O,P]of z)if(u(G,O))$.push(P);return $},W=new Set,Y=Z(Q);while(Y.length>0){let G=[];for(let $ of Y){if(W.has($))continue;W.add($);for(let O of Z(J.get($)??""))if(!W.has(O))G.push(O)}Y=G}return W}async function i(V,J){let Q=await F(V);if(!Q)return null;let z=[];try{let q=new Bun.Glob("**/*.ts");for await(let H of q.scan({cwd:Q,absolute:!0})){if(K(H))continue;z.push(H)}}catch{return U(j,Q,"",""),null}let Z=_(z);if(z.length===0)return U(j,Q,Z,""),null;z.sort();let W=T({loader:"ts",target:"browser",define:E()}),Y=new Map,G=[];for(let q of z)try{let H=await Bun.file(q).text();Y.set(q,H);let w=W.scan(H).exports.filter((X)=>X!=="default");if(w.length>0)G.push({file:q,names:w})}catch{Y.set(q,"")}let $=J===void 0?new Set(z):f(G,Y,J);if($.size===0)return null;let O=z.filter((q)=>$.has(q)),P=`${Q}\x00${O.join("\x00")}`,B=v(j,P,Z);if(B!==void 0)return B||null;let A=[],R=new Set,I=new Set;for(let q of O)try{let H=Y.get(q)??await Bun.file(q).text(),w=L.basename(q,".ts");for(let X of H.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(X[1])I.add(X[1]);try{for(let X of W.scan(H).exports)if(X!=="default")R.add(X)}catch{}H=C(H),H=N(H),H=H.replace(/^export\s+(default\s+)?/gm,""),H=W.transformSync(H),A.push(`// Composable: ${w}
|
|
3
3
|
${H.trim()}`)}catch(H){console.warn(`[stx] Failed to load composable ${q}:`,H)}if(A.length===0||R.size===0)return U(j,P,Z,""),null;let D=[...R].map((q)=>` try { __c[${JSON.stringify(q)}] = ${q}; } catch (e) {}`).join(`
|
|
4
4
|
`),g=JSON.stringify([...R]),k=A.join(`
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ql as C}from"./chunk-mbvkvac6.js";import{Ks as Y}from"./chunk-f1jd5qjb.js";import{Nt as D}from"./chunk-sde45gh3.js";import u from"path";var S=/<script(\s[^>]*)?>([\s\S]*?)<\/script>/gi;function h(K){let J=(Q)=>Q.replace(/[^\n]/g," ");return K.replace(/<!--[\s\S]*?-->/g,J).replace(/\{\{--[\s\S]*?--\}\}/g,J)}function m(K){let J=[],Q=h(K);S.lastIndex=0;let $;while(($=S.exec(Q))!==null){let j=($[1]||"").trim(),F=($[0].match(/^<script(?:\s[^>]*)?>/i)?.[0]??"<script>").length,z=($[0].match(/<\/script\s*>$/i)?.[0]??"</script>").length,W=$.index+F,Z=$.index+$[0].length-z,G=K.slice(W,Z);if(/\bsrc\s*=/.test(j))continue;let q=j.match(/\btype\s*=\s*["']([^"']+)["']/i);if(q&&!/^(?:module|text\/(?:javascript|typescript))$/i.test(q[1]))continue;let X=/\bserver\b/.test(j)?"server":/\bclient\b/.test(j)?"client":"plain",U=B(K,W);J.push({kind:X,code:G,startLine:U,attrs:j})}return J}function B(K,J){let Q=1;for(let $=0;$<J&&$<K.length;$++)if(K.charCodeAt($)===10)Q++;return Q}function N(K,J){let Q=K.lastIndexOf(`
|
|
3
3
|
`,J-1)+1;return J-Q+1}function g(K){let J=K.split(""),Q=(j,F)=>{for(let z=j;z<F&&z<J.length;z++)if(J[z]!==`
|
|
4
4
|
`)J[z]=" "},$=[/<script(?:\s[^>]*)?>[\s\S]*?<\/script>/gi,/<style(?:\s[^>]*)?>[\s\S]*?<\/style>/gi,/<!--[\s\S]*?-->/g,/\{\{--[\s\S]*?--\}\}/g,/@verbatim\b[\s\S]*?@endverbatim\b/g];for(let j of $){j.lastIndex=0;let F;while((F=j.exec(K))!==null)Q(F.index,F.index+F[0].length)}return J.join("")}function p(K){let J=0,Q="";for(let $=0;$<K.length;$++){let j=K[$];if(Q){if(j==="\\"){$++;continue}if(j===Q)Q="";continue}if(j==='"'||j==="'"||j==="`"){Q=j;continue}if(j==="("||j==="["||j==="{"){J++;continue}if(j===")"||j==="]"||j==="}"){J--;continue}if(j==="|"&&J===0){if(K[$+1]==="|"){$++;continue}if(K[$-1]==="|")continue;return K.slice(0,$)}}return K}var R=new Set([":for","x-for","v-for"]),w=/(?:^|\s)((?::|x-|v-|@)[\w.:-]+)\s*=\s*(["'])([\s\S]*?)\2/g,O="__stx_interpolated",y="__StxElement",f="__StxTemplateValue",l=`type ${f}<T> = T extends { readonly _isSignal: true } | { readonly _isDerived: true } ? (T extends () => infer V ? T & V : T) : T`;function L(K){return K.replace(/\{\{[\s\S]*?\}\}/g,O).replace(/\{!![\s\S]*?!!\}/g,O)}function Vj(K){return K.replace(/\{\{[\s\S]*?\}\}|\{!![\s\S]*?!!\}/g,(J)=>{let Q=J.split(`
|
|
5
5
|
`).length-1,$=J.length-Q;return`0${" ".repeat(Math.max(0,$-1))}${`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Ks as _}from"./chunk-f1jd5qjb.js";import"./chunk-f8wjdg40.js";function W(j,G,H=240){return j.slice(G,G+H)}var v=[{rule:"route-params",pattern:/\blocation\s*\.\s*pathname\s*\.\s*(?:match|split)\s*\(/g,primitive:"useRoute() / useRouteParams() / useRouteParam(name)",why:"parsing the URL by hand re-implements the router and does not update on SPA navigation"},{rule:"alert",pattern:/(?<![.#\w$])(?:(?:window|globalThis)\s*\.\s*)?alert\s*\(/g,primitive:"stxAlert(message)",why:"themed, focus-trapped and non-blocking \u2014 but `await` it if the code after it "+"depended on the native dialog blocking until dismissal",reject:(j)=>/\b(?:async\s+)?function\s+alert\s*\(/.test(j)||/\b(?:const|let|var)\s+alert\s*=/.test(j)},{rule:"search-params",pattern:/new\s+URLSearchParams\s*\(/g,primitive:"useSearchParams()",why:"reactive, and writes back through the router instead of history.replaceState",reject:(j,G)=>{let H=j.indexOf("(",G);if(H===-1)return!0;let Q=j.slice(H+1,j.indexOf(")",H)+1);return!/\b(?:location|search|href|url)\b/i.test(Q)}},{rule:"navigate",pattern:/\blocation\s*\.\s*(?:assign|replace)\s*\(|\blocation\s*\.\s*href\s*=/g,primitive:"navigate(path) / goBack()",why:"a full document load throws away every store and the scroll position; navigate() is an SPA transition",reject:(j,G)=>/^[^\n]*?(?:['"`]\s*)?(?:mailto:|tel:|sms:|https?:\/\/|\/\/)/.test(W(j,G,160))},{rule:"fetch",pattern:/new\s+AbortController\s*\(/g,primitive:"useFetch(url) / useAsyncData(key, fn)",why:"cancellation, loading and error state are already wired; hand-rolling them is where the races live"},{rule:"polling",pattern:/setInterval\s*\(/g,primitive:"useEventSource() / useSSE() / useWebSocket() / useChannel()",why:"polling burns requests and lags; the push primitives are delivered",reject:(j,G)=>!/\bfetch\s*\(|\$fetch\b|useFetch\b|\.get\s*\(|axios\b/.test(W(j,G))},{rule:"debounce",pattern:/\bclearTimeout\s*\(/g,primitive:"useDebounce(fn, ms) / useThrottle(fn, ms)",why:"a hand-held timer handle per call site is the usual source of stale-result bugs",requires:(j)=>/setTimeout\s*\(/.test(j)},{rule:"click-outside",pattern:/document\s*\.\s*addEventListener\s*\(\s*['"](?:click|mousedown|pointerdown)['"]/g,primitive:"useClickOutside(ref, fn)",why:"the document-level listener plus the blur race is exactly what this composable exists to remove"},{rule:"focus",pattern:/\.\s*(?:getElementById|querySelector)\s*\([^)]*\)\s*(?:\?\.)?\s*\.?focus\s*\(/g,primitive:"useFocus(ref) with x-ref",why:"a query by id breaks under nested scopes and SPA navigation; a ref does not"},{rule:"clipboard",pattern:/navigator\s*\.\s*(?:clipboard|share)\b/g,primitive:"useClipboard() / useShare()",why:"permission state, the copied flag and the unsupported-browser fallback are already handled"},{rule:"watch",pattern:/\beffect\s*\(\s*\(\s*\)\s*=>\s*\{[^}]*\bvoid\s+\w+\s*\(\s*\)/g,primitive:"watch(source, cb) / watchMultiple([...], cb)",why:"the `void a(); void b()` dance is a manual dependency list; watch takes one directly"}],U=["confirm","tooltip",...v.map((j)=>j.rule)];function N(j,G){let H=1;for(let Q=0;Q<G;Q++)if(j[Q]===`
|
|
3
3
|
`)H++;return H}function P(j,G){let H=j.lastIndexOf(`
|
|
4
4
|
`,G)+1,Q=j.indexOf(`
|
|
5
5
|
`,G);return j.slice(H,Q===-1?j.length:Q).trim().slice(0,120)}function q(j,G){let H=j.slice(0,G),Q=H.lastIndexOf("function"),X=H.lastIndexOf("=>"),M=Math.max(Q,X);if(M===-1)return!1;let z=j.slice(Math.max(0,M-120),M);return/\basync\b[^;{}]*$/.test(z)}function L(j){return/\b(?:async\s+)?function\s+confirm\s*\(/.test(j)||/\b(?:const|let|var)\s+confirm\s*=/.test(j)||/\bimport\s*\{[^}]*\bconfirm\b[^}]*\}/.test(j)}function O(j,G,H){if(L(j))return j;let Q=/(^|[^\w$.])(?:(?:window|globalThis)\s*\.\s*)?confirm\s*\(/g,X=F(j),M="",z=0,Y;while((Y=Q.exec(X))!==null){let Z=Y.index+Y[1].length,$=N(j,Z),J=P(j,Z);if(/stxConfirm\s*\($/.test(j.slice(0,Z+8)))continue;let D=q(j,Z);if(H.push({file:G,line:$,rule:"confirm",applied:D,snippet:J,reason:D?void 0:"stxConfirm() returns a Promise and native confirm() is synchronous, so this needs `await` inside an async function. Rewriting it here would make the condition always true."}),D)M+=j.slice(z,Z)+"await stxConfirm(",z=Z+(Y[0].length-Y[1].length)}return M+j.slice(z)}function w(j,G,H){let Q=/(<[a-z][\w-]*\b[^>]*?)\stitle=(["'])(.*?)\2/gis,X=C(j),M="",z=0,Y;while((Y=Q.exec(X))!==null){let[Z,$,J,D]=Y,K=N(j,Y.index),B=P(j,Y.index),V=$.match(/^<([A-Za-z][\w-]*)/)?.[1]??"";if(/^[A-Z]/.test(V)){H.push({file:G,line:K,rule:"tooltip",applied:!1,snippet:B,reason:`\`title\` on <${V}> is a component prop, not an HTML attribute \u2014 `+"adding x-tooltip here would put a tooltip on a component and may duplicate text it already renders."});continue}if(/\bx-tooltip[=\s]/.test($)||D.trim()===""){H.push({file:G,line:K,rule:"tooltip",applied:!1,snippet:B,reason:/\bx-tooltip[=\s]/.test($)?"already has x-tooltip":"empty title"});continue}H.push({file:G,line:K,rule:"tooltip",applied:!0,snippet:B}),M+=j.slice(z,Y.index)+`${$} x-tooltip=${J}${D}${J} title=${J}${D}${J}`,z=Y.index+Z.length}return M+j.slice(z)}function C(j){return j.replace(/<!--[\s\S]*?-->/g,(G)=>G.replace(/[^\n]/g," ")).replace(/\{\{--[\s\S]*?--\}\}/g,(G)=>G.replace(/[^\n]/g," "))}function E(j){let G=(H)=>H.replace(/[^\n]/g," ");return j.replace(/\/\*[\s\S]*?\*\//g,G).replace(/\/\/[^\n]*/g,G)}function F(j,G=!1){let H=C(j);return(G?E(H):_(H)).replace(/<script\b([^>]*)>([\s\S]*?)<\/script\s*>/gi,(X,M)=>/\bclient\b/i.test(M)?X:X.replace(/[^\n]/g," "))}function S(j,G,H,Q){let X=F(j),M=F(j,!0);for(let z of v){if(!H.includes(z.rule))continue;if(z.requires&&!z.requires(j))continue;z.pattern.lastIndex=0;let Y,Z=/['"]/.test(z.pattern.source)?M:X;z.pattern.lastIndex=0;while((Y=z.pattern.exec(Z))!==null){if(z.reject?.(j,Y.index))continue;Q.push({file:G,line:N(j,Y.index),rule:z.rule,applied:!1,snippet:P(j,Y.index),reason:`${z.primitive} \u2014 ${z.why}`})}}}function k(j,G={}){let H=G.rules??U,Q=G.file??"<source>",X=[];S(j,Q,H,X);let M=j;if(H.includes("confirm"))M=O(M,Q,X);if(H.includes("tooltip"))M=w(M,Q,X);X.sort((Z,$)=>Z.line-$.line);let z=new Set,Y=X.filter((Z)=>{let $=`${Z.rule}:${Z.line}`;if(z.has($))return!1;return z.add($),!0});return{code:M,findings:Y}}var I=new Set(["confirm","tooltip"]);function A(j,G){if(j.length===0)return"No hand-rolled equivalents found.";let H=j.filter((z)=>z.applied),Q=j.filter((z)=>!z.applied&&I.has(z.rule)),X=j.filter((z)=>!z.applied&&!I.has(z.rule)),M=[];if(H.length>0){M.push(G?`Rewrote ${H.length} site(s):`:`Would rewrite ${H.length} site(s) (pass --fix):`);for(let z of H)M.push(` ${z.file}:${z.line} [${z.rule}] ${z.snippet}`)}if(Q.length>0){M.push("",`Needs a human \u2014 ${Q.length} site(s):`);for(let z of Q)M.push(` ${z.file}:${z.line} [${z.rule}] ${z.snippet}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{ej as a,fj as b,gj as c,hj as d,ij as e,jj as f,kj as g,lj as h,mj as i,nj as j,oj as k,pj as l,qj as m,rj as n}from"./chunk-
|
|
2
|
+
import{ej as a,fj as b,gj as c,hj as d,ij as e,jj as f,kj as g,lj as h,mj as i,nj as j,oj as k,pj as l,qj as m,rj as n}from"./chunk-fn9yw31x.js";import"./chunk-mbvkvac6.js";import"./chunk-0athjw48.js";import"./chunk-135mme4g.js";import"./chunk-f3m0q482.js";import"./chunk-f1jd5qjb.js";import"./chunk-jb7h4qgh.js";import"./chunk-jnbhyzkv.js";import"./chunk-bby4emay.js";import"./chunk-52wr95ps.js";import"./chunk-j24k071e.js";import"./chunk-sde45gh3.js";import"./chunk-5wkwhjjn.js";import"./chunk-krgth3gf.js";import"./chunk-f8wjdg40.js";export{i as streamingSuspenseDirective,m as streamToResponse,g as streamTemplateSimple,a as streamTemplate,d as renderStreamingPage,k as registerStreamingDirectives,e as processStreamDirectives,l as processSectionDirectives,j as islandDirective,n as generateHydrationRuntime,f as extractStreamBoundaries,h as createStreamRenderer,b as buildSuspenseResolveScript,c as SUSPENSE_RESOLVER_RUNTIME};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{pp as a,qp as b,rp as c,sp as d,tp as e,up as f,vp as g,wp as h,xp as i,yp as j}from"./chunk-mbvkvac6.js";import"./chunk-0athjw48.js";import"./chunk-135mme4g.js";import"./chunk-f3m0q482.js";import"./chunk-f1jd5qjb.js";import"./chunk-jb7h4qgh.js";import"./chunk-jnbhyzkv.js";import"./chunk-bby4emay.js";import"./chunk-52wr95ps.js";import"./chunk-j24k071e.js";import"./chunk-sde45gh3.js";import"./chunk-5wkwhjjn.js";import"./chunk-krgth3gf.js";import"./chunk-f8wjdg40.js";export{b as stripTypeScript,h as splitDeclaration,c as isModuleResolutionFailure,d as isMissingBindingFailure,f as isCompleteImport,j as hasVariables,e as extractVariables,i as extractScriptFromTemplate,g as convertToCommonJS,a as STX_ENGINE_BINDING_NAMES};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{$i as W,_i as G,aj as Z}from"./chunk-9n0gvfrg.js";import{$k as M,gl as U,il as T}from"./chunk-c1r9q5pk.js";import{Nq as w,Ol as B,Pl as E,Rl as L,cs as k}from"./chunk-mbvkvac6.js";import{Nt as j}from"./chunk-sde45gh3.js";import $ from"path";var Y=new Map;function I(Q,z){for(let J of Q.matchAll(/\b(?:const|let|var|function|class)\s+([A-Z_a-z$][\w$]*)/g))if(J[1])z.add(J[1]);for(let J of Q.matchAll(/\b(?:const|let|var)\s*\{([^{}]*)\}\s*=/g))for(let H of(J[1]??"").split(",")){let K=((H.includes(":")?H.split(":").pop():H)??"").replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(K))z.add(K)}for(let J of Q.matchAll(/\b(?:const|let|var)\s*\[([^\]]*)\]\s*=/g))for(let H of(J[1]??"").split(",")){let V=H.replace(/=.*$/s,"").replace(/^\s*\.\.\./,"").trim();if(/^[A-Z_a-z$][\w$]*$/.test(V))z.add(V)}}async function h(Q){let z;if(Q)z=$.resolve(Q);else{let q=await k();z=$.resolve(q.root||process.cwd(),q.storesDir||"stores")}let J=new Bun.Glob("*.ts"),H=[];try{for await(let q of J.scan({cwd:z,absolute:!0})){let y=$.basename(q,".ts");if(["index","types"].includes(y))continue;if(q.includes(".d.ts"))continue;H.push(q)}}catch{return Z(Y,z,"",""),null}let V=()=>[...new Set([...H,...H.flatMap((q)=>M(q))])],K=G(V()),O=W(Y,z,K);if(O!==void 0)return O||null;if(H.length===0)return Z(Y,z,K,""),null;let x=[];for(let q of H){let y=await Bun.file(q).text();x.push({file:q,hasUseStore:/useStore\s*\(/.test(y)})}x.sort((q,y)=>{if(q.hasUseStore===y.hasUseStore)return 0;return q.hasUseStore?1:-1});let C=x.map((q)=>q.file),A=[],P=new Set,N=w({loader:"ts",target:"browser",define:L()});for(let q of C)try{let y=await Bun.file(q).text(),F=$.basename(q,".ts");if(I(y,P),U(y))y=await T(y,q,{projectRoot:process.cwd()});y=B(y),y=E(y),y=y.replace(/^export\s+(default\s+)?/gm,""),y=N.transformSync(y),A.push(`// Store: ${F}
|
|
3
|
+
${y.trim()}`)}catch(y){console.warn(`[stx] Failed to load store ${q}:`,y)}if(A.length===0)return Z(Y,z,K,""),null;let R=A.join(`
|
|
4
|
+
|
|
5
|
+
`),X=`;(function(){
|
|
6
|
+
var __stx = window.stx || {};
|
|
7
|
+
${j.filter((q)=>!P.has(q)&&new RegExp(`\\b${q}\\b`).test(R)).map((q)=>`var ${q} = __stx[${JSON.stringify(q)}];`).join(`
|
|
8
|
+
`)}
|
|
9
|
+
${R}
|
|
10
|
+
})();`;return K=G(V()),Z(Y,z,K,X),X}function p(){Y.clear()}
|
|
11
|
+
export{h as Vi,p as Wi};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$h as P,Th as x,Yh as M,Zh as C,_h as v}from"./chunk-74cv4ta1.js";import{
|
|
2
|
+
import{$h as P,Th as x,Yh as M,Zh as C,_h as v}from"./chunk-74cv4ta1.js";import{Yu as y}from"./chunk-f8wjdg40.js";import{resolve as h,basename as f,extname as u,join as m}from"path";import{mkdir as l}from"fs/promises";var I={enabled:!0,directory:".stx/media-cache",maxAge:30,maxSize:500,cacheVariants:!0,cachePlaceholders:!0};class z{config;constructor(J={}){this.config={...I,...J}}async get(J,Z){return C(J,Z,"image",this.config)}async set(J,Z,Y){return v(J,Z,Y,"image",this.config)}async clear(){return P("image",this.config)}updateConfig(J){this.config={...this.config,...J}}}var H=null;function S(J){if(!H)H=new z(J);else if(J)H.updateConfig(J);return H}async function w(J,Z,Y){let K=Y?{directory:`${Y.outputDir}/../.cache`}:{};return S(K).get(J,Z)}async function Q(J,Z,Y,K){let X=K?{directory:`${K.outputDir}/../.cache`}:{};return S(X).set(J,Z,Y)}async function d(){return S().clear()}async function R(){try{return await import("ts-images")}catch{return null}}function b(J){switch(J){case"quality":return{jpeg:{quality:90,mozjpeg:!0,progressive:!0},png:{compressionLevel:6,palette:!1},webp:{quality:90,effort:6,smartSubsample:!0},avif:{quality:85,effort:6}};case"performance":return{jpeg:{quality:70,mozjpeg:!0,progressive:!0},png:{compressionLevel:9,palette:!0},webp:{quality:70,effort:4,smartSubsample:!0},avif:{quality:60,effort:2}};case"web":default:return{jpeg:{quality:82,mozjpeg:!0,progressive:!0},png:{compressionLevel:8,palette:!1},webp:{quality:82,effort:5,smartSubsample:!0},avif:{quality:75,effort:4}}}}function p(J,Z){let Y=Z?b(Z):b("web"),K=J.formatQuality||{};return{jpeg:{...Y.jpeg,...K.jpeg},png:{...Y.png,...K.png},webp:{...Y.webp,...K.webp},avif:{...Y.avif,...K.avif}}}async function g(J,Z,Y){let K=await R();if(!K)return console.warn("[stx-media] ts-images not installed, skipping optimization"),{src:J,processed:!1};let X=await w(J,Z,Y);if(X)return X;try{let N=h(J);if(!await M(N))return{src:J,processed:!1,errors:[`Source file not found: ${J}`]};let L=p(Y,Z.preset),V=Y.outputDir||"dist/images",F=Y.baseUrl||"/images";await l(V,{recursive:!0});let q=await x(N),U=f(J,u(J)),E=Z.outputFormat?[Z.outputFormat]:Y.defaultFormats||["avif","webp","jpeg"],G={src:J,processed:!0,variants:[],hash:q},j=null;if(Z.transformations&&Z.transformations.length>0)j=await D(N,Z.transformations,K);for(let $ of E){let A=L[$]||{},W=`${U}-${q}.${$}`,_=m(V,W);try{let O=await K.optimizeImage({input:j||N,output:_,format:$,quality:A.quality,progressive:A.progressive});if(O){if(G.variants.push({path:_,url:`${F}/${W}`,width:O.width||0,height:O.height||0,format:$,size:O.outputSize||0}),!G.originalWidth&&O.width)G.originalWidth=O.width,G.originalHeight=O.height}}catch(O){G.errors=G.errors||[],G.errors.push(`Failed to optimize ${$}: ${O}`)}}if(Z.embedThumbhash||Z.placeholder==="thumbhash")try{let $=await K.generateThumbHash(N);G.placeholder=$.dataUrl}catch($){G.errors=G.errors||[],G.errors.push(`Failed to generate thumbhash: ${$}`)}if(Z.useDominantColor)try{let $=await K.generatePlaceholder(N,{strategy:"dominant-color"});G.dominantColor=$.dominantColor}catch($){G.errors=G.errors||[],G.errors.push(`Failed to extract dominant color: ${$}`)}return await Q(J,Z,G,Y),G}catch(N){return{src:J,processed:!1,errors:[`Processing failed: ${N}`]}}}async function n(J,Z,Y,K){let X=await R();if(!X)return{success:!1,error:"ts-images not installed"};try{return{success:!0,size:(await X.optimizeImage({input:J,output:K,format:Z,quality:Y}))?.outputSize}}catch(N){return{success:!1,error:String(N)}}}async function D(J,Z,Y){let K=Y||await R();if(!K)return console.warn("[stx-media] ts-images not installed, skipping transformations"),null;try{let X=await K.decode(J);for(let N of Z){let L=N.options||{};switch(N.type){case"resize":if(L.width||L.height)X=await K.resize(X,{width:L.width,height:L.height,fit:L.fit});break;case"blur":if(L.sigma!==void 0)X=await K.blur(X,L.sigma);break;case"sharpen":if(L.amount!==void 0)X=await K.sharpen(X,L.amount);break;case"grayscale":X=await K.grayscale(X);break;case"rotate":if(L.angle!==void 0)X=await K.rotate(X,L.angle);break;case"flip":X=await K.flip(X);break;case"flop":X=await K.flop(X);break;case"brightness":if(L.value!==void 0)X=await K.brightness(X,L.value);break;case"contrast":if(L.value!==void 0)X=await K.contrast(X,L.value);break;case"saturation":if(L.value!==void 0)X=await K.saturation(X,L.value);break}}return await K.encode(X,"png")}catch(X){return console.error(`[stx-media] Transformation failed: ${X}`),null}}import{resolve as c,basename as i,extname as r,join as o}from"path";import{mkdir as a}from"fs/promises";async function e(){try{return await import("ts-images")}catch{return null}}var s=[320,480,640,768,1024,1280,1536,1920];async function t(J,Z,Y){let K=await e();if(!K)return console.warn("[stx-media] ts-images not installed, skipping responsive generation"),null;let X=c(J);if(!await M(X))return console.warn(`[stx-media] Source file not found: ${J}`),null;try{let N=Z.responsiveWidths||Y.breakpoints||s,L=Z.formats||Y.defaultFormats||["avif","webp","jpeg"],V=Y.outputDir||"dist/images",F=Y.baseUrl||"/images";await a(V,{recursive:!0});let q=await x(X),U=i(J,r(J)),E=Y.formatQuality||{jpeg:{quality:82},png:{quality:80},webp:{quality:82},avif:{quality:75}},G={src:J,byFormat:{},srcsets:{}};for(let $ of L){G.byFormat[$]=[];let A=[];for(let W of N){let _=`${U}-${W}w-${q}.${$}`,O=o(V,_),B=`${F}/${_}`;try{let T=E[$]?.quality||80;if(await M(O)){G.byFormat[$].push({path:O,url:B,width:W,height:0,format:$,size:0}),A.push(`${B} ${W}w`);continue}let k=await K.processImage({input:X,output:O,format:$,quality:T,resize:{width:W}});if(k)G.byFormat[$].push({path:O,url:B,width:W,height:k.height||Math.round(W*(k.height||1)/(k.width||1)),format:$,size:k.outputSize||0}),A.push(`${B} ${W}w`)}catch(T){console.warn(`[stx-media] Failed to generate ${$} at ${W}w: ${T}`)}}G.srcsets[$]=A.join(", ")}let j=Z.placeholder||Y.placeholderStrategy||"thumbhash";if(j!=="none")try{if(j==="thumbhash"){let $=await K.generateThumbHash(X);G.placeholder={dataURL:$.dataUrl,width:$.width||32,height:$.height||32,strategy:"thumbhash"}}else{let $=await K.generatePlaceholder(X,{strategy:j,width:20});G.placeholder={dataURL:$.dataURL,width:$.width,height:$.height,strategy:j}}}catch($){console.warn(`[stx-media] Failed to generate placeholder: ${$}`)}return G.sizes=Z.sizes||JJ(N),G}catch(N){return console.error(`[stx-media] Responsive generation failed: ${N}`),null}}function JJ(J){let Z=[...J].sort((K,X)=>K-X),Y=[];for(let K=0;K<Z.length-1;K++){let X=Z[K];Y.push(`(max-width: ${X}px) ${X}px`)}return Y.push(`${Z[Z.length-1]}px`),Y.join(", ")}function KJ(J,Z="width"){if(!J||J.length===0)return"";if(Z==="dpr")return J.filter((Y)=>Y.dpr).map((Y)=>`${Y.url} ${Y.dpr}x`).join(", ");return J.map((Y)=>`${Y.url} ${Y.width}w`).join(", ")}export{z as Kh,w as Lh,Q as Mh,d as Nh,g as Oh,n as Ph,D as Qh,t as Rh,KJ as Sh};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{Yu as v}from"./chunk-f8wjdg40.js";function _4(){if(typeof Notification<"u"&&Notification.permission==="granted")return!0;return!1}function zZ(){return typeof window<"u"&&typeof document<"u"}async function N4(){if(typeof Notification>"u")return!1;if(Notification.permission==="granted")return!0;if(Notification.permission==="denied")return!1;return await Notification.requestPermission()==="granted"}var y=new Map;function E4(){return`alert-${Date.now()}-${Math.random().toString(36).substring(2,9)}`}function A4(Z){switch(Z){case"info":return"ℹ";case"success":return"✔";case"warning":return"⚠";case"error":return"✖";default:return"ℹ"}}function k4(Z="top-right"){if(!zZ())throw Error("Toast container requires browser environment");try{let $=document.querySelector(`.stx-toast-container[data-position="${Z}"]`);if($)return $}catch{}let Y=document.createElement("div");Y.className=`stx-toast-container ${Z}`,Y.dataset.position=Z;try{if(document.body)document.body.appendChild(Y)}catch{}return Y}function H4(Z){let{options:Y}=Z,$=A4(Y.type),J=Y.type||"info",G=Y.duration!==0;return`
|
|
3
3
|
<div class="stx-toast ${J}" data-alert-id="${Z.id}" role="alert" aria-live="polite">
|
|
4
4
|
<div class="stx-toast-icon">${$}</div>
|
|
5
5
|
<div class="stx-toast-content">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-f8wjdg40.js";function F(){return`<script data-stx-scoped data-stx-x-element-runtime data-stx-run="always">
|
|
3
3
|
(function() {
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{si as a,ti as b,ui as c,vi as d,wi as e,xi as f,yi as g}from"./chunk-t6nseeb9.js";import"./chunk-
|
|
2
|
+
import{si as a,ti as b,ui as c,vi as d,wi as e,xi as f,yi as g}from"./chunk-t6nseeb9.js";import"./chunk-f8wjdg40.js";export{c as shouldCacheComponent,a as processKeepAliveDirectives,g as onDeactivated,f as onActivated,e as generateKeepAliveRuntime,d as generateKeepAliveCSS,b as createKeepAliveCache};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{$k as a,al as b,bl as c,cl as d,dl as e,el as f,fl as g,gl as h,hl as i,il as j}from"./chunk-c1r9q5pk.js";import"./chunk-mbvkvac6.js";import"./chunk-0athjw48.js";import"./chunk-135mme4g.js";import"./chunk-f3m0q482.js";import"./chunk-f1jd5qjb.js";import"./chunk-jb7h4qgh.js";import"./chunk-jnbhyzkv.js";import"./chunk-bby4emay.js";import"./chunk-52wr95ps.js";import"./chunk-j24k071e.js";import"./chunk-sde45gh3.js";import"./chunk-5wkwhjjn.js";import"./chunk-krgth3gf.js";import"./chunk-f8wjdg40.js";export{b as shouldLogBundlerDiagnostics,f as setBundlerFallbackMode,g as resolveBundlerFallback,c as recordBundleFailure,i as queueClientBundleBuild,h as hasUserImports,d as getBundleFailures,a as clientBundleDependencies,e as clearBundleFailures,j as bundleClientScript};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$h as n,Th as x,Yh as B,Zh as c,_h as u}from"./chunk-74cv4ta1.js";import{
|
|
2
|
+
import{$h as n,Th as x,Yh as B,Zh as c,_h as u}from"./chunk-74cv4ta1.js";import{Yu as v}from"./chunk-f8wjdg40.js";import{resolve as JJ,basename as WJ,extname as _J,join as LJ}from"path";import{mkdir as QJ}from"fs/promises";var ZJ={enabled:!0,directory:".stx/media-cache",maxAge:30,maxSize:2000,cacheTranscoded:!0,cacheThumbnails:!0,cacheManifests:!0};class V{config;constructor(K={}){this.config={...ZJ,...K}}async get(K,J){return c(K,J,"video",this.config)}async set(K,J,X){return u(K,J,X,"video",this.config)}async clear(){return n("video",this.config)}updateConfig(K){this.config={...this.config,...K}}}var S=null;function D(K){if(!S)S=new V(K);else if(K)S.updateConfig(K);return S}async function q(K,J,X){let N=X?{directory:`${X.outputDir}/../.cache`}:{};return D(N).get(K,J)}async function b(K,J,X,N){let Z=N?{directory:`${N.outputDir}/../.cache`}:{};return D(Z).set(K,J,X)}async function $J(){return D().clear()}import{resolve as y,basename as P,extname as f,join as U}from"path";import{mkdir as g}from"fs/promises";async function m(){try{return await import("ts-videos")}catch{return null}}async function h(K,J,X,N){let Z=await m();if(!Z)return console.warn("[stx-media] ts-videos not installed, cannot generate poster"),null;try{let $=y(K);if(!await B($))return null;await g(X,{recursive:!0});let Y=await x($),z=P(K,f(K)),G=J.format||"webp",M=J.timestamp||0,E=`${z}-poster-${Y}.${G}`,W=U(X,E),Q=await Z.extractThumbnails($,{timestamps:[M],width:J.width||1280,height:J.height,format:G,quality:J.quality||85,outputDir:X,outputPattern:E.replace(`.${G}`,"")});if(Q&&Q.length>0){let _=Q[0];return{path:W,url:`${N}/${E}`,width:_.width||J.width||1280,height:_.height||720,timestamp:M,size:_.size||0}}return null}catch($){return console.warn(`[stx-media] Failed to generate poster: ${$}`),null}}async function d(K,J,X,N){let Z=await m();if(!Z)return[];try{let $=y(K);if(!await B($))return[];await g(X,{recursive:!0});let Y=await x($),z=P(K,f(K)),G=J.format||"webp",W=(await new Z.Input($).getInfo()).duration||60,Q=J.count||10,_=J.interval||W/Q,O=[];for(let w=0;w<Q&&w*_<W;w++)O.push(w*_);let L=await Z.extractThumbnails($,{timestamps:O,width:J.width||320,format:G,quality:J.quality||80,outputDir:X,outputPattern:`${z}-thumb-${Y}`});if(L&&L.length>0)return L.map((w,j)=>({path:w.path||U(X,`${z}-thumb-${Y}-${j}.${G}`),url:`${N}/${z}-thumb-${Y}-${j}.${G}`,width:w.width||J.width||320,height:w.height||180,timestamp:O[j],size:w.size||0}));return[]}catch($){return console.warn(`[stx-media] Failed to generate thumbnails: ${$}`),[]}}async function zJ(K,J,X,N){let Z=await m();if(!Z)return console.warn("[stx-media] ts-videos not installed, cannot generate sprite sheet"),null;try{let $=y(K);if(!await B($))return null;await g(X,{recursive:!0});let Y=await x($),z=P(K,f(K)),E=(await new Z.Input($).getInfo()).duration||60,W=J.columns||10,Q=J.interval||5,_=J.thumbnailWidth||160,O=J.thumbnailHeight||90,L=J.format||"jpeg",w=Math.ceil(E/Q),j=Math.ceil(w/W),F=`${z}-sprite-${Y}.${L}`,k=U(X,F),T=[];for(let I=0;I<w;I++)T.push(I*Q);let A=await Z.extractThumbnails($,{timestamps:T,width:_,height:O,format:L,quality:J.quality||70,outputDir:U(X,".temp")});if(!A||A.length===0)return null;try{let I=await import("ts-images"),H=W*_,kJ=j*O,jJ=await I.createSprite({images:A.map((YJ)=>YJ.path),columns:W,padding:0,outputPath:k,format:L,quality:J.quality||70});return{url:`${N}/${F}`,path:k,columns:W,rows:j,thumbnailWidth:_,thumbnailHeight:O,interval:Q,totalFrames:w}}catch{return console.warn("[stx-media] ts-images not installed, sprite sheet generation skipped"),null}}catch($){return console.warn(`[stx-media] Failed to generate sprite sheet: ${$}`),null}}import{resolve as r,basename as e,extname as i,join as C}from"path";import{mkdir as R,writeFile as o}from"fs/promises";async function t(){try{return await import("ts-videos")}catch{return null}}var s=[{label:"1080p",width:1920,height:1080,bitrate:5000000,audioBitrate:192000},{label:"720p",width:1280,height:720,bitrate:2500000,audioBitrate:128000},{label:"480p",width:854,height:480,bitrate:1e6,audioBitrate:96000},{label:"360p",width:640,height:360,bitrate:600000,audioBitrate:64000}];async function p(K,J,X,N,Z){let $=await t();if(!$)return console.warn("[stx-media] ts-videos not installed, cannot generate HLS manifest"),null;try{let Y=r(K);if(!await B(Y))return null;let z=await x(Y),G=e(K,i(K)),M=C(X,`${G}-${z}-hls`);await R(M,{recursive:!0});let E=J.length>0?J:s,W=Z?.segmentDuration||6,O=(await new $.Input(Y).getInfo()).duration||0,L=[],w=0;for(let k of E){let T=C(M,k.label);await R(T,{recursive:!0});let A=`${k.label}.m3u8`,I=C(T,A);try{let H=await $.generateHLS(Y,{outputDir:T,segmentDuration:W,width:k.width,height:k.height,videoBitrate:k.bitrate,audioBitrate:k.audioBitrate,playlistName:k.label});if(H)L.push({quality:k,url:`${N}/${G}-${z}-hls/${k.label}/${A}`,path:I}),w+=H.segmentCount||Math.ceil(O/W)}catch(H){console.warn(`[stx-media] Failed to generate HLS for ${k.label}: ${H}`)}}if(L.length===0)return null;let j=C(M,"master.m3u8"),F=GJ(L,N,G,z);return await o(j,F),{manifestUrl:`${N}/${G}-${z}-hls/master.m3u8`,manifestPath:j,playlists:L,segmentCount:w,duration:O}}catch(Y){return console.warn(`[stx-media] Failed to generate HLS manifest: ${Y}`),null}}function GJ(K,J,X,N){let Z=["#EXTM3U","#EXT-X-VERSION:3"];for(let $ of K){let{quality:Y}=$,z=Y.bitrate+(Y.audioBitrate||128000),G=`${Y.width}x${Y.height||Math.round(Y.width*9/16)}`;Z.push(`#EXT-X-STREAM-INF:BANDWIDTH=${z},RESOLUTION=${G},NAME="${Y.label}"`,`${Y.label}/${Y.label}.m3u8`)}return Z.join(`
|
|
3
3
|
`)}async function l(K,J,X,N,Z){let $=await t();if(!$)return console.warn("[stx-media] ts-videos not installed, cannot generate DASH manifest"),null;try{let Y=r(K);if(!await B(Y))return null;let z=await x(Y),G=e(K,i(K)),M=C(X,`${G}-${z}-dash`);await R(M,{recursive:!0});let E=J.length>0?J:s,W=Z?.segmentDuration||4,Q=Z?.minBufferTime||2,L=(await new $.Input(Y).getInfo()).duration||0,w=[],j=[];for(let A of E){let I=C(M,A.label);await R(I,{recursive:!0});try{if(await $.generateDASH(Y,{outputDir:I,segmentDuration:W,width:A.width,height:A.height,videoBitrate:A.bitrate,audioBitrate:A.audioBitrate})){if(w.push({bandwidth:A.bitrate,width:A.width,height:A.height||Math.round(A.width*9/16),url:`${N}/${G}-${z}-dash/${A.label}/video`}),A.audioBitrate)j.push({bandwidth:A.audioBitrate,url:`${N}/${G}-${z}-dash/${A.label}/audio`})}}catch(H){console.warn(`[stx-media] Failed to generate DASH for ${A.label}: ${H}`)}}if(w.length===0)return null;let F=C(M,"manifest.mpd"),k=NJ(w,j,L,W,Q);await o(F,k);let T=[{type:"video",representations:w}];if(j.length>0)T.push({type:"audio",representations:j});return{manifestUrl:`${N}/${G}-${z}-dash/manifest.mpd`,manifestPath:F,adaptationSets:T,duration:L}}catch(Y){return console.warn(`[stx-media] Failed to generate DASH manifest: ${Y}`),null}}function NJ(K,J,X,N,Z){let $=a(X),Y=a(Z),z=`<?xml version="1.0" encoding="UTF-8"?>
|
|
4
4
|
<MPD xmlns="urn:mpeg:dash:schema:mpd:2011"
|
|
5
5
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$ as ml,$a as dn,$b as wo,$c as wp,$d as wq,A as Yj,Aa as om,Ab as Qn,Ac as Xo,Ad as Xp,Ae as br,B as Zj,Ba as pm,Bb as Rn,Bc as Yo,Bd as Yp,Be as cr,C as _j,Ca as Cm,Cb as Sn,Cc as Zo,Cd as Zp,Ce as dr,D as $j,Da as Dm,Db as Tn,Dc as _o,Dd as _p,De as er,E as Rk,Ea as Em,Eb as Un,Ec as $o,Ed as $p,Ee as fr,F as Sk,Fa as Fm,Fb as Vn,Fc as ap,Fd as aq,Fe as gr,G as Tk,Ga as Gm,Gb as Wn,Gc as bp,Gd as bq,Ge as hr,H as Uk,Ha as Hm,Hb as Xn,Hc as cp,Hd as cq,He as ir,I as Vk,Ia as Lm,Ib as Yn,Ic as dp,Id as dq,Ie as jr,J as Wk,Ja as Mm,Jb as Zn,Jc as ep,Jd as eq,Je as kr,K as Xk,Ka as Nm,Kb as _n,Kc as fp,Kd as fq,Ke as lr,L as Yk,La as Om,Lb as $n,Lc as gp,Ld as gq,Le as mr,M as Zk,Ma as Pm,Mb as ao,Mc as hp,Md as hq,Me as nr,N as _k,Na as Qm,Nb as bo,Nc as ip,Nd as iq,Ne as or,O as $k,Oa as Rm,Ob as jo,Oc as jp,Od as jq,Oe as pr,P as al,Pa as Sm,Pb as ko,Pc as kp,Pd as kq,Pe as qr,Q as bl,Qa as Tm,Qb as lo,Qc as lp,Qd as lq,Qe as rr,R as cl,Ra as Um,Rb as mo,Rc as mp,Rd as mq,Re as sr,S as dl,Sa as Vm,Sb as no,Sc as np,Sd as nq,Se as tr,T as el,Ta as Wm,Tb as oo,Tc as op,Td as oq,Te as ur,U as fl,Ua as Xm,Ub as po,Uc as pp,Ud as pq,Ue as vr,V as gl,Va as Ym,Vb as qo,Vc as qp,Vd as qq,Ve as wr,W as hl,Wa as Zm,Wb as ro,Wc as rp,Wd as rq,We as xr,X as il,Xa as _m,Xb as so,Xc as sp,Xd as sq,Xe as yr,Y as jl,Ya as an,Yb as to,Yc as tp,Yd as tq,Ye as zr,Z as kl,Za as bn,Zb as uo,Zc as up,Zd as uq,_ as ll,_a as cn,_b as vo,_c as vp,_d as vq,aa as nl,ab as en,ac as xo,ad as xp,ae as xq,ba as ol,bb as fn,bc as yo,bd as yp,be as yq,ca as pl,cb as gn,cc as zo,cd as zp,ce as zq,da as ql,db as hn,dc as Ao,dd as Ap,de as Aq,ea as rl,eb as jn,ec as Bo,ed as Bp,ee as Bq,fa as sl,fb as kn,fc as Co,fd as Cp,fe as Cq,ga as tl,gb as ln,gc as Do,gd as Dp,ge as Dq,ha as ul,hb as mn,hc as Eo,hd as Ep,he as Eq,ia as vl,ib as nn,ic as Fo,id as Fp,ie as Fq,ja as wl,jb as on,jc as Go,jd as Gp,je as Gq,ka as xl,kb as pn,kc as Ho,kd as Hp,ke as Hq,la as yl,lb as qn,lc as Io,ld as Ip,le as Iq,ma as zl,mb as rn,mc as Jo,md as Jp,me as Jq,na as Al,nb as sn,nc as Ko,nd as Kp,ne as Kq,o as a,oa as Bl,ob as tn,oc as Lo,od as Lp,oe as Lq,p as Jj,pa as dm,pb as wn,pc as Mo,pd as Mp,pe as Sq,q as Kj,qa as em,qb as xn,qc as No,qd as Np,qe as Tq,r as Lj,ra as fm,rb as yn,rc as Oo,rd as Op,re as Uq,s as Mj,sa as gm,sb as zn,sc as Po,sd as Pp,se as Vq,t as Nj,ta as hm,tb as Fn,tc as Qo,td as Qp,te as Wq,u as Oj,ua as im,ub as Gn,uc as Ro,ud as Rp,ue as Xq,v as Pj,va as jm,vb as Hn,vc as So,vd as Sp,ve as Yq,w as Qj,wa as km,wb as In,wc as To,wd as Tp,we as Zq,x as Rj,xa as lm,xb as Nn,xc as Uo,xd as Up,xe as _q,y as Wj,ya as mm,yb as On,yc as Vo,yd as Vp,ye as $q,z as Xj,za as nm,zb as Pn,zc as Wo,zd as Wp,ze as ar}from"./chunk-s44edj8s.js";import{$e as ck,Ze as ak,_e as bk,af as dk,bf as ek,cf as fk,df as gk,ef as hk,ff as ik,gf as jk,hf as kk,if as lk,jf as mk,kf as nk,lf as ok}from"./chunk-ym3r8ktq.js";import{mf as Fk,nf as Gk,of as Hk,pf as Ik,qf as Jk,rf as Kk,sf as Lk,tf as Mk,uf as Nk,vf as Ok,wf as Pk,xf as Qk}from"./chunk-bjj27mf3.js";import{Af as fo,Bf as go,Cf as ho,Df as io,yf as co,zf as eo}from"./chunk-nqy2v6vh.js";import{Ef as un,Ff as vn}from"./chunk-pbsfbgx7.js";import{Gf as An}from"./chunk-1n16xphq.js";import{Hf as Tl,If as Ul,Jf as Vl,Kf as Wl,Lf as Zl,Mf as bm}from"./chunk-ksm4b1cx.js";import{Nf as Xl,Qf as Yl}from"./chunk-4zkv1vqh.js";import{$f as tm,Yf as qm,Zf as rm,_f as sm,ag as um,bg as vm,cg as wm,dg as xm,eg as ym,fg as zm,gg as Am,hg as Bm}from"./chunk-0j9hrzjj.js";import{ig as Dk,jg as Ek}from"./chunk-j59pkkzn.js";import{kg as cm}from"./chunk-0bm5enna.js";import{lg as Im,mg as Jm,ng as Km,og as $m,pg as Bn,qg as Cn,rg as Dn,sg as En,tg as Jn,ug as Kn,vg as Ln,wg as Mn}from"./chunk-xhq2a50x.js";import{Ag as Fl,Bg as Gl,Cg as Hl,Dg as Il,Eg as Jl,Fg as Kl,Gg as Ll,Hg as Ml,Ig as Nl,Jg as Ol,Kg as _l,Lg as $l,Mg as am,xg as Cl,yg as Dl,zg as El}from"./chunk-5qngxbmv.js";import{Ng as Yi,Og as Zi,Pg as _i,Qg as $i,Rg as aj,Sg as bj,Tg as cj,Ug as dj,Vg as ej,Wg as fj,Xg as gj}from"./chunk-8pvymy12.js";import{Yg as yj,_g as zj}from"./chunk-f5v2qf95.js";import{eh as pk,fh as qk,gh as rk,hh as sk,ih as tk,jh as uk,kh as vk,mh as wk,nh as xk,oh as yk,ph as zk,qh as Ak,rh as Bk,uh as Ck}from"./chunk-k6st4606.js";import{vh as ih,wh as jh,xh as kh,yh as lh}from"./chunk-49kk0s96.js";import{Dh as mh}from"./chunk-w3ycm4na.js";import{Eh as th,Fh as uh,Gh as vh,Hh as wh,Ih as xh,Jh as yh}from"./chunk-7exqxjx5.js";import{Kh as Ni,Lh as Oi,Mh as Pi,Qh as Qi,Rh as Ri,Sh as Si}from"./chunk-zr4emtxf.js";import{$h as Ki,Th as Di,Uh as Ei,Vh as Fi,Wh as Gi,Xh as Hi,Zh as Ii,_h as Ji,ai as Li,bi as Mi}from"./chunk-74cv4ta1.js";import{ci as tg,di as ug,ei as vg,fi as wg,gi as xg,hi as yg}from"./chunk-wcm80anz.js";import{ii as zg,ji as Ag,ki as Bg,li as Cg,mi as Dg}from"./chunk-y7m2dpd3.js";import{ni as Eg,oi as Fg,pi as Gg,qi as Hg,ri as Ig}from"./chunk-9y0g8kzt.js";import{si as Jg,ti as Kg,ui as Lg,vi as Mg,wi as Ng,xi as Og,yi as Pg}from"./chunk-t6nseeb9.js";import{Ai as Rg,Bi as Sg,Ci as Tg,Di as Ug,Ei as Vg,zi as Qg}from"./chunk-xttsqmkm.js";import{Gi as Wg,Hi as Xg,Ii as Yg,Ji as Zg,Ki as _g,Li as $g,Mi as ah,Ni as bh,Oi as ch,Pi as dh,Qi as eh,Ri as fh,Si as gh,Ti as hh}from"./chunk-54st8g2j.js";import{Vi as ng,Wi as og}from"./chunk-b3zes539.js";import{Zi as pg}from"./chunk-new80es4.js";import"./chunk-9n0gvfrg.js";import{bj as qg}from"./chunk-7q9mwh4v.js";import{cj as rg,dj as sg}from"./chunk-refwkt87.js";import{ej as ge,fj as he,gj as ie,hj as je,ij as ke,jj as le,kj as me,lj as ne,mj as oe,nj as pe,oj as qe,pj as re,qj as se,rj as te}from"./chunk-sne7938g.js";import{sj as Qe,tj as Re}from"./chunk-ph5f8eev.js";import{Aj as Ce,Bj as De,Cj as Ee,Dj as Fe,Ej as Ge,Fj as He,Gj as Ie,Hj as Je,Ij as Ke,Jj as Le,Kj as Me,Lj as Ne,Mj as Oe,Nj as Pe}from"./chunk-w95sp0k9.js";import{Oj as Se,Pj as Te,Qj as Ue,Rj as Ve,Sj as We,Tj as Xe,Uj as Ye,Vj as Ze,Wj as _e,Xj as $e,Yj as af}from"./chunk-k6wnmjhf.js";import{qk as Mq,rk as Nq,sk as Oq,tk as Pq,uk as Qq,vk as Rq}from"./chunk-qpsj28s2.js";import{Ak as Pl,Bk as Ql,Ck as Rl,Dk as Sl,wk as Sj,xk as Tj,yk as Uj,zk as Vj}from"./chunk-sr49fd8p.js";import"./chunk-58f0mthg.js";import"./chunk-0ha9e1wt.js";import{$l as Wa,$m as Ub,$n as Uc,$p as Hf,$q as Nh,$r as vj,Al as I,Am as pb,An as tc,Ao as Jd,Ap as ff,Aq as gg,Ar as vi,Bl as J,Bm as qb,Bn as uc,Bo as Kd,Bp as gf,Bq as hg,Br as wi,Cl as da,Cm as rb,Cn as vc,Co as Ld,Cp as hf,Cq as ig,Cr as xi,Dl as ea,Dn as wc,Do as Md,Dp as jf,Dq as jg,Dr as yi,El as fa,Em as yb,En as xc,Eo as Nd,Ep as kf,Eq as kg,Er as zi,Fl as ga,Fm as zb,Fn as yc,Fo as Od,Fp as lf,Fq as lg,Fr as Ai,Gl as ha,Gm as Ab,Gn as zc,Go as Pd,Gp as mf,Gq as mg,Gr as Bi,Hl as ia,Hm as Bb,Hn as Ac,Ho as Qd,Hp as nf,Hq as nh,Hr as Ci,Im as Cb,In as Bc,Io as Rd,Ip as of,Iq as oh,Ir as Ti,Jm as Db,Jn as Cc,Jo as Sd,Jp as pf,Jq as ph,Jr as Ui,Kl as za,Km as Eb,Kn as Dc,Ko as Td,Kp as qf,Kq as qh,Kr as Vi,Ll as Aa,Ln as Ec,Lo as Ud,Lp as rf,Lq as rh,Lr as Wi,Ml as Ba,Mm as Fb,Mn as Fc,Mo as Vd,Mp as sf,Mq as sh,Mr as Xi,Nl as Ca,Nm as Gb,Nn as Gc,No as Wd,Np as tf,Nq as zh,Nr as hj,Ol as Da,Om as Hb,On as Hc,Oo as Xd,Op as uf,Oq as Ah,Or as ij,Pm as Ib,Pn as Ic,Po as Yd,Pp as vf,Pq as Bh,Pr as jj,Qm as Jb,Qn as Jc,Qo as Zd,Qp as wf,Qq as Ch,Qr as kj,Rl as Ga,Rm as Kb,Rn as Kc,Ro as _d,Rp as xf,Rq as Dh,Rr as lj,Sl as Ha,Sm as Lb,Sn as Lc,So as $d,Sp as yf,Sq as Eh,Sr as mj,Tl as Ia,Tm as Mb,Tn as Mc,To as ae,Tp as zf,Tq as Fh,Tr as nj,Ul as Pa,Um as Nb,Un as Nc,Uo as be,Up as Af,Uq as Gh,Ur as oj,Vl as Qa,Vm as Ob,Vn as Oc,Vo as ce,Vp as Bf,Vq as Hh,Vr as pj,Wl as Ra,Wm as Pb,Wn as Pc,Wo as de,Wp as Cf,Wq as Ih,Wr as qj,Xl as Sa,Xm as Qb,Xn as Qc,Xo as ee,Xp as Df,Xq as Jh,Xr as rj,Yl as Ta,Ym as Rb,Yn as Rc,Yo as fe,Yp as Ef,Yq as Kh,Yr as sj,Zl as Ua,Zm as Sb,Zn as Sc,Zp as Ff,Zq as Lh,Zr as tj,_l as Va,_m as Tb,_n as Tc,_o as ze,_p as Gf,_q as Mh,_r as uj,am as Xa,an as Vb,ao as Vc,aq as If,ar as Oh,as as wj,bm as Ya,bn as Wb,bo as Wc,bp as Ae,bq as Jf,br as Ph,bs as xj,cn as Xb,co as Xc,cp as Be,cq as Kf,cr as Zh,cs as Aj,dn as Yb,do as Yc,dq as Lf,dr as _h,ds as Bj,en as Zb,eo as Zc,ep as bf,eq as Mf,er as $h,es as Cj,fn as _b,fo as _c,fq as Nf,fr as ai,fs as Dj,gm as Za,gn as $b,go as $c,gq as Of,gr as bi,gs as Ej,hm as _a,hn as ac,ho as ad,hq as Pf,hr as ci,hs as Fj,im as $a,in as bc,io as bd,iq as Qf,ir as di,is as Gj,jm as ab,jn as cc,jo as cd,jq as Rf,jr as ei,js as Hj,kl as s,km as bb,kn as dc,ko as dd,kq as Sf,kr as fi,ks as Ij,ll as t,lm as cb,ln as ec,lo as ed,lq as Tf,lr as gi,ml as u,mn as fc,mo as fd,mq as Uf,mr as hi,nl as v,nn as gc,no as gd,nq as Vf,nr as ii,ol as w,om as db,on as hc,oo as hd,oq as Wf,or as ji,pl as x,pm as eb,pn as ic,po as id,pq as Xf,pr as ki,ql as y,qm as fb,qn as jc,qo as jd,qq as Yf,qr as li,rl as z,rm as gb,rn as kc,ro as Ad,rq as Zf,rr as mi,sl as A,sm as hb,sn as lc,so as Bd,sq as _f,sr as ni,tl as B,tm as ib,tn as mc,to as Cd,tq as $f,tr as oi,ul as C,um as jb,un as nc,uo as Dd,uq as ag,ur as pi,vl as D,vm as kb,vn as oc,vo as Ed,vp as cf,vq as bg,vr as qi,wl as E,wm as lb,wn as pc,wo as Fd,wq as cg,wr as ri,xl as F,xm as mb,xn as qc,xo as Gd,xp as df,xq as dg,xr as si,yl as G,ym as nb,yn as rc,yo as Hd,yq as eg,yr as ti,zl as H,zm as ob,zn as sc,zo as Id,zp as ef,zq as fg,zr as ui}from"./chunk-r7dd7c7y.js";import{ls as d,ms as e,ns as f,os as g,ps as h,qs as i,rs as j,ss as k,ts as l,us as m,vs as n,ws as o,xs as p,ys as q,zs as r}from"./chunk-25de1sj7.js";import{As as Qh,Bs as Rh,Cs as Sh,Ds as Th,Es as Uh,Fs as Vh,Gs as Wh,Hs as Xh,Is as Yh}from"./chunk-38ykv2gd.js";import{Js as b,Ks as c}from"./chunk-4qq5wj04.js";import{Ls as Ea,Ms as Fa}from"./chunk-g8tce9rr.js";import{$s as wb,Ns as sb,Os as tb,Qs as ub,_s as vb,at as xb}from"./chunk-ptcpaeem.js";import{bt as ue,ct as ve,dt as we,et as xe,ht as ye}from"./chunk-a8mnhryz.js";import{it as Ja,jt as Ka,kt as La,lt as Ma,mt as Na,nt as Oa}from"./chunk-dnhckx52.js";import{At as wd,Bt as xd,Ct as yd,Dt as zd,ot as kd,pt as ld,qt as md,rt as nd,st as od,tt as pd,ut as qd,vt as rd,wt as sd,xt as td,yt as ud,zt as vd}from"./chunk-jt8as8j8.js";import"./chunk-x84g0m0p.js";import{Ht as ja,It as ka,Jt as la,Kt as ma,Lt as na,Mt as oa,Nt as pa,Ot as qa,Pt as ra,Qt as sa,Rt as ta,St as ua,Tt as va,Ut as wa,Vt as xa,Wt as ya}from"./chunk-5h5ydexj.js";import{$t as L,Au as $,Bu as aa,Cu as ba,Eu as ca,_t as K,cu as M,hu as N,iu as O,ou as P,pu as Q,qu as R,ru as S,su as T,tu as U,uu as V,vu as W,wu as X,xu as Y,yu as Z,zu as _}from"./chunk-aw651z2y.js";import"./chunk-wj2trgsn.js";import"./chunk-0y6f4037.js";export{kk as writeNetlifyConfig,$l as writeManifest,Pk as writeImageManifest,so as wrapComponentForHMR,mr as withDefaults,xj as webComponentDirectiveHandler,hp as watermark,jq as watchViews,Zk as watchMultiple,_k as watchEffect,Yk as watch,ye as warmImagePlaceholders,ll as waitForStore,Zd as waitForLocale,eo as virtualPathFor,kj as videoDirective,uc as validators,qr as validated,Ld as validateValueEnhanced,oh as validateTemplate,mp as validateParams,Md as validateFormEnhanced,_p as validateFile,Hd as validateFields,Gd as validateField,qh as validateDirective,ed as validateCspDirectives,Fj as validateConfig,em as validateComponentScripts,Cm as validateComponentProps,mg as validateClientScript,lh as v,kb as usesSignalsInScript,pa as usesReactiveRuntime,Dh as userComponentFileExists,Tg as useVirtualList,sd as useTitle,kl as useStoreOrThrow,Ko as useStore,Wj as useStorage,uq as useSlots,Yj as useSessionStorage,pd as useSeoMeta,ml as useRouteParams,ol as useRouteParamOrThrow,nl as useRouteParam,sd as usePageTitle,Pe as useOptimistic,ql as useMiddlewareValue,pl as useMiddlewareState,Xj as useLocalStorage,lo as useLoadingIndicator,nd as useHead,ih as useForm,wq as useAttrs,aq as uploadFiles,$p as uploadFile,hl as updateInstance,Ne as untrack,Th as unregisterDirective,il as unmountInstance,rb as unescapeHtml,ho as typecheckStxFiles,Ch as transpileTypeScript,$q as translate,w as transitionDirective,Ta as transformAutoImports,wm as toUsers,vm as toUser,So as thumbnail,Tp as thumbHashToRGBA,Up as thumbHashToDataURL,ra as templateNeedsRuntime,qa as templateHasReactiveContext,Se as templateCache,Nb as syncRecordedResponse,po as stxClientHelpers,xf as structuredDataDirective,cr as stripLocalePrefix,Ml as stripDocumentWrapper,Fa as stripCommentsAndLiterals,kn as stringToStream,Uc as strictCspPreset,oe as streamingSuspenseDirective,se as streamToResponse,me as streamTemplateSimple,ge as streamTemplate,Rj as stopHmrServer,sm as stopBroadcasting,Ma as stateDirName,Na as stateDir,Ce as state,gg as startsDocument,Mn as startProductionServer,An as startInteractive,rm as startBroadcasting,er as stampLocaleLayoutGroup,D as staggerDirective,kp as srcsetUrls,E as springDirective,Dc as splitByPipe,Il as spaNavVaryHeaders,fo as sourcePathFor,rp as smartBatchSign,Fh as slotContentHasExpressions,pp as signUrl,Ah as shouldTranspileTypeScript,Oj as shouldReloadOnChange,up as shouldRefreshSignature,Pj as shouldIgnoreFile,Lg as shouldCacheComponent,Wo as sharpen,tr as shape,La as setStateDir,ul as setRouteParams,vl as setMiddlewareState,xe as setImagePlaceholder,oq as setGlobalProvide,Rb as setErrorLocale,Rk as setCurrentInstance,_i as setCachedVideoResult,Pi as setCachedImageResult,Ji as setCached,wr as serveStxFile,yr as serveMultipleStxFiles,Jj as serveMarkdownFile,Wn as serveFile,zr as serveApp,Vn as serve,vo as serializeState,$m as serializeSetCookie,Yo as sepia,qd as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,oj as scopeHTML,nj as scopeCSS,Af as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,ap as saturation,np as sanitizeParams,wc as sanitizeFilePath,xc as sanitizeExpression,yc as sanitizeDirectiveParams,vc as sanitizeDirectiveParam,zc as sanitizeComponentProps,pc as safeExecuteAsync,oc as safeExecute,xa as runtimeHandledXAttrsLiteral,qf as runPreProcessingMiddleware,rf as runPostProcessingMiddleware,Dn as runPageAction,Ie as runMountCallbacks,ba as runMiddleware,fl as runHooks,Uq as runDoctor,Je as runDestroyCallbacks,Ff as runComposers,bp as rotate,mh as rewriteImagesWithSiblings,Ob as responseBindings,Jh as resolveTemplatePath,c as resolveStxTargets,Bj as resolveStxDirectories,_q as resolveI18n,Qo as resize,Za as resetPlaceholders,md as resetHead,uo as resetHMRHandler,cc as resetErrorConfig,or as required,bb as replacePlaceholders,hq as renderView,hj as renderVideoComponent,Qa as renderVendorStyleTags,Dq as renderToString,Eq as renderToStream,Fq as renderToDOM,Sp as renderThumbhashToCanvas,Rq as renderTemplateString,Pq as renderTemplate,Qq as renderString,je as renderStreamingPage,vh as renderSlot,Bg as renderSSRSuspense,Cp as renderProtectedVideo,Bp as renderProtectedImg,op as renderMediaUpload,Oq as renderMarkdownView,Rl as renderLayoutTypes,Ti as renderImgComponent,Fk as renderImageComponent,ud as renderHtmlAttrs,td as renderHead,kq as renderEmail,Hh as renderComponentWithSlot,vd as renderBodyAttrs,Fo as render,Wc as relaxedCspPreset,Fd as registerValidationRule,qe as registerStreamingDirectives,Mo as registerStoresClient,sl as registerStore,yf as registerSeoDirectives,V as registerMiddleware,fb as registerFilters,eb as registerFilter,Tb as registerErrorMessages,Kd as registerEnhancedValidationRule,Qh as registerDirective,dd as registerCspDirectives,Fm as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,Vk as ref,sn as redirect,Jb as recordResponseStatus,Kb as recordResponseHeader,Oa as rebaseOntoStateDir,Lb as readResponseStatus,Mb as readResponseHeaders,Hj as readMarkdownFile,Te as readFileCached,Wk as reactive,fp as quality,zp as pruneSignatureCache,Mi as pruneCache,mq as provide,Nq as protectCodeBlocks,nr as prop,Jf as processVueTemplate,Rg as processVirtualListDirectives,Vg as processVirtualGridDirectives,gj as processVideo,Id as processValidateDirective,ee as processTranslateDirective,vg as processTransitionDirectives,yg as processTransitionAttributes,yd as processTitleDirective,Bb as processTemplateBindings,rg as processTeleportDirectives,zg as processSuspenseDirectives,tf as processStructuredData,ke as processStreamDirectives,Pb as processStatusDirective,gh as processStaticDirectives,of as processStackReplacements,nf as processStackPushDirectives,wh as processSlots,Kl as processShell,Hf as processServerBindings,uf as processSeoDirective,re as processSectionDirectives,Mf as processScopedStyles,zb as processReactiveBindings,Dp as processProtectedMedia,$g as processPartialHydrationDirectives,lg as processOnceDirective,pf as processMiddleware,sf as processMetaDirectives,zd as processMetaDirective,Ij as processMarkdownFileDirectives,Oh as processMarkdownDirectives,hf as processLoops,Jg as processKeepAliveDirectives,kg as processJsonDirective,Ug as processInfiniteListDirectives,mf as processIncludes,Vi as processImgComponents,Hk as processImageComponents,uk as processImage,xd as processHeadDirective,Bd as processForms,Dd as processFormInputDirectives,ob as processExpressions,Ca as processEventDirectives,Ed as processErrorDirective,Kf as processDynamicComponents,nh as processDirectives,Yh as processDirectiveAttributes,qg as processDeferDirectives,id as processCustomDirectives,ad as processCspDirectives,ur as processComponentProps,Ya as processClientScript,Cd as processBasicFormDirectives,Eg as processAsyncDirectives,jd as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,Vd as preloadTranslationsBackground,Ud as preloadTranslations,ko as preloadIslandHandlers,ze as preloadIconCollection,nm as poolStrings,zj as pluginManager,ve as placeholdersWarmed,ug as performLeave,tg as performEnter,Ke as pendingLifecycleCounts,Oe as peek,jf as partialsCache,ij as parseVideoDirectiveOptions,Oo as parseUrl,Vp as parseThumbhashString,Jc as parseSwitchBlock,th as parseSlots,uh as parseSlotElement,Oc as parseScriptDeclarations,vj as parseSFCComponent,Ep as parseProtectedArgs,gf as parseLoopBinding,Ui as parseImgComponent,ki as parseImageUrl,Gk as parseImageComponent,Bn as parseFormBody,Lc as parseExpressionWithFilters,Gm as parseDefaults,pn as parseCookies,Lm as parseContainerSelector,Gc as parseConditionalBlock,Mc as parseArguments,H as parseAnimationShorthand,pr as optional,om as optimizeTemplate,Mk as optimizeImage,Nk as optimizeDirectory,rr as oneOf,kf as onceStore,cl as onUpdated,yb as onUpdate,el as onUnmounted,zl as onServer,al as onMounted,Ge as onMount,fh as onHydrated,sq as onErrorCaptured,He as onDestroy,Pg as onDeactivated,yl as onClient,bl as onBeforeUpdate,dl as onBeforeUnmount,$k as onBeforeMount,Og as onActivated,Op as observeElement,tn as notFound,Rf as normalizeCriticalHeadOrder,rq as nextTick,Jm as negotiateEncoding,P as navigateTo,gl as mountInstance,z as motionDirective,Vc as moderateCspPreset,mm as minifyHtml,wf as metaDirective,$f as metaDedupKey,Po as mergeParams,bg as mergeHtmlAttrs,od as mergeHeadConfigs,Zc as mergeCspDirectives,tb as mergeCrosswindConfig,M as matchRoute,Ph as markdownDirectiveHandler,Gj as markdownCache,b as looksLikeGlob,br as localizePath,Wd as loadTranslationLazy,ae as loadTranslation,Cj as loadStxConfig,_ as loadMiddlewareFromDirectory,am as loadManifest,Kp as loadElement,tm as loadChannels,ir as lintStxStrict,Mp as lazyLoadAll,Lp as lazyLoad,C as keyframeDirective,Bq as jsxs,Cq as jsxDEV,Aq as jsx,rn as jsonResponse,pe as islandDirective,$b as isTest,Nl as isSpaNavigation,Gl as isSpaNavRequest,sp as isSignatureValid,Le as isSignal,sk as isSharpAvailable,cn as isServerEnvironment,wl as isServer,ta as isRuntimeOwnedColonAttr,Zb as isProduction,d as isPresentationalRole,Hp as isNativeLazySupported,Mq as isMarkdownPath,Sd as isLoading,Td as isLoaded,zh as isJavaScriptScript,Ip as isIntersectionObserverSupported,Ak as isImageFile,tk as isImageBackendAvailable,ce as isICUFormat,eh as isHydrated,Eh as isHydrateTrigger,Hb as isHttpStatus,bn as isEdgeEnvironment,jr as isDirectiveKind,_b as isDevelopment,Me as isDerived,Nj as isCssOnlyChange,Im as isCompressible,xl as isClient,Gg as isAsyncComponent,Cn as isActionableMethod,Zo as invert,Ve as invalidateFileCacheByDir,Ue as invalidateFileCache,nb as interpolateScriptsInTemplate,lb as interpolateScriptExpressions,mb as interpolateScriptAttributes,lc as inlineError,Zq as injectThemeBootstrap,vf as injectSeoTags,Wq as injectSeo,bf as injectRouterScript,Mj as injectHotReload,fa as injectHeatmap,_c as injectCspMetaTag,xb as injectCrosswindCSS,ig as injectConfigHeadTags,Qf as injectColorModeBootScript,dg as injectCloakStyle,Xf as injectBuildId,Sa as injectBrowserCoreAutoImports,Db as injectAnalytics,nq as inject,rl as initStoreRegistry,nk as initNetlify,mo as initLoadingIndicator,Jp as initLazyLoading,zn as initFile,Rp as initBlurUp,Xp as initAllBlurUp,Xi as imgDirective,Kk as imageDirective,Kn as hydrateTemplateStream,Jn as hydrateTemplate,jo as hydrateIslands,bh as hydrateIsland,Ln as hydrateFragment,ch as hydrateByStrategy,dh as hydrateAll,Co as hydrate,Un as htmlResponse,eg as hoistLeadingHeadTags,Sf as hoistColorModeBootScript,ga as heatmapDirective,Fi as hashString,af as hashFilePath,Di as hashFile,Ei as hashBuffer,If as hasVueTemplateSyntax,ff as hasVariables,Ho as hasStore,cb as hasPlaceholders,lk as hasNetlifyConfig,X as hasMiddleware,Da as hasEventDirectives,hg as hasDocumentShell,rh as hasDirectives,h as hasDOMSupport,Dk as handleImageRequest,tq as handleError,Jq as h,zk as groupVariantsByFormat,Xo as grayscale,Nn as gitHash,gm as getUnusedDirectives,Xd as getTranslationSync,Qd as getTranslationCacheStats,Yd as getTranslationAsync,de as getTranslation,gk as getTotalSize,tp as getTimeUntilExpiry,ng as getStoreScript,Io as getStoreNames,Go as getStore,$j as getStorageSize,_j as getStorageKeys,Kh as getSourceLineInfo,Bh as getSharedTranspiler,g as getScreenReaderOnlyStyle,pj as getScopeAttribute,Be as getRouteParams,Ha as getPublicEnvDefine,Ia as getPublicEnv,ph as getPositionInfo,$a as getPlaceholderRegistry,Ci as getPlaceholderCacheStats,ld as getPageMeta,Qc as getNonce,Bk as getMimeType,Z as getMiddlewareNames,W as getMiddleware,Rd as getLoadingState,_d as getLoadingLocales,ue as getImagePlaceholder,vk as getImageMetadata,Bo as getHydrationRuntime,tl as getHydratedStoreState,Qj as getHmrServer,kd as getHead,to as getHMRHandler,oi as getFormatExtension,Hi as getFileMtime,yk as getFallbackVariant,Vb as getErrorMessage,Sb as getErrorLocale,bc as getErrorConfig,Yb as getErrorCodeName,Sh as getDirectives,Rh as getDirective,Sk as getCurrentInstance,Yc as getCspPreset,fd as getCspHeaderName,ub as getCrosswindServeAsset,Nh as getComponentCacheStats,Zi as getCachedVideoResult,xp as getCachedSignature,Xe as getCachedSignalsRuntime,Ye as getCachedRouterScript,Ai as getCachedPlaceholder,Oi as getCachedImageResult,Ii as getCached,Li as getCacheStats,Vf as getBuildId,qm as getBroadcastServer,ni as getBestVariant,gb as getAllFilters,bi as generateWidthSrcset,Sg as generateVirtualListCSS,cq as generateVideoPreview,Nd as generateValidationScript,dq as generateUploadRuntime,hm as generateTreeShakenBundle,xg as generateTransitionRuntime,wg as generateTransitionCSS,bj as generateThumbnails,ti as generateThumbhashPlaceholder,Um as generateTemplatesDocs,Dg as generateSuspenseRuntime,Cg as generateSuspenseCSS,wo as generateStateScript,li as generateSrcsetData,Si as generateSrcset,wk as generateSrcSet,cj as generateSpriteSheet,lq as generateSpaShell,mi as generateSourceTags,hi as generateSizesFromBreakpoints,gi as generateSizesAttribute,xk as generateSizes,zf as generateSitemapIndex,Xq as generateSitemap,Gp as generateSimpleMediaPicker,Ap as generateSignatureRuntime,Re as generateSignalsRuntimeDev,Qe as generateSignalsRuntime,Xa as generateServerDataBridge,mj as generateScopeId,wj as generateSFCWebComponent,Aa as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,Bf as generateRobotsTxt,Yq as generateRobots,Ri as generateResponsiveVariants,sj as generateReactiveWebComponentTS,rj as generateReactiveWebComponent,uj as generateReactiveRuntime,tj as generateReactiveMixin,aj as generatePoster,zi as generatePlaceholderStyle,yi as generatePlaceholderCSS,si as generatePlaceholder,ah as generatePartialHydrationCSS,Pc as generateNonce,hk as generateNetlifyToml,fq as generateMinifiedMediaRuntime,eq as generateMediaRuntime,Fp as generateMediaManagerEmbed,_l as generateManifest,oo as generateLoadingIndicatorHtml,Qp as generateLazyLoadRuntime,Sl as generateLayoutTypes,vi as generateLQIP,Ng as generateKeepAliveRuntime,Mg as generateKeepAliveCSS,hh as generateIslandManifest,bq as generateImagePreview,Ok as generateImageManifest,Ao as generateHydrationScript,te as generateHydrationRuntime,Do as generateHydrationCSS,Wg as generateHydrationBootstrap,Lj as generateHotReloadScript,ea as generateHeatmapScript,ro as generateHMRClientScript,dj as generateHLSManifest,xo as generateEventBindings,fi as generateDprSrcsetWithVariableQuality,ei as generateDprSrcset,fg as generateDocumentShell,Zm as generateDocs,Vm as generateDirectivesDocs,Xh as generateDirectiveRuntime,Cf as generateDefaultRobotsTxt,ej as generateDASHManifest,Tc as generateCspMetaTag,Sc as generateCspHeader,wb as generateCrosswindCSS,yq as generateCompositionRuntime,Tm as generateComponentsDocs,Xg as generateComponentManifest,Rm as generateComponentDoc,xi as generateColorPlaceholder,Pf as generateColorModeBootScript,jl as generateClientRuntime,Gi as generateCacheKey,Va as generateBrowserAutoImportDestructuring,Yp as generateBlurUpRuntime,Zp as generateBlurUpCSS,Ab as generateBindingsRuntime,ci as generateAutoWidthSrcset,Ua as generateAutoImportDestructuring,Ig as generateAsyncComponentRuntime,Hg as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,Cb as generateAnalyticsScript,io as formatTypecheckDiagnostics,bo as formatTypeErrors,wn as formatStxContent,fk as formatSize,O as formatRoutes,xn as formatMarkdownContent,Wb as formatLocalizedError,be as formatICU,dc as formatFilePath,kc as formatError,Vq as formatDoctorReport,Wm as formatDocsAsMarkdown,Ym as formatDocsAsJson,Xm as formatDocsAsHtml,ep as format,lm as foldConstants,dp as flipVertical,cp as flipHorizontal,Tl as fingerprint,go as findRuntimeTypeDeclarations,Tq as findPantryPackage,Fc as findMatchingEndTag,Bc as findMatchingDelimiter,Ea as findInterpolationEnd,Hc as findIfBlocks,Kc as findExpressions,N as findErrorPage,Ic as findDirectiveBlocks,im as findDeadCode,im as findDeadBranches,Mm as findContainerRegion,Sm as findComponentFiles,xr as findCommonDir,ek as filterRequiredFiles,Ih as fileExists,cf as extractVariables,Yl as extractTemplateExpressions,le as extractStreamBoundaries,yo as extractState,xh as extractSlotContent,ef as extractScriptFromTemplate,Xl as extractScriptBlocks,ab as extractPlaceholders,Ec as extractParenthesizedExpression,Ib as extractPageResponseStatus,ca as extractLayoutMetadata,wi as extractDominantColor,Nc as extractDirectiveParams,sh as extractDirectiveNames,Ol as extractContainerContent,Pm as extractComponentProps,Yg as extractComponentName,Qm as extractComponentDescription,vb as extractClassNames,Wa as extractBridgeData,Zg as extractBoundProps,Cc as extractBalancedExpression,Pa as extractAndStripCssImports,qj as extractAndScopeStyles,Ba as extractAndProcessEvents,Uj as externalizeSharedAssets,Vj as externalizeRepeatedAssets,Tj as externalizeHtml,qb as evaluateExpression,km as evaluateConstant,Qb as evaluateAuthExpression,jb as escapeHtmlValue,ib as escapeHtml,qc as errorRecovery,sc as errorLogger,sg as ensureTeleportTargets,jg as ensureDocumentShell,Jd as enhancedValidationRules,Nm as enableDevTools,jm as eliminateDeadCode,Ee as effect,lp as dprUrls,_m as docsCommand,Ql as discoverLayoutNames,Pp as disconnectObserver,Om as disableDevTools,tc as devHelpers,Jl as detectShell,an as detectRuntime,ik as detectProjectConfig,pi as detectFormat,dm as detectBuildMode,De as derived,mk as deploy,Ej as defineStxConfig,Lo as defineStore,vq as defineSlots,hr as defineSiteConfig,lr as definePropsWithValidation,kr as defineProps,yj as definePlugin,rd as definePageMeta,R as defineMiddleware,jh as defineForm,qq as defineExpose,pq as defineEmits,Uh as defineDirective,Lq as defineCustomElement,In as defineConfig,Vh as defineClientDirective,Fg as defineAsyncComponent,gq as defaultMediaConfig,Qk as defaultImageConfig,Od as defaultI18nConfig,da as defaultHeatmapConfig,Ad as defaultFormClasses,db as defaultFilters,hd as defaultCspConfig,Aj as defaultConfig,vr as default,sb as deepMergeThemes,Lf as dedupeScopedStyles,ui as decodeThumbhash,cd as cspNonceDirective,bd as cspDirective,Wp as crossfadeTransition,Ro as crop,Qg as createVirtualList,jj as createVideoDirective,nn as createVercelHandler,_n as createTypeChecker,fe as createTranslateFilter,jn as createTextEncoderStream,Kq as createStxApp,hn as createStreamingResponse,ne as createStreamRenderer,Jo as createStore,U as createStorageManager,S as createServerCookieManager,Uk as createScope,Ag as createSSRSuspense,Ae as createRouter,$ as createRouteLocation,Yn as createRoute,Vk as createRef,Wk as createReactive,xq as createProvideContext,Pn as createProject,Hn as createProductionBuild,_a as createPlaceholder,pm as createOptimizedBuild,on as createNetlifyHandler,ak as createNetlifyClient,aa as createMiddlewareContext,Xn as createMiddleware,Np as createLazyObserver,Kg as createKeepAliveCache,en as createKVNamespace,_g as createIslandRegistry,Wi as createImgDirective,Lk as createImagePlugin,Ek as createImageHandler,Jk as createImageDirective,ia as createHeatmapAggregator,dk as createFileManifest,dn as createEnvAccessor,nc as createEnhancedError,gn as createEdgeHandler,fn as createEdgeCache,Lh as createDetailedErrorMessage,mn as createDenoHandler,jk as createDefaultNetlifyConfig,gd as createCspHeaders,qn as createCookie,Xk as createComputed,Tk as createComponentInstance,ln as createCloudflareHandler,T as createClientCookieManager,Wh as createBuiltinDirectives,Kq as createApp,F as createAnimationTimeline,Uo as cover,df as convertToCommonJS,$o as contrast,To as contain,mc as consoleError,ac as configureErrorHandling,Dj as config,Xk as computed,Km as compressResponse,Ef as composerPattern,Df as composer,Ll as composeShellWithPage,Em as componentDirective,Gh as componentClientSignalNames,Zl as compileTemplate,a as collectRepeatedFlag,ck as collectDeployFiles,$i as clearVideoCache,Pd as clearTranslationCache,og as clearStoreCache,Zj as clearStorage,yp as clearSignatureCache,Bi as clearPlaceholderCache,lf as clearOnceStore,Rc as clearNonce,Y as clearMiddleware,we as clearImagePlaceholders,Ik as clearImageCache,Ub as clearErrorMessages,Ze as clearDevCaches,hb as clearCustomFilters,Gf as clearComposers,pg as clearComposableCache,Mh as clearComponentCache,Ki as clearCache,no as cleanupLoadingIndicator,Cl as classifyScript,Dl as classifyAllScripts,$n as checkTemplateFile,ao as checkTemplate,_e as checkCache,vp as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,zm as channel,vn as captureScreenshots,un as captureScreenshot,$d as cancelPendingLoads,bk as calculateSha1,di as calculateOptimalWidths,$e as cacheTemplate,lj as buildWebComponents,co as buildVirtualSource,iq as buildViews,No as buildUrl,he as buildSuspenseResolveScript,gr as buildStaticSite,la as buildRuntimeGlobalsDestructure,Ul as buildRuntimeAsset,Vl as buildRouterAsset,fr as buildLangPickerScript,ji as buildImageUrl,ag as buildHtmlAttrs,bm as buildForProduction,Hm as buildComponentLibrary,wp as buildAuthParams,cm as buildApp,dr as buildAlternateLinks,Gn as build,xm as broadcastPrivate,ym as broadcastPresence,um as broadcast,_o as brightness,Vo as blur,ya as blankInertHtmlRegions,qp as batchSignUrls,Fe as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,gp as auto,e as attributeValue,Wl as assetTags,za as asInvocableStatement,sr as arrayOf,ar as applyTranslations,Qi as applyTransformations,yh as applySlots,Dm as applyPropDefaults,jp as applyPreset,cg as applyHtmlAttrs,wd as applyHead,pb as applyFilters,Hl as appendVary,Xc as apiCspPreset,y as animationGroupDirective,fj as analyzeVideo,fm as analyzeUsage,Al as analyzeTemplate,Bl as analyzeProject,fm as analyzeDirectiveUsage,Eb as analyticsDirective,Sn as addStore,Rn as addPage,$c as addNonceToInlineContent,Tn as addLayout,Qn as addComponent,En as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,We as __setSignalsGeneratorsForTest,Wf as __setBuildIdForTest,Yi as VideoProcessorCache,kh as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Ac as Tokenizer,Zn as TemplateTypeChecker,yn as TEMPLATE_PRESETS,jc as StxValidationError,fc as StxSyntaxError,hc as StxSecurityError,gc as StxRuntimeError,ic as StxFileError,ec as StxError,Gq as Show,ie as SUSPENSE_RESOLVER_RUNTIME,ja as STX_RUNTIME_GLOBALS,Ra as STX_AUTO_IMPORTS,Ka as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,El as SPA_NAV_HEADER,sa as RUNTIME_OWNED_COLON_ATTRS,ua as RUNTIME_HANDLED_X_ATTRS,Fb as RESPONSE_STATUS_KEY,Gb as RESPONSE_HEADERS_KEY,oa as REACTIVE_RUNTIME_GLOBALS,Fn as ProductionBuild,Iq as Portal,On as PROJECT_TEMPLATES,ip as PRESETS,na as NON_CLIENT_PRIMITIVES,Eo as MemorySessionStore,ai as MIME_TYPES,Zh as MEDIA_DEFAULT_WIDTHS,$h as MEDIA_DEFAULT_FORMATS,Pl as LAYOUT_TYPES_FILE,Ni as ImageProcessorCache,Ck as ImageProcessingError,zo as HydrationRuntime,Kj as HotReloadServer,ha as HeatmapAggregator,_f as HTML_CLASS_MARKER,Zf as HTML_ATTRS_MARKER,zq as Fragment,Hq as For,Fl as FRAGMENT_CACHE_CONTROL,rc as ErrorLogger,Xb as ErrorCodes,Sj as EXTERNALIZED_ASSET_DIR,ok as DeployError,pk as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,Ja as DEFAULT_STATE_DIR,rk as DEFAULT_QUALITY,qi as DEFAULT_PLACEHOLDER_OPTIONS,qk as DEFAULT_FORMATS,_h as DEFAULT_DPR_VALUES,qo as ComponentHMRHandler,ka as COMPONENT_SCOPE_LOCAL_GLOBALS,wa as COMPONENT_PASSTHROUGH_X_ATTRS,ma as COMPILE_TIME_ONLY_GLOBALS,ii as COMMON_SIZES,Nf as COLOR_MODE_BOOT_MARKER,Of as COLOR_MODE_BOOT_GLOBAL,Yf as CLOAK_STYLE,Bm as BroadcastServer,Am as Broadcast,Tf as BUILD_ID_META,Uf as BUILD_ID_HEADER,Ga as BROWSER_CORE_IMPORTS,ri as BLUR_UP_CSS,va as ALPINE_BRIDGE_X_ATTRS,Sq as $path};
|
|
2
|
+
import{$ as ml,$a as dn,$b as wo,$c as wp,$d as wq,A as Yj,Aa as om,Ab as Qn,Ac as Xo,Ad as Xp,Ae as br,B as Zj,Ba as pm,Bb as Rn,Bc as Yo,Bd as Yp,Be as cr,C as _j,Ca as Cm,Cb as Sn,Cc as Zo,Cd as Zp,Ce as dr,D as $j,Da as Dm,Db as Tn,Dc as _o,Dd as _p,De as er,E as Rk,Ea as Em,Eb as Un,Ec as $o,Ed as $p,Ee as fr,F as Sk,Fa as Fm,Fb as Vn,Fc as ap,Fd as aq,Fe as gr,G as Tk,Ga as Gm,Gb as Wn,Gc as bp,Gd as bq,Ge as hr,H as Uk,Ha as Hm,Hb as Xn,Hc as cp,Hd as cq,He as ir,I as Vk,Ia as Lm,Ib as Yn,Ic as dp,Id as dq,Ie as jr,J as Wk,Ja as Mm,Jb as Zn,Jc as ep,Jd as eq,Je as kr,K as Xk,Ka as Nm,Kb as _n,Kc as fp,Kd as fq,Ke as lr,L as Yk,La as Om,Lb as $n,Lc as gp,Ld as gq,Le as mr,M as Zk,Ma as Pm,Mb as ao,Mc as hp,Md as hq,Me as nr,N as _k,Na as Qm,Nb as bo,Nc as ip,Nd as iq,Ne as or,O as $k,Oa as Rm,Ob as jo,Oc as jp,Od as jq,Oe as pr,P as al,Pa as Sm,Pb as ko,Pc as kp,Pd as kq,Pe as qr,Q as bl,Qa as Tm,Qb as lo,Qc as lp,Qd as lq,Qe as rr,R as cl,Ra as Um,Rb as mo,Rc as mp,Rd as mq,Re as sr,S as dl,Sa as Vm,Sb as no,Sc as np,Sd as nq,Se as tr,T as el,Ta as Wm,Tb as oo,Tc as op,Td as oq,Te as ur,U as fl,Ua as Xm,Ub as po,Uc as pp,Ud as pq,Ue as vr,V as gl,Va as Ym,Vb as qo,Vc as qp,Vd as qq,Ve as wr,W as hl,Wa as Zm,Wb as ro,Wc as rp,Wd as rq,We as xr,X as il,Xa as _m,Xb as so,Xc as sp,Xd as sq,Xe as yr,Y as jl,Ya as an,Yb as to,Yc as tp,Yd as tq,Ye as zr,Z as kl,Za as bn,Zb as uo,Zc as up,Zd as uq,_ as ll,_a as cn,_b as vo,_c as vp,_d as vq,aa as nl,ab as en,ac as xo,ad as xp,ae as xq,ba as ol,bb as fn,bc as yo,bd as yp,be as yq,ca as pl,cb as gn,cc as zo,cd as zp,ce as zq,da as ql,db as hn,dc as Ao,dd as Ap,de as Aq,ea as rl,eb as jn,ec as Bo,ed as Bp,ee as Bq,fa as sl,fb as kn,fc as Co,fd as Cp,fe as Cq,ga as tl,gb as ln,gc as Do,gd as Dp,ge as Dq,ha as ul,hb as mn,hc as Eo,hd as Ep,he as Eq,ia as vl,ib as nn,ic as Fo,id as Fp,ie as Fq,ja as wl,jb as on,jc as Go,jd as Gp,je as Gq,ka as xl,kb as pn,kc as Ho,kd as Hp,ke as Hq,la as yl,lb as qn,lc as Io,ld as Ip,le as Iq,ma as zl,mb as rn,mc as Jo,md as Jp,me as Jq,na as Al,nb as sn,nc as Ko,nd as Kp,ne as Kq,o as a,oa as Bl,ob as tn,oc as Lo,od as Lp,oe as Lq,p as Jj,pa as dm,pb as wn,pc as Mo,pd as Mp,pe as Sq,q as Kj,qa as em,qb as xn,qc as No,qd as Np,qe as Tq,r as Lj,ra as fm,rb as yn,rc as Oo,rd as Op,re as Uq,s as Mj,sa as gm,sb as zn,sc as Po,sd as Pp,se as Vq,t as Nj,ta as hm,tb as Fn,tc as Qo,td as Qp,te as Wq,u as Oj,ua as im,ub as Gn,uc as Ro,ud as Rp,ue as Xq,v as Pj,va as jm,vb as Hn,vc as So,vd as Sp,ve as Yq,w as Qj,wa as km,wb as In,wc as To,wd as Tp,we as Zq,x as Rj,xa as lm,xb as Nn,xc as Uo,xd as Up,xe as _q,y as Wj,ya as mm,yb as On,yc as Vo,yd as Vp,ye as $q,z as Xj,za as nm,zb as Pn,zc as Wo,zd as Wp,ze as ar}from"./chunk-aagn8j9e.js";import{$e as ck,Ze as ak,_e as bk,af as dk,bf as ek,cf as fk,df as gk,ef as hk,ff as ik,gf as jk,hf as kk,if as lk,jf as mk,kf as nk,lf as ok}from"./chunk-ym3r8ktq.js";import{mf as Fk,nf as Gk,of as Hk,pf as Ik,qf as Jk,rf as Kk,sf as Lk,tf as Mk,uf as Nk,vf as Ok,wf as Pk,xf as Qk}from"./chunk-mv0syvrg.js";import{Af as fo,Bf as go,Cf as ho,Df as io,yf as co,zf as eo}from"./chunk-k4m48h62.js";import{Ef as un,Ff as vn}from"./chunk-pbsfbgx7.js";import{Gf as An}from"./chunk-nwq01xh0.js";import{Hf as Tl,If as Ul,Jf as Vl,Kf as Wl,Lf as Zl,Mf as bm}from"./chunk-nfykda12.js";import{Nf as Xl,Qf as Yl}from"./chunk-6yphtg3q.js";import{$f as tm,Yf as qm,Zf as rm,_f as sm,ag as um,bg as vm,cg as wm,dg as xm,eg as ym,fg as zm,gg as Am,hg as Bm}from"./chunk-0j9hrzjj.js";import{ig as Dk,jg as Ek}from"./chunk-behbakfv.js";import{kg as cm}from"./chunk-6g4mnrr0.js";import{lg as Im,mg as Jm,ng as Km,og as $m,pg as Bn,qg as Cn,rg as Dn,sg as En,tg as Jn,ug as Kn,vg as Ln,wg as Mn}from"./chunk-nswz1rkm.js";import{Ag as Fl,Bg as Gl,Cg as Hl,Dg as Il,Eg as Jl,Fg as Kl,Gg as Ll,Hg as Ml,Ig as Nl,Jg as Ol,Kg as _l,Lg as $l,Mg as am,xg as Cl,yg as Dl,zg as El}from"./chunk-a7x7dmtf.js";import{Ng as Yi,Og as Zi,Pg as _i,Qg as $i,Rg as aj,Sg as bj,Tg as cj,Ug as dj,Vg as ej,Wg as fj,Xg as gj}from"./chunk-9y175wxc.js";import{Yg as yj,_g as zj}from"./chunk-f5v2qf95.js";import{eh as pk,fh as qk,gh as rk,hh as sk,ih as tk,jh as uk,kh as vk,mh as wk,nh as xk,oh as yk,ph as zk,qh as Ak,rh as Bk,uh as Ck}from"./chunk-4ay1ymgp.js";import{vh as ih,wh as jh,xh as kh,yh as lh}from"./chunk-49kk0s96.js";import{Dh as mh}from"./chunk-w3ycm4na.js";import{Eh as th,Fh as uh,Gh as vh,Hh as wh,Ih as xh,Jh as yh}from"./chunk-4mw2kfqd.js";import{Kh as Ni,Lh as Oi,Mh as Pi,Qh as Qi,Rh as Ri,Sh as Si}from"./chunk-8jvmjzmr.js";import{$h as Ki,Th as Di,Uh as Ei,Vh as Fi,Wh as Gi,Xh as Hi,Zh as Ii,_h as Ji,ai as Li,bi as Mi}from"./chunk-74cv4ta1.js";import{ci as tg,di as ug,ei as vg,fi as wg,gi as xg,hi as yg}from"./chunk-wcm80anz.js";import{ii as zg,ji as Ag,ki as Bg,li as Cg,mi as Dg}from"./chunk-y7m2dpd3.js";import{ni as Eg,oi as Fg,pi as Gg,qi as Hg,ri as Ig}from"./chunk-9y0g8kzt.js";import{si as Jg,ti as Kg,ui as Lg,vi as Mg,wi as Ng,xi as Og,yi as Pg}from"./chunk-t6nseeb9.js";import{Ai as Rg,Bi as Sg,Ci as Tg,Di as Ug,Ei as Vg,zi as Qg}from"./chunk-xttsqmkm.js";import{Gi as Wg,Hi as Xg,Ii as Yg,Ji as Zg,Ki as _g,Li as $g,Mi as ah,Ni as bh,Oi as ch,Pi as dh,Qi as eh,Ri as fh,Si as gh,Ti as hh}from"./chunk-54st8g2j.js";import{Vi as ng,Wi as og}from"./chunk-8evws5cc.js";import{Zi as pg}from"./chunk-6g7m08rv.js";import"./chunk-9n0gvfrg.js";import{bj as qg}from"./chunk-7q9mwh4v.js";import{cj as rg,dj as sg}from"./chunk-refwkt87.js";import{ej as ge,fj as he,gj as ie,hj as je,ij as ke,jj as le,kj as me,lj as ne,mj as oe,nj as pe,oj as qe,pj as re,qj as se,rj as te}from"./chunk-fn9yw31x.js";import{sj as Qe,tj as Re}from"./chunk-gej3rmfy.js";import{Aj as Ce,Bj as De,Cj as Ee,Dj as Fe,Ej as Ge,Fj as He,Gj as Ie,Hj as Je,Ij as Ke,Jj as Le,Kj as Me,Lj as Ne,Mj as Oe,Nj as Pe}from"./chunk-w95sp0k9.js";import{Oj as Se,Pj as Te,Qj as Ue,Rj as Ve,Sj as We,Tj as Xe,Uj as Ye,Vj as Ze,Wj as _e,Xj as $e,Yj as af}from"./chunk-yxp7wv61.js";import{qk as Mq,rk as Nq,sk as Oq,tk as Pq,uk as Qq,vk as Rq}from"./chunk-2qsa4h1t.js";import{Ak as Pl,Bk as Ql,Ck as Rl,Dk as Sl,wk as Sj,xk as Tj,yk as Uj,zk as Vj}from"./chunk-1m4sa11y.js";import"./chunk-58f0mthg.js";import"./chunk-c1r9q5pk.js";import{$l as Xa,$m as Wb,$n as Wc,$o as Ae,$p as Jf,$q as Ph,$r as xj,Al as J,Am as qb,An as vc,Ao as Ld,Ap as hf,Aq as ig,Ar as xi,Bl as da,Bm as rb,Bn as wc,Bo as Md,Bp as jf,Bq as jg,Br as yi,Cl as ea,Cm as yb,Cn as xc,Co as Nd,Cp as kf,Cq as kg,Cr as zi,Dl as fa,Dm as zb,Dn as yc,Do as Od,Dp as lf,Dq as lg,Dr as Ai,El as ga,Em as Ab,En as zc,Eo as Pd,Ep as mf,Eq as mg,Er as Bi,Fl as ha,Fm as Bb,Fn as Ac,Fo as Qd,Fp as nf,Fq as nh,Fr as Ci,Gl as ia,Gm as Cb,Gn as Bc,Go as Rd,Gp as of,Gq as oh,Gr as Ti,Hm as Db,Hn as Cc,Ho as Sd,Hp as pf,Hq as ph,Hr as Ui,Im as Eb,In as Dc,Io as Td,Ip as qf,Iq as qh,Ir as Vi,Jl as za,Jn as Ec,Jo as Ud,Jp as rf,Jq as rh,Jr as Wi,Kl as Aa,Km as Fb,Kn as Fc,Ko as Vd,Kp as sf,Kq as sh,Kr as Xi,Ll as Ba,Lm as Gb,Ln as Gc,Lo as Wd,Lp as tf,Lq as zh,Lr as hj,Ml as Ca,Mm as Hb,Mn as Hc,Mo as Xd,Mp as uf,Mq as Ah,Mr as ij,Nl as Da,Nm as Ib,Nn as Ic,No as Yd,Np as vf,Nq as Bh,Nr as jj,Om as Jb,On as Jc,Oo as Zd,Op as wf,Oq as Ch,Or as kj,Pm as Kb,Pn as Kc,Po as _d,Pp as xf,Pq as Dh,Pr as lj,Ql as Ga,Qm as Lb,Qn as Lc,Qo as $d,Qp as yf,Qq as Eh,Qr as mj,Rl as Ha,Rm as Mb,Rn as Mc,Ro as ae,Rp as zf,Rq as Fh,Rr as nj,Sl as Ia,Sm as Nb,Sn as Nc,So as be,Sp as Af,Sq as Gh,Sr as oj,Tl as Pa,Tm as Ob,Tn as Oc,To as ce,Tp as Bf,Tq as Hh,Tr as pj,Ul as Qa,Um as Pb,Un as Pc,Uo as de,Up as Cf,Uq as Ih,Ur as qj,Vl as Ra,Vm as Qb,Vn as Qc,Vo as ee,Vp as Df,Vq as Jh,Vr as rj,Wl as Sa,Wm as Rb,Wn as Rc,Wo as fe,Wp as Ef,Wq as Kh,Wr as sj,Xl as Ta,Xm as Sb,Xn as Sc,Xp as Ff,Xq as Lh,Xr as tj,Yl as Ua,Ym as Tb,Yn as Tc,Yo as ze,Yp as Gf,Yq as Mh,Yr as uj,Zl as Va,Zm as Ub,Zn as Uc,Zp as Hf,Zq as Nh,Zr as vj,_l as Wa,_m as Vb,_n as Vc,_p as If,_q as Oh,_r as wj,am as Ya,an as Xb,ao as Xc,ap as Be,aq as Kf,ar as Zh,as as Aj,bn as Yb,bo as Yc,bq as Lf,br as _h,bs as Bj,cn as Zb,co as Zc,cp as bf,cq as Mf,cr as $h,cs as Cj,dn as _b,do as _c,dq as Nf,dr as ai,ds as Dj,en as $b,eo as $c,eq as Of,er as bi,es as Ej,fm as Za,fn as ac,fo as ad,fq as Pf,fr as ci,fs as Fj,gm as _a,gn as bc,go as bd,gq as Qf,gr as di,gs as Gj,hm as $a,hn as cc,ho as cd,hq as Rf,hr as ei,hs as Hj,im as ab,in as dc,io as dd,iq as Sf,ir as fi,is as Ij,jl as s,jm as bb,jn as ec,jo as ed,jq as Tf,jr as gi,kl as t,km as cb,kn as fc,ko as fd,kq as Uf,kr as hi,ll as u,ln as gc,lo as gd,lq as Vf,lr as ii,ml as v,mn as hc,mo as hd,mq as Wf,mr as ji,nl as w,nm as db,nn as ic,no as id,nq as Xf,nr as ki,ol as x,om as eb,on as jc,oo as jd,oq as Yf,or as li,pl as y,pm as fb,pn as kc,po as Ad,pq as Zf,pr as mi,ql as z,qm as gb,qn as lc,qo as Bd,qq as _f,qr as ni,rl as A,rm as hb,rn as mc,ro as Cd,rq as $f,rr as oi,sl as B,sm as ib,sn as nc,so as Dd,sq as ag,sr as pi,tl as C,tm as jb,tn as oc,to as Ed,tp as cf,tq as bg,tr as qi,ul as D,um as kb,un as pc,uo as Fd,uq as cg,ur as ri,vl as E,vm as lb,vn as qc,vo as Gd,vp as df,vq as dg,vr as si,wl as F,wm as mb,wn as rc,wo as Hd,wq as eg,wr as ti,xl as G,xm as nb,xn as sc,xo as Id,xp as ef,xq as fg,xr as ui,yl as H,ym as ob,yn as tc,yo as Jd,yp as ff,yq as gg,yr as vi,zl as I,zm as pb,zn as uc,zo as Kd,zp as gf,zq as hg,zr as wi}from"./chunk-mbvkvac6.js";import{js as d,ks as e,ls as f,ms as g,ns as h,os as i,ps as j,qs as k,rs as l,ss as m,ts as n,us as o,vs as p,ws as q,xs as r}from"./chunk-0athjw48.js";import{As as Sh,Bs as Th,Cs as Uh,Ds as Vh,Es as Wh,Fs as Xh,Gs as Yh,ys as Qh,zs as Rh}from"./chunk-135mme4g.js";import{Hs as b,Is as c}from"./chunk-f3m0q482.js";import{Js as Ea,Ks as Fa}from"./chunk-f1jd5qjb.js";import{Ts as sb,Us as tb,Ws as ub,et as vb,ft as wb,gt as xb}from"./chunk-jb7h4qgh.js";import{ht as ue,it as ve,jt as we,kt as xe,nt as ye}from"./chunk-jnbhyzkv.js";import{ot as Ja,pt as Ka,qt as La,rt as Ma,st as Na,tt as Oa}from"./chunk-bby4emay.js";import{At as qd,Bt as rd,Ct as sd,Dt as td,Et as ud,Ft as vd,Gt as wd,Ht as xd,It as yd,Jt as zd,ut as kd,vt as ld,wt as md,xt as nd,yt as od,zt as pd}from"./chunk-52wr95ps.js";import"./chunk-j24k071e.js";import{$t as xa,Nt as ja,Ot as ka,Pt as la,Qt as ma,Rt as na,St as oa,Tt as pa,Ut as qa,Vt as ra,Wt as sa,Xt as ta,Yt as ua,Zt as va,_t as wa,au as ya}from"./chunk-sde45gh3.js";import{Au as V,Bu as W,Cu as X,Du as Y,Eu as Z,Fu as _,Gu as $,Hu as aa,Iu as ba,Ku as ca,eu as K,fu as L,iu as M,nu as N,ou as O,uu as P,vu as Q,wu as R,xu as S,yu as T,zu as U}from"./chunk-5wkwhjjn.js";import"./chunk-krgth3gf.js";import"./chunk-f8wjdg40.js";export{kk as writeNetlifyConfig,$l as writeManifest,Pk as writeImageManifest,so as wrapComponentForHMR,mr as withDefaults,xj as webComponentDirectiveHandler,hp as watermark,jq as watchViews,Zk as watchMultiple,_k as watchEffect,Yk as watch,ye as warmImagePlaceholders,ll as waitForStore,Zd as waitForLocale,eo as virtualPathFor,kj as videoDirective,uc as validators,qr as validated,Ld as validateValueEnhanced,oh as validateTemplate,mp as validateParams,Md as validateFormEnhanced,_p as validateFile,Hd as validateFields,Gd as validateField,qh as validateDirective,ed as validateCspDirectives,Fj as validateConfig,em as validateComponentScripts,Cm as validateComponentProps,mg as validateClientScript,lh as v,kb as usesSignalsInScript,pa as usesReactiveRuntime,Dh as userComponentFileExists,Tg as useVirtualList,sd as useTitle,kl as useStoreOrThrow,Ko as useStore,Wj as useStorage,uq as useSlots,Yj as useSessionStorage,pd as useSeoMeta,ml as useRouteParams,ol as useRouteParamOrThrow,nl as useRouteParam,sd as usePageTitle,Pe as useOptimistic,ql as useMiddlewareValue,pl as useMiddlewareState,Xj as useLocalStorage,lo as useLoadingIndicator,nd as useHead,ih as useForm,wq as useAttrs,aq as uploadFiles,$p as uploadFile,hl as updateInstance,Ne as untrack,Th as unregisterDirective,il as unmountInstance,rb as unescapeHtml,ho as typecheckStxFiles,Ch as transpileTypeScript,$q as translate,w as transitionDirective,Ta as transformAutoImports,wm as toUsers,vm as toUser,So as thumbnail,Tp as thumbHashToRGBA,Up as thumbHashToDataURL,ra as templateNeedsRuntime,qa as templateHasReactiveContext,Se as templateCache,Nb as syncRecordedResponse,po as stxClientHelpers,xf as structuredDataDirective,cr as stripLocalePrefix,Ml as stripDocumentWrapper,Fa as stripCommentsAndLiterals,kn as stringToStream,Uc as strictCspPreset,oe as streamingSuspenseDirective,se as streamToResponse,me as streamTemplateSimple,ge as streamTemplate,Rj as stopHmrServer,sm as stopBroadcasting,Ma as stateDirName,Na as stateDir,Ce as state,gg as startsDocument,Mn as startProductionServer,An as startInteractive,rm as startBroadcasting,er as stampLocaleLayoutGroup,D as staggerDirective,kp as srcsetUrls,E as springDirective,Dc as splitByPipe,Il as spaNavVaryHeaders,fo as sourcePathFor,rp as smartBatchSign,Fh as slotContentHasExpressions,pp as signUrl,Ah as shouldTranspileTypeScript,Oj as shouldReloadOnChange,up as shouldRefreshSignature,Pj as shouldIgnoreFile,Lg as shouldCacheComponent,Wo as sharpen,tr as shape,La as setStateDir,ul as setRouteParams,vl as setMiddlewareState,xe as setImagePlaceholder,oq as setGlobalProvide,Rb as setErrorLocale,Rk as setCurrentInstance,_i as setCachedVideoResult,Pi as setCachedImageResult,Ji as setCached,wr as serveStxFile,yr as serveMultipleStxFiles,Jj as serveMarkdownFile,Wn as serveFile,zr as serveApp,Vn as serve,vo as serializeState,$m as serializeSetCookie,Yo as sepia,qd as seoMetaToHeadConfig,x as scrollAnimateDirective,q as screenReaderDirective,oj as scopeHTML,nj as scopeCSS,Af as scanForSitemapEntries,k as scanA11yTargets,l as scanA11yIssues,ap as saturation,np as sanitizeParams,wc as sanitizeFilePath,xc as sanitizeExpression,yc as sanitizeDirectiveParams,vc as sanitizeDirectiveParam,zc as sanitizeComponentProps,pc as safeExecuteAsync,oc as safeExecute,xa as runtimeHandledXAttrsLiteral,qf as runPreProcessingMiddleware,rf as runPostProcessingMiddleware,Dn as runPageAction,Ie as runMountCallbacks,ba as runMiddleware,fl as runHooks,Uq as runDoctor,Je as runDestroyCallbacks,Ff as runComposers,bp as rotate,mh as rewriteImagesWithSiblings,Ob as responseBindings,Jh as resolveTemplatePath,c as resolveStxTargets,Bj as resolveStxDirectories,_q as resolveI18n,Qo as resize,Za as resetPlaceholders,md as resetHead,uo as resetHMRHandler,cc as resetErrorConfig,or as required,bb as replacePlaceholders,hq as renderView,hj as renderVideoComponent,Qa as renderVendorStyleTags,Dq as renderToString,Eq as renderToStream,Fq as renderToDOM,Sp as renderThumbhashToCanvas,Rq as renderTemplateString,Pq as renderTemplate,Qq as renderString,je as renderStreamingPage,vh as renderSlot,Bg as renderSSRSuspense,Cp as renderProtectedVideo,Bp as renderProtectedImg,op as renderMediaUpload,Oq as renderMarkdownView,Rl as renderLayoutTypes,Ti as renderImgComponent,Fk as renderImageComponent,ud as renderHtmlAttrs,td as renderHead,kq as renderEmail,Hh as renderComponentWithSlot,vd as renderBodyAttrs,Fo as render,Wc as relaxedCspPreset,Fd as registerValidationRule,qe as registerStreamingDirectives,Mo as registerStoresClient,sl as registerStore,yf as registerSeoDirectives,V as registerMiddleware,fb as registerFilters,eb as registerFilter,Tb as registerErrorMessages,Kd as registerEnhancedValidationRule,Qh as registerDirective,dd as registerCspDirectives,Fm as registerComponentDirectives,J as registerAnimationDirectives,r as registerA11yDirectives,Vk as ref,sn as redirect,Jb as recordResponseStatus,Kb as recordResponseHeader,Oa as rebaseOntoStateDir,Lb as readResponseStatus,Mb as readResponseHeaders,Hj as readMarkdownFile,Te as readFileCached,Wk as reactive,fp as quality,zp as pruneSignatureCache,Mi as pruneCache,mq as provide,Nq as protectCodeBlocks,nr as prop,Jf as processVueTemplate,Rg as processVirtualListDirectives,Vg as processVirtualGridDirectives,gj as processVideo,Id as processValidateDirective,ee as processTranslateDirective,vg as processTransitionDirectives,yg as processTransitionAttributes,yd as processTitleDirective,Bb as processTemplateBindings,rg as processTeleportDirectives,zg as processSuspenseDirectives,tf as processStructuredData,ke as processStreamDirectives,Pb as processStatusDirective,gh as processStaticDirectives,of as processStackReplacements,nf as processStackPushDirectives,wh as processSlots,Kl as processShell,Hf as processServerBindings,uf as processSeoDirective,re as processSectionDirectives,Mf as processScopedStyles,zb as processReactiveBindings,Dp as processProtectedMedia,$g as processPartialHydrationDirectives,lg as processOnceDirective,pf as processMiddleware,sf as processMetaDirectives,zd as processMetaDirective,Ij as processMarkdownFileDirectives,Oh as processMarkdownDirectives,hf as processLoops,Jg as processKeepAliveDirectives,kg as processJsonDirective,Ug as processInfiniteListDirectives,mf as processIncludes,Vi as processImgComponents,Hk as processImageComponents,uk as processImage,xd as processHeadDirective,Bd as processForms,Dd as processFormInputDirectives,ob as processExpressions,Ca as processEventDirectives,Ed as processErrorDirective,Kf as processDynamicComponents,nh as processDirectives,Yh as processDirectiveAttributes,qg as processDeferDirectives,id as processCustomDirectives,ad as processCspDirectives,ur as processComponentProps,Ya as processClientScript,Cd as processBasicFormDirectives,Eg as processAsyncDirectives,jd as processAppearanceBootstrapDirective,A as processAnimationDirectives,f as processA11yDirectives,Vd as preloadTranslationsBackground,Ud as preloadTranslations,ko as preloadIslandHandlers,ze as preloadIconCollection,nm as poolStrings,zj as pluginManager,ve as placeholdersWarmed,ug as performLeave,tg as performEnter,Ke as pendingLifecycleCounts,Oe as peek,jf as partialsCache,ij as parseVideoDirectiveOptions,Oo as parseUrl,Vp as parseThumbhashString,Jc as parseSwitchBlock,th as parseSlots,uh as parseSlotElement,Oc as parseScriptDeclarations,vj as parseSFCComponent,Ep as parseProtectedArgs,gf as parseLoopBinding,Ui as parseImgComponent,ki as parseImageUrl,Gk as parseImageComponent,Bn as parseFormBody,Lc as parseExpressionWithFilters,Gm as parseDefaults,pn as parseCookies,Lm as parseContainerSelector,Gc as parseConditionalBlock,Mc as parseArguments,H as parseAnimationShorthand,pr as optional,om as optimizeTemplate,Mk as optimizeImage,Nk as optimizeDirectory,rr as oneOf,kf as onceStore,cl as onUpdated,yb as onUpdate,el as onUnmounted,zl as onServer,al as onMounted,Ge as onMount,fh as onHydrated,sq as onErrorCaptured,He as onDestroy,Pg as onDeactivated,yl as onClient,bl as onBeforeUpdate,dl as onBeforeUnmount,$k as onBeforeMount,Og as onActivated,Op as observeElement,tn as notFound,Rf as normalizeCriticalHeadOrder,rq as nextTick,Jm as negotiateEncoding,P as navigateTo,gl as mountInstance,z as motionDirective,Vc as moderateCspPreset,mm as minifyHtml,wf as metaDirective,$f as metaDedupKey,Po as mergeParams,bg as mergeHtmlAttrs,od as mergeHeadConfigs,Zc as mergeCspDirectives,tb as mergeCrosswindConfig,M as matchRoute,Ph as markdownDirectiveHandler,Gj as markdownCache,b as looksLikeGlob,br as localizePath,Wd as loadTranslationLazy,ae as loadTranslation,Cj as loadStxConfig,_ as loadMiddlewareFromDirectory,am as loadManifest,Kp as loadElement,tm as loadChannels,ir as lintStxStrict,Mp as lazyLoadAll,Lp as lazyLoad,C as keyframeDirective,Bq as jsxs,Cq as jsxDEV,Aq as jsx,rn as jsonResponse,pe as islandDirective,$b as isTest,Nl as isSpaNavigation,Gl as isSpaNavRequest,sp as isSignatureValid,Le as isSignal,sk as isSharpAvailable,cn as isServerEnvironment,wl as isServer,ta as isRuntimeOwnedColonAttr,Zb as isProduction,d as isPresentationalRole,Hp as isNativeLazySupported,Mq as isMarkdownPath,Sd as isLoading,Td as isLoaded,zh as isJavaScriptScript,Ip as isIntersectionObserverSupported,Ak as isImageFile,tk as isImageBackendAvailable,ce as isICUFormat,eh as isHydrated,Eh as isHydrateTrigger,Hb as isHttpStatus,bn as isEdgeEnvironment,jr as isDirectiveKind,_b as isDevelopment,Me as isDerived,Nj as isCssOnlyChange,Im as isCompressible,xl as isClient,Gg as isAsyncComponent,Cn as isActionableMethod,Zo as invert,Ve as invalidateFileCacheByDir,Ue as invalidateFileCache,nb as interpolateScriptsInTemplate,lb as interpolateScriptExpressions,mb as interpolateScriptAttributes,lc as inlineError,Zq as injectThemeBootstrap,vf as injectSeoTags,Wq as injectSeo,bf as injectRouterScript,Mj as injectHotReload,fa as injectHeatmap,_c as injectCspMetaTag,xb as injectCrosswindCSS,ig as injectConfigHeadTags,Qf as injectColorModeBootScript,dg as injectCloakStyle,Xf as injectBuildId,Sa as injectBrowserCoreAutoImports,Db as injectAnalytics,nq as inject,rl as initStoreRegistry,nk as initNetlify,mo as initLoadingIndicator,Jp as initLazyLoading,zn as initFile,Rp as initBlurUp,Xp as initAllBlurUp,Xi as imgDirective,Kk as imageDirective,Kn as hydrateTemplateStream,Jn as hydrateTemplate,jo as hydrateIslands,bh as hydrateIsland,Ln as hydrateFragment,ch as hydrateByStrategy,dh as hydrateAll,Co as hydrate,Un as htmlResponse,eg as hoistLeadingHeadTags,Sf as hoistColorModeBootScript,ga as heatmapDirective,Fi as hashString,af as hashFilePath,Di as hashFile,Ei as hashBuffer,If as hasVueTemplateSyntax,ff as hasVariables,Ho as hasStore,cb as hasPlaceholders,lk as hasNetlifyConfig,X as hasMiddleware,Da as hasEventDirectives,hg as hasDocumentShell,rh as hasDirectives,h as hasDOMSupport,Dk as handleImageRequest,tq as handleError,Jq as h,zk as groupVariantsByFormat,Xo as grayscale,Nn as gitHash,gm as getUnusedDirectives,Xd as getTranslationSync,Qd as getTranslationCacheStats,Yd as getTranslationAsync,de as getTranslation,gk as getTotalSize,tp as getTimeUntilExpiry,ng as getStoreScript,Io as getStoreNames,Go as getStore,$j as getStorageSize,_j as getStorageKeys,Kh as getSourceLineInfo,Bh as getSharedTranspiler,g as getScreenReaderOnlyStyle,pj as getScopeAttribute,Be as getRouteParams,Ha as getPublicEnvDefine,Ia as getPublicEnv,ph as getPositionInfo,$a as getPlaceholderRegistry,Ci as getPlaceholderCacheStats,ld as getPageMeta,Qc as getNonce,Bk as getMimeType,Z as getMiddlewareNames,W as getMiddleware,Rd as getLoadingState,_d as getLoadingLocales,ue as getImagePlaceholder,vk as getImageMetadata,Bo as getHydrationRuntime,tl as getHydratedStoreState,Qj as getHmrServer,kd as getHead,to as getHMRHandler,oi as getFormatExtension,Hi as getFileMtime,yk as getFallbackVariant,Vb as getErrorMessage,Sb as getErrorLocale,bc as getErrorConfig,Yb as getErrorCodeName,Sh as getDirectives,Rh as getDirective,Sk as getCurrentInstance,Yc as getCspPreset,fd as getCspHeaderName,ub as getCrosswindServeAsset,Nh as getComponentCacheStats,Zi as getCachedVideoResult,xp as getCachedSignature,Xe as getCachedSignalsRuntime,Ye as getCachedRouterScript,Ai as getCachedPlaceholder,Oi as getCachedImageResult,Ii as getCached,Li as getCacheStats,Vf as getBuildId,qm as getBroadcastServer,ni as getBestVariant,gb as getAllFilters,bi as generateWidthSrcset,Sg as generateVirtualListCSS,cq as generateVideoPreview,Nd as generateValidationScript,dq as generateUploadRuntime,hm as generateTreeShakenBundle,xg as generateTransitionRuntime,wg as generateTransitionCSS,bj as generateThumbnails,ti as generateThumbhashPlaceholder,Um as generateTemplatesDocs,Dg as generateSuspenseRuntime,Cg as generateSuspenseCSS,wo as generateStateScript,li as generateSrcsetData,Si as generateSrcset,wk as generateSrcSet,cj as generateSpriteSheet,lq as generateSpaShell,mi as generateSourceTags,hi as generateSizesFromBreakpoints,gi as generateSizesAttribute,xk as generateSizes,zf as generateSitemapIndex,Xq as generateSitemap,Gp as generateSimpleMediaPicker,Ap as generateSignatureRuntime,Re as generateSignalsRuntimeDev,Qe as generateSignalsRuntime,Xa as generateServerDataBridge,mj as generateScopeId,wj as generateSFCWebComponent,Aa as generateRuntimeScript,K as generateRouteTypes,L as generateRouteManifest,Bf as generateRobotsTxt,Yq as generateRobots,Ri as generateResponsiveVariants,sj as generateReactiveWebComponentTS,rj as generateReactiveWebComponent,uj as generateReactiveRuntime,tj as generateReactiveMixin,aj as generatePoster,zi as generatePlaceholderStyle,yi as generatePlaceholderCSS,si as generatePlaceholder,ah as generatePartialHydrationCSS,Pc as generateNonce,hk as generateNetlifyToml,fq as generateMinifiedMediaRuntime,eq as generateMediaRuntime,Fp as generateMediaManagerEmbed,_l as generateManifest,oo as generateLoadingIndicatorHtml,Qp as generateLazyLoadRuntime,Sl as generateLayoutTypes,vi as generateLQIP,Ng as generateKeepAliveRuntime,Mg as generateKeepAliveCSS,hh as generateIslandManifest,bq as generateImagePreview,Ok as generateImageManifest,Ao as generateHydrationScript,te as generateHydrationRuntime,Do as generateHydrationCSS,Wg as generateHydrationBootstrap,Lj as generateHotReloadScript,ea as generateHeatmapScript,ro as generateHMRClientScript,dj as generateHLSManifest,xo as generateEventBindings,fi as generateDprSrcsetWithVariableQuality,ei as generateDprSrcset,fg as generateDocumentShell,Zm as generateDocs,Vm as generateDirectivesDocs,Xh as generateDirectiveRuntime,Cf as generateDefaultRobotsTxt,ej as generateDASHManifest,Tc as generateCspMetaTag,Sc as generateCspHeader,wb as generateCrosswindCSS,yq as generateCompositionRuntime,Tm as generateComponentsDocs,Xg as generateComponentManifest,Rm as generateComponentDoc,xi as generateColorPlaceholder,Pf as generateColorModeBootScript,jl as generateClientRuntime,Gi as generateCacheKey,Va as generateBrowserAutoImportDestructuring,Yp as generateBlurUpRuntime,Zp as generateBlurUpCSS,Ab as generateBindingsRuntime,ci as generateAutoWidthSrcset,Ua as generateAutoImportDestructuring,Ig as generateAsyncComponentRuntime,Hg as generateAsyncComponentCSS,I as generateAnimationRuntime,G as generateAnimationCSS,Cb as generateAnalyticsScript,io as formatTypecheckDiagnostics,bo as formatTypeErrors,wn as formatStxContent,fk as formatSize,O as formatRoutes,xn as formatMarkdownContent,Wb as formatLocalizedError,be as formatICU,dc as formatFilePath,kc as formatError,Vq as formatDoctorReport,Wm as formatDocsAsMarkdown,Ym as formatDocsAsJson,Xm as formatDocsAsHtml,ep as format,lm as foldConstants,dp as flipVertical,cp as flipHorizontal,Tl as fingerprint,go as findRuntimeTypeDeclarations,Tq as findPantryPackage,Fc as findMatchingEndTag,Bc as findMatchingDelimiter,Ea as findInterpolationEnd,Hc as findIfBlocks,Kc as findExpressions,N as findErrorPage,Ic as findDirectiveBlocks,im as findDeadCode,im as findDeadBranches,Mm as findContainerRegion,Sm as findComponentFiles,xr as findCommonDir,ek as filterRequiredFiles,Ih as fileExists,cf as extractVariables,Yl as extractTemplateExpressions,le as extractStreamBoundaries,yo as extractState,xh as extractSlotContent,ef as extractScriptFromTemplate,Xl as extractScriptBlocks,ab as extractPlaceholders,Ec as extractParenthesizedExpression,Ib as extractPageResponseStatus,ca as extractLayoutMetadata,wi as extractDominantColor,Nc as extractDirectiveParams,sh as extractDirectiveNames,Ol as extractContainerContent,Pm as extractComponentProps,Yg as extractComponentName,Qm as extractComponentDescription,vb as extractClassNames,Wa as extractBridgeData,Zg as extractBoundProps,Cc as extractBalancedExpression,Pa as extractAndStripCssImports,qj as extractAndScopeStyles,Ba as extractAndProcessEvents,Uj as externalizeSharedAssets,Vj as externalizeRepeatedAssets,Tj as externalizeHtml,qb as evaluateExpression,km as evaluateConstant,Qb as evaluateAuthExpression,jb as escapeHtmlValue,ib as escapeHtml,qc as errorRecovery,sc as errorLogger,sg as ensureTeleportTargets,jg as ensureDocumentShell,Jd as enhancedValidationRules,Nm as enableDevTools,jm as eliminateDeadCode,Ee as effect,lp as dprUrls,_m as docsCommand,Ql as discoverLayoutNames,Pp as disconnectObserver,Om as disableDevTools,tc as devHelpers,Jl as detectShell,an as detectRuntime,ik as detectProjectConfig,pi as detectFormat,dm as detectBuildMode,De as derived,mk as deploy,Ej as defineStxConfig,Lo as defineStore,vq as defineSlots,hr as defineSiteConfig,lr as definePropsWithValidation,kr as defineProps,yj as definePlugin,rd as definePageMeta,R as defineMiddleware,jh as defineForm,qq as defineExpose,pq as defineEmits,Uh as defineDirective,Lq as defineCustomElement,In as defineConfig,Vh as defineClientDirective,Fg as defineAsyncComponent,gq as defaultMediaConfig,Qk as defaultImageConfig,Od as defaultI18nConfig,da as defaultHeatmapConfig,Ad as defaultFormClasses,db as defaultFilters,hd as defaultCspConfig,Aj as defaultConfig,vr as default,sb as deepMergeThemes,Lf as dedupeScopedStyles,ui as decodeThumbhash,cd as cspNonceDirective,bd as cspDirective,Wp as crossfadeTransition,Ro as crop,Qg as createVirtualList,jj as createVideoDirective,nn as createVercelHandler,_n as createTypeChecker,fe as createTranslateFilter,jn as createTextEncoderStream,Kq as createStxApp,hn as createStreamingResponse,ne as createStreamRenderer,Jo as createStore,U as createStorageManager,S as createServerCookieManager,Uk as createScope,Ag as createSSRSuspense,Ae as createRouter,$ as createRouteLocation,Yn as createRoute,Vk as createRef,Wk as createReactive,xq as createProvideContext,Pn as createProject,Hn as createProductionBuild,_a as createPlaceholder,pm as createOptimizedBuild,on as createNetlifyHandler,ak as createNetlifyClient,aa as createMiddlewareContext,Xn as createMiddleware,Np as createLazyObserver,Kg as createKeepAliveCache,en as createKVNamespace,_g as createIslandRegistry,Wi as createImgDirective,Lk as createImagePlugin,Ek as createImageHandler,Jk as createImageDirective,ia as createHeatmapAggregator,dk as createFileManifest,dn as createEnvAccessor,nc as createEnhancedError,gn as createEdgeHandler,fn as createEdgeCache,Lh as createDetailedErrorMessage,mn as createDenoHandler,jk as createDefaultNetlifyConfig,gd as createCspHeaders,qn as createCookie,Xk as createComputed,Tk as createComponentInstance,ln as createCloudflareHandler,T as createClientCookieManager,Wh as createBuiltinDirectives,Kq as createApp,F as createAnimationTimeline,Uo as cover,df as convertToCommonJS,$o as contrast,To as contain,mc as consoleError,ac as configureErrorHandling,Dj as config,Xk as computed,Km as compressResponse,Ef as composerPattern,Df as composer,Ll as composeShellWithPage,Em as componentDirective,Gh as componentClientSignalNames,Zl as compileTemplate,a as collectRepeatedFlag,ck as collectDeployFiles,$i as clearVideoCache,Pd as clearTranslationCache,og as clearStoreCache,Zj as clearStorage,yp as clearSignatureCache,Bi as clearPlaceholderCache,lf as clearOnceStore,Rc as clearNonce,Y as clearMiddleware,we as clearImagePlaceholders,Ik as clearImageCache,Ub as clearErrorMessages,Ze as clearDevCaches,hb as clearCustomFilters,Gf as clearComposers,pg as clearComposableCache,Mh as clearComponentCache,Ki as clearCache,no as cleanupLoadingIndicator,Cl as classifyScript,Dl as classifyAllScripts,$n as checkTemplateFile,ao as checkTemplate,_e as checkCache,vp as checkAuthAccess,i as checkA11yWithRegex,j as checkA11y,zm as channel,vn as captureScreenshots,un as captureScreenshot,$d as cancelPendingLoads,bk as calculateSha1,di as calculateOptimalWidths,$e as cacheTemplate,lj as buildWebComponents,co as buildVirtualSource,iq as buildViews,No as buildUrl,he as buildSuspenseResolveScript,gr as buildStaticSite,la as buildRuntimeGlobalsDestructure,Ul as buildRuntimeAsset,Vl as buildRouterAsset,fr as buildLangPickerScript,ji as buildImageUrl,ag as buildHtmlAttrs,bm as buildForProduction,Hm as buildComponentLibrary,wp as buildAuthParams,cm as buildApp,dr as buildAlternateLinks,Gn as build,xm as broadcastPrivate,ym as broadcastPresence,um as broadcast,_o as brightness,Vo as blur,ya as blankInertHtmlRegions,qp as batchSignUrls,Fe as batch,n as autoFixA11yFile,o as autoFixA11yDirectory,m as autoFixA11y,gp as auto,e as attributeValue,Wl as assetTags,za as asInvocableStatement,sr as arrayOf,ar as applyTranslations,Qi as applyTransformations,yh as applySlots,Dm as applyPropDefaults,jp as applyPreset,cg as applyHtmlAttrs,wd as applyHead,pb as applyFilters,Hl as appendVary,Xc as apiCspPreset,y as animationGroupDirective,fj as analyzeVideo,fm as analyzeUsage,Al as analyzeTemplate,Bl as analyzeProject,fm as analyzeDirectiveUsage,Eb as analyticsDirective,Sn as addStore,Rn as addPage,$c as addNonceToInlineContent,Tn as addLayout,Qn as addComponent,En as actionRedirectResponse,Q as abortNavigation,p as a11yDirective,We as __setSignalsGeneratorsForTest,Wf as __setBuildIdForTest,Yi as VideoProcessorCache,kh as Validator,s as TransitionType,u as TransitionEase,t as TransitionDirection,Ac as Tokenizer,Zn as TemplateTypeChecker,yn as TEMPLATE_PRESETS,jc as StxValidationError,fc as StxSyntaxError,hc as StxSecurityError,gc as StxRuntimeError,ic as StxFileError,ec as StxError,Gq as Show,ie as SUSPENSE_RESOLVER_RUNTIME,ja as STX_RUNTIME_GLOBALS,Ra as STX_AUTO_IMPORTS,Ka as STATE_DIR_ENV_VAR,B as SPRING_PRESETS,El as SPA_NAV_HEADER,sa as RUNTIME_OWNED_COLON_ATTRS,ua as RUNTIME_HANDLED_X_ATTRS,Fb as RESPONSE_STATUS_KEY,Gb as RESPONSE_HEADERS_KEY,oa as REACTIVE_RUNTIME_GLOBALS,Fn as ProductionBuild,Iq as Portal,On as PROJECT_TEMPLATES,ip as PRESETS,na as NON_CLIENT_PRIMITIVES,Eo as MemorySessionStore,ai as MIME_TYPES,Zh as MEDIA_DEFAULT_WIDTHS,$h as MEDIA_DEFAULT_FORMATS,Pl as LAYOUT_TYPES_FILE,Ni as ImageProcessorCache,Ck as ImageProcessingError,zo as HydrationRuntime,Kj as HotReloadServer,ha as HeatmapAggregator,_f as HTML_CLASS_MARKER,Zf as HTML_ATTRS_MARKER,zq as Fragment,Hq as For,Fl as FRAGMENT_CACHE_CONTROL,rc as ErrorLogger,Xb as ErrorCodes,Sj as EXTERNALIZED_ASSET_DIR,ok as DeployError,pk as DEFAULT_WIDTHS,v as DEFAULT_TRANSITION_OPTIONS,Ja as DEFAULT_STATE_DIR,rk as DEFAULT_QUALITY,qi as DEFAULT_PLACEHOLDER_OPTIONS,qk as DEFAULT_FORMATS,_h as DEFAULT_DPR_VALUES,qo as ComponentHMRHandler,ka as COMPONENT_SCOPE_LOCAL_GLOBALS,wa as COMPONENT_PASSTHROUGH_X_ATTRS,ma as COMPILE_TIME_ONLY_GLOBALS,ii as COMMON_SIZES,Nf as COLOR_MODE_BOOT_MARKER,Of as COLOR_MODE_BOOT_GLOBAL,Yf as CLOAK_STYLE,Bm as BroadcastServer,Am as Broadcast,Tf as BUILD_ID_META,Uf as BUILD_ID_HEADER,Ga as BROWSER_CORE_IMPORTS,ri as BLUR_UP_CSS,va as ALPINE_BRIDGE_X_ATTRS,Sq as $path};
|