@arcgis/map-components 6.0.0-next.14 → 6.0.0-next.16

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.
Files changed (134) hide show
  1. package/dist/cdn/33B22YZ5.js +2 -0
  2. package/dist/cdn/{NWCS3WJE.js → 35YLXOQ5.js} +1 -1
  3. package/dist/cdn/4XEZYOW7.js +2 -0
  4. package/dist/cdn/{OL5Z5MUQ.js → 54252KWO.js} +1 -1
  5. package/dist/cdn/{IZ3VMFW6.js → 5VXEMMLV.js} +1 -1
  6. package/dist/cdn/{UUBJR2VN.js → AI3ETXGZ.js} +1 -1
  7. package/dist/cdn/{OS3TKP63.js → AQ4GVWNJ.js} +1 -1
  8. package/dist/cdn/AWB7XOHF.js +2 -0
  9. package/dist/cdn/BYYCKI2P.js +2 -0
  10. package/dist/cdn/C2YP473B.js +2 -0
  11. package/dist/cdn/DUKK2PHD.js +2 -0
  12. package/dist/cdn/{I2VQOWJL.js → ECYWLMDD.js} +1 -1
  13. package/dist/cdn/FFVPO4JB.js +2 -0
  14. package/dist/cdn/{OS736MCE.js → FUJYJKDU.js} +1 -1
  15. package/dist/cdn/{SWWJXGPV.js → GFYLYX2V.js} +1 -1
  16. package/dist/cdn/GMEXAEOI.js +2 -0
  17. package/dist/cdn/H7QBBTTP.js +2 -0
  18. package/dist/cdn/{CDCI4EQR.js → HZDWPWBH.js} +1 -1
  19. package/dist/cdn/JB6WQEFJ.js +2 -0
  20. package/dist/cdn/{KJNU4Q25.js → JVC5XNYJ.js} +1 -1
  21. package/dist/cdn/LYYBCY4N.js +2 -0
  22. package/dist/cdn/{TMQVC4YN.js → NMGC3KRM.js} +1 -1
  23. package/dist/cdn/NU75HQA2.js +2 -0
  24. package/dist/cdn/{B2UZB5MB.js → NUZBBPNE.js} +2 -2
  25. package/dist/cdn/{JC24VBLE.js → ODSZ7JZM.js} +1 -1
  26. package/dist/cdn/{VWEJ2XSC.js → P3AEIHWE.js} +1 -1
  27. package/dist/cdn/QCYQNVPL.js +2 -0
  28. package/dist/cdn/{ARHQMHUP.js → SAIBFBPE.js} +1 -1
  29. package/dist/cdn/U6NHJKIM.js +2 -0
  30. package/dist/cdn/VYM3TR3Q.js +2 -0
  31. package/dist/cdn/WC2N2XG6.js +2 -0
  32. package/dist/cdn/ZDLHDQCX.js +2 -0
  33. package/dist/cdn/ZIQRARXE.js +2 -0
  34. package/dist/cdn/{Y56CR5OU.js → ZS5IADYN.js} +1 -1
  35. package/dist/cdn/index.js +1 -1
  36. package/dist/chunks/loader-utils.js +41 -0
  37. package/dist/chunks/resources.js +10 -4
  38. package/dist/chunks/slots.js +3 -3
  39. package/dist/chunks/useArcgisViewReadyError.js +180 -128
  40. package/dist/components/arcgis-editor/customElement.d.ts +9 -17
  41. package/dist/components/arcgis-editor/customElement.js +18 -16
  42. package/dist/components/arcgis-feature-next/customElement.js +21 -14
  43. package/dist/components/arcgis-feature-table/customElement.d.ts +58 -39
  44. package/dist/components/arcgis-features-next/customElement.js +137 -116
  45. package/dist/components/arcgis-fullscreen/customElement.js +4 -4
  46. package/dist/components/arcgis-legend/customElement.d.ts +2 -0
  47. package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -6
  48. package/dist/components/arcgis-link-chart/customElement.js +24 -24
  49. package/dist/components/arcgis-map/customElement.js +16 -16
  50. package/dist/components/arcgis-scene/customElement.js +21 -21
  51. package/dist/components/arcgis-sketch/customElement.d.ts +1 -3
  52. package/dist/components/arcgis-sketch/customElement.js +146 -178
  53. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +2 -4
  54. package/dist/components/arcgis-time-bar/customElement.js +108 -105
  55. package/dist/components/arcgis-time-bar-date/customElement.js +10 -10
  56. package/dist/components/arcgis-time-bar-extent/customElement.js +9 -9
  57. package/dist/components/arcgis-time-bar-slider/customElement.js +27 -33
  58. package/dist/components/arcgis-track/customElement.d.ts +2 -2
  59. package/dist/components/arcgis-track/types.d.ts +1 -1
  60. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -3
  61. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +61 -68
  62. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -3
  63. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +53 -50
  64. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +1 -2
  65. package/dist/docs/api.json +1 -1
  66. package/dist/docs/docs.json +1 -1
  67. package/dist/docs/vscode.html-custom-data.json +1 -1
  68. package/dist/docs/web-types.json +1 -1
  69. package/dist/loader.js +2 -2
  70. package/dist/types/lumina.d.ts +2 -1
  71. package/dist/types/preact.d.ts +2 -1
  72. package/dist/types/react.d.ts +2 -1
  73. package/dist/types/stencil.d.ts +2 -1
  74. package/package.json +7 -7
  75. package/dist/cdn/6RE5RWYP.js +0 -2
  76. package/dist/cdn/AL3PLZEE.js +0 -2
  77. package/dist/cdn/EYM377YG.js +0 -2
  78. package/dist/cdn/FINGRYZY.js +0 -2
  79. package/dist/cdn/GLU2HDV6.js +0 -2
  80. package/dist/cdn/JR3EXG25.js +0 -2
  81. package/dist/cdn/LISDXDCI.js +0 -2
  82. package/dist/cdn/LXLLMRNZ.js +0 -2
  83. package/dist/cdn/OVXGV76V.js +0 -2
  84. package/dist/cdn/PTCHEZNA.js +0 -2
  85. package/dist/cdn/QAZ4W6K3.js +0 -2
  86. package/dist/cdn/QPR3KBLU.js +0 -2
  87. package/dist/cdn/TI6R2CP6.js +0 -2
  88. package/dist/cdn/TUT6GS4A.js +0 -2
  89. package/dist/cdn/UOO6QY7C.js +0 -2
  90. package/dist/cdn/UYWJU5UG.js +0 -2
  91. package/dist/cdn/WADL7TT6.js +0 -2
  92. /package/dist/cdn/{MGDY6SA3.js → 2JLC2JV7.js} +0 -0
  93. /package/dist/cdn/{ITSWOLPG.js → 37Z3E4ZM.js} +0 -0
  94. /package/dist/cdn/{SMCQ5457.js → 53PKFG2U.js} +0 -0
  95. /package/dist/cdn/{YZ23NKH4.js → 5ZLCMYZU.js} +0 -0
  96. /package/dist/cdn/{DXD3FSIB.js → 6MRDTILE.js} +0 -0
  97. /package/dist/cdn/{TTGAGK6Y.js → 72FJMPJ2.js} +0 -0
  98. /package/dist/cdn/{CIVCCENA.js → 7P23WI52.js} +0 -0
  99. /package/dist/cdn/{DU7MQDXJ.js → 7QUHJ4F6.js} +0 -0
  100. /package/dist/cdn/{PLRW457V.js → 7YXE3BUX.js} +0 -0
  101. /package/dist/cdn/{IYTA36WK.js → AE26KT54.js} +0 -0
  102. /package/dist/cdn/{OY2F5AX3.js → C4EAONGF.js} +0 -0
  103. /package/dist/cdn/{7RG4ZQP7.js → CTVCZ2FU.js} +0 -0
  104. /package/dist/cdn/{DVVXBWDN.js → EIQ3BKQI.js} +0 -0
  105. /package/dist/cdn/{J5PYSABF.js → EULM4L53.js} +0 -0
  106. /package/dist/cdn/{VHCJJ5FD.js → EVCKANRW.js} +0 -0
  107. /package/dist/cdn/{4U7C2G4R.js → GXIGMIXV.js} +0 -0
  108. /package/dist/cdn/{UAVE6R7W.js → JZSRPSRH.js} +0 -0
  109. /package/dist/cdn/{FSKKSFCQ.js → KDO2EJA3.js} +0 -0
  110. /package/dist/cdn/{B42Z3IQW.js → LCTJF3NT.js} +0 -0
  111. /package/dist/cdn/{LH3HGDD3.js → LGPNRKDT.js} +0 -0
  112. /package/dist/cdn/{5QBYMSV7.js → LNZRHKHG.js} +0 -0
  113. /package/dist/cdn/{SN3LTQAO.js → MM4N6C4V.js} +0 -0
  114. /package/dist/cdn/{A7G5RNN7.js → MQL4JTYG.js} +0 -0
  115. /package/dist/cdn/{4JRBTFMB.js → NUCXXE6V.js} +0 -0
  116. /package/dist/cdn/{XELSV7WY.js → O2VAKVIY.js} +0 -0
  117. /package/dist/cdn/{DYUSQ3OG.js → OLEIOWZX.js} +0 -0
  118. /package/dist/cdn/{3E6IBNWF.js → ORS7OWLJ.js} +0 -0
  119. /package/dist/cdn/{IHQ2C6NE.js → P3BAHG4Q.js} +0 -0
  120. /package/dist/cdn/{IPLEI5W5.js → QYMZT7OC.js} +0 -0
  121. /package/dist/cdn/{43JS3JXR.js → RENVCO3U.js} +0 -0
  122. /package/dist/cdn/{CJZCG74B.js → RGECACLD.js} +0 -0
  123. /package/dist/cdn/{HI7Y3XH5.js → SYIOPNRF.js} +0 -0
  124. /package/dist/cdn/{F2JEYWUA.js → T62G5MRK.js} +0 -0
  125. /package/dist/cdn/{AS55LGS3.js → TS32SDVT.js} +0 -0
  126. /package/dist/cdn/{W5QAG2HP.js → UCHDAO3V.js} +0 -0
  127. /package/dist/cdn/{HSYCQNEN.js → VNY7TNRC.js} +0 -0
  128. /package/dist/cdn/{KVN6NUH4.js → XJIILB3W.js} +0 -0
  129. /package/dist/cdn/{OHIZP5N4.js → Y4D3Q4G7.js} +0 -0
  130. /package/dist/cdn/{EMFLPMFZ.js → Y7KMV2PI.js} +0 -0
  131. /package/dist/cdn/{IBTIGEEQ.js → YASANB6O.js} +0 -0
  132. /package/dist/cdn/{L5L2SWJG.js → YMN2Q7CW.js} +0 -0
  133. /package/dist/cdn/{ZHP63EHR.js → YN6VG7UO.js} +0 -0
  134. /package/dist/cdn/{T6V5HDYH.js → YRYYWFPY.js} +0 -0
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as w}from"./A7G5RNN7.js";import{K as _,N as E,O as I,f as L,g,m as A,p as H}from"./7RG4ZQP7.js";import{a as tt}from"./TAVTDQ6S.js";function et(t,e){let r=0,n=0,o=1,i=0,s=0,u=0,l=0,a=0;return t.formatToParts(e).forEach(c=>{switch(c.type){case"year":r=+c.value;break;case"month":n=+c.value-1;break;case"day":o=+c.value;break;case"hour":i=+c.value;break;case"minute":s=+c.value;break;case"second":u=+c.value;break;case"fractionalSecond":l=+c.value;break;case"weekday":switch(c.value){case"Sun":a=0;break;case"Mon":a=1;break;case"Tue":a=2;break;case"Wed":a=3;break;case"Thu":a=4;break;case"Fri":a=5;break;case"Sat":a=6;break}}}),i===24&&(i=0),{year:r,month:n,day:o,hour:i,minute:s,second:u,millisecond:l,weekday:a}}function rt(t,e){let{year:r,month:n,day:o,hour:i,minute:s,second:u,millisecond:l}=et(t,e);return h(r,n,o,i,s,u,l)}function h(t,e,r,n,o,i,s){if(t>=100||t<0)return Date.UTC(t,e,r,n,o,i,s);let u=new Date(Date.UTC(t+400,e,r,n,o,i,s));return u.setUTCFullYear(u.getUTCFullYear()-400),u.getTime()}var x=864e5,N=class{constructor(e,r){if(this._offsets=new Map,!r)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this.name=e,this._dtf=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3})}static new(e){return new this(e,!0)}convertLocal(e){let r=this.offsetUTC(e),n=e.getTimezoneOffset(),o=new Date(e);o.setUTCMinutes(o.getUTCMinutes()-(r-n));let i=o.getTimezoneOffset();return n!=i&&o.setUTCMinutes(o.getUTCMinutes()+i-n),o}offsetUTC(e){let r=e.getTime();if(!isFinite(r))return NaN;let n=Math.floor(r/x),o=this._offsets.get(n);if(o===void 0){let i=this._offsetAt(n*x),s=this._offsetAt(n*x+x-1);o=i===s?i:null,this._offsets.set(n,o)}return o===null?this._offsetAt(r):o}_offsetAt(e){return(e-rt(this._dtf,new Date(e)))/6e4}parseDate(e){let r=new Date(e.getTime()-Math.round(this.offsetUTC(e)*6e4));return{year:r.getUTCFullYear(),month:r.getUTCMonth(),day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds(),weekday:r.getUTCDay()}}};var q={};tt(q,{StyleRule:()=>O,StyleSheet:()=>P,addClass:()=>Tt,addEventListener:()=>B,addSpacing:()=>kt,alternativeColor:()=>R,blur:()=>ct,brighten:()=>$,capitalizeFirst:()=>Bt,cleanFormat:()=>Pt,contains:()=>G,decimalPlaces:()=>Et,escapeForRgex:()=>$t,focus:()=>lt,get12Hours:()=>Nt,getBrightnessStep:()=>Zt,getDayFromWeek:()=>It,getEventKey:()=>bt,getEventTarget:()=>yt,getFormat:()=>Ot,getLightnessStep:()=>m,getMonthWeek:()=>Ht,getPointerId:()=>at,getRendererEvent:()=>ft,getSafeResolution:()=>St,getShadowRoot:()=>wt,getStyle:()=>dt,getTimeZone:()=>Yt,getTimezoneOffset:()=>zt,getWeek:()=>j,getWeekYear:()=>At,getYearDay:()=>Lt,hslToHsv:()=>Wt,hslToRgb:()=>v,hsvToHsl:()=>Gt,htmlToText:()=>Mt,iOS:()=>W,isLight:()=>U,isLocalEvent:()=>gt,isTouchEvent:()=>pt,lighten:()=>F,mergeTags:()=>Vt,onZoom:()=>ut,padString:()=>b,plainText:()=>Ut,ready:()=>it,relativeToValue:()=>Ct,removeClass:()=>vt,removeElement:()=>st,rgbToHsl:()=>S,sameBounds:()=>Kt,sanitizeHTML:()=>Ft,saturate:()=>k,setInteractive:()=>mt,setStyle:()=>ht,splitString:()=>Rt,stripFormatTags:()=>jt,stripTags:()=>K,supports:()=>T,trim:()=>M,trimLeft:()=>Z,trimRight:()=>V,truncateTextWithEllipsis:()=>Dt});function it(t){if(document.readyState!=="loading")t();else{let e=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}}function st(t){t.parentNode&&t.parentNode.removeChild(t)}function B(t,e,r,n){return t.addEventListener(e,r,n||!1),new I(()=>{t.removeEventListener(e,r,n||!1)})}function ut(t){return B(window,"resize",e=>{t()})}function T(t){switch(t){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function at(t){return t.pointerId||0}function ct(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)}}function lt(t){t&&t.focus()}function ft(t){if(T("pointerevents"))return t;if(T("touchevents"))switch(t){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(T("mouseevents"))switch(t){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return t}function pt(t){if(typeof Touch<"u"&&t instanceof Touch)return!0;if(typeof PointerEvent<"u"&&t instanceof PointerEvent&&t.pointerType!=null)switch(t.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(t.type!=null&&t.type.match(/^mouse/))return!1;return!0}function ht(t,e,r){t.style[e]=r}function dt(t,e){return t.style[e]}function yt(t){if(t.composedPath){let e=t.composedPath();return e.length===0?null:e[0]}else return t.target}function G(t,e){let r=e;for(;;){if(t===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function gt(t,e){return t.target&&G(e.root.dom,t.target)}function mt(t,e){e?t.style.pointerEvents="auto":t.style.pointerEvents="none"}function bt(t){if(t.key!==void 0)return t.key;switch(t.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+t.keyCode}function wt(t){let e=t;for(;;){if(e.parentNode===null)return e.host!=null?e:null;e=e.parentNode}}var D;function _t(t,e,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=e,t===null?document.head.appendChild(n):t.appendChild(n),n}function xt(t,e=""){if(t===null){if(D==null){let r=document.createElement("style");r.type="text/css",e!=""&&r.setAttribute("nonce",e),document.head.appendChild(r),D=r.sheet}return D}else{let r=document.createElement("style");return r.type="text/css",e!=""&&r.setAttribute("nonce",e),t.appendChild(r),r.sheet}}function Y(t,e){let r=t.cssRules.length;return t.insertRule(e+"{}",r),t.cssRules[r]}var O=class extends E{constructor(e,r,n,o=""){super(),this._root=xt(e,o);try{this._rule=Y(this._root,r)}catch{this._rule=Y(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(e){this._rule.selectorText=e}get selector(){return this._rule.selectorText}_dispose(){let e=A(this._root.cssRules,this._rule);if(e===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(e)}_setVendorPrefixName(e,r){let n=this._rule.style;n.setProperty("-webkit-"+e,r,""),n.setProperty("-moz-"+e,r,""),n.setProperty("-ms-"+e,r,""),n.setProperty("-o-"+e,r,""),n.setProperty(e,r,"")}setStyle(e,r){e==="transition"?this._setVendorPrefixName(e,r):this._rule.style.setProperty(e,r,"")}},P=class extends E{constructor(e,r,n=""){super(),this._element=_t(e,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function Tt(t,e){if(t)if(t.classList){let r=e.split(" ");H(r,n=>{t.classList.add(n)})}else{let r=t.getAttribute("class");r?t.setAttribute("class",r.split(" ").filter(n=>n!==e).join(" ")+" "+e):t.setAttribute("class",e)}}function vt(t,e){if(t)if(t.classList)t.classList.remove(e);else{let r=t.getAttribute("class");r&&t.setAttribute("class",r.split(" ").filter(n=>n!==e).join(" "))}}function W(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function St(){return W()?1:void 0}function Ct(t,e){return g(t)?t:t!=null&&g(t.value)&&g(e)?e*t.value:0}function Et(t){let e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function b(t,e=0,r="0"){return typeof t!="string"&&(t=t.toString()),e>t.length?Array(e-t.length+1).join(r)+t:t}function Z(t){return t.replace(/^[\s]*/,"")}function V(t){return t.replace(/[\s]*$/,"")}function M(t){return Z(V(t))}function Dt(t,e,r=!1,n="..."){if(t.length>e){let o=e-1;for(;o>=0&&t.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?t.substring(0,o+1)+n:t.substring(0,e)+n}else return t}function Ot(t){if(typeof t>"u")return"string";t=t.toLowerCase().replace(/^\[[^\]]*\]/,""),t=t.replace(/\[[^\]]+\]/,""),t=t.trim();let e=t.match(/\/(date|number|duration)$/);return e?e[1]:t==="number"?"number":t==="date"?"date":t==="duration"?"duration":t.match(/[#0]/)?"number":t.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Pt(t){return t.replace(/\/(date|number|duration)$/i,"")}function K(t){return t&&t.replace(/<[^>]*>/g,"")}function Mt(t){return!t||t.indexOf("<")==-1&&t.indexOf("&")==-1?t:new DOMParser().parseFromString(t,"text/html").documentElement.textContent||""}function jt(t){return t&&t.replace(/\[[^\]]*\]/g,"")}function Ut(t){return t&&K((""+t).replace(/[\n\r]+/g,". "))}var z="script|iframe|frame|frameset|object|embed|applet|noscript|template|link|meta|base|form";function Ft(t){return t==null||t===""?t:(""+t).replace(new RegExp("<\\s*("+z+")\\b[^>]*>[\\s\\S]*?<\\s*\\/\\s*\\1\\s*>","gi"),"").replace(new RegExp("<\\s*\\/?\\s*(?:"+z+")\\b[^>]*>","gi"),"").replace(/\son[a-z]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/((?:href|src|xlink:href|action|formaction|data|background|poster|srcdoc|ping)\s*=\s*)(?:"[\s]*j[\s]*a[\s]*v[\s]*a[\s]*s[\s]*c[\s]*r[\s]*i[\s]*p[\s]*t[\s]*:[^"]*"|'[\s]*j[\s]*a[\s]*v[\s]*a[\s]*s[\s]*c[\s]*r[\s]*i[\s]*p[\s]*t[\s]*:[^']*'|(?:javascript|vbscript|livescript|mocha):[^\s>]*)/gi,'$1"#"').replace(/\ssrcdoc\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/\sstyle\s*=\s*(?:"[^"]*(?:expression|javascript:|vbscript:|behavior|-moz-binding)[^"]*"|'[^']*(?:expression|javascript:|vbscript:|behavior|-moz-binding)[^']*')/gi,"")}function $t(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function kt(t){let e="";for(let r=0;r<t.length;r++){let n=t.charAt(r);n.toUpperCase()==n&&r!=0&&(e+=" "),e+=n}return e}function Rt(t){let e=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=t.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))i===" "&&(i=" "),o.push(i);else if(e.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function Lt(t,e=!1){if(e)return Math.floor((t.getTime()-h(t.getUTCFullYear(),0,0,0,0,0,0))/864e5);let r=new Date(t.getFullYear(),0,0),n=t.getTime()-r.getTime()+(r.getTimezoneOffset()-t.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function j(t,e=!1){let r=e?new Date(h(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0,0)):new Date(h(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(h(r.getUTCFullYear(),0,1,0,0,0,0));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function At(t,e=!1){let r=e?new Date(h(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0,0)):new Date(h(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),r.getUTCFullYear()}function Ht(t,e=!1){let r=j(e?new Date(h(t.getUTCFullYear(),t.getUTCMonth(),1,0,0,0,0)):new Date(t.getFullYear(),t.getMonth(),1),e),n=j(t,e);return n==1&&(n=53),n-r+1}function It(t,e,r=1,n=!1){let o=new Date(e,0,4,0,0,0,0);return n&&o.setUTCFullYear(e),t*7+r-((o.getDay()||7)+3)}function Nt(t,e){return t>12?t-=12:t===0&&(t=12),e!=null?t+(e-1):t}function Yt(t,e=!1,r=!1,n=!1,o){if(n)return e?"Coordinated Universal Time":"UTC";if(o){let u=t.toLocaleString("en-US",{timeZone:o}),l=t.toLocaleString("en-US",{timeZone:o,timeZoneName:e?"long":"short"});return M(l.substr(u.length))}let i=t.toLocaleString("UTC"),s=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),M(s)}function zt(t,e){let r=e||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:t})).getTime()-n.getTime())/6e4*-1}function Bt(t){return t.charAt(0).toUpperCase()+t.slice(1)}function v(t){let e,r,n,o=t.h,i=t.s,s=t.l;if(i==0)e=r=n=s;else{let u=function(f,C,p){return p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?f+(C-f)*6*p:p<.5?C:p<.6666666666666666?f+(C-f)*(.6666666666666666-p)*6:f},l=s<.5?s*(1+i):s+i-s*i,a=2*s-l;e=u(a,l,o+1/3),r=u(a,l,o),n=u(a,l,o-1/3)}return{r:Math.round(e*255),g:Math.round(r*255),b:Math.round(n*255)}}function S(t){let e=t.r/255,r=t.g/255,n=t.b/255,o=Math.max(e,r,n),i=Math.min(e,r,n),s=0,u=0,l=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=l>.5?a/(2-o-i):a/(o+i),o){case e:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-e)/a+2;break;case n:s=(e-r)/a+4;break}s/=6}return{h:s,s:u,l}}function Gt(t){let e=t.v*(1-t.s/2),r=e===0||e===1?0:(t.v-e)/Math.min(e,1-e);return{h:t.h,s:r,l:e,a:t.a}}function Wt(t){let e=t.l+t.s*Math.min(t.l,1-t.l),r=e===0?0:2*(1-t.l/e);return{h:t.h,s:r,v:e,a:t.a}}function F(t,e){return t&&{r:Math.max(0,Math.min(255,t.r+m(t.r,e))),g:Math.max(0,Math.min(255,t.g+m(t.g,e))),b:Math.max(0,Math.min(255,t.b+m(t.b,e))),a:t.a}}function m(t,e){let r=e>0?255-t:t;return Math.round(r*e)}function $(t,e){if(t){let r=Math.min(Math.max(t.r,t.g,t.b),230),n=m(r,e);return{r:Math.max(0,Math.min(255,Math.round(t.r+n))),g:Math.max(0,Math.min(255,Math.round(t.g+n))),b:Math.max(0,Math.min(255,Math.round(t.b+n))),a:t.a}}else return t}function Zt(t,e){return Math.round(255*e)}function U(t){return(t.r*299+t.g*587+t.b*114)/1e3>=128}function k(t,e){if(t===void 0||e==1)return t;let r=S(t);return r.s=e,v(r)}function R(t,e={r:255,g:255,b:255},r={r:0,g:0,b:0}){let n=e,o=r;return U(r)&&(n=r,o=e),U(t)?o:n}function Vt(t,e){return t||(t=[]),[...t,...e].filter((r,n,o)=>o.indexOf(r)===n)}function Kt(t,e){return!(!e||t.left!=e.left||t.right!=e.right||t.top!=e.top||t.bottom!=e.bottom)}function J(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(c){try{a(n.next(c))}catch(f){s(f)}}function l(c){try{a(n.throw(c))}catch(f){s(f)}}function a(c){c.done?i(c.value):o(c.value).then(u,l)}a((n=n.apply(t,e||[])).next())})}function ae(t){return J(this,void 0,void 0,function*(){if(t!==void 0){let e=[];_(t,(r,n)=>{e.push(n.waitForStop())}),yield Promise.all(e)}})}function d(t,e,r){return e+t*(r-e)}function qt(t,e,r){return t>=1?r:e}function Jt(t,e,r){return new w(d(t,e.percent,r.percent))}function Qt(t,e,r){return y.interpolate(t,e,r)}function ce(t,e){return typeof t=="number"&&typeof e=="number"?d:t instanceof w&&e instanceof w?Jt:t instanceof y&&e instanceof y?Qt:qt}var Q;(function(t){t[t.Stopped=0]="Stopped",t[t.Playing=1]="Playing",t[t.Paused=2]="Paused"})(Q||(Q={}));function X(t){return t[0]==="#"&&(t=t.substr(1)),t.length==3&&(t=t[0].repeat(2)+t[1].repeat(2)+t[2].repeat(2)),parseInt(t,16)}function Xt(t){t=t.replace(/[ ]/g,"");let e=t.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!e)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(e[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return X(r)}function pe(t){return y.fromAny(t)}var y=class t{constructor(e){this._hex=e|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(e=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+e+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(e=1){return S({r:this.r,g:this.g,b:this.b,a:e})}static fromHSL(e,r,n){let o=v({h:e,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(e){return new t(e)}static fromRGB(e,r,n){return new t((n|0)+(r<<8)+(e<<16))}static fromString(e){return new t(X(e))}static fromCSS(e){return new t(Xt(e))}static fromAny(e){if(L(e)){if(e[0]=="#")return t.fromString(e);if(e.substr(0,3)=="rgb")return t.fromCSS(e)}else{if(g(e))return t.fromHex(e);if(e instanceof t)return t.fromHex(e.hex)}throw new Error("Unknown color syntax: "+e)}static alternative(e,r,n){let o=R({r:e.r,g:e.g,b:e.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(e,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return t.fromHSL(d(e,i.h,s.h),d(e,i.s,s.s),d(e,i.l,s.l))}else return t.fromRGB(d(e,r.r,n.r),d(e,r.g,n.g),d(e,r.b,n.b))}static interpolateColors(e,r,n="rgb"){let o=r.length-1;if(o<1)return r[0];let i=(e>0?Math.min(1,e):0)*o,s=Math.min(Math.floor(i),o-1);return t.interpolate(i-s,r[s],r[s+1],n)}static lighten(e,r){let n=F({r:e.r,g:e.g,b:e.b},r);return t.fromRGB(n.r,n.g,n.b)}static brighten(e,r){let n=$({r:e.r,g:e.g,b:e.b},r);return t.fromRGB(n.r,n.g,n.b)}static saturate(e,r){let n=k({r:e.r,g:e.g,b:e.b},r);return t.fromRGB(n.r,n.g,n.b)}};export{J as a,h as b,N as c,it as d,st as e,B as f,ut as g,T as h,at as i,ct as j,lt as k,ft as l,pt as m,ht as n,dt as o,yt as p,G as q,gt as r,mt as s,bt as t,wt as u,O as v,St as w,Ct as x,Et as y,b as z,M as A,Dt as B,Ot as C,Pt as D,K as E,jt as F,Ft as G,$t as H,Rt as I,Lt as J,j as K,At as L,Ht as M,It as N,Nt as O,Yt as P,zt as Q,Bt as R,Vt as S,Kt as T,q as U,pe as V,y as W,ae as X,Jt as Y,ce as Z,Q as _};
2
+ import{a as w}from"./MQL4JTYG.js";import{K as _,N as E,O as I,f as L,g,m as A,p as H}from"./CTVCZ2FU.js";import{a as tt}from"./TAVTDQ6S.js";function et(t,e){let r=0,n=0,o=1,i=0,s=0,u=0,l=0,a=0;return t.formatToParts(e).forEach(c=>{switch(c.type){case"year":r=+c.value;break;case"month":n=+c.value-1;break;case"day":o=+c.value;break;case"hour":i=+c.value;break;case"minute":s=+c.value;break;case"second":u=+c.value;break;case"fractionalSecond":l=+c.value;break;case"weekday":switch(c.value){case"Sun":a=0;break;case"Mon":a=1;break;case"Tue":a=2;break;case"Wed":a=3;break;case"Thu":a=4;break;case"Fri":a=5;break;case"Sat":a=6;break}}}),i===24&&(i=0),{year:r,month:n,day:o,hour:i,minute:s,second:u,millisecond:l,weekday:a}}function rt(t,e){let{year:r,month:n,day:o,hour:i,minute:s,second:u,millisecond:l}=et(t,e);return h(r,n,o,i,s,u,l)}function h(t,e,r,n,o,i,s){if(t>=100||t<0)return Date.UTC(t,e,r,n,o,i,s);let u=new Date(Date.UTC(t+400,e,r,n,o,i,s));return u.setUTCFullYear(u.getUTCFullYear()-400),u.getTime()}var x=864e5,N=class{constructor(e,r){if(this._offsets=new Map,!r)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this.name=e,this._dtf=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3})}static new(e){return new this(e,!0)}convertLocal(e){let r=this.offsetUTC(e),n=e.getTimezoneOffset(),o=new Date(e);o.setUTCMinutes(o.getUTCMinutes()-(r-n));let i=o.getTimezoneOffset();return n!=i&&o.setUTCMinutes(o.getUTCMinutes()+i-n),o}offsetUTC(e){let r=e.getTime();if(!isFinite(r))return NaN;let n=Math.floor(r/x),o=this._offsets.get(n);if(o===void 0){let i=this._offsetAt(n*x),s=this._offsetAt(n*x+x-1);o=i===s?i:null,this._offsets.set(n,o)}return o===null?this._offsetAt(r):o}_offsetAt(e){return(e-rt(this._dtf,new Date(e)))/6e4}parseDate(e){let r=new Date(e.getTime()-Math.round(this.offsetUTC(e)*6e4));return{year:r.getUTCFullYear(),month:r.getUTCMonth(),day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds(),weekday:r.getUTCDay()}}};var q={};tt(q,{StyleRule:()=>O,StyleSheet:()=>P,addClass:()=>Tt,addEventListener:()=>B,addSpacing:()=>kt,alternativeColor:()=>R,blur:()=>ct,brighten:()=>$,capitalizeFirst:()=>Bt,cleanFormat:()=>Pt,contains:()=>G,decimalPlaces:()=>Et,escapeForRgex:()=>$t,focus:()=>lt,get12Hours:()=>Nt,getBrightnessStep:()=>Zt,getDayFromWeek:()=>It,getEventKey:()=>bt,getEventTarget:()=>yt,getFormat:()=>Ot,getLightnessStep:()=>m,getMonthWeek:()=>Ht,getPointerId:()=>at,getRendererEvent:()=>ft,getSafeResolution:()=>St,getShadowRoot:()=>wt,getStyle:()=>dt,getTimeZone:()=>Yt,getTimezoneOffset:()=>zt,getWeek:()=>j,getWeekYear:()=>At,getYearDay:()=>Lt,hslToHsv:()=>Wt,hslToRgb:()=>v,hsvToHsl:()=>Gt,htmlToText:()=>Mt,iOS:()=>W,isLight:()=>U,isLocalEvent:()=>gt,isTouchEvent:()=>pt,lighten:()=>F,mergeTags:()=>Vt,onZoom:()=>ut,padString:()=>b,plainText:()=>Ut,ready:()=>it,relativeToValue:()=>Ct,removeClass:()=>vt,removeElement:()=>st,rgbToHsl:()=>S,sameBounds:()=>Kt,sanitizeHTML:()=>Ft,saturate:()=>k,setInteractive:()=>mt,setStyle:()=>ht,splitString:()=>Rt,stripFormatTags:()=>jt,stripTags:()=>K,supports:()=>T,trim:()=>M,trimLeft:()=>Z,trimRight:()=>V,truncateTextWithEllipsis:()=>Dt});function it(t){if(document.readyState!=="loading")t();else{let e=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",e),t())};document.addEventListener("readystatechange",e)}}function st(t){t.parentNode&&t.parentNode.removeChild(t)}function B(t,e,r,n){return t.addEventListener(e,r,n||!1),new I(()=>{t.removeEventListener(e,r,n||!1)})}function ut(t){return B(window,"resize",e=>{t()})}function T(t){switch(t){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function at(t){return t.pointerId||0}function ct(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let t=document.createElement("button");t.style.position="fixed",t.style.top="0px",t.style.left="-10000px",document.body.appendChild(t),t.focus(),t.blur(),document.body.removeChild(t)}}function lt(t){t&&t.focus()}function ft(t){if(T("pointerevents"))return t;if(T("touchevents"))switch(t){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(T("mouseevents"))switch(t){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return t}function pt(t){if(typeof Touch<"u"&&t instanceof Touch)return!0;if(typeof PointerEvent<"u"&&t instanceof PointerEvent&&t.pointerType!=null)switch(t.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(t instanceof MouseEvent)}else if(t.type!=null&&t.type.match(/^mouse/))return!1;return!0}function ht(t,e,r){t.style[e]=r}function dt(t,e){return t.style[e]}function yt(t){if(t.composedPath){let e=t.composedPath();return e.length===0?null:e[0]}else return t.target}function G(t,e){let r=e;for(;;){if(t===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function gt(t,e){return t.target&&G(e.root.dom,t.target)}function mt(t,e){e?t.style.pointerEvents="auto":t.style.pointerEvents="none"}function bt(t){if(t.key!==void 0)return t.key;switch(t.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+t.keyCode}function wt(t){let e=t;for(;;){if(e.parentNode===null)return e.host!=null?e:null;e=e.parentNode}}var D;function _t(t,e,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=e,t===null?document.head.appendChild(n):t.appendChild(n),n}function xt(t,e=""){if(t===null){if(D==null){let r=document.createElement("style");r.type="text/css",e!=""&&r.setAttribute("nonce",e),document.head.appendChild(r),D=r.sheet}return D}else{let r=document.createElement("style");return r.type="text/css",e!=""&&r.setAttribute("nonce",e),t.appendChild(r),r.sheet}}function Y(t,e){let r=t.cssRules.length;return t.insertRule(e+"{}",r),t.cssRules[r]}var O=class extends E{constructor(e,r,n,o=""){super(),this._root=xt(e,o);try{this._rule=Y(this._root,r)}catch{this._rule=Y(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(e){this._rule.selectorText=e}get selector(){return this._rule.selectorText}_dispose(){let e=A(this._root.cssRules,this._rule);if(e===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(e)}_setVendorPrefixName(e,r){let n=this._rule.style;n.setProperty("-webkit-"+e,r,""),n.setProperty("-moz-"+e,r,""),n.setProperty("-ms-"+e,r,""),n.setProperty("-o-"+e,r,""),n.setProperty(e,r,"")}setStyle(e,r){e==="transition"?this._setVendorPrefixName(e,r):this._rule.style.setProperty(e,r,"")}},P=class extends E{constructor(e,r,n=""){super(),this._element=_t(e,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function Tt(t,e){if(t)if(t.classList){let r=e.split(" ");H(r,n=>{t.classList.add(n)})}else{let r=t.getAttribute("class");r?t.setAttribute("class",r.split(" ").filter(n=>n!==e).join(" ")+" "+e):t.setAttribute("class",e)}}function vt(t,e){if(t)if(t.classList)t.classList.remove(e);else{let r=t.getAttribute("class");r&&t.setAttribute("class",r.split(" ").filter(n=>n!==e).join(" "))}}function W(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function St(){return W()?1:void 0}function Ct(t,e){return g(t)?t:t!=null&&g(t.value)&&g(e)?e*t.value:0}function Et(t){let e=(""+t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function b(t,e=0,r="0"){return typeof t!="string"&&(t=t.toString()),e>t.length?Array(e-t.length+1).join(r)+t:t}function Z(t){return t.replace(/^[\s]*/,"")}function V(t){return t.replace(/[\s]*$/,"")}function M(t){return Z(V(t))}function Dt(t,e,r=!1,n="..."){if(t.length>e){let o=e-1;for(;o>=0&&t.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?t.substring(0,o+1)+n:t.substring(0,e)+n}else return t}function Ot(t){if(typeof t>"u")return"string";t=t.toLowerCase().replace(/^\[[^\]]*\]/,""),t=t.replace(/\[[^\]]+\]/,""),t=t.trim();let e=t.match(/\/(date|number|duration)$/);return e?e[1]:t==="number"?"number":t==="date"?"date":t==="duration"?"duration":t.match(/[#0]/)?"number":t.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Pt(t){return t.replace(/\/(date|number|duration)$/i,"")}function K(t){return t&&t.replace(/<[^>]*>/g,"")}function Mt(t){return!t||t.indexOf("<")==-1&&t.indexOf("&")==-1?t:new DOMParser().parseFromString(t,"text/html").documentElement.textContent||""}function jt(t){return t&&t.replace(/\[[^\]]*\]/g,"")}function Ut(t){return t&&K((""+t).replace(/[\n\r]+/g,". "))}var z="script|iframe|frame|frameset|object|embed|applet|noscript|template|link|meta|base|form";function Ft(t){return t==null||t===""?t:(""+t).replace(new RegExp("<\\s*("+z+")\\b[^>]*>[\\s\\S]*?<\\s*\\/\\s*\\1\\s*>","gi"),"").replace(new RegExp("<\\s*\\/?\\s*(?:"+z+")\\b[^>]*>","gi"),"").replace(/\son[a-z]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/((?:href|src|xlink:href|action|formaction|data|background|poster|srcdoc|ping)\s*=\s*)(?:"[\s]*j[\s]*a[\s]*v[\s]*a[\s]*s[\s]*c[\s]*r[\s]*i[\s]*p[\s]*t[\s]*:[^"]*"|'[\s]*j[\s]*a[\s]*v[\s]*a[\s]*s[\s]*c[\s]*r[\s]*i[\s]*p[\s]*t[\s]*:[^']*'|(?:javascript|vbscript|livescript|mocha):[^\s>]*)/gi,'$1"#"').replace(/\ssrcdoc\s*=\s*(?:"[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/\sstyle\s*=\s*(?:"[^"]*(?:expression|javascript:|vbscript:|behavior|-moz-binding)[^"]*"|'[^']*(?:expression|javascript:|vbscript:|behavior|-moz-binding)[^']*')/gi,"")}function $t(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function kt(t){let e="";for(let r=0;r<t.length;r++){let n=t.charAt(r);n.toUpperCase()==n&&r!=0&&(e+=" "),e+=n}return e}function Rt(t){let e=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=t.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))i===" "&&(i=" "),o.push(i);else if(e.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function Lt(t,e=!1){if(e)return Math.floor((t.getTime()-h(t.getUTCFullYear(),0,0,0,0,0,0))/864e5);let r=new Date(t.getFullYear(),0,0),n=t.getTime()-r.getTime()+(r.getTimezoneOffset()-t.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function j(t,e=!1){let r=e?new Date(h(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0,0)):new Date(h(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(h(r.getUTCFullYear(),0,1,0,0,0,0));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function At(t,e=!1){let r=e?new Date(h(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0,0)):new Date(h(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),r.getUTCFullYear()}function Ht(t,e=!1){let r=j(e?new Date(h(t.getUTCFullYear(),t.getUTCMonth(),1,0,0,0,0)):new Date(t.getFullYear(),t.getMonth(),1),e),n=j(t,e);return n==1&&(n=53),n-r+1}function It(t,e,r=1,n=!1){let o=new Date(e,0,4,0,0,0,0);return n&&o.setUTCFullYear(e),t*7+r-((o.getDay()||7)+3)}function Nt(t,e){return t>12?t-=12:t===0&&(t=12),e!=null?t+(e-1):t}function Yt(t,e=!1,r=!1,n=!1,o){if(n)return e?"Coordinated Universal Time":"UTC";if(o){let u=t.toLocaleString("en-US",{timeZone:o}),l=t.toLocaleString("en-US",{timeZone:o,timeZoneName:e?"long":"short"});return M(l.substr(u.length))}let i=t.toLocaleString("UTC"),s=t.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),M(s)}function zt(t,e){let r=e||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:t})).getTime()-n.getTime())/6e4*-1}function Bt(t){return t.charAt(0).toUpperCase()+t.slice(1)}function v(t){let e,r,n,o=t.h,i=t.s,s=t.l;if(i==0)e=r=n=s;else{let u=function(f,C,p){return p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?f+(C-f)*6*p:p<.5?C:p<.6666666666666666?f+(C-f)*(.6666666666666666-p)*6:f},l=s<.5?s*(1+i):s+i-s*i,a=2*s-l;e=u(a,l,o+1/3),r=u(a,l,o),n=u(a,l,o-1/3)}return{r:Math.round(e*255),g:Math.round(r*255),b:Math.round(n*255)}}function S(t){let e=t.r/255,r=t.g/255,n=t.b/255,o=Math.max(e,r,n),i=Math.min(e,r,n),s=0,u=0,l=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=l>.5?a/(2-o-i):a/(o+i),o){case e:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-e)/a+2;break;case n:s=(e-r)/a+4;break}s/=6}return{h:s,s:u,l}}function Gt(t){let e=t.v*(1-t.s/2),r=e===0||e===1?0:(t.v-e)/Math.min(e,1-e);return{h:t.h,s:r,l:e,a:t.a}}function Wt(t){let e=t.l+t.s*Math.min(t.l,1-t.l),r=e===0?0:2*(1-t.l/e);return{h:t.h,s:r,v:e,a:t.a}}function F(t,e){return t&&{r:Math.max(0,Math.min(255,t.r+m(t.r,e))),g:Math.max(0,Math.min(255,t.g+m(t.g,e))),b:Math.max(0,Math.min(255,t.b+m(t.b,e))),a:t.a}}function m(t,e){let r=e>0?255-t:t;return Math.round(r*e)}function $(t,e){if(t){let r=Math.min(Math.max(t.r,t.g,t.b),230),n=m(r,e);return{r:Math.max(0,Math.min(255,Math.round(t.r+n))),g:Math.max(0,Math.min(255,Math.round(t.g+n))),b:Math.max(0,Math.min(255,Math.round(t.b+n))),a:t.a}}else return t}function Zt(t,e){return Math.round(255*e)}function U(t){return(t.r*299+t.g*587+t.b*114)/1e3>=128}function k(t,e){if(t===void 0||e==1)return t;let r=S(t);return r.s=e,v(r)}function R(t,e={r:255,g:255,b:255},r={r:0,g:0,b:0}){let n=e,o=r;return U(r)&&(n=r,o=e),U(t)?o:n}function Vt(t,e){return t||(t=[]),[...t,...e].filter((r,n,o)=>o.indexOf(r)===n)}function Kt(t,e){return!(!e||t.left!=e.left||t.right!=e.right||t.top!=e.top||t.bottom!=e.bottom)}function J(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(c){try{a(n.next(c))}catch(f){s(f)}}function l(c){try{a(n.throw(c))}catch(f){s(f)}}function a(c){c.done?i(c.value):o(c.value).then(u,l)}a((n=n.apply(t,e||[])).next())})}function ae(t){return J(this,void 0,void 0,function*(){if(t!==void 0){let e=[];_(t,(r,n)=>{e.push(n.waitForStop())}),yield Promise.all(e)}})}function d(t,e,r){return e+t*(r-e)}function qt(t,e,r){return t>=1?r:e}function Jt(t,e,r){return new w(d(t,e.percent,r.percent))}function Qt(t,e,r){return y.interpolate(t,e,r)}function ce(t,e){return typeof t=="number"&&typeof e=="number"?d:t instanceof w&&e instanceof w?Jt:t instanceof y&&e instanceof y?Qt:qt}var Q;(function(t){t[t.Stopped=0]="Stopped",t[t.Playing=1]="Playing",t[t.Paused=2]="Paused"})(Q||(Q={}));function X(t){return t[0]==="#"&&(t=t.substr(1)),t.length==3&&(t=t[0].repeat(2)+t[1].repeat(2)+t[2].repeat(2)),parseInt(t,16)}function Xt(t){t=t.replace(/[ ]/g,"");let e=t.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(e=t.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!e)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(e[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return X(r)}function pe(t){return y.fromAny(t)}var y=class t{constructor(e){this._hex=e|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(e=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+e+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(e=1){return S({r:this.r,g:this.g,b:this.b,a:e})}static fromHSL(e,r,n){let o=v({h:e,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(e){return new t(e)}static fromRGB(e,r,n){return new t((n|0)+(r<<8)+(e<<16))}static fromString(e){return new t(X(e))}static fromCSS(e){return new t(Xt(e))}static fromAny(e){if(L(e)){if(e[0]=="#")return t.fromString(e);if(e.substr(0,3)=="rgb")return t.fromCSS(e)}else{if(g(e))return t.fromHex(e);if(e instanceof t)return t.fromHex(e.hex)}throw new Error("Unknown color syntax: "+e)}static alternative(e,r,n){let o=R({r:e.r,g:e.g,b:e.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(e,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return t.fromHSL(d(e,i.h,s.h),d(e,i.s,s.s),d(e,i.l,s.l))}else return t.fromRGB(d(e,r.r,n.r),d(e,r.g,n.g),d(e,r.b,n.b))}static interpolateColors(e,r,n="rgb"){let o=r.length-1;if(o<1)return r[0];let i=(e>0?Math.min(1,e):0)*o,s=Math.min(Math.floor(i),o-1);return t.interpolate(i-s,r[s],r[s+1],n)}static lighten(e,r){let n=F({r:e.r,g:e.g,b:e.b},r);return t.fromRGB(n.r,n.g,n.b)}static brighten(e,r){let n=$({r:e.r,g:e.g,b:e.b},r);return t.fromRGB(n.r,n.g,n.b)}static saturate(e,r){let n=k({r:e.r,g:e.g,b:e.b},r);return t.fromRGB(n.r,n.g,n.b)}};export{J as a,h as b,N as c,it as d,st as e,B as f,ut as g,T as h,at as i,ct as j,lt as k,ft as l,pt as m,ht as n,dt as o,yt as p,G as q,gt as r,mt as s,bt as t,wt as u,O as v,St as w,Ct as x,Et as y,b as z,M as A,Dt as B,Ot as C,Pt as D,K as E,jt as F,Ft as G,$t as H,Rt as I,Lt as J,j as K,At as L,Ht as M,It as N,Nt as O,Yt as P,zt as Q,Bt as R,Vt as S,Kt as T,q as U,pe as V,y as W,ae as X,Jt as Y,ce as Z,Q as _};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a,b as e}from"./JB6WQEFJ.js";import{P as r,Q as t,T as i,X as n,a as o,b as c}from"./7IGSTLKW.js";var y=o`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:block;position:relative;height:100%;width:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);container:arcgis-map-container/size;contain:layout;--arcgis-layout-overlay-center-max-width: var(--arcgis-internal-top-max-width);--arcgis-internal-attribution-space-top: 0px}::slotted(:is([closed],[closed="true"])){display:none}:dir(rtl) ::slotted(:not(arcgis-swipe)){direction:rtl}::slotted(*){--esri-widget-padding-x: var(--calcite-spacing-lg);--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-attachments,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-coordinate-conversion,arcgis-coordinate-conversion-next,arcgis-daylight,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-elevation-profile,arcgis-expand,arcgis-feature-form,arcgis-features,arcgis-feature-table,arcgis-filter-builder,arcgis-fullscreen,arcgis-grid-controls,arcgis-home,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-link-chart-layout-switcher,arcgis-locate,arcgis-exploratory-analysis,arcgis-navigation-toggle,arcgis-oriented-imagery-viewer,arcgis-print,arcgis-search,arcgis-selection-list,arcgis-selection-toolbar,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-time-slider,arcgis-time-zone-label,arcgis-track,arcgis-utility-network-associations,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-utility-network-validate-topology,arcgis-version-management,arcgis-video-player,arcgis-volume-measurement,arcgis-weather,arcgis-zoom)){box-shadow:var(--arcgis-internal-box-shadow);--arcgis-internal-padding: var(--esri-widget-padding);--arcgis-internal-padding-md: var(--calcite-spacing-md)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend:not([card-style-layout]),arcgis-line-of-sight,arcgis-print,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width);min-width:var(--calcite-spacing-xxxl);min-height:var(--calcite-spacing-xxxl);transition:max-height .25s ease-in-out;overflow-y:auto;--arcgis-internal-panel-overflow: hidden;--arcgis-internal-panel-min-width: 0}::slotted(:is(arcgis-exploratory-analysis)){width:var(--arcgis-internal-exploratory-analysis-width, fit-content);transition:max-height .25s ease-in-out;overflow-y:auto;--arcgis-internal-panel-overflow: hidden;--arcgis-internal-panel-min-width: 0}.arcgis-map{position:relative;z-index:0}.arcgis-map-container-ui{position:absolute;inset:var(--calcite-spacing-none);padding:var(--calcite-spacing-none);z-index:var(--calcite-z-index);pointer-events:none;background:none}.arcgis-map-container-ui__element{display:flex;flex-direction:column;pointer-events:none;width:max-content;max-width:100%}.arcgis-map-container-ui__element .esri-widget--panel{min-width:var(--arcgis-internal-panel-width)}.arcgis-map-container-ui__element-popup,.arcgis-map-container-ui__element-default{pointer-events:none;max-width:100%;position:absolute;display:block;inset:var(--calcite-spacing-none);width:100%;::slotted(:not(arcgis-swipe,arcgis-presentation)){pointer-events:auto}}.arcgis-map-container-ui__top{position:absolute;top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);right:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:center;height:max-content;margin-top:var(--calcite-spacing-lg);padding-top:var(--arcgis-internal-layout-overlay-space-top)}.arcgis-map-container-ui__top-left-column{position:absolute;top:100%;left:var(--calcite-spacing-none);display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;margin-left:var(--calcite-spacing-lg);padding-left:var(--arcgis-internal-layout-overlay-space-left);padding-right:var(--calcite-spacing-sm-plus);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}}.arcgis-map-container-ui__top-left-column:dir(rtl){align-items:flex-end;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}}.arcgis-map-container-ui__top-center-column{position:absolute;top:100%;left:var(--arcgis-internal-top-center-position, 50%);transform:translate(-50%);display:flex;flex-direction:column;justify-content:center;align-items:center;::slotted(*){max-width:var(--arcgis-layout-overlay-center-max-width);min-width:0}}.arcgis-map-container-ui__top-right-column{position:absolute;top:100%;right:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;margin-right:var(--calcite-spacing-lg);padding-left:var(--calcite-spacing-sm-plus);padding-right:var(--arcgis-internal-layout-overlay-space-right);::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__top-right-column:dir(rtl){align-items:flex-start;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row}}.arcgis-map-container-ui__element-top{max-width:calc(100% - 2 * var(--calcite-spacing-lg) - var(--arcgis-internal-layout-overlay-space-left) - var(--arcgis-internal-layout-overlay-space-right));>slot{display:flex;gap:var(--calcite-spacing-sm-plus);max-width:var(--arcgis-layout-overlay-center-max-width)}::slotted(*){min-width:0;margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-center{>slot{display:flex;gap:var(--calcite-spacing-sm-plus);max-width:var(--arcgis-internal-top-center-max-width, 100%)}}.arcgis-map-container-ui__element-top-left{top:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-left:dir(rtl){align-items:flex-end}.arcgis-map-container-ui__element-top-right{position:relative;justify-content:flex-start;align-items:flex-end;margin-left:auto;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-right:dir(rtl){align-items:flex-start}.arcgis-map-container-ui__element-top-start{position:relative;justify-content:flex-start;align-items:flex-start;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-start:dir(rtl){align-items:flex-end;--arcgis-internal-sketch-justify-content: flex-start;::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}}.arcgis-map-container-ui__element-top-end{position:relative;justify-content:flex-start;align-items:flex-end;::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column wrap-reverse}::slotted(*){margin-bottom:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-top-end:dir(rtl){align-items:flex-start;--arcgis-internal-sketch-justify-content: flex-end}.arcgis-map-container-ui__bottom{position:absolute;right:var(--calcite-spacing-none);bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:center;height:max-content;margin-bottom:calc(var(--arcgis-internal-attribution-space-top) + var(--calcite-spacing-lg));padding-bottom:var(--arcgis-internal-layout-overlay-space-bottom)}.arcgis-map-container-ui__bottom-left-row{position:absolute;bottom:100%;left:var(--calcite-spacing-none);display:flex;flex-direction:row;align-items:flex-end;max-width:100%;margin-left:var(--calcite-spacing-lg);padding-left:var(--arcgis-internal-layout-overlay-space-left);::slotted(:last-child){margin-right:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}}.arcgis-map-container-ui__bottom-left-row:dir(rtl){flex-direction:row-reverse;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row-reverse}}.arcgis-map-container-ui__bottom-center-row{position:absolute;bottom:100%;left:var(--arcgis-internal-bottom-center-position, 50%);transform:translate(-50%);display:flex;flex-direction:row-reverse;align-items:flex-end;max-width:100%;::slotted(*){max-width:var(--arcgis-layout-overlay-center-max-width);min-width:0}}.arcgis-map-container-ui__bottom-right-row{position:absolute;bottom:100%;right:var(--calcite-spacing-none);display:flex;flex-direction:row-reverse;align-items:flex-end;max-width:100%;margin-right:var(--calcite-spacing-lg);padding-right:var(--arcgis-internal-layout-overlay-space-right);::slotted(:last-child){margin-left:var(--calcite-spacing-xxl)}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-column-direction: column-reverse;--arcgis-internal-floor-filter-button-border-width: 0 0 1px}::slotted(*){max-width:var(--arcgis-internal-top-max-width)}::slotted(arcgis-expand){--arcgis-internal-sketch-justify-content: flex-end}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}}.arcgis-map-container-ui__bottom-right-row:dir(rtl){flex-direction:row;::slotted(arcgis-floor-filter){--arcgis-internal-row-direction: row}}.arcgis-map-container-ui__element-bottom{max-width:calc(100% - 2 * var(--calcite-spacing-lg) - var(--arcgis-internal-layout-overlay-space-left) - var(--arcgis-internal-layout-overlay-space-right));>slot{display:flex;align-items:flex-end;gap:var(--calcite-spacing-sm-plus);max-width:var(--arcgis-layout-overlay-center-max-width)}::slotted(*){min-width:0;margin-top:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-center{>slot{display:flex;align-items:flex-end;gap:var(--calcite-spacing-sm-plus);max-width:var(--arcgis-internal-bottom-center-max-width, 100%)}}:is(.arcgis-map-container-ui__element-top,.arcgis-map-container-ui__element-top-center,.arcgis-map-container-ui__element-bottom-center,.arcgis-map-container-ui__element-bottom){::slotted(:is(arcgis-compass,arcgis-fullscreen,arcgis-home,arcgis-locate,arcgis-track,arcgis-zoom)){flex-shrink:0}}.arcgis-map-container-ui__element-bottom-left{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-right{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end;--arcgis-internal-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}}.arcgis-map-container-ui__element-bottom-start{bottom:var(--calcite-spacing-none);left:var(--calcite-spacing-none);display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;flex-flow:row;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: none;--arcgis-internal-expand-icon-number-spacing-right: calc(-1 * var(--calcite-spacing-xs))}::slotted(:is(arcgis-floor-filter,arcgis-expand)){--arcgis-internal-collapse-icon-flip: scaleX(-1)}::slotted(arcgis-sketch){--sketch-pad-flex-flow: wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end}::slotted(*){margin-right:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-right:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-start}}.arcgis-map-container-ui__element-bottom-end{bottom:var(--calcite-spacing-none);right:var(--calcite-spacing-none);align-items:flex-end;justify-content:flex-end;margin-left:auto;flex-flow:row-reverse;::slotted(arcgis-coordinate-conversion){--arcgis-internal-coordinate-conversion-flex-direction: column-reverse}::slotted(arcgis-expand){--arcgis-internal-expand-icon-number-spacing-left: calc(-1 * var(--calcite-spacing-xs));--arcgis-internal-expand-icon-number-spacing-right: none}::slotted(arcgis-sketch){--sketch-pad-flex-flow: row-reverse wrap-reverse}::slotted(arcgis-sketch[layout="vertical"]){--sketch-pad-flex-flow: column-reverse wrap-reverse}::slotted(arcgis-floor-filter){--arcgis-internal-floor-filter-align-items: flex-end;--arcgis-internal-row-direction: row-reverse}::slotted(*){margin-left:var(--calcite-spacing-sm-plus)}::slotted(:dir(rtl)){margin-left:var(--calcite-spacing-none);--arcgis-internal-sketch-justify-content: flex-end}}.arcgis-map-container-ui__element>*{pointer-events:auto}@container arcgis-map-container (height >= 0){::slotted(arcgis-sketch){--responsive-toolbar-vert-width: var(--calcite-spacing-none);--responsive-toolbar-vert-height: min(100vh - 120px, 100cqh - 120px);--responsive-toolbar-horiz-width: min(100vw - 60px, 100cqw - 60px);--responsive-toolbar-horiz-height: var(--calcite-spacing-none)}}@container arcgis-map-container (max-height: 544px) or (max-width: 544px){::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-button-display: none;--arcgis-internal-floor-filter-menu-width: 225px}}@container arcgis-map-container (max-height: 499.99px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-sm);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-sm)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-sm)}}@container arcgis-map-container (min-height: 500px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-md);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-md)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 320px;--arcgis-internal-floor-filter-levels-max-height: 320px}}@container arcgis-map-container (min-height: 768px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-floor-filter)){--arcgis-internal-floor-filter-menu-max-height: 420px;--arcgis-internal-floor-filter-levels-max-height: 420px}}@container arcgis-map-container (min-height: 992px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-lg);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-lg)}}@container arcgis-map-container (min-height: 1200px){.arcgis-map-container-ui__element>*{--arcgis-internal-expand-max-height: var(--arcgis-internal-panel-height-xl);--arcgis-internal-panel-height: var(--arcgis-internal-panel-height-xl)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-legend,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){max-height:var(--arcgis-internal-panel-height-xl)}}@container arcgis-map-container (min-width: 544px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 768px){::slotted(:is(arcgis-legend[card-style-layout="auto"])){--arcgis-internal-legend-width: auto}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 992px){::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-gallery,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}@container arcgis-map-container (min-width: 1200px){::slotted(:is(arcgis-basemap-gallery)){width:var(--arcgis-internal-basemap-gallery-width-lg)}::slotted(:is(arcgis-area-measurement-2d,arcgis-area-measurement-3d,arcgis-basemap-layer-list,arcgis-basemap-layer-list-next,arcgis-bookmarks,arcgis-building-explorer,arcgis-catalog-layer-list,arcgis-catalog-layer-list-next,arcgis-directions,arcgis-direct-line-measurement-3d,arcgis-distance-measurement-2d,arcgis-editor,arcgis-feature-form,arcgis-features,arcgis-filter-builder,arcgis-layer-list,arcgis-layer-list-next,arcgis-line-of-sight,arcgis-print,arcgis-selection-list,arcgis-shadow-cast,arcgis-slice,arcgis-table-list,arcgis-table-list-next,arcgis-utility-network-trace,arcgis-utility-network-trace-analysis,arcgis-utility-network-trace-analysis,arcgis-utility-network-validate-network-topology,arcgis-version-management,arcgis-grid-controls)){width:var(--arcgis-internal-panel-width)}}`;function w(){return{topCenter:r(),topLeft:r(),topRight:r(),bottomCenter:r(),bottomLeft:r(),bottomRight:r()}}function b(g){let{direction:l,popupComponentEnabled:d=!1,handlePopupSlotChange:m,webGLErrorElement:p,popupElement:u,slotGroupRefs:s}=g;return c`<div class=${i({[a.containerElementPopupSlot]:!0})}>${d?c`<arcgis-popup ${t(u)}></arcgis-popup>`:null}<slot name=${e.popup} @slotchange=${m}></slot></div><div class=${i({[a.containerElementDefaultSlot]:!0})}>${p}<slot></slot></div><div class=${i({[a.containerTop]:!0})}><div class=${i({[a.containerElement]:!0,[a.containerElementTop]:!0})}><slot name=${e.top}></slot></div><div class=${i({[a.containerTopLeftColumn]:!0})} ${t(s?.topLeft)}><div class=${i({[a.containerElement]:!0,[a.containerElementTopLeft]:!0})}><slot name=${e.topLeft}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementTopStart]:!0})}><slot name=${(l==="ltr"?e.topStart:e.topEnd)??n}></slot></div></div><div class=${i({[a.containerTopCenterColumn]:!0})} ${t(s?.topCenter)}><div class=${i({[a.containerElement]:!0,[a.containerElementTopCenter]:!0})}><slot name=${e.topCenter}></slot></div></div><div class=${i({[a.containerTopRightColumn]:!0})} ${t(s?.topRight)}><div class=${i({[a.containerElement]:!0,[a.containerElementTopRight]:!0})}><slot name=${e.topRight}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementTopEnd]:!0})}><slot name=${(l==="ltr"?e.topEnd:e.topStart)??n}></slot></div></div></div><div class=${i({[a.containerBottom]:!0})}><div class=${i({[a.containerElement]:!0,[a.containerElementBottom]:!0})}><slot name=${e.bottom}></slot></div><div class=${i({[a.containerBottomLeftRow]:!0})} ${t(s?.bottomLeft)}><div class=${i({[a.containerElement]:!0,[a.containerElementBottomLeft]:!0})}><slot name=${e.bottomLeft}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementBottomStart]:!0})}><slot name=${(l==="ltr"?e.bottomStart:e.bottomEnd)??n}></slot></div></div><div class=${i({[a.containerBottomCenterRow]:!0})} ${t(s?.bottomCenter)}><div class=${i({[a.containerElement]:!0,[a.containerElementBottomCenter]:!0})}><slot name=${e.bottomCenter}></slot></div></div><div class=${i({[a.containerBottomRightRow]:!0})} ${t(s?.bottomRight)}><div class=${i({[a.containerElement]:!0,[a.containerElementBottomRight]:!0})}><slot name=${e.bottomRight}></slot></div><div class=${i({[a.containerElement]:!0,[a.containerElementBottomEnd]:!0})}><slot name=${(l==="ltr"?e.bottomEnd:e.bottomStart)??n}></slot></div></div></div>`}export{y as a,w as b,b as c};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{W as e}from"./VWEJ2XSC.js";import"./A7G5RNN7.js";import{Y as o}from"./7RG4ZQP7.js";import"./TAVTDQ6S.js";var r=class extends o{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944),warning:e.fromHex(15909424)})}};var b=r;export{b as default};
2
+ import{W as e}from"./P3AEIHWE.js";import"./MQL4JTYG.js";import{Y as o}from"./CTVCZ2FU.js";import"./TAVTDQ6S.js";var r=class extends o{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944),warning:e.fromHex(15909424)})}};var b=r;export{b as default};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import h from"./BYYCKI2P.js";import"./FH3WFF5O.js";import g from"./CESPPRYQ.js";import f from"./HU57LQOA.js";import e from"./OISNNHIG.js";import{a as V}from"./7465ANAR.js";import d from"./KRJCOTGC.js";import c from"./U7WRQCRV.js";import{h as _}from"./GIBXI44G.js";import"./RQT2PVDJ.js";import a from"./SBYVR52H.js";import{a as x}from"./LXME6MU5.js";import{Q as w,R as I,T as M,X as b,_ as C,a as $,b as l,x as y}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:N},{renderingSanitizer:B},H,{watch:Z},{stripHTML:P},z,,,,R,,{a:E,b:L,c:F,e:A,f:T,j:D,q:r},k])=>{var U=$`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.root{flex:1 1 auto}.root calcite-icon{box-sizing:content-box}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.content-element[empty]{display:none}.content-element:not([empty]):only-child,.content-element:not([empty]):last-child{margin-bottom:var(--calcite-spacing-xxs)}.last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,O=R(z),v=class extends I{constructor(){super(...arguments),this.messages=V(),this._rootFlowNode=null,this._loading=!1,this.internalFlowItems=new H,this.flowType="feature",this.viewModel=O(this),this.actions=this.viewModel.actions,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.focusTrapEnabled=!1,this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.heading,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("flowItems","state"),this.arcgisReady=y()}static{this.properties={_loading:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,flowType:1,viewModel:0,actions:0,includeDefaultActions:5,focusTrapEnabled:5,view:0,flowItems:0,referenceElement:1,icon:1,isFeatureFromTable:36,graphic:0,allActions:32,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:32}}static{this.styles=U}get popupTemplate(){return F(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return A(this.graphic)}get fieldInfoMap(){return E(L(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get allActions(){return this.viewModel.allActions}async destroy(){this._removeFlowItems(),await this.manager.destroy()}nextMedia(e){this._pageContentElementMedia(e,1)}previousMedia(e){this._pageContentElementMedia(e,-1)}setActiveMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let a=i[e];if(a?.type!=="media")return;let s=a;this._setContentElementMedia(s,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[k({getLoading:()=>!this.flowItems&&this.state==="loading",setEffectiveLoading:e=>{this._loading=e}}),Z(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_setContentElementMedia(e,t){let i=e.mediaInfos?.length??0,a=(t+i)%i;e.activeMediaInfoIndex=a}_pageContentElementMedia(e,t){let i=this.viewModel.content;if(!Array.isArray(i))return;let a=i[e];if(a?.type!=="media")return;let s=a,{activeMediaInfoIndex:n}=s,o=(n??0)+t;this._setContentElementMedia(s,o)}_removeFlowItems(){this.internalFlowItems?.destroyAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()?.destroy()}render(){let{state:e}=this.viewModel,t=l`<div class="container">${e==="error"?this._renderError():this._renderContentContainer()}</div>`;return l`<div class="root">${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return l`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:l`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:a,globalValues:s}=this,n=r({values:t,fieldInfoMap:i,globalValues:s,layer:a,text:e.title}),o=r({values:t,fieldInfoMap:i,globalValues:s,layer:a,text:e.description});return l`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${n} class="content-element" .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .orderByFields=${e.orderByFields??void 0} .graphic=${this.graphic??void 0} .description=${o} hide-preview-image-attachment-name .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return l`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:a,fieldInfoMap:s,sourceLayer:n,popupTemplate:o,globalValues:d,graphic:c}=this,h=!!e?.fieldInfos,p=(e.fieldInfos??o?.fieldInfos??[])?.filter(({fieldName:f})=>!!f&&(D(f)||T(f)||f in a)),u=o?.expressionInfos,m=r({values:a,fieldInfoMap:s,globalValues:d,layer:n,text:e.title}),g=r({values:a,fieldInfoMap:s,globalValues:d,layer:n,text:e.description});return l`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .messages=${this.messages} .graphic=${c??void 0} .isContentFieldInfos=${h} .layer=${n} .description=${g} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${p} .expressionInfos=${u??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:a,fieldInfoMap:s,sourceLayer:n,popupTemplate:o,globalValues:d}=this,{formattedAttributes:c,relatedInfos:h,expressionAttributes:p}=this.viewModel,u={...c?.global,...c?.content?.[t]},m=r({values:i,fieldInfoMap:s,globalValues:d,layer:n,text:e.title}),g=r({values:i,fieldInfoMap:s,globalValues:d,layer:n,text:e.description});return l`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${m} class="content-element" .description=${g} .values=${i} .expressionValues=${p} .layer=${n} .graphic=${a??void 0} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${o??void 0} .relatedInfos=${h} .formattedValues=${u}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:a,globalValues:s}=this;return l`<arcgis-feature-content .creator=${r({values:t,fieldInfoMap:i,globalValues:s,layer:a,text:e.text})} .graphic=${this.graphic??void 0} class="content-element"></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:a,popupTemplate:s,sourceLayer:n}=this,o=s?.expressionInfos;return l`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .expressionInfos=${o??void 0} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .layer=${n} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class="content-element" .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${a} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:a,fieldInfoMap:s,sourceLayer:n,globalValues:o}=this,{displayCount:d,orderByFields:c,relationshipId:h}=e,{formattedAttributes:p,view:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},g=r({values:i,fieldInfoMap:s,globalValues:o,layer:n,text:e.title}),f=r({values:i,fieldInfoMap:s,globalValues:o,layer:n,text:e.description});return l`<arcgis-feature-relationship .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} class="content-element" .flowItems=${this.flowItems??this.internalFlowItems} .description=${f} .layer=${n} .map=${this.map??void 0} .displayCount=${d} .graphic=${a??void 0} .heading=${g} .headingLevel=${this.headingLevel} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .includeDefaultActions=${this.includeDefaultActions} .messages=${this.messages} .orderByFields=${c??void 0} .relationshipId=${h??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} use-feature-next-flow-item .values=${m} .view=${u??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:a,messages:s,sourceLayer:n,values:o}=this,d=r({values:o,fieldInfoMap:t,globalValues:i,layer:n,text:e.title}),c=r({values:o,fieldInfoMap:t,globalValues:i,layer:n,text:e.description});return l`<arcgis-feature-utility-network-associations .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationTypes=${e.associationTypes} class="content-element" .description=${c} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${a??void 0} .heading=${d} .headingLevel=${this.headingLevel} .includeDefaultActions=${this.includeDefaultActions} .layer=${n} .map=${this.map??void 0} .messageOverrides=${this.messageOverrides} .messages=${s} .parentFeatureViewModel=${this.viewModel} .referenceElement=${this.referenceElement} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} use-feature-next-flow-item .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;if(!e)return null;if(Array.isArray(e)&&e.length)return e.length?e.map(this._renderContentElement,this):null;if(typeof e=="string"){let{values:i,fieldInfoMap:a,sourceLayer:s,globalValues:n}=this;return l`<arcgis-feature-content .creator=${r({values:i,fieldInfoMap:a,globalValues:n,layer:s,text:e})} .graphic=${t??void 0} class="content-element"></arcgis-feature-content>`}return e instanceof HTMLElement?e:null}_renderContentContainer(){let{flowItems:e,hideContent:t,internalFlowItems:i,headingLevel:a,_loading:s,messages:n,heading:o,hideHeading:d}=this,c=t?null:l`<div class="main">${[this._renderContent(),this._renderLastEditInfo()]}</div>`,h=n.returnToInitialFeature??"";return e?c:l`<calcite-flow ${w(this._storeRootFlowNode)}><calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} .loading=${s} .headingLevel=${a} .heading=${d?void 0:P(o)} .selected=${!i.length}>${!d&&o?l`<div slot=heading><div .innerHTML=${B.sanitize(o??"")??""}></div></div>`:null}${c}</calcite-flow-item>${i.toArray().map((p,u)=>l`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} @calciteFlowItemBack=${m=>{m.preventDefault(),this._handleDrillInBackClick()}} .loading=${s} .headingLevel=${a} .selected=${u===i.length-1}><calcite-action icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${h} title=${h??b}></calcite-action>${p}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:a,user:s}=i,n=i.type==="edit"?s?t.lastEditedByUser:t.lastEdited:s?t.lastCreatedByUser:t.lastCreated,o=N(n??"",{date:a,user:s});return l`<div class=${M(x("last-edited-info","content-element"))}>${o}</div>`}};C("arcgis-feature-next",v);return v},"intl","applications/Components/sanitizerUtils","core/Collection","core/reactiveUtils","applications/Components/stringUtils","popup/FeatureModel",a,c,d,e,f,g,h)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import g from"./FFVPO4JB.js";import{a as _}from"./QCYQNVPL.js";import{a as c}from"./JB6WQEFJ.js";import{a as V}from"./OFBCNFBW.js";import"./Y6WTYXVP.js";import f from"./F4AJCUZ6.js";import"./WJQUE4DR.js";import e from"./TWPVYHJG.js";import d from"./KRJCOTGC.js";import"./GIBXI44G.js";import"./RQT2PVDJ.js";import b from"./SBYVR52H.js";import"./LXME6MU5.js";import{P as l,Q as o,R as m,T as n,_ as p,b as a,x as r}from"./7IGSTLKW.js";import"./TAVTDQ6S.js";export default $arcgis.t(([D,{watch:s},M,I,k,{c:u,d:g,e:d,f:y,g:f,h:b},{c:h,e:v},t,,{a:C,b:E,c:R,d:P}])=>{var F=h(k,{}),L=h(I,{}),w=class extends m{constructor(){super(),this._attributionMode=null,this._mapRef=l(),this._uiController=new C(this),this._cameraProperties={},this.arcgisLoadError=R(this),this.arcgisViewReadyError=P(this),this._map=F(this),this.view=L(this),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.animationsDisabled=this.view.animationsEnabled,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.canZoomIn=this.view.canZoomIn,this.canZoomOut=this.view.canZoomOut,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,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.options=this.view.options,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.popupComponentEnabled=!1,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.selectionManager=this.view.selectionManager,this.focusRegionVisible=this.view.focusRegionVisible,this.slotGroupRefs=this._uiController.slotGroupRefs,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.viewingMode=this.view.viewingMode,this.arcgisViewAnalysisViewCreate=t(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=t(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=t(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=r(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDoubleTapDrag=t(()=>this.view,"double-tap-drag"),this.arcgisViewFocusRegionSelect=t(()=>this.view,"focus-region-select"),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=r(),this.arcgisViewVerticalTwoFingerDrag=t(()=>this.view,"vertical-two-finger-drag"),E(this),this.view.ui={components:[]}}static{this.properties={_map:16,aria:0,view:32,allLayerViews:32,alphaCompositingEnabled:5,analyses:0,animationsDisabled:5,attributionItems:32,attributionMode:1,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,canZoomIn:36,canZoomOut:36,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,focusAreas:0,gamepad:32,graphics:0,ground:1,groundView:32,hideAttribution:5,highlights:0,interacting:32,itemId:3,layerViews:32,magnifier:32,map:0,navigating:32,navigation:0,options:0,padding:0,performanceInfo:32,popup:0,popupElement:32,popupDisabled:5,popupComponentEnabled:5,qualityProfile:1,ready:36,resolution:32,selectionManager:32,focusRegionVisible:5,focusRegionShortcutEnabled:5,focusRegion:32,scale:9,slotGroupRefs:32,spatialReference:0,stationary:32,suspended:39,theme:0,timeExtent:0,timeZone:1,updating:32,viewingMode:1,viewpoint:0,visibleArea:32,zoom:9,loadErrorSources:0}}static{this.styles=[V,_]}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}get aria(){return this.view?.aria??null}set aria(i){this.view&&(this.view.aria=i)}get attributionItems(){return this.view?.attributionItems??[]}get attributionMode(){return this._attributionMode}set attributionMode(i){this._attributionMode=i,i!=="auto"&&(this.view.attributionMode=i)}get camera(){return this.view.camera}set camera(i){u(this.camera,i)||(this.view.camera=i)}get cameraFov(){let{view:i}=this;return i.ready?this.view.camera?.fov:this._cameraProperties.fov}set cameraFov(i){i!=null&&this._mutateCamera(e=>{e.fov=i})}get cameraHeading(){let{view:i}=this;return i.ready?i.camera?.heading:this._cameraProperties.heading}set cameraHeading(i){i!=null&&this._mutateCamera(e=>{e.heading=i})}get cameraPosition(){let{view:i}=this;if(i.ready)return i.camera?.position;let{position:e}=this._cameraProperties;return e?new M(e):void 0}set cameraPosition(i){let e=b(this.view.camera?.position,i);e&&this._mutateCamera(A=>{A.position=e})}get cameraTilt(){let{view:i}=this;return i.ready?i.camera?.tilt:this._cameraProperties.tilt}set cameraTilt(i){i!=null&&this._mutateCamera(e=>{e.tilt=i})}get center(){return this.view.center}set center(i){if(d(i,this._center))return;this._center=y(i);let e=f(i,this.view);e&&(this.view.center=e)}get extent(){return this.view.extent}set extent(i){i&&!this.extent.equals(i)&&(this.view.extent=i)}get focusAreas(){return this.map?this.map?.focusAreas:{areas:[],style:"bright"}}set focusAreas(i){this.map&&(this.map.focusAreas=i)}get gamepad(){return this.view.input.gamepad}get hideAttribution(){return!this.view.attributionVisible}set hideAttribution(i){this.view.attributionVisible=!i}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){v(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get popupElement(){return this._uiController.popupElement||null}get resolution(){return this.view.resolution}get focusRegion(){return this.view.focusRegion}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get updating(){return this.view.updating}get viewpoint(){return this.view.viewpoint}set viewpoint(i){g(this.viewpoint,i)&&(this.view.viewpoint=i)}get visibleArea(){return this.view.visibleArea}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async closePopup(){this._uiController.closePopup()}async destroy(){await this.manager.destroy()}async fetchPopupFeatures(i,e){return this.view.fetchPopupFeatures(i,e)}async goTo(i,e){return await this.view.goTo(i,e)}async hitTest(i,e){return await this.view.hitTest(i,e)}async openPopup(i){await this._uiController.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}async whenAnalysisView(i){return await this.view.whenAnalysisView(i)}async whenLayerView(i){return await this.view.whenLayerView(i)}async zoomIn(){this.view.zoomIn()}async zoomOut(){this.view.zoomOut()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.map||=this._map,this.manager.onLifecycle(()=>[s(()=>this.map,e=>{e&&(this._map=e)},{initial:!0,sync:!0}),s(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),s(()=>this.view.ready,e=>{e&&(this.camera=this.view.camera.clone().set(this._cameraProperties),this._cameraProperties={}),this.arcgisViewReadyChange.emit()},{initial:this.view.ready}),s(()=>this.view.attributionHeight,e=>{this._uiController.handleAttributionHeightChange(e)},{initial:!0})])}_mutateCamera(i){if(!this.view.ready){i(this._cameraProperties);return}let e=this.view.camera?.clone()??new D;i(e),this.camera=e}renderMain(){return a`<div class=${n(c.base)} ${o(this._mapRef)}></div>`}render(){return a`${this.renderMain()}<section class=${n(c.containerUI)} ${o(this._uiController.uiContainerRef)}>${this._uiController.render()}</section>`}};p("arcgis-scene",w);return w},"Camera","core/reactiveUtils","geometry/Point","views/SceneView","WebScene",b,d,e,f,g)