@arcgis/map-components 4.34.0-next.5 → 4.34.0-next.7

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 (242) hide show
  1. package/dist/cdn/{2MCSN6B6.js → 3CVTJ6IR.js} +2 -2
  2. package/dist/cdn/{UKX6JNY3.js → 3K4LQ5ZH.js} +2 -2
  3. package/dist/cdn/{VF2Y76QB.js → 3NYGB5KC.js} +2 -2
  4. package/dist/cdn/{JPHNAFYX.js → 3V7IRFXL.js} +2 -2
  5. package/dist/cdn/{CY2ZUEMG.js → 42FXNNW7.js} +2 -2
  6. package/dist/cdn/{P2BRHVAB.js → 43IJVAZP.js} +2 -2
  7. package/dist/cdn/{24BGG5B5.js → 4QHWO73K.js} +2 -2
  8. package/dist/cdn/{4GXYTGZZ.js → 4SFJ5GIR.js} +1 -1
  9. package/dist/cdn/{CEY2DMIN.js → 4V2M77YV.js} +2 -2
  10. package/dist/cdn/{5ZZR2J6N.js → 576TH74N.js} +2 -2
  11. package/dist/cdn/{EDF5YBMS.js → 5FZJ2H3A.js} +2 -2
  12. package/dist/cdn/{7Q2LH4TM.js → 5H7D7TSV.js} +2 -2
  13. package/dist/cdn/{ZPQ7DJV3.js → 5KK3XQQZ.js} +2 -2
  14. package/dist/cdn/{INXLPBES.js → 5LHNWCSF.js} +2 -2
  15. package/dist/cdn/{MWH2P5CL.js → 5N4BVYD2.js} +2 -2
  16. package/dist/cdn/{FIIIUSQA.js → 5ZJSJBH7.js} +2 -2
  17. package/dist/cdn/{Z5OKVV3T.js → 62NV7NFZ.js} +2 -2
  18. package/dist/cdn/{TISZTZQL.js → 6DLNCYNJ.js} +2 -2
  19. package/dist/cdn/{EFPP35S3.js → 6EUTPSR3.js} +2 -2
  20. package/dist/cdn/{2UUPIIJ2.js → 6JC3X4DH.js} +2 -2
  21. package/dist/cdn/{LX2VKBL5.js → 6VMYCMSX.js} +2 -2
  22. package/dist/cdn/{RZWKYMUH.js → 73246WZV.js} +2 -2
  23. package/dist/cdn/{MT6FGRRO.js → 7DA7Y4DS.js} +2 -2
  24. package/dist/cdn/{EPS7HMFS.js → 7MLMQPS2.js} +1 -1
  25. package/dist/cdn/{FKYCCKL6.js → 7S7U4ABF.js} +2 -2
  26. package/dist/cdn/{MZJOI5UH.js → AGNZOUXO.js} +2 -2
  27. package/dist/cdn/{PQ3OUY5L.js → APM7HWPV.js} +2 -2
  28. package/dist/cdn/{MHXI4R7Q.js → AXC7MHUY.js} +1 -1
  29. package/dist/cdn/{CQG33CHS.js → B7KN6YTQ.js} +2 -2
  30. package/dist/cdn/{EE2WJOUL.js → B7YWZFHG.js} +2 -2
  31. package/dist/cdn/{WE4HRX3B.js → BGL6T3KT.js} +2 -2
  32. package/dist/cdn/{4MRPFB2F.js → BIDDZ56Y.js} +2 -2
  33. package/dist/cdn/{V32WTVMP.js → BKCPYV3Y.js} +1 -1
  34. package/dist/cdn/{YZO4MONH.js → BNXSE33Y.js} +2 -2
  35. package/dist/cdn/{YGTIT746.js → BTMPB2XP.js} +2 -2
  36. package/dist/cdn/{5AZ345NY.js → BWZL65MZ.js} +2 -2
  37. package/dist/cdn/{KHHWOKDH.js → C3JX4XWF.js} +2 -2
  38. package/dist/cdn/{3TK75HC6.js → C4TSJEJH.js} +2 -2
  39. package/dist/cdn/{TEBWJ3I7.js → C5Y2CFYN.js} +2 -2
  40. package/dist/cdn/{RC2PKLFD.js → CPW7VJRT.js} +2 -2
  41. package/dist/cdn/{HGHOHO2E.js → CTEALHBJ.js} +2 -2
  42. package/dist/cdn/{DCAIQVAC.js → CXJCTNJJ.js} +2 -2
  43. package/dist/cdn/{V5FW6B4I.js → CXVJEZRT.js} +2 -2
  44. package/dist/cdn/{JE6AJOV2.js → DDSDEOST.js} +2 -2
  45. package/dist/cdn/{544SB4EK.js → DMKGED3D.js} +2 -2
  46. package/dist/cdn/{OSKGVTTW.js → DZRQ3FJN.js} +2 -2
  47. package/dist/cdn/{ZFZIGRGE.js → EAVGPD6R.js} +1 -1
  48. package/dist/cdn/{FCPVKFF7.js → ECQIBBNZ.js} +2 -2
  49. package/dist/cdn/{QIELYIFC.js → EF5ADWHS.js} +2 -2
  50. package/dist/cdn/{X7HXAK7T.js → EGXWFLZ6.js} +2 -2
  51. package/dist/cdn/{H7WRFI2D.js → ESO25JEU.js} +2 -2
  52. package/dist/cdn/{BNUZVD5L.js → FAJWL466.js} +2 -2
  53. package/dist/cdn/{RRJG3CW4.js → FEHLXR64.js} +2 -2
  54. package/dist/cdn/{DB2RVFYE.js → FOZYNPTO.js} +2 -2
  55. package/dist/cdn/{HI5YGVEU.js → FUIIOE5K.js} +2 -2
  56. package/dist/cdn/{2O4Y7OHR.js → G6V7COIW.js} +2 -2
  57. package/dist/cdn/{XIHWMEJG.js → GXHWA464.js} +2 -2
  58. package/dist/cdn/{UPUPF3OI.js → HLUINBW7.js} +2 -2
  59. package/dist/cdn/{2ABLOYUQ.js → I3YONNOJ.js} +2 -2
  60. package/dist/cdn/{EZXIFOKP.js → IFU5E2LC.js} +2 -2
  61. package/dist/cdn/{MTJFO22N.js → IKGGVPEL.js} +2 -2
  62. package/dist/cdn/{UKUTVSTC.js → IN5MEX7L.js} +2 -2
  63. package/dist/cdn/{JWHVUXI7.js → ITWSP5JU.js} +2 -2
  64. package/dist/cdn/{ETTC3DDE.js → JCV3FTL7.js} +2 -2
  65. package/dist/cdn/{K667RV3F.js → JP5OTXJX.js} +2 -2
  66. package/dist/cdn/{LB4FJL6Z.js → JSWLDDUC.js} +2 -2
  67. package/dist/cdn/{4WF35OVZ.js → JZ6AB7NM.js} +2 -2
  68. package/dist/cdn/{HHKEZDYI.js → JZO3ICTU.js} +2 -2
  69. package/dist/cdn/{IDRJHSB4.js → KGJHCOZ4.js} +2 -2
  70. package/dist/cdn/{4O62D3XH.js → KHCCACST.js} +2 -2
  71. package/dist/cdn/{JEGU6LY5.js → KPKM24HM.js} +2 -2
  72. package/dist/cdn/{HRVDXQJH.js → KXFOXBSW.js} +1 -1
  73. package/dist/cdn/{2TWTTB4C.js → L7LDYNLW.js} +2 -2
  74. package/dist/cdn/{6SCGGHDS.js → LHUB6IIZ.js} +2 -2
  75. package/dist/cdn/{W425S3CR.js → LJC6WRCS.js} +2 -2
  76. package/dist/cdn/{5DVI4EBY.js → LJSRLQJH.js} +2 -2
  77. package/dist/cdn/{M42LA7QJ.js → LTOXWTO6.js} +2 -2
  78. package/dist/cdn/{54VGZGQT.js → LUASKWWP.js} +2 -2
  79. package/dist/cdn/{IPSPJR6H.js → MHERALSB.js} +2 -2
  80. package/dist/cdn/{UF2KELUQ.js → N2HYKSZN.js} +2 -2
  81. package/dist/cdn/{XBWRLYN4.js → N3UCR7B4.js} +2 -2
  82. package/dist/cdn/{O2E4MNME.js → N7QZNEIJ.js} +2 -2
  83. package/dist/cdn/{RLYPTZW6.js → NAGYELAG.js} +2 -2
  84. package/dist/cdn/{MHF4R4QG.js → NH4L7TUF.js} +2 -2
  85. package/dist/cdn/{FIQDTOHK.js → PITGRP5J.js} +2 -2
  86. package/dist/cdn/{JXEJ2FDT.js → Q4LEDOCN.js} +2 -2
  87. package/dist/cdn/{RNMVFT5P.js → QAP64MEA.js} +1 -1
  88. package/dist/cdn/{BMYPLHTO.js → QGSP733R.js} +2 -2
  89. package/dist/cdn/{J3TNLK3O.js → QX4PFK5W.js} +2 -2
  90. package/dist/cdn/{O7NRUX5I.js → R4OCIRWR.js} +2 -2
  91. package/dist/cdn/{6CDNOZQF.js → RR5F3SPW.js} +2 -2
  92. package/dist/cdn/{64ECRPXA.js → RTEPILHE.js} +2 -2
  93. package/dist/cdn/{HVHKTHJR.js → RYH4JLMG.js} +2 -2
  94. package/dist/cdn/{LNC2FBRF.js → SVIUUV22.js} +2 -2
  95. package/dist/cdn/{7LOOJUA4.js → T4FMPBKP.js} +2 -2
  96. package/dist/cdn/{MWRQZLPR.js → T7AW36YP.js} +2 -2
  97. package/dist/cdn/{3PIZQW3M.js → TC2TTTMU.js} +2 -2
  98. package/dist/cdn/{AIJ5QKVL.js → TD3FQAZG.js} +1 -1
  99. package/dist/cdn/{PVTCJ67N.js → TE3QJZJW.js} +2 -2
  100. package/dist/cdn/{FIRY4NWS.js → TQV4YCGY.js} +2 -2
  101. package/dist/cdn/{SRXUA5WQ.js → TUT5QPQJ.js} +2 -2
  102. package/dist/cdn/{OQ4Q4IIJ.js → TY2YZASD.js} +2 -2
  103. package/dist/cdn/{7X5UWWAM.js → UOH2BTYV.js} +2 -2
  104. package/dist/cdn/{UF5A7HCA.js → UQXB5REP.js} +2 -2
  105. package/dist/cdn/{OMQCMWFC.js → UV5D3ZXY.js} +2 -2
  106. package/dist/cdn/{A2GEUHD7.js → VENK34O7.js} +2 -2
  107. package/dist/cdn/{3JRMNN7J.js → VGV6LYWI.js} +2 -2
  108. package/dist/cdn/{G7FI7ZEJ.js → VRTJXWFO.js} +2 -2
  109. package/dist/cdn/{YJLPPO4D.js → VT73N5VK.js} +2 -2
  110. package/dist/cdn/{OLDX3JZA.js → VZX6PQA2.js} +2 -2
  111. package/dist/cdn/{KWXFVL5O.js → W2EA6D3X.js} +2 -2
  112. package/dist/cdn/{OVXJMGHR.js → WFTKJB4P.js} +2 -2
  113. package/dist/cdn/{YTVNHZ2T.js → WOY7XX7B.js} +2 -2
  114. package/dist/cdn/{I4UJICTJ.js → XGXYIF65.js} +2 -2
  115. package/dist/cdn/{LZ4SDJU4.js → XJ6BZ6DU.js} +2 -2
  116. package/dist/cdn/{BOBGF74Z.js → XV6MSZ6U.js} +2 -2
  117. package/dist/cdn/{FDO7BW3M.js → YTBQINZ7.js} +2 -2
  118. package/dist/cdn/{T5RGPAAI.js → ZEROK655.js} +2 -2
  119. package/dist/cdn/{GTFZYBLH.js → ZH4LI6ZS.js} +2 -2
  120. package/dist/cdn/index.js +2 -2
  121. package/dist/chunks/AnalysisViewModel.js +1 -1
  122. package/dist/chunks/async-utils.js +1 -1
  123. package/dist/chunks/basemap-gallery-resources.js +1 -1
  124. package/dist/chunks/component-utils.js +1 -1
  125. package/dist/chunks/createCloseEvent.js +1 -1
  126. package/dist/chunks/globalCss.js +1 -1
  127. package/dist/chunks/heading.js +1 -1
  128. package/dist/chunks/layer-list.js +1 -1
  129. package/dist/chunks/legacyIcon.js +1 -1
  130. package/dist/chunks/maybe.js +1 -1
  131. package/dist/chunks/measurementUtils.js +1 -1
  132. package/dist/chunks/runtime.js +1 -1
  133. package/dist/chunks/useHandles.js +1 -1
  134. package/dist/chunks/useT9n.js +1 -1
  135. package/dist/chunks/useView.js +1 -1
  136. package/dist/chunks/useViewModel.js +1 -1
  137. package/dist/chunks/useWidget.js +1 -1
  138. package/dist/chunks/utils.js +1 -1
  139. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  140. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  141. package/dist/components/arcgis-attachments/customElement.js +1 -1
  142. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  143. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  144. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  145. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  146. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  147. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  148. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  149. package/dist/components/arcgis-compass/customElement.js +1 -1
  150. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  151. package/dist/components/arcgis-daylight/customElement.js +1 -1
  152. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  153. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  154. package/dist/components/arcgis-directions/customElement.js +1 -1
  155. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  156. package/dist/components/arcgis-editor/customElement.js +1 -1
  157. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  158. package/dist/components/arcgis-expand/customElement.js +1 -1
  159. package/dist/components/arcgis-feature/customElement.js +1 -1
  160. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  161. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  162. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  163. package/dist/components/arcgis-features/customElement.js +1 -1
  164. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  165. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  166. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  167. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  168. package/dist/components/arcgis-home/customElement.d.ts +11 -9
  169. package/dist/components/arcgis-home/customElement.js +1 -1
  170. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  171. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  172. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  173. package/dist/components/arcgis-legend/customElement.js +1 -1
  174. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  175. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  176. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -1
  177. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  178. package/dist/components/arcgis-locate/customElement.js +1 -1
  179. package/dist/components/arcgis-map/customElement.js +1 -1
  180. package/dist/components/arcgis-measurement/customElement.js +1 -1
  181. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  182. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  183. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  184. package/dist/components/arcgis-placement/customElement.js +1 -1
  185. package/dist/components/arcgis-print/customElement.js +1 -1
  186. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  187. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  188. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  189. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  190. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  191. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  192. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  193. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  194. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  195. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  196. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  197. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  198. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  199. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  200. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  201. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  202. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  203. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  204. package/dist/components/arcgis-scene/customElement.js +1 -1
  205. package/dist/components/arcgis-search/customElement.js +1 -1
  206. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  207. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  208. package/dist/components/arcgis-sketch/customElement.js +1 -1
  209. package/dist/components/arcgis-slice/customElement.js +1 -1
  210. package/dist/components/arcgis-slider/customElement.js +1 -1
  211. package/dist/components/arcgis-swipe/customElement.js +1 -1
  212. package/dist/components/arcgis-table-list/customElement.js +1 -1
  213. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  214. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  215. package/dist/components/arcgis-track/customElement.js +1 -1
  216. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  217. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  218. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  219. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  220. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  221. package/dist/components/arcgis-version-management/customElement.js +1 -1
  222. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  223. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  224. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  225. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  226. package/dist/components/arcgis-video/customElement.js +1 -1
  227. package/dist/components/arcgis-video-player/customElement.d.ts +2 -0
  228. package/dist/components/arcgis-video-player/customElement.js +1 -1
  229. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  230. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  231. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  232. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  233. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  234. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  235. package/dist/components/arcgis-weather/customElement.js +1 -1
  236. package/dist/components/arcgis-zoom/customElement.js +1 -1
  237. package/dist/docs/api.json +7 -17
  238. package/dist/docs/docs.json +8 -17
  239. package/dist/docs/web-types.json +2 -2
  240. package/dist/index.js +1 -1
  241. package/dist/loader.js +1 -1
  242. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{O as s,P as n,T as a,i,j as e}from"./MHXI4R7Q.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
3
+ v4.34.0-next.7 */
4
+ import{O as s,P as n,T as a,i,j as e}from"./AXC7MHUY.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{D as o,O as r,T as l,j as a}from"./MHXI4R7Q.js";var s=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0,arcgisSubmit:0,arcgisComplete:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){let{link:t,promise:e}=this.viewModel.export(this.fileName||this.messages.untitled);this.arcgisSubmit.emit({link:t}),e.then(i=>this.arcgisComplete.emit({link:i})),this.selectExportsTab()}render(){let{messages:t}=this,{layout:e,layoutItem:i,format:n}=this.viewModel.templateOptions,m=this.viewModel.state!=="ready"||!(e||i);return a`<div><calcite-button .ariaLabel=${t.exportDescription} .disabled=${m||!(e||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${t.export}</calcite-button></div>`}};l("arcgis-print-export-button",s);export{s as PrintExportButton};
3
+ v4.34.0-next.7 */
4
+ import{D as o,O as r,T as l,j as a}from"./AXC7MHUY.js";var s=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0,arcgisSubmit:0,arcgisComplete:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){let{link:t,promise:e}=this.viewModel.export(this.fileName||this.messages.untitled);this.arcgisSubmit.emit({link:t}),e.then(i=>this.arcgisComplete.emit({link:i})),this.selectExportsTab()}render(){let{messages:t}=this,{layout:e,layoutItem:i,format:n}=this.viewModel.templateOptions,m=this.viewModel.state!=="ready"||!(e||i);return a`<div><calcite-button .ariaLabel=${t.exportDescription} .disabled=${m||!(e||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${t.export}</calcite-button></div>`}};l("arcgis-print-export-button",s);export{s as PrintExportButton};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
3
+ v4.34.0-next.7 */
4
4
  var Cs=(...o)=>{let t=[];for(let s=0;s<o.length;s++){let n=o[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let e=t.join(" ");return t.length=0,e},v=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},fe=(o,t)=>{let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},me=(o,t,e)=>{let s=ye(t).subscribe;return s(n=>{n.some(i=>fe(o,i.target))&&e()})},ut={},ye=o=>{let t=o.join(","),e=ut[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe:i=>(s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),ut[t]=void 0)})};return ut[t]=r,r},ge=(o,t)=>{let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null};var ve=(o,t,e)=>ge(o,`[${t}]`)?.getAttribute(t)??e;var be=o=>typeof o.setFocus=="function";var As=async o=>{o!=null&&(be(o)?await o.setFocus():o.focus())};var u=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},I=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}},M=o=>{let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t},_s=()=>[M(2),M(1),M(1),M(1),M(3)].join("-"),Ee="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),$e=new Set(Ee),J="en",Ce={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},Ae=async(o,t,e="")=>{let s=`${t}/${e}`,n=`${s}${o}.json`;return pt[n]??(pt[n]=Rt(o,s)),await pt[n]},pt={},Rt=async(o,t)=>{let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===J?{}:await Rt(J,t)},_e=o=>{let t=ve(o,"lang",globalThis.navigator?.language||J);return{lang:t,t9nLocale:Dt(t)}},Dt=o=>{let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=Ce[n]??n,$e.has(n)?n:e?Dt(s):J},ws=(o,t,e,s)=>{let n,r=()=>we(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),me(o,["lang"],r)},we=async(o,t,e=o.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:n}=_e(o),r=`${t}/${e}/t9n`,a=e===null?{}:await Ae(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}};var Q=o=>o.replace(xe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),xe=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ut=(o,t)=>{let e=t>Oe?Te:t/Se,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n},Oe=4e3,Te=2e3,Se=4;var xs=(o,t,e=!1)=>{if(!o||!t)return!1;let s=new URL(o),n=new URL(t);return!e&&s.protocol!==n.protocol||s.host==null||n.host==null?!1:s.host.toLowerCase()===n.host.toLowerCase()&&s.port===n.port};var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ft=Symbol(),kt=new WeakMap,j=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ft)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new j(typeof o=="string"?o:o+"",void 0,ft),Pe=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new j(e,o,ft)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Y.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},mt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var gt=globalThis,X=gt.trustedTypes,jt=X?X.createPolicy("lit-html",{createHTML:o=>o}):void 0,vt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+E,Ne=`<${bt}>`,x=document,z=()=>x.createComment(""),H=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,Ft=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",yt=`[
5
5
  \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,_=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,qt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Ss=$t(1),Ps=$t(2),Ns=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,w=x.createTreeWalker(x,129);function Kt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return jt!==void 0?jt.createHTML(t):t}var Gt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=V;for(let a=0;a<e;a++){let c=o[a],l,p,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,p=i.exec(c),p!==null);)m=i.lastIndex,i===V?p[1]==="!--"?i=Vt:p[1]!==void 0?i=zt:p[2]!==void 0?(Wt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=_):p[3]!==void 0&&(i=_):i===_?p[0]===">"?(i=n??V,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?_:p[3]==='"'?qt:Ht):i===qt||i===Ht?i=_:i===Vt||i===zt?i=V:(i=_,n=void 0);let y=i===_&&o[a+1].startsWith("/>")?" ":"";r+=i===V?c+Ne:h>=0?(s.push(l),c.slice(0,h)+vt+c.slice(h)+E+y):c+E+(h===-2?a:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},q=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,p]=Gt(t,e);if(this.el=o.createElement(l,s),w.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=w.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(vt)){let m=p[i++],y=n.getAttribute(h).split(E),A=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:A[2],strings:y,ctor:A[1]==="."?et:A[1]==="?"?st:A[1]==="@"?ot:T}),n.removeAttribute(h)}else h.startsWith(E)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Wt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=X?X.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],z()),w.nextNode(),c.push({type:2,index:++r});n.append(h[m],z())}}}else if(n.nodeType===8)if(n.data===bt)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)c.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=x.createElement("template");return s.innerHTML=t,s}};function O(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=H(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=O(o,n._$AS(o,t.values),n,s)),t}var tt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??x).importNode(e,!0);w.currentNode=n;let r=w.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new R(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new nt(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=w.nextNode(),i++)}return w.currentNode=x,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),H(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=q.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new tt(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new q(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},T=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=O(this,t,e,0),i=!H(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=O(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),i||=!H(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},et=class extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},st=class extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},ot=class extends T{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=O(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){O(this,t)}},Jt={M:vt,P:E,A:bt,C:1,L:Gt,R:tt,D:Ft,V:O,I:R,H:T,N:st,U:ot,B:et,F:nt},Le=gt.litHtmlPolyfillSupport;Le?.(q,R),(gt.litHtmlVersions??=[]).push("3.3.0");var Ct=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new R(t.insertBefore(z(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:Re,defineProperty:De,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:ke,getOwnPropertySymbols:Me,getPrototypeOf:Ie}=Object,it=globalThis,Qt=it.trustedTypes,je=Qt?Qt.emptyScript:"",Ve=it.reactiveElementPolyfillSupport,B=(o,t)=>o,rt={toAttribute(o,t){switch(t){case Boolean:o=o?je:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},F=(o,t)=>!Re(o,t),Yt={attribute:!0,type:String,converter:rt,reflect:!1,useDefault:!1,hasChanged:F};Symbol.metadata??=Symbol("metadata"),it.litPropertyMetadata??=new WeakMap;var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Yt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&De(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ue(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=Ie(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,s=[...ke(e),...Me(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(mt(n))}else t!==void 0&&e.push(mt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:rt).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:rt;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??F)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[B("elementProperties")]=new Map,$[B("finalized")]=new Map,Ve?.({ReactiveElement:$}),(it.reactiveElementVersions??=[]).push("2.1.0");var At=globalThis,b=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,At.litElementHydrateSupport?.({LitElement:b});var ze=At.litElementPolyfillSupport;ze?.({LitElement:b});(At.litElementVersions??=[]).push("4.2.0");var ct=Symbol.for("controller"),He=o=>typeof o=="object"&&o!==null&&(ct in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Qs=o=>typeof o?.then=="function",Ys=o=>o.M.length,W,D=o=>{W!==o&&(W=o,queueMicrotask(()=>W===o?W=void 0:0))},K=o=>W,S=[],qe=o=>{if(o===void 0){S=[];return}let t=S.indexOf(o);S=t===-1?[...S,o]:S.slice(0,t+1),queueMicrotask(()=>S=[])},Be=()=>S,U,Zs=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},Fe=()=>{let o=U;return U=void 0,o},We=async(o,t)=>{let e=wt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Ke=async o=>{let t=wt(o);return await t.ready,t},wt=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(He(o))return o;let s=Fe();if(s!==void 0)return s},at=!1,Xs=o=>{at=!0;try{return o()}finally{at=!1}};var Ge=(o,t,e)=>{let s=Object.keys(o),n=s.length;k===void 0&&queueMicrotask(lt),k??=new Map;let r=k.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},k.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},k,lt=()=>{k?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),k=void 0},Je=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((n,r)=>u(t,void 0,e===r?n:void 0)),e},Qe=(o=[K(),...Be()],t,e)=>{let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ge(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&i.manager.component===i){Je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ye=(o="",t={},e=K())=>{let s={emit:n=>{o===""&&lt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>o=n.key,s),s},Ze=Ye.bind(null,""),te;te=ct;var _t=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#n=[],this.#c=[],this.#l=[],this.#u=[],this.#h=[],this.#d=!1,this.P=new v,this.connectedCalled=!1,this.loadedCalled=!1,this[te]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#r=s,e.ready=e.P.promise,e.#i=Xt(e),e.component=s,e.#r.addController(e),e.#r.manager===void 0||(qe(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#n;#c;#l;#u;#h;#d;#r;catchUpLifecycle(){let{manager:t}=this.#r;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#i;get exports(){return this.#i}set exports(t){let e=this.#i;e!==t&&(this.#i=t,this.#a.forEach(u),this.connectedCalled&&this.O!==!1&&this.#r.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#i=e?Xt(t):t,this.#a.forEach(u)}#a;watchExports(t){let e=()=>t(this.#i);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return D(this.#r),We}get useRef(){return D(this.#r),Ke}get useRefSync(){return D(this.#r),wt}controllerRemoved(){this.#r.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#u.push(t),this.connectedCalled&&this.#r.el.isConnected&&this.#p(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),t.#t.forEach(u),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),t.#e.forEach(u),t.#h.forEach(u),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await I(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(I)),this.P.resolve(this.#i)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&u(this.hostLoaded,this),this.#o.forEach(u),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&u(this.hostUpdate,this,t),this.#n.forEach(Zt,t)}triggerUpdated(t){this.hostUpdated&&u(this.hostUpdated,this,t),this.#c.forEach(Zt,t)}triggerDestroy(){this.hostDestroy&&u(this.hostDestroy,this),this.#l.forEach(u)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#u.forEach(this.#p,this)}#p(t){D(this.#r);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#h.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#h.push(n.remove)})}};function Zt(o){u(o,void 0,this)}var ee=_t,Xt=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,n,r){if(!((n==="exports"||n==="_exports")&&n in s&&s[n]===e)&&(n in s||n in Promise.prototype||typeof n=="symbol"))return typeof s=="function"?s[n]:Reflect.get(s,n,r)}},e=new Proxy(o,t);return e};var se=";",ht=",",oe=":";var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var Xe=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[p,h,m]=l.split(se),y=p?p?.split(ht).map(ts):void 0,A=y?.map(([L])=>L),N=class extends xt{static{this.observedAttributes=y?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=A}static{this.E=h?h?.split(ht):void 0}static{this.D=m?.split(ht)}static{this.L=a}static{this.K=o}constructor(){!N.B&&(N.B=c(),N.F()),super()}};customElements.define(a,N)}},dt=Object.defineProperty,ts=o=>{let t=o.split(oe);return t.length===1?[t[0],Q(t[0])]:t},es=globalThis.HTMLElement??St,xt=class extends es{constructor(){super(),this.#e={},this.#s=[],this.I=new v,this.H=new v,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(n=>typeof n=="function"?{a:n}:n)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])dt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])dt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])dt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);os(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ss,l);let p=this.isConnected;(p||this.G)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ss([o,t]){this[o]=t}var os=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},dt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var g={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),C=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ie=P(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ae="important",rs=" !"+ae,ce=P(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(rs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?ae:""):e[s]=n}}return f}});var{I:is}=Jt;var he=o=>o.strings===void 0,le=()=>document.createComment(""),Yo=(o,t,e)=>{let s=o._$AA.parentNode,n=t===void 0?o._$AB:t._$AA;if(e===void 0){let r=s.insertBefore(le(),n),i=s.insertBefore(le(),n);e=new is(r,i,o,o.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return e},Zo=(o,t,e=o)=>(o._$AI(t,e),o),as={},de=(o,t=as)=>o._$AH=t,Xo=o=>o._$AH,tn=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var cs=P(class extends C{constructor(o){if(super(o),o.type!==g.PROPERTY&&o.type!==g.ATTRIBUTE&&o.type!==g.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!he(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===g.PROPERTY){if(t===e[s])return f}else if(o.type===g.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===g.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Nt=class extends ee{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Lt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),lt();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):u(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):u(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),D(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=Ut(t,gs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},gs=1e3,Lt="autoDestroyDisabled",ue=class o extends b{constructor(){super(),this.M=[],this.manager=new Nt(this);let t=this,e=t.constructor,s=e.N,n=e.K.o,r=o.prototype.shouldUpdate;t.#o=s?.H??new v,t.I=s?.I??new v,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??F,i={attribute:s&1&&typeof t=="string"?Q(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let n=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&a?.S(t,i)}}}static{this.lumina=!0}#t;#e;#s;#o;#n;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Tt?this.el:this.el.attachShadow(s));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(I(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Lt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#c(t):super.update(t)}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(ct in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},pe=o=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=s,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s};var xn=o=>typeof o=="object"&&o!=null?ie(o):o,On=o=>typeof o=="object"&&o!=null?ce(o):o;var Tn=d;var G=pe({defaultAssetPath:"https://jsdev.arcgis.com/next/map-components/",hydratedAttribute:"hydrated"}),{customElement:Rn,getAssetPath:Dn,setAssetPath:Un}=G;G.t=void 0;G.o=void 0;G.c=void 0;G.r=void 0;export{Cs as a,me as b,ve as c,As as d,_s as e,_e as f,ws as g,xs as h,Pe as i,Ss as j,Ps as k,Ns as l,f as m,d as n,Ct as o,Qs as p,Ys as q,D as r,K as s,qe as t,Be as u,Zs as v,Xs as w,Je as x,Qe as y,Ye as z,Ze as A,_t as B,ee as C,Tt as D,Xe as E,g as F,P as G,C as H,he as I,Yo as J,Zo as K,de as L,Xo as M,tn as N,ue as O,xn as P,On as Q,Tn as R,G as S,Rn as T,Dn as U};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{i}from"./MHXI4R7Q.js";var t=i`@layer{arcgis-layer-list{display:block;.arcgis-layer-list{display:flex}.arcgis-layer-list__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item{--calcite-list-item-icon-center: 8.5px}.arcgis-layer-list__item-table-icon,.arcgis-layer-list__item-catalog-icon{margin-inline-end:0}.arcgis-layer-list__item-action-image{flex:0 0 var(--calcite-spacing-xl);background-position:50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);text-align:center;font-size:var(--calcite-font-size)}.arcgis-layer-list__action-menu .arcgis-layer-list__action-group{display:none}.arcgis-layer-list__action-menu[open] .arcgis-layer-list__action-group{display:flex}.arcgis-layer-list__visible-icon{visibility:hidden}.arcgis-layer-list__item--active:hover,.arcgis-layer-list__item--active:focus,.arcgis-layer-list__item--active:focus-within{>.arcgis-layer-list__visible-toggle>.arcgis-layer-list__visible-icon{visibility:visible}}.arcgis-layer-list__status-indicator{visibility:hidden;margin-inline:0;color:transparent}.arcgis-layer-list__publishing{visibility:visible;color:var(--calcite-color-foreground-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:arcgis-layer-list__publishing-anim 2s normal infinite}.arcgis-layer-list__updating{visibility:visible;animation:arcgis-layer-list__updating-anim 2s normal infinite}.arcgis-layer-list__connection-status{visibility:visible;margin-inline:calc(var(--calcite-spacing-lg) * .5);width:calc(var(--calcite-spacing-xxxl) * .5);height:calc(var(--calcite-spacing-xxxl) * .5);color:var(--calcite-color-status-danger)}.arcgis-layer-list__connection-status--connected{color:var(--calcite-color-status-success)}.arcgis-layer-list__item-content-bottom{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item-content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md) 0}.arcgis-layer-list__item-message{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:transparent}50%,80%{color:var(--calcite-color-brand)}to{color:transparent}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}}}`;export{t as a};
3
+ v4.34.0-next.7 */
4
+ import{i}from"./AXC7MHUY.js";var t=i`@layer{arcgis-layer-list{display:block;.arcgis-layer-list{display:flex}.arcgis-layer-list__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item{--calcite-list-item-icon-center: 8.5px}.arcgis-layer-list__item-table-icon,.arcgis-layer-list__item-catalog-icon{margin-inline-end:0}.arcgis-layer-list__item-action-image{flex:0 0 var(--calcite-spacing-xl);background-position:50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);text-align:center;font-size:var(--calcite-font-size)}.arcgis-layer-list__action-menu .arcgis-layer-list__action-group{display:none}.arcgis-layer-list__action-menu[open] .arcgis-layer-list__action-group{display:flex}.arcgis-layer-list__visible-icon{visibility:hidden}.arcgis-layer-list__item--active:hover,.arcgis-layer-list__item--active:focus,.arcgis-layer-list__item--active:focus-within{>.arcgis-layer-list__visible-toggle>.arcgis-layer-list__visible-icon{visibility:visible}}.arcgis-layer-list__status-indicator{visibility:hidden;margin-inline:0;color:transparent}.arcgis-layer-list__publishing{visibility:visible;color:var(--calcite-color-foreground-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:arcgis-layer-list__publishing-anim 2s normal infinite}.arcgis-layer-list__updating{visibility:visible;animation:arcgis-layer-list__updating-anim 2s normal infinite}.arcgis-layer-list__connection-status{visibility:visible;margin-inline:calc(var(--calcite-spacing-lg) * .5);width:calc(var(--calcite-spacing-xxxl) * .5);height:calc(var(--calcite-spacing-xxxl) * .5);color:var(--calcite-color-status-danger)}.arcgis-layer-list__connection-status--connected{color:var(--calcite-color-status-success)}.arcgis-layer-list__item-content-bottom{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item-content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md) 0}.arcgis-layer-list__item-message{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:transparent}50%,80%{color:var(--calcite-color-brand)}to{color:transparent}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}}}`;export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{O as c,P as e,T as n,i as t,j as l}from"./MHXI4R7Q.js";export default $arcgis.t(([{formatDate:p}])=>{var g=t`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`,o="arcgis-video-player",r={playerControlsGroup:`${o}__controls-group`,playerTimecode:`${o}__timecode`,playerToolbar:`${o}__toolbar`};function d(i){return p(Math.round(i)*1e3,{minute:"2-digit",second:"2-digit"})}var a=class extends c{static{this.properties={viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0}}static{this.styles=g}render(){let{messages:s}=this;return l`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${s} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${d(this.currentTime)} / ${d(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${s} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`}};n("arcgis-video-player-action-bar",a);return a},"intl")
3
+ v4.34.0-next.7 */
4
+ import{O as c,P as e,T as n,i as t,j as l}from"./AXC7MHUY.js";export default $arcgis.t(([{formatDate:p}])=>{var g=t`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`,o="arcgis-video-player",r={playerControlsGroup:`${o}__controls-group`,playerTimecode:`${o}__timecode`,playerToolbar:`${o}__toolbar`};function d(i){return p(Math.round(i)*1e3,{minute:"2-digit",second:"2-digit"})}var a=class extends c{static{this.properties={viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0}}static{this.styles=g}render(){let{messages:s}=this;return l`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${s} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${d(this.currentTime)} / ${d(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${s} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`}};n("arcgis-video-player-action-bar",a);return a},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{b}from"./4MRPFB2F.js";import d from"./LB4FJL6Z.js";import{a as E}from"./FCPVKFF7.js";import{a as _}from"./EPS7HMFS.js";import c from"./HHKEZDYI.js";import a from"./UKUTVSTC.js";import{e as T}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as w,D as C,O as I,P as s,R as m,T as M,a as h,e as y,i as S,j as n}from"./MHXI4R7Q.js";export default $arcgis.t(([R,p,{substitute:D},{watch:L},B,,,x])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(k(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:k(Math.trunc(e),360)-180}function k(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=S`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=y(),this._messages=E({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=w()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:1,customColor:[3,{converter:P}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:P}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let t=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=t?.theme?.accentColor??new R().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[L(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${s(h(c.base,_.widget,_.panel))}><div class=${s(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:o,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,o?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,o=i!=null&&i!==t;return n`<div class=${s(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${o?n`<calcite-icon class=${s(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${o&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${s(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${o=>{o.stopPropagation(),this.dynamicScaling=o.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${s(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${s(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],o=`${this._labelUid}--theme_tile_${a}`,d=`${o}__label`,g=u.gridTheme[a];return n`<div class=${s(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${o??m} .name=${`${this._labelUid}--theme`} @change=${O=>{this.theme=a,O.currentTarget.focus()}} tabindex=0 type=radio><div class=${s(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${o} id=${d??m}>${r}</calcite-label></div></div>`}};M("arcgis-grid-controls",$);return $},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,c,d)
3
+ v4.34.0-next.7 */
4
+ import{b}from"./BIDDZ56Y.js";import d from"./JSWLDDUC.js";import{a as E}from"./ECQIBBNZ.js";import{a as _}from"./7MLMQPS2.js";import c from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as T}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as w,D as C,O as I,P as s,R as m,T as M,a as h,e as y,i as S,j as n}from"./AXC7MHUY.js";export default $arcgis.t(([R,p,{substitute:D},{watch:L},B,,,x])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(k(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:k(Math.trunc(e),360)-180}function k(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=S`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=y(),this._messages=E({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=w()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:1,customColor:[3,{converter:P}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:P}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let t=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=t?.theme?.accentColor??new R().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[L(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${s(h(c.base,_.widget,_.panel))}><div class=${s(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:o,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,o?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,o=i!=null&&i!==t;return n`<div class=${s(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${o?n`<calcite-icon class=${s(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${o&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${s(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${o=>{o.stopPropagation(),this.dynamicScaling=o.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${s(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${s(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],o=`${this._labelUid}--theme_tile_${a}`,d=`${o}__label`,g=u.gridTheme[a];return n`<div class=${s(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${o??m} .name=${`${this._labelUid}--theme`} @change=${O=>{this.theme=a,O.currentTarget.focus()}} tabindex=0 type=radio><div class=${s(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${o} id=${d??m}>${r}</calcite-label></div></div>`}};M("arcgis-grid-controls",$);return $},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{F as $,G as d,H as f,I as A,n as c}from"./MHXI4R7Q.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
3
+ v4.34.0-next.7 */
4
+ import{F as $,G as d,H as f,I as A,n as c}from"./AXC7MHUY.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
3
+ v4.34.0-next.7 */
4
4
  function b(n){n.el.childElem&&(n.el.childElem.ownedBy=n.el);let e=w(n);if(!e){let t=m(n);if(!t){p(n);return}return u(t,n,!0),t}return v(e,n.el.parent)||(n.el.parent=e,e.localName==="arcgis-expand"?y(e,n):e.localName==="arcgis-placement"?h(e,n):u(e,n,!1)),e}function w({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(d.has(e.localName))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&d.has(e.ownedBy.localName))return e.ownedBy}}var d=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand","arcgis-placement"]);function v(n,e){if(n!==e)return!1;let t=n.localName;return t==="arcgis-expand"||t==="arcgis-placement"}function r(n,e,t="arcgisReady"){let o=n;if(o.view)e(o.view);else{let i=function(c){c.target===n&&(r(n,e,t),n.removeEventListener(t,i))};n.addEventListener(t,i)}}var y=(n,e)=>r(n,t=>{e.el.childElem&&n.content!=null&&n.content.append(e.el.childElem),n.expandIcon=e.icon||e.widget?.icon||n.expandIcon,e.position=n.position,e.el.view=t}),h=(n,e)=>r(n,t=>{e.el.childElem&&e.el.append(e.el.childElem),e.position=n.position,e.el.view=t}),u=(n,e,t)=>r(n,o=>{t?p(e):e.el.childElem&&E(n,e),e.el.view=o},"arcgisViewReadyChange");function E(n,e){let t=e.el.childElem??e.el,o=n?.childElem,i=[...n.children],c={};for(let l of i){if(l===o)continue;let a=l.position??"manual";c[a]??=[],c[a].push({child:l,position:a,index:i.indexOf(l)})}let g=c[e.position??"manual"]?.findIndex(({child:l})=>l===e.el),s=n.view.ui;s.remove(t),s.add(t,{position:e.position,index:g})}function N(n){let e=!1,t=n.el.view,o=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n.el),"view")??{get:()=>t,set:i=>t=i};Object.defineProperty(n.el,"view",{get:o.get.bind(n.el),set:i=>{o.set.call(n.el,i),i&&!e&&(e=!0,n.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(n.el.view=t)}function O(n){return n==null||n===""}function B(n,e){return e!=null&&n?.position===e.position&&n?.heading===e.heading&&n?.tilt===e.tilt&&n?.fov===e.fov}function L(n,e){return e===void 0||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function R(n,e){return f(e?.center,n)}function f(n,e){if(typeof e=="string")return f(n,e.split(",").map(Number));if(!n)return e;if(Array.isArray(e)){let t=e[0],o=e[1],i=e.length>2?e[2]:void 0;if(t!==n.longitude||o!==n.latitude||i!==n.z)return e}else if(e&&!n?.equals(e))return e}async function P(n,e){e!=null&&(typeof e=="string"?n.el.view=await x(n,e):n.widget&&(n.el.view=e.view))}async function x(n,e){let t=m(n,e);return await new Promise(o=>{typeof t?.view?.ready=="boolean"?o(t.view):t&&t.addEventListener("arcgisViewReadyChange",()=>o(t.view),{once:!0})})}function p(n){n.el.childElem&&(n.el.shadowRoot??n.el).append(n.el.childElem)}function m(n,e){let t=e??n.referenceElement;if(typeof t!="string")return t??void 0;let o=t.includes("#")||t.includes(".")||t.includes("["),i=n.el.getRootNode();return(o?void 0:i.querySelector(`#${t}`))??i.querySelector(t)??void 0}var F=n=>n.el.childElem;async function S(n){let e=typeof n=="function"?n():n;e&&("setFocus"in e&&typeof e.setFocus=="function"?await e.setFocus():e instanceof HTMLElement&&e.focus())}export{b as a,N as b,O as c,B as d,L as e,R as f,f as g,P as h,F as i,S as j};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{a as L}from"./CQG33CHS.js";import{a as v,b as f}from"./4MRPFB2F.js";import"./QIELYIFC.js";import{a as S}from"./FCPVKFF7.js";import"./5AZ345NY.js";import"./FIIIUSQA.js";import{j as M}from"./V32WTVMP.js";import{D as C,O as T,P as h,Q as A,R as o,T as w,a as y,j as r}from"./MHXI4R7Q.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
3
+ v4.34.0-next.7 */
4
+ import{a as L}from"./B7KN6YTQ.js";import{a as v,b as f}from"./BIDDZ56Y.js";import"./EF5ADWHS.js";import{a as S}from"./ECQIBBNZ.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import{j as M}from"./BKCPYV3Y.js";import{D as C,O as T,P as h,Q as A,R as o,T as w,a as y,j as r}from"./AXC7MHUY.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import b from"./HRVDXQJH.js";import{a as _}from"./JE6AJOV2.js";import{a as l}from"./RZWKYMUH.js";import"./5AZ345NY.js";import"./FIIIUSQA.js";import{O as o,P as a,T as n,i as r,j as t}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:g},{b:m,c:p,d:d,e:h}])=>{var $=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",i={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},c=class extends o{constructor(){super(...arguments),this._handles=_("disconnect"),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,S=>this._templateState=S??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<calcite-block class=${a(i.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate?d(this._selectedTemplate,this.messages):this.messages.selectTemplate} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${e=>{(e.key==="Enter"||e.key===" ")&&this.showTemplateSelector()}} tabindex=0>${l("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?h(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?l("template-select-error",t`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${l("template-select-arrow",t`<calcite-icon class=${a(i.templateSelectArrow)} .icon=${m()?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};n("arcgis-print-template-select",c);return c},"core/reactiveUtils",b)
3
+ v4.34.0-next.7 */
4
+ import b from"./KXFOXBSW.js";import{a as _}from"./DDSDEOST.js";import{a as l}from"./73246WZV.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import{O as o,P as a,T as n,i as r,j as t}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:g},{b:m,c:p,d:d,e:h}])=>{var $=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",i={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},c=class extends o{constructor(){super(...arguments),this._handles=_("disconnect"),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,S=>this._templateState=S??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<calcite-block class=${a(i.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate?d(this._selectedTemplate,this.messages):this.messages.selectTemplate} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${e=>{(e.key==="Enter"||e.key===" ")&&this.showTemplateSelector()}} tabindex=0>${l("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?h(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?l("template-select-error",t`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${l("template-select-arrow",t`<calcite-icon class=${a(i.templateSelectArrow)} .icon=${m()?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};n("arcgis-print-template-select",c);return c},"core/reactiveUtils",b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{a as O}from"./FIIIUSQA.js";import{B as L,b as m,c as f,f as v,g,p as y,r as E,s as b,t as C,u as x,z as P}from"./MHXI4R7Q.js";var w=r=>_(void 0,r),J=r=>o=>_(o,r),d=class extends L{constructor(o,e){super(o);let t=this.exports;try{E(this.component);let s=e(this.component,this),n=this.exports!==t;if(y(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s),console.error(s)}}catchUpLifecycle(){}},_=O(d);var Q=r=>(...o)=>{let e=x(),t=new r(...o);return C(e.at(-1)),t};var k="ltr",X=()=>w((r,o)=>{o.exports=k,o.onLifecycle(()=>{let e=()=>{let t=f(r.el,"dir",k);o.exports=t==="rtl"?"rtl":"ltr"};return e(),m(r.el,["dir"],e)})}),Y=r=>(o={})=>w((e,t)=>{let s=v(e.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=e;t.onLifecycle(()=>g(e.el,()=>r("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let h={...l,_lang:p,_t9nLocale:c,_loading:!1};t.exports=h;let u=l.componentLabel;typeof u=="string"&&"label"in e&&e.label==null&&(e.label??=u),i(a.messageOverrides)},o.name));let i=c=>{let l=t.exports,p=l._original??l,h=N(p,c);c&&(h._original=p),t.exports=h};return"messageOverrides"in a&&t.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),o.blocking?(t.setProvisionalExports(n,!1),t.ready):n}),N=(r,o)=>{if(!o)return r;let e={...r};return Object.entries(o).forEach(([t,s])=>{typeof s=="object"?e[t]=N(r[t],s):e[t]=s??r[t]}),e},Z=r=>M,D="arcgisPropertyChange",M=(...r)=>{let o=b(),e=P(D,void 0,o),t=!0;return o.manager.onUpdated(s=>{if(t||!o.el.isConnected){t=!1;return}for(let n of r)s.has(n)&&e.emit({name:n})}),e};export{J as a,Q as b,X as c,Y as d,Z as e};
3
+ v4.34.0-next.7 */
4
+ import{a as O}from"./5ZJSJBH7.js";import{B as L,b as m,c as f,f as v,g,p as y,r as E,s as b,t as C,u as x,z as P}from"./AXC7MHUY.js";var w=r=>_(void 0,r),J=r=>o=>_(o,r),d=class extends L{constructor(o,e){super(o);let t=this.exports;try{E(this.component);let s=e(this.component,this),n=this.exports!==t;if(y(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s),console.error(s)}}catchUpLifecycle(){}},_=O(d);var Q=r=>(...o)=>{let e=x(),t=new r(...o);return C(e.at(-1)),t};var k="ltr",X=()=>w((r,o)=>{o.exports=k,o.onLifecycle(()=>{let e=()=>{let t=f(r.el,"dir",k);o.exports=t==="rtl"?"rtl":"ltr"};return e(),m(r.el,["dir"],e)})}),Y=r=>(o={})=>w((e,t)=>{let s=v(e.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=e;t.onLifecycle(()=>g(e.el,()=>r("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let h={...l,_lang:p,_t9nLocale:c,_loading:!1};t.exports=h;let u=l.componentLabel;typeof u=="string"&&"label"in e&&e.label==null&&(e.label??=u),i(a.messageOverrides)},o.name));let i=c=>{let l=t.exports,p=l._original??l,h=N(p,c);c&&(h._original=p),t.exports=h};return"messageOverrides"in a&&t.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),o.blocking?(t.setProvisionalExports(n,!1),t.ready):n}),N=(r,o)=>{if(!o)return r;let e={...r};return Object.entries(o).forEach(([t,s])=>{typeof s=="object"?e[t]=N(r[t],s):e[t]=s??r[t]}),e},Z=r=>M,D="arcgisPropertyChange",M=(...r)=>{let o=b(),e=P(D,void 0,o),t=!0;return o.manager.onUpdated(s=>{if(t||!o.el.isConnected){t=!1;return}for(let n of r)s.has(n)&&e.emit({name:n})}),e};export{J as a,Q as b,X as c,Y as d,Z as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{O as n,P as t,T as c,a as r,i as l,j as e}from"./MHXI4R7Q.js";var x=l`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},o=class extends n{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(r(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList}>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};c("arcgis-print-exports-panel",o);export{o as PrintExportsPanel};
3
+ v4.34.0-next.7 */
4
+ import{O as n,P as t,T as c,a as r,i as l,j as e}from"./AXC7MHUY.js";var x=l`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},o=class extends n{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(r(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList}>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};c("arcgis-print-exports-panel",o);export{o as PrintExportsPanel};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{a as S}from"./6CDNOZQF.js";import"./QIELYIFC.js";import d from"./LB4FJL6Z.js";import{a as T}from"./FCPVKFF7.js";import{a as w}from"./EPS7HMFS.js";import c from"./HHKEZDYI.js";import b from"./UKUTVSTC.js";import{e as O}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as f,D as $,O as C,P as u,Q as M,R as y,T as x,a as v,i as _,j as a}from"./MHXI4R7Q.js";export default $arcgis.t(([R,{property:h,subclass:j},{watch:A},W,E,k,H,L,,,B])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=_`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:L,cloudy:W,rainy:k,snowy:H,foggy:E},D=Object.keys(I),n=class extends R{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new L,cloudy:new W,rainy:new k,snowy:new H,foggy:new E}}initialize(){this.addHandles([A(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!D.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([j("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),G={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${D.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${G[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);return m},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",b,c,d)
3
+ v4.34.0-next.7 */
4
+ import{a as S}from"./RR5F3SPW.js";import"./EF5ADWHS.js";import d from"./JSWLDDUC.js";import{a as T}from"./ECQIBBNZ.js";import{a as w}from"./7MLMQPS2.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as O}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as f,D as $,O as C,P as u,Q as M,R as y,T as x,a as v,i as _,j as a}from"./AXC7MHUY.js";export default $arcgis.t(([R,{property:h,subclass:j},{watch:A},W,E,k,H,L,,,B])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=_`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:L,cloudy:W,rainy:k,snowy:H,foggy:E},D=Object.keys(I),n=class extends R{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new L,cloudy:new W,rainy:new k,snowy:new H,foggy:new E}}initialize(){this.addHandles([A(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!D.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([j("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),G={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${D.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${G[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);return m},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import a from"./HHKEZDYI.js";import"./FIIIUSQA.js";import{e as v,f as l}from"./V32WTVMP.js";import{A as s,D as o,O as w,T as c,i as n}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:r},m,g,{a:e,b:a,f:p}])=>{var d=n`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,y=a(g,{}),u=a(m,{}),h=class extends w{constructor(){super(),this._map=y(this),this.view=u(this),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:4,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=d}get center(){return this.view.center}set center(i){let t=l(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){this.extent?.equals(i)||(this.view.extent=i)}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){p(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,t){this.map.add(i,t)}async addLayers(i,t){this.map.addMany(i,t)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view.goTo(i,t)}async openPopup(i){await this.view.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view.whenLayerView(i)}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[r(()=>this.map,()=>this._map=this.map,{initial:!0,sync:!0}),r(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),r(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}};c("arcgis-link-chart",h);return h},"core/reactiveUtils","views/LinkChartView","WebLinkChart",a)
3
+ v4.34.0-next.7 */
4
+ import a from"./JZO3ICTU.js";import"./5ZJSJBH7.js";import{e as v,f as l}from"./BKCPYV3Y.js";import{A as s,D as o,O as w,T as c,i as n}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:r},m,g,{a:e,b:a,f:p}])=>{var d=n`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,y=a(g,{}),u=a(m,{}),h=class extends w{constructor(){super(),this._map=y(this),this.view=u(this),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:4,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=d}get center(){return this.view.center}set center(i){let t=l(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){this.extent?.equals(i)||(this.view.extent=i)}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){p(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,t){this.map.add(i,t)}async addLayers(i,t){this.map.addMany(i,t)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view.goTo(i,t)}async openPopup(i){await this.view.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view.whenLayerView(i)}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[r(()=>this.map,()=>this._map=this.map,{initial:!0,sync:!0}),r(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),r(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}};c("arcgis-link-chart",h);return h},"core/reactiveUtils","views/LinkChartView","WebLinkChart",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{b as R}from"./4MRPFB2F.js";import e from"./LB4FJL6Z.js";import{a as L}from"./FCPVKFF7.js";import{a as v}from"./EPS7HMFS.js";import b from"./HHKEZDYI.js";import a from"./UKUTVSTC.js";import"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as C,D as y,O as g,P as r,Q as _,T as w,a as d,j as c}from"./MHXI4R7Q.js";export default $arcgis.t(([{getDefaultUnitForView:U},{watch:D},{formatNumber:S},x,,,B])=>{function M($=0,e=0){return{x:$,y:e}}var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=B(x),f=class extends g{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this._scaleComputedFrom=M(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=C()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=y}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>D(()=>{let e=this.viewModel.view;return{defaultUnit:e?U(e):void 0,stationary:e?.stationary,center:e?.center,scale:e?.scale,zoom:e?.zoom}},({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,i=this.el.getBoundingClientRect(),s=i.left+window.pageXOffset,l=i.top+window.pageYOffset,o=M(s,l);(o.x!==e.x||o.y!==e.y)&&(this._scaleComputedFrom=o)}_formatDistance(e,i){return S(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[v.disabled]:e},s,l;if(!e){let{unit:o,barStyle:u}=this,b=o==="imperial"||o==="dual",p=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":u;if(b){let n=this.viewModel.getScaleBarProperties(m,"imperial");n&&(l=h==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(m,"metric");n&&(s=h==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${r(d(t.base,v.widget,i))} ${R(this._handleContainerRef)}>${s}${l}</div>`}_renderRuler(e){let{length:i,unit:s,value:l}=e,o=Math.round(i),u=this._formatDistance(l,s);return c`<div class=${r(d(t.barContainer,t.rulerBarContainer))}><div class=${r(t.ruler)} style=${_({width:`${o}px`})}><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div></div><div class=${r(d(t.labelContainer,t.rulerLabelContainer))}><div class=${r(t.label)}>0</div><div class=${r(t.label)}>${u}</div></div></div>`}_renderLine(e,i){let{length:s,unit:l,value:o}=e,u=Math.round(s),b=this._formatDistance(o,l),p={[t.topLabelContainer]:i==="top",[t.bottomLabelContainer]:i==="bottom"},m=c`<div class=${r(d(t.labelContainer,t.lineLabelContainer,p))}><div class=${r(t.label)}>${b}</div></div>`,h={[t.topLine]:i==="top",[t.bottomLine]:i==="bottom"},n=c`<div class=${r(d(t.line,h))} style=${_({width:`${u}px`})}></div>`;return c`<div class=${r(d(t.barContainer,t.lineBarContainer))}>${[n,m]}</div>`}};w("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,e)
3
+ v4.34.0-next.7 */
4
+ import{b as R}from"./BIDDZ56Y.js";import e from"./JSWLDDUC.js";import{a as L}from"./ECQIBBNZ.js";import{a as v}from"./7MLMQPS2.js";import b from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as C,D as y,O as g,P as r,Q as _,T as w,a as d,j as c}from"./AXC7MHUY.js";export default $arcgis.t(([{getDefaultUnitForView:U},{watch:D},{formatNumber:S},x,,,B])=>{function M($=0,e=0){return{x:$,y:e}}var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=B(x),f=class extends g{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this._scaleComputedFrom=M(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=C()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=y}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>D(()=>{let e=this.viewModel.view;return{defaultUnit:e?U(e):void 0,stationary:e?.stationary,center:e?.center,scale:e?.scale,zoom:e?.zoom}},({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,i=this.el.getBoundingClientRect(),s=i.left+window.pageXOffset,l=i.top+window.pageYOffset,o=M(s,l);(o.x!==e.x||o.y!==e.y)&&(this._scaleComputedFrom=o)}_formatDistance(e,i){return S(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[v.disabled]:e},s,l;if(!e){let{unit:o,barStyle:u}=this,b=o==="imperial"||o==="dual",p=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":u;if(b){let n=this.viewModel.getScaleBarProperties(m,"imperial");n&&(l=h==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(m,"metric");n&&(s=h==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${r(d(t.base,v.widget,i))} ${R(this._handleContainerRef)}>${s}${l}</div>`}_renderRuler(e){let{length:i,unit:s,value:l}=e,o=Math.round(i),u=this._formatDistance(l,s);return c`<div class=${r(d(t.barContainer,t.rulerBarContainer))}><div class=${r(t.ruler)} style=${_({width:`${o}px`})}><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div></div><div class=${r(d(t.labelContainer,t.rulerLabelContainer))}><div class=${r(t.label)}>0</div><div class=${r(t.label)}>${u}</div></div></div>`}_renderLine(e,i){let{length:s,unit:l,value:o}=e,u=Math.round(s),b=this._formatDistance(o,l),p={[t.topLabelContainer]:i==="top",[t.bottomLabelContainer]:i==="bottom"},m=c`<div class=${r(d(t.labelContainer,t.lineLabelContainer,p))}><div class=${r(t.label)}>${b}</div></div>`,h={[t.topLine]:i==="top",[t.bottomLine]:i==="bottom"},n=c`<div class=${r(d(t.line,h))} style=${_({width:`${u}px`})}></div>`;return c`<div class=${r(d(t.barContainer,t.lineBarContainer))}>${[n,m]}</div>`}};w("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import a from"./HRVDXQJH.js";import{a as f}from"./RZWKYMUH.js";import{D as m,O as r,T as c,j as i}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:h},{f:n}])=>{var l=class extends r{constructor(){super(...arguments),this._formats=[]}static{this.properties={_formats:16,viewModel:0,messages:0}}static{this.shadowRootOptions=m}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.viewModel.templateOptions.format,this.viewModel.templatesInfo?.format],()=>{let t=this.viewModel.templatesInfo;if(!t)return;if(this._formats.length!==t.format.choiceList.length){let o=[...n.values()];this._formats=t.format.choiceList.map(e=>{let s=o.find(p=>new RegExp(`\\b${p}\\b`,"iu").test(e))??e;return{value:s,label:e===s?e.toUpperCase():e}}).sort((e,s)=>e.label.localeCompare(s.label))}let a=this._formats.some(({value:o})=>new RegExp(`\\b${o}\\b`,"iu").test(this.viewModel.templateOptions.format));if(t.format.defaultValue&&!a){let o=this._formats.find(({value:e})=>new RegExp(`\\b${e}\\b`,"iu").test(t.format.defaultValue))?.value;o&&(this.viewModel.templateOptions.format=o);return}},{initial:!0})])}render(){return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:t})=>{let a=t.selectedItems[0]?.value;this.viewModel.templateOptions.format=a??"pdf"}}>${this._formats.map(({value:t,label:a},o)=>f(`file-format-${o}`,i`<calcite-combobox-item .heading=${a} .selected=${t===this.viewModel.templateOptions.format} .value=${t}></calcite-combobox-item>`))}</calcite-combobox></calcite-label></div>`}};c("arcgis-print-format-select",l);return l},"core/reactiveUtils",a)
3
+ v4.34.0-next.7 */
4
+ import a from"./KXFOXBSW.js";import{a as f}from"./73246WZV.js";import{D as m,O as r,T as c,j as i}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:h},{f:n}])=>{var l=class extends r{constructor(){super(...arguments),this._formats=[]}static{this.properties={_formats:16,viewModel:0,messages:0}}static{this.shadowRootOptions=m}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.viewModel.templateOptions.format,this.viewModel.templatesInfo?.format],()=>{let t=this.viewModel.templatesInfo;if(!t)return;if(this._formats.length!==t.format.choiceList.length){let o=[...n.values()];this._formats=t.format.choiceList.map(e=>{let s=o.find(p=>new RegExp(`\\b${p}\\b`,"iu").test(e))??e;return{value:s,label:e===s?e.toUpperCase():e}}).sort((e,s)=>e.label.localeCompare(s.label))}let a=this._formats.some(({value:o})=>new RegExp(`\\b${o}\\b`,"iu").test(this.viewModel.templateOptions.format));if(t.format.defaultValue&&!a){let o=this._formats.find(({value:e})=>new RegExp(`\\b${e}\\b`,"iu").test(t.format.defaultValue))?.value;o&&(this.viewModel.templateOptions.format=o);return}},{initial:!0})])}render(){return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:t})=>{let a=t.selectedItems[0]?.value;this.viewModel.templateOptions.format=a??"pdf"}}>${this._formats.map(({value:t,label:a},o)=>f(`file-format-${o}`,i`<calcite-combobox-item .heading=${a} .selected=${t===this.viewModel.templateOptions.format} .value=${t}></calcite-combobox-item>`))}</calcite-combobox></calcite-label></div>`}};c("arcgis-print-format-select",l);return l},"core/reactiveUtils",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import e from"./5ZZR2J6N.js";import d from"./Z5OKVV3T.js";import"./ZFZIGRGE.js";import c from"./LB4FJL6Z.js";import{a as $}from"./FCPVKFF7.js";import{a as p}from"./EPS7HMFS.js";import b from"./HHKEZDYI.js";import a from"./UKUTVSTC.js";import{e as w}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as m,D as f,O as v,P as i,T as _,i as y,j as l}from"./MHXI4R7Q.js";export default $arcgis.t(([A,{property:O,subclass:C},,,b,,x])=>{var k=y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,r="arcgis-line-of-sight",n={base:r,actions:`${r}__actions`,container:`${r}__container`,error:`${r}__error`,hint:`${r}__hint`,hintText:`${r}__hint-text`,newAnalysisButton:`${r}__new-analysis-button`},D=Object.defineProperty,S=Object.getOwnPropertyDescriptor,M=(t,s,a,o)=>{for(var e=o>1?void 0:o?S(s,a):s,d=t.length-1,h;d>=0;d--)(h=t[d])&&(e=(o?h(s,a,e):h(e))||e);return o&&e&&D(s,a,e),e},c=class extends x{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new A}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(t){return await this.analysisView?.place(t)}};M([O({readOnly:!0})],c.prototype,"state",1);c=M([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var L=b(c),u=class extends v{constructor(){super(...arguments),this.viewModel=L(this),this._messages=$({blocking:!0}),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=w()("analysis","state"),this.arcgisReady=m()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,state:32,_supported:16}}static{this.shadowRootOptions=f}static{this.styles=k}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}render(){return l`<div class=${i({[n.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${i(n.error)}><p>${this._messages.unsupported}</p></div>`;let s=this.viewModel.state,a=s==="creating";return l`<div class=${i(n.container)}>${a?l`<div class=${i(n.hint)}><p class=${i(n.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${i(n.actions)}>${s==="creating"?g({onClick:()=>{this.stop()},children:this._messages.done}):null}${s==="created"?g({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${g({className:n.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:s==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function g({className:t,onClick:s,primary:a,disabled:o,children:e}){return l`<calcite-button .appearance=${a?"solid":"outline-fill"} class=${i(t)} .disabled=${o} @click=${s}>${e}</calcite-button>`}_("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,b,c,d,e)
3
+ v4.34.0-next.7 */
4
+ import e from"./576TH74N.js";import d from"./62NV7NFZ.js";import"./EAVGPD6R.js";import c from"./JSWLDDUC.js";import{a as $}from"./ECQIBBNZ.js";import{a as p}from"./7MLMQPS2.js";import b from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as w}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as m,D as f,O as v,P as i,T as _,i as y,j as l}from"./AXC7MHUY.js";export default $arcgis.t(([A,{property:O,subclass:C},,,b,,x])=>{var k=y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,r="arcgis-line-of-sight",n={base:r,actions:`${r}__actions`,container:`${r}__container`,error:`${r}__error`,hint:`${r}__hint`,hintText:`${r}__hint-text`,newAnalysisButton:`${r}__new-analysis-button`},D=Object.defineProperty,S=Object.getOwnPropertyDescriptor,M=(t,s,a,o)=>{for(var e=o>1?void 0:o?S(s,a):s,d=t.length-1,h;d>=0;d--)(h=t[d])&&(e=(o?h(s,a,e):h(e))||e);return o&&e&&D(s,a,e),e},c=class extends x{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new A}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(t){return await this.analysisView?.place(t)}};M([O({readOnly:!0})],c.prototype,"state",1);c=M([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var L=b(c),u=class extends v{constructor(){super(...arguments),this.viewModel=L(this),this._messages=$({blocking:!0}),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=w()("analysis","state"),this.arcgisReady=m()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,state:32,_supported:16}}static{this.shadowRootOptions=f}static{this.styles=k}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}render(){return l`<div class=${i({[n.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${i(n.error)}><p>${this._messages.unsupported}</p></div>`;let s=this.viewModel.state,a=s==="creating";return l`<div class=${i(n.container)}>${a?l`<div class=${i(n.hint)}><p class=${i(n.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${i(n.actions)}>${s==="creating"?g({onClick:()=>{this.stop()},children:this._messages.done}):null}${s==="created"?g({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${g({className:n.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:s==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function g({className:t,onClick:s,primary:a,disabled:o,children:e}){return l`<calcite-button .appearance=${a?"solid":"outline-fill"} class=${i(t)} .disabled=${o} @click=${s}>${e}</calcite-button>`}_("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,b,c,d,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.5 */
4
- import{a as d}from"./CQG33CHS.js";import{a as h}from"./54VGZGQT.js";import f from"./CY2ZUEMG.js";import c from"./HHKEZDYI.js";import b from"./UKUTVSTC.js";import{e as o}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as e,D as i,O as s,T as a}from"./MHXI4R7Q.js";export default $arcgis.t(([c,,{a:r},l])=>{var w=l(c),t=class extends s{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=h(this),this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=i}static{this.styles=d}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(n,g){this.widget?.triggerAction(n,g)}};a("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,f)
3
+ v4.34.0-next.7 */
4
+ import{a as d}from"./B7KN6YTQ.js";import{a as h}from"./LUASKWWP.js";import f from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as o}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as e,D as i,O as s,T as a}from"./AXC7MHUY.js";export default $arcgis.t(([c,,{a:r},l])=>{var w=l(c),t=class extends s{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=h(this),this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=i}static{this.styles=d}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(n,g){this.widget?.triggerAction(n,g)}};a("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,f)