@arcgis/core 4.22.0-next.20211130 → 4.22.0-next.20211201
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{66f06faae46eb8ea1b00.js → 07bfb7bb4447aeacd87a.js} +1 -1
- package/assets/esri/core/workers/chunks/2601007cf6f89521d704.js +1 -0
- package/assets/esri/core/workers/chunks/{fdcdc3a5ace2eee31468.js → 494fb282e8e4bf8f94b7.js} +1 -1
- package/assets/esri/core/workers/chunks/{901da7d32c04a6e4ea41.js → 83b3968212cba0273721.js} +1 -1
- package/assets/esri/core/workers/chunks/{bd5f358d83148a97fc7a.js → b17afdfe4450f69298ad.js} +1 -1
- package/assets/esri/core/workers/chunks/b36d275f4d943873f9e8.js +1 -0
- package/assets/esri/core/workers/chunks/{f85d95d1b2c4446257f1.js → ce49c0a926b7e9246b66.js} +1 -1
- package/assets/esri/core/workers/chunks/{5f19c284cfcd5a4569df.js → d0aa2f83abddf2244b3b.js} +1 -1
- package/assets/esri/core/workers/chunks/{64be18169516a9a488f4.js → eb9227c378085d63a3d3.js} +1 -1
- package/assets/esri/core/workers/chunks/{6b2a6bf7f6b87f2cc894.js → f72679791ea5029377e4.js} +1 -1
- package/chunks/ChapmanAtmosphere.glsl.js +5 -4
- package/chunks/Clouds.glsl.js +20 -15
- package/geometry/Point.js +1 -1
- package/interfaces.d.ts +4 -4
- package/layers/effects/EffectView.js +5 -0
- package/layers/effects/effects.js +1 -1
- package/layers/support/rasterDatasets/BaseRaster.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
- package/layers/support/rasterTransforms/utils.js +1 -1
- package/package.json +1 -1
- package/portal/schemas/definitions.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/support/previewCIMSymbol.js +1 -1
- package/symbols/support/previewSymbol2D.js +1 -1
- package/symbols/support/renderUtils.js +1 -1
- package/symbols/support/svgUtils.js +1 -1
- package/views/2d/engine/Container.js +1 -1
- package/views/2d/engine/webgl/effects/FeatureEffect.js +1 -1
- package/views/2d/engine/webgl/effects/post-processing/EffectManager.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/tileRenderers/support/WGLFeatureView.js +1 -1
- package/views/2d/layers/support/FeatureEffectView.js +5 -0
- package/views/3d/analysis/LineOfSight/LineOfSightController.js +1 -1
- package/views/3d/environment/ChapmanAtmosphere.js +1 -1
- package/views/3d/environment/CloudsGenerator.js +1 -1
- package/views/3d/environment/CloudsTechnique.js +1 -1
- package/views/3d/environment/EnvironmentRenderer.js +1 -1
- package/views/3d/environment/Fog.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/LineStipple.glsl.js +32 -20
- package/views/3d/webgl-engine/core/shaderLibrary/util/CloudsParallaxShading.glsl.js +1 -1
- package/widgets/Feature/FeatureExpression/FeatureExpressionViewModel.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/Popup.js +1 -1
- package/widgets/TableList/TableListViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/0277e223fd84f3fc5501.js +0 -1
- package/assets/esri/core/workers/chunks/55d707784090d738bb26.js +0 -1
- package/layers/effects/EffectList.js +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
var RemoteClient;(()=>{var e={88277:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},68773:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i}),r(80442);var n,o=r(78286),s=r(17202);const i={apiKey:void 0,applicationUrl:null==(n=globalThis.location)?void 0:n.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryService:null,geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",portalUrl:"https://www.arcgis.com",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],maxUrlLength:2e3,proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,o.RH)(i,globalThis.esriConfig,!0),delete i.has),!i.assetsPath){const e="4.22.0";i.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${s.r}/assets`}i.baseUrl&&console.warn("[esri.config]","baseUrl has been replaced by assetsPath"),Object.defineProperty(i,"baseUrl",{set(){console.warn("[esri.config]","baseUrl has been replaced by assetsPath")}}),i.request.corsEnabledServers=[],i.request.corsEnabledServers.push=function(){return console.warn("[esri.config]","request.corsEnabledServers is not supported and will be removed in a future release. See http://esriurl.com/cors8664"),0}},20102:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(22974),o=r(92604),s=r(58896);class i extends s.Z{constructor(e,t,r){if(super(e,t,r),!(this instanceof i))return new i(e,t,r)}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return(0,n.d9)(t)}catch(e){return"[object]"}})))}}catch(e){throw o.Z.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new i(e.name,e.message,e.details)}}i.prototype.type="error"},92604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(68773),o=(r(80442),r(70586)),s=r(19153);const i={info:0,warn:1,error:2,none:3};class a{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,a._loggers[this.module]=this;const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=a.getLogger(this.module.slice(0,t)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){const e=this;return{loggedMessages:e._loggedMessages,clearLoggedWarnings:()=>e._loggedMessages.warn.clear()}}static get testSingleton(){return{resetLoggers(e={}){const t=a._loggers;return a._loggers=e,t},set throttlingDisabled(e){a._throttlingDisabled=e}}}static getLogger(e){let t=a._loggers[e];return t||(t=new a({module:e})),t}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!a._throttlingDisabled){const n=this._argsToKey(r),o=this._loggedMessages[e].get(n);if("once"===t&&null!=o||"oncePerTick"===t&&o&&o>=a._tickCounter)return;this._loggedMessages[e].set(n,a._tickCounter),a._scheduleTickCounterIncrement()}for(const t of n.Z.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;(0,o.pC)(r);){const t=r[e];if((0,o.pC)(t))return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",this._consoleWriter)}_consoleWriter(e,t,...r){console[e](`[${t}]`,...r)}_matchLevel(e){const t=n.Z.log.level?n.Z.log.level:"warn";return i[this._parentWithMember("level",t)]<=i[e]}_argsToKey(...e){return(0,s.hP)(JSON.stringify(e,((e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]")))}static _scheduleTickCounterIncrement(){a._tickCounterScheduled||(a._tickCounterScheduled=!0,Promise.resolve().then((()=>{a._tickCounter++,a._tickCounterScheduled=!1})))}}a._loggers={},a._tickCounter=0,a._tickCounterScheduled=!1,a._throttlingDisabled=!1},58896:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(78286);class o{constructor(e,t,r){this.name=e,this.details=r,this.message=void 0,this instanceof o&&(this.message=t&&function(e,t){return e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,(function(e,r){if(""===r)return"$";const o=(0,n.hS)(r,t),s=null==o?"":o;if(void 0===s)throw new Error(`could not find key "${r}" in template`);return s.toString()}))}(t,r)||"")}toString(){return"["+this.name+"]: "+this.message}}},77734:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});class n{constructor(e=1){this._seed=e}set seed(e){this._seed=null==e?Math.random()*n._m:e}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}n._m=2147483647,n._a=48271,n._c=0},67676:(e,t,r)=>{"use strict";r.d(t,{SO:()=>l,a9:()=>a,fS:()=>s,cq:()=>f,w6:()=>c,Od:()=>b,e$:()=>d,FY:()=>p});var n=r(70586),o=r(77734);function s(e,t,r){if((0,n.Wi)(e)&&(0,n.Wi)(t))return!0;if((0,n.Wi)(e)||(0,n.Wi)(t)||e.length!==t.length)return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const i=!!Array.prototype.fill;function a(e,t){if(i)return new Array(e).fill(t);const r=new Array(e);for(let n=0;n<e;n++)r[n]=t;return r}function c(e,t){void 0===t&&(t=e,e=0);const r=new Array(t-e);for(let n=e;n<t;n++)r[n-e]=n;return r}class l{constructor(){this.last=0}}const u=new l;function f(e,t,r,n){n=n||u;const o=Math.max(0,n.last-10);for(let s=o;s<r;++s)if(e[s]===t)return n.last=s,s;const s=Math.min(o,r);for(let r=0;r<s;++r)if(e[r]===t)return n.last=r,r;return-1}function d(e,t,r,n){const o=null==r?e.length:r,s=f(e,t,o,n);if(-1!==s)return e[s]=e[o-1],null==r&&e.pop(),t}const h=new Set;function p(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;h.clear();for(let e=0;e<n;++e)h.add(t[e]);o=o||u;const i=Math.max(0,o.last-10);for(let t=i;t<r;++t)if(h.has(e[t])&&(s&&s.push(e[t]),h.delete(e[t]),e[t]=e[r-1],--r,--t,0===h.size||0===r))return h.clear(),r;for(let t=0;t<i;++t)if(h.has(e[t])&&(s&&s.push(e[t]),h.delete(e[t]),e[t]=e[r-1],--r,--t,0===h.size||0===r))return h.clear(),r;return h.clear(),r}function b(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}new o.Z},91460:(e,t,r)=>{"use strict";function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function o(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const s=o(e,t,(t=>{s.remove(),r.call(e,t)}));return{remove(){s.remove()}}}r.d(t,{vT:()=>n,on:()=>o,IH:()=>s})},80442:(e,t,r)=>{"use strict";var n,o;let s;var i,a;function c(e){return"function"==typeof s[e]?s[e]=s[e](globalThis):s[e]}r.d(t,{Z:()=>c}),s=null!=(n=globalThis.dojoConfig)&&n.has||null!=(o=globalThis.esriConfig)&&o.has?{...null==(i=globalThis.dojoConfig)?void 0:i.has,...null==(a=globalThis.esriConfig)?void 0:a.has}:{},c.add=(e,t,r,n)=>((n||void 0===s[e])&&(s[e]=t),r&&c(e)),c.cache=s,c.add("esri-deprecation-warnings",!0),(()=>{var e;c.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const t="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(c.add("host-browser",t),c.add("host-node","object"==typeof globalThis.process&&(null==(e=globalThis.process.versions)?void 0:e.node)&&globalThis.process.versions.v8),c.add("dom",t),c("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(c.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),c.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),c.add("khtml",r.includes("Konqueror")?n:void 0),c.add("edge",parseFloat(t.split("Edge/")[1])||void 0),c.add("opr",parseFloat(t.split("OPR/")[1])||void 0),c.add("webkit",!c("wp")&&!c("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),c.add("chrome",!c("edge")&&!c("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),c.add("android",!c("wp")&&parseFloat(t.split("Android ")[1])||void 0),c.add("safari",!r.includes("Safari")||c("wp")||c("chrome")||c("android")||c("edge")||c("opr")?void 0:parseFloat(r.split("Version/")[1])),c.add("mac",r.includes("Macintosh")),!c("wp")&&t.match(/(iPhone|iPod|iPad)/)){const e=RegExp.$1.replace(/P/,"p"),r=t.match(/OS ([\d_]+)/)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replace(/_/g,""));c.add(e,n),c.add("ios",n)}c.add("trident",parseFloat(r.split("Trident/")[1])||void 0),c("webkit")||(!t.includes("Gecko")||c("wp")||c("khtml")||c("trident")||c("edge")||c.add("mozilla",n),c("mozilla")&&c.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&c.add("esri-mobile",t),r&&c.add("esri-iPhone",r),c.add("esri-geolocation",!!navigator.geolocation)}c.add("esri-canvas-svg-support",!c("trident")),c.add("esri-wasm","WebAssembly"in globalThis),c.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,t=!1===globalThis.crossOriginIsolated;return e&&!t})),c.add("esri-atomics","Atomics"in globalThis),c.add("esri-workers","Worker"in globalThis),c.add("esri-text-decoder","TextDecoder"in globalThis),c.add("esri-text-encoder","TextEncoder"in globalThis),c.add("web-feat:cache","caches"in globalThis),c.add("esri-workers-arraybuffer-transfer",!c("safari")||Number(c("safari"))>=12),c.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),c.add("featurelayer-simplify-payload-size-factors",[1,1,4]),c.add("featurelayer-snapshot-enabled",!0),c.add("featurelayer-snapshot-point-min-threshold",8e4),c.add("featurelayer-snapshot-point-max-threshold",4e5),c.add("featurelayer-snapshot-point-coverage",.1),c.add("featurelayer-advanced-symbols",!1),c.add("featurelayer-pbf",!0),c.add("featurelayer-pbf-statistics",!1),c.add("feature-layers-workers",!0),c.add("mapview-transitions-duration",200),c.add("mapserver-pbf-enabled",!1),c.add("vectortilelayer-max-buffers",c("ff")?160:Number.POSITIVE_INFINITY),c("host-webworker")||c("host-browser")&&(c.add("esri-csp-restrictions",(()=>{try{new Function}catch{return!0}return!1})),c.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{c.add("esri-image-decode",!0,!0,!0)})).catch((()=>{c.add("esri-image-decode",!1,!0,!0)}))}return!1})),c.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})))})()},22974:(e,t,r)=>{"use strict";r.d(t,{d9:()=>s,fS:()=>i,yd:()=>o}),r(67676),r(80442);var n=r(1533);function o(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&o(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function s(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;if((0,n.W0)(e)||(0,n.lq)(e)||(0,n.KZ)(e)||(0,n.z3)(e)||(0,n.Uc)(e)||(0,n.Hx)(e)||(0,n.ZY)(e)||(0,n.xZ)(e)||(0,n.fS)(e))return(0,n.tP)(e);if(e instanceof Date)return new Date(e.getTime());if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;return e.forEach(((e,r)=>{t.set(r,s(e))})),t}if(e instanceof Set){const t=new Set;return e.forEach((e=>{t.add(s(e))})),t}let t;const r=e;if("function"==typeof r.clone)t=r.clone();else if("function"==typeof r.map&&"function"==typeof r.forEach)t=r.map(s);else if("function"==typeof r.notifyChange&&"function"==typeof r.watch)t=r.clone();else{t={};for(const r of Object.getOwnPropertyNames(e))t[r]=s(e[r])}return t}function i(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof(e||{}).getTime&&"function"==typeof(t||{}).getTime&&e.getTime()===t.getTime()||!1}},70586:(e,t,r)=>{"use strict";function n(e){return null!=e}function o(e){return null==e}function s(e){return void 0===e}function i(e,t){return n(e)?t(e):null}function a(e){return e}function c(e,t){if(o(e))throw new Error(t);return e}function l(e,t){return n(e)?e:"function"==typeof t?t():t}function u(e){return n(e)&&e.destroy(),null}function f(e){return n(e)&&e.dispose(),null}function d(e){return n(e)&&e.remove(),null}function h(e){return n(e)&&e.release(),null}function p(e){return null}function b(e,t){const r=new Array;for(const n of e)r.push(m(n,null,t));return r}function g(e,t){for(const r of e)m(r,null,t)}function m(e,t,r){return n(e)?r(e):t}function y(e,t){return n(e)?t(e):null}function v(e){return e.filter((e=>n(e)))}function w(e,...t){let r=e;for(let e=0;e<t.length&&r;++e)r=r[t[e]];return r}function _(e){return e}r.d(t,{Po:()=>y,yw:()=>i,j0:()=>_,SC:()=>u,O3:()=>f,lV:()=>v,JR:()=>g,U2:()=>w,Wi:()=>o,pC:()=>n,o8:()=>s,Fd:()=>b,R2:()=>m,Bd:()=>p,RY:()=>h,hw:()=>d,Wg:()=>a,Pt:()=>l,s3:()=>c})},78286:(e,t,r)=>{"use strict";r.d(t,{RH:()=>o,hS:()=>s,RB:()=>i});var n=r(22974);function o(e,t,r=!1){return c(e,t,r)}function s(e,t){if(null!=t)return t[e]||a(e.split("."),!1,t)}function i(e,t,r){const n=e.split("."),o=n.pop(),s=a(n,!0,r);s&&o&&(s[o]=t)}function a(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function c(e,t,r){return t?Object.keys(t).reduce((function(e,o){let s=e[o],i=t[o];return s===i?e:void 0===s?(e[o]=(0,n.d9)(i),e):(Array.isArray(i)||Array.isArray(e)?(s=s?Array.isArray(s)?e[o]=s.concat():e[o]=[s]:e[o]=[],i&&(Array.isArray(i)||(i=[i]),r?i.forEach((e=>{-1===s.indexOf(e)&&s.push(e)})):e[o]=i.concat())):i&&"object"==typeof i?e[o]=c(s,i,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=i),e)}),e||{}):e}},95330:(e,t,r)=>{"use strict";r.d(t,{e4:()=>C,$6:()=>c,Ue:()=>l,zE:()=>u,dD:()=>_,hh:()=>M,vr:()=>j,Ds:()=>A,as:()=>O,WW:()=>P,R8:()=>w,D_:()=>v,Hc:()=>h,tI:()=>T,y8:()=>E,fu:()=>g,$F:()=>m,d1:()=>k,DB:()=>S,r9:()=>p,k_:()=>f,H9:()=>b,Yn:()=>$,gx:()=>x,Hl:()=>y});const n=(o=globalThis,{setTimeout:(e,t)=>{const r=o.setTimeout(e,t);return{remove:()=>o.clearTimeout(r)}}});var o,s=r(20102),i=r(91460),a=(r(92604),r(70586));function c(e){return Promise.all(e)}function l(e){return new Promise(((t,r)=>{try{e(t,r)}catch(e){Promise.resolve().then((()=>r(e)))}}))}function u(e="Aborted"){return new s.Z("AbortError",e)}function f(e,t="Aborted"){if(h(e))throw u(t)}function d(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function h(e){const t=d(e);return(0,a.pC)(t)&&t.aborted}function p(e){if(v(e))throw e}function b(e){if(!v(e))throw e}function g(e,t){const r=d(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,i.IH)(r,"abort",(()=>t()));t()}}function m(e,t){const r=d(e);if(!(0,a.Wi)(r))return f(r),(0,i.IH)(r,"abort",(()=>t(u())))}function y(e,t){const r=d(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let o=g(t,(()=>n(u())));const s=()=>o=(0,a.hw)(o);e.then(s,s),e.then(r,n)}))}function v(e){return e&&"AbortError"===e.name}function w(e){return e.catch((e=>{if(!v(e))throw e}))}function _(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}function O(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return O(t.map((t=>e[t]))).then((e=>{const r={};return t.forEach(((t,n)=>r[t]=e[n])),r}))}const t=e;return l((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const o={promise:t||Promise.resolve(t)};r.push(o),o.promise.then((e=>{o.value=e})).catch((e=>{o.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}function P(e){return O(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function k(e){return Promise.reject(e)}function S(e){return Promise.resolve(e)}function C(e,t,r){const n=new AbortController;return g(r,(()=>n.abort())),new Promise(((r,o)=>{let s=setTimeout((()=>{s=0,r(t)}),e);g(n,(()=>{s&&(clearTimeout(s),o(u()))}))}))}function E(e){return e&&"function"==typeof e.then}function x(e){return T(e)?e:Promise.resolve(e)}function T(e){return e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}function A(e,t=-1){let r,n,o,s,i=null;const c=(...l)=>{if(r){n=l,s&&s.reject(u()),s=_();const e=(0,a.j0)(s.promise);if(i){const e=i;i=null,e.abort()}return e}if(o=s||_(),s=null,t>0){const n=new AbortController;r=x(e(...l,n.signal));const o=r;C(t).then((()=>{r===o&&(s?n.abort():i=n)}))}else r=1,r=x(e(...l));const f=()=>{const e=n;n=o=r=i=null,null!=e&&c(...e)},d=r,h=o;return d.then(f,f),d.then(h.resolve,h.reject),(0,a.j0)(h.promise)};return c}function M(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),o=t=>{e(t)};return o.resolve=t=>e(t),o.reject=e=>t(e),o.timeout=(e,t)=>n.setTimeout((()=>o.reject(t)),e),o.promise=r,o}function j(e,t){let r,n=new AbortController;const o=e(n.signal);let s={promise:o,finished:!1,abort:()=>{n&&(n.abort(),n=null)}};const i=()=>{s&&(s.finished=!0,s=null),(0,a.pC)(r)&&(r.remove(),r=null),n=null};return o.then(i,i),r=g(t,(()=>{(0,a.pC)(s)&&s.abort()})),s}function $(e){return Promise.resolve().then((()=>{f(e)}))}},19153:(e,t,r)=>{"use strict";r.d(t,{Qs:()=>a,hP:()=>c,gx:()=>i,Cb:()=>l});var n=r(78286);const o=/\{([^\}]+)\}/g;function s(e){return null==e?"":e}function i(e,t){return e.replace(o,"object"==typeof t?(e,r)=>s((0,n.hS)(r,t)):(e,r)=>s(t(r)))}function a(e,t){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,(e=>t&&-1!==t.indexOf(e)?e:`\\${e}`))}function c(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}function l(e){return(new DOMParser).parseFromString(e||"","text/html").body.innerText||""}},1533:(e,t,r)=>{"use strict";function n(e,t){if(e.forEach)e.forEach(t);else for(let r=0;r<e.length;r++)t(e[r],r,e)}function o(e,t,r){if(e.slice)return e.slice(t,r);void 0===t?t=0:(t<0&&(t+=e.length),t=Math.min(e.length,Math.max(0,t))),void 0===r?r=e.length:(r<0&&(r+=e.length),r=Math.min(e.length,Math.max(0,r)));const n=Math.max(0,r-t),o=new(0,e.constructor)(n);for(let r=0;r<n;r++)o[r]=e[t+r];return o}function s(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}function i(e){return e instanceof Int8Array||e&&e.constructor&&"Int8Array"===e.constructor.name}function a(e){return e instanceof Uint8Array||e&&e.constructor&&"Uint8Array"===e.constructor.name}function c(e){return e instanceof Uint8ClampedArray||e&&e.constructor&&"Uint8ClampedArray"===e.constructor.name}function l(e){return e instanceof Int16Array||e&&e.constructor&&"Int16Array"===e.constructor.name}function u(e){return e instanceof Uint16Array||e&&e.constructor&&"Uint16Array"===e.constructor.name}function f(e){return e instanceof Int32Array||e&&e.constructor&&"Int32Array"===e.constructor.name}function d(e){return e instanceof Uint32Array||e&&e.constructor&&"Uint32Array"===e.constructor.name}function h(e){return e instanceof Float32Array||e&&e.constructor&&"Float32Array"===e.constructor.name}function p(e){return e instanceof Float64Array||e&&e.constructor&&"Float64Array"===e.constructor.name}r.d(t,{Ed:()=>n,eP:()=>s,xZ:()=>h,fS:()=>p,z3:()=>l,Hx:()=>f,W0:()=>i,Uc:()=>u,ZY:()=>d,lq:()=>a,KZ:()=>c,tP:()=>o})},17452:(e,t,r)=>{"use strict";r.d(t,{R9:()=>y,qg:()=>E,tD:()=>M,ZN:()=>le,fl:()=>ue,AX:()=>_,Gd:()=>v,Ie:()=>ie,sJ:()=>Q,AH:()=>K,vt:()=>oe,oh:()=>N,P$:()=>Z,Ml:()=>fe,ed:()=>j,b7:()=>C,D6:()=>R,tm:()=>$,YP:()=>B,jc:()=>D,HK:()=>H,$U:()=>X,oC:()=>Y,kl:()=>W,v_:()=>F,hF:()=>L,_l:()=>V,PF:()=>J,Fv:()=>q,B7:()=>S,u0:()=>P,Yd:()=>ne,Hu:()=>ce,Qj:()=>se,hO:()=>ee,mN:()=>O});var n=r(68773),o=r(20102),s=r(92604),i=r(70586);const a=s.Z.getLogger("esri.core.urlUtils"),c=n.Z.request,l="esri/config: esriConfig.request.proxyUrl is not set.",u=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,f=/^\s*http:/i,d=/^\s*https:/i,h=/^\s*file:/i,p=/:\d+$/,b=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,g=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),m=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class y{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=(0,i.j0)(this.uri.match(g));this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=(0,i.j0)(this.authority.match(m)),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const v=new y(n.Z.applicationUrl),w={},_=(()=>{const e=(0,i.j0)(v.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${v.scheme}://${v.host}${null!=v.port?`:${v.port}`:""}${t}`})();function O(e){const t={path:null,query:null},r=new y(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=P(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function P(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let s=r[n];"string"==typeof s&&(s=r[n]=[s]),Array.isArray(s)?s.push(o):r[n]=o}return r}function k(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function S(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r])))).join("&"):Object.keys(e).map((r=>{const n=e[r];if(null==n)return"";const o=encodeURIComponent(r)+"=",s=t&&t[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map((e=>k(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e))).join("&"):k(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function C(e=!1){let t,r=c.proxyUrl;if("string"==typeof e){t=X(e);const n=j(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw a.warn(l),new o.Z("urlutils:proxy-not-set",l);return t&&te()&&(r=ee(r)),O(r)}function E(e){const t=j(e);let r,n;if(t){const e=T(t.proxyUrl);r=e.path,n=e.query?P(e.query):null}if(r){const t=O(e);e=r+"?"+t.path;const o=S({...n,...t.query});o&&(e=`${e}?${o}`)}return e}const x={path:"",query:""};function T(e){const t=e.indexOf("?");return-1!==t?(x.path=e.slice(0,t),x.query=e.slice(t+1)):(x.path=e,x.query=null),x}function A(e){return(e=re(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=T(e).path),!0)).toLowerCase()}function M(e){const t={proxyUrl:e.proxyUrl,urlPrefix:A(e.urlPrefix)},r=c.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;o=e;break}0===t.indexOf(n)&&(o=e+1)}return r.splice(o,0,t),o}function j(e){const t=c.proxyRules,r=A(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function $(e,t){return e=I(e),t=I(t),re(e)===re(t)}function I(e){const t=(e=q(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function N(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=c.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function R(e,t,r=!1){const n=ae(e),o=ae(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function W(e){if("string"==typeof e){if(!B(e))return!0;e=ae(e)}if(R(e,v))return!0;const t=c.trustedServers||[];for(let r=0;r<t.length;r++){const n=U(t[r]);for(let t=0;t<n.length;t++)if(R(e,n[t]))return!0}return!1}function U(e){return w[e]||(G(e)||Y(e)?w[e]=[new y(L(e))]:w[e]=[new y(`http://${e}`),new y(`https://${e}`)]),w[e]}function L(e,t=_,r){return Y(e)?r&&r.preserveProtocolRelative?e:"http"===v.scheme&&v.authority===Z(e).slice(2)?`http:${e}`:`https:${e}`:G(e)?e:(0,i.j0)(F("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function J(e,t=_,r){if(!B(e))return e;const n=q(e),o=n.toLowerCase(),s=q(t).toLowerCase().replace(/\/+$/,""),i=r?q(r).toLowerCase().replace(/\/+$/,""):null;if(i&&0!==s.indexOf(i))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=a(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===s.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=a(o,"/",c+1);if(-1===l)return e;if(i&&l<i.length)return e;e=n.slice(l);const u=s.slice(l-1).replace(/[^/]+/g,"").length;if(u>0)for(let t=0;t<u;t++)e=`../${e}`;else e=`./${e}`;return e}function q(e){return function(e){const t=c.httpsDomains;if(!function(e){return f.test(e)||"http"===v.scheme&&Y(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),p.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===v.scheme&&n===v.authority&&!b.test(e)||(te()&&n===v.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||te()&&!j(e))&&(e=ee(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=T(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=L(e=e.trim()))))}function F(...e){const t=e.filter(i.pC);if(!t||!t.length)return;const r=[];if(B(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return h.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&r.push("");const n=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function Z(e,t=!1){if(D(e)||H(e))return null;let r=e.indexOf("://");if(-1===r&&Y(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=re(e,!0)),e}function B(e){return Y(e)||G(e)}function D(e){return null!=e&&"blob:"===e.slice(0,5)}function H(e){return"data:"===e.slice(0,5)}function K(e){const t=Q(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}const z=/^data:(.*?)(;base64)?,(.*)$/;function Q(e){const t=e.match(z);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function V(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function Y(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function G(e){return u.test(e)}function X(e){return d.test(e)||"https"===v.scheme&&Y(e)}function ee(e){return Y(e)?`https:${e}`:e.replace(f,"https:")}function te(){return"https"===v.scheme}function re(e,t=!1){return Y(e)?e.slice(2):(e=e.replace(u,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function ne(e){let t=0;if(B(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function oe(e,t){if(!e)return"";const r=O(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(null==t||!t.length)return n;const o=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(o,"")}function se(e){return e.replace(/\/+$/,"")}function ie(e,t,r){if(!(t&&r&&e&&B(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),s=e.indexOf(":",n+2),i=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,i).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(i)}`}function ae(e){return"string"==typeof e?new y(L(e)):(e.scheme||(e.scheme=v.scheme),e)}function ce(e,t){const r=O(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function le(e,t,r){const n=O(e),o=n.query||{};return o[t]=String(r),`${n.path}?${S(o)}`}function ue(e,t){const r=O(e),n=r.query||{};for(const e in t)n[e]=t[e];const o=S(n);return o?`${r.path}?${o}`:r.path}function fe(e){if((0,i.Wi)(e))return null;const t=e.match(de);return t?t[1]:null}const de=/.*?\.([^\/]*)$/},25045:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(40330),o=r(20102),s=r(91460),i=r(70586),a=r(95330),c=r(94362),l=r(17202);const u={statsWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(6841)]).then(r.bind(r,36841)),geometryEngineWorker:()=>Promise.all([r.e(5837),r.e(8227)]).then(r.bind(r,48227)),CSVSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(966)]).then(r.bind(r,27793)),EdgeProcessingWorker:()=>Promise.all([r.e(6481),r.e(8936)]).then(r.bind(r,18936)),ElevationSamplerWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(411),r.e(2781),r.e(6481),r.e(6459),r.e(3553)]).then(r.bind(r,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(4588),r.e(411),r.e(1534),r.e(3485),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(5158)]).then(r.bind(r,41650)),GeoJSONSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(7845)]).then(r.bind(r,97845)),LercWorker:()=>r.e(3027).then(r.bind(r,23027)),MemorySourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(639)]).then(r.bind(r,30639)),PBFDecoderWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(8961),r.e(147)]).then(r.bind(r,61916)),Pipeline:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(5638),r.e(4588),r.e(411),r.e(1534),r.e(3485),r.e(3578),r.e(8961),r.e(7054),r.e(2730),r.e(7783)]).then(r.bind(r,97783)),PointCloudWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(411),r.e(9294),r.e(9474)]).then(r.bind(r,16583)),RasterWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(411),r.e(176),r.e(8034)]).then(r.bind(r,61576)),SceneLayerWorker:()=>r.e(5265).then(r.bind(r,55265)),WFSSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(4556),r.e(3230)]).then(r.bind(r,43230)),WorkerTileHandler:()=>Promise.all([r.e(2303),r.e(1785),r.e(6810),r.e(9872)]).then(r.bind(r,56456))},{CLOSE:f,ABORT:d,INVOKE:h,RESPONSE:p,OPEN_PORT:b,ON:g}=c.Cs;class m{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===c.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class y{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new m((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let r;r="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const n=new y(t.port1,{channel:t,client:r});return"object"==typeof r&&"remoteClient"in r&&(r.remoteClient=n),y.clients.set(n,r),t.port2}static loadWorker(e){const t=u[e];return t?t():Promise.resolve(null)}close(){this._post({type:f}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){const n=r&&r.signal,s=r&&r.transferList;if(!this._port)return Promise.reject(new o.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const i=(0,c.jt)();return new Promise(((r,o)=>{const c=(0,a.$F)(n,(()=>{var e;const t=this._outJobs.get(i);t&&(this._outJobs.delete(i),null==(e=t.abortHandle)||e.remove(),this._post({type:d,jobId:i}),o((0,a.zE)()))})),l={resolve:r,reject:o,abortHandle:c,debugInfo:e};this._outJobs.set(i,l),this._post({type:h,jobId:i,methodName:e,abortable:null!=n},t,s)}))}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:c.Cs.ON,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),{remove(){r.port1.postMessage({type:c.Cs.CLOSE}),r.port1.close(),r.port1.removeEventListener("message",n)}}}openPort(){const e=new MessageChannel;return this._post({type:b,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,i.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,c.QM)(e);if(t)switch(t.type){case p:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case d:this._onAbortMessage(t);break;case f:this._onCloseMessage();break;case b:this._onOpenPortMessage(t);break;case g:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&y.clients.get(this)===e&&e.destroy(),y.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n,abortable:o}=e,s=o?new AbortController:null,i=this._inJobs;let l,u=this._client,f=u[t];try{if(!f&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)u=u[e[t]],f=u[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);l=f.call(u,n,{client:this,signal:s?s.signal:null})}catch(e){return void this._post({type:p,jobId:r,error:(0,c.AB)(e)})}(0,a.y8)(l)?(i.set(r,{controller:s,promise:l}),l.then((e=>{i.has(r)&&(i.delete(r),this._post({type:p,jobId:r},e))}),(e=>{i.has(r)&&(i.delete(r),(0,a.D_)(e)||this._post({type:p,jobId:r,error:(0,c.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:p,jobId:r},l)}_onOpenPortMessage(e){new y(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,(e=>{t.postMessage(e)})),n=(0,s.on)(e.port,"message",(e=>{(0,c.QM)(e).type===c.Cs.CLOSE&&(n.remove(),r.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:r,error:n,data:s}=e,i=this._outJobs;if(!i.has(r))return;const a=i.get(r);i.delete(r),null==(t=a.abortHandle)||t.remove(),n?a.reject(o.Z.fromJSON(JSON.parse(n))):a.resolve(s)}_post(e,t,r){return(0,c.oi)(this._port,e,t,r)}}y.kernelInfo={revision:l.$,version:n.i8,buildDate:l.r},y.clients=new Map},94362:(e,t,r)=>{"use strict";r.d(t,{Cs:()=>n,jt:()=>a,oi:()=>l,QM:()=>u,AB:()=>c});var n,o,s=r(80442);(o=n||(n={}))[o.HANDSHAKE=0]="HANDSHAKE",o[o.OPEN=1]="OPEN",o[o.OPENED=2]="OPENED",o[o.RESPONSE=3]="RESPONSE",o[o.INVOKE=4]="INVOKE",o[o.ABORT=5]="ABORT",o[o.CLOSE=6]="CLOSE",o[o.OPEN_PORT=7]="OPEN_PORT",o[o.ON=8]="ON";let i=0;function a(){return i++}function c(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function l(e,t,r,o){if(t.type===n.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==n.INVOKE&&t.type!==n.RESPONSE)return void e.postMessage(t);let s;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(s=f(o),t.data=r):(s=f(r.transferList),t.data=r.result),s?e.postMessage(t,s):e.postMessage(t)}function u(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function f(e){if(!e||!e.length)return null;if((0,s.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},40330:(e,t,r)=>{"use strict";r.d(t,{Dp:()=>l,id:()=>a,qh:()=>c,i8:()=>s,Nv:()=>i});var n=r(80442),o=r(17452);const s="4.22",i={async request(e,t){var n;const{default:s}=await r.e(3172).then(r.bind(r,3172)),i=e.options,a=i.responseType;i.signal=null==t?void 0:t.signal,i.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(n=(0,o.oh)(e.url))&&n.after?a:"array-buffer";const c=await s(e.url,i),l={data:c.data,ssl:c.ssl};switch(c.requestOptions.responseType){case"native-request-init":return delete l.data.signal,l;case"blob":l.data=await l.data.arrayBuffer();break;case"json":l.data=(new TextEncoder).encode(JSON.stringify(l.data)).buffer;break;case"text":l.data=(new TextEncoder).encode(l.data).buffer}return{result:l,transferList:[l.data]}}};let a;function c(e){a=e}function l(e){const t=a&&a.findCredential(e);return t&&t.token?(0,o.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")||((0,n.Z)("edge")||(0,n.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},17202:(e,t,r)=>{"use strict";r.d(t,{r:()=>n,$:()=>o});const n="20211130",o="7b489204abc8712c46d3a229dc6b74a0c8996b5e"}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,n)=>(r.f[n](e,t),t)),[])),r.u=e=>"chunks/"+{24:"bd5f358d83148a97fc7a",36:"457dd64964cf7f404943",102:"64be18169516a9a488f4",147:"472df5b8be9c335eb999",176:"0a5b9fdfa77c0e690503",223:"59640d78295e2e363f18",247:"a0450fbf01de854f5c97",280:"ea05f870dda27bca4fe8",402:"362339272cf5adcf9e4b",411:"8f4714cdd325b8e28957",511:"dd8c983c153c65ebceca",565:"d53ad780789f4d9124ad",576:"38e792e037e88a74995a",635:"12576e848e14cc1fbb70",639:"b935d0c8d5951298cc53",755:"7e0b4f9a847bb2a52338",819:"6280c69d87b2a3a18780",941:"0632f22aa1af88a238ce",966:"e9af7a5eb1e3bce4f0f9",1074:"2d9b32e3e24631cd4e34",1295:"a164ca7d87bfae334347",1387:"a3a55bd894e1eb739733",1421:"7fa2d758a24bbaaab0bf",1433:"1def8845714ea745fd24",1534:"09141e5539e652edfc6c",1762:"9375938d2d708f1b0271",1765:"e6b41012ade9bdce3244",1773:"aa57f2c380132c746730",1785:"09426d106b3189de8b6f",2134:"f3c0d0d182988a8d2b3f",2303:"3c4d68029ee2787f9653",2360:"f3da8b797c8e1fcb1c21",2399:"96f148a556a2418038de",2515:"446f1bc9822d03aa9a7a",2730:"594029863881481feacf",2781:"1de80cd934983f4adfcd",2785:"4fdf762d805ebb17624d",3027:"f30bb46f14bf3e658711",3081:"058955b87ce2aa1b1809",3172:"fe3ca2d2764525a8c67f",3230:"7351fbd8a9dbef027d06",3437:"7d032d4ee9a91709aaa3",3471:"36c4bc3d84e9c3148776",3485:"c2268a36f90a9310feec",3516:"96a62dc1e07f3ef20a30",3529:"5f19c284cfcd5a4569df",3553:"a0aa8321b58109c6ae19",3578:"e39316a7998d3dde62bf",3668:"ab1aa39457f9205c9b79",3749:"701688ccf7a6c93c9147",3792:"c80c8aff0d14dd822454",3852:"62c683f44c297d239ab8",3942:"d7f77fe32bb2d69b5714",4067:"bc0b85bc1e5116836ba4",4166:"8a5e15bb513c65ef730d",4358:"f977977564b2b75332a9",4369:"cb5c42f598064c0c4eaa",4470:"4dca43553ef2090e4b5f",4499:"4d325ff7180a253d08c7",4556:"a465488578b87d63215d",4588:"e14b4af7eefcbc2c46a0",4599:"49bb222ee07a768e998d",4695:"14bef72154b3a19561a7",4720:"fe42716651b39518453c",4816:"d76aa27b92563db8f366",4859:"8bc4ea821be16a752226",4889:"0ca1ce6856620fc88011",5051:"ac9163e7b4d544b9aa78",5158:"af6251cc7973b43a1523",5265:"3131d0ebc834e33754e1",5638:"ae7b979ce886b03937cc",5732:"469ba1b24cdeea0758ec",5823:"ddc4adb9b9997fb09b43",5837:"42c67e6579b54844ec06",5845:"3e43df5bd4cba6b0e91f",5853:"66f8544b54fab04b36e9",6104:"6210b23872c362f51b12",6237:"c544df83e86a9d36b68c",6348:"1f02165e7758645b5e0d",6401:"06c34599afdb1fe03cbc",6459:"d8d182c41e8bb70db4c2",6481:"e3aed0a5b64180bdb6c3",6550:"dffef67a6e45e430afa3",6570:"55d707784090d738bb26",6619:"86245d83dd17ebe39b2a",6690:"5f2718cd77cbd5ba7920",6710:"d11d1d294ccc4ccdf60f",6740:"5cb2588d14e09af0801d",6748:"23af0b02208e20d5c07e",6774:"4a830f056c4d0ed93928",6810:"bd29ea967877fc6d7c53",6841:"597f8ce30413c6e86f7c",6884:"e02a3d456525e76ddb60",6968:"66f06faae46eb8ea1b00",7039:"30d7685fc6dc1787df44",7049:"9453fdba689296828087",7054:"89010776ebdfe8a50a0c",7055:"be1ca1154ec28d186311",7091:"63e08d2c2e9098a14ea8",7277:"f183da283af0836421ab",7284:"3414dd7ed9fadd64eb65",7319:"3e7a0a81a1f07bce3b30",7392:"0277e223fd84f3fc5501",7572:"fdcdc3a5ace2eee31468",7635:"599c9acfd08aaa88ef74",7668:"4513689048bc2a704bf4",7779:"863fe8818f19f82d4d36",7783:"320d655fcd7fe1966145",7845:"db075f5e0827991efcfd",7873:"93eb468381bfcf0e47d7",8008:"f85d95d1b2c4446257f1",8014:"ec0be96baf84a833cb38",8034:"901da7d32c04a6e4ea41",8062:"6b2a6bf7f6b87f2cc894",8121:"3a32fc4f43d87fe84fcb",8216:"6a1ce00bcb689ea95bcb",8227:"1f394b20410fddb30a96",8316:"f98f64bbcb1b24d0d290",8422:"56c34f60fdc752ca8371",8511:"52aa3b44bddb10caa343",8589:"02ce52ca0084536bc066",8625:"caa5d1b9680a822f2070",8659:"47dab63e1b2e64a96637",8683:"4417dfcb2ba50ac9f199",8758:"826c983100569586b61f",8778:"b957ef59aa56b5c339f4",8828:"36de1a1959f038a61cca",8835:"ff9a9e705237c55f78ff",8846:"dadf9930c296c88c3a88",8936:"7802deb733e6a2d2f369",8961:"9796d54ff12b6429164a",9070:"db202ae7dc8b584f312f",9101:"3bea6fa573a4daece0ed",9151:"d42f289a65a98d752e12",9169:"f7ae0344257e6e08469b",9201:"83c18c36d8829d00c280",9221:"b6b46f8e6a7d8d3cef50",9254:"ccaaefa20dfb940e8cc0",9291:"6e172b435a55bc72baef",9294:"95471140bd6ec868337e",9296:"e9608d8e0ea984aa35a0",9474:"d76ba25485e92bbda0c5",9489:"06a9cdf71330bf9cc774",9490:"7678b37f4f528af762e2",9561:"44145763617ea985cce4",9625:"39e48b3510a3c831299e",9664:"5aee3903ee34855d14f2",9767:"9e3fc6ba87fa55c33055",9872:"b245e95708cde2c403de",9884:"356db8b8297282c77291",9928:"5c561d65035d46249fb4",9932:"489147cf21d55f47d0e6",9938:"deba37055be7c2d7da26"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={134:1,102:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[o,s,i]=t;for(var a in s)r.o(s,a)&&(r.m[a]=s[a]);for(i&&i(r);o.length;)e[o.pop()]=1;n(t)}})(),r(88277);var n=r(25045);RemoteClient=n})();
|
|
1
|
+
var RemoteClient;(()=>{var e={88277:(e,t,r)=>{r.p=self.esriConfig.assetsPath+"/esri/core/workers/"},68773:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i}),r(80442);var n,o=r(78286),s=r(17202);const i={apiKey:void 0,applicationUrl:null==(n=globalThis.location)?void 0:n.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryService:null,geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",portalUrl:"https://www.arcgis.com",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],maxUrlLength:2e3,proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&((0,o.RH)(i,globalThis.esriConfig,!0),delete i.has),!i.assetsPath){const e="4.22.0";i.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${s.r}/assets`}i.baseUrl&&console.warn("[esri.config]","baseUrl has been replaced by assetsPath"),Object.defineProperty(i,"baseUrl",{set(){console.warn("[esri.config]","baseUrl has been replaced by assetsPath")}}),i.request.corsEnabledServers=[],i.request.corsEnabledServers.push=function(){return console.warn("[esri.config]","request.corsEnabledServers is not supported and will be removed in a future release. See http://esriurl.com/cors8664"),0}},20102:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(22974),o=r(92604),s=r(58896);class i extends s.Z{constructor(e,t,r){if(super(e,t,r),!(this instanceof i))return new i(e,t,r)}toJSON(){if(null!=this.details)try{return{name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((e,t)=>{if(t&&"object"==typeof t&&"function"==typeof t.toJSON)return t;try{return(0,n.d9)(t)}catch(e){return"[object]"}})))}}catch(e){throw o.Z.getLogger("esri.core.Error").error(e),e}return{name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new i(e.name,e.message,e.details)}}i.prototype.type="error"},92604:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(68773),o=(r(80442),r(70586)),s=r(19153);const i={info:0,warn:1,error:2,none:3};class a{constructor(e){this.level=null,this._module="",this._parent=null,this.writer=null,this._loggedMessages={error:new Map,warn:new Map,info:new Map},null!=e.level&&(this.level=e.level),null!=e.writer&&(this.writer=e.writer),this._module=e.module,a._loggers[this.module]=this;const t=this.module.lastIndexOf(".");-1!==t&&(this._parent=a.getLogger(this.module.slice(0,t)))}get module(){return this._module}get parent(){return this._parent}error(...e){this._log("error","always",...e)}warn(...e){this._log("warn","always",...e)}info(...e){this._log("info","always",...e)}errorOnce(...e){this._log("error","once",...e)}warnOnce(...e){this._log("warn","once",...e)}infoOnce(...e){this._log("info","once",...e)}errorOncePerTick(...e){this._log("error","oncePerTick",...e)}warnOncePerTick(...e){this._log("warn","oncePerTick",...e)}infoOncePerTick(...e){this._log("info","oncePerTick",...e)}get test(){const e=this;return{loggedMessages:e._loggedMessages,clearLoggedWarnings:()=>e._loggedMessages.warn.clear()}}static get testSingleton(){return{resetLoggers(e={}){const t=a._loggers;return a._loggers=e,t},set throttlingDisabled(e){a._throttlingDisabled=e}}}static getLogger(e){let t=a._loggers[e];return t||(t=new a({module:e})),t}_log(e,t,...r){if(this._matchLevel(e)){if("always"!==t&&!a._throttlingDisabled){const n=this._argsToKey(r),o=this._loggedMessages[e].get(n);if("once"===t&&null!=o||"oncePerTick"===t&&o&&o>=a._tickCounter)return;this._loggedMessages[e].set(n,a._tickCounter),a._scheduleTickCounterIncrement()}for(const t of n.Z.log.interceptors)if(t(e,this.module,...r))return;this._inheritedWriter()(e,this.module,...r)}}_parentWithMember(e,t){let r=this;for(;(0,o.pC)(r);){const t=r[e];if((0,o.pC)(t))return t;r=r.parent}return t}_inheritedWriter(){return this._parentWithMember("writer",this._consoleWriter)}_consoleWriter(e,t,...r){console[e](`[${t}]`,...r)}_matchLevel(e){const t=n.Z.log.level?n.Z.log.level:"warn";return i[this._parentWithMember("level",t)]<=i[e]}_argsToKey(...e){return(0,s.hP)(JSON.stringify(e,((e,t)=>"object"!=typeof t||Array.isArray(t)?t:"[Object]")))}static _scheduleTickCounterIncrement(){a._tickCounterScheduled||(a._tickCounterScheduled=!0,Promise.resolve().then((()=>{a._tickCounter++,a._tickCounterScheduled=!1})))}}a._loggers={},a._tickCounter=0,a._tickCounterScheduled=!1,a._throttlingDisabled=!1},58896:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(78286);class o{constructor(e,t,r){this.name=e,this.details=r,this.message=void 0,this instanceof o&&(this.message=t&&function(e,t){return e.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,(function(e,r){if(""===r)return"$";const o=(0,n.hS)(r,t),s=null==o?"":o;if(void 0===s)throw new Error(`could not find key "${r}" in template`);return s.toString()}))}(t,r)||"")}toString(){return"["+this.name+"]: "+this.message}}},77734:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});class n{constructor(e=1){this._seed=e}set seed(e){this._seed=null==e?Math.random()*n._m:e}getInt(){return this._seed=(n._a*this._seed+n._c)%n._m,this._seed}getFloat(){return this.getInt()/(n._m-1)}getIntRange(e,t){return Math.round(this.getFloatRange(e,t))}getFloatRange(e,t){const r=t-e;return e+this.getInt()/n._m*r}}n._m=2147483647,n._a=48271,n._c=0},67676:(e,t,r)=>{"use strict";r.d(t,{SO:()=>l,a9:()=>a,fS:()=>s,cq:()=>f,w6:()=>c,Od:()=>b,e$:()=>d,FY:()=>p});var n=r(70586),o=r(77734);function s(e,t,r){if((0,n.Wi)(e)&&(0,n.Wi)(t))return!0;if((0,n.Wi)(e)||(0,n.Wi)(t)||e.length!==t.length)return!1;if(r){for(let n=0;n<e.length;n++)if(!r(e[n],t[n]))return!1}else for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}const i=!!Array.prototype.fill;function a(e,t){if(i)return new Array(e).fill(t);const r=new Array(e);for(let n=0;n<e;n++)r[n]=t;return r}function c(e,t){void 0===t&&(t=e,e=0);const r=new Array(t-e);for(let n=e;n<t;n++)r[n-e]=n;return r}class l{constructor(){this.last=0}}const u=new l;function f(e,t,r,n){n=n||u;const o=Math.max(0,n.last-10);for(let s=o;s<r;++s)if(e[s]===t)return n.last=s,s;const s=Math.min(o,r);for(let r=0;r<s;++r)if(e[r]===t)return n.last=r,r;return-1}function d(e,t,r,n){const o=null==r?e.length:r,s=f(e,t,o,n);if(-1!==s)return e[s]=e[o-1],null==r&&e.pop(),t}const h=new Set;function p(e,t,r=e.length,n=t.length,o,s){if(0===n||0===r)return r;h.clear();for(let e=0;e<n;++e)h.add(t[e]);o=o||u;const i=Math.max(0,o.last-10);for(let t=i;t<r;++t)if(h.has(e[t])&&(s&&s.push(e[t]),h.delete(e[t]),e[t]=e[r-1],--r,--t,0===h.size||0===r))return h.clear(),r;for(let t=0;t<i;++t)if(h.has(e[t])&&(s&&s.push(e[t]),h.delete(e[t]),e[t]=e[r-1],--r,--t,0===h.size||0===r))return h.clear(),r;return h.clear(),r}function b(e,t){const r=e.indexOf(t);return-1!==r?(e.splice(r,1),t):null}new o.Z},91460:(e,t,r)=>{"use strict";function n(e){return e&&("function"==typeof e.on||"function"==typeof e.addEventListener)}function o(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("on"in e)return e.on(t,r);if(Array.isArray(t)){const n=t.slice();for(const t of n)e.addEventListener(t,r);return{remove(){for(const t of n)e.removeEventListener(t,r)}}}return e.addEventListener(t,r),{remove(){e.removeEventListener(t,r)}}}function s(e,t,r){if(!n(e))throw new TypeError("target is not a Evented or EventTarget object");if("once"in e)return e.once(t,r);const s=o(e,t,(t=>{s.remove(),r.call(e,t)}));return{remove(){s.remove()}}}r.d(t,{vT:()=>n,on:()=>o,IH:()=>s})},80442:(e,t,r)=>{"use strict";var n,o;let s;var i,a;function c(e){return"function"==typeof s[e]?s[e]=s[e](globalThis):s[e]}r.d(t,{Z:()=>c}),s=null!=(n=globalThis.dojoConfig)&&n.has||null!=(o=globalThis.esriConfig)&&o.has?{...null==(i=globalThis.dojoConfig)?void 0:i.has,...null==(a=globalThis.esriConfig)?void 0:a.has}:{},c.add=(e,t,r,n)=>((n||void 0===s[e])&&(s[e]=t),r&&c(e)),c.cache=s,c.add("esri-deprecation-warnings",!0),(()=>{var e;c.add("host-webworker",void 0!==globalThis.WorkerGlobalScope&&self instanceof globalThis.WorkerGlobalScope);const t="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location===location&&window.document===document;if(c.add("host-browser",t),c.add("host-node","object"==typeof globalThis.process&&(null==(e=globalThis.process.versions)?void 0:e.node)&&globalThis.process.versions.v8),c.add("dom",t),c("host-browser")){const e=navigator,t=e.userAgent,r=e.appVersion,n=parseFloat(r);if(c.add("wp",parseFloat(t.split("Windows Phone")[1])||void 0),c.add("msapp",parseFloat(t.split("MSAppHost/")[1])||void 0),c.add("khtml",r.includes("Konqueror")?n:void 0),c.add("edge",parseFloat(t.split("Edge/")[1])||void 0),c.add("opr",parseFloat(t.split("OPR/")[1])||void 0),c.add("webkit",!c("wp")&&!c("edge")&&parseFloat(t.split("WebKit/")[1])||void 0),c.add("chrome",!c("edge")&&!c("opr")&&parseFloat(t.split("Chrome/")[1])||void 0),c.add("android",!c("wp")&&parseFloat(t.split("Android ")[1])||void 0),c.add("safari",!r.includes("Safari")||c("wp")||c("chrome")||c("android")||c("edge")||c("opr")?void 0:parseFloat(r.split("Version/")[1])),c.add("mac",r.includes("Macintosh")),!c("wp")&&t.match(/(iPhone|iPod|iPad)/)){const e=RegExp.$1.replace(/P/,"p"),r=t.match(/OS ([\d_]+)/)?RegExp.$1:"1",n=parseFloat(r.replace(/_/,".").replace(/_/g,""));c.add(e,n),c.add("ios",n)}c.add("trident",parseFloat(r.split("Trident/")[1])||void 0),c("webkit")||(!t.includes("Gecko")||c("wp")||c("khtml")||c("trident")||c("edge")||c.add("mozilla",n),c("mozilla")&&c.add("ff",parseFloat(t.split("Firefox/")[1]||t.split("Minefield/")[1])||void 0))}})(),(()=>{if(globalThis.navigator){const e=navigator.userAgent,t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e),r=/iPhone/i.test(e);t&&c.add("esri-mobile",t),r&&c.add("esri-iPhone",r),c.add("esri-geolocation",!!navigator.geolocation)}c.add("esri-canvas-svg-support",!c("trident")),c.add("esri-wasm","WebAssembly"in globalThis),c.add("esri-shared-array-buffer",(()=>{const e="SharedArrayBuffer"in globalThis,t=!1===globalThis.crossOriginIsolated;return e&&!t})),c.add("esri-atomics","Atomics"in globalThis),c.add("esri-workers","Worker"in globalThis),c.add("esri-text-decoder","TextDecoder"in globalThis),c.add("esri-text-encoder","TextEncoder"in globalThis),c.add("web-feat:cache","caches"in globalThis),c.add("esri-workers-arraybuffer-transfer",!c("safari")||Number(c("safari"))>=12),c.add("featurelayer-simplify-thresholds",[.5,.5,.5,.5]),c.add("featurelayer-simplify-payload-size-factors",[1,1,4]),c.add("featurelayer-snapshot-enabled",!0),c.add("featurelayer-snapshot-point-min-threshold",8e4),c.add("featurelayer-snapshot-point-max-threshold",4e5),c.add("featurelayer-snapshot-point-coverage",.1),c.add("featurelayer-advanced-symbols",!1),c.add("featurelayer-pbf",!0),c.add("featurelayer-pbf-statistics",!1),c.add("feature-layers-workers",!0),c.add("mapview-transitions-duration",200),c.add("mapserver-pbf-enabled",!1),c.add("vectortilelayer-max-buffers",c("ff")?160:Number.POSITIVE_INFINITY),c("host-webworker")||c("host-browser")&&(c.add("esri-csp-restrictions",(()=>{try{new Function}catch{return!0}return!1})),c.add("esri-image-decode",(()=>{if("decode"in new Image){const e=new Image;return e.src='data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>',void e.decode().then((()=>{c.add("esri-image-decode",!0,!0,!0)})).catch((()=>{c.add("esri-image-decode",!1,!0,!0)}))}return!1})),c.add("esri-url-encodes-apostrophe",(()=>{const e=window.document.createElement("a");return e.href="?'",e.href.includes("?%27")})))})()},22974:(e,t,r)=>{"use strict";r.d(t,{d9:()=>s,fS:()=>i,yd:()=>o}),r(67676),r(80442);var n=r(1533);function o(e,t){let r;if(t)for(r in e)e.hasOwnProperty(r)&&(void 0===e[r]?delete e[r]:e[r]instanceof Object&&o(e[r],!0));else for(r in e)e.hasOwnProperty(r)&&void 0===e[r]&&delete e[r];return e}function s(e){if(!e||"object"!=typeof e||"function"==typeof e)return e;if((0,n.W0)(e)||(0,n.lq)(e)||(0,n.KZ)(e)||(0,n.z3)(e)||(0,n.Uc)(e)||(0,n.Hx)(e)||(0,n.ZY)(e)||(0,n.xZ)(e)||(0,n.fS)(e))return(0,n.tP)(e);if(e instanceof Date)return new Date(e.getTime());if(e instanceof ArrayBuffer)return e.slice(0,e.byteLength);if(e instanceof Map){const t=new Map;return e.forEach(((e,r)=>{t.set(r,s(e))})),t}if(e instanceof Set){const t=new Set;return e.forEach((e=>{t.add(s(e))})),t}let t;const r=e;if("function"==typeof r.clone)t=r.clone();else if("function"==typeof r.map&&"function"==typeof r.forEach)t=r.map(s);else if("function"==typeof r.notifyChange&&"function"==typeof r.watch)t=r.clone();else{t={};for(const r of Object.getOwnPropertyNames(e))t[r]=s(e[r])}return t}function i(e,t){return e===t||"number"==typeof e&&isNaN(e)&&"number"==typeof t&&isNaN(t)||"function"==typeof(e||{}).getTime&&"function"==typeof(t||{}).getTime&&e.getTime()===t.getTime()||!1}},70586:(e,t,r)=>{"use strict";function n(e){return null!=e}function o(e){return null==e}function s(e){return void 0===e}function i(e,t){return n(e)?t(e):null}function a(e){return e}function c(e,t){if(o(e))throw new Error(t);return e}function l(e,t){return n(e)?e:"function"==typeof t?t():t}function u(e){return n(e)&&e.destroy(),null}function f(e){return n(e)&&e.dispose(),null}function d(e){return n(e)&&e.remove(),null}function h(e){return n(e)&&e.release(),null}function p(e){return null}function b(e,t){const r=new Array;for(const n of e)r.push(m(n,null,t));return r}function g(e,t){for(const r of e)m(r,null,t)}function m(e,t,r){return n(e)?r(e):t}function y(e,t){return n(e)?t(e):null}function v(e){return e.filter((e=>n(e)))}function w(e,...t){let r=e;for(let e=0;e<t.length&&r;++e)r=r[t[e]];return r}function _(e){return e}r.d(t,{Po:()=>y,yw:()=>i,j0:()=>_,SC:()=>u,O3:()=>f,lV:()=>v,JR:()=>g,U2:()=>w,Wi:()=>o,pC:()=>n,o8:()=>s,Fd:()=>b,R2:()=>m,Bd:()=>p,RY:()=>h,hw:()=>d,Wg:()=>a,Pt:()=>l,s3:()=>c})},78286:(e,t,r)=>{"use strict";r.d(t,{RH:()=>o,hS:()=>s,RB:()=>i});var n=r(22974);function o(e,t,r=!1){return c(e,t,r)}function s(e,t){if(null!=t)return t[e]||a(e.split("."),!1,t)}function i(e,t,r){const n=e.split("."),o=n.pop(),s=a(n,!0,r);s&&o&&(s[o]=t)}function a(e,t,r){let n=r;for(const r of e){if(null==n)return;if(!(r in n)){if(!t)return;n[r]={}}n=n[r]}return n}function c(e,t,r){return t?Object.keys(t).reduce((function(e,o){let s=e[o],i=t[o];return s===i?e:void 0===s?(e[o]=(0,n.d9)(i),e):(Array.isArray(i)||Array.isArray(e)?(s=s?Array.isArray(s)?e[o]=s.concat():e[o]=[s]:e[o]=[],i&&(Array.isArray(i)||(i=[i]),r?i.forEach((e=>{-1===s.indexOf(e)&&s.push(e)})):e[o]=i.concat())):i&&"object"==typeof i?e[o]=c(s,i,r):e.hasOwnProperty(o)&&!t.hasOwnProperty(o)||(e[o]=i),e)}),e||{}):e}},95330:(e,t,r)=>{"use strict";r.d(t,{e4:()=>C,$6:()=>c,Ue:()=>l,zE:()=>u,dD:()=>_,hh:()=>M,vr:()=>j,Ds:()=>A,as:()=>O,WW:()=>P,R8:()=>w,D_:()=>v,Hc:()=>h,tI:()=>T,y8:()=>E,fu:()=>g,$F:()=>m,d1:()=>k,DB:()=>S,r9:()=>p,k_:()=>f,H9:()=>b,Yn:()=>$,gx:()=>x,Hl:()=>y});const n=(o=globalThis,{setTimeout:(e,t)=>{const r=o.setTimeout(e,t);return{remove:()=>o.clearTimeout(r)}}});var o,s=r(20102),i=r(91460),a=(r(92604),r(70586));function c(e){return Promise.all(e)}function l(e){return new Promise(((t,r)=>{try{e(t,r)}catch(e){Promise.resolve().then((()=>r(e)))}}))}function u(e="Aborted"){return new s.Z("AbortError",e)}function f(e,t="Aborted"){if(h(e))throw u(t)}function d(e){return(0,a.pC)(e)?"aborted"in e?e:e.signal:e}function h(e){const t=d(e);return(0,a.pC)(t)&&t.aborted}function p(e){if(v(e))throw e}function b(e){if(!v(e))throw e}function g(e,t){const r=d(e);if(!(0,a.Wi)(r)){if(!r.aborted)return(0,i.IH)(r,"abort",(()=>t()));t()}}function m(e,t){const r=d(e);if(!(0,a.Wi)(r))return f(r),(0,i.IH)(r,"abort",(()=>t(u())))}function y(e,t){const r=d(t);return(0,a.Wi)(r)?e:new Promise(((r,n)=>{let o=g(t,(()=>n(u())));const s=()=>o=(0,a.hw)(o);e.then(s,s),e.then(r,n)}))}function v(e){return e&&"AbortError"===e.name}function w(e){return e.catch((e=>{if(!v(e))throw e}))}function _(){let e=null;const t=new Promise(((t,r)=>{e={promise:void 0,resolve:t,reject:r}}));return e.promise=t,e}function O(e){if(!e)return;if("function"!=typeof e.forEach){const t=Object.keys(e);return O(t.map((t=>e[t]))).then((e=>{const r={};return t.forEach(((t,n)=>r[t]=e[n])),r}))}const t=e;return l((e=>{const r=[];let n=t.length;0===n&&e(r),t.forEach((t=>{const o={promise:t||Promise.resolve(t)};r.push(o),o.promise.then((e=>{o.value=e})).catch((e=>{o.error=e})).then((()=>{--n,0===n&&e(r)}))}))}))}function P(e){return O(e).then((e=>e.filter((e=>!!e.value)).map((e=>e.value))))}function k(e){return Promise.reject(e)}function S(e){return Promise.resolve(e)}function C(e,t,r){const n=new AbortController;return g(r,(()=>n.abort())),new Promise(((r,o)=>{let s=setTimeout((()=>{s=0,r(t)}),e);g(n,(()=>{s&&(clearTimeout(s),o(u()))}))}))}function E(e){return e&&"function"==typeof e.then}function x(e){return T(e)?e:Promise.resolve(e)}function T(e){return e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}function A(e,t=-1){let r,n,o,s,i=null;const c=(...l)=>{if(r){n=l,s&&s.reject(u()),s=_();const e=(0,a.j0)(s.promise);if(i){const e=i;i=null,e.abort()}return e}if(o=s||_(),s=null,t>0){const n=new AbortController;r=x(e(...l,n.signal));const o=r;C(t).then((()=>{r===o&&(s?n.abort():i=n)}))}else r=1,r=x(e(...l));const f=()=>{const e=n;n=o=r=i=null,null!=e&&c(...e)},d=r,h=o;return d.then(f,f),d.then(h.resolve,h.reject),(0,a.j0)(h.promise)};return c}function M(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n})),o=t=>{e(t)};return o.resolve=t=>e(t),o.reject=e=>t(e),o.timeout=(e,t)=>n.setTimeout((()=>o.reject(t)),e),o.promise=r,o}function j(e,t){let r,n=new AbortController;const o=e(n.signal);let s={promise:o,finished:!1,abort:()=>{n&&(n.abort(),n=null)}};const i=()=>{s&&(s.finished=!0,s=null),(0,a.pC)(r)&&(r.remove(),r=null),n=null};return o.then(i,i),r=g(t,(()=>{(0,a.pC)(s)&&s.abort()})),s}function $(e){return Promise.resolve().then((()=>{f(e)}))}},19153:(e,t,r)=>{"use strict";r.d(t,{Qs:()=>a,hP:()=>c,gx:()=>i,Cb:()=>l});var n=r(78286);const o=/\{([^\}]+)\}/g;function s(e){return null==e?"":e}function i(e,t){return e.replace(o,"object"==typeof t?(e,r)=>s((0,n.hS)(r,t)):(e,r)=>s(t(r)))}function a(e,t){return e.replace(/([\.$?*|{}\(\)\[\]\\\/\+\-^])/g,(e=>t&&-1!==t.indexOf(e)?e:`\\${e}`))}function c(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}function l(e){return(new DOMParser).parseFromString(e||"","text/html").body.innerText||""}},1533:(e,t,r)=>{"use strict";function n(e,t){if(e.forEach)e.forEach(t);else for(let r=0;r<e.length;r++)t(e[r],r,e)}function o(e,t,r){if(e.slice)return e.slice(t,r);void 0===t?t=0:(t<0&&(t+=e.length),t=Math.min(e.length,Math.max(0,t))),void 0===r?r=e.length:(r<0&&(r+=e.length),r=Math.min(e.length,Math.max(0,r)));const n=Math.max(0,r-t),o=new(0,e.constructor)(n);for(let r=0;r<n;r++)o[r]=e[t+r];return o}function s(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}function i(e){return e instanceof Int8Array||e&&e.constructor&&"Int8Array"===e.constructor.name}function a(e){return e instanceof Uint8Array||e&&e.constructor&&"Uint8Array"===e.constructor.name}function c(e){return e instanceof Uint8ClampedArray||e&&e.constructor&&"Uint8ClampedArray"===e.constructor.name}function l(e){return e instanceof Int16Array||e&&e.constructor&&"Int16Array"===e.constructor.name}function u(e){return e instanceof Uint16Array||e&&e.constructor&&"Uint16Array"===e.constructor.name}function f(e){return e instanceof Int32Array||e&&e.constructor&&"Int32Array"===e.constructor.name}function d(e){return e instanceof Uint32Array||e&&e.constructor&&"Uint32Array"===e.constructor.name}function h(e){return e instanceof Float32Array||e&&e.constructor&&"Float32Array"===e.constructor.name}function p(e){return e instanceof Float64Array||e&&e.constructor&&"Float64Array"===e.constructor.name}r.d(t,{Ed:()=>n,eP:()=>s,xZ:()=>h,fS:()=>p,z3:()=>l,Hx:()=>f,W0:()=>i,Uc:()=>u,ZY:()=>d,lq:()=>a,KZ:()=>c,tP:()=>o})},17452:(e,t,r)=>{"use strict";r.d(t,{R9:()=>y,qg:()=>E,tD:()=>M,ZN:()=>le,fl:()=>ue,AX:()=>_,Gd:()=>v,Ie:()=>ie,sJ:()=>Q,AH:()=>K,vt:()=>oe,oh:()=>N,P$:()=>Z,Ml:()=>fe,ed:()=>j,b7:()=>C,D6:()=>R,tm:()=>$,YP:()=>B,jc:()=>D,HK:()=>H,$U:()=>X,oC:()=>Y,kl:()=>W,v_:()=>F,hF:()=>L,_l:()=>V,PF:()=>J,Fv:()=>q,B7:()=>S,u0:()=>P,Yd:()=>ne,Hu:()=>ce,Qj:()=>se,hO:()=>ee,mN:()=>O});var n=r(68773),o=r(20102),s=r(92604),i=r(70586);const a=s.Z.getLogger("esri.core.urlUtils"),c=n.Z.request,l="esri/config: esriConfig.request.proxyUrl is not set.",u=/^\s*[a-z][a-z0-9-+.]*:(?![0-9])/i,f=/^\s*http:/i,d=/^\s*https:/i,h=/^\s*file:/i,p=/:\d+$/,b=/^https?:\/\/[^/]+\.arcgis.com\/sharing(\/|$)/i,g=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),m=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$");class y{constructor(e=""){this.uri=e,this.scheme=null,this.authority=null,this.path=null,this.query=null,this.fragment=null,this.user=null,this.password=null,this.host=null,this.port=null;let t=(0,i.j0)(this.uri.match(g));this.scheme=t[2]||(t[1]?"":null),this.authority=t[4]||(t[3]?"":null),this.path=t[5],this.query=t[7]||(t[6]?"":null),this.fragment=t[9]||(t[8]?"":null),null!=this.authority&&(t=(0,i.j0)(this.authority.match(m)),this.user=t[3]||null,this.password=t[4]||null,this.host=t[6]||t[7],this.port=t[9]||null)}toString(){return this.uri}}const v=new y(n.Z.applicationUrl),w={},_=(()=>{const e=(0,i.j0)(v.path),t=e.substring(0,e.lastIndexOf(e.split("/")[e.split("/").length-1]));return`${v.scheme}://${v.host}${null!=v.port?`:${v.port}`:""}${t}`})();function O(e){const t={path:null,query:null},r=new y(e),n=e.indexOf("?");return null===r.query?t.path=e:(t.path=e.substring(0,n),t.query=P(r.query)),r.fragment&&(t.hash=r.fragment,null===r.query&&(t.path=t.path.substring(0,t.path.length-(r.fragment.length+1)))),t}function P(e){const t=e.split("&"),r={};for(const e of t){if(!e)continue;const t=e.indexOf("=");let n,o;t<0?(n=decodeURIComponent(e),o=""):(n=decodeURIComponent(e.slice(0,t)),o=decodeURIComponent(e.slice(t+1)));let s=r[n];"string"==typeof s&&(s=r[n]=[s]),Array.isArray(s)?s.push(o):r[n]=o}return r}function k(e){return e&&"object"==typeof e&&"toJSON"in e&&"function"==typeof e.toJSON}function S(e,t){return e?t&&"function"==typeof t?Object.keys(e).map((r=>encodeURIComponent(r)+"="+encodeURIComponent(t(r,e[r])))).join("&"):Object.keys(e).map((r=>{const n=e[r];if(null==n)return"";const o=encodeURIComponent(r)+"=",s=t&&t[r];return s?o+encodeURIComponent(s(n)):Array.isArray(n)?n.map((e=>k(e)?o+encodeURIComponent(JSON.stringify(e)):o+encodeURIComponent(e))).join("&"):k(n)?o+encodeURIComponent(JSON.stringify(n)):o+encodeURIComponent(n)})).filter((e=>e)).join("&"):""}function C(e=!1){let t,r=c.proxyUrl;if("string"==typeof e){t=X(e);const n=j(e);n&&(r=n.proxyUrl)}else t=!!e;if(!r)throw a.warn(l),new o.Z("urlutils:proxy-not-set",l);return t&&te()&&(r=ee(r)),O(r)}function E(e){const t=j(e);let r,n;if(t){const e=T(t.proxyUrl);r=e.path,n=e.query?P(e.query):null}if(r){const t=O(e);e=r+"?"+t.path;const o=S({...n,...t.query});o&&(e=`${e}?${o}`)}return e}const x={path:"",query:""};function T(e){const t=e.indexOf("?");return-1!==t?(x.path=e.slice(0,t),x.query=e.slice(t+1)):(x.path=e,x.query=null),x}function A(e){return(e=re(e=function(e){return e&&"/"===e[e.length-1]?e:`${e}/`}(e=T(e).path),!0)).toLowerCase()}function M(e){const t={proxyUrl:e.proxyUrl,urlPrefix:A(e.urlPrefix)},r=c.proxyRules,n=t.urlPrefix;let o=r.length;for(let e=0;e<r.length;e++){const t=r[e].urlPrefix;if(0===n.indexOf(t)){if(n.length===t.length)return-1;o=e;break}0===t.indexOf(n)&&(o=e+1)}return r.splice(o,0,t),o}function j(e){const t=c.proxyRules,r=A(e);for(let e=0;e<t.length;e++)if(0===r.indexOf(t[e].urlPrefix))return t[e]}function $(e,t){return e=I(e),t=I(t),re(e)===re(t)}function I(e){const t=(e=q(e)).indexOf("/sharing");return t>0?e.substring(0,t):e.replace(/\/+$/,"")}function N(e){const t=t=>null==t||t instanceof RegExp&&t.test(e)||"string"==typeof t&&e.startsWith(t),r=c.interceptors;if(r)for(const e of r)if(Array.isArray(e.urls)){if(e.urls.some(t))return e}else if(t(e.urls))return e;return null}function R(e,t,r=!1){const n=ae(e),o=ae(t);return!(!r&&n.scheme!==o.scheme)&&null!=n.host&&null!=o.host&&n.host.toLowerCase()===o.host.toLowerCase()&&n.port===o.port}function W(e){if("string"==typeof e){if(!B(e))return!0;e=ae(e)}if(R(e,v))return!0;const t=c.trustedServers||[];for(let r=0;r<t.length;r++){const n=U(t[r]);for(let t=0;t<n.length;t++)if(R(e,n[t]))return!0}return!1}function U(e){return w[e]||(G(e)||Y(e)?w[e]=[new y(L(e))]:w[e]=[new y(`http://${e}`),new y(`https://${e}`)]),w[e]}function L(e,t=_,r){return Y(e)?r&&r.preserveProtocolRelative?e:"http"===v.scheme&&v.authority===Z(e).slice(2)?`http:${e}`:`https:${e}`:G(e)?e:(0,i.j0)(F("/"===e[0]?function(e){const t=e.indexOf("//"),r=e.indexOf("/",t+2);return-1===r?e:e.slice(0,r)}(t):t,e))}function J(e,t=_,r){if(!B(e))return e;const n=q(e),o=n.toLowerCase(),s=q(t).toLowerCase().replace(/\/+$/,""),i=r?q(r).toLowerCase().replace(/\/+$/,""):null;if(i&&0!==s.indexOf(i))return e;const a=(e,t,r)=>-1===(r=e.indexOf(t,r))?e.length:r;let c=a(o,"/",o.indexOf("//")+2),l=-1;for(;o.slice(0,c+1)===s.slice(0,c)+"/"&&(l=c+1,c!==o.length);)c=a(o,"/",c+1);if(-1===l)return e;if(i&&l<i.length)return e;e=n.slice(l);const u=s.slice(l-1).replace(/[^/]+/g,"").length;if(u>0)for(let t=0;t<u;t++)e=`../${e}`;else e=`./${e}`;return e}function q(e){return function(e){const t=c.httpsDomains;if(!function(e){return f.test(e)||"http"===v.scheme&&Y(e)}(e))return e;const r=e.indexOf("/",7);let n;if(n=-1===r?e:e.slice(0,r),n=n.toLowerCase().slice(7),p.test(n)){if(!n.endsWith(":80"))return e;n=n.slice(0,-3),e=e.replace(":80","")}return"http"===v.scheme&&n===v.authority&&!b.test(e)||(te()&&n===v.authority||t&&t.some((e=>n===e||n.endsWith(`.${e}`)))||te()&&!j(e))&&(e=ee(e)),e}(e=function(e){return e.replace(/^(https?:\/\/)(arcgis\.com)/i,"$1www.$2")}(e=function(e){if(/^https?:\/\//i.test(e)){const t=T(e);e=(e=t.path.replace(/\/{2,}/g,"/")).replace("/","//"),t.query&&(e+=`?${t.query}`)}return e}(e=L(e=e.trim()))))}function F(...e){const t=e.filter(i.pC);if(!t||!t.length)return;const r=[];if(B(t[0])){const e=t[0],n=e.indexOf("//");-1!==n&&(r.push(e.slice(0,n+1)),function(e){return h.test(e)}(t[0])&&(r[0]+="/"),t[0]=e.slice(n+2))}else"/"===t[0][0]&&r.push("");const n=t.reduce(((e,t)=>t?e.concat(t.split("/")):e),[]);for(let e=0;e<n.length;e++){const t=n[e];".."===t&&r.length>0&&".."!==r[r.length-1]?r.pop():(!t&&e===n.length-1||t&&("."!==t||0===r.length))&&r.push(t)}return r.join("/")}function Z(e,t=!1){if(D(e)||H(e))return null;let r=e.indexOf("://");if(-1===r&&Y(e))r=2;else{if(-1===r)return null;r+=3}const n=e.indexOf("/",r);return-1!==n&&(e=e.slice(0,n)),t&&(e=re(e,!0)),e}function B(e){return Y(e)||G(e)}function D(e){return null!=e&&"blob:"===e.slice(0,5)}function H(e){return"data:"===e.slice(0,5)}function K(e){const t=Q(e);if(!t||!t.isBase64)return null;const r=atob(t.data),n=new Uint8Array(r.length);for(let e=0;e<r.length;e++)n[e]=r.charCodeAt(e);return n.buffer}const z=/^data:(.*?)(;base64)?,(.*)$/;function Q(e){const t=e.match(z);if(!t)return null;const[,r,n,o]=t;return{mediaType:r,isBase64:!!n,data:o}}function V(e){return e.isBase64?`data:${e.mediaType};base64,${e.data}`:`data:${e.mediaType},${e.data}`}function Y(e){return null!=e&&void 0!==e&&"/"===e[0]&&"/"===e[1]}function G(e){return u.test(e)}function X(e){return d.test(e)||"https"===v.scheme&&Y(e)}function ee(e){return Y(e)?`https:${e}`:e.replace(f,"https:")}function te(){return"https"===v.scheme}function re(e,t=!1){return Y(e)?e.slice(2):(e=e.replace(u,""),t&&e.length>1&&"/"===e[0]&&"/"===e[1]&&(e=e.slice(2)),e)}function ne(e){let t=0;if(B(e)){const r=e.indexOf("//");-1!==r&&(t=r+2)}const r=e.lastIndexOf("/");return r<t?e:e.slice(0,r+1)}function oe(e,t){if(!e)return"";const r=O(e).path.replace(/\/+$/,""),n=r.substring(r.lastIndexOf("/")+1);if(null==t||!t.length)return n;const o=new RegExp(`.(${t.join("|")})$`,"ig");return n.replace(o,"")}function se(e){return e.replace(/\/+$/,"")}function ie(e,t,r){if(!(t&&r&&e&&B(e)))return e;const n=e.indexOf("//"),o=e.indexOf("/",n+2),s=e.indexOf(":",n+2),i=Math.min(o<0?e.length:o,s<0?e.length:s);return e.slice(n+2,i).toLowerCase()!==t.toLowerCase()?e:`${e.slice(0,n+2)}${r}${e.slice(i)}`}function ae(e){return"string"==typeof e?new y(L(e)):(e.scheme||(e.scheme=v.scheme),e)}function ce(e,t){const r=O(e),n=Object.keys(r.query||{});return n.length>0&&t&&t.warn("removeQueryParameters()",`Url query parameters are not supported, the following parameters have been removed: ${n.join(", ")}.`),r.path}function le(e,t,r){const n=O(e),o=n.query||{};return o[t]=String(r),`${n.path}?${S(o)}`}function ue(e,t){const r=O(e),n=r.query||{};for(const e in t)n[e]=t[e];const o=S(n);return o?`${r.path}?${o}`:r.path}function fe(e){if((0,i.Wi)(e))return null;const t=e.match(de);return t?t[1]:null}const de=/.*?\.([^\/]*)$/},25045:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(40330),o=r(20102),s=r(91460),i=r(70586),a=r(95330),c=r(94362),l=r(17202);const u={statsWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(6841)]).then(r.bind(r,36841)),geometryEngineWorker:()=>Promise.all([r.e(5837),r.e(8227)]).then(r.bind(r,48227)),CSVSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(966)]).then(r.bind(r,27793)),EdgeProcessingWorker:()=>Promise.all([r.e(6481),r.e(8936)]).then(r.bind(r,18936)),ElevationSamplerWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(411),r.e(2781),r.e(6481),r.e(6459),r.e(3553)]).then(r.bind(r,61787)),FeatureServiceSnappingSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(4588),r.e(411),r.e(1534),r.e(3485),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(5158)]).then(r.bind(r,41650)),GeoJSONSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(7845)]).then(r.bind(r,97845)),LercWorker:()=>r.e(3027).then(r.bind(r,23027)),MemorySourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(639)]).then(r.bind(r,30639)),PBFDecoderWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(8961),r.e(147)]).then(r.bind(r,61916)),Pipeline:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(5638),r.e(4588),r.e(411),r.e(1534),r.e(3485),r.e(3578),r.e(8961),r.e(7054),r.e(2730),r.e(7783)]).then(r.bind(r,97783)),PointCloudWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(411),r.e(9294),r.e(9474)]).then(r.bind(r,16583)),RasterWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(411),r.e(176),r.e(8034)]).then(r.bind(r,61576)),SceneLayerWorker:()=>r.e(5265).then(r.bind(r,55265)),WFSSourceWorker:()=>Promise.all([r.e(8778),r.e(6570),r.e(8316),r.e(2303),r.e(7668),r.e(411),r.e(1534),r.e(3578),r.e(8961),r.e(7054),r.e(2781),r.e(6348),r.e(4556),r.e(3230)]).then(r.bind(r,43230)),WorkerTileHandler:()=>Promise.all([r.e(2303),r.e(1785),r.e(6810),r.e(9872)]).then(r.bind(r,56456))},{CLOSE:f,ABORT:d,INVOKE:h,RESPONSE:p,OPEN_PORT:b,ON:g}=c.Cs;class m{constructor(e){this._timer=null,this._cancelledJobIds=new Set,this._invokeMessages=[],this._invoke=e,this._timer=null,this._process=this._process.bind(this)}push(e){e.type===c.Cs.ABORT?this._cancelledJobIds.add(e.jobId):(this._invokeMessages.push(e),null===this._timer&&(this._timer=setTimeout(this._process,0)))}clear(){this._invokeMessages.length=0,this._cancelledJobIds.clear(),this._timer=null}_process(){this._timer=null;for(const e of this._invokeMessages)this._cancelledJobIds.has(e.jobId)||this._invoke(e);this._cancelledJobIds.clear(),this._invokeMessages.length=0}}class y{constructor(e,t){this._port=e,this._outJobs=new Map,this._inJobs=new Map,this._invokeQueue=new m((e=>this._onInvokeMessage(e))),this._client=t.client,this._onMessage=this._onMessage.bind(this),this._channel=t.channel,this._schedule=t.schedule,this._port.addEventListener("message",this._onMessage),this._port.start()}static connect(e){const t=new MessageChannel;let r;r="function"==typeof e?new e:"default"in e&&"function"==typeof e.default?new e.default:e;const n=new y(t.port1,{channel:t,client:r});return"object"==typeof r&&"remoteClient"in r&&(r.remoteClient=n),y.clients.set(n,r),t.port2}static loadWorker(e){const t=u[e];return t?t():Promise.resolve(null)}close(){this._post({type:f}),this._close()}isBusy(){return this._outJobs.size>0}invoke(e,t,r){const n=r&&r.signal,s=r&&r.transferList;if(!this._port)return Promise.reject(new o.Z("worker:port-closed",`Cannot call invoke('${e}'), port is closed`,{methodName:e,data:t}));const i=(0,c.jt)();return new Promise(((r,o)=>{const c=(0,a.$F)(n,(()=>{var e;const t=this._outJobs.get(i);t&&(this._outJobs.delete(i),null==(e=t.abortHandle)||e.remove(),this._post({type:d,jobId:i}),o((0,a.zE)()))})),l={resolve:r,reject:o,abortHandle:c,debugInfo:e};this._outJobs.set(i,l),this._post({type:h,jobId:i,methodName:e,abortable:null!=n},t,s)}))}on(e,t){const r=new MessageChannel;function n(e){t(e.data)}return this._port.postMessage({type:c.Cs.ON,eventType:e,port:r.port2},[r.port2]),r.port1.addEventListener("message",n),r.port1.start(),{remove(){r.port1.postMessage({type:c.Cs.CLOSE}),r.port1.close(),r.port1.removeEventListener("message",n)}}}openPort(){const e=new MessageChannel;return this._post({type:b,port:e.port2}),e.port1}_close(){this._channel&&(this._channel=null),this._port.removeEventListener("message",this._onMessage),this._port.close(),this._outJobs.forEach((e=>{var t;null==(t=e.abortHandle)||t.remove(),e.reject((0,a.zE)(`Worker closing, aborting job calling '${e.debugInfo}'`))})),this._inJobs.clear(),this._outJobs.clear(),this._invokeQueue.clear(),this._port=this._client=this._schedule=null}_onMessage(e){(0,i.pC)(this._schedule)?this._schedule((()=>this._processMessage(e))):this._processMessage(e)}_processMessage(e){const t=(0,c.QM)(e);if(t)switch(t.type){case p:this._onResponseMessage(t);break;case h:this._invokeQueue.push(t);break;case d:this._onAbortMessage(t);break;case f:this._onCloseMessage();break;case b:this._onOpenPortMessage(t);break;case g:this._onOnMessage(t)}}_onAbortMessage(e){const t=this._inJobs,r=e.jobId,n=t.get(r);this._invokeQueue.push(e),n&&(n.controller&&n.controller.abort(),t.delete(r))}_onCloseMessage(){const e=this._client;this._close(),e&&"destroy"in e&&y.clients.get(this)===e&&e.destroy(),y.clients.delete(this),e&&e.remoteClient&&(e.remoteClient=null)}_onInvokeMessage(e){const{methodName:t,jobId:r,data:n,abortable:o}=e,s=o?new AbortController:null,i=this._inJobs;let l,u=this._client,f=u[t];try{if(!f&&t&&-1!==t.indexOf(".")){const e=t.split(".");for(let t=0;t<e.length-1;t++)u=u[e[t]],f=u[e[t+1]]}if("function"!=typeof f)throw new TypeError(`${t} is not a function`);l=f.call(u,n,{client:this,signal:s?s.signal:null})}catch(e){return void this._post({type:p,jobId:r,error:(0,c.AB)(e)})}(0,a.y8)(l)?(i.set(r,{controller:s,promise:l}),l.then((e=>{i.has(r)&&(i.delete(r),this._post({type:p,jobId:r},e))}),(e=>{i.has(r)&&(i.delete(r),(0,a.D_)(e)||this._post({type:p,jobId:r,error:(0,c.AB)(e||{message:`Error encountered at method ${t}`})}))}))):this._post({type:p,jobId:r},l)}_onOpenPortMessage(e){new y(e.port,{client:this._client})}_onOnMessage(e){const{port:t}=e,r=this._client.on(e.eventType,(e=>{t.postMessage(e)})),n=(0,s.on)(e.port,"message",(e=>{(0,c.QM)(e).type===c.Cs.CLOSE&&(n.remove(),r.remove(),t.close())}))}_onResponseMessage(e){var t;const{jobId:r,error:n,data:s}=e,i=this._outJobs;if(!i.has(r))return;const a=i.get(r);i.delete(r),null==(t=a.abortHandle)||t.remove(),n?a.reject(o.Z.fromJSON(JSON.parse(n))):a.resolve(s)}_post(e,t,r){return(0,c.oi)(this._port,e,t,r)}}y.kernelInfo={revision:l.$,version:n.i8,buildDate:l.r},y.clients=new Map},94362:(e,t,r)=>{"use strict";r.d(t,{Cs:()=>n,jt:()=>a,oi:()=>l,QM:()=>u,AB:()=>c});var n,o,s=r(80442);(o=n||(n={}))[o.HANDSHAKE=0]="HANDSHAKE",o[o.OPEN=1]="OPEN",o[o.OPENED=2]="OPENED",o[o.RESPONSE=3]="RESPONSE",o[o.INVOKE=4]="INVOKE",o[o.ABORT=5]="ABORT",o[o.CLOSE=6]="CLOSE",o[o.OPEN_PORT=7]="OPEN_PORT",o[o.ON=8]="ON";let i=0;function a(){return i++}function c(e){return e?"string"==typeof e?JSON.stringify({name:"message",message:e}):e.toJSON?JSON.stringify(e):JSON.stringify({name:e.name,message:e.message,details:e.details||{stack:e.stack}}):null}function l(e,t,r,o){if(t.type===n.OPEN_PORT)return void e.postMessage(t,[t.port]);if(t.type!==n.INVOKE&&t.type!==n.RESPONSE)return void e.postMessage(t);let s;!function(e){return e&&"object"==typeof e&&("result"in e||"transferList"in e)}(r)?(s=f(o),t.data=r):(s=f(r.transferList),t.data=r.result),s?e.postMessage(t,s):e.postMessage(t)}function u(e){if(!e)return null;const t=e.data;return t?"string"==typeof t?JSON.parse(t):t:null}function f(e){if(!e||!e.length)return null;if((0,s.Z)("esri-workers-arraybuffer-transfer"))return e;const t=e.filter((e=>!function(e){return e instanceof ArrayBuffer||e&&e.constructor&&"ArrayBuffer"===e.constructor.name}(e)));return t.length?t:null}},40330:(e,t,r)=>{"use strict";r.d(t,{Dp:()=>l,id:()=>a,qh:()=>c,i8:()=>s,Nv:()=>i});var n=r(80442),o=r(17452);const s="4.22",i={async request(e,t){var n;const{default:s}=await r.e(3172).then(r.bind(r,3172)),i=e.options,a=i.responseType;i.signal=null==t?void 0:t.signal,i.responseType="native"===a||"native-request-init"===a?"native-request-init":["blob","json","text"].includes(a)&&null!=(n=(0,o.oh)(e.url))&&n.after?a:"array-buffer";const c=await s(e.url,i),l={data:c.data,ssl:c.ssl};switch(c.requestOptions.responseType){case"native-request-init":return delete l.data.signal,l;case"blob":l.data=await l.data.arrayBuffer();break;case"json":l.data=(new TextEncoder).encode(JSON.stringify(l.data)).buffer;break;case"text":l.data=(new TextEncoder).encode(l.data).buffer}return{result:l,transferList:[l.data]}}};let a;function c(e){a=e}function l(e){const t=a&&a.findCredential(e);return t&&t.token?(0,o.ZN)(e,"token",t.token):e}(0,n.Z)("host-webworker")||((0,n.Z)("edge")||(0,n.Z)("trident"))&&console.warn("Deprecated browser - see http://esriurl.com/oldbrowser")},17202:(e,t,r)=>{"use strict";r.d(t,{r:()=>n,$:()=>o});const n="20211201",o="9fa3f596684afbe0975f1100d5649cfb33d62796"}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,n)=>(r.f[n](e,t),t)),[])),r.u=e=>"chunks/"+{24:"b17afdfe4450f69298ad",36:"457dd64964cf7f404943",102:"eb9227c378085d63a3d3",147:"472df5b8be9c335eb999",176:"0a5b9fdfa77c0e690503",223:"59640d78295e2e363f18",247:"a0450fbf01de854f5c97",280:"ea05f870dda27bca4fe8",402:"362339272cf5adcf9e4b",411:"8f4714cdd325b8e28957",511:"dd8c983c153c65ebceca",565:"d53ad780789f4d9124ad",576:"38e792e037e88a74995a",635:"12576e848e14cc1fbb70",639:"b935d0c8d5951298cc53",755:"7e0b4f9a847bb2a52338",819:"6280c69d87b2a3a18780",941:"0632f22aa1af88a238ce",966:"e9af7a5eb1e3bce4f0f9",1074:"2d9b32e3e24631cd4e34",1295:"a164ca7d87bfae334347",1387:"a3a55bd894e1eb739733",1421:"7fa2d758a24bbaaab0bf",1433:"1def8845714ea745fd24",1534:"09141e5539e652edfc6c",1762:"9375938d2d708f1b0271",1765:"e6b41012ade9bdce3244",1773:"aa57f2c380132c746730",1785:"09426d106b3189de8b6f",2134:"f3c0d0d182988a8d2b3f",2303:"3c4d68029ee2787f9653",2360:"f3da8b797c8e1fcb1c21",2399:"96f148a556a2418038de",2515:"446f1bc9822d03aa9a7a",2730:"594029863881481feacf",2781:"1de80cd934983f4adfcd",2785:"4fdf762d805ebb17624d",3027:"f30bb46f14bf3e658711",3081:"058955b87ce2aa1b1809",3172:"fe3ca2d2764525a8c67f",3230:"7351fbd8a9dbef027d06",3437:"7d032d4ee9a91709aaa3",3471:"36c4bc3d84e9c3148776",3485:"c2268a36f90a9310feec",3516:"96a62dc1e07f3ef20a30",3529:"d0aa2f83abddf2244b3b",3553:"a0aa8321b58109c6ae19",3578:"e39316a7998d3dde62bf",3668:"ab1aa39457f9205c9b79",3749:"701688ccf7a6c93c9147",3792:"c80c8aff0d14dd822454",3852:"62c683f44c297d239ab8",3942:"d7f77fe32bb2d69b5714",4067:"bc0b85bc1e5116836ba4",4166:"8a5e15bb513c65ef730d",4358:"f977977564b2b75332a9",4369:"cb5c42f598064c0c4eaa",4470:"4dca43553ef2090e4b5f",4499:"4d325ff7180a253d08c7",4556:"a465488578b87d63215d",4588:"e14b4af7eefcbc2c46a0",4599:"49bb222ee07a768e998d",4695:"14bef72154b3a19561a7",4720:"fe42716651b39518453c",4816:"d76aa27b92563db8f366",4859:"8bc4ea821be16a752226",4889:"0ca1ce6856620fc88011",5051:"ac9163e7b4d544b9aa78",5158:"af6251cc7973b43a1523",5265:"3131d0ebc834e33754e1",5638:"ae7b979ce886b03937cc",5732:"469ba1b24cdeea0758ec",5823:"ddc4adb9b9997fb09b43",5837:"42c67e6579b54844ec06",5845:"3e43df5bd4cba6b0e91f",5853:"66f8544b54fab04b36e9",6104:"6210b23872c362f51b12",6237:"c544df83e86a9d36b68c",6348:"1f02165e7758645b5e0d",6401:"06c34599afdb1fe03cbc",6459:"d8d182c41e8bb70db4c2",6481:"e3aed0a5b64180bdb6c3",6550:"dffef67a6e45e430afa3",6570:"2601007cf6f89521d704",6619:"86245d83dd17ebe39b2a",6690:"5f2718cd77cbd5ba7920",6710:"d11d1d294ccc4ccdf60f",6740:"5cb2588d14e09af0801d",6748:"23af0b02208e20d5c07e",6774:"4a830f056c4d0ed93928",6810:"bd29ea967877fc6d7c53",6841:"597f8ce30413c6e86f7c",6884:"e02a3d456525e76ddb60",6968:"07bfb7bb4447aeacd87a",7039:"30d7685fc6dc1787df44",7049:"9453fdba689296828087",7054:"89010776ebdfe8a50a0c",7055:"be1ca1154ec28d186311",7091:"63e08d2c2e9098a14ea8",7277:"f183da283af0836421ab",7284:"3414dd7ed9fadd64eb65",7319:"3e7a0a81a1f07bce3b30",7572:"494fb282e8e4bf8f94b7",7622:"b36d275f4d943873f9e8",7635:"599c9acfd08aaa88ef74",7668:"4513689048bc2a704bf4",7779:"863fe8818f19f82d4d36",7783:"320d655fcd7fe1966145",7845:"db075f5e0827991efcfd",7873:"93eb468381bfcf0e47d7",8008:"ce49c0a926b7e9246b66",8014:"ec0be96baf84a833cb38",8034:"83b3968212cba0273721",8062:"f72679791ea5029377e4",8121:"3a32fc4f43d87fe84fcb",8216:"6a1ce00bcb689ea95bcb",8227:"1f394b20410fddb30a96",8316:"f98f64bbcb1b24d0d290",8422:"56c34f60fdc752ca8371",8511:"52aa3b44bddb10caa343",8589:"02ce52ca0084536bc066",8625:"caa5d1b9680a822f2070",8659:"47dab63e1b2e64a96637",8683:"4417dfcb2ba50ac9f199",8758:"826c983100569586b61f",8778:"b957ef59aa56b5c339f4",8828:"36de1a1959f038a61cca",8835:"ff9a9e705237c55f78ff",8846:"dadf9930c296c88c3a88",8936:"7802deb733e6a2d2f369",8961:"9796d54ff12b6429164a",9070:"db202ae7dc8b584f312f",9101:"3bea6fa573a4daece0ed",9151:"d42f289a65a98d752e12",9169:"f7ae0344257e6e08469b",9201:"83c18c36d8829d00c280",9221:"b6b46f8e6a7d8d3cef50",9254:"ccaaefa20dfb940e8cc0",9291:"6e172b435a55bc72baef",9294:"95471140bd6ec868337e",9296:"e9608d8e0ea984aa35a0",9474:"d76ba25485e92bbda0c5",9489:"06a9cdf71330bf9cc774",9490:"7678b37f4f528af762e2",9561:"44145763617ea985cce4",9625:"39e48b3510a3c831299e",9664:"5aee3903ee34855d14f2",9767:"9e3fc6ba87fa55c33055",9872:"b245e95708cde2c403de",9884:"356db8b8297282c77291",9928:"5c561d65035d46249fb4",9932:"489147cf21d55f47d0e6",9938:"deba37055be7c2d7da26"}[e]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={134:1,102:1};r.f.i=(t,n)=>{e[t]||importScripts(r.p+r.u(t))};var t=self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[],n=t.push.bind(t);t.push=t=>{var[o,s,i]=t;for(var a in s)r.o(s,a)&&(r.m[a]=s[a]);for(i&&i(r);o.length;)e[o.pop()]=1;n(t)}})(),r(88277);var n=r(25045);RemoteClient=n})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6968],{10937:(e,t,r)=>{function n(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}r.d(t,{c:()=>n});const i=n();Object.freeze({__proto__:null,create:n,clone:function(e){const t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},fromValues:function(e,t,r,n,i,a,o,s,u,l,c,p,f,h,d,y){const m=new Float32Array(16);return m[0]=e,m[1]=t,m[2]=r,m[3]=n,m[4]=i,m[5]=a,m[6]=o,m[7]=s,m[8]=u,m[9]=l,m[10]=c,m[11]=p,m[12]=f,m[13]=h,m[14]=d,m[15]=y,m},createView:function(e,t){return new Float32Array(e,t,16)},IDENTITY:i})},57520:(e,t,r)=>{r.d(t,{ij:()=>$,cW:()=>F});var n=r(20102),i=r(78286),a=r(35270),o=r(62357),s=r(10937),u=r(52138);class l{constructor(e,t,r){this.strength=e,this.radius=t,this.threshold=r,this.type="bloom"}interpolate(e,t,r){this.strength=y(e.strength,t.strength,r),this.radius=y(e.radius,t.radius,r),this.threshold=y(e.threshold,t.threshold,r)}clone(){return new l(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:m(this.radius),strength:this.strength,threshold:this.threshold}}}class c{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,r){this.radius=Math.round(y(e.radius,t.radius,r))}clone(){return new c(this.radius)}toJSON(){return{type:"blur",radius:m(this.radius)}}}class p{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.amount=y(e.amount,t.amount,r),this._updateMatrix()}clone(){return new p(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||(0,s.c)();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const r=(0,u.s)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,u.t)(r,r)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const r=(0,u.s)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,u.t)(r,r)})(e,this.amount);break;case"grayscale":this._colorMatrix=((e,t)=>{const r=1-this.amount,n=(0,u.s)(e,.2126+.7874*r,.7152-.7152*r,.0722-.0722*r,0,.2126-.2126*r,.7152+.2848*r,.0722-.0722*r,0,.2126-.2126*r,.7152-.7152*r,.0722+.9278*r,0,0,0,0,1);return(0,u.t)(n,n)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const r=1-2*t,n=(0,u.s)(e,r,0,0,t,0,r,0,t,0,0,r,t,0,0,0,1);return(0,u.t)(n,n)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const r=(0,u.s)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,u.t)(r,r)})(e,this.amount);break;case"sepia":this._colorMatrix=((e,t)=>{const r=1-this.amount,n=(0,u.s)(e,.393+.607*r,.769-.769*r,.189-.189*r,0,.349-.349*r,.686+.314*r,.168-.168*r,0,.272-.272*r,.534-.534*r,.131+.869*r,0,0,0,0,1);return(0,u.t)(n,n)})(e)}}}class f{constructor(e,t,r,n){this.offsetX=e,this.offsetY=t,this.blurRadius=r,this.color=n,this.type="drop-shadow"}interpolate(e,t,r){this.offsetX=y(e.offsetX,t.offsetX,r),this.offsetY=y(e.offsetY,t.offsetY,r),this.blurRadius=y(e.blurRadius,t.blurRadius,r),this.color[0]=Math.round(y(e.color[0],t.color[0],r)),this.color[1]=Math.round(y(e.color[1],t.color[1],r)),this.color[2]=Math.round(y(e.color[2],t.color[2],r)),this.color[3]=y(e.color[3],t.color[3],r)}clone(){return new f(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:m(this.offsetX),yoffset:m(this.offsetY),blurRadius:m(this.blurRadius),color:e}}}class h{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.angle=y(e.angle,t.angle,r),this._updateMatrix()}clone(){return new h(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||(0,s.c)();this._colorMatrix=((e,t)=>{const r=Math.sin(t*Math.PI/180),n=Math.cos(t*Math.PI/180),i=(0,u.s)(e,.213+.787*n-.213*r,.715-.715*n-.715*r,.072-.072*n+.928*r,0,.213-.213*n+.143*r,.715+.285*n+.14*r,.072-.072*n-.283*r,0,.213-.213*n-.787*r,.715-.715*n+.715*r,.072+.928*n+.072*r,0,0,0,0,1);return(0,u.t)(i,i)})(e,this.angle)}}class d{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,r){this.amount=y(e.amount,t.amount,r)}clone(){return new d(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function y(e,t,r){return e+(t-e)*r}function m(e){return Math.round(1e3*(0,o.Wz)(e))/1e3}function g(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new p(e.type,0);case"saturate":case"brightness":case"contrast":return new p(e.type,1);case"opacity":return new d(1);case"hue-rotate":return new h(0);case"blur":return new c(0);case"drop-shadow":return new f(0,0,0,[...(0,a.h$)("transparent")]);case"bloom":return new l(0,0,0)}}function w(e,t){const r=e.length>t.length?e:t;return(e.length>t.length?t:e).every(((e,t)=>e.type===r[t].type))}function v(e,t){const r=e.length>t.length?e:t,n=e.length>t.length?t:e;for(let e=n.length;e<r.length;e++)n.push(g(r[e]))}r(5732);var b,x,S={exports:{}};function A(e){if(!e||0===e.length)return null;if("string"==typeof e){const t=I(e);return t&&0!==t.length?t:null}const t=e.map((e=>{if(!Number.isFinite(e.scale)||e.scale<=0)throw new n.Z("effect:invalid-scale","scale must be finite and greater than 0",{stop:e});return{scale:e.scale,effects:I(e.value)}}));t.sort(((e,t)=>t.effects.length-e.effects.length));for(let e=0;e<t.length-1;e++){if(!w(t[e].effects,t[e+1].effects))throw new n.Z("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:t[e].effects,b:t[e+1].effects});v(t[e].effects,t[e+1].effects)}return t.sort(((e,t)=>t.scale-e.scale)),t}function I(e){let t;if(!e)return[];try{t=S.exports.parse(e)}catch(t){throw new n.Z("effect:invalid-syntax","Invalid effect syntax",{value:e,error:t})}return t.map((e=>function(e){try{switch(e.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(e){let t=1;return L(e.parameters,1),1===e.parameters.length&&(t=O(e.parameters[0])),new p(e.name,t)}(e);case"opacity":return function(e){let t=1;return L(e.parameters,1),1===e.parameters.length&&(t=O(e.parameters[0])),new d(t)}(e);case"hue-rotate":return function(e){let t=0;return L(e.parameters,1),1===e.parameters.length&&(t=function(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=C[e.unit]))throw new n.Z("effect:type-error",`Expected <angle>, Actual: ${M(e)}`,{term:e})}(e),e.value*C[e.unit]||0}(e.parameters[0])),new h(t)}(e);case"blur":return function(e){let t=0;return L(e.parameters,1),1===e.parameters.length&&(t=T(e.parameters[0]),_(t,e.parameters[0])),new c(t)}(e);case"drop-shadow":return function(e){const t=[];let r=null;for(const i of e.parameters)if("color"===i.type){if(t.length&&Object.freeze(t),r)throw new n.Z("effect:type-error","Accepts only one color",{});r=E(i)}else{const e=T(i);if(Object.isFrozen(t))throw new n.Z("effect:type-error","<length> parameters not consecutive",{lengths:t});t.push(e),3===t.length&&_(e,i)}if(t.length<2||t.length>3)throw new n.Z("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${t.length}}`,{lengths:t});return new f(t[0],t[1],t[2]||0,r||G("black"))}(e);case"bloom":return function(e){let t=1,r=0,n=0;return L(e.parameters,3),e.parameters[0]&&(t=O(e.parameters[0])),e.parameters[1]&&(r=T(e.parameters[1]),_(r,e.parameters[1])),e.parameters[2]&&(n=O(e.parameters[2])),new l(t,r,n)}(e)}}catch(t){throw t.details.filter=e,t}throw new n.Z("effect:unknown-effect",`Effect '${e.name}' is not supported`,{effect:e})}(e)))}function L(e,t){if(e.length>t)throw new n.Z("effect:type-error",`Function supports up to ${t} parameters, Actual: ${e.length}`,{parameters:e})}function M(e){if("color"===e.type)return"<color>";if(e.unit){if(j[e.unit])return"<length>";if(C[e.unit])return"<angle>";if("%"===e.unit)return"<percentage>"}return"<double>"}function _(e,t){if(e<0)throw new n.Z("effect:type-error",`Negative values are not allowed, Actual: ${e}`,{term:t})}x=function(){function e(t,r,n,i){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,e.prototype),a.expected=r,a.found=n,a.location=i,a.name="SyntaxError",a}function t(e,t,r){return r=r||" ",e.length>t?e:(t-=e.length,e+(r+=r.repeat(t)).slice(0,t))}return function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(e,Error),e.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var n,i=null;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){i=e[n].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,o=this.location.source+":"+a.line+":"+a.column;if(i){var s=this.location.end,u=t("",a.line.toString().length),l=i[a.line-1],c=a.line===s.line?s.column:l.length+1;r+="\n --\x3e "+o+"\n"+u+" |\n"+a.line+" | "+l+"\n"+u+" | "+t("",a.column-1)+t("",c-a.column,"^")}else r+="\n at "+o}return r},e.buildMessage=function(e,t){var r={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t=e.parts.map((function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)}));return"["+(e.inverted?"^":"")+t+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description}};function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){return r[e.type](e)}return"Expected "+function(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+function(e){return e?'"'+i(e)+'"':"end of input"}(t)+" found."},{SyntaxError:e,parse:function(t,r){var n,i={},a=(r=void 0!==r?r:{}).grammarSource,o={start:se},s=se,u="none",l="grad",c="turn",p=/^[ \t\n\r]/,f=/^[a-z\-]/,h=/^[0-9a-fA-F]/,d=/^[+\-]/,y=/^[0-9]/,m=ne("none"),g=te("none",!1),w=te(")",!1),v=te(",",!1),b=ne("whitespace"),x=re([" ","\t","\n","\r"],!1,!1),S=ne("function"),A=te("(",!1),I=ne("identifier"),L=re([["a","z"],"-"],!1,!1),M=ne("percentage"),_=te("%",!1),C=ne("length"),j=te("px",!1),O=te("cm",!1),T=te("mm",!1),E=te("in",!1),G=te("pt",!1),N=te("pc",!1),R=ne("angle"),$=te("deg",!1),F=te("rad",!1),Z=te("grad",!1),k=te("turn",!1),B=ne("number"),q=ne("color"),V=te("#",!1),D=re([["0","9"],["a","f"],["A","F"]],!1,!1),W=re(["+","-"],!1,!1),z=re([["0","9"]],!1,!1),J=te(".",!1),P=te("e",!1),Y=0,X=0,H=[{line:1,column:1}],U=0,K=[],Q=0;if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=o[r.startRule]}function ee(){return t.substring(X,Y)}function te(e,t){return{type:"literal",text:e,ignoreCase:t}}function re(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function ne(e){return{type:"other",description:e}}function ie(e){var r,n=H[e];if(n)return n;for(r=e-1;!H[r];)r--;for(n={line:(n=H[r]).line,column:n.column};r<e;)10===t.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return H[e]=n,n}function ae(e,t){var r=ie(e),n=ie(t);return{source:a,start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function oe(e){Y<U||(Y>U&&(U=Y,K=[]),K.push(e))}function se(){var e;return(e=ue())===i&&(e=function(){var e,t;if(e=[],(t=le())!==i)for(;t!==i;)e.push(t),t=le();else e=i;return e}()),e}function ue(){var e,r;return Q++,e=Y,pe(),t.substr(Y,4)===u?(r=u,Y+=4):(r=i,0===Q&&oe(g)),r!==i?(pe(),X=e,e=[]):(Y=e,e=i),Q--,e===i&&0===Q&&oe(m),e}function le(){var e,r,n,a;return e=Y,pe(),(r=function(){var e,r,n;return Q++,e=Y,(r=fe())!==i?(40===t.charCodeAt(Y)?(n="(",Y++):(n=i,0===Q&&oe(A)),n!==i?(X=e,e=r):(Y=e,e=i)):(Y=e,e=i),Q--,e===i&&(r=i,0===Q&&oe(S)),e}())!==i?(pe(),(n=function(){var e,r,n,a,o,s,u,l;if(e=Y,(r=ce())!==i){for(n=[],a=Y,o=pe(),44===t.charCodeAt(Y)?(s=",",Y++):(s=i,0===Q&&oe(v)),s===i&&(s=null),u=pe(),(l=ce())!==i?a=o=[o,s,u,l]:(Y=a,a=i);a!==i;)n.push(a),a=Y,o=pe(),44===t.charCodeAt(Y)?(s=",",Y++):(s=i,0===Q&&oe(v)),s===i&&(s=null),u=pe(),(l=ce())!==i?a=o=[o,s,u,l]:(Y=a,a=i);X=e,e=function(e,t){return t.length>0?function(e,t,r){return[e].concat(function(e,t){return e.map((function(e){return e[3]}))}(t))}(e,t):[e]}(r,n)}else Y=e,e=i;return e}())===i&&(n=null),pe(),41===t.charCodeAt(Y)?(a=")",Y++):(a=i,0===Q&&oe(w)),a!==i?(pe(),X=e,e=function(e,t){return{type:"function",name:e,parameters:t||[]}}(r,n)):(Y=e,e=i)):(Y=e,e=i),e}function ce(){var e,t;return e=Y,(t=he())===i&&(t=de())===i&&(t=ye())===i&&(t=function(){var e,t;return Q++,e=Y,pe(),(t=ge())!==i?(X=e,e=function(e){return{value:e,unit:null}}(t)):(Y=e,e=i),Q--,e===i&&0===Q&&oe(B),e}()),t!==i&&(X=e,t=function(e){return{type:"quantity",value:e.value,unit:e.unit}}(t)),(e=t)===i&&(e=Y,(t=me())!==i&&(X=e,t=function(e){return{type:"color",colorType:e.type,value:e.value}}(t)),e=t),e}function pe(){var e,r;for(Q++,e=[],p.test(t.charAt(Y))?(r=t.charAt(Y),Y++):(r=i,0===Q&&oe(x));r!==i;)e.push(r),p.test(t.charAt(Y))?(r=t.charAt(Y),Y++):(r=i,0===Q&&oe(x));return Q--,r=i,0===Q&&oe(b),e}function fe(){var e,r,n;if(Q++,e=Y,r=[],f.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(L)),n!==i)for(;n!==i;)r.push(n),f.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(L));else r=i;return r!==i&&(X=e,r=ee()),Q--,(e=r)===i&&(r=i,0===Q&&oe(I)),e}function he(){var e,r,n;return Q++,e=Y,pe(),(r=ge())!==i?(37===t.charCodeAt(Y)?(n="%",Y++):(n=i,0===Q&&oe(_)),n!==i?(X=e,e=function(e){return{value:e,unit:"%"}}(r)):(Y=e,e=i)):(Y=e,e=i),Q--,e===i&&0===Q&&oe(M),e}function de(){var e,r,n;return Q++,e=Y,pe(),(r=ge())!==i?("px"===t.substr(Y,2)?(n="px",Y+=2):(n=i,0===Q&&oe(j)),n!==i?(X=e,e=function(e){return{value:e,unit:"px"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("cm"===t.substr(Y,2)?(n="cm",Y+=2):(n=i,0===Q&&oe(O)),n!==i?(X=e,e=function(e){return{value:e,unit:"cm"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("mm"===t.substr(Y,2)?(n="mm",Y+=2):(n=i,0===Q&&oe(T)),n!==i?(X=e,e=function(e){return{value:e,unit:"mm"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("in"===t.substr(Y,2)?(n="in",Y+=2):(n=i,0===Q&&oe(E)),n!==i?(X=e,e=function(e){return{value:e,unit:"in"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("pt"===t.substr(Y,2)?(n="pt",Y+=2):(n=i,0===Q&&oe(G)),n!==i?(X=e,e=function(e){return{value:e,unit:"pt"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("pc"===t.substr(Y,2)?(n="pc",Y+=2):(n=i,0===Q&&oe(N)),n!==i?(X=e,e=function(e){return{value:e,unit:"pc"}}(r)):(Y=e,e=i)):(Y=e,e=i)))))),Q--,e===i&&0===Q&&oe(C),e}function ye(){var e,r,n;return Q++,e=Y,(r=ge())!==i?("deg"===t.substr(Y,3)?(n="deg",Y+=3):(n=i,0===Q&&oe($)),n!==i?(X=e,e=function(e){return{value:e,unit:"deg"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,(r=ge())!==i?("rad"===t.substr(Y,3)?(n="rad",Y+=3):(n=i,0===Q&&oe(F)),n!==i?(X=e,e=function(e){return{value:e,unit:"rad"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,(r=ge())!==i?(t.substr(Y,4)===l?(n=l,Y+=4):(n=i,0===Q&&oe(Z)),n!==i?(X=e,e=function(e){return{value:e,unit:"grad"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,(r=ge())!==i?(t.substr(Y,4)===c?(n=c,Y+=4):(n=i,0===Q&&oe(k)),n!==i?(X=e,e=function(e){return{value:e,unit:"turn"}}(r)):(Y=e,e=i)):(Y=e,e=i)))),Q--,e===i&&(r=i,0===Q&&oe(R)),e}function me(){var e,r,n,a;if(Q++,e=Y,35===t.charCodeAt(Y)?(r="#",Y++):(r=i,0===Q&&oe(V)),r!==i){if(n=[],h.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(D)),a!==i)for(;a!==i;)n.push(a),h.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(D));else n=i;n!==i?(X=e,e={type:"hex",value:ee()}):(Y=e,e=i)}else Y=e,e=i;return e===i&&(e=Y,(r=le())!==i&&(X=e,r=function(e){return{type:"function",value:e}}(r)),(e=r)===i&&(e=Y,(r=fe())!==i&&(X=e,r={type:"named",value:ee()}),e=r)),Q--,e===i&&(r=i,0===Q&&oe(q)),e}function ge(){var e,r,n,a,o,s,u;for(e=Y,d.test(t.charAt(Y))?(t.charAt(Y),Y++):0===Q&&oe(W),r=Y,n=[],y.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(z));a!==i;)n.push(a),y.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(z));if(46===t.charCodeAt(Y)?(a=".",Y++):(a=i,0===Q&&oe(J)),a!==i){if(o=[],y.test(t.charAt(Y))?(s=t.charAt(Y),Y++):(s=i,0===Q&&oe(z)),s!==i)for(;s!==i;)o.push(s),y.test(t.charAt(Y))?(s=t.charAt(Y),Y++):(s=i,0===Q&&oe(z));else o=i;o!==i?r=n=[n,a,o]:(Y=r,r=i)}else Y=r,r=i;if(r===i)if(r=[],y.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(z)),n!==i)for(;n!==i;)r.push(n),y.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(z));else r=i;if(r!==i){if(n=Y,101===t.charCodeAt(Y)?(a="e",Y++):(a=i,0===Q&&oe(P)),a!==i){if(d.test(t.charAt(Y))?(o=t.charAt(Y),Y++):(o=i,0===Q&&oe(W)),o===i&&(o=null),s=[],y.test(t.charAt(Y))?(u=t.charAt(Y),Y++):(u=i,0===Q&&oe(z)),u!==i)for(;u!==i;)s.push(u),y.test(t.charAt(Y))?(u=t.charAt(Y),Y++):(u=i,0===Q&&oe(z));else s=i;s!==i?n=a=[a,o,s]:(Y=n,n=i)}else Y=n,n=i;n===i&&(n=null),X=e,e=parseFloat(ee())}else Y=e,e=i;return e}if((n=s())!==i&&Y===t.length)return n;throw n!==i&&Y<t.length&&oe({type:"end"}),function(t,r,n){return new e(e.buildMessage(t,r),t,r,n)}(K,U<t.length?t.charAt(U):null,U<t.length?ae(U,U+1):ae(U,U))}}},(b=S).exports&&(b.exports=x());const C={deg:1,grad:.9,rad:180/Math.PI,turn:360},j={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function O(e){!function(e){if("quantity"!==e.type||null!==e.unit&&"%"!==e.unit)throw new n.Z("effect:type-error",`Expected <double> or <percentage>, Actual: ${M(e)}`,{term:e})}(e);const t=e.value;return _(t,e),"%"===e.unit?.01*t:t}function T(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=j[e.unit]))throw new n.Z("effect:type-error",`Expected <length>, Actual: ${M(e)}`,{term:e})}(e),e.value*j[e.unit]||0}function E(e){switch(e.colorType){case"hex":return(0,a.rW)(e.value);case"named":return G(e.value);case"function":return function(e){if(L(e.parameters,4),N.test(e.name))return[O(e.parameters[0]),O(e.parameters[1]),O(e.parameters[2]),e.parameters[3]?O(e.parameters[3]):1];if(R.test(e.name))return(0,a.B7)(function(e){return function(e){if("quantity"!==e.type||null!==e.unit)throw new n.Z("effect:type-error",`Expected <double>, Actual: ${M(e)}`,{term:e})}(e),_(e.value,e),e.value}(e.parameters[0]),O(e.parameters[1]),O(e.parameters[2]),e.parameters[3]?O(e.parameters[3]):1);throw new n.Z("effect:syntax-error",`Invalid color function '${e.name}'`,{colorFunction:e})}(e.value)}}function G(e){if(!(0,a.St)(e))throw new n.Z("effect:unknown-color",`color '${e}' isn't valid`,{namedColor:e});return(0,a.VL)(e)}const N=/^rgba?/i,R=/^hsla?/i;function $(e,t,r){try{return function(e){if(!e||0===e.length)return null;if(function(e){const t=e[0];return!!t&&"scale"in t}(e)){const t=[];for(const r of e)t.push({scale:r.scale,value:Z(r.value)});return t}return Z(e)}(e)}catch(e){var n;null==r||null==(n=r.messages)||n.push(e)}return null}function F(e,t,r,n){try{const n=function(e){const t=A(e);return t?function(e){const t=e[0];return!!t&&"type"in t}(t)?t.map((e=>e.toJSON())):t.map((({scale:e,effects:t})=>({scale:e,value:t.map((e=>e.toJSON()))}))):null}(e);(0,i.RB)(r,n,t)}catch(e){n.messages&&n.messages.push(e)}}function Z(e){if(!e||!e.length)return"";const t=[];for(const r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[k(r,"amount")];break;case"blur":e=[k(r,"radius","pt")];break;case"hue-rotate":e=[k(r,"angle","deg")];break;case"drop-shadow":e=[k(r,"xoffset","pt"),k(r,"yoffset","pt"),k(r,"blurRadius","pt"),B(r,"color")];break;case"bloom":e=[k(r,"strength"),k(r,"radius","pt"),k(r,"threshold")]}const n=`${r.type}(${e.filter(Boolean).join(" ")})`;A(n),t.push(n)}return t.join(" ")}function k(e,t,r){if(null==e[t])throw new n.Z("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});return r?e[t]+r:""+e[t]}function B(e,t){if(null==e[t])throw new n.Z("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});const r=e[t];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}},71612:(e,t,r)=>{r.d(t,{h:()=>s});var n=r(43697),i=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),o=r(57520);const s=e=>{let t=class extends e{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,n._)([(0,i.Cb)({type:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"],nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:!0}}}})],t.prototype,"blendMode",void 0),(0,n._)([(0,i.Cb)({json:{read:!1,write:!1,origins:{"web-map":{read:{reader:o.ij},write:{allowNull:!0,writer:o.cW}}}}})],t.prototype,"effect",void 0),t=(0,n._)([(0,a.j)("esri.layers.mixins.BlendLayer")],t),t}},38009:(e,t,r)=>{r.d(t,{q:()=>h});var n=r(43697),i=r(20102),a=r(17452),o=r(5600),s=(r(67676),r(80442),r(75215),r(52011)),u=r(30556),l=r(50549),c=r(76169);const p={"web-scene/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledElevationServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BuildingSceneLayer:!0,GroupLayer:!0,IntegratedMeshLayer:!0,OGCFeatureLayer:!0,PointCloudLayer:!0,WebTiledLayer:!0,CSV:!0,GeoJSON:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,KML:!0,RasterDataLayer:!0,Voxel:!0},"web-scene/basemap":{ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,WebTiledLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,ArcGISImageServiceLayer:!0,WMS:!0,ArcGISMapServiceLayer:!0},"web-scene/ground":{ArcGISTiledElevationServiceLayer:!0,RasterDataElevationLayer:!0},"web-map/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,CSV:!0,GeoRSS:!0,GeoJSON:!0,GroupLayer:!0,KML:!0,OGCFeatureLayer:!0,SubtypeGroupLayer:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},"web-map/basemap":{ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,WMS:!0,WebTiledLayer:!0,BingMapsAerial:!0,BingMapsRoad:!0,BingMapsHybrid:!0},"web-map/tables":{ArcGISFeatureLayer:!0},"portal-item/operational-layers":{ArcGISSceneServiceLayer:!0,PointCloudLayer:!0,BuildingSceneLayer:!0,IntegratedMeshLayer:!0}};var f=r(21506);const h=e=>{let t=class extends e{constructor(){super(...arguments),this.title=null}writeListMode(e,t,r,n){(n&&"ground"===n.layerContainerType||e&&(0,c.df)(this,r,{},n))&&(t[r]=e)}writeOperationalLayerType(e,t,r,n){!e||n&&"tables"===n.layerContainerType||(t.layerType=e)}writeTitle(e,t){t.title=e||"Layer"}read(e,t){t&&(t.layer=this),(0,l.$Z)(this,e,(t=>super.read(e,t)),t)}write(e,t){if(null!=t&&t.origin){const e=`${t.origin}/${t.layerContainerType||"operational-layers"}`,n=p[e];let a=n&&n[this.operationalLayerType];var r;if("ArcGISTiledElevationServiceLayer"===this.operationalLayerType&&"web-scene/operational-layers"===e&&(a=!1),!a)return null==(r=t.messages)||r.push(new i.Z("layer:unsupported",`Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,{layer:this})),null}const n=super.write(e,{...t,layer:this}),o=!!t&&!!t.messages&&!!t.messages.filter((e=>e instanceof i.Z&&"web-document-write:property-required"===e.name)).length;var s;return(0,a.jc)(null==n?void 0:n.url)?(null==t||null==(s=t.messages)||s.push(new i.Z("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&o?null:n}beforeSave(){}};return(0,n._)([(0,o.Cb)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],t.prototype,"id",void 0),(0,n._)([(0,o.Cb)({json:{write:{ignoreOrigin:!0},origins:{"web-map":{read:!1,write:!1}}}})],t.prototype,"listMode",void 0),(0,n._)([(0,u.c)("listMode")],t.prototype,"writeListMode",null),(0,n._)([(0,o.Cb)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1}}}})],t.prototype,"operationalLayerType",void 0),(0,n._)([(0,u.c)("operationalLayerType")],t.prototype,"writeOperationalLayerType",null),(0,n._)([(0,o.Cb)(f.Oh)],t.prototype,"opacity",void 0),(0,n._)([(0,o.Cb)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],t.prototype,"title",void 0),(0,n._)([(0,u.c)("title")],t.prototype,"writeTitle",null),(0,n._)([(0,o.Cb)({type:Boolean,json:{name:"visibility",origins:{"web-document":{name:"visibility",default:!0},"portal-item":{name:"visibility",read:{source:["visible","visibility"]}}}}})],t.prototype,"visible",void 0),t=(0,n._)([(0,s.j)("esri.layers.mixins.OperationalLayer")],t),t}},72965:(e,t,r)=>{r.d(t,{M:()=>o});var n=r(43697),i=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const o=e=>{let t=class extends e{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get scaleRangeId(){return`${this.minScale},${this.maxScale}`}};return(0,n._)([(0,i.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"minScale",void 0),(0,n._)([(0,i.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"maxScale",void 0),(0,n._)([(0,i.Cb)({readOnly:!0})],t.prototype,"scaleRangeId",null),t=(0,n._)([(0,a.j)("esri.layers.mixins.ScaleRangeLayer")],t),t}},21506:(e,t,r)=>{r.d(t,{qG:()=>b,PV:()=>m,id:()=>S,iR:()=>h,rn:()=>y,u1:()=>I,rO:()=>A,Oh:()=>w,bT:()=>v,C_:()=>f,Lx:()=>g,vg:()=>x,YI:()=>p,HQ:()=>d});var n=r(92835),i=r(6570),a=r(82971),o=r(25929),s=r(70586),u=(r(95330),r(35463)),l=r(20682),c=r(65242);const p={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:!0}},f={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,t)=>!t.disablePopup},write:{enabled:!0,writer(e,t,r){t[r]=!e}}}},h={type:Boolean,value:!0,json:{name:"showLabels",write:!0}},d={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:o.w}}},y={type:Boolean,value:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:!0}},m={value:null,type:l.Z,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:!0}};function g(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const w={type:Number,json:{origins:{"web-document":{write:!0,read:!0},"portal-item":{write:!0}}}},v={...w,json:{...w.json,origins:{"web-document":{...w.json.origins["web-document"],write:{enabled:!0,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,t,r)=>r&&"service"!==r.origin||!t.drawingInfo||void 0===t.drawingInfo.transparency?t.layerDefinition&&t.layerDefinition.drawingInfo&&void 0!==t.layerDefinition.drawingInfo.transparency?(0,c.b)(t.layerDefinition.drawingInfo.transparency):void 0:(0,c.b)(t.drawingInfo.transparency)}}},b={type:n.Z,readOnly:!0,get(){var e,t;if(null==(e=this.layer)||!e.timeInfo)return null;const{datesInUnknownTimezone:r,timeOffset:i,useViewTime:a}=this.layer,o=null==(t=this.view)?void 0:t.timeExtent;let l=this.layer.timeExtent;r&&(l=function(e){if(!e)return e;const{start:t,end:r}=e;return new n.Z({start:(0,s.pC)(t)?(0,u.Nm)(t,t.getTimezoneOffset(),"minutes"):t,end:(0,s.pC)(r)?(0,u.Nm)(r,r.getTimezoneOffset(),"minutes"):r})}(l));let c=a?o&&l?o.intersection(l):o||l:l;if(!c||c.isEmpty||c.isAllTime)return c;i&&(c=c.offset(-i.value,i.unit)),r&&(c=function(e){if(!e)return e;const{start:t,end:r}=e;return new n.Z({start:(0,s.pC)(t)?(0,u.Nm)(t,-t.getTimezoneOffset(),"minutes"):t,end:(0,s.pC)(r)?(0,u.Nm)(r,-r.getTimezoneOffset(),"minutes"):r})}(c));const p=this._get("timeExtent");return c.equals(p)?p:c}},x={type:i.Z,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,t)=>{const r=i.Z.fromJSON(e);return null!=t.spatialReference&&"object"==typeof t.spatialReference&&(r.spatialReference=a.Z.fromJSON(t.spatialReference)),r}}}},read:!1}},S={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},A={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.minScale"},write:{target:"layerDefinition.minScale"}}},I={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.maxScale"},write:{target:"layerDefinition.maxScale"}}}},20682:(e,t,r)=>{r.d(t,{Z:()=>x});var n,i=r(43697),a=r(35454),o=r(10736),s=r(70586),u=r(5600),l=(r(67676),r(80442),r(75215),r(71715)),c=r(52011),p=r(30556),f=r(35671);let h=n=class extends o.wq{async collectRequiredFields(e,t){return(0,f.io)(e,t,this.expression)}clone(){return new n({expression:this.expression,title:this.title})}};(0,i._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"expression",void 0),(0,i._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"title",void 0),h=n=(0,i._)([(0,c.j)("esri.layers.support.FeatureExpressionInfo")],h);const d=h;var y=r(99282);const m=function(){const e=Object.keys(y.a);return e.sort(),e}();var g;const w=(0,a.wY)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),v=new a.Xn({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let b=g=class extends o.wq{constructor(){super(...arguments),this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,r,n){t[r]=e.write({},n),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):(0,s.pC)(e)||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}clone(){return new g({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}};(0,i._)([(0,u.Cb)({type:d,json:{write:!0}})],b.prototype,"featureExpressionInfo",void 0),(0,i._)([(0,l.r)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],b.prototype,"readFeatureExpressionInfo",null),(0,i._)([(0,p.c)("featureExpressionInfo",{featureExpressionInfo:{type:d},"featureExpression.value":{type:[0]}})],b.prototype,"writeFeatureExpressionInfo",null),(0,i._)([(0,u.Cb)({type:w.apiValues,nonNullable:!0,json:{type:w.jsonValues,read:w.read,write:{writer:w.write,isRequired:!0}}})],b.prototype,"mode",null),(0,i._)([(0,u.Cb)({type:Number,json:{write:!0}})],b.prototype,"offset",void 0),(0,i._)([(0,u.Cb)({type:m,json:{type:String,read:v.read,write:v.write}})],b.prototype,"unit",null),b=g=(0,i._)([(0,c.j)("esri.layers.support.ElevationInfo")],b);const x=b}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6968],{10937:(e,t,r)=>{function n(){const e=new Float32Array(16);return e[0]=1,e[5]=1,e[10]=1,e[15]=1,e}r.d(t,{c:()=>n});const i=n();Object.freeze({__proto__:null,create:n,clone:function(e){const t=new Float32Array(16);return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},fromValues:function(e,t,r,n,i,a,o,s,u,l,c,p,f,h,d,y){const m=new Float32Array(16);return m[0]=e,m[1]=t,m[2]=r,m[3]=n,m[4]=i,m[5]=a,m[6]=o,m[7]=s,m[8]=u,m[9]=l,m[10]=c,m[11]=p,m[12]=f,m[13]=h,m[14]=d,m[15]=y,m},createView:function(e,t){return new Float32Array(e,t,16)},IDENTITY:i})},57520:(e,t,r)=>{r.d(t,{ij:()=>$,cW:()=>F});var n=r(20102),i=r(78286),a=r(35270),o=r(62357),s=r(10937),u=r(52138);class l{constructor(e,t,r){this.strength=e,this.radius=t,this.threshold=r,this.type="bloom"}interpolate(e,t,r){this.strength=y(e.strength,t.strength,r),this.radius=y(e.radius,t.radius,r),this.threshold=y(e.threshold,t.threshold,r)}clone(){return new l(this.strength,this.radius,this.threshold)}toJSON(){return{type:"bloom",radius:m(this.radius),strength:this.strength,threshold:this.threshold}}}class c{constructor(e){this.radius=e,this.type="blur"}interpolate(e,t,r){this.radius=Math.round(y(e.radius,t.radius,r))}clone(){return new c(this.radius)}toJSON(){return{type:"blur",radius:m(this.radius)}}}class p{constructor(e,t){this.type=e,this.amount=t,"invert"!==this.type&&"grayscale"!==this.type&&"sepia"!==this.type||(this.amount=Math.min(this.amount,1))}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.amount=y(e.amount,t.amount,r),this._updateMatrix()}clone(){return new p(this.type,this.amount)}toJSON(){return{type:this.type,amount:this.amount}}_updateMatrix(){const e=this._colorMatrix||(0,s.c)();switch(this.type){case"brightness":this._colorMatrix=((e,t)=>{const r=(0,u.s)(e,t,0,0,0,0,t,0,0,0,0,t,0,0,0,0,1);return(0,u.t)(r,r)})(e,this.amount);break;case"contrast":this._colorMatrix=((e,t)=>{const r=(0,u.s)(e,t,0,0,.5-.5*t,0,t,0,.5-.5*t,0,0,t,.5-.5*t,0,0,0,1);return(0,u.t)(r,r)})(e,this.amount);break;case"grayscale":this._colorMatrix=((e,t)=>{const r=1-this.amount,n=(0,u.s)(e,.2126+.7874*r,.7152-.7152*r,.0722-.0722*r,0,.2126-.2126*r,.7152+.2848*r,.0722-.0722*r,0,.2126-.2126*r,.7152-.7152*r,.0722+.9278*r,0,0,0,0,1);return(0,u.t)(n,n)})(e);break;case"invert":this._colorMatrix=((e,t)=>{const r=1-2*t,n=(0,u.s)(e,r,0,0,t,0,r,0,t,0,0,r,t,0,0,0,1);return(0,u.t)(n,n)})(e,this.amount);break;case"saturate":this._colorMatrix=((e,t)=>{const r=(0,u.s)(e,.213+.787*t,.715-.715*t,.072-.072*t,0,.213-.213*t,.715+.285*t,.072-.072*t,0,.213-.213*t,.715-.715*t,.072+.928*t,0,0,0,0,1);return(0,u.t)(r,r)})(e,this.amount);break;case"sepia":this._colorMatrix=((e,t)=>{const r=1-this.amount,n=(0,u.s)(e,.393+.607*r,.769-.769*r,.189-.189*r,0,.349-.349*r,.686+.314*r,.168-.168*r,0,.272-.272*r,.534-.534*r,.131+.869*r,0,0,0,0,1);return(0,u.t)(n,n)})(e)}}}class f{constructor(e,t,r,n){this.offsetX=e,this.offsetY=t,this.blurRadius=r,this.color=n,this.type="drop-shadow"}interpolate(e,t,r){this.offsetX=y(e.offsetX,t.offsetX,r),this.offsetY=y(e.offsetY,t.offsetY,r),this.blurRadius=y(e.blurRadius,t.blurRadius,r),this.color[0]=Math.round(y(e.color[0],t.color[0],r)),this.color[1]=Math.round(y(e.color[1],t.color[1],r)),this.color[2]=Math.round(y(e.color[2],t.color[2],r)),this.color[3]=y(e.color[3],t.color[3],r)}clone(){return new f(this.offsetX,this.offsetY,this.blurRadius,[...this.color])}toJSON(){const e=[...this.color];return e[3]*=255,{type:"drop-shadow",xoffset:m(this.offsetX),yoffset:m(this.offsetY),blurRadius:m(this.blurRadius),color:e}}}class h{constructor(e){this.angle=e,this.type="hue-rotate"}get colorMatrix(){return this._colorMatrix||this._updateMatrix(),this._colorMatrix}interpolate(e,t,r){this.angle=y(e.angle,t.angle,r),this._updateMatrix()}clone(){return new h(this.angle)}toJSON(){return{type:"hue-rotate",angle:this.angle}}_updateMatrix(){const e=this._colorMatrix||(0,s.c)();this._colorMatrix=((e,t)=>{const r=Math.sin(t*Math.PI/180),n=Math.cos(t*Math.PI/180),i=(0,u.s)(e,.213+.787*n-.213*r,.715-.715*n-.715*r,.072-.072*n+.928*r,0,.213-.213*n+.143*r,.715+.285*n+.14*r,.072-.072*n-.283*r,0,.213-.213*n-.787*r,.715-.715*n+.715*r,.072+.928*n+.072*r,0,0,0,0,1);return(0,u.t)(i,i)})(e,this.angle)}}class d{constructor(e){this.amount=e,this.type="opacity",this.amount=Math.min(this.amount,1)}interpolate(e,t,r){this.amount=y(e.amount,t.amount,r)}clone(){return new d(this.amount)}toJSON(){return{type:"opacity",amount:this.amount}}}function y(e,t,r){return e+(t-e)*r}function m(e){return Math.round(1e3*(0,o.Wz)(e))/1e3}function g(e){switch(e.type){case"grayscale":case"sepia":case"invert":return new p(e.type,0);case"saturate":case"brightness":case"contrast":return new p(e.type,1);case"opacity":return new d(1);case"hue-rotate":return new h(0);case"blur":return new c(0);case"drop-shadow":return new f(0,0,0,[...(0,a.h$)("transparent")]);case"bloom":return new l(0,0,1)}}function w(e,t){const r=e.length>t.length?e:t;return(e.length>t.length?t:e).every(((e,t)=>e.type===r[t].type))}function v(e,t){const r=e.length>t.length?e:t,n=e.length>t.length?t:e;for(let e=n.length;e<r.length;e++)n.push(g(r[e]))}r(5732);var b,x,S={exports:{}};function A(e){if(!e||0===e.length)return null;if("string"==typeof e){const t=I(e);return t&&0!==t.length?t:null}const t=e.map((e=>{if(!Number.isFinite(e.scale)||e.scale<=0)throw new n.Z("effect:invalid-scale","scale must be finite and greater than 0",{stop:e});return{scale:e.scale,effects:I(e.value)}}));t.sort(((e,t)=>t.effects.length-e.effects.length));for(let e=0;e<t.length-1;e++){if(!w(t[e].effects,t[e+1].effects))throw new n.Z("effect:interpolation-impossible","Cannot interpolate by scale between 2 lists of mixed effects",{a:t[e].effects,b:t[e+1].effects});v(t[e].effects,t[e+1].effects)}return t.sort(((e,t)=>t.scale-e.scale)),t}function I(e){let t;if(!e)return[];try{t=S.exports.parse(e)}catch(t){throw new n.Z("effect:invalid-syntax","Invalid effect syntax",{value:e,error:t})}return t.map((e=>function(e){try{switch(e.name){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":return function(e){let t=1;return L(e.parameters,1),1===e.parameters.length&&(t=O(e.parameters[0])),new p(e.name,t)}(e);case"opacity":return function(e){let t=1;return L(e.parameters,1),1===e.parameters.length&&(t=O(e.parameters[0])),new d(t)}(e);case"hue-rotate":return function(e){let t=0;return L(e.parameters,1),1===e.parameters.length&&(t=function(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=C[e.unit]))throw new n.Z("effect:type-error",`Expected <angle>, Actual: ${M(e)}`,{term:e})}(e),e.value*C[e.unit]||0}(e.parameters[0])),new h(t)}(e);case"blur":return function(e){let t=0;return L(e.parameters,1),1===e.parameters.length&&(t=T(e.parameters[0]),_(t,e.parameters[0])),new c(t)}(e);case"drop-shadow":return function(e){const t=[];let r=null;for(const i of e.parameters)if("color"===i.type){if(t.length&&Object.freeze(t),r)throw new n.Z("effect:type-error","Accepts only one color",{});r=E(i)}else{const e=T(i);if(Object.isFrozen(t))throw new n.Z("effect:type-error","<length> parameters not consecutive",{lengths:t});t.push(e),3===t.length&&_(e,i)}if(t.length<2||t.length>3)throw new n.Z("effect:type-error",`Expected <length>{2,3}, Actual: <length>{${t.length}}`,{lengths:t});return new f(t[0],t[1],t[2]||0,r||G("black"))}(e);case"bloom":return function(e){let t=1,r=0,n=0;return L(e.parameters,3),e.parameters[0]&&(t=O(e.parameters[0])),e.parameters[1]&&(r=T(e.parameters[1]),_(r,e.parameters[1])),e.parameters[2]&&(n=O(e.parameters[2])),new l(t,r,n)}(e)}}catch(t){throw t.details.filter=e,t}throw new n.Z("effect:unknown-effect",`Effect '${e.name}' is not supported`,{effect:e})}(e)))}function L(e,t){if(e.length>t)throw new n.Z("effect:type-error",`Function supports up to ${t} parameters, Actual: ${e.length}`,{parameters:e})}function M(e){if("color"===e.type)return"<color>";if(e.unit){if(j[e.unit])return"<length>";if(C[e.unit])return"<angle>";if("%"===e.unit)return"<percentage>"}return"<double>"}function _(e,t){if(e<0)throw new n.Z("effect:type-error",`Negative values are not allowed, Actual: ${e}`,{term:t})}x=function(){function e(t,r,n,i){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,e.prototype),a.expected=r,a.found=n,a.location=i,a.name="SyntaxError",a}function t(e,t,r){return r=r||" ",e.length>t?e:(t-=e.length,e+(r+=r.repeat(t)).slice(0,t))}return function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(e,Error),e.prototype.format=function(e){var r="Error: "+this.message;if(this.location){var n,i=null;for(n=0;n<e.length;n++)if(e[n].source===this.location.source){i=e[n].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,o=this.location.source+":"+a.line+":"+a.column;if(i){var s=this.location.end,u=t("",a.line.toString().length),l=i[a.line-1],c=a.line===s.line?s.column:l.length+1;r+="\n --\x3e "+o+"\n"+u+" |\n"+a.line+" | "+l+"\n"+u+" | "+t("",a.column-1)+t("",c-a.column,"^")}else r+="\n at "+o}return r},e.buildMessage=function(e,t){var r={literal:function(e){return'"'+i(e.text)+'"'},class:function(e){var t=e.parts.map((function(e){return Array.isArray(e)?a(e[0])+"-"+a(e[1]):a(e)}));return"["+(e.inverted?"^":"")+t+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(e){return e.description}};function n(e){return e.charCodeAt(0).toString(16).toUpperCase()}function i(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function a(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+n(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+n(e)}))}function o(e){return r[e.type](e)}return"Expected "+function(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+function(e){return e?'"'+i(e)+'"':"end of input"}(t)+" found."},{SyntaxError:e,parse:function(t,r){var n,i={},a=(r=void 0!==r?r:{}).grammarSource,o={start:se},s=se,u="none",l="grad",c="turn",p=/^[ \t\n\r]/,f=/^[a-z\-]/,h=/^[0-9a-fA-F]/,d=/^[+\-]/,y=/^[0-9]/,m=ne("none"),g=te("none",!1),w=te(")",!1),v=te(",",!1),b=ne("whitespace"),x=re([" ","\t","\n","\r"],!1,!1),S=ne("function"),A=te("(",!1),I=ne("identifier"),L=re([["a","z"],"-"],!1,!1),M=ne("percentage"),_=te("%",!1),C=ne("length"),j=te("px",!1),O=te("cm",!1),T=te("mm",!1),E=te("in",!1),G=te("pt",!1),N=te("pc",!1),R=ne("angle"),$=te("deg",!1),F=te("rad",!1),Z=te("grad",!1),k=te("turn",!1),B=ne("number"),q=ne("color"),V=te("#",!1),D=re([["0","9"],["a","f"],["A","F"]],!1,!1),W=re(["+","-"],!1,!1),z=re([["0","9"]],!1,!1),J=te(".",!1),P=te("e",!1),Y=0,X=0,H=[{line:1,column:1}],U=0,K=[],Q=0;if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=o[r.startRule]}function ee(){return t.substring(X,Y)}function te(e,t){return{type:"literal",text:e,ignoreCase:t}}function re(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function ne(e){return{type:"other",description:e}}function ie(e){var r,n=H[e];if(n)return n;for(r=e-1;!H[r];)r--;for(n={line:(n=H[r]).line,column:n.column};r<e;)10===t.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return H[e]=n,n}function ae(e,t){var r=ie(e),n=ie(t);return{source:a,start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function oe(e){Y<U||(Y>U&&(U=Y,K=[]),K.push(e))}function se(){var e;return(e=ue())===i&&(e=function(){var e,t;if(e=[],(t=le())!==i)for(;t!==i;)e.push(t),t=le();else e=i;return e}()),e}function ue(){var e,r;return Q++,e=Y,pe(),t.substr(Y,4)===u?(r=u,Y+=4):(r=i,0===Q&&oe(g)),r!==i?(pe(),X=e,e=[]):(Y=e,e=i),Q--,e===i&&0===Q&&oe(m),e}function le(){var e,r,n,a;return e=Y,pe(),(r=function(){var e,r,n;return Q++,e=Y,(r=fe())!==i?(40===t.charCodeAt(Y)?(n="(",Y++):(n=i,0===Q&&oe(A)),n!==i?(X=e,e=r):(Y=e,e=i)):(Y=e,e=i),Q--,e===i&&(r=i,0===Q&&oe(S)),e}())!==i?(pe(),(n=function(){var e,r,n,a,o,s,u,l;if(e=Y,(r=ce())!==i){for(n=[],a=Y,o=pe(),44===t.charCodeAt(Y)?(s=",",Y++):(s=i,0===Q&&oe(v)),s===i&&(s=null),u=pe(),(l=ce())!==i?a=o=[o,s,u,l]:(Y=a,a=i);a!==i;)n.push(a),a=Y,o=pe(),44===t.charCodeAt(Y)?(s=",",Y++):(s=i,0===Q&&oe(v)),s===i&&(s=null),u=pe(),(l=ce())!==i?a=o=[o,s,u,l]:(Y=a,a=i);X=e,e=function(e,t){return t.length>0?function(e,t,r){return[e].concat(function(e,t){return e.map((function(e){return e[3]}))}(t))}(e,t):[e]}(r,n)}else Y=e,e=i;return e}())===i&&(n=null),pe(),41===t.charCodeAt(Y)?(a=")",Y++):(a=i,0===Q&&oe(w)),a!==i?(pe(),X=e,e=function(e,t){return{type:"function",name:e,parameters:t||[]}}(r,n)):(Y=e,e=i)):(Y=e,e=i),e}function ce(){var e,t;return e=Y,(t=he())===i&&(t=de())===i&&(t=ye())===i&&(t=function(){var e,t;return Q++,e=Y,pe(),(t=ge())!==i?(X=e,e=function(e){return{value:e,unit:null}}(t)):(Y=e,e=i),Q--,e===i&&0===Q&&oe(B),e}()),t!==i&&(X=e,t=function(e){return{type:"quantity",value:e.value,unit:e.unit}}(t)),(e=t)===i&&(e=Y,(t=me())!==i&&(X=e,t=function(e){return{type:"color",colorType:e.type,value:e.value}}(t)),e=t),e}function pe(){var e,r;for(Q++,e=[],p.test(t.charAt(Y))?(r=t.charAt(Y),Y++):(r=i,0===Q&&oe(x));r!==i;)e.push(r),p.test(t.charAt(Y))?(r=t.charAt(Y),Y++):(r=i,0===Q&&oe(x));return Q--,r=i,0===Q&&oe(b),e}function fe(){var e,r,n;if(Q++,e=Y,r=[],f.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(L)),n!==i)for(;n!==i;)r.push(n),f.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(L));else r=i;return r!==i&&(X=e,r=ee()),Q--,(e=r)===i&&(r=i,0===Q&&oe(I)),e}function he(){var e,r,n;return Q++,e=Y,pe(),(r=ge())!==i?(37===t.charCodeAt(Y)?(n="%",Y++):(n=i,0===Q&&oe(_)),n!==i?(X=e,e=function(e){return{value:e,unit:"%"}}(r)):(Y=e,e=i)):(Y=e,e=i),Q--,e===i&&0===Q&&oe(M),e}function de(){var e,r,n;return Q++,e=Y,pe(),(r=ge())!==i?("px"===t.substr(Y,2)?(n="px",Y+=2):(n=i,0===Q&&oe(j)),n!==i?(X=e,e=function(e){return{value:e,unit:"px"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("cm"===t.substr(Y,2)?(n="cm",Y+=2):(n=i,0===Q&&oe(O)),n!==i?(X=e,e=function(e){return{value:e,unit:"cm"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("mm"===t.substr(Y,2)?(n="mm",Y+=2):(n=i,0===Q&&oe(T)),n!==i?(X=e,e=function(e){return{value:e,unit:"mm"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("in"===t.substr(Y,2)?(n="in",Y+=2):(n=i,0===Q&&oe(E)),n!==i?(X=e,e=function(e){return{value:e,unit:"in"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("pt"===t.substr(Y,2)?(n="pt",Y+=2):(n=i,0===Q&&oe(G)),n!==i?(X=e,e=function(e){return{value:e,unit:"pt"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,pe(),(r=ge())!==i?("pc"===t.substr(Y,2)?(n="pc",Y+=2):(n=i,0===Q&&oe(N)),n!==i?(X=e,e=function(e){return{value:e,unit:"pc"}}(r)):(Y=e,e=i)):(Y=e,e=i)))))),Q--,e===i&&0===Q&&oe(C),e}function ye(){var e,r,n;return Q++,e=Y,(r=ge())!==i?("deg"===t.substr(Y,3)?(n="deg",Y+=3):(n=i,0===Q&&oe($)),n!==i?(X=e,e=function(e){return{value:e,unit:"deg"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,(r=ge())!==i?("rad"===t.substr(Y,3)?(n="rad",Y+=3):(n=i,0===Q&&oe(F)),n!==i?(X=e,e=function(e){return{value:e,unit:"rad"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,(r=ge())!==i?(t.substr(Y,4)===l?(n=l,Y+=4):(n=i,0===Q&&oe(Z)),n!==i?(X=e,e=function(e){return{value:e,unit:"grad"}}(r)):(Y=e,e=i)):(Y=e,e=i),e===i&&(e=Y,(r=ge())!==i?(t.substr(Y,4)===c?(n=c,Y+=4):(n=i,0===Q&&oe(k)),n!==i?(X=e,e=function(e){return{value:e,unit:"turn"}}(r)):(Y=e,e=i)):(Y=e,e=i)))),Q--,e===i&&(r=i,0===Q&&oe(R)),e}function me(){var e,r,n,a;if(Q++,e=Y,35===t.charCodeAt(Y)?(r="#",Y++):(r=i,0===Q&&oe(V)),r!==i){if(n=[],h.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(D)),a!==i)for(;a!==i;)n.push(a),h.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(D));else n=i;n!==i?(X=e,e={type:"hex",value:ee()}):(Y=e,e=i)}else Y=e,e=i;return e===i&&(e=Y,(r=le())!==i&&(X=e,r=function(e){return{type:"function",value:e}}(r)),(e=r)===i&&(e=Y,(r=fe())!==i&&(X=e,r={type:"named",value:ee()}),e=r)),Q--,e===i&&(r=i,0===Q&&oe(q)),e}function ge(){var e,r,n,a,o,s,u;for(e=Y,d.test(t.charAt(Y))?(t.charAt(Y),Y++):0===Q&&oe(W),r=Y,n=[],y.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(z));a!==i;)n.push(a),y.test(t.charAt(Y))?(a=t.charAt(Y),Y++):(a=i,0===Q&&oe(z));if(46===t.charCodeAt(Y)?(a=".",Y++):(a=i,0===Q&&oe(J)),a!==i){if(o=[],y.test(t.charAt(Y))?(s=t.charAt(Y),Y++):(s=i,0===Q&&oe(z)),s!==i)for(;s!==i;)o.push(s),y.test(t.charAt(Y))?(s=t.charAt(Y),Y++):(s=i,0===Q&&oe(z));else o=i;o!==i?r=n=[n,a,o]:(Y=r,r=i)}else Y=r,r=i;if(r===i)if(r=[],y.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(z)),n!==i)for(;n!==i;)r.push(n),y.test(t.charAt(Y))?(n=t.charAt(Y),Y++):(n=i,0===Q&&oe(z));else r=i;if(r!==i){if(n=Y,101===t.charCodeAt(Y)?(a="e",Y++):(a=i,0===Q&&oe(P)),a!==i){if(d.test(t.charAt(Y))?(o=t.charAt(Y),Y++):(o=i,0===Q&&oe(W)),o===i&&(o=null),s=[],y.test(t.charAt(Y))?(u=t.charAt(Y),Y++):(u=i,0===Q&&oe(z)),u!==i)for(;u!==i;)s.push(u),y.test(t.charAt(Y))?(u=t.charAt(Y),Y++):(u=i,0===Q&&oe(z));else s=i;s!==i?n=a=[a,o,s]:(Y=n,n=i)}else Y=n,n=i;n===i&&(n=null),X=e,e=parseFloat(ee())}else Y=e,e=i;return e}if((n=s())!==i&&Y===t.length)return n;throw n!==i&&Y<t.length&&oe({type:"end"}),function(t,r,n){return new e(e.buildMessage(t,r),t,r,n)}(K,U<t.length?t.charAt(U):null,U<t.length?ae(U,U+1):ae(U,U))}}},(b=S).exports&&(b.exports=x());const C={deg:1,grad:.9,rad:180/Math.PI,turn:360},j={px:1,cm:96/2.54,mm:96/2.54/10,in:96,pc:16,pt:96/72};function O(e){!function(e){if("quantity"!==e.type||null!==e.unit&&"%"!==e.unit)throw new n.Z("effect:type-error",`Expected <double> or <percentage>, Actual: ${M(e)}`,{term:e})}(e);const t=e.value;return _(t,e),"%"===e.unit?.01*t:t}function T(e){return function(e){if("quantity"!==e.type||!(0===e.value&&null===e.unit||e.unit&&null!=j[e.unit]))throw new n.Z("effect:type-error",`Expected <length>, Actual: ${M(e)}`,{term:e})}(e),e.value*j[e.unit]||0}function E(e){switch(e.colorType){case"hex":return(0,a.rW)(e.value);case"named":return G(e.value);case"function":return function(e){if(L(e.parameters,4),N.test(e.name))return[O(e.parameters[0]),O(e.parameters[1]),O(e.parameters[2]),e.parameters[3]?O(e.parameters[3]):1];if(R.test(e.name))return(0,a.B7)(function(e){return function(e){if("quantity"!==e.type||null!==e.unit)throw new n.Z("effect:type-error",`Expected <double>, Actual: ${M(e)}`,{term:e})}(e),_(e.value,e),e.value}(e.parameters[0]),O(e.parameters[1]),O(e.parameters[2]),e.parameters[3]?O(e.parameters[3]):1);throw new n.Z("effect:syntax-error",`Invalid color function '${e.name}'`,{colorFunction:e})}(e.value)}}function G(e){if(!(0,a.St)(e))throw new n.Z("effect:unknown-color",`color '${e}' isn't valid`,{namedColor:e});return(0,a.VL)(e)}const N=/^rgba?/i,R=/^hsla?/i;function $(e,t,r){try{return function(e){if(!e||0===e.length)return null;if(function(e){const t=e[0];return!!t&&"scale"in t}(e)){const t=[];for(const r of e)t.push({scale:r.scale,value:Z(r.value)});return t}return Z(e)}(e)}catch(e){var n;null==r||null==(n=r.messages)||n.push(e)}return null}function F(e,t,r,n){try{const n=function(e){const t=A(e);return t?function(e){const t=e[0];return!!t&&"type"in t}(t)?t.map((e=>e.toJSON())):t.map((({scale:e,effects:t})=>({scale:e,value:t.map((e=>e.toJSON()))}))):null}(e);(0,i.RB)(r,n,t)}catch(e){n.messages&&n.messages.push(e)}}function Z(e){if(!e||!e.length)return"";const t=[];for(const r of e){let e=[];switch(r.type){case"grayscale":case"sepia":case"saturate":case"invert":case"brightness":case"contrast":case"opacity":e=[k(r,"amount")];break;case"blur":e=[k(r,"radius","pt")];break;case"hue-rotate":e=[k(r,"angle","deg")];break;case"drop-shadow":e=[k(r,"xoffset","pt"),k(r,"yoffset","pt"),k(r,"blurRadius","pt"),B(r,"color")];break;case"bloom":e=[k(r,"strength"),k(r,"radius","pt"),k(r,"threshold")]}const n=`${r.type}(${e.filter(Boolean).join(" ")})`;A(n),t.push(n)}return t.join(" ")}function k(e,t,r){if(null==e[t])throw new n.Z("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});return r?e[t]+r:""+e[t]}function B(e,t){if(null==e[t])throw new n.Z("effect:missing-parameter",`Missing parameter '${t}' in ${e.type} effect`,{effect:e});const r=e[t];return`rgba(${r[0]||0}, ${r[1]||0}, ${r[2]||0}, ${r[3]/255||0})`}},71612:(e,t,r)=>{r.d(t,{h:()=>s});var n=r(43697),i=r(5600),a=(r(67676),r(80442),r(75215),r(52011)),o=r(57520);const s=e=>{let t=class extends e{constructor(){super(...arguments),this.blendMode="normal",this.effect=null}};return(0,n._)([(0,i.Cb)({type:["average","color-burn","color-dodge","color","darken","destination-atop","destination-in","destination-out","destination-over","difference","exclusion","hard-light","hue","invert","lighten","lighter","luminosity","minus","multiply","normal","overlay","plus","reflect","saturation","screen","soft-light","source-atop","source-in","source-out","vivid-light","xor"],nonNullable:!0,json:{read:!1,write:!1,origins:{"web-map":{read:!0,write:!0}}}})],t.prototype,"blendMode",void 0),(0,n._)([(0,i.Cb)({json:{read:!1,write:!1,origins:{"web-map":{read:{reader:o.ij},write:{allowNull:!0,writer:o.cW}}}}})],t.prototype,"effect",void 0),t=(0,n._)([(0,a.j)("esri.layers.mixins.BlendLayer")],t),t}},38009:(e,t,r)=>{r.d(t,{q:()=>h});var n=r(43697),i=r(20102),a=r(17452),o=r(5600),s=(r(67676),r(80442),r(75215),r(52011)),u=r(30556),l=r(50549),c=r(76169);const p={"web-scene/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISMapServiceLayer:!0,ArcGISSceneServiceLayer:!0,ArcGISTiledElevationServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BuildingSceneLayer:!0,GroupLayer:!0,IntegratedMeshLayer:!0,OGCFeatureLayer:!0,PointCloudLayer:!0,WebTiledLayer:!0,CSV:!0,GeoJSON:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,KML:!0,RasterDataLayer:!0,Voxel:!0},"web-scene/basemap":{ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,WebTiledLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,ArcGISImageServiceLayer:!0,WMS:!0,ArcGISMapServiceLayer:!0},"web-scene/ground":{ArcGISTiledElevationServiceLayer:!0,RasterDataElevationLayer:!0},"web-map/operational-layers":{ArcGISFeatureLayer:!0,ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISStreamLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,BingMapsAerial:!0,BingMapsHybrid:!0,BingMapsRoad:!0,CSV:!0,GeoRSS:!0,GeoJSON:!0,GroupLayer:!0,KML:!0,OGCFeatureLayer:!0,SubtypeGroupLayer:!0,VectorTileLayer:!0,WFS:!0,WMS:!0,WebTiledLayer:!0},"web-map/basemap":{ArcGISImageServiceLayer:!0,ArcGISImageServiceVectorLayer:!0,ArcGISMapServiceLayer:!0,ArcGISTiledImageServiceLayer:!0,ArcGISTiledMapServiceLayer:!0,OpenStreetMap:!0,VectorTileLayer:!0,WMS:!0,WebTiledLayer:!0,BingMapsAerial:!0,BingMapsRoad:!0,BingMapsHybrid:!0},"web-map/tables":{ArcGISFeatureLayer:!0},"portal-item/operational-layers":{ArcGISSceneServiceLayer:!0,PointCloudLayer:!0,BuildingSceneLayer:!0,IntegratedMeshLayer:!0}};var f=r(21506);const h=e=>{let t=class extends e{constructor(){super(...arguments),this.title=null}writeListMode(e,t,r,n){(n&&"ground"===n.layerContainerType||e&&(0,c.df)(this,r,{},n))&&(t[r]=e)}writeOperationalLayerType(e,t,r,n){!e||n&&"tables"===n.layerContainerType||(t.layerType=e)}writeTitle(e,t){t.title=e||"Layer"}read(e,t){t&&(t.layer=this),(0,l.$Z)(this,e,(t=>super.read(e,t)),t)}write(e,t){if(null!=t&&t.origin){const e=`${t.origin}/${t.layerContainerType||"operational-layers"}`,n=p[e];let a=n&&n[this.operationalLayerType];var r;if("ArcGISTiledElevationServiceLayer"===this.operationalLayerType&&"web-scene/operational-layers"===e&&(a=!1),!a)return null==(r=t.messages)||r.push(new i.Z("layer:unsupported",`Layers (${this.title}, ${this.id}) of type '${this.declaredClass}' are not supported in the context of '${e}'`,{layer:this})),null}const n=super.write(e,{...t,layer:this}),o=!!t&&!!t.messages&&!!t.messages.filter((e=>e instanceof i.Z&&"web-document-write:property-required"===e.name)).length;var s;return(0,a.jc)(null==n?void 0:n.url)?(null==t||null==(s=t.messages)||s.push(new i.Z("layer:invalid-url",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' using a Blob URL cannot be written to web scenes and web maps`,{layer:this})),null):!this.url&&o?null:n}beforeSave(){}};return(0,n._)([(0,o.Cb)({type:String,json:{write:{ignoreOrigin:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0}},"portal-item":{write:!1}}}})],t.prototype,"id",void 0),(0,n._)([(0,o.Cb)({json:{write:{ignoreOrigin:!0},origins:{"web-map":{read:!1,write:!1}}}})],t.prototype,"listMode",void 0),(0,n._)([(0,u.c)("listMode")],t.prototype,"writeListMode",null),(0,n._)([(0,o.Cb)({type:String,readOnly:!0,json:{read:!1,write:{target:"layerType",ignoreOrigin:!0},origins:{"portal-item":{write:!1}}}})],t.prototype,"operationalLayerType",void 0),(0,n._)([(0,u.c)("operationalLayerType")],t.prototype,"writeOperationalLayerType",null),(0,n._)([(0,o.Cb)(f.Oh)],t.prototype,"opacity",void 0),(0,n._)([(0,o.Cb)({type:String,json:{write:{ignoreOrigin:!0,writerEnsuresNonNull:!0},origins:{"web-scene":{write:{isRequired:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}},"portal-item":{write:!1}}},value:"Layer"})],t.prototype,"title",void 0),(0,n._)([(0,u.c)("title")],t.prototype,"writeTitle",null),(0,n._)([(0,o.Cb)({type:Boolean,json:{name:"visibility",origins:{"web-document":{name:"visibility",default:!0},"portal-item":{name:"visibility",read:{source:["visible","visibility"]}}}}})],t.prototype,"visible",void 0),t=(0,n._)([(0,s.j)("esri.layers.mixins.OperationalLayer")],t),t}},72965:(e,t,r)=>{r.d(t,{M:()=>o});var n=r(43697),i=r(5600),a=(r(67676),r(80442),r(75215),r(52011));const o=e=>{let t=class extends e{constructor(){super(...arguments),this.minScale=0,this.maxScale=0}get scaleRangeId(){return`${this.minScale},${this.maxScale}`}};return(0,n._)([(0,i.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"minScale",void 0),(0,n._)([(0,i.Cb)({type:Number,nonNullable:!0,json:{write:!0}})],t.prototype,"maxScale",void 0),(0,n._)([(0,i.Cb)({readOnly:!0})],t.prototype,"scaleRangeId",null),t=(0,n._)([(0,a.j)("esri.layers.mixins.ScaleRangeLayer")],t),t}},21506:(e,t,r)=>{r.d(t,{qG:()=>b,PV:()=>m,id:()=>S,iR:()=>h,rn:()=>y,u1:()=>I,rO:()=>A,Oh:()=>w,bT:()=>v,C_:()=>f,Lx:()=>g,vg:()=>x,YI:()=>p,HQ:()=>d});var n=r(92835),i=r(6570),a=r(82971),o=r(25929),s=r(70586),u=(r(95330),r(35463)),l=r(20682),c=r(65242);const p={type:Boolean,value:!0,json:{origins:{service:{read:!1,write:!1},"web-map":{read:!1,write:!1}},name:"screenSizePerspective",write:!0}},f={type:Boolean,value:!0,json:{name:"disablePopup",read:{reader:(e,t)=>!t.disablePopup},write:{enabled:!0,writer(e,t,r){t[r]=!e}}}},h={type:Boolean,value:!0,json:{name:"showLabels",write:!0}},d={type:String,json:{origins:{"portal-item":{write:!1}},write:{isRequired:!0,ignoreOrigin:!0,writer:o.w}}},y={type:Boolean,value:!0,json:{origins:{service:{read:{enabled:!1}}},name:"showLegend",write:!0}},m={value:null,type:l.Z,json:{origins:{service:{name:"elevationInfo",write:!0}},name:"layerDefinition.elevationInfo",write:!0}};function g(e){return{type:e,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}}}const w={type:Number,json:{origins:{"web-document":{write:!0,read:!0},"portal-item":{write:!0}}}},v={...w,json:{...w.json,origins:{"web-document":{...w.json.origins["web-document"],write:{enabled:!0,target:{opacity:{type:Number},"layerDefinition.drawingInfo.transparency":{type:Number}}}}},read:{source:["layerDefinition.drawingInfo.transparency","drawingInfo.transparency"],reader:(e,t,r)=>r&&"service"!==r.origin||!t.drawingInfo||void 0===t.drawingInfo.transparency?t.layerDefinition&&t.layerDefinition.drawingInfo&&void 0!==t.layerDefinition.drawingInfo.transparency?(0,c.b)(t.layerDefinition.drawingInfo.transparency):void 0:(0,c.b)(t.drawingInfo.transparency)}}},b={type:n.Z,readOnly:!0,get(){var e,t;if(null==(e=this.layer)||!e.timeInfo)return null;const{datesInUnknownTimezone:r,timeOffset:i,useViewTime:a}=this.layer,o=null==(t=this.view)?void 0:t.timeExtent;let l=this.layer.timeExtent;r&&(l=function(e){if(!e)return e;const{start:t,end:r}=e;return new n.Z({start:(0,s.pC)(t)?(0,u.Nm)(t,t.getTimezoneOffset(),"minutes"):t,end:(0,s.pC)(r)?(0,u.Nm)(r,r.getTimezoneOffset(),"minutes"):r})}(l));let c=a?o&&l?o.intersection(l):o||l:l;if(!c||c.isEmpty||c.isAllTime)return c;i&&(c=c.offset(-i.value,i.unit)),r&&(c=function(e){if(!e)return e;const{start:t,end:r}=e;return new n.Z({start:(0,s.pC)(t)?(0,u.Nm)(t,-t.getTimezoneOffset(),"minutes"):t,end:(0,s.pC)(r)?(0,u.Nm)(r,-r.getTimezoneOffset(),"minutes"):r})}(c));const p=this._get("timeExtent");return c.equals(p)?p:c}},x={type:i.Z,readOnly:!0,json:{origins:{service:{read:{source:["fullExtent","spatialReference"],reader:(e,t)=>{const r=i.Z.fromJSON(e);return null!=t.spatialReference&&"object"==typeof t.spatialReference&&(r.spatialReference=a.Z.fromJSON(t.spatialReference)),r}}}},read:!1}},S={type:String,json:{origins:{service:{read:!1},"portal-item":{read:!1}}}},A={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.minScale"},write:{target:"layerDefinition.minScale"}}},I={type:Number,json:{origins:{service:{write:{enabled:!1}}},read:{source:"layerDefinition.maxScale"},write:{target:"layerDefinition.maxScale"}}}},20682:(e,t,r)=>{r.d(t,{Z:()=>x});var n,i=r(43697),a=r(35454),o=r(10736),s=r(70586),u=r(5600),l=(r(67676),r(80442),r(75215),r(71715)),c=r(52011),p=r(30556),f=r(35671);let h=n=class extends o.wq{async collectRequiredFields(e,t){return(0,f.io)(e,t,this.expression)}clone(){return new n({expression:this.expression,title:this.title})}};(0,i._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"expression",void 0),(0,i._)([(0,u.Cb)({type:String,json:{write:!0}})],h.prototype,"title",void 0),h=n=(0,i._)([(0,c.j)("esri.layers.support.FeatureExpressionInfo")],h);const d=h;var y=r(99282);const m=function(){const e=Object.keys(y.a);return e.sort(),e}();var g;const w=(0,a.wY)()({onTheGround:"on-the-ground",relativeToGround:"relative-to-ground",relativeToScene:"relative-to-scene",absoluteHeight:"absolute-height"}),v=new a.Xn({foot:"feet",kilometer:"kilometers",meter:"meters",mile:"miles","us-foot":"us-feet",yard:"yards"});let b=g=class extends o.wq{constructor(){super(...arguments),this.offset=null}readFeatureExpressionInfo(e,t){return null!=e?e:t.featureExpression&&0===t.featureExpression.value?{expression:"0"}:void 0}writeFeatureExpressionInfo(e,t,r,n){t[r]=e.write({},n),"0"===e.expression&&(t.featureExpression={value:0})}get mode(){const{offset:e,featureExpressionInfo:t}=this;return this._isOverridden("mode")?this._get("mode"):(0,s.pC)(e)||t?"relative-to-ground":"on-the-ground"}set mode(e){this._override("mode",e)}set unit(e){this._set("unit",e)}write(e,t){return this.offset||this.mode||this.featureExpressionInfo||this.unit?super.write(e,t):null}clone(){return new g({mode:this.mode,offset:this.offset,featureExpressionInfo:this.featureExpressionInfo?this.featureExpressionInfo.clone():void 0,unit:this.unit})}};(0,i._)([(0,u.Cb)({type:d,json:{write:!0}})],b.prototype,"featureExpressionInfo",void 0),(0,i._)([(0,l.r)("featureExpressionInfo",["featureExpressionInfo","featureExpression"])],b.prototype,"readFeatureExpressionInfo",null),(0,i._)([(0,p.c)("featureExpressionInfo",{featureExpressionInfo:{type:d},"featureExpression.value":{type:[0]}})],b.prototype,"writeFeatureExpressionInfo",null),(0,i._)([(0,u.Cb)({type:w.apiValues,nonNullable:!0,json:{type:w.jsonValues,read:w.read,write:{writer:w.write,isRequired:!0}}})],b.prototype,"mode",null),(0,i._)([(0,u.Cb)({type:Number,json:{write:!0}})],b.prototype,"offset",void 0),(0,i._)([(0,u.Cb)({type:m,json:{type:String,read:v.read,write:v.write}})],b.prototype,"unit",null),b=g=(0,i._)([(0,c.j)("esri.layers.support.ElevationInfo")],b);const x=b}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6570],{71715:(e,t,r)=>{r.d(t,{r:()=>o});var i=r(5600);function o(e,t,r){let o,n;return void 0===t||Array.isArray(t)?(n=e,r=t,o=[void 0]):(n=t,o=Array.isArray(e)?e:[e]),(e,t)=>{const s=e.constructor.prototype;o.forEach((o=>{const a=(0,i.CJ)(e,o,n);a.read&&"object"==typeof a.read||(a.read={}),a.read.reader=s[t],r&&(a.read.source=(a.read.source||[]).concat(r))}))}}},30556:(e,t,r)=>{r.d(t,{c:()=>o});var i=r(5600);function o(e,t,r){let o,n;return void 0===t?(n=e,o=[void 0]):"string"!=typeof t?(n=e,o=[void 0],r=t):(n=t,o=Array.isArray(e)?e:[e]),(e,t)=>{const s=e.constructor.prototype;for(const a of o){const o=(0,i.CJ)(e,a,n);o.write&&"object"==typeof o.write||(o.write={}),r&&(o.write.target=r),o.write.writer=s[t]}}}},6570:(e,t,r)=>{r.d(t,{Z:()=>_});var i,o=r(43697),n=r(70586),s=r(19153),a=r(5600),f=(r(67676),r(80442),r(75215),r(52011)),l=r(9361),h=r(13473),m=r(82971),u=r(54102),c=r(87416),x=r(8744),d=r(40488);function p(e,t,r){return null==t?r:null==r?t:e(t,r)}let y=i=class extends l.Z{constructor(...e){super(...e),this.type="extent",this.xmin=0,this.ymin=0,this.mmin=void 0,this.zmin=void 0,this.xmax=0,this.ymax=0,this.mmax=void 0,this.zmax=void 0}normalizeCtorArgs(e,t,r,i,o){return function(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}(e)?{spatialReference:e,xmin:0,ymin:0,xmax:0,ymax:0}:"object"==typeof e?(e.spatialReference=null==e.spatialReference?m.Z.WGS84:e.spatialReference,e):{xmin:e,ymin:t,xmax:r,ymax:i,spatialReference:null==o?m.Z.WGS84:o}}static fromBounds(e,t){return new i({xmin:e[0],ymin:e[1],xmax:e[2],ymax:e[3],spatialReference:t})}static fromPoint(e){return new i({xmin:e.x,ymin:e.y,zmin:e.z,xmax:e.x,ymax:e.y,zmax:e.z,spatialReference:e.spatialReference})}get cache(){return this.commitProperty("xmin"),this.commitProperty("ymin"),this.commitProperty("zmin"),this.commitProperty("mmin"),this.commitProperty("xmax"),this.commitProperty("ymax"),this.commitProperty("zmax"),this.commitProperty("mmax"),this.commitProperty("spatialReference"),{}}get center(){const e=new h.Z({x:.5*(this.xmin+this.xmax),y:.5*(this.ymin+this.ymax),spatialReference:this.spatialReference});return this.hasZ&&(e.z=.5*(this.zmin+this.zmax)),this.hasM&&(e.m=.5*(this.mmin+this.mmax)),e}get extent(){return this.clone()}get hasM(){return null!=this.mmin&&null!=this.mmax}get hasZ(){return null!=this.zmin&&null!=this.zmax}get height(){return Math.abs(this.ymax-this.ymin)}get width(){return Math.abs(this.xmax-this.xmin)}centerAt(e){const t=this.center;return null!=e.z&&this.hasZ?this.offset(e.x-t.x,e.y-t.y,e.z-t.z):this.offset(e.x-t.x,e.y-t.y)}clone(){const e=new i;return e.xmin=this.xmin,e.ymin=this.ymin,e.xmax=this.xmax,e.ymax=this.ymax,e.spatialReference=this.spatialReference,null!=this.zmin&&(e.zmin=this.zmin,e.zmax=this.zmax),null!=this.mmin&&(e.mmin=this.mmin,e.mmax=this.mmax),e}contains(e){if(!e)return!1;const t=this.spatialReference,r=e.spatialReference;return t&&r&&!t.equals(r)&&(0,d.Q8)(t,r)&&(e=t.isWebMercator?(0,d.$)(e):(0,d.Sx)(e,!0)),"point"===e.type?(0,u.aV)(this,e):"extent"===e.type&&(0,u.uP)(this,e)}equals(e){if(this===e)return!0;if((0,n.Wi)(e))return!1;const t=this.spatialReference,r=e.spatialReference;return t&&r&&!t.equals(r)&&(0,d.Q8)(t,r)&&(e=t.isWebMercator?(0,d.$)(e):(0,d.Sx)(e,!0)),this.xmin===e.xmin&&this.ymin===e.ymin&&this.zmin===e.zmin&&this.mmin===e.mmin&&this.xmax===e.xmax&&this.ymax===e.ymax&&this.zmax===e.zmax&&this.mmax===e.mmax}expand(e){const t=.5*(1-e),r=this.width*t,i=this.height*t;if(this.xmin+=r,this.ymin+=i,this.xmax-=r,this.ymax-=i,this.hasZ){const e=(this.zmax-this.zmin)*t;this.zmin+=e,this.zmax-=e}if(this.hasM){const e=(this.mmax-this.mmin)*t;this.mmin+=e,this.mmax-=e}return this}intersects(e){if((0,n.Wi)(e))return!1;"mesh"===e.type&&(e=e.extent);const t=this.spatialReference,r=e.spatialReference;return t&&r&&!t.equals(r)&&(0,d.Q8)(t,r)&&(e=t.isWebMercator?(0,d.$)(e):(0,d.Sx)(e,!0)),(0,c.IY)(e.type)(this,e)}normalize(){const e=this._normalize(!1,!0);return Array.isArray(e)?e:[e]}offset(e,t,r){return this.xmin+=e,this.ymin+=t,this.xmax+=e,this.ymax+=t,null!=r&&(this.zmin+=r,this.zmax+=r),this}shiftCentralMeridian(){return this._normalize(!0)}union(e){return this===e||(this.xmin=Math.min(this.xmin,e.xmin),this.ymin=Math.min(this.ymin,e.ymin),this.xmax=Math.max(this.xmax,e.xmax),this.ymax=Math.max(this.ymax,e.ymax),(this.hasZ||e.hasZ)&&(this.zmin=p(Math.min,this.zmin,e.zmin),this.zmax=p(Math.max,this.zmax,e.zmax)),(this.hasM||e.hasM)&&(this.mmin=p(Math.min,this.mmin,e.mmin),this.mmax=p(Math.max,this.mmax,e.mmax))),this}intersection(e){return this===e?this:(0,n.Wi)(e)||!this.intersects(e)?null:(this.xmin=Math.max(this.xmin,e.xmin),this.ymin=Math.max(this.ymin,e.ymin),this.xmax=Math.min(this.xmax,e.xmax),this.ymax=Math.min(this.ymax,e.ymax),(this.hasZ||e.hasZ)&&(this.zmin=p(Math.max,this.zmin,e.zmin),this.zmax=p(Math.min,this.zmax,e.zmax)),(this.hasM||e.hasM)&&(this.mmin=p(Math.max,this.mmin,e.mmin),this.mmax=p(Math.min,this.mmax,e.mmax)),this)}toJSON(e){return this.write({},e)}_shiftCM(e=(0,x.C5)(this.spatialReference)){if(!e||!this.spatialReference)return this;const t=this.spatialReference,r=this._getCM(e);if(r){const i=t.isWebMercator?(0,d.Sx)(r):r;this.xmin-=r.x,this.xmax-=r.x,t.isWebMercator||(i.x=this._normalizeX(i.x,e).x),this.spatialReference=new m.Z((0,s.gx)(t.isWGS84?e.altTemplate:e.wkTemplate,{Central_Meridian:i.x}))}return this}_getCM(e){let t=null;const[r,i]=e.valid,o=this.xmin,n=this.xmax;return o>=r&&o<=i&&n>=r&&n<=i||(t=this.center),t}_normalize(e,t,r){const i=this.spatialReference;if(!i)return this;if(!(r=r||(0,x.C5)(i)))return this;const o=this._getParts(r).map((e=>e.extent));if(o.length<2)return o[0]||this;if(o.length>2)return e?this._shiftCM(r):this.set({xmin:r.valid[0],xmax:r.valid[1]});if(e)return this._shiftCM(r);if(t)return o;let n=!0,s=!0;return o.forEach((e=>{e.hasZ||(n=!1),e.hasM||(s=!1)})),{rings:o.map((e=>{const t=[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]];if(n){const r=(e.zmax-e.zmin)/2;for(let e=0;e<t.length;e++)t[e].push(r)}if(s){const r=(e.mmax-e.mmin)/2;for(let e=0;e<t.length;e++)t[e].push(r)}return t})),hasZ:n,hasM:s,spatialReference:i}}_getParts(e){let t=this.cache._parts;if(!t){t=[];const{ymin:r,ymax:o,spatialReference:n}=this,s=this.width,a=this.xmin,f=this.xmax;let l;e=e||(0,x.C5)(n);const[h,m]=e.valid;l=this._normalizeX(this.xmin,e);const u=l.x,c=l.frameId;l=this._normalizeX(this.xmax,e);const d=l.x,p=l.frameId,y=u===d&&s>0;if(s>2*m){const e=new i(a<f?u:d,r,m,o,n),s=new i(h,r,a<f?d:u,o,n),l=new i(0,r,m,o,n),x=new i(h,r,0,o,n),y=[],_=[];e.contains(l)&&y.push(c),e.contains(x)&&_.push(c),s.contains(l)&&y.push(p),s.contains(x)&&_.push(p);for(let e=c+1;e<p;e++)y.push(e),_.push(e);t.push({extent:e,frameIds:[c]},{extent:s,frameIds:[p]},{extent:l,frameIds:y},{extent:x,frameIds:_})}else u>d||y?t.push({extent:new i(u,r,m,o,n),frameIds:[c]},{extent:new i(h,r,d,o,n),frameIds:[p]}):t.push({extent:new i(u,r,d,o,n),frameIds:[c]});this.cache._parts=t}const r=this.hasZ,o=this.hasM;if(r||o){const e={};r&&(e.zmin=this.zmin,e.zmax=this.zmax),o&&(e.mmin=this.mmin,e.mmax=this.mmax);for(let r=0;r<t.length;r++)t[r].extent.set(e)}return t}_normalizeX(e,t){const[r,i]=t.valid,o=2*i;let n,s=0;return e>i?(n=Math.ceil(Math.abs(e-i)/o),e-=n*o,s=n):e<r&&(n=Math.ceil(Math.abs(e-r)/o),e+=n*o,s=-n),{x:e,frameId:s}}};(0,o._)([(0,a.Cb)({readOnly:!0})],y.prototype,"cache",null),(0,o._)([(0,a.Cb)({readOnly:!0})],y.prototype,"center",null),(0,o._)([(0,a.Cb)({readOnly:!0})],y.prototype,"extent",null),(0,o._)([(0,a.Cb)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasM",null),(0,o._)([(0,a.Cb)({readOnly:!0,json:{write:{enabled:!1,overridePolicy:null}}})],y.prototype,"hasZ",null),(0,o._)([(0,a.Cb)({readOnly:!0})],y.prototype,"height",null),(0,o._)([(0,a.Cb)({readOnly:!0})],y.prototype,"width",null),(0,o._)([(0,a.Cb)({type:Number,json:{type:[Number,String],write:{enabled:!0,allowNull:!0}}})],y.prototype,"xmin",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"ymin",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmin",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmin",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"xmax",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{write:!0}})],y.prototype,"ymax",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasM}}}}})],y.prototype,"mmax",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{origins:{"web-scene":{write:!1}},write:{overridePolicy(){return{enabled:this.hasZ}}}}})],y.prototype,"zmax",void 0),y=i=(0,o._)([(0,f.j)("esri.geometry.Extent")],y),y.prototype.toJSON.isDefaultToJSON=!0;const _=y},9361:(e,t,r)=>{r.d(t,{Z:()=>h});var i=r(43697),o=r(10736),n=r(5600),s=(r(67676),r(80442),r(75215),r(71715)),a=r(52011),f=r(82971);let l=class extends o.wq{constructor(...e){super(...e),this.type=null,this.hasM=!1,this.hasZ=!1,this.spatialReference=f.Z.WGS84}get cache(){return this.commitProperty("spatialReference"),{}}get extent(){return null}readSpatialReference(e,t){if(e instanceof f.Z)return e;if(null!=e){const r=new f.Z;return r.read(e,t),r}return e}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}clearCache(){this.notifyChange("cache")}getCacheValue(e){return this.cache[e]}setCacheValue(e,t){this.cache[e]=t}};(0,i._)([(0,n.Cb)()],l.prototype,"type",void 0),(0,i._)([(0,n.Cb)({readOnly:!0})],l.prototype,"cache",null),(0,i._)([(0,n.Cb)({readOnly:!0})],l.prototype,"extent",null),(0,i._)([(0,n.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasM",void 0),(0,i._)([(0,n.Cb)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],l.prototype,"hasZ",void 0),(0,i._)([(0,n.Cb)({type:f.Z,json:{write:!0}})],l.prototype,"spatialReference",void 0),(0,i._)([(0,s.r)("spatialReference")],l.prototype,"readSpatialReference",null),l=(0,i._)([(0,a.j)("esri.geometry.Geometry")],l);const h=l},13473:(e,t,r)=>{r.d(t,{Z:()=>g});var i,o=r(43697),n=r(92604),s=r(70586),a=r(5600),f=(r(67676),r(80442),r(90578)),l=r(71715),h=r(52011),m=r(30556),u=r(75215),c=r(9361),x=r(82971),d=r(8744),p=r(40488);const y=[0,0];function _(e){return e&&("esri.geometry.SpatialReference"===e.declaredClass||null!=e.wkid)}const M=n.Z.getLogger("esri.geometry.Point");let w=i=class extends c.Z{constructor(...e){super(...e),this.x=0,this.y=0,this.z=void 0,this.m=void 0,this.type="point"}static copy(e,t){t._set("x",e._get("x")),t._set("y",e._get("y")),t._set("z",e._get("z")),t._set("m",e._get("m"));const r=e._get("spatialReference");t._set("spatialReference",Object.isFrozen(r)?r:r.clone())}normalizeCtorArgs(e,t,r,i,o){let n;if(Array.isArray(e))n=e,o=t,e=n[0],t=n[1],r=n[2],i=n[3];else if(e&&"object"==typeof e){if(n=e,e=null!=n.x?n.x:n.longitude,t=null!=n.y?n.y:n.latitude,r=n.z,i=n.m,(o=n.spatialReference)&&"esri.geometry.SpatialReference"!==o.declaredClass&&(o=new x.Z(o)),null!=n.longitude||null!=n.latitude)if(null==n.longitude)M.warn(".longitude=","Latitude was defined without longitude");else if(null==n.latitude)M.warn(".latitude=","Longitude was defined without latitude");else if(!n.declaredClass&&o&&o.isWebMercator){const r=(0,p.hG)(n.longitude,n.latitude,y);e=r[0],t=r[1]}}else _(r)?(o=r,r=null):_(i)&&(o=i,i=null);const s={x:e,y:t};return null==s.x&&null!=s.y?M.warn(".y=","Y coordinate was defined without an X coordinate"):null==s.y&&null!=s.x&&M.warn(".x=","X coordinate was defined without a Y coordinate"),null!=o&&(s.spatialReference=o),null!=r&&(s.z=r),null!=i&&(s.m=i),s}get cache(){return this.commitProperty("x"),this.commitProperty("y"),this.commitProperty("z"),this.commitProperty("m"),this.commitProperty("spatialReference"),{}}get hasM(){return void 0!==this.m}set hasM(e){e!==(void 0!==this._get("m"))&&(this._set("m",e?0:void 0),this._set("hasM",e))}get hasZ(){return void 0!==this.z}set hasZ(e){e!==(void 0!==this._get("z"))&&(this._set("z",e?0:void 0),this._set("hasZ",e))}get latitude(){const{spatialReference:e,x:t,y:r}=this;if(e){if(e.isWebMercator)return(0,p.R6)(t,r,y)[1];if(e.isGeographic)return r}return null}set latitude(e){const{spatialReference:t,x:r}=this;t&&(t.isWebMercator?this._set("y",(0,p.hG)(r,e,y)[1]):t.isGeographic&&this._set("y",e),this._set("latitude",e))}get longitude(){const{x:e,y:t,spatialReference:r}=this;if(r){if(r.isWebMercator)return(0,p.R6)(e,t,y)[0];if(r.isGeographic)return e}return null}set longitude(e){const{y:t,spatialReference:r}=this;r&&(r.isWebMercator?this._set("x",(0,p.hG)(e,t,y)[0]):r.isGeographic&&this._set("x",e),this._set("longitude",e))}writeX(e,t,r){t[r]=isNaN(e)?"NaN":e}readX(e){return"string"==typeof e?NaN:e}clone(){const e=new i;return e.x=this.x,e.y=this.y,e.z=this.z,e.m=this.m,e.spatialReference=this.spatialReference,e}copy(e){return i.copy(e,this),this}equals(e){if((0,s.Wi)(e))return!1;const{x:t,y:r,z:i,m:o,spatialReference:n}=this,{z:a,m:f}=e;let{x:l,y:h,spatialReference:m}=e;if(!n.equals(m))if(n.isWebMercator&&m.isWGS84)[l,h]=(0,p.hG)(l,h),m=n;else{if(!n.isWGS84||!m.isWebMercator)return!1;[l,h]=(0,p.R6)(l,h),m=n}return t===l&&r===h&&i===a&&o===f&&n.wkid===m.wkid}offset(e,t,r){return function(e,t,r,i){var o;return e.x=e.x+t,e.y=e.y+r,null!=i&&(e.z=(null!=(o=e.z)?o:0)+i),e}(this,e,t,r)}normalize(){if(!this.spatialReference)return this;const e=(0,d.C5)(this.spatialReference);if(!e)return this;let t=this.x;const[r,i]=e.valid,o=2*i;let n;return t>i?(n=Math.ceil(Math.abs(t-i)/o),t-=n*o):t<r&&(n=Math.ceil(Math.abs(t-r)/o),t+=n*o),this._set("x",t),this}distance(e){return function(e,t){const r=e.x-t.x,i=e.y-t.y,o=e.hasZ&&t.hasZ?e.z-t.z:0;return Math.sqrt(r*r+i*i+o*o)}(this,e)}toArray(){const e=this.hasZ,t=this.hasM;return e&&t?[this.x,this.y,this.z,this.m]:e?[this.x,this.y,this.z]:t?[this.x,this.y,this.m]:[this.x,this.y]}toJSON(e){return this.write({},e)}};(0,o._)([(0,a.Cb)({readOnly:!0})],w.prototype,"cache",null),(0,o._)([(0,a.Cb)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasM",null),(0,o._)([(0,a.Cb)({type:Boolean,json:{read:!1,write:{enabled:!1,overridePolicy:null}}})],w.prototype,"hasZ",null),(0,o._)([(0,a.Cb)({type:Number})],w.prototype,"latitude",null),(0,o._)([(0,a.Cb)({type:Number})],w.prototype,"longitude",null),(0,o._)([(0,a.Cb)({type:Number,json:{type:[Number,String],write:{isRequired:!0,allowNull:!0}}}),(0,f.p)((e=>isNaN(e)?e:(0,u.q9)(e)))],w.prototype,"x",void 0),(0,o._)([(0,m.c)("x")],w.prototype,"writeX",null),(0,o._)([(0,l.r)("x")],w.prototype,"readX",null),(0,o._)([(0,a.Cb)({type:Number,json:{write:!0}})],w.prototype,"y",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasZ}}}}})],w.prototype,"z",void 0),(0,o._)([(0,a.Cb)({type:Number,json:{write:{overridePolicy(){return{enabled:this.hasM}}}}})],w.prototype,"m",void 0),w=i=(0,o._)([(0,h.j)("esri.geometry.Point")],w),w.prototype.toJSON.isDefaultToJSON=!0;const g=w},82971:(e,t,r)=>{r.d(t,{Z:()=>c});var i,o=r(43697),n=r(10736),s=r(22974),a=r(75215),f=r(5600),l=r(52011),h=r(30556),m=r(8744);let u=i=class extends n.wq{constructor(e){super(e),this.latestWkid=null,this.wkid=null,this.wkt=null,this.vcsWkid=null,this.latestVcsWkid=null,this.imageCoordinateSystem=null}static fromJSON(e){if(!e)return null;if(e.wkid){if(102100===e.wkid)return i.WebMercator;if(4326===e.wkid)return i.WGS84}const t=new i;return t.read(e),t}normalizeCtorArgs(e){return e&&"object"==typeof e?e:{["string"==typeof e?"wkt":"wkid"]:e}}get isWGS84(){return(0,m.oR)(this)}get isWebMercator(){return(0,m.sS)(this)}get isGeographic(){return(0,m.sT)(this)}get isWrappable(){return(0,m.MP)(this)}writeWkt(e,t){this.wkid||(t.wkt=e)}clone(){if(this===i.WGS84)return i.WGS84;if(this===i.WebMercator)return i.WebMercator;const e=new i;return null!=this.wkid?(e.wkid=this.wkid,null!=this.latestWkid&&(e.latestWkid=this.latestWkid),null!=this.vcsWkid&&(e.vcsWkid=this.vcsWkid),null!=this.latestVcsWkid&&(e.latestVcsWkid=this.latestVcsWkid)):null!=this.wkt&&(e.wkt=this.wkt),this.imageCoordinateSystem&&(e.imageCoordinateSystem=(0,s.d9)(this.imageCoordinateSystem)),e}equals(e){if(null==e)return!1;if(this.imageCoordinateSystem||e.imageCoordinateSystem){if(null==this.imageCoordinateSystem||null==e.imageCoordinateSystem)return!1;const{id:t,referenceServiceName:r}=e.imageCoordinateSystem,{geodataXform:i}=e.imageCoordinateSystem,o=this.imageCoordinateSystem;return null==t||i?JSON.stringify(o)===JSON.stringify(e.imageCoordinateSystem):r?o.id===t&&o.referenceServiceName===r:o.id===t}return(0,m.fS)(this,e)}toJSON(e){return this.write(void 0,e)}};u.GCS_NAD_1927=null,u.WGS84=null,u.WebMercator=null,u.PlateCarree=null,(0,o._)([(0,f.Cb)({readOnly:!0})],u.prototype,"isWGS84",null),(0,o._)([(0,f.Cb)({readOnly:!0})],u.prototype,"isWebMercator",null),(0,o._)([(0,f.Cb)({readOnly:!0})],u.prototype,"isGeographic",null),(0,o._)([(0,f.Cb)({readOnly:!0})],u.prototype,"isWrappable",null),(0,o._)([(0,f.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"latestWkid",void 0),(0,o._)([(0,f.Cb)({type:a.z8,json:{write:!0,origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null===this.wkt}}}}}}})],u.prototype,"wkid",void 0),(0,o._)([(0,f.Cb)({type:String,json:{origins:{"web-scene":{write:{overridePolicy(){return{isRequired:null===this.wkid}}}}}}})],u.prototype,"wkt",void 0),(0,o._)([(0,h.c)("wkt"),(0,h.c)("web-scene","wkt")],u.prototype,"writeWkt",null),(0,o._)([(0,f.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"vcsWkid",void 0),(0,o._)([(0,f.Cb)({type:a.z8,json:{write:!0}})],u.prototype,"latestVcsWkid",void 0),(0,o._)([(0,f.Cb)()],u.prototype,"imageCoordinateSystem",void 0),u=i=(0,o._)([(0,l.j)("esri.geometry.SpatialReference")],u),u.prototype.toJSON.isDefaultToJSON=!0,u.GCS_NAD_1927=new u({wkid:4267,wkt:'GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]'}),u.WGS84=new u(m.Zn),u.WebMercator=new u(m.R_),u.PlateCarree=new u(m.WR),Object.freeze&&(Object.freeze(u.GCS_NAD_1927),Object.freeze(u.WGS84),Object.freeze(u.WebMercator));const c=u},68441:(e,t,r)=>{r.d(t,{sv:()=>o,yr:()=>n,Z1:()=>s});class i{constructor(e,t,r,i){this.semiMajorAxis=e,this.flattening=t,this.outerAtmosphereRimWidth=r;const o=1-this.flattening;this.semiMinorAxis=this.semiMajorAxis*o,this.halfSemiMajorAxis=this.semiMajorAxis/2,this.halfCircumference=Math.PI*this.semiMajorAxis,this.metersPerDegree=this.halfCircumference/180,this.inverseFlattening=1/(1-this.flattening)-1,this.eccentricitySquared=i||2*this.flattening-this.flattening*this.flattening,this.meanRadiusSemiAxes=(2*this.semiMajorAxis+this.semiMinorAxis)/3}get radius(){return this.semiMajorAxis}}const o=new i(6378137,1/298.257223563,3e5,.006694379990137799),n=new i(3396190,1/169.8944472236118,23e4),s=new i(1737400,0,0)},58116:(e,t,r)=>{let i;r.d(t,{Z:()=>o});const o={values:[1,.3048,.3048006096012192,.3047972654,.9143917962,.201166195164,.9143984146160287,.3047994715386762,20.11676512155263,20.11678249437587,.9143985307444408,.91439523,.3047997101815088,20.1168,20.116756,5e4,15e4],units:["Meter","Foot","Foot_US","Foot_Clarke","Yard_Clarke","Link_Clarke","Yard_Sears","Foot_Sears","Chain_Sears","Chain_Benoit_1895_B","Yard_Indian","Yard_Indian_1937","Foot_Gold_Coast","Chain","Chain_Sears_1922_Truncated","50_Kilometers","150_Kilometers"],2066:5,2136:12,2155:2,2157:0,2158:0,2159:12,2160:12,2204:2,2219:0,2220:0,2254:2,2255:2,2256:1,2265:1,2266:1,2267:2,2268:2,2269:1,2270:1,2271:2,2272:2,2273:1,2294:0,2295:0,2314:3,2899:2,2900:2,2901:1,2909:1,2910:1,2911:2,2912:2,2913:1,2914:1,2992:1,2993:0,2994:1,3080:1,3089:2,3090:0,3091:2,3102:2,3141:0,3142:0,3167:14,3359:2,3360:0,3361:1,3362:0,3363:2,3364:0,3365:2,3366:3,3404:2,3405:0,3406:0,3407:3,3439:0,3440:0,3479:1,3480:0,3481:1,3482:0,3483:1,3484:0,3485:2,3486:0,3487:2,3488:0,3489:0,3490:2,3491:0,3492:2,3493:0,3494:2,3495:0,3496:2,3497:0,3498:2,3499:0,3500:2,3501:0,3502:2,3503:0,3504:2,3505:0,3506:2,3507:0,3508:2,3509:0,3510:2,3511:0,3512:2,3513:0,3514:0,3515:2,3516:0,3517:2,3518:0,3519:2,3520:0,3521:2,3522:0,3523:2,3524:0,3525:2,3526:0,3527:2,3528:0,3529:2,3530:0,3531:2,3532:0,3533:2,3534:0,3535:2,3536:0,3537:2,3538:0,3539:2,3540:0,3541:2,3542:0,3543:2,3544:0,3545:2,3546:0,3547:2,3548:0,3549:2,3550:0,3551:2,3552:0,3553:2,3582:2,3583:0,3584:2,3585:0,3586:2,3587:0,3588:1,3589:0,3590:1,3591:0,3592:0,3593:1,3598:2,3599:0,3600:2,3605:1,3606:0,3607:0,3608:2,3609:0,3610:2,3611:0,3612:2,3613:0,3614:2,3615:0,3616:2,3617:0,3618:2,3619:0,3620:2,3621:0,3622:2,3623:0,3624:2,3625:0,3626:2,3627:0,3628:2,3629:0,3630:2,3631:0,3632:2,3633:0,3634:1,3635:0,3636:1,3640:2,3641:0,3642:2,3643:0,3644:1,3645:0,3646:1,3647:0,3648:1,3649:0,3650:2,3651:0,3652:2,3653:0,3654:2,3655:0,3656:1,3657:0,3658:2,3659:0,3660:2,3661:0,3662:2,3663:0,3664:2,3668:2,3669:0,3670:2,3671:0,3672:2,3673:0,3674:2,3675:0,3676:1,3677:2,3678:0,3679:1,3680:2,3681:0,3682:1,3683:2,3684:0,3685:0,3686:2,3687:0,3688:2,3689:0,3690:2,3691:0,3692:2,3696:2,3697:0,3698:2,3699:0,3700:2,3793:0,3794:0,3812:0,3854:0,3857:0,3920:0,3978:0,3979:0,3991:2,3992:2,4026:0,4037:0,4038:0,4071:0,4082:0,4083:0,4087:0,4088:0,4217:2,4414:0,4415:0,4417:0,4434:0,4437:0,4438:2,4439:2,4462:0,4467:0,4471:0,4474:0,4559:0,4647:0,4822:0,4826:0,4839:0,5018:0,5048:0,5167:0,5168:0,5221:0,5223:0,5234:0,5235:0,5243:0,5247:0,5266:0,5316:0,5320:0,5321:0,5325:0,5337:0,5361:0,5362:0,5367:0,5382:0,5383:0,5396:0,5456:0,5457:0,5469:0,5472:4,5490:0,5513:0,5514:0,5523:0,5559:0,5588:1,5589:3,5596:0,5627:0,5629:0,5641:0,5643:0,5644:0,5646:2,5654:2,5655:2,5659:0,5700:0,5825:0,5836:0,5837:0,5839:0,5842:0,5844:0,5858:0,5879:0,5880:0,5887:0,5890:0,6128:1,6129:1,6141:1,6204:0,6210:0,6211:0,6307:0,6312:0,6316:0,6362:0,6391:1,6405:1,6406:0,6407:1,6408:0,6409:1,6410:0,6411:2,6412:0,6413:2,6414:0,6415:0,6416:2,6417:0,6418:2,6419:0,6420:2,6421:0,6422:2,6423:0,6424:2,6425:0,6426:2,6427:0,6428:2,6429:0,6430:2,6431:0,6432:2,6433:0,6434:2,6435:0,6436:2,6437:0,6438:2,6439:0,6440:0,6441:2,6442:0,6443:2,6444:0,6445:2,6446:0,6447:2,6448:0,6449:2,6450:0,6451:2,6452:0,6453:2,6454:0,6455:2,6456:0,6457:2,6458:0,6459:2,6460:0,6461:2,6462:0,6463:2,6464:0,6465:2,6466:0,6467:2,6468:0,6469:2,6470:0,6471:2,6472:0,6473:2,6474:0,6475:2,6476:0,6477:2,6478:0,6479:2,6484:2,6485:0,6486:2,6487:0,6488:2,6489:0,6490:2,6491:0,6492:2,6493:0,6494:1,6495:0,6496:1,6497:0,6498:0,6499:1,6500:0,6501:2,6502:0,6503:2,6504:0,6505:2,6506:0,6507:2,6508:0,6509:0,6510:2,6515:1,6516:0,6518:0,6519:2,6520:0,6521:2,6522:0,6523:2,6524:0,6525:2,6526:0,6527:2,6528:0,6529:2,6530:0,6531:2,6532:0,6533:2,6534:0,6535:2,6536:0,6537:2,6538:0,6539:2,6540:0,6541:2,6542:0,6543:2,6544:0,6545:1,6546:0,6547:1,6548:0,6549:2,6550:0,6551:2,6552:0,6553:2,6554:0,6555:2,6556:0,6557:1,6558:0,6559:1,6560:0,6561:1,6562:0,6563:2,6564:0,6565:2,6566:0,6567:0,6568:2,6569:0,6570:1,6571:0,6572:2,6573:0,6574:2,6575:0,6576:2,6577:0,6578:2,6582:2,6583:0,6584:2,6585:0,6586:2,6587:0,6588:2,6589:0,6590:2,6591:0,6592:0,6593:2,6594:0,6595:2,6596:0,6597:2,6598:0,6599:2,6600:0,6601:2,6602:0,6603:2,6605:2,6606:0,6607:2,6608:0,6609:2,6610:0,6611:0,6612:2,6613:0,6614:2,6615:0,6616:2,6617:0,6618:2,6633:2,6646:0,6703:0,6784:0,6785:1,6786:0,6787:1,6788:0,6789:1,6790:0,6791:1,6792:0,6793:1,6794:0,6795:1,6796:0,6797:1,6798:0,6799:1,6800:0,6801:1,6802:0,6803:1,6804:0,6805:1,6806:0,6807:1,6808:0,6809:1,6810:0,6811:1,6812:0,6813:1,6814:0,6815:1,6816:0,6817:1,6818:0,6819:1,6820:0,6821:1,6822:0,6823:1,6824:0,6825:1,6826:0,6827:1,6828:0,6829:1,6830:0,6831:1,6832:0,6833:1,6834:0,6835:1,6836:0,6837:1,6838:0,6839:1,6840:0,6841:1,6842:0,6843:1,6844:0,6845:1,6846:0,6847:1,6848:0,6849:1,6850:0,6851:1,6852:0,6853:1,6854:0,6855:1,6856:0,6857:1,6858:0,6859:1,6860:0,6861:1,6862:0,6863:1,6867:0,6868:1,6870:0,6875:0,6876:0,6879:0,6880:2,6884:0,6885:1,6886:0,6887:1,6915:0,6922:0,6923:2,6924:0,6925:2,6962:0,6984:0,6991:0,7128:2,7131:0,7132:2,7142:0,7257:0,7258:2,7259:0,7260:2,7261:0,7262:2,7263:0,7264:2,7265:0,7266:2,7267:0,7268:2,7269:0,7270:2,7271:0,7272:2,7273:0,7274:2,7275:0,7276:2,7277:0,7278:2,7279:0,7280:2,7281:0,7282:2,7283:0,7284:2,7285:0,7286:2,7287:0,7288:2,7289:0,7290:2,7291:0,7292:2,7293:0,7294:2,7295:0,7296:2,7297:0,7298:2,7299:0,7300:2,7301:0,7302:2,7303:0,7304:2,7305:0,7306:2,7307:0,7308:2,7309:0,7310:2,7311:0,7312:2,7313:0,7314:2,7315:0,7316:2,7317:0,7318:2,7319:0,7320:2,7321:0,7322:2,7323:0,7324:2,7325:0,7326:2,7327:0,7328:2,7329:0,7330:2,7331:0,7332:2,7333:0,7334:2,7335:0,7336:2,7337:0,7338:2,7339:0,7340:2,7341:0,7342:2,7343:0,7344:2,7345:0,7346:2,7347:0,7348:2,7349:0,7350:2,7351:0,7352:2,7353:0,7354:2,7355:0,7356:2,7357:0,7358:2,7359:0,7360:2,7361:0,7362:2,7363:0,7364:2,7365:0,7366:2,7367:0,7368:2,7369:0,7370:2,7877:0,7878:0,7882:0,7883:0,7887:0,7899:0,7991:0,7992:0,8035:2,8036:2,8058:0,8059:0,8082:0,8083:0,8088:0,8090:0,8091:2,8092:0,8093:2,8095:0,8096:2,8097:0,8098:2,8099:0,8100:2,8101:0,8102:2,8103:0,8104:2,8105:0,8106:2,8107:0,8108:2,8109:0,8110:2,8111:0,8112:2,8113:0,8114:2,8115:0,8116:2,8117:0,8118:2,8119:0,8120:2,8121:0,8122:2,8123:0,8124:2,8125:0,8126:2,8127:0,8128:2,8129:0,8130:2,8131:0,8132:2,8133:0,8134:2,8135:0,8136:2,8137:0,8138:2,8139:0,8140:2,8141:0,8142:2,8143:0,8144:2,8145:0,8146:2,8147:0,8148:2,8149:0,8150:2,8151:0,8152:2,8153:0,8154:2,8155:0,8156:2,8157:0,8158:2,8159:0,8160:2,8161:0,8162:2,8163:0,8164:2,8165:0,8166:2,8167:0,8168:2,8169:0,8170:2,8171:0,8172:2,8173:0,8177:2,8179:0,8180:2,8181:0,8182:2,8184:0,8185:2,8187:0,8189:2,8191:0,8193:2,8196:0,8197:2,8198:0,8200:2,8201:0,8202:2,8203:0,8204:2,8205:0,8206:2,8207:0,8208:2,8209:0,8210:2,8212:0,8213:2,8214:0,8216:2,8218:0,8220:2,8222:0,8224:2,8225:0,8226:2,8311:0,8312:1,8313:0,8314:1,8315:0,8316:1,8317:0,8318:1,8319:0,8320:1,8321:0,8322:1,8323:0,8324:1,8325:0,8326:1,8327:0,8328:1,8329:0,8330:1,8331:0,8332:1,8333:0,8334:1,8335:0,8336:1,8337:0,8338:1,8339:0,8340:1,8341:0,8342:1,8343:0,8344:1,8345:0,8346:1,8347:0,8348:1,8352:0,8353:0,8379:0,8380:2,8381:0,8382:2,8383:0,8384:2,8385:0,8387:2,8391:0,8395:0,8433:0,8441:0,8455:0,8456:0,8531:2,8682:0,8686:0,8687:0,8692:0,8693:0,8826:0,8903:0,8950:0,8951:0,9039:0,9040:0,9141:0,9149:0,9150:0,9191:0,9221:0,9222:0,9249:0,9250:0,9252:0,9254:0,9265:0,9284:0,9285:0,9300:0,9354:0,9367:0,9373:0,9377:0,9387:0,9391:0,9456:0,9473:0,9498:0,9674:0,9678:0,9680:0,9709:0,9712:0,9713:0,9716:0,9741:0,9748:2,9749:2,9761:0,9766:0,20499:0,20538:0,20539:0,20790:0,20791:0,21291:0,21292:0,21500:0,21817:0,21818:0,22032:0,22033:0,22091:0,22092:0,22332:0,22391:0,22392:0,22700:0,22770:0,22780:0,22832:0,23090:0,23095:0,23239:0,23240:0,23433:0,23700:0,24047:0,24048:0,24100:3,24200:0,24305:0,24306:0,24382:10,24383:0,24500:0,24547:0,24548:0,24571:9,24600:0,25e3:0,25231:0,25884:0,25932:0,26237:0,26331:0,26332:0,26432:0,26591:0,26592:0,26632:0,26692:0,27120:0,27200:0,27291:6,27292:6,27429:0,27492:0,27493:0,27500:0,27700:0,28232:0,28600:0,28991:0,28992:0,29100:0,29101:0,29220:0,29221:0,29333:0,29635:0,29636:0,29701:0,29738:0,29739:0,29849:0,29850:0,29871:8,29872:7,29873:0,29874:0,30200:5,30339:0,30340:0,30591:0,30592:0,30791:0,30792:0,30800:0,31028:0,31121:0,31154:0,31170:0,31171:0,31370:0,31528:0,31529:0,31600:0,31700:0,31838:0,31839:0,31900:0,31901:0,32061:0,32062:0,32098:0,32099:2,32100:0,32104:0,32161:0,32766:0,53048:0,53049:0,54090:0,54091:0,65061:2,65062:2,65161:0,65163:0,102041:2,102064:11,102068:15,102069:16,102118:2,102119:1,102120:2,102121:2,102217:2,102218:0,102219:2,102220:2,102378:1,102379:1,102380:0,102381:1,102589:2,102599:2,102600:2,102604:2,102647:0,102704:2,102705:2,102706:0,102759:1,102760:1,102761:2,102762:0,102763:2,102764:0,102765:0,102766:2,102962:0,102963:0,102970:1,102974:2,102993:0,102994:0,102995:2,102996:2,103015:0,103016:2,103017:0,103018:2,103025:0,103026:0,103027:2,103028:2,103035:0,103036:0,103037:2,103038:2,103039:0,103040:0,103041:2,103042:2,103043:0,103044:0,103045:2,103046:2,103047:0,103048:0,103049:2,103050:2,103051:0,103052:2,103053:0,103054:2,103055:0,103056:2,103057:0,103058:0,103059:2,103060:2,103061:0,103062:0,103063:2,103064:2,103069:2,103070:0,103071:0,103072:2,103073:2,103086:0,103087:0,103088:2,103089:2,103094:1,103095:0,103096:2,103103:0,103104:2,103105:0,103106:2,103121:0,103122:2,103123:0,103124:0,103125:1,103126:1,103127:0,103128:0,103129:2,103130:2,103131:0,103132:0,103133:2,103134:2,103135:0,103136:0,103137:1,103138:1,103139:0,103140:2,103141:0,103142:2,103143:0,103144:2,103145:0,103146:1,103147:0,103148:0,103149:2,103150:2,103151:0,103152:2,103172:0,103173:2,103174:0,103175:0,103176:2,103177:2,103178:0,103179:0,103180:2,103181:2,103182:0,103183:0,103184:2,103185:2,103228:0,103229:0,103230:2,103231:2,103250:0,103251:2,103252:0,103253:2,103260:0,103261:0,103262:2,103263:2,103270:0,103271:0,103272:2,103273:2,103274:0,103275:0,103276:2,103277:2,103278:0,103279:0,103280:2,103281:2,103282:0,103283:0,103284:2,103285:2,103286:0,103287:2,103288:0,103289:2,103290:0,103291:2,103292:0,103293:0,103294:2,103295:2,103296:0,103297:0,103298:2,103299:2,103376:2,103377:0,103378:0,103379:2,103380:2,103393:0,103394:0,103395:2,103396:2,103472:0,103473:1,103474:0,103475:2,103482:0,103483:2,103484:0,103485:2,103500:0,103501:2,103502:0,103503:0,103504:1,103505:1,103506:0,103507:0,103508:2,103509:2,103510:0,103511:0,103512:2,103513:2,103514:0,103515:2,103516:0,103517:2,103518:0,103519:2,103520:0,103521:1,103522:0,103523:0,103524:2,103525:2,103526:0,103527:2,103561:2,103562:2,103563:0,103564:0,103565:2,103566:2,103567:0,103568:0,103569:2,103570:2,103584:0,103585:2,103586:0,103587:2,103588:1,103589:0,103590:2,103591:1,103592:0,103593:2,103594:1,103695:2};for(i=2e3;i<=2045;i++)o[i]=0;for(i=2056;i<=2065;i++)o[i]=0;for(i=2067;i<=2135;i++)o[i]=0;for(i=2137;i<=2154;i++)o[i]=0;for(i=2161;i<=2170;i++)o[i]=0;for(i=2172;i<=2193;i++)o[i]=0;for(i=2195;i<=2198;i++)o[i]=0;for(i=2200;i<=2203;i++)o[i]=0;for(i=2205;i<=2217;i++)o[i]=0;for(i=2222;i<=2224;i++)o[i]=1;for(i=2225;i<=2250;i++)o[i]=2;for(i=2251;i<=2253;i++)o[i]=1;for(i=2257;i<=2264;i++)o[i]=2;for(i=2274;i<=2279;i++)o[i]=2;for(i=2280;i<=2282;i++)o[i]=1;for(i=2283;i<=2289;i++)o[i]=2;for(i=2290;i<=2292;i++)o[i]=0;for(i=2308;i<=2313;i++)o[i]=0;for(i=2315;i<=2491;i++)o[i]=0;for(i=2494;i<=2866;i++)o[i]=0;for(i=2867;i<=2869;i++)o[i]=1;for(i=2870;i<=2888;i++)o[i]=2;for(i=2891;i<=2895;i++)o[i]=2;for(i=2896;i<=2898;i++)o[i]=1;for(i=2902;i<=2908;i++)o[i]=2;for(i=2915;i<=2920;i++)o[i]=2;for(i=2921;i<=2923;i++)o[i]=1;for(i=2924;i<=2930;i++)o[i]=2;for(i=2931;i<=2962;i++)o[i]=0;for(i=2964;i<=2968;i++)o[i]=2;for(i=2969;i<=2973;i++)o[i]=0;for(i=2975;i<=2991;i++)o[i]=0;for(i=2995;i<=3051;i++)o[i]=0;for(i=3054;i<=3079;i++)o[i]=0;for(i=3081;i<=3088;i++)o[i]=0;for(i=3092;i<=3101;i++)o[i]=0;for(i=3106;i<=3138;i++)o[i]=0;for(i=3146;i<=3151;i++)o[i]=0;for(i=3153;i<=3166;i++)o[i]=0;for(i=3168;i<=3172;i++)o[i]=0;for(i=3174;i<=3203;i++)o[i]=0;for(i=3294;i<=3358;i++)o[i]=0;for(i=3367;i<=3403;i++)o[i]=0;for(i=3408;i<=3416;i++)o[i]=0;for(i=3417;i<=3438;i++)o[i]=2;for(i=3441;i<=3446;i++)o[i]=2;for(i=3447;i<=3450;i++)o[i]=0;for(i=3451;i<=3459;i++)o[i]=2;for(i=3460;i<=3478;i++)o[i]=0;for(i=3554;i<=3559;i++)o[i]=0;for(i=3560;i<=3570;i++)o[i]=2;for(i=3571;i<=3581;i++)o[i]=0;for(i=3594;i<=3597;i++)o[i]=0;for(i=3601;i<=3604;i++)o[i]=0;for(i=3637;i<=3639;i++)o[i]=0;for(i=3665;i<=3667;i++)o[i]=0;for(i=3693;i<=3695;i++)o[i]=0;for(i=3701;i<=3727;i++)o[i]=0;for(i=3728;i<=3739;i++)o[i]=2;for(i=3740;i<=3751;i++)o[i]=0;for(i=3753;i<=3760;i++)o[i]=2;for(i=3761;i<=3773;i++)o[i]=0;for(i=3775;i<=3777;i++)o[i]=0;for(i=3779;i<=3781;i++)o[i]=0;for(i=3783;i<=3785;i++)o[i]=0;for(i=3788;i<=3791;i++)o[i]=0;for(i=3797;i<=3802;i++)o[i]=0;for(i=3814;i<=3816;i++)o[i]=0;for(i=3825;i<=3829;i++)o[i]=0;for(i=3832;i<=3841;i++)o[i]=0;for(i=3844;i<=3852;i++)o[i]=0;for(i=3873;i<=3885;i++)o[i]=0;for(i=3890;i<=3893;i++)o[i]=0;for(i=3907;i<=3912;i++)o[i]=0;for(i=3942;i<=3950;i++)o[i]=0;for(i=3968;i<=3970;i++)o[i]=0;for(i=3973;i<=3976;i++)o[i]=0;for(i=3986;i<=3989;i++)o[i]=0;for(i=3994;i<=3997;i++)o[i]=0;for(i=4048;i<=4051;i++)o[i]=0;for(i=4056;i<=4063;i++)o[i]=0;for(i=4093;i<=4096;i++)o[i]=0;for(i=4390;i<=4398;i++)o[i]=0;for(i=4399;i<=4413;i++)o[i]=2;for(i=4418;i<=4433;i++)o[i]=2;for(i=4455;i<=4457;i++)o[i]=2;for(i=4484;i<=4489;i++)o[i]=0;for(i=4491;i<=4554;i++)o[i]=0;for(i=4568;i<=4589;i++)o[i]=0;for(i=4652;i<=4656;i++)o[i]=0;for(i=4766;i<=4800;i++)o[i]=0;for(i=5014;i<=5016;i++)o[i]=0;for(i=5069;i<=5072;i++)o[i]=0;for(i=5105;i<=5130;i++)o[i]=0;for(i=5173;i<=5188;i++)o[i]=0;for(i=5253;i<=5259;i++)o[i]=0;for(i=5269;i<=5275;i++)o[i]=0;for(i=5292;i<=5311;i++)o[i]=0;for(i=5329;i<=5331;i++)o[i]=0;for(i=5343;i<=5349;i++)o[i]=0;for(i=5355;i<=5357;i++)o[i]=0;for(i=5387;i<=5389;i++)o[i]=0;for(i=5459;i<=5463;i++)o[i]=0;for(i=5479;i<=5482;i++)o[i]=0;for(i=5518;i<=5520;i++)o[i]=0;for(i=5530;i<=5539;i++)o[i]=0;for(i=5550;i<=5552;i++)o[i]=0;for(i=5562;i<=5583;i++)o[i]=0;for(i=5623;i<=5625;i++)o[i]=2;for(i=5631;i<=5639;i++)o[i]=0;for(i=5649;i<=5653;i++)o[i]=0;for(i=5663;i<=5680;i++)o[i]=0;for(i=5682;i<=5685;i++)o[i]=0;for(i=5875;i<=5877;i++)o[i]=0;for(i=5896;i<=5899;i++)o[i]=0;for(i=5921;i<=5940;i++)o[i]=0;for(i=6050;i<=6125;i++)o[i]=0;for(i=6244;i<=6275;i++)o[i]=0;for(i=6328;i<=6348;i++)o[i]=0;for(i=6350;i<=6356;i++)o[i]=0;for(i=6366;i<=6372;i++)o[i]=0;for(i=6381;i<=6387;i++)o[i]=0;for(i=6393;i<=6404;i++)o[i]=0;for(i=6480;i<=6483;i++)o[i]=0;for(i=6511;i<=6514;i++)o[i]=0;for(i=6579;i<=6581;i++)o[i]=0;for(i=6619;i<=6624;i++)o[i]=0;for(i=6625;i<=6627;i++)o[i]=2;for(i=6628;i<=6632;i++)o[i]=0;for(i=6634;i<=6637;i++)o[i]=0;for(i=6669;i<=6692;i++)o[i]=0;for(i=6707;i<=6709;i++)o[i]=0;for(i=6720;i<=6723;i++)o[i]=0;for(i=6732;i<=6738;i++)o[i]=0;for(i=6931;i<=6933;i++)o[i]=0;for(i=6956;i<=6959;i++)o[i]=0;for(i=7005;i<=7007;i++)o[i]=0;for(i=7057;i<=7070;i++)o[i]=2;for(i=7074;i<=7082;i++)o[i]=0;for(i=7109;i<=7118;i++)o[i]=0;for(i=7119;i<=7127;i++)o[i]=1;for(i=7374;i<=7376;i++)o[i]=0;for(i=7528;i<=7586;i++)o[i]=0;for(i=7587;i<=7645;i++)o[i]=2;for(i=7692;i<=7696;i++)o[i]=0;for(i=7755;i<=7787;i++)o[i]=0;for(i=7791;i<=7795;i++)o[i]=0;for(i=7799;i<=7801;i++)o[i]=0;for(i=7803;i<=7805;i++)o[i]=0;for(i=7825;i<=7831;i++)o[i]=0;for(i=7845;i<=7859;i++)o[i]=0;for(i=8013;i<=8032;i++)o[i]=0;for(i=8065;i<=8068;i++)o[i]=1;for(i=8518;i<=8529;i++)o[i]=2;for(i=8533;i<=8536;i++)o[i]=2;for(i=8538;i<=8540;i++)o[i]=2;for(i=8677;i<=8679;i++)o[i]=0;for(i=8836;i<=8840;i++)o[i]=0;for(i=8857;i<=8859;i++)o[i]=0;for(i=8908;i<=8910;i++)o[i]=0;for(i=9154;i<=9159;i++)o[i]=0;for(i=9205;i<=9218;i++)o[i]=0;for(i=9271;i<=9273;i++)o[i]=0;for(i=9295;i<=9297;i++)o[i]=0;for(i=9356;i<=9360;i++)o[i]=0;for(i=9404;i<=9407;i++)o[i]=0;for(i=9476;i<=9482;i++)o[i]=0;for(i=9487;i<=9494;i++)o[i]=0;for(i=9697;i<=9699;i++)o[i]=0;for(i=20002;i<=20032;i++)o[i]=0;for(i=20062;i<=20092;i++)o[i]=0;for(i=20135;i<=20138;i++)o[i]=0;for(i=20248;i<=20258;i++)o[i]=0;for(i=20348;i<=20358;i++)o[i]=0;for(i=20436;i<=20440;i++)o[i]=0;for(i=20822;i<=20824;i++)o[i]=0;for(i=20904;i<=20932;i++)o[i]=0;for(i=20934;i<=20936;i++)o[i]=0;for(i=21004;i<=21032;i++)o[i]=0;for(i=21035;i<=21037;i++)o[i]=0;for(i=21095;i<=21097;i++)o[i]=0;for(i=21148;i<=21150;i++)o[i]=0;for(i=21207;i<=21264;i++)o[i]=0;for(i=21307;i<=21364;i++)o[i]=0;for(i=21413;i<=21423;i++)o[i]=0;for(i=21453;i<=21463;i++)o[i]=0;for(i=21473;i<=21483;i++)o[i]=0;for(i=21780;i<=21782;i++)o[i]=0;for(i=21891;i<=21894;i++)o[i]=0;for(i=21896;i<=21899;i++)o[i]=0;for(i=22171;i<=22177;i++)o[i]=0;for(i=22181;i<=22187;i++)o[i]=0;for(i=22191;i<=22197;i++)o[i]=0;for(i=22234;i<=22236;i++)o[i]=0;for(i=22521;i<=22525;i++)o[i]=0;for(i=22991;i<=22994;i++)o[i]=0;for(i=23028;i<=23038;i++)o[i]=0;for(i=23830;i<=23853;i++)o[i]=0;for(i=23866;i<=23872;i++)o[i]=0;for(i=23877;i<=23884;i++)o[i]=0;for(i=23886;i<=23894;i++)o[i]=0;for(i=23946;i<=23948;i++)o[i]=0;for(i=24311;i<=24313;i++)o[i]=0;for(i=24342;i<=24347;i++)o[i]=0;for(i=24370;i<=24374;i++)o[i]=10;for(i=24375;i<=24381;i++)o[i]=0;for(i=24718;i<=24721;i++)o[i]=0;for(i=24817;i<=24821;i++)o[i]=0;for(i=24877;i<=24882;i++)o[i]=0;for(i=24891;i<=24893;i++)o[i]=0;for(i=25391;i<=25395;i++)o[i]=0;for(i=25828;i<=25838;i++)o[i]=0;for(i=26191;i<=26195;i++)o[i]=0;for(i=26391;i<=26393;i++)o[i]=0;for(i=26701;i<=26722;i++)o[i]=0;for(i=26729;i<=26799;i++)o[i]=2;for(i=26801;i<=26803;i++)o[i]=2;for(i=26811;i<=26813;i++)o[i]=2;for(i=26847;i<=26870;i++)o[i]=2;for(i=26891;i<=26899;i++)o[i]=0;for(i=26901;i<=26923;i++)o[i]=0;for(i=26929;i<=26946;i++)o[i]=0;for(i=26948;i<=26998;i++)o[i]=0;for(i=27037;i<=27040;i++)o[i]=0;for(i=27205;i<=27232;i++)o[i]=0;for(i=27258;i<=27260;i++)o[i]=0;for(i=27391;i<=27398;i++)o[i]=0;for(i=27561;i<=27564;i++)o[i]=0;for(i=27571;i<=27574;i++)o[i]=0;for(i=27581;i<=27584;i++)o[i]=0;for(i=27591;i<=27594;i++)o[i]=0;for(i=28191;i<=28193;i++)o[i]=0;for(i=28348;i<=28358;i++)o[i]=0;for(i=28402;i<=28432;i++)o[i]=0;for(i=28462;i<=28492;i++)o[i]=0;for(i=29118;i<=29122;i++)o[i]=0;for(i=29168;i<=29172;i++)o[i]=0;for(i=29177;i<=29185;i++)o[i]=0;for(i=29187;i<=29195;i++)o[i]=0;for(i=29900;i<=29903;i++)o[i]=0;for(i=30161;i<=30179;i++)o[i]=0;for(i=30491;i<=30494;i++)o[i]=0;for(i=30729;i<=30732;i++)o[i]=0;for(i=31251;i<=31259;i++)o[i]=0;for(i=31265;i<=31268;i++)o[i]=0;for(i=31275;i<=31279;i++)o[i]=0;for(i=31281;i<=31297;i++)o[i]=0;for(i=31461;i<=31469;i++)o[i]=0;for(i=31491;i<=31495;i++)o[i]=0;for(i=31917;i<=31922;i++)o[i]=0;for(i=31965;i<=32e3;i++)o[i]=0;for(i=32001;i<=32003;i++)o[i]=2;for(i=32005;i<=32031;i++)o[i]=2;for(i=32033;i<=32060;i++)o[i]=2;for(i=32064;i<=32067;i++)o[i]=2;for(i=32074;i<=32077;i++)o[i]=2;for(i=32081;i<=32086;i++)o[i]=0;for(i=32107;i<=32130;i++)o[i]=0;for(i=32133;i<=32158;i++)o[i]=0;for(i=32164;i<=32167;i++)o[i]=2;for(i=32180;i<=32199;i++)o[i]=0;for(i=32201;i<=32260;i++)o[i]=0;for(i=32301;i<=32360;i++)o[i]=0;for(i=32601;i<=32662;i++)o[i]=0;for(i=32664;i<=32667;i++)o[i]=2;for(i=32701;i<=32761;i++)o[i]=0;for(i=53001;i<=53004;i++)o[i]=0;for(i=53008;i<=53019;i++)o[i]=0;for(i=53021;i<=53032;i++)o[i]=0;for(i=53034;i<=53037;i++)o[i]=0;for(i=53042;i<=53046;i++)o[i]=0;for(i=53074;i<=53080;i++)o[i]=0;for(i=54001;i<=54004;i++)o[i]=0;for(i=54008;i<=54019;i++)o[i]=0;for(i=54021;i<=54032;i++)o[i]=0;for(i=54034;i<=54037;i++)o[i]=0;for(i=54042;i<=54046;i++)o[i]=0;for(i=54048;i<=54053;i++)o[i]=0;for(i=54074;i<=54080;i++)o[i]=0;for(i=54098;i<=54101;i++)o[i]=0;for(i=102001;i<=102040;i++)o[i]=0;for(i=102042;i<=102063;i++)o[i]=0;for(i=102065;i<=102067;i++)o[i]=0;for(i=102070;i<=102117;i++)o[i]=0;for(i=102122;i<=102216;i++)o[i]=0;for(i=102221;i<=102377;i++)o[i]=0;for(i=102382;i<=102388;i++)o[i]=0;for(i=102389;i<=102398;i++)o[i]=2;for(i=102399;i<=102444;i++)o[i]=0;for(i=102445;i<=102447;i++)o[i]=2;for(i=102448;i<=102458;i++)o[i]=0;for(i=102459;i<=102468;i++)o[i]=2;for(i=102469;i<=102499;i++)o[i]=0;for(i=102500;i<=102519;i++)o[i]=1;for(i=102520;i<=102524;i++)o[i]=0;for(i=102525;i<=102529;i++)o[i]=2;for(i=102530;i<=102588;i++)o[i]=0;for(i=102590;i<=102598;i++)o[i]=0;for(i=102601;i<=102603;i++)o[i]=0;for(i=102605;i<=102628;i++)o[i]=0;for(i=102629;i<=102646;i++)o[i]=2;for(i=102648;i<=102700;i++)o[i]=2;for(i=102701;i<=102703;i++)o[i]=0;for(i=102707;i<=102730;i++)o[i]=2;for(i=102733;i<=102758;i++)o[i]=2;for(i=102767;i<=102900;i++)o[i]=0;for(i=102901;i<=102933;i++)o[i]=2;for(i=102934;i<=102950;i++)o[i]=13;for(i=102951;i<=102960;i++)o[i]=0;for(i=102965;i<=102969;i++)o[i]=0;for(i=102971;i<=102973;i++)o[i]=0;for(i=102975;i<=102989;i++)o[i]=0;for(i=102990;i<=102992;i++)o[i]=1;for(i=102997;i<=103002;i++)o[i]=0;for(i=103003;i<=103008;i++)o[i]=2;for(i=103009;i<=103011;i++)o[i]=0;for(i=103012;i<=103014;i++)o[i]=2;for(i=103019;i<=103021;i++)o[i]=0;for(i=103022;i<=103024;i++)o[i]=2;for(i=103029;i<=103031;i++)o[i]=0;for(i=103032;i<=103034;i++)o[i]=2;for(i=103065;i<=103068;i++)o[i]=0;for(i=103074;i<=103076;i++)o[i]=0;for(i=103077;i<=103079;i++)o[i]=1;for(i=103080;i<=103082;i++)o[i]=0;for(i=103083;i<=103085;i++)o[i]=2;for(i=103090;i<=103093;i++)o[i]=0;for(i=103097;i<=103099;i++)o[i]=0;for(i=103100;i<=103102;i++)o[i]=2;for(i=103107;i<=103109;i++)o[i]=0;for(i=103110;i<=103112;i++)o[i]=2;for(i=103113;i<=103116;i++)o[i]=0;for(i=103117;i<=103120;i++)o[i]=2;for(i=103153;i<=103157;i++)o[i]=0;for(i=103158;i<=103162;i++)o[i]=2;for(i=103163;i<=103165;i++)o[i]=0;for(i=103166;i<=103168;i++)o[i]=1;for(i=103169;i<=103171;i++)o[i]=2;for(i=103186;i<=103188;i++)o[i]=0;for(i=103189;i<=103191;i++)o[i]=2;for(i=103192;i<=103195;i++)o[i]=0;for(i=103196;i<=103199;i++)o[i]=2;for(i=103200;i<=103224;i++)o[i]=0;for(i=103225;i<=103227;i++)o[i]=1;for(i=103232;i<=103237;i++)o[i]=0;for(i=103238;i<=103243;i++)o[i]=2;for(i=103244;i<=103246;i++)o[i]=0;for(i=103247;i<=103249;i++)o[i]=2;for(i=103254;i<=103256;i++)o[i]=0;for(i=103257;i<=103259;i++)o[i]=2;for(i=103264;i<=103266;i++)o[i]=0;for(i=103267;i<=103269;i++)o[i]=2;for(i=103300;i<=103375;i++)o[i]=0;for(i=103381;i<=103383;i++)o[i]=0;for(i=103384;i<=103386;i++)o[i]=1;for(i=103387;i<=103389;i++)o[i]=0;for(i=103390;i<=103392;i++)o[i]=2;for(i=103397;i<=103399;i++)o[i]=0;for(i=103400;i<=103471;i++)o[i]=2;for(i=103476;i<=103478;i++)o[i]=0;for(i=103479;i<=103481;i++)o[i]=2;for(i=103486;i<=103488;i++)o[i]=0;for(i=103489;i<=103491;i++)o[i]=2;for(i=103492;i<=103495;i++)o[i]=0;for(i=103496;i<=103499;i++)o[i]=2;for(i=103528;i<=103543;i++)o[i]=0;for(i=103544;i<=103548;i++)o[i]=2;for(i=103549;i<=103551;i++)o[i]=0;for(i=103552;i<=103554;i++)o[i]=1;for(i=103555;i<=103557;i++)o[i]=2;for(i=103558;i<=103560;i++)o[i]=0;for(i=103571;i<=103573;i++)o[i]=0;for(i=103574;i<=103576;i++)o[i]=2;for(i=103577;i<=103580;i++)o[i]=0;for(i=103581;i<=103583;i++)o[i]=2;for(i=103595;i<=103694;i++)o[i]=0;for(i=103696;i<=103699;i++)o[i]=0;for(i=103700;i<=103793;i++)o[i]=2;for(i=103794;i<=103872;i++)o[i]=0;for(i=103900;i<=103971;i++)o[i]=2},54102:(e,t,r)=>{r.d(t,{OQ:()=>f,Qg:()=>l,uP:()=>a,lQ:()=>s,aV:()=>n,rM:()=>u,CI:()=>m});var i=r(70586);const o=[0,0];function n(e,t){return!!(0,i.pC)(t)&&h(e,t.x,t.y,t.z)}function s(e,t){if(!t.points||t.points.length)return!1;for(const r of t.points)if(!f(e,r))return!1;return!0}function a(e,t){const{xmin:r,ymin:i,zmin:o,xmax:n,ymax:s,zmax:a}=t;return e.hasZ&&t.hasZ?h(e,r,i,o)&&h(e,r,s,o)&&h(e,n,s,o)&&h(e,n,i,o)&&h(e,r,i,a)&&h(e,r,s,a)&&h(e,n,s,a)&&h(e,n,i,a):h(e,r,i)&&h(e,r,s)&&h(e,n,s)&&h(e,n,i)}function f(e,t){return h(e,t[0],t[1])}function l(e,t){return h(e,t[0],t[1],t[2])}function h(e,t,r,i){return t>=e.xmin&&t<=e.xmax&&r>=e.ymin&&r<=e.ymax&&(null==i||!e.hasZ||i>=e.zmin&&i<=e.zmax)}function m(e,t){return o[1]=t.y,o[0]=t.x,u(e,o)}function u(e,t){return function(e,t){if(!e)return!1;if(function(e){return!Array.isArray(e[0][0])}(e))return c(!1,e,t);let r=!1;for(let i=0,o=e.length;i<o;i++)r=c(r,e[i],t);return r}(e.rings,t)}function c(e,t,r){const[i,o]=r;let n=e,s=0;for(let e=0,r=t.length;e<r;e++){s++,s===r&&(s=0);const[a,f]=t[e],[l,h]=t[s];(f<o&&h>=o||h<o&&f>=o)&&a+(o-f)/(h-f)*(l-a)<i&&(n=!n)}return n}},87416:(e,t,r)=>{r.d(t,{h_:()=>n,IY:()=>M,Ff:()=>p,UT:()=>_});var i=r(54102);function o(e,t){return(0,i.aV)(e,t)}function n(e,t){const r=e.hasZ&&t.hasZ;let i,o,n;if(e.xmin<=t.xmin){if(i=t.xmin,e.xmax<i)return!1}else if(i=e.xmin,t.xmax<i)return!1;if(e.ymin<=t.ymin){if(o=t.ymin,e.ymax<o)return!1}else if(o=e.ymin,t.ymax<o)return!1;if(r&&t.hasZ)if(e.zmin<=t.zmin){if(n=t.zmin,e.zmax<n)return!1}else if(n=e.zmin,t.zmax<n)return!1;return!0}function s(e,t){const{points:r,hasZ:o}=t,n=o?i.Qg:i.OQ;for(const t of r)if(n(e,t))return!0;return!1}const a=[0,0],f=[0,0],l=[0,0],h=[0,0],m=[a,f,l,h],u=[[l,a],[a,f],[f,h],[h,l]];function c(e,t){a[0]=e.xmin,a[1]=e.ymax,f[0]=e.xmax,f[1]=e.ymax,l[0]=e.xmin,l[1]=e.ymin,h[0]=e.xmax,h[1]=e.ymin;for(const e of m)if((0,i.rM)(t,e))return!0;for(const r of t.rings){if(!r.length)continue;let t=r[0];if((0,i.OQ)(e,t))return!0;for(let o=1;o<r.length;o++){const n=r[o];if((0,i.OQ)(e,n)||y(t,n,u))return!0;t=n}}return!1}function x(e,t){a[0]=e.xmin,a[1]=e.ymax,f[0]=e.xmax,f[1]=e.ymax,l[0]=e.xmin,l[1]=e.ymin,h[0]=e.xmax,h[1]=e.ymin;const r=t.paths;for(const t of r){if(!r.length)continue;let o=t[0];if((0,i.OQ)(e,o))return!0;for(let r=1;r<t.length;r++){const n=t[r];if((0,i.OQ)(e,n)||y(o,n,u))return!0;o=n}}return!1}const d=[0,0];function p(e){for(let t=0;t<e.length;t++){const r=e[t];for(let i=0;i<r.length-1;i++){const o=r[i],n=r[i+1];for(let r=t+1;r<e.length;r++)for(let t=0;t<e[r].length-1;t++){const i=e[r][t],s=e[r][t+1];if(_(o,n,i,s,d)&&!(d[0]===o[0]&&d[1]===o[1]||d[0]===i[0]&&d[1]===i[1]||d[0]===n[0]&&d[1]===n[1]||d[0]===s[0]&&d[1]===s[1]))return!0}}const i=r.length;if(!(i<=4))for(let e=0;e<i-3;e++){let t=i-1;0===e&&(t=i-2);const o=r[e],n=r[e+1];for(let i=e+2;i<t;i++){const e=r[i],t=r[i+1];if(_(o,n,e,t,d)&&!(d[0]===o[0]&&d[1]===o[1]||d[0]===e[0]&&d[1]===e[1]||d[0]===n[0]&&d[1]===n[1]||d[0]===t[0]&&d[1]===t[1]))return!0}}}return!1}function y(e,t,r){for(let i=0;i<r.length;i++)if(_(e,t,r[i][0],r[i][1]))return!0;return!1}function _(e,t,r,i,o){const[n,s]=e,[a,f]=t,[l,h]=r,[m,u]=i,c=m-l,x=n-l,d=a-n,p=u-h,y=s-h,_=f-s,M=p*d-c*_;if(0===M)return!1;const w=(c*y-p*x)/M,g=(d*y-_*x)/M;return w>=0&&w<=1&&g>=0&&g<=1&&(o&&(o[0]=n+w*(a-n),o[1]=s+w*(f-s)),!0)}function M(e){switch(e){case"esriGeometryEnvelope":case"extent":return n;case"esriGeometryMultipoint":case"multipoint":return s;case"esriGeometryPoint":case"point":return o;case"esriGeometryPolygon":case"polygon":return c;case"esriGeometryPolyline":case"polyline":return x}}},8744:(e,t,r)=>{r.d(t,{WR:()=>W,Zn:()=>k,R_:()=>z,fS:()=>u,C5:()=>c,yW:()=>y,N$:()=>d,sT:()=>x,BZ:()=>g,V2:()=>S,QM:()=>M,JY:()=>b,oR:()=>p,o$:()=>w,ME:()=>C,sS:()=>_,MP:()=>R});var i=r(70586),o=r(19153),n=r(58116);const s={102113:!0,102100:!0,3857:!0,3785:!0},a={102113:!0,102100:!0,3857:!0,3785:!0,4326:!0},f='PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]',l=[-20037508.342788905,20037508.342788905],h=[-20037508.342787,20037508.342787],m={102113:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:l,origin:h,dx:1e-5},102100:{wkTemplate:f,valid:l,origin:h,dx:1e-5},3785:{wkTemplate:'PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]',valid:l,origin:h,dx:1e-5},3857:{wkTemplate:f,valid:l,origin:h,dx:1e-5},4326:{wkTemplate:'GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",{Central_Meridian}],UNIT["Degree",0.0174532925199433]]',altTemplate:'PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",{Central_Meridian}],UNIT["Degrees",111319.491]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104971:{wkTemplate:'GEOGCS["Mars_2000_(Sphere)",DATUM["Mars_2000_(Sphere)",SPHEROID["Mars_2000_(Sphere)",3396190.0,0.0]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5},104905:{wkTemplate:'GEOGCS["GCS_Mars_2000",DATUM["D_Mars_2000",SPHEROID["Mars_2000_IAU_IAG",3396190.0,169.8944472236118]],PRIMEM["Reference_Meridian",0.0],UNIT["Degree",0.0174532925199433]]',valid:[-180,180],origin:[-180,90],dx:1e-5}};function u(e,t){return!(0,i.Wi)(e)&&!(0,i.Wi)(t)&&(e===t||(null!=e.wkid||null!=t.wkid?e.wkid===t.wkid||_(e)&&_(t)||null!=t.latestWkid&&e.wkid===t.latestWkid||null!=e.latestWkid&&t.wkid===e.latestWkid:!(!e.wkt||!t.wkt)&&e.wkt.toUpperCase()===t.wkt.toUpperCase()))}function c(e){return b(e)&&e.wkid?m[e.wkid]:null}function x(e){return!!b(e)&&(e.wkid?null==n.Z[e.wkid]:!!e.wkt&&!!/^\s*GEOGCS/i.test(e.wkt))}function d(e){return!(g(e)||S(e))}function p(e){return b(e)&&4326===e.wkid}function y(e){return b(e)&&4490===e.wkid}function _(e){return b(e)&&null!=e.wkid&&!0===s[e.wkid]}function M(e){return b(e)&&32662===e.wkid}function w(e){return 104971===e||104905===e}function g(e){return b(e)&&null!=e.wkid&&w(e.wkid)}function C(e){return 104903===e}function S(e){return b(e)&&null!=e.wkid&&C(e.wkid)}function R(e){return b(e)&&null!=e.wkid&&!0===a[e.wkid]}function b(e){return(0,i.pC)(e)&&(null!=e.wkid&&e.wkid>=2e3||null!=e.wkt)}const k={wkid:4326,wkt:(0,o.gx)(m[4326].wkTemplate,{Central_Meridian:"0.0"})},z={wkid:102100,latestWkid:3857},W={wkid:32662}},40488:(e,t,r)=>{r.d(t,{Q8:()=>x,$:()=>_,hG:()=>p,iV:()=>d,Sx:()=>M,R6:()=>y,mZ:()=>h});var i=r(22974),o=r(70586),n=r(82971),s=r(68441),a=r(8744);function f(e){return 57.29577951308232*e}function l(e){return.017453292519943*e}function h(e){return Math.PI/2-2*Math.atan(Math.exp(-e/s.sv.radius))}function m(e){return null!=e.wkid||null!=e.wkt}const u=[0,0];function c(e,t,r,i,o){const n=e,s=o;if(s.spatialReference=r,"x"in n&&"x"in s)[s.x,s.y]=t(n.x,n.y,u,i);else if("xmin"in n&&"xmin"in s)[s.xmin,s.ymin]=t(n.xmin,n.ymin,u,i),[s.xmax,s.ymax]=t(n.xmax,n.ymax,u,i);else if("paths"in n&&"paths"in s||"rings"in n&&"rings"in s){const e="paths"in n?n.paths:n.rings,r=[];let o;for(let n=0;n<e.length;n++){const s=e[n];o=[],r.push(o);for(let e=0;e<s.length;e++)o.push(t(s[e][0],s[e][1],[0,0],i)),s[e].length>2&&o[e].push(s[e][2]),s[e].length>3&&o[e].push(s[e][3])}"paths"in s?s.paths=r:s.rings=r}else if("points"in n&&"points"in s){const e=n.points,r=[];for(let o=0;o<e.length;o++)r[o]=t(e[o][0],e[o][1],[0,0],i),e[o].length>2&&r[o].push(e[o][2]),e[o].length>3&&r[o].push(e[o][3]);s.points=r}return o}function x(e,t){const r=e&&(m(e)?e:e.spatialReference),i=t&&(m(t)?t:t.spatialReference);return!(e&&"type"in e&&"mesh"===e.type||t&&"type"in t&&"mesh"===t.type||!r||!i)&&(!!(0,a.fS)(i,r)||(0,a.sS)(i)&&(0,a.oR)(r)||(0,a.sS)(r)&&(0,a.oR)(i))}function d(e,t){if((0,o.Wi)(e))return null;const r=e.spatialReference,s=t&&(m(t)?t:t.spatialReference);return x(r,s)?(0,a.fS)(r,s)?(0,i.d9)(e):(0,a.sS)(s)?c(e,p,n.Z.WebMercator,!1,(0,i.d9)(e)):(0,a.oR)(s)?c(e,y,n.Z.WGS84,!1,(0,i.d9)(e)):null:null}function p(e,t,r=[0,0]){t>89.99999?t=89.99999:t<-89.99999&&(t=-89.99999);const i=l(t);return r[0]=l(e)*s.sv.radius,r[1]=s.sv.halfSemiMajorAxis*Math.log((1+Math.sin(i))/(1-Math.sin(i))),r}function y(e,t,r=[0,0],i=!1){const o=f(e/s.sv.radius);return r[0]=i?o:o-360*Math.floor((o+180)/360),r[1]=f(Math.PI/2-2*Math.atan(Math.exp(-t/s.sv.radius))),r}function _(e,t=!1,r=(0,i.d9)(e)){return c(e,p,n.Z.WebMercator,t,r)}function M(e,t=!1,r=(0,i.d9)(e)){return c(e,y,n.Z.WGS84,t,r)}}}]);
|