@arcgis/map-components 4.33.0-next.112 → 4.33.0-next.113
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/dist/arcgis-map-components/{AKKIXP6X.js → 2AQ3FVSG.js} +2 -2
- package/dist/arcgis-map-components/{XFH23L4R.js → 3MV55J2Y.js} +2 -2
- package/dist/arcgis-map-components/{MYHTQ35C.js → 3TU7GQAD.js} +2 -2
- package/dist/arcgis-map-components/{ZEQMUHND.js → 3X2GMJR5.js} +2 -2
- package/dist/arcgis-map-components/{W2AMHGHS.js → 4PNI7N5K.js} +2 -2
- package/dist/arcgis-map-components/{TMB3FTNQ.js → 4VZMXBAV.js} +2 -2
- package/dist/arcgis-map-components/{XUDVZAXR.js → 5DK3QO7V.js} +2 -2
- package/dist/arcgis-map-components/{567WBIBJ.js → 5MALNCHN.js} +2 -2
- package/dist/arcgis-map-components/{R3LVNUZX.js → 637MOVRS.js} +2 -2
- package/dist/arcgis-map-components/{Q53IGXXT.js → 6D6E7PDC.js} +2 -2
- package/dist/arcgis-map-components/{D7ZH5D3N.js → 6EUNJFNY.js} +2 -2
- package/dist/arcgis-map-components/{4KIAEEHF.js → 6HIGMCOE.js} +2 -2
- package/dist/arcgis-map-components/{5NWU2CMD.js → 6TVXN5DT.js} +2 -2
- package/dist/arcgis-map-components/{V4EWL7AV.js → 6UMBZW3J.js} +2 -2
- package/dist/arcgis-map-components/{JTU73RBV.js → 6XQQ4RSR.js} +2 -2
- package/dist/arcgis-map-components/{AHNRHEL2.js → 7BES3HZK.js} +2 -2
- package/dist/arcgis-map-components/{7AFU6HV4.js → 7FA2K3OP.js} +2 -2
- package/dist/arcgis-map-components/{KSM76BR4.js → 7LDOMSRS.js} +2 -2
- package/dist/arcgis-map-components/{EEZ74S5I.js → 7PTTKRXU.js} +2 -2
- package/dist/arcgis-map-components/{J7R3AQPD.js → 7SH3DBCY.js} +2 -2
- package/dist/arcgis-map-components/{PFWJQTDQ.js → 7TB7JKNU.js} +2 -2
- package/dist/arcgis-map-components/{KAN7AQ3W.js → 7YAC5GLA.js} +2 -2
- package/dist/arcgis-map-components/{WSAP2OR6.js → A23LK2MB.js} +2 -2
- package/dist/arcgis-map-components/{6B3KGB5C.js → AD3IM2RV.js} +2 -2
- package/dist/arcgis-map-components/{OZ5MBCGT.js → ANPX3M3T.js} +2 -2
- package/dist/arcgis-map-components/{SRXBUFCK.js → AQ46PB7T.js} +2 -2
- package/dist/arcgis-map-components/{OIO3PH5C.js → ATAZTDCH.js} +2 -2
- package/dist/arcgis-map-components/{M522EXIU.js → AYNCXSJA.js} +2 -2
- package/dist/arcgis-map-components/{GVH5ZTRC.js → AYNUADWD.js} +2 -2
- package/dist/arcgis-map-components/{WUDKWJ4X.js → B7OPBGVT.js} +2 -2
- package/dist/arcgis-map-components/{6UAIP5CN.js → BNDCYZDT.js} +1 -1
- package/dist/arcgis-map-components/{LC7RJ7ZW.js → BRRHFKKW.js} +2 -2
- package/dist/arcgis-map-components/{3IWON4SC.js → BWJANLLR.js} +2 -2
- package/dist/arcgis-map-components/{SY46TRCY.js → C4B35TTR.js} +2 -2
- package/dist/arcgis-map-components/{XE3VIDR7.js → C4KDC4WX.js} +2 -2
- package/dist/arcgis-map-components/{CAIILLIG.js → CH6YS2M3.js} +2 -2
- package/dist/arcgis-map-components/{TIY4KMV6.js → CIMDCPCB.js} +2 -2
- package/dist/arcgis-map-components/{2ZRDMI77.js → CKQSYSOF.js} +2 -2
- package/dist/arcgis-map-components/{5OAZNOJ5.js → CUQNI3HG.js} +1 -1
- package/dist/arcgis-map-components/{7D54COAB.js → DI7RDP6N.js} +1 -1
- package/dist/arcgis-map-components/{I2MOMDDY.js → DKOPT4NA.js} +2 -2
- package/dist/arcgis-map-components/{K2EF5D5S.js → DU2GGA4Q.js} +2 -2
- package/dist/arcgis-map-components/{32ZOFY3C.js → ET4IRT5G.js} +2 -2
- package/dist/arcgis-map-components/{DRI4AGCN.js → EWMEU34N.js} +2 -2
- package/dist/arcgis-map-components/{BBOJWXAU.js → F3BVHIIC.js} +2 -2
- package/dist/arcgis-map-components/{MP2T5UAD.js → FZOABTDK.js} +2 -2
- package/dist/arcgis-map-components/{RTQL4EQB.js → G3WBK6OC.js} +2 -2
- package/dist/arcgis-map-components/{YTPE7VMZ.js → GATPKJVX.js} +2 -2
- package/dist/arcgis-map-components/{2A5TCTEP.js → GZPGV6LA.js} +2 -2
- package/dist/arcgis-map-components/{6UITFLRT.js → HBUUVPXK.js} +2 -2
- package/dist/arcgis-map-components/{OR63CPUN.js → HNO5A756.js} +2 -2
- package/dist/arcgis-map-components/{NHX3UYZI.js → HYVA2OKF.js} +2 -2
- package/dist/arcgis-map-components/{SUSL675L.js → I3SPMV64.js} +2 -2
- package/dist/arcgis-map-components/{5LSUFGJ3.js → IIDV3KD7.js} +2 -2
- package/dist/arcgis-map-components/{F3H37ENG.js → IQXZNGHL.js} +2 -2
- package/dist/arcgis-map-components/{SDL4MTSK.js → JYFCNNNY.js} +2 -2
- package/dist/arcgis-map-components/{VVG2C57S.js → KB3GLGHJ.js} +2 -2
- package/dist/arcgis-map-components/{RXB2ZQ3W.js → KJE363IH.js} +2 -2
- package/dist/arcgis-map-components/{53B6KWJR.js → KJW4V2S4.js} +2 -2
- package/dist/arcgis-map-components/{KESQCJT6.js → KPGCUIJT.js} +2 -2
- package/dist/arcgis-map-components/{VD52KFUX.js → KYJS4SG7.js} +2 -2
- package/dist/arcgis-map-components/{ATI72MXR.js → LD2ZOJIB.js} +2 -2
- package/dist/arcgis-map-components/{CS6OTJLD.js → LM6BLU7I.js} +2 -2
- package/dist/arcgis-map-components/{TGNEBXQN.js → LRM3I52Y.js} +2 -2
- package/dist/arcgis-map-components/{XDVTLXYO.js → MLXLT2NU.js} +2 -2
- package/dist/arcgis-map-components/{H6QDCONW.js → MXKENIC7.js} +2 -2
- package/dist/arcgis-map-components/{2ITIMF6F.js → NQOCQBYV.js} +2 -2
- package/dist/arcgis-map-components/{LIAS5FGP.js → O3FWYZEE.js} +2 -2
- package/dist/arcgis-map-components/{LFGA26ZR.js → ONQMSUPO.js} +1 -1
- package/dist/arcgis-map-components/{JTHB2MZC.js → OXX3UKTL.js} +2 -2
- package/dist/arcgis-map-components/{U2LVAH2P.js → OYUTAXFP.js} +2 -2
- package/dist/arcgis-map-components/{QEEZ4Q6H.js → PI2WYIV5.js} +2 -2
- package/dist/arcgis-map-components/{QMXRLWFF.js → PPOHUKZ2.js} +2 -2
- package/dist/arcgis-map-components/{HRYEMOAQ.js → PTDAGJR6.js} +2 -2
- package/dist/arcgis-map-components/{6AB5SVBU.js → PUTVBMOH.js} +1 -1
- package/dist/arcgis-map-components/{I6344LIX.js → PYVDWEMX.js} +2 -2
- package/dist/arcgis-map-components/{K73CMPIT.js → PYZN42J2.js} +1 -1
- package/dist/arcgis-map-components/{7HGZYTUE.js → Q4IPOH3Q.js} +2 -2
- package/dist/arcgis-map-components/{MOUVG6YL.js → QDRYAIL6.js} +2 -2
- package/dist/arcgis-map-components/{ZB3HZ4R4.js → QMEQNV4W.js} +2 -2
- package/dist/arcgis-map-components/{NYG3JBO6.js → RIQ7QCBK.js} +2 -2
- package/dist/arcgis-map-components/{4YLCV7VI.js → RSOOXAWQ.js} +2 -2
- package/dist/arcgis-map-components/{FWJUDAKS.js → S352QOLG.js} +2 -2
- package/dist/arcgis-map-components/{KLFNL4DS.js → S6QAKH4U.js} +2 -2
- package/dist/arcgis-map-components/{FG4X7DNH.js → SFCQKRYF.js} +2 -2
- package/dist/arcgis-map-components/{E7JFNKNZ.js → SLVAMXGX.js} +2 -2
- package/dist/arcgis-map-components/{3CPTT7OF.js → SU3JV7YB.js} +2 -2
- package/dist/arcgis-map-components/{IVB3VRBN.js → T5HRUVJD.js} +2 -2
- package/dist/arcgis-map-components/{PHHXPZ3K.js → TBLZPYNC.js} +2 -2
- package/dist/arcgis-map-components/{H6YFRMVJ.js → TCV34WIR.js} +2 -2
- package/dist/arcgis-map-components/{YCSDGMQC.js → TDDXEDKS.js} +2 -2
- package/dist/arcgis-map-components/{ORIROEP5.js → TRAKHXYB.js} +2 -2
- package/dist/arcgis-map-components/{NGKWS7CM.js → TT5IOPJV.js} +2 -2
- package/dist/arcgis-map-components/{FL33DAYC.js → U6B24E7V.js} +2 -2
- package/dist/arcgis-map-components/{FLJOZCWO.js → U6LCW7DG.js} +2 -2
- package/dist/arcgis-map-components/{5PTKV3UD.js → UJYHTBUO.js} +2 -2
- package/dist/arcgis-map-components/{MKJRGEHQ.js → UOEFZRSX.js} +2 -2
- package/dist/arcgis-map-components/{VWDL7CSZ.js → UUVFLUGE.js} +2 -2
- package/dist/arcgis-map-components/{6P7BCHWU.js → UZCB5WLH.js} +2 -2
- package/dist/arcgis-map-components/{DEVCH2PT.js → VIHA3QH2.js} +2 -2
- package/dist/arcgis-map-components/{AD3MG3QV.js → VTXTLR2G.js} +2 -2
- package/dist/arcgis-map-components/{XTW5HDRV.js → WGIDJRIA.js} +2 -2
- package/dist/arcgis-map-components/{BYAIR2OE.js → WITQYJC4.js} +2 -2
- package/dist/arcgis-map-components/{NC56CTYZ.js → WPFYA7FW.js} +2 -2
- package/dist/arcgis-map-components/{OAFG4TNU.js → XDMRCMJI.js} +1 -1
- package/dist/arcgis-map-components/{ML4GS2EX.js → XIWHNK55.js} +2 -2
- package/dist/arcgis-map-components/{NR5O647R.js → XXXXSDUR.js} +2 -2
- package/dist/arcgis-map-components/{MLDSF36Z.js → Y5OOL2WE.js} +2 -2
- package/dist/arcgis-map-components/{SEFXBTOQ.js → Y7OSESUK.js} +2 -2
- package/dist/arcgis-map-components/{RO2DJZ4L.js → YBEVWFZD.js} +2 -2
- package/dist/arcgis-map-components/{5ZEBF76L.js → YZCOAFOO.js} +2 -2
- package/dist/arcgis-map-components/{3S3XPQMV.js → Z32XN7NB.js} +2 -2
- package/dist/arcgis-map-components/{PI7UVNAK.js → Z77VZ34G.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +4 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +3 -3
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
4
|
function ms(...o){let t=[];for(let s=0;s<o.length;s++){let n=o[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let e=t.join(" ");return t.length=0,e}var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function ye(o,t){let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1}function ge(o,t,e){let{subscribe:s}=ve(t);return s(n=>{n.some(i=>ye(o,i.target))&&e()})}var mt={};function ve(o){let t=o.join(","),e=mt[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),mt[t]=void 0)}}};return mt[t]=r,r}function _e(o,t){let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null}function be(o,t,e){return _e(o,`[${t}]`)?.getAttribute(t)??e}function Ee(o){return typeof o.setFocus=="function"}async function ys(o){o!=null&&(Ee(o)?await o.setFocus():o.focus())}function u(o,t,...e){try{return o?.call(t,...e)}catch(s){console.error(s,o)}}async function j(o,t,...e){try{return await o?.call(t,...e)}catch(s){console.error(s,o)}}function M(o){let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function gs(){return[M(2),M(1),M(1),M(1),M(3)].join("-")}var Ce=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],$e=new Set(Ce),J="en",Ae={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function we(o,t,e=""){let s=`${t}/${e}`,n=`${s}${o}.json`;return yt[n]??(yt[n]=Dt(o,s)),await yt[n]}var yt={};async function Dt(o,t){let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===J?{}:await Dt(J,t)}function xe(o){let t=be(o,"lang",globalThis.navigator?.language||J);return{lang:t,t9nLocale:Ut(t)}}function Ut(o){let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=Ae[n]??n,$e.has(n)?n:e?Ut(s):J}function vs(o,t,e,s){let n,r=()=>void Se(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),ge(o,["lang"],r)}async function Se(o,t,e=o.localName.split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=xe(o),r=`${t}/${e}/t9n`,c=e===null?{}:await we(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var Y=o=>o.replace(Te,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Te=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(o,t){let e=t>Oe?Le:t/Pe,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n}var Oe=4e3,Le=2e3,Pe=4;function _s(o,t,e=!1){if(!o||!t)return!1;let s=new URL(o),n=new URL(t);return!e&&s.protocol!==n.protocol||s.host==null||n.host==null?!1:s.host.toLowerCase()===n.host.toLowerCase()&&s.port===n.port}var Z=globalThis,Q=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Mt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Q&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Mt.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new z(typeof o=="string"?o:o+"",void 0,gt),Ne=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new z(e,o,gt)},vt=(o,t)=>{if(Q)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Z.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},X=Q?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var bt=globalThis,tt=bt.trustedTypes,zt=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Et="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+E,Re=`<${Ct}>`,S=document,H=()=>S.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",$t=Array.isArray,Gt=o=>$t(o)||typeof o?.[Symbol.iterator]=="function",_t=`[
|
|
5
5
|
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Ht=/>/g,w=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,qt=/"/g,Ft=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Cs=At(1),$s=At(2),As=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Wt=new WeakMap,x=S.createTreeWalker(S,129);function Kt(o,t){if(!$t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=V;for(let c=0;c<e;c++){let a=o[c],l,p,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,p=i.exec(a),p!==null);)m=i.lastIndex,i===V?p[1]==="!--"?i=Vt:p[1]!==void 0?i=Ht:p[2]!==void 0?(Ft.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??V,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?qt:Bt):i===qt||i===Bt?i=w:i===Vt||i===Ht?i=V:(i=w,n=void 0);let y=i===w&&o[c+1].startsWith("/>")?" ":"";r+=i===V?a+Re:h>=0?(s.push(l),a.slice(0,h)+Et+a.slice(h)+E+y):a+E+(h===-2?c:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},q=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,p]=Jt(t,e);if(this.el=o.createElement(l,s),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Et)){let m=p[i++],y=n.getAttribute(h).split(E),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:y,ctor:g[1]==="."?st:g[1]==="?"?ot:g[1]==="@"?nt:O}),n.removeAttribute(h)}else h.startsWith(E)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Ft.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=tt?tt.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],H()),x.nextNode(),a.push({type:2,index:++r});n.append(h[m],H())}}}else if(n.nodeType===8)if(n.data===Ct)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)a.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=S.createElement("template");return s.innerHTML=t,s}};function T(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=B(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=T(o,n._$AS(o,t.values),n,s)),t}var et=class{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){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??S).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new N(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new rt(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=x.nextNode(),i++)}return x.currentNode=S,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},N=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(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!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=q.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new et(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new q(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(H()),this.O(H()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=T(this,t,e,0),i=!B(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=T(this,c[s+a],e,a),l===f&&(l=this._$AH[a]),i||=!B(l)||l!==this._$AH[a],l===d?t=d:t!==d&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends O{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{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){T(this,t)}},Yt={M:Et,P:E,A:Ct,C:1,L:Jt,R:et,D:Gt,V:T,I:N,H:O,N:ot,U:nt,B:st,F:rt},ke=bt.litHtmlPolyfillSupport;ke?.(q,N),(bt.litHtmlVersions??=[]).push("3.2.1");var wt=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new N(t.insertBefore(H(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:De,defineProperty:Ue,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Me,getOwnPropertySymbols:je,getPrototypeOf:ze}=Object,at=globalThis,Zt=at.trustedTypes,Ve=Zt?Zt.emptyScript:"",He=at.reactiveElementPolyfillSupport,W=(o,t)=>o,it={toAttribute(o,t){switch(t){case Boolean:o=o?Ve:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},xt=(o,t)=>!De(o,t),Qt={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:xt};Symbol.metadata??=Symbol("metadata"),at.litPropertyMetadata??=new WeakMap;var C=class 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=Qt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&Ue(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ie(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Qt}static _$Ei(){if(this.hasOwnProperty(W("elementProperties")))return;let t=ze(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(W("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(W("properties"))){let e=this.properties,s=[...Me(e),...je(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(X(n))}else t!==void 0&&e.push(X(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return vt(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)}_$EC(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:it).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:it;this._$Em=n,this[n]=i.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??xt)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(e=>this._$EC(e,this[e])),this._$EU()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[W("elementProperties")]=new Map,C[W("finalized")]=new Map,He?.({ReactiveElement:C}),(at.reactiveElementVersions??=[]).push("2.0.4");var b=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:b});var Be=globalThis.litElementPolyfillSupport;Be?.({LitElement:b});(globalThis.litElementVersions??=[]).push("4.1.1");var ht=Symbol.for("controller");var qe=o=>typeof o=="object"&&o!==null&&(ht in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o);function Bs(o){return typeof o?.then=="function"}var G;function R(o){G!==o&&(G=o,queueMicrotask(()=>{G===o&&(G=void 0)}))}function F(o){return G}var L=[];function We(o){if(o===void 0){L=[];return}let t=L.indexOf(o);L=t===-1?[...L,o]:L.slice(0,t+1),queueMicrotask(()=>{L=[]})}function Ge(){return L}var k;function qs(o){k!==o&&(k=o,queueMicrotask(()=>{k===o&&(k=void 0)}))}function Fe(){let o=k;return k=void 0,o}var Ke=async(o,t)=>{let e=Tt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Je=async o=>{let t=Tt(o);return await t.ready,t},Tt=o=>{let e=F().manager._resolveExports(o);if(e!==void 0)return e;if(qe(o))return o;let s=Fe();if(s!==void 0)return s},ct=!1,lt=!1;function Ws(o){lt=!0;try{return o()}finally{lt=!1}}function Gs(o){ct=!0;try{return o()}finally{ct=!1}}function Ye(o,t,e){let s=Object.keys(o),n=s.length;D===void 0&&queueMicrotask(dt),D??=new Map;let r=D.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},D.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(t,null,l),a=i[n];a===void 0?c(void 0):o[a]===e?c(a):c(void 0)}),e}var D;function dt(){D?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),D=void 0}function Ze(o,t,e){let s=o.manager;return s._trackedValue!==d&&s._trackedValue!==e&&s._firePropTrackers(void 0,void 0),s._keyTrackers.length===0&&queueMicrotask(()=>s._firePropTrackers(void 0,void 0)),s._trackedValue=e,s._keyTrackers.push((n,r)=>u(t,void 0,e===r?n:void 0)),e}function Qe(o=[F(),...Ge()],t,e){let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ye(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&typeof i.manager=="object"&&i.manager.component===i){Ze(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),e);break}return e}var Xe=(o="",t={},e=F())=>{let s={emit:n=>{o===""&&dt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>{o=n.key},s),s},ts=Xe.bind(null,""),ee;ee=ht;var St=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=te(this),this._exportWatchers=new Set;let e=t??F(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(We(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?te(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return R(this.component),Ke}get useRef(){return R(this.component),Je}get useRefSync(){return R(this.component),Tt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await j(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(j)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(Xt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(Xt,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){R(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function Xt(o){u(o,void 0,this)}var se=St;function te(o){if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t=new Proxy(o,{get(e,s,n){if(!((s==="exports"||s==="_exports")&&s in e&&e[s]===t)&&(s in e||s in Promise.prototype||typeof s=="symbol"))return typeof e=="function"?e[s]:Reflect.get(e,s,n)},set:(e,s,n,r)=>Reflect.set(e,s,n,r)});return t}var oe=";",ut=",",ne=":",$=(o=>(o[o.ATTRIBUTE=1]="ATTRIBUTE",o[o.REFLECT=2]="REFLECT",o[o.BOOLEAN=4]="BOOLEAN",o[o.NUMBER=8]="NUMBER",o[o.STATE=16]="STATE",o[o.READ_ONLY=32]="READ_ONLY",o[o.NO_ACCESSOR=64]="NO_ACCESSOR",o))($||{});function Lt(o){let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||e._offspring.push(o),e._postLoad.promise}return!1}var es=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i),Object.entries(t).forEach(ss)};function ss([o,[t,e=""]]){if(customElements.get(o))return;let[s,n,r]=e.split(oe),i=s?s?.split(ut).map(re):void 0,c=i?.map(([l])=>l),a=class extends Ot{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ut):void 0}static{this._syncMethods=r?.split(ut)}static{this._name=o}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(o,a)}var pt=Object.defineProperty;function re(o){let t=o.split(ne);return t.length===1?[t[0],Y(t[0])]:t}var os=globalThis.HTMLElement??re,Ot=class extends os{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(is).then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){pt(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){pt(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=e[s],delete e[s])})}attributeChangedCallback(t,e,s){this._litElement?.attributeChangedCallback(t,e,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Lt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,s=e._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);rs(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);l.attributeChangedCallback(h,null,m)}),Object.entries(n).forEach(ns,l);let p=this.isConnected;(p||this._ancestorLoad)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function ns([o,t]){this[o]=t}function rs(o){let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))}var is=async o=>await(o.default?.then(t=>typeof t=="function"?{a:t}:t)??o),Pt={};var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),A=class{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)}};var ce=P(class extends A{constructor(o){if(super(o),o.type!==v.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var le="important",cs=" !"+le,he=P(class extends A{constructor(o){if(super(o),o.type!==v.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(cs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?le:""):e[s]=n}}return f}});var{I:qo}=Yt;var de=o=>o.strings===void 0;var ls={},ue=(o,t=ls)=>o._$AH=t;var hs=P(class extends A{constructor(o){if(super(o),o.type!==v.PROPERTY&&o.type!==v.ATTRIBUTE&&o.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!de(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===v.PROPERTY){if(t===e[s])return f}else if(o.type===v.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===v.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var Rt=class extends se{constructor(t){super(t),this.destroyed=!1,this._enforceReadonly=!1,this._trackedValue=d,this._keyTrackers=[],this._accessorGetter={},this._accessorSetter={},this._exportsStore=new WeakMap,this.exports=void 0,this.hasDestroy=kt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let 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 ${kt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),dt();for(let e of t._controllers)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t._controllers)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this._setAutoDestroyTimeout()},hostUpdate:()=>{for(let e of t._controllers)"triggerUpdate"in e?e.triggerUpdate(this._changes):u(e.hostUpdate,e,this._changes)},hostUpdated:()=>{for(let e of t._controllers)"triggerUpdated"in e?e.triggerUpdated(this._changes):u(e.hostUpdated,e,this._changes);this._changes=void 0}}),t.constructor.elementProperties.forEach((e,s)=>{e.noAccessor||(this._accessorGetter[s]=pe,this._accessorSetter[s]=pe,this._getSetProxy(s,e.readOnly))}),queueMicrotask(()=>{this._enforceReadonly=!0}),R(t)}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0;for(let t of this.component._controllers)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.component._controllers.clear()}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.component.destroy();this._autoDestroyTimeout=It(t,us)}}_firePropTrackers(t,e){let s=this._keyTrackers;this._trackedValue=d,this._keyTrackers=[],s.forEach(n=>n(t,e))}_getSetProxy(t,e){let s=this.component.constructor.prototype,n;do n=Object.getOwnPropertyDescriptor(s,t);while(!n&&(s=Object.getPrototypeOf(s)));if(!n)return;let r=n.get,i=n.set,c=ft in r,a=ft in i;if(c&&a)return;let l=!c,p=!a,h=l?function(){let g=r.call(this);return ct?g:this.manager._accessorGetter[t](g,t)}:r,m=p?function(g){let K=r.call(this),U=g??void 0,I=this.manager;if(U!==K){if(e&&!lt&&(I._enforceReadonly||I.connectedCalled))throw new Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${String(U)}"`);U=I._accessorSetter[t](U,K,t)}i.call(this,U),I._keyTrackers.length>0&&I?._firePropTrackers(t,g)}:i;l&&(h[ft]=!0),p&&(m[ft]=!0),Object.defineProperty(s,t,{...n,get:h,set:m})}_markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exportsStore.set(e,t)}_resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exportsStore.get(t)}},us=1e3,kt="autoDestroyDisabled",pe=o=>o,ft=Symbol(),ps=()=>{},fe=class o extends b{constructor(){super(),this.el=this.constructor.lazy??this,this._controllers=new Set,this.manager=new Rt(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=ps;let t=o.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.runtime?.commonStyles===void 0||s?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:s&$.ATTRIBUTE&&typeof t=="string"?Y(t):!1,reflect:!!(s&$.REFLECT),type:s&$.BOOLEAN?Boolean:s&$.NUMBER?Number:void 0,state:!!(s&$.STATE),readOnly:!!(s&$.READ_ONLY),noAccessor:!!(s&$.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})}))}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Pt?this.el:this.el.attachShadow(s));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Lt(this.el);t&&await t;let e=[];for(let n of this._controllers)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(j(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(kt)&&this.manager._setAutoDestroyTimeout()),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"");for(let n of this._controllers)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this._postLoaded.resolve()}shouldUpdate(t){return this.manager._changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}addController(t){this._controllers.add(t),!(ht in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this._controllers.delete(t),t.controllerRemoved?.()}};function me(o){let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s}var mn=o=>typeof o=="object"&&o!=null?ce(o):o,yn=o=>typeof o=="object"&&o!=null?he(o):o;var gn=d;var fs=me({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:bn,getAssetPath:En,setAssetPath:Cn}=fs;export{ms as a,ge as b,be as c,ys as d,gs as e,xe as f,vs as g,_s as h,Ne as i,Cs as j,$s as k,As as l,d as m,wt as n,Bs as o,R as p,F as q,We as r,Ge as s,qs as t,Ws as u,Gs as v,Ze as w,Qe as x,Xe as y,ts as z,St as A,se as B,es as C,Pt as D,v as E,P as F,A as G,de as H,ue as I,fe as J,mn as K,yn as L,gn as M,fs as N,bn as O,En as P};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as h}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as a,J as n,O as d,i as o,z as l}from"./ONQMSUPO.js";export default $arcgis.t(([g,p,{d:t},r])=>{var c=o`@layer{arcgis-sketch{display:block}}`,m=r(p),s=class extends n{constructor(){super(),this.widget=m(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideSelectionCountLabel=this.widget.visibleElements.selectionCountLabel,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.scale=this.widget.scale,this.toolbarKind=this.widget.toolbarKind,this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=l(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideDeleteButton:5,hideSelectionCountLabel:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,scale:1,toolbarKind:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=a}static{this.styles=c}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map?.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=new g({title:"Sketch Layer"})),e}};d("arcgis-sketch",s);return s},"layers/GraphicsLayer","widgets/Sketch",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as n}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as o,J as a,O as h,i as e,z as s}from"./ONQMSUPO.js";export default $arcgis.t(([l,{d:r},d])=>{var m=e`@layer{arcgis-time-slider{display:block}}`,c=d(l),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};h("arcgis-time-slider",i);return i},"widgets/TimeSlider",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{D as x,J as f,K as c,M as d,O as g,h as u,i as h,j as n}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{D as x,J as f,K as c,M as d,O as g,h as u,i as h,j as n}from"./ONQMSUPO.js";export default $arcgis.t(([{watch:$,whenOnce:b}])=>{var L=h`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`,p="arcgis-print",m={exportedFile:`${p}__exported-file`,exportedFileLinkTitle:`${p}__exported-file-link-title`,exportedFileLinkDescription:`${p}__exported-file-link-description`};function w(l){let{state:e,extension:t}=l;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return t?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}function v(l,e){return!l||l==="all"||!!(e&&l.includes(e))}var k=class extends f{constructor(){super(...arguments),this._handleLinkClick=e=>{if(!e||e.state!=="ready"||!e.url)return;let t=e.url,i=document.createElement("a");i.target="_blank",i.href=t,i.rel="noreferrer",i.download=e.formattedName??"";{i.click();return}}}static{this.properties={saveAsButtonCallback:0,allowedFormatsForSaving:1,exportedLink:0,viewModel:0,messages:0}}static{this.styles=L}static{this.shadowRootOptions=x}loaded(){this.manager.onLifecycle(()=>[$(()=>this.exportedLink.state,()=>this.requestUpdate())])}render(){let{messages:e,exportedLink:t}=this,{error:i,state:o}=t,r;switch(o){case"pending":r=e.pending;break;case"ready":r=e.ready;break;case"error":r=e.errorMessage;break}let a=o==="error"?i?.name==="print-task:cim-symbol-unsupported"?e.exportWebMapCIMError:e.exportWebMapError:"";return n`<calcite-list-item .ariaLabel=${r} title=${a??d}>${this._renderExportedLinkItemContent(t,a)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t,a)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`}_renderExportedLinkItemPopover(e){let t=this.messages,i=e.formattedName??"",{state:o}=e,r=this.saveAsButtonCallback&&o!=="error"&&v(this.allowedFormatsForSaving,e.extension);return o!=="pending"&&r?n`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${i}-popover-button`} scale=s><calcite-list label>${e.portalItem?n`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let a=e.portalItem;if(!a?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=a.itemPageUrl,s.rel="noreferrer",s.click()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:n`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{this.saveAsButtonCallback&&(b(()=>e.portalItem).then(a=>{a.itemPageUrl&&this.requestUpdate()}),await this.saveAsButtonCallback(e))}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${()=>this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}_renderExportedLinkItemContent(e,t){let i=this.messages,{url:o,state:r}=e,a=e.formattedName??"",s=u(o||null,document.location.href);return n`<div class=${c(m.exportedFile)} slot=content @click=${()=>this._handleLinkClick(e)}><div><div class=${c(m.exportedFileLinkTitle)}>${a}</div><div class=${c(m.exportedFileLinkDescription)}>${r==="pending"?i.generatingExport:t||(s?i.ready:i.linkReady)}</div></div>${r==="ready"?n`<calcite-icon .ariaLabel=${`${a}. ${i.linkReady}`} .icon=${s?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?n`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:n`<calcite-icon .icon=${w(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e,t){let{state:i}=e,o=e.formattedName??"",r=this.saveAsButtonCallback&&i!=="error"&&v(this.allowedFormatsForSaving,e.extension);return i!=="pending"?n`<calcite-action .ariaLabel=${t} .icon=${r?"ellipsis":"x"} id=${(r?`${o}-popover-button`:void 0)??d} @click=${r?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${t}></calcite-action>`:null}};g("arcgis-print-exported-link",k);return k},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as u}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{b as u}from"./TCV34WIR.js";import{A as h}from"./ONQMSUPO.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import a from"./6D6E7PDC.js";import"./MXKENIC7.js";import{e as v,f as r}from"./BNDCYZDT.js";import{D as n,J as w,O as c,i as o,z as s}from"./ONQMSUPO.js";export default $arcgis.t(([{watch:d},u,l,{a:a,c:p,d:t}])=>{var _=o`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=a(l,{}),b=a(u,{}),h=class extends w{constructor(){super(...arguments),this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=n}static{this.styles=_}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready&&!this.extent?.equals(i)&&(this.view.extent=i),this._extent=i}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready?p.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error):this.view.ready!=null&&(this._map.destroy(),this._map=new l(this._editMapProperties({portalItem:{id:this._itemId}})),this.view.map=this._map)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){this.ready&&v(this.viewpoint,i)&&(this.view.viewpoint=i),this._viewpoint=i}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async openPopup(i){await this.view?.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container??=i.el.childElem}loaded(){this.manager.onLifecycle(()=>[d(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),d(()=>this.view.ready,()=>{this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId&&(i.portalItem={id:this.itemId});let{basemap:e,...m}=i;e||(i=m);let{ground:g,...y}=i;return g||(i=y),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};c("arcgis-link-chart",h);return h},"core/reactiveUtils","views/LinkChartView","WebLinkChart",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
4
|
export default $arcgis.t(([{formatNumber:r}])=>{var o=new Map([["a3-landscape","a3-landscape"],["a3-portrait","a3-portrait"],["a4-landscape","a4-landscape"],["a4-portrait","a4-portrait"],["letter-ansi-a-landscape","ansi-a-landscape"],["letter-ansi-a-portrait","ansi-a-portrait"],["tabloid-ansi-b-landscape","ansi-b-landscape"],["tabloid-ansi-b-portrait","ansi-b-portrait"]]),c=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;function u(a){let t=a?.closest("[dir]");return t!==null&&t instanceof HTMLElement&&t.dir==="rtl"||document.dir==="rtl"}function d(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[e,n]=t.pageSize;return`${r(e)} \xD7 ${r(n)} ${a.pageUnits}`}function f(a,t){let{label:e,layout:n,layoutItem:i,type:s}=a;return s==="print-service-template"&&t[n]?t[n]:(e??n??i?.id)?.replaceAll("_"," ")??t.untitled}function m(a){return o.get(a)}var g=new Map([["AIX","aix"],["EPS","eps"],["GIF","gif"],["JPG","jpg"],["PDF","pdf"],["PNG32","png32"],["PNG8","png8"],["SVG","svg"],["SVGZ","svgz"],["TIFF","tiff"]]),p="map-only";function b(a){return a?.toLowerCase()===p}return{a:c,b:u,c:d,d:f,e:m,f:g,g:b}},"intl")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import a from"./SLVAMXGX.js";import{a as b}from"./DI7RDP6N.js";import{e as y}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as g,J as h,K as v,M as e,O as m,i as l,j as p,z as d}from"./ONQMSUPO.js";export default $arcgis.t(([{when:M},{a:f,b:u}])=>{var w="arcgis-navigation-toggle",x={base:w},_=l`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`,o={pan:"move",rotate:"rotate"},s=class extends h{constructor(){super(...arguments),this.view=u(this),this._messages=f(),this.icon=o.pan,this.layout="vertical",this.navigationMode="pan",this.position="top-left",this.state="disabled",this.arcgisPropertyChange=y()("layout","state"),this.arcgisReady=d()}static{this.properties={icon:1,label:1,layout:3,navigationMode:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=g}static{this.styles=_}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this.state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:$}=this,n=t.pan??"",c=t.rotate??"",i=$==="disabled",r=a==="pan";return p`<calcite-action-bar class=${v({[x.base]:!0,[b.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${o.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${o.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};m("arcgis-navigation-toggle",s);return s},"core/reactiveUtils",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
4
|
function r(n){return n?.abort(),null}function e(n){return n?.remove(),null}export{r as a,e as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as s,J as a,O as h,i,z as t}from"./ONQMSUPO.js";export default $arcgis.t(([o,,l])=>{var d=i`@layer{arcgis-daylight{display:block}}`,r=l(o),e=class extends a{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);return e},"widgets/Daylight",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as o}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as s,J as a,O as r,i,z as t}from"./ONQMSUPO.js";export default $arcgis.t(([h,,n])=>{var d=i`@layer{arcgis-legend{display:block}}`,l=n(h),e=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=o()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);return e},"widgets/Legend",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import e from"./7BES3HZK.js";import c from"./SLVAMXGX.js";import{a as p}from"./DI7RDP6N.js";import b from"./6D6E7PDC.js";import{e as x}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as f,J as w,K as a,L as d,M as o,O as B,a as m,i as y,j as l,z as _}from"./ONQMSUPO.js";export default $arcgis.t(([{getBasemapThumbnailUrl:C},L,,{a:S},M])=>{var R=y`@layer{arcgis-basemap-toggle{display:block}}`,s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},A=M(L),g=class extends w{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("nextBasemap","state"),this.arcgisReady=_()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:1,label:1,messageOverrides:0,nextBasemap:1,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=f}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=C(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,k=b||u,D=this._getThumbnailStyles(n),I=this._getThumbnailStyles(i);return k&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};B("arcgis-basemap-toggle",g);return g},"applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel",b,c,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{a as l}from"./ANPX3M3T.js";import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as r}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as o,J as a,O as h,i as e,z as s}from"./ONQMSUPO.js";export default $arcgis.t(([n,{d:t},d])=>{var m=e`@layer{arcgis-bookmarks{display:block}}`,w=d(n),i=class extends a{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.goToOverride=this.widget.goToOverride,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=r()("state"),this.arcgisReady=s(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,goToOverride:0,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-bookmarks",i);return i},"widgets/Bookmarks",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{J as t,K as e,O as d,i as l,j as c}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{J as t,K as e,O as d,i as l,j as c}from"./ONQMSUPO.js";var p=l`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`,o="arcgis-video-player",i={progress:`${o}__progress`,slider:`${o}__slider`,sliderProgressContainer:`${o}__slider-progress-container`},a=class extends t{static{this.properties={viewModel:0,buffered:9,value:9}}static{this.styles=p}_onSliderInput({currentTarget:r}){if(typeof r.value=="number"){let s=r.value*this.viewModel.duration/100;this.viewModel.seekTo(s)}}render(){let{value:r,buffered:s}=this;return c`<div class=${e(i.sliderProgressContainer)}><progress class=${e(i.progress)} max=1 .value=${`${s}`}></progress><div class=${e(i.slider)}><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};d("arcgis-video-player-slider",a);export{a as VideoPlayerSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{j as m,k as h,l as p}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{j as m,k as h,l as p}from"./ONQMSUPO.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{a as d}from"./ANPX3M3T.js";import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as o}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as s,J as r,O as a,i as t,z as i}from"./ONQMSUPO.js";export default $arcgis.t(([n,{d:l},h])=>{var c=t`@layer{arcgis-basemap-layer-list{display:block}}`,g=h(n),e=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.baseFilterPredicate=this.widget.baseFilterPredicate,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterPredicate=this.widget.referenceFilterPredicate,this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=o()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=c}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};a("arcgis-basemap-layer-list",e);return e},"widgets/BasemapLayerList",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as D}from"./OAFG4TNU.js";import{a as k,b as I}from"./K73CMPIT.js";import c from"./AHNRHEL2.js";import b from"./E7JFNKNZ.js";import{a as A}from"./7D54COAB.js";import a from"./Q53IGXXT.js";import{e as R}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as T,J as L,K as w,M as _,O as N,a as P,i as O,j as g,z as f}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:E},{property:n,subclass:M},d,{onLocaleChange:$},ee,te,H,Q,oe,ie,v,F,{geographicToWebMercator:re},ae,{project:se},ne,,{a:U},x])=>{var le=O`@layer{arcgis-locate{display:block}}`,ce=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,m=(e,t,o,r)=>{for(var i=r>1?void 0:r?pe(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&ce(t,o,i),i};function de(e="Aborted"){return new d("AbortError",e)}function ue(e,t="Aborted"){if(he(e))throw de(t)}function j(e){return e instanceof AbortSignal?e:e?.signal??void 0}function he(e){return j(e)?.aborted??!1}function K(e){return e?.name==="AbortError"}function me(e){return{ok:!0,value:e}}function ge(e){return{ok:!1,error:e}}function ye(e){return e?.ok?e.value:null}function fe(e){return e!=null&&!e.ok?e.error:null}function ve(e,t){let o=j(e);if(o==null)return;if(o.aborted){t();return}let r=()=>t();return o.addEventListener("abort",r,{once:!0}),{remove:()=>o.removeEventListener("abort",r)}}var u=class extends H{constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=k(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:o}=this._abortController;this.promise=e(o),this.promise.then(r=>{this._result=me(r),this._cleanup()},r=>{this._result=ge(r),this._cleanup()}),this._abortHandle=ve(t,this.abort)}get value(){return ye(this._result)}get error(){return fe(this._result)}get finished(){return this._result!=null}destroy(){this.abort()}_cleanup(){this._abortHandle=I(this._abortHandle),this._abortController=null}[Symbol.dispose](){this._cleanup()}};m([n()],u.prototype,"value",1);m([n()],u.prototype,"error",1);m([n()],u.prototype,"finished",1);m([n()],u.prototype,"promise",2);m([n()],u.prototype,"_result",2);u=m([M("esri.components.asyncUtils.ReactiveTask")],u);var G=!1,be={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function we(){let e="geolocation"in navigator;return e||console.warn("geolocation-unsupported","Geolocation unsupported."),e}function Ae(){let e=window.isSecureContext;return e||G||(G=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),e}function Ee(){return we()&&Ae()}function Ce(e){return e??=be,new Promise((t,o)=>{setTimeout(()=>o(new d("geolocation:timeout","getting the current geolocation position timed out")),e?.timeout??15e3),navigator.geolocation.getCurrentPosition(t,o,e??void 0)})}function Me(e,t){let{position:o,view:r}=e,i=Se(o)?.coords;if(!i)throw new d("geometry-service:no-coords","Geolocation has no coordinates");let a=Pe(i);return Oe(a,r,t)}function Se(e){let t=e?.coords||{},o={accuracy:t.accuracy,altitude:t.altitude,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,latitude:t.latitude,longitude:t.longitude,speed:t.speed,toJSON(){return{}}};return e&&{coords:o,timestamp:e.timestamp,toJSON(){return{}}}}function Pe({longitude:e,latitude:t,altitude:o}){return new ie({longitude:e,latitude:t,z:o||void 0,spatialReference:{wkid:4326}})}async function Oe(e,t,o){if(!t)return await Promise.resolve(e);let r=t.spatialReference;return r.isWGS84?await Promise.resolve(e):r.isWebMercator?await Promise.resolve(re(e)):v.isLoaded()?await Promise.resolve(v.execute(e,r)):await Te(o).then(async i=>{if(!i)throw new d("geometry-service:missing-url","Geometry service URL is missing");let a=new ne({geometries:[e],outSpatialReference:r});return(await se(i,a,o))[0]})}async function Te(e){if(F.geometryServiceUrl)return await Promise.resolve(F.geometryServiceUrl);let t=ae.getDefault();try{await t.load(e)}catch{}return t.helperServices?.geometry?.url}var Le=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,p=(e,t,o,r)=>{for(var i=r>1?void 0:r?_e(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&Le(t,o,i),i},Ne=2500;function V(e){let t={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:e==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:e==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:e==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return e==="background"&&(t.offsetX=0,t.offsetY=-1),t}var J={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Re=V("layer"),Ue=V("background"),xe=new oe({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Re,Ue,J],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),l=class extends H{constructor(){super(...arguments),this._geolocationUsable=!0,this.geolocationOptions=null,this.goToLocationEnabled=!0,this.goToOverride=null,this.graphic=new Q({symbol:xe}),this.scale=null,this.rotationEnabled=!0,this.view=null}initialize(){Ee()||(this._geolocationUsable=!1),this.addHandles([E(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=null}_clearGraphic(){let{view:e,graphic:t}=this;e&&t&&e.graphics.remove(t)}_addGraphic(){let{view:e,graphic:t}=this;!e?.graphics||!t||e.graphics.includes(t)||e.graphics.push(t)}_handleViewTypeChange(){J.enable=this.view?.type==="2d"}_getScaleWithinConstraints(e,t){if(!t)return e;if(t.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=t.constraints;return Math.min(r,Math.max(o,e))}return e}_getScale(e){let{scale:t}=this,o=typeof t=="number"?t:Ne;return this._getScaleWithinConstraints(o,e)}_getHeading(e,t){let o=t?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=e.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(e){let{heading:t,target:o,view:r}=e;if(!(!r||t===null)){if(r.type==="3d"){o.heading=t;return}r.type==="2d"&&(o.rotation=360-t)}}async _animatePoint(e,t,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:e,scale:t};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};ue(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(e,t){try{let o=this.view,r=await Me({position:e,view:o},{signal:t.signal}),{graphic:i}=this,{timestamp:a,coords:s}=e,{accuracy:b,altitude:y,altitudeAccuracy:q,latitude:W,longitude:X,speed:B}=s,S=this._getHeading(e,o),Z={timestamp:a,accuracy:b,altitude:y,altitudeAccuracy:q,heading:S,latitude:W,longitude:X,speed:B};i&&(i.geometry=r,i.attributes=Z);let Y=this._getScale(o);await this._animatePoint(r,Y,S,t)}catch(o){if(!K(o))throw new d("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return e}};p([n()],l.prototype,"_geolocationUsable",2);p([n()],l.prototype,"geolocationOptions",2);p([n()],l.prototype,"goToLocationEnabled",2);p([n()],l.prototype,"goToOverride",2);p([n({type:Q})],l.prototype,"graphic",2);p([n()],l.prototype,"scale",2);p([n()],l.prototype,"rotationEnabled",2);p([n()],l.prototype,"view",2);l=p([M("map-components.geolocation.GeolocationPositioning")],l);var De=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,h=(e,t,o,r)=>{for(var i=r>1?void 0:r?ke(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&De(t,o,i),i},Ie=new te({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Fe(e){return new ee({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[Ie.clone()],content:[{type:"fields"}]})}var c=class extends l{constructor(e){super(e),this._locateController=null,this.currentPosition=null,this.error=void 0,this.messages=null,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([$(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new d("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new d("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await Ce(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=t,this._locateController=null,t}catch(t){if(K(t))return null;throw e===this._locateController&&(this._locateController=null),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=null}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=Fe(this.messages),o=e!==this.graphic;this.destroyed||o||(e.popupTemplate=t)}};h([n()],c.prototype,"_locateController",2);h([n()],c.prototype,"currentPosition",2);h([n()],c.prototype,"error",2);h([n()],c.prototype,"messages",2);h([n()],c.prototype,"popupEnabled",2);h([n({readOnly:!0})],c.prototype,"state",1);c=h([M("map-components.locate.LocateViewModel")],c);var Ge={base:"esri-locate"},z="gps-off",ze=x(c),C=class extends L{constructor(){super(...arguments),this.messages=U(),this.viewModel=ze(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=z,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=f(),this.arcgisPropertyChange=R()("state"),this.arcgisReady=f(),this.arcgisSuccess=f()}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=T}static{this.styles=le}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[E(()=>this.viewModel.error,t=>{this.arcgisError.emit({error:t})}),E(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:o}=this,{state:r}=t,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",b=D===void 0?z:void 0,y=this._localizeError(this.viewModel?.error);return g`<div class=${w(P(Ge.base,A.widget))}>${!s&&g`<calcite-button class=${w(A.widgetButton)} .disabled=${r==="disabled"} .iconStart=${i?void 0:o??b} kind=neutral .label=${a} @click=${this._locate} title=${a??_}>${i?g`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${y?g`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${y}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",C);return C},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c)
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{a as D}from"./XDMRCMJI.js";import{a as k,b as I}from"./PYZN42J2.js";import c from"./7BES3HZK.js";import b from"./SLVAMXGX.js";import{a as A}from"./DI7RDP6N.js";import a from"./6D6E7PDC.js";import{e as R}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as T,J as L,K as w,M as _,O as N,a as P,i as O,j as g,z as f}from"./ONQMSUPO.js";export default $arcgis.t(([{watch:E},{property:n,subclass:M},d,{onLocaleChange:$},ee,te,H,Q,oe,ie,v,F,{geographicToWebMercator:re},ae,{project:se},ne,,{a:U},x])=>{var le=O`@layer{arcgis-locate{display:block}}`,ce=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,m=(e,t,o,r)=>{for(var i=r>1?void 0:r?pe(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&ce(t,o,i),i};function de(e="Aborted"){return new d("AbortError",e)}function ue(e,t="Aborted"){if(he(e))throw de(t)}function j(e){return e instanceof AbortSignal?e:e?.signal??void 0}function he(e){return j(e)?.aborted??!1}function K(e){return e?.name==="AbortError"}function me(e){return{ok:!0,value:e}}function ge(e){return{ok:!1,error:e}}function ye(e){return e?.ok?e.value:null}function fe(e){return e!=null&&!e.ok?e.error:null}function ve(e,t){let o=j(e);if(o==null)return;if(o.aborted){t();return}let r=()=>t();return o.addEventListener("abort",r,{once:!0}),{remove:()=>o.removeEventListener("abort",r)}}var u=class extends H{constructor(e,t){super({}),this._result=null,this._abortHandle=null,this.abort=()=>{this._abortController=k(this._abortController)},this.remove=this.abort,this._abortController=new AbortController;let{signal:o}=this._abortController;this.promise=e(o),this.promise.then(r=>{this._result=me(r),this._cleanup()},r=>{this._result=ge(r),this._cleanup()}),this._abortHandle=ve(t,this.abort)}get value(){return ye(this._result)}get error(){return fe(this._result)}get finished(){return this._result!=null}destroy(){this.abort()}_cleanup(){this._abortHandle=I(this._abortHandle),this._abortController=null}[Symbol.dispose](){this._cleanup()}};m([n()],u.prototype,"value",1);m([n()],u.prototype,"error",1);m([n()],u.prototype,"finished",1);m([n()],u.prototype,"promise",2);m([n()],u.prototype,"_result",2);u=m([M("esri.components.asyncUtils.ReactiveTask")],u);var G=!1,be={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function we(){let e="geolocation"in navigator;return e||console.warn("geolocation-unsupported","Geolocation unsupported."),e}function Ae(){let e=window.isSecureContext;return e||G||(G=!0,console.warn("insecure-context","Geolocation requires a secure origin.")),e}function Ee(){return we()&&Ae()}function Ce(e){return e??=be,new Promise((t,o)=>{setTimeout(()=>o(new d("geolocation:timeout","getting the current geolocation position timed out")),e?.timeout??15e3),navigator.geolocation.getCurrentPosition(t,o,e??void 0)})}function Me(e,t){let{position:o,view:r}=e,i=Se(o)?.coords;if(!i)throw new d("geometry-service:no-coords","Geolocation has no coordinates");let a=Pe(i);return Oe(a,r,t)}function Se(e){let t=e?.coords||{},o={accuracy:t.accuracy,altitude:t.altitude,altitudeAccuracy:t.altitudeAccuracy,heading:t.heading,latitude:t.latitude,longitude:t.longitude,speed:t.speed,toJSON(){return{}}};return e&&{coords:o,timestamp:e.timestamp,toJSON(){return{}}}}function Pe({longitude:e,latitude:t,altitude:o}){return new ie({longitude:e,latitude:t,z:o||void 0,spatialReference:{wkid:4326}})}async function Oe(e,t,o){if(!t)return await Promise.resolve(e);let r=t.spatialReference;return r.isWGS84?await Promise.resolve(e):r.isWebMercator?await Promise.resolve(re(e)):v.isLoaded()?await Promise.resolve(v.execute(e,r)):await Te(o).then(async i=>{if(!i)throw new d("geometry-service:missing-url","Geometry service URL is missing");let a=new ne({geometries:[e],outSpatialReference:r});return(await se(i,a,o))[0]})}async function Te(e){if(F.geometryServiceUrl)return await Promise.resolve(F.geometryServiceUrl);let t=ae.getDefault();try{await t.load(e)}catch{}return t.helperServices?.geometry?.url}var Le=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,p=(e,t,o,r)=>{for(var i=r>1?void 0:r?_e(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&Le(t,o,i),i},Ne=2500;function V(e){let t={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:e==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:e==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:e==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return e==="background"&&(t.offsetX=0,t.offsetY=-1),t}var J={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Re=V("layer"),Ue=V("background"),xe=new oe({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Re,Ue,J],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),l=class extends H{constructor(){super(...arguments),this._geolocationUsable=!0,this.geolocationOptions=null,this.goToLocationEnabled=!0,this.goToOverride=null,this.graphic=new Q({symbol:xe}),this.scale=null,this.rotationEnabled=!0,this.view=null}initialize(){Ee()||(this._geolocationUsable=!1),this.addHandles([E(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=null}_clearGraphic(){let{view:e,graphic:t}=this;e&&t&&e.graphics.remove(t)}_addGraphic(){let{view:e,graphic:t}=this;!e?.graphics||!t||e.graphics.includes(t)||e.graphics.push(t)}_handleViewTypeChange(){J.enable=this.view?.type==="2d"}_getScaleWithinConstraints(e,t){if(!t)return e;if(t.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=t.constraints;return Math.min(r,Math.max(o,e))}return e}_getScale(e){let{scale:t}=this,o=typeof t=="number"?t:Ne;return this._getScaleWithinConstraints(o,e)}_getHeading(e,t){let o=t?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=e.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(e){let{heading:t,target:o,view:r}=e;if(!(!r||t===null)){if(r.type==="3d"){o.heading=t;return}r.type==="2d"&&(o.rotation=360-t)}}async _animatePoint(e,t,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:e,scale:t};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};ue(s),this.goToOverride&&i&&this.goToOverride(i,{target:a,options:s}),await i.goTo(a,s)}async updatePosition(e,t){try{let o=this.view,r=await Me({position:e,view:o},{signal:t.signal}),{graphic:i}=this,{timestamp:a,coords:s}=e,{accuracy:b,altitude:y,altitudeAccuracy:q,latitude:W,longitude:X,speed:B}=s,S=this._getHeading(e,o),Z={timestamp:a,accuracy:b,altitude:y,altitudeAccuracy:q,heading:S,latitude:W,longitude:X,speed:B};i&&(i.geometry=r,i.attributes=Z);let Y=this._getScale(o);await this._animatePoint(r,Y,S,t)}catch(o){if(!K(o))throw new d("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return e}};p([n()],l.prototype,"_geolocationUsable",2);p([n()],l.prototype,"geolocationOptions",2);p([n()],l.prototype,"goToLocationEnabled",2);p([n()],l.prototype,"goToOverride",2);p([n({type:Q})],l.prototype,"graphic",2);p([n()],l.prototype,"scale",2);p([n()],l.prototype,"rotationEnabled",2);p([n()],l.prototype,"view",2);l=p([M("map-components.geolocation.GeolocationPositioning")],l);var De=Object.defineProperty,ke=Object.getOwnPropertyDescriptor,h=(e,t,o,r)=>{for(var i=r>1?void 0:r?ke(t,o):t,a=e.length-1,s;a>=0;a--)(s=e[a])&&(i=(r?s(t,o,i):s(i))||i);return r&&i&&De(t,o,i),i},Ie=new te({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Fe(e){return new ee({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[Ie.clone()],content:[{type:"fields"}]})}var c=class extends l{constructor(e){super(e),this._locateController=null,this.currentPosition=null,this.error=void 0,this.messages=null,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([$(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new d("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new d("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await Ce(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=t,this._locateController=null,t}catch(t){if(K(t))return null;throw e===this._locateController&&(this._locateController=null),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=null}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=Fe(this.messages),o=e!==this.graphic;this.destroyed||o||(e.popupTemplate=t)}};h([n()],c.prototype,"_locateController",2);h([n()],c.prototype,"currentPosition",2);h([n()],c.prototype,"error",2);h([n()],c.prototype,"messages",2);h([n()],c.prototype,"popupEnabled",2);h([n({readOnly:!0})],c.prototype,"state",1);c=h([M("map-components.locate.LocateViewModel")],c);var Ge={base:"esri-locate"},z="gps-off",ze=x(c),C=class extends L{constructor(){super(...arguments),this.messages=U(),this.viewModel=ze(this),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=z,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=f(),this.arcgisPropertyChange=R()("state"),this.arcgisReady=f(),this.arcgisSuccess=f()}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=T}static{this.styles=le}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[E(()=>this.viewModel.error,t=>{this.arcgisError.emit({error:t})}),E(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:o}=this,{state:r}=t,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",b=D===void 0?z:void 0,y=this._localizeError(this.viewModel?.error);return g`<div class=${w(P(Ge.base,A.widget))}>${!s&&g`<calcite-button class=${w(A.widgetButton)} .disabled=${r==="disabled"} .iconStart=${i?void 0:o??b} kind=neutral .label=${a} @click=${this._locate} title=${a??_}>${i?g`<calcite-loader inline label></calcite-loader>`:null}</calcite-button>`||""}${y?g`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${y}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",C);return C},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{d as l}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{d as l}from"./TCV34WIR.js";import{a as h}from"./MXKENIC7.js";import{a as i}from"./BNDCYZDT.js";import{B as a,P as c}from"./ONQMSUPO.js";export default $arcgis.t(([m,{signal:p}])=>{var _=l(c),g=n=>v(n),s=class extends a{constructor(e){super(e),this._view$=p(void 0),this._viewDestroyHandle=void 0,this._canEmitArcgisReady=!1;let{el:t}=e,r=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this._view$.value,set:o=>{if(this.exports===o)return;let d=t.view;this._view$.value=o,this.exports=o,this.component.requestUpdate("view",d),this._notifyViewReady()},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>{r&&(t.view=r)})}hostConnected(){this.component.manager.hasDestroy&&(this._viewDestroyHandle??=m.when(()=>this._view$.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.onDestroy(()=>this._viewDestroyHandle?.remove())),this.component.manager.loadedCalled&&i(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=t??e.childElem,this._canEmitArcgisReady=!0,this._notifyViewReady(),e.isConnected&&i(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this._view$.value?.ui?.remove(this.component.el.childElem)}hostUpdate(e){e.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&i(this.component),e.has("referenceElement")&&i(this.component)}_notifyViewReady(){!this._canEmitArcgisReady||this._view$.value==null||(this._canEmitArcgisReady=!1,this.component.arcgisReady.emit())}},v=h(s);return{a:_,b:g,c:s}},"core/reactiveUtils","applications/Components/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import b from"./C4B35TTR.js";import a from"./6D6E7PDC.js";import{e as l}from"./TCV34WIR.js";import"./MXKENIC7.js";import{c as w}from"./BNDCYZDT.js";import{D as h,J as d,O as n,i as o,z as r}from"./ONQMSUPO.js";export default $arcgis.t(([{watch:c},m,g,,y])=>{var u=o`@layer{arcgis-directions{display:block}}`,p=y(g),i="map-components:arcgis-directions",s=class extends d{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.apiKey=this.widget.apiKey,this.autoDestroyDisabled=!1,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideLayerDetails=this.widget.visibleElements.layerDetails,this.hideSaveAsButton=this.widget.visibleElements.saveAsButton,this.hideSaveButton=this.widget.visibleElements.saveButton,this.icon=this.widget.icon,this.label=this.widget.label,this.lastRoute=this.widget.lastRoute,this.layer=this.widget.layer,this.maxStops=this.widget.maxStops,this.position="bottom-left",this.searchProperties=this.widget.searchProperties,this.state=this.viewModel.state,this.unit=this.widget.unit,this.useDefaultRouteLayer=!1,this.arcgisPropertyChange=l()("lastRoute","state"),this.arcgisReady=r()}static{this.properties={apiKey:1,autoDestroyDisabled:5,goToOverride:0,headingLevel:9,hideLayerDetails:5,hideSaveAsButton:5,hideSaveButton:5,icon:1,label:1,lastRoute:0,layer:0,maxStops:9,position:1,referenceElement:1,routeLayerItemId:1,searchProperties:0,state:3,unit:1,useDefaultRouteLayer:5}}static{this.shadowRootOptions=h}static{this.styles=u}async destroy(){await this.manager.destroy()}async getDirections(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to get directions`);return await this.widget?.getDirections()}async save(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions`);return await this.widget?.save()}async saveAs(e,t){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to save directions as a Portal Item`);return await this.widget?.saveAs(e,t)}async zoomToRoute(){if(this.widget?.viewModel?.state!=="ready")throw new Error(`${i} - component not ready to zoom to route`);this.widget?.zoomToRoute()}willUpdate(e){if(e.has("routeLayerItemId")){let t=this.routeLayerItemId;if(w(t)&&!this.useDefaultRouteLayer){let{layer:a}=this;a&&this.widget.view?.map?.remove(a),this._setDefaultLayer()}else t&&this.widget&&(this.layer=new m({portalItem:{id:t}}),this.widget.view?.map?.add(this.layer))}e.has("useDefaultRouteLayer")&&this._setDefaultLayer()}_setDefaultLayer(){this.useDefaultRouteLayer&&!this.routeLayerItemId&&(this.layer=new m,c(()=>this.widget.view,()=>this.widget.view?.map?.add(this.layer),{once:!0}))}};n("arcgis-directions",s);return s},"core/reactiveUtils","layers/RouteLayer","widgets/Directions",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as d}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as a,J as n,O as o,i,z as s}from"./ONQMSUPO.js";export default $arcgis.t(([r,,h])=>{var c=i`@layer{arcgis-feature{display:block}}`,p=h(r),e=class extends n{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideLastEditedInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideLastEditedInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);return e},"widgets/Feature",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import c from"./C4B35TTR.js";import b from"./6D6E7PDC.js";import{e as o}from"./TCV34WIR.js";import"./MXKENIC7.js";import"./BNDCYZDT.js";import{D as s,J as a,O as r,i,z as e}from"./ONQMSUPO.js";export default $arcgis.t(([h,,n])=>{var l=i`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:1,icon:1,includedBarColor:1,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};r("arcgis-histogram-range-slider",t);return t},"widgets/HistogramRangeSlider",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as L}from"./
|
|
3
|
+
v4.33.0-next.113 */
|
|
4
|
+
import{a as L}from"./MXKENIC7.js";import{A as P,b as m,c as f,f as v,g as y,o as g,p as b,q as E,r as C,s as x,y as _}from"./ONQMSUPO.js";var O=r=>w(void 0,r),J=r=>o=>w(o,r),d=class extends P{constructor(o,e){super(o);let t=this.exports;try{b(this.component);let s=e(this.component,this),n=this.exports!==t;if(g(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},w=L(d);var Q=r=>(...o)=>{let e=x(),t=new r(...o);return C(e.at(-1)),t};var k="ltr",X=()=>O((r,o)=>{o.exports=k,o.onLifecycle(()=>{function e(){let t=f(r.el,"dir",k);o.exports=t==="rtl"?"rtl":"ltr"}return e(),m(r.el,["dir"],e)})}),Y=r=>(o={})=>O((e,t)=>{let s=v(e.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=e;t.onLifecycle(()=>y(e.el,()=>r("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let h={...l,_lang:p,_t9nLocale:c,_loading:!1};t.exports=h;let u=l.componentLabel;typeof u=="string"&&"label"in e&&e.label==null&&(e.label??=u),i(a.messageOverrides)},o.name));function i(c){let l=t.exports,p=l._original??l,h=N(p,c);c&&(h._original=p),t.exports=h}return"messageOverrides"in a&&t.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),o.blocking?(t.setProvisionalExports(n,!1),t.ready):n});function N(r,o){if(!o)return r;let e={...r};return Object.entries(o).forEach(([t,s])=>{typeof s=="object"?e[t]=N(r[t],s):e[t]=s??r[t]}),e}var Z=r=>M,D="arcgisPropertyChange";function M(...r){let o=E(),e=_(D,void 0,o),t=!0;return o.manager.onUpdated(s=>{if(t||!o.el.isConnected){t=!1;return}for(let n of r)s.has(n)&&e.emit({name:n})}),e}export{J as a,Q as b,X as c,Y as d,Z as e};
|