@arcgis/core 4.33.0-next.20250422 → 4.33.0-next.20250423

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 (152) hide show
  1. package/arcade/geometry/constructors.js +1 -1
  2. package/assets/components/assets/icon/mosaicMethodBlend16.json +1 -0
  3. package/assets/components/assets/icon/mosaicMethodBlend24.json +1 -0
  4. package/assets/components/assets/icon/mosaicMethodBlend32.json +1 -0
  5. package/assets/components/assets/icon/mosaicMethodByAttribute16.json +1 -0
  6. package/assets/components/assets/icon/mosaicMethodByAttribute24.json +1 -0
  7. package/assets/components/assets/icon/mosaicMethodByAttribute32.json +1 -0
  8. package/assets/components/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
  9. package/assets/components/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
  10. package/assets/components/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
  11. package/assets/components/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
  12. package/assets/components/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
  13. package/assets/components/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
  14. package/assets/components/assets/icon/mosaicMethodFirst16.json +1 -0
  15. package/assets/components/assets/icon/mosaicMethodFirst24.json +1 -0
  16. package/assets/components/assets/icon/mosaicMethodFirst32.json +1 -0
  17. package/assets/components/assets/icon/mosaicMethodLast16.json +1 -0
  18. package/assets/components/assets/icon/mosaicMethodLast24.json +1 -0
  19. package/assets/components/assets/icon/mosaicMethodLast32.json +1 -0
  20. package/assets/components/assets/icon/mosaicMethodLockRaster16.json +1 -0
  21. package/assets/components/assets/icon/mosaicMethodLockRaster24.json +1 -0
  22. package/assets/components/assets/icon/mosaicMethodLockRaster32.json +1 -0
  23. package/assets/components/assets/icon/mosaicMethodMaximum16.json +1 -0
  24. package/assets/components/assets/icon/mosaicMethodMaximum24.json +1 -0
  25. package/assets/components/assets/icon/mosaicMethodMaximum32.json +1 -0
  26. package/assets/components/assets/icon/mosaicMethodMean16.json +1 -0
  27. package/assets/components/assets/icon/mosaicMethodMean24.json +1 -0
  28. package/assets/components/assets/icon/mosaicMethodMean32.json +1 -0
  29. package/assets/components/assets/icon/mosaicMethodMinimum16.json +1 -0
  30. package/assets/components/assets/icon/mosaicMethodMinimum24.json +1 -0
  31. package/assets/components/assets/icon/mosaicMethodMinimum32.json +1 -0
  32. package/assets/components/assets/icon/mosaicMethodNone16.json +1 -0
  33. package/assets/components/assets/icon/mosaicMethodNone24.json +1 -0
  34. package/assets/components/assets/icon/mosaicMethodNone32.json +1 -0
  35. package/assets/components/assets/icon/mosaicMethodNorthWest16.json +1 -0
  36. package/assets/components/assets/icon/mosaicMethodNorthWest24.json +1 -0
  37. package/assets/components/assets/icon/mosaicMethodNorthWest32.json +1 -0
  38. package/assets/components/assets/icon/mosaicMethodSeamline16.json +1 -0
  39. package/assets/components/assets/icon/mosaicMethodSeamline24.json +1 -0
  40. package/assets/components/assets/icon/mosaicMethodSeamline32.json +1 -0
  41. package/assets/components/assets/icon/mosaicMethodSum16.json +1 -0
  42. package/assets/components/assets/icon/mosaicMethodSum24.json +1 -0
  43. package/assets/components/assets/icon/mosaicMethodSum32.json +1 -0
  44. package/assets/esri/core/workers/RemoteClient.js +1 -1
  45. package/assets/esri/core/workers/chunks/{b2f9f0767dadf185120c.js → 00612d6e05b1c8647668.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{f54546c155fba2fd3a7e.js → 05d7d8ff3e4cbad32580.js} +1 -1
  47. package/assets/esri/core/workers/chunks/{b1e275607d9754079f60.js → 079434fe765c53d304f2.js} +1 -1
  48. package/assets/esri/core/workers/chunks/{0eed612e82a279ac8d1e.js → 11b55e7e76e50fe11bbe.js} +1 -1
  49. package/assets/esri/core/workers/chunks/235efd948ae470a6f238.js +1 -0
  50. package/assets/esri/core/workers/chunks/{0c6f2808c57ff820bfdd.js → 30551c1d3e4fa7be86c1.js} +2 -2
  51. package/assets/esri/core/workers/chunks/{0c6f2808c57ff820bfdd.js.LICENSE.txt → 30551c1d3e4fa7be86c1.js.LICENSE.txt} +1 -1
  52. package/assets/esri/core/workers/chunks/{78242f2bf742b33d99fa.js → 3795793643f4db64af0e.js} +1 -1
  53. package/assets/esri/core/workers/chunks/{38f9ede26098eb03ca2d.js → 3cf001abca8ad933bccf.js} +2 -2
  54. package/assets/esri/core/workers/chunks/{38f9ede26098eb03ca2d.js.LICENSE.txt → 3cf001abca8ad933bccf.js.LICENSE.txt} +1 -1
  55. package/assets/esri/core/workers/chunks/{dbaa4b8d37aab40d7bd1.js → 543eb46b55cacd6e1dbc.js} +2 -2
  56. package/assets/esri/core/workers/chunks/{dbaa4b8d37aab40d7bd1.js.LICENSE.txt → 543eb46b55cacd6e1dbc.js.LICENSE.txt} +1 -1
  57. package/assets/esri/core/workers/chunks/{93f792f5b94f3745b57d.js → 577f24923fa4d08360e4.js} +2 -2
  58. package/assets/esri/core/workers/chunks/{93f792f5b94f3745b57d.js.LICENSE.txt → 577f24923fa4d08360e4.js.LICENSE.txt} +1 -1
  59. package/assets/esri/core/workers/chunks/{f46c4a69ef2f763e905b.js → 5d63dfa5a60c88e03b28.js} +1 -1
  60. package/assets/esri/core/workers/chunks/7bfa18dd8771d4932533.js +1 -0
  61. package/assets/esri/core/workers/chunks/{96cddbbeef61a4f33f29.js → 7c42281188b874ffcdad.js} +1 -1
  62. package/assets/esri/core/workers/chunks/8dd26b12c625d20196ed.js +319 -0
  63. package/assets/esri/core/workers/chunks/{736a11e64e5f03e3936b.js → 9408a72968cbd985dd24.js} +53 -53
  64. package/assets/esri/core/workers/chunks/{c2f38c66fae2cdb57445.js → 96e5d192c8d23c1e324f.js} +1 -1
  65. package/assets/esri/core/workers/chunks/{796cf1c2ca9955595836.js → 9b2ab27159500315fbc1.js} +1 -1
  66. package/assets/esri/core/workers/chunks/a79511b926a2830bb160.js +1 -0
  67. package/assets/esri/core/workers/chunks/{814d72abbfdd4552e4ec.js → ac9c6779771ec855da79.js} +2 -2
  68. package/assets/esri/core/workers/chunks/{814d72abbfdd4552e4ec.js.LICENSE.txt → ac9c6779771ec855da79.js.LICENSE.txt} +1 -1
  69. package/assets/esri/core/workers/chunks/{ef6e805c49e1afdf966b.js → c054198c6438cb57f188.js} +1 -1
  70. package/assets/esri/core/workers/chunks/c5d786166a5609b85276.js.LICENSE.txt +1 -1
  71. package/assets/esri/core/workers/chunks/{601fc99426f0213b0769.js → cbec01223d51cdb9ee79.js} +1 -1
  72. package/assets/esri/core/workers/chunks/{90c893959145827961ac.js → cd9343c78a7c3acdbbcd.js} +1 -1
  73. package/assets/esri/core/workers/chunks/{5db336767959507c07e5.js → d8dc922f7466300b668f.js} +2 -2
  74. package/assets/esri/core/workers/chunks/{5db336767959507c07e5.js.LICENSE.txt → d8dc922f7466300b668f.js.LICENSE.txt} +1 -1
  75. package/assets/esri/core/workers/chunks/e524462c63834fae7e01.js +2 -0
  76. package/assets/esri/core/workers/chunks/{02176f84d6d57f1bc1c8.js.LICENSE.txt → e524462c63834fae7e01.js.LICENSE.txt} +1 -1
  77. package/assets/esri/core/workers/chunks/{e7e987558cf017c62458.js → ebfa4a0334401f5e004a.js} +1 -1
  78. package/assets/esri/core/workers/chunks/{60d3b329e69f3cddb7f4.js → fa8a3c75f9b41d31559b.js} +1 -1
  79. package/assets/esri/libs/vxl/vxlLayer.wasm +0 -0
  80. package/assets/esri/themes/dark/main.css +1 -1
  81. package/assets/esri/themes/light/main.css +1 -1
  82. package/assets/esri/themes/light/view.css +1 -1
  83. package/chunks/Bufferer-CicaNej1.js +1 -1
  84. package/chunks/Envelope.js +1 -1
  85. package/chunks/GeodeticDistanceCalculator-CcF1gMZX.js +1 -1
  86. package/chunks/Geometry.js +1 -1
  87. package/chunks/OperatorGeodesicBuffer.js +1 -1
  88. package/chunks/OperatorGeodeticArea.js +1 -1
  89. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  90. package/chunks/OperatorGeodeticLength.js +1 -1
  91. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  92. package/chunks/OperatorProximityGeodesic.js +1 -1
  93. package/chunks/OperatorShapePreservingLength.js +1 -1
  94. package/chunks/OperatorShapePreservingProject.js +1 -1
  95. package/chunks/OperatorSimplifyOGC.js +5 -0
  96. package/chunks/Point2D.js +1 -1
  97. package/chunks/ProjectionTransformation.js +1 -1
  98. package/chunks/QuadraticBezier.js +1 -1
  99. package/chunks/languageUtils.js +1 -1
  100. package/chunks/relateOperator.js +1 -1
  101. package/chunks/vxlLayer.js +1 -1
  102. package/geometry/operators/extendOperator.js +1 -1
  103. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  104. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  105. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  106. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  107. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  108. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  109. package/geometry/operators/gx/operatorSimplifyOGC.js +5 -0
  110. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  111. package/geometry/operators/reshapeOperator.js +1 -1
  112. package/geometry/operators/simplifyOGCOperator.d.ts +6 -0
  113. package/geometry/operators/simplifyOGCOperator.js +5 -0
  114. package/geometry/operators/support/jsonConverter.js +1 -1
  115. package/interfaces.d.ts +98 -2
  116. package/package.json +2 -2
  117. package/support/revision.js +1 -1
  118. package/versionManagement/utils.js +1 -1
  119. package/views/3d/environment/ChapmanAtmosphere.js +1 -1
  120. package/views/3d/layers/LineOfSightLayerView3D.js +1 -1
  121. package/views/3d/layers/graphics/pipeline/Feature3DPipelineWorker.js +1 -1
  122. package/views/3d/layers/graphics/pipeline/PipelineCommand.js +1 -1
  123. package/views/3d/layers/graphics/pipeline/Tile3DManager.js +1 -1
  124. package/views/3d/layers/graphics/pipeline/TileActionSynchronizer.js +5 -0
  125. package/views/3d/terrain/OverlayRenderTargets.js +1 -1
  126. package/views/3d/webgl/ManagedFBO.js +1 -1
  127. package/views/3d/webgl-engine/core/FBOCache.js +1 -1
  128. package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
  129. package/views/3d/webgl-engine/effects/debug/RenderNodeVisualizerNode.js +1 -1
  130. package/views/3d/webgl-engine/effects/focusArea/FocusAreaMaskNode.js +1 -1
  131. package/views/3d/webgl-engine/effects/geometry/RenderOccludedRenderNode.js +1 -1
  132. package/views/3d/webgl-engine/effects/haze/Haze.js +1 -1
  133. package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
  134. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  135. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  136. package/views/3d/webgl-engine/lib/MainFramebuffer.js +1 -1
  137. package/views/3d/webgl-engine/lib/Renderer.js +1 -1
  138. package/views/3d/webgl-engine/lib/ShadowMap.js +1 -1
  139. package/views/3d/webgl-engine/lib/ViewshedShadowMap.js +1 -1
  140. package/views/interactive/Tooltip.js +1 -1
  141. package/views/interactive/tooltip/content/TooltipContent.js +1 -1
  142. package/views/layers/LineOfSightLayerView.d.ts +4 -0
  143. package/views/layers/LineOfSightLayerView.js +5 -0
  144. package/views/webgl/FramebufferObject.js +1 -1
  145. package/views/webgl/formats.js +5 -0
  146. package/views/webgl/textureUtils.js +1 -1
  147. package/assets/esri/core/workers/chunks/02176f84d6d57f1bc1c8.js +0 -2
  148. package/assets/esri/core/workers/chunks/82353e59ac6d909dcf41.js +0 -1
  149. package/assets/esri/core/workers/chunks/873327fc41edd3830afa.js +0 -319
  150. package/assets/esri/core/workers/chunks/daa54c8a317c27881763.js +0 -1
  151. package/assets/esri/core/workers/chunks/e15c612caadf7bac4ab9.js +0 -1
  152. package/views/3d/webgl/formats.js +0 -5
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
7
7
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
8
- v3.2.0-next.15 */
8
+ v3.2.0-next.25 */
9
9
 
10
10
  /**
11
11
  * @license
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1088],{31088:(e,t,r)=>{r.r(t),r.d(t,{OperatorGeodeticDensifyByLength:()=>u,OperatorGeodeticDensifyCursor:()=>m});var s=r(76061),n=r(55537),i=r(12189);class u{getOperatorType(){return 10310}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r,s,n){return new m(e,r,s,t,-1,-1,n)}execute(e,t,r,i,u){const m=new s.S([e]),o=this.executeMany(m,t,r,i,u).next();return o||(0,n.c)("null output"),o}}class m extends s.G{constructor(e,t,r,s,i,u,m){super(),this.m_progressTracker=m,u>0&&(0,n.b)(""),4!==r&&i>0&&(0,n.b)(""),t||(0,n.t)(""),0===t.getCoordinateSystemType()&&(0,n.t)(""),s>0||i>0||(0,n.t)(""),this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=t,this.m_curveType=r,this.m_maxLengthMeters=s,this.m_maxDeviationMeters=i,this.m_maxAngle=u}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,n.d)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.geodeticDensify(e);return null}}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}geodeticDensify(e){return(0,i.u)(e,this.m_spatialReference,this.m_curveType,this.m_maxLengthMeters,this.m_maxDeviationMeters,this.m_progressTracker)}}}}]);
1
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1088],{31088:(e,t,r)=>{r.r(t),r.d(t,{OperatorGeodeticDensifyByLength:()=>u,OperatorGeodeticDensifyCursor:()=>m});var s=r(76061),n=r(55537),i=r(12189);class u{getOperatorType(){return 10310}supportsCurves(){return!0}accelerateGeometry(e,t,r){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,r,s,n){return new m(e,r,s,t,-1,-1,n)}execute(e,t,r,i,u){const m=new s.S([e]),o=this.executeMany(m,t,r,i,u).next();return o||(0,n.c)("null output"),o}}class m extends s.G{constructor(e,t,r,s,i,u,m){super(),this.m_progressTracker=m,u>0&&(0,n.b)(""),4!==r&&i>0&&(0,n.b)(""),t||(0,n.t)(""),0===t.getCoordinateSystemType()&&(0,n.t)(""),s>0||i>0||(0,n.t)(""),this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=t,this.m_curveType=r,this.m_maxLengthMeters=s,this.m_maxDeviationMeters=i,this.m_maxAngle=u}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,n.d)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.geodeticDensify(e);return null}}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}geodeticDensify(e){return(0,i.x)(e,this.m_spatialReference,this.m_curveType,this.m_maxLengthMeters,this.m_maxDeviationMeters,this.m_progressTracker)}}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 38f9ede26098eb03ca2d.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3761],{4643:(e,t,n)=>{n.d(t,{c:()=>s});var i=n(46337);function s(e,t,n){if(i.S$)return;const s=function(e){class t extends window.MutationObserver{constructor(e){super(e),this.observedEntry=[],this.callback=e}observe(e,t){return this.observedEntry.push({target:e,options:t}),super.observe(e,t)}unobserve(e){const t=this.observedEntry.filter((t=>t.target!==e));this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),t.forEach((e=>this.observe(e.target,e.options)))}}return"intersection"===e?window.IntersectionObserver:"mutation"===e?t:window.ResizeObserver}(e);return new s(t,n)}},21796:(e,t,n)=>{n.d(t,{H:()=>k,c:()=>p,d:()=>$,f:()=>m,i:()=>g,r:()=>v,s:()=>f});var i=n(46337),s=n(79e3);const o=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"],a="hidden-form-input";function r(e){return"checked"in e}const l=new WeakMap,c=new WeakSet;function d(e){return"CALCITE-RADIO-BUTTON"===e.nodeName?(0,s.k)(e,"calcite-radio-button-group"):e}const u=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function h(e){const t=e?.target,n=t?.validationMessage,i=d(t?.parentElement);if(!i)return;const s=i?.nodeName?.toLowerCase(),a=s?.split("-");if(a.length<2||"calcite"!==a[0])return;e?.preventDefault(),"validity"in i&&(i.validity=t?.validity),i.dispatchEvent(u),function(e,{status:t,message:n,icon:i}){"status"in e&&(e.status=t),"validationIcon"in e&&"string"!=typeof e.validationIcon&&(e.validationIcon=i),"validationMessage"in e&&!e.validationMessage&&(e.validationMessage=n)}(i,{message:n,icon:!0,status:"invalid"});const r=function(e){return`${e.split("-").map(((e,t)=>0===t?e:`${e[0].toUpperCase()}${e.slice(1)}`)).join("")}${o.includes(e)?"Input":"Change"}`}(s);i.addEventListener(r,(()=>{"status"in i&&(i.status="idle"),!("validationIcon"in i)||""!==i.validationIcon&&!0!==i.validationIcon||(i.validationIcon=!1),"validationMessage"in i&&i.validationMessage===n&&(i.validationMessage=""),"validity"in i&&(i.validity=t?.validity)}),{once:!0})}function f(e){const{formEl:t}=e;return!!t&&(t.addEventListener("invalid",h,!0),t.requestSubmit(),t.removeEventListener("invalid",h,!0),requestAnimationFrame((()=>{const e=t.querySelectorAll("[status=invalid]");for(const t of e)if(t?.validationMessage){t?.setFocus();break}})),!0)}function v(e){e.formEl?.reset()}function p(e){const{el:t,value:n}=e,i=m(e);if(!i||function(e,t){if((0,s.k)(t.parentElement,"[form]"))return!0;const n="calciteInternalFormComponentRegister";let i=!1;return e.addEventListener(n,(e=>{i=e.composedPath().some((e=>c.has(e))),e.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(n,{bubbles:!0,composed:!0})),i}(i,t))return;e.formEl=i,e.defaultValue=n,r(e)&&(e.defaultChecked=e.checked);const o=b.bind(e);i.addEventListener("reset",o),l.set(e.el,o),c.add(t)}function m(e){const{el:t,form:n}=e;return n?(0,s.q)(t,{id:n}):(0,s.k)(t,"form")}function b(){"status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),r(this)?this.checked=this.defaultChecked:(this.value=this.defaultValue,this.onFormReset?.())}function $(e){const{el:t,formEl:n}=e;if(!n)return;const i=l.get(t);n.removeEventListener("reset",i),l.delete(t),e.formEl=null,c.delete(t)}const g="calciteInternalHiddenInputInput",E=e=>{e.target.dispatchEvent(new CustomEvent(g,{bubbles:!0}))},w=e=>e.removeEventListener("input",E);function y(e,t,n){const{defaultValue:i,disabled:s,form:o,name:a,required:l}=e;t.defaultValue=i,t.disabled=s,t.name=a,t.required=l,t.tabIndex=-1,o?t.setAttribute("form",o):t.removeAttribute("form"),r(e)?(t.checked=e.checked,t.defaultChecked=e.defaultChecked,t.value=e.checked?n||"on":""):t.value=n||"",e.syncHiddenFormInput?.(t);const c=d(e.el);if(c&&"validity"in c)for(const e in{...t?.validity})c.validity[e]=t.validity[e]}const k=({component:e})=>(function(e){const{el:t,formEl:n,name:s,value:o}=e,{ownerDocument:r}=t;if(i.S$)return;const l=t.querySelectorAll(`input[slot="${a}"]`);if(!n||!s)return void l.forEach((e=>{w(e),e.remove()}));const c=Array.isArray(o)?o:[o],d=[],u=new Set;let h;l.forEach((t=>{const n=c.find((e=>e==t.value));null!=n?(u.add(n),y(e,t,n)):d.push(t)})),c.forEach((t=>{if(u.has(t))return;let n=d.pop();n||(n=r.createElement("input"),n.ariaHidden="true",n.slot=a),h||(h=r.createDocumentFragment()),h.append(n),n.addEventListener("input",E),y(e,n,t)})),h&&t.append(h),d.forEach((e=>{w(e),e.remove()}))}(e),i.qy`<slot name=${a}></slot>`)},32239:(e,t,n)=>{var i=n(34088),s=n(46337),o=n(26031),a=n(79e3),r=n(4643),l=n(84137),c=n(33826);const d="flip-rtl",u={},h={},f={s:16,m:24,l:32};function v({icon:e,scale:t}){const n=f[t],i=function(e){const t=!isNaN(Number(e.charAt(0))),n=e.split("-");if(n.length>0){const t=/[a-z]/i;e=n.map(((e,n)=>e.replace(t,(function(e,t){return 0===n&&0===t?e:e.toUpperCase()})))).join("")}return t?`i${e}`:e}(e),s="F"===i.charAt(i.length-1);return`${s?i.substring(0,i.length-1):i}${n}${s?"F":""}`}function p(e){return u[e]}const m=c.AH`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class b extends o.WF{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{state:!0}],visible:[16,{state:!0}],flipRtl:[7,{reflect:!0,type:Boolean}],icon:[3,{reflect:!0}],preload:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],textLabel:1}}static{this.styles=m}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}willUpdate(e){(e.has("icon")&&(this.hasUpdated||null!==this.icon)||e.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:e,scale:t,visible:n}=this;if(s.S$||!e||!n)return;const o={icon:e,scale:t},a=p(v(o))||await async function(e){const t=v(e),n=p(t);if(n)return n;h[t]||(h[t]=fetch((0,i.g)(`./assets/icon/${t}.json`)).then((e=>e.json())).catch((()=>(l.l.error(`${e.icon} (${e.scale}) icon failed to load`),""))));const s=await h[t];return u[t]=s,s}(o);e===this.icon&&(this.pathData=a)}waitUntilVisible(e){this.intersectionObserver=(0,r.c)("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,e())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}render(){const{el:e,flipRtl:t,pathData:n,scale:i,textLabel:r}=this,l=(0,a.g)(e),c=f[i],u=!!r,h=[].concat(n||"");return this.el.ariaHidden=(0,a.t)(!u),this.el.ariaLabel=u?r:null,this.el.role=u?"img":null,s.qy`<svg aria-hidden=true class=${(0,o.CP)({[d]:"rtl"===l&&t,svg:!0})} fill=currentColor height=100% viewBox=${`0 0 ${c} ${c}`} width=100% xmlns=http://www.w3.org/2000/svg>${h.map((e=>"string"==typeof e?s.JW`<path d=${e??s.s6} />`:s.JW`<path d=${e.d??s.s6} opacity=${("opacity"in e?e.opacity:1)??s.s6} />`))}</svg>`}}(0,i.c)("calcite-icon",b)},48015:(e,t,n)=>{n.d(t,{_:()=>f,K:()=>m});var i=n(36752),s=n(18504),o=n(7804);const a=(e,t)=>{const n=e._$AN;if(void 0===n)return!1;for(const e of n)e._$AO?.(t,!1),a(e,t);return!0},r=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===n?.size)},l=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),u(t)}};function c(e){void 0!==this._$AN?(r(this),this._$AM=e,l(this)):this._$AM=e}function d(e,t=!1,n=0){const i=this._$AH,s=this._$AN;if(void 0!==s&&0!==s.size)if(t)if(Array.isArray(i))for(let e=n;e<i.length;e++)a(i[e],!1),r(i[e]);else null!=i&&(a(i,!1),r(i));else a(this,e)}const u=e=>{e.type==o.OA.CHILD&&(e._$AP??=d,e._$AQ??=c)};class h extends o.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),l(this),this.isConnected=e._$AU}_$AO(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&(a(this,e),r(this))}setValue(e){if((0,s.Rt)(this._$Ct))this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}const f=()=>new v;class v{}const p=new WeakMap,m=(0,o.u$)(class extends h{render(e){return i.s6}update(e,[t]){const n=t!==this.Y;return n&&void 0!==this.Y&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.Y=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),i.s6}rt(e){if(this.isConnected||(e=void 0),"function"==typeof this.Y){const t=this.ht??globalThis;let n=p.get(t);void 0===n&&(n=new WeakMap,p.set(t,n)),void 0!==n.get(this.Y)&&this.Y.call(this.ht,void 0),n.set(this.Y,e),void 0!==e&&this.Y.call(this.ht,e)}else this.Y.value=e}get lt(){return"function"==typeof this.Y?p.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},52567:(e,t,n)=>{n.d(t,{Bk:()=>a,eu:()=>r,qy:()=>d});var i=n(36752);const s=Symbol.for(""),o=e=>{if(e?.r===s)return e?._$litStatic$},a=e=>({_$litStatic$:e,r:s}),r=(e,...t)=>({_$litStatic$:t.reduce(((t,n,i)=>t+(e=>{if(void 0!==e._$litStatic$)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[i+1]),e[0]),r:s}),l=new Map,c=e=>(t,...n)=>{const i=n.length;let s,a;const r=[],c=[];let d,u=0,h=!1;for(;u<i;){for(d=t[u];u<i&&void 0!==(a=n[u],s=o(a));)d+=s+t[++u],h=!0;u!==i&&c.push(a),r.push(d),u++}if(u===i&&r.push(t[i]),h){const e=r.join("$$lit$$");void 0===(t=l.get(e))&&(r.raw=r,l.set(e,t=r)),n=c}return e(t,...n)},d=c(i.qy);c(i.JW),c(i.ej)},60992:(e,t,n)=>{n.d(t,{I:()=>u,u:()=>d});var i=n(36752),s=n(26031);function o(){const{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function a(e){e.target.disabled&&e.preventDefault()}const r=["mousedown","mouseup","click"];function l(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}const c={capture:!0};function d(e){if(e.disabled)return e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),void function(e){var t;e.el.click=o,(t=e.el).addEventListener("pointerdown",a,c),r.forEach((e=>t.addEventListener(e,l,c)))}(e);!function(e){var t;delete e.el.click,(t=e.el).removeEventListener("pointerdown",a,c),r.forEach((e=>t.removeEventListener(e,l,c)))}(e),e.el.removeAttribute("aria-disabled")}const u=({children:e,disabled:t})=>i.qy`<div class=${(0,s.CP)("interaction-container")} .inert=${t}>${e}</div>`},75572:(e,t,n)=>{n.d(t,{u:()=>o});var i=n(90286),s=n(34088);const o=(0,i.yr)(s.g)},83623:(e,t,n)=>{function i(e){return"l"===e?"m":"s"}async function s(e){await e.componentOnReady(),await e.updateComplete}n.d(t,{c:()=>s,g:()=>i}),n(84137)},84137:(e,t,n)=>{n.d(t,{l:()=>l});var i=n(34088);const s=new Set,o={trace:0,debug:1,info:2,warn:4,error:8,off:10};function a(e,...t){(function(e){return o[e]>=o[i.l]})(e)&&console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}let r;const l={debug:e=>a("debug",e),info:e=>a("info",e),warn:e=>a("warn",e),error:e=>a("error",e),trace:e=>a("trace",e),deprecated:function(e,{component:t,name:n,suggested:i,removalVersion:o}){const l=`${e}:${"component"===e?"":t}${n}`;if(s.has(l))return;s.add(l);const c=Array.isArray(i);c&&!r&&(r=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),a("warn",`[${n}] ${e} is deprecated and will be removed in ${"future"===o?"a future version":`v${o}`}.${i?` Use ${c?r.format(i.map((e=>`"${e}"`))):`"${i}"`} instead.`:""}`)}}},93174:(e,t,n)=>{n.d(t,{a:()=>w,b:()=>a,c:()=>v,d:()=>p,g:()=>b,l:()=>o});var i=n(79e3);const s="calciteInternalLabelClick",o="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",r="calcite-label",l=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,h=new Set,f=e=>{const{id:t}=e,n=t&&(0,i.q)(e,{selector:`${r}[for="${t}"]`});if(n)return n;const s=(0,i.k)(e,r);return!s||function(e,t){let n;const i="custom-element-ancestor-check",s=i=>{i.stopImmediatePropagation();const s=i.composedPath();n=s.slice(s.indexOf(t),s.indexOf(e))};e.addEventListener(i,s,{once:!0}),t.dispatchEvent(new CustomEvent(i,{composed:!0,bubbles:!0})),e.removeEventListener(i,s);return n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(s,e)?null:s};function v(e){if(!e)return;const t=f(e.el);if(c.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=E.bind(e);if(t){e.labelEl=t;const i=l.get(t)||[];i.push(e),l.set(t,i.sort(m)),c.has(e.labelEl)||(c.set(e.labelEl,$),e.labelEl.addEventListener(s,$)),h.delete(e),document.removeEventListener(o,d.get(e)),u.set(e,n),document.addEventListener(a,n)}else h.has(e)||(n(),document.removeEventListener(a,u.get(e)))}function p(e){if(!e)return;if(h.delete(e),document.removeEventListener(o,d.get(e)),document.removeEventListener(a,u.get(e)),d.delete(e),u.delete(e),!e.labelEl)return;const t=l.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(s,c.get(e.labelEl)),c.delete(e.labelEl)),l.set(e.labelEl,t.filter((t=>t!==e)).sort(m)),e.labelEl=null}function m(e,t){return(0,i.l)(e.el,t.el)?-1:1}function b(e){return e.label||e.labelEl?.textContent?.trim()||""}function $(e){const t=e.detail.sourceEvent.target,n=l.get(this),i=n.find((e=>e.el===t));if(n.includes(i))return;const s=n[0];s.disabled||s.onLabelClick(e)}function g(){h.has(this)&&v(this)}function E(){h.add(this);const e=d.get(this)||g.bind(this);d.set(this,e),document.addEventListener(o,e)}async function w(e){if(await e.componentOnReady(),l.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of h)if(e.el===t){v(e);break}}))}}}]);
1
+ /*! For license information please see 3cf001abca8ad933bccf.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3761],{4643:(e,t,n)=>{n.d(t,{c:()=>s});var i=n(46337);function s(e,t,n){if(i.S$)return;const s=function(e){class t extends window.MutationObserver{constructor(e){super(e),this.observedEntry=[],this.callback=e}observe(e,t){return this.observedEntry.push({target:e,options:t}),super.observe(e,t)}unobserve(e){const t=this.observedEntry.filter((t=>t.target!==e));this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),t.forEach((e=>this.observe(e.target,e.options)))}}return"intersection"===e?window.IntersectionObserver:"mutation"===e?t:window.ResizeObserver}(e);return new s(t,n)}},21796:(e,t,n)=>{n.d(t,{H:()=>k,c:()=>p,d:()=>$,f:()=>m,i:()=>g,r:()=>v,s:()=>f});var i=n(46337),s=n(79e3);const o=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"],a="hidden-form-input";function r(e){return"checked"in e}const l=new WeakMap,c=new WeakSet;function d(e){return"CALCITE-RADIO-BUTTON"===e.nodeName?(0,s.k)(e,"calcite-radio-button-group"):e}const u=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function h(e){const t=e?.target,n=t?.validationMessage,i=d(t?.parentElement);if(!i)return;const s=i?.nodeName?.toLowerCase(),a=s?.split("-");if(a.length<2||"calcite"!==a[0])return;e?.preventDefault(),"validity"in i&&(i.validity=t?.validity),i.dispatchEvent(u),function(e,{status:t,message:n,icon:i}){"status"in e&&(e.status=t),"validationIcon"in e&&"string"!=typeof e.validationIcon&&(e.validationIcon=i),"validationMessage"in e&&!e.validationMessage&&(e.validationMessage=n)}(i,{message:n,icon:!0,status:"invalid"});const r=function(e){return`${e.split("-").map(((e,t)=>0===t?e:`${e[0].toUpperCase()}${e.slice(1)}`)).join("")}${o.includes(e)?"Input":"Change"}`}(s);i.addEventListener(r,(()=>{"status"in i&&(i.status="idle"),!("validationIcon"in i)||""!==i.validationIcon&&!0!==i.validationIcon||(i.validationIcon=!1),"validationMessage"in i&&i.validationMessage===n&&(i.validationMessage=""),"validity"in i&&(i.validity=t?.validity)}),{once:!0})}function f(e){const{formEl:t}=e;return!!t&&(t.addEventListener("invalid",h,!0),t.requestSubmit(),t.removeEventListener("invalid",h,!0),requestAnimationFrame((()=>{const e=t.querySelectorAll("[status=invalid]");for(const t of e)if(t?.validationMessage){t?.setFocus();break}})),!0)}function v(e){e.formEl?.reset()}function p(e){const{el:t,value:n}=e,i=m(e);if(!i||function(e,t){if((0,s.k)(t.parentElement,"[form]"))return!0;const n="calciteInternalFormComponentRegister";let i=!1;return e.addEventListener(n,(e=>{i=e.composedPath().some((e=>c.has(e))),e.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(n,{bubbles:!0,composed:!0})),i}(i,t))return;e.formEl=i,e.defaultValue=n,r(e)&&(e.defaultChecked=e.checked);const o=b.bind(e);i.addEventListener("reset",o),l.set(e.el,o),c.add(t)}function m(e){const{el:t,form:n}=e;return n?(0,s.q)(t,{id:n}):(0,s.k)(t,"form")}function b(){"status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),r(this)?this.checked=this.defaultChecked:(this.value=this.defaultValue,this.onFormReset?.())}function $(e){const{el:t,formEl:n}=e;if(!n)return;const i=l.get(t);n.removeEventListener("reset",i),l.delete(t),e.formEl=null,c.delete(t)}const g="calciteInternalHiddenInputInput",E=e=>{e.target.dispatchEvent(new CustomEvent(g,{bubbles:!0}))},w=e=>e.removeEventListener("input",E);function y(e,t,n){const{defaultValue:i,disabled:s,form:o,name:a,required:l}=e;t.defaultValue=i,t.disabled=s,t.name=a,t.required=l,t.tabIndex=-1,o?t.setAttribute("form",o):t.removeAttribute("form"),r(e)?(t.checked=e.checked,t.defaultChecked=e.defaultChecked,t.value=e.checked?n||"on":""):t.value=n||"",e.syncHiddenFormInput?.(t);const c=d(e.el);if(c&&"validity"in c)for(const e in{...t?.validity})c.validity[e]=t.validity[e]}const k=({component:e})=>(function(e){const{el:t,formEl:n,name:s,value:o}=e,{ownerDocument:r}=t;if(i.S$)return;const l=t.querySelectorAll(`input[slot="${a}"]`);if(!n||!s)return void l.forEach((e=>{w(e),e.remove()}));const c=Array.isArray(o)?o:[o],d=[],u=new Set;let h;l.forEach((t=>{const n=c.find((e=>e==t.value));null!=n?(u.add(n),y(e,t,n)):d.push(t)})),c.forEach((t=>{if(u.has(t))return;let n=d.pop();n||(n=r.createElement("input"),n.ariaHidden="true",n.slot=a),h||(h=r.createDocumentFragment()),h.append(n),n.addEventListener("input",E),y(e,n,t)})),h&&t.append(h),d.forEach((e=>{w(e),e.remove()}))}(e),i.qy`<slot name=${a}></slot>`)},32239:(e,t,n)=>{var i=n(34088),s=n(46337),o=n(18964),a=n(79e3),r=n(4643),l=n(84137),c=n(33826);const d="flip-rtl",u={},h={},f={s:16,m:24,l:32};function v({icon:e,scale:t}){const n=f[t],i=function(e){const t=!isNaN(Number(e.charAt(0))),n=e.split("-");if(n.length>0){const t=/[a-z]/i;e=n.map(((e,n)=>e.replace(t,(function(e,t){return 0===n&&0===t?e:e.toUpperCase()})))).join("")}return t?`i${e}`:e}(e),s="F"===i.charAt(i.length-1);return`${s?i.substring(0,i.length-1):i}${n}${s?"F":""}`}function p(e){return u[e]}const m=c.AH`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;class b extends o.WF{constructor(){super(...arguments),this.visible=!1,this.flipRtl=!1,this.icon=null,this.preload=!1,this.scale="m"}static{this.properties={pathData:[16,{state:!0}],visible:[16,{state:!0}],flipRtl:[7,{reflect:!0,type:Boolean}],icon:[3,{reflect:!0}],preload:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],textLabel:1}}static{this.styles=m}connectedCallback(){if(super.connectedCallback(),this.preload)return this.visible=!0,void this.loadIconPathData();this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}willUpdate(e){(e.has("icon")&&(this.hasUpdated||null!==this.icon)||e.has("scale")&&(this.hasUpdated||"m"!==this.scale))&&this.loadIconPathData()}disconnectedCallback(){super.disconnectedCallback(),this.intersectionObserver?.disconnect(),this.intersectionObserver=null}async loadIconPathData(){const{icon:e,scale:t,visible:n}=this;if(s.S$||!e||!n)return;const o={icon:e,scale:t},a=p(v(o))||await async function(e){const t=v(e),n=p(t);if(n)return n;h[t]||(h[t]=fetch((0,i.g)(`./assets/icon/${t}.json`)).then((e=>e.json())).catch((()=>(l.l.error(`${e.icon} (${e.scale}) icon failed to load`),""))));const s=await h[t];return u[t]=s,s}(o);e===this.icon&&(this.pathData=a)}waitUntilVisible(e){this.intersectionObserver=(0,r.c)("intersection",(t=>{t.forEach((t=>{t.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,e())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}render(){const{el:e,flipRtl:t,pathData:n,scale:i,textLabel:r}=this,l=(0,a.g)(e),c=f[i],u=!!r,h=[].concat(n||"");return this.el.ariaHidden=(0,a.t)(!u),this.el.ariaLabel=u?r:null,this.el.role=u?"img":null,s.qy`<svg aria-hidden=true class=${(0,o.CP)({[d]:"rtl"===l&&t,svg:!0})} fill=currentColor height=100% viewBox=${`0 0 ${c} ${c}`} width=100% xmlns=http://www.w3.org/2000/svg>${h.map((e=>"string"==typeof e?s.JW`<path d=${e??s.s6} />`:s.JW`<path d=${e.d??s.s6} opacity=${("opacity"in e?e.opacity:1)??s.s6} />`))}</svg>`}}(0,i.c)("calcite-icon",b)},48015:(e,t,n)=>{n.d(t,{_:()=>f,K:()=>m});var i=n(36752),s=n(18504),o=n(7804);const a=(e,t)=>{const n=e._$AN;if(void 0===n)return!1;for(const e of n)e._$AO?.(t,!1),a(e,t);return!0},r=e=>{let t,n;do{if(void 0===(t=e._$AM))break;n=t._$AN,n.delete(e),e=t}while(0===n?.size)},l=e=>{for(let t;t=e._$AM;e=t){let n=t._$AN;if(void 0===n)t._$AN=n=new Set;else if(n.has(e))break;n.add(e),u(t)}};function c(e){void 0!==this._$AN?(r(this),this._$AM=e,l(this)):this._$AM=e}function d(e,t=!1,n=0){const i=this._$AH,s=this._$AN;if(void 0!==s&&0!==s.size)if(t)if(Array.isArray(i))for(let e=n;e<i.length;e++)a(i[e],!1),r(i[e]);else null!=i&&(a(i,!1),r(i));else a(this,e)}const u=e=>{e.type==o.OA.CHILD&&(e._$AP??=d,e._$AQ??=c)};class h extends o.WL{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,n){super._$AT(e,t,n),l(this),this.isConnected=e._$AU}_$AO(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&(a(this,e),r(this))}setValue(e){if((0,s.Rt)(this._$Ct))this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}const f=()=>new v;class v{}const p=new WeakMap,m=(0,o.u$)(class extends h{render(e){return i.s6}update(e,[t]){const n=t!==this.Y;return n&&void 0!==this.Y&&this.rt(void 0),(n||this.lt!==this.ct)&&(this.Y=t,this.ht=e.options?.host,this.rt(this.ct=e.element)),i.s6}rt(e){if(this.isConnected||(e=void 0),"function"==typeof this.Y){const t=this.ht??globalThis;let n=p.get(t);void 0===n&&(n=new WeakMap,p.set(t,n)),void 0!==n.get(this.Y)&&this.Y.call(this.ht,void 0),n.set(this.Y,e),void 0!==e&&this.Y.call(this.ht,e)}else this.Y.value=e}get lt(){return"function"==typeof this.Y?p.get(this.ht??globalThis)?.get(this.Y):this.Y?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}})},52567:(e,t,n)=>{n.d(t,{Bk:()=>a,eu:()=>r,qy:()=>d});var i=n(36752);const s=Symbol.for(""),o=e=>{if(e?.r===s)return e?._$litStatic$},a=e=>({_$litStatic$:e,r:s}),r=(e,...t)=>({_$litStatic$:t.reduce(((t,n,i)=>t+(e=>{if(void 0!==e._$litStatic$)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[i+1]),e[0]),r:s}),l=new Map,c=e=>(t,...n)=>{const i=n.length;let s,a;const r=[],c=[];let d,u=0,h=!1;for(;u<i;){for(d=t[u];u<i&&void 0!==(a=n[u],s=o(a));)d+=s+t[++u],h=!0;u!==i&&c.push(a),r.push(d),u++}if(u===i&&r.push(t[i]),h){const e=r.join("$$lit$$");void 0===(t=l.get(e))&&(r.raw=r,l.set(e,t=r)),n=c}return e(t,...n)},d=c(i.qy);c(i.JW),c(i.ej)},60992:(e,t,n)=>{n.d(t,{I:()=>u,u:()=>d});var i=n(36752),s=n(18964);function o(){const{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function a(e){e.target.disabled&&e.preventDefault()}const r=["mousedown","mouseup","click"];function l(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}const c={capture:!0};function d(e){if(e.disabled)return e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),void function(e){var t;e.el.click=o,(t=e.el).addEventListener("pointerdown",a,c),r.forEach((e=>t.addEventListener(e,l,c)))}(e);!function(e){var t;delete e.el.click,(t=e.el).removeEventListener("pointerdown",a,c),r.forEach((e=>t.removeEventListener(e,l,c)))}(e),e.el.removeAttribute("aria-disabled")}const u=({children:e,disabled:t})=>i.qy`<div class=${(0,s.CP)("interaction-container")} .inert=${t}>${e}</div>`},75572:(e,t,n)=>{n.d(t,{u:()=>o});var i=n(62590),s=n(34088);const o=(0,i.yr)(s.g)},83623:(e,t,n)=>{function i(e){return"l"===e?"m":"s"}async function s(e){await e.componentOnReady(),await e.updateComplete}n.d(t,{c:()=>s,g:()=>i}),n(84137)},84137:(e,t,n)=>{n.d(t,{l:()=>l});var i=n(34088);const s=new Set,o={trace:0,debug:1,info:2,warn:4,error:8,off:10};function a(e,...t){(function(e){return o[e]>=o[i.l]})(e)&&console[e].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...t)}let r;const l={debug:e=>a("debug",e),info:e=>a("info",e),warn:e=>a("warn",e),error:e=>a("error",e),trace:e=>a("trace",e),deprecated:function(e,{component:t,name:n,suggested:i,removalVersion:o}){const l=`${e}:${"component"===e?"":t}${n}`;if(s.has(l))return;s.add(l);const c=Array.isArray(i);c&&!r&&(r=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),a("warn",`[${n}] ${e} is deprecated and will be removed in ${"future"===o?"a future version":`v${o}`}.${i?` Use ${c?r.format(i.map((e=>`"${e}"`))):`"${i}"`} instead.`:""}`)}}},93174:(e,t,n)=>{n.d(t,{a:()=>w,b:()=>a,c:()=>v,d:()=>p,g:()=>b,l:()=>o});var i=n(79e3);const s="calciteInternalLabelClick",o="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",r="calcite-label",l=new WeakMap,c=new WeakMap,d=new WeakMap,u=new WeakMap,h=new Set,f=e=>{const{id:t}=e,n=t&&(0,i.q)(e,{selector:`${r}[for="${t}"]`});if(n)return n;const s=(0,i.k)(e,r);return!s||function(e,t){let n;const i="custom-element-ancestor-check",s=i=>{i.stopImmediatePropagation();const s=i.composedPath();n=s.slice(s.indexOf(t),s.indexOf(e))};e.addEventListener(i,s,{once:!0}),t.dispatchEvent(new CustomEvent(i,{composed:!0,bubbles:!0})),e.removeEventListener(i,s);return n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(s,e)?null:s};function v(e){if(!e)return;const t=f(e.el);if(c.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=E.bind(e);if(t){e.labelEl=t;const i=l.get(t)||[];i.push(e),l.set(t,i.sort(m)),c.has(e.labelEl)||(c.set(e.labelEl,$),e.labelEl.addEventListener(s,$)),h.delete(e),document.removeEventListener(o,d.get(e)),u.set(e,n),document.addEventListener(a,n)}else h.has(e)||(n(),document.removeEventListener(a,u.get(e)))}function p(e){if(!e)return;if(h.delete(e),document.removeEventListener(o,d.get(e)),document.removeEventListener(a,u.get(e)),d.delete(e),u.delete(e),!e.labelEl)return;const t=l.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(s,c.get(e.labelEl)),c.delete(e.labelEl)),l.set(e.labelEl,t.filter((t=>t!==e)).sort(m)),e.labelEl=null}function m(e,t){return(0,i.l)(e.el,t.el)?-1:1}function b(e){return e.label||e.labelEl?.textContent?.trim()||""}function $(e){const t=e.detail.sourceEvent.target,n=l.get(this),i=n.find((e=>e.el===t));if(n.includes(i))return;const s=n[0];s.disabled||s.onLabelClick(e)}function g(){h.has(this)&&v(this)}function E(){h.add(this);const e=d.get(this)||g.bind(this);d.set(this,e),document.addEventListener(o,e)}async function w(e){if(await e.componentOnReady(),l.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of h)if(e.el===t){v(e);break}}))}}}]);
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.15 */
3
+ v3.2.0-next.25 */
4
4
 
5
5
  /**
6
6
  * @license
@@ -1,2 +1,2 @@
1
- /*! For license information please see dbaa4b8d37aab40d7bd1.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7836],{18883:(t,e,a)=>{a.d(e,{g:()=>n});const n=()=>[2,1,1,1,3].map((t=>{let e="";for(let a=0;a<t;a++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-")},30357:(t,e,a)=>{var n=a(34088),o=a(46337),r=a(26031),i=a(18883),l=a(75572),c=a(33826);const s="ring--progress",d="ring",u="ring--track",b=c.AH`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-0);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-2);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`;class h extends r.WF{constructor(){super(...arguments),this.messages=(0,l.u)({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],inline:[7,{reflect:!0,type:Boolean}],label:1,scale:[3,{reflect:!0}],text:1,type:[3,{reflect:!0}],value:[9,{type:Number}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame((()=>this.valueChangeHandler()))}willUpdate(t){t.has("value")&&(this.hasUpdated||0!==this.value)&&this.valueChangeHandler(),(t.has("type")&&(this.hasUpdated||"indeterminate"!==this.type)||t.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&100===this.value}formatValue(){return"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100)}getSize(t){return{s:32,m:64,l:96}[t]}getInlineSize(t){return{s:12,m:16,l:24}[t]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.messages._lang&&(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){const{el:t,inline:e,label:a,text:n,type:l,value:c}=this,s=t.id||(0,i.g)(),d="indeterminate"!==l,u=Math.floor(c);return this.el.ariaLabel=a,this.el.ariaValueMax=d?"100":void 0,this.el.ariaValueMin=d?"0":void 0,this.el.ariaValueNow=d?u.toString():void 0,(0,r.Bq)(this.el,"id",s),this.el.role="progressbar",o.qy`<div class=${(0,r.CP)("rings")}>${this.renderRing("track")}${this.renderRing("progress")}${!e&&d&&o.qy`<div class=${(0,r.CP)("percentage")}>${this.formatValue()}</div>`||""}</div>${!e&&n&&o.qy`<div class=${(0,r.CP)("text")}>${n}</div>`||""}`}renderRing(t){const{inline:e,scale:a,value:n}=this,i=e?this.getInlineSize(a):this.getSize(a),l=.45*i;let c;if("progress"===t){const t=2*l*Math.PI,e=(this.type.startsWith("determinate")?n:24)/100*t;c={"stroke-dasharray":`${e} ${t-e}`}}return o.qy`<svg aria-hidden=true class=${(0,r.CP)({[d]:!0,[u]:"track"===t,[s]:"progress"===t})} style=${(0,r.zl)(c)} viewBox=${`0 0 ${i} ${i}`}>${o.JW`<circle cx=${i/2} cy=${i/2} r=${l??o.s6} />`}</svg>`}}(0,n.c)("calcite-loader",h)},37836:(t,e,a)=>{a.r(e),a.d(e,{Button:()=>E}),a(30357),a(32239);var n=a(34088),o=a(46337),r=a(48015),i=a(52567),l=a(26031),c=a(90286),s=a(21796),d=a(60992),u=a(93174),b=a(83623),h=a(4643),p=a(75572),v=a(79e3),g=a(33826);const f="content--slotted",m="icon",k="icon--start",x="icon--end",z="icon-start-empty",w="icon-end-empty",y="button-padding",$="button-padding--shrunk",C=g.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);box-shadow:inset 0 0 0 0 var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, var(--calcite-color-transparent)));border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none}:host a:focus,:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]) button,:host([kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{--calcite-internal-button-background-color: var(--calcite-color-brand-press)}:host([kind=danger]) button,:host([kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{--calcite-internal-button-background-color: var(--calcite-color-status-danger-press)}:host([kind=neutral]) button,:host([kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{--calcite-internal-button-background-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{--calcite-internal-button-background-color: var(--calcite-color-foreground-1);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill]) button:hover,:host([appearance=outline-fill]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([appearance=outline-fill]) button:active,:host([appearance=outline-fill]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]) button:hover,:host([appearance=solid][kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-border-3)}:host([appearance=solid][kind=neutral]) button:active,:host([appearance=solid][kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-border-2)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline]) button:hover,:host([appearance=outline]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=outline]) button:active,:host([appearance=outline]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]) button,:host([appearance=transparent]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=transparent]) button:hover,:host([appearance=transparent]) button:focus,:host([appearance=transparent]) a:hover,:host([appearance=transparent]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=transparent]) button:active,:host([appearance=transparent]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:var(--calcite-color-transparent)}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:hover{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button,:host([appearance=transparent][kind=inverse]) a,:host([appearance=transparent][kind=inverse]) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;class E extends l.WF{constructor(){super(...arguments),this.attributeWatch=(0,c.oW)(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentEl=(0,r._)(),this.mutationObserver=(0,h.c)("mutation",(()=>this.updateHasContent())),this.resizeObserver=(0,h.c)("resize",(()=>this.setTooltipText())),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.messages=(0,p.u)(),this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:[16,{state:!0}],tooltipText:[16,{state:!0}],alignment:[3,{reflect:!0}],appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],download:[3,{reflect:!0,converter:l.pf}],form:[3,{reflect:!0}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],kind:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],rel:[3,{reflect:!0}],round:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],splitChild:[3,{reflect:!0}],target:[3,{reflect:!0}],type:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=C}async setFocus(){await(0,b.c)(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),(0,u.c)(this),this.formEl=(0,s.f)(this)}async load(){o.S$||this.updateHasContent()}updated(){(0,d.u)(this)}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),(0,u.d)(this),this.resizeObserver?.disconnect(),this.formEl=null}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=(0,v.D)(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}handleClick(){const{type:t}=this;this.href||("submit"===t?(0,s.s)(this):"reset"===t&&(0,s.r)(this))}setTooltipText(){const{contentEl:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||null)}setChildEl(t){this.childEl=t,t&&this.resizeObserver?.observe(t)}render(){const t=this.href?"a":"button",e=this.href?i.eu`a`:i.eu`button`,a=this.loading?o.qy`<div class=${(0,l.CP)("calcite-button--loader")}><calcite-loader class=${(0,l.CP)(this.loading?"loading-in":"loading-out")} inline .label=${this.messages.loading} .scale=${"l"===this.scale?"m":"s"}></calcite-loader></div>`:null,n=!this.iconStart&&!this.iconEnd,c=o.qy`<calcite-icon class=${(0,l.CP)({[m]:!0,[k]:!0})} .flipRtl=${"start"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconStart} .scale=${(0,b.g)(this.scale)}></calcite-icon>`,s=o.qy`<calcite-icon class=${(0,l.CP)({[m]:!0,[x]:!0})} .flipRtl=${"end"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconEnd} .scale=${(0,b.g)(this.scale)}></calcite-icon>`,h=o.qy`<span class=${(0,l.CP)("content")} ${(0,r.K)(this.contentEl)}><slot></slot></span>`;return(0,d.I)({disabled:this.disabled,children:i.qy`<${e} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:null} .ariaLabel=${this.loading?this.messages.loading:(0,u.g)(this)} aria-live=polite class=${(0,l.CP)({[y]:n,[$]:!n,[f]:this.hasContent,[z]:!this.iconStart,[w]:!this.iconEnd})} .disabled=${"button"===t?this.disabled:null} download=${("a"===t?!0===this.download||""===this.download?"":this.download||null:null)??o.s6} href=${("a"===t&&this.href)??o.s6} name=${("button"===t&&this.name)??o.s6} @click=${this.handleClick} rel=${("a"===t&&this.rel)??o.s6} tabindex=${(this.disabled?-1:null)??o.s6} target=${("a"===t&&this.target)??o.s6} title=${this.tooltipText??o.s6} type=${("button"===t?this.type:null)??o.s6} ${(0,r.K)(this.setChildEl)}>${a}${this.iconStart?c:null}${this.hasContent?h:null}${this.iconEnd?s:null}</${e}>`})}}(0,n.c)("calcite-button",E)}}]);
1
+ /*! For license information please see 543eb46b55cacd6e1dbc.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7836],{18883:(t,e,a)=>{a.d(e,{g:()=>n});const n=()=>[2,1,1,1,3].map((t=>{let e="";for(let a=0;a<t;a++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-")},30357:(t,e,a)=>{var n=a(34088),o=a(46337),r=a(18964),i=a(18883),l=a(75572),c=a(33826);const s="ring--progress",d="ring",u="ring--track",h=c.AH`:host{position:relative;margin-inline:auto;display:flex;align-items:center;justify-content:center;opacity:1;flex-direction:column;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke-width:var(--calcite-internal-stroke-width);fill:none;transform:scale(1);padding-block:var(--calcite-loader-spacing, 4rem)}:host([scale=s]){--calcite-internal-stroke-width: 3;--calcite-internal-text-offset: var(--calcite-spacing-xxs);--calcite-internal-loader-font-size: var(--calcite-font-size--3);--calcite-internal-loader-size: 2rem;--calcite-internal-loader-size-inline: .75rem;--calcite-internal-loader-value-line-height: .625rem}:host([scale=m]){--calcite-internal-stroke-width: 6;--calcite-internal-text-offset: var(--calcite-spacing-sm);--calcite-internal-loader-font-size: var(--calcite-font-size-0);--calcite-internal-loader-size: 4rem;--calcite-internal-loader-size-inline: 1rem;--calcite-internal-loader-value-line-height: 1.375rem}:host([scale=l]){--calcite-internal-stroke-width: 8;--calcite-internal-text-offset: var(--calcite-spacing-md);--calcite-internal-loader-font-size: var(--calcite-font-size-2);--calcite-internal-loader-size: 6rem;--calcite-internal-loader-size-inline: 1.5rem;--calcite-internal-loader-value-line-height: 1.71875rem}.text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-start:var(--calcite-loader-text-spacing, var(--calcite-internal-text-offset));font-weight:var(--calcite-loader-text-weight, var(--calcite-font-weight-normal));color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.percentage{display:block;text-align:center;font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));line-height:var(--calcite-internal-loader-value-line-height);align-self:center;color:var(--calcite-loader-text-color, var(--calcite-color-text-1))}.rings{position:relative;display:flex;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-internal-loader-size));block-size:var(--calcite-loader-size, var(--calcite-internal-loader-size))}.ring--track{stroke:var(--calcite-loader-track-color, var(--calcite-color-transparent-press))}.ring--progress{stroke:var(--calcite-loader-progress-color, var(--calcite-color-brand));transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([type=indeterminate]) .ring--progress{animation:loader-clockwise calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) linear infinite}:host([inline]){--calcite-internal-stroke-width: 2;position:relative;margin:0;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));min-block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));vertical-align:calc(var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline))) * -1 * .2)}:host([inline]) .rings{inset-block-start:0px;margin:0;inset-inline-start:0;inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring{inline-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)));block-size:var(--calcite-loader-size, var(--calcite-loader-size-inline, var(--calcite-internal-loader-size-inline)))}:host([inline]) .ring--progress{stroke:var(--calcite-loader-progress-color-inline, currentColor)}:host([complete]){opacity:0;transform:scale(.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1s,transform var(--calcite-internal-animation-timing-medium) linear 1s}:host([complete]) .rings{opacity:0;transform:scale(.75);transform-origin:center;transition:opacity calc(.18s * var(--calcite-internal-duration-factor)) linear .8s,transform calc(.18s * var(--calcite-internal-duration-factor)) linear .8s}:host([complete]) .percentage{color:var(--calcite-color-brand);transform:scale(1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear,transform var(--calcite-internal-animation-timing-medium) linear}@keyframes loader-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}`;class p extends r.WF{constructor(){super(...arguments),this.messages=(0,l.u)({name:null}),this.complete=!1,this.inline=!1,this.scale="m",this.text="",this.type="indeterminate",this.value=0}static{this.properties={complete:[7,{reflect:!0,type:Boolean}],inline:[7,{reflect:!0,type:Boolean}],label:1,scale:[3,{reflect:!0}],text:1,type:[3,{reflect:!0}],value:[9,{type:Number}]}}static{this.styles=h}connectedCallback(){super.connectedCallback(),this.updateFormatter()}load(){requestAnimationFrame((()=>this.valueChangeHandler()))}willUpdate(t){t.has("value")&&(this.hasUpdated||0!==this.value)&&this.valueChangeHandler(),(t.has("type")&&(this.hasUpdated||"indeterminate"!==this.type)||t.has("messages"))&&this.updateFormatter()}valueChangeHandler(){this.complete=this.type.startsWith("determinate")&&100===this.value}formatValue(){return"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100)}getSize(t){return{s:32,m:64,l:96}[t]}getInlineSize(t){return{s:12,m:16,l:24}[t]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.messages._lang&&(this.formatter=new Intl.NumberFormat(this.messages._lang,{style:"percent"}))}render(){const{el:t,inline:e,label:a,text:n,type:l,value:c}=this,s=t.id||(0,i.g)(),d="indeterminate"!==l,u=Math.floor(c);return this.el.ariaLabel=a,this.el.ariaValueMax=d?"100":void 0,this.el.ariaValueMin=d?"0":void 0,this.el.ariaValueNow=d?u.toString():void 0,(0,r.Bq)(this.el,"id",s),this.el.role="progressbar",o.qy`<div class=${(0,r.CP)("rings")}>${this.renderRing("track")}${this.renderRing("progress")}${!e&&d&&o.qy`<div class=${(0,r.CP)("percentage")}>${this.formatValue()}</div>`||""}</div>${!e&&n&&o.qy`<div class=${(0,r.CP)("text")}>${n}</div>`||""}`}renderRing(t){const{inline:e,scale:a,value:n}=this,i=e?this.getInlineSize(a):this.getSize(a),l=.45*i;let c;if("progress"===t){const t=2*l*Math.PI,e=(this.type.startsWith("determinate")?n:24)/100*t;c={"stroke-dasharray":`${e} ${t-e}`}}return o.qy`<svg aria-hidden=true class=${(0,r.CP)({[d]:!0,[u]:"track"===t,[s]:"progress"===t})} style=${(0,r.zl)(c)} viewBox=${`0 0 ${i} ${i}`}>${o.JW`<circle cx=${i/2} cy=${i/2} r=${l??o.s6} />`}</svg>`}}(0,n.c)("calcite-loader",p)},37836:(t,e,a)=>{a.r(e),a.d(e,{Button:()=>E}),a(30357),a(32239);var n=a(34088),o=a(46337),r=a(48015),i=a(52567),l=a(18964),c=a(62590),s=a(21796),d=a(60992),u=a(93174),h=a(83623),p=a(4643),b=a(75572),v=a(79e3),g=a(33826);const f="content--slotted",k="icon",m="icon--start",x="icon--end",z="icon-start-empty",y="icon-end-empty",w="button-padding",$="button-padding--shrunk",C=g.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;inline-size:auto;vertical-align:middle;border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0))}:host a,:host button{--calcite-internal-button-content-margin: .5rem;--calcite-internal-button-padding-x: 7px;--calcite-internal-button-padding-y: 3px;position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;align-items:center;justify-content:center;border-style:none;text-align:center;font-family:inherit;font-weight:var(--calcite-font-weight-normal);text-decoration-line:none;outline-color:transparent;background-color:var(--calcite-button-background-color, var(--calcite-internal-button-background-color, var(--calcite-color-transparent)));border-block-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-block-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-block-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-start-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-start-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-inline-end-color:var(--calcite-button-border-color, var(--calcite-internal-button-border-inline-end-color, var(--calcite-internal-button-border-color, var(--calcite-color-transparent))));border-style:solid;border-width:var(--calcite-border-width-sm);box-shadow:inset 0 0 0 0 var(--calcite-button-shadow-color, var(--calcite-internal-button-shadow-color, var(--calcite-color-transparent)));border-radius:var(--calcite-button-corner-radius, var(--calcite-internal-button-corner-radius, 0));color:var(--calcite-button-text-color, var(--calcite-internal-button-text-color, currentColor));padding-block:var(--calcite-internal-button-padding-y);padding-inline:var(--calcite-internal-button-padding-x);transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out}:host a:hover,:host button:hover{text-decoration-line:none}:host a:focus,:host button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host a span,:host button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host a calcite-loader,:host button calcite-loader{color:var(--calcite-button-loader-color, var(--calcite-internal-button-loader-color, var(--calcite-button-text-color, var(--calcite-internal-button-text-color))))}:host([round]){--calcite-internal-button-corner-radius: 50px}.content{margin-inline:var(--calcite-internal-button-content-margin)}.icon-start-empty .content{margin-inline-start:unset}.icon-end-empty .content{margin-inline-end:unset}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-content-margin: .75rem}:host([scale=l]) button,:host([scale=l]) a{--calcite-internal-button-content-margin: 1rem}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([alignment=center]:not([width=auto])) a,:host([alignment=center]:not([width=auto])) button{justify-content:center}:host([alignment=start]:not([width=auto])) a,:host([alignment=start]:not([width=auto])) button{justify-content:flex-start}:host([alignment=end]:not([width=auto])) a,:host([alignment=end]:not([width=auto])) button{justify-content:flex-end}:host([alignment*=space-between]:not([width=auto])) a,:host([alignment*=space-between]:not([width=auto])) button{justify-content:space-between}:host([alignment=icon-start-space-between]:not([width=auto])) .icon--start{margin-inline-end:auto}:host([alignment=icon-start-space-between]:not([width=auto])) a,:host([alignment=icon-start-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=icon-end-space-between]:not([width=auto])) .icon--end{margin-inline-start:auto}:host([alignment=icon-end-space-between]:not([width=auto])) a,:host([alignment=icon-end-space-between]:not([width=auto])) button{text-align:unset}:host([alignment=center]) a:not(.content--slotted) .icon--start+.icon--end,:host([alignment=center]) button:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:var(--calcite-internal-button-content-margin)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}@keyframes loader-in{0%{inline-size:0;opacity:0;transform:scale(.5)}to{inline-size:1em;opacity:1;transform:scale(1)}}@keyframes loader-out{0%{inline-size:1em;opacity:1;transform:scale(1)}to{inline-size:0;opacity:0;transform:scale(.5)}}.calcite-button--loader{display:flex}.calcite-button--loader calcite-loader{margin:0}:host([loading]) button.content--slotted .calcite-button--loader calcite-loader,:host([loading]) a.content--slotted .calcite-button--loader calcite-loader{margin-inline-end:var(--calcite-internal-button-content-margin)}:host([loading]) button:not(.content--slotted) .icon--start,:host([loading]) button:not(.content--slotted) .icon--end,:host([loading]) a:not(.content--slotted) .icon--start,:host([loading]) a:not(.content--slotted) .icon--end{display:none}:host([appearance]) button,:host([appearance]) a{--calcite-internal-button-border-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([kind=brand]) button,:host([kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=brand]) button:hover,:host([kind=brand]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-brand-hover)}:host([kind=brand]) button:active,:host([kind=brand]) a:active{--calcite-internal-button-background-color: var(--calcite-color-brand-press)}:host([kind=danger]) button,:host([kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=danger]) button:hover,:host([kind=danger]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-status-danger-hover)}:host([kind=danger]) button:active,:host([kind=danger]) a:active{--calcite-internal-button-background-color: var(--calcite-color-status-danger-press)}:host([kind=neutral]) button,:host([kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-background-color: var(--calcite-color-foreground-3);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([kind=neutral]) button:hover,:host([kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([kind=neutral]) button:active,:host([kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-1)}:host([kind=inverse]) button,:host([kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-inverse);--calcite-internal-button-background-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-inverse)}:host([kind=inverse]) button:hover,:host([kind=inverse]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-inverse-hover)}:host([kind=inverse]) button:active,:host([kind=inverse]) a:active{--calcite-internal-button-background-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill]) button,:host([appearance=outline-fill]) a{--calcite-internal-button-background-color: var(--calcite-color-foreground-1);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline-fill]) button:hover,:host([appearance=outline-fill]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-foreground-2)}:host([appearance=outline-fill]) button:active,:host([appearance=outline-fill]) a:active{--calcite-internal-button-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=brand]) button,:host([appearance=outline-fill][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:hover,:host([appearance=outline-fill][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline-fill][kind=brand]) button:focus,:host([appearance=outline-fill][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=brand]) button:active,:host([appearance=outline-fill][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill][kind=brand]) button calcite-loader,:host([appearance=outline-fill][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline-fill][kind=danger]) button,:host([appearance=outline-fill][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:hover,:host([appearance=outline-fill][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline-fill][kind=danger]) button:focus,:host([appearance=outline-fill][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=danger]) button:active,:host([appearance=outline-fill][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline-fill][kind=danger]) button calcite-loader,:host([appearance=outline-fill][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline-fill][kind=neutral]) button,:host([appearance=outline-fill][kind=neutral]) a{--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=neutral]) button:hover,:host([appearance=outline-fill][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline-fill][kind=neutral]) button:focus,:host([appearance=outline-fill][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline-fill][kind=neutral]) button:active,:host([appearance=outline-fill][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=solid][kind=neutral]) button:hover,:host([appearance=solid][kind=neutral]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-border-3)}:host([appearance=solid][kind=neutral]) button:active,:host([appearance=solid][kind=neutral]) a:active{--calcite-internal-button-background-color: var(--calcite-color-border-2)}:host([appearance=outline-fill][kind=inverse]) button,:host([appearance=outline-fill][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline-fill][kind=inverse]) button:hover,:host([appearance=outline-fill][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline-fill][kind=inverse]) button:focus,:host([appearance=outline-fill][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline-fill][kind=inverse]) button:active,:host([appearance=outline-fill][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline]) button,:host([appearance=outline]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent);border-style:solid;border-width:var(--calcite-button-border-size, 1px)}:host([appearance=outline]) button:hover,:host([appearance=outline]) a:hover{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=outline]) button:active,:host([appearance=outline]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=outline][kind=brand]) button,:host([appearance=outline][kind=brand]) a{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:hover,:host([appearance=outline][kind=brand]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-brand-hover);--calcite-internal-button-text-color: var(--calcite-color-brand-hover);--calcite-internal-button-shadow-color: var(--calcite-color-brand-hover)}:host([appearance=outline][kind=brand]) button:focus,:host([appearance=outline][kind=brand]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-brand);--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-shadow-color: var(--calcite-color-brand)}:host([appearance=outline][kind=brand]) button:active,:host([appearance=outline][kind=brand]) a:active{--calcite-internal-button-border-color: var(--calcite-color-brand-press);--calcite-internal-button-text-color: var(--calcite-color-brand-press);--calcite-internal-button-shadow-color: var(--calcite-color-brand-press)}:host([appearance=outline][kind=brand]) button calcite-loader,:host([appearance=outline][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=outline][kind=danger]) button,:host([appearance=outline][kind=danger]) a{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:hover,:host([appearance=outline][kind=danger]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-hover)}:host([appearance=outline][kind=danger]) button:focus,:host([appearance=outline][kind=danger]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-status-danger);--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=danger]) button:active,:host([appearance=outline][kind=danger]) a:active{--calcite-internal-button-border-color: var(--calcite-color-status-danger-press);--calcite-internal-button-text-color: var(--calcite-color-status-danger-press);--calcite-internal-button-shadow-color: var(--calcite-color-status-danger-press)}:host([appearance=outline][kind=danger]) button calcite-loader,:host([appearance=outline][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=outline][kind=neutral]) button,:host([appearance=outline][kind=neutral]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-border-1);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=neutral]) button:hover,:host([appearance=outline][kind=neutral]) a:hover{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-border-input)}:host([appearance=outline][kind=neutral]) button:focus,:host([appearance=outline][kind=neutral]) a:focus{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3)}:host([appearance=outline][kind=neutral]) button:active,:host([appearance=outline][kind=neutral]) a:active{--calcite-internal-button-shadow-color: var(--calcite-color-foreground-3);--calcite-internal-button-border-color: var(--calcite-color-text-3)}:host([appearance=outline][kind=inverse]) button,:host([appearance=outline][kind=inverse]) a{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-loader-color: var(--calcite-color-text-1)}:host([appearance=outline][kind=inverse]) button:hover,:host([appearance=outline][kind=inverse]) a:hover{--calcite-internal-button-border-color: var(--calcite-color-inverse-hover);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-hover)}:host([appearance=outline][kind=inverse]) button:focus,:host([appearance=outline][kind=inverse]) a:focus{--calcite-internal-button-border-color: var(--calcite-color-inverse);--calcite-internal-button-shadow-color: var(--calcite-color-inverse)}:host([appearance=outline][kind=inverse]) button:active,:host([appearance=outline][kind=inverse]) a:active{--calcite-internal-button-border-color: var(--calcite-color-inverse-press);--calcite-internal-button-shadow-color: var(--calcite-color-inverse-press)}:host([appearance=outline-fill][split-child=primary]) button,:host([appearance=outline][split-child=primary]) button,:host([appearance=outline-fill][split-child=primary]) a,:host([appearance=outline][split-child=primary]) a{border-inline-end-width:0;border-inline-start-width:1px}:host([appearance=outline-fill][split-child=secondary]) button,:host([appearance=outline][split-child=secondary]) button,:host([appearance=outline-fill][split-child=secondary]) a,:host([appearance=outline][split-child=secondary]) a{border-inline-start-width:0;border-inline-end-width:1px}:host([appearance=transparent]) button,:host([appearance=transparent]) a{--calcite-internal-button-background-color: var(--calcite-color-transparent)}:host([appearance=transparent]) button:hover,:host([appearance=transparent]) button:focus,:host([appearance=transparent]) a:hover,:host([appearance=transparent]) a:focus{--calcite-internal-button-background-color: var(--calcite-color-transparent-hover)}:host([appearance=transparent]) button:active,:host([appearance=transparent]) a:active{--calcite-internal-button-background-color: var(--calcite-color-transparent-press)}:host([appearance=transparent]:not(.enable-editing-button)) button,:host([appearance=transparent]:not(.enable-editing-button)) a{background-color:var(--calcite-color-transparent)}:host([appearance=transparent]:not(.enable-editing-button)) button:hover,:host([appearance=transparent]:not(.enable-editing-button)) a:hover{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]:not(.enable-editing-button)) button:active,:host([appearance=transparent]:not(.enable-editing-button)) a:active{background-color:var(--calcite-color-transparent-press)}:host([appearance=transparent][kind=brand]) button,:host([appearance=transparent][kind=brand]) a{--calcite-internal-button-text-color: var(--calcite-color-brand);--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:hover,:host([appearance=transparent][kind=brand]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-brand-hover)}:host([appearance=transparent][kind=brand]) button:focus,:host([appearance=transparent][kind=brand]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=brand]) button:active,:host([appearance=transparent][kind=brand]) a:active{--calcite-internal-button-text-color: var(--calcite-color-brand-press)}:host([appearance=transparent][kind=brand]) button calcite-loader,:host([appearance=transparent][kind=brand]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-brand)}:host([appearance=transparent][kind=danger]) button,:host([appearance=transparent][kind=danger]) a{--calcite-internal-button-text-color: var(--calcite-color-status-danger);--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:hover,:host([appearance=transparent][kind=danger]) a:hover{--calcite-internal-button-text-color: var(--calcite-color-status-danger-hover)}:host([appearance=transparent][kind=danger]) button:focus,:host([appearance=transparent][kind=danger]) a:focus{--calcite-internal-button-text-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=danger]) button:active,:host([appearance=transparent][kind=danger]) a:active{--calcite-internal-button-text-color: var(--calcite-color-status-danger-press)}:host([appearance=transparent][kind=danger]) button calcite-loader,:host([appearance=transparent][kind=danger]) a calcite-loader{--calcite-internal-button-loader-color: var(--calcite-color-status-danger)}:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) button,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) a,:host([appearance=transparent][kind=neutral]:not(.cancel-editing-button)) calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-1)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button{--calcite-internal-button-text-color: var(--calcite-color-text-3)}:host([appearance=transparent][kind=neutral].cancel-editing-button) button:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1);--calcite-internal-button-padding-y: 0}:host(.confirm-changes-button) button:focus,:host(.cancel-editing-button) button:focus,:host(.enable-editing-button) button:focus{outline-offset:-2px}:host([appearance=transparent][kind=inverse]) button:hover,:host([appearance=transparent][kind=inverse]) a:hover{background-color:var(--calcite-color-transparent-inverse-hover)}:host([appearance=transparent][kind=inverse]) button:active,:host([appearance=transparent][kind=inverse]) a:active{background-color:var(--calcite-color-transparent-inverse-press)}:host([appearance=transparent][kind=inverse]) button calcite-loader,:host([appearance=transparent][kind=inverse]) a calcite-loader{--calcite-internal-button-text-color: var(--calcite-color-text-inverse)}:host([scale=s]) button.content--slotted,:host([scale=s]) a.content--slotted{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s][appearance=transparent]) button.content--slotted,:host([scale=s][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .5rem}:host([scale=s]) button,:host([scale=s]) a{--calcite-internal-button-padding-y: 3px}:host([scale=m]) button.content--slotted,:host([scale=m]) a.content--slotted{--calcite-internal-button-padding-x: 11px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) button,:host([scale=m]) a{--calcite-internal-button-padding-y: 7px}:host([scale=m][appearance=transparent]) button.content--slotted,:host([scale=m][appearance=transparent]) a.content--slotted{--calcite-internal-button-padding-x: .75rem}:host([scale=l]) button.content--slotted,:host([scale=l]) a.content--slotted{--calcite-internal-button-padding-x: 15px;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .button-padding{--calcite-internal-button-padding-x: 1rem;--calcite-internal-button-padding-y: 11px}:host([scale=l]) .button-padding--shrunk{--calcite-internal-button-padding-y: 9px}:host([scale=s]) button:not(.content--slotted),:host([scale=s]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 3px;inline-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:1.5rem}:host([scale=m]) button:not(.content--slotted),:host([scale=m]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 7px;inline-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2rem}:host([scale=l]) button:not(.content--slotted),:host([scale=l]) a:not(.content--slotted){--calcite-internal-button-padding-x: .125rem;--calcite-internal-button-padding-y: 9px;inline-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;min-block-size:2.75rem}:host(:is([scale=s],[scale=m],[scale=l])[width=full]) a:not(.content--slotted),:host(:is([scale=s],[scale=m],[scale=l])[width=full]) button:not(.content--slotted){inline-size:var(--calcite-container-size-content-fluid)}:host([scale=l][appearance=transparent]) button:not(.content--slotted),:host([scale=l][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-y: .625rem}:host([scale=s][icon-start][icon-end]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 23px;block-size:1.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=s][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=s][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 1.5rem}:host([scale=m][icon-start][icon-end]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2rem;block-size:2rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=m][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 33px}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end]) a:not(.content--slotted){--calcite-internal-button-padding-x: 43px;block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l][icon-start][icon-end]) button:not(.content--slotted) .icon--start+.icon--end,:host([scale=l][icon-start][icon-end]) a:not(.content--slotted) .icon--start+.icon--end{margin-inline-start:1rem}:host([scale=l][icon-start][icon-end][appearance=transparent]) button:not(.content--slotted),:host([scale=l][icon-start][icon-end][appearance=transparent]) a:not(.content--slotted){--calcite-internal-button-padding-x: 2.75rem}:host([hidden]){display:none}[hidden]{display:none}`;class E extends l.WF{constructor(){super(...arguments),this.attributeWatch=(0,c.oW)(["aria-expanded"],this.handleGlobalAttributesChanged),this.contentEl=(0,r._)(),this.mutationObserver=(0,p.c)("mutation",(()=>this.updateHasContent())),this.resizeObserver=(0,p.c)("resize",(()=>this.setTooltipText())),this.hasContent=!1,this.alignment="center",this.appearance="solid",this.disabled=!1,this.download=!1,this.kind="brand",this.loading=!1,this.messages=(0,b.u)(),this.round=!1,this.scale="m",this.splitChild=!1,this.type="button",this.width="auto"}static{this.properties={hasContent:[16,{state:!0}],tooltipText:[16,{state:!0}],alignment:[3,{reflect:!0}],appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],download:[3,{reflect:!0,converter:l.pf}],form:[3,{reflect:!0}],href:[3,{reflect:!0}],iconEnd:[3,{reflect:!0}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],kind:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],rel:[3,{reflect:!0}],round:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],splitChild:[3,{reflect:!0}],target:[3,{reflect:!0}],type:[3,{reflect:!0}],width:[3,{reflect:!0}]}}static{this.styles=C}async setFocus(){await(0,h.c)(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),(0,u.c)(this),this.formEl=(0,s.f)(this)}async load(){o.S$||this.updateHasContent()}updated(){(0,d.u)(this)}loaded(){this.setTooltipText()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),(0,u.d)(this),this.resizeObserver?.disconnect(),this.formEl=null}handleGlobalAttributesChanged(){this.requestUpdate()}updateHasContent(){this.hasContent=(0,v.D)(this.el)}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}onLabelClick(){this.handleClick(),this.setFocus()}handleClick(){const{type:t}=this;this.href||("submit"===t?(0,s.s)(this):"reset"===t&&(0,s.r)(this))}setTooltipText(){const{contentEl:{value:t}}=this;t&&(this.tooltipText=t.offsetWidth<t.scrollWidth&&this.el.innerText||null)}setChildEl(t){this.childEl=t,t&&this.resizeObserver?.observe(t)}render(){const t=this.href?"a":"button",e=this.href?i.eu`a`:i.eu`button`,a=this.loading?o.qy`<div class=${(0,l.CP)("calcite-button--loader")}><calcite-loader class=${(0,l.CP)(this.loading?"loading-in":"loading-out")} inline .label=${this.messages.loading} .scale=${"l"===this.scale?"m":"s"}></calcite-loader></div>`:null,n=!this.iconStart&&!this.iconEnd,c=o.qy`<calcite-icon class=${(0,l.CP)({[k]:!0,[m]:!0})} .flipRtl=${"start"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconStart} .scale=${(0,h.g)(this.scale)}></calcite-icon>`,s=o.qy`<calcite-icon class=${(0,l.CP)({[k]:!0,[x]:!0})} .flipRtl=${"end"===this.iconFlipRtl||"both"===this.iconFlipRtl} .icon=${this.iconEnd} .scale=${(0,h.g)(this.scale)}></calcite-icon>`,p=o.qy`<span class=${(0,l.CP)("content")} ${(0,r.K)(this.contentEl)}><slot></slot></span>`;return(0,d.I)({disabled:this.disabled,children:i.qy`<${e} .ariaBusy=${this.loading} .ariaExpanded=${this.el.ariaExpanded?this.el.ariaExpanded:null} .ariaLabel=${this.loading?this.messages.loading:(0,u.g)(this)} aria-live=polite class=${(0,l.CP)({[w]:n,[$]:!n,[f]:this.hasContent,[z]:!this.iconStart,[y]:!this.iconEnd})} .disabled=${"button"===t?this.disabled:null} download=${("a"===t?!0===this.download||""===this.download?"":this.download||null:null)??o.s6} href=${("a"===t&&this.href)??o.s6} name=${("button"===t&&this.name)??o.s6} @click=${this.handleClick} rel=${("a"===t&&this.rel)??o.s6} tabindex=${(this.disabled?-1:null)??o.s6} target=${("a"===t&&this.target)??o.s6} title=${this.tooltipText??o.s6} type=${("button"===t?this.type:null)??o.s6} ${(0,r.K)(this.setChildEl)}>${a}${this.iconStart?c:null}${this.hasContent?p:null}${this.iconEnd?s:null}</${e}>`})}}(0,n.c)("calcite-button",E)}}]);
@@ -1,3 +1,3 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.15 */
3
+ v3.2.0-next.25 */
@@ -1,2 +1,2 @@
1
- /*! For license information please see 93f792f5b94f3745b57d.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>r});var l=n(34088),a=n(46337),i=n(26031),s=n(93174),c=n(33826);const o=c.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{reflect:!0}],for:[3,{reflect:!0}],layout:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>s,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",c="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${c}[for="${t}"]`});if(n)return n;const a=(0,l.k)(e,c);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a);return n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=u(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const l=o.get(t)||[];l.push(e),o.set(t,l.sort(p)),r.has(e.labelEl)||(r.set(e.labelEl,v),e.labelEl.addEventListener(a,v)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(s,n)}else h.has(e)||(n(),document.removeEventListener(s,b.get(e)))}function f(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(s,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=o.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter((t=>t!==e)).sort(p)),e.labelEl=null}function p(e,t){return(0,l.l)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function v(e){const t=e.detail.sourceEvent.target,n=o.get(this),l=n.find((e=>e.el===t));if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function E(){h.has(this)&&m(this)}function y(){h.add(this);const e=d.get(this)||E.bind(this);d.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),o.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of h)if(e.el===t){m(e);break}}))}}}]);
1
+ /*! For license information please see 577f24923fa4d08360e4.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[224],{87843:(e,t,n)=>{n.r(t),n.d(t,{Label:()=>r});var l=n(34088),a=n(46337),i=n(18964),s=n(93174),c=n(33826);const o=c.AH`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;class r extends i.WF{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=(0,i.lh)({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{reflect:!0}],for:[3,{reflect:!0}],layout:[3,{reflect:!0}],scale:[3,{reflect:!0}]}}static{this.styles=o}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s.l))}willUpdate(e){e.has("for")&&(0,s.a)(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(s.b))}labelClickHandler(e){"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return a.qy`<div class=${(0,i.CP)("container")}><slot></slot></div>`}}(0,l.c)("calcite-label",r)},93174:(e,t,n)=>{n.d(t,{a:()=>k,b:()=>s,c:()=>m,d:()=>f,g:()=>g,l:()=>i});var l=n(79e3);const a="calciteInternalLabelClick",i="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",c="calcite-label",o=new WeakMap,r=new WeakMap,d=new WeakMap,b=new WeakMap,h=new Set,u=e=>{const{id:t}=e,n=t&&(0,l.q)(e,{selector:`${c}[for="${t}"]`});if(n)return n;const a=(0,l.k)(e,c);return!a||function(e,t){let n;const l="custom-element-ancestor-check",a=l=>{l.stopImmediatePropagation();const a=l.composedPath();n=a.slice(a.indexOf(t),a.indexOf(e))};e.addEventListener(l,a,{once:!0}),t.dispatchEvent(new CustomEvent(l,{composed:!0,bubbles:!0})),e.removeEventListener(l,a);return n.filter((n=>n!==t&&n!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=u(e.el);if(r.has(t)&&t===e.labelEl||!t&&h.has(e))return;const n=y.bind(e);if(t){e.labelEl=t;const l=o.get(t)||[];l.push(e),o.set(t,l.sort(p)),r.has(e.labelEl)||(r.set(e.labelEl,v),e.labelEl.addEventListener(a,v)),h.delete(e),document.removeEventListener(i,d.get(e)),b.set(e,n),document.addEventListener(s,n)}else h.has(e)||(n(),document.removeEventListener(s,b.get(e)))}function f(e){if(!e)return;if(h.delete(e),document.removeEventListener(i,d.get(e)),document.removeEventListener(s,b.get(e)),d.delete(e),b.delete(e),!e.labelEl)return;const t=o.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,r.get(e.labelEl)),r.delete(e.labelEl)),o.set(e.labelEl,t.filter((t=>t!==e)).sort(p)),e.labelEl=null}function p(e,t){return(0,l.l)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function v(e){const t=e.detail.sourceEvent.target,n=o.get(this),l=n.find((e=>e.el===t));if(n.includes(l))return;const a=n[0];a.disabled||a.onLabelClick(e)}function E(){h.has(this)&&m(this)}function y(){h.add(this);const e=d.get(this)||E.bind(this);d.set(this,e),document.addEventListener(i,e)}async function k(e){if(await e.componentOnReady(),o.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of h)if(e.el===t){m(e);break}}))}}}]);
@@ -1,3 +1,3 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.0-next.15 */
3
+ v3.2.0-next.25 */