@fluixi/compiler 1.0.0-alpha.55 → 1.0.0-alpha.57
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/babel-DZ7BC6T2.mjs +2 -0
- package/dist/frontend/babel/build-ir-lit.cjs +1 -0
- package/dist/frontend/babel/build-ir-lit.d.ts +26 -0
- package/dist/frontend/babel/build-ir-lit.d.ts.map +1 -0
- package/dist/frontend/babel/build-ir-lit.js +9 -0
- package/dist/frontend/babel/build-ir-lit.mjs +1 -0
- package/dist/frontend/babel/build-ir.cjs +1 -1
- package/dist/frontend/babel/build-ir.d.ts +11 -0
- package/dist/frontend/babel/build-ir.d.ts.map +1 -1
- package/dist/frontend/babel/build-ir.js +72 -13
- package/dist/frontend/babel/build-ir.mjs +1 -1
- package/dist/frontend/babel/index.cjs +2 -2
- package/dist/frontend/babel/index.mjs +2 -2
- package/dist/frontend/babel/lower-template.cjs +1 -0
- package/dist/frontend/babel/lower-template.d.ts +21 -0
- package/dist/frontend/babel/lower-template.d.ts.map +1 -0
- package/dist/frontend/babel/lower-template.js +447 -0
- package/dist/frontend/babel/lower-template.mjs +1 -0
- package/dist/frontend/babel/plugin.cjs +2 -2
- package/dist/frontend/babel/plugin.d.ts +21 -0
- package/dist/frontend/babel/plugin.d.ts.map +1 -1
- package/dist/frontend/babel/plugin.js +144 -206
- package/dist/frontend/babel/plugin.mjs +2 -2
- package/dist/integrations.cjs +7 -7
- package/dist/integrations.d.ts +19 -0
- package/dist/integrations.d.ts.map +1 -1
- package/dist/integrations.js +3 -0
- package/dist/integrations.mjs +4 -4
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/dist/babel-OGRQKOZA.mjs +0 -2
package/dist/integrations.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";var nt=Object.create;var V=Object.defineProperty;var rt=Object.getOwnPropertyDescriptor;var it=Object.getOwnPropertyNames;var st=Object.getPrototypeOf,ot=Object.prototype.hasOwnProperty;var L=(e,n)=>()=>(e&&(n=e(e=0)),n);var Se=(e,n)=>{for(var r in n)V(e,r,{get:n[r],enumerable:!0})},he=(e,n,r,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let s of it(n))!ot.call(e,s)&&s!==r&&V(e,s,{get:()=>n[s],enumerable:!(i=rt(n,s))||i.enumerable});return e};var ee=(e,n,r)=>(r=e!=null?nt(st(e)):{},he(n||!e||!e.__esModule?V(r,"default",{value:e,enumerable:!0}):r,e)),at=e=>he(V({},"__esModule",{value:!0}),e);var te,on,be=L(()=>{"use strict";te={version:1,module:"@fluixi/dom",symbols:["createNativeElement","insert","spread","setAttribute","delegateEvents","createComponent","createMemo","untrack","Show","For","Index","Switch","Match","Dynamic","ErrorBoundary"]},on={version:2,module:"@fluixi/dom",symbols:[...te.symbols,"template","cloneTemplate","walk"]}});function ft(e){return/^[A-Za-z_$][A-Za-z0-9_$]*$/.test(e)}function Ce(e){return ft(e)?e:JSON.stringify(e)}function mt(e){return e.expr!==void 0?e.reactive?`() => (${e.expr})`:`(${e.expr})`:JSON.stringify(e.literal??!0)}function dt(e){return e.expr!==void 0?`(${e.expr})`:JSON.stringify(e.literal??!0)}function gt(e,n,r){let i=e.filter(l=>l.kind==="spread"),o=e.filter(l=>l.kind!=="spread").map(l=>`${Ce(l.name)}: ${mt(l)}`);n!=null&&o.push(`children: ${n}`);let a=`{ ${o.join(", ")} }`;return i.length>0?(r.add("mergeProps"),`mergeProps(${i.map(l=>l.expr).join(", ")}, ${a})`):a}function Je(e,n){return e.length===1?B(e[0],n):`[${e.map(r=>B(r,n)).join(", ")}]`}function ve(e,n,r,i){i.add("createMemo"),i.add("createComponent");let s=n.filter(c=>c.kind==="spread"),a=n.filter(c=>c.kind!=="spread").map(c=>`get ${Ce(c.name)}() { return ${dt(c)}; }`);r.length>0&&a.push(`get children() { return ${Je(r,i)}; }`);let l=`{ ${a.join(", ")} }`;return s.length>0&&(i.add("mergeProps"),l=`mergeProps(${s.map(c=>c.expr).join(", ")}, ${l})`),`createMemo(() => createComponent(${e}, ${l}))`}function B(e,n){switch(e.kind){case"text":return JSON.stringify(e.value);case"expr":return e.reactive?`() => (${e.code})`:`(${e.code})`;case"fragment":return e.children.length===0?"null":Je(e.children,n);case"component":return ve(e.name,e.props,e.children,n);case"control":{let r=pt[e.control]??e.control;return n.add(r),ve(r,e.props,e.children,n)}case"element":{n.add("createNativeElement");let r=JSON.stringify(e.tag),i="_el$",s=[],o=e.svg?`${r}, true`:r;if(s.push(`const ${i} = createNativeElement(${o});`),e.props.length>0){n.add("spread");let a=e.svg?", isSVG: true":"";s.push(`spread({ element: ${i}, props: ${gt(e.props,null,n)}${a} });`)}for(let a of e.children){n.add("insert");let l=B(a,n),c=a.kind==="expr"&&a.reactive||a.kind==="component"||a.kind==="control";s.push(c?`insert(${i}, ${l}, null);`:`insert(${i}, ${l});`)}return s.push(`return ${i};`),`(() => { ${s.join(" ")} })()`}}}var pt,W,ne=L(()=>{"use strict";be();pt={show:"Show",for:"For",index:"Index",switch:"Switch",match:"Match",dynamic:"Dynamic",errorBoundary:"ErrorBoundary",suspense:"Suspense"};W={name:"imperative",contract:te,emit(e,n){let r=new Set;return{code:B(e,r),imports:Array.from(r)}}}});function Xe(e){return xt(e,{concise:!0}).code}function Et(e,n){let r=p.types.cloneNode(e,!0),i=p.types.file(p.types.program([p.types.expressionStatement(r)])),s=!1;return(0,p.traverse)(i,{"JSXElement|JSXFragment"(o){let a=o.node,{code:l,imports:c}=W.emit(O(a,n),{});for(let x of c)n.add(x);let m=p.template.expression(l,{placeholderPattern:!1})();o.replaceWith(m),o.skip(),s=!0}}),s?i.program.body[0].expression:e}function q(e,n){return Xe(Et(e,n))}function bt(e){if(p.types.isJSXIdentifier(e)){let n=e.name[0]!==e.name[0].toLowerCase();return{tag:e.name,component:n}}return p.types.isJSXMemberExpression(e)?{tag:Xe(e),component:!0}:p.types.isJSXNamespacedName(e)?{tag:`${e.namespace.name}:${e.name.name}`,component:!1}:{tag:"div",component:!1}}function vt(e){return p.types.isJSXIdentifier(e)?e.name==="class"?"className":e.name:p.types.isJSXNamespacedName(e)?`${e.namespace.name}:${e.name.name}`:"unknown"}function F(e){return p.types.isCallExpression(e)||p.types.isOptionalCallExpression(e)?!0:p.types.isMemberExpression(e)||p.types.isOptionalMemberExpression(e)?!(!e.computed&&p.types.isIdentifier(e.property,{name:"children"})):p.types.isConditionalExpression(e)?F(e.test)||F(e.consequent)||F(e.alternate):p.types.isLogicalExpression(e)||p.types.isBinaryExpression(e)?F(e.left)||F(e.right):p.types.isTemplateLiteral(e)?e.expressions.some(n=>F(n)):!1}function Ct(e,n){let r=vt(e.name),i=ht.test(r),o={name:r,kind:i?"event":"attr"};i&&(o.event={name:r.slice(2).toLowerCase(),delegated:yt.has(r.slice(2).toLowerCase())});let a=e.value;if(a==null)return o.literal=!0,o;if(p.types.isStringLiteral(a))return o.literal=a.value,o;if(p.types.isJSXExpressionContainer(a)&&!p.types.isJSXEmptyExpression(a.expression)){let l=a.expression;return p.types.isStringLiteral(l)||p.types.isNumericLiteral(l)||p.types.isBooleanLiteral(l)?(o.literal=l.value,o):(o.expr=q(l,n),o.reactive=i?!1:F(l),(p.types.isJSXElement(l)||p.types.isJSXFragment(l))&&(o.jsxElement=!0),o)}return o.literal=!0,o}function Jt(e,n){let r=[];for(let i of e)p.types.isJSXSpreadAttribute(i)?r.push({name:"",kind:"spread",expr:q(i.argument,n)}):p.types.isJSXAttribute(i)&&r.push(Ct(i,n));return r}function wt(e){let n=e.split(/\r\n|\n|\r/),r=0;for(let s=0;s<n.length;s++)/[^ \t]/.test(n[s])&&(r=s);let i="";for(let s=0;s<n.length;s++){let o=n[s].replace(/\t/g," ");s!==0&&(o=o.replace(/^ +/,"")),s!==n.length-1&&(o=o.replace(/ +$/,"")),o&&(s!==r&&(o+=" "),i+=o)}return i}function we(e,n){let r=[];for(let i of e)if(p.types.isJSXText(i)){let s=wt(i.value);s&&r.push({kind:"text",value:s})}else if(p.types.isJSXExpressionContainer(i)){if(!p.types.isJSXEmptyExpression(i.expression)){let s=i.expression;r.push({kind:"expr",code:q(s,n),reactive:F(s)})}}else p.types.isJSXElement(i)||p.types.isJSXFragment(i)?r.push(O(i,n)):p.types.isJSXSpreadChild(i)&&r.push({kind:"expr",code:q(i.expression,n),reactive:!1});return r}function O(e,n=new Set){if(p.types.isJSXFragment(e))return{kind:"fragment",children:we(e.children,n)};let{tag:r,component:i}=bt(e.openingElement.name),s=Jt(e.openingElement.attributes,n),o=we(e.children,n);return i?{kind:"component",name:r,props:s,children:o}:{kind:"element",tag:r,svg:St.has(r),props:s,children:o,static:!1}}var p,re,xt,St,ht,yt,Fe=L(()=>{"use strict";p=require("@babel/core"),re=ee(require("@babel/generator"),1);ne();xt=re.default.default??re.default;St=new Set(["svg","path","circle","rect","line","polygon","polyline","ellipse","g","defs","clipPath","text"]),ht=/^on[A-Z]/,yt=new Set(["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup"])});function Ft(e,n,r){let{runtime:i,pragma:s,development:o,autoShow:a=!0}=r;return i==="automatic"?D(e,n,o,a):$t(e,n,s)}function je(e,n,r){return n.length>0?(r.needsMergeProps=!0,t.types.callExpression(t.types.identifier("mergeProps"),[...n,t.types.objectExpression(e)])):t.types.objectExpression(e)}function Re(e){return e.length===1?e[0]:t.types.arrayExpression(e)}function Mt(e,n,r,i,s,o){if(!n){let f=[...r];return s.length>0&&f.push(t.types.objectMethod("get",t.types.identifier("children"),[],t.types.blockStatement([t.types.returnStatement(Re(s))]))),Ae(e,je(f,i,o),o)}let a=e.value,l=jt.has(a),c=t.types.identifier("_el$"),m=[];o.needsCreateNativeElement=!0;let x=[e];if(l&&x.push(t.types.booleanLiteral(!0)),m.push(t.types.variableDeclaration("const",[t.types.variableDeclarator(c,t.types.callExpression(t.types.identifier("createNativeElement"),x))])),r.length>0||i.length>0){o.needsSpread=!0;let f=[t.types.objectProperty(t.types.identifier("element"),c),t.types.objectProperty(t.types.identifier("props"),je(r,i,o))];l&&f.push(t.types.objectProperty(t.types.identifier("isSVG"),t.types.booleanLiteral(!0))),m.push(t.types.expressionStatement(t.types.callExpression(t.types.identifier("spread"),[t.types.objectExpression(f)])))}if(s.length>0){o.needsInsert=!0;for(let f of s){let P=t.types.isArrowFunctionExpression(f)||t.types.isFunctionExpression(f)||t.types.isCallExpression(f)&&t.types.isIdentifier(f.callee)&&f.callee.name==="createMemo"?[t.types.cloneNode(c),f,t.types.nullLiteral()]:[t.types.cloneNode(c),f];m.push(t.types.expressionStatement(t.types.callExpression(t.types.identifier("insert"),P)))}}return m.push(t.types.returnStatement(c)),t.types.callExpression(t.types.arrowFunctionExpression([],t.types.blockStatement(m)),[])}function Ae(e,n,r){return r.backend==="imperative"?(r.needsCreateComponent=!0,r.needsCreateMemo=!0,t.types.callExpression(t.types.identifier("createMemo"),[t.types.arrowFunctionExpression([],t.types.callExpression(t.types.identifier("createComponent"),[e,n]))])):t.types.callExpression(t.types.identifier("jsx"),[e,n])}function Me(e,n){let r=new Set,i=O(e,r),{code:s,imports:o}=W.emit(i,{});for(let a of o)r.add(a);for(let a of r)n.irImports.add(a);return t.template.expression(s,{placeholderPattern:!1})()}function Pt(e){return e.map(n=>{if(t.types.isObjectProperty(n)){let r=n.key,i=n.computed,s=n.value;return t.types.objectMethod("get",r,[],t.types.blockStatement([t.types.returnStatement(s)]),i)}return n})}function D(e,n,r,i=!0){let s=e.openingElement,o=e.children,a=Ne(s.name),l=t.types.isJSXIdentifier(s.name)&&/^[a-z]/.test(s.name.name),c=ke(s.attributes,n,l,t.types.isJSXIdentifier(s.name)?s.name.name:""),m=c.props,x=c.spreads;l||(m=Pt(m));let f=se(o,n,i);if(n.backend==="imperative")return Mt(a,l,m,x,f,n);if(f.length>0){let X=f.length===1?f[0]:t.types.arrayExpression(f);m.push(t.types.objectProperty(t.types.identifier("children"),X))}let b;if(x.length>0){let X=m.length>0?t.types.objectExpression(m):t.types.objectExpression([]);n.needsMergeProps=!0,b=t.types.callExpression(t.types.identifier("mergeProps"),[...x,X])}else b=t.types.objectExpression(m);let P=r?"jsxDEV":f.length>1?"jsxs":"jsx",v=[a,b];return r&&v.push(t.types.identifier("undefined"),t.types.booleanLiteral(!1),t.types.identifier("undefined"),t.types.identifier("undefined")),t.types.callExpression(t.types.identifier(P),v)}function $t(e,n,r){let i=e.openingElement,s=e.children,o=Ne(i.name),a=t.types.isJSXIdentifier(i.name)&&/^[a-z]/.test(i.name.name),{props:l,spreads:c}=ke(i.attributes,n,a,t.types.isJSXIdentifier(i.name)?i.name.name:""),m=se(s,n,n.autoShow??!0),x;if(c.length>0){let b=l.length>0?t.types.objectExpression(l):t.types.objectExpression([]);n.needsMergeProps=!0,x=t.types.callExpression(t.types.identifier("mergeProps"),[...c,b])}else x=l.length>0?t.types.objectExpression(l):t.types.nullLiteral();let f=[o,x,...m];return t.types.callExpression(t.types.identifier(r),f)}function H(e,n,r){let{runtime:i,pragmaFrag:s,development:o}=r,a=se(e.children,n,n.autoShow??!0);if(n.backend==="imperative")return a.length===0?t.types.nullLiteral():Re(a);if(i==="automatic"){let l=o?"jsxDEV":a.length>1?"jsxs":"jsx",c=t.types.objectExpression([t.types.objectProperty(t.types.identifier("children"),a.length===1?a[0]:t.types.arrayExpression(a))]),m=[t.types.identifier("Fragment"),c];return o&&m.push(t.types.identifier("undefined"),t.types.booleanLiteral(!1),t.types.identifier("undefined"),t.types.identifier("undefined")),t.types.callExpression(t.types.identifier(l),m)}else return t.types.callExpression(t.types.identifier(s),a)}function Ne(e){if(t.types.isJSXIdentifier(e)){let n=e.name;return n[0]===n[0].toLowerCase()?t.types.stringLiteral(n):t.types.identifier(n)}return t.types.isJSXMemberExpression(e)?Oe(e):t.types.isJSXNamespacedName(e)?t.types.stringLiteral(`${e.namespace.name}:${e.name.name}`):t.types.stringLiteral("div")}function Oe(e){let n;return t.types.isJSXIdentifier(e.object)?n=t.types.identifier(e.object.name):n=Oe(e.object),t.types.memberExpression(n,t.types.identifier(e.property.name))}function Lt(e){return/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)}function ke(e,n,r=!0,i=""){let s=[],o=[],a=Xt[i];for(let l of e)if(t.types.isJSXSpreadAttribute(l))o.push(l.argument);else if(t.types.isJSXAttribute(l)){let c=It(l.name),m=Tt(l.value,n,c,r);if(Ie.test(c)){let R=c.slice(2).toLowerCase();Te.includes(R)&&n.delegatedEvents.add(R)}let x=Lt(c)?t.types.identifier(c):t.types.stringLiteral(c),f=l.value,b=t.types.isJSXElement(f)||t.types.isJSXFragment(f)||t.types.isJSXExpressionContainer(f)&&(t.types.isJSXElement(f.expression)||t.types.isJSXFragment(f.expression)),P=!r&&c===a,v=t.types.isJSXExpressionContainer(f)&&!t.types.isJSXEmptyExpression(f.expression)?f.expression:null,X=!r&&!!v&&De(v,c);!r&&b||P||X?s.push(t.types.objectMethod("get",x,[],t.types.blockStatement([t.types.returnStatement(m)]))):s.push(t.types.objectProperty(x,m))}return{props:s,spreads:o}}function It(e){return t.types.isJSXIdentifier(e)?e.name==="class"?"className":e.name:t.types.isJSXNamespacedName(e)?`${e.namespace.name}:${e.name.name}`:"unknown"}function Tt(e,n,r="",i=!0){if(e===null)return t.types.booleanLiteral(!0);if(t.types.isStringLiteral(e))return e.value.includes(`
|
|
2
|
-
`)?t.types.stringLiteral(e.value.replace(/\s+/g," ").trim()):e;if(t.types.isJSXExpressionContainer(e)){if(t.types.isJSXEmptyExpression(e.expression))return t.types.booleanLiteral(!0);let s=e.expression;return i&&De(s,r)?t.types.arrowFunctionExpression([],s):s}return t.types.isJSXElement(e)?D(e,n,!1,n.autoShow??!0):t.types.isJSXFragment(e)?H(e,n,{runtime:"automatic",pragmaFrag:"Fragment",development:!1}):t.types.booleanLiteral(!0)}function De(e,n){return Ie.test(n)||n.startsWith("on:")||n==="ref"||n.startsWith("use:")||t.types.isArrowFunctionExpression(e)||t.types.isFunctionExpression(e)||t.types.isIdentifier(e)||t.types.isStringLiteral(e)||t.types.isNumericLiteral(e)||t.types.isBooleanLiteral(e)||t.types.isNullLiteral(e)?!1:!!(t.types.isCallExpression(e)||t.types.isOptionalCallExpression(e)||t.types.isMemberExpression(e)||t.types.isOptionalMemberExpression(e)||t.types.isLogicalExpression(e)||t.types.isConditionalExpression(e)||t.types.isBinaryExpression(e)||t.types.isUnaryExpression(e)||t.types.isTemplateLiteral(e)||t.types.isObjectExpression(e)||t.types.isArrayExpression(e))}function Rt(e){let n=e.split(/\r\n|\n|\r/),r=0;for(let s=0;s<n.length;s++)/[^ \t]/.test(n[s])&&(r=s);let i="";for(let s=0;s<n.length;s++){let o=n[s].replace(/\t/g," ");s!==0&&(o=o.replace(/^ +/,"")),s!==n.length-1&&(o=o.replace(/ +$/,"")),o&&(s!==r&&(o+=" "),i+=o)}return i}function se(e,n,r=!0){let i=[];for(let s of e)if(t.types.isJSXText(s)){let o=Rt(s.value);o&&i.push(t.types.stringLiteral(o))}else if(t.types.isJSXExpressionContainer(s)){if(!t.types.isJSXEmptyExpression(s.expression)){let o=s.expression;if(r){let a=At(o,n)??Nt(o,n);if(a){i.push(a);continue}}else{let a=Ot(o,n);if(a){i.push(a);continue}}Dt(o)?i.push(t.types.arrowFunctionExpression([],o)):i.push(o)}}else t.types.isJSXElement(s)?i.push(D(s,n,!1,n.autoShow??!0)):t.types.isJSXFragment(s)?i.push(H(s,n,{runtime:"automatic",pragmaFrag:"Fragment",development:!1})):t.types.isJSXSpreadChild(s)&&i.push(s.expression);return i}function At(e,n){if(!t.types.isArrowFunctionExpression(e)||e.params.length!==0||e.async)return null;let r=e.body;if(t.types.isLogicalExpression(r)&&r.operator==="&&"){let i=C(r.right);if(i)return k(j(r.left),i,null,n)}if(t.types.isConditionalExpression(r)){let i=C(r.consequent);if(i){let s=oe(r.alternate,n);return k(j(r.test),i,s,n,!0)}}return null}function Nt(e,n){if(t.types.isLogicalExpression(e)&&e.operator==="&&"){let r=C(e.right);if(r)return k(j(e.left),r,null,n)}if(t.types.isConditionalExpression(e)){let r=C(e.consequent);if(r){let i=oe(e.alternate,n);return k(j(e.test),r,i,n)}}return null}function Ot(e,n){let r=t.types.isArrowFunctionExpression(e)&&e.params.length===0&&!e.async&&t.types.isExpression(e.body)?e.body:e;if(t.types.isConditionalExpression(r)){let i=j(r.test),o=C(r.consequent)??r.consequent,l=C(r.alternate)??r.alternate,c=t.types.conditionalExpression(i,o,l);return ie(r.consequent)||ie(r.alternate)?null:(n.needsCreateMemo=!0,t.types.callExpression(t.types.identifier("createMemo"),[t.types.arrowFunctionExpression([],c)]))}if(t.types.isLogicalExpression(r)&&r.operator==="&&"){let i=j(r.left),o=C(r.right)??r.right,a=t.types.logicalExpression("&&",i,o);return ie(r.right)?null:(n.needsCreateMemo=!0,t.types.callExpression(t.types.identifier("createMemo"),[t.types.arrowFunctionExpression([],a)]))}return null}function oe(e,n){if(kt(e))return null;let r=C(e);if(r)return _e(r,n);if(t.types.isConditionalExpression(e)){let i=e,s=C(i.consequent);if(s){let o=oe(i.alternate,n);return k(j(i.test),s,o,n)}}return e}function Pe(e){return t.types.isJSXElement(e)||t.types.isJSXFragment(e)}function ie(e){let n=C(e);if(!n||!t.types.isJSXElement(n))return!1;let r=n.openingElement.name;return t.types.isJSXIdentifier(r)&&Le.has(r.name)}function C(e){return Pe(e)?e:t.types.isArrowFunctionExpression(e)&&e.params.length===0&&!e.async&&Pe(e.body)?e.body:null}function j(e){return t.types.isArrowFunctionExpression(e)&&e.params.length===0&&!e.async&&t.types.isExpression(e.body)?e.body:e}function kt(e){return t.types.isNullLiteral(e)||t.types.isIdentifier(e)&&e.name==="undefined"||t.types.isBooleanLiteral(e)&&e.value===!1}function _e(e,n){return t.types.isJSXElement(e)?D(e,n,!1,n.autoShow??!0):H(e,n,{runtime:"automatic",pragmaFrag:"Fragment",development:!1})}function k(e,n,r,i,s=!1){i.controlFlowComponents.add("Show"),i.needsControlFlowImport=!0;let o=_e(n,i),a=[t.types.objectProperty(t.types.identifier("when"),t.types.arrowFunctionExpression([],e)),t.types.objectProperty(t.types.identifier("children"),o)];return r&&a.push(t.types.objectProperty(t.types.identifier("fallback"),r)),Ae(t.types.identifier("Show"),t.types.objectExpression(a),i)}function Dt(e){return t.types.isMemberExpression(e)||t.types.isOptionalMemberExpression(e)?!(!e.computed&&t.types.isIdentifier(e.property,{name:"children"})):t.types.isCallExpression(e)||t.types.isOptionalCallExpression(e)?!0:t.types.isIdentifier(e)?!1:!!(t.types.isLogicalExpression(e)||t.types.isConditionalExpression(e)||t.types.isBinaryExpression(e)||t.types.isUnaryExpression(e)||t.types.isTemplateLiteral(e))}function Ve(e,n){let r=e.openingElement;if(!t.types.isJSXIdentifier(r.name))return!1;let i=r.name.name;if(i[0]!==i[0].toLowerCase())return!1;for(let s of r.attributes){if(t.types.isJSXSpreadAttribute(s))return!1;if(t.types.isJSXAttribute(s)){let o=s.value;if(t.types.isJSXExpressionContainer(o)&&!t.types.isStringLiteral(o.expression)&&!t.types.isNumericLiteral(o.expression))return!1}}for(let s of e.children)if(t.types.isJSXElement(s)&&!Ve(s,n)||t.types.isJSXExpressionContainer(s))return!1;return!0}function _t(e,n){let r=`_$static${n.staticCounter++}`,i=D(e,n,!1);return n.staticElements.set(r,i),t.types.identifier(r)}function Vt(e,n){let r=e.openingElement.name.name;return r==="Show"?zt(e,n):r==="For"?Bt(e,n):null}function zt(e,n){return null}function Bt(e,n){return null}var $e,t,Le,Xt,Ie,Te,I,jt,ae=L(()=>{"use strict";$e=require("@babel/helper-plugin-utils"),t=require("@babel/core");Fe();ne();Le=new Set(["Show","For","Index","Switch","Match","Portal","Dynamic","ErrorBoundary","Suspense"]),Xt={Show:"when",For:"each",Index:"each",Match:"when"},Ie=/^on[A-Z]/,Te=["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup","mouseover","mouseout","mouseenter","mouseleave"],I=(0,$e.declare)((e,n={})=>{e.assertVersion(7);let{runtime:r="automatic",importSource:i="@fluixi/jsx",pragma:s="jsx",pragmaFrag:o="Fragment",development:a=!1,detectReactivity:l=!0,useLitHTML:c=!0,hoistStatics:m=!0,delegateEvents:x=!0,delegatedEvents:f=Te,optimizeControlFlow:b=!0,sourceMaps:P=!0,signalModule:v="@fluixi/dom",controlFlowModule:X="@fluixi/dom",reactiveModule:R="@fluixi/reactive/signal",autoShowTransform:Ee=!1,backend:J="imperative",codegen:A="inline"}=n,tt={backend:J,codegen:A,irImports:new Set,libModule:"@fluixi/core",hasJSX:!1,hasReactivity:!1,hasLitHTML:!1,needsSignalImport:!1,needsControlFlowImport:!1,needsCreateMemo:!1,controlFlowComponents:new Set,delegatedEvents:new Set,staticElements:new Map,staticCounter:0};return{name:"@fluixi/babel-plugin-jsx",manipulateOptions(d,u){u.plugins.push("jsx","typescript")},pre(d){Object.assign(d,tt)},visitor:{ImportDeclaration(d,u){d.node.source.value==="@fluixi/core/rx"&&(d.node.source=t.types.stringLiteral("@fluixi/reactive"))},Program:{enter(d,u){Object.assign(u,{hasJSX:!1,hasReactivity:!1,hasLitHTML:!1,needsSignalImport:!1,needsLitrxImport:!1,needsControlFlowImport:!1,needsCreateMemo:!1,controlFlowComponents:new Set,delegatedEvents:new Set,staticElements:new Map,autoShow:Ee,staticCounter:0,libModule:"@fluixi/core",backend:J,codegen:A,irImports:new Set,needsCreateNativeElement:!1,needsInsert:!1,needsSpread:!1,needsCreateComponent:!1,needsMergeProps:!1})},exit(d,u){let g=[];if(u.hasJSX||(u.needsSignalImport&&g.push(t.types.importDeclaration([t.types.importSpecifier(t.types.identifier("signal"),t.types.identifier("signal"))],t.types.stringLiteral(v))),u.needsLitrxImport&&!d.scope.hasBinding("litrx")&&g.push(t.types.importDeclaration([t.types.importSpecifier(t.types.identifier("litrx"),t.types.identifier("litrx"))],t.types.stringLiteral(u.libModule)))),u.hasJSX){if(J==="imperative"&&A==="ir"){let S=new Set(["Show","For","Index","Switch","Match","Dynamic","ErrorBoundary","Portal","Suspense"]),h=new Set(["createMemo","createEffect","createRenderEffect","createRoot","createSignal","onCleanup","batch","untrack"]),E=Array.from(u.irImports),w=y=>t.types.importSpecifier(t.types.identifier(y),t.types.identifier(y)),$=y=>!d.scope.hasBinding(y),Y=E.filter(y=>h.has(y)&&$(y)),_=E.filter(y=>!S.has(y)&&!h.has(y)&&$(y)),N=E.filter(y=>S.has(y)&&$(y));Y.length>0&&g.push(t.types.importDeclaration(Y.map(w),t.types.stringLiteral(R))),_.length>0&&g.push(t.types.importDeclaration(_.map(w),t.types.stringLiteral(v))),N.length>0&&g.push(t.types.importDeclaration(N.map(w),t.types.stringLiteral(X)))}else if(J==="imperative"){let h=[[!!u.needsCreateNativeElement,"createNativeElement"],[!!u.needsSpread,"spread"],[!!u.needsInsert,"insert"],[!!u.needsCreateComponent,"createComponent"],[!!u.needsMergeProps,"mergeProps"]].filter(([E,w])=>E&&!d.scope.hasBinding(w)).map(([,E])=>t.types.importSpecifier(t.types.identifier(E),t.types.identifier(E)));h.length>0&&g.push(t.types.importDeclaration(h,t.types.stringLiteral(v)))}else if(r==="automatic"){let S=[t.types.importSpecifier(t.types.identifier("jsx"),t.types.identifier("jsx")),t.types.importSpecifier(t.types.identifier("jsxs"),t.types.identifier("jsxs")),t.types.importSpecifier(t.types.identifier("Fragment"),t.types.identifier("Fragment"))];a&&S.push(t.types.importSpecifier(t.types.identifier("jsxDEV"),t.types.identifier("jsxDEV"))),u.needsMergeProps&&S.push(t.types.importSpecifier(t.types.identifier("mergeProps"),t.types.identifier("mergeProps"))),g.push(t.types.importDeclaration(S,t.types.stringLiteral(i)))}if(u.needsCreateMemo&&!d.scope.hasBinding("createMemo")&&g.push(t.types.importDeclaration([t.types.importSpecifier(t.types.identifier("createMemo"),t.types.identifier("createMemo"))],t.types.stringLiteral(J==="imperative"?R:u.libModule??"@fluixi/core"))),u.needsControlFlowImport&&u.controlFlowComponents.size>0){let S=Array.from(u.controlFlowComponents).filter(h=>!d.scope.hasBinding(h));if(S.length>0){let h=S.map(E=>t.types.importSpecifier(t.types.identifier(E),t.types.identifier(E)));g.push(t.types.importDeclaration(h,t.types.stringLiteral(X)))}}if(x&&u.delegatedEvents.size>0){g.push(t.types.importDeclaration([t.types.importSpecifier(t.types.identifier("delegateEvents"),t.types.identifier("delegateEvents"))],t.types.stringLiteral(J==="imperative"?v:"@fluixi/jsx")));let S=t.types.arrayExpression(Array.from(u.delegatedEvents).map(E=>t.types.stringLiteral(E))),h=t.types.expressionStatement(t.types.callExpression(t.types.identifier("delegateEvents"),[S]));d.node.body.unshift(h)}if(m&&u.staticElements.size>0){let S=[];u.staticElements.forEach((h,E)=>{S.push(t.types.variableDeclaration("const",[t.types.variableDeclarator(t.types.identifier(E),h)]))}),d.node.body.unshift(...S)}}g.length>0&&d.node.body.unshift(...g)}},JSXElement(d,u){if(u.hasJSX=!0,J==="imperative"&&A==="ir"){d.replaceWith(Me(d.node,u));return}let g=d.node,S=g.openingElement;if(t.types.isJSXIdentifier(S.name)&&Le.has(S.name.name)&&(u.controlFlowComponents.add(S.name.name),b)){let E=Vt(g,u);if(E){d.replaceWith(E);return}}if(m&&J!=="imperative"&&Ve(g,u)){let E=_t(g,u);if(E){d.replaceWith(E);return}}let h=Ft(g,u,{runtime:r,pragma:s,development:a,detectReactivity:l,useLitHTML:c,autoShow:Ee});d.replaceWith(h)},JSXFragment(d,u){if(u.hasJSX=!0,J==="imperative"&&A==="ir"){d.replaceWith(Me(d.node,u));return}let g=H(d.node,u,{runtime:r,pragmaFrag:o,development:a});d.replaceWith(g)},CallExpression(d,u){if(!l)return;let g=d.node.callee;g.name,t.types.isIdentifier(g)&&(g.name==="createSignal"||g.name==="createStore"||g.name==="useContext"||g.name==="useLocation")&&(u.hasReactivity=!0)},JSXExpressionContainer(d){},TaggedTemplateExpression(d,u){let{tag:g,quasi:S}=d.node;d.get("quasi").get("expressions").forEach((h,E)=>{let w=h.node,$=S.quasis[E].value.raw;if($.trim().endsWith("=")||$.match(/@[\w-]+$/))return;let _=!1,N=!1;if(t.types.isMemberExpression(w)){let y=w.property;t.types.isIdentifier(y)&&(y.name=y.name.replace("$",""),u.needsLitrxImport=!0,N=!0)}(_||N)&&h.replaceWith(t.types.callExpression(t.types.identifier("((window as any).Fluixi.litrx || litrx)"),[t.types.arrowFunctionExpression([],w)]))})}}}});jt=new Set(["svg","path","circle","rect","line","polygon","polyline","ellipse","g","defs","clipPath","text"])});var ze=L(()=>{"use strict"});var Be={};Se(Be,{babelPluginReactiveJSX:()=>Wt,createPlugin:()=>qt,createPreset:()=>U,default:()=>I,presets:()=>Ht});function qt(e){return[I,e]}function U(e={}){return{plugins:[[I,{runtime:"automatic",importSource:"@fluixi/jsx",development:!1,detectReactivity:!0,useLitHTML:!0,hoistStatics:!0,delegateEvents:!0,optimizeControlFlow:!0,sourceMaps:!0,...e}]]}}var Wt,Ht,We=L(()=>{"use strict";ae();ze();ae();Wt=I;Ht={production:U({development:!1,hoistStatics:!0,delegateEvents:!0,optimizeControlFlow:!0}),development:U({development:!0,hoistStatics:!1,sourceMaps:!0}),minimal:U({detectReactivity:!1,useLitHTML:!1,hoistStatics:!1,delegateEvents:!1,optimizeControlFlow:!1})}});var nn={};Se(nn,{analyzeProp:()=>G,analyzeProps:()=>Z,createBabelPlugin:()=>T,createESBuildPlugin:()=>Ye,createRollupPlugin:()=>Qe,createTypeScriptTransformer:()=>Ge,createVitePlugin:()=>Ze,createWebpackLoader:()=>Ke,default:()=>tn,generateChildrenCode:()=>pe,generateCreateElement:()=>He,generateEventDelegation:()=>ge,generateLitHTMLTemplate:()=>fe,generatePropsCode:()=>ue,hoistStatic:()=>de,isLitTemplate:()=>qe,optimizeSpreads:()=>Ue,optimizeStatic:()=>me,serverFunctionsVitePlugin:()=>en,shouldUseLitTemplate:()=>ce,transform:()=>M,transformServerFunctions:()=>z});module.exports=at(nn);var ye=require("@babel/core"),lt="@fluixi/start/server-fn";function ct(e){let n=5381;for(let r=0;r<e.length;r++)n=n*33^e.charCodeAt(r);return(n>>>0).toString(16)}function ut({types:e}){return{name:"fluixi-server-functions",visitor:{Program:{enter(n,r){r.fxIndex=0,r.fxUsed=null},exit(n,r){r.fxUsed&&n.unshiftContainer("body",e.importDeclaration([e.importSpecifier(e.identifier(r.fxUsed),e.identifier(r.fxUsed))],e.stringLiteral(r.opts.runtimeModule||lt)))}},"FunctionDeclaration|FunctionExpression|ArrowFunctionExpression":(n,r)=>{let i=n.node.body;if(!e.isBlockStatement(i))return;let o=(i.directives||[]).findIndex(f=>f.value.value==="use server");if(o<0)return;i.directives.splice(o,1);let a=(r.opts.filename||r.filename||"unknown").replace(r.opts.root?r.opts.root+"/":"",""),l=`${ct(a)}:${r.fxIndex++}`,c=!!r.opts.ssr,m=c?"$$registerServerFn":"$$createServerReference";r.fxUsed=m;let x=c?e.callExpression(e.identifier(m),[e.stringLiteral(l),n.isFunctionDeclaration()?e.functionExpression(null,n.node.params,i,n.node.generator,n.node.async):n.node]):e.callExpression(e.identifier(m),[e.stringLiteral(l)]);n.isFunctionDeclaration()?n.replaceWith(e.variableDeclaration("const",[e.variableDeclarator(n.node.id,x)])):n.replaceWith(x),n.skip()}}}}function z(e,n){if(!e.includes("use server"))return null;let r=(0,ye.transformSync)(e,{filename:n.filename,configFile:!1,babelrc:!1,sourceMaps:!0,parserOpts:{plugins:["typescript","jsx"]},plugins:[[ut,n]]});return r?.code?{code:r.code,map:r.map}:null}var Q=require("node:fs"),xe=require("node:path"),Ut=new Set(["key","ref","children"]),Gt=[/\(\)\s*=>/,/function\s*\(\)/,/\w+\(\)/,/\w+\.\w+/,/\w+\[.+\]/,/createSignal/,/createStore/,/createMemo/,/createEffect/],Zt=/^on[A-Z]/;function G(e,n){let r={name:e,isStatic:!0,isReactive:!1,isEvent:Zt.test(e),isRef:e==="ref",isSpread:e.startsWith("...")};if(Ut.has(e))return r;if(r.isEvent||r.isRef)return r.isStatic=!1,r;if(typeof n=="string"){let i=n;for(let s of Gt)if(s.test(i)){r.isStatic=!1,r.isReactive=!0;break}i.includes("${")&&(r.isStatic=!1,r.isReactive=!0)}else typeof n=="function"?(r.isStatic=!1,r.isReactive=!0):typeof n=="object"&&n!==null&&(r.isStatic=!1);return r}function Z(e){let n=new Map;for(let[r,i]of Object.entries(e))n.set(r,G(r,i));return n}function ce(e,n,r){if(typeof e!="string")return!1;let i=Z(n);for(let s of i.values()){if(s.isSpread)return!1;s.isReactive&&s.isEvent}return!0}function qe(e){return e&&typeof e=="object"&&"_$litType$"in e}function He(e,n,r,i={}){let s=["svg","path","circle","rect","g"].includes(e),o=ue(n,i),a=r.length>0?`, ${pe(r)}`:"";return i.useLitHTML!==!1&&ce(e,n,r)?fe(e,n,r,s):`jsx('${e}', ${o}${a})`}function ue(e,n={}){if(Object.keys(e).length===0)return"{}";let r=Z(e),i=[];for(let[s,o]of Object.entries(e)){let a=r.get(s);a.isReactive&&!a.isStatic?i.push(`${s}: () => ${o}`):typeof o=="string"?i.push(`${s}: "${o}"`):typeof o=="number"||typeof o=="boolean"?i.push(`${s}: ${o}`):i.push(`${s}: ${o}`)}return`{ ${i.join(", ")} }`}function pe(e){return e.length===0?"undefined":e.length===1?String(e[0]):`[${e.join(", ")}]`}function fe(e,n,r,i=!1){let s=i?"svg":"html",o=`<${e}`,a=[];for(let[l,c]of Object.entries(n)){if(l==="children"||l==="key"||l==="ref")continue;let m=G(l,c);if(m.isEvent){let x=l.slice(2).toLowerCase();o+=` @${x}=\${${a.length}}`,a.push(String(c))}else m.isReactive?(o+=` ${l}=\${${a.length}}`,a.push(`signal(() => ${c})`)):typeof c=="string"?o+=` ${l}="${c}"`:(o+=` ${l}=\${${a.length}}`,a.push(String(c)))}if(o+=">",r.length>0)for(let l of r)typeof l=="string"?o+=l:(o+=`\${${a.length}}`,a.push(String(l)));return o+=`</${e}>`,`${s}\`${o}\`${a.length>0?`, ${a.join(", ")}`:""}`}function me(e){return e=e.replace(/jsx\('([^']+)',\s*{},\s*"([^"]+)"\s*\)/g,(n,r,i)=>`_$staticNode('${r}', '${i}')`),e}function Ue(e){return e}function de(e){let n=[],r=0;return e=e.replace(/jsx\('([^']+)',\s*{([^}]*)},\s*([^)]*)\)/g,(i,s,o,a)=>{if(!o.includes("()")&&!o.includes("=>")){let l=`_$static${r++}`;return n.push(`const ${l} = ${i};`),l}return i}),n.length>0?n.join(`
|
|
1
|
+
"use strict";var yt=Object.create;var U=Object.defineProperty;var vt=Object.getOwnPropertyDescriptor;var wt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var X=(e,t)=>()=>(e&&(t=e(e=0)),t);var Xe=(e,t)=>{for(var n in t)U(e,n,{get:t[n],enumerable:!0})},je=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of wt(t))!Jt.call(e,s)&&s!==n&&U(e,s,{get:()=>t[s],enumerable:!(i=vt(t,s))||i.enumerable});return e};var q=(e,t,n)=>(n=e!=null?yt(Ct(e)):{},je(t||!e||!e.__esModule?U(n,"default",{value:e,enumerable:!0}):n,e)),kt=e=>je(U({},"__esModule",{value:!0}),e);var oe,jn,Fe=X(()=>{"use strict";oe={version:1,module:"@fluixi/dom",symbols:["createNativeElement","insert","spread","setAttribute","delegateEvents","createComponent","createMemo","untrack","Show","For","Index","Switch","Match","Dynamic","ErrorBoundary"]},jn={version:2,module:"@fluixi/dom",symbols:[...oe.symbols,"template","cloneTemplate","walk"]}});function Rt(e){return/^[A-Za-z_$][A-Za-z0-9_$]*$/.test(e)}function $e(e){return Rt(e)?e:JSON.stringify(e)}function Ft(e){return e.expr!==void 0?e.reactive?`() => (${e.expr})`:`(${e.expr})`:JSON.stringify(e.literal??!0)}function Pt(e){return e.expr!==void 0?`(${e.expr})`:JSON.stringify(e.literal??!0)}function $t(e,t,n){let i=e.filter(l=>l.kind==="spread"),o=e.filter(l=>l.kind!=="spread").map(l=>`${$e(l.name)}: ${Ft(l)}`);t!=null&&o.push(`children: ${t}`);let a=`{ ${o.join(", ")} }`;return i.length>0?(n.add("mergeProps"),`mergeProps(${i.map(l=>l.expr).join(", ")}, ${a})`):a}function Me(e,t){return e.length===1?Z(e[0],t):`[${e.map(n=>Z(n,t)).join(", ")}]`}function Pe(e,t,n,i){i.add("createMemo"),i.add("createComponent");let s=t.filter(c=>c.kind==="spread"),a=t.filter(c=>c.kind!=="spread").map(c=>`get ${$e(c.name)}() { return ${Pt(c)}; }`);n.length>0&&a.push(`get children() { return ${Me(n,i)}; }`);let l=`{ ${a.join(", ")} }`;return s.length>0&&(i.add("mergeProps"),l=`mergeProps(${s.map(c=>c.expr).join(", ")}, ${l})`),`createMemo(() => createComponent(${e}, ${l}))`}function Z(e,t){switch(e.kind){case"text":return JSON.stringify(e.value);case"expr":return e.reactive?`() => (${e.code})`:`(${e.code})`;case"fragment":return e.children.length===0?"null":Me(e.children,t);case"component":return Pe(e.name,e.props,e.children,t);case"control":{let n=jt[e.control]??e.control;return t.add(n),Pe(n,e.props,e.children,t)}case"element":{t.add("createNativeElement");let n=JSON.stringify(e.tag),i="_el$",s=[],o=e.svg?`${n}, true`:n;if(s.push(`const ${i} = createNativeElement(${o});`),e.props.length>0){t.add("spread");let a=e.svg?", isSVG: true":"";s.push(`spread({ element: ${i}, props: ${$t(e.props,null,t)}${a} });`)}for(let a of e.children){t.add("insert");let l=Z(a,t),c=a.kind==="expr"&&a.reactive||a.kind==="component"||a.kind==="control";s.push(c?`insert(${i}, ${l}, null);`:`insert(${i}, ${l});`)}return s.push(`return ${i};`),`(() => { ${s.join(" ")} })()`}}}var jt,j,K=X(()=>{"use strict";Fe();jt={show:"Show",for:"For",index:"Index",switch:"Switch",match:"Match",dynamic:"Dynamic",errorBoundary:"ErrorBoundary",suspense:"Suspense"};j={name:"imperative",contract:oe,emit(e,t){let n=new Set;return{code:Z(e,n),imports:Array.from(n)}}}});function Tt(e){return Mt(e,{concise:!0}).code}function Lt(e){return e.replace(/\\/g,"\\\\").replace(/`/g,"\\`").replace(/\$\{/g,"\\${")}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Oe(e,t,n={}){let i=e.quasi,s=i.expressions.map(l=>{let c=l;return{node:c,code:R(c,t),reactive:v(c)}}),o=At(i),{root:a}=(0,Ae.parseTemplate)(o,{svg:n.svg});return new le(s,t).lowerRoot(a.children)}function At(e){let t=[];return e.quasis.forEach((n,i)=>{let s=n.value.cooked??n.value.raw;if(t.push({kind:"static",text:s,start:n.start??0}),i<e.expressions.length){let o=e.expressions[i];t.push({kind:"hole",index:i,start:o.start??0,end:o.end??0})}}),t}var D,ae,Ae,Mt,Te,le,De=X(()=>{"use strict";D=require("@babel/core"),ae=q(require("@babel/generator"),1),Ae=require("@fluixi/template-parser");K();ce();Mt=ae.default.default??ae.default;Te=new Set(["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup"]);le=class{constructor(t,n){this.holes=t;this.used=n}hole(t){return this.holes[t]??{node:D.types.identifier("undefined"),code:"undefined",reactive:!1}}emit(t){let{code:n,imports:i}=j.emit(t,{});for(let s of i)this.used.add(s);return n}lowerRoot(t){let n=this.lowerChildren(t);return n.length===1?n[0]:{kind:"fragment",children:n}}lowerChildren(t){let n=[];for(let i=0;i<t.length;i++){let s=t[i];if(s.kind==="Element"||s.kind==="Component"){let a=s.attributes.find(l=>l.kind==="IfDirective");if(a&&a.kind==="IfDirective"){let l=i+1;l<t.length&&this.isBlankText(t[l])&&l++;let c=t[l],p=c&&(c.kind==="Element"||c.kind==="Component")&&c.attributes.some(g=>g.kind==="ElseDirective");n.push(this.lowerIf(s,a.hole,p?c:null)),p&&(i=l);continue}if(s.attributes.some(l=>l.kind==="EachDirective")){n.push(this.lowerEach(s));continue}}let o=this.lowerNode(s);o&&n.push(o)}return n}isBlankText(t){return t.kind==="Text"&&!t.raw&&Y(t.value)===""}lowerNode(t){switch(t.kind){case"Text":{if(t.raw)return{kind:"text",value:t.value};let n=Y(t.value);return n?{kind:"text",value:n}:null}case"Comment":return null;case"Expression":{let n=this.hole(t.hole);return{kind:"expr",code:n.code,reactive:n.reactive}}case"Fragment":return{kind:"fragment",children:this.lowerChildren(t.children)};case"Element":return this.lowerElement(t);case"Component":return this.lowerComponent(t);default:return null}}lowerElement(t){let n=t.attributes.find(i=>i.kind==="Attribute"&&i.name==="is");if(t.tag==="component"&&n&&n.value&&n.value.kind==="hole"){let i=t.attributes.filter(o=>o!==n),s=this.lowerComponent({...t,kind:"Component",tag:"Dynamic",tagHole:null,attributes:i});return s.props.unshift({name:"component",kind:"attr",expr:`() => (${this.hole(n.value.hole).code})`}),s}return{kind:"element",tag:t.tag,svg:t.namespace==="svg",props:this.lowerAttributes(t.attributes),children:this.lowerChildren(t.children),static:!1}}lowerComponent(t){let n=t.tagHole!=null?this.hole(t.tagHole).code:t.tag,i=this.lowerAttributes(t.attributes),{slots:s,rest:o}=this.partitionSlots(t.children);for(let[a,l]of s){let c=l.length===1?l[0]:{kind:"fragment",children:l};i.push({name:a,kind:"attr",expr:this.emit(c),jsxElement:!0})}return{kind:"component",name:n,props:i,children:this.lowerChildren(o)}}partitionSlots(t){let n=new Map,i=[];for(let s of t){if(s.kind==="Element"||s.kind==="Component"){let o=s.attributes.find(a=>a.kind==="Attribute"&&a.name==="slot");if(o&&o.value&&o.value.kind==="static"){let a={...s,attributes:s.attributes.filter(p=>p!==o)},l=a.kind==="Element"?this.lowerElement(a):this.lowerComponent(a),c=n.get(o.value.value)??[];c.push(l),n.set(o.value.value,c);continue}}i.push(s)}return{slots:n,rest:i}}lowerIf(t,n,i){let s=this.hole(n),o=[{name:"when",kind:"attr",expr:s.code,reactive:s.reactive}];if(i){let l=this.stripAndLower(i,c=>c.kind==="ElseDirective");o.push({name:"fallback",kind:"attr",expr:this.emit(l),jsxElement:!0})}let a=this.stripAndLower(t,l=>l.kind==="IfDirective");return{kind:"component",name:"Show",props:o,children:[a]}}lowerEach(t){let n=t.attributes.find(c=>c.kind==="EachDirective");if(!n||n.kind!=="EachDirective")return this.lowerNode(t);let i=this.hole(n.hole),s=[{name:"each",kind:"attr",expr:i.code,reactive:i.reactive}];if(n.key){let c="static"in n.key?`(item) => item[${JSON.stringify(n.key.static)}]`:this.hole(n.key.hole).code;s.push({name:"by",kind:"attr",expr:c})}let o=this.itemArrow(t),a;if(o){let c=o.body,p={kind:"expr",code:R(c,this.used),reactive:v(c)},g=this.rebuildWithChildren(t,[p]);a=`(${o.params.map(m=>Tt(m)).join(", ")}) => (${this.emit(g)})`}else{let c=this.stripAndLower(t,p=>p.kind==="EachDirective");a=`() => (${this.emit(c)})`}return{kind:"component",name:"For",props:s,children:[{kind:"expr",code:a,reactive:!1}]}}itemArrow(t){let n=t.children.filter(s=>!this.isBlankText(s));if(n.length!==1||n[0].kind!=="Expression")return null;let i=this.hole(n[0].hole).node;return D.types.isArrowFunctionExpression(i)&&!D.types.isBlockStatement(i.body)?i:null}stripAndLower(t,n){let i={...t,attributes:t.attributes.filter(s=>!n(s))};return i.kind==="Element"?this.lowerElement(i):this.lowerComponent(i)}rebuildWithChildren(t,n){let i=this.lowerAttributes(t.attributes.filter(s=>s.kind!=="EachDirective"));return t.kind==="Element"?{kind:"element",tag:t.tag,svg:t.namespace==="svg",props:i,children:n,static:!1}:{kind:"component",name:t.tag,props:i,children:n}}lowerAttributes(t){let n=[],i=[],s=!1,o=[],a=!1,l=[];for(let c of t)switch(c.kind){case"IfDirective":case"EachDirective":case"ElseDirective":break;case"Attribute":n.push(this.plainAttr(c));break;case"PropertyBinding":n.push({name:c.name,kind:"prop",expr:this.hole(c.hole).code,reactive:this.hole(c.hole).reactive});break;case"EventBinding":n.push(this.eventProp(c));break;case"RefBinding":n.push({name:"ref",kind:"ref",expr:this.hole(c.hole).code,reactive:this.hole(c.hole).reactive});break;case"Spread":n.push({name:"",kind:"spread",expr:this.hole(c.hole).code});break;case"ClassDirective":{let p=this.hole(c.hole);i.push(`${JSON.stringify(c.name)}: ${p.code}`),s=s||p.reactive;break}case"StyleDirective":{let p=this.hole(c.hole);o.push(`${JSON.stringify(c.name)}: ${p.code}`),a=a||p.reactive;break}case"BindDirective":n.push(...this.bindProps(c.name,this.hole(c.hole).code));break;case"UseDirective":{let p=c.name??(c.hole!=null?this.hole(c.hole).code:null);if(!p)break;l.push(c.name!=null&&c.hole!=null?`[${p}, () => (${this.hole(c.hole).code})]`:`[${p}]`);break}}return i.length>0&&n.push({name:"classList",kind:"attr",expr:`{ ${i.join(", ")} }`,reactive:s}),o.length>0&&n.push({name:"style",kind:"attr",expr:`{ ${o.join(", ")} }`,reactive:a}),l.length>0&&n.push({name:"use",kind:"attr",expr:`[${l.join(", ")}]`}),n}eventProp(t){let n=t.name.toLowerCase(),i=this.hole(t.hole).code;if(!(t.syntax==="colon"||t.modifiers.length>0))return{name:"on"+Le(t.name),kind:"event",event:{name:n,delegated:Te.has(n)},expr:i};let o=this.wrapHandler(i,t.modifiers),a=this.eventOptions(t.modifiers),l=a?`[${o}, ${a}]`:o;return{name:"on:"+n,kind:"attr",expr:l}}wrapHandler(t,n){let i=n.includes("self")?"if (e.target !== e.currentTarget) return; ":"",s=[];return n.includes("prevent")&&s.push("e.preventDefault();"),n.includes("stop")&&s.push("e.stopPropagation();"),!i&&s.length===0?t:`(e) => { ${i}${s.join(" ")} return (${t})(e); }`}eventOptions(t){let n=[];return t.includes("capture")&&n.push("capture: true"),t.includes("once")&&n.push("once: true"),t.includes("passive")&&n.push("passive: true"),n.length?`{ ${n.join(", ")} }`:null}bindProps(t,n){let i=t==="checked",s=i?"change":"input",o=i?"checked":"value",a=`(${n})`;return[{name:t,kind:"attr",expr:`${a}[0]()`,reactive:!0},{name:"on"+Le(s),kind:"event",event:{name:s,delegated:Te.has(s)},expr:`(e) => ${a}[1](e.target.${o})`}]}plainAttr(t){let n=t.value,i=t.name;t.name==="class"?i=n&&n.kind==="hole"&&D.types.isObjectExpression(this.hole(n.hole).node)?"classList":"className":t.name==="html"&&(i="innerHTML");let o={name:i,kind:"attr"};if(n==null)return o.literal=!0,o;if(n.kind==="static")return o.literal=n.value,o;if(n.kind==="hole"){let c=this.hole(n.hole);return o.expr=c.code,o.reactive=c.reactive,o}let a=!1,l=n.parts.map(c=>{if("text"in c)return Lt(c.text);let p=this.hole(c.hole);return a=a||p.reactive,"${"+p.code+"}"}).join("");return o.expr="`"+l+"`",o.reactive=a,o}}});function Q(e,t=new Set,n={}){return Oe(e,t,n)}var pe=X(()=>{"use strict";De()});function ze(e){return Ot(e,{concise:!0}).code}function Dt(e,t){let n=u.types.cloneNode(e,!0),i=u.types.file(u.types.program([u.types.expressionStatement(n)])),s=!1,o=(a,l,c)=>{for(let p of c)t.add(p);a.replaceWith(u.template.expression(l,{placeholderPattern:!1,plugins:["typescript"]})()),a.skip(),s=!0};return(0,u.traverse)(i,{"JSXElement|JSXFragment"(a){let l=a.node,{code:c,imports:p}=j.emit(_(l,t),{});o(a,c,p)},TaggedTemplateExpression(a){let l=a.node.tag;if(!u.types.isIdentifier(l)||l.name!=="html"&&l.name!=="svg")return;let c=Q(a.node,t,{svg:l.name==="svg"}),{code:p,imports:g}=j.emit(c,{});o(a,p,g)}}),s?i.program.body[0].expression:e}function R(e,t){return ze(Dt(e,t))}function Vt(e){if(u.types.isJSXIdentifier(e)){let t=e.name[0]!==e.name[0].toLowerCase();return{tag:e.name,component:t}}return u.types.isJSXMemberExpression(e)?{tag:ze(e),component:!0}:u.types.isJSXNamespacedName(e)?{tag:`${e.namespace.name}:${e.name.name}`,component:!1}:{tag:"div",component:!1}}function Ht(e){return u.types.isJSXIdentifier(e)?e.name==="class"?"className":e.name:u.types.isJSXNamespacedName(e)?`${e.namespace.name}:${e.name.name}`:"unknown"}function v(e){return u.types.isCallExpression(e)||u.types.isOptionalCallExpression(e)?!0:u.types.isMemberExpression(e)||u.types.isOptionalMemberExpression(e)?!(!e.computed&&u.types.isIdentifier(e.property,{name:"children"})):u.types.isConditionalExpression(e)?v(e.test)||v(e.consequent)||v(e.alternate):u.types.isLogicalExpression(e)||u.types.isBinaryExpression(e)?v(e.left)||v(e.right):u.types.isTemplateLiteral(e)?e.expressions.some(t=>v(t)):u.types.isObjectExpression(e)?e.properties.some(t=>u.types.isObjectProperty(t)&&!t.computed&&v(t.value)):u.types.isArrayExpression(e)?e.elements.some(t=>t!=null&&!u.types.isSpreadElement(t)&&v(t)):!1}function Wt(e,t){let n=Ht(e.name),i=Bt.test(n),s=i||n.startsWith("on:"),a={name:n,kind:i?"event":"attr"};i&&(a.event={name:n.slice(2).toLowerCase(),delegated:zt.has(n.slice(2).toLowerCase())});let l=e.value;if(l==null)return a.literal=!0,a;if(u.types.isStringLiteral(l))return a.literal=l.value,a;if(u.types.isJSXExpressionContainer(l)&&!u.types.isJSXEmptyExpression(l.expression)){let c=l.expression;return u.types.isStringLiteral(c)||u.types.isNumericLiteral(c)||u.types.isBooleanLiteral(c)?(a.literal=c.value,a):(a.expr=R(c,t),a.reactive=s?!1:v(c),(u.types.isJSXElement(c)||u.types.isJSXFragment(c))&&(a.jsxElement=!0),a)}return a.literal=!0,a}function _e(e,t){let n=e.value;return n==null?null:u.types.isStringLiteral(n)?JSON.stringify(n.value):u.types.isJSXExpressionContainer(n)&&!u.types.isJSXEmptyExpression(n.expression)?R(n.expression,t):null}function Ut(e,t){let n=[],i=[];for(let s of e){if(u.types.isJSXSpreadAttribute(s)){n.push({name:"",kind:"spread",expr:R(s.argument,t)});continue}if(!u.types.isJSXAttribute(s))continue;let o=u.types.isJSXNamespacedName(s.name)?s.name.namespace.name:null;if(o==="use"){let a=s.name.name.name;t.add(a);let l=_e(s,t);i.push(l!=null?`[${a}, () => (${l})]`:`[${a}]`);continue}if(o==="oncapture"){let a=s.name.name.name.toLowerCase(),l=_e(s,t)??"undefined";n.push({name:"on:"+a,kind:"attr",expr:`[${l}, { capture: true }]`});continue}n.push(Wt(s,t))}return i.length>0&&n.push({name:"use",kind:"attr",expr:`[${i.join(", ")}]`}),n}function Y(e){let t=e.split(/\r\n|\n|\r/),n=0;for(let s=0;s<t.length;s++)/[^ \t]/.test(t[s])&&(n=s);let i="";for(let s=0;s<t.length;s++){let o=t[s].replace(/\t/g," ");s!==0&&(o=o.replace(/^ +/,"")),s!==t.length-1&&(o=o.replace(/ +$/,"")),o&&(s!==n&&(o+=" "),i+=o)}return i}function Be(e,t){let n=[];for(let i of e)if(u.types.isJSXText(i)){let s=Y(i.value);s&&n.push({kind:"text",value:s})}else if(u.types.isJSXExpressionContainer(i)){if(!u.types.isJSXEmptyExpression(i.expression)){let s=i.expression;n.push({kind:"expr",code:R(s,t),reactive:v(s)})}}else u.types.isJSXElement(i)||u.types.isJSXFragment(i)?n.push(_(i,t)):u.types.isJSXSpreadChild(i)&&n.push({kind:"expr",code:R(i.expression,t),reactive:!1});return n}function _(e,t=new Set){if(u.types.isJSXFragment(e))return{kind:"fragment",children:Be(e.children,t)};let{tag:n,component:i}=Vt(e.openingElement.name),s=Ut(e.openingElement.attributes,t),o=Be(e.children,t);return i?{kind:"component",name:n,props:s,children:o}:{kind:"element",tag:n,svg:_t.has(n),props:s,children:o,static:!1}}var u,ue,Ot,_t,Bt,zt,ce=X(()=>{"use strict";u=require("@babel/core"),ue=q(require("@babel/generator"),1);K();pe();Ot=ue.default.default??ue.default;_t=new Set(["svg","path","circle","rect","line","polygon","polyline","ellipse","g","defs","clipPath","text"]),Bt=/^on[A-Z]/,zt=new Set(["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup"])});function Gt(e,t,n){let{runtime:i,pragma:s,development:o,autoShow:a=!0}=n;return i==="automatic"?V(e,t,o,a):tn(e,t,s)}function He(e,t,n){return t.length>0?(n.needsMergeProps=!0,r.types.callExpression(r.types.identifier("mergeProps"),[...t,r.types.objectExpression(e)])):r.types.objectExpression(e)}function Ke(e){return e.length===1?e[0]:r.types.arrayExpression(e)}function Kt(e,t,n,i,s,o){if(!t){let m=[...n];return s.length>0&&m.push(r.types.objectMethod("get",r.types.identifier("children"),[],r.types.blockStatement([r.types.returnStatement(Ke(s))]))),Ye(e,He(m,i,o),o)}let a=e.value,l=Zt.has(a),c=r.types.identifier("_el$"),p=[];o.needsCreateNativeElement=!0;let g=[e];if(l&&g.push(r.types.booleanLiteral(!0)),p.push(r.types.variableDeclaration("const",[r.types.variableDeclarator(c,r.types.callExpression(r.types.identifier("createNativeElement"),g))])),n.length>0||i.length>0){o.needsSpread=!0;let m=[r.types.objectProperty(r.types.identifier("element"),c),r.types.objectProperty(r.types.identifier("props"),He(n,i,o))];l&&m.push(r.types.objectProperty(r.types.identifier("isSVG"),r.types.booleanLiteral(!0))),p.push(r.types.expressionStatement(r.types.callExpression(r.types.identifier("spread"),[r.types.objectExpression(m)])))}if(s.length>0){o.needsInsert=!0;for(let m of s){let $=r.types.isArrowFunctionExpression(m)||r.types.isFunctionExpression(m)||r.types.isCallExpression(m)&&r.types.isIdentifier(m.callee)&&m.callee.name==="createMemo"?[r.types.cloneNode(c),m,r.types.nullLiteral()]:[r.types.cloneNode(c),m];p.push(r.types.expressionStatement(r.types.callExpression(r.types.identifier("insert"),$)))}}return p.push(r.types.returnStatement(c)),r.types.callExpression(r.types.arrowFunctionExpression([],r.types.blockStatement(p)),[])}function Ye(e,t,n){return r.types.isIdentifier(e)&&B.has(e.name)&&(n.controlFlowComponents.add(e.name),n.needsControlFlowImport=!0),n.backend==="imperative"?(n.needsCreateComponent=!0,n.needsCreateMemo=!0,r.types.callExpression(r.types.identifier("createMemo"),[r.types.arrowFunctionExpression([],r.types.callExpression(r.types.identifier("createComponent"),[e,t]))])):r.types.callExpression(r.types.identifier("jsx"),[e,t])}function We(e,t){let n=new Set,i=_(e,n),{code:s,imports:o}=j.emit(i,{});for(let a of o)n.add(a);for(let a of n)t.irImports.add(a);return r.template.expression(s,{placeholderPattern:!1,plugins:["typescript"]})()}function Yt(e){let t=new Map,n=[];for(let i of e){let s=i.source.value;if(!i.specifiers.every(l=>r.types.isImportSpecifier(l))){n.push(i);continue}let a=t.get(s);if(!a){let l=new Set(i.specifiers.map(c=>c.local.name));t.set(s,{decl:i,names:l}),n.push(i);continue}for(let l of i.specifiers)a.names.has(l.local.name)||(a.names.add(l.local.name),a.decl.specifiers.push(l))}return n}function Qt(e,t){let n=new Set,i=r.types.isIdentifier(e.tag)&&e.tag.name==="svg",s=Q(e,n,{svg:i}),{code:o,imports:a}=j.emit(s,{});for(let l of a)n.add(l);for(let l of n)t.irImports.add(l);return Qe(s,t),t.hasLitIR=!0,r.template.expression(o,{placeholderPattern:!1,plugins:["typescript"]})()}function Qe(e,t){if(e.kind==="component"&&(me.has(e.name)||B.has(e.name))&&(t.controlFlowComponents.add(e.name),t.needsControlFlowImport=!0),(e.kind==="element"||e.kind==="component"||e.kind==="control")&&"props"in e)for(let n of e.props)n.kind==="event"&&n.event?.delegated&&t.delegatedEvents.add(n.event.name);if("children"in e&&e.children)for(let n of e.children)Qe(n,t)}function en(e){return e.map(t=>{if(r.types.isObjectProperty(t)){let n=t.key,i=t.computed,s=t.value;return r.types.objectMethod("get",n,[],r.types.blockStatement([r.types.returnStatement(s)]),i)}return t})}function V(e,t,n,i=!0){let s=e.openingElement,o=e.children,a=et(s.name),l=r.types.isJSXIdentifier(s.name)&&/^[a-z]/.test(s.name.name),c=nt(s.attributes,t,l,r.types.isJSXIdentifier(s.name)?s.name.name:""),p=c.props,g=c.spreads;l||(p=en(p));let m=de(o,t,i);if(t.backend==="imperative")return Kt(a,l,p,g,m,t);if(m.length>0){let N=m.length===1?m[0]:r.types.arrayExpression(m);p.push(r.types.objectProperty(r.types.identifier("children"),N))}let w;if(g.length>0){let N=p.length>0?r.types.objectExpression(p):r.types.objectExpression([]);t.needsMergeProps=!0,w=r.types.callExpression(r.types.identifier("mergeProps"),[...g,N])}else w=r.types.objectExpression(p);let $=n?"jsxDEV":m.length>1?"jsxs":"jsx",C=[a,w];return n&&C.push(r.types.identifier("undefined"),r.types.booleanLiteral(!1),r.types.identifier("undefined"),r.types.identifier("undefined")),r.types.callExpression(r.types.identifier($),C)}function tn(e,t,n){let i=e.openingElement,s=e.children,o=et(i.name),a=r.types.isJSXIdentifier(i.name)&&/^[a-z]/.test(i.name.name),{props:l,spreads:c}=nt(i.attributes,t,a,r.types.isJSXIdentifier(i.name)?i.name.name:""),p=de(s,t,t.autoShow??!0),g;if(c.length>0){let w=l.length>0?r.types.objectExpression(l):r.types.objectExpression([]);t.needsMergeProps=!0,g=r.types.callExpression(r.types.identifier("mergeProps"),[...c,w])}else g=l.length>0?r.types.objectExpression(l):r.types.nullLiteral();let m=[o,g,...p];return r.types.callExpression(r.types.identifier(n),m)}function ee(e,t,n){let{runtime:i,pragmaFrag:s,development:o}=n,a=de(e.children,t,t.autoShow??!0);if(t.backend==="imperative")return a.length===0?r.types.nullLiteral():Ke(a);if(i==="automatic"){let l=o?"jsxDEV":a.length>1?"jsxs":"jsx",c=r.types.objectExpression([r.types.objectProperty(r.types.identifier("children"),a.length===1?a[0]:r.types.arrayExpression(a))]),p=[r.types.identifier("Fragment"),c];return o&&p.push(r.types.identifier("undefined"),r.types.booleanLiteral(!1),r.types.identifier("undefined"),r.types.identifier("undefined")),r.types.callExpression(r.types.identifier(l),p)}else return r.types.callExpression(r.types.identifier(s),a)}function et(e){if(r.types.isJSXIdentifier(e)){let t=e.name;return t[0]===t[0].toLowerCase()?r.types.stringLiteral(t):r.types.identifier(t)}return r.types.isJSXMemberExpression(e)?tt(e):r.types.isJSXNamespacedName(e)?r.types.stringLiteral(`${e.namespace.name}:${e.name.name}`):r.types.stringLiteral("div")}function tt(e){let t;return r.types.isJSXIdentifier(e.object)?t=r.types.identifier(e.object.name):t=tt(e.object),r.types.memberExpression(t,r.types.identifier(e.property.name))}function nn(e){return/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(e)}function nt(e,t,n=!0,i=""){let s=[],o=[],a=qt[i];for(let l of e)if(r.types.isJSXSpreadAttribute(l))o.push(l.argument);else if(r.types.isJSXAttribute(l)){let c=rn(l.name),p=sn(l.value,t,c,n);if(Ge.test(c)){let H=c.slice(2).toLowerCase();Ze.includes(H)&&t.delegatedEvents.add(H)}let g=nn(c)?r.types.identifier(c):r.types.stringLiteral(c),m=l.value,w=r.types.isJSXElement(m)||r.types.isJSXFragment(m)||r.types.isJSXExpressionContainer(m)&&(r.types.isJSXElement(m.expression)||r.types.isJSXFragment(m.expression)),$=!n&&c===a,C=r.types.isJSXExpressionContainer(m)&&!r.types.isJSXEmptyExpression(m.expression)?m.expression:null,N=!n&&!!C&&rt(C,c);!n&&w||$||N?s.push(r.types.objectMethod("get",g,[],r.types.blockStatement([r.types.returnStatement(p)]))):s.push(r.types.objectProperty(g,p))}return{props:s,spreads:o}}function rn(e){return r.types.isJSXIdentifier(e)?e.name==="class"?"className":e.name:r.types.isJSXNamespacedName(e)?`${e.namespace.name}:${e.name.name}`:"unknown"}function sn(e,t,n="",i=!0){if(e===null)return r.types.booleanLiteral(!0);if(r.types.isStringLiteral(e))return e.value.includes(`
|
|
2
|
+
`)?r.types.stringLiteral(e.value.replace(/\s+/g," ").trim()):e;if(r.types.isJSXExpressionContainer(e)){if(r.types.isJSXEmptyExpression(e.expression))return r.types.booleanLiteral(!0);let s=e.expression;return i&&rt(s,n)?r.types.arrowFunctionExpression([],s):s}return r.types.isJSXElement(e)?V(e,t,!1,t.autoShow??!0):r.types.isJSXFragment(e)?ee(e,t,{runtime:"automatic",pragmaFrag:"Fragment",development:!1}):r.types.booleanLiteral(!0)}function rt(e,t){return Ge.test(t)||t.startsWith("on:")||t==="ref"||t.startsWith("use:")||r.types.isArrowFunctionExpression(e)||r.types.isFunctionExpression(e)||r.types.isIdentifier(e)||r.types.isStringLiteral(e)||r.types.isNumericLiteral(e)||r.types.isBooleanLiteral(e)||r.types.isNullLiteral(e)?!1:!!(r.types.isCallExpression(e)||r.types.isOptionalCallExpression(e)||r.types.isMemberExpression(e)||r.types.isOptionalMemberExpression(e)||r.types.isLogicalExpression(e)||r.types.isConditionalExpression(e)||r.types.isBinaryExpression(e)||r.types.isUnaryExpression(e)||r.types.isTemplateLiteral(e)||r.types.isObjectExpression(e)||r.types.isArrayExpression(e))}function on(e){let t=e.split(/\r\n|\n|\r/),n=0;for(let s=0;s<t.length;s++)/[^ \t]/.test(t[s])&&(n=s);let i="";for(let s=0;s<t.length;s++){let o=t[s].replace(/\t/g," ");s!==0&&(o=o.replace(/^ +/,"")),s!==t.length-1&&(o=o.replace(/ +$/,"")),o&&(s!==n&&(o+=" "),i+=o)}return i}function de(e,t,n=!0){let i=[];for(let s of e)if(r.types.isJSXText(s)){let o=on(s.value);o&&i.push(r.types.stringLiteral(o))}else if(r.types.isJSXExpressionContainer(s)){if(!r.types.isJSXEmptyExpression(s.expression)){let o=s.expression;if(n){let a=an(o,t)??ln(o,t);if(a){i.push(a);continue}}else{let a=cn(o,t);if(a){i.push(a);continue}}un(o)?i.push(r.types.arrowFunctionExpression([],o)):i.push(o)}}else r.types.isJSXElement(s)?i.push(V(s,t,!1,t.autoShow??!0)):r.types.isJSXFragment(s)?i.push(ee(s,t,{runtime:"automatic",pragmaFrag:"Fragment",development:!1})):r.types.isJSXSpreadChild(s)&&i.push(s.expression);return i}function an(e,t){if(!r.types.isArrowFunctionExpression(e)||e.params.length!==0||e.async)return null;let n=e.body;if(r.types.isLogicalExpression(n)&&n.operator==="&&"){let i=J(n.right);if(i)return z(F(n.left),i,null,t)}if(r.types.isConditionalExpression(n)){let i=J(n.consequent);if(i){let s=ge(n.alternate,t);return z(F(n.test),i,s,t,!0)}}return null}function ln(e,t){if(r.types.isLogicalExpression(e)&&e.operator==="&&"){let n=J(e.right);if(n)return z(F(e.left),n,null,t)}if(r.types.isConditionalExpression(e)){let n=J(e.consequent);if(n){let i=ge(e.alternate,t);return z(F(e.test),n,i,t)}}return null}function cn(e,t){let n=r.types.isArrowFunctionExpression(e)&&e.params.length===0&&!e.async&&r.types.isExpression(e.body)?e.body:e;if(r.types.isConditionalExpression(n)){let i=F(n.test),o=J(n.consequent)??n.consequent,l=J(n.alternate)??n.alternate,c=r.types.conditionalExpression(i,o,l);return fe(n.consequent)||fe(n.alternate)?null:(t.needsCreateMemo=!0,r.types.callExpression(r.types.identifier("createMemo"),[r.types.arrowFunctionExpression([],c)]))}if(r.types.isLogicalExpression(n)&&n.operator==="&&"){let i=F(n.left),o=J(n.right)??n.right,a=r.types.logicalExpression("&&",i,o);return fe(n.right)?null:(t.needsCreateMemo=!0,r.types.callExpression(r.types.identifier("createMemo"),[r.types.arrowFunctionExpression([],a)]))}return null}function ge(e,t){if(pn(e))return null;let n=J(e);if(n)return it(n,t);if(r.types.isConditionalExpression(e)){let i=e,s=J(i.consequent);if(s){let o=ge(i.alternate,t);return z(F(i.test),s,o,t)}}return e}function Ue(e){return r.types.isJSXElement(e)||r.types.isJSXFragment(e)}function fe(e){let t=J(e);if(!t||!r.types.isJSXElement(t))return!1;let n=t.openingElement.name;return r.types.isJSXIdentifier(n)&&me.has(n.name)}function J(e){return Ue(e)?e:r.types.isArrowFunctionExpression(e)&&e.params.length===0&&!e.async&&Ue(e.body)?e.body:null}function F(e){return r.types.isArrowFunctionExpression(e)&&e.params.length===0&&!e.async&&r.types.isExpression(e.body)?e.body:e}function pn(e){return r.types.isNullLiteral(e)||r.types.isIdentifier(e)&&e.name==="undefined"||r.types.isBooleanLiteral(e)&&e.value===!1}function it(e,t){return r.types.isJSXElement(e)?V(e,t,!1,t.autoShow??!0):ee(e,t,{runtime:"automatic",pragmaFrag:"Fragment",development:!1})}function z(e,t,n,i,s=!1){i.controlFlowComponents.add("Show"),i.needsControlFlowImport=!0;let o=it(t,i),a=[r.types.objectProperty(r.types.identifier("when"),r.types.arrowFunctionExpression([],e)),r.types.objectProperty(r.types.identifier("children"),o)];return n&&a.push(r.types.objectProperty(r.types.identifier("fallback"),n)),Ye(r.types.identifier("Show"),r.types.objectExpression(a),i)}function un(e){return r.types.isMemberExpression(e)||r.types.isOptionalMemberExpression(e)?!(!e.computed&&r.types.isIdentifier(e.property,{name:"children"})):r.types.isCallExpression(e)||r.types.isOptionalCallExpression(e)?!0:r.types.isIdentifier(e)?!1:!!(r.types.isLogicalExpression(e)||r.types.isConditionalExpression(e)||r.types.isBinaryExpression(e)||r.types.isUnaryExpression(e)||r.types.isTemplateLiteral(e))}function st(e,t){let n=e.openingElement;if(!r.types.isJSXIdentifier(n.name))return!1;let i=n.name.name;if(i[0]!==i[0].toLowerCase())return!1;for(let s of n.attributes){if(r.types.isJSXSpreadAttribute(s))return!1;if(r.types.isJSXAttribute(s)){let o=s.value;if(r.types.isJSXExpressionContainer(o)&&!r.types.isStringLiteral(o.expression)&&!r.types.isNumericLiteral(o.expression))return!1}}for(let s of e.children)if(r.types.isJSXElement(s)&&!st(s,t)||r.types.isJSXExpressionContainer(s))return!1;return!0}function fn(e,t){let n=`_$static${t.staticCounter++}`,i=V(e,t,!1);return t.staticElements.set(n,i),r.types.identifier(n)}function mn(e,t){let n=e.openingElement.name.name;return n==="Show"?dn(e,t):n==="For"?gn(e,t):null}function dn(e,t){return null}function gn(e,t){return null}var qe,r,me,Ve,B,qt,Ge,Ze,L,Zt,he=X(()=>{"use strict";qe=require("@babel/helper-plugin-utils"),r=require("@babel/core");ce();pe();K();me=new Set(["Show","For","Index","Switch","Match","Portal","Dynamic","ErrorBoundary","Suspense","Await"]),Ve=new Set(["Suspense","SuspenseList","Await"]),B=new Set(["Router","Outlet","Redirect","Link"]),qt={Show:"when",For:"each",Index:"each",Match:"when"},Ge=/^on[A-Z]/,Ze=["click","dblclick","input","change","submit","focus","blur","keydown","keyup","keypress","mousedown","mouseup","mouseover","mouseout","mouseenter","mouseleave"],L=(0,qe.declare)((e,t={})=>{e.assertVersion(7);let{runtime:n="automatic",importSource:i="@fluixi/jsx",pragma:s="jsx",pragmaFrag:o="Fragment",development:a=!1,detectReactivity:l=!0,useLitHTML:c=!0,hoistStatics:p=!0,delegateEvents:g=!0,delegatedEvents:m=Ze,optimizeControlFlow:w=!0,sourceMaps:$=!0,signalModule:C="@fluixi/dom",controlFlowModule:N="@fluixi/dom",routerModule:H="@fluixi/core/router-next",reactiveModule:ke="@fluixi/reactive/signal",autoShowTransform:Ne=!1,backend:k="imperative",codegen:O="inline",format:Ie="both",litTag:Et="html"}=t,St=Ie==="lit"||Ie==="both",bt={backend:k,codegen:O,irImports:new Set,libModule:"@fluixi/core",hasJSX:!1,hasReactivity:!1,hasLitHTML:!1,needsSignalImport:!1,needsControlFlowImport:!1,needsCreateMemo:!1,controlFlowComponents:new Set,delegatedEvents:new Set,staticElements:new Map,staticCounter:0};return{name:"@fluixi/babel-plugin-jsx",manipulateOptions(d,f){f.plugins.push("jsx","typescript")},pre(d){Object.assign(d,bt)},visitor:{ImportDeclaration(d,f){d.node.source.value==="@fluixi/core/rx"&&(d.node.source=r.types.stringLiteral("@fluixi/reactive"))},Program:{enter(d,f){Object.assign(f,{hasJSX:!1,hasReactivity:!1,hasLitHTML:!1,hasLitIR:!1,needsSignalImport:!1,needsControlFlowImport:!1,needsCreateMemo:!1,controlFlowComponents:new Set,delegatedEvents:new Set,staticElements:new Map,autoShow:Ne,staticCounter:0,libModule:"@fluixi/core",backend:k,codegen:O,irImports:new Set,needsCreateNativeElement:!1,needsInsert:!1,needsSpread:!1,needsCreateComponent:!1,needsMergeProps:!1})},exit(d,f){let h=[];if(f.hasJSX||f.needsSignalImport&&h.push(r.types.importDeclaration([r.types.importSpecifier(r.types.identifier("signal"),r.types.identifier("signal"))],r.types.stringLiteral(C))),f.hasJSX||f.hasLitIR){if(f.irImports.size>0){let x=new Set(["Show","For","Index","Switch","Match","Dynamic","ErrorBoundary","Portal","Suspense"]),b=new Set(["createMemo","createEffect","createRenderEffect","createRoot","createSignal","onCleanup","batch","untrack"]),E=Array.from(f.irImports),I=S=>r.types.importSpecifier(r.types.identifier(S),r.types.identifier(S)),M=S=>!d.scope.hasBinding(S),T=E.filter(S=>b.has(S)&&M(S)),y=E.filter(S=>!x.has(S)&&!b.has(S)&&M(S)),W=E.filter(S=>x.has(S)&&M(S));T.length>0&&h.push(r.types.importDeclaration(T.map(I),r.types.stringLiteral(ke))),y.length>0&&h.push(r.types.importDeclaration(y.map(I),r.types.stringLiteral(C))),W.length>0&&h.push(r.types.importDeclaration(W.map(I),r.types.stringLiteral(N)))}if(f.hasJSX&&k==="imperative"&&O!=="ir"){let b=[[!!f.needsCreateNativeElement,"createNativeElement"],[!!f.needsSpread,"spread"],[!!f.needsInsert,"insert"],[!!f.needsCreateComponent,"createComponent"],[!!f.needsMergeProps,"mergeProps"]].filter(([E,I])=>E&&!d.scope.hasBinding(I)).map(([,E])=>r.types.importSpecifier(r.types.identifier(E),r.types.identifier(E)));b.length>0&&h.push(r.types.importDeclaration(b,r.types.stringLiteral(C)))}else if(f.hasJSX&&n==="automatic"){let x=[r.types.importSpecifier(r.types.identifier("jsx"),r.types.identifier("jsx")),r.types.importSpecifier(r.types.identifier("jsxs"),r.types.identifier("jsxs")),r.types.importSpecifier(r.types.identifier("Fragment"),r.types.identifier("Fragment"))];a&&x.push(r.types.importSpecifier(r.types.identifier("jsxDEV"),r.types.identifier("jsxDEV"))),f.needsMergeProps&&x.push(r.types.importSpecifier(r.types.identifier("mergeProps"),r.types.identifier("mergeProps"))),h.push(r.types.importDeclaration(x,r.types.stringLiteral(i)))}if(f.needsCreateMemo&&!d.scope.hasBinding("createMemo")&&h.push(r.types.importDeclaration([r.types.importSpecifier(r.types.identifier("createMemo"),r.types.identifier("createMemo"))],r.types.stringLiteral(k==="imperative"?ke:f.libModule??"@fluixi/core"))),f.needsControlFlowImport&&f.controlFlowComponents.size>0){let x=Array.from(f.controlFlowComponents).filter(y=>!d.scope.hasBinding(y)),b=f.libModule??"@fluixi/core",E=x.filter(y=>B.has(y)),I=x.filter(y=>Ve.has(y)),M=x.filter(y=>!Ve.has(y)&&!B.has(y)),T=(y,W)=>r.types.importDeclaration(y.map(S=>r.types.importSpecifier(r.types.identifier(S),r.types.identifier(S))),r.types.stringLiteral(W));M.length>0&&h.push(T(M,N)),I.length>0&&h.push(T(I,b)),E.length>0&&h.push(T(E,H))}if(g&&f.delegatedEvents.size>0){h.push(r.types.importDeclaration([r.types.importSpecifier(r.types.identifier("delegateEvents"),r.types.identifier("delegateEvents"))],r.types.stringLiteral(k==="imperative"?C:"@fluixi/jsx")));let x=r.types.arrayExpression(Array.from(f.delegatedEvents).map(E=>r.types.stringLiteral(E))),b=r.types.expressionStatement(r.types.callExpression(r.types.identifier("delegateEvents"),[x]));d.node.body.unshift(b)}if(p&&f.staticElements.size>0){let x=[];f.staticElements.forEach((b,E)=>{x.push(r.types.variableDeclaration("const",[r.types.variableDeclarator(r.types.identifier(E),b)]))}),d.node.body.unshift(...x)}}h.length>0&&d.node.body.unshift(...Yt(h))}},JSXElement(d,f){if(f.hasJSX=!0,k==="imperative"&&O==="ir"){d.replaceWith(We(d.node,f));return}let h=d.node,x=h.openingElement;if(r.types.isJSXIdentifier(x.name)&&B.has(x.name.name)&&(f.controlFlowComponents.add(x.name.name),f.needsControlFlowImport=!0),r.types.isJSXIdentifier(x.name)&&me.has(x.name.name)&&(f.controlFlowComponents.add(x.name.name),w)){let E=mn(h,f);if(E){d.replaceWith(E);return}}if(p&&k!=="imperative"&&st(h,f)){let E=fn(h,f);if(E){d.replaceWith(E);return}}let b=Gt(h,f,{runtime:n,pragma:s,development:a,detectReactivity:l,useLitHTML:c,autoShow:Ne});d.replaceWith(b)},JSXFragment(d,f){if(f.hasJSX=!0,k==="imperative"&&O==="ir"){d.replaceWith(We(d.node,f));return}let h=ee(d.node,f,{runtime:n,pragmaFrag:o,development:a});d.replaceWith(h)},CallExpression(d,f){if(!l)return;let h=d.node.callee;h.name,r.types.isIdentifier(h)&&(h.name==="createSignal"||h.name==="createStore"||h.name==="useContext"||h.name==="useLocation")&&(f.hasReactivity=!0)},JSXExpressionContainer(d){},TaggedTemplateExpression(d,f){if(St&&k==="imperative"&&r.types.isIdentifier(d.node.tag)&&(d.node.tag.name===Et||d.node.tag.name==="svg")){d.replaceWith(Qt(d.node,f));return}}}}});Zt=new Set(["svg","path","circle","rect","line","polygon","polyline","ellipse","g","defs","clipPath","text"])});var ot=X(()=>{"use strict"});var at={};Xe(at,{babelPluginReactiveJSX:()=>hn,createPlugin:()=>xn,createPreset:()=>te,default:()=>L,presets:()=>En});function xn(e){return[L,e]}function te(e={}){return{plugins:[[L,{runtime:"automatic",importSource:"@fluixi/jsx",development:!1,detectReactivity:!0,useLitHTML:!0,hoistStatics:!0,delegateEvents:!0,optimizeControlFlow:!0,sourceMaps:!0,...e}]]}}var hn,En,lt=X(()=>{"use strict";he();ot();he();hn=L;En={production:te({development:!1,hoistStatics:!0,delegateEvents:!0,optimizeControlFlow:!0}),development:te({development:!0,hoistStatics:!1,sourceMaps:!0}),minimal:te({detectReactivity:!1,useLitHTML:!1,hoistStatics:!1,delegateEvents:!1,optimizeControlFlow:!1})}});var Nn={};Xe(Nn,{analyzeProp:()=>ne,analyzeProps:()=>re,createBabelPlugin:()=>A,createESBuildPlugin:()=>ht,createRollupPlugin:()=>gt,createTypeScriptTransformer:()=>ft,createVitePlugin:()=>mt,createWebpackLoader:()=>dt,default:()=>kn,generateChildrenCode:()=>be,generateCreateElement:()=>pt,generateEventDelegation:()=>Ce,generateLitHTMLTemplate:()=>ye,generatePropsCode:()=>Se,hoistStatic:()=>we,isLitTemplate:()=>ct,optimizeSpreads:()=>ut,optimizeStatic:()=>ve,serverFunctionsVitePlugin:()=>Jn,shouldUseLitTemplate:()=>Ee,transform:()=>P,transformServerFunctions:()=>G});module.exports=kt(Nn);var Re=require("@babel/core"),Nt="@fluixi/start/server-fn";function It(e){let t=5381;for(let n=0;n<e.length;n++)t=t*33^e.charCodeAt(n);return(t>>>0).toString(16)}function Xt({types:e}){return{name:"fluixi-server-functions",visitor:{Program:{enter(t,n){n.fxIndex=0,n.fxUsed=null},exit(t,n){n.fxUsed&&t.unshiftContainer("body",e.importDeclaration([e.importSpecifier(e.identifier(n.fxUsed),e.identifier(n.fxUsed))],e.stringLiteral(n.opts.runtimeModule||Nt)))}},"FunctionDeclaration|FunctionExpression|ArrowFunctionExpression":(t,n)=>{let i=t.node.body;if(!e.isBlockStatement(i))return;let o=(i.directives||[]).findIndex(m=>m.value.value==="use server");if(o<0)return;i.directives.splice(o,1);let a=(n.opts.filename||n.filename||"unknown").replace(n.opts.root?n.opts.root+"/":"",""),l=`${It(a)}:${n.fxIndex++}`,c=!!n.opts.ssr,p=c?"$$registerServerFn":"$$createServerReference";n.fxUsed=p;let g=c?e.callExpression(e.identifier(p),[e.stringLiteral(l),t.isFunctionDeclaration()?e.functionExpression(null,t.node.params,i,t.node.generator,t.node.async):t.node]):e.callExpression(e.identifier(p),[e.stringLiteral(l)]);t.isFunctionDeclaration()?t.replaceWith(e.variableDeclaration("const",[e.variableDeclarator(t.node.id,g)])):t.replaceWith(g),t.skip()}}}}function G(e,t){if(!e.includes("use server"))return null;let n=(0,Re.transformSync)(e,{filename:t.filename,configFile:!1,babelrc:!1,sourceMaps:!0,parserOpts:{plugins:["typescript","jsx"]},plugins:[[Xt,t]]});return n?.code?{code:n.code,map:n.map}:null}var se=require("node:fs"),Je=require("node:path"),Sn=new Set(["key","ref","children"]),bn=[/\(\)\s*=>/,/function\s*\(\)/,/\w+\(\)/,/\w+\.\w+/,/\w+\[.+\]/,/createSignal/,/createStore/,/createMemo/,/createEffect/],yn=/^on[A-Z]/;function ne(e,t){let n={name:e,isStatic:!0,isReactive:!1,isEvent:yn.test(e),isRef:e==="ref",isSpread:e.startsWith("...")};if(Sn.has(e))return n;if(n.isEvent||n.isRef)return n.isStatic=!1,n;if(typeof t=="string"){let i=t;for(let s of bn)if(s.test(i)){n.isStatic=!1,n.isReactive=!0;break}i.includes("${")&&(n.isStatic=!1,n.isReactive=!0)}else typeof t=="function"?(n.isStatic=!1,n.isReactive=!0):typeof t=="object"&&t!==null&&(n.isStatic=!1);return n}function re(e){let t=new Map;for(let[n,i]of Object.entries(e))t.set(n,ne(n,i));return t}function Ee(e,t,n){if(typeof e!="string")return!1;let i=re(t);for(let s of i.values()){if(s.isSpread)return!1;s.isReactive&&s.isEvent}return!0}function ct(e){return e&&typeof e=="object"&&"_$litType$"in e}function pt(e,t,n,i={}){let s=["svg","path","circle","rect","g"].includes(e),o=Se(t,i),a=n.length>0?`, ${be(n)}`:"";return i.useLitHTML!==!1&&Ee(e,t,n)?ye(e,t,n,s):`jsx('${e}', ${o}${a})`}function Se(e,t={}){if(Object.keys(e).length===0)return"{}";let n=re(e),i=[];for(let[s,o]of Object.entries(e)){let a=n.get(s);a.isReactive&&!a.isStatic?i.push(`${s}: () => ${o}`):typeof o=="string"?i.push(`${s}: "${o}"`):typeof o=="number"||typeof o=="boolean"?i.push(`${s}: ${o}`):i.push(`${s}: ${o}`)}return`{ ${i.join(", ")} }`}function be(e){return e.length===0?"undefined":e.length===1?String(e[0]):`[${e.join(", ")}]`}function ye(e,t,n,i=!1){let s=i?"svg":"html",o=`<${e}`,a=[];for(let[l,c]of Object.entries(t)){if(l==="children"||l==="key"||l==="ref")continue;let p=ne(l,c);if(p.isEvent){let g=l.slice(2).toLowerCase();o+=` @${g}=\${${a.length}}`,a.push(String(c))}else p.isReactive?(o+=` ${l}=\${${a.length}}`,a.push(`signal(() => ${c})`)):typeof c=="string"?o+=` ${l}="${c}"`:(o+=` ${l}=\${${a.length}}`,a.push(String(c)))}if(o+=">",n.length>0)for(let l of n)typeof l=="string"?o+=l:(o+=`\${${a.length}}`,a.push(String(l)));return o+=`</${e}>`,`${s}\`${o}\`${a.length>0?`, ${a.join(", ")}`:""}`}function ve(e){return e=e.replace(/jsx\('([^']+)',\s*{},\s*"([^"]+)"\s*\)/g,(t,n,i)=>`_$staticNode('${n}', '${i}')`),e}function ut(e){return e}function we(e){let t=[],n=0;return e=e.replace(/jsx\('([^']+)',\s*{([^}]*)},\s*([^)]*)\)/g,(i,s,o,a)=>{if(!o.includes("()")&&!o.includes("=>")){let l=`_$static${n++}`;return t.push(`const ${l} = ${i};`),l}return i}),t.length>0?t.join(`
|
|
3
3
|
`)+`
|
|
4
|
-
`+e:e}function
|
|
5
|
-
`+i)}return i=
|
|
4
|
+
`+e:e}function Ce(e,t={}){let n=t.delegatedEvents||["click","input","change","submit"],i=e.filter(s=>n.includes(s.toLowerCase()));return i.length===0?"":`delegateEvents([${i.map(s=>`'${s}'`).join(", ")}]);`}function P(e,t={}){let n={hasSignals:/createSignal|signal\(/.test(e),hasStores:/createStore|store\(/.test(e),hasLitHTML:/html`|svg`/.test(e),staticProps:new Set,dynamicProps:new Set,components:new Set},i=e;if(t.optimize!==!1&&(i=ve(i),i=we(i)),t.delegateEvents!==!1){let s=vn(e),o=Ce(s,t);o&&(i=o+`
|
|
5
|
+
`+i)}return i=wn(i,n,t),{code:i,metadata:n}}function vn(e){let t=new Set,n=/on([A-Z][a-z]+)/g,i;for(;(i=n.exec(e))!==null;)t.add(i[1].toLowerCase());return Array.from(t)}function wn(e,t,n){let i=[],s=n.importSource||"@fluixi/jsx";return i.push(`import { jsx, jsxs, Fragment, spread } from '${s}';`),t.hasSignals&&i.push("import { signal } from '@fluixi/dom/reactive';"),(e.includes("<Show")||e.includes("<For")||e.includes("<Switch"))&&i.push("import { Show, For, Index, Switch, Match } from '@fluixi/dom/control-flow';"),n.delegateEvents!==!1&&i.push("import { delegateEvents } from '@fluixi/dom/runtime';"),i.join(`
|
|
6
6
|
`)+`
|
|
7
7
|
|
|
8
|
-
`+e}async function
|
|
9
|
-
`,s=
|
|
8
|
+
`+e}async function A(e={}){let t=null;try{t=await Promise.resolve().then(()=>(lt(),at))}catch(n){console.warn("Could not load the babel front-end:",n)}return{name:"babel-fluixi-jsx",plugin:t?t.default||t:null,getOptions(){return{runtime:"automatic",importSource:e.importSource||"@fluixi/jsx",pragma:e.pragma||"jsx",pragmaFrag:e.pragmaFrag||"Fragment",development:e.development||!1,detectReactivity:!0,useLitHTML:e.useLitHTML!==!1,hoistStatics:e.optimize!==!1,delegateEvents:e.delegateEvents!==!1,delegatedEvents:e.delegatedEvents||["click","input","change","submit"],optimizeControlFlow:e.optimize!==!1,sourceMaps:e.sourceMaps!==!1,backend:e.backend||"imperative",...e.codegen?{codegen:e.codegen}:{},...e.format?{format:e.format}:{},...e.litTag?{litTag:e.litTag}:{},...e.signalModule?{signalModule:e.signalModule}:{},...e.controlFlowModule?{controlFlowModule:e.controlFlowModule}:{},...e.routerModule?{routerModule:e.routerModule}:{},...e.reactiveModule?{reactiveModule:e.reactiveModule}:{}}}}}function ft(e={}){let t=ie("typescript");return t?n=>{let i=s=>t.isJsxElement(s)||t.isJsxSelfClosingElement(s)?Cn(s,e,t):t.visitEachChild(s,i,n);return s=>t.visitNode(s,i)}:(console.warn("TypeScript not found, transformer unavailable"),n=>i=>i)}function Cn(e,t,n){return e}function ie(e){try{return require(e)}catch{return null}}function mt(e={}){return{name:"vite-fluixi-jsx",enforce:"pre",config(){return{esbuild:{jsx:"automatic",jsxImportSource:e.importSource||"@fluixi/jsx"}}},async transform(t,n){let i=await A(e);if(!/\.(jsx|tsx|ts)$/i.test(n))return null;try{let s=await import("@babel/core").catch(()=>null);if(!s)return{code:P(t,e).code,map:null};let o=/\.tsx$/.test(n),a=/\.ts$/.test(n),l=[],c=[];if(o||a){let g=await import("@babel/preset-typescript").then(m=>m.default||m).catch(()=>null);g&&l.push([g,{isTSX:o,allExtensions:!0,jsxPragma:e.pragma||"jsx",jsxPragmaFrag:e.pragmaFrag||"Fragment",onlyRemoveTypeImports:!0}])}i&&i.plugin?c.push([i.plugin,i.getOptions()]):console.warn("[createVitePlugin] custom babel plugin not found");let p=await s.transformAsync(t,{filename:n,configFile:!1,babelrc:!1,presets:l,plugins:c,sourceMaps:e.sourceMaps!==!1});return{code:p?.code||t,map:p?.map}}catch(s){console.error("Transform error:",s);try{return{code:P(t,e).code,map:null}}catch(o){return console.error("Fallback transform also failed:",o),null}}}}}function dt(e={}){return async function(t){let n=this.async(),i=ie("@babel/core"),s=await A(e);if(!i||!s.plugin){let o=P(t,e);n(null,o.code);return}i.transformAsync(t,{filename:this.resourcePath,plugins:[[s.plugin,s.getOptions()]],sourceMaps:e.sourceMaps!==!1}).then(o=>{n(null,o?.code,o?.map)}).catch(o=>{n(o)})}}function gt(e={}){return{name:"rollup-fluixi-jsx",async transform(t,n){let i=await A(e);if(!/\.[jt]sx$/.test(n))return null;try{let s=ie("@babel/core");if(!s||!i.plugin)return{code:P(t,e).code,map:null};let o=await s.transformAsync(t,{filename:n,plugins:[[i.plugin,i.getOptions()]],sourceMaps:e.sourceMaps!==!1});return{code:o?.code||t,map:o?.map}}catch(s){return console.error("Transform error:",s),null}}}}function ht(e={}){return{name:"esbuild-fluixi-jsx",setup(t){t.onLoad({filter:/\.[jt]sx$/},async n=>{let i=ie("@babel/core"),s=await A(e),a=require("fs").readFileSync(n.path,"utf8");try{return!i||!s.plugin?{contents:P(a,e).code,loader:"js"}:{contents:(await i.transformAsync(a,{filename:n.path,plugins:[[s.plugin,s.getOptions()]],sourceMaps:!1}))?.code||a,loader:"js"}}catch(l){return{errors:[{text:`Transform error: ${l}`}]}}})}}}var xe="virtual:fluixi-server-fns";function xt(e,t=[]){let n;try{n=(0,se.readdirSync)(e,{withFileTypes:!0})}catch{return t}for(let i of n){if(i.name==="node_modules"||i.name==="dist"||i.name.startsWith("."))continue;let s=(0,Je.join)(e,i.name);if(i.isDirectory())xt(s,t);else if(/\.[jt]sx?$/.test(i.name))try{(0,se.readFileSync)(s,"utf8").includes("use server")&&t.push(s)}catch{}}return t}function Jn(){let e=process.cwd();return{name:"fluixi-server-functions",enforce:"pre",configResolved(t){e=t.root||e},resolveId(t){return t===xe?"\0"+xe:null},load(t){if(t!=="\0"+xe)return null;let n=xt((0,Je.join)(e,"src")),i=`import '@fluixi/start/server-fn-setup';
|
|
9
|
+
`,s=n.map(a=>`import ${JSON.stringify(a)};`).join(`
|
|
10
10
|
`);return i+s+`
|
|
11
11
|
export { isServerFnRequest, handleServerFn } from '@fluixi/start/server-fn';
|
|
12
|
-
`},transform(n,
|
|
12
|
+
`},transform(t,n,i){return!/\.[jt]sx?$/.test(n)||!t.includes("use server")?null:G(t,{ssr:!!i?.ssr,filename:n,root:e})}}}var kn={analyzeProp:ne,analyzeProps:re,shouldUseLitTemplate:Ee,isLitTemplate:ct,generateCreateElement:pt,generatePropsCode:Se,generateChildrenCode:be,generateLitHTMLTemplate:ye,optimizeStatic:ve,optimizeSpreads:ut,hoistStatic:we,generateEventDelegation:Ce,transform:P,createBabelPlugin:A,createTypeScriptTransformer:ft,createVitePlugin:mt,createWebpackLoader:dt,createRollupPlugin:gt,createESBuildPlugin:ht};
|
package/dist/integrations.d.ts
CHANGED
|
@@ -72,6 +72,17 @@ export interface CompilerOptions {
|
|
|
72
72
|
* @default 'inline'
|
|
73
73
|
*/
|
|
74
74
|
codegen?: 'inline' | 'ir';
|
|
75
|
+
/**
|
|
76
|
+
* Authoring syntaxes to compile: 'jsx' (default), 'lit' (also compile
|
|
77
|
+
* `` html`...` `` templates through the shared IR pipeline), or 'both'.
|
|
78
|
+
* @default 'jsx'
|
|
79
|
+
*/
|
|
80
|
+
format?: 'jsx' | 'lit' | 'both';
|
|
81
|
+
/**
|
|
82
|
+
* Tag name marking a lit template for compilation (when `format` includes lit).
|
|
83
|
+
* @default 'html'
|
|
84
|
+
*/
|
|
85
|
+
litTag?: string;
|
|
75
86
|
/**
|
|
76
87
|
* Module emitted runtime symbols are imported from in 'imperative' mode.
|
|
77
88
|
* @default '@fluixi/dom'
|
|
@@ -82,6 +93,11 @@ export interface CompilerOptions {
|
|
|
82
93
|
* @default '@fluixi/dom'
|
|
83
94
|
*/
|
|
84
95
|
controlFlowModule?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Module the router components (Router/Outlet/…) are auto-imported from.
|
|
98
|
+
* @default '@fluixi/core/router-next'
|
|
99
|
+
*/
|
|
100
|
+
routerModule?: string;
|
|
85
101
|
/**
|
|
86
102
|
* Where reactive primitives (createMemo) are imported from in 'imperative' mode.
|
|
87
103
|
* @default '@fluixi/reactive/signal'
|
|
@@ -169,8 +185,11 @@ export declare function createBabelPlugin(options?: CompilerOptions): Promise<{
|
|
|
169
185
|
plugin: ((api: object, options: import("./frontend/babel/plugin.js").PluginOptions | null | undefined, dirname: string) => import("@babel/core").PluginObj<import("@babel/core").PluginPass>) | null;
|
|
170
186
|
getOptions(): {
|
|
171
187
|
reactiveModule?: string | undefined;
|
|
188
|
+
routerModule?: string | undefined;
|
|
172
189
|
controlFlowModule?: string | undefined;
|
|
173
190
|
signalModule?: string | undefined;
|
|
191
|
+
litTag?: string | undefined;
|
|
192
|
+
format?: "both" | "jsx" | "lit" | undefined;
|
|
174
193
|
codegen?: "inline" | "ir" | undefined;
|
|
175
194
|
runtime: string;
|
|
176
195
|
importSource: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,GAAG,YAAY,CAAC;IAE/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAE1B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB;AA+BD;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,YAAY,CAiDlE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACzB,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAQ3B;AAMD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,GAAG,EAAE,GACd,OAAO,CAuBT;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAEjD;AAMD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,GAAG,EAAE,EACf,OAAO,GAAE,eAAoB,GAC5B,MAAM,CAkBR;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,GAAE,eAAoB,GAC5B,MAAM,CAwBR;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,MAAM,CAU5D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,GAAG,EAAE,EACf,KAAK,UAAQ,GACZ,MAAM,CAkDR;AAMD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQnD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKpD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAuBhD;AAMD;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,GAAE,eAAoB,GAC5B,MAAM,CAgBR;AAMD;;GAEG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,eAAoB,GAC5B,eAAe,CAoCjB;AA2DD;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,GAAE,eAAoB
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,KAAK,GAAG,YAAY,CAAC;IAE/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAE1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;IAEhC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;CACnB;AA+BD;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,YAAY,CAiDlE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACzB,GAAG,CAAC,MAAM,EAAE,YAAY,CAAC,CAQ3B;AAMD;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,GAAG,EAAE,GACd,OAAO,CAuBT;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAEjD;AAMD;;GAEG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,GAAG,EAAE,EACf,OAAO,GAAE,eAAoB,GAC5B,MAAM,CAkBR;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,OAAO,GAAE,eAAoB,GAC5B,MAAM,CAwBR;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,GAAG,EAAE,GAAG,MAAM,CAU5D;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1B,QAAQ,EAAE,GAAG,EAAE,EACf,KAAK,UAAQ,GACZ,MAAM,CAkDR;AAMD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQnD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAKpD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAuBhD;AAMD;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,MAAM,EAAE,EAChB,OAAO,GAAE,eAAoB,GAC5B,MAAM,CAgBR;AAMD;;GAEG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,eAAoB,GAC5B,eAAe,CAoCjB;AA2DD;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,OAAO,GAAE,eAAoB;;;;;;;;;;;;;;;;;;;;;;;;;GAgDpE;AAMD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,OAAO,GAAE,eAAoB,aAIpD,GAAG,MAAM,YAAY,GAAG,SAkB5C;AA0BD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,OAAO,GAAE,eAAoB,GAAG,CAAC,CA4GpE;AAMD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,eAAoB,IACxC,MAAM,GAAG,EAAE,QAAQ,MAAM,mBAyBjD;AAMD;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,eAAoB;;oBAItC,MAAM,MAAM,MAAM;;;;EAgC3C;AAMD;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,GAAE,eAAoB;;iBAIhD,GAAG;EAsCnB;AAWD,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AA8BhF;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,GAAG,GAAG,KAAK,CAAC,CA6BtD;;;;;;;;;;;;;;;;;;;;;;AAED,wBA6BE"}
|
package/dist/integrations.js
CHANGED
|
@@ -407,10 +407,13 @@ export async function createBabelPlugin(options = {}) {
|
|
|
407
407
|
// Codegen backend selection (default 'imperative').
|
|
408
408
|
backend: options.backend || 'imperative',
|
|
409
409
|
...(options.codegen ? { codegen: options.codegen } : {}),
|
|
410
|
+
...(options.format ? { format: options.format } : {}),
|
|
411
|
+
...(options.litTag ? { litTag: options.litTag } : {}),
|
|
410
412
|
...(options.signalModule ? { signalModule: options.signalModule } : {}),
|
|
411
413
|
...(options.controlFlowModule
|
|
412
414
|
? { controlFlowModule: options.controlFlowModule }
|
|
413
415
|
: {}),
|
|
416
|
+
...(options.routerModule ? { routerModule: options.routerModule } : {}),
|
|
414
417
|
...(options.reactiveModule ? { reactiveModule: options.reactiveModule } : {}),
|
|
415
418
|
};
|
|
416
419
|
},
|
package/dist/integrations.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{a as d}from"./chunk-3SAEGOMQ.mjs";import{transformSync as P}from"@babel/core";var R="@fluixi/start/server-fn";function C(e){let t=5381;for(let n=0;n<e.length;n++)t=t*33^e.charCodeAt(n);return(t>>>0).toString(16)}function O({types:e}){return{name:"fluixi-server-functions",visitor:{Program:{enter(t,n){n.fxIndex=0,n.fxUsed=null},exit(t,n){n.fxUsed&&t.unshiftContainer("body",e.importDeclaration([e.importSpecifier(e.identifier(n.fxUsed),e.identifier(n.fxUsed))],e.stringLiteral(n.opts.runtimeModule||R)))}},"FunctionDeclaration|FunctionExpression|ArrowFunctionExpression":(t,n)=>{let r=t.node.body;if(!e.isBlockStatement(r))return;let i=(r.directives||[]).findIndex(g=>g.value.value==="use server");if(i<0)return;r.directives.splice(i,1);let
|
|
1
|
+
import{a as d}from"./chunk-3SAEGOMQ.mjs";import{transformSync as P}from"@babel/core";var R="@fluixi/start/server-fn";function C(e){let t=5381;for(let n=0;n<e.length;n++)t=t*33^e.charCodeAt(n);return(t>>>0).toString(16)}function O({types:e}){return{name:"fluixi-server-functions",visitor:{Program:{enter(t,n){n.fxIndex=0,n.fxUsed=null},exit(t,n){n.fxUsed&&t.unshiftContainer("body",e.importDeclaration([e.importSpecifier(e.identifier(n.fxUsed),e.identifier(n.fxUsed))],e.stringLiteral(n.opts.runtimeModule||R)))}},"FunctionDeclaration|FunctionExpression|ArrowFunctionExpression":(t,n)=>{let r=t.node.body;if(!e.isBlockStatement(r))return;let i=(r.directives||[]).findIndex(g=>g.value.value==="use server");if(i<0)return;r.directives.splice(i,1);let a=(n.opts.filename||n.filename||"unknown").replace(n.opts.root?n.opts.root+"/":"",""),o=`${C(a)}:${n.fxIndex++}`,l=!!n.opts.ssr,c=l?"$$registerServerFn":"$$createServerReference";n.fxUsed=c;let u=l?e.callExpression(e.identifier(c),[e.stringLiteral(o),t.isFunctionDeclaration()?e.functionExpression(null,t.node.params,r,t.node.generator,t.node.async):t.node]):e.callExpression(e.identifier(c),[e.stringLiteral(o)]);t.isFunctionDeclaration()?t.replaceWith(e.variableDeclaration("const",[e.variableDeclarator(t.node.id,u)])):t.replaceWith(u),t.skip()}}}}function y(e,t){if(!e.includes("use server"))return null;let n=P(e,{filename:t.filename,configFile:!1,babelrc:!1,sourceMaps:!0,parserOpts:{plugins:["typescript","jsx"]},plugins:[[O,t]]});return n?.code?{code:n.code,map:n.map}:null}import{readdirSync as J,readFileSync as X}from"node:fs";import{join as E}from"node:path";var L=new Set(["key","ref","children"]),A=[/\(\)\s*=>/,/function\s*\(\)/,/\w+\(\)/,/\w+\.\w+/,/\w+\[.+\]/,/createSignal/,/createStore/,/createMemo/,/createEffect/],k=/^on[A-Z]/;function v(e,t){let n={name:e,isStatic:!0,isReactive:!1,isEvent:k.test(e),isRef:e==="ref",isSpread:e.startsWith("...")};if(L.has(e))return n;if(n.isEvent||n.isRef)return n.isStatic=!1,n;if(typeof t=="string"){let r=t;for(let s of A)if(s.test(r)){n.isStatic=!1,n.isReactive=!0;break}r.includes("${")&&(n.isStatic=!1,n.isReactive=!0)}else typeof t=="function"?(n.isStatic=!1,n.isReactive=!0):typeof t=="object"&&t!==null&&(n.isStatic=!1);return n}function h(e){let t=new Map;for(let[n,r]of Object.entries(e))t.set(n,v(n,r));return t}function S(e,t,n){if(typeof e!="string")return!1;let r=h(t);for(let s of r.values()){if(s.isSpread)return!1;s.isReactive&&s.isEvent}return!0}function _(e){return e&&typeof e=="object"&&"_$litType$"in e}function I(e,t,n,r={}){let s=["svg","path","circle","rect","g"].includes(e),i=b(t,r),a=n.length>0?`, ${$(n)}`:"";return r.useLitHTML!==!1&&S(e,t,n)?T(e,t,n,s):`jsx('${e}', ${i}${a})`}function b(e,t={}){if(Object.keys(e).length===0)return"{}";let n=h(e),r=[];for(let[s,i]of Object.entries(e)){let a=n.get(s);a.isReactive&&!a.isStatic?r.push(`${s}: () => ${i}`):typeof i=="string"?r.push(`${s}: "${i}"`):typeof i=="number"||typeof i=="boolean"?r.push(`${s}: ${i}`):r.push(`${s}: ${i}`)}return`{ ${r.join(", ")} }`}function $(e){return e.length===0?"undefined":e.length===1?String(e[0]):`[${e.join(", ")}]`}function T(e,t,n,r=!1){let s=r?"svg":"html",i=`<${e}`,a=[];for(let[o,l]of Object.entries(t)){if(o==="children"||o==="key"||o==="ref")continue;let c=v(o,l);if(c.isEvent){let u=o.slice(2).toLowerCase();i+=` @${u}=\${${a.length}}`,a.push(String(l))}else c.isReactive?(i+=` ${o}=\${${a.length}}`,a.push(`signal(() => ${l})`)):typeof l=="string"?i+=` ${o}="${l}"`:(i+=` ${o}=\${${a.length}}`,a.push(String(l)))}if(i+=">",n.length>0)for(let o of n)typeof o=="string"?i+=o:(i+=`\${${a.length}}`,a.push(String(o)));return i+=`</${e}>`,`${s}\`${i}\`${a.length>0?`, ${a.join(", ")}`:""}`}function M(e){return e=e.replace(/jsx\('([^']+)',\s*{},\s*"([^"]+)"\s*\)/g,(t,n,r)=>`_$staticNode('${n}', '${r}')`),e}function N(e){return e}function j(e){let t=[],n=0;return e=e.replace(/jsx\('([^']+)',\s*{([^}]*)},\s*([^)]*)\)/g,(r,s,i,a)=>{if(!i.includes("()")&&!i.includes("=>")){let o=`_$static${n++}`;return t.push(`const ${o} = ${r};`),o}return r}),t.length>0?t.join(`
|
|
2
2
|
`)+`
|
|
3
3
|
`+e:e}function w(e,t={}){let n=t.delegatedEvents||["click","input","change","submit"],r=e.filter(s=>n.includes(s.toLowerCase()));return r.length===0?"":`delegateEvents([${r.map(s=>`'${s}'`).join(", ")}]);`}function f(e,t={}){let n={hasSignals:/createSignal|signal\(/.test(e),hasStores:/createStore|store\(/.test(e),hasLitHTML:/html`|svg`/.test(e),staticProps:new Set,dynamicProps:new Set,components:new Set},r=e;if(t.optimize!==!1&&(r=M(r),r=j(r)),t.delegateEvents!==!1){let s=z(e),i=w(s,t);i&&(r=i+`
|
|
4
4
|
`+r)}return r=D(r,n,t),{code:r,metadata:n}}function z(e){let t=new Set,n=/on([A-Z][a-z]+)/g,r;for(;(r=n.exec(e))!==null;)t.add(r[1].toLowerCase());return Array.from(t)}function D(e,t,n){let r=[],s=n.importSource||"@fluixi/jsx";return r.push(`import { jsx, jsxs, Fragment, spread } from '${s}';`),t.hasSignals&&r.push("import { signal } from '@fluixi/dom/reactive';"),(e.includes("<Show")||e.includes("<For")||e.includes("<Switch"))&&r.push("import { Show, For, Index, Switch, Match } from '@fluixi/dom/control-flow';"),n.delegateEvents!==!1&&r.push("import { delegateEvents } from '@fluixi/dom/runtime';"),r.join(`
|
|
5
5
|
`)+`
|
|
6
6
|
|
|
7
|
-
`+e}async function p(e={}){let t=null;try{t=await import("./babel-
|
|
8
|
-
`,s=n.map(
|
|
7
|
+
`+e}async function p(e={}){let t=null;try{t=await import("./babel-DZ7BC6T2.mjs")}catch(n){console.warn("Could not load the babel front-end:",n)}return{name:"babel-fluixi-jsx",plugin:t?t.default||t:null,getOptions(){return{runtime:"automatic",importSource:e.importSource||"@fluixi/jsx",pragma:e.pragma||"jsx",pragmaFrag:e.pragmaFrag||"Fragment",development:e.development||!1,detectReactivity:!0,useLitHTML:e.useLitHTML!==!1,hoistStatics:e.optimize!==!1,delegateEvents:e.delegateEvents!==!1,delegatedEvents:e.delegatedEvents||["click","input","change","submit"],optimizeControlFlow:e.optimize!==!1,sourceMaps:e.sourceMaps!==!1,backend:e.backend||"imperative",...e.codegen?{codegen:e.codegen}:{},...e.format?{format:e.format}:{},...e.litTag?{litTag:e.litTag}:{},...e.signalModule?{signalModule:e.signalModule}:{},...e.controlFlowModule?{controlFlowModule:e.controlFlowModule}:{},...e.routerModule?{routerModule:e.routerModule}:{},...e.reactiveModule?{reactiveModule:e.reactiveModule}:{}}}}}function V(e={}){let t=m("typescript");return t?n=>{let r=s=>t.isJsxElement(s)||t.isJsxSelfClosingElement(s)?H(s,e,t):t.visitEachChild(s,r,n);return s=>t.visitNode(s,r)}:(console.warn("TypeScript not found, transformer unavailable"),n=>r=>r)}function H(e,t,n){return e}function m(e){try{return d(e)}catch{return null}}function U(e={}){return{name:"vite-fluixi-jsx",enforce:"pre",config(){return{esbuild:{jsx:"automatic",jsxImportSource:e.importSource||"@fluixi/jsx"}}},async transform(t,n){let r=await p(e);if(!/\.(jsx|tsx|ts)$/i.test(n))return null;try{let s=await import("@babel/core").catch(()=>null);if(!s)return{code:f(t,e).code,map:null};let i=/\.tsx$/.test(n),a=/\.ts$/.test(n),o=[],l=[];if(i||a){let u=await import("@babel/preset-typescript").then(g=>g.default||g).catch(()=>null);u&&o.push([u,{isTSX:i,allExtensions:!0,jsxPragma:e.pragma||"jsx",jsxPragmaFrag:e.pragmaFrag||"Fragment",onlyRemoveTypeImports:!0}])}r&&r.plugin?l.push([r.plugin,r.getOptions()]):console.warn("[createVitePlugin] custom babel plugin not found");let c=await s.transformAsync(t,{filename:n,configFile:!1,babelrc:!1,presets:o,plugins:l,sourceMaps:e.sourceMaps!==!1});return{code:c?.code||t,map:c?.map}}catch(s){console.error("Transform error:",s);try{return{code:f(t,e).code,map:null}}catch(i){return console.error("Fallback transform also failed:",i),null}}}}}function W(e={}){return async function(t){let n=this.async(),r=m("@babel/core"),s=await p(e);if(!r||!s.plugin){let i=f(t,e);n(null,i.code);return}r.transformAsync(t,{filename:this.resourcePath,plugins:[[s.plugin,s.getOptions()]],sourceMaps:e.sourceMaps!==!1}).then(i=>{n(null,i?.code,i?.map)}).catch(i=>{n(i)})}}function q(e={}){return{name:"rollup-fluixi-jsx",async transform(t,n){let r=await p(e);if(!/\.[jt]sx$/.test(n))return null;try{let s=m("@babel/core");if(!s||!r.plugin)return{code:f(t,e).code,map:null};let i=await s.transformAsync(t,{filename:n,plugins:[[r.plugin,r.getOptions()]],sourceMaps:e.sourceMaps!==!1});return{code:i?.code||t,map:i?.map}}catch(s){return console.error("Transform error:",s),null}}}}function B(e={}){return{name:"esbuild-fluixi-jsx",setup(t){t.onLoad({filter:/\.[jt]sx$/},async n=>{let r=m("@babel/core"),s=await p(e),a=d("fs").readFileSync(n.path,"utf8");try{return!r||!s.plugin?{contents:f(a,e).code,loader:"js"}:{contents:(await r.transformAsync(a,{filename:n.path,plugins:[[s.plugin,s.getOptions()]],sourceMaps:!1}))?.code||a,loader:"js"}}catch(o){return{errors:[{text:`Transform error: ${o}`}]}}})}}}var x="virtual:fluixi-server-fns";function F(e,t=[]){let n;try{n=J(e,{withFileTypes:!0})}catch{return t}for(let r of n){if(r.name==="node_modules"||r.name==="dist"||r.name.startsWith("."))continue;let s=E(e,r.name);if(r.isDirectory())F(s,t);else if(/\.[jt]sx?$/.test(r.name))try{X(s,"utf8").includes("use server")&&t.push(s)}catch{}}return t}function ee(){let e=process.cwd();return{name:"fluixi-server-functions",enforce:"pre",configResolved(t){e=t.root||e},resolveId(t){return t===x?"\0"+x:null},load(t){if(t!=="\0"+x)return null;let n=F(E(e,"src")),r=`import '@fluixi/start/server-fn-setup';
|
|
8
|
+
`,s=n.map(a=>`import ${JSON.stringify(a)};`).join(`
|
|
9
9
|
`);return r+s+`
|
|
10
10
|
export { isServerFnRequest, handleServerFn } from '@fluixi/start/server-fn';
|
|
11
|
-
`},transform(t,n,r){return!/\.[jt]sx?$/.test(n)||!t.includes("use server")?null:y(t,{ssr:!!r?.ssr,filename:n,root:e})}}}var te={analyzeProp:v,analyzeProps:
|
|
11
|
+
`},transform(t,n,r){return!/\.[jt]sx?$/.test(n)||!t.includes("use server")?null:y(t,{ssr:!!r?.ssr,filename:n,root:e})}}}var te={analyzeProp:v,analyzeProps:h,shouldUseLitTemplate:S,isLitTemplate:_,generateCreateElement:I,generatePropsCode:b,generateChildrenCode:$,generateLitHTMLTemplate:T,optimizeStatic:M,optimizeSpreads:N,hoistStatic:j,generateEventDelegation:w,transform:f,createBabelPlugin:p,createTypeScriptTransformer:V,createVitePlugin:U,createWebpackLoader:W,createRollupPlugin:q,createESBuildPlugin:B};export{v as analyzeProp,h as analyzeProps,p as createBabelPlugin,B as createESBuildPlugin,q as createRollupPlugin,V as createTypeScriptTransformer,U as createVitePlugin,W as createWebpackLoader,te as default,$ as generateChildrenCode,I as generateCreateElement,w as generateEventDelegation,T as generateLitHTMLTemplate,b as generatePropsCode,j as hoistStatic,_ as isLitTemplate,N as optimizeSpreads,M as optimizeStatic,ee as serverFunctionsVitePlugin,S as shouldUseLitTemplate,f as transform,y as transformServerFunctions};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts","../src/ir/nodes.ts","../src/options.ts","../src/frontend/types.ts","../src/codegen/contract.ts","../src/codegen/backend.ts","../src/codegen/backends/imperative.ts","../src/index.ts","../../../node_modules/.pnpm/@babel+types@7.29.7/node_modules/@babel/types/lib/index.d.ts","../../../node_modules/.pnpm/@types+babel__generator@7.27.0/node_modules/@types/babel__generator/index.d.ts","../../../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/.pnpm/@types+babel__template@7.4.4/node_modules/@types/babel__template/index.d.ts","../../../node_modules/.pnpm/@types+babel__traverse@7.28.0/node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/.pnpm/@types+babel__core@7.20.5/node_modules/@types/babel__core/index.d.ts","../src/frontend/babel/server-functions.ts","../../../node_modules/.pnpm/@types+babel__helper-plugin-utils@7.10.3/node_modules/@types/babel__helper-plugin-utils/index.d.ts","../src/frontend/babel/build-ir.ts","../src/frontend/babel/plugin.ts","../src/frontend/babel/types.ts","../src/frontend/babel/index.ts","../src/integrations.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/index.d.ts"],"fileIdsList":[[63,122],[122],[63,64,65,66,67,122],[68,122],[63,65,122],[76,122],[79,122],[80,85,113,122],[81,92,93,100,110,121,122],[81,82,92,100,122],[83,122],[84,85,93,101,122],[85,110,118,122],[86,88,92,100,122],[87,122],[88,89,122],[92,122],[90,92,122],[92,93,94,110,121,122],[92,93,94,107,110,113,122],[122,126],[88,92,95,100,110,121,122],[92,93,95,96,100,110,118,121,122],[95,97,110,118,121,122],[76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],[92,98,122],[99,121,122],[88,92,100,110,122],[101,122],[102,122],[79,103,122],[104,120,122,126],[105,122],[106,122],[92,107,108,122],[107,109,122,124],[80,92,110,111,112,113,122],[80,110,112,122],[110,111,122],[113,122],[114,122],[92,116,117,122],[116,117,122],[85,100,110,118,122],[119,122],[100,120,122],[80,95,106,121,122],[85,122],[110,122,123],[122,124],[122,125],[80,85,92,94,103,110,121,122,124,126],[110,122,127],[54,122],[55,56,57,59,122],[55,56,57,59,60,122],[55,122],[55,56,61,64,68,122],[55,72,73,122],[55,61,68,70,71,122],[55,68,122],[55,57,122],[55,56,57,58,59,60,61,122],[55,68,69,74,93,102,122]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"7e653a9ed0a0a40152c7c3f079d7b07ca63c2a1d65016f0f9d84a77b8b660198","signature":"6b2330e972048d8539d0f94ff2e8f3a5dc416ff65132ea110007382a0f4f3105","impliedFormat":99},{"version":"2e79b85bcec7f731856c46ffc5ad013b1cbf1eeb3c80af3cbc5d0009b669cfe6","signature":"54bbaa2548838375065016a9b7f78d335adb8bf9d55ddb0f6f25c43f6e97d9f3","impliedFormat":99},{"version":"60a693d5659165194602e1b1d3d420f07a296c8f6b3714a4d76c2a7acee508e2","signature":"8b5d4393bf93f149ae49239c2ce94c82b3847ec7cdff33624601cc5f77d18432","impliedFormat":99},{"version":"2bfdd24b68278d323e8ef9fb8e83af5a87030ee1aedf04fc2c44437edb8bbb52","signature":"5cd259db1a34442e70e925b83823e1f4576f3c5b84d9ed659f40c1a6d4ab4fbf","impliedFormat":99},{"version":"873ee84d8f4029cf8a6dec53384ac3c8aae9d0f0e51c0fb3dd55850c21fd10cc","signature":"a3a283b328cf1906d1950fe49632e92ac8c315b977fc1f177d8dab1539abd48e","impliedFormat":99},{"version":"e5be2cbd77067e4ad21c58f2f84640d7b0ff546fbd003c59a5fbfb60a4a40319","signature":"fb4892912e3c0c76f7c4dac23dcd3e9dc1b9cd709d7899f756ed001bd9d40b65","impliedFormat":99},{"version":"1ccce91770af3c549676ee15c5b2fcd6d9ee8ad28ed3b743990be2d82e79454f","signature":"e1e674919ffd8bace4f3680d3beb937085cb7268dcaf7257ef4a51ff2c874f04","impliedFormat":99},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"13b77ab19ef7aadd86a1e54f2f08ea23a6d74e102909e3c00d31f231ed040f62","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"2aee05f630d328eb849b7d294bfd64d600d863242eba60c7e5b73af701413227","signature":"63953910c9694e0b8fec98b65f363c2bb51d997025a7416297117e51a443df97","impliedFormat":99},{"version":"5ab6d179a1c49dacd5106af2173d141983d631143a07c65e8e4b9551d688b215","impliedFormat":1},{"version":"affa51c5eba5caf837a2535c2a626793286ce6958fc3c3fb1e902b683c6b8bd5","signature":"25abcbb341dca31f8551197b1f4673ceff42cd5376df7dc7b8dfc71dae28d47c","impliedFormat":99},{"version":"d954a13f739ee177b33ad6a32e81815a42332f38da27cbc169ed78a9b69f63de","signature":"51b3876dcc55874528cc8f2ac2950a292fa140b31a9c100c893b32418abf00c7","impliedFormat":99},{"version":"a4e40c2d52f5e35664e1938e7edf87c42bfd90d57d0214a358fd723d1803e1bb","signature":"e86cdf3023f5521102ea11f4c9f236fc98d3d79bcd97ada46c59221f1ce59e38","impliedFormat":99},{"version":"b22d5b7cce1edc2bc77703d7d2a0e7b74f623c01f8362e685ad48af9699d57d2","signature":"4fbfa044ca01682652ef5e00f484727e6d0013ca781ecc444ae2ddf3bbab3c1a","impliedFormat":99},{"version":"2d24b48c40475fc04876db0d04ebcc48ee60bcb48d1b847dede2abfdab19632a","signature":"3553988fbe0a52e098dc7c09cb010a5fbf49f460cbd7fcdc8df857c15e024d84","impliedFormat":99},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3","impliedFormat":1},{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true,"impliedFormat":1},{"version":"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"4eaff3d8e10676fd7913d8c108890e71c688e1e7d52f6d1d55c39514f493dc47","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true,"impliedFormat":1},{"version":"3256f3cccd578f9e7fe3a28096c505634bebcee8afb738ffa99368e536ca3a0b","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"7f138842074d0a40681775af008c8452093b68c383c94de31759e853c6d06b5c","impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true,"impliedFormat":1},{"version":"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1","impliedFormat":1}],"root":[[56,62],69,[71,75]],"options":{"composite":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo"},"referencedMap":[[65,1],[63,2],[68,3],[64,1],[70,4],[66,5],[67,1],[76,6],[77,6],[79,7],[80,8],[81,9],[82,10],[83,11],[84,12],[85,13],[86,14],[87,15],[88,16],[89,16],[91,17],[90,18],[92,17],[93,19],[94,20],[78,21],[128,2],[95,22],[96,23],[97,24],[129,25],[98,26],[99,27],[100,28],[101,29],[102,30],[103,31],[104,32],[105,33],[106,34],[107,35],[108,35],[109,36],[110,37],[112,38],[111,39],[113,40],[114,41],[115,2],[116,42],[117,43],[118,44],[119,45],[120,46],[121,47],[122,48],[123,49],[124,50],[125,51],[126,52],[127,53],[55,54],[54,2],[52,2],[53,2],[9,2],[10,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[21,2],[22,2],[4,2],[23,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[38,2],[35,2],[36,2],[37,2],[39,2],[7,2],[40,2],[45,2],[46,2],[41,2],[42,2],[43,2],[44,2],[8,2],[50,2],[47,2],[48,2],[49,2],[1,2],[51,2],[60,55],[61,56],[59,57],[71,58],[74,59],[72,60],[69,61],[73,61],[58,62],[62,63],[75,64],[56,57],[57,57]],"latestChangedDtsFile":"./integrations.d.ts","version":"5.8.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.d.ts","../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/modules/index.d.ts","../src/ir/nodes.ts","../src/options.ts","../src/frontend/types.ts","../src/codegen/contract.ts","../src/codegen/backend.ts","../src/codegen/backends/imperative.ts","../src/index.ts","../../../node_modules/.pnpm/@babel+types@7.29.7/node_modules/@babel/types/lib/index.d.ts","../../../node_modules/.pnpm/@types+babel__generator@7.27.0/node_modules/@types/babel__generator/index.d.ts","../../../node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/.pnpm/@types+babel__template@7.4.4/node_modules/@types/babel__template/index.d.ts","../../../node_modules/.pnpm/@types+babel__traverse@7.28.0/node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/.pnpm/@types+babel__core@7.20.5/node_modules/@types/babel__core/index.d.ts","../src/frontend/babel/server-functions.ts","../../../node_modules/.pnpm/@types+babel__helper-plugin-utils@7.10.3/node_modules/@types/babel__helper-plugin-utils/index.d.ts","../../template-parser/dist/ast.d.ts","../../template-parser/dist/reader.d.ts","../../template-parser/dist/directives.d.ts","../../template-parser/dist/parser.d.ts","../../template-parser/dist/index.d.ts","../src/frontend/babel/lower-template.ts","../src/frontend/babel/build-ir-lit.ts","../src/frontend/babel/build-ir.ts","../src/frontend/babel/plugin.ts","../src/frontend/babel/types.ts","../src/frontend/babel/index.ts","../src/integrations.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@18.16.9/node_modules/@types/node/index.d.ts"],"fileIdsList":[[63,129],[129],[63,64,65,66,67,129],[68,129],[63,65,129],[83,129],[86,129],[87,92,120,129],[88,99,100,107,117,128,129],[88,89,99,107,129],[90,129],[91,92,100,108,129],[92,117,125,129],[93,95,99,107,129],[94,129],[95,96,129],[99,129],[97,99,129],[99,100,101,117,128,129],[99,100,101,114,117,120,129],[129,133],[95,99,102,107,117,128,129],[99,100,102,103,107,117,125,128,129],[102,104,117,125,128,129],[83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135],[99,105,129],[106,128,129],[95,99,107,117,129],[108,129],[109,129],[86,110,129],[111,127,129,133],[112,129],[113,129],[99,114,115,129],[114,116,129,131],[87,99,117,118,119,120,129],[87,117,119,129],[117,118,129],[120,129],[121,129],[99,123,124,129],[123,124,129],[92,107,117,125,129],[126,129],[107,127,129],[87,102,113,128,129],[92,129],[117,129,130],[129,131],[129,132],[87,92,99,101,110,117,128,129,131,133],[117,129,134],[54,129],[55,56,57,59,129],[55,56,57,59,60,129],[55,129],[55,56,68,76,129],[55,56,61,64,68,77,129],[55,79,80,129],[55,56,61,64,68,75,78,129],[55,56,61,68,70,77,78,129],[55,68,129],[55,57,129],[55,56,57,58,59,60,61,129],[55,68,69,81,100,109,129],[71,129],[71,72,73,74,129],[71,72,73,129]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"07f073f19d67f74d732b1adea08e1dc66b1b58d77cb5b43931dee3d798a2fd53","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},{"version":"b8f34dd1757f68e03262b1ca3ddfa668a855b872f8bdd5224d6f993a7b37dc2c","impliedFormat":99},{"version":"7e653a9ed0a0a40152c7c3f079d7b07ca63c2a1d65016f0f9d84a77b8b660198","signature":"6b2330e972048d8539d0f94ff2e8f3a5dc416ff65132ea110007382a0f4f3105","impliedFormat":99},{"version":"2e79b85bcec7f731856c46ffc5ad013b1cbf1eeb3c80af3cbc5d0009b669cfe6","signature":"54bbaa2548838375065016a9b7f78d335adb8bf9d55ddb0f6f25c43f6e97d9f3","impliedFormat":99},{"version":"60a693d5659165194602e1b1d3d420f07a296c8f6b3714a4d76c2a7acee508e2","signature":"8b5d4393bf93f149ae49239c2ce94c82b3847ec7cdff33624601cc5f77d18432","impliedFormat":99},{"version":"2bfdd24b68278d323e8ef9fb8e83af5a87030ee1aedf04fc2c44437edb8bbb52","signature":"5cd259db1a34442e70e925b83823e1f4576f3c5b84d9ed659f40c1a6d4ab4fbf","impliedFormat":99},{"version":"873ee84d8f4029cf8a6dec53384ac3c8aae9d0f0e51c0fb3dd55850c21fd10cc","signature":"a3a283b328cf1906d1950fe49632e92ac8c315b977fc1f177d8dab1539abd48e","impliedFormat":99},{"version":"e5be2cbd77067e4ad21c58f2f84640d7b0ff546fbd003c59a5fbfb60a4a40319","signature":"fb4892912e3c0c76f7c4dac23dcd3e9dc1b9cd709d7899f756ed001bd9d40b65","impliedFormat":99},{"version":"1ccce91770af3c549676ee15c5b2fcd6d9ee8ad28ed3b743990be2d82e79454f","signature":"e1e674919ffd8bace4f3680d3beb937085cb7268dcaf7257ef4a51ff2c874f04","impliedFormat":99},{"version":"556ccd493ec36c7d7cb130d51be66e147b91cc1415be383d71da0f1e49f742a9","impliedFormat":1},{"version":"b6d03c9cfe2cf0ba4c673c209fcd7c46c815b2619fd2aad59fc4229aaef2ed43","impliedFormat":1},{"version":"95aba78013d782537cc5e23868e736bec5d377b918990e28ed56110e3ae8b958","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"13b77ab19ef7aadd86a1e54f2f08ea23a6d74e102909e3c00d31f231ed040f62","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"2aee05f630d328eb849b7d294bfd64d600d863242eba60c7e5b73af701413227","signature":"63953910c9694e0b8fec98b65f363c2bb51d997025a7416297117e51a443df97","impliedFormat":99},{"version":"5ab6d179a1c49dacd5106af2173d141983d631143a07c65e8e4b9551d688b215","impliedFormat":1},{"version":"a15baa188632ab5d99ca1f20900584344c7c2ac16527634d6ee5bc018ba9b9e0","impliedFormat":99},{"version":"5f2c103a31a73eb51c02fdb720070596b04ca102ffee940cdceaf6406dcee0d6","impliedFormat":99},{"version":"28b2c0f5b5edf8bb5376b7261a7b0e4be39c2b9c5873046e8c5faa61f22a6c68","impliedFormat":99},{"version":"055bfc656eab9f3241acfc722435bf62f73cc2cf4b763319c425d3ae6b720e17","impliedFormat":99},{"version":"7b66e663ac54c9dfd176aab1ff7f2adaf4f6a2bcc61ae983dadfebec74eab286","impliedFormat":99},{"version":"613197eb574846151ee8c1086e49464943a7c5de46b71d85f956c670488353cd","signature":"bce849aa3bd711cf45cf57546e4240c33a7656f2f584ce253acbfe9479ab586c","impliedFormat":99},{"version":"2d263969903d3739d322cb0ad051c83960b23cb6af4bdcc40148925062c22421","signature":"fd19881bda63bee0d169cd92f845eb39750c5724dcded37048df4e4ec2f7b967","impliedFormat":99},{"version":"f5a57e8af749a0b6dca9ca758e3d6de069d544f835e4f00bd03d8f01c5e7ecf5","signature":"a7585757d437bddbe4b17558770b2b6ceb4be8cbfcd27ab83d049e8d3372b0ef","impliedFormat":99},{"version":"428963d367a5556d8203dc91483c249bc3fbb42adb3b6970c79907fcf5218fbc","signature":"e78097ee9cf0c1ef2f530e996757f6c93b38d7990f652a790336eeb5c39e9b68","impliedFormat":99},{"version":"a4e40c2d52f5e35664e1938e7edf87c42bfd90d57d0214a358fd723d1803e1bb","signature":"e86cdf3023f5521102ea11f4c9f236fc98d3d79bcd97ada46c59221f1ce59e38","impliedFormat":99},{"version":"b22d5b7cce1edc2bc77703d7d2a0e7b74f623c01f8362e685ad48af9699d57d2","signature":"4fbfa044ca01682652ef5e00f484727e6d0013ca781ecc444ae2ddf3bbab3c1a","impliedFormat":99},{"version":"f2e1dcfaf9337643fef70beac0df950ef142fe9dcac6f92ed5d89c7b3e32454a","signature":"a220df538dda98e99f40b7947ee54230b62a51c67f92f18c639e810b98309ed1","impliedFormat":99},{"version":"7e771891adaa85b690266bc37bd6eb43bc57eecc4b54693ead36467e7369952a","impliedFormat":1},{"version":"a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a","impliedFormat":1},{"version":"f749812878fecfa53cfc13b36e5d35086fb6377983a9df44175da83ccc23af1f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7d2e3fea24c712c99c03ad8f556abedbfe105f87f1be10b95dbd409d24bc05a3","impliedFormat":1},{"version":"211e3f15fbced4ab4be19f49ffa990b9ff20d749d33b65ff753be691e7616239","affectsGlobalScope":true,"impliedFormat":1},{"version":"3719525a8f6ab731e3dfd585d9f87df55ec7d50d461df84f74eb4d68bb165244","impliedFormat":1},{"version":"5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713","impliedFormat":1},{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true,"impliedFormat":1},{"version":"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","impliedFormat":1},{"version":"e596c9bb2f29a2699fdd4ae89139612652245192f67f45617c5a4b20832aaae9","impliedFormat":1},{"version":"bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","impliedFormat":1},{"version":"1cdcfc1f624d6c08aa12c73935f6e13f095919cd99edf95752951796eb225729","impliedFormat":1},{"version":"4eaff3d8e10676fd7913d8c108890e71c688e1e7d52f6d1d55c39514f493dc47","impliedFormat":1},{"version":"14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","impliedFormat":1},{"version":"5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea","impliedFormat":1},{"version":"6b526a5ec4a401ca7c26cfe6a48e641d8f30af76673bad3b06a1b4504594a960","affectsGlobalScope":true,"impliedFormat":1},{"version":"00dee7cdca8b8420c47ea4a31a34b8e8294013ebc4f463fd941e867e7bf05029","affectsGlobalScope":true,"impliedFormat":1},{"version":"3256f3cccd578f9e7fe3a28096c505634bebcee8afb738ffa99368e536ca3a0b","impliedFormat":1},{"version":"1c84b46267610a34028edfd0d035509341751262bac1062857f3c8df7aff7153","impliedFormat":1},{"version":"7f138842074d0a40681775af008c8452093b68c383c94de31759e853c6d06b5c","impliedFormat":1},{"version":"a3d541d303ee505053f5dcbf9fafb65cac3d5631037501cd616195863a6c5740","impliedFormat":1},{"version":"8d3c583a07e0c37e876908c2d5da575019f689df8d9fa4c081d99119d53dba22","impliedFormat":1},{"version":"2c828a5405191d006115ab34e191b8474bc6c86ffdc401d1a9864b1b6e088a58","impliedFormat":1},{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true,"impliedFormat":1},{"version":"bcebb922784739bdb34c18ee51095d25a92b560c78ccd2eaacd6bd00f7443d83","impliedFormat":1},{"version":"7ee6ed878c4528215c82b664fe0cfe80e8b4da6c0d4cc80869367868774db8b1","impliedFormat":1},{"version":"b0973c3cbcdc59b37bf477731d468696ecaf442593ec51bab497a613a580fe30","impliedFormat":1},{"version":"4989e92ba5b69b182d2caaea6295af52b7dc73a4f7a2e336a676722884e7139d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0715e4cd28ad471b2a93f3e552ff51a3ae423417a01a10aa1d3bc7c6b95059d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","impliedFormat":1},{"version":"210d54cd652ec0fec8c8916e4af59bb341065576ecda039842f9ffb2e908507c","impliedFormat":1},{"version":"36b03690b628eab08703d63f04eaa89c5df202e5f1edf3989f13ad389cd2c091","impliedFormat":1},{"version":"0effadd232a20498b11308058e334d3339cc5bf8c4c858393e38d9d4c0013dcf","impliedFormat":1},{"version":"25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","impliedFormat":1},{"version":"4f3fdeba4e28e21aa719c081b8dc8f91d47e12e773389b9d35679c08151c9d37","impliedFormat":1},{"version":"1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","impliedFormat":1},{"version":"69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf","impliedFormat":1},{"version":"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","impliedFormat":1},{"version":"23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","impliedFormat":1},{"version":"f69ff39996a61a0dd10f4bce73272b52e8024a4d58b13ab32bf4712909d0a2b7","impliedFormat":1},{"version":"3c4ba1dd9b12ffa284b565063108f2f031d150ea15b8fafbdc17f5d2a07251f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","impliedFormat":1},{"version":"1422cd9e705adcc09088fda85a900c2b70e3ad36ea85846f68bd1a884cdf4e2b","impliedFormat":1},{"version":"3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","impliedFormat":1},{"version":"5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2","impliedFormat":1},{"version":"a73ae8c0e62103bb9e21bb6538700881bf135b9a8b125b857ec68edfa0da4ed3","affectsGlobalScope":true,"impliedFormat":1},{"version":"e1c1b2fbe236bf7ee3e342eeae7e20efb8988a0ac7da1cbbfa2c1f66b76c3423","affectsGlobalScope":true,"impliedFormat":1},{"version":"868831cab82b65dfe1d68180e898af1f2101e89ba9b754d1db6fb8cc2fac1921","impliedFormat":1},{"version":"0fe8985a28f82c450a04a6edf1279d7181c0893f37da7d2a27f8efd4fd5edb03","impliedFormat":1},{"version":"e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","impliedFormat":1},{"version":"52120bb7e4583612225bdf08e7c12559548170f11e660d33a33623bae9bbdbba","affectsGlobalScope":true,"impliedFormat":1},{"version":"8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6dd3dba8e665ac43d279e0fdf5219edda0eed69b5e9a5061f46cd6a65c4f7a1","impliedFormat":1}],"root":[[56,62],69,[76,82]],"options":{"composite":true,"declarationMap":true,"emitDeclarationOnly":false,"importHelpers":true,"module":199,"noEmitOnError":true,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.lib.tsbuildinfo"},"referencedMap":[[65,1],[63,2],[68,3],[64,1],[70,4],[66,5],[67,1],[83,6],[84,6],[86,7],[87,8],[88,9],[89,10],[90,11],[91,12],[92,13],[93,14],[94,15],[95,16],[96,16],[98,17],[97,18],[99,17],[100,19],[101,20],[85,21],[135,2],[102,22],[103,23],[104,24],[136,25],[105,26],[106,27],[107,28],[108,29],[109,30],[110,31],[111,32],[112,33],[113,34],[114,35],[115,35],[116,36],[117,37],[119,38],[118,39],[120,40],[121,41],[122,2],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[133,52],[134,53],[55,54],[54,2],[52,2],[53,2],[9,2],[10,2],[12,2],[11,2],[2,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[3,2],[21,2],[22,2],[4,2],[23,2],[27,2],[24,2],[25,2],[26,2],[28,2],[29,2],[30,2],[5,2],[31,2],[32,2],[33,2],[34,2],[6,2],[38,2],[35,2],[36,2],[37,2],[39,2],[7,2],[40,2],[45,2],[46,2],[41,2],[42,2],[43,2],[44,2],[8,2],[50,2],[47,2],[48,2],[49,2],[1,2],[51,2],[60,55],[61,56],[59,57],[77,58],[78,59],[81,60],[76,61],[79,62],[69,63],[80,63],[58,64],[62,65],[82,66],[56,57],[57,57],[71,2],[73,67],[75,68],[74,69],[72,67]],"latestChangedDtsFile":"./integrations.d.ts","version":"5.8.3"}
|