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

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 (239) hide show
  1. package/dist/cdn/{JP5O6B5F.js → 24BGG5B5.js} +2 -2
  2. package/dist/cdn/{HAFNNW3D.js → 2ABLOYUQ.js} +2 -2
  3. package/dist/cdn/{C5VB62EV.js → 2MCSN6B6.js} +2 -2
  4. package/dist/cdn/{V5ZNHCME.js → 2O4Y7OHR.js} +2 -2
  5. package/dist/cdn/{PYZLIY6P.js → 2TWTTB4C.js} +2 -2
  6. package/dist/cdn/{QPFJHO6Q.js → 2UUPIIJ2.js} +2 -2
  7. package/dist/cdn/{JDTYQCZK.js → 3JRMNN7J.js} +2 -2
  8. package/dist/cdn/{JV24GCAP.js → 3PIZQW3M.js} +2 -2
  9. package/dist/cdn/{Y5DTQNYQ.js → 3TK75HC6.js} +2 -2
  10. package/dist/cdn/{BRHFFFB6.js → 4GXYTGZZ.js} +1 -1
  11. package/dist/cdn/{PQBBBIQU.js → 4MRPFB2F.js} +2 -2
  12. package/dist/cdn/{4XMBZYKO.js → 4O62D3XH.js} +2 -2
  13. package/dist/cdn/{WY2EGIGS.js → 4WF35OVZ.js} +2 -2
  14. package/dist/cdn/{6EE4JJ2I.js → 544SB4EK.js} +2 -2
  15. package/dist/cdn/{VXVE4ZXP.js → 54VGZGQT.js} +2 -2
  16. package/dist/cdn/{ZAORUVUH.js → 5AZ345NY.js} +2 -2
  17. package/dist/cdn/{CWRD56OW.js → 5DVI4EBY.js} +2 -2
  18. package/dist/cdn/{F3DQMWJ6.js → 5ZZR2J6N.js} +2 -2
  19. package/dist/cdn/{CQMPO2FO.js → 64ECRPXA.js} +2 -2
  20. package/dist/cdn/{D4UC6YNK.js → 6CDNOZQF.js} +2 -2
  21. package/dist/cdn/{TNVEJWIO.js → 6SCGGHDS.js} +2 -2
  22. package/dist/cdn/{H34JBL4Z.js → 7LOOJUA4.js} +2 -2
  23. package/dist/cdn/{DWMAF3AB.js → 7Q2LH4TM.js} +2 -2
  24. package/dist/cdn/{KXYEAIS4.js → 7X5UWWAM.js} +2 -2
  25. package/dist/cdn/{6K7QBAMI.js → A2GEUHD7.js} +2 -2
  26. package/dist/cdn/{3W2WGUDP.js → AIJ5QKVL.js} +1 -1
  27. package/dist/cdn/{XFRS3WPC.js → BMYPLHTO.js} +2 -2
  28. package/dist/cdn/{EGAU2GAK.js → BNUZVD5L.js} +2 -2
  29. package/dist/cdn/{OYUETUJJ.js → BOBGF74Z.js} +2 -2
  30. package/dist/cdn/{VIDQXKDI.js → CEY2DMIN.js} +2 -2
  31. package/dist/cdn/{CV25FGWS.js → CQG33CHS.js} +2 -2
  32. package/dist/cdn/{OYIZFWCL.js → CY2ZUEMG.js} +2 -2
  33. package/dist/cdn/{67UXLU2S.js → DB2RVFYE.js} +2 -2
  34. package/dist/cdn/{WG47QYRW.js → DCAIQVAC.js} +2 -2
  35. package/dist/cdn/{ZEVG6CNZ.js → EDF5YBMS.js} +2 -2
  36. package/dist/cdn/{HQEQV3QC.js → EE2WJOUL.js} +2 -2
  37. package/dist/cdn/{V2RJSRTT.js → EFPP35S3.js} +2 -2
  38. package/dist/cdn/{363OWKVL.js → EPS7HMFS.js} +1 -1
  39. package/dist/cdn/{RNXSFATM.js → ETTC3DDE.js} +2 -2
  40. package/dist/cdn/{HLKSYNBA.js → EZXIFOKP.js} +2 -2
  41. package/dist/cdn/{T3BMQYR2.js → FCPVKFF7.js} +2 -2
  42. package/dist/cdn/{ZUXJIOON.js → FDO7BW3M.js} +2 -2
  43. package/dist/cdn/{MFJLKVY3.js → FIIIUSQA.js} +2 -2
  44. package/dist/cdn/{4H2W5GYD.js → FIQDTOHK.js} +2 -2
  45. package/dist/cdn/{2DEASVZD.js → FIRY4NWS.js} +2 -2
  46. package/dist/cdn/{DPC4BXUO.js → FKYCCKL6.js} +2 -2
  47. package/dist/cdn/{L3OI72NI.js → G7FI7ZEJ.js} +2 -2
  48. package/dist/cdn/{JCQD3YNR.js → GTFZYBLH.js} +2 -2
  49. package/dist/cdn/{4USUAQ3M.js → H7WRFI2D.js} +2 -2
  50. package/dist/cdn/{BOZBPEOQ.js → HGHOHO2E.js} +2 -2
  51. package/dist/cdn/{W3XQBJXS.js → HHKEZDYI.js} +2 -2
  52. package/dist/cdn/{7L5XBWYD.js → HI5YGVEU.js} +2 -2
  53. package/dist/cdn/{Y3HMAR44.js → HRVDXQJH.js} +1 -1
  54. package/dist/cdn/{2ESEAIA5.js → HVHKTHJR.js} +2 -2
  55. package/dist/cdn/{SHCBXBY3.js → I4UJICTJ.js} +2 -2
  56. package/dist/cdn/{56EGKCO3.js → IDRJHSB4.js} +2 -2
  57. package/dist/cdn/{DVRWN2X3.js → INXLPBES.js} +2 -2
  58. package/dist/cdn/{JI6FC2KZ.js → IPSPJR6H.js} +2 -2
  59. package/dist/cdn/{K7UZ42V3.js → J3TNLK3O.js} +2 -2
  60. package/dist/cdn/{TG4WOIVN.js → JE6AJOV2.js} +2 -2
  61. package/dist/cdn/{RFMOKDOF.js → JEGU6LY5.js} +2 -2
  62. package/dist/cdn/{PPUKTTQ3.js → JPHNAFYX.js} +2 -2
  63. package/dist/cdn/{XUU76GOK.js → JWHVUXI7.js} +2 -2
  64. package/dist/cdn/{Z5HH6M3E.js → JXEJ2FDT.js} +2 -2
  65. package/dist/cdn/{V45UQX3A.js → K667RV3F.js} +2 -2
  66. package/dist/cdn/{VQD7JRM4.js → KHHWOKDH.js} +2 -2
  67. package/dist/cdn/{TJN54QWM.js → KWXFVL5O.js} +2 -2
  68. package/dist/cdn/{N4BQ2M5C.js → LB4FJL6Z.js} +2 -2
  69. package/dist/cdn/{V4COQWPL.js → LNC2FBRF.js} +2 -2
  70. package/dist/cdn/{GOEEX3IG.js → LX2VKBL5.js} +2 -2
  71. package/dist/cdn/{LXPDH2BL.js → LZ4SDJU4.js} +2 -2
  72. package/dist/cdn/{LEGQAMIG.js → M42LA7QJ.js} +2 -2
  73. package/dist/cdn/{QSM7LMGZ.js → MHF4R4QG.js} +2 -2
  74. package/dist/cdn/{5YG75FR4.js → MHXI4R7Q.js} +1 -1
  75. package/dist/cdn/{YPOT4P5O.js → MT6FGRRO.js} +2 -2
  76. package/dist/cdn/{LUJBBH5J.js → MTJFO22N.js} +2 -2
  77. package/dist/cdn/{6X6BDLCA.js → MWH2P5CL.js} +2 -2
  78. package/dist/cdn/{5VXQTBEA.js → MWRQZLPR.js} +2 -2
  79. package/dist/cdn/{O7ZKXOTB.js → MZJOI5UH.js} +2 -2
  80. package/dist/cdn/{ALUNHIFF.js → O2E4MNME.js} +2 -2
  81. package/dist/cdn/{MT5RQBAH.js → O7NRUX5I.js} +2 -2
  82. package/dist/cdn/{SLDQ2YZY.js → OLDX3JZA.js} +2 -2
  83. package/dist/cdn/{N2AWMIHG.js → OMQCMWFC.js} +2 -2
  84. package/dist/cdn/{BKWCCZ53.js → OQ4Q4IIJ.js} +2 -2
  85. package/dist/cdn/{M3YHSP3I.js → OSKGVTTW.js} +2 -2
  86. package/dist/cdn/{NFP7KMGH.js → OVXJMGHR.js} +2 -2
  87. package/dist/cdn/{ZS3C5VPV.js → P2BRHVAB.js} +2 -2
  88. package/dist/cdn/{RURKZO7X.js → PQ3OUY5L.js} +2 -2
  89. package/dist/cdn/{WQJO5G7X.js → PVTCJ67N.js} +2 -2
  90. package/dist/cdn/{4IQYTQIS.js → QIELYIFC.js} +2 -2
  91. package/dist/cdn/{4QRBF4FC.js → RC2PKLFD.js} +2 -2
  92. package/dist/cdn/{NNWDJSAH.js → RLYPTZW6.js} +2 -2
  93. package/dist/cdn/{46FOHP5W.js → RNMVFT5P.js} +1 -1
  94. package/dist/cdn/{S2O5QLCT.js → RRJG3CW4.js} +2 -2
  95. package/dist/cdn/{WUICCK44.js → RZWKYMUH.js} +2 -2
  96. package/dist/cdn/{FGMM6TLQ.js → SRXUA5WQ.js} +2 -2
  97. package/dist/cdn/{7AXRMMLJ.js → T5RGPAAI.js} +2 -2
  98. package/dist/cdn/{ZHMO3DWS.js → TEBWJ3I7.js} +2 -2
  99. package/dist/cdn/{HJBXOC2I.js → TISZTZQL.js} +2 -2
  100. package/dist/cdn/{JLCRXIKZ.js → UF2KELUQ.js} +2 -2
  101. package/dist/cdn/{XRRL7PHW.js → UF5A7HCA.js} +2 -2
  102. package/dist/cdn/{ZDO5M5ZH.js → UKUTVSTC.js} +2 -2
  103. package/dist/cdn/{C2GRKYPA.js → UKX6JNY3.js} +2 -2
  104. package/dist/cdn/{SWDKYZ6Z.js → UPUPF3OI.js} +2 -2
  105. package/dist/cdn/{72K6PTPA.js → V32WTVMP.js} +1 -1
  106. package/dist/cdn/{46NE5CD2.js → V5FW6B4I.js} +2 -2
  107. package/dist/cdn/{MZ4A2RS4.js → VF2Y76QB.js} +2 -2
  108. package/dist/cdn/{TRPGUDFV.js → W425S3CR.js} +2 -2
  109. package/dist/cdn/{TXZALV35.js → WE4HRX3B.js} +2 -2
  110. package/dist/cdn/{GKQV3GV7.js → X7HXAK7T.js} +2 -2
  111. package/dist/cdn/{Z5JQ33M4.js → XBWRLYN4.js} +2 -2
  112. package/dist/cdn/{46DOZMHG.js → XIHWMEJG.js} +2 -2
  113. package/dist/cdn/{U2HHRTN2.js → YGTIT746.js} +2 -2
  114. package/dist/cdn/{Y5TCYX4Y.js → YJLPPO4D.js} +2 -2
  115. package/dist/cdn/{REMEYP6N.js → YTVNHZ2T.js} +2 -2
  116. package/dist/cdn/{6Z56X76F.js → YZO4MONH.js} +2 -2
  117. package/dist/cdn/{5R5OWXAQ.js → Z5OKVV3T.js} +2 -2
  118. package/dist/cdn/{LP4I37RY.js → ZFZIGRGE.js} +1 -1
  119. package/dist/cdn/{MSKYKJCN.js → ZPQ7DJV3.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.js +1 -1
  169. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  170. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  171. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  172. package/dist/components/arcgis-legend/customElement.js +1 -1
  173. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  174. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  175. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  176. package/dist/components/arcgis-locate/customElement.js +1 -1
  177. package/dist/components/arcgis-map/customElement.js +1 -1
  178. package/dist/components/arcgis-measurement/customElement.js +1 -1
  179. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  180. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  181. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  182. package/dist/components/arcgis-placement/customElement.js +1 -1
  183. package/dist/components/arcgis-print/customElement.js +1 -1
  184. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  185. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  186. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  187. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  188. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  189. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  190. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  191. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  192. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  193. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  194. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  195. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  196. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  197. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  198. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  199. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  200. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  201. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  202. package/dist/components/arcgis-scene/customElement.js +1 -1
  203. package/dist/components/arcgis-search/customElement.js +1 -1
  204. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  205. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  206. package/dist/components/arcgis-sketch/customElement.js +1 -1
  207. package/dist/components/arcgis-slice/customElement.js +1 -1
  208. package/dist/components/arcgis-slider/customElement.js +1 -1
  209. package/dist/components/arcgis-swipe/customElement.js +1 -1
  210. package/dist/components/arcgis-table-list/customElement.js +1 -1
  211. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  212. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  213. package/dist/components/arcgis-track/customElement.js +1 -1
  214. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  215. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  216. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  217. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  218. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  219. package/dist/components/arcgis-version-management/customElement.js +1 -1
  220. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  221. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  222. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  223. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  224. package/dist/components/arcgis-video/customElement.js +1 -1
  225. package/dist/components/arcgis-video-player/customElement.js +1 -1
  226. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  227. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  228. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  229. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  230. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  231. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  232. package/dist/components/arcgis-weather/customElement.js +1 -1
  233. package/dist/components/arcgis-zoom/customElement.js +1 -1
  234. package/dist/docs/api.json +2 -2
  235. package/dist/docs/docs.json +2 -2
  236. package/dist/docs/web-types.json +1 -1
  237. package/dist/index.js +1 -1
  238. package/dist/loader.js +1 -1
  239. package/package.json +3 -3
@@ -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.3 */
3
+ v4.34.0-next.5 */
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.3 */
4
- import{a as P,b as N}from"./PQBBBIQU.js";import c from"./N4BQ2M5C.js";import{a as C}from"./T3BMQYR2.js";import b from"./W3XQBJXS.js";import a from"./ZDO5M5ZH.js";import"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as f,D as E,O as S,P as L,T as _,i as w,j as d,o as V}from"./5YG75FR4.js";export default $arcgis.t(([{once:$,watch:U},T,,,y])=>{var O=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,R=y(T),k="map-components:version-management",u=class extends S{constructor(){super(...arguments),this.flowElement=P(),this.messages=C({blocking:!0}),this.viewModel=R(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=O}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){$(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[U(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:s}=this,t=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){t&&this._removeVersionPropertiesFlowItem(i),s&&this._removeVersionListFlowItem(i);return}s&&(s.versionListElementProps={...s.versionListElementProps,executionError:this.viewModel.executionError},s.versionListElementProps={...s.versionListElementProps,state:e}),t&&(t.versionPropertiesElementProps={...t.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:s,viewModel:t,viewModel:{state:n}}=this,o={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:s}=this,{alterVersionParameters:t}=e.detail;await s.alterVersion(t).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:s}=this,{createVersionParameters:t,switchToVersion:n}=e.detail;s.createVersion(t).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),n&&await this.viewModel.changeVersion(t.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)})}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:s}=this,{url:t,name:n}=e,o=s.versioningStateLookup.get(t);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${t}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(t,!0),new Error(`${k} - version ${n} not found in the versioning state for feature service ${t}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&s.changeVersion(t,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:t}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(s,t);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:s,viewModel:t}=this;if(i){let n=await t.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},initialVersionInfos:t,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,F=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),b=m!=="disabled"?F.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:v.advancedEditingUserTypeExtensionLookup.get(l.url),heading:o,initialVersionInfos:t,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{s&&(this._removeVersionListFlowItem(s),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,A=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"component-container-flow")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${A}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${b}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};_("arcgis-version-management",u);return u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
3
+ v4.34.0-next.5 */
4
+ import{a as P,b as N}from"./4MRPFB2F.js";import c from"./LB4FJL6Z.js";import{a as C}from"./FCPVKFF7.js";import b from"./HHKEZDYI.js";import a from"./UKUTVSTC.js";import"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as f,D as E,O as S,P as L,T as _,i as w,j as d,o as V}from"./MHXI4R7Q.js";export default $arcgis.t(([{once:$,watch:U},T,,,y])=>{var O=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,R=y(T),k="map-components:version-management",u=class extends S{constructor(){super(...arguments),this.flowElement=P(),this.messages=C({blocking:!0}),this.viewModel=R(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=O}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){$(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[U(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:s}=this,t=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){t&&this._removeVersionPropertiesFlowItem(i),s&&this._removeVersionListFlowItem(i);return}s&&(s.versionListElementProps={...s.versionListElementProps,executionError:this.viewModel.executionError},s.versionListElementProps={...s.versionListElementProps,state:e}),t&&(t.versionPropertiesElementProps={...t.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:s,viewModel:t,viewModel:{state:n}}=this,o={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:s}=this,{alterVersionParameters:t}=e.detail;await s.alterVersion(t).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:s}=this,{createVersionParameters:t,switchToVersion:n}=e.detail;s.createVersion(t).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),n&&await this.viewModel.changeVersion(t.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)})}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:s}=this,{url:t,name:n}=e,o=s.versioningStateLookup.get(t);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${t}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(t,!0),new Error(`${k} - version ${n} not found in the versioning state for feature service ${t}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&s.changeVersion(t,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:t}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(s,t);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:s,viewModel:t}=this;if(i){let n=await t.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},initialVersionInfos:t,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,F=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),b=m!=="disabled"?F.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:v.advancedEditingUserTypeExtensionLookup.get(l.url),heading:o,initialVersionInfos:t,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{s&&(this._removeVersionListFlowItem(s),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,A=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"component-container-flow")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${A}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${b}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};_("arcgis-version-management",u);return u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import f from"./OYIZFWCL.js";import c from"./W3XQBJXS.js";import b from"./ZDO5M5ZH.js";import{e as o}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as e,D as s,O as a,T as d,i}from"./5YG75FR4.js";export default $arcgis.t(([n,,,h])=>{var r=i`@layer{arcgis-attachments{display:block}}`,l=h(n),t=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=o()("submitting","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};d("arcgis-attachments",t);return t},"widgets/Attachments",b,c,f)
3
+ v4.34.0-next.5 */
4
+ 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 s,O as a,T as d,i}from"./MHXI4R7Q.js";export default $arcgis.t(([n,,,h])=>{var r=i`@layer{arcgis-attachments{display:block}}`,l=h(n),t=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=o()("submitting","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};d("arcgis-attachments",t);return t},"widgets/Attachments",b,c,f)
@@ -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.3 */
4
- import d from"./OYIZFWCL.js";import c from"./W3XQBJXS.js";import b from"./ZDO5M5ZH.js";import{e as n}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as s,D as o,O as a,T as l,i}from"./5YG75FR4.js";export default $arcgis.t(([g,,,r])=>{var d=i`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends a{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=n()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};l("arcgis-editor",t);return t},"widgets/Editor",b,c,d)
3
+ v4.34.0-next.5 */
4
+ import d from"./CY2ZUEMG.js";import c from"./HHKEZDYI.js";import b from"./UKUTVSTC.js";import{e as n}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as s,D as o,O as a,T as l,i}from"./MHXI4R7Q.js";export default $arcgis.t(([g,,,r])=>{var d=i`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends a{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=n()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};l("arcgis-editor",t);return t},"widgets/Editor",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.3 */
4
- import{D as o,O as d,T as p,j as r}from"./5YG75FR4.js";export default $arcgis.t(([{watch:c}])=>{function u(n,i,t,e){if(t==null||e==null)return{height:0,width:0};let a=t/i,s=e/i;return{width:Math.round(n*a),height:Math.round(n*s)}}var h=class extends d{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.dpi,i=>this._dpi=i<=0?1:i,{initial:!0})])}_handleDPIChange(i){let t=this.viewModel.templateOptions,e=t.dpi,a=Number(i.target.value),{height:s,width:l}=u(a,e,t.width,t.height);t.dpi=a,t.height=s,t.width=l}render(){return r`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};p("arcgis-print-dpi-input",h);return h},"core/reactiveUtils")
3
+ v4.34.0-next.5 */
4
+ import{D as o,O as d,T as p,j as r}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:c}])=>{function u(n,i,t,e){if(t==null||e==null)return{height:0,width:0};let a=t/i,s=e/i;return{width:Math.round(n*a),height:Math.round(n*s)}}var h=class extends d{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.dpi,i=>this._dpi=i<=0?1:i,{initial:!0})])}_handleDPIChange(i){let t=this.viewModel.templateOptions,e=t.dpi,a=Number(i.target.value),{height:s,width:l}=u(a,e,t.width,t.height);t.dpi=a,t.height=s,t.width=l}render(){return r`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};p("arcgis-print-dpi-input",h);return h},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import{O as s,P as n,T as a,i,j as e}from"./5YG75FR4.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.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};
@@ -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.3 */
4
- import d from"./OYIZFWCL.js";import c from"./W3XQBJXS.js";import b from"./ZDO5M5ZH.js";import{e as r}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as i,D as s,O as a,T as o,i as e}from"./5YG75FR4.js";export default $arcgis.t(([c,,,n])=>{var h=e`@layer{arcgis-measurement{display:block}}`,l=n(c),t=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=r()("activeTool","state"),this.arcgisReady=i()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",t);return t},"widgets/Measurement",b,c,d)
3
+ v4.34.0-next.5 */
4
+ import d from"./CY2ZUEMG.js";import c from"./HHKEZDYI.js";import b from"./UKUTVSTC.js";import{e as r}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as i,D as s,O as a,T as o,i as e}from"./MHXI4R7Q.js";export default $arcgis.t(([c,,,n])=>{var h=e`@layer{arcgis-measurement{display:block}}`,l=n(c),t=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=r()("activeTool","state"),this.arcgisReady=i()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",t);return t},"widgets/Measurement",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.3 */
4
- import a from"./Y3HMAR44.js";import{a as c}from"./TG4WOIVN.js";import"./ZAORUVUH.js";import"./MFJLKVY3.js";import{O as i,T as l,i as s,j as t}from"./5YG75FR4.js";export default $arcgis.t(([{watch:p},{g:o}])=>{var n=s`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=c("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,saveAsButtonCallback:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1,arcgisSubmit:0,arcgisComplete:0}}static{this.styles=n}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>p(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!o(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:r})=>r==="pending");return t`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",a)
3
+ v4.34.0-next.5 */
4
+ import a from"./HRVDXQJH.js";import{a as c}from"./JE6AJOV2.js";import"./5AZ345NY.js";import"./FIIIUSQA.js";import{O as i,T as l,i as s,j as t}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:p},{g:o}])=>{var n=s`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=c("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,saveAsButtonCallback:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1,arcgisSubmit:0,arcgisComplete:0}}static{this.styles=n}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>p(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!o(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:r})=>r==="pending");return t`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`}};l("arcgis-print-main-panel",a);return a},"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.3 */
4
- import{b as h,c}from"./3W2WGUDP.js";import j from"./F3DQMWJ6.js";import i from"./5R5OWXAQ.js";import"./LP4I37RY.js";import e from"./N4BQ2M5C.js";import{a as $}from"./T3BMQYR2.js";import{a as p}from"./363OWKVL.js";import d from"./W3XQBJXS.js";import a from"./ZDO5M5ZH.js";import{e as M}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as w,D as f,O as D,P as b,R as O,T as m,i as g,j as v}from"./5YG75FR4.js";export default $arcgis.t(([z,{isAboveGeodesicDistanceThreshold:A},{getDefaultUnitForView:S},{property:o,subclass:_},{watch:V},,,U,,L])=>{var x=g`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?E(t,s):t,l=e.length-1,d;l>=0;l--)(d=e[l])&&(a=(r?d(t,s,a):d(a))||a);return r&&a&&C(t,s,a),a},i=class extends L{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(V(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,t=e?.mode??"euclidean";if(!this.analysis.valid)return{mode:t,directDistance:c(void 0),horizontalDistance:c(void 0),verticalDistance:c(void 0)};let s=e?.directDistance,r=s!=null&&A(s);return{mode:t??"euclidean",directDistance:c(r?void 0:s),horizontalDistance:c(e?.horizontalDistance),verticalDistance:c(e?.verticalDistance)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>h.includes(t));return e&&e.length>0?e:h.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new z}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([_("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],i);var R="arcgis-direct-line-measurement-3d",T={base:R},k=U(i),u=class extends D{constructor(){super(...arguments),this.viewModel=k(this),this.messages=$({name:"directline-measurement-3d",blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-line",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=w()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:1,unit:1,unitOptions:0}}static{this.shadowRootOptions=f}static{this.styles=x}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){await this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:d}=a;return v`<div aria-label=${t.componentLabel??O} class=${b({[T.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.direct,measurement:l.directDistance},{title:t.horizontal,measurement:l.horizontalDistance},{title:t.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${P=>{this.unit=P.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}},y=class extends u{constructor(){super(),console.warn('arcgis-directline-measurement-3d - this component is deprecated. Use the "arcgis-direct-line-measurement-3d" component instead.')}};m("arcgis-direct-line-measurement-3d",u);m("arcgis-directline-measurement-3d",y);return{ArcgisDirectLineMeasurement3d:u,DeprecatedArcgisDirectLineMeasurement3d:y}},"analysis/DirectLineMeasurementAnalysis","applications/Components/analysisUtils","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
3
+ v4.34.0-next.5 */
4
+ import{b as h,c}from"./AIJ5QKVL.js";import j from"./5ZZR2J6N.js";import i from"./Z5OKVV3T.js";import"./ZFZIGRGE.js";import e from"./LB4FJL6Z.js";import{a as $}from"./FCPVKFF7.js";import{a as p}from"./EPS7HMFS.js";import d from"./HHKEZDYI.js";import a from"./UKUTVSTC.js";import{e as M}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as w,D as f,O as D,P as b,R as O,T as m,i as g,j as v}from"./MHXI4R7Q.js";export default $arcgis.t(([z,{isAboveGeodesicDistanceThreshold:A},{getDefaultUnitForView:S},{property:o,subclass:_},{watch:V},,,U,,L])=>{var x=g`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?E(t,s):t,l=e.length-1,d;l>=0;l--)(d=e[l])&&(a=(r?d(t,s,a):d(a))||a);return r&&a&&C(t,s,a),a},i=class extends L{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(V(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,t=e?.mode??"euclidean";if(!this.analysis.valid)return{mode:t,directDistance:c(void 0),horizontalDistance:c(void 0),verticalDistance:c(void 0)};let s=e?.directDistance,r=s!=null&&A(s);return{mode:t??"euclidean",directDistance:c(r?void 0:s),horizontalDistance:c(e?.horizontalDistance),verticalDistance:c(e?.verticalDistance)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>h.includes(t));return e&&e.length>0?e:h.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new z}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([_("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],i);var R="arcgis-direct-line-measurement-3d",T={base:R},k=U(i),u=class extends D{constructor(){super(...arguments),this.viewModel=k(this),this.messages=$({name:"directline-measurement-3d",blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-line",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=w()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:1,unit:1,unitOptions:0}}static{this.shadowRootOptions=f}static{this.styles=x}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){await this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:d}=a;return v`<div aria-label=${t.componentLabel??O} class=${b({[T.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.direct,measurement:l.directDistance},{title:t.horizontal,measurement:l.horizontalDistance},{title:t.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${P=>{this.unit=P.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}},y=class extends u{constructor(){super(),console.warn('arcgis-directline-measurement-3d - this component is deprecated. Use the "arcgis-direct-line-measurement-3d" component instead.')}};m("arcgis-direct-line-measurement-3d",u);m("arcgis-directline-measurement-3d",y);return{ArcgisDirectLineMeasurement3d:u,DeprecatedArcgisDirectLineMeasurement3d:y}},"analysis/DirectLineMeasurementAnalysis","applications/Components/analysisUtils","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,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.3 */
4
- import{O as t,P as e,T as d,i as l,j as c}from"./5YG75FR4.js";var p=l`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`,o="arcgis-video-player",i={progress:`${o}__progress`,slider:`${o}__slider`,sliderProgressContainer:`${o}__slider-progress-container`},a=class extends t{static{this.properties={viewModel:0,buffered:9,value:9}}static{this.styles=p}_onSliderInput({currentTarget:r}){if(typeof r.value=="number"){let s=r.value*this.viewModel.duration/100;this.viewModel.seekTo(s)}}render(){let{value:r,buffered:s}=this;return c`<div class=${e(i.sliderProgressContainer)}><progress class=${e(i.progress)} max=1 .value=${`${s}`}></progress><div class=${e(i.slider)}><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};d("arcgis-video-player-slider",a);export{a as VideoPlayerSlider};
3
+ v4.34.0-next.5 */
4
+ import{O as t,P as e,T as d,i as l,j as c}from"./MHXI4R7Q.js";var p=l`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`,o="arcgis-video-player",i={progress:`${o}__progress`,slider:`${o}__slider`,sliderProgressContainer:`${o}__slider-progress-container`},a=class extends t{static{this.properties={viewModel:0,buffered:9,value:9}}static{this.styles=p}_onSliderInput({currentTarget:r}){if(typeof r.value=="number"){let s=r.value*this.viewModel.duration/100;this.viewModel.seekTo(s)}}render(){let{value:r,buffered:s}=this;return c`<div class=${e(i.sliderProgressContainer)}><progress class=${e(i.progress)} max=1 .value=${`${s}`}></progress><div class=${e(i.slider)}><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};d("arcgis-video-player-slider",a);export{a as VideoPlayerSlider};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import d from"./OYIZFWCL.js";import c from"./W3XQBJXS.js";import b from"./ZDO5M5ZH.js";import{e as a}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as i,D as s,O as o,T as r,i as e}from"./5YG75FR4.js";export default $arcgis.t(([n,,{a:l},h])=>{var c=e`@layer{arcgis-feature-templates{display:block}}`,d=h(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);return t},"widgets/FeatureTemplates",b,c,d)
3
+ v4.34.0-next.5 */
4
+ import d from"./CY2ZUEMG.js";import c from"./HHKEZDYI.js";import b from"./UKUTVSTC.js";import{e as a}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as i,D as s,O as o,T as r,i as e}from"./MHXI4R7Q.js";export default $arcgis.t(([n,,{a:l},h])=>{var c=e`@layer{arcgis-feature-templates{display:block}}`,d=h(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);return t},"widgets/FeatureTemplates",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.3 */
4
- import{D as a,O as r,T as s,j as i}from"./5YG75FR4.js";export default $arcgis.t(([{watch:o}])=>{var t=class extends r{constructor(){super(...arguments),this._showPrintAreaEnabled=!1}static{this.properties={_showPrintAreaEnabled:16,viewModel:0,messages:0}}static{this.shadowRootOptions=a}loaded(){this.manager.onLifecycle(()=>[o(()=>[this.viewModel.showPrintAreaEnabled],()=>{let{showPrintAreaEnabled:e}=this.viewModel;this._showPrintAreaEnabled=e},{initial:!0})])}render(){return i`<calcite-label layout=inline><calcite-switch .checked=${this._showPrintAreaEnabled} @calciteSwitchChange=${e=>{this.viewModel.showPrintAreaEnabled=!!e.currentTarget.checked}}></calcite-switch>${this.messages.printPreview}</calcite-label>`}};s("arcgis-print-preview-input",t);return t},"core/reactiveUtils")
3
+ v4.34.0-next.5 */
4
+ import{D as a,O as r,T as s,j as i}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:o}])=>{var t=class extends r{constructor(){super(...arguments),this._showPrintAreaEnabled=!1}static{this.properties={_showPrintAreaEnabled:16,viewModel:0,messages:0}}static{this.shadowRootOptions=a}loaded(){this.manager.onLifecycle(()=>[o(()=>[this.viewModel.showPrintAreaEnabled],()=>{let{showPrintAreaEnabled:e}=this.viewModel;this._showPrintAreaEnabled=e},{initial:!0})])}render(){return i`<calcite-label layout=inline><calcite-switch .checked=${this._showPrintAreaEnabled} @calciteSwitchChange=${e=>{this.viewModel.showPrintAreaEnabled=!!e.currentTarget.checked}}></calcite-switch>${this.messages.printPreview}</calcite-label>`}};s("arcgis-print-preview-input",t);return t},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import{D as o,O as s,T as n,j as t}from"./5YG75FR4.js";export default $arcgis.t(([{watch:p}])=>{function $(i){return i.followingMode==="none"?"circle-disallowed":i.followingMode==="follow-sensor"?"zoom-to-object":i.followingMode==="follow-frame"?"follow":"video"}var c=class extends s{constructor(){super(...arguments),this._disabled=!1}static{this.properties={_disabled:16,viewModel:0,toggleMetadata:0,messages:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.state,e=>{this._disabled=e==="not-ready"||e==="waiting"},{initial:!0})])}render(){let{viewModel:e,messages:l,_disabled:a}=this,r=t`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .label=${l.sensor} @click=${()=>{e.toggleSensorDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .label=${l.sightLine} @click=${()=>{e.toggleSensorSightLineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .label=${l.sensorTrail} @click=${()=>{e.toggleSensorTrailDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .label=${l.frameCenter} @click=${()=>{e.toggleFrameCenterDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .label=${l.frameOutline} @click=${()=>{e.toggleFrameOutlineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.toggleFrameDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${a} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`,d=t`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single-persist><calcite-list-item .label=${l.none} @click=${()=>{e.followingMode="none"}}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${()=>{e.followingMode="follow-sensor"}}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.followingMode="follow-frame"}}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${()=>{e.followingMode="follow-both"}} selected><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${a} .icon=${$(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`,m=t`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`,g=t`<calcite-action alignment=center .disabled=${a} icon=feature-details @click=${()=>this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[r,d,m,g]}</calcite-action-bar>`}};n("arcgis-video-player-controls-group",c);return c},"core/reactiveUtils")
3
+ v4.34.0-next.5 */
4
+ import{D as o,O as s,T as n,j as t}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:p}])=>{function $(i){return i.followingMode==="none"?"circle-disallowed":i.followingMode==="follow-sensor"?"zoom-to-object":i.followingMode==="follow-frame"?"follow":"video"}var c=class extends s{constructor(){super(...arguments),this._disabled=!1}static{this.properties={_disabled:16,viewModel:0,toggleMetadata:0,messages:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.state,e=>{this._disabled=e==="not-ready"||e==="waiting"},{initial:!0})])}render(){let{viewModel:e,messages:l,_disabled:a}=this,r=t`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .label=${l.sensor} @click=${()=>{e.toggleSensorDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .label=${l.sightLine} @click=${()=>{e.toggleSensorSightLineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .label=${l.sensorTrail} @click=${()=>{e.toggleSensorTrailDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .label=${l.frameCenter} @click=${()=>{e.toggleFrameCenterDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .label=${l.frameOutline} @click=${()=>{e.toggleFrameOutlineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.toggleFrameDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${a} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`,d=t`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single-persist><calcite-list-item .label=${l.none} @click=${()=>{e.followingMode="none"}}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${()=>{e.followingMode="follow-sensor"}}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.followingMode="follow-frame"}}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${()=>{e.followingMode="follow-both"}} selected><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${a} .icon=${$(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`,m=t`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`,g=t`<calcite-action alignment=center .disabled=${a} icon=feature-details @click=${()=>this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[r,d,m,g]}</calcite-action-bar>`}};n("arcgis-video-player-controls-group",c);return c},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import{a as $}from"./T3BMQYR2.js";import{a as m}from"./363OWKVL.js";import b from"./ZDO5M5ZH.js";import{c as v,e as x}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as p,D as _,O as g,P as a,R as c,T as u,a as r,i as h,j as n}from"./5YG75FR4.js";export default $arcgis.t(([{when:z,watch:D},{a:f}])=>{var w=h`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},b=class extends g{constructor(){super(...arguments),this._messages=$({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=f(this),this._direction=v(),this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:s}=this;return e?this._direction==="rtl"?s==="start"?"chevrons-left":"chevrons-right":s==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),s=this._renderExpander(),l=this._renderName(),d=this._renderBadge(),o=[s,l,d];return this.expandDirection==="start"&&o.reverse(),n`<div aria-label=${this.label??c} class=${a(e)}>${o}</div>`}_renderExpander(){let e=this._getIcon();return n`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return n`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",s="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,d=this._timeZone===s,o=n`<calcite-label class=${a(r(t.label,(!this.expanded||!d)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=n`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||d)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[o,y]}};u("arcgis-time-zone-label",b);return b},"core/reactiveUtils",b)
3
+ v4.34.0-next.5 */
4
+ import{a as $}from"./FCPVKFF7.js";import{a as m}from"./EPS7HMFS.js";import b from"./UKUTVSTC.js";import{c as v,e as x}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as p,D as _,O as g,P as a,R as c,T as u,a as r,i as h,j as n}from"./MHXI4R7Q.js";export default $arcgis.t(([{when:z,watch:D},{a:f}])=>{var w=h`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},b=class extends g{constructor(){super(...arguments),this._messages=$({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=f(this),this._direction=v(),this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:s}=this;return e?this._direction==="rtl"?s==="start"?"chevrons-left":"chevrons-right":s==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),s=this._renderExpander(),l=this._renderName(),d=this._renderBadge(),o=[s,l,d];return this.expandDirection==="start"&&o.reverse(),n`<div aria-label=${this.label??c} class=${a(e)}>${o}</div>`}_renderExpander(){let e=this._getIcon();return n`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return n`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",s="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,d=this._timeZone===s,o=n`<calcite-label class=${a(r(t.label,(!this.expanded||!d)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=n`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||d)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[o,y]}};u("arcgis-time-zone-label",b);return b},"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.3 */
4
- import{D as o,O as r,T as l,j as a}from"./5YG75FR4.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.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};
@@ -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.3 */
4
- import{a as p,b as y}from"./PQBBBIQU.js";import f from"./N4BQ2M5C.js";import{a as m}from"./T3BMQYR2.js";import{a as _}from"./363OWKVL.js";import d from"./W3XQBJXS.js";import b from"./ZDO5M5ZH.js";import{e as u}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as t,D as h,O as c,P as a,T as v,a as l,i as n,j as e}from"./5YG75FR4.js";export default $arcgis.t(([$,{watch:s},,,g])=>{var b=n`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",w={base:f,videoView:`${f}__video-view`},M=g($),o=class extends c{constructor(){super(...arguments),this.messages=m({blocking:!0}),this.viewModel=M(this),this._videoViewRef=p(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=u()("state","layer"),this.arcgisReady=t(),this.arcgisVideoReady=t()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,referenceElement:1,position:3,icon:1,state:3,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=b}static{this.shadowRootOptions=h}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[s(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),s(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),s(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0})])}render(){return e`<div class=${a(l(w.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};v("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,f)
3
+ v4.34.0-next.5 */
4
+ import{a as p,b as y}from"./4MRPFB2F.js";import f from"./LB4FJL6Z.js";import{a as m}from"./FCPVKFF7.js";import{a as _}from"./EPS7HMFS.js";import d from"./HHKEZDYI.js";import b from"./UKUTVSTC.js";import{e as u}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as t,D as h,O as c,P as a,T as v,a as l,i as n,j as e}from"./MHXI4R7Q.js";export default $arcgis.t(([$,{watch:s},,,g])=>{var b=n`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",w={base:f,videoView:`${f}__video-view`},M=g($),o=class extends c{constructor(){super(...arguments),this.messages=m({blocking:!0}),this.viewModel=M(this),this._videoViewRef=p(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=u()("state","layer"),this.arcgisReady=t(),this.arcgisVideoReady=t()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,referenceElement:1,position:3,icon:1,state:3,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=b}static{this.shadowRootOptions=h}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[s(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),s(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),s(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0})])}render(){return e`<div class=${a(l(w.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};v("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,f)
@@ -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.3 */
4
- import{j as m,k as h,l as p}from"./5YG75FR4.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};
3
+ v4.34.0-next.5 */
4
+ import{j as m,k as h,l as p}from"./MHXI4R7Q.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import{b as R}from"./PQBBBIQU.js";import e from"./N4BQ2M5C.js";import{a as L}from"./T3BMQYR2.js";import{a as v}from"./363OWKVL.js";import b from"./W3XQBJXS.js";import a from"./ZDO5M5ZH.js";import"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.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"./5YG75FR4.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.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)
@@ -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.3 */
4
- import{D as n,O as o,T as l,j as i}from"./5YG75FR4.js";export default $arcgis.t(([{watch:d}])=>{var s=class extends o{static{this.properties={viewModel:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.customTextElements,()=>this.requestUpdate(),{initial:!0})])}render(){let e=this.viewModel.templateOptions.customTextElements;return e?i`<div>${e.map(c=>{let[t,r]=Object.entries(c)[0];return t==="date"?null:i`<calcite-label>${t}<calcite-input .value=${r??""} @calciteInputInput=${m=>{let a=e.find(p=>{let[u]=Object.entries(p)[0];return u===t});a&&(a[t]=m.target.value)}}></calcite-input></calcite-label>`})}</div>`:null}};l("arcgis-print-custom-text-elements",s);return s},"core/reactiveUtils")
3
+ v4.34.0-next.5 */
4
+ import{D as n,O as o,T as l,j as i}from"./MHXI4R7Q.js";export default $arcgis.t(([{watch:d}])=>{var s=class extends o{static{this.properties={viewModel:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.customTextElements,()=>this.requestUpdate(),{initial:!0})])}render(){let e=this.viewModel.templateOptions.customTextElements;return e?i`<div>${e.map(c=>{let[t,r]=Object.entries(c)[0];return t==="date"?null:i`<calcite-label>${t}<calcite-input .value=${r??""} @calciteInputInput=${m=>{let a=e.find(p=>{let[u]=Object.entries(p)[0];return u===t});a&&(a[t]=m.target.value)}}></calcite-input></calcite-label>`})}</div>`:null}};l("arcgis-print-custom-text-elements",s);return s},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
3
+ v4.34.0-next.5 */
4
4
  var e="esri-basemap-gallery",t={base:e,sourceLoading:`${e}--source-loading`,layoutGrid:`${e}--grid`,narrowItems:`${e}--narrow-items`,loader:`${e}__loader`,item:`${e}__item`,itemContainer:`${e}__item-container`,itemContent:`${e}__item-content`,itemTitle:`${e}__item-title`,itemTagsContainer:`${e}__item-tags-container`,itemThumbnail:`${e}__item-thumbnail`,selectedItem:`${e}__item--selected`,itemError:`${e}__item--error`};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.3 */
4
- import{O as o,T as n,i as s,j as t}from"./5YG75FR4.js";export default $arcgis.t(([d,{watch:v}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:i,value:c})=>t`<calcite-list-item .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} open><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?m:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);return a},"Color","core/reactiveUtils")
3
+ v4.34.0-next.5 */
4
+ import{O as o,T as n,i as s,j as t}from"./MHXI4R7Q.js";export default $arcgis.t(([d,{watch:v}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:i,value:c})=>t`<calcite-list-item .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} open><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?m:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);return a},"Color","core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.3 */
4
- import{G as s,H as i,L as o,n as r}from"./5YG75FR4.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
3
+ v4.34.0-next.5 */
4
+ import{G as s,H as i,L as o,n as r}from"./MHXI4R7Q.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c 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.3 */
4
- import{a as c,b as h,h as d,i as s}from"./72K6PTPA.js";import{A as n,D as r,O as a,T as l,i as o}from"./5YG75FR4.js";var m=o`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`,i=class extends a{constructor(){super(),this._observer=void 0,this._moveChildren=()=>{if(s(this).parentElement!==this.el)for(let t=this.el.firstElementChild;t!==null;t=this.el.firstElementChild)s(this).append(t)},this.position="bottom-left",this.arcgisReady=n();let e=this;e.el.childElem=document.createElement("div"),e.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=r}static{this.styles=m}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&d(this,this.referenceElement);let t=s(this);e.has("position")&&t&&this.position!==void 0&&this.el.view?.ui?.move(t,this.position)}loaded(){h(this),c(this)}disconnectedCallback(){super.disconnectedCallback();let e=s(this);e&&this.el.view?.ui?.remove(e),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};l("arcgis-placement",i);export{i as ArcgisPlacement};
3
+ v4.34.0-next.5 */
4
+ import{a as c,b as h,h as d,i as s}from"./V32WTVMP.js";import{A as n,D as r,O as a,T as l,i as o}from"./MHXI4R7Q.js";var m=o`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`,i=class extends a{constructor(){super(),this._observer=void 0,this._moveChildren=()=>{if(s(this).parentElement!==this.el)for(let t=this.el.firstElementChild;t!==null;t=this.el.firstElementChild)s(this).append(t)},this.position="bottom-left",this.arcgisReady=n();let e=this;e.el.childElem=document.createElement("div"),e.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=r}static{this.styles=m}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&d(this,this.referenceElement);let t=s(this);e.has("position")&&t&&this.position!==void 0&&this.el.view?.ui?.move(t,this.position)}loaded(){h(this),c(this)}disconnectedCallback(){super.disconnectedCallback();let e=s(this);e&&this.el.view?.ui?.remove(e),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};l("arcgis-placement",i);export{i as ArcgisPlacement};
@@ -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.3 */
4
- import c from"./OYIZFWCL.js";import b from"./W3XQBJXS.js";import a from"./ZDO5M5ZH.js";import{e as r}from"./ZAORUVUH.js";import"./MFJLKVY3.js";import"./72K6PTPA.js";import{A as e,D as s,O as o,T as n,i}from"./5YG75FR4.js";export default $arcgis.t(([l,,,a])=>{var g=i`@layer{arcgis-coordinate-conversion{display:block}}`,c=a(l),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=r()("currentLocation","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=s}static{this.styles=g}async destroy(){await this.manager.destroy()}async reverseConvert(h,d){return await this.widget?.reverseConvert(h,d)}};n("arcgis-coordinate-conversion",t);return t},"widgets/CoordinateConversion",a,b,c)
3
+ v4.34.0-next.5 */
4
+ import c from"./CY2ZUEMG.js";import b from"./HHKEZDYI.js";import a from"./UKUTVSTC.js";import{e as r}from"./5AZ345NY.js";import"./FIIIUSQA.js";import"./V32WTVMP.js";import{A as e,D as s,O as o,T as n,i}from"./MHXI4R7Q.js";export default $arcgis.t(([l,,,a])=>{var g=i`@layer{arcgis-coordinate-conversion{display:block}}`,c=a(l),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.conversions=this.widget.conversions,this.currentLocation=this.widget.currentLocation,this.formats=this.widget.formats,this.goToOverride=this.widget.goToOverride,this.headingLevel=this.widget.headingLevel,this.hideCaptureButton=this.widget.visibleElements.captureButton,this.hideEditButton=this.widget.visibleElements.editButton,this.hideExpandButton=this.widget.visibleElements.expandButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.icon=this.widget.icon,this.label=this.widget.label,this.locationSymbol=this.widget.locationSymbol,this.mode=this.widget.mode,this.multipleConversionsDisabled=this.widget.multipleConversions,this.orientation=this.widget.orientation,this.position="bottom-left",this.state=this.viewModel.state,this.storageDisabled=this.widget.storageEnabled,this.storageType=this.widget.storageType,this.arcgisPropertyChange=r()("currentLocation","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,conversions:0,currentLocation:0,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:5,hideEditButton:5,hideExpandButton:5,hideSettingsButton:5,icon:1,label:1,locationSymbol:0,mode:1,multipleConversionsDisabled:5,orientation:1,position:1,referenceElement:1,state:3,storageDisabled:5,storageType:1}}static{this.shadowRootOptions=s}static{this.styles=g}async destroy(){await this.manager.destroy()}async reverseConvert(h,d){return await this.widget?.reverseConvert(h,d)}};n("arcgis-coordinate-conversion",t);return t},"widgets/CoordinateConversion",a,b,c)