@arcgis/map-components 4.34.0-next.82 → 4.34.0-next.84

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 (326) hide show
  1. package/dist/cdn/{V3DJFMZK.js → 232CRHC6.js} +2 -2
  2. package/dist/cdn/{Z4ZF2ZUS.js → 23WGYESB.js} +2 -2
  3. package/dist/cdn/{OB5VXMVJ.js → 24NEX3Y7.js} +1 -1
  4. package/dist/cdn/{OORCWQML.js → 26GUQRGV.js} +2 -2
  5. package/dist/cdn/{XCMX32YQ.js → 2EUB4CGY.js} +2 -2
  6. package/dist/cdn/{DLEKJ3DU.js → 2F7KIOSX.js} +2 -2
  7. package/dist/cdn/{BITKPIL2.js → 2JQNIWCJ.js} +2 -2
  8. package/dist/cdn/{RW7PPWNF.js → 2OKEHB6N.js} +2 -2
  9. package/dist/cdn/{RJQ7PMUB.js → 3LU3HBZM.js} +2 -2
  10. package/dist/cdn/{V6IOOYTG.js → 3Y7CPOXB.js} +2 -2
  11. package/dist/cdn/{7CM6KPA7.js → 45LRT5P4.js} +2 -2
  12. package/dist/cdn/{XVDWM3BV.js → 4AGUAHSQ.js} +2 -2
  13. package/dist/cdn/{G5FJHLHE.js → 4RI4ETIP.js} +2 -2
  14. package/dist/cdn/{PUIRZ6BP.js → 4S6OK5DG.js} +2 -2
  15. package/dist/cdn/{X7QFTRFN.js → 4TEO2PRY.js} +2 -2
  16. package/dist/cdn/{C6MBE4F7.js → 4TTAF66H.js} +2 -2
  17. package/dist/cdn/{NHFZTBDW.js → 4VDVUC7E.js} +2 -2
  18. package/dist/cdn/{OQ2EYQGZ.js → 5CGXBP7C.js} +2 -2
  19. package/dist/cdn/{UQKFOXTL.js → 5E7PXCUJ.js} +2 -2
  20. package/dist/cdn/{D5Q7OOM5.js → 5M3YYCCJ.js} +1 -1
  21. package/dist/cdn/{LWBSM6MB.js → 5RSVBSB4.js} +2 -2
  22. package/dist/cdn/{VANL2DSQ.js → 64TEABK6.js} +2 -2
  23. package/dist/cdn/{3JVXFVQ6.js → 6AEKNQUX.js} +2 -2
  24. package/dist/cdn/{RSD3A2DB.js → 6EQWYTTP.js} +2 -2
  25. package/dist/cdn/{N2CXGCPA.js → 6GYQ6BON.js} +2 -2
  26. package/dist/cdn/{UVZX7UV4.js → 6K4EPHM5.js} +2 -2
  27. package/dist/cdn/{WUVHGELP.js → 6MSXFBID.js} +2 -2
  28. package/dist/cdn/{APCE47KL.js → 6QZ5I26K.js} +2 -2
  29. package/dist/cdn/{GJQFFSXZ.js → 6XPGMNLW.js} +2 -2
  30. package/dist/cdn/{IHNFJSFG.js → 7BOSZHJ5.js} +1 -1
  31. package/dist/cdn/{6IKNIWMV.js → 7FRGJSCY.js} +2 -2
  32. package/dist/cdn/{T5QPON4X.js → 7HLVD4ZX.js} +2 -2
  33. package/dist/cdn/{UPZM6OXY.js → 7JGNLYGO.js} +2 -2
  34. package/dist/cdn/{KTLRBSZP.js → 7S4K2JD6.js} +2 -2
  35. package/dist/cdn/7SPJDZKN.js +4 -0
  36. package/dist/cdn/{D4VZKYGW.js → 7TN3JLEV.js} +2 -2
  37. package/dist/cdn/{PPLZMRZF.js → 7WFVA5G5.js} +2 -2
  38. package/dist/cdn/{IX5RMGPH.js → 7Z364N4G.js} +2 -2
  39. package/dist/cdn/{Q3KLKSOA.js → A5LSARH7.js} +2 -2
  40. package/dist/cdn/{RJ6S4KXT.js → ADZRIH43.js} +2 -2
  41. package/dist/cdn/{3NRKDDGR.js → AP32EW2O.js} +2 -2
  42. package/dist/cdn/{RNL2E4DT.js → ASWFYAOY.js} +2 -2
  43. package/dist/cdn/{IZYOUSKY.js → AZMQTDZR.js} +2 -2
  44. package/dist/cdn/{IFLHB56F.js → B64E6HHO.js} +2 -2
  45. package/dist/cdn/{3PQDLGKS.js → BC6UJ4N2.js} +2 -2
  46. package/dist/cdn/{A6M6MUTB.js → BHOYRLNF.js} +2 -2
  47. package/dist/cdn/{7UHEICMT.js → BXJU3XPT.js} +2 -2
  48. package/dist/cdn/{ZO3FPPNX.js → C53AT55K.js} +2 -2
  49. package/dist/cdn/{TPTBCGNX.js → C6YDIAR7.js} +1 -1
  50. package/dist/cdn/{TVQM2ZLE.js → CAQ3IM3B.js} +2 -2
  51. package/dist/cdn/{HQB4MSUC.js → CEJ4CCVL.js} +2 -2
  52. package/dist/cdn/{MRAAZ4OB.js → CM26BC26.js} +1 -1
  53. package/dist/cdn/{ER4NBIYA.js → CRGANKZT.js} +2 -2
  54. package/dist/cdn/{VABEST6R.js → CXPHU3ZD.js} +2 -2
  55. package/dist/cdn/{EJEU5NN5.js → D3QSDDIQ.js} +2 -2
  56. package/dist/cdn/{OIPUW4EU.js → D6C4SHLF.js} +2 -2
  57. package/dist/cdn/{47S45DYF.js → DCD7V5YC.js} +2 -2
  58. package/dist/cdn/{65DA4BOI.js → DGFA5URC.js} +2 -2
  59. package/dist/cdn/{HIEX27Q4.js → DS4FFJ7Y.js} +2 -2
  60. package/dist/cdn/{GTGESCFB.js → DWIZ3UOY.js} +2 -2
  61. package/dist/cdn/{CR72YKM7.js → EFRCBMH4.js} +2 -2
  62. package/dist/cdn/{HF5UHUQT.js → EJUFWDOC.js} +2 -2
  63. package/dist/cdn/{FVWS6I6M.js → EWMBBB6B.js} +2 -2
  64. package/dist/cdn/{F5QP5G6J.js → EZ4TCJSF.js} +2 -2
  65. package/dist/cdn/{6QQG7EC5.js → F4RZVTJI.js} +2 -2
  66. package/dist/cdn/{IQBEGZTS.js → FAGHR3FR.js} +2 -2
  67. package/dist/cdn/{FKJCWEJ7.js → FL47AMYT.js} +2 -2
  68. package/dist/cdn/{ROL5ZOIU.js → FRLIDQPN.js} +2 -2
  69. package/dist/cdn/{652MIXNT.js → FURUQPWU.js} +2 -2
  70. package/dist/cdn/{SAHPTLBN.js → FWNJUGLK.js} +2 -2
  71. package/dist/cdn/{OQY3FQP2.js → G75FGGDO.js} +2 -2
  72. package/dist/cdn/{WLYI3TAK.js → G7S3LLNW.js} +2 -2
  73. package/dist/cdn/{HUGDLIEY.js → GASWXY3P.js} +1 -1
  74. package/dist/cdn/{OQ24FE22.js → GJYGVCLJ.js} +2 -2
  75. package/dist/cdn/{N6SQRMXN.js → GLEAGENQ.js} +2 -2
  76. package/dist/cdn/{IF24FLE4.js → GPPKUJOT.js} +2 -2
  77. package/dist/cdn/{Z6KEOCPS.js → GPTKSV4G.js} +2 -2
  78. package/dist/cdn/{X4CRG4AE.js → HCP4IDAE.js} +2 -2
  79. package/dist/cdn/{P6NSSPPA.js → HEZUKRJM.js} +2 -2
  80. package/dist/cdn/{R7KDBKGP.js → HJKFW4N6.js} +2 -2
  81. package/dist/cdn/{ZVHBX5TF.js → HLJGXZOJ.js} +1 -1
  82. package/dist/cdn/{KAPWKWB7.js → HQJRWFKC.js} +2 -2
  83. package/dist/cdn/{DGUIJIZS.js → HRW62B52.js} +2 -2
  84. package/dist/cdn/{VTJTK2M5.js → HXNJA4UP.js} +2 -2
  85. package/dist/cdn/{6NHPI7V6.js → HYZRYJUU.js} +2 -2
  86. package/dist/cdn/{IAYOYUTR.js → IK3UYVLU.js} +2 -2
  87. package/dist/cdn/{CJKNH57C.js → ILXTQAS3.js} +2 -2
  88. package/dist/cdn/{G43B4S4U.js → ISHC7OXZ.js} +2 -2
  89. package/dist/cdn/{5CXS2AHI.js → ITM2MOND.js} +2 -2
  90. package/dist/cdn/{PCRKOXRG.js → IURCXMZZ.js} +1 -1
  91. package/dist/cdn/{DS6PNYKR.js → IZELRSDH.js} +2 -2
  92. package/dist/cdn/{NHAVSW6Y.js → JBYVGVMK.js} +2 -2
  93. package/dist/cdn/{ISNBJPXE.js → JF54DI7Y.js} +2 -2
  94. package/dist/cdn/{7VTWMQBU.js → JGHP7SL2.js} +2 -2
  95. package/dist/cdn/{RBSXTNWF.js → JHUNJ4LQ.js} +2 -2
  96. package/dist/cdn/{WRX3EH36.js → JLTPTPZ3.js} +2 -2
  97. package/dist/cdn/{MRLUYOPW.js → JN5JR5S3.js} +2 -2
  98. package/dist/cdn/{LB3FI7TS.js → JQATLKQH.js} +2 -2
  99. package/dist/cdn/{FMS42Z4O.js → JUT7YYHK.js} +2 -2
  100. package/dist/cdn/{OTWO453Z.js → JXNZ74OZ.js} +2 -2
  101. package/dist/cdn/{V4PFZEBE.js → KPBGC4RY.js} +2 -2
  102. package/dist/cdn/{RYQR6OXS.js → L6E7NIPN.js} +2 -2
  103. package/dist/cdn/{O4N6LC5G.js → LA6LQBPG.js} +2 -2
  104. package/dist/cdn/{3FDQFT7I.js → LKFHK63R.js} +2 -2
  105. package/dist/cdn/{T37MHY3Z.js → LQMZFQWI.js} +2 -2
  106. package/dist/cdn/{LK3FAPLH.js → LX4EUQUL.js} +2 -2
  107. package/dist/cdn/{KWFMTBGP.js → M6OIXH2G.js} +2 -2
  108. package/dist/cdn/{UQOGSTVD.js → MAJMWKW4.js} +2 -2
  109. package/dist/cdn/{NFB557OF.js → MH5SNRNN.js} +2 -2
  110. package/dist/cdn/{X5L7W2BB.js → MHOGANUT.js} +2 -2
  111. package/dist/cdn/{7UG664FM.js → MPJNMK3U.js} +2 -2
  112. package/dist/cdn/{6VLL67YV.js → NE7QPCCC.js} +2 -2
  113. package/dist/cdn/{4N2MNI23.js → NFFR77CU.js} +2 -2
  114. package/dist/cdn/{NMTKV22S.js → NI3CBZRO.js} +2 -2
  115. package/dist/cdn/{GP4YQOUE.js → NJODPRA4.js} +2 -2
  116. package/dist/cdn/{SJI32NR2.js → NSLZXIWD.js} +2 -2
  117. package/dist/cdn/{QKHDMOT5.js → NXUYJMIL.js} +2 -2
  118. package/dist/cdn/{KFRSXPOV.js → O7S27XRJ.js} +2 -2
  119. package/dist/cdn/{4OASSN2D.js → OAITCB3R.js} +2 -2
  120. package/dist/cdn/{GZMOB32V.js → OFQLT2GH.js} +2 -2
  121. package/dist/cdn/{BEZPUIR2.js → OZPURQE6.js} +2 -2
  122. package/dist/cdn/{ODZRWU6Z.js → P4ULOKF7.js} +2 -2
  123. package/dist/cdn/{F67LI4GN.js → P66NWRZP.js} +2 -2
  124. package/dist/cdn/{CGOXOGU3.js → PC6LJH2T.js} +2 -2
  125. package/dist/cdn/{B23JERJX.js → PENPSZ7S.js} +2 -2
  126. package/dist/cdn/{HVSXKWRE.js → PKN2DQJO.js} +2 -2
  127. package/dist/cdn/{FPRIAU7Q.js → PNJKAY7C.js} +2 -2
  128. package/dist/cdn/{FLAGOGDW.js → PZJPDWJG.js} +2 -2
  129. package/dist/cdn/{T57D5E5T.js → Q6OLEDUI.js} +2 -2
  130. package/dist/cdn/{EZK6K3D3.js → QHMLVZU4.js} +2 -2
  131. package/dist/cdn/{HACVGFG2.js → QK4TIUWA.js} +2 -2
  132. package/dist/cdn/{UUUYJQ2Z.js → QMAMFGZT.js} +2 -2
  133. package/dist/cdn/{67JIGZ6E.js → QTULZEJN.js} +2 -2
  134. package/dist/cdn/{NLESRAB6.js → R3IJHOJ2.js} +2 -2
  135. package/dist/cdn/{IADIBGFP.js → R42ULVLO.js} +2 -2
  136. package/dist/cdn/{3UNQLL5E.js → RFQ5IBTO.js} +2 -2
  137. package/dist/cdn/{GIYMG2OB.js → RJ35VEEE.js} +2 -2
  138. package/dist/cdn/ROELMA67.js +4 -0
  139. package/dist/cdn/{ANCQVLYI.js → RVJ6676Y.js} +2 -2
  140. package/dist/cdn/{6BM4GW3D.js → S2GVWZSC.js} +2 -2
  141. package/dist/cdn/{IDSMYLU5.js → SB3ZO3IT.js} +2 -2
  142. package/dist/cdn/{3FIQ2YIQ.js → SDH7EBRL.js} +2 -2
  143. package/dist/cdn/{NJ5AR6K3.js → SLGTFILN.js} +2 -2
  144. package/dist/cdn/{XSQPTAW4.js → SYSTXODR.js} +2 -2
  145. package/dist/cdn/{MN7326KW.js → T2VI5KT5.js} +2 -2
  146. package/dist/cdn/{J3AGJMYT.js → TTYTWAGN.js} +2 -2
  147. package/dist/cdn/{SS76GCVN.js → U2MOTEUI.js} +1 -1
  148. package/dist/cdn/{EHOPL5ZD.js → UCSAA3A3.js} +2 -2
  149. package/dist/cdn/{R4QO4Z55.js → UEQD4UJN.js} +2 -2
  150. package/dist/cdn/{ATKZANUS.js → VN3YG32O.js} +2 -2
  151. package/dist/cdn/{QC3QMZ45.js → VSESTHD5.js} +1 -1
  152. package/dist/cdn/{BXZYIKGZ.js → W2FH3RJ3.js} +2 -2
  153. package/dist/cdn/{ESN4FTND.js → W4XRVQ3C.js} +1 -1
  154. package/dist/cdn/{VATCKQYA.js → W4ZSERX3.js} +2 -2
  155. package/dist/cdn/{P5X3V7M7.js → W6MFLVFU.js} +2 -2
  156. package/dist/cdn/{XGD2J4VZ.js → WEPDYP3E.js} +2 -2
  157. package/dist/cdn/{KETVONDB.js → WID5YSYF.js} +2 -2
  158. package/dist/cdn/{VMQTX4MG.js → WM2UXGGO.js} +2 -2
  159. package/dist/cdn/{LZJQ2FJM.js → WMVFASS3.js} +2 -2
  160. package/dist/cdn/{KAMPN4Z3.js → WOH45O47.js} +2 -2
  161. package/dist/cdn/{WMO3F6VA.js → WVPDXWWY.js} +2 -2
  162. package/dist/cdn/{HJZFXI6X.js → WZOTYIOS.js} +2 -2
  163. package/dist/cdn/X55YY4UE.js +4 -0
  164. package/dist/cdn/{S6Z23ODH.js → X635CJQG.js} +2 -2
  165. package/dist/cdn/{YV6IBLNY.js → X7BRXOBX.js} +2 -2
  166. package/dist/cdn/{WELGHNCI.js → XHYHTQ3A.js} +1 -1
  167. package/dist/cdn/{QGGC2RLR.js → XIR3RQE7.js} +2 -2
  168. package/dist/cdn/{BQE6JP76.js → XKXBRNEE.js} +2 -2
  169. package/dist/cdn/{XTB22WH6.js → XWK6KVDW.js} +1 -1
  170. package/dist/cdn/{ABRD7FWU.js → XXCKJQFI.js} +2 -2
  171. package/dist/cdn/{3NCYH3UH.js → Y3M6OT2V.js} +3 -3
  172. package/dist/cdn/{GRQ3ZVF7.js → Y5GA7AYP.js} +2 -2
  173. package/dist/cdn/{EC5TAMY5.js → Y6I7NHY3.js} +2 -2
  174. package/dist/cdn/{WPO52DXH.js → YAGYR2RF.js} +2 -2
  175. package/dist/cdn/{ECVJEGVM.js → YHQAT4J2.js} +2 -2
  176. package/dist/cdn/{XEGVHFYH.js → YJUOQYM6.js} +2 -2
  177. package/dist/cdn/{MB53GVU2.js → YM4UYYKL.js} +2 -2
  178. package/dist/cdn/{2URWVUJR.js → YOK7SEKW.js} +2 -2
  179. package/dist/cdn/{5AGLOAFT.js → YUA5D5E5.js} +2 -2
  180. package/dist/cdn/{QINRHM2M.js → ZFC77VLJ.js} +2 -2
  181. package/dist/cdn/{4465NJEC.js → ZFEDMYLL.js} +2 -2
  182. package/dist/cdn/{QKBVWFGB.js → ZKZKKTBV.js} +2 -2
  183. package/dist/cdn/{IJKUA2GZ.js → ZTNNYDAB.js} +2 -2
  184. package/dist/cdn/{5SC4RQVI.js → ZUC3GVYZ.js} +2 -2
  185. package/dist/cdn/{TM6U722M.js → ZYHBMCLP.js} +2 -2
  186. package/dist/cdn/{W4KKRYRD.js → ZZB4Y7BA.js} +2 -2
  187. package/dist/cdn/index.js +2 -2
  188. package/dist/chunks/AnalysisViewModel.js +1 -1
  189. package/dist/chunks/async-utils.js +1 -1
  190. package/dist/chunks/basemap-gallery-resources.js +1 -1
  191. package/dist/chunks/chart-utils.js +1 -1
  192. package/dist/chunks/chartCommon.js +1 -1
  193. package/dist/chunks/component-utils.js +1 -1
  194. package/dist/chunks/createCloseEvent.js +1 -1
  195. package/dist/chunks/feature-utils.js +1 -1
  196. package/dist/chunks/globalCss.js +1 -1
  197. package/dist/chunks/heading.js +1 -1
  198. package/dist/chunks/index.js +1 -1
  199. package/dist/chunks/layer-list.js +1 -1
  200. package/dist/chunks/legacyIcon.js +1 -1
  201. package/dist/chunks/maybe.js +1 -1
  202. package/dist/chunks/measurementUtils.js +1 -1
  203. package/dist/chunks/runtime.js +1 -1
  204. package/dist/chunks/useHandles.js +1 -1
  205. package/dist/chunks/useT9n.js +1 -1
  206. package/dist/chunks/useView.js +1 -1
  207. package/dist/chunks/useViewModel.js +1 -1
  208. package/dist/chunks/useWidget.js +1 -1
  209. package/dist/chunks/utils.js +1 -1
  210. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  211. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  212. package/dist/components/arcgis-attachments/customElement.js +1 -1
  213. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  214. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  215. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  216. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  217. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  218. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  219. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  220. package/dist/components/arcgis-compass/customElement.js +1 -1
  221. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  222. package/dist/components/arcgis-daylight/customElement.js +1 -1
  223. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  224. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  225. package/dist/components/arcgis-directions/customElement.js +1 -1
  226. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  227. package/dist/components/arcgis-editor/customElement.js +1 -1
  228. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  229. package/dist/components/arcgis-expand/customElement.js +1 -1
  230. package/dist/components/arcgis-feature/customElement.js +1 -1
  231. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  232. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  233. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  234. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  235. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  236. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  237. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  238. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  239. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  240. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  241. package/dist/components/arcgis-features/customElement.js +1 -1
  242. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  243. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  244. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  245. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  246. package/dist/components/arcgis-home/customElement.js +1 -1
  247. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  248. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  249. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  250. package/dist/components/arcgis-legend/customElement.js +1 -1
  251. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  252. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
  253. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  254. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  255. package/dist/components/arcgis-locate/customElement.js +1 -1
  256. package/dist/components/arcgis-map/customElement.d.ts +1 -12
  257. package/dist/components/arcgis-map/customElement.js +5 -5
  258. package/dist/components/arcgis-measurement/customElement.js +1 -1
  259. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  260. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  261. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  262. package/dist/components/arcgis-placement/customElement.js +1 -1
  263. package/dist/components/arcgis-print/customElement.js +1 -1
  264. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  265. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  266. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  267. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  268. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  269. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  270. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  271. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  272. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  273. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  274. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  275. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  276. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  277. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  278. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  279. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  280. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  281. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  282. package/dist/components/arcgis-scene/customElement.d.ts +1 -7
  283. package/dist/components/arcgis-scene/customElement.js +10 -10
  284. package/dist/components/arcgis-search/customElement.js +1 -1
  285. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  286. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  287. package/dist/components/arcgis-sketch/customElement.js +1 -1
  288. package/dist/components/arcgis-slice/customElement.js +1 -1
  289. package/dist/components/arcgis-swipe/customElement.js +1 -1
  290. package/dist/components/arcgis-table-list/customElement.js +1 -1
  291. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  292. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  293. package/dist/components/arcgis-track/customElement.js +1 -1
  294. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  295. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  296. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  297. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  298. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  299. package/dist/components/arcgis-version-management/customElement.js +1 -1
  300. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  301. package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
  302. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  303. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  304. package/dist/components/arcgis-video/customElement.js +1 -1
  305. package/dist/components/arcgis-video-player/customElement.js +1 -1
  306. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  307. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  308. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  309. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  310. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  311. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  312. package/dist/components/arcgis-weather/customElement.js +1 -1
  313. package/dist/components/arcgis-zoom/customElement.js +1 -1
  314. package/dist/docs/api.json +2 -40
  315. package/dist/docs/docs.json +2 -48
  316. package/dist/docs/web-types.json +1 -11
  317. package/dist/index.js +1 -1
  318. package/dist/loader.js +3 -3
  319. package/dist/types/lumina.d.ts +2 -2
  320. package/dist/types/preact.d.ts +2 -2
  321. package/dist/types/react.d.ts +2 -2
  322. package/dist/types/stencil.d.ts +2 -2
  323. package/package.json +3 -3
  324. package/dist/cdn/EZ23WDFK.js +0 -4
  325. package/dist/cdn/ZJGSQSD4.js +0 -4
  326. package/dist/cdn/ZNXA5LTP.js +0 -4
@@ -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.82 */
4
- import{a as m}from"./ESN4FTND.js";import c from"./ATKZANUS.js";import{a as M}from"./IFLHB56F.js";import{a as u}from"./HUGDLIEY.js";import b from"./TVQM2ZLE.js";import a from"./QKHDMOT5.js";import{f as C}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import{a as v}from"./WELGHNCI.js";import{J as y,K as p,L as _,M as P,O as D,i as x,j as g,s as w,x as $}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([L,,,z])=>{var H=x`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=z(L),f=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this._swipePositionChanged=!1,this.messages=M({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=C()("state"),this.arcgisReady=w(),this.arcgisSwipeChange=w(),this.arcgisSwipeInput=w()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=$}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),s=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:s-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swipePositionChanged&&(this.arcgisSwipeChange.emit(),this._swipePositionChanged=!1),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:s}=e,{top:d,left:o,width:c,height:h}=t.getBoundingClientRect(),A=r==="vertical"?h:c,b=(r==="vertical"?s-d-i:a-o-i)/A*100;this.swipePosition!==b&&(this.swipePosition=b,this._swipePositionChanged=!0,this.arcgisSwipeInput.emit())}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:s,stepMultiplier:d,direction:o}=this.viewModel,c=s*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),o==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:s;return t+h}if(o==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:s;return t-h}return i==="Home"?a:i==="End"?r:(o==="vertical"?i==="PageDown":i==="PageUp")?t+c:(o==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&this.swipePosition!==i&&(this.swipePosition=i,this.arcgisSwipeInput.emit(),this.arcgisSwipeChange.emit())}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[u.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,u.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[m.dragHorizontal]:e==="vertical",[m.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:s}=i,d=this.label??this.messages.dragLabel??"",o=`${s}%`,c={top:a==="vertical"?o:void 0,left:a==="vertical"?void 0:o},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${_(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${s}`} .ariaValueText=${o} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${_(c)} tabindex=0 title=${d??P} touch-action=none>${h}</div>`}};D("arcgis-swipe",f);return f},"widgets/Swipe/SwipeViewModel",a,b,c)
3
+ v4.34.0-next.84 */
4
+ import{a as m}from"./W4XRVQ3C.js";import c from"./VN3YG32O.js";import{a as M}from"./B64E6HHO.js";import{a as u}from"./GASWXY3P.js";import b from"./CAQ3IM3B.js";import a from"./NXUYJMIL.js";import{f as C}from"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./5M3YYCCJ.js";import{a as v}from"./XHYHTQ3A.js";import{J as y,K as p,L as _,M as P,O as D,i as x,j as g,s as w,x as $}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([L,,,z])=>{var H=x`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=z(L),f=class extends y{constructor(){super(...arguments),this._container=null,this._swiping=!1,this._swipePositionChanged=!1,this.messages=M({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=C()("state"),this.arcgisReady=w(),this.arcgisSwipeChange=w(),this.arcgisSwipeInput=w()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=$}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),s=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:s-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swipePositionChanged&&(this.arcgisSwipeChange.emit(),this._swipePositionChanged=!1),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:s}=e,{top:d,left:o,width:c,height:h}=t.getBoundingClientRect(),A=r==="vertical"?h:c,b=(r==="vertical"?s-d-i:a-o-i)/A*100;this.swipePosition!==b&&(this.swipePosition=b,this._swipePositionChanged=!0,this.arcgisSwipeInput.emit())}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:s,stepMultiplier:d,direction:o}=this.viewModel,c=s*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),o==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:s;return t+h}if(o==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:s;return t-h}return i==="Home"?a:i==="End"?r:(o==="vertical"?i==="PageDown":i==="PageUp")?t+c:(o==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&this.swipePosition!==i&&(this.swipePosition=i,this.arcgisSwipeInput.emit(),this.arcgisSwipeChange.emit())}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[u.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,u.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[m.dragHorizontal]:e==="vertical",[m.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:s}=i,d=this.label??this.messages.dragLabel??"",o=`${s}%`,c={top:a==="vertical"?o:void 0,left:a==="vertical"?void 0:o},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${_(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${s}`} .ariaValueText=${o} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${_(c)} tabindex=0 title=${d??P} touch-action=none>${h}</div>`}};D("arcgis-swipe",f);return f},"widgets/Swipe/SwipeViewModel",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.82 */
4
- import{C as c,d as o,fa as R,i as f,k as m}from"./IAYOYUTR.js";import{a as d}from"./TPTBCGNX.js";import{g as h}from"./PPLZMRZF.js";var n=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"iy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_generator",{enumerable:!0,configurable:!0,writable:!0,value:R()})}_getTooltipPoint(){let i=this.get("tooltipX"),t=this.get("tooltipY"),s=0,a=0;h(i)&&(s=i),h(t)&&(a=t);let r=this.get("radius",0),e=this.get("innerRadius",0),l=this.get("dRadius",0),u=this.get("dInnerRadius",0);return r+=l,e+=u,e<0&&(e=r+e),i instanceof d&&(s=this.ix*(e+(r-e)*i.value)),t instanceof d&&(a=this.iy*(e+(r-e)*t.value)),this.get("arc")>=360&&e==0&&(s=0,a=0),{x:s,y:a}}_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("arc")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("dRadius")||this.isDirty("dInnerRadius")||this.isDirty("cornerRadius")||this.isDirty("shiftRadius"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let i=this.get("startAngle",0),t=this.get("arc",0),s=this._generator;t<0&&(i=i+t,t=t*-1),t>.1&&s.cornerRadius(this.get("cornerRadius",0)),s.context(this._display);let a=this.get("radius",0),r=this.get("innerRadius",0),e=this.get("dRadius",0),l=this.get("dInnerRadius",0);a+=e,r+=l,r<0&&(r=a+r),s({innerRadius:r,outerRadius:a,startAngle:(i+90)*o,endAngle:(i+t+90)*o});let u=i+t/2;this.ix=m(u),this.iy=f(u);let g=this.get("shiftRadius",0);this.setRaw("dx",this.ix*g),this.setRaw("dy",this.iy*g),this.markDirtyPosition()}}};Object.defineProperty(n,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slice"});Object.defineProperty(n,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:c.classNames.concat([n.className])});export{n as a};
3
+ v4.34.0-next.84 */
4
+ import{C as c,d as o,fa as R,i as f,k as m}from"./IK3UYVLU.js";import{a as d}from"./C6YDIAR7.js";import{g as h}from"./7WFVA5G5.js";var n=class extends c{constructor(){super(...arguments),Object.defineProperty(this,"ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"iy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_generator",{enumerable:!0,configurable:!0,writable:!0,value:R()})}_getTooltipPoint(){let i=this.get("tooltipX"),t=this.get("tooltipY"),s=0,a=0;h(i)&&(s=i),h(t)&&(a=t);let r=this.get("radius",0),e=this.get("innerRadius",0),l=this.get("dRadius",0),u=this.get("dInnerRadius",0);return r+=l,e+=u,e<0&&(e=r+e),i instanceof d&&(s=this.ix*(e+(r-e)*i.value)),t instanceof d&&(a=this.iy*(e+(r-e)*t.value)),this.get("arc")>=360&&e==0&&(s=0,a=0),{x:s,y:a}}_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("arc")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("dRadius")||this.isDirty("dInnerRadius")||this.isDirty("cornerRadius")||this.isDirty("shiftRadius"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let i=this.get("startAngle",0),t=this.get("arc",0),s=this._generator;t<0&&(i=i+t,t=t*-1),t>.1&&s.cornerRadius(this.get("cornerRadius",0)),s.context(this._display);let a=this.get("radius",0),r=this.get("innerRadius",0),e=this.get("dRadius",0),l=this.get("dInnerRadius",0);a+=e,r+=l,r<0&&(r=a+r),s({innerRadius:r,outerRadius:a,startAngle:(i+90)*o,endAngle:(i+t+90)*o});let u=i+t/2;this.ix=m(u),this.iy=f(u);let g=this.get("shiftRadius",0);this.setRaw("dx",this.ix*g),this.setRaw("dy",this.iy*g),this.markDirtyPosition()}}};Object.defineProperty(n,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slice"});Object.defineProperty(n,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:c.classNames.concat([n.className])});export{n 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.82 */
3
+ v4.34.0-next.84 */
4
4
  var s=["metric","imperial"],r=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],t=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],i=[...s,...t],u=[...s,...r];function l(e,a=!0){return a?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function m(e,a){switch(a.type){case"length":return e.formatLength(a);case"area":return e.formatArea(a);default:return""}}export{i as a,u as b,l as c,m as 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.82 */
4
- import{a as l}from"./FMS42Z4O.js";import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import{f as h}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as o,O as r,i,s,x as a}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([g,,{a:n},d])=>{var u=i`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`,w=d(g),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=h()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,closed:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=u}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);return t},"widgets/Features",b,c,d)
3
+ v4.34.0-next.84 */
4
+ import{a as l}from"./JUT7YYHK.js";import d from"./JF54DI7Y.js";import c from"./CAQ3IM3B.js";import b from"./NXUYJMIL.js";import{f as h}from"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./5M3YYCCJ.js";import"./XHYHTQ3A.js";import{J as o,O as r,i,s,x as a}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([g,,{a:n},d])=>{var u=i`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`,w=d(g),t=class extends o{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.actions=this.viewModel.actions,this.active=this.widget.active,this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.content=this.widget.content,this.featureNavigationTop=this.widget.featureNavigationTop,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.features=this.widget.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featuresTitle=this.widget.title,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=this.widget.headingLevel,this.headerActions=this.widget.headerActions,this.hideActionBar=this.widget.visibleElements.actionBar,this.hideCloseButton=this.widget.visibleElements.closeButton,this.hideFeatureMenuHeading=this.widget.visibleElements.featureMenuHeading,this.hideFeatureNavigation=this.widget.visibleElements.featureNavigation,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideSpinner=this.widget.visibleElements.spinner,this.icon=this.widget.icon,this.includeDefaultActions=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.widget.initialDisplayMode,this.label=this.widget.label,this.map=this.widget.map,this.position="bottom-left",this.promises=this.widget.promises,this.selectedFeature=this.widget.selectedFeature,this.selectedFeatureIndex=this.widget.selectedFeatureIndex,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=h()("selectedFeature","selectedFeatureIndex","state"),this.arcgisReady=s(),this.arcgisTriggerAction=n(()=>this.widget,"trigger-action")}static{this.properties={actions:0,active:7,autoDestroyDisabled:5,closed:5,collapsed:7,content:1,featureNavigationTop:5,featureViewModelAbilities:0,features:0,featuresPerPage:9,featuresTitle:1,goToOverride:0,headingLevel:9,headerActions:0,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFlow:5,hideHeading:5,hideSpinner:5,icon:1,includeDefaultActions:5,initialDisplayMode:1,label:1,map:0,position:1,promises:0,referenceElement:1,selectedFeature:0,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=u}async clear(){this.widget?.clear()}async close(){this.widget?.close()}async destroy(){await this.manager.destroy()}async fetchFeatures(e,c){return await this.widget?.fetchFeatures(e,c)}async next(){return this.widget?.next()}async open(e){this.widget?.open(e)}async previous(){return this.widget?.previous()}async triggerAction(e){this.widget?.triggerAction(e)}};r("arcgis-features",t);return t},"widgets/Features",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.82 */
4
- import{a as f}from"./IFLHB56F.js";import{a as b}from"./HUGDLIEY.js";import a from"./QKHDMOT5.js";import{f as y}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as h,K as v,M as e,O as m,i as l,j as p,s as d,x as g}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{when:M},{a:u}])=>{var _="arcgis-navigation-toggle",w={base:_},x=l`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`,s={pan:"move",rotate:"rotate"},o=class extends h{constructor(){super(...arguments),this.view=u(this),this._messages=f(),this._state="disabled",this.icon=s.pan,this.layout="vertical",this.navigationMode="pan",this.position="top-left",this.arcgisPropertyChange=y()("layout","state"),this.arcgisReady=d()}static{this.properties={_state:16,icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=g}static{this.styles=x}get state(){return this._state}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this._state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:$}=this,n=t.pan??"",c=t.rotate??"",i=$==="disabled",r=a==="pan";return p`<calcite-action-bar class=${v({[w.base]:!0,[b.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${s.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${s.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};m("arcgis-navigation-toggle",o);return o},"core/reactiveUtils",a)
3
+ v4.34.0-next.84 */
4
+ import{a as f}from"./B64E6HHO.js";import{a as b}from"./GASWXY3P.js";import a from"./NXUYJMIL.js";import{f as y}from"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./5M3YYCCJ.js";import"./XHYHTQ3A.js";import{J as h,K as v,M as e,O as m,i as l,j as p,s as d,x as g}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([{when:M},{a:u}])=>{var _="arcgis-navigation-toggle",w={base:_},x=l`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`,s={pan:"move",rotate:"rotate"},o=class extends h{constructor(){super(...arguments),this.view=u(this),this._messages=f(),this._state="disabled",this.icon=s.pan,this.layout="vertical",this.navigationMode="pan",this.position="top-left",this.arcgisPropertyChange=y()("layout","state"),this.arcgisReady=d()}static{this.properties={_state:16,icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=g}static{this.styles=x}get state(){return this._state}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this._state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:$}=this,n=t.pan??"",c=t.rotate??"",i=$==="disabled",r=a==="pan";return p`<calcite-action-bar class=${v({[w.base]:!0,[b.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${s.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${s.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};m("arcgis-navigation-toggle",o);return o},"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.82 */
4
- import{J as r,O as l,j as a,x as o}from"./PCRKOXRG.js";import"./QC3QMZ45.js";var t=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:s,layoutItem:i,format:n}=this.viewModel.templateOptions,d=this.viewModel.state!=="ready"||!(s||i);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${d||!(s||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};l("arcgis-print-export-button",t);export{t as PrintExportButton};
3
+ v4.34.0-next.84 */
4
+ import{J as r,O as l,j as a,x as o}from"./IURCXMZZ.js";import"./VSESTHD5.js";var t=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:s,layoutItem:i,format:n}=this.viewModel.templateOptions,d=this.viewModel.state!=="ready"||!(s||i);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${d||!(s||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};l("arcgis-print-export-button",t);export{t 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.82 */
4
- import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as a,O as h,i,s as t,x as s}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([d,,{a:o},l])=>{var r=i`@layer{arcgis-daylight{display:block}}`,n=l(d),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t(),this.arcgisUserDateTimeChange=o(()=>this.viewModel,"user-date-time-change")}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);return e},"widgets/Daylight",b,c,d)
3
+ v4.34.0-next.84 */
4
+ import d from"./JF54DI7Y.js";import c from"./CAQ3IM3B.js";import b from"./NXUYJMIL.js";import"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./5M3YYCCJ.js";import"./XHYHTQ3A.js";import{J as a,O as h,i,s as t,x as s}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([d,,{a:o},l])=>{var r=i`@layer{arcgis-daylight{display:block}}`,n=l(d),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t(),this.arcgisUserDateTimeChange=o(()=>this.viewModel,"user-date-time-change")}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);return e},"widgets/Daylight",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.82 */
4
- import{a as c}from"./WELGHNCI.js";import{J as o,K as t,O as r,i as n,j as e}from"./PCRKOXRG.js";import"./QC3QMZ45.js";var x=n`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},l=class extends o{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(c(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList}>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};r("arcgis-print-exports-panel",l);export{l as PrintExportsPanel};
3
+ v4.34.0-next.84 */
4
+ import{a as c}from"./XHYHTQ3A.js";import{J as o,K as t,O as r,i as n,j as e}from"./IURCXMZZ.js";import"./VSESTHD5.js";var x=n`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},l=class extends o{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(c(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList}>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};r("arcgis-print-exports-panel",l);export{l as PrintExportsPanel};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.82 */
4
- import{a as _}from"./6VLL67YV.js";import b from"./SS76GCVN.js";import{a as l}from"./GTGESCFB.js";import"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./WELGHNCI.js";import{J as o,K as a,O as n,i as r,j as t}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{watch:g},{b:m,c:p,d:d,e:h}])=>{var $=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",c={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},i=class extends o{constructor(){super(...arguments),this._handles=_("disconnect"),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,S=>this._templateState=S??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<calcite-block class=${a(c.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate?d(this._selectedTemplate,this.messages):this.messages.selectTemplate} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${e=>{(e.key==="Enter"||e.key===" ")&&this.showTemplateSelector()}} tabindex=0>${l("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?h(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?l("template-select-error",t`<calcite-icon class=${a(c.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${l("template-select-arrow",t`<calcite-icon class=${a(c.templateSelectArrow)} .icon=${m()?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};n("arcgis-print-template-select",i);return i},"core/reactiveUtils",b)
3
+ v4.34.0-next.84 */
4
+ import{a as _}from"./NE7QPCCC.js";import b from"./U2MOTEUI.js";import{a as l}from"./DWIZ3UOY.js";import"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./XHYHTQ3A.js";import{J as o,K as a,O as n,i as r,j as t}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([{watch:g},{b:m,c:p,d:d,e:h}])=>{var $=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",c={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},i=class extends o{constructor(){super(...arguments),this._handles=_("disconnect"),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,S=>this._templateState=S??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<calcite-block class=${a(c.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate?d(this._selectedTemplate,this.messages):this.messages.selectTemplate} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${e=>{(e.key==="Enter"||e.key===" ")&&this.showTemplateSelector()}} tabindex=0>${l("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?h(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?l("template-select-error",t`<calcite-icon class=${a(c.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${l("template-select-arrow",t`<calcite-icon class=${a(c.templateSelectArrow)} .icon=${m()?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};n("arcgis-print-template-select",i);return i},"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.82 */
4
- import"./QC3QMZ45.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"po. Kr.",_era_bc:"pr. Kr.",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"sije\u010Dnja",February:"velja\u010De",March:"o\u017Eujka",April:"travnja",May:"svibnja",June:"lipnja",July:"srpnja",August:"kolovoza",September:"rujna",October:"listopada",November:"studenoga",December:"prosinca",Jan:"sij",Feb:"velj",Mar:"o\u017Eu",Apr:"tra","May(short)":"svi",Jun:"lip",Jul:"srp",Aug:"kol",Sep:"ruj",Oct:"lis",Nov:"stu",Dec:"pro",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a as default};
3
+ v4.34.0-next.84 */
4
+ import"./VSESTHD5.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"po. Kr.",_era_bc:"pr. Kr.",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"sije\u010Dnja",February:"velja\u010De",March:"o\u017Eujka",April:"travnja",May:"svibnja",June:"lipnja",July:"srpnja",August:"kolovoza",September:"rujna",October:"listopada",November:"studenoga",December:"prosinca",Jan:"sij",Feb:"velj",Mar:"o\u017Eu",Apr:"tra","May(short)":"svi",Jun:"lip",Jul:"srp",Aug:"kol",Sep:"ruj",Oct:"lis",Nov:"stu",Dec:"pro",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a as default};
@@ -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.82 */
4
- import"./QC3QMZ45.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM yyyy",_date_month:"MMM",_date_month_full:"MMM yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
3
+ v4.34.0-next.84 */
4
+ import"./VSESTHD5.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM yyyy",_date_month:"MMM",_date_month_full:"MMM yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
@@ -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.82 */
4
- import{a as p}from"./GTGESCFB.js";import{I as r,J as d,K as e,O as h,i as o,j as c,s}from"./PCRKOXRG.js";import"./QC3QMZ45.js";var w=o`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`,t={label:"label",labelContent:"label-content",iconInfo:"icon info",iconWarning:"icon warning",tooltip:"tooltip"},n=class extends d{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.hintKind="info",this.arcgisCheckedChanged=s()}static{this.properties={_icon:16,checked:7,disabled:7,label:1,hint:1,hintIcon:1,hintKind:1}}static{this.styles=w}async destroy(){await this.manager.destroy()}_setIconRef(i){this._icon=i}render(){let{label:i,hint:l,hintKind:b,hintIcon:g,checked:m,disabled:f}=this;return c`<calcite-label class=${e(t.label)} layout=inline-space-between scale=s>${l?p("label-content",c`<div class=${e(t.labelContent)}><div>${i}</div><calcite-icon class=${e(b!=="warning"?t.iconInfo:t.iconWarning)} .icon=${g??"information"} @click=${a=>a.stopPropagation()} scale=s tabindex=0 ${r(this._setIconRef)}></calcite-icon><calcite-tooltip class=${e(t.tooltip)} overlay-positioning=fixed .referenceElement=${this._icon??void 0}>${l}</calcite-tooltip></div>`):i}<calcite-switch .checked=${m} .disabled=${f} scale=s @calciteSwitchChange=${a=>{this.checked=a.target.checked,this.arcgisCheckedChanged.emit(a.target.checked)}}></calcite-switch></calcite-label>`}};h("arcgis-labeled-switch",n);export{n as LabeledSwitch};
3
+ v4.34.0-next.84 */
4
+ import{a as p}from"./DWIZ3UOY.js";import{I as r,J as d,K as e,O as h,i as o,j as c,s}from"./IURCXMZZ.js";import"./VSESTHD5.js";var w=o`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`,t={label:"label",labelContent:"label-content",iconInfo:"icon info",iconWarning:"icon warning",tooltip:"tooltip"},n=class extends d{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.hintKind="info",this.arcgisCheckedChanged=s()}static{this.properties={_icon:16,checked:7,disabled:7,label:1,hint:1,hintIcon:1,hintKind:1}}static{this.styles=w}async destroy(){await this.manager.destroy()}_setIconRef(i){this._icon=i}render(){let{label:i,hint:l,hintKind:b,hintIcon:g,checked:m,disabled:f}=this;return c`<calcite-label class=${e(t.label)} layout=inline-space-between scale=s>${l?p("label-content",c`<div class=${e(t.labelContent)}><div>${i}</div><calcite-icon class=${e(b!=="warning"?t.iconInfo:t.iconWarning)} .icon=${g??"information"} @click=${a=>a.stopPropagation()} scale=s tabindex=0 ${r(this._setIconRef)}></calcite-icon><calcite-tooltip class=${e(t.tooltip)} overlay-positioning=fixed .referenceElement=${this._icon??void 0}>${l}</calcite-tooltip></div>`):i}<calcite-switch .checked=${m} .disabled=${f} scale=s @calciteSwitchChange=${a=>{this.checked=a.target.checked,this.arcgisCheckedChanged.emit(a.target.checked)}}></calcite-switch></calcite-label>`}};h("arcgis-labeled-switch",n);export{n as LabeledSwitch};
@@ -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.82 */
4
- import{a as g}from"./MRAAZ4OB.js";import h from"./ATKZANUS.js";import{a as C}from"./IFLHB56F.js";import{a as x}from"./HUGDLIEY.js";import e from"./TVQM2ZLE.js";import c from"./QKHDMOT5.js";import{f as $}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import{a as M}from"./WELGHNCI.js";import{I as d,J as S,K as a,M as b,O as f,i as m,j as o,o as _,s as v,x as w}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([T,{isAbortError:A},{substitute:D},{watch:E},,{a:l},R])=>{var c="arcgis-search",n={base:c,autocomplete:`${c}__autocomplete`,dropdown:`${c}__dropdown`,container:`${c}__container`,form:`${c}__form`,submitButton:`${c}__submit-button`},I=m`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}}`,N=R(T),p=class extends S{constructor(){super(...arguments),this.viewModel=N(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererContainerEl=document.createElement("div"),this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=C({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=$()("state"),this.arcgisReady=v(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=I}static{this.shadowRootOptions=w}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,i)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=void 0,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>E(()=>this.viewModel?.defaultPopupTemplate,e=>{if(e){let t=document.createElement("div");t.appendChild(this._searchResultRendererContainerEl),e.content=t}},{initial:!0}))}_addSearchResultRenderer(){_(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:r})=>r===s.sourceIndex)?.results?.find(({key:r})=>`${r}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),o`<div class=${a(M(n.base,x.widget))}><div class=${a(n.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:r}=this.viewModel;return i.length>1?o`<calcite-dropdown class=${a(n.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r?this._renderSource(-1):null}${i.map((h,u)=>this._renderSource(u)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:r,searchTerm:h,state:u}=this.viewModel,y=this.label??t.searchButtonTitle??"";return o`<calcite-autocomplete .autocomplete=${"off"} class=${a(n.autocomplete)} .disabled=${s} .icon=${this.icon||!1} .inputValue=${h} .label=${y} .loading=${u==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(h?"":r)??b} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return o`<form class=${a(n.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(n.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,r=e.results?.length,h=t.length>1&&s===-1,u=this._getSourceName(i);return r&&h?o`<calcite-autocomplete-item-group .heading=${u}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return o`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?D(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};f("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,e,h)
3
+ v4.34.0-next.84 */
4
+ import{a as g}from"./CM26BC26.js";import h from"./VN3YG32O.js";import{a as C}from"./B64E6HHO.js";import{a as x}from"./GASWXY3P.js";import e from"./CAQ3IM3B.js";import c from"./NXUYJMIL.js";import{f as $}from"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./5M3YYCCJ.js";import{a as M}from"./XHYHTQ3A.js";import{I as d,J as S,K as a,M as b,O as f,i as m,j as o,o as _,s as v,x as w}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([T,{isAbortError:A},{substitute:D},{watch:E},,{a:l},R])=>{var c="arcgis-search",n={base:c,autocomplete:`${c}__autocomplete`,dropdown:`${c}__dropdown`,container:`${c}__container`,form:`${c}__form`,submitButton:`${c}__submit-button`},I=m`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}}`,N=R(T),p=class extends S{constructor(){super(...arguments),this.viewModel=N(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererContainerEl=document.createElement("div"),this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=C({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=$()("state"),this.arcgisReady=v(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=I}static{this.shadowRootOptions=w}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,i)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=void 0,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>E(()=>this.viewModel?.defaultPopupTemplate,e=>{if(e){let t=document.createElement("div");t.appendChild(this._searchResultRendererContainerEl),e.content=t}},{initial:!0}))}_addSearchResultRenderer(){_(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:r})=>r===s.sourceIndex)?.results?.find(({key:r})=>`${r}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),o`<div class=${a(M(n.base,x.widget))}><div class=${a(n.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:r}=this.viewModel;return i.length>1?o`<calcite-dropdown class=${a(n.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r?this._renderSource(-1):null}${i.map((h,u)=>this._renderSource(u)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:r,searchTerm:h,state:u}=this.viewModel,y=this.label??t.searchButtonTitle??"";return o`<calcite-autocomplete .autocomplete=${"off"} class=${a(n.autocomplete)} .disabled=${s} .icon=${this.icon||!1} .inputValue=${h} .label=${y} .loading=${u==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(h?"":r)??b} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return o`<form class=${a(n.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(n.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,r=e.results?.length,h=t.length>1&&s===-1,u=this._getSourceName(i);return r&&h?o`<calcite-autocomplete-item-group .heading=${u}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return o`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?D(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};f("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,e,h)
@@ -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.82 */
4
- import{a as m}from"./TPTBCGNX.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./PPLZMRZF.js";import{a as q}from"./QC3QMZ45.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
3
+ v4.34.0-next.84 */
4
+ import{a as m}from"./C6YDIAR7.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./7WFVA5G5.js";import{a as q}from"./VSESTHD5.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
@@ -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.82 */
4
- import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as o,O as a,i as e,s,x as i}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([c,,,n])=>{var d=e`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`,p=n(c),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.focusTrapEnabled=this.widget.focusTrapDisabled,this.focusTrapDisabled=this.widget.focusTrapDisabled,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=s(),this.content=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,focusTrapEnabled:5,focusTrapDisabled:5,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=i}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);return t},"widgets/Expand",b,c,d)
3
+ v4.34.0-next.84 */
4
+ import d from"./JF54DI7Y.js";import c from"./CAQ3IM3B.js";import b from"./NXUYJMIL.js";import"./6QZ5I26K.js";import"./YUA5D5E5.js";import"./XXCKJQFI.js";import"./5M3YYCCJ.js";import"./XHYHTQ3A.js";import{J as o,O as a,i as e,s,x as i}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([c,,,n])=>{var d=e`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`,p=n(c),t=class extends o{constructor(){super(),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoCollapse=this.widget.autoCollapse,this.autoDestroyDisabled=!1,this.closeOnEsc=this.widget.closeOnEsc,this.collapseIcon=this.widget.collapseIcon,this.collapseTooltip=this.widget.collapseTooltip,this.content=this.widget.content,this.expandIcon=this.widget.expandIcon,this.expandTooltip=this.widget.expandTooltip,this.expanded=this.widget.expanded,this.focusTrapEnabled=this.widget.focusTrapDisabled,this.focusTrapDisabled=this.widget.focusTrapDisabled,this.group=this.widget.group,this.icon=this.widget.icon,this.iconNumber=this.widget.iconNumber,this.label=this.widget.label,this.mode=this.widget.mode,this.placement=this.widget.placement,this.position="top-right",this.arcgisReady=s(),this.content=document.createElement("div")}static{this.properties={autoCollapse:5,autoDestroyDisabled:5,closeOnEsc:5,collapseIcon:1,collapseTooltip:1,content:1,expandIcon:1,expandTooltip:1,expanded:7,focusTrapEnabled:5,focusTrapDisabled:5,group:1,icon:1,iconNumber:9,label:1,mode:1,placement:1,position:1,referenceElement:1}}static{this.shadowRootOptions=i}static{this.styles=d}async collapse(){this.widget?.collapse()}async destroy(){await this.manager.destroy()}async expand(){this.widget?.expand()}async toggle(){this.expanded?await this.collapse():await this.expand()}};a("arcgis-expand",t);return t},"widgets/Expand",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.82 */
4
- import{a as N,b as F}from"./FVWS6I6M.js";import"./XTB22WH6.js";import a from"./IHNFJSFG.js";import{a as M}from"./GTGESCFB.js";import"./ABRD7FWU.js";import"./WELGHNCI.js";import{I as f,J as B,K as h,O as V,i as j,j as l,o as O,x as k}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:T},{isRelatableFeatureSupportedLayer:X,findRelatedLayer:Y},{substitute:ee,formatNumber:Z},{watch:w,on:te},W,z,{ignoreAbortErrors:S},re,{g:H}])=>{var ie=j`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,se=m=>{let e=[];if(m.formTemplate){let{description:t,title:r}=m.formTemplate;m.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},x=100,v="arcgis-feature",p=`${v}-relationship`,u={base:p,listContainer:`${p}__list`,listItem:`${p}__list-item`,listItemHidden:`${p}__list-item--hidden`,listContainerQuerying:`${p}__list--querying`,featureObserver:`${v}__feature-observer`,stickySpinnerContainer:`${v}__sticky-loading-container`,loadingSpinnerContainer:`${v}__loading-container`},D=class extends B{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await S(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await S(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await S(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=F(this._queryController,x),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,x),this._queryPageDebounced=F(this._queryPageController,x),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new W,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new W,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ie}static{this.shadowRootOptions=k}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&X(e.parent)?e.parent:e;return Y(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return ee(e?.numberRecords??"",{number:Z(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[w(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),w(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),w(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),w(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),te(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:I}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:q}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:R}=await q({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),L=R.map(({count:c,value:g})=>{let C=t.subtypes?.find(P=>P.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=L}return}let{historicMoment:b,gdbVersion:$}=e,A=new z({cacheHint:I,gdbVersion:$,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),y=await e.queryRelatedFeaturesCount(A,{signal:r?.signal});this.allCategories=void 0,this.featureCount=y[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:I,showAllEnabled:b,supportsCacheHint:$}=this,{canQuery:A,objectId:y}=this;if(!A||!a||!o||y==null)return[];let q=b?((i-1)*s+r)%r:0,R=b?s:t,L=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...se(o),..._,L,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:P,gdbVersion:G}=a,J=new z({orderByFields:C,start:q,num:R,outFields:g,cacheHint:$,historicMoment:P,gdbVersion:G,relationshipId:I,returnGeometry:!1,objectIds:[y],where:this._getRelationshipWhereClause(o)}),E=(await a.queryRelatedFeatures(J,{signal:e?.signal}))[y]?.features||[];return o.type==="subtype-group"&&c?E.forEach(d=>{let U=d.attributes[c],Q=o.findSublayerForSubtypeCode?.(U);d.sourceLayer=Q,d.layer=Q}):E.forEach(d=>{d.sourceLayer=o,d.layer=o}),E}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&O(M(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){O(M(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new re({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=Z(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(N(u.listItem,{[u.listItemHidden]:a}))} .description=${T(s.toString())} .label=${T(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(N(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};V("arcgis-feature-relationship",D);return D},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
3
+ v4.34.0-next.84 */
4
+ import{a as N,b as F}from"./EWMBBB6B.js";import"./XWK6KVDW.js";import a from"./7BOSZHJ5.js";import{a as M}from"./DWIZ3UOY.js";import"./XXCKJQFI.js";import"./XHYHTQ3A.js";import{I as f,J as B,K as h,O as V,i as j,j as l,o as O,x as k}from"./IURCXMZZ.js";import"./VSESTHD5.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:T},{isRelatableFeatureSupportedLayer:X,findRelatedLayer:Y},{substitute:ee,formatNumber:Z},{watch:w,on:te},W,z,{ignoreAbortErrors:S},re,{g:H}])=>{var ie=j`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,se=m=>{let e=[];if(m.formTemplate){let{description:t,title:r}=m.formTemplate;m.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},x=100,v="arcgis-feature",p=`${v}-relationship`,u={base:p,listContainer:`${p}__list`,listItem:`${p}__list-item`,listItemHidden:`${p}__list-item--hidden`,listContainerQuerying:`${p}__list--querying`,featureObserver:`${v}__feature-observer`,stickySpinnerContainer:`${v}__sticky-loading-container`,loadingSpinnerContainer:`${v}__loading-container`},D=class extends B{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await S(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await S(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await S(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=F(this._queryController,x),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,x),this._queryPageDebounced=F(this._queryPageController,x),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new W,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new W,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ie}static{this.shadowRootOptions=k}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&X(e.parent)?e.parent:e;return Y(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return ee(e?.numberRecords??"",{number:Z(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[w(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),w(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),w(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),w(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),te(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:I}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:q}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:R}=await q({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),L=R.map(({count:c,value:g})=>{let C=t.subtypes?.find(P=>P.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=L}return}let{historicMoment:b,gdbVersion:$}=e,A=new z({cacheHint:I,gdbVersion:$,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),y=await e.queryRelatedFeaturesCount(A,{signal:r?.signal});this.allCategories=void 0,this.featureCount=y[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:I,showAllEnabled:b,supportsCacheHint:$}=this,{canQuery:A,objectId:y}=this;if(!A||!a||!o||y==null)return[];let q=b?((i-1)*s+r)%r:0,R=b?s:t,L=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...se(o),..._,L,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:P,gdbVersion:G}=a,J=new z({orderByFields:C,start:q,num:R,outFields:g,cacheHint:$,historicMoment:P,gdbVersion:G,relationshipId:I,returnGeometry:!1,objectIds:[y],where:this._getRelationshipWhereClause(o)}),E=(await a.queryRelatedFeatures(J,{signal:e?.signal}))[y]?.features||[];return o.type==="subtype-group"&&c?E.forEach(d=>{let U=d.attributes[c],Q=o.findSublayerForSubtypeCode?.(U);d.sourceLayer=Q,d.layer=Q}):E.forEach(d=>{d.sourceLayer=o,d.layer=o}),E}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&O(M(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){O(M(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new re({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=Z(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(N(u.listItem,{[u.listItemHidden]:a}))} .description=${T(s.toString())} .label=${T(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(N(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};V("arcgis-feature-relationship",D);return D},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)