@arcgis/core 5.0.0-next.22 → 5.0.0-next.23
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/analysis/DistanceMeasurementAnalysis.d.ts +4 -0
- package/applications/SceneViewer/sceneViewerUtils.d.ts +1 -0
- package/applications/SceneViewer/sceneViewerUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/024104997daea0d74b38.js +1 -0
- package/assets/esri/core/workers/chunks/052ded41dc06c93ec0a7.js +1 -0
- package/assets/esri/core/workers/chunks/05b7720ab6bf0874f27c.js +1 -0
- package/assets/esri/core/workers/chunks/06d52a570d5d44f8c86e.js +1 -0
- package/assets/esri/core/workers/chunks/13b47c217d1e9b61bcbf.js +1 -0
- package/assets/esri/core/workers/chunks/174972870db79189200b.js +1 -0
- package/assets/esri/core/workers/chunks/219876879bc543568bcd.js +1 -0
- package/assets/esri/core/workers/chunks/221691ad0b2912827e14.js +1 -0
- package/assets/esri/core/workers/chunks/231c0b583fa97f2ca675.js +1 -0
- package/assets/esri/core/workers/chunks/274f2b5e6dbc58505142.js +1 -0
- package/assets/esri/core/workers/chunks/2a41283bba2361afa1fd.js +1 -0
- package/assets/esri/core/workers/chunks/2c4218306747f5d15575.js +1 -0
- package/assets/esri/core/workers/chunks/2c7038a7ffaf75344b02.js +1 -0
- package/assets/esri/core/workers/chunks/2de32649f8b0c6404d7c.js +1 -0
- package/assets/esri/core/workers/chunks/{f651c05604eab83aef5f.js → 3266c3392c24ce6cdd83.js} +2 -2
- package/assets/esri/core/workers/chunks/42747a028fc404ac55f4.js +1 -0
- package/assets/esri/core/workers/chunks/443931ac4b4ee5ccb932.js +1 -0
- package/assets/esri/core/workers/chunks/4ab89c990a82c745c0fd.js +1 -0
- package/assets/esri/core/workers/chunks/4b14ee37b5ac50a734f9.js +1 -0
- package/assets/esri/core/workers/chunks/4cda42b94e9cb58dd372.js +1 -0
- package/assets/esri/core/workers/chunks/4ce28c936eaffe57c448.js +1 -0
- package/assets/esri/core/workers/chunks/538ddb267aa328814865.js +1 -0
- package/assets/esri/core/workers/chunks/5b290d18de61789417f9.js +1 -0
- package/assets/esri/core/workers/chunks/5b73c77587772120b209.js +1 -0
- package/assets/esri/core/workers/chunks/60eeeea671a523bb6b15.js +1 -0
- package/assets/esri/core/workers/chunks/6428e2f4fc0a6739cc9e.js +1 -0
- package/assets/esri/core/workers/chunks/69278d08a7d64917f826.js +2 -0
- package/assets/esri/core/workers/chunks/{c1e4e9ab4a543e8b350d.js → 6b8a923fe5f800f703e3.js} +1 -1
- package/assets/esri/core/workers/chunks/6e5d41f51572e3e7cf92.js +1 -0
- package/assets/esri/core/workers/chunks/{7565b382f6b3d2cb46a3.js → 6f3ffc04086bca30e55d.js} +2 -2
- package/assets/esri/core/workers/chunks/70e2804d3710c6af468e.js +2 -0
- package/assets/esri/core/workers/chunks/7749801f30a99b60753e.js +1 -0
- package/assets/esri/core/workers/chunks/{aa78b69219d9a0ef1c54.js → 78fc9a55e620602db1ff.js} +2 -2
- package/assets/esri/core/workers/chunks/800c282a7335b2e6c7cd.js +1 -0
- package/assets/esri/core/workers/chunks/{867a181969eeeb5f1856.js → 838b3ec88785ac7aa31b.js} +1 -1
- package/assets/esri/core/workers/chunks/88aa71f02f43bb069345.js +1 -0
- package/assets/esri/core/workers/chunks/8a8192e6a9fd7a6d8060.js +1 -0
- package/assets/esri/core/workers/chunks/{74a251e7f5be72ca2a5a.js → 8b336a63737e917e50e2.js} +1 -1
- package/assets/esri/core/workers/chunks/8d4cc5f1d07b4aa3aea0.js +1 -0
- package/assets/esri/core/workers/chunks/8f0c53feead87457b7eb.js +1 -0
- package/assets/esri/core/workers/chunks/{4f7b7587d7902355f2a1.js → 93fe46be3c7fe34b5361.js} +1 -1
- package/assets/esri/core/workers/chunks/9461cc37ab3397265270.js +1 -0
- package/assets/esri/core/workers/chunks/9527f1a611557a7af237.js +1 -0
- package/assets/esri/core/workers/chunks/97b01803d0c38541aa08.js +1 -0
- package/assets/esri/core/workers/chunks/9921c8d4487a0f580b93.js +1 -0
- package/assets/esri/core/workers/chunks/9d0f0d055ec25af037e0.js +1 -0
- package/assets/esri/core/workers/chunks/9f0172b83f25ef5f8d40.js +1 -0
- package/assets/esri/core/workers/chunks/9f6d82ce8f680abb79bb.js +1 -0
- package/assets/esri/core/workers/chunks/a4f492aa5444e6381063.js +1 -0
- package/assets/esri/core/workers/chunks/{d6e0528eacee7ea4c1ce.js → a67c3958d76d10c04fa6.js} +2 -2
- package/assets/esri/core/workers/chunks/a7dc1928d46dd6b69868.js +1 -0
- package/assets/esri/core/workers/chunks/b6d21a2b5c1be8bee57c.js +1 -0
- package/assets/esri/core/workers/chunks/{ce16489cf7eb0d78c741.js → be631029691d9a320cb5.js} +2 -2
- package/assets/esri/core/workers/chunks/c35a22becf5c470ff6a2.js +1 -0
- package/assets/esri/core/workers/chunks/c5d6b416baf24e74b9ba.js +1 -0
- package/assets/esri/core/workers/chunks/cade149fa19b4d06dd24.js +1 -0
- package/assets/esri/core/workers/chunks/cd1d9f638af5b63a1292.js +1 -0
- package/assets/esri/core/workers/chunks/d21ae4980741be98f948.js +1 -0
- package/assets/esri/core/workers/chunks/d32aad968798948946e4.js +1 -0
- package/assets/esri/core/workers/chunks/{0f735b0dec173142f3b6.js → d9251c3c85c3ddd242c8.js} +2 -2
- package/assets/esri/core/workers/chunks/e0369ce0d729c9656488.js +1 -0
- package/assets/esri/core/workers/chunks/e2d2a55aedd3ce9cb47b.js +1 -0
- package/assets/esri/core/workers/chunks/e3c8fac5fe638d548e34.js +1 -0
- package/assets/esri/core/workers/chunks/e45940d342b18983a5ef.js +1 -0
- package/assets/esri/core/workers/chunks/{16f841f12b32d8a500a9.js → fa4f788abfbfd3dee882.js} +1 -1
- package/assets/esri/core/workers/chunks/fbbf25629e0dab486887.js +1 -0
- package/config.js +1 -1
- package/interfaces.d.ts +355 -73
- package/kernel.js +1 -1
- package/layers/VideoLayer.js +1 -1
- package/layers/mixins/ArcGISImageService.js +1 -1
- package/layers/support/SubtypeSublayer.js +1 -1
- package/package.json +6 -6
- package/support/revision.js +1 -1
- package/unionTypes.d.ts +0 -1
- package/views/2d/analysis/AreaMeasurement/AreaMeasurementAreaVisualization.js +1 -1
- package/views/2d/analysis/AreaMeasurement/AreaMeasurementController.js +1 -1
- package/views/2d/analysis/AreaMeasurement/utils.js +5 -0
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.d.ts +4 -0
- package/views/2d/analysis/AreaMeasurementAnalysisView2D.js +1 -1
- package/views/2d/analysis/DistanceMeasurementAnalysisView2D.d.ts +4 -0
- package/views/2d/layers/features/layerAdapters/OGCFeatureLayerAdapter.js +1 -1
- package/views/3d/analysis/AreaMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/Dimension/types.d.ts +3 -0
- package/views/3d/analysis/Dimension/types.js +5 -0
- package/views/3d/analysis/DirectLineMeasurement/types.d.ts +4 -0
- package/views/3d/analysis/DirectLineMeasurement/types.js +5 -0
- package/views/3d/analysis/LineOfSight/types.d.ts +3 -0
- package/views/3d/analysis/LineOfSight/types.js +5 -0
- package/views/3d/analysis/Slice/types.d.ts +3 -0
- package/views/3d/analysis/Slice/types.js +5 -0
- package/views/3d/analysis/Viewshed/types.d.ts +3 -0
- package/views/3d/analysis/Viewshed/types.js +5 -0
- package/views/3d/analysis/VolumeMeasurement/types.d.ts +3 -0
- package/views/3d/analysis/VolumeMeasurement/types.js +5 -0
- package/views/3d/support/popupHitTest.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/Tile.js +1 -1
- package/views/VideoView.js +1 -1
- package/views/analysis/AreaMeasurement/types.d.ts +4 -0
- package/views/analysis/AreaMeasurement/types.js +5 -0
- package/views/analysis/DistanceMeasurement/types.d.ts +4 -0
- package/views/analysis/DistanceMeasurement/types.js +5 -0
- package/views/analysis/types.d.ts +3 -0
- package/views/analysis/types.js +5 -0
- package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/FeatureTable/FieldColumn.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/VideoPlayer/VideoPlayerViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/03ed15ba64f1679b3d48.js +0 -1
- package/assets/esri/core/workers/chunks/04bac7bb3f794b33e2e4.js +0 -1
- package/assets/esri/core/workers/chunks/092d72caf3269e696d1c.js +0 -1
- package/assets/esri/core/workers/chunks/1466ab7bd500ba7a4025.js +0 -1
- package/assets/esri/core/workers/chunks/1beee2932154db83f79d.js +0 -1
- package/assets/esri/core/workers/chunks/1cae81089b50b7e43d70.js +0 -1
- package/assets/esri/core/workers/chunks/1fcd4d90a99e85d35dd2.js +0 -1
- package/assets/esri/core/workers/chunks/21d7f42c2033de987b97.js +0 -1
- package/assets/esri/core/workers/chunks/24ff9dad3fb64ab54970.js +0 -1
- package/assets/esri/core/workers/chunks/26282c67d2b066a76881.js +0 -1
- package/assets/esri/core/workers/chunks/2d3e7b41b225d905c7f4.js +0 -1
- package/assets/esri/core/workers/chunks/30a631c39c9372797b92.js +0 -1
- package/assets/esri/core/workers/chunks/388873be1dca91ccbc9d.js +0 -1
- package/assets/esri/core/workers/chunks/3a457e718a901a45902e.js +0 -2
- package/assets/esri/core/workers/chunks/44e08b49898a8fcbe031.js +0 -1
- package/assets/esri/core/workers/chunks/4731f507149940dde534.js +0 -1
- package/assets/esri/core/workers/chunks/4d0e099f34639cda3a9b.js +0 -1
- package/assets/esri/core/workers/chunks/5a6b487b70ca85a45f57.js +0 -1
- package/assets/esri/core/workers/chunks/5b5f1f22de985dc6bbc0.js +0 -1
- package/assets/esri/core/workers/chunks/5c82b17f9990e6cd7d0b.js +0 -1
- package/assets/esri/core/workers/chunks/61bb39597ccf89f99a72.js +0 -1
- package/assets/esri/core/workers/chunks/67bc5b87fd61095689d4.js +0 -1
- package/assets/esri/core/workers/chunks/6bf5b3c7129aa14b4fc6.js +0 -1
- package/assets/esri/core/workers/chunks/755e2ecd20b6bd1909be.js +0 -1
- package/assets/esri/core/workers/chunks/768e1ad2f06fdc9d5ef8.js +0 -1
- package/assets/esri/core/workers/chunks/7a957f2bca1438732338.js +0 -1
- package/assets/esri/core/workers/chunks/809a9055da28c8fa58b0.js +0 -1
- package/assets/esri/core/workers/chunks/8bbae8ac586e5c0819d2.js +0 -1
- package/assets/esri/core/workers/chunks/8cd03b54b2859b52fb81.js +0 -1
- package/assets/esri/core/workers/chunks/8f85039d76f03fbdd27a.js +0 -1
- package/assets/esri/core/workers/chunks/93f706acaa812bb3ac70.js +0 -1
- package/assets/esri/core/workers/chunks/976dd80e318266ab4c2c.js +0 -1
- package/assets/esri/core/workers/chunks/9a20be3b02c9d6349b8d.js +0 -1
- package/assets/esri/core/workers/chunks/9dae3e4e34096b3d82d7.js +0 -1
- package/assets/esri/core/workers/chunks/9e5e05d6430712b0b1bc.js +0 -1
- package/assets/esri/core/workers/chunks/a0b0fe0d99df20fa9076.js +0 -1
- package/assets/esri/core/workers/chunks/a987731d1b5449d8fb0c.js +0 -1
- package/assets/esri/core/workers/chunks/ad9606164c694af0c61f.js +0 -1
- package/assets/esri/core/workers/chunks/b0e52c3775f05aaf7ff6.js +0 -1
- package/assets/esri/core/workers/chunks/bfd3d81e8e148be99686.js +0 -1
- package/assets/esri/core/workers/chunks/cbc5131723cbe29cb88f.js +0 -1
- package/assets/esri/core/workers/chunks/ce00509970e7e6eacbdf.js +0 -1
- package/assets/esri/core/workers/chunks/cec95ed69c86758d95ec.js +0 -1
- package/assets/esri/core/workers/chunks/d391bfbaf0e790cd10d6.js +0 -2
- package/assets/esri/core/workers/chunks/d622fb553babd515a21f.js +0 -1
- package/assets/esri/core/workers/chunks/ddb55435adeda1e2a1bf.js +0 -1
- package/assets/esri/core/workers/chunks/e5a9c37de44508e9733b.js +0 -1
- package/assets/esri/core/workers/chunks/e5b42ddec8e424602e03.js +0 -1
- package/assets/esri/core/workers/chunks/eaabb5b010b7bb850b0a.js +0 -1
- package/assets/esri/core/workers/chunks/eafc4da265469e9e5e0b.js +0 -1
- package/assets/esri/core/workers/chunks/eb1b582a73111c8556c1.js +0 -1
- package/assets/esri/core/workers/chunks/f594df2f5ce6ca41a254.js +0 -1
- package/assets/esri/core/workers/chunks/f64037a88ab03662dc2a.js +0 -1
- package/assets/esri/core/workers/chunks/f888849b0236cc0d6f50.js +0 -1
- package/assets/esri/core/workers/chunks/fbcc4cbb221c0fbb90d4.js +0 -1
- package/views/2d/analysis/AreaMeasurement/AreaMeasurementLabelVisualization.js +0 -5
- /package/assets/esri/core/workers/chunks/{0f735b0dec173142f3b6.js.LICENSE.txt → 3266c3392c24ce6cdd83.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d391bfbaf0e790cd10d6.js.LICENSE.txt → 69278d08a7d64917f826.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{7565b382f6b3d2cb46a3.js.LICENSE.txt → 6f3ffc04086bca30e55d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{3a457e718a901a45902e.js.LICENSE.txt → 70e2804d3710c6af468e.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{aa78b69219d9a0ef1c54.js.LICENSE.txt → 78fc9a55e620602db1ff.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{d6e0528eacee7ea4c1ce.js.LICENSE.txt → a67c3958d76d10c04fa6.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ce16489cf7eb0d78c741.js.LICENSE.txt → be631029691d9a320cb5.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{f651c05604eab83aef5f.js.LICENSE.txt → d9251c3c85c3ddd242c8.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6154],{56154:(t,e,r)=>{r.d(e,{default:()=>i});var n,i=(n="undefined"!=typeof document?document.currentScript?.src:void 0,async function(t={}){var e,r,i=t,a=new Promise((t,n)=>{e=t,r=n}),o="object"==typeof window,s="undefined"!=typeof WorkerGlobalScope;"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&process.type;var u,c,f=Object.assign({},i),p=(t,e)=>{throw e},l="";(o||s)&&(s?l=self.location.href:"undefined"!=typeof document&&document.currentScript&&(l=document.currentScript.src),n&&(l=n),l=l.startsWith("blob:")?"":l.slice(0,l.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(c=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),u=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)}),i.print||console.log.bind(console);var h=i.printErr||console.error.bind(console);Object.assign(i,f),f=null,i.arguments&&i.arguments,i.thisProgram&&i.thisProgram;var d,m,y,w,g,v=i.wasmBinary,b=!1;function A(){var t=d.buffer;i.HEAP8=y=new Int8Array(t),i.HEAP16=new Int16Array(t),i.HEAPU8=w=new Uint8Array(t),i.HEAPU16=new Uint16Array(t),i.HEAP32=new Int32Array(t),i.HEAPU32=g=new Uint32Array(t),i.HEAPF32=new Float32Array(t),i.HEAPF64=new Float64Array(t),i.HEAP64=new BigInt64Array(t),i.HEAPU64=new BigUint64Array(t)}var R,_=0,E=null;function S(t){i.onAbort?.(t),h(t="Aborted("+t+")"),b=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw r(e),e}async function P(t,e,r){if(!t&&"function"==typeof WebAssembly.instantiateStreaming)try{var n=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(n,r)}catch(t){h(`wasm streaming compile failed: ${t}`),h("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var r=await async function(t){if(!v)try{var e=await u(t);return new Uint8Array(e)}catch{}return function(t){if(t==R&&v)return new Uint8Array(v);if(c)return c(t);throw"both async and sync fetching of the wasm failed"}(t)}(t);return await WebAssembly.instantiate(r,e)}catch(t){h(`failed to asynchronously prepare wasm: ${t}`),S(t)}}(e,r)}class I{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}}var U=t=>{for(;t.length>0;)t.shift()(i)},C=[],T=t=>C.unshift(t),x=[],H=t=>x.unshift(t),j=i.noExitRuntime||!0,k="undefined"!=typeof TextDecoder?new TextDecoder:void 0,F=(t,e)=>t?((t,e=0,r=NaN)=>{for(var n=e+r,i=e;t[i]&&!(i>=n);)++i;if(i-e>16&&t.buffer&&k)return k.decode(t.subarray(e,i));for(var a="";e<i;){var o=t[e++];if(128&o){var s=63&t[e++];if(192!=(224&o)){var u=63&t[e++];if((o=224==(240&o)?(15&o)<<12|s<<6|u:(7&o)<<18|s<<12|u<<6|63&t[e++])<65536)a+=String.fromCharCode(o);else{var c=o-65536;a+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else a+=String.fromCharCode((31&o)<<6|s)}else a+=String.fromCharCode(o)}return a})(w,t,e):"";class W{constructor(t){this.excPtr=t,this.ptr=t-24}set_type(t){g[this.ptr+4>>2]=t}get_type(){return g[this.ptr+4>>2]}set_destructor(t){g[this.ptr+8>>2]=t}get_destructor(){return g[this.ptr+8>>2]}set_caught(t){t=t?1:0,y[this.ptr+12]=t}get_caught(){return 0!=y[this.ptr+12]}set_rethrown(t){t=t?1:0,y[this.ptr+13]=t}get_rethrown(){return 0!=y[this.ptr+13]}init(t,e){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(e)}set_adjusted_ptr(t){g[this.ptr+16>>2]=t}get_adjusted_ptr(){return g[this.ptr+16>>2]}}var B=0,M={},D=t=>{if(t instanceof I||"unwind"==t)return m;p(0,t)},O=()=>j||B>0,$=t=>{m=t,O()||(i.onExit?.(t),b=!0),p(0,new I(t))},q=(t,e)=>Math.ceil(t/e)*e,G=t=>{var e=(t-d.buffer.byteLength+65535)/65536|0;try{return d.grow(e),A(),1}catch(t){}},L={a:(t,e,r,n)=>S(`Assertion failed: ${F(t)}, at: `+[e?F(e):"unknown filename",r,n?F(n):"unknown function"]),b:(t,e,r)=>{throw new W(t).init(e,r),t},f:()=>S(""),d:()=>{j=!1,B=0},e:(t,e)=>{if(M[t]&&(clearTimeout(M[t].id),delete M[t]),!e)return 0;var r=setTimeout(()=>{delete M[t],(t=>{if(!b)try{t(),(()=>{if(!O())try{(t=>{m=t,$(t)})(m)}catch(t){D(t)}})()}catch(t){D(t)}})(()=>z(t,performance.now()))},e);return M[t]={id:r,timeout_ms:e},0},g:t=>{var e=w.length,r=2147483648;if((t>>>=0)>r)return!1;for(var n=1;n<=4;n*=2){var i=e*(1+.2/n);i=Math.min(i,t+100663296);var a=Math.min(r,q(Math.max(t,i),65536));if(G(a))return!0}return!1},c:$},N=await async function(){function t(t,e){return N=t.exports,d=N.h,A(),function(){if(_--,i.monitorRunDependencies?.(_),0==_&&E){var t=E;E=null,t()}}(),N}_++,i.monitorRunDependencies?.(_);var e={a:L};if(i.instantiateWasm)return new Promise((r,n)=>{i.instantiateWasm(e,(e,n)=>{t(e),r(e.exports)})});R??=i.locateFile?function(t){return i.locateFile?i.locateFile(t,l):l+t}("qb3-wasm.wasm"):new URL("qb3-wasm.wasm","").href;try{return function(e){return t(e.instance)}(await P(v,R,e))}catch(t){return r(t),Promise.reject(t)}}();N.i,i._GetInfo=N.j,i._decode=N.k;var z=N.m;if(i._malloc=N.n,i._free=N.o,i.UTF8ToString=F,i.writeArrayToMemory=(t,e)=>{y.set(t,e)},i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return function t(){function r(){i.calledRun=!0,b||(N.i(),e(i),i.onRuntimeInitialized?.(),function(){if(i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;)T(i.postRun.shift());U(C)}())}_>0?E=t:(function(){if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)H(i.preRun.shift());U(x)}(),_>0?E=t:i.setStatus?(i.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>i.setStatus(""),1),r()},1)):r())}(),a})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9159],{5808:(e,t,n)=>{n.d(t,{O:()=>o});const o={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},24988:(e,t,n)=>{n.d(t,{Hh:()=>l,fz:()=>c,g7:()=>m,s1:()=>s,zo:()=>a});var o=n(76061),r=n(83290);let i;function s(){return!!i&&(0,r.i)()}async function l(){if(!s()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(7444)]).then(n.bind(n,37444)),Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(5756)]).then(n.bind(n,15756)).then(({injectPe:e})=>e),(0,r.l)()]);i=new e.OperatorGeodesicBuffer,t(r.p)}}function m(e,t,n,o,r){return i.execute(e,t,n,o,r,!1,null)}function a(e,t,n,r,s,l){const m=i.executeMany(new o.S(e),t,n,r,s,!1,l,null);return Array.from(m)}function c(){return i.supportsCurves()}},49159:(e,t,n)=>{n.d(t,{execute:()=>c,load:()=>a}),n(4576);var o=n(86211),r=n(24988),i=n(5808);let s,l,m;async function a(){if(!s||!(0,r.s1)()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(3299)]).then(n.bind(n,83299)),(0,r.Hh)()]);s=e.fromGeometries,l=e.fromGeometry,m=e.toGeometry}}function c(e,t,n={}){let{curveType:s="geodesic",maxDeviation:a=NaN,unit:c}=n;c&&(t=(0,o.oU)(t,c,"meters"),a&&(a=(0,o.oU)(a,c,"meters")));const u=l(e),h=u.getSpatialReference();return m((0,r.g7)(u.getGeometry(),h,i.O[s],t,a),h)}},76061:(e,t,n)=>{n.d(t,{G:()=>o,S:()=>r});class o{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends o{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9321],{49321:(e,r,t)=>{t.d(r,{default:()=>a});var n,a=(n="undefined"!=typeof document?document.currentScript?.src:void 0,function(e={}){var r,t,a=Object.assign({},e),o=new Promise((e,n)=>{r=e,t=n}),i=Object.assign({},a),s="";"undefined"!=typeof document&&document.currentScript&&(s=document.currentScript.src),n&&(s=n),s=s.startsWith("blob:")?"":s.substr(0,s.replace(/[?#].*/,"").lastIndexOf("/")+1);var u,c,l=a.print||console.log.bind(console),p=a.printErr||console.error.bind(console);Object.assign(a,i),i=null,a.arguments&&a.arguments,a.thisProgram&&a.thisProgram,a.quit&&a.quit,a.wasmBinary&&(u=a.wasmBinary);var h,d,f,v,y,m,g,$,w=!1;function T(){var e=c.buffer;a.HEAP8=h=new Int8Array(e),a.HEAP16=f=new Int16Array(e),a.HEAPU8=d=new Uint8Array(e),a.HEAPU16=v=new Uint16Array(e),a.HEAP32=y=new Int32Array(e),a.HEAPU32=m=new Uint32Array(e),a.HEAPF32=g=new Float32Array(e),a.HEAPF64=$=new Float64Array(e)}var b=[],C=[],P=[];function A(e){b.unshift(e)}function W(e){P.unshift(e)}var _=0,F=null;function k(e){a.onAbort?.(e),p(e="Aborted("+e+")"),w=!0,e+=". Build with -sASSERTIONS for more info.";var r=new WebAssembly.RuntimeError(e);throw t(r),r}var S,O=e=>e.startsWith("data:application/octet-stream;base64,");function j(e){if(e==S&&u)return new Uint8Array(u);throw"both async and sync fetching of the wasm failed"}function E(e,r,t){return function(e){return u||"function"!=typeof fetch?Promise.resolve().then(()=>j(e)):fetch(e,{credentials:"same-origin"}).then(r=>{if(!r.ok)throw`failed to load wasm binary file at '${e}'`;return r.arrayBuffer()}).catch(()=>j(e))}(e).then(e=>WebAssembly.instantiate(e,r)).then(t,e=>{p(`failed to asynchronously prepare wasm: ${e}`),k(e)})}var R=e=>{for(;e.length>0;)e.shift()(a)};a.noExitRuntime;class D{constructor(e){this.excPtr=e,this.ptr=e-24}set_type(e){m[this.ptr+4>>2]=e}get_type(){return m[this.ptr+4>>2]}set_destructor(e){m[this.ptr+8>>2]=e}get_destructor(){return m[this.ptr+8>>2]}set_caught(e){e=e?1:0,h[this.ptr+12]=e}get_caught(){return 0!=h[this.ptr+12]}set_rethrown(e){e=e?1:0,h[this.ptr+13]=e}get_rethrown(){return 0!=h[this.ptr+13]}init(e,r){this.set_adjusted_ptr(0),this.set_type(e),this.set_destructor(r)}set_adjusted_ptr(e){m[this.ptr+16>>2]=e}get_adjusted_ptr(){return m[this.ptr+16>>2]}get_exception_ptr(){if(hr(this.get_type()))return m[this.excPtr>>2];var e=this.get_adjusted_ptr();return 0!==e?e:this.excPtr}}var x={},I=e=>{for(;e.length;){var r=e.pop();e.pop()(r)}};function V(e){return this.fromWireType(m[e>>2])}var H,U,B,N={},M={},z={},q=e=>{throw new H(e)},G=(e,r,t)=>{function n(r){var n=t(r);n.length!==e.length&&q("Mismatched type converter count");for(var a=0;a<e.length;++a)K(e[a],n[a])}e.forEach(function(e){z[e]=r});var a=new Array(r.length),o=[],i=0;r.forEach((e,r)=>{M.hasOwnProperty(e)?a[r]=M[e]:(o.push(e),N.hasOwnProperty(e)||(N[e]=[]),N[e].push(()=>{a[r]=M[e],++i===o.length&&n(a)}))}),0===o.length&&n(a)},L=e=>{for(var r="",t=e;d[t];)r+=U[d[t++]];return r},J=e=>{throw new B(e)};function K(e,r,t={}){if(!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");return function(e,r,t={}){var n=r.name;if(e||J(`type "${n}" must have a positive integer typeid pointer`),M.hasOwnProperty(e)){if(t.ignoreDuplicateRegistrations)return;J(`Cannot register type '${n}' twice`)}if(M[e]=r,delete z[e],N.hasOwnProperty(e)){var a=N[e];delete N[e],a.forEach(e=>e())}}(e,r,t)}var Q,Z=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),X=e=>{J(function(e){return e.$$.ptrType.registeredClass.name}(e)+" instance already deleted")},Y=!1,ee=e=>{},re=e=>{e.count.value-=1,0===e.count.value&&(e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)})(e)},te=(e,r,t)=>{if(r===t)return e;if(void 0===t.baseClass)return null;var n=te(e,r,t.baseClass);return null===n?null:t.downcast(n)},ne={},ae=[],oe=()=>{for(;ae.length;){var e=ae.pop();e.$$.deleteScheduled=!1,e.delete()}},ie={},se=(e,r)=>(r.ptrType&&r.ptr||q("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!=!!r.smartPtr&&q("Both smartPtrType and smartPtr must be specified"),r.count={value:1},ue(Object.create(e,{$$:{value:r,writable:!0}})));var ue=e=>"undefined"==typeof FinalizationRegistry?(ue=e=>e,e):(Y=new FinalizationRegistry(e=>{re(e.$$)}),ue=e=>{var r=e.$$;if(r.smartPtr){var t={$$:r};Y.register(e,t,e)}return e},ee=e=>Y.unregister(e),ue(e));function ce(){}var le=(e,r)=>Object.defineProperty(r,"name",{value:e}),pe=(e,r,t)=>{if(void 0===e[r].overloadTable){var n=e[r];e[r]=function(...n){return e[r].overloadTable.hasOwnProperty(n.length)||J(`Function '${t}' called with an invalid number of arguments (${n.length}) - expects one of (${e[r].overloadTable})!`),e[r].overloadTable[n.length].apply(this,n)},e[r].overloadTable=[],e[r].overloadTable[n.argCount]=n}},he=(e,r,t)=>{a.hasOwnProperty(e)?((void 0===t||void 0!==a[e].overloadTable&&void 0!==a[e].overloadTable[t])&&J(`Cannot register public name '${e}' twice`),pe(a,e,e),a.hasOwnProperty(t)&&J(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`),a[e].overloadTable[t]=r):(a[e]=r,void 0!==t&&(a[e].numArguments=t))};function de(e,r,t,n,a,o,i,s){this.name=e,this.constructor=r,this.instancePrototype=t,this.rawDestructor=n,this.baseClass=a,this.getActualType=o,this.upcast=i,this.downcast=s,this.pureVirtualFunctions=[]}var fe=(e,r,t)=>{for(;r!==t;)r.upcast||J(`Expected null or instance of ${t.name}, got an instance of ${r.name}`),e=r.upcast(e),r=r.baseClass;return e};function ve(e,r){if(null===r)return this.isReference&&J(`null is not a valid ${this.name}`),0;r.$$||J(`Cannot pass "${He(r)}" as a ${this.name}`),r.$$.ptr||J(`Cannot pass deleted object as a pointer of type ${this.name}`);var t=r.$$.ptrType.registeredClass;return fe(r.$$.ptr,t,this.registeredClass)}function ye(e,r){var t;if(null===r)return this.isReference&&J(`null is not a valid ${this.name}`),this.isSmartPointer?(t=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,t),t):0;r&&r.$$||J(`Cannot pass "${He(r)}" as a ${this.name}`),r.$$.ptr||J(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&r.$$.ptrType.isConst&&J(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);var n=r.$$.ptrType.registeredClass;if(t=fe(r.$$.ptr,n,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&J("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?t=r.$$.smartPtr:J(`Cannot convert argument of type ${r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:t=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)t=r.$$.smartPtr;else{var a=r.clone();t=this.rawShare(t,De.toHandle(()=>a.delete())),null!==e&&e.push(this.rawDestructor,t)}break;default:J("Unsupporting sharing policy")}return t}function me(e,r){if(null===r)return this.isReference&&J(`null is not a valid ${this.name}`),0;r.$$||J(`Cannot pass "${He(r)}" as a ${this.name}`),r.$$.ptr||J(`Cannot pass deleted object as a pointer of type ${this.name}`),r.$$.ptrType.isConst&&J(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);var t=r.$$.ptrType.registeredClass;return fe(r.$$.ptr,t,this.registeredClass)}function ge(e,r,t,n,a,o,i,s,u,c,l){this.name=e,this.registeredClass=r,this.isReference=t,this.isConst=n,this.isSmartPointer=a,this.pointeeType=o,this.sharingPolicy=i,this.rawGetPointee=s,this.rawConstructor=u,this.rawShare=c,this.rawDestructor=l,a||void 0!==r.baseClass?this.toWireType=ye:n?(this.toWireType=ve,this.destructorFunction=null):(this.toWireType=me,this.destructorFunction=null)}var $e,we,Te=(e,r,t)=>{a.hasOwnProperty(e)||q("Replacing nonexistent public symbol"),void 0!==a[e].overloadTable&&void 0!==t?a[e].overloadTable[t]=r:(a[e]=r,a[e].argCount=t)},be=[],Ce=e=>{var r=be[e];return r||(e>=be.length&&(be.length=e+1),be[e]=r=$e.get(e)),r},Pe=(e,r)=>{var t=(e=L(e)).includes("j")?((e,r)=>(...t)=>((e,r,t=[])=>e.includes("j")?((e,r,t)=>(e=e.replace(/p/g,"i"),(0,a["dynCall_"+e])(r,...t)))(e,r,t):Ce(r)(...t))(e,r,t))(e,r):Ce(r);return"function"!=typeof t&&J(`unknown function pointer with signature ${e}: ${r}`),t},Ae=e=>{var r=cr(e),t=L(r);return pr(r),t},We=(e,r)=>{var t=[],n={};throw r.forEach(function e(r){n[r]||M[r]||(z[r]?z[r].forEach(e):(t.push(r),n[r]=!0))}),new we(`${e}: `+t.map(Ae).join([", "]))},_e=(e,r)=>{for(var t=[],n=0;n<e;n++)t.push(m[r+4*n>>2]);return t};function Fe(e){for(var r=1;r<e.length;++r)if(null!==e[r]&&void 0===e[r].destructorFunction)return!0;return!1}function ke(e,r){if(!(e instanceof Function))throw new TypeError(`new_ called with constructor type ${typeof e} which is not a function`);var t=le(e.name||"unknownFunctionName",function(){});t.prototype=e.prototype;var n=new t,a=e.apply(n,r);return a instanceof Object?a:n}function Se(e,r,t,n,a,o){var i=r.length;i<2&&J("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==r[1]&&null!==t,u=Fe(r),c="void"!==r[0].name,l=[e,J,n,a,I,r[0],r[1]],p=0;p<i-2;++p)l.push(r[p+2]);if(!u)for(p=s?1:2;p<r.length;++p)null!==r[p].destructorFunction&&l.push(r[p].destructorFunction);let[h,d]=function(e,r,t,n){for(var a=Fe(e),o=e.length,i="",s="",u=0;u<o-2;++u)i+=(0!==u?", ":"")+"arg"+u,s+=(0!==u?", ":"")+"arg"+u+"Wired";var c=`\n return function (${i}) {\n if (arguments.length !== ${o-2}) {\n throwBindingError('function ' + humanName + ' called with ' + arguments.length + ' arguments, expected ${o-2}');\n }`;a&&(c+="var destructors = [];\n");var l=a?"destructors":"null",p=["humanName","throwBindingError","invoker","fn","runDestructors","retType","classParam"];for(r&&(c+="var thisWired = classParam['toWireType']("+l+", this);\n"),u=0;u<o-2;++u)c+="var arg"+u+"Wired = argType"+u+"['toWireType']("+l+", arg"+u+");\n",p.push("argType"+u);if(r&&(s="thisWired"+(s.length>0?", ":"")+s),c+=(t||n?"var rv = ":"")+"invoker(fn"+(s.length>0?", ":"")+s+");\n",a)c+="runDestructors(destructors);\n";else for(u=r?1:2;u<e.length;++u){var h=1===u?"thisWired":"arg"+(u-2)+"Wired";null!==e[u].destructorFunction&&(c+=`${h}_dtor(${h});\n`,p.push(`${h}_dtor`))}return t&&(c+="var ret = retType['fromWireType'](rv);\nreturn ret;\n"),[p,c+="}\n"]}(r,s,c,o);h.push(d);var f=ke(Function,h)(...l);return le(e,f)}var Oe=e=>{const r=(e=e.trim()).indexOf("(");return-1!==r?e.substr(0,r):e},je=[],Ee=[],Re=e=>{e>9&&0===--Ee[e+1]&&(Ee[e]=void 0,je.push(e))},De={toValue:e=>(e||J("Cannot use deleted val. handle = "+e),Ee[e]),toHandle:e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:{const r=je.pop()||Ee.length;return Ee[r]=e,Ee[r+1]=1,r}}}},xe={name:"emscripten::val",fromWireType:e=>{var r=De.toValue(e);return Re(e),r},toWireType:(e,r)=>De.toHandle(r),argPackAdvance:8,readValueFromPointer:V,destructorFunction:null},Ie=(e,r,t)=>{switch(r){case 1:return t?function(e){return this.fromWireType(h[e])}:function(e){return this.fromWireType(d[e])};case 2:return t?function(e){return this.fromWireType(f[e>>1])}:function(e){return this.fromWireType(v[e>>1])};case 4:return t?function(e){return this.fromWireType(y[e>>2])}:function(e){return this.fromWireType(m[e>>2])};default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},Ve=(e,r)=>{var t=M[e];return void 0===t&&J(`${r} has unknown type ${Ae(e)}`),t},He=e=>{if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e},Ue=(e,r)=>{switch(r){case 4:return function(e){return this.fromWireType(g[e>>2])};case 8:return function(e){return this.fromWireType($[e>>3])};default:throw new TypeError(`invalid float width (${r}): ${e}`)}},Be=(e,r,t)=>{switch(r){case 1:return t?e=>h[e]:e=>d[e];case 2:return t?e=>f[e>>1]:e=>v[e>>1];case 4:return t?e=>y[e>>2]:e=>m[e>>2];default:throw new TypeError(`invalid integer width (${r}): ${e}`)}},Ne="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,Me=(e,r,t)=>{for(var n=r+t,a=r;e[a]&&!(a>=n);)++a;if(a-r>16&&e.buffer&&Ne)return Ne.decode(e.subarray(r,a));for(var o="";r<a;){var i=e[r++];if(128&i){var s=63&e[r++];if(192!=(224&i)){var u=63&e[r++];if((i=224==(240&i)?(15&i)<<12|s<<6|u:(7&i)<<18|s<<12|u<<6|63&e[r++])<65536)o+=String.fromCharCode(i);else{var c=i-65536;o+=String.fromCharCode(55296|c>>10,56320|1023&c)}}else o+=String.fromCharCode((31&i)<<6|s)}else o+=String.fromCharCode(i)}return o},ze=(e,r)=>e?Me(d,e,r):"",qe="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,Ge=(e,r)=>{for(var t=e,n=t>>1,a=n+r/2;!(n>=a)&&v[n];)++n;if((t=n<<1)-e>32&&qe)return qe.decode(d.subarray(e,t));for(var o="",i=0;!(i>=r/2);++i){var s=f[e+2*i>>1];if(0==s)break;o+=String.fromCharCode(s)}return o},Le=(e,r,t)=>{if(t??=2147483647,t<2)return 0;for(var n=r,a=(t-=2)<2*e.length?t/2:e.length,o=0;o<a;++o){var i=e.charCodeAt(o);f[r>>1]=i,r+=2}return f[r>>1]=0,r-n},Je=e=>2*e.length,Ke=(e,r)=>{for(var t=0,n="";!(t>=r/4);){var a=y[e+4*t>>2];if(0==a)break;if(++t,a>=65536){var o=a-65536;n+=String.fromCharCode(55296|o>>10,56320|1023&o)}else n+=String.fromCharCode(a)}return n},Qe=(e,r,t)=>{if(t??=2147483647,t<4)return 0;for(var n=r,a=n+t-4,o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++o)),y[r>>2]=i,(r+=4)+4>a)break}return y[r>>2]=0,r-n},Ze=e=>{for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n>=55296&&n<=57343&&++t,r+=4}return r},Xe=(e,r,t)=>{var n=[],a=e.toWireType(n,t);return n.length&&(m[r>>2]=De.toHandle(n)),a},Ye=[],er={},rr=e=>{var r=er[e];return void 0===r?L(e):r},tr=()=>"object"==typeof globalThis?globalThis:Function("return this")(),nr=e=>{var r=(e-c.buffer.byteLength+65535)/65536;try{return c.grow(r),T(),1}catch(e){}},ar=[null,[],[]],or=(e,r)=>{var t=ar[e];0===r||10===r?((1===e?l:p)(Me(t,0)),t.length=0):t.push(r)};H=a.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},(()=>{for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);U=e})(),B=a.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},Object.assign(ce.prototype,{isAliasOf(e){if(!(this instanceof ce))return!1;if(!(e instanceof ce))return!1;var r=this.$$.ptrType.registeredClass,t=this.$$.ptr;e.$$=e.$$;for(var n=e.$$.ptrType.registeredClass,a=e.$$.ptr;r.baseClass;)t=r.upcast(t),r=r.baseClass;for(;n.baseClass;)a=n.upcast(a),n=n.baseClass;return r===n&&t===a},clone(){if(this.$$.ptr||X(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=ue(Object.create(Object.getPrototypeOf(this),{$$:{value:Z(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||X(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&J("Object already scheduled for deletion"),ee(this),re(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||X(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&J("Object already scheduled for deletion"),ae.push(this),1===ae.length&&Q&&Q(oe),this.$$.deleteScheduled=!0,this}}),a.getInheritedInstanceCount=()=>Object.keys(ie).length,a.getLiveInheritedInstances=()=>{var e=[];for(var r in ie)ie.hasOwnProperty(r)&&e.push(ie[r]);return e},a.flushPendingDeletes=oe,a.setDelayFunction=e=>{Q=e,ae.length&&Q&&Q(oe)},Object.assign(ge.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){this.rawDestructor?.(e)},argPackAdvance:8,readValueFromPointer:V,fromWireType:function(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var t=((e,r)=>(r=((e,r)=>{for(void 0===r&&J("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r})(e,r),ie[r]))(this.registeredClass,r);if(void 0!==t){if(0===t.$$.count.value)return t.$$.ptr=r,t.$$.smartPtr=e,t.clone();var n=t.clone();return this.destructor(e),n}function a(){return this.isSmartPointer?se(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}):se(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var o,i=this.registeredClass.getActualType(r),s=ne[i];if(!s)return a.call(this);o=this.isConst?s.constPointerType:s.pointerType;var u=te(r,this.registeredClass,o.registeredClass);return null===u?a.call(this):this.isSmartPointer?se(o.registeredClass.instancePrototype,{ptrType:o,ptr:u,smartPtrType:this,smartPtr:e}):se(o.registeredClass.instancePrototype,{ptrType:o,ptr:u})}}),we=a.UnboundTypeError=((e,r)=>{var t=le(r,function(e){this.name=r,this.message=e;var t=new Error(e).stack;void 0!==t&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},t})(Error,"UnboundTypeError"),Ee.push(0,1,void 0,1,null,1,!0,1,!1,1),a.count_emval_handles=()=>Ee.length/2-5-je.length;var ir,sr={K:(e,r,t)=>{throw new D(e).init(r,t),e},G:()=>{k("")},s:e=>{var r=x[e];delete x[e];var t=r.rawConstructor,n=r.rawDestructor,a=r.fields,o=a.map(e=>e.getterReturnType).concat(a.map(e=>e.setterArgumentType));G([e],o,e=>{var o={};return a.forEach((r,t)=>{var n=r.fieldName,i=e[t],s=r.getter,u=r.getterContext,c=e[t+a.length],l=r.setter,p=r.setterContext;o[n]={read:e=>i.fromWireType(s(u,e)),write:(e,r)=>{var t=[];l(p,e,c.toWireType(t,r)),I(t)}}}),[{name:r.name,fromWireType:e=>{var r={};for(var t in o)r[t]=o[t].read(e);return n(e),r},toWireType:(e,r)=>{for(var a in o)if(!(a in r))throw new TypeError(`Missing field: "${a}"`);var i=t();for(a in o)o[a].write(i,r[a]);return null!==e&&e.push(n,i),i},argPackAdvance:8,readValueFromPointer:V,destructorFunction:n}]})},C:(e,r,t,n,a)=>{},I:(e,r,t,n)=>{K(e,{name:r=L(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?t:n},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(d[e])},destructorFunction:null})},w:(e,r,t,n,a,o,i,s,u,c,l,p,h)=>{l=L(l),o=Pe(a,o),s&&=Pe(i,s),c&&=Pe(u,c),h=Pe(p,h);var d=(e=>{if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=48&&r<=57?`_${e}`:e})(l);he(d,function(){We(`Cannot construct ${l} due to unbound types`,[n])}),G([e,r,t],n?[n]:[],r=>{var t,a;r=r[0],a=n?(t=r.registeredClass).instancePrototype:ce.prototype;var i=le(l,function(...e){if(Object.getPrototypeOf(this)!==u)throw new B("Use 'new' to construct "+l);if(void 0===p.constructor_body)throw new B(l+" has no accessible constructor");var r=p.constructor_body[e.length];if(void 0===r)throw new B(`Tried to invoke ctor of ${l} with invalid number of parameters (${e.length}) - expected (${Object.keys(p.constructor_body).toString()}) parameters instead!`);return r.apply(this,e)}),u=Object.create(a,{constructor:{value:i}});i.prototype=u;var p=new de(l,i,u,h,t,o,s,c);p.baseClass&&(p.baseClass.__derivedClasses??=[],p.baseClass.__derivedClasses.push(p));var f=new ge(l,p,!0,!1,!1),v=new ge(l+"*",p,!1,!1,!1),y=new ge(l+" const*",p,!1,!0,!1);return ne[e]={pointerType:v,constPointerType:y},Te(d,i),[f,v,y]})},v:(e,r,t,n,a,o)=>{var i=_e(r,t);a=Pe(n,a),G([],[e],e=>{var t=`constructor ${(e=e[0]).name}`;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new B(`Cannot register multiple constructors with identical number of parameters (${r-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.registeredClass.constructor_body[r-1]=()=>{We(`Cannot construct ${e.name} due to unbound types`,i)},G([],i,n=>(n.splice(1,0,null),e.registeredClass.constructor_body[r-1]=Se(t,n,null,a,o),[])),[]})},d:(e,r,t,n,a,o,i,s,u)=>{var c=_e(t,n);r=L(r),r=Oe(r),o=Pe(a,o),G([],[e],e=>{var n=`${(e=e[0]).name}.${r}`;function a(){We(`Cannot call ${n} due to unbound types`,c)}r.startsWith("@@")&&(r=Symbol[r.substring(2)]),s&&e.registeredClass.pureVirtualFunctions.push(r);var l=e.registeredClass.instancePrototype,p=l[r];return void 0===p||void 0===p.overloadTable&&p.className!==e.name&&p.argCount===t-2?(a.argCount=t-2,a.className=e.name,l[r]=a):(pe(l,r,n),l[r].overloadTable[t-2]=a),G([],c,a=>{var s=Se(n,a,e,o,i,u);return void 0===l[r].overloadTable?(s.argCount=t-2,l[r]=s):l[r].overloadTable[t-2]=s,[]}),[]})},m:(e,r,t)=>{e=L(e),G([],[r],r=>(r=r[0],a[e]=r.fromWireType(t),[]))},H:e=>K(e,xe),o:(e,r,t,n)=>{function a(){}r=L(r),a.values={},K(e,{name:r,constructor:a,fromWireType:function(e){return this.constructor.values[e]},toWireType:(e,r)=>r.value,argPackAdvance:8,readValueFromPointer:Ie(r,t,n),destructorFunction:null}),he(r,a)},a:(e,r,t)=>{var n=Ve(e,"enum");r=L(r);var a=n.constructor,o=Object.create(n.constructor.prototype,{value:{value:t},constructor:{value:le(`${n.name}_${r}`,function(){})}});a.values[t]=o,a[r]=o},A:(e,r,t)=>{K(e,{name:r=L(r),fromWireType:e=>e,toWireType:(e,r)=>r,argPackAdvance:8,readValueFromPointer:Ue(r,t),destructorFunction:null})},k:(e,r,t,n,a,o,i)=>{var s=_e(r,t);e=L(e),e=Oe(e),a=Pe(n,a),he(e,function(){We(`Cannot call ${e} due to unbound types`,s)},r-1),G([],s,t=>{var n=[t[0],null].concat(t.slice(1));return Te(e,Se(e,n,null,a,o,i),r-1),[]})},l:(e,r,t,n,a)=>{r=L(r);var o=e=>e;if(0===n){var i=32-8*t;o=e=>e<<i>>>i}var s=r.includes("unsigned");K(e,{name:r,fromWireType:o,toWireType:s?function(e,r){return this.name,r>>>0}:function(e,r){return this.name,r},argPackAdvance:8,readValueFromPointer:Be(r,t,0!==n),destructorFunction:null})},f:(e,r,t)=>{var n=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function a(e){var r=m[e>>2],t=m[e+4>>2];return new n(h.buffer,t,r)}K(e,{name:t=L(t),fromWireType:a,argPackAdvance:8,readValueFromPointer:a},{ignoreDuplicateRegistrations:!0})},z:(e,r)=>{var t="std::string"===(r=L(r));K(e,{name:r,fromWireType(e){var r,n=m[e>>2],a=e+4;if(t)for(var o=a,i=0;i<=n;++i){var s=a+i;if(i==n||0==d[s]){var u=ze(o,s-o);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),o=s+1}}else{var c=new Array(n);for(i=0;i<n;++i)c[i]=String.fromCharCode(d[a+i]);r=c.join("")}return pr(e),r},toWireType(e,r){var n;r instanceof ArrayBuffer&&(r=new Uint8Array(r));var a="string"==typeof r;a||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||J("Cannot pass non-string to std::string"),n=t&&a?(e=>{for(var r=0,t=0;t<e.length;++t){var n=e.charCodeAt(t);n<=127?r++:n<=2047?r+=2:n>=55296&&n<=57343?(r+=4,++t):r+=3}return r})(r):r.length;var o=lr(4+n+1),i=o+4;if(m[o>>2]=n,t&&a)((e,r,t)=>{((e,r,t,n)=>{if(!(n>0))return 0;for(var a=t+n-1,o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++o)),i<=127){if(t>=a)break;r[t++]=i}else if(i<=2047){if(t+1>=a)break;r[t++]=192|i>>6,r[t++]=128|63&i}else if(i<=65535){if(t+2>=a)break;r[t++]=224|i>>12,r[t++]=128|i>>6&63,r[t++]=128|63&i}else{if(t+3>=a)break;r[t++]=240|i>>18,r[t++]=128|i>>12&63,r[t++]=128|i>>6&63,r[t++]=128|63&i}}r[t]=0})(e,d,r,t)})(r,i,n+1);else if(a)for(var s=0;s<n;++s){var u=r.charCodeAt(s);u>255&&(pr(i),J("String has UTF-16 code units that do not fit in 8 bits")),d[i+s]=u}else for(s=0;s<n;++s)d[i+s]=r[s];return null!==e&&e.push(pr,o),o},argPackAdvance:8,readValueFromPointer:V,destructorFunction(e){pr(e)}})},u:(e,r,t)=>{var n,a,o,i;t=L(t),2===r?(n=Ge,a=Le,i=Je,o=e=>v[e>>1]):4===r&&(n=Ke,a=Qe,i=Ze,o=e=>m[e>>2]),K(e,{name:t,fromWireType:e=>{for(var t,a=m[e>>2],i=e+4,s=0;s<=a;++s){var u=e+4+s*r;if(s==a||0==o(u)){var c=n(i,u-i);void 0===t?t=c:(t+=String.fromCharCode(0),t+=c),i=u+r}}return pr(e),t},toWireType:(e,n)=>{"string"!=typeof n&&J(`Cannot pass non-string to C++ string type ${t}`);var o=i(n),s=lr(4+o+r);return m[s>>2]=o/r,a(n,s+4,o+r),null!==e&&e.push(pr,s),s},argPackAdvance:8,readValueFromPointer:V,destructorFunction(e){pr(e)}})},t:(e,r,t,n,a,o)=>{x[e]={name:L(r),rawConstructor:Pe(t,n),rawDestructor:Pe(a,o),fields:[]}},c:(e,r,t,n,a,o,i,s,u,c)=>{x[e].fields.push({fieldName:L(r),getterReturnType:t,getter:Pe(n,a),getterContext:o,setterArgumentType:i,setter:Pe(s,u),setterContext:c})},J:(e,r)=>{K(e,{isVoid:!0,name:r=L(r),argPackAdvance:0,fromWireType:()=>{},toWireType:(e,r)=>{}})},F:(e,r,t)=>d.copyWithin(e,r,r+t),n:(e,r,t)=>(e=De.toValue(e),r=Ve(r,"emval::as"),Xe(r,t,e)),q:(e,r,t,n)=>(e=Ye[e])(null,r=De.toValue(r),t,n),p:(e,r,t,n,a)=>(e=Ye[e])(r=De.toValue(r),r[t=rr(t)],n,a),b:Re,x:e=>0===e?De.toHandle(tr()):(e=rr(e),De.toHandle(tr()[e])),i:(e,r,t)=>{var n=((e,r)=>{for(var t=new Array(e),n=0;n<e;++n)t[n]=Ve(m[r+4*n>>2],"parameter "+n);return t})(e,r),a=n.shift();e--;var o="return function (obj, func, destructorsRef, args) {\n",i=0,s=[];0===t&&s.push("obj");for(var u=["retType"],c=[a],l=0;l<e;++l)s.push("arg"+l),u.push("argType"+l),c.push(n[l]),o+=` var arg${l} = argType${l}.readValueFromPointer(args${i?"+"+i:""});\n`,i+=n[l].argPackAdvance;o+=` var rv = ${1===t?"new func":"func.call"}(${s.join(", ")});\n`,a.isVoid||(u.push("emval_returnValue"),c.push(Xe),o+=" return emval_returnValue(retType, destructorsRef, rv);\n"),o+="};\n",u.push(o);var p=ke(Function,u)(...c),h=`methodCaller<(${n.map(e=>e.name).join(", ")}) => ${a.name}>`;return(e=>{var r=Ye.length;return Ye.push(e),r})(le(h,p))},r:e=>(e=rr(e),De.toHandle(a[e])),g:(e,r)=>(e=De.toValue(e),r=De.toValue(r),De.toHandle(e[r])),j:e=>{e>9&&(Ee[e+1]+=1)},h:e=>De.toHandle(rr(e)),e:e=>{var r=De.toValue(e);I(r),Re(e)},D:e=>{var r=d.length,t=2147483648;if((e>>>=0)>t)return!1;for(var n=(e,r)=>e+(r-e%r)%r,a=1;a<=4;a*=2){var o=r*(1+.2/a);o=Math.min(o,e+100663296);var i=Math.min(t,n(Math.max(e,o),65536));if(nr(i))return!0}return!1},E:e=>52,B:function(e,r,t,n,a){return 70},y:(e,r,t,n)=>{for(var a=0,o=0;o<t;o++){var i=m[r>>2],s=m[r+4>>2];r+=8;for(var u=0;u<s;u++)or(e,d[i+u]);a+=s}return m[n>>2]=a,0}},ur=function(){var e={a:sr};function r(e,r){return ur=e.exports,c=ur.L,T(),$e=ur.Q,function(e){C.unshift(e)}(ur.M),function(){if(_--,a.monitorRunDependencies?.(_),0==_&&F){var e=F;F=null,e()}}(),ur}if(_++,a.monitorRunDependencies?.(_),a.instantiateWasm)try{return a.instantiateWasm(e,r)}catch(e){p(`Module.instantiateWasm callback failed with error: ${e}`),t(e)}return S||(S=function(){var e="basis_transcoder.wasm";return O(e)?e:function(e){return a.locateFile?a.locateFile(e,s):s+e}(e)}()),function(e,r,t,n){return e||"function"!=typeof WebAssembly.instantiateStreaming||O(r)||"function"!=typeof fetch?E(r,t,n):fetch(r,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,t).then(n,function(e){return p(`wasm streaming compile failed: ${e}`),p("falling back to ArrayBuffer instantiation"),E(r,t,n)}))}(u,S,e,function(e){r(e.instance)}).catch(t),{}}(),cr=e=>(cr=ur.N)(e),lr=e=>(lr=ur.O)(e),pr=e=>(pr=ur.P)(e),hr=e=>(hr=ur.R)(e);function dr(){function e(){ir||(ir=!0,a.calledRun=!0,w||(R(C),r(a),a.onRuntimeInitialized&&a.onRuntimeInitialized(),function(){if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)W(a.postRun.shift());R(P)}()))}_>0||(function(){if(a.preRun)for("function"==typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)A(a.preRun.shift());R(b)}(),_>0||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1),e()},1)):e()))}if(a.dynCall_jiji=(e,r,t,n,o)=>(a.dynCall_jiji=ur.S)(e,r,t,n,o),F=function e(){ir||dr(),ir||(F=e)},a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);a.preInit.length>0;)a.preInit.pop()();return dr(),o})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6339],{28298:(e,t,n)=>{n.d(t,{fz:()=>m,g7:()=>i,zo:()=>u});var s=n(76061),r=(n(55537),n(83661),n(88885),n(79187),n(39117));n(95213);const o=new r.L;function i(e,t,n){return o.execute(e,t,n,null)}function u(e,t){return o.executeMany(new s.S(e),t,null).next()}function m(){return o.supportsCurves()}},56339:(e,t,n)=>{n.d(t,{executeMany:()=>o});var s=n(28298),r=n(83299);function o(e){const[t,n]=(0,r.fromGeometries)(e);return(0,r.toGeometry)((0,s.zo)(t,n),n)}},76061:(e,t,n)=>{n.d(t,{G:()=>s,S:()=>r});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class r extends s{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1273,7561],{11273:(t,e,r)=>{r.r(e),r.d(e,{executeTopFeaturesQuery:()=>l});var i=r(2272),o=r(24645),s=r(22671),n=r(57561);async function l(t,e,r,l){const u=(0,i.Dl)(t),p={...l},{data:a}=await(0,o.Yb)(u,n.default.from(e),r,p);return s.A.fromJSON(a)}},24645:(t,e,r)=>{r.d(e,{$K:()=>h,KW:()=>c,Yb:()=>y,xs:()=>m});var i=r(11254),o=r(84952),s=r(65864),n=r(17136),l=r(21325),u=r(10536),p=r(58501);const a="Layer does not support extent calculation.";function d(t,e){const r=t.geometry,i=t.toJSON(),o=i;if(null!=r&&(o.geometry=JSON.stringify(r),o.geometryType=(0,s.$B)(r),o.inSR=(0,l.YX)(r.spatialReference)),i.topFilter?.groupByFields&&(o.topFilter.groupByFields=i.topFilter.groupByFields.join(",")),i.topFilter?.orderByFields&&(o.topFilter.orderByFields=i.topFilter.orderByFields.join(",")),i.topFilter&&(o.topFilter=JSON.stringify(o.topFilter)),i.objectIds&&(o.objectIds=i.objectIds.join(",")),i.orderByFields&&(o.orderByFields=i.orderByFields.join(",")),i.outFields&&!(e?.returnCountOnly||e?.returnExtentOnly||e?.returnIdsOnly)?i.outFields.includes("*")?o.outFields="*":o.outFields=i.outFields.join(","):delete o.outFields,i.outSR?o.outSR=(0,l.YX)(i.outSR):r&&i.returnGeometry&&(o.outSR=o.inSR),i.returnGeometry&&delete i.returnGeometry,i.timeExtent){const t=i.timeExtent,{start:e,end:r}=t;null==e&&null==r||(o.time=e===r?e:`${e??"null"},${r??"null"}`),delete i.timeExtent}return o}async function y(t,e,r,i){const o=await g(t,e,"json",i);return(0,p.q)(e,r,o.data),o}async function c(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?{data:{objectIds:[]}}:g(t,e,"json",r,{returnIdsOnly:!0})}async function h(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?{data:{count:0,extent:null}}:g(t,e,"json",r,{returnExtentOnly:!0,returnCountOnly:!0}).then(t=>{const e=t.data;if(e.hasOwnProperty("extent"))return t;if(e.features)throw new Error(a);if(e.hasOwnProperty("count"))throw new Error(a);return t})}function m(t,e,r){return null!=e.timeExtent&&e.timeExtent.isEmpty?Promise.resolve({data:{count:0}}):g(t,e,"json",r,{returnIdsOnly:!0,returnCountOnly:!0})}function g(t,e,r,s={},l={}){const p="string"==typeof t?(0,o.An)(t):t,a=e.geometry?[e.geometry]:[];return s.responseType="json",(0,n.el)(a,null,s).then(t=>{const n=t?.[0];null!=n&&((e=e.clone()).geometry=n);const a=(0,u.z)({...p.query,f:r,...l,...d(e,l)});return(0,i.A)((0,o.fj)(p.path,"queryTopFeatures"),{...s,query:{...a,...s.query}})})}},57561:(t,e,r)=>{r.d(e,{default:()=>j});var i,o=r(31635),s=r(66552),n=r(25482),l=r(4718),u=r(91429),p=r(56507),a=r(16930),d=r(65864),y=r(50498),c=r(77696);let h=i=class extends n.o{constructor(t){super(t),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new i({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],h.prototype,"groupByFields",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],h.prototype,"topCount",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],h.prototype,"orderByFields",void 0),h=i=(0,o.Cg)([(0,u.$K)("esri.rest.support.TopFilter")],h);const m=h;var g,w=r(79677),F=r(43937);const v=new s.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),S=new s.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let j=class extends((0,c.y)(n.o)){static{g=this}constructor(t){super(t),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(t,e){e.resultOffset=this.start,e.resultRecordCount=this.num||10}clone(){return new g((0,l.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:!0}})],j.prototype,"cacheHint",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:{overridePolicy:t=>({enabled:t>0})}}})],j.prototype,"distance",void 0),(0,o.Cg)([(0,u.MZ)({types:y.yR,json:{read:d.rS,write:!0}})],j.prototype,"geometry",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],j.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],j.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],j.prototype,"num",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],j.prototype,"objectIds",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],j.prototype,"orderByFields",void 0),(0,o.Cg)([(0,u.MZ)({type:[String],json:{write:!0}})],j.prototype,"outFields",void 0),(0,o.Cg)([(0,u.MZ)({type:a.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],j.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],j.prototype,"resultType",void 0),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],j.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],j.prototype,"returnM",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:t=>({enabled:t})}}})],j.prototype,"returnZ",void 0),(0,o.Cg)([(0,u.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],j.prototype,"start",void 0),(0,o.Cg)([(0,F.K)("start"),(0,F.K)("num")],j.prototype,"writeStart",null),(0,o.Cg)([(0,u.MZ)({type:String,json:{read:{source:"spatialRel",reader:v.read},write:{target:"spatialRel",writer:v.write}}})],j.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,u.MZ)({type:w.A,json:{write:!0}})],j.prototype,"timeExtent",void 0),(0,o.Cg)([(0,u.MZ)({type:m,json:{write:!0}})],j.prototype,"topFilter",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{read:S.read,write:{writer:S.write,overridePolicy(t){return{enabled:null!=t&&null!=this.distance}}}}})],j.prototype,"units",void 0),(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],j.prototype,"where",void 0),j=g=(0,o.Cg)([(0,u.$K)("esri.rest.support.TopFeaturesQuery")],j),j.from=(0,p.dp)(j)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5756,8344],{15756:(e,t,s)=>{s.d(t,{injectPe:()=>i.m}),s(79187),s(55537),s(88885),s(95213),s(83661);var i=s(39117)},76061:(e,t,s)=>{s.d(t,{G:()=>i,S:()=>m});class i{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class m extends i{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7561],{57561:(e,t,i)=>{i.d(t,{default:()=>R});var r,o=i(31635),s=i(66552),n=i(25482),l=i(4718),p=i(91429),a=i(56507),d=i(16930),u=i(65864),y=i(50498),h=i(77696);let c=r=class extends n.o{constructor(e){super(e),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new r({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],c.prototype,"groupByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],c.prototype,"topCount",void 0),(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],c.prototype,"orderByFields",void 0),c=r=(0,o.Cg)([(0,p.$K)("esri.rest.support.TopFilter")],c);const g=c;var v,w=i(79677),m=i(43937);const C=new s.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),S=new s.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let R=class extends((0,h.y)(n.o)){static{v=this}constructor(e){super(e),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new v((0,l.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],R.prototype,"cacheHint",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],R.prototype,"distance",void 0),(0,o.Cg)([(0,p.MZ)({types:y.yR,json:{read:u.rS,write:!0}})],R.prototype,"geometry",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"geometryPrecision",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],R.prototype,"maxAllowableOffset",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],R.prototype,"num",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],R.prototype,"objectIds",void 0),(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],R.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:[String],json:{write:!0}})],R.prototype,"outFields",void 0),(0,o.Cg)([(0,p.MZ)({type:d.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],R.prototype,"outSpatialReference",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"resultType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],R.prototype,"returnGeometry",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"returnM",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],R.prototype,"returnZ",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],R.prototype,"start",void 0),(0,o.Cg)([(0,m.K)("start"),(0,m.K)("num")],R.prototype,"writeStart",null),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:{source:"spatialRel",reader:C.read},write:{target:"spatialRel",writer:C.write}}})],R.prototype,"spatialRelationship",void 0),(0,o.Cg)([(0,p.MZ)({type:w.A,json:{write:!0}})],R.prototype,"timeExtent",void 0),(0,o.Cg)([(0,p.MZ)({type:g,json:{write:!0}})],R.prototype,"topFilter",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:S.read,write:{writer:S.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance}}}}})],R.prototype,"units",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],R.prototype,"where",void 0),R=v=(0,o.Cg)([(0,p.$K)("esri.rest.support.TopFeaturesQuery")],R),R.from=(0,a.dp)(R)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[4123],{44123:(t,e,i)=>{i.d(e,{WhereClauseCache:()=>r});var s=i(66344),h=i(88368);class r{constructor(t,e){this._cache=new s.q(t),this._invalidCache=new s.q(e)}get(t,e){const i=`${e?.uid}:${t}`,s=this._cache.get(i);if(s)return s;if(null!=this._invalidCache.get(i))return null;try{const s=h.A.create(t,{fieldsIndex:e});return this._cache.put(i,s),s}catch(t){return this._invalidCache.put(i,t),null}}getError(t,e){const i=`${e?.uid}:${t}`;return this._invalidCache.get(i)??null}}},66344:(t,e,i)=>{i.d(e,{q:()=>o});const s=!!(0,i(44208).A)("esri-tests-disable-gpu-memory-measurements");Symbol.iterator;class h{get size(){return this._size}constructor(t=10485760){this._maxSize=t,this._db=new Map,this._size=0,this._hit=0,this._miss=0,this._users=new Map,this._sizeLimits=new Map}destroy(){this.clearAll(),this._sizeLimits.clear(),this._users.clear(),this._db=null}register(t){this._users.set(t.id.slice(0,-1),t)}deregister(t){this.clear(t),this._sizeLimits.delete(t),this._users.delete(t.id.slice(0,-1))}get maxSize(){return this._maxSize}set maxSize(t){this._maxSize=Math.max(t,-1),this._checkSize()}getSize(t,e){const i=this._db.get(t.id+e);return i?.size??0}put(t,e,i,h,n){e=t.id+e;const o=this._db.get(e);if(o&&(this._size-=o.size,t.size-=o.size,this._db.delete(e),o.entry!==i&&this._notifyRemove(e,o.entry,o.size,0)),h>this._maxSize)return void this._notifyRemove(e,i,h,0);if(void 0===i)return void console.warn("Refusing to cache undefined entry ");if(!h||h<0)return s||console.warn(`Refusing to cache entry with size ${h} for key ${e}`),void this._notifyRemove(e,i,0,0);const _=1+Math.max(n,-4)- -3;this._db.set(e,new r(i,h,_)),this._size+=h,t.size+=h,this._checkSize()}updateSize(t,e){e=t.id+e;const i=this._db.get(e);if(!i)return;this._size-=i.size,t.size-=i.size;let s=i.entry.usedMemory;for(;s>this._maxSize;){const t=this._notifyRemove(e,i.entry,s,1);if(!(null!=t&&t>0))return void this._db.delete(e);s=t}i.size=s,this._size+=s,t.size+=s,this._checkSize()}pop(t,e){e=t.id+e;const i=this._db.get(e);if(i)return this._size-=i.size,t.size-=i.size,this._db.delete(e),++this._hit,i.entry;++this._miss}get(t,e){e=t.id+e;const i=this._db.get(e);if(void 0!==i)return this._db.delete(e),i.lives=i.lifetime,this._db.set(e,i),++this._hit,i.entry;++this._miss}peek(t,e){const i=this._db.get(t.id+e);return i?++this._hit:++this._miss,i?.entry}get performanceInfo(){const t={Size:Math.round(this._size/1048576)+"/"+Math.round(this._maxSize/1048576)+"MB","Hit rate":Math.round(100*this._getHitRate())+"%",Entries:this._db.size.toString()},e={},i=new Array;this._db.forEach((t,s)=>{const h=t.lifetime;i[h]=(i[h]||0)+t.size,this._users.forEach(i=>{const{id:h,name:r}=i;if(s.startsWith(h)){const i=e[r]||0;e[r]=i+t.size}})});const s={};this._users.forEach(t=>{const i=t.name;if("hitRate"in t&&"number"==typeof t.hitRate&&!isNaN(t.hitRate)&&t.hitRate>0){const h=e[i]||0;e[i]=h,s[i]=Math.round(100*t.hitRate)+"%"}else s[i]="0%"});const h=Object.keys(e);h.sort((t,i)=>e[i]-e[t]),h.forEach(i=>t[i]=Math.round(e[i]/2**20)+"MB / "+s[i]);for(let e=i.length-1;e>=0;--e){const s=i[e];s&&(t["Priority "+(e+-3-1)]=Math.round(s/this._size*100)+"%")}return t}resetStats(){this._hit=this._miss=0,this._users.forEach(t=>t.resetHitRate())}clear(t){const e=t.id;this._db.forEach((t,i)=>{i.startsWith(e)&&(this._size-=t.size,this._db.delete(i),this._notifyRemove(i,t.entry,t.size,0))}),t.size=0}clearAll(){this._db.forEach((t,e)=>this._notifyRemove(e,t.entry,t.size,0)),this._users.forEach(t=>t.size=0),this._size=0,this._db.clear()}*values(t){for(const[e,i]of this._db)e.startsWith(t.id)&&(yield i.entry)}_getHitRate(){return this._hit/(this._hit+this._miss)}_notifyRemove(t,e,i,s){const h=this._users.get(t.split(n)[0])?.removeFunc,r=h?.(e,s,i);return"number"==typeof r?r:null}_checkSize(){this._sizeLimits.forEach((t,e)=>this._checkSizeLimits(t,e)),this._checkSizeLimits(this.maxSize)}setMaxSize(t,e){null==e||e<=0?this._sizeLimits.delete(t):this._sizeLimits.set(t,e)}_checkSizeLimits(t,e){const i=e??this;if(i.size<=t)return;const s=e?.id;let h=!0;for(;h;){h=!1;for(const[r,o]of this._db)if(0===o.lifetime&&(!s||r.startsWith(s))){const s=e??this._users.get(r.split(n)[0]);if(this._purgeItem(r,o,s),i.size<=.9*t)return;h||=this._db.has(r)}}for(const[h,r]of this._db)if(!s||h.startsWith(s)){const s=e??this._users.get(h.split(n)[0]);if(this._purgeItem(h,r,s),i.size<=.9*t)return}}_purgeItem(t,e,i){if(this._db.delete(t),e.lives<=1){this._size-=e.size,i&&(i.size-=e.size);const s=this._notifyRemove(t,e.entry,e.size,1);null!=s&&s>0&&(this._size+=s,i&&(i.size+=s),e.lives=e.lifetime,e.size=s,this._db.set(t,e))}else--e.lives,this._db.set(t,e)}}new h(0);class r{constructor(t,e,i){this.entry=t,this.size=e,this.lifetime=i,this.lives=i}}const n=":";class o{constructor(t,e){this.removeFunc=e,this._storage=new h,this.id="",this.name="",this.size=0,this._storage.maxSize=t,this._storage.register(this)}destroy(){this._storage.deregister(this),this._storage.destroy(),this._storage=null}put(t,e,i=1){this._storage.put(this,t,e,i,1)}pop(t){return this._storage.pop(this,t)}get(t){return this._storage.get(this,t)}clear(){this._storage.clearAll()}get maxSize(){return this._storage.maxSize}set maxSize(t){this._storage.maxSize=t}resetHitRate(){}}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 69278d08a7d64917f826.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[168],{4489:(t,e,s)=>{s.d(e,{K:()=>i.K,_:()=>i._});var i=s(48015)},7804:(t,e,s)=>{s.d(e,{OA:()=>i,WL:()=>n,u$:()=>o});const i={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},o=t=>(...e)=>({_$litDirective$:t,values:e});class n{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},14813:(t,e,s)=>{s.d(e,{Qu:()=>n,qu:()=>o});var i=s(34088);let o=!1;const n=t=>{o=!0,(0,i.s)(t)}},18504:(t,e,s)=>{s.d(e,{Rt:()=>n,mY:()=>c});var i=s(36752);const{I:o}=i.ge,n=t=>void 0===t.strings,r={},c=(t,e=r)=>t._$AH=e},20150:(t,e,s)=>{s.d(e,{eg:()=>o});const i=(t,e)=>{let s=t;for(;s;){const t=s.closest?.(e);if(t)return t;const i=s.getRootNode?.();if(i===globalThis.document)return;s=i.host}};function o(t){const e=i(t,".calcite-mode-dark, .calcite-mode-light, .calcite-mode-auto");return e?.classList.contains("calcite-mode-dark")||e?.classList.contains("calcite-mode-auto")&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}},27757:(t,e,s)=>{s.d(e,{c:()=>i,o:()=>o});class i{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}const o=(t,e)=>{const s=e>n?r:e/c;let i=0;const o=setInterval(()=>{i+=s,i>=e&&(clearInterval(o),t())},s);return o},n=4e3,r=2e3,c=4},34088:(t,e,s)=>{s.d(e,{C:()=>c,D:()=>a,a:()=>h,c:()=>m,f:()=>u,g:()=>y,l:()=>p,s:()=>$}),Object(function(){var t=new Error("Cannot find module '../calcite/calcite.css'");throw t.code="MODULE_NOT_FOUND",t}());var i=s(93451),o=s(46337);const n="calcite-mode-auto",r="calcite-mode-dark",c={autoMode:n,darkMode:r,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},a={filter:250,nextTick:0,resize:150,reposition:100},h=25;function l(){const{classList:t}=document.body,e=window.matchMedia("(prefers-color-scheme: dark)").matches,s=()=>t.contains(r)||t.contains(n)&&e?"dark":"light",i=t=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:t}})),o=t=>{c!==t&&i(t),c=t};let c=s();i(c),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",t=>o(t.matches?"dark":"light")),new MutationObserver(()=>o(s())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}const d=globalThis.calciteConfig,u=d?.focusTrapStack||[],p=d?.logLevel||"info",f="3.3.2";o.S$||("interactive"===document.readyState?l():document.addEventListener("DOMContentLoaded",l,{once:!0})),queueMicrotask(function(){if(d&&d.version)return;console.info(`Using Calcite Components ${f} [Date: 2025-10-03, Revision: d92ed7736]`);const t=d||globalThis.calciteConfig||{};Object.defineProperty(t,"version",{value:f,writable:!1}),globalThis.calciteConfig=t});const g=(0,i.le)({defaultAssetPath:"https://js.arcgis.com/calcite-components/3.3.2/",hydratedAttribute:"calcite-hydrated"}),{customElement:m,getAssetPath:y,setAssetPath:$}=g},36752:(t,e,s)=>{s.d(e,{JW:()=>U,XX:()=>q,c0:()=>S,ej:()=>w,ge:()=>F,qy:()=>C,s6:()=>T});const i=globalThis,o=i.trustedTypes,n=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,r="$lit$",c=`lit$${Math.random().toFixed(9).slice(2)}$`,a="?"+c,h=`<${a}>`,l=document,d=()=>l.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f=t=>p(t)||"function"==typeof t?.[Symbol.iterator],g="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,y=/-->/g,$=/>/g,_=RegExp(`>|${g}(?:([^\\s"'>=/]+)(${g}*=${g}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),A=/'/g,v=/"/g,b=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),C=E(1),U=E(2),w=E(3),S=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),L=new WeakMap,k=l.createTreeWalker(l,129);function O(t,e){if(!p(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const P=(t,e)=>{const s=t.length-1,i=[];let o,n=2===e?"<svg>":3===e?"<math>":"",a=m;for(let e=0;e<s;e++){const s=t[e];let l,d,u=-1,p=0;for(;p<s.length&&(a.lastIndex=p,d=a.exec(s),null!==d);)p=a.lastIndex,a===m?"!--"===d[1]?a=y:void 0!==d[1]?a=$:void 0!==d[2]?(b.test(d[2])&&(o=RegExp("</"+d[2],"g")),a=_):void 0!==d[3]&&(a=_):a===_?">"===d[0]?(a=o??m,u=-1):void 0===d[1]?u=-2:(u=a.lastIndex-d[2].length,l=d[1],a=void 0===d[3]?_:'"'===d[3]?v:A):a===v||a===A?a=_:a===y||a===$?a=m:(a=_,o=void 0);const f=a===_&&t[e+1].startsWith("/>")?" ":"";n+=a===m?s+h:u>=0?(i.push(l),s.slice(0,u)+r+s.slice(u)+c+f):s+c+(-2===u?e:f)}return[O(t,n+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class x{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let n=0,h=0;const l=t.length-1,u=this.parts,[p,f]=P(t,e);if(this.el=x.createElement(p,s),k.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=k.nextNode())&&u.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(r)){const e=f[h++],s=i.getAttribute(t).split(c),o=/([.?@])?(.*)/.exec(e);u.push({type:1,index:n,name:o[2],strings:s,ctor:"."===o[1]?H:"?"===o[1]?j:"@"===o[1]?I:N}),i.removeAttribute(t)}else t.startsWith(c)&&(u.push({type:6,index:n}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(c),e=t.length-1;if(e>0){i.textContent=o?o.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],d()),k.nextNode(),u.push({type:2,index:++n});i.append(t[e],d())}}}else if(8===i.nodeType)if(i.data===a)u.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(c,t+1));)u.push({type:7,index:n}),t+=c.length-1}n++}}static createElement(t,e){const s=l.createElement("template");return s.innerHTML=t,s}}function M(t,e,s=t,i){if(e===S)return e;let o=void 0!==i?s._$Co?.[i]:s._$Cl;const n=u(e)?void 0:e._$litDirective$;return o?.constructor!==n&&(o?._$AO?.(!1),void 0===n?o=void 0:(o=new n(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=o:s._$Cl=o),void 0!==o&&(e=M(t,o._$AS(t,e.values),o,i)),e}class R{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??l).importNode(e,!0);k.currentNode=i;let o=k.nextNode(),n=0,r=0,c=s[0];for(;void 0!==c;){if(n===c.index){let e;2===c.type?e=new D(o,o.nextSibling,this,t):1===c.type?e=new c.ctor(o,c.name,c.strings,this,t):6===c.type&&(e=new W(o,this,t)),this._$AV.push(e),c=s[++r]}n!==c?.index&&(o=k.nextNode(),n++)}return k.currentNode=l,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class D{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),u(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==S&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):f(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==T&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(l.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=x.createElement(O(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new R(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=L.get(t.strings);return void 0===e&&L.set(t.strings,e=new x(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new D(this.O(d()),this.O(d()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class N{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,o){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=T}_$AI(t,e=this,s,i){const o=this.strings;let n=!1;if(void 0===o)t=M(this,t,e,0),n=!u(t)||t!==this._$AH&&t!==S,n&&(this._$AH=t);else{const i=t;let r,c;for(t=o[0],r=0;r<o.length-1;r++)c=M(this,i[s+r],e,r),c===S&&(c=this._$AH[r]),n||=!u(c)||c!==this._$AH[r],c===T?t=T:t!==T&&(t+=(c??"")+o[r+1]),this._$AH[r]=c}n&&!i&&this.j(t)}j(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class H extends N{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===T?void 0:t}}class j extends N{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==T)}}class I extends N{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??T)===S)return;const s=this._$AH,i=t===T&&s!==T||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==T&&(s===T||i);i&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class W{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const F={M:r,P:c,A:a,C:1,L:P,R,D:f,V:M,I:D,H:N,N:j,U:I,B:H,F:W},B=i.litHtmlPolyfillSupport;B?.(x,D),(i.litHtmlVersions??=[]).push("3.3.1");const q=(t,e,s)=>{const i=s?.renderBefore??e;let o=i._$litPart$;if(void 0===o){const t=s?.renderBefore??null;i._$litPart$=o=new D(e.insertBefore(d(),t),t,void 0,s??{})}return o._$AI(t),o}},46337:(t,e,s)=>{s.d(e,{WF:()=>r,AH:()=>i.AH,qy:()=>o.qy,S$:()=>a,Ec:()=>i.Ec,s6:()=>o.s6,JW:()=>o.JW});var i=s(50842),o=s(36752);const n=globalThis;class r extends i.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}r._$litElement$=!0,r.finalized=!0,n.litElementHydrateSupport?.({LitElement:r});const c=n.litElementPolyfillSupport;c?.({LitElement:r}),(n.litElementVersions??=[]).push("4.2.1");const a=!1},48015:(t,e,s)=>{s.d(e,{_:()=>p,K:()=>m});var i=s(36752),o=s(18504),n=s(7804);const r=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),r(t,e);return!0},c=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},a=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function h(t){void 0!==this._$AN?(c(this),this._$AM=t,a(this)):this._$AM=t}function l(t,e=!1,s=0){const i=this._$AH,o=this._$AN;if(void 0!==o&&0!==o.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)r(i[t],!1),c(i[t]);else null!=i&&(r(i,!1),c(i));else r(this,t)}const d=t=>{t.type==n.OA.CHILD&&(t._$AP??=l,t._$AQ??=h)};class u extends n.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),a(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(r(this,t),c(this))}setValue(t){if((0,o.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const p=()=>new f;class f{}const g=new WeakMap,m=(0,n.u$)(class extends u{render(t){return i.s6}update(t,[e]){const s=e!==this.G;return s&&void 0!==this.G&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),i.s6}rt(t){if(this.isConnected||(t=void 0),"function"==typeof this.G){const e=this.ht??globalThis;let s=g.get(e);void 0===s&&(s=new WeakMap,g.set(e,s)),void 0!==s.get(this.G)&&this.G.call(this.ht,void 0),s.set(this.G,t),void 0!==t&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return"function"==typeof this.G?g.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},50842:(t,e,s)=>{s.d(e,{mN:()=>U,AH:()=>a,W3:()=>b,Ec:()=>E});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),r=new WeakMap;class c{constructor(t,e,s){if(this._$cssResult$=!0,s!==n)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&r.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[i+1],t[0]);return new c(s,t,n)},h=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}},l=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new c("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:d,defineProperty:u,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:g,getPrototypeOf:m}=Object,y=globalThis,$=y.trustedTypes,_=$?$.emptyScript:"",A=y.reactiveElementPolyfillSupport,v=(t,e)=>t,b={toAttribute(t,e){switch(e){case Boolean:t=t?_:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},E=(t,e)=>!d(t,e),C={attribute:!0,type:String,converter:b,reflect:!1,useDefault:!1,hasChanged:E};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class U extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=C){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&u(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const n=i?.call(this);o?.call(this,e),this.requestUpdate(t,n,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??C}static _$Ei(){if(this.hasOwnProperty(v("elementProperties")))return;const t=m(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(v("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(v("properties"))){const t=this.properties,e=[...f(t),...g(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(l(t))}else void 0!==t&&e.push(l(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return h(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:b).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:b;this._$Em=i;const n=o.fromAttribute(e,t.type);this[i]=n??this._$Ej?.get(i)??n,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const i=this.constructor,o=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??E)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),!0!==o||void 0!==n)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}U.elementStyles=[],U.shadowRootOptions={mode:"open"},U[v("elementProperties")]=new Map,U[v("finalized")]=new Map,A?.({ReactiveElement:U}),(y.reactiveElementVersions??=[]).push("2.1.1")},55333:(t,e,s)=>{s.d(e,{C:()=>p,G:()=>g,c:()=>d,p:()=>a,t:()=>l});var i=s(62550),o=s(94667),n=s(46337),r=s(27757);let c;const a=()=>{c?.forEach(({callbacks:t},e)=>{const s=Object.keys(e);t.forEach(t=>t(s))}),c=void 0},h=(t,e,s)=>{const o=t.manager;return o.V!==n.s6&&o.V!==s&&o.S(void 0,void 0),0===o.T.length&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=s,o.T.push((t,o)=>(0,i.UF)(e,void 0,s===o?t:void 0)),s},l=(t=[(0,o.r)(),...(0,o.d)()],e,s)=>{const n=Array.isArray(t)?t:[t];let r=n.length+1;const l=t=>{r-=1,void 0!==t&&(r=Math.min(r,0)),0===r&&e(t)};n.forEach(t=>((t,e,s)=>{const o=Object.keys(t),n=o.length;void 0===c&&queueMicrotask(a),c??=new Map;let r=c.get(t);return void 0===r&&(r={callbacks:[],keyCount:n},c.set(t,r)),r.keyCount!==n&&(r.callbacks.forEach(t=>t(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(o=>{const r=t=>(0,i.UF)(e,null,t),c=o[n];void 0===c?r(void 0):t[c]===s?r(c):r(void 0)}),s})(t,e=>l(void 0===e?void 0:{key:e,host:t,isReactive:!1}),s));for(const t of n)if("manager"in t&&t.manager.component===t){h(t,e=>l(void 0===e?void 0:{key:e,host:t,isReactive:!0}),s);break}return s},d=((t="",e={},s=(0,o.r)())=>{const i={emit:i=>{""===t&&a();const o=new CustomEvent(t,{detail:i,cancelable:!0,bubbles:!0,composed:!0,...e});return s.el.dispatchEvent(o),o}};return""===t&&l(void 0,e=>t=e.key,i),i}).bind(null,"");var u;u=o.c;class p{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#i=[],this.#o=[],this.#n=[],this.#r=[],this.#c=[],this.#a=[],this.#h=!1,this.P=new r.c,this.connectedCalled=!1,this.loadedCalled=!1,this[u]=!0,this.#l=[];const e=this,s=t??(0,o.r)(new.target.name);e.#d=s,e.ready=e.P.promise,e.#u=m(e),e.component=s,e.#d.addController(e),void 0===e.#d.manager||((0,o.b)(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#i;#o;#n;#r;#c;#a;#h;#d;catchUpLifecycle(){const{manager:t}=this.#d;!t.connectedCalled||this.connectedCalled||this.triggerConnected(),!t.#h||this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#u;get exports(){return this.#u}set exports(t){const e=this.#u;e!==t&&(this.#u=t,this.#l.forEach(i.UF),this.connectedCalled&&!1!==this.O&&this.#d.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#u=e?m(t):t,this.#l.forEach(i.UF)}#l;watchExports(t){const e=()=>t(this.#u);return this.#l.push(e),()=>{this.#l.splice(this.#l.indexOf(e),1)}}get use(){return(0,o.s)(this.#d),o.u}get useRef(){return(0,o.s)(this.#d),o.k}get useRefSync(){return(0,o.s)(this.#d),o.l}controllerRemoved(){this.#d.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#i.push(t)}onUpdate(t){this.#o.push(t)}onUpdated(t){this.#n.push(t)}onDestroy(t){this.#r.push(t)}onLifecycle(t){this.#c.push(t),this.connectedCalled&&this.#d.el.isConnected&&this.#p(t)}triggerConnected(){const t=this;t.hostConnected&&(0,i.UF)(t.hostConnected,t),t.#t.forEach(i.UF),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){const t=this;t.hostDisconnected&&(0,i.UF)(t.hostDisconnected,t),t.#e.forEach(i.UF),t.#a.forEach(i.UF),t.#a=[]}async triggerLoad(){if(this.#h)return;this.#h=!0;const t=this;t.hostLoad&&await(0,i.ao)(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(i.ao)),this.P.resolve(this.#u)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&(0,i.UF)(this.hostLoaded,this),this.#i.forEach(i.UF),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&(0,i.UF)(this.hostUpdate,this,t),this.#o.forEach(f,t)}triggerUpdated(t){this.hostUpdated&&(0,i.UF)(this.hostUpdated,this,t),this.#n.forEach(f,t)}triggerDestroy(){this.hostDestroy&&(0,i.UF)(this.hostDestroy,this),this.#r.forEach(i.UF)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#c.forEach(this.#p,this)}#p(t){(0,o.s)(this.#d);const e=(0,i.UF)(t);(Array.isArray(e)?e:[e]).forEach(t=>{"function"==typeof t?this.#a.push(t):"object"==typeof t&&"function"==typeof t.remove&&this.#a.push(t.remove)})}}function f(t){(0,i.UF)(t,void 0,this)}const g=p,m=t=>{if("object"!=typeof t&&"function"!=typeof t||null===t)return t;const e=new Proxy(t,{get(t,s,i){if("exports"!==s&&"_exports"!==s||!(s in t)||t[s]!==e)return s in t||s in Promise.prototype||"symbol"==typeof s?"function"==typeof t?t[s]:Reflect.get(t,s,i):void 0}});return e}},62550:(t,e,s)=>{s.d(e,{UF:()=>i,ao:()=>o});const i=(t,e,...s)=>{try{return t?.call(e,...s)}catch(e){console.error(e,t)}},o=async(t,e,...s)=>{try{const i=t?.call(e,...s);return await i}catch(e){console.error(e,t)}}},80538:(t,e,s)=>{s.d(e,{V:()=>r});var i=s(36752),o=s(7804),n=s(18504);const r=(0,o.u$)(class extends o.WL{constructor(t){if(super(t),t.type!==o.OA.PROPERTY&&t.type!==o.OA.ATTRIBUTE&&t.type!==o.OA.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!(0,n.Rt)(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[e]){if(e===i.c0||e===i.s6)return e;const s=t.element,r=t.name;if(t.type===o.OA.PROPERTY){if(e===s[r])return i.c0}else if(t.type===o.OA.BOOLEAN_ATTRIBUTE){if(!!e===s.hasAttribute(r))return i.c0}else if(t.type===o.OA.ATTRIBUTE&&s.getAttribute(r)===e+"")return i.c0;return(0,n.mY)(t),e}})},93451:(t,e,s)=>{s.d(e,{WF:()=>T,lh:()=>i.c,le:()=>L,s6:()=>x,CP:()=>k,zl:()=>O,Bq:()=>M,pf:()=>R});var i=s(55333),o=s(50842);o.W3,o.Ec;var n=s(27757);const r=t=>{let e=t;for(;e=e.parentNode??e.host;)if(e?.constructor?.lumina){const s=e;return s.manager?.loadedCalled||(s.J??s._offspring).push(t),(s.I??s._postLoad).promise}return!1},c={};function a(){}const h=Object.defineProperty,l=globalThis.HTMLElement??a;class d extends l{constructor(){super(),this.#f={},this.#g=[],this.I=new n.c,this.H=new n.c,this.J=[];const t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(e=>{Object.hasOwn(t,e)&&(t.#f[e]=t[e],delete t[e])}),e.A?t.#m({a:e.A}):e.B.then(async s=>{await e.K.p,t.#m(await(s.default?.then(t=>"function"==typeof t?{a:t}:t)??s))}).catch(e=>{t.H.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static F(){for(const t of this.C??[])h(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#f[t]},set(e){this.#f[t]=e}});for(const t of this.E??[])h(this.prototype,t,{async value(...e){this.#y||await this.H.promise;const s=this.#y;return await s[t](...e)},configurable:!0});for(const t of this.D??[])h(this.prototype,t,{value(...e){return this.#y[t](...e)},configurable:!0})}#y;#f;#g;get manager(){return this.#y?.manager}attributeChangedCallback(t,e,s){this.#y?.attributeChangedCallback(t,e,s),this.#y||this.#g.push(t)}connectedCallback(){this.#y?this.#y.connectedCallback?.():queueMicrotask(()=>this.G=r(this))}disconnectedCallback(){this.#y?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#m(t){const e=this.constructor,s=e.L,i=this.#f,o=Object.values(t).find(t=>t.L===s),n=`${s}--lazy`;let r=o;for(;r&&!Object.hasOwn(r,"lumina");)r=Object.getPrototypeOf(r);p(r),!e.A&&(e.A=o,customElements.define(n,o)),o.N=this;const c=document.createElement(n);o.N=void 0,this.#y=c,this.#f=c,this.#g.forEach(t=>c.attributeChangedCallback(t,null,this.getAttribute(t))),Object.entries(i).forEach(u,c);const a=this.isConnected;(a||this.G)&&(c.connectedCallback?.(),a||c.disconnectedCallback())}addController(){}requestUpdate(){this.#y?.requestUpdate()}}function u([t,e]){this[t]=e}const p=t=>{const e=t.prototype,s=Element.prototype;Object.hasOwn(e,"isConnected")||(e.setAttribute=function(t,e){s.setAttribute.call(this.el,t,e)},e.removeAttribute=function(t){s.removeAttribute.call(this.el,t)},h(e,"isConnected",{get(){return Reflect.get(s,"isConnected",this.el)}}))};var f=s(62550);const g=/[A-Z]+(?![a-z])|[A-Z]/gu;crypto;var m=s(46337),y=s(94667),$=s(36752),_=s(7804);const A=(0,_.u$)(class extends _.WL{constructor(t){if(super(t),t.type!==_.OA.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(void 0===this.st){this.st=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in e)e[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(e)}const s=t.element.classList;for(const t of this.st)t in e||(s.remove(t),this.st.delete(t));for(const t in e){const i=!!e[t];i===this.st.has(t)||this.nt?.has(t)||(i?(s.add(t),this.st.add(t)):(s.remove(t),this.st.delete(t)))}return $.c0}}),v="important",b=" !"+v,E=(0,_.u$)(class extends _.WL{constructor(t){if(super(t),t.type!==_.OA.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,s)=>{const i=t[s];return null==i?e:e+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){const{style:s}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ft.add(t);const e="string"==typeof i&&i.endsWith(b);t.includes("-")||e?s.setProperty(t,e?i.slice(0,-11):i,e?v:""):s[t]=i}}return $.c0}});s(80538);var C=s(4489);class U extends i.G{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=m.s6,this.T=[],this.#$=new WeakMap,this.#d=t,this.exports=void 0,this.hasDestroy=S in t&&"function"==typeof t.destroy,m.WF.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){const e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${S} prop.`)}void 0!==this.#_&&clearTimeout(this.#_),(0,i.p)();for(const e of t.M)"triggerConnected"in e?e.triggerConnected():(0,f.UF)(e.hostConnected,e)},hostDisconnected:()=>{for(const e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():(0,f.UF)(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(const e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):(0,f.UF)(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(const e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):(0,f.UF)(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),(0,y.s)(t)}#_;#d;async destroy(){if(!this.destroyed){this.#d.el.isConnected&&(this.hasDestroy=!1,this.#d.el.remove()),this.#_=void 0,this.destroyed=!0;for(const t of this.#d.M)"triggerDestroy"in t?t.triggerDestroy():(0,f.UF)(t.hostDestroy,t);this.#d.M.splice(0)}}U(){if(void 0!==this.#_&&clearTimeout(this.#_),!this.#d.el.isConnected&&!this.#d.autoDestroyDisabled){const t=()=>{this.#d.destroy()};this.#_=(0,n.o)(t,w)}}S(t,e){const s=this.T;this.V=m.s6,this.T=[],s.forEach(s=>s(t,e))}#$;W(t,e){("object"==typeof e&&null!==e||"function"==typeof e)&&this.#$.set(e,t)}X(t){return"object"==typeof t&&null!==t||"function"==typeof t?this.#$.get(t):void 0}}let w=1e3;const S="autoDestroyDisabled";class T extends m.WF{constructor(){super(),this.M=[],this.manager=new U(this);const t=this,e=t.constructor,s=e.N,i=e.K.o,o=T.prototype.shouldUpdate;t.#A=s?.H??new n.c,t.I=s?.I??new n.c,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#v=t.enableUpdating,t.enableUpdating=a,t.shouldUpdate!==o&&(t.#b=t.shouldUpdate,t.shouldUpdate=o),i&&(t.#E=new Map,e.elementProperties.forEach((e,s)=>t.#E.set(s,i()))),m.S$&&t.el.setAttribute(e.K.hydratedAttribute,"")}static finalizeStyles(t){const e=super.finalizeStyles(t),s=this.shadowRootOptions===c;return void 0===this.K?.commonStyles||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){const s="number"==typeof e?e:Array.isArray(e)?e[0]:0,i=Array.isArray(e)?e[1]:void 0,o=i?.hasChanged??m.Ec,n={attribute:!!(1&s&&"string"==typeof t)&&(r=t,r.replace(g,(t,e)=>`${0===e?"":"-"}${t.toLowerCase()}`)),reflect:!!(2&s),type:4&s?Boolean:8&s?Number:void 0,state:!!(16&s),readOnly:!!(32&s),noAccessor:!!(64&s),c:!1,...i,hasChanged(t,e){const s=o(t,e);return n.c=s,s}};var r;super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){const o=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return o.t?.(this.#E.get(t)),n.get?.call(this)},set(e){const o=this.manager;if(s.readOnly&&!y.a&&(o.R||o.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${e}"`);n.set.call(this,e??void 0),s.c&&this.#E?.get(t)?.notify(),o.T.length>0&&((0,i.p)(),o?.S(t,e))}}}static{this.lumina=!0}#E;#b;#v;#A;#C;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;const t=this.constructor.K.c?.(()=>this.requestUpdate());this.#C=t;const e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#U().catch(t=>{this.#A.reject(t),setTimeout(()=>{throw t})})):t&&this.requestUpdate()}#w(t){try{this.#C.clear(),this.constructor.K.r(this.#C,()=>super.update(t))}catch(t){throw this.#C.clear(),t}}disconnectedCallback(){super.disconnectedCallback(),this.#C?.destroy(),this.#C=void 0}createRenderRoot(){const t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===c?this.el:this.el.attachShadow(s));if(this.isConnected){const t=i.getRootNode();t.adoptedStyleSheets=[...t.adoptedStyleSheets,...e.elementStyles.map(t=>"styleSheet"in t?t.styleSheet:t)]}return i}async#U(){const t=this.el.G??r(this.el);t&&await t;const e=[];for(const t of this.M)"triggerLoad"in t?e.push(t.triggerLoad()):e.push((0,f.ao)(t.hostLoad,t));await Promise.all(e),await(this.load?.()),this.manager.hasDestroy&&this.manager.onUpdate(t=>t.has(S)&&this.manager.U()),this.#v(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();const s=this.J.filter(t=>!t.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async t=>await t.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(const t of this.M)"triggerLoaded"in t?t.triggerLoaded():(0,f.UF)(t.hostLoaded,t);this.loaded?.(),this.#A.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#b?.(t)??!0}update(t){this.#C?this.#w(t):super.update(t)}listen(t,e,s){const i=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,i,s),()=>this.el.removeEventListener(t,i,s)))}listenOn(t,e,s,i){const o=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,o,i),()=>t.removeEventListener(e,o,i)))}async componentOnReady(){return await this.#A.promise,this}addController(t){this.M.push(t),!(y.c in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}}const L=t=>{let e;const s=t=>{e=new URL(t,globalThis.location?.href||void 0).href},i={...t,getAssetPath(t){const s=new URL(t,e);return s.origin!==globalThis.location?.origin?s.href:s.pathname},setAssetPath:s,customElement(t,e){e.K=i,e.L=t,customElements.get(t)||customElements.define(t,e)}};return s(t.defaultAssetPath),i},k=t=>"object"==typeof t&&null!=t?A(t):t,O=t=>"object"==typeof t&&null!=t?E(t):t;class P extends _.WL{#S;#T;constructor(t){super(t);const e=this;this.#T=function(t){return e.#S.call(this,t)}}render(t){return"function"==typeof t?(this.#S=t,(0,C.K)(this.#T)):(0,C.K)(t)}}(0,_.u$)(P);const x=m.s6;function M(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)}const R={toAttribute:t=>!0===t?"":!1===t?null:t}},94667:(t,e,s)=>{s.d(e,{a:()=>m,b:()=>h,c:()=>i,d:()=>l,f:()=>y,i:()=>o,j:()=>u,k:()=>f,l:()=>g,r:()=>c,s:()=>r,u:()=>p});const i=Symbol.for("controller"),o=t=>"function"==typeof t?.then;let n;const r=t=>{n!==t&&(n=t,queueMicrotask(()=>n===t?n=void 0:0))},c=t=>n;let a=[];const h=t=>{if(void 0===t)return void(a=[]);const e=a.indexOf(t);a=-1===e?[...a,t]:a.slice(0,e+1),queueMicrotask(()=>a=[])},l=()=>a;let d;const u=t=>{d!==t&&(d=t,queueMicrotask(()=>d===t?d=void 0:0))},p=async(t,e)=>{const s=g(t);if(void 0===s)return t;if(await s.ready,"function"==typeof e){const t=s.watchExports(s=>e(s,t))}return s.exports},f=async t=>{const e=g(t);return await e.ready,e},g=t=>{const e=c().manager.X(t);if(void 0!==e)return e;if((t=>"object"==typeof t&&null!==t&&(i in t||"hostConnected"in t||"hostDisconnected"in t||"hostUpdate"in t||"hostUpdated"in t))(t))return t;const s=(()=>{const t=d;return d=void 0,t})();return void 0!==s?s:void 0};let m=!1;const y=t=>{m=!0;try{return t()}finally{m=!1}}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3169,8125,9041],{68613:(e,t,n)=>{n.d(t,{fz:()=>y,g7:()=>h,zo:()=>p});var r=n(76061),o=n(55537),s=n(83661),i=n(88885),a=n(79187),u=n(95213),c=n(39117);function m(e,t,n,r){const o=e.getImpl().getAttributeStreamRef(0),i=e.getPointCount(),c=t.getXY(),m=e.createInstance(),l=(0,u.e)(n),f=new a.Envelope2D;if(e.queryEnvelope(f),f.inflateCoords(l,l),f.contains(c)){const n=l*l;let r=!1;const a=(0,s.d)(i,!1);for(let e=0;e<i;e++){const t=o.read(2*e),s=o.read(2*e+1),i=t-c.x,u=s-c.y;i*i+u*u<=n&&(r=!0,a[e]=!0)}if(r)for(let t=0;t<i;t++)a[t]||m.addPoints(e,t,t+1);else m.addPoints(e,0,i),m.add(t)}else m.addPoints(e,0,i),m.add(t);return m}class l extends r.G{constructor(e,t,n,r){super(),this.m_progressTracker=r,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=n,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,(0,o.c)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?((0,o.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),function(e,t,n,r){const l=e.getDimension(),f=t.getDimension();if(l!==f)return l>f?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const h=new a.Envelope2D,p=new a.Envelope2D,y=new a.Envelope2D;e.queryEnvelope(h),t.queryEnvelope(p),y.setCoords({env2D:h}),y.mergeEnvelope2D(p);const g=(0,u.c)(n,y,!0),G=e.getGeometryType(),x=t.getGeometryType();return G===o.G.enumPoint&&x===o.G.enumPoint?function(e,t,n){const r=(0,u.e)(n),o=r*r,a=e.getXY(),c=t.getXY(),m=new i.M({vd:e.getDescription()});return s.P.sqrDistance(a,c)>o&&(m.add(e),m.add(t)),m}(e,t,g):G===o.G.enumPoint&&x===o.G.enumMultiPoint?m(t,e,g):G===o.G.enumMultiPoint&&x===o.G.enumPoint?m(e,t,g):(0,c.aK)(e,t,n,r)}(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const f=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,r){return new l(e,t,n,r)}execute(e,t,n,s){const i=new r.S([e]),a=new r.S([t]),u=this.executeMany(i,a,n,s).next();return u||(0,o.d)("null output"),u}};function h(e,t,n){return f.execute(e,t,n,null)}function p(e,t,n){const o=f.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(o)}function y(){return f.supportsCurves()}},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>d,fromGeometry:()=>x,fromMultipoint:()=>C,fromPoint:()=>v,fromPolygon:()=>M,fromPolyline:()=>w,fromSpatialReference:()=>P,getSpatialReference:()=>G,toExtent:()=>R,toGeometry:()=>_,toMultipoint:()=>E,toPoint:()=>V,toPolygon:()=>S,toPolyline:()=>D});var r=n(83661),o=(n(79187),n(55537)),s=n(95213),i=n(88885),a=n(39117),u=n(5443),c=n(48526),m=n(86738),l=n(39829),f=n(82799),h=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function G(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function x(e){switch(e.type){case"point":return v(e);case"multipoint":return C(e);case"polyline":return w(e);case"polygon":return M(e);case"extent":return d(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function d(e){if(!e.getCacheValue(p)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function C(e){if(!e.getCacheValue(p)){const t=new i.M,n=new s.P,r=e.points,o=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),a&&n.setZ(s[2]??0),o&&n.setM(s[u]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,s=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(p,s)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,s=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(p,s)}return e.getCacheValue(p)}function P(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function _(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return V(e,t);case o.G.enumEnvelope:return R(e,t);case o.G.enumMultiPoint:return E(e,t);case o.G.enumPolyline:return D(e,t);case o.G.enumPolygon:return S(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function E(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),i=[],a=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];o&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const u=new c.A({hasM:r,hasZ:o,points:i,spatialReference:t});return u.setCacheValue(p,e),u}function V(e,t){if(e instanceof r.P)return new m.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new m.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function S(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function D(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},89041:(e,t,n)=>{n.
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[506,3169,8125,9041],{68613:(e,t,n)=>{n.d(t,{fz:()=>y,g7:()=>h,zo:()=>p});var r=n(76061),o=n(55537),s=n(83661),i=n(88885),a=n(79187),u=n(95213),c=n(39117);function m(e,t,n,r){const o=e.getImpl().getAttributeStreamRef(0),i=e.getPointCount(),c=t.getXY(),m=e.createInstance(),l=(0,u.e)(n),f=new a.Envelope2D;if(e.queryEnvelope(f),f.inflateCoords(l,l),f.contains(c)){const n=l*l;let r=!1;const a=(0,s.d)(i,!1);for(let e=0;e<i;e++){const t=o.read(2*e),s=o.read(2*e+1),i=t-c.x,u=s-c.y;i*i+u*u<=n&&(r=!0,a[e]=!0)}if(r)for(let t=0;t<i;t++)a[t]||m.addPoints(e,t,t+1);else m.addPoints(e,0,i),m.add(t)}else m.addPoints(e,0,i),m.add(t);return m}class l extends r.G{constructor(e,t,n,r){super(),this.m_progressTracker=r,this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=n,this.m_rightGeom=t.next(),this.m_bEmpty=!this.m_rightGeom,(0,o.c)(this.m_rightGeom)}tock(){return!0}getRank(){return 1}next(){if(this.m_bEmpty)return null;const e=this.m_inputGeoms.next();return e?((0,o.c)(e),this.m_index=this.m_inputGeoms.getGeometryID(),function(e,t,n,r){const l=e.getDimension(),f=t.getDimension();if(l!==f)return l>f?e:t;if(e.isEmpty())return t;if(t.isEmpty())return e;const h=new a.Envelope2D,p=new a.Envelope2D,y=new a.Envelope2D;e.queryEnvelope(h),t.queryEnvelope(p),y.setCoords({env2D:h}),y.mergeEnvelope2D(p);const g=(0,u.c)(n,y,!0),G=e.getGeometryType(),x=t.getGeometryType();return G===o.G.enumPoint&&x===o.G.enumPoint?function(e,t,n){const r=(0,u.e)(n),o=r*r,a=e.getXY(),c=t.getXY(),m=new i.M({vd:e.getDescription()});return s.P.sqrDistance(a,c)>o&&(m.add(e),m.add(t)),m}(e,t,g):G===o.G.enumPoint&&x===o.G.enumMultiPoint?m(t,e,g):G===o.G.enumMultiPoint&&x===o.G.enumPoint?m(e,t,g):(0,c.aK)(e,t,n,r)}(e,this.m_rightGeom,this.m_spatialReference,this.m_progressTracker)):null}getGeometryID(){return this.m_index}}const f=new class{getOperatorType(){return 10003}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,r){return new l(e,t,n,r)}execute(e,t,n,s){const i=new r.S([e]),a=new r.S([t]),u=this.executeMany(i,a,n,s).next();return u||(0,o.d)("null output"),u}};function h(e,t,n){return f.execute(e,t,n,null)}function p(e,t,n){const o=f.executeMany(new r.S(e),new r.S([t]),n,null);return Array.from(o)}function y(){return f.supportsCurves()}},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>o});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>d,fromGeometry:()=>x,fromMultipoint:()=>C,fromPoint:()=>v,fromPolygon:()=>M,fromPolyline:()=>w,fromSpatialReference:()=>P,getSpatialReference:()=>G,toExtent:()=>R,toGeometry:()=>_,toMultipoint:()=>E,toPoint:()=>V,toPolygon:()=>S,toPolyline:()=>D});var r=n(83661),o=(n(79187),n(55537)),s=n(95213),i=n(88885),a=n(39117),u=n(5443),c=n(48526),m=n(86738),l=n(39829),f=n(82799),h=(n(90293),n(83299));const p="_gxVersion",y=2,g=1;function G(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function x(e){switch(e.type){case"point":return v(e);case"multipoint":return C(e);case"polyline":return w(e);case"polygon":return M(e);case"extent":return d(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function d(e){if(!e.getCacheValue(p)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(p,t)}return e.getCacheValue(p)}function C(e){if(!e.getCacheValue(p)){const t=new i.M,n=new s.P,r=e.points,o=e.hasM,a=e.hasZ,u=a?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),a&&n.setZ(s[2]??0),o&&n.setM(s[u]??NaN),t.add(n)}e.setCacheValue(p,t)}return e.getCacheValue(p)}function v(e){if(!e.getCacheValue(p)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(p,t)}return e.getCacheValue(p)}function M(e){if(!e.getCacheValue(p)){const{curveRings:t,hasM:n,hasZ:r,rings:o}=e,s=(0,h.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:o});e.setCacheValue(p,s)}return e.getCacheValue(p)}function w(e){if(!e.getCacheValue(p)){const{curvePaths:t,hasM:n,hasZ:r,paths:o}=e,s=(0,h.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:o});e.setCacheValue(p,s)}return e.getCacheValue(p)}function P(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function _(e,t){if(e)switch(e.getGeometryType()){case o.G.enumPoint:return V(e,t);case o.G.enumEnvelope:return R(e,t);case o.G.enumMultiPoint:return E(e,t);case o.G.enumPolyline:return D(e,t);case o.G.enumPolygon:return S(e,t)}return null}function R(e,t){if(e.isEmpty())return null;const n=new u.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(y,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(p,e),n}function E(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),o=n.hasZ(),i=[],a=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];o&&n.push(a.getZ()),r&&n.push(a.getM()),i.push(n)}const u=new c.A({hasM:r,hasZ:o,points:i,spatialReference:t});return u.setCacheValue(p,e),u}function V(e,t){if(e instanceof r.P)return new m.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new m.A({x:e.getX(),y:e.getY(),spatialReference:t}),o=e.getDescription();return o.hasM()&&(n.m=e.getM()),o.hasZ()&&(n.z=e.getZ()),n.setCacheValue(p,e),n}function S(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}function D(e,t){if(e.isEmpty())return null;const n=f.A.fromJSON({spatialReference:t,...(0,h.toGeometry)(e,null)});return n.setCacheValue(p,e),n}},89041:(e,t,n)=>{n.d(t,{execute:()=>r.e}),n(4576),n(68613),n(78125);var r=n(96957)},96957:(e,t,n)=>{n.d(t,{e:()=>i,s:()=>u});var r=n(4576),o=n(68613),s=n(78125);function i(e,t){const n=(0,s.getSpatialReference)(e);return(0,s.toGeometry)((0,o.g7)((0,s.fromGeometry)(e),(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(n)),n)}const a=(0,o.fz)(),u=Object.freeze(Object.defineProperty({__proto__:null,execute:i,executeMany:function(e,t){const n=e.map(s.fromGeometry),i=(0,s.getSpatialReference)(e);return(0,o.zo)(n,(0,s.fromGeometry)(t),(0,s.fromSpatialReference)(i)).map(e=>(0,s.toGeometry)(e,i)).filter(r.Ru)},supportsCurves:a},Symbol.toStringTag,{value:"Module"}))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9506],{5808:(e,t,n)=>{n.d(t,{O:()=>r});const r={geodesic:0,loxodrome:1,"great-elliptic":2,"normal-section":3,"shape-preserving":4}},49590:(e,t,n)=>{n.d(t,{e:()=>d,g:()=>p,l:()=>f});var r=n(86211),o=n(86742),i=n(5808);let l,s,a,c;function u(){return!!l&&(0,o.s1)()}async function f(){if(!u()){const[e]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(3299),n.e(3169)]).then(n.bind(n,78125)),(0,o.Hh)()]);l=e.fromGeometry,s=e.fromSpatialReference,a=e.getSpatialReference,c=(0,o.fz)()}}function d(e,t={}){const{curveType:n="geodesic",unit:c}=t,u=a(e);let f=(0,o.g7)(l(e),s(u),i.O[n]);return f&&c&&(f=(0,r.oU)(f,"square-meters",c)),f}const p=Object.freeze(Object.defineProperty({__proto__:null,execute:d,isLoaded:u,load:f,get supportsCurves(){return c}},Symbol.toStringTag,{value:"Module"}))},86742:(e,t,n)=>{n.d(t,{Hh:()=>l,fz:()=>a,g7:()=>s,s1:()=>i});var r=n(83290);let o;function i(){return!!o&&(0,r.i)()}async function l(){if(!i()){const[e,t]=await Promise.all([Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(6859),n.e(6558)]).then(n.bind(n,6558)),Promise.all([n.e(3661),n.e(1878),n.e(9117),n.e(8344)]).then(n.bind(n,15756)).then(({injectPe:e})=>e),(0,r.l)()]);o=new e.OperatorGeodeticArea,t(r.p)}}function s(e,t,n){return o.execute(e,t,n,null)}function a(){return o.supportsCurves()}},89506:(e,t,n)=>{n.d(t,{execute:()=>r.e,load:()=>r.l}),n(86211),n(86742),n(5808);var r=n(49590)}}]);
|