PageSourceSearch

https://www.bouyguestelecom.fr/statics/landingpages/_next/static/chunks/3303.4a29c97fce4a7a5e.js

js bouyguestelecom.fr collected 2026-09-24 08:40:38 UTC 76,251 bytes, 33 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3303],{444:(t,e,i)=>{var r;i.d(e,{DW:()=>b,GA:()=>v,mv:()=>r}),function(t){t.Local="Local",t.Global="Global"}(r||(r={}));class n{generateSource(t){let e=[];for(let i=1;i<this.length;i++)e.push(`vec4 atom${i} = texture(${t.animationTexture}, (pointer + 0.5) / size);`),e.push("pointer.x += 1.0;");for(let t=0;t<this.ins;t++)e.push("top--;"),e.push(`vec4 in${this.ins-t-1} = stack[top];`);for(let t=0;t<this.outs;t++)e.push(`vec4 out${t};`);let{microcode:i}=this;for(let t of i)e.push(t);for(let t=0;t<this.outs;t++)e.push(`stack[top] = out${t};`),e.push("top++;"),e.push(`if (top >= ${g}) { top = ${g-1}; }`);return e}}let o=128;class s extends n{constructor(){super(...arguments),this.opcode=++o,this.length=1,this.ins=0,this.outs=0,this.microcode=["break;"]}encode(){return[[this.opcode,0,0,0]]}}class a extends n{constructor(){super(...arguments),this.opcode=++o,this.length=1,this.ins=0,this.outs=1,this.microcode=["out0 = vec4(atom0.y, atom0.y, atom0.y, atom0.y);"]}encode(t){return[[this.opcode,t,0,0]]}}class l extends n{constructor(){super(...arguments),this.opcode=++o,this.length=1,this.ins=0,this.outs=1,this.microcode=["out0 = vec4(atom0.yzw, 0.0);"]}encode(t){return[[this.opcode,t[0]||0,t[1]||0,t[2]||0]]}}class u extends n{constructor(){super(...arguments),this.opcode=++o,this.length=2,this.ins=0,this.outs=1,this.microcode=["out0 = atom1;"]}encode(t){return[[this.opcode,0,0,0],t]}}function c(t){return[`float duration = clamp(${t.duration}, 0.05, 3600.0);`,`float startTimeOffset = ${t.startTimeOffset};`,`float repeatDelay = ${t.repeatDelay};`,`float timeOriginSelector = ${t.timeOriginSelector};`,`float repeatType = ${t.repeatType};`,`float easing = ${t.easing};`,`float playAnimation = ${t.playAnimation} * (1.0 - step(0.0, -${t.duration}));`,`float reverseAnimation = ${t.reverseAnimation};`,"float time = globalTime - (timeOriginSelector == 1.0 ? localTimeOrigin : 0.0);","time *= playAnimation;","time *= 1.0 - reverseAnimation * 2.0;","float period = duration + repeatDelay;","time += reverseAnimation == 1.0 ? (period - startTimeOffset - 0.001) : startTimeOffset + 0.001;","float omega = time / period;","float oi = floor(omega);","omega = repeatType == 1.0 || repeatType == 3.0 ? omega - oi : omega;","float of = omega * period;","of = (clamp(of, reverseAnimation * repeatDelay, period - (1.0 - reverseAnimation) * repeatDelay) - reverseAnimation * repeatDelay) / duration;","of = easing == 2.0 ? pow(of, 3.0) : of;","of = easing == 3.0 ? 1.0 - pow(1.0 - of, 3.0) : of;","of = easing == 4.0 ? of < 0.5 ? 4.0 * pow(of, 3.0) : 1.0 - pow(-2.0 * of + 2.0, 3.0) / 2.0 : of;","bool oscillate = repeatType == 3.0 && mod(oi, 2.0) == 1.0;",`${t.out} = oscillate ? 1.0 - of : of;`]}let p={Linear:1,EaseIn:2,EaseOut:3,EaseInOut:4},d={Loop:1,None:2,Oscillate:3},h={Local:1,Global:2};function y(t){let e=p[t.easing],i=d[t.repeatType],r=h[t.timeOriginSelector];return[[t.duration,t.startTimeOffset,t.repeatDelay,r],[i,e,t.playAnimation,t.reverseAnimation]]}class f extends n{constructor(){super(...arguments),this.opcode=++o,this.length=10,this.ins=1,this.outs=1,this.microcode=["vec2 fromTranslation = atom1.xy;","vec2 toTranslation = atom1.zw;","float fromRotation = atom2.x;","float toRotation = atom2.y;","float fromScale = atom2.z;","float toScale = atom2.w;","bool relativeTranslation = atom9.x == 1.0;","bool absoluteScale = atom9.y == 1.0;","vec2 translationMultiplier = relativeTranslation ? pixelDimensions : vec2(1.0, 1.0);","float scaleDivisor = absoluteScale ? pixelDimensions.y : 1.0;","float fTranslation;","{",...c({duration:"atom3.x",startTimeOffset:"atom3.y",repeatDelay:"atom3.z",timeOriginSelector:"atom3.w",repeatType:"atom4.x",easing:"atom4.y",playAnimation:"atom4.z",reverseAnimation:"atom4.w",out:"fTranslation"}),"}","float fRotation;","{",...c({duration:"atom5.x",startTimeOffset:"atom5.y",repeatDelay:"atom5.z",timeOriginSelector:"atom5.w",repeatType:"atom6.x",easing:"atom6.y",playAnimation:"atom6.z",reverseAnimation:"atom6.w",out:"fRotation"}),"}","float fScale;","{",...c({duration:"atom7.x",startTimeOffset:"atom7.y",repeatDelay:"atom7.z",timeOriginSelector:"atom7.w",repeatType:"atom8.x",easing:"atom8.y",playAnimation:"atom8.z",reverseAnimation:"atom8.w",out:"fScale"}),"}","vec2 aTranslation = mix(fromTranslation, toTranslation, fTranslation);","float aRotation = mix(fromRotation, toRotation, fRotation);","float aScale = mix(fromScale, toScale, fScale);","vec2 pTranslation = in0.xy;","float pRotation = in0.z;","float pScale = in0.w;","aTranslation *= translationMultiplier;","aScale /= scaleDivisor;","float rotation = pRotation + aRotation;","float scale = pScale * aScale;","float sin1 = sin(pRotation);","float cos1 = cos(pRotation);","float s1 = pScale;","float x1 = pTranslation.x;","float y1 = pTranslation.y;","float x2 = aTranslation.x;","float y2 = aTranslation.y;","\n    vec2 translation = vec2(\n      cos1 * s1 * x2 - sin1 * s1 * y2 + x1,\n      sin1 * s1 * x2 + cos1 * s1 * y2 + y1\n    );\n    ","out0 = vec4(translation, rotation, scale);"]}encode(t){return[[this.opcode,0,0,0],[t.translation.from[0],t.translation.from[1],t.translation.to[0],t.translation.to[1]],[t.rotation.from,t.rotation.to,t.scale.from,t.scale.to],...y(t.translation.timing),...y(t.rotation.timing),...y(t.scale.timing),[+!!t.relativeTranslation,+!!t.absoluteScale,0,0]]}}class m extends n{constructor(){super(...arguments),this.opcode=++o,this.length=7,this.ins=1,this.outs=1,this.microcode=["float fromOpacity = atom0.y;","float toOpacity = atom0.z;","vec4 fromColor = atom1;","vec4 toColor = atom2;","float fColor;","{",...c({duration:"atom3.x",startTimeOffset:"atom3.y",repeatDelay:"atom3.z",timeOriginSelector:"atom3.w",repeatType:"atom4.x",easing:"atom4.y",playAnimation:"atom4.z",reverseAnimation:"atom4.w",out:"fColor"}),"}","float fOpacity;","{",...c({duration:"atom5.x",startTimeOffset:"atom5.y",repeatDelay:"atom5.z",timeOriginSelector:"atom5.w",repeatType:"atom6.x",easing:"atom6.y",playAnimation:"atom6.z",reverseAnimation:"atom6.w",out:"fOpacity"}),"}","vec4 aColor = mix(fromColor, toColor, fColor);","aColor.a *= mix(fromOpacity, toOpacity, fOpacity);","vec4 pColor = in0;","out0 = aColor * pColor;"]}encode(t){return[[this.opcode,t.opacity.from,t.opacity.to,0],[t.color.from[0],t.color.from[1],t.color.from[2],t.color.from[3]],[t.color.to[0],t.color.to[1],t.color.to[2],t.color.to[3]],...y(t.color.timing),...y(t.opacity.timing)]}}let v={scalar:new a,vector3:new l,vector4:new u,animatedTransform:new f,animatedColor:new m,ret:new s},g=4;function b(t){let e=[];for(let i in e.push(`float globalTime = ${t.globalTime};`),e.push(`float localTimeOrigin = ${t.localTimeOrigin};`),e.push(`vec2 pointer = ${t.animationPointer};`),e.push(`vec2 size = ${t.animationTextureSize};`),e.push("int top = 0;"),e.push(`vec4 stack[${g}];`),e.push("for (int counter = 0; counter < 40; counter++) {"),e.push(`vec4 atom0 = texture(${t.animationTexture}, (pointer + 0.5) / size);`),e.push("pointer.x += 1.0;"),e.push(`vec2 pixelDimensions = ${t.pixelDimensions};`),e.push("if (false) {"),v){let r=v[i];for(let i of(e.push(`} else if (int(atom0.x) == ${r.opcode}) {`),r.generateSource(t)))e.push(i)}return e.push("} // End if-else."),e.push("} // End for."),e.push(`${t.out} = top > 0 ? stack[top - 1] : vec4(0.0);`),e.join("\n")}},2159:(t,e,i)=>{i.d(e,{G5:()=>n,G7:()=>s,Mg:()=>
1o,TL:()=>l,cF:()=>a,g_:()=>u});var r=i(33402);function n(t){return null!=t.visualVariableSizeMinMaxValue||null!=t.visualVariableSizeScaleStops||null!=t.visualVariableSizeStops||null!=t.visualVariableSizeUnitValue}function o(t,e,i){if(n(t)){let r=t.storage.getSizeValue(e);return t.visualVariableSizeMinMaxValue?.getSize(r,i)??t.visualVariableSizeScaleStops?.getSizeForViewScale(t.view.currentScale)??t.visualVariableSizeStops?.getSize(r,i)??t.visualVariableSizeUnitValue?.getSize(r,i)}return i}function s(t,e,i,n=new r.x(!1)){if(null==t.visualVariableColor)return i;let o=t.storage.getColorValue(e);return t.visualVariableColor.getColor(o,i,n)}function a(t,e){if(null==t.visualVariableOpacity)return new r.nt(1);let i=t.storage.getOpacityValue(e);return t.visualVariableOpacity.getOpacity(i)}function l(t,e){if(null==t.visualVariableRotation)return r.U.identity();let i=t.storage.getRotationValue(e);return t.visualVariableRotation.getVVRotationMat3(i)}function u(t,e){if(null==t.visualVariableRotation)return new r.nt(0);let i=t.storage.getRotationValue(e);return t.visualVariableRotation.getNormalizedAngle(i)}},5017:(t,e,i)=>{i.d(e,{$0:()=>w,Xc:()=>m,cM:()=>T,fF:()=>v,fg:()=>g,o7:()=>x,xw:()=>_});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(74507),l=i(41828),u=i(34449),c=i(90135),p=i(61402),d=i(12756),h=i(39136),y=i(26146),f=i(2159);class m extends s.rz{}(0,r._)([(0,n.C5)(3,o.Zb)],m.prototype,"color",void 0),(0,r._)([(0,n.C5)(4,o.ZY)],m.prototype,"offset",void 0),(0,r._)([(0,n.C5)(5,o.ZY)],m.prototype,"normal",void 0),(0,r._)([(0,n.C5)(6,o.nt)],m.prototype,"halfWidth",void 0),(0,r._)([(0,n.C5)(7,o.nt)],m.prototype,"referenceHalfWidth",void 0),(0,r._)([(0,n.C5)(8,o.ZY)],m.prototype,"zoomRange",void 0);class v extends s.DM{}class g extends n.k2{}function b(t){return(0,o.T9)(new o.nt(a.Fb).multiply((0,o.PM)(t,
1new o.nt(a.J5))),new o.nt(1))}function _(t,e){let{halfWidth:i,normal:r}=t,n=b(i),s=(0,o.Bw)(r).multiply(i);return(0,o.qE)(n.multiply(i.subtract(s)).divide(e.add(n).subtract(new o.nt(1))),new o.nt(0),new o.nt(1))}function w(t,e){let{id:i,offset:r,pos:n,normal:s,zoomRange:l}=e,{displayViewScreenMat3:u,displayViewMat3:c}=t.view,p=(0,f.G7)(t,i,e.color),d=(0,f.cF)(t,i),h=function(t,e){let{id:i,halfWidth:r,referenceHalfWidth:n}=e;if((0,f.G5)(t)){let e=new o.nt(2).multiply(n),s=(0,f.Mg)(t,i,e);return new o.nt(.5).multiply(r.divide((0,o.T9)(n,new o.nt(a.Ni)))).multiply(s)}return r}(t,e),y=new o.nt(.5).multiply(t.antialiasingControls.antialiasing),m=(0,o.T9)(h.add(y),new o.nt(.45)).add(new o.nt(.1).multiply(y)),v=b(m).multiply(m).multiply(r),g=c.multiply(new o.eB(v,new o.nt(0))),_=u.multiply(new o.eB(n,new o.nt(1))).add(g),w=new o.nt(2).multiply((0,o.PM)(h,new o.nt(0))).add(t.clip(i,l)),x=new o.Zb(_.xy,w,1);return{color:p,opacity:d,halfWidth:m,normal:s,scaledOffset:v,scaledHalfWidth:h,glPosition:new o.Zb(x.xy,w,1)}}function x(t,e){let{opacity:i,color:r}=t,n=_(t,e);return i.multiply(r).multiply(n)}(0,r._)([(0,n.Pi)(o.nt)],g.prototype,"antialiasing",void 0),(0,r._)([(0,n.Pi)(o.nt)],g.prototype,"blur",void 0);class T extends s.f_{constructor(){super(...arguments),this.computeAttributes={pos:["nextPos1","nextPos2"]}}vertex(t,e){let i=w(this,t);return{...i,...this.maybeRunHittest(t,e,i.halfWidth)}}fragment(t){let e=x(t,this.antialiasingControls.blur);return this.getFragmentOutput(e,t)}hittest(t,e,i){let{viewMat3:r,tileMat3:n}=this.view,s=r.multiply(n),a=s.multiply(new o.eB(t.pos,1)),u=s.multiply(new o.eB(e.nextPos1,1)),c=s.multiply(new o.eB(e.nextPos2,1)),{distance:p,smallSymbolDistance:d,smallSymbolSizeThreshold:h}=this.hittestRequest,y=(0,o.PM)(i,h.multiply(.5)).multiply(p.subtract(d)),f=this.hittestRequest.position;return(0,o.jk)((0,l.E2)(f,a.xy,u.xy),(0,l.E2)(f,a.xy,c.xy)).subtract(i).add(y)}}(0,r._)([(0,n.Pi)(g)],T.prototype,"antialiasingControls",void 0),(0,r._)([(0,n.uK)(u._)],T.prototype,"visualVariableColor",void 0),(0,r._)([(0,n.uK)(c.i)],T.prototype,"visualVariableOpacity",void 0),(0,r._)([(0,n.uK)(p.n)],T.prototype,"visualVariableSizeMinMaxValue",void 0),(0,r._)([(0,n.uK)(d.F)],T.prototype,"visualVariableSizeScaleStops",void 0),(0,r._)([(0,n.uK)(h.N)],T.prototype,"visualVariableSizeStops",void 0),(0,r._)([(0,n.uK)(y.d)],T.prototype,"visualVariableSizeUnitValue",void 0),(0,r._)([(0,r.a)(0,(0,n.hF)(m)),(0,r.a)(1,(0,n.hF)(s.$Z))],T.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(v))],T.prototype,"fragment",null)},6898:(t,e,i)=>{i.d(e,{_:()=>p,z:()=>d});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(41828),l=i(34449),u=i(90135),c=i(2159);class p extends s.rz{}(0,r._)([(0,n.C5)(3,o.Zb)],p.prototype,"color",void 0),(0,r._)([(0,n.C5)(4,o.ZY)],p.prototype,"zoomRange",void 0);class d extends s.f_{constructor(){super(...arguments),this.computeAttributes={pos:["nextPos1","nextPos2"]}}vertex(t,e){let i=(0,c.cF)(this,t.id),r=(0,c.G7)(this,t.id,t.color).multiply(i),n=this.view.displayViewScreenMat3.multiply(new o.eB(t.pos.xy,1)),s=this.clip(t.id,t.zoomRange);return{glPosition:new o.Zb(n.xy,s,1),color:r,...this.maybeRunHittest(t,e,null)}}
1fragment(t){return this.getFragmentOutput(t.color,t,new o.nt(0))}hittest(t,e){return(0,a.Lq)(this,t,e)}}(0,r._)([(0,n.uK)(l._)],d.prototype,"visualVariableColor",void 0),(0,r._)([(0,n.uK)(u.i)],d.prototype,"visualVariableOpacity",void 0),(0,r._)([(0,r.a)(0,(0,n.hF)(p)),(0,r.a)(1,(0,n.hF)(s.$Z))],d.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(s.DM))],d.prototype,"fragment",null)},12686:(t,e,i)=>{i.d(e,{A1:()=>h,tA:()=>y});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(5017),l=i(71058),u=i(90402),c=i(66892),p=i(69368);class d extends c.wG{}(0,r._)([(0,n.C5)(9,o.Zb)],d.prototype,"tlbr",void 0),(0,r._)([(0,n.C5)(10,o.nt)],d.prototype,"inverseRasterizationScale",void 0);class h extends c.A7{}class y extends c.nj{vertex(t,e){return{...(0,c.Yb)(this,t,e),...(0,p._u)(this,t)}}fragment(t){let{isOutline:e}=t,i=(0,o.MM)(e,new o.nt(.5)),r=(0,a.o7)(t,this.antialiasingControls.blur),n=(0,p.dW)(t,this.mosaicInfo),s=(0,o.Tk)(i,r,n),l=(0,o.Tk)(i,new o.nt(1/255),new o.nt(0));return this.getFragmentOutput(s,t,l)}}(0,r._)([(0,n.Pi)(u.b)],y.prototype,"mosaicInfo",void 0),(0,r._)([(0,n.Pi)(l.P)],y.prototype,"localTileOffset",void 0),(0,r._)([(0,r.a)(0,(0,n.hF)(d)),(0,r.a)(1,(0,n.hF)(s.$Z))],y.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(h))],y.prototype,"fragment",null)},12756:(t,e,i)=>{i.d(e,{F:()=>s});var r=i(49493),n=i(80256),o=i(33402);class s extends n.k2{getSizeForViewScale(t){return(0,o.j1)([(0,o.$5)(t,this.values.first()),this.sizes.first()],[(0,o.aX)(t,this.values.last()),this.sizes.last()],[!0,()=>{let e=this.values.findIndex(e=>(0,o.MM)(e,t)),i=this.values.get(e),r=e.subtract(1),n=this.values.get(r),s=t.subtract(n).divide(i.subtract(n));return(0,o.jh)(this.sizes.get(r),this.sizes.get(e),s)}])}}(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],s.prototype,"sizes",void 0),(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],s.prototype,"values",void 0)},18164:(t,e,i)=>{i.d(e,{c:()=>r});let r={bitset:{isSDF:0,isMapAligned:1,scaleSymbolsProportionally:2,overrideOutlineColor:3,colorLocked:4,isStroke:5}}},25913:(t,e,i)=>{function r(t,e){let i=[];for(i.push(e);i.length;){let e=i.pop();if("object"==typeof e&&!t.has(e.uid))for(let r of(t.add(e.uid),e.children))i.push(r)}}i.d(e,{XL:()=>u,aw:()=>p,rR:()=>c,rz:()=>r,vA:()=>o,vL:()=>s,zg:()=>l});class n{constructor(){this.uid=n.NodeCount++,this._debugName=null,this._isMutable=!1,this.isImplicit=!1}get isMutable(){return this._isMutable}setMutable(){return this._isMutable=!0,this}setDebugName(t){return t=t.split(" ").map((t,e)=>e>0?t.charAt(0).toUpperCase()+t.slice(1):t).join(""),this._debugName=t,this.isImplicit&&this.children[0]instanceof n&&this.children[0].setDebugName(t),this}get debugInfo(){return{name:this._debugName??""}}cloneInto(t){t._debugName=this._debugName,t._isMutable=this._isMutable,t.isImplicit=this.isImplicit,t.uid=this.uid}}function o(t){return"object"==typeof t?t.clone():t}n.NodeCount=0;class s extends n{constructor(){super(...arguments),this.shaderType="primitive-node"}}class a extends n{constructor(t){super(),this.child=t,this.shaderType="scope-node"}get children(){return[this.child]}clone(){let t=new a(o(this.child));return this.cloneInto(t),t}}class l extends n{constructor(t,e,i){super(),this.property=t,this.target=e,this.returnType=i,this.shaderType="property-access-node"}get children(){let t=[this.target];return"string"!=typeof this.property&&t.push(this.property),t}clone(){let t=new l(this.property,o(this.target),this.returnType);return this.cloneInto(t),t}}class u extends n{constructor(t,e,i){super(),this.condition=t,this.ifTrue=e,this.ifFalse=i,this.shaderType="condition-node"}get children(){return[this.condition,this.ifTrue,this.ifFalse]}clone(){let t=o(this.ifTrue),e=this.ifFalse?o(this.ifFalse):null,i=new u(this.condition,t,e);return this.cloneInto(i),i}}class c extends n{constructor(t,e,i,r){super(),this.captureList=t,this.returnType=e,this.generator=r,this.shaderType="block-node",i&&(this.subgraph=new a(i))}get children(){return Object.keys(this.captureList).map(t=>this.captureList[t]).concat(this.subgraph??[])}clone(){let t={};for(let e in this.captureList)t[e]=o(this.captureList[e]);let e=new c(t,this.returnType,this.subgraph?o(this.subgraph.child):this.subgraph,this.generator);return this.cloneInto(e),e}}class p extends n{constructor(t,e,i,r,n,o=!1){super(),this.token=t,this._children=e,this.isInfix=i,this.isPropertyAccess=r,this.returnType=n,this.isTernary=o,this.shaderType="function-node"}get children(){return this._children}clone(){let t=new p(this.token,this._children.map(o),this.isInfix,this.isPropertyAccess,this.returnType,this.isTernary);return this.cloneInto(t),t}}}
1,26146:(t,e,i)=>{i.d(e,{d:()=>a});var r=i(49493),n=i(80256),o=i(33402),s=i(81203);class a extends n.k2{getSize(t,e){return(0,o.Tk)((0,s.M8)(t),e,t.multiply(this.unitValueToPixelsRatio))}}(0,r._)([(0,n.Pi)(o.nt)],a.prototype,"unitValueToPixelsRatio",void 0)},31771:(t,e,i)=>{i.d(e,{F:()=>p});var r=i(49493),n=i(29498),o=i(74552),s=i(68667),a=i(23096),l=i(9491);i(64988),i(32243);var u=i(44708),c=i(7705);let p=class extends n.A{constructor(t){super(t),this.debugName="",this._updatingHandles=new c.U,this._idToUpdatingState=new s.A}get updating(){let t=this._updatingHandles.updating||Array.from(this._idToUpdatingState.values()).some(t=>t);if((0,o.A)("esri-2d-log-updating")){let e=Array.from(this._idToUpdatingState.entries()).map(([t,e])=>`-> ${t}: ${e}`).join("\n");console.log(`${this.debugName}: Updating: ${t}
2-> Handles: ${this._updatingHandles.updating}
3${e}`)}return t}addUpdateTracking(t,e){let i=(0,a.wB)(()=>e.updating,e=>this._idToUpdatingState.set(t,e),{sync:!0});this.addHandles(i)}addPromise(t){return this._updatingHandles.addPromise(t)}};(0,r._)([(0,l.MZ)({constructOnly:!0})],p.prototype,"debugName",void 0),(0,r._)([(0,l.MZ)({readOnly:!0})],p.prototype,"updating",null),p=(0,r._)([(0,u.$)("esri.views.2d.layers.support.UpdateTracking2D")],p)},33402:(t,e,i)=>{i.d(e,{$5:()=>ty,$I:()=>Z,AU:()=>tN,Ai:()=>N,Bw:()=>tC,F8:()=>tL,Gb:()=>tu,Io:()=>tA,LC:()=>td,LI:()=>tU,MM:()=>tf,My:()=>w,Ny:()=>E,Om:()=>tP,PM:()=>tZ,RI:()=>tI,RZ:()=>tR,S8:()=>tk,Sj:()=>tc,T9:()=>tV,TF:()=>tE,Tk:()=>tr,U:()=>R,US:()=>tK,Uo:()=>tg,Wh:()=>B,Xe:()=>th,ZY:()=>S,Zb:()=>A,Zc:()=>H,aX:()=>tm,eB:()=>$,eR:()=>G,fV:()=>j,gn:()=>t$,j1:()=>tn,jc:()=>tM,jh:()=>tz,jk:()=>tF,ln:()=>Y,lw:()=>to,mk:()=>tT,n7:()=>tD,nf:()=>tp,nt:()=>T,om:()=>ti,or:()=>tv,qE:()=>tS,rY:()=>tx,tn:()=>tb,w0:()=>W,x:()=>V,z7:()=>x,ze:()=>te,zi:()=>tO});var r,n,o,s,a,l,u,c,p,d,h,y,f,m,v=i(49493),g=i(25913);function b(t){return new Proxy(t,{construct:(t,e,i)=>(function t(e){return new Proxy(e,{get(i,r){if("constructor"===r)return new Proxy(i.constructor,{construct:(e,i,r)=>t(new e(...i))});if(r in i)return i[r];if("string"==typeof r){let t=function(t){for(let e of[["float","vec2","vec3","vec4"],["int","ivec2","ivec3","ivec4"],["uint","uvec2","uvec3","uvec4"],["bool","bvec2","bvec3","bvec4"]])if(e.includes(t))return e.map(t=>K[t]);throw Error("Unable to find type family")}(e.type);return q(e,r,t[r.length-1])}}})})(new t(...e))})}class _ extends Error{}let w=r=class extends g.vL{constructor(t,e){super(),this.elementType=t,this.size=e,this.children=[],this.type="array"}clone(){let t=new r(this.elementType,this.size);return super.cloneInto(t),t}get(t){if("number"==typeof t){let e=new N(t);return e.isImplicit=!0,q(this,e,this.elementType.constructor)}return q(this,t,this.elementType.constructor)}last(){return this.get(this.size-1)}first(){return this.get(0)}findIndex(t,e,i){return function(t,e,i=0,r=t.size){let n=new N(i).setMutable().setDebugName("FindIndexIterator"),o=e(t.get(n)).setDebugName("FindIndexPredicate");return ti({iter:n},N,o,({out:t,iter:e,subgraph:i})=>`
4${t} = -1;
5
6for (; ${e} < ${r}; ${e}++) {
7
8${i.body}
9
10  if (${i.varName}) {
11    ${t} = ${e};
12    break;
13  }
14
15}
16`).setDebugName("FindIndexBlock")}(this,t,e,i)}glslFindIndex(t,e,i){return function(t,e,i=0,r=t.size){return ti({array:t},N,null,({out:t,array:n})=>`
17${t} = -1;
18for (int i = ${i}; i < ${r}; i++) {
19  bool condition;
20  ${e({array:n,i:"i",out:"condition"})}
21  if (condition) {
22    ${t} = i;
23    break;
24  }
25}
26`).setDebugName("GlslFindIndexBlock")}(this,t,e,i)}static ofType(t,e){return new Proxy(r,{construct:(i,n)=>new r(new t,e)})}};w.type="array",w=r=(0,v._)([function(t){return new Proxy(t,{construct:(t,e,i)=>{var r;return new Proxy(r=new t(...e),{get(t,e){if(e in t)return t[e];if("string"==typeof e){let t=parseInt(e,10);if(!isNaN(t))return q(r,`[${t}]`,r.elementType.constructor)}}})}})}],w);class x extends g.vL{constructor(){super(...arguments),this.type="sampler2D",this.children=[]}clone(){let t=new x;return t.children=this.children.map(g.vA),super.cloneInto(t),t}}x.type="sampler2D";class T extends g.vL{constructor(t){super(),this.type="float",this.children=[t]}clone(){let t=new T((0,g.vA)(this.children[0]));return super.cloneInto(t),t}multiply(t){return to(this,"number"==typeof t?O(t,T):t)}divide(t){return ts(this,"number"==typeof t?O(t,T):t)}add(t){return ta(this,"number"==typeof t?O(t,T):t)}subtract(t){return tl(this,"number"==typeof t?O(t,T):t)}}T.type="float";let S=n=class extends g.vL{constructor(t,e){super(),this.type="vec2",this.children=[t,e].filter(t=>null!=t)}clone(){let t=new n((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]));return super.cloneInto(t),t}get 0(){return q(this,"[0]",T)}get 1(){return q(this,"[1]",T)}get 2(){throw new _}get 3(){throw new _}multiply(t){return to(this,"number"==typeof t?O(t,T):t)}divide(t){return ts(this,"number"==typeof t?O(t,T):t)}add(t){return ta(this,"number"==typeof t?O(t,T):t)}subtract(t){return tl(this,"number"==typeof t?O(t,T):t)}};S.type="vec2",S=n=(0,v._)([b],S);
26let $=o=class extends g.vL{constructor(t,e,i){super(),this.type="vec3",this.children=[t,e,i].filter(t=>null!=t)}get 0(){return q(this,"[0]",T)}get 1(){return q(this,"[1]",T)}get 2(){return q(this,"[2]",T)}get 3(){throw new _}clone(){let t=new o((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]));return super.cloneInto(t),t}multiply(t){return to(this,"number"==typeof t?O(t,T):t)}divide(t){return ts(this,"number"==typeof t?O(t,T):t)}add(t){return ta(this,"number"==typeof t?O(t,T):t)}subtract(t){return tl(this,"number"==typeof t?O(t,T):t)}};$.type="vec3",$=o=(0,v._)([b],$);let A=s=class extends g.vL{constructor(t,e,i,r){super(),this.type="vec4",this.children=[t,e,i,r].filter(t=>null!=t)}clone(){let t=new s((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]));return super.cloneInto(t),t}get 0(){return q(this,"[0]",T)}get 1(){return q(this,"[1]",T)}get 2(){return q(this,"[2]",T)}get 3(){return q(this,"[3]",T)}multiply(t){return to(this,"number"==typeof t?O(t,T):t)}divide(t){return ts(this,"number"==typeof t?O(t,T):t)}add(t){return ta(this,"number"==typeof t?O(t,T):t)}subtract(t){return tl(this,"number"==typeof t?O(t,T):t)}};A.type="vec4",A=s=(0,v._)([b],A);let P=a=class extends g.vL{constructor(t){super(),this.type="uint",this.children=[t]}clone(){let t=new a((0,g.vA)(this.children[0]));return super.cloneInto(t),t}};P.type="uint",P=a=(0,v._)([b],P);let I=l=class extends g.vL{constructor(t,e){super(),this.type="uvec2",this.children=[t,e].filter(t=>null!=t)}clone(){let t=new l((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]));return super.cloneInto(t),t}};I.type="uvec2",I=l=(0,v._)([b],I);let M=u=class extends g.vL{constructor(t,e,i){super(),this.type="uvec3",this.children=[t,e,i].filter(t=>null!=t)}clone(){let t=new u((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]));return super.cloneInto(t),t}};M.type="uvec3",M=u=(0,v._)([b],M);let C=c=class extends g.vL{constructor(t,e,i,r){super(),this.type="uvec4",this.children=[t,e,i,r].filter(t=>null!=t)}clone(){let t=new c((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]));return super.cloneInto(t),t}};C.type="uvec4",C=c=(0,v._)([b],C);class V extends g.vL{constructor(t){super(),this.type="bool",this.children=[t]}and(t){return tg(this,t)}or(t){return tv(this,t)}clone(){let t=new V((0,g.vA)(this.children[0]));return super.cloneInto(t),t}}
26V.type="bool";let F=p=class extends g.vL{constructor(t,e){super(),this.type="bvec2",this.children=[t,e].filter(t=>null!=t)}all(){return t_(this)}any(){return tw(this)}clone(){let t=new p((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]));return super.cloneInto(t),t}};F.type="bvec2",F=p=(0,v._)([b],F);let z=d=class extends g.vL{constructor(t,e,i){super(),this.type="bvec3",this.children=[t,e,i].filter(t=>null!=t)}all(){return t_(this)}any(){return tw(this)}clone(){let t=new d((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]));return super.cloneInto(t),t}};function O(t,e){return"number"==typeof t?new e(t):t}z.type="bvec3",z=d=(0,v._)([b],z);let k=h=class extends g.vL{constructor(t,e,i,r){super(),this.type="bvec4",this.children=[t,e,i,r].filter(t=>null!=t)}all(){return t_(this)}any(){return tw(this)}clone(){let t=new h((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]));return super.cloneInto(t),t}};k.type="bvec4",k=h=(0,v._)([b],k);class N extends g.vL{constructor(t){super(),this.type="int",this.children=[t]}multiply(t){return to(this,O(t,N))}add(t){return ta(this,O(t,N))}subtract(t){return tl(this,O(t,N))}divide(t){return ts(this,O(t,N))}clone(){let t=new N((0,g.vA)(this.children[0]));return super.cloneInto(t),t}}N.type="int";let D=y=class extends g.vL{constructor(t,e){super(),this.type="ivec2",this.children=[t,e].filter(t=>null!=t)}clone(){let t=new y((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]));return super.cloneInto(t),t}};D.type="ivec2",D=y=(0,v._)([b],D);let U=f=class extends g.vL{constructor(t,e,i){super(),this.type="ivec3",this.children=[t,e,i].filter(t=>null!=t)}clone(){let t=new f((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]));return super.cloneInto(t),t}};U.type="ivec3",U=f=(0,v._)([b],U);let L=m=class extends g.vL{constructor(t,e,i,r){super(),this.type="ivec4",this.children=[t,e,i,r].filter(t=>null!=t)}clone(){let t=new m((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]));return super.cloneInto(t),t}};L.type="ivec4",L=m=(0,v._)([b],L);class E extends g.vL{constructor(t,e,i,r){super(),this.type="mat2",this.children=[t,e,i,r]}clone(){let t=new E((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]));return super.cloneInto(t),t}multiply(t){return to(this,t)}}E.type="mat2";class R extends g.vL{static identity(){return new R(1,0,0,0,1,0,0,0,1)}static fromRotation(t){let e=tL(t),i=t$(t);return new R(i,e,0,te(e),i,0,0,0,1)}constructor(t,e,i,r,n,o,s,a,l){super(),this.type="mat3",this.children=[t,e,i,r,n,o,s,a,l]}add(t){return ta(this,t)}multiply(t){return to(this,t)}clone(){let t=new R((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]),(0,g.vA)(this.children[4]),(0,g.vA)(this.children[5]),(0,g.vA)(this.children[6]),(0,g.vA)(this.children[7]),(0,g.vA)(this.children[8]));return super.cloneInto(t),t}}R.type="mat3";class Z extends g.vL{static identity(){return new Z(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}constructor(t,e,i,r,n,o,s,a,l,u,c,p,d,h,y,f){super(),this.type="mat4",this.children=[t,e,i,r,n,o,s,a,l,u,c,p,d,h,y,f]}static fromColumns(t,e,i,r){return new Z(t.x,t.y,t.z,t.w,e.x,e.y,e.z,e.w,i.x,i.y,i.z,i.w,r.x,r.y,r.z,r.w)}multiply(t){return to(this,t)}clone(){let t=new Z((0,g.vA)(this.children[0]),(0,g.vA)(this.children[1]),(0,g.vA)(this.children[2]),(0,g.vA)(this.children[3]),(0,g.vA)(this.children[4]),(0,g.vA)(this.children[5]),(0,g.vA)(this.children[6]),(0,g.vA)(this.children[7]),(0,g.vA)(this.children[8]),(0,g.vA)(this.children[9]),(0,g.vA)(this.children[10]),(0,g.vA)(this.children[11]),(0,g.vA)(this.children[12]),(0,g.vA)(this.children[13]),(0,g.vA)(this.children[14]),(0,g.vA)(this.children[15]));return super.cloneInto(t),t}}Z.type="mat4";let K={float:T,vec2:S,vec3:$,vec4:A,int:N,ivec2:D,ivec3:U,ivec4:L,uint:P,uvec2:I,uvec3:M,uvec4:C,bool:V,bvec2:F,bvec3:z,bvec4:k},B=(...t)=>new N(...t),j=(...t)=>new T(...t),H=(...t)=>new S(...t),G=(...t)=>new $(...t),Y=(...t)=>new A(...t),W=(...t)=>new R(...t);function q(t,e,i){let r=new i(new g.zg(e,t,i));return r.isImplicit=!0,r}function X(t,e,i,r=null){if(r){let n=new r,o=new r(new g.aw(t,[e,i],!0,!1,n));return o.isImplicit=!0,o}if("float"===e.type||"int"===e.type||("mat2"===e.type||"mat3"===e.type||"mat4"===e.type)&&"float"!==i.type){let r=new i.constructor(new g.aw(t,[e,i],!0,!1,i.constructor));return r.isImplicit=!0,r}let n=new e.constructor(new g.aw(t,[e,i],!0,!1,e.constructor));return n.isImplicit=!0,n}function J(t,e,i=e.constructor){let r=new i(new g.aw(t,[e],!1,!1,i));return r.isImplicit=!0,r}function Q(t,e,i,r=e.constructor){let n=new r(new g.aw(t,[e,i],!1,!1,r));return n.isImplicit=!0,n}function tt(t,e,i,r,n=e.constructor){let o=new n(new g.aw(t,[e,i,r],!1,!1,n));return o.isImplicit=!0,o}function te(t){return to(t,j(-1))}function ti(t,e,i,r){return new e(new g.rR(t,e,i,r))}function tr(t,e,i){let r="function"==typeof e?e():e,n="function"==typeof i?i():i,o=new r.constructor(new g.XL(t,r,n));return o.isImplicit=!0,o}function tn(...t){let e=t.map(([t,e])=>"function"==typeof e?[t,e()]:[t,e]),i=e[0][1].constructor,r=e.findIndex(t=>!0===t[0]);if(-1===r)throw Error("A cond must have a fallthrough case with `true`/; ");let n=e.slice(0,r),o=e[r][1],s=new i(n.reduceRight((t,e)=>tr(e[0],e[1],t),o));return s.isImplicit=!0,s}function to(t,e){return X("*",t,e)}function ts(t,e){return X("/",t,e)}function ta(t,e){return X("+",t,e)}function tl(t,e){return X("-",t,e)}function tu(t,e){return X("%",t,e)}function tc(t,e){return X(">>",t,e)}function tp(t,e){return X("&",t,e)}function td(t,e){return X("==",t,e,V)}function th(t,e){return X("<",t,e,V)}function ty(t,e){return X("<=",t,e,V)}function tf(t,e){return X(">",t,e,V)}function tm(t,e){return X(">=",t,e,V)}function tv(...t){return t.length<=1?t[0]:t.slice(1).reduce((t,e)=>X("||",t,e,V),t[0])}function tg(...t){return t.length<=1?t[0]:t.slice(1).reduce((t,e)=>X("&&",t,e,V),t[0])}function tb(t){return J("abs",t)}function t_(t){return J("all",t,V)}function tw(t){return J("any",t,V)}function tx(t,e){return null==e?J("atan",t):Q("atan",t,e,t.constructor)}function tT(t){return J("ceil",t)}function tS(t,e,i){return tt("clamp",t,e,i,t.constructor)}function t$(t){return J("cos",t)}function tA(t,e){return Q("distance",t,e,T)}
26function tP(t,e){return Q("dot",t,e,T)}function tI(t){return J("floor",t)}function tM(t){return J("fract",t)}function tC(t){return J("length",t,T)}function tV(t,e){return Q("max",t,e)}function tF(t,e){return Q("min",t,e)}function tz(t,e,i){return tt("mix",t,e,i)}function tO(t,e){return Q("mod",t,e)}function tk(t){return J("normalize",t)}function tN(t){return"bool"===t.type?J("!",t):J("not",t)}function tD(t,e){return Q("pow",t,e)}function tU(t){return J("round",t)}function tL(t){return J("sin",t)}function tE(t,e,i){return tt("smoothstep",t,e,i)}function tR(t){return J("sqrt",t)}function tZ(t,e){return Q("step",t,e,e.constructor)}function tK(t,e){return Q("texture",t,e,A)}},34449:(t,e,i)=>{i.d(e,{_:()=>a});var r=i(49493),n=i(80256),o=i(33402),s=i(81203);class a extends n.k2{getColor(t,e,i){return(0,o.j1)([(0,o.or)((0,s.M8)(t),i),e],[(0,o.$5)(t,this.values.first()),this.colors.first()],[(0,o.aX)(t,this.values.last()),this.colors.last()],[!0,()=>{let e=this.values.findIndex(e=>(0,o.MM)(e,t)),i=this.values.get(e),r=e.subtract(1),n=this.values.get(r),s=t.subtract(n).divide(i.subtract(n));return(0,o.jh)(this.colors.get(r),this.colors.get(e),s)}])}}(0,r._)([(0,n.Pi)(o.My.ofType(o.Zb,8))],a.prototype,"colors",void 0),(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],a.prototype,"values",void 0)},37272:(t,e,i)=>{i.d(e,{RH:()=>g,cZ:()=>y,v9:()=>f});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(72118),l=i(41828),u=i(5017),c=i(71058),p=i(90402),d=i(66892),h=i(12686);let y=16,f=128;class m extends s.rz{}(0,r._)([(0,n.C5)(3,o.Zb)],m.prototype,"color",void 0),(0,r._)([(0,n.C5)(4,o.Zb)],m.prototype,"tlbr",void 0),(0,r._)([(0,n.C5)(5,o.nt)],m.prototype,"angle",void 0),(0,r._)([(0,n.C5)(6,o.nt)],m.prototype,"aux1",void 0),(0,r._)([(0,n.C5)(7,o.nt)],m.prototype,"aux2",void 0),(0,r._)([(0,n.C5)(8,o.ZY)],m.prototype,"aux3",void 0),(0,r._)([(0,n.C5)(9,o.ZY)],m.prototype,"aux4",void 0),(0,r._)([(0,n.C5)(10,o.ZY)],m.prototype,"zoomRange",void 0);class v extends h.A1{}class g extends d.My{vertex(t,e){let{aux1:i,aux2:r,aux3:n,aux4:s}=t,l={...t,width:i,height:r,offset:n,scale:s.multiply(.0625)},u={...t,halfWidth:i,referenceHalfWidth:r,offset:n,normal:s.subtract(f).multiply(.0625)},c=(0,d.Yb)(this,u),p=(0,a.KP)(this,l),h=(0,o.MM)(c.isOutline,new o.nt(.5));return{...c,...p,...this.maybeRunHittest(t,e,h)}}fragment(t){let{isOutline:e}=t,i=(0,o.MM)(e,new o.nt(.5)),r=(0,u.o7)(t,this.antialiasingControls.blur),n=(0,a.Bh)(this,t),s=(0,o.Tk)(i,r,n),l=(0,o.Tk)(i,new o.nt(1/255),new o.nt(0));return this.getFragmentOutput(s,t,l)}hittest(t,e,i){return(0,o.Tk)(i,(0,l.My)(this.hittestRequest),(0,l.Lq)(this,t,e))}}(0,r._)([(0,n.Pi)(p.b)],g.prototype,"mosaicInfo",void 0),(0,r._)([(0,n.Pi)(c.P)],g.prototype,"localTileOffset",void 0),(0,r._)([(0,r.a)(0,(0,n.hF)(m)),(0,r.a)(1,(0,n.hF)(s.$Z))],g.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(v))],g.prototype,"fragment",null)},39136:(t,e,i)=>{i.d(e,{N:()=>a});var r=i(49493),n=i(80256),o=i(33402),s=i(81203);class a extends n.k2{getSize(t,e){let i=(0,o.j1)([(0,s.M8)(t),e],[(0,o.$5)(t,this.values.first()),this.sizes.first()],[(0,o.aX)(t,this.values.last()),this.sizes.last()],[!0,()=>{let e=this.values.findIndex(e=>(0,o.MM)(e,t)),i=this.values.get(e),r=e.subtract(1),n=this.values.get(r),s=t.subtract(n).divide(i.subtract(n));return(0,o.jh)(this.sizes.get(r),this.sizes.get(e),s)}]);return(0,o.Tk)((0,s.M8)(i),e,i)}}(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],a.prototype,"sizes",void 0),(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],a.prototype,"values",void 0)},39973:(t,e,i)=>{var r;i.d(e,{c:()=>r}),function(t){t[t.Pass=0]="Pass",t[t.Draw=1]="Draw"}(r||(r={}))},40196:(t,e,i)=>{i.d(e,{O_:()=>o,vA:()=>n}),i(30237),i(2137),(0,i(63079).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function n(t,e="Assertion"){if(!t){let t=Error(e).stack;throw new r(`${e} at ${t}`)}}function o(t,e,i,r){let n,o=(i[0]-t[0])/e[0],s=(r[0]-t[0])/e[0];o>s&&(n=o,o=s,s=n);let a=(i[1]-t[1])/e[1],l=(r[1]-t[1])/e[1];if(a>l&&(n=a,a=l,l=n),o>l||a>s)return!1;a>o&&(o=a),l<s&&(s=l);let u=(i[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return u>c&&(n=u,u=c,c=n),!(o>c||u>s)&&(c<s&&(s=c),!(s<0))}},41828:(t,e,i)=>{i.d(e,{Bo:()=>u,Bs:()=>l,E2:()=>s,Lq:()=>p,My:()=>c,g$:()=>d,kW:()=>a});var r=i(33402),n=i(74507),o=i(81203);function s(t,e,i){var n;let o=i.subtract(e),s=(n=t.subtract(e),(0,r.Om)(n,(0,r.S8)(o))),a=(0,r.qE)(s.divide((0,r.Bw)(o)),new r.nt(0),new r.nt(1));return(0,r.Io)(t,e.add(a.multiply(i.subtract(e))))}function a(t){let e=(0,r.tn)(t);return(0,r.PM)(e.x.add(e.y).add(e.z),new r.nt(1.05))}function l(t,e,i,n){let o=new r.U(i.x.multiply(n.y).subtract(n.x.multiply(i.y)),n.x.multiply(e.y).subtract(e.x.multiply(n.y)),e.x.multiply(i.y).subtract(i.x.multiply(e.y)),i.y.subtract(n.y),n.y.subtract(e.y),e.y.subtract(i.y),n.x.subtract(i.x),e.x.subtract(n.x),i.x.subtract(e.x)),s=e.x.multiply(i.y.subtract(n.y)),a=i.x.multiply(n.y.subtract(e.y)),l=n.x.multiply(e.y.subtract(i.y)),u=s.add(a).add(l);return new r.nt(1).divide(u).multiply(o.multiply(new r.eB(1,t)))}function u(t,e,i,u){var c;let p=i.subtract(e),d=u.subtract(e),h=(0,o.tL)(p,d),y=(0,r.Uo)((0,r.Xe)(h,new r.nt(n.M)),(0,r.MM)(h,new r.nt(-n.M)));return(0,r.j1)([(0,r.Uo)((0,r.AU)(y),(c=t.xy,(0,r.LC)(a(l(c,e,i,u)),new r.nt(1)))),new r.nt(-1)],[!0,()=>{let n=s(t,e,i),o=s(t,i,u),a=s(t,u,e);return(0,r.jk)((0,r.jk)(n,o),a)}])}function c(t){return t.distance.add(1)}
26function p(t,e,i){let{viewMat3:n,tileMat3:o}=t.view,s=n.multiply(o),a=s.multiply(new r.eB(e.pos,1)),l=s.multiply(new r.eB(i.nextPos1,1)),c=s.multiply(new r.eB(i.nextPos2,1));return u(t.hittestRequest.position,a.xy,l.xy,c.xy)}function d(t,e,i){return(0,r.Io)(t,i).subtract(e)}},42611:(t,e,i)=>{i.d(e,{$o:()=>r,$u:()=>s,gR:()=>o,zA:()=>n});let r=15.5,n=4,o=64,s=1024},61402:(t,e,i)=>{i.d(e,{n:()=>a});var r=i(49493),n=i(80256),o=i(33402),s=i(81203);class a extends n.k2{getSize(t,e){let i=this.minMaxValueAndSize.xy,r=this.minMaxValueAndSize.zw;return(0,o.Tk)((0,s.M8)(t),e,()=>{let e=t.subtract(i.x).divide(i.y.subtract(i.x)),n=(0,o.qE)(e,new o.nt(0),new o.nt(1));return r.x.add(n.multiply(r.y.subtract(r.x)))})}}(0,r._)([(0,n.Pi)(o.Zb)],a.prototype,"minMaxValueAndSize",void 0)},66892:(t,e,i)=>{i.d(e,{A7:()=>b,My:()=>w,Yb:()=>_,nj:()=>x,wG:()=>g});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(74507),l=i(41828),u=i(5017),c=i(81203),p=i(34449),d=i(90135),h=i(61402),y=i(12756),f=i(39136),m=i(26146),v=i(2159);class g extends s.rz{}(0,r._)([(0,n.C5)(3,o.ZY)],g.prototype,"offset",void 0),(0,r._)([(0,n.C5)(4,o.Zb)],g.prototype,"color",void 0),(0,r._)([(0,n.C5)(5,o.ZY)],g.prototype,"normal",void 0),(0,r._)([(0,n.C5)(6,o.nt)],g.prototype,"halfWidth",void 0),(0,r._)([(0,n.C5)(7,o.nt)],g.prototype,"referenceHalfWidth",void 0),(0,r._)([(0,n.C5)(8,o.ZY)],g.prototype,"zoomRange",void 0);class b extends u.fF{}function _(t,e,i){let{id:r,bitset:n}=e,s=(0,c.mh)(n,a.Xx),l=(0,o.MM)(s,new o.nt(.5)),p=(0,u.$0)(t,e),d=(0,o.Tk)(l,p.halfWidth,new o.nt(0)),h=(0,v.cF)(t,r),y=(0,v.G7)(t,r,e.color),f=(0,o.Tk)(l,e.color,y.multiply(h)),m=t.view.displayViewScreenMat3.multiply(new o.eB(e.pos.xy,1)),g=t.clip(e.id),b=new o.Zb(m.xy,g,1),_=(0,o.Tk)(l,p.glPosition,b),w=i&&t.maybeRunHittest(e,i,l);return{isOutline:s,color:f,opacity:new o.nt(1),halfWidth:d,normal:p.normal,glPosition:_,...w}}class w extends s.f_{constructor(){super(...arguments),this.computeAttributes={pos:["nextPos1","nextPos2"]}}}(0,r._)([(0,n.Pi)(u.fg)],w.prototype,"antialiasingControls",void 0),(0,r._)([(0,n.uK)(p._)],w.prototype,"visualVariableColor",void 0),(0,r._)([(0,n.uK)(d.i)],w.prototype,"visualVariableOpacity",void 0),(0,r._)([(0,n.uK)(h.n)],w.prototype,"visualVariableSizeMinMaxValue",void 0),(0,r._)([(0,n.uK)(y.F)],w.prototype,"visualVariableSizeScaleStops",void 0),(0,r._)([(0,n.uK)(f.N)],w.prototype,"visualVariableSizeStops",void 0),(0,r._)([(0,n.uK)(m.d)],w.prototype,"visualVariableSizeUnitValue",void 0);class x extends w{vertex(t,e){return _(this,t,e)}fragment(t){let{color:e,isOutline:i}=t,r=(0,o.MM)(i,new o.nt(.5)),n=(0,u.o7)(t,this.antialiasingControls.blur),s=(0,o.Tk)(r,n,e),a=(0,o.Tk)(r,new o.nt(1/255),new o.nt(0));return this.getFragmentOutput(s,t,a)}hittest(t,e,i){return(0,o.Tk)(i,(0,l.My)(this.hittestRequest),(0,l.Lq)(this,t,e))}}(0,r._)([(0,r.a)(0,(0,n.hF)(g)),(0,r.a)(1,(0,n.hF)(s.$Z))],x.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(b))],x.prototype,"fragment",null)},67295:(t,e,i)=>{i.d(e,{f_:()=>m,$Z:()=>y,DM:()=>f,rz:()=>h});var r=i(49493),n=i(32307),o=i(80256),s=i(33402),a=i(74552),l=i(81203);class u extends o.k2{getVisualVariableData(t){if(!this._vvData){let e=this.getAttributeDataCoords(t);this._vvData=(0,s.US)(this.visualVariableData,e).setDebugName("storage2")}return this._vvData}getAttributeDataCoords(t){if(!this._uv){let e=(0,l.Kt)(t),i=this.size,r=(0,s.Wh)(e.x),n=(0,s.Wh)(e.y).multiply((0,s.Wh)(256)),o=(0,s.Wh)(e.z).multiply((0,s.Wh)(256)).multiply((0,s.Wh)(256)),a=(0,s.fV)(r.add(n).add(o)),u=(0,s.zi)(a,i),c=a.subtract(u).divide(i);this._uv=new s.ZY(u,c).add(.5).divide(i)}return this._uv}getFilterData(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.filterFlags,e).setDebugName("storage0")}getAnimationData(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.animation,e).setDebugName("storage1")}getVVData(t){return this.getVisualVariableData(t)}getDataDrivenData0(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.dataDriven0,e).setDebugName("storage30")}getDataDrivenData1(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.dataDriven1,e).setDebugName("storage31")}getDataDrivenData2(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.dataDriven2,e).setDebugName("storage32")}getGPGPUData(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.gpgpu,e).setDebugName("storage4")}getLocalTimeOrigin(t){let e=this.getAttributeDataCoords(t);return(0,s.US)(this.localTimeOrigin,e).x.setDebugName("storage5")}getFilterFlags(t){return(0,a.A)("webgl-ignores-sampler-precision")?(0,s.mk)(this.getFilterData(t).x.multiply((0,s.fV)(255))):this.getFilterData(t).x.multiply((0,s.fV)(255))}getLabelVisibility(t){let e=this.getFilterData(t).y.multiply(255);return new s.nt(1).subtract(e)}getAnimationValue(t){return this.getAnimationData(t).x}getSizeValue(t){return this.getVisualVariableData(t).x}
26getColorValue(t){return this.getVisualVariableData(t).y}getOpacityValue(t){return this.getVisualVariableData(t).z}getRotationValue(t){return this.getVisualVariableData(t).w}}(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"filterFlags",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"animation",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"gpgpu",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"localTimeOrigin",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"visualVariableData",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"dataDriven0",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"dataDriven1",void 0),(0,r._)([(0,o.Pi)(s.z7)],u.prototype,"dataDriven2",void 0),(0,r._)([(0,o.Pi)(s.nt)],u.prototype,"size",void 0);class c extends o.k2{}(0,r._)([(0,o.Pi)(s.nt)],c.prototype,"activeReasons",void 0),(0,r._)([(0,o.Pi)(s.nt)],c.prototype,"highlightAll",void 0);class p extends o.k2{}(0,r._)([(0,o.Pi)(s.ZY)],p.prototype,"position",void 0),(0,r._)([(0,o.Pi)(s.nt)],p.prototype,"distance",void 0),(0,r._)([(0,o.Pi)(s.nt)],p.prototype,"smallSymbolDistance",void 0),(0,r._)([(0,o.Pi)(s.nt)],p.prototype,"smallSymbolSizeThreshold",void 0);var d=i(85839);class h extends o.ZA{}(0,r._)([(0,o.C5)(0,s.eB)],h.prototype,"id",void 0),(0,r._)([(0,o.C5)(1,s.nt)],h.prototype,"bitset",void 0),(0,r._)([(0,o.C5)(2,s.ZY)],h.prototype,"pos",void 0);class y extends o.Y7{}(0,r._)([(0,o.C5)(14,s.ZY)],y.prototype,"nextPos1",void 0),(0,r._)([(0,o.C5)(15,s.ZY)],y.prototype,"nextPos2",void 0);class f extends o.HS{}class m extends o.A{clip(t,e){let i=new s.nt(0),r=this.storage.getFilterFlags(t);if(i=i.add((0,s.fV)(2).multiply((0,s.fV)(1).subtract((0,l.i6)(r,0)))),this.inside?i=i.add((0,s.fV)(2).multiply((0,s.fV)(1).subtract((0,l.i6)(r,1)))):this.outside?i=i.add((0,s.fV)(2).multiply((0,l.i6)(r,1))):this.highlight&&(i=i.add((0,s.fV)(2).multiply((0,s.fV)(1).subtract(this._checkHighlight(r))))),null!=e){let t=new s.nt(1).subtract((0,s.PM)(e.x,this.view.currentZoom)),r=(0,s.PM)(e.y,this.view.currentZoom);i=i.add(new s.nt(2).multiply(t.add(r)))}return i}getFragmentOutput(t,e,i=new s.nt(1/255)){let r=new o.mm;return r.glFragColor=this._maybeWriteHittest(e)??this._maybeHighlight(t,i)??t,r}_maybeHighlight(t,e){return this.highlight?new s.Zb(t.rgb,(0,s.PM)(e,t.a)):null}_checkHighlight(t){let e=this._checkHighlightBit(t,0);for(let i=1;i<n.U5;i++)e=e.add(this._checkHighlightBit(t,i));return(0,s.PM)(new s.nt(.1),e.add(this.highlight.highlightAll))}_checkHighlightBit(t,e){return(0,l.yS)(t,e).multiply((0,l.mh)(this.highlight.activeReasons,e))}maybeRunHittest(t,e,i){if(null==this.hittestRequest)return null;let r=this.hittest(t,e,i),n=(0,s.Tk)((0,s.MM)(r,this.hittestRequest.distance),new s.nt(2),new s.nt(0)),o=this.storage.getAttributeDataCoords(t.id),a=(0,l.nb)(o);n=n.add(this.clip(t.id,t.zoomRange));let u=new s.Zb(new s.nt(1/255),0,0,0);return{glPointSize:new s.nt(1),glPosition:new s.Zb(a,n,1),color:u}}_maybeWriteHittest(t){return null!=this.hittestRequest?t.color:null}}(0,r._)([o.E8],m.prototype,"inside",void 0),(0,r._)([o.E8],m.prototype,"outside",void 0),(0,r._)([(0,o.uK)(c)],m.prototype,"highlight",void 0),(0,r._)([(0,o.Pi)(u)],m.prototype,"storage",void 0),(0,r._)([(0,o.Pi)(d.o)],m.prototype,"view",void 0),(0,r._)([(0,o.uK)(p)],m.prototype,"hittestRequest",void 0)},69368:(t,e,i)=>{i.d(e,{_u:()=>d,dW:()=>h,vx:()=>y});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(6898),l=i(71058),u=i(90402);class c extends a._{}(0,r._)([(0,n.C5)(5,o.Zb)],c.prototype,"tlbr",void 0),(0,r._)([(0,n.C5)(6,o.nt)],c.prototype,"inverseRasterizationScale",void 0);class p extends s.DM{}function d(t,e){let i=e.tlbr.xy,r=e.tlbr.zw,n=r.x.subtract(i.x),s=i.y.subtract(r.y),a=new o.ZY(n,s).multiply(e.inverseRasterizationScale),l=a.multiply(t.view.requiredZoomFactor),u=function(t){let e=new o.nt(1),i=new o.nt(0);return new o.U(e.divide(t.x),i.divide(t.y),0,(0,o.ze)(i.divide(t.x)),e.divide(t.y),0,0,0,1)}(l),c=t.localTileOffset.getPatternOffsetAtTileOrigin(a).divide(l),p=new o.eB(e.pos,1);return{tileTextureCoord:u.multiply(p).xy.subtract(c),tlbr:e.tlbr.divide(t.mosaicInfo.size.xyxy)}}function h(t,e){let i=(0,o.zi)(t.tileTextureCoord,new o.nt(1)),r=(0,o.jh)(t.tlbr.xy,t.tlbr.zw,i),n=(0,o.US)(e.texture,r);return t.color.multiply(n)}class y extends a.z{vertex(t,e){return{...super.vertex(t,e),...d(this,t)}}
26fragment(t){let e=h(t,this.mosaicInfo);return this.getFragmentOutput(e,t,new o.nt(0))}}(0,r._)([(0,n.Pi)(u.b)],y.prototype,"mosaicInfo",void 0),(0,r._)([(0,n.Pi)(l.P)],y.prototype,"localTileOffset",void 0),(0,r._)([(0,r.a)(0,(0,n.hF)(c)),(0,r.a)(1,(0,n.hF)(s.$Z))],y.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(p))],y.prototype,"fragment",null)},71058:(t,e,i)=>{i.d(e,{P:()=>a});var r=i(49493),n=i(80256),o=i(33402),s=i(74507);class a extends n.k2{getPatternOffsetAtTileOrigin(t,e=new o.nt(0),i=new o.nt(1)){let r=new o.ZY(s.YV).divide(t),n=t.multiply((0,o.jc)(this.maxIntsToLocalOrigin.multiply(r))).add(this.tileOffsetFromLocalOrigin).subtract(new o.nt(.5).multiply(t));return n=new o.ZY(n.x.multiply(i).subtract(n.y.multiply(e)),n.x.multiply(e).add(n.y.multiply(i))),(0,o.zi)(n,t)}}(0,r._)([(0,n.Pi)(o.ZY)],a.prototype,"tileOffsetFromLocalOrigin",void 0),(0,r._)([(0,n.Pi)(o.ZY)],a.prototype,"maxIntsToLocalOrigin",void 0)},72118:(t,e,i)=>{i.d(e,{Bh:()=>f,KP:()=>y,Ps:()=>m});var r=i(49493),n=i(80256),o=i(33402),s=i(67295),a=i(74507),l=i(6898),u=i(71058),c=i(90402),p=i(81203);class d extends l._{}(0,r._)([(0,n.C5)(5,o.Zb)],d.prototype,"tlbr",void 0),(0,r._)([(0,n.C5)(6,o.nt)],d.prototype,"width",void 0),(0,r._)([(0,n.C5)(7,o.nt)],d.prototype,"height",void 0),(0,r._)([(0,n.C5)(8,o.ZY)],d.prototype,"offset",void 0),(0,r._)([(0,n.C5)(9,o.ZY)],d.prototype,"scale",void 0),(0,r._)([(0,n.C5)(10,o.nt)],d.prototype,"angle",void 0);class h extends s.DM{}function y(t,e){let i=t.view.requiredZoomFactor,r=new o.ZY(e.width,e.height),n=r.multiply(e.scale).multiply(i),s=e.angle.multiply(a.rp),l=(0,o.F8)(s),u=(0,o.gn)(s),c=function(t,e,i,r,n){let s=(0,o.LC)((0,p.mh)(n,a.Fz),(0,o.fV)(1)),l=(0,p.Rj)(new o.Zb(t,0));return(0,o.Tk)(s,(0,o.w0)(r.divide(e.x),i.divide(e.y),0,(0,o.ze)(i.divide(e.x)),r.divide(e.y),0,(0,p._9)((0,o.Zc)(l,0)),(0,p._9)((0,o.Zc)(0,l)),1),(0,o.w0)(r.divide(e.x),i.divide(e.y),0,(0,o.ze)(i.divide(e.x)),r.divide(e.y),0,0,0,1))}(e.id,n,l,u,e.bitset),d=t.localTileOffset.getPatternOffsetAtTileOrigin(r,l,u),h=i.multiply(e.scale).multiply(e.offset.subtract(d)).divide(n),y=new o.eB(e.pos,1),f=c.multiply(y).xy.subtract(h),m=e.tlbr.divide(t.mosaicInfo.size.xyxy),v=(0,p.mh)(e.bitset,a.cn);return null!=t.visualVariableColor&&(v=(0,o.Tk)((0,p.M8)(t.storage.getColorValue(e.id)),new o.nt(0),v)),{tileTextureCoord:f,tlbr:m,sampleAlphaOnly:v}}function f(t,e){let i=(0,o.zi)(e.tileTextureCoord,new o.nt(1)),r=(0,o.jh)(e.tlbr.xy,e.tlbr.zw,i),n=(0,o.US)(t.mosaicInfo.texture,r);return n=(0,o.Tk)((0,o.MM)(e.sampleAlphaOnly,new o.nt(.5)),n.aaaa,n),e.color.multiply(n)}class m extends l.z{vertex(t,e){return{...super.vertex(t,e),...y(this,t)}}fragment(t){let e=f(this,t);return this.getFragmentOutput(e,t,new o.nt(0))}}(0,r._)([(0,n.Pi)(c.b)],m.prototype,"mosaicInfo",void 0),(0,r._)([(0,n.Pi)(u.P)],m.prototype,"localTileOffset",void 0),(0,r._)([(0,r.a)(0,(0,n.hF)(d)),(0,r.a)(1,(0,n.hF)(s.$Z))],m.prototype,"vertex",null),(0,r._)([(0,r.a)(0,(0,n.hF)(h))],m.prototype,"fragment",null)},74507:(t,e,i)=>{var r;i.d(e,{$w:()=>c,Fb:()=>a,Fz:()=>m,H_:()=>r,J5:()=>l,M:()=>d,Ni:()=>p,V5:()=>s,Xx:()=>f,YV:()=>w,au:()=>u,b5:()=>g,bg:()=>b,cn:()=>y,eo:()=>x,kx:()=>v,os:()=>n,qM:()=>h,rp:()=>o,ti:()=>_}),function(t){t[t.Geographic=0]="Geographic",t[t.Arithmatic=1]="Arithmatic"}(r||(r={}));let n=3.14159265359/180,o=3.14159265359/128,s=1,a=1.1,l=1,u=24,c=8,p=1e-5,d=.05,h=1e-30,y=4,f=0,m=2,v=2,g=3,b=0,_=3,w=0x1000000,x=1.1},80256:(t,e,i)=>{i.d(e,{Y7:()=>N,HS:()=>D,mm:()=>U,A:()=>E,k2:()=>L,ZA:()=>k,E8:()=>z,hF:()=>C,C5:()=>M,uK:()=>F,Pi:()=>V});var r=i(49493);i(74552);var n=i(64988),o=i(13689),s=i(55114),a=i(39973),l=i(40196);let u=()=>n.A.getLogger("esri.views.3d.webgl-engine.core.shaderModules.shaderBuilder");class c{constructor(){this._includedModules=new Map}include(t,e){this._includedModules.has(t)?this._includedModules.get(t):(this._includedModules.set(t,e),t(this.builder,e))}}class p extends c{constructor(){super(...arguments),this.vertex=new y,this.fragment=new y,this.attributes=new f,this.varyings=new m,this.extensions=new v,this.constants=new g}get fragmentUniforms(){return this.fragment.uniforms.entries}get builder(){return this}generate(t,e=!0){let i=this.extensions.generateSource(t),r=this.attributes.generateSource(t),n=this.varyings.generateSource(t),o="vertex"===t?this.vertex:this.fragment,s=o.uniforms.generateSource(),a=o.code.generateSource(),l="vertex"===t?b:"#ifdef GL_FRAGMENT_PRECISION_HIGH\n  precision highp float;\n  precision highp sampler2D;\n#else\n  precision mediump float;\n  precision mediump sampler2D;\n#endif\n",u=this.constants.generateSource().concat(o.constants.generateSource());return`${e?"#version 300 es":""}
27${i.join("\n")}
28${l}
29${u.join("\n")}
30${s.join("\n")}
31${r.join("\n")}
32${n.join("\n")}
33${a.join("\n")}`}generateBindPass(t){let e=new Map;
33this.vertex.uniforms.entries.forEach(t=>{let i=t.bind[a.c.Pass];i&&e.set(t.name,i)}),this.fragment.uniforms.entries.forEach(t=>{let i=t.bind[a.c.Pass];i&&e.set(t.name,i)});let i=Array.from(e.values()),r=i.length;return(e,n)=>{for(let o=0;o<r;++o)i[o](t,e,n)}}generateBindDraw(t){let e=new Map;this.vertex.uniforms.entries.forEach(t=>{let i=t.bind[a.c.Draw];i&&e.set(t.name,i)}),this.fragment.uniforms.entries.forEach(t=>{let i=t.bind[a.c.Draw];i&&e.set(t.name,i)});let i=Array.from(e.values()),r=i.length;return(e,n,o)=>{for(let s=0;s<r;++s)i[s](t,o,e,n)}}}class d{constructor(){this._entries=new Map}add(...t){for(let e of t)this._add(e)}get(t){return this._entries.get(t)}_add(t){if(null!=t){if(this._entries.has(t.name)&&!this._entries.get(t.name).equals(t))throw new s.A(`Duplicate uniform name ${t.name} for different uniform type`);this._entries.set(t.name,t)}else u().error(`Trying to add null Uniform from ${Error().stack}.`)}generateSource(){return Array.from(this._entries.values()).map(t=>null!=t.arraySize?`uniform ${t.type} ${t.name}[${t.arraySize}];`:`uniform ${t.type} ${t.name};`)}get entries(){return Array.from(this._entries.values())}}class h{constructor(){this._entries=[]}add(t){this._entries.push(t)}generateSource(){return this._entries}}class y extends c{constructor(){super(...arguments),this.uniforms=new d,this.code=new h,this.constants=new g}get builder(){return this}}class f{constructor(){this._entries=[]}add(t,e){this._entries.push([t,e])}generateSource(t){return"fragment"===t?[]:this._entries.map(t=>`in ${t[1]} ${t[0]};`)}}class m{constructor(){this._entries=new Map}add(t,e){this._entries.has(t)&&(0,l.vA)(this._entries.get(t)===e),this._entries.set(t,e)}generateSource(t){let e=[];return this._entries.forEach((i,r)=>e.push("vertex"===t?`out ${i} ${r};`:`in ${i} ${r};`)),e}}class v{constructor(){this._entries=new Set}add(t){this._entries.add(t)}generateSource(t){let e="vertex"===t?v.ALLOWLIST_VERTEX:v.ALLOWLIST_FRAGMENT;return Array.from(this._entries).filter(t=>e.includes(t)).map(t=>`#extension ${t} : enable`)}}v.ALLOWLIST_FRAGMENT=["GL_EXT_shader_texture_lod","GL_OES_standard_derivatives"],v.ALLOWLIST_VERTEX=[];class g{constructor(){this._entries=new Set}add(t,e,i){let r="ERROR_CONSTRUCTOR_STRING";switch(e){case"float":r=g._numberToFloatStr(i);break;case"int":r=g._numberToIntStr(i);break;case"bool":r=i.toString();break;case"vec2":r=`vec2(${g._numberToFloatStr(i[0])},                            ${g._numberToFloatStr(i[1])})`;break;case"vec3":r=`vec3(${g._numberToFloatStr(i[0])},                            ${g._numberToFloatStr(i[1])},                            ${g._numberToFloatStr(i[2])})`;break;case"vec4":r=`vec4(${g._numberToFloatStr(i[0])},                            ${g._numberToFloatStr(i[1])},                            ${g._numberToFloatStr(i[2])},                            ${g._numberToFloatStr(i[3])})`;break;case"ivec2":r=`ivec2(${g._numberToIntStr(i[0])},                             ${g._numberToIntStr(i[1])})`;break;case"ivec3":r=`ivec3(${g._numberToIntStr(i[0])},                             ${g._numberToIntStr(i[1])},                             ${g._numberToIntStr(i[2])})`;break;case"ivec4":r=`ivec4(${g._numberToIntStr(i[0])},                             ${g._numberToIntStr(i[1])},                             ${g._numberToIntStr(i[2])},                             ${g._numberToIntStr(i[3])})`;break;case"mat2":case"mat3":case"mat4":r=`${e}(${Array.prototype.map.call(i,t=>g._numberToFloatStr(t)).join(", ")})`}return this._entries.add(`const ${e} ${t} = ${r};`),this}static _numberToIntStr(t){return t.toFixed(0)}static _numberToFloatStr(t){return Number.isInteger(t)?t.toFixed(1):t.toString()}generateSource(){return Array.from(this._entries)}}let b="precision highp float;\nprecision highp sampler2D;";var _=i(33402);function w(t,e,i){for(let r of e.split("\n"))if(r.trim().length){{let e="";null!=i&&(e+=`/*id:${i??"000"}*/   `),t.body+=e.padEnd(14)}t.body+=" ".repeat(t.indent)+r+"\n"}}class x{write(t){for(let e of t.rootOutputNodes())t.shouldPruneOutputNode(e)||(e.variableName=this._write(t,e.node));return t}_createVarName(t,e){let i="";return"boolean"!=typeof e&&"number"!=typeof e&&e.debugInfo.name&&(i=`${e.debugInfo.name}_`),`${i}v${t.varCount++}`}_write(t,e,i=!1){if("number"==typeof e||"boolean"==typeof e)return e.toString();let r=t.getEmit(e);
33if(r)return r;switch(e.shaderType){case"scope-node":r=this._writeScopeNode(t,e);break;case"primitive-node":r=this._writePrimitiveNode(t,e,i);break;case"function-node":r=this._writeFunctionNode(t,e);break;case"property-access-node":r=this._writePropertyAccessNode(t,e);break;case"text-node":r=e.text;break;case"block-node":r=this._writeBlockNode(t,e);break;case"condition-node":r=this._writeConditionNode(t,e)}return t.setEmit(e,r),r}_writeScopeNode(t,e){let i=new e.child.constructor;i.setDebugName(e.debugInfo.name);let r=this._write(t,i,!0);return w(t,`{ /*ScopeStart: ${e.uid} ${e.debugInfo.name}*/`),t.indent+=2,w(t,`${r} = ${this._write(t,e.child)};`),t.indent-=2,w(t,`} /*ScopeEnd: ${e.uid} ${e.debugInfo.name}*/`),r}_writeConditionNode(t,e){let i=new e.ifTrue.constructor,r=this._write(t,i,!0);w(t,`if (${this._write(t,e.condition)}) {`),t.indent+=2;let n=t.createSubgraphContext(),o=this._write(n,e.ifTrue);if(t.body+=n.body,o&&w(t,`${r} = ${o};`),t.indent-=2,w(t,"}"),e.ifFalse){w(t,"else {"),t.indent+=2;let i=t.createSubgraphContext(),n=this._write(i,e.ifFalse);t.body+=i.body,n&&w(t,`${r} = ${n};`),t.indent-=2,w(t,"}")}return r}_writeBlockNode(t,e){let{captureList:i,generator:r,returnType:n}=e,o={};for(let e in i){if(!i[e])continue;let r=this._write(t,i[e]);o[e]=r}let s=new n,a=this._write(t,s,!0);if(o.out=a,e.subgraph){let i=t.createSubgraphContext();o.subgraph={varName:this._write(i,e.subgraph.child),body:i.body}}let l=r(o);return w(t,"{\n"),t.indent+=2,w(t,l),t.indent-=2,w(t,"}\n"),a}_writePropertyAccessNode(t,e){let i=this._write(t,e.target);return"string"==typeof e.property&&e.property.includes("[")?`${i}${e.property}`:"string"!=typeof e.property?`${i}[${this._write(t,e.property)}]`:`${i}.${e.property}`}_writeFunctionNode(t,e){let i=e.returnType.type;if(e.isInfix){let[r,n]=e.children.map(e=>this._write(t,e)),o=this._createVarName(t,e);return w(t,`${i.padEnd(5)} ${o} = ${r} ${e.token} ${n};`,e.uid),o}let r=e.children.map(e=>this._write(t,e)).join(", "),n=this._createVarName(t,e);return w(t,`${i.padEnd(5)} ${n} = ${e.token}(${r});`,e.uid),n}_writePrimitiveNode(t,e,i=!1){let r=t.getInput(e);if(r)return r.isUsed=!0,r.variableName;let n=1===e.children.length&&e.children[0]?.type===e.type;if(e.isImplicit||n)return this._write(t,e.children[0]);let o=this._createVarName(t,e);if(i)return w(t,`${e.type.padEnd(5)} ${o};`,e.uid),o;let s=!e.debugInfo.name&&!e.isMutable;if(s&&"float"===e.type&&"number"==typeof e.children[0])return Number.isInteger(e.children[0])?e.children[0].toFixed(1):e.children[0].toString();if(s&&"int"===e.type&&"number"==typeof e.children[0]&&Number.isInteger(e.children[0]))return e.children[0].toString();let a=e.children.map(e=>this._write(t,e)).join(", ");return"array"===e.type?(w(t,`${e.type.padEnd(5)} ${o} = [${a}];`,e.uid),o):s?`${e.type}(${a})`:(w(t,`${e.type.padEnd(5)} ${o} = ${e.type}(${a});`,e.uid),o)}}var T=i(25913);class S{constructor(t,e,i){this.variableName=t,this.variableInputType=e,this.node=i,this.type="shader-input",this.isUsed=!1}clone(){return new S(this.variableName,this.variableInputType,(0,T.vA)(this.node))}}class ${constructor(t,e,i){this.outVariableName=t,this.outVariableType=e,this.node=i,this.type="shader-output"}clone(){let t=new $(this.outVariableName,this.outVariableType,(0,T.vA)(this.node));return t.variableName=this.variableName,t}}class A{static createVertex(t,e,i,r,n,o){let s=[];for(let e in t){let r=t[e],n=i.get(e);n?s.push(new S(n,"builtin",r)):s.push(new S("a_"+e,"in",r))}for(let t of r){let e=t.uniformHydrated;s.push(new S(t.uniformName,"uniform",e))}let a=[];for(let t in e){let i=e[t];"glPosition"===t?a.push(new $("gl_Position","builtin",i)):"glPointSize"===t?a.push(new $("gl_PointSize","builtin",i)):a.push(new $("v_"+t,"out",i))}return new A(s,a,n,o)}static createFragment(t,e,i,r,n,o){let s=[],a=Array.from(n.rootOutputNodes());for(let e in t){let r=t[e],n=i.get(e);if(n){s.push(new S(n,"builtin",r));continue}let o=a.find(t=>t.node===r);o&&s.push(new S(o.outVariableName,"in",r))}for(let t of r){let e=t.uniformHydrated;s.push(new S(t.uniformName,"uniform",e))}let l=[];for(let t in e){let r=e[t],n=i.get(t);"discard"===t?l.push(new $(null,"discard",r)):n?l.push(new $(n,"builtin",r)):l.push(new $(t,"out",r))}return new A(s,l,o)}
33constructor(t,e,i,r){for(let e of(this.type="shader-graph-context",this.indent=0,this.body="",this.varCount=0,this._inputShaderTypesByNodeUid=new Map,this._nodeEmitMap=new Map,t))this._inputShaderTypesByNodeUid.set(e.node.uid,e);this._outputShaderTypes=e,this._transformFeedbackBindings=i,this._transformFeedbackNames=new Set(i.map(t=>"v_"+t.propertyKey)),this._usedInFragmentShader=r}shouldPruneOutputNode(t){return!!this._usedInFragmentShader&&"builtin"!==t.outVariableType&&!this._transformFeedbackNames.has(t.outVariableName)&&!this._usedInFragmentShader.has(t.node.uid)}setEmit(t,e){this._nodeEmitMap.set(t.uid,e)}getEmit(t){return this._nodeEmitMap.get(t.uid)}inputs(){return this._inputShaderTypesByNodeUid.values()}getInput(t){return this._inputShaderTypesByNodeUid.get(t.uid)}*rootOutputNodes(){for(let t of this._outputShaderTypes)yield t}*nodes(){let t=[];for(let e of this._outputShaderTypes.values())t.push(e.node);for(;t.length;){let e=t.pop();"number"!=typeof e&&"boolean"!=typeof e&&t.push(...e.children.filter(Boolean)),yield e}}*nodesOfTypeOrFunction(){for(let t of this.nodes())"number"!=typeof t&&"boolean"!=typeof t&&(yield t)}createSubgraphContext(){let t=this.clone();return t.body="",t.indent=this.indent+2,t._nodeEmitMap=new Map(this._nodeEmitMap),t}clone(){let t=new A([],this._outputShaderTypes,this._transformFeedbackBindings,this._usedInFragmentShader);return t._inputShaderTypesByNodeUid=this._inputShaderTypesByNodeUid,t.indent=this.indent,t.body=this.body,t.varCount=this.varCount,t._nodeEmitMap=this._nodeEmitMap,t}insertVertexShader(t){for(let e of(t.vertex.code.add(""),this._insertInputs(t,"vertex"),t.vertex.code.add(""),t.vertex.code.add("// OUTPUTS: "),t.vertex.code.add("// --------------------------------------------------------- "),this.rootOutputNodes())){let i="builtin"===e.outVariableType;this.shouldPruneOutputNode(e)||(i?t.vertex.code.add(`// ${e.outVariableType.padEnd(7)} ${e.node.type.padEnd(9)} ${e.outVariableName};`):t.vertex.code.add(`${e.outVariableType.padEnd(10)} ${e.node.type.padEnd(9)} ${e.outVariableName};`))}for(let e of(t.vertex.code.add(""),t.vertex.code.add("void main() {"),t.vertex.code.add("  "+this.body.split("\n").join("\n  ")),this.rootOutputNodes()))this.shouldPruneOutputNode(e)||t.vertex.code.add(`  ${e.outVariableName} = ${e.variableName};`);t.vertex.code.add("}")}insertFragmentShader(t){for(let e of(this._insertInputs(t,"fragment"),t.fragment.code.add(""),t.fragment.code.add("// OUTPUTS: "),t.fragment.code.add("// --------------------------------------------------------- "),this.rootOutputNodes()))"builtin"===e.outVariableType?t.fragment.code.add(`// ${e.outVariableType.padEnd(7)} ${e.node.type.padEnd(9)} ${e.outVariableName};`):t.fragment.code.add(`${e.outVariableType.padEnd(10)} ${e.node.type.padEnd(9)} ${e.outVariableName};`);for(let e of(t.fragment.code.add(""),t.fragment.code.add("void main() {"),t.fragment.code.add("  "+this.body.split("\n").join("\n  ")),this.rootOutputNodes()))"discard"===e.outVariableType?(t.fragment.code.add("  // TODO: Should ensure codegen for discard appears first in fragment shader"),t.fragment.code.add(`  if (${e.variableName}) {`),t.fragment.code.add("    discard;"),t.fragment.code.add("  }"),t.fragment.code.add("  ")):t.fragment.code.add(`  ${e.outVariableName} = ${e.variableName};`);t.fragment.code.add("}")}_insertInputs(t,e){for(let i of(t[e].code.add("// INPUTS: "),t[e].code.add("// --------------------------------------------------------- "),this.inputs()))i.isUsed&&"builtin"!==i.variableInputType&&("array"===i.node.type?t[e].code.add(`${i.variableInputType.padEnd(10)} ${i.node.elementType.type.padEnd(9)} ${i.variableName}[${i.node.size}];`):t[e].code.add(`${i.variableInputType.padEnd(10)} ${i.node.type.padEnd(9)} ${i.variableName};`))}}var P=i(96789);function I(t,e,i){let r=t.constructor[e]??[];t.constructor.hasOwnProperty(e)||Object.defineProperty(t.constructor,e,{value:r.slice()}),t.constructor[e].push(i)}function M(t,e){return(i,r)=>{I(i,"locations",{typeCtor:e,propertyKey:r,parameterIndex:null,index:t})}}let C=t=>(e,i,r)=>{I(e,"inputs",{inputCtor:t,propertyKey:i,parameterIndex:r})},V=t=>(e,i)=>{I(e,"uniforms",{typeCtor:t,propertyKey:i})},F=t=>(e,i)=>{I(e,"options",{typeCtor:t,propertyKey:i})},z=(t,e)=>{I(t,"defines",{propertyKey:e})},O=(t,e)=>(i,r)=>{i.constructor.builtins.push({builtin:t,propertyKey:r,typeCtor:e})};class k{}k.builtins=[],(0,r._)([O("gl_VertexID",_.Ai)],k.prototype,"glVertexID",void 0);class N{}class D{}D.builtins=[],(0,r._)([O("gl_FragCoord",_.Zb)],D.prototype,"glFragCoord",void 0),(0,r._)([O("gl_PointCoord",_.ZY)],D.prototype,"glPointCoord",void 0);class U{}class L{constructor(){this.type="uniform-group"}get _uniforms(){return this.constructor.uniforms??[]}}class E{constructor(){this.logShader=!1,this.computeAttributes={}}get vertexInput(){let t=this._shaderModuleClass.inputs.findLast(t=>"vertex"===t.propertyKey&&0===t.parameterIndex);if(!t)throw Error("Unable to find vertex input parameter");return t}get computeInput(){return this._shaderModuleClass.inputs.findLast(t=>"vertex"===t.propertyKey&&1===t.parameterIndex)}get fragmentInput(){let t=this._shaderModuleClass.inputs.findLast(t=>"fragment"===t.propertyKey);if(!t)throw Error("Unable to find fragment input parameter");return t}get transformFeedbackBindings(){return this.fragmentInput.inputCtor.transformFeedbackBindings??[]}get locations(){return[...this.vertexInput.inputCtor.locations,...this.computeInput?.inputCtor.locations??[]]}get locationsMap(){let t=new Map,e=new Set;for(let i of this.locations)e.has(i.index)?n.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.GraphShaderModule").warnOnce("mapview-rendering",`Unable to assigned attribute ${i.propertyKey} to ${i.index}. Index already in use`,{locationsMap:t}):(t.set(i.propertyKey,i.index),e.add(i.index));return t}get locationInfo(){if(!this._locationInfo){let t=this.locationsMap,e=Array.from(t.entries()).map(([t,e])=>`${t}.${e}`).join("."),i=(0,o.Wm)(e),r=this.computeAttributes;this._locationInfo={hash:i,locations:t,computeAttributeMap:r}}return this._locationInfo}get renamedLocationsMap(){let t=new Map;for(let e of this.locations)t.set("a_"+e.propertyKey,e.index);return t}get optionPropertyKeys(){if(!this._optionPropertyKeys){let t=new Set;for(let e of this._options)t.add(e.propertyKey);this._optionPropertyKeys=t}return this._optionPropertyKeys}get _shaderModuleClass(){return this.constructor}get _defines(){return this._shaderModuleClass.defines??[]}get _options(){return this._shaderModuleClass.options??[]}get _uniforms(){return this._shaderModuleClass.uniforms??[]}getProgram(t,e,i,r){try{let{vertex:n,fragment:o,uniformBindings:s}=this._generateShaders(t,e,i,r);return new P.K(n,o,this.renamedLocationsMap,this.locationInfo,s,this.transformFeedbackBindings)}catch(t){return new P.K("","",this.renamedLocationsMap,this.locationInfo,[],this.transformFeedbackBindings)}}getDebugUniformClassInfo(t){let e=this._options.find(e=>e.propertyKey===t);if(e)return{type:"option",className:e.typeCtor};let i=this._uniforms.find(e=>e.propertyKey===t);if(!i)throw Error(`Unable to find uniform class type for property: ${t}`);return{type:"required",className:i.typeCtor}}getShaderKey(t,e,i,r){let n=Object.keys(t).map(e=>`${e}.${t[e]}`).join("."),o=Object.keys(i).map(t=>`${t}.${i[t]}`).join("."),s=Object.keys(r).map(t=>`${t}.${r[t]}`).join("."),a=Object.keys(e).filter(t=>this.optionPropertyKeys.has(t)&&e[t]).join(".");return`${this.constructor.name}.${n}.${o}.${s}.${a}`}_generateShaders(t,e,i,r){let n=[];this._setDefines(i),this._setOptionalUniforms(n,e),this._setRequiredUniforms(n);let o=this._hydrateVertexInput(r),s=this._injectPackPrecisionFactor(o,t),a=this._hydrateComputeInput(),l=a&&this._injectComputePackPrecisionFactor(a,t),u=this.vertex(s,l),c=this._hydrateFragmentInput(u),p=this.fragment(c),d=new Set;for(let t in p){let e=p[t];(0,T.rz)(d,e)}let h=this._getVertexInputBuiltins(),y=A.createVertex({...o,...a},u,h,n,this.transformFeedbackBindings,d);(new x).write(y);let f=this._getFragmentInputBuiltins(p);f.set("glPointCoord","gl_PointCoord");let m=A.createFragment(c,p,f,n,y,this.transformFeedbackBindings);
33(new x).write(m);let v=this._createShaderBuilder(y,m),g=v.generate("vertex",!0),b=v.generate("fragment",!0);return this.logShader&&(console.log(g),console.log(b)),{vertex:g,fragment:b,uniformBindings:n}}_setDefines(t){for(let e in t)this[e]=t[e]}_setOptionalUniforms(t,e){for(let i of this._options)e[i.propertyKey]?this[i.propertyKey]=this._hydrateUniformGroup(t,i):this[i.propertyKey]=null}_setRequiredUniforms(t){for(let e of this._uniforms)this[e.propertyKey]=this._hydrateUniformGroup(t,e)}_hydrateUniformGroup(t,e){let i=new(0,e.typeCtor);for(let r of i._uniforms??[]){let n=new r.typeCtor,o=`u_${e.propertyKey}_${r.propertyKey}`,s=n.type,a=[e.propertyKey,r.propertyKey].join(".");"type"in r.typeCtor&&"array"===r.typeCtor.type?t.push({shaderModulePath:a,uniformName:o,uniformType:s,uniformArrayLength:n.size,uniformArrayElementType:n.elementType.type,uniformHydrated:n}):t.push({shaderModulePath:a,uniformName:o,uniformType:s,uniformHydrated:n}),i[r.propertyKey]=n}return i}_hydrateVertexInput(t){let e=this.vertexInput.inputCtor,i=e.locations.reduce((e,i)=>!1===t[i.propertyKey]?e:{...e,[i.propertyKey]:new i.typeCtor},{});for(let{propertyKey:t,typeCtor:r}of e.builtins){let e=new r;i[t]=e}return i}_hydrateComputeInput(){return null==this.computeInput?null:this.computeInput.inputCtor.locations.reduce((t,e)=>({...t,[e.propertyKey]:new e.typeCtor}),{})}_injectPackPrecisionFactor(t,e){let i={};for(let r in t){let n=t[r],o=e[r];if(o){if("float"!==n.type&&"vec2"!==n.type&&"vec3"!==n.type&&"vec4"!==n.type)throw Error(`InternalError: packPrecisionFactor requires GenType, but found ${n.type}`);i[r]=n.divide(new _.nt(o))}else i[r]=n}return i}_injectComputePackPrecisionFactor(t,e){let i={},r=new Map;for(let t in this.computeAttributes)for(let e of this.computeAttributes[t]??[])r.set(e,t);for(let n in t){let o=t[n],s=r.get(n);if(!s)continue;let a=e[s];if(a){if("float"!==o.type&&"vec2"!==o.type&&"vec3"!==o.type&&"vec4"!==o.type)throw Error(`InternalError: packPrecisionFactor requires GenType, but found ${o.type}`);i[n]=o.divide(new _.nt(a))}else i[n]=o}return i}_hydrateFragmentInput(t){let e={};for(let i in t)e[i]=t[i];for(let{propertyKey:t,typeCtor:i}of D.builtins){let r=new i;e[t]=r}return e}_getVertexInputBuiltins(){let t=this.vertexInput.inputCtor,e=new Map;for(let{builtin:i,propertyKey:r}of t.builtins)e.set(r,i);return e}_getFragmentInputBuiltins(t){let e=t.constructor,i=new Map;for(let t of e.builtins??[])i.set(t.propertyKey,t.builtin);return i}_createShaderBuilder(t,e){let i=new p;return this._insertDebugInfo(i),t.insertVertexShader(i),e.insertFragmentShader(i),i}_insertDebugInfo(t){for(let e of(t.vertex.code.add("// DEFINES: "),t.vertex.code.add("// --------------------------------------------------------- "),this._defines))this[e.propertyKey]?t.vertex.code.add(`//   ${e.propertyKey}: true`):t.vertex.code.add(`//   ${e.propertyKey}: false`);for(let e of(t.vertex.code.add(""),t.vertex.code.add("// OPTIONS: "),t.vertex.code.add("// --------------------------------------------------------- "),this._options))this[e.propertyKey]?t.vertex.code.add(`//   ${e.propertyKey}: true`):t.vertex.code.add(`//   ${e.propertyKey}: false`)}}},81203:(t,e,i)=>{i.d(e,{K5:()=>p,Kt:()=>y,M8:()=>a,Rj:()=>f,_9:()=>s,i6:()=>d,mh:()=>c,nb:()=>u,p8:()=>g,tL:()=>l,xf:()=>m,yS:()=>h,zb:()=>v,zy:()=>b});var r=i(32307),n=i(33402),o=i(74507);function s(t){let e=(0,n.fV)(12.9898),i=(0,n.fV)(78.233),r=(0,n.fV)(43758.5453),o=(0,n.Om)(t,(0,n.Zc)(e,i)),s=(0,n.zi)(o,(0,n.fV)(3.14));return(0,n.jc)((0,n.F8)(s).multiply(r))}function a(t){return(0,n.LC)(t,(0,n.fV)(o.qM))}function l(t,e){return t.x.multiply(e.y).subtract(e.x.multiply(t.y))}function u(t){return t.multiply(2).subtract(1)}function c(t,e){let i=(0,n.fV)(2**e);return(0,n.zi)((0,n.RI)(t.divide(i)),(0,n.fV)(2))}function p(t,e){return(0,n.MM)(c(t,e),(0,n.fV)(.5))}function d(t,e){return c(t,e+r.U5)}function h(t,e){return c(t,e)}function y(t){let e=c(t.z,7),i=(0,n.fV)(1).subtract(e),r=t.xyz.subtract((0,n.eR)(0,0,(0,n.fV)(128)));return i.multiply(t).add(e.multiply(r))}function f(t){let e=(0,n.ln)(255/256,255/65536,255/0x1000000,255/0x100000000);return(0,n.Om)(t,e)}function m(t){return(0,n.T9)((0,n.T9)((0,n.T9)(t.x,t.y),t.z),t.w)}function v(t){return new n.nt(1).subtract(t)}
33function g(t){return t.subtract(new n.nt(1))}function b(t,e){return t.subtract(new n.nt(e))}},85839:(t,e,i)=>{i.d(e,{o:()=>s});var r=i(49493),n=i(80256),o=i(33402);class s extends n.k2{}(0,r._)([(0,n.Pi)(o.U)],s.prototype,"displayViewScreenMat3",void 0),(0,r._)([(0,n.Pi)(o.U)],s.prototype,"displayViewMat3",void 0),(0,r._)([(0,n.Pi)(o.U)],s.prototype,"displayMat3",void 0),(0,r._)([(0,n.Pi)(o.U)],s.prototype,"viewMat3",void 0),(0,r._)([(0,n.Pi)(o.U)],s.prototype,"tileMat3",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"displayZoomFactor",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"requiredZoomFactor",void 0),(0,r._)([(0,n.Pi)(o.ZY)],s.prototype,"tileOffset",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"currentScale",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"currentZoom",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"metersPerSRUnit",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"rotation",void 0),(0,r._)([(0,n.Pi)(o.nt)],s.prototype,"pixelRatio",void 0)},90135:(t,e,i)=>{i.d(e,{i:()=>a});var r=i(49493),n=i(80256),o=i(33402),s=i(81203);class a extends n.k2{getOpacity(t){return(0,o.j1)([(0,s.M8)(t),new o.nt(1)],[(0,o.$5)(t,this.opacityValues.first()),this.opacities.first()],[(0,o.aX)(t,this.opacityValues.last()),this.opacities.last()],[!0,()=>{let e=this.opacityValues.findIndex(e=>(0,o.MM)(e,t)),i=this.opacityValues.get(e),r=e.subtract(1),n=this.opacityValues.get(r),s=t.subtract(n).divide(i.subtract(n));return(0,o.jh)(this.opacities.get(r),this.opacities.get(e),s)}])}}(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],a.prototype,"opacities",void 0),(0,r._)([(0,n.Pi)(o.My.ofType(o.nt,8))],a.prototype,"opacityValues",void 0)},90402:(t,e,i)=>{i.d(e,{b:()=>s});var r=i(49493),n=i(80256),o=i(33402);class s extends n.k2{}(0,r._)([(0,n.Pi)(o.ZY)],s.prototype,"size",void 0),(0,r._)([(0,n.Pi)(o.z7)],s.prototype,"texture",void 0)},92994:(t,e,i)=>{i.d(e,{KQ:()=>r,Q4:()=>n,Ss:()=>o});let r=8388607,n=t=>t&r;function o(t,e){return(8388608*!!e|t)>>>0}},96789:(t,e,i)=>{i.d(e,{K:()=>c});var r=i(55114),n=i(64988),o=i(63399);i(32243),i(74552),i(37338),i(36609),i(1279);var s=i(43030);i(25205),i(87960);var a=i(98776);let l=()=>n.A.getLogger("esri.views.2d.engine.webgl.shaderGraph.typed.TypedShaderProgram");function u(t,e,i){let n=e.length;if(n!==i){let o=new r.A("Invalid Uniform",`Invalid length, expected ${i} but got ${n}`,{uniformName:t,values:e});l().errorOnce(o)}}class c{constructor(t,e,i,r,n,o){this._program=null,this._vao=null,this._temporaryTextures=[],this.vertexShader=t,this.fragmentShader=e,this._locations=i,this._locationInfo=r,this._uniformBindings=n,this._transformFeedbackBindings=o}destroy(){this._program&&this._program.dispose(),this.cleanupTemporaryTextures()}get locations(){return this._locations}get locationInfo(){return this._locationInfo}setUniforms(t){this._uniforms=t}cleanupTemporaryTextures(){for(let t of this._temporaryTextures)t.dispose();this._temporaryTextures=[]}bind(t){let e=this._uniforms;if(!this._program){let e=new Map;for(let[t,i]of this._locations)e.set(t,i);let i=[];for(let t of this._transformFeedbackBindings??[]){let{index:e,propertyKey:r}=t;i[e]=`v_${r}`}this._program=new s.B(t,this.vertexShader,this.fragmentShader,e,new Map,i)}let i=this._program;for(let r of(t.useProgram(i),this._uniformBindings)){let{shaderModulePath:n,uniformName:s,uniformType:l,uniformArrayLength:c}=r,p=(0,o.wc)(n,e);if(null==p){if("sampler2D"===l)continue;throw Error(`Failed to find uniform value for ${n}`)}switch("array"===l?r.uniformArrayElementType:l){case"sampler2D":{let{unit:e,texture:r}=p;if(i.setUniform1i(s,e),"type"in r)t.bindTexture(r,e);else{let i=(0,a.sZ)(t,r.descriptor,r.data);t.bindTexture(i,e)}break}case"int":if(!c){i.setUniform1i(s,p);break}u(r.uniformName,p,c),i.setUniform1iv(s,p);break;case"float":if(!c){i.setUniform1f(s,p);break}u(r.uniformName,p,c),i.setUniform1fv(s,p);break;case"vec2":if(!c){i.setUniform2f(s,p[0],p[1]);break}u(r.uniformName,p,c),i.setUniform2fv(s,p.flat());break;case"vec3":if(!c){i.setUniform3f(s,p[0],p[1],p[2]);break}u(r.uniformName,p,c),i.setUniform3fv(s,p.flat());break;case"vec4":if(!c){i.setUniform4f(s,p[0],p[1],p[2],p[3]);break}u(r.uniformName,p,c),i.setUniform4fv(s,p.flat());break;case"mat3":i.setUniformMatrix3fv(s,p);break;case"mat4":i.setUniformMatrix4fv(s,p);break;default:throw Error(`Unable to set uniform for type ${l}`)}}}}},99793:(t,e,i)=>{var r;i.d(e,{N:()=>r}),function(t){t[t.AnimatedMarker=0]="AnimatedMarker",t[t.Blend=1]="Blend",t[t.ComplexFill=2]="ComplexFill",t[t.ComplexOutlineFill=3]="ComplexOutlineFill",t[t.DotDensity=4]="DotDensity",t[t.Fill=5]="Fill",t[t.Grid=6]="Grid",t[t.Heatmap=7]="Heatmap",t[t.Label=8]="Label",t[t.Line=9]="Line",t[t.Magnifier=10]="Magnifier",t[t.Marker=11]="Marker",t[t.OutlineFill=12]="OutlineFill",t[t.Overlay=13]="Overlay",t[t.PatternFill=14]="PatternFill",t[t.PatternOutlineFill=15]="PatternOutlineFill",t[t.PieChart=16]="PieChart",t[t.Test=17]="Test",t[t.Text=18]="Text",t[t.TexturedLine
33=19]="TexturedLine"}(r||(r={}))}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.