1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4592],{50866:(e,t,i)=>{i.d(t,{A:()=>d});var r=i(822718),n=i(550122),s=i(214740),a=i(138436);i(870583),i(856360);var o=i(87400),l=i(595168),p=i(752974),u=i(389133);function y(e,t,i){(0,n.sM)(i,e instanceof Date?e.getTime():e,t)}let d=class extends(0,u.K)(p.A){constructor(e){super(e),this.end=null,this.interval=null,this.start=null,this.type="fixed-interval"}};(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:y}}})],d.prototype,"end",void 0),(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.interval",write:!0}})],d.prototype,"interval",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:y}}})],d.prototype,"start",void 0),(0,r.Cg)([(0,o.e)({fixedIntervalBin:"fixed-interval"},{readOnly:!0})],d.prototype,"type",void 0),(d=(0,r.Cg)([(0,l.$)("esri.rest.support.FixedIntervalBinParameters")],d)).from=(0,a.dp)(d)},110652:(e,t,i)=>{i.d(t,{A:()=>h});var r=i(822718),n=i(550122),s=i(214740),a=i(138436);i(870583),i(856360);var o=i(87400),l=i(595168),p=i(752974),u=i(288867),y=i(134278),d=i(273524);let m=class extends(0,u.OU)(y.o){constructor(e){super(e),this.value=null,this.unit=null}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"number",write:!0}})],m.prototype,"value",void 0),(0,r.Cg)([(0,o.e)(d.g)],m.prototype,"unit",void 0);let c=m=(0,r.Cg)([(0,l.$)("esri.rest.support.DateBinTimeInterval")],m);function g(e,t,i){(0,n.sM)(i,"string"==typeof e?e:e?.getTime(),t)}function f(e,t){let i=e.parameters[t];return i?"string"==typeof i?i:new Date(i):null}m.from=(0,a.dp)(m);let h=class extends p.A{constructor(e){super(e),this.end=null,this.interval=null,this.offset=null,this.returnFullIntervalBin=!1,this.start=null,this.snapToData=null,this.type="date"}};(0,r.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.end",read:{reader:(e,t)=>f(t,"end")},write:{writer:g}}})],h.prototype,"end",void 0),(0,r.Cg)([(0,s.MZ)({type:c,json:{name:"parameters",write:!0}})],h.prototype,"interval",void 0),(0,r.Cg)([(0,s.MZ)({type:c,json:{name:"parameters.offset",write:!0}})],h.prototype,"offset",void 0),(0,r.Cg)([(0,s.MZ)({type:Boolean,json:{name:"parameters.returnFullIntervalBin",write:!0}})],h.prototype,"returnFullIntervalBin",void 0),(0,r.Cg)([(0,s.MZ)({cast:e=>null!=e?"string"==typeof e?e:new Date(e):null,json:{name:"parameters.start",read:{reader:(e,t)=>f(t,"start")},write:{writer:g}}})],h.prototype,"start",void 0),(0,r.Cg)([(0,s.MZ)({type:String,json:{name:"parameters.snapToData",write:!0}})],h.prototype,"snapToData",void 0),(0,r.Cg)([(0,o.e)({dateBin:"date"},{readOnly:!0})],h.prototype,"type",void 0),(h=(0,r.Cg)([(0,l.$)("esri.rest.support.DateBinParameters")],h)).from=(0,a.dp)(h)},273524:(e,t,i)=>{i.d(t,{g:()=>r});let r=(0,i(432619).O)()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"})},340672:(e,t,i)=>{i.d(t,{GC:()=>g,T2:()=>f,VY:()=>d,dO:()=>w,iJ:()=>c,v8:()=>m});var r=i(914949),n=i(432619),s=i(698920),a=i(403098),o=i(520629),l=i(32159),p=i(479754),u=i(45378),y=i(577387);let d=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"}),m=Object.freeze({});async function c(e,t,i){let r=e.bin;return r.onField&&(r.onField=r.onField.trim()),r.onExpression?.value&&(r.onExpression.value=r.onExpression.value.trim()),r.splitBy&&(r.splitBy.value&&(r.splitBy.value=r.splitBy.value.trim()),r.splitBy.outAlias&&(r.splitBy.outAlias=r.splitBy.outAlias.trim())),r.stackBy&&(r.stackBy.value&&(r.stackBy.value=r.stackBy.value.trim()),r.stackBy.outAlias&&(r.stackBy.outAlias=r.stackBy.outAlias.trim())),"normalizationField"in r.parameters&&r.parameters.normalizationField&&(r.parameters.normalizationField=r.parameters.normalizationField.trim()),e.outStatistics?.length||(e.outStatistics=[{statisticType:"count",onStatisticField:"1",outStatisticFieldName:"frequency"}]),g(e,t,i)}
1async function g(e,t,i){let{outFields:r,orderByFields:n,groupByFieldsForStatistics:s,outStatistics:a}=e;if(r)for(let e=0;e<r.length;e++)r[e]=r[e].trim();if(n)for(let e=0;e<n.length;e++)n[e]=n[e].trim();if(s)for(let e=0;e<s.length;e++)s[e]=s[e].trim();if(a)for(let e=0;e<a.length;e++)a[e].onStatisticField&&(a[e].onStatisticField=a[e].onStatisticField.trim());return e.geometry&&!e.outSR&&(e.outSR=e.geometry.spatialReference),f(e,t,i)}async function f(e,t,i){if(!e)return null;let{where:r}=e;if(e.where=r=r?.trim(),(!r||/^1 *= *1$/.test(r)||t&&t===r)&&(e.where=null),!e.geometry)return e;let n=await v(e);if(e.distance=0,e.units=null,"esriSpatialRelEnvelopeIntersects"===e.spatialRel){let{spatialReference:t}=e.geometry;(n=(0,o.HA)(n)).spatialReference=t}if(n){await (0,y.Nk)(n.spatialReference,i),n=function(e,t){let i=e.spatialReference;return h(e,t)&&(0,l.ZC)(e)?{spatialReference:i,rings:[[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]]]}:e}(n,i);let t=(await (0,p.el)((0,l.rS)(n)))[0];if(null==t)throw m;let r="quantizationParameters"in e&&e.quantizationParameters?.tolerance||"maxAllowableOffset"in e&&e.maxAllowableOffset||0,s=r&&h(n,i)?{extendedParams:{densificationStep:8*r}}:void 0,a=t.toJSON(),o=(0,y.Cv)(a,a.spatialReference,i,s);if(!o)throw m;o.spatialReference=i,e.geometry=o}return e}function h(e,t){if(!e)return!1;let i=e.spatialReference;return((0,l.ZC)(e)||(0,l.Bi)(e)||(0,l.Rg)(e))&&!(0,u.aI)(i,t)&&!(0,a.canProjectWithoutEngine)(i,t)}async function v(e){let{distance:t,units:n}=e,a=e.geometry;if(null==t||"vertexAttributes"in a)return a;let o=a.spatialReference,p=n?d.fromJSON(n):(0,s.Ij)(o),m=o&&((0,u.EA)(o)||(0,u.K8)(o))?a:await (0,y.Nk)(o,u.KK).then(()=>(0,y.Cv)(a,u.KK)),c=await i.e(4948).then(i.bind(i,204948));await c.load();let g=c.execute(m,t||1,{unit:p})??void 0;if(!g||!(0,l.Bi)(g)||0===g.rings.length)throw new r.A("unsupported-query:invalid-parameters","Invalid parameters for query by distance");return g}function w(e,t){return null==e?null:"string"==typeof e?t?new Date(`1970-01-01T${e}Z`).getTime():new Date(e).getTime():e instanceof Date?e.getTime():e}},577387:(e,t,i)=>{i.d(t,{Cv:()=>g,Nk:()=>d,lK:()=>v});var r=i(84043),n=i(937355),s=i(403098),a=i(45378),o=i(875856);let l=[0,0];function p(e,t){if(!t)return null;if("x"in t){let i={x:0,y:0};return[i.x,i.y]=e(t.x,t.y,l),null!=t.z&&(i.z=t.z),null!=t.m&&(i.m=t.m),i}if("xmin"in t){let i={xmin:0,ymin:0,xmax:0,ymax:0};return[i.xmin,i.ymin]=e(t.xmin,t.ymin,l),[i.xmax,i.ymax]=e(t.xmax,t.ymax,l),t.hasZ&&(i.zmin=t.zmin,i.zmax=t.zmax,i.hasZ=!0),t.hasM&&(i.mmin=t.mmin,i.mmax=t.mmax,i.hasM=!0),i}return"rings"in t?{rings:u(t.rings,e),hasM:t.hasM,hasZ:t.hasZ}:"paths"in t?{paths:u(t.paths,e),hasM:t.hasM,hasZ:t.hasZ}:"points"in t?{points:y(t.points,e),hasM:t.hasM,hasZ:t.hasZ}:null}function u(e,t){let i=[];for(let r of e)i.push(y(r,t));return i}function y(e,t){let i=[];for(let r of e){let e=t(r[0],r[1],[0,0]);i.push(e),r.length>2&&e.push(r[2]),r.length>3&&e.push(r[3])}return i}async function d(e,t){if(!e||!t)return;let i=Array.isArray(e)?e.map(e=>null!=e.geometry?e.geometry.spatialReference:null).filter(r.Ru):[e];await (0,s.initializeProjection)(i.map(e=>({source:e,dest:t})))}let m=p.bind(null,o.je),c=p.bind(null,o.tD);function g(e,t,i,r){if(!e)return null;if(i||(i=t,t=e.spatialReference),!(0,a.fn)(t)||!(0,a.fn)(i)||(0,a.aI)(t,i))return e;if((0,o.y7)(t,i)){let t=(0,a.K8)(i)?m(e):c(e);return t.spatialReference=i,t}return(0,s.projectMany)([e],t,i,r)[0]}class f{constructor(){this._jobs=[],this._timer=null,this._process=this._process.bind(this)}async push(e,t,i,r){if(!e?.length||!t||!i||(0,a.aI)(t,i))return e;let s={geometries:e,inSpatialReference:t,outSpatialReference:i,options:r,resolve:(0,n.Tw)()};return this._jobs.push(s),this._timer??=setTimeout(this._process,10),s.resolve.promise}_process(){this._timer=null;let e=this._jobs.shift();if(!e)return;let{geometries:t,inSpatialReference:i,outSpatialReference:r,resolve:n,options:l}=e;n((0,o.y7)(i,r)&&null==l?.extendedParams?(0,a.K8)(r)?t.map(m):t.map(c):(0,s.projectMany)(t,i,r,l)),this._jobs.length>0&&(this._timer=setTimeout(this._process,10))}}let h=new f;function v(e,t,i,r){return h.push(e,t,i,r)}},752974:(e,t,i)=>{i.d(t,{A:()=>f});var r=i(822718),n=i(288867),s=i(432619),a=i(134278),o=i(214740);i(870583),i(880805),i(856360);var l=i(87400),p=i(595168),u=i(138436);let y=new s.J({esriFieldTypeInteger:"integer",esriFieldTypeString:"string"}),d=class extends(0,n.OU)(a.o){constructor(e){super(e),this.alias=null,this.responseType=null,this.type=null,this.value=null,this.valueType=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"outAlias",write:!0}})],d.prototype,"alias",void 0),(0,r.Cg)([(0,o.MZ)({type:String})],d.prototype,"responseType",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],d.prototype,"type",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],d.prototype,"value",void 0),(0,r.Cg)([(0,l.e)(y)],d.prototype,"valueType",void 0);let m=d=(0,r.Cg)([(0,p.$)("esri.rest.support.AttributeBinsGrouping")],d);d.from=(0,u.dp)(d);let c=new s.J({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeDate:"date",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"}),g=new s.J({naturalLog:"natural-log",squareRoot:"square-root"}),f=class extends(0,n.OU)(a.o){constructor(e){super(e),this.expression=null,this.expressionValueType=null,this.field=null,this.firstDayOfWeek=null,this.hideUpperBound=null,this.splitBy=null,this.stackBy=null,this.transformation=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"onExpression.value",write:!0}})],f.prototype,"expression",void 0),(0,r.Cg)([(0,l.e)(c,{name:"onExpression.valueType"})],f.prototype,"expressionValueType",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{name:"onField",write:!0}})],f.prototype,"field",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"firstDayOfWeek",void 0),(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],f.prototype,"hideUpperBound",void 0),(0,r.Cg)([(0,o.MZ)({type:m,json:{write:{overridePolicy(){return{enabled:null!=this.splitBy?.value||null!=this.splitBy?.type}}}}})],f.prototype,"splitBy",void 0),(0,r.Cg)([(0,o.MZ)({type:m,json:{write:{target:{stackBy:{type:m},jsonStyle:{type:String}}
1,writer:(e,t)=>{e&&(t.stackBy=e.toJSON(),null!=e.responseType&&(t.jsonStyle=e.responseType))},overridePolicy(){return{enabled:null!=this.stackBy?.value||null!=this.stackBy?.type}}},read:{source:["stackBy","jsonStyle"],reader:(e,t)=>m.fromJSON({...t.stackBy,responseType:t.jsonStyle})}}})],f.prototype,"stackBy",void 0),(0,r.Cg)([(0,l.e)(g)],f.prototype,"transformation",void 0),f=(0,r.Cg)([(0,p.$)("esri.rest.support.BinParametersBase")],f)},787277:(e,t,i)=>{i.d(t,{A:()=>d});var r=i(822718),n=i(550122),s=i(214740),a=i(138436);i(870583),i(856360);var o=i(87400),l=i(595168),p=i(752974),u=i(389133);function y(e,t,i){(0,n.sM)(i,e instanceof Date?e.getTime():e,t)}let d=class extends(0,u.K)(p.A){constructor(e){super(e),this.numBins=null,this.end=null,this.start=null,this.type="auto-interval"}};(0,r.Cg)([(0,s.MZ)({type:Number,json:{name:"parameters.numberOfBins",write:!0}})],d.prototype,"numBins",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.end",write:{writer:y}}})],d.prototype,"end",void 0),(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.start",write:{writer:y}}})],d.prototype,"start",void 0),(0,r.Cg)([(0,o.e)({autoIntervalBin:"auto-interval"},{readOnly:!0})],d.prototype,"type",void 0),(d=(0,r.Cg)([(0,l.$)("esri.rest.support.AutoIntervalBinParameters")],d)).from=(0,a.dp)(d)},804592:(e,t,i)=>{i.r(t),i.d(t,{default:()=>b});var r=i(822718),n=i(288867),s=i(432619),a=i(134278),o=i(880805),l=i(214740),p=i(138436);i(870583),i(856360);var u=i(87400),y=i(595168),d=i(651057),m=i(32159),c=i(540345),g=i(340672),f=i(787277),h=i(752974),v=i(110652),w=i(916895),x=i(50866),C=i(290643),S=i(566185),B=i(626053),M=i(516442),Z=i(400315);let j=new s.J({asc:"ascending",desc:"descending"}),T={base:h.A,key:"type",typeMap:{"auto-interval":f.A,date:v.A,"fixed-boundaries":w.A,"fixed-interval":x.A}},b=class extends(0,C.y)((0,n.OU)(a.o)){constructor(e){super(e),this.binParameters=null,this.binOrder="ascending",this.cacheHint=void 0,this.datumTransformation=null,this.defaultSpatialReference=null,this.distance=void 0,this.geometry=null,this.lowerBoundaryAlias=null,this.outSpatialReference=null,this.outStatistics=null,this.returnDistinctValues=null,this.spatialRelationship="intersects",this.timeExtent=null,this.upperBoundaryAlias=null,this.units=null,this.where="1=1"}set outTimeZone(e){this._set("outTimeZone",e),e&&!(0,Z.wr)(e)&&o.A.getLogger(this).warn("#outTimeZone",`the parsed value '${e}' may not be a valid IANA time zone`)}};(0,r.Cg)([(0,l.MZ)({types:T,json:{name:"bin",write:!0}})],b.prototype,"binParameters",void 0),(0,r.Cg)([(0,u.e)(j)],b.prototype,"binOrder",void 0),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],b.prototype,"cacheHint",void 0),(0,r.Cg)([(0,l.MZ)({json:{write:!0}})],b.prototype,"datumTransformation",void 0),(0,r.Cg)([(0,l.MZ)({type:d.A,json:{name:"defaultSR",write:!0}})],b.prototype,"defaultSpatialReference",void 0),(0,r.Cg)([(0,l.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],b.prototype,"distance",void 0),(0,r.Cg)([(0,l.MZ)({types:c.yR,json:{read:m.rS,write:!0}})],b.prototype,"geometry",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"lowerBoundaryAlias",void 0),(0,r.Cg)([(0,l.MZ)({type:d.A,json:{name:"outSR",write:!0}})],b.prototype,"outSpatialReference",void 0),(0,r.Cg)([(0,l.MZ)({type:[B.A],json:{write:{enabled:!0,overridePolicy(){return{enabled:null!=this.outStatistics&&this.outStatistics.length>0}}}}})],b.prototype,"outStatistics",void 0),(0,r.Cg)([(0,l.MZ)({value:null,json:{name:"outTimeReference",read:{reader:e=>e.ianaTimeZone},write:{writer:(e,t,i)=>{e&&(t[i]={ianaTimeZone:e})}}}})],b.prototype,"outTimeZone",null),(0,r.Cg)([(0,l.MZ)({type:Boolean,json:{write:!0}})],b.prototype,"returnDistinctValues",void 0),(0,r.Cg)([(0,u.e)(S.x,{name:"spatialRel"})],b.prototype,"spatialRelationship",void 0),(0,r.Cg)([(0,l.MZ)({type:M.A,json:{write:!0}})],b.prototype,"timeExtent",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"upperBoundaryAlias",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{read:g.VY.read,write:{writer:g.VY.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance}}}}})],b.prototype,"units",void 0),(0,r.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],b.prototype,"where",void 0),(b=(0,r.Cg)([(0,y.$)("esri.rest.support.AttributeBinsQuery")],b)).from=(0,p.dp)(b)},916895:(e,t,i)=>{i.d(t,{A:()=>u});var r=i(822718),n=i(550122),s=i(214740),a=i(138436);i(870583),i(856360);var o=i(87400),l=i(595168),p=i(752974);let u=class extends p.A{constructor(e){super(e),this.boundaries=[],this.type="fixed-boundaries"}};(0,r.Cg)([(0,s.MZ)({json:{name:"parameters.boundaries",write:{writer:function(e,t,i){(0,n.sM)(i,e&&e[0]instanceof Date?e.map(e=>e.getTime()):e,t)}}}})],u.prototype,"boundaries",void 0),(0,r.Cg)([(0,o.e)({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],u.prototype,"type",void 0),(u=(0,r.Cg)([(0,l.$)("esri.rest.support.FixedBoundariesBinParameters")],u)).from=(0,a.dp)(u)}}]);
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.