@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 21.8 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{_ as t}from"../../../../../../chunks/tslib.es6.js";import{ShaderPrimitiveNode as e,cloneShaderNode as n,ShaderPropertyAccessNode as r,ShaderPropertyAccess2DNode as c,ShaderBlockNode as i,ShaderScopeNode as u,ShaderConditionNode as s,ShaderFunctionNode as o}from"./ShaderGraphNode.js";var l,h,a,f,p,d,w,y,m,v,b,x,I,g;function E(t){switch(t.type){case"uint":return _;case"uvec2":return C;case"uvec3":return X;case"uvec4":return Y;default:throw new Error("Found unexpected type")}}function $(t){switch(t.type){case"float":return G;case"vec2":return H;case"vec3":return A;case"vec4":return V;default:throw new Error("Found unexpected type")}}function z(t){switch(t.type){case"int":return _;case"ivec2":return C;case"ivec3":return X;case"ivec4":return Y;default:throw new Error("Found unexpected type")}}function T(t){switch(t.type){case"float":return W;case"vec2":return Z;case"vec3":return tt;case"vec4":return et;default:throw new Error("Found unexpected type")}}function N(t){switch(t.type){case"bool":case"float":case"int":case"uint":return J;case"bvec2":case"vec2":case"ivec2":case"uvec2":return K;case"bvec3":case"vec3":case"ivec3":case"uvec3":return L;case"bvec4":case"vec4":case"ivec4":case"uvec4":return Q;default:throw new Error("Unable to handle type")}}function D(t){switch(t.type){case"bool":case"bvec2":case"bvec3":case"bvec4":return J;case"float":case"vec2":case"vec3":case"vec4":return _;case"int":case"ivec2":case"ivec3":case"ivec4":return W;case"uint":case"uvec2":case"uvec3":case"uvec4":return G;default:throw new Error("Unable to handle type")}}function k(t){switch(t.type){case"float":case"int":case"uint":case"bool":case"sampler2D":return 1;case"vec2":case"ivec2":case"uvec2":case"bvec2":return 2;case"vec3":case"ivec3":case"uvec3":case"bvec3":return 3;case"vec4":case"ivec4":case"uvec4":case"bvec4":case"mat2":return 4;case"mat3":return 9;case"mat4":return 16;case"array":case"array-2d":return t.size*k(t.elementType)}}function F(t){const e=[["float","vec2","vec3","vec4"],["int","ivec2","ivec3","ivec4"],["uint","uvec2","uvec3","uvec4"],["bool","bvec2","bvec3","bvec4"]];for(const n of e)if(n.includes(t))return n.map((t=>it[t]));throw new Error("Unable to find type family")}function M(t){return new Proxy(t,{get(e,n){if("constructor"===n)return new Proxy(e.constructor,{construct:(t,e,n)=>M(new t(...e))});if(n in e)return e[n];if("string"==typeof n){const e=F(t.type);return dt(t,n,e[n.length-1])}}})}function S(t){return new Proxy(t,{construct:(t,e,n)=>M(new t(...e))})}function j(t){return new Proxy(t,{get(e,n){if(n in e)return e[n];if("string"==typeof n){const e=parseInt(n,10);if(!isNaN(e))return dt(t,`[${e}]`,t.elementType.constructor)}}})}function R(t){return new Proxy(t,{construct:(t,e,n)=>j(new t(...e))})}class P extends Error{}let B=l=class extends e{constructor(t,e){super(),this.elementType=t,this.size=e,this.children=[],this.type="array"}clone(){const t=new l(this.elementType,this.size);return super.cloneInto(t),t}get(t,e){const n=new W(t),r=null!=e?new W(e):null;if(null!=r){return wt(this,n,r,D(this.elementType.constructor))}return dt(this,n,this.elementType.constructor)}last(){return this.get(this.size-1)}first(){return this.get(0)}findIndex(t,e,n){return Et(this,t,e,n)}glslFindIndex(t,e,n){return $t(this,t,e,n)}static ofType(t,e){const n={construct:(n,r)=>new l(new t,e)};return new Proxy(l,n)}};B.type="array",B=l=t([R],B);class q extends e{constructor(t,e,n,r=!1){super(),this.elementType=t,this.xSize=e,this.ySize=n,this.isRowMajor=r,this.children=[],this.type="array-2d"}clone(){const t=new q(this.elementType,this.xSize,this.ySize,this.isRowMajor);return super.cloneInto(t),t}get size(){return this.xSize*this.ySize}get(t,e){return this.isRowMajor?this._getRowMajor(t,e):this._getColumnMajor(t,e)}_getColumnMajor(t,e){const n=new W(t);return dt(this,new W(e).add(n.multiply(this.xSize)),this.elementType.constructor)}_getRowMajor(t,e){const n=new W(t),r=new W(e);return dt(this,n.add(r.multiply(this.ySize)),this.elementType.constructor)}static ofType(t,e,n,r=!1){return new Proxy(B,{construct:(c,i)=>new q(new t,e,n,r)})}}q.type="array-2d";class U extends e{constructor(){super(...arguments),this.type="sampler2D",this.children=[]}clone(){const t=new U;return t.children=this.children.map(n),super.cloneInto(t),t}}U.type="sampler2D";class _ extends e{constructor(t){super(),this.type="float",this.children=[t]}clone(){const t=new _(n(this.children[0]));return super.cloneInto(t),t}multiply(t){return Dt(this,"number"==typeof t?O(t,_):t)}divide(t){return kt(this,"number"==typeof t?O(t,_):t)}add(t){return Ft(this,"number"==typeof t?O(t,_):t)}subtract(t){return Mt(this,"number"==typeof t?O(t,_):t)}}_.type="float";let C=h=class extends e{constructor(t,e){super(),this.type="vec2",this.children=[t,e].filter((t=>null!=t))}clone(){const t=new h(n(this.children[0]),n(this.children[1]));return super.cloneInto(t),t}get 0(){return dt(this,"[0]",_)}get 1(){return dt(this,"[1]",_)}get 2(){throw new P}get 3(){throw new P}multiply(t){return Dt(this,"number"==typeof t?O(t,_):t)}divide(t){return kt(this,"number"==typeof t?O(t,_):t)}add(t){return Ft(this,"number"==typeof t?O(t,_):t)}subtract(t){return Mt(this,"number"==typeof t?O(t,_):t)}};C.type="vec2",C=h=t([S],C);let X=a=class extends e{constructor(t,e,n){super(),this.type="vec3",this.children=[t,e,n].filter((t=>null!=t))}get 0(){return dt(this,"[0]",_)}get 1(){return dt(this,"[1]",_)}get 2(){return dt(this,"[2]",_)}get 3(){throw new P}clone(){const t=new a(n(this.children[0]),n(this.children[1]),n(this.children[2]));return super.cloneInto(t),t}multiply(t){return Dt(this,"number"==typeof t?O(t,_):t)}divide(t){return kt(this,"number"==typeof t?O(t,_):t)}add(t){return Ft(this,"number"==typeof t?O(t,_):t)}subtract(t){return Mt(this,"number"==typeof t?O(t,_):t)}};X.type="vec3",X=a=t([S],X);let Y=f=class extends e{constructor(t,e,n,r){super(),this.type="vec4",this.children=[t,e,n,r].filter((t=>null!=t))}clone(){const t=new f(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]));return super.cloneInto(t),t}get 0(){return dt(this,"[0]",_)}get 1(){return dt(this,"[1]",_)}get 2(){return dt(this,"[2]",_)}get 3(){return dt(this,"[3]",_)}multiply(t){return Dt(this,"number"==typeof t?O(t,_):t)}divide(t){return kt(this,"number"==typeof t?O(t,_):t)}add(t){return Ft(this,"number"==typeof t?O(t,_):t)}subtract(t){return Mt(this,"number"==typeof t?O(t,_):t)}};Y.type="vec4",Y=f=t([S],Y);let G=p=class extends e{constructor(t){super(),this.type="uint",this.children=[t]}clone(){const t=new p(n(this.children[0]));return super.cloneInto(t),t}};G.type="uint",G=p=t([S],G);let H=d=class extends e{constructor(t,e){super(),this.type="uvec2",this.children=[t,e].filter((t=>null!=t))}clone(){const t=new d(n(this.children[0]),n(this.children[1]));return super.cloneInto(t),t}};H.type="uvec2",H=d=t([S],H);let A=w=class extends e{constructor(t,e,n){super(),this.type="uvec3",this.children=[t,e,n].filter((t=>null!=t))}clone(){const t=new w(n(this.children[0]),n(this.children[1]),n(this.children[2]));return super.cloneInto(t),t}};A.type="uvec3",A=w=t([S],A);let V=y=class extends e{constructor(t,e,n,r){super(),this.type="uvec4",this.children=[t,e,n,r].filter((t=>null!=t))}clone(){const t=new y(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]));return super.cloneInto(t),t}};V.type="uvec4",V=y=t([S],V);class J extends e{constructor(t){super(),this.type="bool",this.children=[t]}and(t){return Vt(this,t)}or(t){return Ht(this,t)}clone(){const t=new J(n(this.children[0]));return super.cloneInto(t),t}}J.type="bool";let K=m=class extends e{constructor(t,e){super(),this.type="bvec2",this.children=[t,e].filter((t=>null!=t))}all(){return Qt(this)}any(){return Wt(this)}clone(){const t=new m(n(this.children[0]),n(this.children[1]));return super.cloneInto(t),t}};K.type="bvec2",K=m=t([S],K);let L=v=class extends e{constructor(t,e,n){super(),this.type="bvec3",this.children=[t,e,n].filter((t=>null!=t))}all(){return Qt(this)}any(){return Wt(this)}clone(){const t=new v(n(this.children[0]),n(this.children[1]),n(this.children[2]));return super.cloneInto(t),t}};function O(t,e){if("number"==typeof t){return new e(t)}return t}L.type="bvec3",L=v=t([S],L);let Q=b=class extends e{constructor(t,e,n,r){super(),this.type="bvec4",this.children=[t,e,n,r].filter((t=>null!=t))}all(){return Qt(this)}any(){return Wt(this)}clone(){const t=new b(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]));return super.cloneInto(t),t}};Q.type="bvec4",Q=b=t([S],Q);class W extends e{constructor(t){super(),this.type="int",this.children=[t]}multiply(t){return Dt(this,O(t,W))}add(t){return Ft(this,O(t,W))}subtract(t){return Mt(this,O(t,W))}divide(t){return kt(this,O(t,W))}clone(){const t=new W(n(this.children[0]));return super.cloneInto(t),t}}W.type="int";let Z=x=class extends e{constructor(t,e){super(),this.type="ivec2",this.children=[t,e].filter((t=>null!=t))}clone(){const t=new x(n(this.children[0]),n(this.children[1]));return super.cloneInto(t),t}};Z.type="ivec2",Z=x=t([S],Z);let tt=I=class extends e{constructor(t,e,n){super(),this.type="ivec3",this.children=[t,e,n].filter((t=>null!=t))}clone(){const t=new I(n(this.children[0]),n(this.children[1]),n(this.children[2]));return super.cloneInto(t),t}};tt.type="ivec3",tt=I=t([S],tt);let et=g=class extends e{constructor(t,e,n,r){super(),this.type="ivec4",this.children=[t,e,n,r].filter((t=>null!=t))}clone(){const t=new g(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]));return super.cloneInto(t),t}};et.type="ivec4",et=g=t([S],et);class nt extends e{constructor(t,e,n,r){super(),this.type="mat2",this.children=[t,e,n,r]}clone(){const t=new nt(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]));return super.cloneInto(t),t}get(t,e){return wt(this,new W(t),new W(e),_)}multiply(t){return Dt(this,t)}}nt.type="mat2";class rt extends e{static identity(){return new rt(1,0,0,0,1,0,0,0,1)}static fromRotation(t){const e=nn(t),n=ie(t);return new rt(n,e,0,xt(e),n,0,0,0,1)}constructor(t,e,n,r,c,i,u,s,o){super(),this.type="mat3",this.children=[t,e,n,r,c,i,u,s,o]}add(t){return Ft(this,t)}multiply(t){return Dt(this,t)}get(t,e){return wt(this,new W(t),new W(e),_)}clone(){const t=new rt(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]),n(this.children[4]),n(this.children[5]),n(this.children[6]),n(this.children[7]),n(this.children[8]));return super.cloneInto(t),t}}rt.type="mat3";class ct extends e{static identity(){return new ct(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}constructor(t,e,n,r,c,i,u,s,o,l,h,a,f,p,d,w){super(),this.type="mat4",this.children=[t,e,n,r,c,i,u,s,o,l,h,a,f,p,d,w]}static fromColumns(t,e,n,r){return new ct(t.x,t.y,t.z,t.w,e.x,e.y,e.z,e.w,n.x,n.y,n.z,n.w,r.x,r.y,r.z,r.w)}multiply(t){return Dt(this,t)}get(t,e){return wt(this,new W(t),new W(e),_)}clone(){const t=new ct(n(this.children[0]),n(this.children[1]),n(this.children[2]),n(this.children[3]),n(this.children[4]),n(this.children[5]),n(this.children[6]),n(this.children[7]),n(this.children[8]),n(this.children[9]),n(this.children[10]),n(this.children[11]),n(this.children[12]),n(this.children[13]),n(this.children[14]),n(this.children[15]));return super.cloneInto(t),t}}ct.type="mat4";const it={float:_,vec2:C,vec3:X,vec4:Y,int:W,ivec2:Z,ivec3:tt,ivec4:et,uint:G,uvec2:H,uvec3:A,uvec4:V,bool:J,bvec2:K,bvec3:L,bvec4:Q},ut=(...t)=>new W(...t),st=(...t)=>new _(...t),ot=(...t)=>new C(...t),lt=(...t)=>new X(...t),ht=(...t)=>new Y(...t),at=(...t)=>new nt(...t),ft=(...t)=>new rt(...t),pt=(...t)=>new ct(...t);function dt(t,e,n){const c=new n(new r(e,t,n));return c.isImplicit=!0,c}function wt(t,e,n,r){const i=new r(new c(e,n,t,r));return i.isImplicit=!0,i}function yt(t,e,n,r=null){if(r){const c=new r,i=new r(new o(t,[e,n],!0,!1,c));return i.isImplicit=!0,i}if("float"===e.type||"int"===e.type){const r=new n.constructor(new o(t,[e,n],!0,!1,n.constructor));return r.isImplicit=!0,r}if(("mat2"===e.type||"mat3"===e.type||"mat4"===e.type)&&"float"!==n.type){const r=new n.constructor(new o(t,[e,n],!0,!1,n.constructor));return r.isImplicit=!0,r}const c=new e.constructor(new o(t,[e,n],!0,!1,e.constructor));return c.isImplicit=!0,c}function mt(t,e,n=e.constructor){const r=new n(new o(t,[e],!1,!1,n));return r.isImplicit=!0,r}function vt(t,e,n,r=e.constructor){const c=new r(new o(t,[e,n],!1,!1,r));return c.isImplicit=!0,c}function bt(t,e,n,r,c=e.constructor){const i=new c(new o(t,[e,n,r],!1,!1,c));return i.isImplicit=!0,i}function xt(t){return Dt(t,st(-1))}function It(t,e,n,r){return new e(new i(t,e,n,r))}function gt(t,e){const n="function"==typeof t?t():t,r=new n.constructor(new u(n).setDebugName(e));return r.isImplicit=!0,r}function Et(t,e,n=0,r=t.size){const c=new W(n).setMutable().setDebugName("FindIndexIterator"),i=e(t.get(c)).setDebugName("FindIndexPredicate"),u=It({iter:c},W,i,(({out:t,iter:e,subgraph:n})=>`\n${t} = -1;\n\nfor (; ${e} < ${r}; ${e}++) {\n\n${n.body}\n\n if (${n.varName}) {\n ${t} = ${e};\n break;\n }\n\n}\n`)).setDebugName("FindIndexBlock");return u}function $t(t,e,n=0,r=t.size){const c=It({array:t},W,null,(({out:t,array:c})=>`\n${t} = -1;\nfor (int i = ${n}; i < ${r}; i++) {\n bool condition;\n ${e({array:c,i:"i",out:"condition"})}\n if (condition) {\n ${t} = i;\n break;\n }\n}\n`)).setDebugName("GlslFindIndexBlock");return c}function zt(t,e,n){const r="function"==typeof e?e():e,c="function"==typeof n?n():n,i=new r.constructor(new s(t,r,c));return i.isImplicit=!0,i}function Tt(...t){const e=t.map((([t,e])=>"function"==typeof e?[t,e()]:[t,e])),n=e[0][1].constructor,r=e.findIndex((t=>!0===t[0]));if(-1===r)throw new Error("A cond must have a fallthrough case with `true`/; ");const c=e.slice(0,r),i=e[r][1],u=new n(c.reduceRight(((t,e)=>zt(e[0],e[1],t)),i));return u.isImplicit=!0,u}function Nt(t,e){const n=new e.constructor(new s(t,e,null));return n.isImplicit=!0,n}function Dt(t,e){return yt("*",t,e)}function kt(t,e){return yt("/",t,e)}function Ft(t,e){return yt("+",t,e)}function Mt(t,e){return yt("-",t,e)}function St(t,e){return yt("%",t,e)}function jt(t,e){return yt("<<",t,e)}function Rt(t,e){return yt(">>",t,e)}function Pt(t,e){return yt("&",t,e)}function Bt(t,e){return yt("|",t,e)}function qt(t,e){return yt("^",t,e)}function Ut(t,e){return yt("==",t,e,J)}function _t(t,e){return yt("!=",t,e,J)}function Ct(t,e){return yt("<",t,e,J)}function Xt(t,e){return yt("<=",t,e,J)}function Yt(t,e){return yt(">",t,e,J)}function Gt(t,e){return yt(">=",t,e,J)}function Ht(...t){return t.length<=1?t[0]:t.slice(1).reduce(((t,e)=>At(t,e)),t[0])}function At(t,e){return yt("||",t,e,J)}function Vt(...t){return t.length<=1?t[0]:t.slice(1).reduce(((t,e)=>Jt(t,e)),t[0])}function Jt(t,e){return yt("&&",t,e,J)}function Kt(t){return mt("abs",t)}function Lt(t){return mt("acos",t)}function Ot(t){return mt("acosh",t)}function Qt(t){return mt("all",t,J)}function Wt(t){return mt("any",t,J)}function Zt(t){return mt("asin",t)}function te(t){return mt("asinh",t)}function ee(t,e){return null==e?mt("atan",t):vt("atan",t,e,t.constructor)}function ne(t){return mt("atanh",t)}function re(t){return mt("ceil",t)}function ce(t,e,n){return bt("clamp",t,e,n,t.constructor)}function ie(t){return mt("cos",t)}function ue(t){return mt("cosh",t)}function se(t,e){return vt("cross",t,e,t.constructor)}function oe(t){return mt("dFdX",t)}function le(t){return mt("dFdY",t)}function he(t){return mt("degrees",t)}function ae(t){return mt("determinant",t,_)}function fe(t,e){return vt("distance",t,e,_)}function pe(t,e){return vt("dot",t,e,_)}function de(t,e){return vt("equal",t,e,N(t))}function we(t,e){return vt("greaterThan",t,e,N(t))}function ye(t,e){return vt("greaterThanEqual",t,e,N(t))}function me(t){return mt("exp",t)}function ve(t){return mt("exp2",t)}function be(t,e,n){return bt("faceforward",t,e,n)}function xe(t){return mt("floatBitsToInt",t,T(t))}function Ie(t){return mt("floatBitsToUint",t,$(t))}function ge(t){return mt("floor",t)}function Ee(t){return mt("fract",t)}function $e(t){return mt("fwidth",t)}function ze(t){return mt("intBitsToFloat",t,z(t))}function Te(t){return mt("uintBitsToFloat",t,E(t))}function Ne(t){return mt("inverse",t,_)}function De(t){return mt("inversesqrt",t)}function ke(t){return mt("isinf",t,N(t))}function Fe(t){return mt("isnan",t,N(t))}function Me(t){return mt("length",t,_)}function Se(t,e){return vt("lessThan",t,e,N(t))}function je(t,e){return vt("lessThanEqual",t,e,N(t))}function Re(t){return mt("log",t)}function Pe(t){return mt("log2",t)}function Be(t,e){return vt("matrixCompMult",t,e)}function qe(t,e){return vt("max",t,e)}function Ue(t,e){return vt("min",t,e)}function _e(t,e,n){return bt("mix",t,e,n)}function Ce(t,e){return vt("mod",t,e)}function Xe(t,e){throw new Error("modf not implemented")}function Ye(t){return mt("normalize",t)}function Ge(t){return"bool"===t.type?mt("!",t):mt("not",t)}function He(t,e){return vt("notEqual",t,e,N(t))}function Ae(t,e){throw new Error("Impl type?")}function Ve(t){return mt("packHalf2x16",t,G)}function Je(t){return mt("packUnorm2x16",t,G)}function Ke(t){return mt("packSnorm2x16",t,G)}function Le(t,e){return vt("pow",t,e)}function Oe(t){return mt("radians",t)}function Qe(t,e){return vt("reflect",t,e)}function We(t,e,n){return bt("refract",t,e,n)}function Ze(t){return mt("round",t)}function tn(t){return mt("roundEven",t)}function en(t){return mt("sign",t)}function nn(t){return mt("sin",t)}function rn(t){return mt("sinh",t)}function cn(t,e,n){return bt("smoothstep",t,e,n)}function un(t){return mt("sqrt",t)}function sn(t,e){return vt("step",t,e,e.constructor)}function on(t){return mt("tan",t)}function ln(t){return mt("tanh",t)}function hn(t,e,n){throw new Error("Impl type")}function an(t,e,n,r){throw new Error("Impl type")}function fn(t,e,n){throw new Error("Impl type")}function pn(t,e){return vt("texture",t,e,Y)}function dn(t,e,n,r){throw new Error("Impl type")}function wn(t,e,n,r,c){throw new Error("Impl type")}function yn(t,e,n){throw new Error("Impl type")}function mn(t,e,n,r){throw new Error("Impl type")}function vn(t,e,n,r){throw new Error("Impl type")}function bn(t,e,n){throw new Error("Impl type")}function xn(t,e,n,r){throw new Error("Impl type")}function In(t,e,n,r,c){throw new Error("Impl type")}function gn(t,e,n){throw new Error("Impl type")}function En(t,e,n,r){throw new Error("Impl type")}function $n(t,e,n,r){throw new Error("Impl type")}function zn(t,e){throw new Error("Impl type")}function Tn(t){return mt("transpose",t)}function Nn(t){return mt("trunc",t)}function Dn(t){return mt("unpackHalf2x16",t,C)}function kn(t){return mt("unpackUnorm2x16",t,C)}function Fn(t){return mt("unpackSnorm2x16",t,C)}function Mn(t,e){const{initialValue:n,xRange:r,yRange:c,callback:i}=e,[u,s]=r,[o,l]=c,h=new W(0).setMutable().setDebugName("iterX"),a=new W(0).setMutable().setDebugName("iterY"),f=n.setMutable().setDebugName("accumulator"),p=i(f,t.get(h,a),h,a).setDebugName("callback"),d=It({iterX:h,iterY:a,accumulator:f},n.constructor,p,(({out:t,iterX:e,iterY:n,accumulator:r,subgraph:c})=>`\nfor (${n} = ${o}; ${n} < ${l}; ${n}++) {\n for (${e} = ${u}; ${e} < ${s}; ${e}++) {\n\n ${c.body}\n\n ${r} = ${c.varName};\n }\n}\n${t} = ${r};\n`)).setDebugName("reduce2DBody");return d}export{K as BVec2,L as BVec3,Q as BVec4,J as Bool,B as FixedArray,q as FixedArray2D,_ as Float,Z as IVec2,tt as IVec3,et as IVec4,W as Int,nt as Mat2,rt as Mat3,ct as Mat4,U as Sampler2D,G as UInt,H as UVec2,A as UVec3,V as UVec4,C as Vec2,X as Vec3,Y as Vec4,At as _or,Kt as abs,Lt as acos,Ot as acosh,Ft as add,Qt as all,Vt as and,Wt as any,Zt as asin,te as asinh,ee as atan,ne as atanh,Pt as bitAnd,Bt as bitOr,Rt as bitRShift,jt as bitShift,qt as bitXor,It as block,re as ceil,ce as clamp,Tt as cond,ie as cos,ue as cosh,se as cross,oe as dFdx,le as dFdy,dt as definePropertyAccess,wt as definePropertyAccess2D,he as degrees,ae as determinant,fe as distance,kt as divide,pe as dot,Ut as equal,de as equalComponent,me as exp,ve as exp2,be as faceforward,Et as findIndex,st as float,xe as floatBitsToInt,Ie as floatBitsToUint,ge as floor,Ee as fract,$e as fwidth,k as getTypeElementLengthForType,$t as glslFindIndex,Yt as greaterThan,we as greaterThanComponent,Gt as greaterThanEqual,ye as greaterThanEqualComponent,zt as ifElse,ut as int,ze as intBitsToFloat,St as intMod,Ne as inverse,De as inversesqrt,ke as isinf,Fe as isnan,Me as length,Ct as lessThan,Se as lessThanComponent,Xt as lessThanEqual,je as lessThanEqualComponent,Re as log,Pe as log2,at as mat2,ft as mat3,pt as mat4,Be as matrixCompMult,qe as max,Ue as min,_e as mix,Ce as mod,Xe as modf,Dt as multiply,gt as namedScope,xt as negate,Ye as normalize,Ge as not,_t as notEqual,He as notEqualComponent,Ht as or,Ae as outerProduct,Ve as packHalf2x16,Ke as packSnorm2x16,Je as packUnorm2x16,Le as pow,Oe as radians,Mn as reduce2D,Qe as reflect,We as refract,Ze as round,tn as roundEven,en as sign,nn as sin,rn as sinh,cn as smoothstep,un as sqrt,sn as step,Mt as subtract,on as tan,ln as tanh,hn as texelFetch,an as texelFetchOffset,fn as texture,pn as texture2D,dn as textureGrad,wn as textureGradOffset,yn as textureLod,mn as textureLodOffset,vn as textureOffset,bn as textureProj,xn as textureProjGrad,In as textureProjGradOffset,gn as textureProjLod,En as textureProjLodOffset,$n as textureProjOffset,zn as textureSize,T as transformFloatToInt,$ as transformFloatToUInt,z as transformIntToFloat,N as transformTypeToBooleanType,E as transformUIntToFloat,Tn as transpose,Nn as trunc,Te as uintBitsToFloat,Dn as unpackHalf2x16,Fn as unpackSnorm2x16,kn as unpackUnorm2x16,ot as vec2,lt as vec3,ht as vec4,Nt as when};