@stacksjs/stx 0.2.736 → 0.2.740
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/{chunk-as108kr9.js → chunk-06jys4zk.js} +4 -4
- package/dist/{chunk-2t00wxz0.js → chunk-0ckh7cy1.js} +1 -1
- package/dist/{chunk-h1rq3935.js → chunk-0yewaggn.js} +6 -6
- package/dist/{chunk-hxy0qwqs.js → chunk-13tac9ac.js} +5 -5
- package/dist/chunk-1wak0s76.js +2 -0
- package/dist/{chunk-fv4s2yjf.js → chunk-26wrcfr7.js} +1 -1
- package/dist/{chunk-ez35607j.js → chunk-27agaezn.js} +2 -2
- package/dist/{chunk-nqfpvejh.js → chunk-2hrdh72h.js} +1 -1
- package/dist/chunk-2tt2whvk.js +2 -0
- package/dist/{chunk-j8r7r1wv.js → chunk-3f25fntg.js} +2 -2
- package/dist/chunk-3f4kf3fe.js +2 -0
- package/dist/{chunk-dnqzrktd.js → chunk-3kw9m62d.js} +2 -2
- package/dist/chunk-4yz476ss.js +2 -0
- package/dist/chunk-4z7bnc9j.js +2 -0
- package/dist/{chunk-pgz6yy2m.js → chunk-55qv90h9.js} +9 -9
- package/dist/{chunk-3fwdxxh1.js → chunk-5f6x6fyp.js} +4 -4
- package/dist/chunk-67xtpw2q.js +2 -0
- package/dist/chunk-6dz075xn.js +2 -0
- package/dist/{chunk-4c86wr9a.js → chunk-6ew10ptg.js} +2 -2
- package/dist/chunk-6vajjyj8.js +2 -0
- package/dist/chunk-75wdm7kd.js +2 -0
- package/dist/{chunk-x0014jes.js → chunk-7emrpfha.js} +6 -6
- package/dist/chunk-7vt4k3jv.js +2 -0
- package/dist/chunk-840t4gws.js +2 -0
- package/dist/{chunk-74fepz6h.js → chunk-888xnaex.js} +2 -2
- package/dist/{chunk-my4m7bk0.js → chunk-88kpnrgj.js} +1 -1
- package/dist/chunk-8bw9yd5m.js +2 -0
- package/dist/chunk-8nq4879f.js +2 -0
- package/dist/chunk-8qdrv49k.js +2 -0
- package/dist/{chunk-x9wwd2ee.js → chunk-91pycazt.js} +2 -2
- package/dist/{chunk-dhy6n39n.js → chunk-9bbs9d9q.js} +2 -2
- package/dist/{chunk-qf2aa8qe.js → chunk-9v98dzxt.js} +4 -4
- package/dist/{chunk-62awa752.js → chunk-9zrbhs3p.js} +1 -1
- package/dist/chunk-a0mze6dz.js +2 -0
- package/dist/chunk-af9ptz0x.js +2 -0
- package/dist/{chunk-s7q5wrsa.js → chunk-agxvydxe.js} +1 -1
- package/dist/chunk-aj6m4pqt.js +2 -0
- package/dist/{chunk-4hv1camf.js → chunk-amsbfc3y.js} +30 -30
- package/dist/{chunk-rj4j7qcj.js → chunk-amyxgejb.js} +1 -1
- package/dist/chunk-ascwd65c.js +2 -0
- package/dist/chunk-at0k9j3q.js +3 -0
- package/dist/{chunk-narz7105.js → chunk-b107z777.js} +2 -2
- package/dist/{chunk-1t0xwfy2.js → chunk-b4ejzx20.js} +18 -18
- package/dist/{chunk-agjysd2b.js → chunk-b8ryfxay.js} +1 -1
- package/dist/{chunk-xaddgvkx.js → chunk-byaasw3f.js} +2 -2
- package/dist/{chunk-630yrhzv.js → chunk-cka9p9v5.js} +2 -2
- package/dist/chunk-cmm2mkr1.js +2 -0
- package/dist/{chunk-3e40sm05.js → chunk-crk5dzxb.js} +4 -4
- package/dist/chunk-d4ahp771.js +2 -0
- package/dist/chunk-dw7ajrvf.js +2 -0
- package/dist/chunk-e2ar36jw.js +2 -0
- package/dist/{chunk-hez09ssh.js → chunk-e43cxztn.js} +2 -2
- package/dist/chunk-ejhd435r.js +2 -0
- package/dist/{chunk-r3j4m04w.js → chunk-eks1mjr3.js} +2 -2
- package/dist/chunk-eyekxtjn.js +2 -0
- package/dist/{chunk-6pqsf6tq.js → chunk-f17tdyp3.js} +5 -5
- package/dist/{chunk-hnmqnncv.js → chunk-f2yfe5e2.js} +1 -1
- package/dist/{chunk-jpfp8f5r.js → chunk-f6bpxqj9.js} +5 -5
- package/dist/{chunk-z7ry4w8w.js → chunk-fveqk208.js} +1 -1
- package/dist/{chunk-ph2yg39f.js → chunk-gwes6c9v.js} +1 -1
- package/dist/{chunk-3dyhn59d.js → chunk-gyvaz4cb.js} +1 -1
- package/dist/{chunk-qc93ce5h.js → chunk-h2y36t58.js} +2 -2
- package/dist/chunk-h4ab99hb.js +2 -0
- package/dist/{chunk-5cr84pp2.js → chunk-h58sctng.js} +4 -4
- package/dist/{chunk-79sjdpfy.js → chunk-h6jba844.js} +1 -1
- package/dist/chunk-h75rev1h.js +2 -0
- package/dist/chunk-h9140mn0.js +2 -0
- package/dist/chunk-hjatgram.js +2 -0
- package/dist/{chunk-y6964t7z.js → chunk-hq00hf2e.js} +3 -3
- package/dist/{chunk-r3hden6p.js → chunk-j3cbj356.js} +2 -2
- package/dist/chunk-j4gxcnd5.js +2 -0
- package/dist/{chunk-m5nzpjej.js → chunk-jeh671tw.js} +1 -1
- package/dist/chunk-jka3p99a.js +2 -0
- package/dist/{chunk-g2kfmmfa.js → chunk-jydd8cdc.js} +5 -5
- package/dist/chunk-k38vsxt8.js +2 -0
- package/dist/{chunk-88rftjjk.js → chunk-k8gxa1jf.js} +4 -4
- package/dist/chunk-kgxqj66x.js +2 -0
- package/dist/{chunk-2kz9d366.js → chunk-kjh118s3.js} +7 -7
- package/dist/{chunk-3xyvc3g1.js → chunk-kp2rkczm.js} +5 -5
- package/dist/chunk-m45r8w14.js +2 -0
- package/dist/{chunk-x5dc06p5.js → chunk-md36aysy.js} +6 -6
- package/dist/{chunk-h16qbyjd.js → chunk-n8mb6510.js} +2 -2
- package/dist/{chunk-q7fh1xka.js → chunk-njdppe81.js} +6 -6
- package/dist/{chunk-vvrn688m.js → chunk-nt3hva3f.js} +4 -4
- package/dist/{chunk-f2c3t1ky.js → chunk-nybty1zx.js} +2 -2
- package/dist/{chunk-rbmt5w9v.js → chunk-nzwcbt98.js} +2 -2
- package/dist/{chunk-3cwvp8vc.js → chunk-p766mk6b.js} +8 -8
- package/dist/{chunk-00y2xpfk.js → chunk-pwt6467e.js} +1 -1
- package/dist/chunk-pzm8bc99.js +2 -0
- package/dist/{chunk-05qf3e2p.js → chunk-q1db41k8.js} +3 -3
- package/dist/chunk-qjm2q9we.js +2 -0
- package/dist/{chunk-j28r2d0q.js → chunk-r2cfezt5.js} +2 -2
- package/dist/{chunk-018149qp.js → chunk-rner9txv.js} +2 -2
- package/dist/chunk-rpe1tskt.js +2 -0
- package/dist/{chunk-1dss61y2.js → chunk-rsfs0x3d.js} +1 -1
- package/dist/{chunk-arbhrz4x.js → chunk-rthn3eq6.js} +60 -60
- package/dist/{chunk-wnt00y7f.js → chunk-sc1wkke5.js} +12 -12
- package/dist/{chunk-e25aeftz.js → chunk-sj7hm8dm.js} +2 -2
- package/dist/{chunk-755wsp41.js → chunk-smq3x9a2.js} +27 -7
- package/dist/{chunk-zkx2m308.js → chunk-sv4d9jgf.js} +10 -10
- package/dist/{chunk-r1qcq029.js → chunk-t8ap5qet.js} +6 -6
- package/dist/chunk-tbgz73ta.js +2 -0
- package/dist/chunk-tpwxvpnt.js +2 -0
- package/dist/{chunk-hnqpqtk2.js → chunk-ttsrhr95.js} +6 -6
- package/dist/{chunk-dmnncw90.js → chunk-vtmd3ssd.js} +3 -3
- package/dist/chunk-vvbszwjs.js +2 -0
- package/dist/{chunk-mwxbdpb1.js → chunk-vyv76w55.js} +2 -2
- package/dist/chunk-w07kke19.js +2 -0
- package/dist/{chunk-serrx31a.js → chunk-w1sdxmx3.js} +2 -2
- package/dist/{chunk-39nkd53v.js → chunk-w34w1hrg.js} +2 -2
- package/dist/chunk-w6dyqh92.js +2 -0
- package/dist/{chunk-2mqzpzy7.js → chunk-w9are744.js} +4 -4
- package/dist/chunk-wbcqtpkm.js +2 -0
- package/dist/chunk-wy8er1ps.js +2 -0
- package/dist/chunk-wzkjzh7w.js +2 -0
- package/dist/{chunk-d9hw6n2d.js → chunk-x0c8xq0s.js} +3 -3
- package/dist/{chunk-eqxezwg4.js → chunk-x0vws901.js} +1 -1
- package/dist/{chunk-zqnttswy.js → chunk-xa8bzf00.js} +3 -3
- package/dist/chunk-xrspzeqx.js +2 -0
- package/dist/chunk-xt786nk0.js +2 -0
- package/dist/{chunk-v402swbm.js → chunk-xzv8t0nd.js} +1 -1
- package/dist/{chunk-z8jq4qe7.js → chunk-yvwesavg.js} +9 -9
- package/dist/{chunk-e3egwyax.js → chunk-yxtqk5p8.js} +2 -2
- package/dist/{chunk-9chqvq23.js → chunk-yygtmm7t.js} +3 -3
- package/dist/{chunk-np6gcwgs.js → chunk-yz4jpwp3.js} +19 -19
- package/dist/{chunk-h0xyzp7v.js → chunk-z82a0dpd.js} +3 -3
- package/dist/chunk-zgnqyta0.js +2 -0
- package/dist/chunk-zvfr6022.js +2 -0
- package/dist/{chunk-wk50m71x.js → chunk-zzeas8x5.js} +1 -1
- package/dist/cli.js +19 -19
- package/dist/client/signals-class-runtime.js +1 -0
- package/dist/client/signals-component-props-runtime.js +1 -0
- package/dist/client/signals-expression-compiler-runtime.js +8 -0
- package/dist/client/signals-expression-runtime.js +2 -1
- package/dist/client/signals-for-runtime.js +4 -2
- package/dist/client/signals-if-chain-runtime.js +1 -0
- package/dist/client/signals-if-runtime.js +2 -1
- package/dist/client/signals-model-runtime.js +1 -0
- package/dist/client/signals-process-element-runtime.js +2 -0
- package/dist/client/signals-show-runtime.js +1 -0
- package/dist/client/signals-style-runtime.js +1 -0
- package/dist/craft-entry.js +2 -2
- package/dist/craft.js +2 -2
- package/dist/native/runtime/binding-diagnostics.d.ts +3 -0
- package/dist/native/runtime/binding-diagnostics.js +20 -0
- package/dist/native/runtime/shared-screen.js +2 -0
- package/dist/pwa.js +3 -3
- package/dist/ssg.js +27 -27
- package/package.json +5 -5
- package/dist/chunk-0ajbe55p.js +0 -2
- package/dist/chunk-0ee76md1.js +0 -2
- package/dist/chunk-0g9a1kks.js +0 -2
- package/dist/chunk-1pgr2n0h.js +0 -2
- package/dist/chunk-2hpt1f4r.js +0 -2
- package/dist/chunk-336t7zzz.js +0 -2
- package/dist/chunk-362sjw8c.js +0 -2
- package/dist/chunk-3j8x8mhx.js +0 -2
- package/dist/chunk-3n3vmhtd.js +0 -2
- package/dist/chunk-5wpgbwap.js +0 -2
- package/dist/chunk-5zrz59dy.js +0 -2
- package/dist/chunk-6h1qa3hw.js +0 -2
- package/dist/chunk-6jn0p1a9.js +0 -2
- package/dist/chunk-6t78kw7s.js +0 -2
- package/dist/chunk-8w1ep4w3.js +0 -2
- package/dist/chunk-918xy0ra.js +0 -2
- package/dist/chunk-9q15h90v.js +0 -2
- package/dist/chunk-a0c2qg2b.js +0 -2
- package/dist/chunk-a49at1ah.js +0 -2
- package/dist/chunk-a64crz43.js +0 -2
- package/dist/chunk-ak04tgvw.js +0 -2
- package/dist/chunk-azatpcm0.js +0 -2
- package/dist/chunk-b2x1wd97.js +0 -2
- package/dist/chunk-c1481efw.js +0 -2
- package/dist/chunk-c8yrvpr7.js +0 -2
- package/dist/chunk-e18z6ntg.js +0 -2
- package/dist/chunk-ejhvxggz.js +0 -2
- package/dist/chunk-enpchwv1.js +0 -2
- package/dist/chunk-jbryd6s7.js +0 -3
- package/dist/chunk-jkqe35rg.js +0 -2
- package/dist/chunk-jresy8fn.js +0 -2
- package/dist/chunk-m6d2bq3y.js +0 -2
- package/dist/chunk-mt789hbw.js +0 -2
- package/dist/chunk-mvbw706e.js +0 -2
- package/dist/chunk-n14zxb4g.js +0 -2
- package/dist/chunk-nfg5tjn2.js +0 -2
- package/dist/chunk-nvtp22qp.js +0 -2
- package/dist/chunk-q6tmvtqq.js +0 -2
- package/dist/chunk-rgv7rjrs.js +0 -2
- package/dist/chunk-t98sz9rb.js +0 -2
- package/dist/chunk-tdvmf3ge.js +0 -2
- package/dist/chunk-vresxjg7.js +0 -2
- package/dist/chunk-w9qxsp09.js +0 -2
- package/dist/chunk-wke3dw59.js +0 -2
- package/dist/chunk-wva9vscy.js +0 -2
- package/dist/chunk-wy2kct6z.js +0 -2
- package/dist/chunk-xbc84n7q.js +0 -2
- package/dist/chunk-ysk3rmz2.js +0 -2
- package/dist/chunk-zx5wbfxd.js +0 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{w,x,
|
|
2
|
+
import{w,x,Qo,dn}from"./chunk-rthn3eq6.js";import{Do}from"./chunk-sj7hm8dm.js";import{l}from"./chunk-h2y36t58.js";import M from"fs";import d from"path";import{hasLocalConfig as le}from"bunfig";var ht={fg:{light:"neutral-900",dark:"neutral-100",description:"Primary text"},"fg-strong":{light:"neutral-700",dark:"neutral-300",description:"Labels, secondary headings"},"fg-muted":{light:"neutral-600",dark:"neutral-400",description:"Supporting text"},"fg-soft":{light:"neutral-500",dark:"neutral-400",description:"De-emphasised text"},"fg-subtle":{light:"neutral-400",dark:"neutral-500",description:"Recessive, non-essential text"},surface:{light:"neutral-50",dark:"neutral-800",description:"Page and panel background"},"surface-raised":{light:"neutral-100",dark:"neutral-700",description:"Cards, popovers"},"surface-sunken":{light:"neutral-200",dark:"neutral-700",description:"Wells, track backgrounds"},panel:{light:"white",dark:"neutral-800",description:"Card, menu, dialog surface"},field:{light:"white",dark:"neutral-700",description:"Form control surface"},page:{light:"neutral-50",dark:"neutral-900",description:"Page background, behind panels"},content:{light:"white",dark:"neutral-900",description:"Content area under a chrome header - a table or list body"},"surface-hover":{light:"neutral-100",dark:"neutral-700",description:"Row or item highlight on a page or panel"},"surface-raised-hover":{light:"neutral-200",dark:"neutral-600",description:"Raised surface, hovered"},"surface-sunken-hover":{light:"neutral-300",dark:"neutral-600",description:"Sunken surface, hovered"},"field-hover":{light:"neutral-50",dark:"neutral-600",description:"Form control surface, hovered"},link:{light:"blue-500",dark:"blue-400",description:"Hyperlink"},"link-hover":{light:"blue-600",dark:"blue-300",description:"Hyperlink, hovered"},inverse:{light:"neutral-900",dark:"neutral-700",description:"Tooltip bubble, inverted surface"},"inverse-ink":{light:"white",dark:"white",description:"Text on an inverted surface"},line:{light:"neutral-200",dark:"neutral-700",description:"Default border, divider"},"line-strong":{light:"neutral-300",dark:"neutral-600",description:"Input border, focus ring track"},"line-hover":{light:"neutral-400",dark:"neutral-500",description:"Border of a hovered control"},accent:{light:"blue-600",dark:"blue-400",description:"Primary action, selected state"},info:{light:"cyan-600",dark:"cyan-400",description:"Informational emphasis"},danger:{light:"red-600",dark:"red-400",description:"Errors, destructive actions"},success:{light:"green-600",dark:"green-400",description:"Confirmation"},warning:{light:"yellow-600",dark:"yellow-400",description:"Caution"},"accent-solid":{light:"blue-500",dark:"blue-600",description:"Primary button fill"},"info-solid":{light:"cyan-500",dark:"cyan-600",description:"Informational fill"},"danger-solid":{light:"red-500",dark:"red-600",description:"Destructive button fill"},"success-solid":{light:"green-500",dark:"green-600",description:"Confirmation fill"},"warning-solid":{light:"yellow-500",dark:"yellow-600",description:"Caution fill"},"accent-solid-hover":{light:"blue-600",dark:"blue-700",description:"Primary button fill, hovered"},"info-solid-hover":{light:"cyan-600",dark:"cyan-700",description:"Informational fill, hovered"},"danger-solid-hover":{light:"red-600",dark:"red-700",description:"Destructive fill, hovered"},"success-solid-hover":{light:"green-600",dark:"green-700",description:"Confirmation fill, hovered"},"warning-solid-hover":{light:"yellow-600",dark:"yellow-700",description:"Caution fill, hovered"},"accent-ink":{light:"white",dark:"white",description:"Text on a primary fill"},"info-ink":{light:"neutral-900",dark:"neutral-900",description:"Text on an informational fill"},"danger-ink":{light:"white",dark:"white",description:"Text on a destructive fill"},"success-ink":{light:"neutral-900",dark:"neutral-900",description:"Text on a confirmation fill"},"warning-ink":{light:"neutral-900",dark:"neutral-900",description:"Text on a caution fill"},"accent-soft":{light:"blue-100",dark:"blue-900",description:"Tinted primary fill"},"accent-soft-ink":{light:"blue-800",dark:"blue-200",description:"Text on a tinted primary fill"},"info-soft":{light:"cyan-100",dark:"cyan-900",description:"Tinted informational fill"},"info-soft-ink":{light:"cyan-800",dark:"cyan-200",description:"Text on a tinted informational fill"},"danger-soft":{light:"red-100",dark:"red-900",description:"Tinted destructive fill"},"danger-soft-ink":{light:"red-800",dark:"red-200",description:"Text on a tinted destructive fill"},"success-soft":{light:"green-100",dark:"green-900",description:"Tinted confirmation fill"},"success-soft-ink":{light:"green-800",dark:"green-200",description:"Text on a tinted confirmation fill"},"warning-soft":{light:"yellow-100",dark:"yellow-900",description:"Tinted caution fill"},"warning-soft-ink":{light:"yellow-800",dark:"yellow-200",description:"Text on a tinted caution fill"},secondary:{light:"purple-600",dark:"purple-400",description:"Secondary emphasis"},"secondary-solid":{light:"purple-500",dark:"purple-600",description:"Secondary fill"},"secondary-solid-hover":{light:"purple-600",dark:"purple-700",description:"Secondary fill, hovered"},"secondary-ink":{light:"white",dark:"white",description:"Text on a secondary fill"},"secondary-soft":{light:"purple-100",dark:"purple-900",description:"Tinted secondary fill"},"secondary-soft-ink":{light:"purple-800",dark:"purple-200",description:"Text on a tinted secondary fill"},"danger-fg":{light:"red-900",dark:"red-300",description:"Text in a field with an error"},"danger-fg-subtle":{light:"red-300",dark:"red-500",description:"Recessive text in a field with an error"},"danger-line":{light:"red-300",dark:"red-600",description:"Border of a field with an error"},"danger-focus":{light:"red-500",dark:"red-400",description:"Focus ring of a field with an error"}};function qe(n){return`--stx-${n}`}function F(n,t){let s=t.lastIndexOf("-");if(s===-1)return typeof n[t]==="string"?n[t]:void 0;let r=n[t.slice(0,s)];if(!r||typeof r!=="object")return;let i=r[t.slice(s+1)];return typeof i==="string"?i:void 0}var xe=/^(?:#[\da-f]{3,8}|(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch|color|color-mix|var)\(.*\)|white|black|transparent|currentcolor)$/i;function X(n,t){let s=t.trim();return F(n,s)??(xe.test(s)?s:void 0)}function Z(n={}){return[...Object.keys(n.roles??{}).filter((t)=>!ht[t]).map((t)=>`roles.${t}`),...Object.keys(n.shapes??{}).filter((t)=>!he[t]).map((t)=>`shapes.${t}`),...Object.keys(n.density??{}).filter((t)=>!Ae[t]).map((t)=>`density.${t}`)]}function q(n){let t={};for(let[s,r]of Object.entries(ht)){let i=F(n,r.light);if(i===void 0)continue;t[s]=`var(${qe(s)}, ${i})`}return t}function ee(n,t={}){let s=[],r=[];for(let[i,o]of Object.entries(ht)){let a=t[i],g=typeof a==="string"?a:a?.light,c=typeof a==="string"?a:a?.dark,u=g&&X(n,g)||F(n,o.light),m=c&&X(n,c)||F(n,o.dark);if(u===void 0)continue;if(s.push(` ${qe(i)}: ${u};`),m!==void 0)r.push(` ${qe(i)}: ${m};`)}if(s.length===0)return"";return["/* stx role tokens \u2014 override any of these to re-theme by meaning. */",":root {",...s,"}",".dark {",...r,"}",""].join(`
|
|
3
3
|
`)}var he={control:{value:"0.375rem",description:"Buttons, inputs, selects \u2014 rounded-md"},panel:{value:"0.5rem",description:"Cards, dialogs, menus \u2014 rounded-lg"},pill:{value:"9999px",description:"Chips and badges, which are pill-shaped by intent"}};function rn(n){return`--stx-radius-${n}`}function te(){let n={};for(let[t,s]of Object.entries(he))n[t]=`var(${rn(t)}, ${s.value})`;return n}function ne(n={}){return["/* stx shape tokens \u2014 a radius by what the thing is. */",":root {",...Object.entries(he).map(([t,s])=>` ${rn(t)}: ${n[t]??s.value};`),"}",""].join(`
|
|
4
4
|
`)}var Ae={"control-px":{value:"1rem",description:"Inline padding of a md text control \u2014 px-4"},"control-py":{value:"0.5rem",description:"Block padding of a md text control \u2014 py-2"},"control-text":{value:"1rem",description:"Font size of a md text control \u2014 text-base"},"control-leading":{value:"1.5rem",description:"Line height of a md text control \u2014 text-base"},"cell-px":{value:"1.5rem",description:"Inline padding of every table cell, header or body \u2014 px-6"},"cell-py":{value:"1rem",description:"Block padding of a body cell \u2014 py-4"},"cell-text":{value:"0.875rem",description:"Font size of a body cell \u2014 text-sm"},"cell-leading":{value:"1.25rem",description:"Line height of a body cell \u2014 text-sm"},"cell-head-py":{value:"0.75rem",description:"Block padding of a header cell \u2014 py-3"},"cell-head-text":{value:"0.75rem",description:"Font size of a header cell \u2014 text-xs"},"cell-head-leading":{value:"1rem",description:"Line height of a header cell \u2014 text-xs"}},Qn={"control-x":"control-px","control-y":"control-py","cell-x":"cell-px","cell-y":"cell-py","cell-head-y":"cell-head-py"},er={control:{size:"control-text",leading:"control-leading"},cell:{size:"cell-text",leading:"cell-leading"},"cell-head":{size:"cell-head-text",leading:"cell-head-leading"}};function Ke(n){return`--stx-${n}`}function V(n){let t=Ae[n];if(!t)throw Error(`[stx] unknown density token "${n}"`);return`var(${Ke(n)}, ${t.value})`}function se(){let n={};for(let[t,s]of Object.entries(Qn))n[t]=V(s);return n}function re(){let n={};for(let[t,{size:s,leading:r}]of Object.entries(er))n[t]=[V(s),{lineHeight:V(r)}];return n}function ie(n={}){return["/* stx density tokens \u2014 how much room a control or a table cell takes. */",":root {",...Object.entries(Ae).map(([t,s])=>` ${Ke(t)}: ${n[t]??s.value};`),"}",""].join(`
|
|
5
5
|
`)}function oe(n){return typeof n==="object"&&n!==null&&!Array.isArray(n)}function U(n,t){let s={...n};for(let[r,i]of Object.entries(t))s[r]=oe(i)&&oe(s[r])?U(s[r],i):i;return s}function ce(n,t){if(!t.fonts)return"";let s=new n({...t.config,fonts:t.fonts,cssVariables:!1}).toCSS(!1,t.minify);return s&&!t.minify?`${s}
|
|
6
|
-
`:s}function ae(n={},t={}){let s=n.theme||{},r=t.theme||{},{extend:i,...o}=r,{extend:a,...g}=s,c=g.colors||{};g.colors={...c,...q(c)};let u=g.borderRadius||{};g.borderRadius={...u,...te()};let m=g.spacing||{};g.spacing={...m,...se()};let H=g.fontSize||{};g.fontSize={...H,...re()};let R=U(g,o),k=U(a||{},i||{});if(Object.keys(k).length>0)R.extend=k;let E=[...n.safelist||[],...t.safelist||[]],_={...n.shortcuts||{},...t.shortcuts||{}},P=[...n.preflights||[],...t.preflights||[]],{fonts:K,...D}=n,{fonts:O,roles:T,shapes:N,density:C,...b}=t,f={roles:T,shapes:N,density:C},j=O??K;return{config:{...D,...b,theme:R,safelist:E,shortcuts:_,...P.length>0?{preflights:P}:{},content:[],output:""},safelist:E,shortcuts:_,includePreflight:t.preflight!==!1,minify:t.minify===!0,tokenCSS:ee({...c,...R.colors},T)+ne(N)+ie(C),unknownRoles:Z(f),...j?{fonts:j}:{}}}var e={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",underscore:"\x1B[4m",blink:"\x1B[5m",reverse:"\x1B[7m",hidden:"\x1B[8m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",gray:"\x1B[90m",bgBlack:"\x1B[40m",bgRed:"\x1B[41m",bgGreen:"\x1B[42m",bgYellow:"\x1B[43m",bgBlue:"\x1B[44m",bgMagenta:"\x1B[45m",bgCyan:"\x1B[46m",bgWhite:"\x1B[47m",bgGray:"\x1B[100m"};var p=null,A="";function de(n){try{let t=n.startsWith("file:")?new URL(n).pathname:n;A=`${t}@${Math.trunc(M.statSync(t).mtimeMs)}`}catch{A=n}}var Q=!1,v=null,I="",B=!1,pe=256,S=new Map,h=new Map,z=null,me=null,G=new Map,ge=new Set;function L(n){return Bun.hash(n).toString(16).padStart(16,"0").slice(0,16)}function W(n,t){if(S.has(n))S.delete(n);else if(S.size>=pe)S.delete(S.keys().next().value);S.set(n,t)}function ke(n){let t=L(n);if(h.has(t))h.delete(t);else if(h.size>=pe)h.delete(h.keys().next().value);return h.set(t,n),t}function Jm(n){let t=h.get(n);if(t===void 0)return;return h.delete(n),h.set(n,t),t}async function Ce(n,t=z){if(!t)return null;try{let s=Bun.file(d.join(t,`cw-${L(n)}.css`));if(!await s.exists())return null;return await s.text()}catch{return null}}async function Se(n,t,s=z){if(!s)return;try{if(!M.existsSync(s))M.mkdirSync(s,{recursive:!0});await Bun.write(d.join(s,`cw-${L(n)}.css`),t)}catch{}}async function ue(n){try{let t=await import(n);if(t&&t.CSSGenerator)return{CSSGenerator:t.CSSGenerator,config:t.config,build:t.build,defaultConfig:t.defaultConfig,extractClasses:t.extractClasses}}catch{}return null}var we=[["@stacksjs","ts-css","dist","engine","index.js"],["@stacksjs","ts-css","src","engine","index.ts"]],be=["@stacksjs/ts-css/engine","@stacksjs/ts-css/dist/engine/index.js"];function ve(){let n=[],t=process.cwd();while(t!==d.dirname(t)){for(let s of["node_modules","pantry"])for(let r of we)n.push(d.join(t,s,...r));t=d.dirname(t)}return n}function Re(){let n=[],t=process.env.HOME||process.env.USERPROFILE||"",s=[t&&d.join(t,"Code","Tools","ts-css"),t&&d.join(t,"Code","Tools","crosswind"),t&&d.join(t,"repos","stacks-org","ts-css"),t&&d.join(t,"repos","stacks-org","crosswind"),d.join(process.cwd(),"..","ts-css"),d.join(process.cwd(),"..","crosswind")].filter(Boolean);for(let r of s)n.push(d.join(r,"packages","toolkit","dist","engine","index.js")),n.push(d.join(r,"packages","toolkit","src","engine","index.ts"));if(t)n.push(d.join(t,"Code","Tools","stx","node_modules","@stacksjs","ts-css","dist","engine","index.js"));return n}async function
|
|
7
|
-
`)}async function $e(n,t){try{let s=await
|
|
6
|
+
`:s}function ae(n={},t={}){let s=n.theme||{},r=t.theme||{},{extend:i,...o}=r,{extend:a,...g}=s,c=g.colors||{};g.colors={...c,...q(c)};let u=g.borderRadius||{};g.borderRadius={...u,...te()};let m=g.spacing||{};g.spacing={...m,...se()};let H=g.fontSize||{};g.fontSize={...H,...re()};let R=U(g,o),k=U(a||{},i||{});if(Object.keys(k).length>0)R.extend=k;let E=[...n.safelist||[],...t.safelist||[]],_={...n.shortcuts||{},...t.shortcuts||{}},P=[...n.preflights||[],...t.preflights||[]],{fonts:K,...D}=n,{fonts:O,roles:T,shapes:N,density:C,...b}=t,f={roles:T,shapes:N,density:C},j=O??K;return{config:{...D,...b,theme:R,safelist:E,shortcuts:_,...P.length>0?{preflights:P}:{},content:[],output:""},safelist:E,shortcuts:_,includePreflight:t.preflight!==!1,minify:t.minify===!0,tokenCSS:ee({...c,...R.colors},T)+ne(N)+ie(C),unknownRoles:Z(f),...j?{fonts:j}:{}}}var e={reset:"\x1B[0m",bright:"\x1B[1m",dim:"\x1B[2m",underscore:"\x1B[4m",blink:"\x1B[5m",reverse:"\x1B[7m",hidden:"\x1B[8m",black:"\x1B[30m",red:"\x1B[31m",green:"\x1B[32m",yellow:"\x1B[33m",blue:"\x1B[34m",magenta:"\x1B[35m",cyan:"\x1B[36m",white:"\x1B[37m",gray:"\x1B[90m",bgBlack:"\x1B[40m",bgRed:"\x1B[41m",bgGreen:"\x1B[42m",bgYellow:"\x1B[43m",bgBlue:"\x1B[44m",bgMagenta:"\x1B[45m",bgCyan:"\x1B[46m",bgWhite:"\x1B[47m",bgGray:"\x1B[100m"};var p=null,A="";function de(n){try{let t=n.startsWith("file:")?new URL(n).pathname:n;A=`${t}@${Math.trunc(M.statSync(t).mtimeMs)}`}catch{A=n}}var Q=!1,v=null,I="",B=!1,pe=256,S=new Map,h=new Map,z=null,me=null,G=new Map,ge=new Set;function L(n){return Bun.hash(n).toString(16).padStart(16,"0").slice(0,16)}function W(n,t){if(S.has(n))S.delete(n);else if(S.size>=pe)S.delete(S.keys().next().value);S.set(n,t)}function ke(n){let t=L(n);if(h.has(t))h.delete(t);else if(h.size>=pe)h.delete(h.keys().next().value);return h.set(t,n),t}function Jm(n){let t=h.get(n);if(t===void 0)return;return h.delete(n),h.set(n,t),t}async function Ce(n,t=z){if(!t)return null;try{let s=Bun.file(d.join(t,`cw-${L(n)}.css`));if(!await s.exists())return null;return await s.text()}catch{return null}}async function Se(n,t,s=z){if(!s)return;try{if(!M.existsSync(s))M.mkdirSync(s,{recursive:!0});await Bun.write(d.join(s,`cw-${L(n)}.css`),t)}catch{}}async function ue(n){try{let t=await import(n);if(t&&t.CSSGenerator)return{CSSGenerator:t.CSSGenerator,config:t.config,build:t.build,defaultConfig:t.defaultConfig,extractClasses:t.extractClasses}}catch{}return null}var we=[["@stacksjs","ts-css","dist","engine","index.js"],["@stacksjs","ts-css","src","engine","index.ts"]],be=["@stacksjs/ts-css/engine","@stacksjs/ts-css/dist/engine/index.js"];function ve(){let n=[],t=process.cwd();while(t!==d.dirname(t)){for(let s of["node_modules","pantry"])for(let r of we)n.push(d.join(t,s,...r));t=d.dirname(t)}return n}function Re(){let n=[],t=process.env.HOME||process.env.USERPROFILE||"",s=[t&&d.join(t,"Code","Tools","ts-css"),t&&d.join(t,"Code","Tools","crosswind"),t&&d.join(t,"repos","stacks-org","ts-css"),t&&d.join(t,"repos","stacks-org","crosswind"),d.join(process.cwd(),"..","ts-css"),d.join(process.cwd(),"..","crosswind")].filter(Boolean);for(let r of s)n.push(d.join(r,"packages","toolkit","dist","engine","index.js")),n.push(d.join(r,"packages","toolkit","src","engine","index.ts"));if(t)n.push(d.join(t,"Code","Tools","stx","node_modules","@stacksjs","ts-css","dist","engine","index.js"));return n}async function Va(){if(Q)return p;Q=!0;try{let n=async(i)=>{for(let o of i){if(!await Bun.file(o).exists())continue;let a=await ue(o);if(a){if(de(o),!process.env.STACKS_DEV_QUIET)console.log(`${e.green}[ts-css]${e.reset} CSS engine loaded from ${d.dirname(d.dirname(o))}`);return a}}return null};if(process.env.CROSSWIND_SRC){let i=d.resolve(process.env.CROSSWIND_SRC),o=await n([i]);if(!o)throw Error(`CROSSWIND_SRC did not resolve to a Css module: ${i}`);return p=o,p}let t=await n(ve());if(t)return p=t,p;let s=be;for(let i of s){let o=await ue(i);if(o){p=o;try{de(import.meta.resolve(i))}catch{A=i}if(!process.env.STACKS_DEV_QUIET)console.log(`${e.green}[ts-css]${e.reset} CSS engine loaded`);return p}}let r=await n(Re());if(r)return p=r,p;throw Error("Css CSSGenerator not found in any location")}catch{return console.warn(`${e.yellow}[ts-css] CSS engine not available, Tailwind styles will not be generated${e.reset}`),console.warn(`${e.yellow}Run 'bun add @stacksjs/ts-css' to enable CSS generation${e.reset}`),null}}function Ym(){Y.clear(),p=null,Q=!1,v=null,I="",S.clear(),h.clear(),me=null,G.clear()}var fe=!1;async function Ua(n){try{let t=le({name:"css",cwd:n})?"css":le({name:"crosswind",cwd:n})?"crosswind":null;if(!t)return null;if(t==="crosswind"&&!process.env.STACKS_DEV_QUIET&&!fe)fe=!0,console.warn(`${e.yellow}[ts-css]${e.reset} Reading the CSS config from a \`crosswind\` file. Rename it to \`css\` (e.g. config/css.ts) \u2014 the old name is deprecated.`);let{loadConfigWithResult:s}=await import("bunfig"),r=await s({name:t,cwd:n,defaultConfig:{},checkEnv:!1,verbose:!1});if(!r?.path||!r.config||Object.keys(r.config).length===0)return null;let i=d.relative(n,r.path);if(!process.env.STACKS_DEV_QUIET)console.log(`${e.green}[ts-css]${e.reset} Loaded config from ${i||r.path}`);return r.config}catch(t){if(t instanceof Error&&t.name==="ConfigNotFoundError")return null;return console.warn(`${e.yellow}[ts-css]${e.reset} Failed to load css config:`,t instanceof Error?t.message:t),null}}async function df(n){let t=null;try{let{loadStxConfig:s}=await import("./chunk-hjatgram.js"),r=await s(n);if(r.css)if(typeof r.css==="string"){let i=d.isAbsolute(r.css)?r.css:d.resolve(n,r.css);if(await Bun.file(i).exists()){let o=await import(i);t=o.default||o,console.log(`${e.green}[ts-css]${e.reset} Loaded config from stx.config.ts \u2192 ${r.css}`)}}else{if(t={...r.css,content:r.css.content||[],preflight:r.css.preflight??!0,minify:r.css.minify??!1},r.css.config){let i=d.isAbsolute(r.css.config)?r.css.config:d.resolve(n,r.css.config);if(await Bun.file(i).exists()){let o=await import(i);t={...o.default||o,...t}}}console.log(`${e.green}[ts-css]${e.reset} Using inline CSS config from stx.config.ts`)}}catch{}return t||await Ua(n)}function pf(n){try{let t=new WeakSet;return L(JSON.stringify(n??{},(s,r)=>{if(typeof r==="function")return`[fn]${String(r)}`;if(typeof r==="object"&&r!==null){if(t.has(r))return"[circular]";t.add(r)}return r})??"")}catch{return"unhashable"}}async function sn(n){if(B)return I;B=!0;try{let t=await Va();if(!t||!t.build)return B=!1,"";if(!v)v=await Ua(n);if(!v)return B=!1,"";let s=t.defaultConfig?.theme||{},r=v.theme||{},i={...t.defaultConfig,...v,theme:{...s,...r,extend:{...s.extend||{},...r.extend||{}}}},o=performance.now(),a=await t.build(i),g=performance.now()-o;if(I=a.css,console.log(`${e.cyan}[ts-css]${e.reset} Built ${a.classes.size} classes in ${g.toFixed(1)}ms`),i.output){let c=d.isAbsolute(i.output)?i.output:d.join(n,i.output),u=d.dirname(c);if(!M.existsSync(u))M.mkdirSync(u,{recursive:!0});await Bun.write(c,a.css)}return B=!1,a.css}catch(t){return console.error(`${e.red}[ts-css]${e.reset} Build error:`,t),B=!1,I}}async function tr(n){v=null,await sn(n)}function Zm(){return I}function ff(n){let t=new Set,s=/class\s*=\s*["']([^"']+)["']/gi,r=s.exec(n);while(r!==null){for(let a of r[1].split(/\s+/))if(a.trim())t.add(a.trim());r=s.exec(n)}let i=/(?:x-class|:class)\s*=\s*"([^"]+)"/gi,o=i.exec(n);while(o!==null){let a=o[1].match(/'([^']+)'/g);if(a){for(let g of a)for(let c of g.slice(1,-1).split(/\s+/))if(c.trim())t.add(c.trim())}o=i.exec(n)}return t}var Y=w(64);async function gf(n,t){let s=()=>G.get(t?d.resolve(t):process.cwd())?.fingerprint??null,r=Y.get(x(n,t,s()));if(r!==void 0)return r;let i=await $e(n,t);if(i)Y.set(x(n,t,s()),i);return i}function*ye(n){yield n;let t=new Set;for(let s of n.matchAll(/\/_stx\/modules\.([0-9a-f]{16})\.js/g)){let r=s[1];if(t.has(r))continue;t.add(r);let i=Do(r);if(i)yield i}}function Qm(n){return[...ye(n)].join(`
|
|
7
|
+
`)}async function $e(n,t){try{let s=await Va();if(!s)return"";let r=new Set;for(let f of ye(n)){let j=typeof s.extractClasses==="function"?s.extractClasses(f):ff(f);for(let J of j)r.add(J)}if(r.size===0)return"";let i=t?d.resolve(t):process.cwd(),o=l(i,"cache");if(!z)z=o;let a=G.get(i);if(!a){let f=await df(i);a={config:f,fingerprint:pf(f)},G.set(i,a),me=a.fingerprint}let g=[...r].sort().join(" "),c=`${A}::${a.fingerprint||"default"}::${g}`,u=S.get(c);if(u!==void 0)return W(c,u),u;let m=await Ce(c,o);if(m!==null)return W(c,m),m;let H=s.defaultConfig||s.config,R=a.config||{},k=ae(H,R),{safelist:E,includePreflight:_,minify:P,tokenCSS:K}=k;if(k.unknownRoles.length>0&&!ge.has(i))ge.add(i),console.warn(`${e.yellow}[ts-css]${e.reset} No stx role for ${k.unknownRoles.join(", ")} - these keep the stock value. Role names: semanticTokenNames() in @stacksjs/stx/theme-tokens.`);let D=k.config,O=new s.CSSGenerator(D),T=D.shortcuts||R.shortcuts||{},N=Object.keys(T).filter((f)=>r.has(f)||E.includes(f));for(let f of E)if(!T[f])O.generate(f);for(let f of r)if(!T[f])O.generate(f);let C="";if(N.length>0){let f=new s.CSSGenerator(D);for(let j of N)f.generate(j);if(C=f.toCSS(!1,P),C&&!C.endsWith(`
|
|
8
8
|
`))C+=`
|
|
9
|
-
`}let b=C+O.toCSS(_,P);return b=ce(s.CSSGenerator,k)+K+b,W(c,b),Se(c,b,o),b}catch(s){return console.warn("Failed to generate Css CSS:",s),""}}async function y(n,t,s=!1,r=!1){let i=await
|
|
9
|
+
`}let b=C+O.toCSS(_,P);return b=ce(s.CSSGenerator,k)+K+b,W(c,b),Se(c,b,o),b}catch(s){return console.warn("Failed to generate Css CSS:",s),""}}async function y(n,t,s=!1,r=!1){let i=await gf(n,t);if(!i)return r?dn(n):n;let o=s?`<link data-css="generated" rel="stylesheet" href="/_stx/css.${ke(i)}.css">`:`<style data-css="generated">
|
|
10
10
|
${i}
|
|
11
11
|
</style>`;if(r)return Te(n,o);let a=/(?:<style\b[^>]*\bdata-css=(?:"generated"|'generated')[^>]*>[\s\S]*?<\/style>|<link\b[^>]*\bdata-css=(?:"generated"|'generated')[^>]*>)/g;if(a.test(n)){let g=!1;return n.replace(a,()=>{if(g)return"";return g=!0,o})}if(n.includes("</head>"))return n.replace("</head>",`${o}
|
|
12
12
|
</head>`);if(n.includes("<body"))return n.replace(/<body([^>]*)>/,`<body$1>
|
|
13
|
-
${o}`);return o+n}function Te(n,t){let s=
|
|
13
|
+
${o}`);return o+n}function Te(n,t){let s=Qo(n).map((c)=>({...c,replacement:""})),r=/(?:<style\b[^>]*\bdata-css=(?:"generated"|'generated')[^>]*>[\s\S]*?<\/style>|<link\b[^>]*\bdata-css=(?:"generated"|'generated')[^>]*>)/g,i=r.exec(n);if(i!==null){let c=!0;while(i!==null)s.push({start:i.index,end:i.index+i[0].length,replacement:c?t:""}),c=!1,i=r.exec(n)}else{let c=n.indexOf("</head>");if(c!==-1)s.push({start:c,end:c,replacement:`${t}
|
|
14
14
|
`});else{let u=n.match(/<body([^>]*)>/);if(u?.index!==void 0)s.push({start:u.index,end:u.index+u[0].length,replacement:`${u[0]}
|
|
15
15
|
${t}`});else s.push({start:0,end:0,replacement:t})}}s.sort((c,u)=>c.start-u.start||c.end-u.end);for(let c=1;c<s.length;c++)if(s[c].start<s[c-1].end)return je(dn(n),t);let o=Array(s.length*2+1),a=0,g=0;for(let c of s)o[g++]=n.slice(a,c.start),o[g++]=c.replacement,a=c.end;return o[g]=n.slice(a),o.join("")}function je(n,t){let s=/(?:<style\b[^>]*\bdata-css=(?:"generated"|'generated')[^>]*>[\s\S]*?<\/style>|<link\b[^>]*\bdata-css=(?:"generated"|'generated')[^>]*>)/g;if(s.test(n)){let r=!1;return n.replace(s,()=>{if(r)return"";return r=!0,t})}if(n.includes("</head>"))return n.replace("</head>",`${t}
|
|
16
16
|
</head>`);if(n.includes("<body"))return n.replace(/<body([^>]*)>/,`<body$1>
|
|
17
17
|
${t}`);return t+n}
|
|
18
|
-
export{ht,qe,he,rn,Ae,Qn,er,Ke,e,Jm,
|
|
18
|
+
export{ht,qe,he,rn,Ae,Qn,er,Ke,e,Jm,Va,Ym,Ua,df,pf,sn,tr,Zm,ff,gf,Qm,y};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{gt,Bn,Mm}from"./chunk-smq3x9a2.js";import{le,Fn,Lm,zn,io,Hr,Vr,jm,Bm,Fm,Hn,Vn,ao,Ur,zm}from"./chunk-j3cbj356.js";import"./chunk-27agaezn.js";export{io as batch,Mm as default,Fn as derived,zn as effect,gt as generateSignalsRuntime,Bn as generateSignalsRuntimeDev,Vn as isDerived,Hn as isSignal,Lm as memo,Vr as onDestroy,Hr as onMount,Ur as peek,Fm as pendingLifecycleCounts,Bm as runDestroyCallbacks,jm as runMountCallbacks,le as state,ao as untrack,zm as useOptimistic};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{xi,Si,ki,pg,fg,gg,al,mg,hg}from"./chunk-9zrbhs3p.js";export{xi as ImageProcessorCache,al as applyTransformations,pg as clearImageCache,mg as generateResponsiveVariants,hg as generateSrcset,Si as getCachedImageResult,gg as optimizeImage,fg as processImage,ki as setCachedImageResult};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Broadcast as s,BroadcastServer as h}from"ts-broadcasting";import{channel as jg}from"ts-broadcasting";import{Broadcast as Bg,BroadcastServer as Fg}from"ts-broadcasting";var e=null,u=[];function Ag(){return e}async function Pg(n){if(e)return e;let t=n.driver??"bun",r=n.host??"0.0.0.0",c=n.port??6001,l=n.scheme??"ws",a={verbose:n.verbose??!1,driver:t,default:t,connections:{[t]:{driver:t,host:r,port:c,scheme:l}}};return e=new h(a),s.setServer(e),await e.start(),e}async function Ig(){for(let n of u)clearInterval(n);if(u.length=0,!e)return;await e.stop(),e=null}async function Og(n){let t=await import(n),r=t.default??t;if(typeof r!=="function")throw Error(`routes/channels.ts must export a default function, got ${typeof r}`);let c=0;return r({channel(a,o){if(c++,o.authorize&&e)e.channels.channel(a,o.authorize);if(o.interval&&o.data){let d=o.event??`${a}.updated`,p=o.data,v=setInterval(async()=>{try{let g=await p();
|
|
3
|
-
export{Ag,Pg,Ig,Og,
|
|
2
|
+
import{Broadcast as s,BroadcastServer as h}from"ts-broadcasting";import{channel as jg}from"ts-broadcasting";import{Broadcast as Bg,BroadcastServer as Fg}from"ts-broadcasting";var e=null,u=[];function Ag(){return e}async function Pg(n){if(e)return e;let t=n.driver??"bun",r=n.host??"0.0.0.0",c=n.port??6001,l=n.scheme??"ws",a={verbose:n.verbose??!1,driver:t,default:t,connections:{[t]:{driver:t,host:r,port:c,scheme:l}}};return e=new h(a),s.setServer(e),await e.start(),e}async function Ig(){for(let n of u)clearInterval(n);if(u.length=0,!e)return;await e.stop(),e=null}async function Og(n){let t=await import(n),r=t.default??t;if(typeof r!=="function")throw Error(`routes/channels.ts must export a default function, got ${typeof r}`);let c=0;return r({channel(a,o){if(c++,o.authorize&&e)e.channels.channel(a,o.authorize);if(o.interval&&o.data){let d=o.event??`${a}.updated`,p=o.data,v=setInterval(async()=>{try{let g=await p();kl(a,d,g)}catch{}},o.interval);u.push(v)}}}),c}var f=!1;function i(){if(e)return!0;if(!f)f=!0,console.warn("[stx] broadcast() called before server started \u2014 messages will be sent once broadcasting is ready");return!1}function kl(n,t,r){if(!i())return;s.send(n,t,r)}function Ng(n,t,r){if(!i())return;s.toUser(n,t,r)}function Dg(n,t,r){if(!i())return;s.toUsers(n,t,r)}function Mg(n,t,r){if(!i())return;s.send(`private-${n}`,t,r)}function Lg(n,t,r){if(!i())return;s.presence(n,t,r)}
|
|
3
|
+
export{Ag,Pg,Ig,Og,kl,Ng,Dg,Mg,Lg,jg,Bg,Fg};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{W,Oe}from"./chunk-
|
|
2
|
+
import{W,Oe}from"./chunk-rthn3eq6.js";var o=/\b(?:state|derived|effect|batch|ref|reactive|computed|watch|watchEffect)\s*(?:<[^>]*>)?\s*\(/;function u(t,e,r){let i={fullTag:r,content:e,attrs:t};if(/\bserver\b/.test(t))return{...i,type:"server"};if(/\bdata-stx-scoped\b/.test(t))return{...i,type:"client"};if(o.test(e))return{...i,type:"signals"};if(/\bclient\b/.test(t)||/\btype\s*=\s*["']module["']/.test(t)||/\bsrc\s*=/.test(t))return{...i,type:"client"};return{...i,type:"server"}}var S=/^<script\b([^>]*)>([\s\S]*)<\/script\s*>$/i;function Jt(t){let e=[],r=[],i=[],c=0;while(c<t.length){let s=t.indexOf("<",c);if(s===-1)break;let p=Oe(t,s);if(p>s){c=p;continue}let a=W(t,s);if(a>s){let f=t.slice(s,a),l=S.exec(f);if(l){let n=u(l[1],l[2],f);switch(n.type){case"signals":e.push(n);break;case"client":r.push(n);break;case"server":i.push(n);break}}c=a;continue}c=s+(t.startsWith("<!--",s)?4:1)}return{signals:e,client:r,server:i}}
|
|
3
3
|
export{Jt};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{we,ni,ri,zf,Ot,Ic,si,Oc,vh,De,mn,Me}from"./chunk-rthn3eq6.js";import{Bc,s}from"./chunk-q1db41k8.js";import"./chunk-yxtqk5p8.js";import"./chunk-nzwcbt98.js";import"./chunk-sv4d9jgf.js";import"./chunk-zn3c0ew5.js";import"./chunk-27agaezn.js";export{we as BROWSER_CORE_IMPORTS,zf as STX_AUTO_IMPORTS,ni as extractAndStripCssImports,De as extractBridgeData,Bc as findInterpolationEnd,Oc as generateAutoImportDestructuring,vh as generateBrowserAutoImportDestructuring,mn as generateServerDataBridge,Ot as injectBrowserCoreAutoImports,Me as processClientScript,si as referencesName,ri as renderVendorStyleTags,s as stripCommentsAndLiterals,Ic as transformAutoImports};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{wg}from"./chunk-fveqk208.js";import"./chunk-b4ejzx20.js";import"./chunk-7emrpfha.js";import"./chunk-91pycazt.js";import"./chunk-hq00hf2e.js";import"./chunk-0yewaggn.js";import"./chunk-nt3hva3f.js";import"./chunk-at0k9j3q.js";import"./chunk-eks1mjr3.js";import"./chunk-kjh118s3.js";import"./chunk-f6bpxqj9.js";import"./chunk-jeh671tw.js";import"./chunk-sj7hm8dm.js";import"./chunk-yvwesavg.js";import"./chunk-z82a0dpd.js";import"./chunk-6ew10ptg.js";import"./chunk-5f6x6fyp.js";import"./chunk-njdppe81.js";import"./chunk-w9are744.js";import"./chunk-rthn3eq6.js";import"./chunk-yxtqk5p8.js";import"./chunk-nzwcbt98.js";import"./chunk-sv4d9jgf.js";import"./chunk-zn3c0ew5.js";import"./chunk-27agaezn.js";export{wg as startInteractive};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var f=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),b=new Set(["html","head","body","p","li","dt","dd","rt","rp","option","optgroup","thead","tbody","tfoot","tr","td","th","colgroup","caption"]);function l(i){return i.replace(/[^\n]/g," ")}function w(i){let o=i.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,l).replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,l).replace(/<!--[\s\S]*?-->/g,l).replace(/\{\{\{[\s\S]*?\}\}\}/g,l).replace(/\{\{[\s\S]*?\}\}/g,l).replace(/\{!![\s\S]*?!!\}/g,l),s=new Map,r=new Map,p=/<(\/?)([A-Za-z][\w-]*)\b(?:[^<>"']|"[^"]*"|'[^']*')*?(\/?)>/g,t;while((t=p.exec(o))!==null){let e=t[1]==="/",n=t[2],a=t[3]==="/";if(f.has(n.toLowerCase()))continue;if(a)continue;if(e)r.set(n,(r.get(n)??0)+1);else{let g=s.get(n);if(g)g.count++;else{let d=o.slice(0,t.index).split(`
|
|
3
|
-
`).length;s.set(n,{count:1,firstLine:d})}}}let c=[];for(let e of new Set([...s.keys(),...r.keys()])){if(b.has(e.toLowerCase()))continue;let n=s.get(e)?.count??0,a=r.get(e)??0;if(n!==a)c.push({tag:e,opened:n,closed:a,firstOpenLine:s.get(e)?.firstLine??0})}return c}var u=new Set;function
|
|
4
|
-
export{
|
|
3
|
+
`).length;s.set(n,{count:1,firstLine:d})}}}let c=[];for(let e of new Set([...s.keys(),...r.keys()])){if(b.has(e.toLowerCase()))continue;let n=s.get(e)?.count??0,a=r.get(e)??0;if(n!==a)c.push({tag:e,opened:n,closed:a,firstOpenLine:s.get(e)?.firstLine??0})}return c}var u=new Set;function ko(i,o){let s;try{s=w(i)}catch{return}if(s.length===0)return;let r=`${o}:${i.length}`;if(u.has(r))return;u.add(r);let p=o?o.split(/[/\\]/).pop()||o:"template";for(let{tag:t,opened:c,closed:e,firstOpenLine:n}of s)if(c>e){let a=n?` (first opened at line ${n})`:"";console.warn(`[stx] ${p}: <${t}> ${c} opened, ${e} closed \u2014 an unclosed <${t}>${a} may swallow the content that follows it.`)}else console.warn(`[stx] ${p}: <${t}> ${c} opened, ${e} closed \u2014 ${e-c} stray </${t}>.`)}
|
|
4
|
+
export{ko};
|
|
@@ -298,5 +298,5 @@ catch (error) {
|
|
|
298
298
|
init();
|
|
299
299
|
}
|
|
300
300
|
})();
|
|
301
|
-
</script>`}var cg={name:"pwa.installButton",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return r(t,n)},hasEndTag:!0,description:"Renders a PWA install prompt button that appears when the app can be installed"},lg={name:"pwa.updatePrompt",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return p(t,n)},hasEndTag:!0,description:"Renders a PWA update notification UI when a new version is available"},ug={name:"pwa.offlineIndicator",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return d(t,n)},hasEndTag:!0,description:"Renders an offline status indicator that shows when the user loses connection"},dg={name:"pwa.pushSubscribe",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return l(t,n)},hasEndTag:!0,description:"Renders a push notification subscription button"},
|
|
302
|
-
export{cg,lg,ug,dg,
|
|
301
|
+
</script>`}var cg={name:"pwa.installButton",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return r(t,n)},hasEndTag:!0,description:"Renders a PWA install prompt button that appears when the app can be installed"},lg={name:"pwa.updatePrompt",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return p(t,n)},hasEndTag:!0,description:"Renders a PWA update notification UI when a new version is available"},ug={name:"pwa.offlineIndicator",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return d(t,n)},hasEndTag:!0,description:"Renders an offline status indicator that shows when the user loses connection"},dg={name:"pwa.pushSubscribe",handler:(t,i,e,a)=>{let n=e.__stx_options||{};return l(t,n)},hasEndTag:!0,description:"Renders a push notification subscription button"},Ws=[cg,lg,ug,dg];function Lh(t){return[...t,...Ws]}
|
|
302
|
+
export{cg,lg,ug,dg,Ws,Lh};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ft}from"./chunk-
|
|
2
|
+
import{Ft}from"./chunk-k8gxa1jf.js";function Vs(e){let n=e.pwa;if(!n?.enabled)return"";let r=n.manifest,t=n.icons?.outputDir?`/${n.icons.outputDir}`:"/pwa-icons",o=Ft(e),i=`
|
|
3
3
|
<!-- stx PWA Meta Tags -->
|
|
4
4
|
<link rel="manifest" href="/manifest.json">
|
|
5
5
|
<meta name="theme-color" content="${a(r?.themeColor||"#000000")}">
|
|
@@ -43,8 +43,8 @@ if ('serviceWorker' in navigator) {
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
</script>
|
|
46
|
-
<!-- End stx PWA -->`,i}function
|
|
47
|
-
`+e.slice(o)}return e+
|
|
46
|
+
<!-- End stx PWA -->`,i}function vi(e,n){let r=n.pwa;if(!r?.enabled||r.autoInject===!1)return e;if(e.includes("<!-- stx PWA Meta Tags -->"))return e;if(!e.includes("</head>")){let o=e.lastIndexOf("</body>");if(o!==-1){let i=Vs(n);return e.slice(0,o)+i+`
|
|
47
|
+
`+e.slice(o)}return e+Vs(n)}let t=Vs(n);return e.replace("</head>",`${t}
|
|
48
48
|
</head>`)}function sg(e){if(!e.pwa?.enabled)return"";return`<script>
|
|
49
49
|
if ('serviceWorker' in navigator) {
|
|
50
50
|
window.addEventListener('load', function() {
|
|
@@ -58,4 +58,4 @@ if ('serviceWorker' in navigator) {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
</script>`}function og(){return'<link rel="manifest" href="/manifest.json">'}function ig(e){return`<meta name="theme-color" content="${a(e)}">`}function a(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}
|
|
61
|
-
export{
|
|
61
|
+
export{Vs,vi,sg,og,ig};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{F,D,Ar,Pr,Ir}from"./chunk-6fx89gvg.js";import{resolve as z,basename as j,extname as T,join as q}from"path";import{mkdir as k}from"fs/promises";var S={enabled:!0,directory:".stx/media-cache",maxAge:30,maxSize:500,cacheVariants:!0,cachePlaceholders:!0};class
|
|
2
|
+
import{F,D,Ar,Pr,Ir}from"./chunk-6fx89gvg.js";import{resolve as z,basename as j,extname as T,join as q}from"path";import{mkdir as k}from"fs/promises";var S={enabled:!0,directory:".stx/media-cache",maxAge:30,maxSize:500,cacheVariants:!0,cachePlaceholders:!0};class xi{config;constructor(e={}){this.config={...S,...e}}async get(e,s){return Ar(e,s,"image",this.config)}async set(e,s,r){return Pr(e,s,r,"image",this.config)}async clear(){return Ir("image",this.config)}updateConfig(e){this.config={...this.config,...e}}}var w=null;function v(e){if(!w)w=new xi(e);else if(e)w.updateConfig(e);return w}async function Si(e,s,r){let t=r?{directory:`${r.outputDir}/../.cache`}:{};return v(t).get(e,s)}async function ki(e,s,r,t){let a=t?{directory:`${t.outputDir}/../.cache`}:{};return v(a).set(e,s,r)}async function pg(){return v().clear()}async function x(){try{return await import("ts-images")}catch{return null}}function R(e){switch(e){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 E(e,s){let r=s?R(s):R("web"),t=e.formatQuality||{};return{jpeg:{...r.jpeg,...t.jpeg},png:{...r.png,...t.png},webp:{...r.webp,...t.webp},avif:{...r.avif,...t.avif}}}async function fg(e,s,r){let t=await x();if(!t)return console.warn("[stx-media] ts-images not installed, skipping optimization"),{src:e,processed:!1};let a=await Si(e,s,r);if(a)return a;try{let c=z(e);if(!await D(c))return{src:e,processed:!1,errors:[`Source file not found: ${e}`]};let n=E(r,s.preset),p=r.outputDir||"dist/images",I=r.baseUrl||"/images";await k(p,{recursive:!0});let d=await F(c),P=j(e,T(e)),b=s.outputFormat?[s.outputFormat]:r.defaultFormats||["avif","webp","jpeg"],o={src:e,processed:!0,variants:[],hash:d},u=null;if(s.transformations&&s.transformations.length>0)u=await al(c,s.transformations,t);for(let i of b){let l=n[i]||{},g=`${P}-${d}.${i}`,h=q(p,g);try{let m=await t.optimizeImage({input:u||c,output:h,format:i,quality:l.quality,progressive:l.progressive});if(m){if(o.variants.push({path:h,url:`${I}/${g}`,width:m.width||0,height:m.height||0,format:i,size:m.outputSize||0}),!o.originalWidth&&m.width)o.originalWidth=m.width,o.originalHeight=m.height}}catch(m){o.errors=o.errors||[],o.errors.push(`Failed to optimize ${i}: ${m}`)}}if(s.embedThumbhash||s.placeholder==="thumbhash")try{let i=await t.generateThumbHash(c);o.placeholder=i.dataUrl}catch(i){o.errors=o.errors||[],o.errors.push(`Failed to generate thumbhash: ${i}`)}if(s.useDominantColor)try{let i=await t.generatePlaceholder(c,{strategy:"dominant-color"});o.dominantColor=i.dominantColor}catch(i){o.errors=o.errors||[],o.errors.push(`Failed to extract dominant color: ${i}`)}return await ki(e,s,o,r),o}catch(c){return{src:e,processed:!1,errors:[`Processing failed: ${c}`]}}}async function gg(e,s,r,t){let a=await x();if(!a)return{success:!1,error:"ts-images not installed"};try{return{success:!0,size:(await a.optimizeImage({input:e,output:t,format:s,quality:r}))?.outputSize}}catch(c){return{success:!1,error:String(c)}}}async function al(e,s,r){let t=r||await x();if(!t)return console.warn("[stx-media] ts-images not installed, skipping transformations"),null;try{let a=await t.decode(e);for(let c of s){let n=c.options||{};switch(c.type){case"resize":if(n.width||n.height)a=await t.resize(a,{width:n.width,height:n.height,fit:n.fit});break;case"blur":if(n.sigma!==void 0)a=await t.blur(a,n.sigma);break;case"sharpen":if(n.amount!==void 0)a=await t.sharpen(a,n.amount);break;case"grayscale":a=await t.grayscale(a);break;case"rotate":if(n.angle!==void 0)a=await t.rotate(a,n.angle);break;case"flip":a=await t.flip(a);break;case"flop":a=await t.flop(a);break;case"brightness":if(n.value!==void 0)a=await t.brightness(a,n.value);break;case"contrast":if(n.value!==void 0)a=await t.contrast(a,n.value);break;case"saturation":if(n.value!==void 0)a=await t.saturation(a,n.value);break}}return await t.encode(a,"png")}catch(a){return console.error(`[stx-media] Transformation failed: ${a}`),null}}import{resolve as Q,basename as U,extname as V,join as L}from"path";import{mkdir as H}from"fs/promises";async function O(){try{return await import("ts-images")}catch{return null}}var A=[320,480,640,768,1024,1280,1536,1920];async function mg(e,s,r){let t=await O();if(!t)return console.warn("[stx-media] ts-images not installed, skipping responsive generation"),null;let a=Q(e);if(!await D(a))return console.warn(`[stx-media] Source file not found: ${e}`),null;try{let c=s.responsiveWidths||r.breakpoints||A,n=s.formats||r.defaultFormats||["avif","webp","jpeg"],p=r.outputDir||"dist/images",I=r.baseUrl||"/images";await H(p,{recursive:!0});let d=await F(a),P=U(e,V(e)),b=r.formatQuality||{jpeg:{quality:82},png:{quality:80},webp:{quality:82},avif:{quality:75}},o={src:e,byFormat:{},srcsets:{}};for(let i of n){o.byFormat[i]=[];let l=[];for(let g of c){let h=`${P}-${g}w-${d}.${i}`,m=L(p,h),y=`${I}/${h}`;try{let C=b[i]?.quality||80;if(await D(m)){o.byFormat[i].push({path:m,url:y,width:g,height:0,format:i,size:0}),l.push(`${y} ${g}w`);continue}let f=await t.processImage({input:a,output:m,format:i,quality:C,resize:{width:g}});if(f)o.byFormat[i].push({path:m,url:y,width:g,height:f.height||Math.round(g*(f.height||1)/(f.width||1)),format:i,size:f.outputSize||0}),l.push(`${y} ${g}w`)}catch(C){console.warn(`[stx-media] Failed to generate ${i} at ${g}w: ${C}`)}}o.srcsets[i]=l.join(", ")}let u=s.placeholder||r.placeholderStrategy||"thumbhash";if(u!=="none")try{if(u==="thumbhash"){let i=await t.generateThumbHash(a);o.placeholder={dataURL:i.dataUrl,width:i.width||32,height:i.height||32,strategy:"thumbhash"}}else{let i=await t.generatePlaceholder(a,{strategy:u,width:20});o.placeholder={dataURL:i.dataURL,width:i.width,height:i.height,strategy:u}}}catch(i){console.warn(`[stx-media] Failed to generate placeholder: ${i}`)}return o.sizes=s.sizes||B(c),o}catch(c){return console.error(`[stx-media] Responsive generation failed: ${c}`),null}}function B(e){let s=[...e].sort((t,a)=>t-a),r=[];for(let t=0;t<s.length-1;t++){let a=s[t];r.push(`(max-width: ${a}px) ${a}px`)}return r.push(`${s[s.length-1]}px`),r.join(", ")}function hg(e,s="width"){if(!e||e.length===0)return"";if(s==="dpr")return e.filter((r)=>r.dpr).map((r)=>`${r.url} ${r.dpr}x`).join(", ");return e.map((r)=>`${r.url} ${r.width}w`).join(", ")}export{xi,Si,ki,pg,fg,gg,al,mg,hg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Jg,oa,Gl,Yg,Zg,Qg,em,tm,Xl,Jl,nm,rm,sm,om}from"./chunk-t8ap5qet.js";import"./chunk-b4ejzx20.js";import"./chunk-7emrpfha.js";import"./chunk-91pycazt.js";import"./chunk-hq00hf2e.js";import"./chunk-0yewaggn.js";import"./chunk-nt3hva3f.js";import"./chunk-at0k9j3q.js";import"./chunk-eks1mjr3.js";import"./chunk-kjh118s3.js";import"./chunk-f6bpxqj9.js";import"./chunk-jeh671tw.js";import"./chunk-sj7hm8dm.js";import"./chunk-yvwesavg.js";import"./chunk-z82a0dpd.js";import"./chunk-6ew10ptg.js";import"./chunk-5f6x6fyp.js";import"./chunk-njdppe81.js";import"./chunk-w9are744.js";import"./chunk-rthn3eq6.js";import"./chunk-yxtqk5p8.js";import"./chunk-nzwcbt98.js";import"./chunk-sv4d9jgf.js";import"./chunk-zn3c0ew5.js";import"./chunk-27agaezn.js";export{Gl as SUSPENSE_RESOLVER_RUNTIME,oa as buildSuspenseResolveScript,tm as createStreamRenderer,Qg as extractStreamBoundaries,om as generateHydrationRuntime,Jl as islandDirective,rm as processSectionDirectives,Zg as processStreamDirectives,nm as registerStreamingDirectives,Yg as renderStreamingPage,Jg as streamTemplate,em as streamTemplateSimple,sm as streamToResponse,Xl as streamingSuspenseDirective};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-yvwesavg.js";import{so}from"./chunk-3kw9m62d.js";import p from"path";async function zg(t={}){let l=performance.now(),s=t.root||process.cwd(),e=await a(s),o=t.ssr?.routeRules??e.routeRules??{};if(so(o),!e.ssr&&Object.keys(o).length)throw Error("routeRules require ssr: true and the production server; flat SSG output cannot apply request/cache policies");if(!e.ssr&&(t.ssr?.serverApi??e.serverApi))throw Error("serverApi requires ssr: true; flat SSG output cannot execute API endpoints");let r=e.ssr?"ssr":"ssg";console.log(`[stx build] Mode: ${r.toUpperCase()}${e.ssr?" (ssr: true in stx.config.ts)":" (default \u2014 ssr is false)"}`);let u,n;if(r==="ssg"){let{generateStaticSite:i}=await import("./ssg.js");u=await i({pagesDir:p.join(e.root||".",e.pagesDir||e.build?.pagesDir||"pages"),publicDir:e.publicDir||e.build?.publicDir||"public",outputDir:e.build?.outputDir||"dist",generate404:e.build?.generate404??!0,minify:e.build?.minify??!0,cleanOutput:e.build?.cleanOutput??!0,router:e.router,...t.ssg})}else{let{buildForProduction:i}=await import("./chunk-tbgz73ta.js");n=await i({root:s,outputDir:".output",debug:t.debug,...t.ssr})}let d=Math.round(performance.now()-l);return{mode:r,ssg:u,ssr:n,duration:d}}
|
|
3
3
|
export{zg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{vf,oh,ih,ah,ch,wf,xf,lh,uh,Do,dh,ir,ar,ls}from"./chunk-sj7hm8dm.js";import{et}from"./chunk-j2mpqa4p.js";import"./chunk-rthn3eq6.js";import"./chunk-yxtqk5p8.js";import"./chunk-nzwcbt98.js";import"./chunk-sv4d9jgf.js";import"./chunk-zn3c0ew5.js";import"./chunk-27agaezn.js";export{ch as __setSignalsGeneratorsForTest,et as cacheEngineFingerprint,ar as cacheTemplate,ir as checkCache,dh as clearDevCaches,xf as getCachedRouterScript,wf as getCachedSignalsRuntime,lh as getServeClientAsset,Do as getServeModuleBundle,ls as hashFilePath,ih as invalidateFileCache,ah as invalidateFileCacheByDir,oh as readFileCached,uh as registerServeModuleBundle,vf as templateCache};
|