1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4133],{21284:(t,e,l)=>{l.d(e,{U:()=>i});var n=l(90019);function i(t,e){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=(0,n.qE)(t,0,a);for(let t=0;t<4;t++){var h;e[l+t]=Math.floor(256*((h=i*r[t])-Math.floor(h)))}}let r=[1,256,65536,0x1000000],h=[1/256,1/65536,1/0x1000000,1/0x100000000],a=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,l=0;for(let n=0;n<4;n++)l+=t[e+n]*h[n];return l}(new Uint8ClampedArray([255,255,255,255]))},50888:(t,e,l)=>{l.d(e,{A:()=>i});var n=l(76078);class i{get x(){return this.center[0]}get y(){return this.center[1]}get blX(){return this.center[0]+this.halfWidth}get blY(){return this.center[1]+this.halfHeight}get trX(){return this.center[0]-this.halfWidth}get trY(){return this.center[1]-this.halfHeight}get xmin(){return this.x-this.halfWidth}get xmax(){return this.x+this.halfWidth}get ymin(){return this.y-this.halfHeight}get ymax(){return this.y+this.halfHeight}set x(t){this.center[0]=t}set y(t){this.center[1]=t}clone(){return new i(this.x,this.y,this.width,this.height)}serialize(t){return t.writeF32(this.center[0]),t.writeF32(this.center[1]),t.push(this.width),t.push(this.height),t}findCollisionDelta(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,l=Math.abs(t.centerT[0]-this.centerT[0]),n=Math.abs(t.centerT[1]-this.centerT[1]);return Math.log2(Math.min((t.halfWidth+this.halfWidth+e)/l,(t.halfHeight+this.halfHeight+e)/n))}extend(t){let e=Math.min(this.xmin,t.xmin),l=Math.min(this.ymin,t.ymin),n=Math.max(this.xmax,t.xmax)-e,i=Math.max(this.ymax,t.ymax)-l;this.width=n,this.height=i,this.halfWidth=n/2,this.halfHeight=i/2,this.x=e+n/2,this.y=l+i/2}static deserialize(t){let e=t.readF32(),l=t.readF32();return new i(e,l,t.readInt32(),t.readInt32())}constructor(t,e,l,i){this.transformedX=0,this.transformedY=0,this.center=(0,n.fA)(t,e),this.centerT=(0,n.vt)(),this.halfWidth=l/2,this.halfHeight=i/2,this.width=l,this.height=i}}},51937:(t,e,l)=>{var n,i,r,h,a,s;function u(t){var e,l;return t?{originPosition:"upper-left"===t.originPosition?"upperLeft":"lower-left"===t.originPosition?"lowerLeft":t.originPosition,scale:t.tolerance?[t.tolerance,t.tolerance,1,1]:[1,1,1,1],translate:null!=t.extent?[t.extent.xmin,t.extent.ymax,null!=(e=t.extent.zmin)?e:0,null!=(l=t.extent.mmin)?l:0]:[0,0,0,0]}:null}function o(t){var e,l,n,i,r,h,a,s;if("lowerLeft"===t.originPosition&&4===t.scale.length&&4===t.translate.length)return t;let{originPosition:u,scale:o,translate:g}=t,f=null!=(e=o[0])?e:1,c=null!=(l=o[1])?l:1;return{originPosition:"lowerLeft",scale:[f,"lowerLeft"===u?c:-c,null!=(n=o[2])?n:1,null!=(i=o[3])?i:1],translate:[null!=(r=g[0])?r:0,null!=(h=g[1])?h:0,null!=(a=g[2])?a:0,null!=(s=g[3])?s:0]}}function g(t,e){let{scale:l,translate:n}=t;return Math.round((e-n[0])/l[0])}function f(t,e){let{scale:l,translate:n}=t;return Math.round((e-n[1])/l[1])}function c(t,e){let{scale:l,translate:n}=t;return Math.round(((null!=e?e:0)-n[2])/l[2])}function d(t,e){let{scale:l,translate:n}=t;return e?Math.round((e-n[3])/l[3]):0}function m(t,e){return t&&e?w:t&&!e?p:!t&&e?v:y}l.d(e,{$X:()=>T,B2:()=>f,Gy:()=>W,IE:()=>g,P5:()=>E,Q1:()=>o,QE:()=>F,SW:()=>H,Tr:()=>I,VV:()=>u,wp:()=>A}),l(36420);let y=(t,e)=>{let l=[];if(!e.length)return null;let n=e[0],i=g(t,n[0]),r=f(t,n[1]);l.push([i,r]);for(let n=1;n<e.length;n++){let[h,a]=e[n],s=g(t,h),u=f(t,a);s===i&&u===r||l.push([s-i,u-r]),i=s,r=u}return l},p=(t,e)=>{let l=[];if(!e.length)return null;let n=e[0],i=g(t,n[0]),r=f(t,n[1]),h=c(t,n[2]);l.push([i,r,h]);for(let n=1;n<e.length;n++){let[a,s,u]=e[n],o=g(t,a),d=f(t,s),m=c(t,u);o===i&&d===r&&m===h||l.push([o-i,d-r,m]),i=o,r=d,h=m}return l},v=(t,e)=>{let l=[];if(!e.length)return null;let n=e[0],i=g(t,n[0]),r=f(t,n[1]),h=d(t,n[2]);l.push([i,r,h]);for(let n=1;n<e.length;n++){let[a,s,u]=e[n],o=g(t,a),c=f(t,s),m=d(t,u);o===i&&c===r&&m===h||l.push([o-i,c-r,m]),i=o,r=c,h=m}return l},w=(t,e)=>{let l=[];if(!e.length)return null;let n=e[0],i=g(t,n[0]),r=f(t,n[1]),h=c(t,n[2]),a=d(t,n[3]);l.push([i,r,h,a]);for(let n=1;n<e.length;n++){let[s,u,o,m]=e[n],y=g(t,s),p=f(t,u),v=c(t,o),w=d(t,m);y===i&&p===r&&v===h&&w===a||l.push([y-i,p-r,v,w]),i=y,r=p,h=v,a=w}return l};function x(t,e){let{scale:l,translate:n}=t;return e*l[0]+n[0]}function M(t,e){let{scale:l,translate:n}=t;return e*l[1]+n[1]}function P(t,e){let{scale:l,translate:n}=t;return(null!=e?e:0)*l[2]+n[2]}function z(t,e){let{scale:l,translate:n}=t;return e?e*l[3]+n[3]:0}function b(t,e){return t&&e?Z:t&&!e?S:!t&&e?C:L}let L=(t,e)=>{let l=Array(e.length);if(!e.length)return l;
1let n=e[0],i=x(t,n[0]),r=M(t,n[1]);l[0]=[i,r];let{scale:h,originPosition:a}=t,s=h[0],u="lowerLeft"===a?h[1]:-h[1];for(let t=1;t<e.length;t++){let[n,h]=e[t];i+=s*n,r+=u*h,l[t]=[i,r]}return l},S=(t,e)=>{let l=Array(e.length);if(!e.length)return l;let n=e[0],i=x(t,n[0]),r=M(t,n[1]);l[0]=[i,r,P(t,n[2])];let{scale:h,originPosition:a}=t,s=h[0],u="lowerLeft"===a?h[1]:-h[1];for(let n=1;n<e.length;n++){let[h,a,o]=e[n];i+=s*h,r+=u*a,l[n]=[i,r,P(t,o)]}return l},C=(t,e)=>{let l=Array(e.length);if(!e.length)return l;let n=e[0],i=x(t,n[0]),r=M(t,n[1]);l[0]=[i,r,z(t,n[2])];let{scale:h,originPosition:a}=t,s=h[0],u="lowerLeft"===a?h[1]:-h[1];for(let n=1;n<e.length;n++){let[h,a,o]=e[n];i+=s*h,r+=u*a,l[n]=[i,r,z(t,o)]}return l},Z=(t,e)=>{let l=Array(e.length);if(!e.length)return l;let n=e[0],i=x(t,n[0]),r=M(t,n[1]);l[0]=[i,r,P(t,n[2]),z(t,n[3])];let{scale:h,originPosition:a}=t,s=h[0],u="lowerLeft"===a?h[1]:-h[1];for(let n=1;n<e.length;n++){let[h,a,o,g]=e[n];i+=s*h,r+=u*a,l[n]=[i,r,P(t,o),z(t,g)]}return l};function N(t,e,l){let n=Array(l.length);for(let i=0;i<l.length;i++)n[i]=e(t,l[i]);return n}function W(t,e,l){let n=o(t);return e.x=g(n,l.x),e.y=f(n,l.y),null!=l.z&&(e.z=c(n,l.z)),null!=l.m&&(e.m=d(n,l.m)),e}function A(t,e,l){var n,i;let r=function(t,e,l,n){let i=[],r=m(l,n);for(let l=0;l<e.length;l++){let n=r(t,e[l]);n&&n.length>=3&&i.push(n)}return i.length?i:null}(o(t),l.rings,l.hasZ,l.hasM);return r?(e.rings=r,e.hasZ=null!=(n=l.hasZ)&&n,e.hasM=null!=(i=l.hasM)&&i,e):null}function F(t,e,l){var n,i;let r=function(t,e,l,n){let i=[],r=m(l,n);for(let l=0;l<e.length;l++){let n=r(t,e[l]);n&&n.length>=2&&i.push(n)}return i.length?i:null}(o(t),l.paths,l.hasZ,l.hasM);return r?(e.paths=r,e.hasZ=null!=(n=l.hasZ)&&n,e.hasM=null!=(i=l.hasM)&&i,e):null}function H(t,e,l){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null!=(n=null==l?void 0:l.hasZ)&&n,h=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null!=(i=null==l?void 0:l.hasM)&&i;if(null!=l){let n=o(t);e.points=b(r,h)(n,l.points),e.hasZ=r,e.hasM=h}return e}function I(t,e,l){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null!=(null==l?void 0:l.z),i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null!=(null==l?void 0:l.m);if(null==l)return e;let r=o(t);return e.x=x(r,l.x),e.y=M(r,l.y),n&&(e.z=P(r,l.z)),i&&(e.m=z(r,l.m)),e}function T(t,e,l){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null!=(r=null==l?void 0:l.hasZ)&&r,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null!=(h=null==l?void 0:l.hasM)&&h;return null!=l&&(e.rings=N(o(t),b(n,i),l.rings),e.hasZ=n,e.hasM=i),e}function E(t,e,l){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null!=(a=null==l?void 0:l.hasZ)&&a,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null!=(s=null==l?void 0:l.hasM)&&s;return null!=l&&(e.paths=N(o(t),b(n,i),l.paths),e.hasZ=n,e.hasM=i),e}},69865:(t,e,l)=>{l.d(e,{D:()=>m,previewCIMSymbol:()=>y});var n=l(58841),i=l(55401),r=l(55876),h=l(19014),a=l(70347),s=l(98287),u=l(53259);let o=new r.CIMSymbolRasterizer(null),g=(0,n.PN)(s.CB.size),f=(0,n.PN)(s.CB.maxSize),c=(0,n.PN)(s.CB.lineWidth);async function d(t,e,l){let n=null==e?void 0:e.size,i=null!=n&&"object"==typeof n&&"width"in n?n.width:n,r=null!=n&&"object"==typeof n&&"height"in n?n.height:n;if(!i||!r)if("esriGeometryPolygon"===l)i=r=e.maxSize?Math.min(e.maxSize,g):g;else{let n=await m(t,e,l);n&&(i=n.width,r=n.height),"esriGeometryPolyline"===l&&(i=e.maxSize?Math.min(e.maxSize,c):c),i=null!=i&&isFinite(i)?Math.min(i,f):g,r=null!=r&&isFinite(r)?Math.max(Math.min(r,f),1):g}return"legend"===e.style&&"esriGeometryPolyline"===l&&(i=c),{width:i,height:r}}async function m(t){var e;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=l.cimOptions||l;null!=n||(n=r.geometryType||(0,a.n5)(null==t||null==(e=t.data)?void 0:e.symbol));let{feature:s,fieldMap:u,viewParams:g}=r,f=await h.OverrideHelper.resolveSymbolOverrides(t.data,s,null,u,n,null,g);if(!f)return null;(t=t.clone()).data={type:"CIMSymbolReference",symbol:f},t.data.primitiveOverrides=void 0;let c=[];return i.wp.fetchResources(f,o.resourceManager,c),i.wp.fetchFonts(f,o.resourceManager,c),c.length>0&&await Promise.all(c),i.wp.getEnvelope(f,null,o.resourceManager)}async function y(t){var e,l,i,r;let h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{node:s,opacity:g,symbolConfig:f}=h,c=null!=f&&"object"==typeof f&&"isSquareFill"in f&&f.isSquareFill,m=h.cimOptions||h,y=m.geometryType||(0,a.n5)(null==t||null==(e=t.data)?void 0:e.symbol),p=await d(t,h,y),{feature:v,fieldMap:w}=m,x=(null==h?void 0:h.geometry)||c||"esriGeometryPolygon"!==y?"preview":"legend",M=p;if((null==h?void 0:h.geometry)&&("esriGeometryPolygon"===y||"esriGeometryPolyline"===y)&&(200>(0,n.Lz)(p.width)||200>(0,n.Lz)(p.height))){let t=p.width>p.height?(0,n.PN)(200)*p.height/p.width:(0,n.PN)(200);M={width:p.width>p.height?(0,n.PN)(200):(0,n.PN)(200)*p.width/p.height,height:t}}let P=await o.rasterizeCIMSymbolAsync(t,v,M,x,w,y,null,m.viewParams,m.allowScalingUp,null==h||null==(l=h.geometry)?void 0:l.toJSON());if(!P)return null;let{width:z,height:b}=P,L=document.createElement("canvas");
1L.width=z,L.height=b,L.getContext("2d").putImageData(P,0,0);let S=(0,n.Lz)(p.width),C=(0,n.Lz)(p.height),Z=new Image(S,C);Z.src=L.toDataURL(),Z.ariaLabel=null!=(i=h.ariaLabel)?i:null,Z.alt=null!=(r=h.ariaLabel)?r:"",null!=g&&(Z.style.opacity="".concat(g));let N=Z;if(null!=h.effectView){let t={shape:{type:"image",x:0,y:0,width:S,height:C,src:Z.src},fill:null,stroke:null,offset:[0,0]};N=(0,u.fz)([[t]],[S,C],h)}return s&&N&&s.appendChild(N),N}}}]);
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.