typegpu 0.8.1 → 0.8.2
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/{chunk-7S3IK3D4.js → chunk-6U5HPHCJ.js} +2 -2
- package/{chunk-7XFSK632.js → chunk-CGQB3SER.js} +2 -2
- package/{chunk-4W5Z7BO4.js → chunk-CRZWTZM2.js} +2 -2
- package/chunk-CRZWTZM2.js.map +1 -0
- package/{chunk-2UXPGML5.js → chunk-ECR2EGZX.js} +2 -2
- package/{chunk-VOVQAOVG.js → chunk-PWBIFP67.js} +2 -2
- package/common/index.d.ts +1 -1
- package/common/index.js +1 -1
- package/data/index.d.ts +3 -3
- package/data/index.js +1 -1
- package/index.d.ts +2 -2
- package/index.js +14 -14
- package/index.js.map +1 -1
- package/{matrix-DLipCOZF.d.ts → matrix-DIfOiRyz.d.ts} +1 -1
- package/package.json +5 -13
- package/std/index.d.ts +2 -2
- package/std/index.js +1 -1
- package/{tgpuConstant-BU72w5qs.d.cts → tgpuConstant-BTQFNlQH.d.ts} +9 -0
- package/chunk-3246CM7C.cjs +0 -2
- package/chunk-3246CM7C.cjs.map +0 -1
- package/chunk-4W5Z7BO4.js.map +0 -1
- package/chunk-5Y6GTBWR.cjs +0 -3
- package/chunk-5Y6GTBWR.cjs.map +0 -1
- package/chunk-PRMFGUQT.cjs +0 -2
- package/chunk-PRMFGUQT.cjs.map +0 -1
- package/chunk-TRE7NUKE.cjs +0 -10
- package/chunk-TRE7NUKE.cjs.map +0 -1
- package/chunk-ZYGTVBDH.cjs +0 -7
- package/chunk-ZYGTVBDH.cjs.map +0 -1
- package/common/index.cjs +0 -7
- package/common/index.cjs.map +0 -1
- package/common/index.d.cts +0 -24
- package/data/index.cjs +0 -2
- package/data/index.cjs.map +0 -1
- package/data/index.d.cts +0 -402
- package/index.cjs +0 -192
- package/index.cjs.map +0 -1
- package/index.d.cts +0 -369
- package/matrix-DHFT4O8f.d.cts +0 -122
- package/std/index.cjs +0 -2
- package/std/index.cjs.map +0 -1
- package/std/index.d.cts +0 -639
- package/tgpuConstant-BU72w5qs.d.ts +0 -5192
- /package/{chunk-7S3IK3D4.js.map → chunk-6U5HPHCJ.js.map} +0 -0
- /package/{chunk-7XFSK632.js.map → chunk-CGQB3SER.js.map} +0 -0
- /package/{chunk-2UXPGML5.js.map → chunk-ECR2EGZX.js.map} +0 -0
- /package/{chunk-VOVQAOVG.js.map → chunk-PWBIFP67.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as D,ib as O}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import{a as D,ib as O}from"./chunk-ECR2EGZX.js";import{C as y,D as f,E as m,F as d,L as x,La as P,R as g,S as T,T as A,W as B,Wa as l,a as o,aa as I,j as W,k as w,qc as h}from"./chunk-CRZWTZM2.js";function E(t){return u("function",t,"read-write")}function V(t){return u("private",t,"read-write")}function U(t){return u("workgroup",t,"read-write")}function $(t,e="read"){return u("storage",t,e)}function C(t){return u("uniform",t,"read")}function L(t){return u("handle",t,"read")}function u(t,e,r){return{[o]:!0,type:"ptr",addressSpace:t,inner:e,access:r}}var k=P(((t,e)=>e===void 0?r=>b(t,r):b(t,e)),(t,e)=>{if(e===void 0||e.value===void 0){let r=a=>k[o].gpuImpl(t,a);return r[o]=!0,I(r,B)}if(typeof e.value!="number")throw new Error(`Cannot create disarray schema with count unknown at compile-time: '${e.value}'`);return I(b(t.value,e.value),t.value)},"disarrayOf");function b(t,e){let r=a=>{if(a&&a.length!==e)throw new Error(`Disarray schema of ${e} elements of type ${t.type} called with ${a.length} argument(s).`);return Array.from({length:e},(s,n)=>h(t,a?.[n]))};if(Object.setPrototypeOf(r,M),r.elementType=t,!Number.isInteger(e)||e<0)throw new Error(`Cannot create disarray schema with invalid element count: ${e}.`);return r.elementCount=e,r}var M={[o]:!0,type:"disarray",toString(){return`disarrayOf(${this.elementType}, ${this.elementCount})`}};function j(t){let e=r=>Object.fromEntries(Object.entries(t).map(([a,s])=>[a,h(s,r?.[a])]));return Object.setPrototypeOf(e,F),e.propTypes=t,e}var F={[o]:!0,type:"unstruct",$name(t){return w(this,t),this},toString(){return`unstruct:${W(this)??"<unnamed>"}`}};function c(t,e){if(t===e)return!0;if(t.type!==e.type)return!1;if(f(t)&&f(e)||T(t)&&T(e)){let r=t.propTypes,a=e.propTypes,s=Object.keys(r),n=Object.keys(a);if(s.length!==n.length)return!1;for(let i=0;i<s.length;i++){let S=s[i],v=n[i];if(S!==v||!S||!v||!c(r[S],a[v]))return!1}return!0}if(y(t)&&y(e)||g(t)&&g(e))return t.elementCount===e.elementCount&&c(t.elementType,e.elementType);if(m(t)&&m(e))return t.addressSpace===e.addressSpace&&t.access===e.access&&c(t.inner,e.inner);if(d(t)&&d(e))return c(t.inner,e.inner);if(x(t)&&x(e)||A(t)&&A(e)){if(!c(t.inner,e.inner)||t.attribs.length!==e.attribs.length)return!1;let r=n=>{let i=n;return`${i.type}(${(i.params??[]).join(",")})`},a=t.attribs.map(r),s=e.attribs.map(r);for(let n=0;n<a.length;n++)if(a[n]!==s[n])return!1}return!0}function p(t,e){let r=t.prototype,a=O[e][o].jsImpl;r[e]=function(s){return a(this,s)}}p(l,"add");p(l,"sub");p(l,"mul");p(l,"div");p(D,"add");p(D,"sub");p(D,"mul");export{E as a,V as b,U as c,$ as d,C as e,L as f,k as g,j as h,c as i};
|
|
2
|
+
//# sourceMappingURL=chunk-6U5HPHCJ.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{B as P,D as I,M as N,P as _,Q as U,U as T,V as H,a as L,aa as y,c as D,f as W,ga as K,j as g,k as h,l as k,lc as w,m as M,n as j,oc as q,pc as J,q as C,rc as z,va as G}from"./chunk-
|
|
1
|
+
import{B as P,D as I,M as N,P as _,Q as U,U as T,V as H,a as L,aa as y,c as D,f as W,ga as K,j as g,k as h,l as k,lc as w,m as M,n as j,oc as q,pc as J,q as C,rc as z,va as G}from"./chunk-CRZWTZM2.js";import{FuncParameterType as ee}from"tinyest";function S(n,e){for(let[r,t]of Object.entries(e))n[r]=t,t&&(typeof t=="object"||typeof t=="function")&&g(t)===void 0&&h(t,r)}function Se(n,e,r){let t=[...n.matchAll(/:\s*(?<arg>.*?)\s*[,)]/g)].map(s=>s?s[1]:void 0);r(Object.fromEntries(e.flatMap((s,i)=>{let o=t?t[i]:void 0;return I(s)&&o!==void 0?[[o,s]]:[]})))}function $e(n,e,r){let t=n.match(/->\s(?<output>[\w\d_]+)\s{/),s=t?t[1]?.trim():void 0;I(e)&&s&&!/\s/g.test(s)&&r({[s]:e})}function ue(n){return new RegExp(`(?<![\\w\\$_.])${n.replaceAll(".","\\.").replaceAll("$","\\$")}(?![\\w\\$_])`,"g")}function R(n,e,r){return Object.entries(e).reduce((t,[s,i])=>{let o=ue(s);if(r&&s!=="Out"&&s!=="In"&&!o.test(r)&&console.warn(`The external '${s}' wasn't used in the resolved template.`),G(i)||U(i)||M(i))return t.replaceAll(o,n.resolve(i).value);if(i!==null&&typeof i=="object"){let a=[...r.matchAll(new RegExp(`${s.replaceAll(".","\\.").replaceAll("$","\\$")}\\.(?<prop>.*?)(?![\\w\\$_])`,"g"))].map(d=>d[1]);return[...new Set(a)].reduce((d,f)=>f&&f in i?R(n,{[`${s}.${f}`]:i[f]},d):d,t)}return console.warn(`During resolution, the external '${s}' has been omitted. Only primitives, TGPU resources and plain JS objects can be used as externals.`),t},r)}function Y(n){let{strippedCode:e,argRange:r}=pe(n),t=new $(e);t.consume("(");let s=[];for(;!t.isAt(")");){let o=[];for(;t.isAt("@");)t.parseUntil(Q,X),t.consume(")"),o.push(t.lastParsed);t.parseUntil(ce);let a=t.lastParsed,l;t.isAt(":")&&(t.consume(":"),t.parseUntil(de,fe),l=t.lastParsed),s.push({identifier:a,attributes:o,type:l}),t.isAt(",")&&t.consume(",")}t.consume(")");let i;if(t.isAt("->")){t.consume("->");let o=[];for(;t.isAt("@");)t.parseUntil(Q,X),t.consume(")"),o.push(t.lastParsed);i={type:t.str.slice(t.pos),attributes:o}}return{args:s,ret:i,range:{begin:r[0],end:r[1]}}}function pe(n){let e=new $(n),r="",t;for(;!e.isFinished();){if(e.isAt(le)){e.advanceBy(1);continue}if(e.isAt("//")){e.consume("//"),e.parseUntil(Z),e.advanceBy(1);continue}if(e.isAt("/*")){e.parseUntil(me,ge),e.consume("*/");continue}if(e.isAt("{"))return{strippedCode:r,argRange:[t,e.pos]};e.isAt("(")&&t===void 0&&(t=e.pos),t!==void 0&&(r+=e.str[e.pos]),e.advanceBy(1)}throw new Error("Invalid wgsl code!")}var $=class{constructor(e){this.str=e;this.#e=0}#t;#e;get pos(){return this.#e}get lastParsed(){if(this.#t===void 0)throw new Error("Parse was not called yet!");return this.str.slice(this.#t,this.pos)}isFinished(){return this.#e>=this.str.length}isAt(e){if(typeof e=="string"){for(let r=0;r<e.length;r++)if(this.str[this.#e+r]!==e[r])return!1;return!0}for(let r of e)if(this.isAt(r))return!0;return!1}parseUntil(e,r){this.#t=this.#e;let t=0;for(;this.#e<this.str.length;){if(r&&this.isAt(r[0])&&(t+=1),r&&this.isAt(r[1])&&(t-=1),t===0&&this.isAt(e))return this.#e;this.#e+=1}throw new Error("Reached the end of the string without finding a match!")}advanceBy(e){this.#e+=e}consume(e){if(!this.isAt(e))throw new Error(`Expected '${e}' at position ${this.#e}, but found '${this.str.slice(this.#e,this.#e+e.length)}'`);this.advanceBy(e.length)}},Z=new Set([`
|
|
2
2
|
`,"\v","\f","\r","\x85","\u2028","\u2029"]),le=new Set([...Z," "," ","\u200E","\u200F"]),Q=new Set([")"]),ce=new Set([":",",",")"]),de=new Set([",",")"]),me=new Set(["*/"]),X=["(",")"],fe=["<",">"],ge=["/*","*/"];function ne(n,e=""){let r=[],t={applyExternals(i){r.push(i)},resolve(i,o,a){let l={};for(let u of r)S(l,u);let d=i.getUniqueName(this);if(typeof n=="string"){if(!a)throw new Error("Explicit return type is required for string implementation");let u=R(i,l,n),m="",x="";if(e!==""){let p=I(o[0])?`(in: ${i.resolve(o[0]).value})`:"()",c=P(a)?J(a):"",b=a!==C?I(a)?`-> ${i.resolve(a).value}`:`-> ${c!==""?c:"@location(0)"} ${i.resolve(a).value}`:"";m=`${p} ${b} `,x=u}else{let p=Y(u);if(p.args.length!==o.length)throw new Error(`WGSL implementation has ${p.args.length} arguments, while the shell has ${o.length} arguments.`);let c=p.args.map((E,ae)=>`${E.identifier}: ${te(i,`parameter ${E.identifier}`,E.type,o[ae])}`).join(", "),b=a===C?"":`-> ${te(i,"return type",p.ret?.type,a)}`;m=`(${c}) ${b}`,x=u.slice(p.range.end)}return i.addDeclaration(`${e}fn ${d}${m}${x}`),y(d,a)}let f=j(n);if(f?.externals){let u=Object.fromEntries(Object.entries(f.externals).filter(([m])=>!(m in l)));S(l,u)}let O=f?.ast;if(!O)throw new Error("Missing metadata for tgpu.fn function body (either missing 'use gpu' directive, or misconfigured `unplugin-typegpu`)");let B=O.externalNames.filter(u=>!(u in l));if(B.length>0)throw new K(g(this),B);let A=O.params[1];A&&A.type==="i"&&e!==""&&S(l,{[A.name]:_(a)});let V=[],v=[];for(let[u,m]of o.entries()){let x=O.params[u];switch(x?.type){case ee.identifier:{let p=x.name,c=y(i.makeNameValid(p),m);V.push(c),c.value!==p&&v.push([p,c]);break}case ee.destructuredObject:{V.push(y(`_arg_${u}`,m)),v.push(...x.props.map(({name:p,alias:c})=>[c,y(`_arg_${u}.${p}`,o[u].propTypes[p])]));break}case void 0:V.push(y(`_arg_${u}`,m))}}let{head:ie,body:se,returnType:oe}=i.fnToWgsl({args:V,argAliases:Object.fromEntries(v),returnType:a,body:O.body,externalMap:l});return i.addDeclaration(`${e}fn ${d}${i.resolve(ie).value}${i.resolve(se).value}`),y(d,oe)}},s=g(n);return s!==void 0&&h(t,s),t}function te(n,e,r,t){let s=n.resolve(t).value.replace(/\s/g,"");if(!r)return s;let i=r.replace(/\s/g,"");if(i!==s)throw new Error(`Type mismatch between TGPU shell and WGSL code string: ${e}, JS type "${s}", WGSL type "${i}".`);return r}function xe(n,e={}){let r=0,t=new Set;return Object.fromEntries(Object.entries(n??{}).map(([s,i])=>{let o=T(i);if(o!==void 0){if(t.has(o))throw new Error("Duplicate custom location attributes found");t.add(o)}return[s,i]}).map(([s,i])=>{if(q(i))return[s,i];if(T(i)!==void 0)return[s,i];if(e[s])return[s,w(e[s],i)];for(;t.has(r);)r++;return[s,w(r++,i)]}))}function F(n,e={}){return H(n)?N(n)||T(n)!==void 0?n:w(0,n):z(xe(n,e))}function re(n,...e){return ye(n)?he(n,...e):n}function ye(n){return Array.isArray(n)&&"raw"in n&&Array.isArray(n.raw)&&n.raw.every(e=>typeof e=="string")}function he(n,...e){return n.slice(1).reduce((r,t,s)=>`${r}${e[s]}${t}`,n[0])}function Qe(n){if(Object.keys(n.out).length===0)throw new Error("A vertexFn output cannot be empty since it must include the 'position' builtin.");let e={in:n.in,out:n.out,argTypes:n.in&&Object.keys(n.in).length!==0?[F(n.in)]:[],isEntry:!0},r=(t,...s)=>Ie(e,re(t,...s));return Object.assign(Object.assign(r,e),{does:r})}function Ie(n,e){let r=ne(e,"@vertex "),t=n.argTypes[0];return{shell:n,$uses(i){return r.applyExternals(i),this},[L]:!0,[D]:r,$name(i){return h(r,i),k(t)&&t.$name(`${i}_Input`),this},[W](i){let o=F(n.out,i.varyingLocations).$name(`${g(this)??""}_Output`);return typeof e=="string"&&(t&&r.applyExternals({In:t}),r.applyExternals({Out:o})),r.resolve(i,n.argTypes,o)},toString(){return`vertexFn:${g(r)??"<unnamed>"}`}}}export{S as a,Se as b,$e as c,R as d,ne as e,F as f,re as g,Qe as h};
|
|
3
|
-
//# sourceMappingURL=chunk-
|
|
3
|
+
//# sourceMappingURL=chunk-CGQB3SER.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var m="0.8.
|
|
1
|
+
var m="0.8.2";var o=Symbol(`typegpu:${m}:$internal`),kn=Symbol(`typegpu:${m}:$gpuValueOf`),me=Symbol(`typegpu:${m}:$getNameForward`),He=Symbol(`typegpu:${m}:$providing`),qe=Symbol(`typegpu:${m}:$ownSnippet`),oe=Symbol(`typegpu:${m}:$resolve`),Je=Symbol(`typegpu:${m}:$repr`),Fn=Symbol(`typegpu:${m}:$gpuRepr`),Pn=Symbol(`typegpu:${m}:$reprPartial`),Bn=Symbol(`typegpu:${m}:$memIdent`),En=Symbol(`typegpu:${m}:$invalidStorageSchema`),Un=Symbol(`typegpu:${m}:$validUniformSchema`),Nn=Symbol(`typegpu:${m}:$validVertexSchema`),Rn=Symbol(`typegpu:${m}:$invalidSchemaReason`);function u(e){return!!e?.[o]}var Mn={[o]:!0,type:"void",toString(){return"void"}},Wt=["bool","f32","f16","i32","u32","u16","vec2f","vec2h","vec2i","vec2u","vec2<bool>","vec3f","vec3h","vec3i","vec3u","vec3<bool>","vec4f","vec4h","vec4i","vec4u","vec4<bool>","mat2x2f","mat3x3f","mat4x4f","struct","array","ptr","atomic","decorated","abstractInt","abstractFloat","void","texture_1d","texture_storage_1d","texture_2d","texture_storage_2d","texture_multisampled_2d","texture_depth_2d","texture_depth_multisampled_2d","texture_2d_array","texture_storage_2d_array","texture_depth_2d_array","texture_cube","texture_depth_cube","texture_cube_array","texture_depth_cube_array","texture_3d","texture_storage_3d","texture_external","sampler","sampler_comparison"];function Ee(e){let t=e;return u(t)&&typeof t.kind=="string"&&t.kind.startsWith("vec")}function Ct(e){let t=e;return u(t)&&typeof t.type=="string"&&t.type.startsWith("vec2")}function Ot(e){let t=e;return u(t)&&typeof t.type=="string"&&t.type.startsWith("vec3")}function Mt(e){let t=e;return u(t)&&typeof t.type=="string"&&t.type.startsWith("vec4")}function ae(e){return Ct(e)||Ot(e)||Mt(e)}function Xe(e){let t=e;return u(t)&&typeof t.kind?.startsWith=="function"&&t.kind.startsWith("mat")}function Lt(e){return u(e)&&e?.type==="mat2x2f"}function jt(e){return u(e)&&e?.type==="mat3x3f"}function Gt(e){return u(e)&&e?.type==="mat4x4f"}function Ue(e){return Lt(e)||jt(e)||Gt(e)}function Ln(e){return Ee(e)&&["vec2f","vec3f","vec4f"].includes(e.kind)}function C(e){return u(e)&&Wt.includes(e?.type)}function fe(e){return u(e)&&e?.type==="array"}function we(e){return u(e)&&e?.type==="struct"}function jn(e){return u(e)&&e?.type==="ptr"}function Gn(e){return u(e)&&e?.type==="atomic"}function Te(e){return u(e)&&e?.type==="@align"}function ge(e){return u(e)&&e?.type==="@size"}function Ze(e){return u(e)&&e?.type==="@location"}function Kn(e){return u(e)&&e?.type==="@interpolate"}function Ne(e){return u(e)&&e?.type==="@builtin"}function _(e){return u(e)&&e?.type==="decorated"}function Yn(e){return u(e)&&e.type==="void"}function Qe(e){let t=e?.type;return u(e)&&(t==="abstractInt"||t==="abstractFloat"||t==="f32"||t==="f16"||t==="i32"||t==="u32")}function Hn(e){let t=e?.type;return u(e)&&(t==="f16"||t==="vec2h"||t==="vec3h"||t==="vec4h")}var A=process.env.NODE_ENV==="development",ve=process.env.NODE_ENV==="test";Object.assign(globalThis,{__TYPEGPU_AUTONAME__:(e,t)=>(Yt(e)&&u(e)&&!D(e)&&e.$name(t),e)});var ue=globalThis,Zn=(A||ve)&&{get enabled(){return!!ue.__TYPEGPU_MEASURE_PERF__},record(e,t){let n=ue.__TYPEGPU_PERF_RECORDS__??=new Map,r=n.get(e);r||(r=[],n.set(e,r)),r.push(t)}}||void 0;function et(e){return!!e?.[me]}function D(e){return et(e)?D(e[me]):nt(e)?.name}function k(e,t){et(e)&&k(e[me],t),Ht(e,{name:t})}function Yt(e){return!!e?.$name}function tt(e){return!!nt(e)?.ast}function nt(e){return ue.__TYPEGPU_META__.get(e)}function Ht(e,t){ue.__TYPEGPU_META__??=new WeakMap;let n=ue.__TYPEGPU_META__;n.set(e,{...n.get(e),...t})}var rt=["uint8","uint8x2","uint8x4","sint8","sint8x2","sint8x4","unorm8","unorm8x2","unorm8x4","snorm8","snorm8x2","snorm8x4","uint16","uint16x2","uint16x4","sint16","sint16x2","sint16x4","unorm16","unorm16x2","unorm16x4","snorm16","snorm16x2","snorm16x4","float16","float16x2","float16x4","float32","float32x2","float32x3","float32x4","uint32","uint32x2","uint32x3","uint32x4","sint32","sint32x2","sint32x3","sint32x4","unorm10-10-10-2","unorm8x4-bgra"],er={f32:"float32",vec2f:"float32x2",vec3f:"float32x3",vec4f:"float32x4",f16:"float16",vec2h:"float16x2",vec4h:"float16x4",u32:"uint32",vec2u:"uint32x2",vec3u:"uint32x3",vec4u:"uint32x4",i32:"sint32",vec2i:"sint32x2",vec3i:"sint32x3",vec4i:"sint32x4"};function S(e){return e.type==="decorated"||e.type==="loose-decorated"?e.inner:e}var qt=["unstruct","disarray","loose-decorated",...rt];function Re(e){return u(e)&&qt.includes(e?.type)}function ce(e){return u(e)&&e?.type==="disarray"}function ye(e){return u(e)&&e?.type==="unstruct"}function I(e){return u(e)&&e?.type==="loose-decorated"}function O(e){return e.attribs?.find(Te)?.params[0]}function at(e){return e.attribs?.find(ge)?.params[0]}function or(e){return e.attribs?.find(Ze)?.params[0]}function ar(e){return C(e)||Re(e)}var ut={type:"unknown",toString(){return"unknown"}},it=class{constructor(t,n,r){this.name=t;this.lhs=n;this.operator=r}},st=class{constructor(t){this.matrix=t}},ot=class{constructor(t){this.op=t;k(this,"consoleLog")}[o]=!0};var We="Invariant failed";function Ve(e,t){if(e)return;if(!A)throw new Error(We);let n=typeof t=="function"?t():t,r=n?`${We}: ${n}`:We;throw new Error(r)}var ct=class e extends Error{constructor(n,r){let i=r.map(s=>`- ${tt(s)?`fn*:${D(s)}`:s}`);i.length>20&&(i=[...i.slice(0,11),"...",...i.slice(-10)]);super(`Resolution of the following tree failed:
|
|
2
2
|
${i.join(`
|
|
3
3
|
`)}: ${n&&typeof n=="object"&&"message"in n?n.message:n}`);this.cause=n;this.trace=r;Object.setPrototypeOf(this,e.prototype)}appendToTrace(n){let r=[n,...this.trace];return new e(this.cause,r)}},yt=class e extends Error{constructor(n,r){let i=r.map(s=>`- ${s}`);i.length>20&&(i=[...i.slice(0,11),"...",...i.slice(-10)]);super(`Execution of the following tree failed:
|
|
4
4
|
${i.join(`
|
|
@@ -7,4 +7,4 @@ ${e.map(s=>` ${s.value}: ${s.dataType.type}`).join(`,
|
|
|
7
7
|
`)}
|
|
8
8
|
] to ${i.targetType.type} are supported, but not recommended.
|
|
9
9
|
Consider using explicit conversions instead.`),e.map((s,p)=>{let y=i.actions[p];return Ve(y,"Action should not be undefined"),en(s,y,i.targetType)})}function Dt(e,t,n=!0){if(t===e.dataType)return x(e.value,t);if(e.dataType.type==="unknown")return x(d`${x(e.value,t)}`,t);let r=At([e],[t],n);if(!r)throw new be(`Cannot convert value of type '${e.dataType.type}' to type '${t.type}'`);return r[0]}function qr(e,t){return Object.keys(e.propTypes).map(r=>{let i=t[r];if(!i)throw new Error(`Missing property ${r}`);let s=e.propTypes[r];return At([i],[s])?.[0]??i})}function tn(e){return typeof e!="string"&&Vt(e)===void 0}function $t(e,t,n,r="keep"){let i=((...s)=>Oe()?t(...s):e(...s));return k(i,n),i.toString=()=>n,Object.defineProperty(i,o,{value:{jsImpl:e,gpuImpl:t,argConversionHint:r}}),i}var Ae=class extends Error{constructor(t){super(t),this.name=this.constructor.name}};function P(e){let t=(...r)=>{let{argTypes:i,returnType:s}=typeof e.signature=="function"?e.signature(...r.map(l=>l.dataType)):e.signature,y=r.map((l,g)=>Dt(l,i[g],!e.ignoreImplicitCastWarning));if(y.every(l=>tn(l.value))&&typeof e.normalImpl=="function")try{return x(e.normalImpl(...y.map(l=>l.value)),s)}catch(l){if(!(l instanceof Ae))throw l}return x(e.codegenImpl(...y),s)},n=((...r)=>{if(Oe())return t(...r);if(typeof e.normalImpl=="string")throw new Ae(e.normalImpl);return e.normalImpl(...r)});return k(n,e.name),n.toString=()=>e.name,Object.defineProperty(n,o,{value:{jsImpl:e.normalImpl,gpuImpl:t,argConversionHint:"keep"}}),n}var ai={[o]:!0,type:"abstractInt",toString(){return"abstractInt"}},ui={[o]:!0,type:"abstractFloat",toString(){return"abstractFloat"}},nn=P({name:"bool",signature:e=>({argTypes:e?[e]:[],returnType:b}),normalImpl(e){return e===void 0?!1:typeof e=="boolean"?e:!!e},codegenImpl:e=>e.dataType.type==="bool"?d`${e}`:d`bool(${e})`}),b=Object.assign(nn,{type:"bool"}),rn=P({name:"u32",signature:e=>({argTypes:e?[e]:[],returnType:c}),normalImpl(e){return e===void 0?0:typeof e=="boolean"?e?1:0:(e&4294967295)>>>0},codegenImpl:e=>e.dataType.type==="u32"?d`${e}`:d`u32(${e})`}),c=Object.assign(rn,{type:"u32"}),sn=P({name:"i32",signature:e=>({argTypes:e?[e]:[],returnType:T}),normalImpl(e){return e===void 0?0:typeof e=="boolean"?e?1:0:e|0},codegenImpl:e=>e.dataType.type==="i32"?d`${e}`:d`i32(${e})`}),ci={[o]:!0,type:"u16"},T=Object.assign(sn,{type:"i32"}),on=P({name:"f32",signature:e=>({argTypes:e?[e]:[],returnType:h}),normalImpl(e){return e===void 0?0:typeof e=="boolean"?e?1:0:Math.fround(e)},codegenImpl:e=>e.dataType.type==="f32"?d`${e}`:d`f32(${e})`}),h=Object.assign(on,{type:"f32"}),kt=new ArrayBuffer(4),an=new Float32Array(kt),un=new Uint32Array(kt);function cn(e){an[0]=e;let t=un[0],n=t>>>31&1,r=t>>>23&255,i=t&8388607;return r===255?n<<15|31744|(i?512:0):(r=r-127+15,r<=0?r<-10?n<<15:(i=(i|8388608)>>1-r,i=i+4096>>13,n<<15|i):r>=31||(i=i+4096,i&8388608&&(i=0,++r,r>=31))?n<<15|31744:n<<15|r<<10|i>>13)}function yn(e){let t=e&32768?-1:1,n=e>>10&31,r=e&1023;return n===0?r?t*r*2**-24:t*0:n===31?r?Number.NaN:t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t*(1+r/1024)*2**(n-15)}function ln(e){return yn(cn(e))}var pn=P({name:"f16",signature:e=>({argTypes:e?[e]:[],returnType:$}),normalImpl(e){return e===void 0?0:typeof e=="boolean"?e?1:0:ln(e)},codegenImpl:e=>e.dataType.type==="f16"?d`${e}`:d`f16(${e})`}),$=Object.assign(pn,{type:"f16"});var le=class extends Array{castElement(){return this[o].elementSchema[o].jsImpl}[oe](){let t=this[o].elementSchema;return this.every(n=>!n)?x(`${this.kind}()`,t):this.every(n=>this[0]===n)?x(`${this.kind}(${this[0]})`,t):x(`${this.kind}(${this.join(", ")})`,t)}toString(){return this[oe]().value}get xx(){return new this._Vec2(this[0],this[0])}get xy(){return new this._Vec2(this[0],this[1])}get xz(){return new this._Vec2(this[0],this[2])}get xw(){return new this._Vec2(this[0],this[3])}get yx(){return new this._Vec2(this[1],this[0])}get yy(){return new this._Vec2(this[1],this[1])}get yz(){return new this._Vec2(this[1],this[2])}get yw(){return new this._Vec2(this[1],this[3])}get zx(){return new this._Vec2(this[2],this[0])}get zy(){return new this._Vec2(this[2],this[1])}get zz(){return new this._Vec2(this[2],this[2])}get zw(){return new this._Vec2(this[2],this[3])}get wx(){return new this._Vec2(this[3],this[0])}get wy(){return new this._Vec2(this[3],this[1])}get wz(){return new this._Vec2(this[3],this[2])}get ww(){return new this._Vec2(this[3],this[3])}get xxx(){return new this._Vec3(this[0],this[0],this[0])}get xxy(){return new this._Vec3(this[0],this[0],this[1])}get xxz(){return new this._Vec3(this[0],this[0],this[2])}get xxw(){return new this._Vec3(this[0],this[0],this[3])}get xyx(){return new this._Vec3(this[0],this[1],this[0])}get xyy(){return new this._Vec3(this[0],this[1],this[1])}get xyz(){return new this._Vec3(this[0],this[1],this[2])}get xyw(){return new this._Vec3(this[0],this[1],this[3])}get xzx(){return new this._Vec3(this[0],this[2],this[0])}get xzy(){return new this._Vec3(this[0],this[2],this[1])}get xzz(){return new this._Vec3(this[0],this[2],this[2])}get xzw(){return new this._Vec3(this[0],this[2],this[3])}get xwx(){return new this._Vec3(this[0],this[3],this[0])}get xwy(){return new this._Vec3(this[0],this[3],this[1])}get xwz(){return new this._Vec3(this[0],this[3],this[2])}get xww(){return new this._Vec3(this[0],this[3],this[3])}get yxx(){return new this._Vec3(this[1],this[0],this[0])}get yxy(){return new this._Vec3(this[1],this[0],this[1])}get yxz(){return new this._Vec3(this[1],this[0],this[2])}get yxw(){return new this._Vec3(this[1],this[0],this[3])}get yyx(){return new this._Vec3(this[1],this[1],this[0])}get yyy(){return new this._Vec3(this[1],this[1],this[1])}get yyz(){return new this._Vec3(this[1],this[1],this[2])}get yyw(){return new this._Vec3(this[1],this[1],this[3])}get yzx(){return new this._Vec3(this[1],this[2],this[0])}get yzy(){return new this._Vec3(this[1],this[2],this[1])}get yzz(){return new this._Vec3(this[1],this[2],this[2])}get yzw(){return new this._Vec3(this[1],this[2],this[3])}get ywx(){return new this._Vec3(this[1],this[3],this[0])}get ywy(){return new this._Vec3(this[1],this[3],this[1])}get ywz(){return new this._Vec3(this[1],this[3],this[2])}get yww(){return new this._Vec3(this[1],this[3],this[3])}get zxx(){return new this._Vec3(this[2],this[0],this[0])}get zxy(){return new this._Vec3(this[2],this[0],this[1])}get zxz(){return new this._Vec3(this[2],this[0],this[2])}get zxw(){return new this._Vec3(this[2],this[0],this[3])}get zyx(){return new this._Vec3(this[2],this[1],this[0])}get zyy(){return new this._Vec3(this[2],this[1],this[1])}get zyz(){return new this._Vec3(this[2],this[1],this[2])}get zyw(){return new this._Vec3(this[2],this[1],this[3])}get zzx(){return new this._Vec3(this[2],this[2],this[0])}get zzy(){return new this._Vec3(this[2],this[2],this[1])}get zzz(){return new this._Vec3(this[2],this[2],this[2])}get zzw(){return new this._Vec3(this[2],this[2],this[3])}get zwx(){return new this._Vec3(this[2],this[3],this[0])}get zwy(){return new this._Vec3(this[2],this[3],this[1])}get zwz(){return new this._Vec3(this[2],this[3],this[2])}get zww(){return new this._Vec3(this[2],this[3],this[3])}get wxx(){return new this._Vec3(this[3],this[0],this[0])}get wxy(){return new this._Vec3(this[3],this[0],this[1])}get wxz(){return new this._Vec3(this[3],this[0],this[2])}get wxw(){return new this._Vec3(this[3],this[0],this[3])}get wyx(){return new this._Vec3(this[3],this[1],this[0])}get wyy(){return new this._Vec3(this[3],this[1],this[1])}get wyz(){return new this._Vec3(this[3],this[1],this[2])}get wyw(){return new this._Vec3(this[3],this[1],this[3])}get wzx(){return new this._Vec3(this[3],this[2],this[0])}get wzy(){return new this._Vec3(this[3],this[2],this[1])}get wzz(){return new this._Vec3(this[3],this[2],this[2])}get wzw(){return new this._Vec3(this[3],this[2],this[3])}get wwx(){return new this._Vec3(this[3],this[3],this[0])}get wwy(){return new this._Vec3(this[3],this[3],this[1])}get wwz(){return new this._Vec3(this[3],this[3],this[2])}get www(){return new this._Vec3(this[3],this[3],this[3])}get xxxx(){return new this._Vec4(this[0],this[0],this[0],this[0])}get xxxy(){return new this._Vec4(this[0],this[0],this[0],this[1])}get xxxz(){return new this._Vec4(this[0],this[0],this[0],this[2])}get xxxw(){return new this._Vec4(this[0],this[0],this[0],this[3])}get xxyx(){return new this._Vec4(this[0],this[0],this[1],this[0])}get xxyy(){return new this._Vec4(this[0],this[0],this[1],this[1])}get xxyz(){return new this._Vec4(this[0],this[0],this[1],this[2])}get xxyw(){return new this._Vec4(this[0],this[0],this[1],this[3])}get xxzx(){return new this._Vec4(this[0],this[0],this[2],this[0])}get xxzy(){return new this._Vec4(this[0],this[0],this[2],this[1])}get xxzz(){return new this._Vec4(this[0],this[0],this[2],this[2])}get xxzw(){return new this._Vec4(this[0],this[0],this[2],this[3])}get xxwx(){return new this._Vec4(this[0],this[0],this[3],this[0])}get xxwy(){return new this._Vec4(this[0],this[0],this[3],this[1])}get xxwz(){return new this._Vec4(this[0],this[0],this[3],this[2])}get xxww(){return new this._Vec4(this[0],this[0],this[3],this[3])}get xyxx(){return new this._Vec4(this[0],this[1],this[0],this[0])}get xyxy(){return new this._Vec4(this[0],this[1],this[0],this[1])}get xyxz(){return new this._Vec4(this[0],this[1],this[0],this[2])}get xyxw(){return new this._Vec4(this[0],this[1],this[0],this[3])}get xyyx(){return new this._Vec4(this[0],this[1],this[1],this[0])}get xyyy(){return new this._Vec4(this[0],this[1],this[1],this[1])}get xyyz(){return new this._Vec4(this[0],this[1],this[1],this[2])}get xyyw(){return new this._Vec4(this[0],this[1],this[1],this[3])}get xyzx(){return new this._Vec4(this[0],this[1],this[2],this[0])}get xyzy(){return new this._Vec4(this[0],this[1],this[2],this[1])}get xyzz(){return new this._Vec4(this[0],this[1],this[2],this[2])}get xyzw(){return new this._Vec4(this[0],this[1],this[2],this[3])}get xywx(){return new this._Vec4(this[0],this[1],this[3],this[0])}get xywy(){return new this._Vec4(this[0],this[1],this[3],this[1])}get xywz(){return new this._Vec4(this[0],this[1],this[3],this[2])}get xyww(){return new this._Vec4(this[0],this[1],this[3],this[3])}get xzxx(){return new this._Vec4(this[0],this[2],this[0],this[0])}get xzxy(){return new this._Vec4(this[0],this[2],this[0],this[1])}get xzxz(){return new this._Vec4(this[0],this[2],this[0],this[2])}get xzxw(){return new this._Vec4(this[0],this[2],this[0],this[3])}get xzyx(){return new this._Vec4(this[0],this[2],this[1],this[0])}get xzyy(){return new this._Vec4(this[0],this[2],this[1],this[1])}get xzyz(){return new this._Vec4(this[0],this[2],this[1],this[2])}get xzyw(){return new this._Vec4(this[0],this[2],this[1],this[3])}get xzzx(){return new this._Vec4(this[0],this[2],this[2],this[0])}get xzzy(){return new this._Vec4(this[0],this[2],this[2],this[1])}get xzzz(){return new this._Vec4(this[0],this[2],this[2],this[2])}get xzzw(){return new this._Vec4(this[0],this[2],this[2],this[3])}get xzwx(){return new this._Vec4(this[0],this[2],this[3],this[0])}get xzwy(){return new this._Vec4(this[0],this[2],this[3],this[1])}get xzwz(){return new this._Vec4(this[0],this[2],this[3],this[2])}get xzww(){return new this._Vec4(this[0],this[2],this[3],this[3])}get xwxx(){return new this._Vec4(this[0],this[3],this[0],this[0])}get xwxy(){return new this._Vec4(this[0],this[3],this[0],this[1])}get xwxz(){return new this._Vec4(this[0],this[3],this[0],this[2])}get xwxw(){return new this._Vec4(this[0],this[3],this[0],this[3])}get xwyx(){return new this._Vec4(this[0],this[3],this[1],this[0])}get xwyy(){return new this._Vec4(this[0],this[3],this[1],this[1])}get xwyz(){return new this._Vec4(this[0],this[3],this[1],this[2])}get xwyw(){return new this._Vec4(this[0],this[3],this[1],this[3])}get xwzx(){return new this._Vec4(this[0],this[3],this[2],this[0])}get xwzy(){return new this._Vec4(this[0],this[3],this[2],this[1])}get xwzz(){return new this._Vec4(this[0],this[3],this[2],this[2])}get xwzw(){return new this._Vec4(this[0],this[3],this[2],this[3])}get xwwx(){return new this._Vec4(this[0],this[3],this[3],this[0])}get xwwy(){return new this._Vec4(this[0],this[3],this[3],this[1])}get xwwz(){return new this._Vec4(this[0],this[3],this[3],this[2])}get xwww(){return new this._Vec4(this[0],this[3],this[3],this[3])}get yxxx(){return new this._Vec4(this[1],this[0],this[0],this[0])}get yxxy(){return new this._Vec4(this[1],this[0],this[0],this[1])}get yxxz(){return new this._Vec4(this[1],this[0],this[0],this[2])}get yxxw(){return new this._Vec4(this[1],this[0],this[0],this[3])}get yxyx(){return new this._Vec4(this[1],this[0],this[1],this[0])}get yxyy(){return new this._Vec4(this[1],this[0],this[1],this[1])}get yxyz(){return new this._Vec4(this[1],this[0],this[1],this[2])}get yxyw(){return new this._Vec4(this[1],this[0],this[1],this[3])}get yxzx(){return new this._Vec4(this[1],this[0],this[2],this[0])}get yxzy(){return new this._Vec4(this[1],this[0],this[2],this[1])}get yxzz(){return new this._Vec4(this[1],this[0],this[2],this[2])}get yxzw(){return new this._Vec4(this[1],this[0],this[2],this[3])}get yxwx(){return new this._Vec4(this[1],this[0],this[3],this[0])}get yxwy(){return new this._Vec4(this[1],this[0],this[3],this[1])}get yxwz(){return new this._Vec4(this[1],this[0],this[3],this[2])}get yxww(){return new this._Vec4(this[1],this[0],this[3],this[3])}get yyxx(){return new this._Vec4(this[1],this[1],this[0],this[0])}get yyxy(){return new this._Vec4(this[1],this[1],this[0],this[1])}get yyxz(){return new this._Vec4(this[1],this[1],this[0],this[2])}get yyxw(){return new this._Vec4(this[1],this[1],this[0],this[3])}get yyyx(){return new this._Vec4(this[1],this[1],this[1],this[0])}get yyyy(){return new this._Vec4(this[1],this[1],this[1],this[1])}get yyyz(){return new this._Vec4(this[1],this[1],this[1],this[2])}get yyyw(){return new this._Vec4(this[1],this[1],this[1],this[3])}get yyzx(){return new this._Vec4(this[1],this[1],this[2],this[0])}get yyzy(){return new this._Vec4(this[1],this[1],this[2],this[1])}get yyzz(){return new this._Vec4(this[1],this[1],this[2],this[2])}get yyzw(){return new this._Vec4(this[1],this[1],this[2],this[3])}get yywx(){return new this._Vec4(this[1],this[1],this[3],this[0])}get yywy(){return new this._Vec4(this[1],this[1],this[3],this[1])}get yywz(){return new this._Vec4(this[1],this[1],this[3],this[2])}get yyww(){return new this._Vec4(this[1],this[1],this[3],this[3])}get yzxx(){return new this._Vec4(this[1],this[2],this[0],this[0])}get yzxy(){return new this._Vec4(this[1],this[2],this[0],this[1])}get yzxz(){return new this._Vec4(this[1],this[2],this[0],this[2])}get yzxw(){return new this._Vec4(this[1],this[2],this[0],this[3])}get yzyx(){return new this._Vec4(this[1],this[2],this[1],this[0])}get yzyy(){return new this._Vec4(this[1],this[2],this[1],this[1])}get yzyz(){return new this._Vec4(this[1],this[2],this[1],this[2])}get yzyw(){return new this._Vec4(this[1],this[2],this[1],this[3])}get yzzx(){return new this._Vec4(this[1],this[2],this[2],this[0])}get yzzy(){return new this._Vec4(this[1],this[2],this[2],this[1])}get yzzz(){return new this._Vec4(this[1],this[2],this[2],this[2])}get yzzw(){return new this._Vec4(this[1],this[2],this[2],this[3])}get yzwx(){return new this._Vec4(this[1],this[2],this[3],this[0])}get yzwy(){return new this._Vec4(this[1],this[2],this[3],this[1])}get yzwz(){return new this._Vec4(this[1],this[2],this[3],this[2])}get yzww(){return new this._Vec4(this[1],this[2],this[3],this[3])}get ywxx(){return new this._Vec4(this[1],this[3],this[0],this[0])}get ywxy(){return new this._Vec4(this[1],this[3],this[0],this[1])}get ywxz(){return new this._Vec4(this[1],this[3],this[0],this[2])}get ywxw(){return new this._Vec4(this[1],this[3],this[0],this[3])}get ywyx(){return new this._Vec4(this[1],this[3],this[1],this[0])}get ywyy(){return new this._Vec4(this[1],this[3],this[1],this[1])}get ywyz(){return new this._Vec4(this[1],this[3],this[1],this[2])}get ywyw(){return new this._Vec4(this[1],this[3],this[1],this[3])}get ywzx(){return new this._Vec4(this[1],this[3],this[2],this[0])}get ywzy(){return new this._Vec4(this[1],this[3],this[2],this[1])}get ywzz(){return new this._Vec4(this[1],this[3],this[2],this[2])}get ywzw(){return new this._Vec4(this[1],this[3],this[2],this[3])}get ywwx(){return new this._Vec4(this[1],this[3],this[3],this[0])}get ywwy(){return new this._Vec4(this[1],this[3],this[3],this[1])}get ywwz(){return new this._Vec4(this[1],this[3],this[3],this[2])}get ywww(){return new this._Vec4(this[1],this[3],this[3],this[3])}get zxxx(){return new this._Vec4(this[2],this[0],this[0],this[0])}get zxxy(){return new this._Vec4(this[2],this[0],this[0],this[1])}get zxxz(){return new this._Vec4(this[2],this[0],this[0],this[2])}get zxxw(){return new this._Vec4(this[2],this[0],this[0],this[3])}get zxyx(){return new this._Vec4(this[2],this[0],this[1],this[0])}get zxyy(){return new this._Vec4(this[2],this[0],this[1],this[1])}get zxyz(){return new this._Vec4(this[2],this[0],this[1],this[2])}get zxyw(){return new this._Vec4(this[2],this[0],this[1],this[3])}get zxzx(){return new this._Vec4(this[2],this[0],this[2],this[0])}get zxzy(){return new this._Vec4(this[2],this[0],this[2],this[1])}get zxzz(){return new this._Vec4(this[2],this[0],this[2],this[2])}get zxzw(){return new this._Vec4(this[2],this[0],this[2],this[3])}get zxwx(){return new this._Vec4(this[2],this[0],this[3],this[0])}get zxwy(){return new this._Vec4(this[2],this[0],this[3],this[1])}get zxwz(){return new this._Vec4(this[2],this[0],this[3],this[2])}get zxww(){return new this._Vec4(this[2],this[0],this[3],this[3])}get zyxx(){return new this._Vec4(this[2],this[1],this[0],this[0])}get zyxy(){return new this._Vec4(this[2],this[1],this[0],this[1])}get zyxz(){return new this._Vec4(this[2],this[1],this[0],this[2])}get zyxw(){return new this._Vec4(this[2],this[1],this[0],this[3])}get zyyx(){return new this._Vec4(this[2],this[1],this[1],this[0])}get zyyy(){return new this._Vec4(this[2],this[1],this[1],this[1])}get zyyz(){return new this._Vec4(this[2],this[1],this[1],this[2])}get zyyw(){return new this._Vec4(this[2],this[1],this[1],this[3])}get zyzx(){return new this._Vec4(this[2],this[1],this[2],this[0])}get zyzy(){return new this._Vec4(this[2],this[1],this[2],this[1])}get zyzz(){return new this._Vec4(this[2],this[1],this[2],this[2])}get zyzw(){return new this._Vec4(this[2],this[1],this[2],this[3])}get zywx(){return new this._Vec4(this[2],this[1],this[3],this[0])}get zywy(){return new this._Vec4(this[2],this[1],this[3],this[1])}get zywz(){return new this._Vec4(this[2],this[1],this[3],this[2])}get zyww(){return new this._Vec4(this[2],this[1],this[3],this[3])}get zzxx(){return new this._Vec4(this[2],this[2],this[0],this[0])}get zzxy(){return new this._Vec4(this[2],this[2],this[0],this[1])}get zzxz(){return new this._Vec4(this[2],this[2],this[0],this[2])}get zzxw(){return new this._Vec4(this[2],this[2],this[0],this[3])}get zzyx(){return new this._Vec4(this[2],this[2],this[1],this[0])}get zzyy(){return new this._Vec4(this[2],this[2],this[1],this[1])}get zzyz(){return new this._Vec4(this[2],this[2],this[1],this[2])}get zzyw(){return new this._Vec4(this[2],this[2],this[1],this[3])}get zzzx(){return new this._Vec4(this[2],this[2],this[2],this[0])}get zzzy(){return new this._Vec4(this[2],this[2],this[2],this[1])}get zzzz(){return new this._Vec4(this[2],this[2],this[2],this[2])}get zzzw(){return new this._Vec4(this[2],this[2],this[2],this[3])}get zzwx(){return new this._Vec4(this[2],this[2],this[3],this[0])}get zzwy(){return new this._Vec4(this[2],this[2],this[3],this[1])}get zzwz(){return new this._Vec4(this[2],this[2],this[3],this[2])}get zzww(){return new this._Vec4(this[2],this[2],this[3],this[3])}get zwxx(){return new this._Vec4(this[2],this[3],this[0],this[0])}get zwxy(){return new this._Vec4(this[2],this[3],this[0],this[1])}get zwxz(){return new this._Vec4(this[2],this[3],this[0],this[2])}get zwxw(){return new this._Vec4(this[2],this[3],this[0],this[3])}get zwyx(){return new this._Vec4(this[2],this[3],this[1],this[0])}get zwyy(){return new this._Vec4(this[2],this[3],this[1],this[1])}get zwyz(){return new this._Vec4(this[2],this[3],this[1],this[2])}get zwyw(){return new this._Vec4(this[2],this[3],this[1],this[3])}get zwzx(){return new this._Vec4(this[2],this[3],this[2],this[0])}get zwzy(){return new this._Vec4(this[2],this[3],this[2],this[1])}get zwzz(){return new this._Vec4(this[2],this[3],this[2],this[2])}get zwzw(){return new this._Vec4(this[2],this[3],this[2],this[3])}get zwwx(){return new this._Vec4(this[2],this[3],this[3],this[0])}get zwwy(){return new this._Vec4(this[2],this[3],this[3],this[1])}get zwwz(){return new this._Vec4(this[2],this[3],this[3],this[2])}get zwww(){return new this._Vec4(this[2],this[3],this[3],this[3])}get wxxx(){return new this._Vec4(this[3],this[0],this[0],this[0])}get wxxy(){return new this._Vec4(this[3],this[0],this[0],this[1])}get wxxz(){return new this._Vec4(this[3],this[0],this[0],this[2])}get wxxw(){return new this._Vec4(this[3],this[0],this[0],this[3])}get wxyx(){return new this._Vec4(this[3],this[0],this[1],this[0])}get wxyy(){return new this._Vec4(this[3],this[0],this[1],this[1])}get wxyz(){return new this._Vec4(this[3],this[0],this[1],this[2])}get wxyw(){return new this._Vec4(this[3],this[0],this[1],this[3])}get wxzx(){return new this._Vec4(this[3],this[0],this[2],this[0])}get wxzy(){return new this._Vec4(this[3],this[0],this[2],this[1])}get wxzz(){return new this._Vec4(this[3],this[0],this[2],this[2])}get wxzw(){return new this._Vec4(this[3],this[0],this[2],this[3])}get wxwx(){return new this._Vec4(this[3],this[0],this[3],this[0])}get wxwy(){return new this._Vec4(this[3],this[0],this[3],this[1])}get wxwz(){return new this._Vec4(this[3],this[0],this[3],this[2])}get wxww(){return new this._Vec4(this[3],this[0],this[3],this[3])}get wyxx(){return new this._Vec4(this[3],this[1],this[0],this[0])}get wyxy(){return new this._Vec4(this[3],this[1],this[0],this[1])}get wyxz(){return new this._Vec4(this[3],this[1],this[0],this[2])}get wyxw(){return new this._Vec4(this[3],this[1],this[0],this[3])}get wyyx(){return new this._Vec4(this[3],this[1],this[1],this[0])}get wyyy(){return new this._Vec4(this[3],this[1],this[1],this[1])}get wyyz(){return new this._Vec4(this[3],this[1],this[1],this[2])}get wyyw(){return new this._Vec4(this[3],this[1],this[1],this[3])}get wyzx(){return new this._Vec4(this[3],this[1],this[2],this[0])}get wyzy(){return new this._Vec4(this[3],this[1],this[2],this[1])}get wyzz(){return new this._Vec4(this[3],this[1],this[2],this[2])}get wyzw(){return new this._Vec4(this[3],this[1],this[2],this[3])}get wywx(){return new this._Vec4(this[3],this[1],this[3],this[0])}get wywy(){return new this._Vec4(this[3],this[1],this[3],this[1])}get wywz(){return new this._Vec4(this[3],this[1],this[3],this[2])}get wyww(){return new this._Vec4(this[3],this[1],this[3],this[3])}get wzxx(){return new this._Vec4(this[3],this[2],this[0],this[0])}get wzxy(){return new this._Vec4(this[3],this[2],this[0],this[1])}get wzxz(){return new this._Vec4(this[3],this[2],this[0],this[2])}get wzxw(){return new this._Vec4(this[3],this[2],this[0],this[3])}get wzyx(){return new this._Vec4(this[3],this[2],this[1],this[0])}get wzyy(){return new this._Vec4(this[3],this[2],this[1],this[1])}get wzyz(){return new this._Vec4(this[3],this[2],this[1],this[2])}get wzyw(){return new this._Vec4(this[3],this[2],this[1],this[3])}get wzzx(){return new this._Vec4(this[3],this[2],this[2],this[0])}get wzzy(){return new this._Vec4(this[3],this[2],this[2],this[1])}get wzzz(){return new this._Vec4(this[3],this[2],this[2],this[2])}get wzzw(){return new this._Vec4(this[3],this[2],this[2],this[3])}get wzwx(){return new this._Vec4(this[3],this[2],this[3],this[0])}get wzwy(){return new this._Vec4(this[3],this[2],this[3],this[1])}get wzwz(){return new this._Vec4(this[3],this[2],this[3],this[2])}get wzww(){return new this._Vec4(this[3],this[2],this[3],this[3])}get wwxx(){return new this._Vec4(this[3],this[3],this[0],this[0])}get wwxy(){return new this._Vec4(this[3],this[3],this[0],this[1])}get wwxz(){return new this._Vec4(this[3],this[3],this[0],this[2])}get wwxw(){return new this._Vec4(this[3],this[3],this[0],this[3])}get wwyx(){return new this._Vec4(this[3],this[3],this[1],this[0])}get wwyy(){return new this._Vec4(this[3],this[3],this[1],this[1])}get wwyz(){return new this._Vec4(this[3],this[3],this[1],this[2])}get wwyw(){return new this._Vec4(this[3],this[3],this[1],this[3])}get wwzx(){return new this._Vec4(this[3],this[3],this[2],this[0])}get wwzy(){return new this._Vec4(this[3],this[3],this[2],this[1])}get wwzz(){return new this._Vec4(this[3],this[3],this[2],this[2])}get wwzw(){return new this._Vec4(this[3],this[3],this[2],this[3])}get wwwx(){return new this._Vec4(this[3],this[3],this[3],this[0])}get wwwy(){return new this._Vec4(this[3],this[3],this[3],this[1])}get wwwz(){return new this._Vec4(this[3],this[3],this[3],this[2])}get wwww(){return new this._Vec4(this[3],this[3],this[3],this[3])}},U=class extends le{e0;e1;constructor(t,n){super(2),this.e0=this.castElement()(t),this.e1=this.castElement()(n??t)}get 0(){return this.e0}get 1(){return this.e1}set 0(t){this.e0=this.castElement()(t)}set 1(t){this.e1=this.castElement()(t)}get x(){return this[0]}get y(){return this[1]}set x(t){this[0]=this.castElement()(t)}set y(t){this[1]=this.castElement()(t)}},N=class extends le{e0;e1;e2;constructor(t,n,r){super(3),this.e0=this.castElement()(t),this.e1=this.castElement()(n??t),this.e2=this.castElement()(r??t)}get 0(){return this.e0}get 1(){return this.e1}get 2(){return this.e2}set 0(t){this.e0=this.castElement()(t)}set 1(t){this.e1=this.castElement()(t)}set 2(t){this.e2=this.castElement()(t)}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}set x(t){this[0]=this.castElement()(t)}set y(t){this[1]=this.castElement()(t)}set z(t){this[2]=this.castElement()(t)}},R=class extends le{e0;e1;e2;e3;constructor(t,n,r,i){super(4),this.e0=this.castElement()(t),this.e1=this.castElement()(n??t),this.e2=this.castElement()(r??t),this.e3=this.castElement()(i??t)}get 0(){return this.e0}get 1(){return this.e1}get 2(){return this.e2}get 3(){return this.e3}set 0(t){this.e0=this.castElement()(t)}set 1(t){this.e1=this.castElement()(t)}set 2(t){this.e2=this.castElement()(t)}set 3(t){this.e3=this.castElement()(t)}get x(){return this[0]}get y(){return this[1]}get z(){return this[2]}get w(){return this[3]}set x(t){this[0]=t}set y(t){this[1]=t}set z(t){this[2]=t}set w(t){this[3]=t}},M=class e extends U{get[o](){return{elementSchema:h}}get kind(){return"vec2f"}get _Vec2(){return e}get _Vec3(){return Y}get _Vec4(){return Z}},L=class e extends U{get[o](){return{elementSchema:$}}get kind(){return"vec2h"}get _Vec2(){return e}get _Vec3(){return H}get _Vec4(){return Q}},j=class e extends U{get[o](){return{elementSchema:T}}get kind(){return"vec2i"}get _Vec2(){return e}get _Vec3(){return q}get _Vec4(){return ee}},G=class e extends U{get[o](){return{elementSchema:c}}get kind(){return"vec2u"}get _Vec2(){return e}get _Vec3(){return J}get _Vec4(){return te}},K=class e extends U{get[o](){return{elementSchema:b}}get kind(){return"vec2<bool>"}get _Vec2(){return e}get _Vec3(){return X}get _Vec4(){return ne}},Y=class e extends N{get[o](){return{elementSchema:h}}get kind(){return"vec3f"}get _Vec2(){return M}get _Vec3(){return e}get _Vec4(){return Z}},H=class e extends N{get[o](){return{elementSchema:$}}get kind(){return"vec3h"}get _Vec2(){return L}get _Vec3(){return e}get _Vec4(){return Q}},q=class e extends N{get[o](){return{elementSchema:T}}get kind(){return"vec3i"}get _Vec2(){return j}get _Vec3(){return e}get _Vec4(){return ee}},J=class e extends N{get[o](){return{elementSchema:c}}get kind(){return"vec3u"}get _Vec2(){return G}get _Vec3(){return e}get _Vec4(){return te}},X=class e extends N{get[o](){return{elementSchema:b}}get kind(){return"vec3<bool>"}get _Vec2(){return K}get _Vec3(){return e}get _Vec4(){return ne}},Z=class e extends R{get[o](){return{elementSchema:h}}get kind(){return"vec4f"}get _Vec2(){return M}get _Vec3(){return Y}get _Vec4(){return e}},Q=class e extends R{get[o](){return{elementSchema:$}}get kind(){return"vec4h"}get _Vec2(){return L}get _Vec3(){return H}get _Vec4(){return e}},ee=class e extends R{get[o](){return{elementSchema:T}}get kind(){return"vec4i"}get _Vec2(){return j}get _Vec3(){return q}get _Vec4(){return e}},te=class e extends R{get[o](){return{elementSchema:c}}get kind(){return"vec4u"}get _Vec2(){return G}get _Vec3(){return J}get _Vec4(){return e}},ne=class e extends R{get[o](){return{elementSchema:b}}get kind(){return"vec4<bool>"}get _Vec2(){return K}get _Vec3(){return X}get _Vec4(){return e}};var B=f(M,h),hn=f(L,$),pe=f(j,T),he=f(G,c),xn=f(K,b),Le=f(Y,h),dn=f(H,$),je=f(q,T),E=f(J,c),mn=f(X,b),v=f(Z,h),fn=f(Q,$),xe=f(ee,T),de=f(te,c),wn=f(ne,b),bi={vec2f:B,vec2h:hn,vec2i:pe,vec2u:he,"vec2<bool>":xn,vec3f:Le,vec3h:dn,vec3i:je,vec3u:E,"vec3<bool>":mn,vec4f:v,vec4h:fn,vec4i:xe,vec4u:de,"vec4<bool>":wn};function f(e,t){let{kind:n,length:r}=new e,s=P({name:n,signature:(...y)=>({argTypes:y.map(l=>{let g=S(l);return ae(g)?g:t}),returnType:p}),normalImpl:(...y)=>{let l=new Array(y.length),g=0;for(let se of y)if(typeof se=="number"||typeof se=="boolean")l[g++]=se;else for(let Be=0;Be<se.length;++Be)l[g++]=se[Be];if(l.length<=1||l.length===r)return new e(...l);throw new Error(`'${n}' constructor called with invalid number of arguments.`)},ignoreImplicitCastWarning:!0,codegenImpl:(...y)=>d`${n}(${y})`}),p=Object.assign(s,{type:n,primitive:t,[Je]:void 0});return p}var a=class{constructor(t){this.type=t}[o]=!0},De={uint8:c,uint8x2:he,uint8x4:de,sint8:T,sint8x2:pe,sint8x4:xe,unorm8:h,unorm8x2:B,unorm8x4:v,snorm8:h,snorm8x2:B,snorm8x4:v,uint16:c,uint16x2:he,uint16x4:de,sint16:T,sint16x2:pe,sint16x4:xe,unorm16:h,unorm16x2:B,unorm16x4:v,snorm16:h,snorm16x2:B,snorm16x4:v,float16:h,float16x2:B,float16x4:v,float32:h,float32x2:B,float32x3:Le,float32x4:v,uint32:c,uint32x2:he,uint32x3:E,uint32x4:de,sint32:T,sint32x2:pe,sint32x3:je,sint32x4:xe,"unorm10-10-10-2":v,"unorm8x4-bgra":v},Ge=new Set(Object.keys(De)),Ai=new a("uint8"),Di=new a("uint8x2"),$i=new a("uint8x4"),ki=new a("sint8"),Fi=new a("sint8x2"),Pi=new a("sint8x4"),Bi=new a("unorm8"),Ei=new a("unorm8x2"),Ui=new a("unorm8x4"),Ni=new a("snorm8"),Ri=new a("snorm8x2"),Wi=new a("snorm8x4"),Ci=new a("uint16"),Oi=new a("uint16x2"),Mi=new a("uint16x4"),Li=new a("sint16"),ji=new a("sint16x2"),Gi=new a("sint16x4"),Ki=new a("unorm16"),Yi=new a("unorm16x2"),Hi=new a("unorm16x4"),qi=new a("snorm16"),Ji=new a("snorm16x2"),Xi=new a("snorm16x4"),Zi=new a("float16"),Qi=new a("float16x2"),es=new a("float16x4"),ts=new a("float32"),ns=new a("float32x2"),rs=new a("float32x3"),is=new a("float32x4"),ss=new a("uint32"),os=new a("uint32x2"),as=new a("uint32x3"),us=new a("uint32x4"),cs=new a("sint32"),ys=new a("sint32x2"),ls=new a("sint32x3"),ps=new a("sint32x4"),hs=new a("unorm10-10-10-2"),xs=new a("unorm8x4-bgra");function ds(e){return u(e)&&Ge.has(e?.type)}function Pt(e){let t=String(e);if(t!=="[object Object]")return t;try{return JSON.stringify(e)}catch(n){return console.error("Error parsing JSON:",n),"<invalid json>"}}function Ft(e){return Ee(e)||Xe(e)?e.toString():Array.isArray(e)?`[${e.map(Ft).join(", ")}]`:e&&typeof e=="object"?`{ ${Object.entries(e).map(([t,n])=>`${t}: ${Ft(n)}`).join(", ")} }`:String(e)}var Tn={f32:4,f16:2,i32:4,u32:4,bool:4,u16:2,vec2f:8,vec2h:4,vec2i:8,vec2u:8,vec2b:8,vec3f:16,vec3h:8,vec3i:16,vec3u:16,vec3b:16,vec4f:16,vec4h:8,vec4i:16,vec4u:16,vec4b:16,mat2x2f:8,mat3x3f:16,mat4x4f:16,atomic:4};function gn(e){let t=e?.type,n=Tn[t];if(n!==void 0)return n;if(we(e))return Object.values(e.propTypes).map(V).reduce((r,i)=>r>i?r:i);if(fe(e))return V(e.elementType);if(ye(e)){let r=Object.values(e.propTypes)[0];return r?O(r)??1:1}if(ce(e))return O(e.elementType)??1;if(_(e)||I(e))return O(e)??V(e.inner);if(Ge.has(t))return 1;throw new Error(`Cannot determine alignment of data: ${Pt(e)}`)}function vn(e){if(ye(e)){let t=Object.values(e.propTypes)[0];return t?re(t):1}return ce(e)?re(e.elementType):I(e)?O(e)??re(e.inner):O(e)??1}var Bt=new WeakMap,Et=new WeakMap;function V(e){let t=Bt.get(e);return t===void 0&&(t=gn(e),Bt.set(e,t)),t}function re(e){let t=Et.get(e);return t===void 0&&(t=vn(e),Et.set(e,t)),t}function Vs(e){return V(e)}var ie=(e,t)=>{let n=t-1,r=~n;return(e&n)===0?e:(e&r)+t};var bn={bool:4,f32:4,f16:2,i32:4,u32:4,u16:2,vec2f:8,vec2h:4,vec2i:8,vec2u:8,"vec2<bool>":8,vec3f:12,vec3h:6,vec3i:12,vec3u:12,"vec3<bool>":12,vec4f:16,vec4h:8,vec4i:16,vec4u:16,"vec4<bool>":16,mat2x2f:16,mat3x3f:48,mat4x4f:64,uint8:1,uint8x2:2,uint8x4:4,sint8:1,sint8x2:2,sint8x4:4,unorm8:1,unorm8x2:2,unorm8x4:4,snorm8:1,snorm8x2:2,snorm8x4:4,uint16:2,uint16x2:4,uint16x4:8,sint16:2,sint16x2:4,sint16x4:8,unorm16:2,unorm16x2:4,unorm16x4:8,snorm16:2,snorm16x2:4,snorm16x4:8,float16:2,float16x2:4,float16x4:8,float32:4,float32x2:8,float32x3:12,float32x4:16,uint32:4,uint32x2:8,uint32x3:12,uint32x4:16,sint32:4,sint32x2:8,sint32x3:12,sint32x4:16,"unorm10-10-10-2":4,"unorm8x4-bgra":4,atomic:4};function Vn(e){let t=0,n=e.propTypes;for(let r of Object.values(n)){if(Number.isNaN(t))throw new Error("Only the last property of a struct can be unbounded");if(t=ie(t,V(r)),t+=z(r),Number.isNaN(t)&&r.type!=="array")throw new Error("Cannot nest unbounded struct within another struct")}return ie(t,V(e))}function zn(e){let t=0,n=e.propTypes;for(let r of Object.values(n)){let i=re(r);t=ie(t,i),t+=z(r)}return t}function Sn(e){let t=bn[e?.type];if(t!==void 0)return t;if(we(e))return Vn(e);if(ye(e))return zn(e);if(fe(e)){if(e.elementCount===0)return Number.NaN;let n=V(e.elementType);return ie(z(e.elementType),n)*e.elementCount}if(ce(e)){let n=re(e.elementType);return ie(z(e.elementType),n)*e.elementCount}if(_(e)||I(e))return at(e)??z(e.inner);throw new Error(`Cannot determine size of data: ${e}`)}var Ut=new WeakMap;function z(e){let t=Ut.get(e);return t===void 0&&(t=Sn(e),Ut.set(e,t)),t}function $s(e){return z(e)}function W(e,t){return _(e)?new ke(e.inner,[t,...e.attribs]):I(e)?new Fe(e.inner,[t,...e.attribs]):Re(e)?new Fe(e,[t]):new ke(e,[t])}function Ns(e,t){return W(t,{[o]:!0,type:"@align",params:[e]})}function Rs(e,t){return W(t,{[o]:!0,type:"@size",params:[e]})}function Ws(e,t){return W(t,{[o]:!0,type:"@location",params:[e]})}function Cs(e,t){return W(t,{[o]:!0,type:"@interpolate",params:[e]})}function Os(e){if(!In(e))throw new Error("The @invariant attribute must only be applied to the position built-in value.");let t=_(e)||I(e)?e.attribs.find(Ne):void 0;if(!t||t.params[0]!=="position")throw new Error("The @invariant attribute must only be applied to the position built-in value.");return W(e,{[o]:!0,type:"@invariant",params:[]})}function In(e){return(_(e)||I(e))&&e.attribs.find(Ne)!==void 0}function Ms(e){return!_(e)&&!I(e)?"":e.attribs.map(t=>t.params.length===0?`${t.type} `:`${t.type}(${t.params.join(", ")}) `).join("")}var $e=class{constructor(t,n){this.inner=t;this.attribs=n;let r=n.find(Te)?.params[0],i=n.find(ge)?.params[0];if(r!==void 0){if(r<=0)throw new Error(`Custom data alignment must be a positive number, got: ${r}.`);if(Math.log2(r)%1!==0)throw new Error(`Alignment has to be a power of 2, got: ${r}.`);if(C(this.inner)&&r%V(this.inner)!==0)throw new Error(`Custom alignment has to be a multiple of the standard data alignment. Got: ${r}, expected multiple of: ${V(this.inner)}.`)}if(i!==void 0){if(i<z(this.inner))throw new Error(`Custom data size cannot be smaller then the standard data size. Got: ${i}, expected at least: ${z(this.inner)}.`);if(i<=0)throw new Error(`Custom data size must be a positive number. Got: ${i}.`)}}[o]=!0},ke=class extends $e{[o]=!0;type="decorated"},Fe=class extends $e{[o]=!0;type="loose-decorated"};function Pe(e,t){let n=e?.type,r=n in De?De[n]:e;return typeof r!="function"?t:t===void 0?r():r(t)}function qs(e){return Nt(e,!1)}function Js(e){return Nt(e,!0)}function Nt(e,t){let n=r=>Object.fromEntries(Object.entries(e).map(([i,s])=>[i,Pe(s,r?.[i])]));return Object.setPrototypeOf(n,_n),n.propTypes=e,Object.defineProperty(n,o,{value:{isAbstruct:t}}),n}var _n={type:"struct",$name(e){return k(this,e),this},toString(){return`struct:${D(this)??"<unnamed>"}`}};var Ye=$t(((e,t)=>t===void 0?n=>Ke(e,n):Ke(e,t)),(e,t)=>{if(t?.value===void 0){let n=r=>Ye[o].gpuImpl(e,r);return n[o]=!0,x(n,ut)}if(typeof t.value!="number")throw new Error(`Cannot create array schema with count unknown at compile-time: '${t.value}'`);return x(Ke(e.value,t.value),e.value)},"arrayOf");function Ke(e,t){let n=r=>{if(r&&r.length!==t)throw new Error(`Array schema of ${t} elements of type ${e.type} called with ${r.length} argument(s).`);return Array.from({length:t},(i,s)=>Pe(e,r?.[s]))};if(Object.setPrototypeOf(n,An),Number.isNaN(z(e)))throw new Error("Cannot nest runtime sized arrays.");if(n.elementType=e,!Number.isInteger(t)||t<0)throw new Error(`Cannot create array schema with invalid element count: ${t}.`);return n.elementCount=t,n}var An={[o]:!0,type:"array",toString(){return`arrayOf(${this.elementType}, ${this.elementCount})`}};function w(e,t){return W(e,{[o]:!0,type:"@builtin",params:[t]})}var yo={vertexIndex:w(c,"vertex_index"),instanceIndex:w(c,"instance_index"),position:w(v,"position"),clipDistances:w(Ye(c,8),"clip_distances"),frontFacing:w(b,"front_facing"),fragDepth:w(h,"frag_depth"),sampleIndex:w(c,"sample_index"),sampleMask:w(c,"sample_mask"),localInvocationId:w(E,"local_invocation_id"),localInvocationIndex:w(c,"local_invocation_index"),globalInvocationId:w(E,"global_invocation_id"),workgroupId:w(E,"workgroup_id"),numWorkgroups:w(E,"num_workgroups"),subgroupInvocationId:w(c,"subgroup_invocation_id"),subgroupSize:w(c,"subgroup_size")};export{o as a,kn as b,me as c,He as d,qe as e,oe as f,Je as g,u as h,Zn as i,D as j,k,Yt as l,tt as m,nt as n,rt as o,er as p,Mn as q,Ee as r,Ct as s,Ot as t,Mt as u,ae as v,Xe as w,Lt as x,jt as y,Ue as z,Ln as A,C as B,fe as C,we as D,jn as E,Gn as F,Te as G,ge as H,Ze as I,Kn as J,Ne as K,_ as L,Yn as M,Qe as N,Hn as O,S as P,Re as Q,ce as R,ye as S,I as T,or as U,ar as V,ut as W,it as X,st as Y,ot as Z,Ce as _,gr as $,x as aa,Ve as ba,ct as ca,yt as da,lt as ea,pt as fa,ht as ga,xt as ha,dt as ia,mt as ja,ft as ka,be as la,wt as ma,Tt as na,gt as oa,dr as pa,Se as qa,vt as ra,bt as sa,Jt as ta,Vt as ua,_r as va,Ar as wa,Fr as xa,Pr as ya,Br as za,zt as Aa,Xt as Ba,Er as Ca,Oe as Da,d as Ea,St as Fa,_t as Ga,Hr as Ha,At as Ia,Dt as Ja,qr as Ka,$t as La,Ae as Ma,P as Na,ai as Oa,ui as Pa,b as Qa,c as Ra,ci as Sa,T as Ta,h as Ua,$ as Va,le as Wa,B as Xa,hn as Ya,pe as Za,he as _a,xn as $a,Le as ab,dn as bb,je as cb,E as db,mn as eb,v as fb,fn as gb,xe as hb,de as ib,wn as jb,bi as kb,Pt as lb,Ft as mb,De as nb,Ge as ob,Ai as pb,Di as qb,$i as rb,ki as sb,Fi as tb,Pi as ub,Bi as vb,Ei as wb,Ui as xb,Ni as yb,Ri as zb,Wi as Ab,Ci as Bb,Oi as Cb,Mi as Db,Li as Eb,ji as Fb,Gi as Gb,Ki as Hb,Yi as Ib,Hi as Jb,qi as Kb,Ji as Lb,Xi as Mb,Zi as Nb,Qi as Ob,es as Pb,ts as Qb,ns as Rb,rs as Sb,is as Tb,ss as Ub,os as Vb,as as Wb,us as Xb,cs as Yb,ys as Zb,ls as _b,ps as $b,hs as ac,xs as bc,ds as cc,V as dc,re as ec,Vs as fc,ie as gc,z as hc,$s as ic,Ns as jc,Rs as kc,Ws as lc,Cs as mc,Os as nc,In as oc,Ms as pc,Pe as qc,qs as rc,Js as sc,Ye as tc,yo as uc};
|
|
10
|
-
//# sourceMappingURL=chunk-
|
|
10
|
+
//# sourceMappingURL=chunk-CRZWTZM2.js.map
|