@arcgis/map-components 5.2.0-next.138 → 5.2.0-next.139

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 (833) hide show
  1. package/dist/cdn/{VZ6UFS6H.js → 26LWK3XB.js} +2 -2
  2. package/dist/cdn/{W3TSTSES.js → 276JOEH5.js} +2 -2
  3. package/dist/cdn/{SLSGW7B6.js → 27GJE7OY.js} +2 -2
  4. package/dist/cdn/{A6H4JIO7.js → 27MP6TEF.js} +2 -2
  5. package/dist/cdn/{NY7RHFLZ.js → 2AQYGR7K.js} +2 -2
  6. package/dist/cdn/{IDIAWXUO.js → 2COOBXHG.js} +2 -2
  7. package/dist/cdn/{BI2SI2HK.js → 2CWTV6TC.js} +2 -2
  8. package/dist/cdn/{NJPPZJ3L.js → 2DKTF2EL.js} +2 -2
  9. package/dist/cdn/{PBYHBRG7.js → 2GDB3C5I.js} +2 -2
  10. package/dist/cdn/{FTLVLBS2.js → 2JWHVMJ3.js} +2 -2
  11. package/dist/cdn/{IT52WNCR.js → 2KP3MSHV.js} +3 -3
  12. package/dist/cdn/{2F4IGA4W.js → 3A3DGDW5.js} +2 -2
  13. package/dist/cdn/{NFCFPU7K.js → 3A7S62FX.js} +2 -2
  14. package/dist/cdn/{7AXDJ3IY.js → 3DPVKWFO.js} +2 -2
  15. package/dist/cdn/{E5L3MOIC.js → 3DSZKELU.js} +2 -2
  16. package/dist/cdn/{TKILR2SM.js → 3DUIQTNG.js} +2 -2
  17. package/dist/cdn/{VDKEQI3H.js → 3E56Q4ZY.js} +2 -2
  18. package/dist/cdn/{62IE7RFR.js → 3HS3DM5B.js} +2 -2
  19. package/dist/cdn/{WNWTWPV6.js → 3JCF73F4.js} +2 -2
  20. package/dist/cdn/{RZGWZ2FJ.js → 3L2J4JFP.js} +2 -2
  21. package/dist/cdn/{BHCAFGIA.js → 3LOGBSQP.js} +1 -1
  22. package/dist/cdn/{FSBLGH6E.js → 3MQPSWL6.js} +2 -2
  23. package/dist/cdn/{EOAVDNBZ.js → 3NL42TBJ.js} +2 -2
  24. package/dist/cdn/{MICLX7QW.js → 3O4SVNIK.js} +2 -2
  25. package/dist/cdn/{QWIDIEXY.js → 3PVLBFNC.js} +2 -2
  26. package/dist/cdn/{DYWCAORU.js → 3SG4AC5C.js} +2 -2
  27. package/dist/cdn/{JJBDNWJ7.js → 3TGYCCNJ.js} +2 -2
  28. package/dist/cdn/{4UDSPIRD.js → 3V3PYL2L.js} +2 -2
  29. package/dist/cdn/{F5JYYT42.js → 3WTBTYMS.js} +1 -1
  30. package/dist/cdn/{ZDMSSGIM.js → 3XEPXV4Q.js} +2 -2
  31. package/dist/cdn/{OAYNZFL2.js → 3YXCLF3K.js} +2 -2
  32. package/dist/cdn/{Y77AVOAH.js → 3ZXNGXHC.js} +1 -1
  33. package/dist/cdn/{UVJWDKLK.js → 43IOCYG5.js} +2 -2
  34. package/dist/cdn/{MTFIK3F4.js → 45JO7F4Y.js} +2 -2
  35. package/dist/cdn/{3ONY25MG.js → 4F2ZWXO2.js} +2 -2
  36. package/dist/cdn/{PGK2ZJCX.js → 4GRP4KX3.js} +2 -2
  37. package/dist/cdn/{SOZWCZ7A.js → 4MJJOPAL.js} +1 -1
  38. package/dist/cdn/{J3FRSWZD.js → 4PGC5LTJ.js} +2 -2
  39. package/dist/cdn/{TMTFZSJS.js → 4RGFCQOB.js} +1 -1
  40. package/dist/cdn/{ILQDA7LL.js → 4RMVG2NH.js} +2 -2
  41. package/dist/cdn/{DK7HXJSX.js → 4T2A7PAO.js} +2 -2
  42. package/dist/cdn/{53OXTCE6.js → 4TTVVGYW.js} +2 -2
  43. package/dist/cdn/{RVIHQZ44.js → 4W35GLNO.js} +2 -2
  44. package/dist/cdn/{RGTUSH6U.js → 4WAV5GOL.js} +2 -2
  45. package/dist/cdn/{TJQ3GP5V.js → 4WP4DUBT.js} +2 -2
  46. package/dist/cdn/{SLAFIIZU.js → 4WXSFT6G.js} +2 -2
  47. package/dist/cdn/{GII4POXM.js → 54CLZESW.js} +2 -2
  48. package/dist/cdn/{SAOLD6MH.js → 55AW5TTI.js} +2 -2
  49. package/dist/cdn/55Y5ATNY.js +2 -0
  50. package/dist/cdn/{A4VK42OW.js → 5763ZV75.js} +2 -2
  51. package/dist/cdn/{SMVLPJDD.js → 5CER2N5T.js} +2 -2
  52. package/dist/cdn/{CKZBNHMD.js → 5L5UYV3H.js} +1 -1
  53. package/dist/cdn/{D7FBQECJ.js → 5M56ZA46.js} +2 -2
  54. package/dist/cdn/{KVYBIOH5.js → 5SL2HI4G.js} +2 -2
  55. package/dist/cdn/{5TKSFDKY.js → 5SLLYIWJ.js} +2 -2
  56. package/dist/cdn/{K7ELALW4.js → 5UOXHOVU.js} +2 -2
  57. package/dist/cdn/{WS46QSWM.js → 5V2DO6ZW.js} +2 -2
  58. package/dist/cdn/{OAMPGCZF.js → 5XVK5ZBK.js} +2 -2
  59. package/dist/cdn/{ZIWU6TX6.js → 63FA3UEL.js} +2 -2
  60. package/dist/cdn/{5DY7GHBN.js → 6BLFYSDN.js} +2 -2
  61. package/dist/cdn/{R5QMO5FY.js → 6GFUBVBL.js} +2 -2
  62. package/dist/cdn/{QT7GRA34.js → 6IVEAPNI.js} +2 -2
  63. package/dist/cdn/{FQSHLYKX.js → 6J55YK5V.js} +2 -2
  64. package/dist/cdn/{MQYTZX24.js → 6NWR2Z4F.js} +2 -2
  65. package/dist/cdn/{JOUDLQMT.js → 7AHOPT65.js} +2 -2
  66. package/dist/cdn/{EPH5BN6X.js → 7DAQGPGD.js} +2 -2
  67. package/dist/cdn/{OPNJGHML.js → 7DDCU3NB.js} +2 -2
  68. package/dist/cdn/{FHHVGI4H.js → 7EQZKGJN.js} +2 -2
  69. package/dist/cdn/{SQEKT3GV.js → 7FVXPOAG.js} +2 -2
  70. package/dist/cdn/{PGSBUAGV.js → 7MOL5GJB.js} +2 -2
  71. package/dist/cdn/{366GLQ5R.js → 7N4V2IN6.js} +1 -1
  72. package/dist/cdn/{4UMGVGLX.js → 7UWE25UH.js} +2 -2
  73. package/dist/cdn/{QPSAD5DG.js → 7V7IKYJG.js} +2 -2
  74. package/dist/cdn/{MDWBYUFG.js → 7VVOJSSE.js} +2 -2
  75. package/dist/cdn/{GHVT7W4O.js → A4U2PDJP.js} +2 -2
  76. package/dist/cdn/{S7ORGB5E.js → AAMRTS35.js} +2 -2
  77. package/dist/cdn/{RVEUCXT4.js → AAUN23S6.js} +2 -2
  78. package/dist/cdn/{UHI3B7HK.js → AENNGCAE.js} +2 -2
  79. package/dist/cdn/{FDJGQHUA.js → AI5PXN2E.js} +2 -2
  80. package/dist/cdn/AKDB2XVJ.js +2 -0
  81. package/dist/cdn/{L46JLXJT.js → ALROLX35.js} +2 -2
  82. package/dist/cdn/AN3BGKZP.js +2 -0
  83. package/dist/cdn/{PPAFKBPN.js → AW3C3DKA.js} +2 -2
  84. package/dist/cdn/{2DAGREZP.js → AYJQLWX4.js} +2 -2
  85. package/dist/cdn/{N3DTZRST.js → AYNGSZAL.js} +2 -2
  86. package/dist/cdn/{R5TXJ5FN.js → AZ73DBU3.js} +2 -2
  87. package/dist/cdn/{SHU4AE2X.js → B476G3EX.js} +2 -2
  88. package/dist/cdn/{HY2JY2TT.js → B4CANXID.js} +2 -2
  89. package/dist/cdn/{YDZZPLVB.js → B5GJ5JEW.js} +2 -2
  90. package/dist/cdn/{FXUZU52U.js → BAOWXZTE.js} +1 -1
  91. package/dist/cdn/{DSD2SY73.js → BEFZSVBT.js} +2 -2
  92. package/dist/cdn/{UZLEFNJL.js → BIU6VS3K.js} +1 -1
  93. package/dist/cdn/{VLPNB2Z3.js → BIWQEPK4.js} +2 -2
  94. package/dist/cdn/{NQOS7L2J.js → BKVCAAPF.js} +2 -2
  95. package/dist/cdn/{Q4L65YE5.js → BLYJE76S.js} +2 -2
  96. package/dist/cdn/{CKS5ACAB.js → BSTO7TGD.js} +2 -2
  97. package/dist/cdn/{L2F4HQYY.js → BZR4MSO5.js} +2 -2
  98. package/dist/cdn/{YQV2OMBS.js → CESFJ6AD.js} +2 -2
  99. package/dist/cdn/{NB7O2TXG.js → CEUIFOR6.js} +1 -1
  100. package/dist/cdn/{AS4FG6IT.js → CF4OY56S.js} +2 -2
  101. package/dist/cdn/{E54VGGFM.js → CGN2BQTU.js} +2 -2
  102. package/dist/cdn/{4432P7Z5.js → CIUI5B52.js} +2 -2
  103. package/dist/cdn/{TDZIH5OK.js → CJ4KIA26.js} +2 -2
  104. package/dist/cdn/{QOIURU47.js → CL2NYK7A.js} +2 -2
  105. package/dist/cdn/{2ZMXUAQZ.js → COKGOKO2.js} +2 -2
  106. package/dist/cdn/{6UYEO5Q7.js → CORNSRXU.js} +2 -2
  107. package/dist/cdn/{BQBWXR6P.js → CQQM24VF.js} +2 -2
  108. package/dist/cdn/{YCHVPSSP.js → CUF7GCDT.js} +2 -2
  109. package/dist/cdn/{3C6FN5WT.js → CX45KI3X.js} +2 -2
  110. package/dist/cdn/{GJKFDTVX.js → CZOM5NWO.js} +2 -2
  111. package/dist/cdn/{PCOXR45L.js → D3LYSFXK.js} +2 -2
  112. package/dist/cdn/{XHOI3WNI.js → D47546HM.js} +1 -1
  113. package/dist/cdn/DBA7NSTP.js +2 -0
  114. package/dist/cdn/DCQQKR3O.js +2 -0
  115. package/dist/cdn/{ND7BSIVO.js → DJTW52JH.js} +1 -1
  116. package/dist/cdn/{4XERPOOU.js → DL57EVZ4.js} +2 -2
  117. package/dist/cdn/{SG55TVJ5.js → DMYAI77Y.js} +2 -2
  118. package/dist/cdn/{26URLKXD.js → DMYMCGHJ.js} +2 -2
  119. package/dist/cdn/{4WKWYFIH.js → DOEKV7G3.js} +2 -2
  120. package/dist/cdn/{PZSKFFTG.js → DPPZZO5W.js} +2 -2
  121. package/dist/cdn/{RUYAWRPV.js → DSDPDMLP.js} +2 -2
  122. package/dist/cdn/{DDSIQO4G.js → E4NTQBM3.js} +2 -2
  123. package/dist/cdn/{YTLRTUMD.js → E53ARLWV.js} +2 -2
  124. package/dist/cdn/{U5DIWFPP.js → E5JCJOB3.js} +2 -2
  125. package/dist/cdn/{DN2EFA4T.js → EAM45WZP.js} +2 -2
  126. package/dist/cdn/{7DFCYS72.js → ECNRW3D5.js} +2 -2
  127. package/dist/cdn/{7DM32WQP.js → EDTGV4YF.js} +2 -2
  128. package/dist/cdn/{Z6AVJWLP.js → EESGZV4K.js} +2 -2
  129. package/dist/cdn/{3UMLR76Y.js → EKR2SAT2.js} +2 -2
  130. package/dist/cdn/{67PT3A4A.js → ELYDZHP5.js} +2 -2
  131. package/dist/cdn/{ZIBQTNB6.js → EOTKZ4F3.js} +2 -2
  132. package/dist/cdn/EZCNI254.js +2 -0
  133. package/dist/cdn/{COCGWEUR.js → F46CTQWP.js} +2 -2
  134. package/dist/cdn/F4O7DFPZ.js +2 -0
  135. package/dist/cdn/{A3DPMZWE.js → F5WKI5HZ.js} +2 -2
  136. package/dist/cdn/{ZCFWKPXL.js → FCNNRX3Q.js} +1 -1
  137. package/dist/cdn/{5RAIBYCT.js → FFJCCMDZ.js} +2 -2
  138. package/dist/cdn/{EPAR65ZP.js → FMBY3L4S.js} +2 -2
  139. package/dist/cdn/{4KQA2GRX.js → FMIWBKT4.js} +2 -2
  140. package/dist/cdn/{EV7IIQBP.js → FNSGB45I.js} +2 -2
  141. package/dist/cdn/{KLQYSF66.js → FUQD5XQR.js} +2 -2
  142. package/dist/cdn/{ALVAGE57.js → FZWFKZLW.js} +2 -2
  143. package/dist/cdn/{ZAUG5MSY.js → GF7RZ4IH.js} +2 -2
  144. package/dist/cdn/{PMRI66RQ.js → GIOUZTHM.js} +2 -2
  145. package/dist/cdn/{KPUEQZ7O.js → GP3PLD2F.js} +2 -2
  146. package/dist/cdn/{FACY5XHG.js → GQ6SYNZS.js} +2 -2
  147. package/dist/cdn/{MCMACXJV.js → GQXUCZYM.js} +2 -2
  148. package/dist/cdn/{X7BOBKIH.js → GT6FFZHJ.js} +2 -2
  149. package/dist/cdn/{QTB5YKHB.js → GTRQNPQ7.js} +2 -2
  150. package/dist/cdn/{GDLDEHUJ.js → GU3M4JMW.js} +1 -1
  151. package/dist/cdn/{3GHQZCMV.js → GV3IXBBT.js} +2 -2
  152. package/dist/cdn/{FZAQZSRA.js → GVZKVOM7.js} +2 -2
  153. package/dist/cdn/{6VO7G2UX.js → GXRPNW37.js} +2 -2
  154. package/dist/cdn/{B32GNMHD.js → H4FH2RBM.js} +2 -2
  155. package/dist/cdn/{OUC5HWPQ.js → H5AYEQ6D.js} +2 -2
  156. package/dist/cdn/{TAVTDQ6S.js → H6RQVSYM.js} +1 -1
  157. package/dist/cdn/H77SMV46.js +2 -0
  158. package/dist/cdn/{GUZYCRYS.js → HCN3UC4W.js} +2 -2
  159. package/dist/cdn/{SK5CTCTZ.js → HH5GEJCC.js} +2 -2
  160. package/dist/cdn/{KBA5OIES.js → HLGU3U73.js} +2 -2
  161. package/dist/cdn/{P2I63WVL.js → HX4CDWS4.js} +2 -2
  162. package/dist/cdn/{MWIDHMQZ.js → HX4CSRAB.js} +2 -2
  163. package/dist/cdn/{ESOCZAMZ.js → HZX7MSQG.js} +2 -2
  164. package/dist/cdn/{K23R26AN.js → I23AZWQL.js} +2 -2
  165. package/dist/cdn/{PGXNWDD3.js → I2A6UYGZ.js} +2 -2
  166. package/dist/cdn/{AO6ONNIJ.js → I5ZESLWO.js} +2 -2
  167. package/dist/cdn/{JXQEGZDB.js → IDKRMHDS.js} +1 -1
  168. package/dist/cdn/{SNNAV3AS.js → IETZFE3P.js} +2 -2
  169. package/dist/cdn/{WBBTZNZU.js → IFMBHZHX.js} +2 -2
  170. package/dist/cdn/{2KPCMM7D.js → IJLCJVC4.js} +2 -2
  171. package/dist/cdn/{FPPWXIBA.js → IRZGEFF5.js} +2 -2
  172. package/dist/cdn/{O5YJPUFM.js → ISIH65JW.js} +2 -2
  173. package/dist/cdn/{M42QFFPZ.js → ITRD7ZY4.js} +2 -2
  174. package/dist/cdn/{DLWQZHNA.js → IU22RA7Z.js} +2 -2
  175. package/dist/cdn/IWWDRGYJ.js +2 -0
  176. package/dist/cdn/{KFTFKI6A.js → IXWGGAVX.js} +2 -2
  177. package/dist/cdn/{FH3WFF5O.js → IZ46HAUJ.js} +1 -1
  178. package/dist/cdn/{FF7BSRYW.js → J23DTKII.js} +2 -2
  179. package/dist/cdn/{4XJ6RYYC.js → J657IBDC.js} +2 -2
  180. package/dist/cdn/{Y42K6IOP.js → J6MU74RO.js} +2 -2
  181. package/dist/cdn/{IFR4IYSI.js → JAZGNQRP.js} +2 -2
  182. package/dist/cdn/{HPWF3IQV.js → JBHRVHGS.js} +2 -2
  183. package/dist/cdn/{THJMCEEO.js → JBR3FYAN.js} +2 -2
  184. package/dist/cdn/{6QH2NH2Z.js → JCR7S6RP.js} +2 -2
  185. package/dist/cdn/{4L43F7HU.js → JCRPP54Z.js} +1 -1
  186. package/dist/cdn/{L5IRXOCJ.js → JD74LG7K.js} +1 -1
  187. package/dist/cdn/{LH2T4TMP.js → JE6NC2E6.js} +2 -2
  188. package/dist/cdn/{Z7H4V2JZ.js → JIQ4P34C.js} +2 -2
  189. package/dist/cdn/{52CUDGKY.js → JPKB745U.js} +2 -2
  190. package/dist/cdn/{PZUVKZGQ.js → K6D2JHC4.js} +2 -2
  191. package/dist/cdn/{PIDNZKSJ.js → KBHLE7HT.js} +2 -2
  192. package/dist/cdn/{T7WW3YQN.js → KJ6TWPZT.js} +2 -2
  193. package/dist/cdn/{BXB5PSFB.js → KKP7ZZUD.js} +2 -2
  194. package/dist/cdn/{KGUALNRF.js → KM2GXXBO.js} +2 -2
  195. package/dist/cdn/{CAC3OOFR.js → KO7RD6SS.js} +2 -2
  196. package/dist/cdn/{27UDJCFO.js → KRVLKKXB.js} +2 -2
  197. package/dist/cdn/{ZF4DFDLT.js → KT7MEZHJ.js} +2 -2
  198. package/dist/cdn/{ACLDLJNT.js → KXGVE4NK.js} +2 -2
  199. package/dist/cdn/KY3ND2AY.js +2 -0
  200. package/dist/cdn/{CBVICP6P.js → LE373OSG.js} +2 -2
  201. package/dist/cdn/{PJ5OUPGO.js → LGW5AS6R.js} +2 -2
  202. package/dist/cdn/{3N5MWYUQ.js → LHFB44QW.js} +2 -2
  203. package/dist/cdn/{V2YPYCU6.js → LL7R6ETJ.js} +2 -2
  204. package/dist/cdn/{JS3IKVKM.js → LQ76PRWK.js} +2 -2
  205. package/dist/cdn/{LC37F7HF.js → M7LDGJG6.js} +2 -2
  206. package/dist/cdn/{GFNCEZSN.js → MEZHGYCH.js} +2 -2
  207. package/dist/cdn/{GS2HJTMU.js → MKCJXRXB.js} +2 -2
  208. package/dist/cdn/{OAMA6SL3.js → MPKC74OS.js} +2 -2
  209. package/dist/cdn/{HBWEW6R7.js → MUWOF7W4.js} +2 -2
  210. package/dist/cdn/{YYA4ZFSW.js → MW6AOK5D.js} +2 -2
  211. package/dist/cdn/{IQOQTYRR.js → N2HG34QB.js} +2 -2
  212. package/dist/cdn/{EK7Y6JBZ.js → N4MW5VBL.js} +2 -2
  213. package/dist/cdn/{ZKT4UHDI.js → N6QTPGCU.js} +2 -2
  214. package/dist/cdn/{HKLBQ7JD.js → N6VSP7BU.js} +2 -2
  215. package/dist/cdn/{M2LKA37F.js → NA7GF7PI.js} +2 -2
  216. package/dist/cdn/{GRDQQOV5.js → NBDQBLRI.js} +2 -2
  217. package/dist/cdn/{2TY3T3GH.js → NBHZZ4E6.js} +2 -2
  218. package/dist/cdn/{PWHXRRFU.js → NRJ6LV6O.js} +2 -2
  219. package/dist/cdn/{PM7HEWFB.js → NZBID35V.js} +2 -2
  220. package/dist/cdn/{DYUCS5QP.js → O57LOC52.js} +2 -2
  221. package/dist/cdn/{IM6IDWYR.js → O7RSAJOS.js} +1 -1
  222. package/dist/cdn/{TPVHN6P2.js → OBMM7WJD.js} +2 -2
  223. package/dist/cdn/{4IU5R6VO.js → OCLOCCB6.js} +2 -2
  224. package/dist/cdn/{QKZ552KI.js → OGAUCGGG.js} +2 -2
  225. package/dist/cdn/{3VCGDZEU.js → OHLJ6POC.js} +2 -2
  226. package/dist/cdn/{6MCDOI5M.js → OJXNUBIA.js} +2 -2
  227. package/dist/cdn/{XDU23V37.js → OUXE3CSQ.js} +2 -2
  228. package/dist/cdn/{H7NR6B6S.js → OX55WUIT.js} +2 -2
  229. package/dist/cdn/{YFTQR2WS.js → P5HSMYWG.js} +2 -2
  230. package/dist/cdn/{F5IHFPKA.js → PEH4U3YV.js} +2 -2
  231. package/dist/cdn/{4ZLIA5OM.js → PLTLRYBF.js} +2 -2
  232. package/dist/cdn/{CP5JALYQ.js → PLVTYVUG.js} +2 -2
  233. package/dist/cdn/{6J3KSMFG.js → POKO37D3.js} +1 -1
  234. package/dist/cdn/{6A2OF3TO.js → PRTHX6OC.js} +2 -2
  235. package/dist/cdn/{Z2WYULU3.js → PXAY7IM4.js} +2 -2
  236. package/dist/cdn/{2U3VASQT.js → PYTZ3YBE.js} +1 -1
  237. package/dist/cdn/{PBHNO4J7.js → Q22KIHFH.js} +2 -2
  238. package/dist/cdn/{M6YVO33A.js → Q73T55TC.js} +2 -2
  239. package/dist/cdn/{ZHSESERJ.js → QJWFZYU4.js} +2 -2
  240. package/dist/cdn/{Z3W7LQ5M.js → QKON7YGO.js} +2 -2
  241. package/dist/cdn/{PZZU36OG.js → QMQV37ML.js} +2 -2
  242. package/dist/cdn/{2BUURGFL.js → QMYL4UM7.js} +2 -2
  243. package/dist/cdn/{WO26ZR5Z.js → QOQRNYM5.js} +2 -2
  244. package/dist/cdn/{HKVIWCPL.js → QPFX5XH3.js} +2 -2
  245. package/dist/cdn/{UTV2A7J4.js → QTDJVI5F.js} +2 -2
  246. package/dist/cdn/{KZ5RXOV6.js → QTOA5MBN.js} +2 -2
  247. package/dist/cdn/QUZTFUWM.js +1 -0
  248. package/dist/cdn/QVL33OWJ.js +2 -0
  249. package/dist/cdn/{GIIYVCKT.js → QX33OCXB.js} +2 -2
  250. package/dist/cdn/{BVTEQMDF.js → R2IBOCMY.js} +2 -2
  251. package/dist/cdn/{OSDGWHZZ.js → R3IITUG6.js} +2 -2
  252. package/dist/cdn/{QEPANMVK.js → RAOEF6YV.js} +2 -2
  253. package/dist/cdn/{UUHCMLK6.js → RFSBZHJD.js} +2 -2
  254. package/dist/cdn/{HI7BF3DL.js → RKTSSP3O.js} +2 -2
  255. package/dist/cdn/{TO6SOEDF.js → RPHJDEZH.js} +2 -2
  256. package/dist/cdn/{GCEBFEZ5.js → RQG75Q2X.js} +2 -2
  257. package/dist/cdn/{5AMF6NZN.js → RQLMXLJC.js} +2 -2
  258. package/dist/cdn/{M3FI4K44.js → RYYBMDGS.js} +2 -2
  259. package/dist/cdn/{Z2ABUIL3.js → S62FQUEJ.js} +2 -2
  260. package/dist/cdn/{R5YW65AI.js → S6M66TIN.js} +2 -2
  261. package/dist/cdn/{GK47522P.js → SBIOND5K.js} +2 -2
  262. package/dist/cdn/{HDHWPKJ4.js → SFFTE3TG.js} +2 -2
  263. package/dist/cdn/{5ESNA4SF.js → SFSWQGLY.js} +2 -2
  264. package/dist/cdn/{BQGY4YCS.js → SP73K22L.js} +2 -2
  265. package/dist/cdn/{MA2GVVQJ.js → SQYMNL75.js} +2 -2
  266. package/dist/cdn/{ZO7TUIUE.js → SREWXCMU.js} +2 -2
  267. package/dist/cdn/{MYLIX42T.js → SXQRPAPL.js} +2 -2
  268. package/dist/cdn/{ND3V4Z4F.js → T2DT5I33.js} +1 -1
  269. package/dist/cdn/{7VJQVX42.js → T4V5O3FK.js} +2 -2
  270. package/dist/cdn/{R67ZOCIR.js → TC6HL72N.js} +2 -2
  271. package/dist/cdn/{YZJKSAQ5.js → TILA2OKK.js} +2 -2
  272. package/dist/cdn/{HU57LQOA.js → TMJX7DFH.js} +1 -1
  273. package/dist/cdn/{AL3PLZEE.js → TN5C3MSL.js} +1 -1
  274. package/dist/cdn/{QRROT6NE.js → TNFZHEWD.js} +2 -2
  275. package/dist/cdn/{7FFBCPVE.js → TPC2FJJX.js} +2 -2
  276. package/dist/cdn/{O6HYZKBU.js → TU6ZG6ZI.js} +2 -2
  277. package/dist/cdn/{SIZZ3BQA.js → TZ2LE7KS.js} +2 -2
  278. package/dist/cdn/{UUNHAVGJ.js → TZHXSIXK.js} +2 -2
  279. package/dist/cdn/{G26V76WA.js → UCTJVPYB.js} +2 -2
  280. package/dist/cdn/{IQEEQOMD.js → UINNR6FV.js} +2 -2
  281. package/dist/cdn/{HQWUQFN5.js → UMHGXP3S.js} +2 -2
  282. package/dist/cdn/{LYT35TNY.js → UPZVIKOH.js} +2 -2
  283. package/dist/cdn/{A7RLC6ZT.js → UWKXYCO3.js} +2 -2
  284. package/dist/cdn/{CR6PVUCT.js → VABVK3ZN.js} +2 -2
  285. package/dist/cdn/{JRCEICO2.js → VCRVQMYT.js} +2 -2
  286. package/dist/cdn/{DY2EOHFD.js → VCSX4G2U.js} +2 -2
  287. package/dist/cdn/{DFUR3C3D.js → VDTRRLON.js} +1 -1
  288. package/dist/cdn/{IAWXCNTX.js → VEAJ52RN.js} +2 -2
  289. package/dist/cdn/{XP74F2F6.js → VJE33ARY.js} +2 -2
  290. package/dist/cdn/{WJQUE4DR.js → VJVKFKSG.js} +1 -1
  291. package/dist/cdn/{JF7VJGL4.js → VSDQVSOV.js} +2 -2
  292. package/dist/cdn/{TSNUOFL7.js → VTCM7AV2.js} +2 -2
  293. package/dist/cdn/{GUHSWQMF.js → VWFQCWGB.js} +2 -2
  294. package/dist/cdn/{J6HOUEVT.js → VWN2LORT.js} +2 -2
  295. package/dist/cdn/{RPGNVCXZ.js → VYYFRZLI.js} +2 -2
  296. package/dist/cdn/{YZUSPKNF.js → WBI4RS3V.js} +2 -2
  297. package/dist/cdn/{WSHG4LV7.js → WCEDE4CZ.js} +2 -2
  298. package/dist/cdn/WEAGLY7B.js +2 -0
  299. package/dist/cdn/{ZKWI43WZ.js → WQMZ7BDQ.js} +2 -2
  300. package/dist/cdn/{S6BPBG7D.js → WVRJQQKH.js} +2 -2
  301. package/dist/cdn/WYNLO2MH.js +2 -0
  302. package/dist/cdn/{SR4V2CUQ.js → X3DQNCTZ.js} +2 -2
  303. package/dist/cdn/{DUMHDAYP.js → XAADUJ74.js} +2 -2
  304. package/dist/cdn/{4O3HLHQQ.js → XAD4PUBU.js} +2 -2
  305. package/dist/cdn/{OJIYHIGC.js → XAMLHDWZ.js} +2 -2
  306. package/dist/cdn/{GUL7EIJ4.js → XEK22IDA.js} +1 -1
  307. package/dist/cdn/XIYYT5SJ.js +2 -0
  308. package/dist/cdn/XKHGN6LQ.js +2 -0
  309. package/dist/cdn/{KCLVDXWB.js → XPGC5GAG.js} +2 -2
  310. package/dist/cdn/{SEY3WDK2.js → XPIX7Z2Q.js} +2 -2
  311. package/dist/cdn/{2UKSCGYU.js → XTPRVANS.js} +2 -2
  312. package/dist/cdn/{PDH2DA3L.js → XURL7UVF.js} +2 -2
  313. package/dist/cdn/{VTCE3YQW.js → XYNRLVTU.js} +2 -2
  314. package/dist/cdn/{CPYVZPJ7.js → Y2LELW5Y.js} +2 -2
  315. package/dist/cdn/{J4CHCFLS.js → Y4WOZJQX.js} +2 -2
  316. package/dist/cdn/{SIFBGT4D.js → YAEJKOYY.js} +2 -2
  317. package/dist/cdn/YDB2XJRU.js +2 -0
  318. package/dist/cdn/{4IWYFG2G.js → YHKTMUY7.js} +2 -2
  319. package/dist/cdn/{XYF36P2O.js → YKSVOTDV.js} +2 -2
  320. package/dist/cdn/{RRSU6QD4.js → YLC4L2QV.js} +2 -2
  321. package/dist/cdn/{EMXGW73P.js → YOUMOTN3.js} +2 -2
  322. package/dist/cdn/{65MI3MW2.js → YPNGSV66.js} +2 -2
  323. package/dist/cdn/{EHEWQ23K.js → YPNJ5V4R.js} +2 -2
  324. package/dist/cdn/{SZ3T7YEB.js → YU5BTZEI.js} +1 -1
  325. package/dist/cdn/{ZGOAZB5L.js → YWC5AUFV.js} +1 -1
  326. package/dist/cdn/{2SO5S66J.js → YWS5RHVM.js} +2 -2
  327. package/dist/cdn/YY45XUPP.js +2 -0
  328. package/dist/cdn/Z42QB2QP.js +2 -0
  329. package/dist/cdn/{TA723HWT.js → Z4WS2RBO.js} +2 -2
  330. package/dist/cdn/{7VDBR3SK.js → Z5C6UBYP.js} +2 -2
  331. package/dist/cdn/{7FCZLFJD.js → ZEKQYUW3.js} +2 -2
  332. package/dist/cdn/{XCTPKDKL.js → ZOHGLZNV.js} +2 -2
  333. package/dist/cdn/{4PI54LJH.js → ZPH7M75T.js} +2 -2
  334. package/dist/cdn/{M5KYBYZT.js → ZW2ZBNX2.js} +2 -2
  335. package/dist/cdn/{M7AFSV3C.js → ZWN6DXNO.js} +2 -2
  336. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ar.json +1 -1
  337. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bg.json +1 -1
  338. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.bs.json +1 -1
  339. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ca.json +1 -1
  340. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.cs.json +1 -1
  341. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.da.json +1 -1
  342. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.de.json +1 -1
  343. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.el.json +1 -1
  344. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.es.json +1 -1
  345. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.et.json +1 -1
  346. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fi.json +1 -1
  347. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.fr.json +1 -1
  348. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.he.json +1 -1
  349. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hr.json +1 -1
  350. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.hu.json +1 -1
  351. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.id.json +1 -1
  352. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.it.json +1 -1
  353. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ja.json +1 -1
  354. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ko.json +1 -1
  355. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lt.json +1 -1
  356. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.lv.json +1 -1
  357. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.nl.json +1 -1
  358. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.no.json +1 -1
  359. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pl.json +1 -1
  360. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-BR.json +1 -1
  361. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.pt-PT.json +1 -1
  362. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ro.json +1 -1
  363. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.ru.json +1 -1
  364. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sk.json +1 -1
  365. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sl.json +1 -1
  366. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sr.json +1 -1
  367. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.sv.json +1 -1
  368. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.th.json +1 -1
  369. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.tr.json +1 -1
  370. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.uk.json +1 -1
  371. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.vi.json +1 -1
  372. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-CN.json +1 -1
  373. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-HK.json +1 -1
  374. package/dist/cdn/assets/utility-network-trace-analysis/t9n/messages.zh-TW.json +1 -1
  375. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.ar.json +1 -1
  376. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.bg.json +1 -1
  377. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.bs.json +1 -1
  378. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.ca.json +1 -1
  379. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.cs.json +1 -1
  380. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.da.json +1 -1
  381. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.de.json +1 -1
  382. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.el.json +1 -1
  383. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.es.json +1 -1
  384. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.et.json +1 -1
  385. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.fi.json +1 -1
  386. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.fr.json +1 -1
  387. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.he.json +1 -1
  388. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.hr.json +1 -1
  389. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.hu.json +1 -1
  390. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.id.json +1 -1
  391. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.it.json +1 -1
  392. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.ja.json +1 -1
  393. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.ko.json +1 -1
  394. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.lt.json +1 -1
  395. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.lv.json +1 -1
  396. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.nl.json +1 -1
  397. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.no.json +1 -1
  398. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.pl.json +1 -1
  399. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.pt-BR.json +1 -1
  400. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.pt-PT.json +1 -1
  401. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.ro.json +1 -1
  402. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.ru.json +1 -1
  403. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.sk.json +1 -1
  404. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.sl.json +1 -1
  405. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.sr.json +1 -1
  406. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.sv.json +1 -1
  407. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.th.json +1 -1
  408. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.tr.json +1 -1
  409. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.uk.json +1 -1
  410. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.vi.json +1 -1
  411. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.zh-CN.json +1 -1
  412. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.zh-HK.json +1 -1
  413. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.zh-TW.json +1 -1
  414. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ar.json +1 -1
  415. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bg.json +1 -1
  416. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.bs.json +1 -1
  417. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ca.json +1 -1
  418. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.cs.json +1 -1
  419. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.da.json +1 -1
  420. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.de.json +1 -1
  421. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.el.json +1 -1
  422. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.es.json +1 -1
  423. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.et.json +1 -1
  424. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fi.json +1 -1
  425. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.fr.json +1 -1
  426. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.he.json +1 -1
  427. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hr.json +1 -1
  428. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.hu.json +1 -1
  429. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.id.json +1 -1
  430. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.it.json +1 -1
  431. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ja.json +1 -1
  432. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ko.json +1 -1
  433. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lt.json +1 -1
  434. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.lv.json +1 -1
  435. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.nl.json +1 -1
  436. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.no.json +1 -1
  437. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pl.json +1 -1
  438. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-BR.json +1 -1
  439. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.pt-PT.json +1 -1
  440. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ro.json +1 -1
  441. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.ru.json +1 -1
  442. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sk.json +1 -1
  443. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sl.json +1 -1
  444. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sr.json +1 -1
  445. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.sv.json +1 -1
  446. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.th.json +1 -1
  447. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.tr.json +1 -1
  448. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.uk.json +1 -1
  449. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.vi.json +1 -1
  450. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-CN.json +1 -1
  451. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-HK.json +1 -1
  452. package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.zh-TW.json +1 -1
  453. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.ar.json +1 -1
  454. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.bg.json +1 -1
  455. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.bs.json +1 -1
  456. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.ca.json +1 -1
  457. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.cs.json +1 -1
  458. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.da.json +1 -1
  459. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.de.json +1 -1
  460. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.el.json +1 -1
  461. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.es.json +1 -1
  462. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.et.json +1 -1
  463. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.fi.json +1 -1
  464. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.fr.json +1 -1
  465. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.he.json +1 -1
  466. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.hr.json +1 -1
  467. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.hu.json +1 -1
  468. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.id.json +1 -1
  469. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.it.json +1 -1
  470. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.ja.json +1 -1
  471. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.ko.json +1 -1
  472. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.lt.json +1 -1
  473. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.lv.json +1 -1
  474. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.nl.json +1 -1
  475. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.no.json +1 -1
  476. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.pl.json +1 -1
  477. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.pt-BR.json +1 -1
  478. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.pt-PT.json +1 -1
  479. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.ro.json +1 -1
  480. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.ru.json +1 -1
  481. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.sk.json +1 -1
  482. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.sl.json +1 -1
  483. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.sr.json +1 -1
  484. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.sv.json +1 -1
  485. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.th.json +1 -1
  486. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.tr.json +1 -1
  487. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.uk.json +1 -1
  488. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.vi.json +1 -1
  489. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.zh-CN.json +1 -1
  490. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.zh-HK.json +1 -1
  491. package/dist/cdn/assets/utility-network-trace-locations/t9n/messages.zh-TW.json +1 -1
  492. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ar.json +1 -1
  493. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bg.json +1 -1
  494. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.bs.json +1 -1
  495. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ca.json +1 -1
  496. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.cs.json +1 -1
  497. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.da.json +1 -1
  498. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.de.json +1 -1
  499. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.el.json +1 -1
  500. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.es.json +1 -1
  501. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.et.json +1 -1
  502. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fi.json +1 -1
  503. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.fr.json +1 -1
  504. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.he.json +1 -1
  505. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hr.json +1 -1
  506. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.hu.json +1 -1
  507. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.id.json +1 -1
  508. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.it.json +1 -1
  509. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ja.json +1 -1
  510. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ko.json +1 -1
  511. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lt.json +1 -1
  512. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.lv.json +1 -1
  513. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.nl.json +1 -1
  514. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.no.json +1 -1
  515. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pl.json +1 -1
  516. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-BR.json +1 -1
  517. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.pt-PT.json +1 -1
  518. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ro.json +1 -1
  519. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.ru.json +1 -1
  520. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sk.json +1 -1
  521. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sl.json +1 -1
  522. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sr.json +1 -1
  523. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.sv.json +1 -1
  524. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.th.json +1 -1
  525. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.tr.json +1 -1
  526. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.uk.json +1 -1
  527. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.vi.json +1 -1
  528. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-CN.json +1 -1
  529. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-HK.json +1 -1
  530. package/dist/cdn/assets/utility-network-trace-results/t9n/messages.zh-TW.json +1 -1
  531. package/dist/cdn/index.js +2 -2
  532. package/dist/chunks/AnalysisViewModel.js +1 -1
  533. package/dist/chunks/GeolocationPositioning.js +1 -1
  534. package/dist/chunks/action-utils.js +1 -1
  535. package/dist/chunks/async-utils.js +1 -1
  536. package/dist/chunks/attachment-utils.js +1 -1
  537. package/dist/chunks/chart-utils.js +1 -1
  538. package/dist/chunks/chartCommon.js +1 -1
  539. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  540. package/dist/chunks/component-utils.js +1 -1
  541. package/dist/chunks/component-wrapper.js +1 -1
  542. package/dist/chunks/constants.js +1 -1
  543. package/dist/chunks/constants2.js +1 -1
  544. package/dist/chunks/css.js +1 -1
  545. package/dist/chunks/dateUtils.js +1 -1
  546. package/dist/chunks/earth-utils.js +1 -1
  547. package/dist/chunks/esri-main.js +2 -2
  548. package/dist/chunks/feature-utils.js +1 -1
  549. package/dist/chunks/field.js +1 -1
  550. package/dist/chunks/formattingUtils.js +1 -1
  551. package/dist/chunks/globalCss.js +1 -1
  552. package/dist/chunks/goTo.js +1 -1
  553. package/dist/chunks/graphicsLayerController.js +1 -1
  554. package/dist/chunks/handle.js +1 -1
  555. package/dist/chunks/heading.js +1 -1
  556. package/dist/chunks/keyboard-utils.js +1 -1
  557. package/dist/chunks/layer-list-next.js +1 -1
  558. package/dist/chunks/layer-list-utils.js +1 -1
  559. package/dist/chunks/layer-utils.js +1 -1
  560. package/dist/chunks/layer-utils2.js +1 -1
  561. package/dist/chunks/legacyIcon.js +1 -1
  562. package/dist/chunks/maybe.js +1 -1
  563. package/dist/chunks/measurementUtils.js +1 -1
  564. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  565. package/dist/chunks/resources.js +1 -1
  566. package/dist/chunks/runtime.js +2 -2
  567. package/dist/chunks/screenLocation.js +1 -1
  568. package/dist/chunks/slots.js +1 -1
  569. package/dist/chunks/sr.js +1 -1
  570. package/dist/chunks/svgUtils.js +1 -1
  571. package/dist/chunks/time-utils.js +1 -1
  572. package/dist/chunks/titleUtils.js +1 -1
  573. package/dist/chunks/types.js +1 -1
  574. package/dist/chunks/univariateUtils.js +1 -1
  575. package/dist/chunks/urlUtils.js +1 -1
  576. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  577. package/dist/chunks/useCloseEvent.js +1 -1
  578. package/dist/chunks/useLayerById.js +1 -1
  579. package/dist/chunks/useT9n.js +1 -1
  580. package/dist/chunks/useView.js +1 -1
  581. package/dist/chunks/useViewModel.js +1 -1
  582. package/dist/chunks/useWidget.js +1 -1
  583. package/dist/chunks/utils.js +1 -1
  584. package/dist/chunks/utils2.js +1 -1
  585. package/dist/chunks/utils3.js +1 -1
  586. package/dist/chunks/utils4.js +1 -1
  587. package/dist/chunks/utils5.js +1 -1
  588. package/dist/chunks/utils6.js +1 -1
  589. package/dist/chunks/video-utils.js +1 -1
  590. package/dist/chunks/visible-element.js +1 -1
  591. package/dist/chunks/zoom.js +1 -1
  592. package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
  593. package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
  594. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  595. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  596. package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
  597. package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
  598. package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
  599. package/dist/components/arcgis-attachments/customElement.js +1 -1
  600. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  601. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  602. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  603. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +1 -1
  604. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  605. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  606. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  607. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  608. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  609. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  610. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  611. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  612. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
  613. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  614. package/dist/components/arcgis-color-select/customElement.js +1 -1
  615. package/dist/components/arcgis-compass/customElement.js +1 -1
  616. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  617. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  618. package/dist/components/arcgis-daylight/customElement.js +1 -1
  619. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  620. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  621. package/dist/components/arcgis-directions/customElement.js +1 -1
  622. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  623. package/dist/components/arcgis-editor/customElement.js +1 -1
  624. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  625. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  626. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  627. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  628. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  629. package/dist/components/arcgis-expand/customElement.js +1 -1
  630. package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
  631. package/dist/components/arcgis-feature/customElement.js +1 -1
  632. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  633. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  634. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  635. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  636. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  637. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  638. package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
  639. package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
  640. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  641. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  642. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  643. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  644. package/dist/components/arcgis-feature-next/customElement.d.ts +14 -6
  645. package/dist/components/arcgis-feature-next/customElement.js +31 -31
  646. package/dist/components/arcgis-feature-relationship/customElement.js +62 -62
  647. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  648. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  649. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  650. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  651. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +22 -22
  652. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +15 -15
  653. package/dist/components/arcgis-features/customElement.js +1 -1
  654. package/dist/components/arcgis-features-next/customElement.js +9 -9
  655. package/dist/components/arcgis-file-picker/customElement.js +1 -1
  656. package/dist/components/arcgis-filter-builder/customElement.js +1 -1
  657. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  658. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  659. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  660. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  661. package/dist/components/arcgis-home/customElement.js +1 -1
  662. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  663. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  664. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  665. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  666. package/dist/components/arcgis-layer-list-next/customElement.js +1 -1
  667. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  668. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  669. package/dist/components/arcgis-legend/customElement.js +2 -2
  670. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  671. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  672. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  673. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  674. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  675. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  676. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  677. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  678. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  679. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  680. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  681. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  682. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  683. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  684. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  685. package/dist/components/arcgis-link-chart/customElement.d.ts +7 -1
  686. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  687. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  688. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  689. package/dist/components/arcgis-locate/customElement.js +1 -1
  690. package/dist/components/arcgis-map/customElement.d.ts +7 -1
  691. package/dist/components/arcgis-map/customElement.js +1 -1
  692. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  693. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  694. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  695. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
  696. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -5
  697. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  698. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  699. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  700. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  701. package/dist/components/arcgis-paste/customElement.js +1 -1
  702. package/dist/components/arcgis-popup/customElement.js +1 -1
  703. package/dist/components/arcgis-presentation/customElement.js +1 -1
  704. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  705. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  706. package/dist/components/arcgis-print/customElement.js +1 -1
  707. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  708. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +1 -1
  709. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  710. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  711. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  712. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  713. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  714. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  715. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  716. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  717. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  718. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  719. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  720. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  721. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  722. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  723. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  724. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  725. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  726. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  727. package/dist/components/arcgis-scene/customElement.d.ts +7 -1
  728. package/dist/components/arcgis-scene/customElement.js +1 -1
  729. package/dist/components/arcgis-search/customElement.js +1 -1
  730. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  731. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  732. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  733. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  734. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  735. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  736. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  737. package/dist/components/arcgis-sketch/customElement.js +1 -1
  738. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  739. package/dist/components/arcgis-slice/customElement.js +1 -1
  740. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  741. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  742. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  743. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  744. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  745. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  746. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  747. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  748. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  749. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  750. package/dist/components/arcgis-spinner/customElement.js +1 -1
  751. package/dist/components/arcgis-swipe/customElement.js +1 -1
  752. package/dist/components/arcgis-table-list/customElement.js +1 -1
  753. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  754. package/dist/components/arcgis-template-image/customElement.js +1 -1
  755. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  756. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  757. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  758. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  759. package/dist/components/arcgis-time-bar-slider/customElement.js +1 -1
  760. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  761. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  762. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  763. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  764. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  765. package/dist/components/arcgis-track/customElement.js +1 -1
  766. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  767. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  768. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  769. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  770. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  771. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  772. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
  773. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  774. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  775. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
  776. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  777. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  778. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  779. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  780. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
  781. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  782. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  783. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  784. package/dist/components/arcgis-version-management/customElement.js +1 -1
  785. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  786. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  787. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  788. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  789. package/dist/components/arcgis-video/customElement.js +1 -1
  790. package/dist/components/arcgis-video-player/customElement.js +1 -1
  791. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  792. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  793. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  794. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  795. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  796. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  797. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  798. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  799. package/dist/components/arcgis-weather/customElement.js +1 -1
  800. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  801. package/dist/components/arcgis-zoom/customElement.js +1 -1
  802. package/dist/components/feature-form-next/customElement.js +1 -1
  803. package/dist/docs/api.json +1 -1
  804. package/dist/docs/docs.json +1 -1
  805. package/dist/docs/vscode.css-custom-data.json +1 -1
  806. package/dist/docs/vscode.html-custom-data.json +1 -1
  807. package/dist/docs/web-types.json +1 -1
  808. package/dist/index.js +1 -1
  809. package/dist/loader.js +5 -5
  810. package/dist/types/lumina.d.ts +1 -1
  811. package/dist/types/preact.d.ts +1 -1
  812. package/dist/types/react.d.ts +1 -1
  813. package/dist/types/stencil.d.ts +1 -1
  814. package/package.json +6 -6
  815. package/dist/cdn/4B2TLORL.js +0 -2
  816. package/dist/cdn/54K433WM.js +0 -2
  817. package/dist/cdn/5KN3AKHQ.js +0 -2
  818. package/dist/cdn/72P5MH2M.js +0 -2
  819. package/dist/cdn/75T7HFQ7.js +0 -2
  820. package/dist/cdn/77U2VO5P.js +0 -2
  821. package/dist/cdn/ADHQHWXX.js +0 -2
  822. package/dist/cdn/CGKP5OIU.js +0 -2
  823. package/dist/cdn/CNYZSE22.js +0 -2
  824. package/dist/cdn/CVJOD6H3.js +0 -2
  825. package/dist/cdn/FIZMK7GS.js +0 -1
  826. package/dist/cdn/HTC4LCZQ.js +0 -2
  827. package/dist/cdn/IITDAOGZ.js +0 -2
  828. package/dist/cdn/JWUCPHJH.js +0 -2
  829. package/dist/cdn/MA7GBKLW.js +0 -2
  830. package/dist/cdn/P3PXDT5V.js +0 -2
  831. package/dist/cdn/WK4TNKKC.js +0 -2
  832. package/dist/cdn/WSKGF436.js +0 -2
  833. package/dist/cdn/ZSPYPXBY.js +0 -2
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as $}from"./GUL7EIJ4.js";import i from"./HU57LQOA.js";import f from"./RUYAWRPV.js";import"./WJQUE4DR.js";import e from"./BQBWXR6P.js";import{a as F}from"./ZSPYPXBY.js";import d from"./ALVAGE57.js";import c from"./HPWF3IQV.js";import{h as w}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as g,X as b,a as T,b as r,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{property:l,subclass:x},B,_,{getAllStandardFeatureTemplatesForLayer:D,getTemplatesForLayers:L},{isTable:y,getEffectiveLayerCapabilities:E},{watch:v},,{a:M},,S,,{g:m,h:f}])=>{var U=T`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`,C=Object.defineProperty,R=Object.getOwnPropertyDescriptor,a=(t,e,i,o)=>{for(var n=o>1?void 0:o?R(e,i):e,p=t.length-1,c;p>=0;p--)(c=t[p])&&(n=(o?c(e,i,n):c(n))||n);return o&&n&&C(e,i,n),n};function I(t){switch(t){case"point":case"multipoint":case"polyline":case"polygon":case"extent":case"mesh":return t}return"noneSpecified"}var A=t=>I(t.layer.geometryType??""),s=class extends B{constructor(t){super(t),this._hasRunInitialLoad=!1,this.favoritesEnabled=!1,this.recentlyUsedEnabled=!1,this.hideTemplateDescription=!1,this.filterText="",this.recentFilterText="",this.favoritesFilterText="",this.display="grouped",this.groupBy="layer",this.hideTemplatesMode="never",this.disableTemplatesMode="never",this.sectionSortBy="system",this.templateSortBy="alphabetical",this.sharedTemplatesDisabled=!1,this.excludeTables=!1,this.favorites=new Set,this.fetchingTemplateMetaData=!1,this.recentlyUsed=[]}async handleTemplateSourceDefinitionChanged(){if(this._hasRunInitialLoad=!1,this.applicationTemplates){await this._restore();return}try{this.fetchingTemplateMetaData=!0;let t=this.activeLayers;if(await Promise.allSettled(t.map(e=>e.load())),this.sharedTemplatesDisabled){let e=[];for(let i of t){let o=D(i);o.length>0&&e.push({layer:i,templates:o})}this.mapTemplates=e;return}this.mapTemplates=await L(t,this.view,void 0,{returnVisibleTemplatesOnly:!0}),await this._restore()}catch{this.mapTemplates=[]}finally{this.fetchingTemplateMetaData=!1}}get loading(){return!this._hasRunInitialLoad||this.layers!==void 0||this.applicationTemplates!==void 0||!this.view?.ready}async addFavorite(t){this.favorites.add(t.id),this.favorites=new Set(this.favorites)}async removeFavorite(t){this.favorites.delete(t.id),this.favorites=new Set(this.favorites)}addRecent(t){if(!this.recentlyUsedEnabled)return;let e=this.recentlyUsed.filter(i=>i!==t.id);e.unshift(t.id)>20&&(e.length=20),this.recentlyUsed=e}async removeRecent(t){this.recentlyUsed=this.recentlyUsed.filter(e=>e!==t.id)}async _restore(){try{if(this.favoritesEnabled&&this.restoreFavorites){let t=await this.restoreFavorites();this.favorites=new Set(t??[])}}catch{}try{if(this.recentlyUsedEnabled&&this.restoreRecentlyUsed){let t=await this.restoreRecentlyUsed();this.recentlyUsed=t??[]}}catch{}}_sortTemplates(t){if(this.templateSortByFunction){let e=this.templateSortByFunction(t)??null;return e===null?t:e}return this.templateSortBy==="alphabetical"?t.toSorted((e,i)=>e.label.localeCompare(i.label)):t}_sortSections(t){if(this.sectionSortByFunction){let e=this.sectionSortByFunction(t);e&&(t=e)}else if(this.sectionSortBy==="alphabetical")t=t.toSorted((e,i)=>e.sectionName.localeCompare(i.sectionName));else if(this.groupBy==="geometry"&&!this.groupByFunction){let e={point:1,multipoint:2,polyline:3,polygon:4,extent:5,mesh:6,noneSpecified:7};t=t.toSorted((i,o)=>{let n=e[i.sectionName]??10,p=e[o.sectionName]??10;return n-p})}for(let e of t)e.templates=this._sortTemplates(e.templates);return t}_layerIsVisibleAtCurrentScale(t){if(!this.view)return!0;let e=t;f(t)&&(e=t.parent);let i=this.view.allLayerViews.find(o=>o.layer===e);if(!i)return!0;if(f(t)){let o=this.view.scale;if(i.visibleAtCurrentScale){let n=t.minScale,p=t.maxScale,c=!n,d=!p;return!c&&o<=n&&(c=!0),!d&&o>=p&&(d=!0),c&&d}}return i.visibleAtCurrentScale}get activeLayers(){let t=[];for(let e of this.layers??[])if(m(e))for(let i of e.sublayers)t.push(i);else t.push(e);if(this.layers===void 0||this.layers===null){for(let e of[...this.view?.map?.allLayers?.slice(0).reverse()??[],...this.excludeTables?[]:this.view?.map?.allTables?.slice(0).reverse()??[]])if(e.type==="feature"||e.type==="scene"||e.type==="geojson"||e.type==="oriented-imagery"||e.type==="knowledge-graph")t.push(e);else if(m(e))for(let i of e.sublayers)t.push(i)}return t}get selectedTemplate(){return this.allTemplates.find(t=>t.id===this.selectedTemplateId)}get effectiveTemplates(){return this.templates.map(t=>({...t,templates:t.templates.filter(e=>this.inclusionFilter(e))})).filter(t=>t.templates.length>0)}get templateList(){return this._sortTemplates(this.effectiveTemplates.flatMap(t=>t.templates))}get allTemplates(){return this._sortTemplates(this.templates.flatMap(t=>t.templates))}inclusionFilter(t){if(this.excludeTables&&y(t.layer)||this.applicationFilterFunction?.(t)===!1)return!1;let e=E(t.layer)?.operations;return e?.supportsEditing===!1&&!e?.supportsAdd?!1:y(t.layer)?!0:!(this.hideTemplatesMode==="visible"&&!t.layer.visible||this.hideTemplatesMode==="scale"&&!this._layerIsVisibleAtCurrentScale(t.layer))}get templateSetKey(){return this._sortTemplates(this.allTemplates).map(t=>t.id).join(",")}get disabledTemplates(){let t=new Set;for(let e of this.allTemplates){if(this.applicationDisabledFunction&&this.applicationDisabledFunction(e)){t.add(e);continue}if(!y(e.layer)){if(this.disableTemplatesMode==="visible"&&!e.layer.visible){t.add(e);continue}if(this.disableTemplatesMode==="scale"&&this.view&&!this._layerIsVisibleAtCurrentScale(e.layer)){t.add(e);continue}}}return t}get templates(){return this.applicationTemplates??this.organizedMapTemplates}get organizedMapTemplates(){if(this.groupByFunction||this.groupBy==="geometry"){let t=!this.groupByFunction,e=this.groupByFunction??A,i=new Map;for(let o of this.mapTemplates??[])for(let n of o.templates){let p=new _({template:n,layer:o.layer}),c=e(p);if(c!=null)if(i.has(c))i.get(c)?.templates.push(p);else{let d={sectionName:c,...t?{autoTranslate:!0}:{},templates:[p]};i.set(c,d)}}return this._sortSections(Array.from(i.values()))}return this._sortSections((this.mapTemplates??[]).map(({layer:t,templates:e})=>({sectionName:t.title??"",templates:e.map(i=>new _({layer:t,template:i}))})).filter(t=>t.templates.length>0))}get updating(){return this.fetchingTemplateMetaData}get favoriteTemplates(){let t=[];for(let e of this.effectiveTemplates)for(let i of e.templates)this.favorites.has(i.id)&&t.push(i);return t}get recentTemplates(){let t=new Map;for(let i of this.effectiveTemplates)for(let o of i.templates)t.set(o.id,o);let e=[];for(let i of this.recentlyUsed)t.has(i)&&e.push(t.get(i));return e}};a([l()],s.prototype,"loading",1);a([l()],s.prototype,"_hasRunInitialLoad",2);a([l()],s.prototype,"activeLayers",1);a([l()],s.prototype,"favoritesEnabled",2);a([l()],s.prototype,"recentlyUsedEnabled",2);a([l()],s.prototype,"hideTemplateDescription",2);a([l()],s.prototype,"filterText",2);a([l()],s.prototype,"recentFilterText",2);a([l()],s.prototype,"favoritesFilterText",2);a([l()],s.prototype,"selectedTemplateId",2);a([l()],s.prototype,"selectedTemplate",1);a([l()],s.prototype,"layers",2);a([l()],s.prototype,"restoreFavorites",2);a([l()],s.prototype,"restoreRecentlyUsed",2);a([l()],s.prototype,"applicationDisabledFunction",2);a([l()],s.prototype,"applicationFilterFunction",2);a([l()],s.prototype,"display",2);a([l()],s.prototype,"groupBy",2);a([l()],s.prototype,"hideTemplatesMode",2);a([l()],s.prototype,"disableTemplatesMode",2);a([l()],s.prototype,"groupByFunction",2);a([l()],s.prototype,"sectionSortBy",2);a([l()],s.prototype,"templateSortBy",2);a([l()],s.prototype,"sectionSortByFunction",2);a([l()],s.prototype,"templateSortByFunction",2);a([l()],s.prototype,"sharedTemplatesDisabled",2);a([l()],s.prototype,"excludeTables",2);a([l()],s.prototype,"favorites",2);a([l()],s.prototype,"effectiveTemplates",1);a([l()],s.prototype,"templateList",1);a([l()],s.prototype,"allTemplates",1);a([l()],s.prototype,"templateSetKey",1);a([l()],s.prototype,"disabledTemplates",1);a([l()],s.prototype,"templates",1);a([l()],s.prototype,"mapTemplates",2);a([l()],s.prototype,"organizedMapTemplates",1);a([l()],s.prototype,"fetchingTemplateMetaData",2);a([l()],s.prototype,"updating",1);a([l()],s.prototype,"applicationTemplates",2);a([l()],s.prototype,"favoriteTemplates",1);a([l()],s.prototype,"recentTemplates",1);a([l()],s.prototype,"recentlyUsed",2);a([l()],s.prototype,"view",2);s=a([x("components.feature-templates.FeatureTemplatesViewModel")],s);var P=S(s),u=class extends g{constructor(){super(...arguments),this._messages=F(),this.viewModel=P(this),this.favoritesEnabled=this.viewModel.favoritesEnabled,this.favorites=this.viewModel.favorites,this.restoreFavorites=this.viewModel.restoreFavorites,this.restoreRecentlyUsed=this.viewModel.restoreRecentlyUsed,this.recentlyUsed=this.viewModel.recentlyUsed,this.sharedTemplatesDisabled=this.viewModel.sharedTemplatesDisabled,this.filterText=this.viewModel.filterText,this.recentFilterText=this.viewModel.recentFilterText,this.favoritesFilterText=this.viewModel.favoritesFilterText,this.recentlyUsedEnabled=this.viewModel.recentlyUsedEnabled,this.excludeTables=this.viewModel.excludeTables,this.effectiveTemplates=this.viewModel.effectiveTemplates,this.applicationTemplates=this.viewModel.applicationTemplates,this.selectedTemplateId=this.viewModel.selectedTemplateId,this.selectedTemplate=this.viewModel.selectedTemplate,this.applicationFilterFunction=this.viewModel.applicationFilterFunction,this.applicationDisabledFunction=this.viewModel.applicationDisabledFunction,this.display=this.viewModel.display,this.groupBy=this.viewModel.groupBy,this.sectionSortBy=this.viewModel.sectionSortBy,this.templateSortBy=this.viewModel.templateSortBy,this.templateSortByFunction=this.viewModel.templateSortByFunction,this.sectionSortByFunction=this.viewModel.sectionSortByFunction,this.hideTemplatesMode=this.viewModel.hideTemplatesMode,this.disableTemplatesMode=this.viewModel.disableTemplatesMode,this.groupByFunction=this.viewModel.groupByFunction,this.hideTemplateDescription=this.viewModel.hideTemplateDescription,this.layers=this.viewModel.layers,this.view=M(this),this.autoDestroyDisabled=!1,this.updating=this.viewModel.updating,this.disabled=!1,this.showCollapseButton=!1,this.showFilter=!1,this.minRequiredFilterCount=2,this.arcgisPropertyChange=w()("effectiveTemplates","filterText","recentlyUsed","favorites"),this.arcgisReady=h(),this.arcgisTemplatesChanged=h(),this.arcgisSelectTemplate=h()}static{this.properties={favoritesEnabled:5,favorites:32,restoreFavorites:0,restoreRecentlyUsed:0,recentlyUsed:32,sharedTemplatesDisabled:5,filterText:1,recentFilterText:1,favoritesFilterText:1,recentlyUsedEnabled:5,excludeTables:5,effectiveTemplates:32,applicationTemplates:0,selectedTemplateId:1,selectedTemplate:32,applicationFilterFunction:0,applicationDisabledFunction:0,display:1,groupBy:1,sectionSortBy:1,templateSortBy:1,templateSortByFunction:0,sectionSortByFunction:0,hideTemplatesMode:1,disableTemplatesMode:1,groupByFunction:0,hideTemplateDescription:5,layers:0,view:0,referenceElement:1,autoDestroyDisabled:5,updating:32,disabled:5,showCollapseButton:5,showFilter:5,minRequiredFilterCount:9}}static{this.styles=U}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view,()=>{this.viewModel.view=this.view},{initial:!0}),v(()=>this.viewModel.templateSetKey,()=>{this.arcgisTemplatesChanged.emit()}),v(()=>[this.viewModel.activeLayers?.map(e=>e.id).join(","),this.viewModel?.applicationTemplates,this.viewModel?.sharedTemplatesDisabled],$(()=>this.viewModel.handleTemplateSourceDefinitionChanged(),10),{initial:!0})])}_handleSelectTemplate(e){this.selectedTemplateId=e.id,this.arcgisSelectTemplate.emit({template:e}),this.viewModel.addRecent(e)}_removeTemplateFromList(e,i){if(i==="favorites"){this.viewModel.removeFavorite(e);return}this.viewModel.removeRecent(e)}_renderTemplates(){return this.effectiveTemplates.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${this._messages.noTemplates}</div></calcite-notice>`:r`<calcite-list .filterPlaceholder=${this._messages.filterPlaceholder??""} .filterText=${this.filterText} .label=${this._messages?.templates??""} .filterEnabled=${this.showFilter&&this.viewModel.templateList.length>=this.minRequiredFilterCount} selection-appearance=border selection-mode=single @calciteListFilter=${e=>{this.filterText=e.target.filterText}}>${this.display==="grouped"?this.effectiveTemplates.map(e=>r`<calcite-list-item-group .heading=${e.autoTranslate?this._messages[e.sectionName]??"":e.sectionName}>${e.templates.map(i=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(i)} .label=${i.label} .selected=${i.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:i.description} .value=${i.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(i)}}><arcgis-template-image slot=content-start .template=${i}></arcgis-template-image>${this._renderAddFavorite(i)}</calcite-list-item>`)}</calcite-list-item-group>`):this.viewModel.templateList.map(e=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(e)} .label=${e.label} .selected=${e.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:e.description} .value=${e.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(e)}}><arcgis-template-image slot=content-start .template=${e}></arcgis-template-image>${this._renderAddFavorite(e)}</calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderAddFavorite(e){return this.viewModel.favoritesEnabled?r`<calcite-action slot=actions-end .icon=${this.viewModel.favorites.has(e.id)?"heart-f":"heart"} @click=${()=>{this.viewModel.favorites.has(e.id)?this.viewModel.removeFavorite(e):this.viewModel.addFavorite(e)}} .text=${this._messages.addFavorite??""}></calcite-action>`:""}_renderList(e){let i=e==="favorites"?this.viewModel.favoriteTemplates:this.viewModel.recentTemplates;return i.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${e==="favorites"?this._messages.noFavorites:this._messages.noRecent}</div></calcite-notice>`:r`<calcite-list .filterText=${e==="favorites"?this.favoritesFilterText:this.recentFilterText} .filterPlaceholder=${this._messages.filterPlaceholder??""} .label=${(e==="favorites"?this._messages.favorites:this._messages.recent)??""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${o=>{this.filterText=o.target.filterText}}>${i.map(o=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(o)} .label=${o.label} .description=${this.hideTemplateDescription?void 0:o.description} .value=${o.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(o)}}><arcgis-template-image slot=content-start .template=${o}></arcgis-template-image><calcite-action slot=actions-end icon=x @click=${()=>{this._removeTemplateFromList(o,e)}} .text=${(e==="favorites"?this._messages.removeFavorite:this._messages.removeRecent)??""}></calcite-action></calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderFilteredEmpty(){return r`<calcite-notice icon=filter slot=filter-no-results open class="filter-no-results"><div slot=message>${this._messages.noMatchingTemplates}</div></calcite-notice>`}_renderContent(){return this.effectiveTemplates.length===0&&this.viewModel.loading?null:this.favoritesEnabled||this.recentlyUsedEnabled?r`<calcite-tabs class="feature-template-tabs"><calcite-tab-nav slot=title-group><calcite-tab-title icon-start=templates selected>${this._messages.templates}</calcite-tab-title>${this.recentlyUsedEnabled?r`<calcite-tab-title icon-start=clock>${this._messages.recent}</calcite-tab-title>`:""}${this.favoritesEnabled?r`<calcite-tab-title icon-start=heart>${this._messages.favorites}</calcite-tab-title>`:""}</calcite-tab-nav><calcite-tab selected>${this._renderTemplates()}</calcite-tab><calcite-tab>${this._renderList("recent")}</calcite-tab><calcite-tab>${this._renderList("favorites")}</calcite-tab></calcite-tabs>`:this._renderTemplates()}render(){return r`<div class="root">${this._renderContent()}${this.viewModel.updating||this.disabled?r`<calcite-scrim><calcite-loader scale=s label .hidden=${!this.viewModel.updating}></calcite-loader></calcite-scrim>`:null}</div>`}};b("arcgis-feature-templates",u);return u},"core/accessorSupport/decorators","core/Accessor","editing/templates/TemplateListItem","applications/Components/templateUtils","applications/Components/layerUtils","core/reactiveUtils",a,c,d,e,f,i)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as $}from"./XEK22IDA.js";import i from"./TMJX7DFH.js";import f from"./DSDPDMLP.js";import"./VJVKFKSG.js";import e from"./CQQM24VF.js";import{a as F}from"./WEAGLY7B.js";import d from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as w}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as g,X as b,a as T,b as r,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{property:l,subclass:x},B,_,{getAllStandardFeatureTemplatesForLayer:D,getTemplatesForLayers:L},{isTable:y,getEffectiveLayerCapabilities:E},{watch:v},,{a:M},,S,,{g:m,h:f}])=>{var U=T`:host{display:flex;position:relative;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}.root>*{width:100%;box-sizing:border-box}.feature-template-tabs{--calcite-tab-background-color: transparent}`,C=Object.defineProperty,R=Object.getOwnPropertyDescriptor,a=(t,e,i,o)=>{for(var n=o>1?void 0:o?R(e,i):e,p=t.length-1,c;p>=0;p--)(c=t[p])&&(n=(o?c(e,i,n):c(n))||n);return o&&n&&C(e,i,n),n};function I(t){switch(t){case"point":case"multipoint":case"polyline":case"polygon":case"extent":case"mesh":return t}return"noneSpecified"}var A=t=>I(t.layer.geometryType??""),s=class extends B{constructor(t){super(t),this._hasRunInitialLoad=!1,this.favoritesEnabled=!1,this.recentlyUsedEnabled=!1,this.hideTemplateDescription=!1,this.filterText="",this.recentFilterText="",this.favoritesFilterText="",this.display="grouped",this.groupBy="layer",this.hideTemplatesMode="never",this.disableTemplatesMode="never",this.sectionSortBy="system",this.templateSortBy="alphabetical",this.sharedTemplatesDisabled=!1,this.excludeTables=!1,this.favorites=new Set,this.fetchingTemplateMetaData=!1,this.recentlyUsed=[]}async handleTemplateSourceDefinitionChanged(){if(this._hasRunInitialLoad=!1,this.applicationTemplates){await this._restore();return}try{this.fetchingTemplateMetaData=!0;let t=this.activeLayers;if(await Promise.allSettled(t.map(e=>e.load())),this.sharedTemplatesDisabled){let e=[];for(let i of t){let o=D(i);o.length>0&&e.push({layer:i,templates:o})}this.mapTemplates=e;return}this.mapTemplates=await L(t,this.view,void 0,{returnVisibleTemplatesOnly:!0}),await this._restore()}catch{this.mapTemplates=[]}finally{this.fetchingTemplateMetaData=!1}}get loading(){return!this._hasRunInitialLoad||this.layers!==void 0||this.applicationTemplates!==void 0||!this.view?.ready}async addFavorite(t){this.favorites.add(t.id),this.favorites=new Set(this.favorites)}async removeFavorite(t){this.favorites.delete(t.id),this.favorites=new Set(this.favorites)}addRecent(t){if(!this.recentlyUsedEnabled)return;let e=this.recentlyUsed.filter(i=>i!==t.id);e.unshift(t.id)>20&&(e.length=20),this.recentlyUsed=e}async removeRecent(t){this.recentlyUsed=this.recentlyUsed.filter(e=>e!==t.id)}async _restore(){try{if(this.favoritesEnabled&&this.restoreFavorites){let t=await this.restoreFavorites();this.favorites=new Set(t??[])}}catch{}try{if(this.recentlyUsedEnabled&&this.restoreRecentlyUsed){let t=await this.restoreRecentlyUsed();this.recentlyUsed=t??[]}}catch{}}_sortTemplates(t){if(this.templateSortByFunction){let e=this.templateSortByFunction(t)??null;return e===null?t:e}return this.templateSortBy==="alphabetical"?t.toSorted((e,i)=>e.label.localeCompare(i.label)):t}_sortSections(t){if(this.sectionSortByFunction){let e=this.sectionSortByFunction(t);e&&(t=e)}else if(this.sectionSortBy==="alphabetical")t=t.toSorted((e,i)=>e.sectionName.localeCompare(i.sectionName));else if(this.groupBy==="geometry"&&!this.groupByFunction){let e={point:1,multipoint:2,polyline:3,polygon:4,extent:5,mesh:6,noneSpecified:7};t=t.toSorted((i,o)=>{let n=e[i.sectionName]??10,p=e[o.sectionName]??10;return n-p})}for(let e of t)e.templates=this._sortTemplates(e.templates);return t}_layerIsVisibleAtCurrentScale(t){if(!this.view)return!0;let e=t;f(t)&&(e=t.parent);let i=this.view.allLayerViews.find(o=>o.layer===e);if(!i)return!0;if(f(t)){let o=this.view.scale;if(i.visibleAtCurrentScale){let n=t.minScale,p=t.maxScale,c=!n,d=!p;return!c&&o<=n&&(c=!0),!d&&o>=p&&(d=!0),c&&d}}return i.visibleAtCurrentScale}get activeLayers(){let t=[];for(let e of this.layers??[])if(m(e))for(let i of e.sublayers)t.push(i);else t.push(e);if(this.layers===void 0||this.layers===null){for(let e of[...this.view?.map?.allLayers?.slice(0).reverse()??[],...this.excludeTables?[]:this.view?.map?.allTables?.slice(0).reverse()??[]])if(e.type==="feature"||e.type==="scene"||e.type==="geojson"||e.type==="oriented-imagery"||e.type==="knowledge-graph")t.push(e);else if(m(e))for(let i of e.sublayers)t.push(i)}return t}get selectedTemplate(){return this.allTemplates.find(t=>t.id===this.selectedTemplateId)}get effectiveTemplates(){return this.templates.map(t=>({...t,templates:t.templates.filter(e=>this.inclusionFilter(e))})).filter(t=>t.templates.length>0)}get templateList(){return this._sortTemplates(this.effectiveTemplates.flatMap(t=>t.templates))}get allTemplates(){return this._sortTemplates(this.templates.flatMap(t=>t.templates))}inclusionFilter(t){if(this.excludeTables&&y(t.layer)||this.applicationFilterFunction?.(t)===!1)return!1;let e=E(t.layer)?.operations;return e?.supportsEditing===!1&&!e?.supportsAdd?!1:y(t.layer)?!0:!(this.hideTemplatesMode==="visible"&&!t.layer.visible||this.hideTemplatesMode==="scale"&&!this._layerIsVisibleAtCurrentScale(t.layer))}get templateSetKey(){return this._sortTemplates(this.allTemplates).map(t=>t.id).join(",")}get disabledTemplates(){let t=new Set;for(let e of this.allTemplates){if(this.applicationDisabledFunction&&this.applicationDisabledFunction(e)){t.add(e);continue}if(!y(e.layer)){if(this.disableTemplatesMode==="visible"&&!e.layer.visible){t.add(e);continue}if(this.disableTemplatesMode==="scale"&&this.view&&!this._layerIsVisibleAtCurrentScale(e.layer)){t.add(e);continue}}}return t}get templates(){return this.applicationTemplates??this.organizedMapTemplates}get organizedMapTemplates(){if(this.groupByFunction||this.groupBy==="geometry"){let t=!this.groupByFunction,e=this.groupByFunction??A,i=new Map;for(let o of this.mapTemplates??[])for(let n of o.templates){let p=new _({template:n,layer:o.layer}),c=e(p);if(c!=null)if(i.has(c))i.get(c)?.templates.push(p);else{let d={sectionName:c,...t?{autoTranslate:!0}:{},templates:[p]};i.set(c,d)}}return this._sortSections(Array.from(i.values()))}return this._sortSections((this.mapTemplates??[]).map(({layer:t,templates:e})=>({sectionName:t.title??"",templates:e.map(i=>new _({layer:t,template:i}))})).filter(t=>t.templates.length>0))}get updating(){return this.fetchingTemplateMetaData}get favoriteTemplates(){let t=[];for(let e of this.effectiveTemplates)for(let i of e.templates)this.favorites.has(i.id)&&t.push(i);return t}get recentTemplates(){let t=new Map;for(let i of this.effectiveTemplates)for(let o of i.templates)t.set(o.id,o);let e=[];for(let i of this.recentlyUsed)t.has(i)&&e.push(t.get(i));return e}};a([l()],s.prototype,"loading",1);a([l()],s.prototype,"_hasRunInitialLoad",2);a([l()],s.prototype,"activeLayers",1);a([l()],s.prototype,"favoritesEnabled",2);a([l()],s.prototype,"recentlyUsedEnabled",2);a([l()],s.prototype,"hideTemplateDescription",2);a([l()],s.prototype,"filterText",2);a([l()],s.prototype,"recentFilterText",2);a([l()],s.prototype,"favoritesFilterText",2);a([l()],s.prototype,"selectedTemplateId",2);a([l()],s.prototype,"selectedTemplate",1);a([l()],s.prototype,"layers",2);a([l()],s.prototype,"restoreFavorites",2);a([l()],s.prototype,"restoreRecentlyUsed",2);a([l()],s.prototype,"applicationDisabledFunction",2);a([l()],s.prototype,"applicationFilterFunction",2);a([l()],s.prototype,"display",2);a([l()],s.prototype,"groupBy",2);a([l()],s.prototype,"hideTemplatesMode",2);a([l()],s.prototype,"disableTemplatesMode",2);a([l()],s.prototype,"groupByFunction",2);a([l()],s.prototype,"sectionSortBy",2);a([l()],s.prototype,"templateSortBy",2);a([l()],s.prototype,"sectionSortByFunction",2);a([l()],s.prototype,"templateSortByFunction",2);a([l()],s.prototype,"sharedTemplatesDisabled",2);a([l()],s.prototype,"excludeTables",2);a([l()],s.prototype,"favorites",2);a([l()],s.prototype,"effectiveTemplates",1);a([l()],s.prototype,"templateList",1);a([l()],s.prototype,"allTemplates",1);a([l()],s.prototype,"templateSetKey",1);a([l()],s.prototype,"disabledTemplates",1);a([l()],s.prototype,"templates",1);a([l()],s.prototype,"mapTemplates",2);a([l()],s.prototype,"organizedMapTemplates",1);a([l()],s.prototype,"fetchingTemplateMetaData",2);a([l()],s.prototype,"updating",1);a([l()],s.prototype,"applicationTemplates",2);a([l()],s.prototype,"favoriteTemplates",1);a([l()],s.prototype,"recentTemplates",1);a([l()],s.prototype,"recentlyUsed",2);a([l()],s.prototype,"view",2);s=a([x("components.feature-templates.FeatureTemplatesViewModel")],s);var P=S(s),u=class extends g{constructor(){super(...arguments),this._messages=F(),this.viewModel=P(this),this.favoritesEnabled=this.viewModel.favoritesEnabled,this.favorites=this.viewModel.favorites,this.restoreFavorites=this.viewModel.restoreFavorites,this.restoreRecentlyUsed=this.viewModel.restoreRecentlyUsed,this.recentlyUsed=this.viewModel.recentlyUsed,this.sharedTemplatesDisabled=this.viewModel.sharedTemplatesDisabled,this.filterText=this.viewModel.filterText,this.recentFilterText=this.viewModel.recentFilterText,this.favoritesFilterText=this.viewModel.favoritesFilterText,this.recentlyUsedEnabled=this.viewModel.recentlyUsedEnabled,this.excludeTables=this.viewModel.excludeTables,this.effectiveTemplates=this.viewModel.effectiveTemplates,this.applicationTemplates=this.viewModel.applicationTemplates,this.selectedTemplateId=this.viewModel.selectedTemplateId,this.selectedTemplate=this.viewModel.selectedTemplate,this.applicationFilterFunction=this.viewModel.applicationFilterFunction,this.applicationDisabledFunction=this.viewModel.applicationDisabledFunction,this.display=this.viewModel.display,this.groupBy=this.viewModel.groupBy,this.sectionSortBy=this.viewModel.sectionSortBy,this.templateSortBy=this.viewModel.templateSortBy,this.templateSortByFunction=this.viewModel.templateSortByFunction,this.sectionSortByFunction=this.viewModel.sectionSortByFunction,this.hideTemplatesMode=this.viewModel.hideTemplatesMode,this.disableTemplatesMode=this.viewModel.disableTemplatesMode,this.groupByFunction=this.viewModel.groupByFunction,this.hideTemplateDescription=this.viewModel.hideTemplateDescription,this.layers=this.viewModel.layers,this.view=M(this),this.autoDestroyDisabled=!1,this.updating=this.viewModel.updating,this.disabled=!1,this.showCollapseButton=!1,this.showFilter=!1,this.minRequiredFilterCount=2,this.arcgisPropertyChange=w()("effectiveTemplates","filterText","recentlyUsed","favorites"),this.arcgisReady=h(),this.arcgisTemplatesChanged=h(),this.arcgisSelectTemplate=h()}static{this.properties={favoritesEnabled:5,favorites:32,restoreFavorites:0,restoreRecentlyUsed:0,recentlyUsed:32,sharedTemplatesDisabled:5,filterText:1,recentFilterText:1,favoritesFilterText:1,recentlyUsedEnabled:5,excludeTables:5,effectiveTemplates:32,applicationTemplates:0,selectedTemplateId:1,selectedTemplate:32,applicationFilterFunction:0,applicationDisabledFunction:0,display:1,groupBy:1,sectionSortBy:1,templateSortBy:1,templateSortByFunction:0,sectionSortByFunction:0,hideTemplatesMode:1,disableTemplatesMode:1,groupByFunction:0,hideTemplateDescription:5,layers:0,view:0,referenceElement:1,autoDestroyDisabled:5,updating:32,disabled:5,showCollapseButton:5,showFilter:5,minRequiredFilterCount:9}}static{this.styles=U}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[v(()=>this.view,()=>{this.viewModel.view=this.view},{initial:!0}),v(()=>this.viewModel.templateSetKey,()=>{this.arcgisTemplatesChanged.emit()}),v(()=>[this.viewModel.activeLayers?.map(e=>e.id).join(","),this.viewModel?.applicationTemplates,this.viewModel?.sharedTemplatesDisabled],$(()=>this.viewModel.handleTemplateSourceDefinitionChanged(),10),{initial:!0})])}_handleSelectTemplate(e){this.selectedTemplateId=e.id,this.arcgisSelectTemplate.emit({template:e}),this.viewModel.addRecent(e)}_removeTemplateFromList(e,i){if(i==="favorites"){this.viewModel.removeFavorite(e);return}this.viewModel.removeRecent(e)}_renderTemplates(){return this.effectiveTemplates.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${this._messages.noTemplates}</div></calcite-notice>`:r`<calcite-list .filterPlaceholder=${this._messages.filterPlaceholder??""} .filterText=${this.filterText} .label=${this._messages?.templates??""} .filterEnabled=${this.showFilter&&this.viewModel.templateList.length>=this.minRequiredFilterCount} selection-appearance=border selection-mode=single @calciteListFilter=${e=>{this.filterText=e.target.filterText}}>${this.display==="grouped"?this.effectiveTemplates.map(e=>r`<calcite-list-item-group .heading=${e.autoTranslate?this._messages[e.sectionName]??"":e.sectionName}>${e.templates.map(i=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(i)} .label=${i.label} .selected=${i.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:i.description} .value=${i.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(i)}}><arcgis-template-image slot=content-start .template=${i}></arcgis-template-image>${this._renderAddFavorite(i)}</calcite-list-item>`)}</calcite-list-item-group>`):this.viewModel.templateList.map(e=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(e)} .label=${e.label} .selected=${e.id===this.selectedTemplateId} .description=${this.hideTemplateDescription?void 0:e.description} .value=${e.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(e)}}><arcgis-template-image slot=content-start .template=${e}></arcgis-template-image>${this._renderAddFavorite(e)}</calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderAddFavorite(e){return this.viewModel.favoritesEnabled?r`<calcite-action slot=actions-end .icon=${this.viewModel.favorites.has(e.id)?"heart-f":"heart"} @click=${()=>{this.viewModel.favorites.has(e.id)?this.viewModel.removeFavorite(e):this.viewModel.addFavorite(e)}} .text=${this._messages.addFavorite??""}></calcite-action>`:""}_renderList(e){let i=e==="favorites"?this.viewModel.favoriteTemplates:this.viewModel.recentTemplates;return i.length===0?r`<calcite-notice icon=list open class="filter-no-results"><div slot=message>${e==="favorites"?this._messages.noFavorites:this._messages.noRecent}</div></calcite-notice>`:r`<calcite-list .filterText=${e==="favorites"?this.favoritesFilterText:this.recentFilterText} .filterPlaceholder=${this._messages.filterPlaceholder??""} .label=${(e==="favorites"?this._messages.favorites:this._messages.recent)??""} .filterEnabled=${this.showFilter} selection-appearance=border selection-mode=single @calciteListFilter=${o=>{this.filterText=o.target.filterText}}>${i.map(o=>r`<calcite-list-item .disabled=${this.viewModel.disabledTemplates.has(o)} .label=${o.label} .description=${this.hideTemplateDescription?void 0:o.description} .value=${o.id} @calciteListItemSelect=${()=>{this._handleSelectTemplate(o)}}><arcgis-template-image slot=content-start .template=${o}></arcgis-template-image><calcite-action slot=actions-end icon=x @click=${()=>{this._removeTemplateFromList(o,e)}} .text=${(e==="favorites"?this._messages.removeFavorite:this._messages.removeRecent)??""}></calcite-action></calcite-list-item>`)}${this._renderFilteredEmpty()}</calcite-list>`}_renderFilteredEmpty(){return r`<calcite-notice icon=filter slot=filter-no-results open class="filter-no-results"><div slot=message>${this._messages.noMatchingTemplates}</div></calcite-notice>`}_renderContent(){return this.effectiveTemplates.length===0&&this.viewModel.loading?null:this.favoritesEnabled||this.recentlyUsedEnabled?r`<calcite-tabs class="feature-template-tabs"><calcite-tab-nav slot=title-group><calcite-tab-title icon-start=templates selected>${this._messages.templates}</calcite-tab-title>${this.recentlyUsedEnabled?r`<calcite-tab-title icon-start=clock>${this._messages.recent}</calcite-tab-title>`:""}${this.favoritesEnabled?r`<calcite-tab-title icon-start=heart>${this._messages.favorites}</calcite-tab-title>`:""}</calcite-tab-nav><calcite-tab selected>${this._renderTemplates()}</calcite-tab><calcite-tab>${this._renderList("recent")}</calcite-tab><calcite-tab>${this._renderList("favorites")}</calcite-tab></calcite-tabs>`:this._renderTemplates()}render(){return r`<div class="root">${this._renderContent()}${this.viewModel.updating||this.disabled?r`<calcite-scrim><calcite-loader scale=s label .hidden=${!this.viewModel.updating}></calcite-loader></calcite-scrim>`:null}</div>`}};b("arcgis-feature-templates",u);return u},"core/accessorSupport/decorators","core/Accessor","editing/templates/TemplateListItem","applications/Components/templateUtils","applications/Components/layerUtils","core/reactiveUtils",a,c,d,e,f,i)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{N as s,O as n,P as l,R as c,S as t,X as h,a as o,b as a}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var d=o`:host .container{border:1px solid transparent;touch-action:none;--fast-transition-time: .1s;--slow-transition-time: .3s}:host(.animate-level),.container,.item,.rect{transition:height var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),width var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}:host,.container,.item,.rect{will-change:height;transition:height var(--fast-transition-time) ease-out,width var(--fast-transition-time) ease-out,background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}.rect{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(66deg) rotate(45deg);border:var(--calcite-border-width-md) solid rgb(from var(--arcgis-internal-building-explorer-content-text-color, var(--calcite-color-text-3)) r g b / .5);background-color:rgb(from var(--arcgis-internal-building-explorer-button-background-color, var(--calcite-color-foreground-1)) r g b / .7);&.active{border-color:var(--arcgis-internal-building-explorer-selected-button-background-color);background-color:var(--arcgis-internal-building-explorer-selected-button-background-color)}&.hover{border-color:var(--arcgis-internal-building-explorer-selected-button-background-color)}}.item{pointer-events:none;position:absolute;left:50%;transform:translate(-50%,-50%)}`,r=class extends l{constructor(){super(...arguments),this.#t=s(),this.baseWidth=0,this.hovered=!1,this.active=!1,this.height=0}static{this.properties={messages:0,baseWidth:9,level:9,width:9,hovered:5,active:5,height:9}}static{this.styles=d}#t;focus(){this.#t.value?.focus()}render(){if(this.messages==null)return null;let e=this.width??this.baseWidth,i=e*.8;return a`<div class="container" style=${t({height:`${this.height}px`})}><div class="item" style=${t({width:`${Math.round(e)}px`,height:`${Math.round(e)}px`})}><button class=${c({rect:!0,active:this.active,hover:this.hovered})} style=${t({width:`${Math.round(i)}px`,height:`${Math.round(i)}px`})} tabindex=-1 type=button ${n(this.#t)}></button></div></div>`}};h("arcgis-building-level-item",r);export{r as BuildingLevelItem};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{N as s,O as n,P as l,R as c,S as t,X as h,a as o,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var d=o`:host .container{border:1px solid transparent;touch-action:none;--fast-transition-time: .1s;--slow-transition-time: .3s}:host(.animate-level),.container,.item,.rect{transition:height var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),width var(--slow-transition-time) cubic-bezier(.63,-.265,.48,1.64),background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}:host,.container,.item,.rect{will-change:height;transition:height var(--fast-transition-time) ease-out,width var(--fast-transition-time) ease-out,background-color var(--fast-transition-time) ease-in-out,border-color var(--fast-transition-time) ease-in-out}.rect{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotateX(66deg) rotate(45deg);border:var(--calcite-border-width-md) solid rgb(from var(--arcgis-internal-building-explorer-content-text-color, var(--calcite-color-text-3)) r g b / .5);background-color:rgb(from var(--arcgis-internal-building-explorer-button-background-color, var(--calcite-color-foreground-1)) r g b / .7);&.active{border-color:var(--arcgis-internal-building-explorer-selected-button-background-color);background-color:var(--arcgis-internal-building-explorer-selected-button-background-color)}&.hover{border-color:var(--arcgis-internal-building-explorer-selected-button-background-color)}}.item{pointer-events:none;position:absolute;left:50%;transform:translate(-50%,-50%)}`,r=class extends l{constructor(){super(...arguments),this.#t=s(),this.baseWidth=0,this.hovered=!1,this.active=!1,this.height=0}static{this.properties={messages:0,baseWidth:9,level:9,width:9,hovered:5,active:5,height:9}}static{this.styles=d}#t;focus(){this.#t.value?.focus()}render(){if(this.messages==null)return null;let e=this.width??this.baseWidth,i=e*.8;return a`<div class="container" style=${t({height:`${this.height}px`})}><div class="item" style=${t({width:`${Math.round(e)}px`,height:`${Math.round(e)}px`})}><button class=${c({rect:!0,active:this.active,hover:this.hovered})} style=${t({width:`${Math.round(i)}px`,height:`${Math.round(i)}px`})} tabindex=-1 type=button ${n(this.#t)}></button></div></div>`}};h("arcgis-building-level-item",r);export{r as BuildingLevelItem};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  function a(t,n,r){return Math.max(n,Math.min(r,t))}export{a};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{P as l,X as o,a as n,b as a}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var g=n`:host{--arcgis-internal-legend-gap: var(--calcite-spacing-xxs);--arcgis-internal-legend-group-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group+.group,.group+arcgis-elevation-profile-legend-item,arcgis-elevation-profile-legend-item+.group{margin-block-start:calc(var(--arcgis-internal-legend-group-gap) - var(--arcgis-internal-legend-gap))}.group-title{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-medium);text-align:start}`,s=class extends l{constructor(){super(...arguments),this._expandedLine=void 0,this.featureSelected=!1}static{this.properties={_expandedLine:16,effectiveDisplayUnits:0,featureSelected:5,messages:0,profiles:0,results:0}}static{this.styles=g}async destroy(){await this.manager.destroy()}_onToggleExpand(e){let i=e.detail;this._expandedLine=i===this._expandedLine?void 0:i}render(){let e=this.profiles?.toArray()??[],i=this.results??[],r=new Map(i.map(t=>[t.profile.id,t]));return r.size===0?a`<div></div>`:e?.map(t=>t.type==="group"?this._renderGroup(t,r):this._renderProfile(t,r))}_renderGroup(e,i){return a`<div class="group">${e.title?a`<div class="group-title">${e.title}</div>`:void 0}${e.profiles.toArray().map(r=>this._renderProfile(r,i))}</div>`}_renderProfile(e,i){return a`<arcgis-elevation-profile-legend-item .effectiveDisplayUnits=${this.effectiveDisplayUnits} .expanded=${e===this._expandedLine} .featureSelected=${this.featureSelected} .hideCheckbox=${(this.results?.length??0)<=1} .messages=${this.messages} @arcgisExpandedToggle=${this._onToggleExpand} .result=${i.get(e.id)}></arcgis-elevation-profile-legend-item>`}};o("arcgis-elevation-profile-legend",s);export{s as ArcgisElevationProfileLegend};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{P as l,X as o,a as n,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var g=n`:host{--arcgis-internal-legend-gap: var(--calcite-spacing-xxs);--arcgis-internal-legend-group-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group+.group,.group+arcgis-elevation-profile-legend-item,arcgis-elevation-profile-legend-item+.group{margin-block-start:calc(var(--arcgis-internal-legend-group-gap) - var(--arcgis-internal-legend-gap))}.group-title{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-medium);text-align:start}`,s=class extends l{constructor(){super(...arguments),this._expandedLine=void 0,this.featureSelected=!1}static{this.properties={_expandedLine:16,effectiveDisplayUnits:0,featureSelected:5,messages:0,profiles:0,results:0}}static{this.styles=g}async destroy(){await this.manager.destroy()}_onToggleExpand(e){let i=e.detail;this._expandedLine=i===this._expandedLine?void 0:i}render(){let e=this.profiles?.toArray()??[],i=this.results??[],r=new Map(i.map(t=>[t.profile.id,t]));return r.size===0?a`<div></div>`:e?.map(t=>t.type==="group"?this._renderGroup(t,r):this._renderProfile(t,r))}_renderGroup(e,i){return a`<div class="group">${e.title?a`<div class="group-title">${e.title}</div>`:void 0}${e.profiles.toArray().map(r=>this._renderProfile(r,i))}</div>`}_renderProfile(e,i){return a`<arcgis-elevation-profile-legend-item .effectiveDisplayUnits=${this.effectiveDisplayUnits} .expanded=${e===this._expandedLine} .featureSelected=${this.featureSelected} .hideCheckbox=${(this.results?.length??0)<=1} .messages=${this.messages} @arcgisExpandedToggle=${this._onToggleExpand} .result=${i.get(e.id)}></arcgis-elevation-profile-legend-item>`}};o("arcgis-elevation-profile-legend",s);export{s as ArcgisElevationProfileLegend};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as r}from"./IFR4IYSI.js";import{z as c}from"./3UMLR76Y.js";export default $arcgis.t(([{watch:s},{projectIsLoaded:i,projectLoad:p,projectExecute:l}])=>{var n=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:e}=this.component;return t&&o&&e?[t,e,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>{this._updateScreenLocation()},{initial:!0}))}async _updateScreenLocation(){{i()||await p();let{location:o,view:t}=this.component,e=t?.spatialReference,a=e&&o?l(o,e):null;this.exports=this.component.trackLocation&&a&&t?.ready?t.toScreen(a):null}}},L=r(n);return L},"core/reactiveUtils","geometry/operators/projectOperator")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as r}from"./JAZGNQRP.js";import{z as c}from"./EKR2SAT2.js";export default $arcgis.t(([{watch:s},{projectIsLoaded:i,projectLoad:p,projectExecute:l}])=>{var n=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:e}=this.component;return t&&o&&e?[t,e,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>{this._updateScreenLocation()},{initial:!0}))}async _updateScreenLocation(){{i()||await p();let{location:o,view:t}=this.component,e=t?.spatialReference,a=e&&o?l(o,e):null;this.exports=this.component.trackLocation&&a&&t?.ready?t.toScreen(a):null}}},L=r(n);return L},"core/reactiveUtils","geometry/operators/projectOperator")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./HU57LQOA.js";import{a as E}from"./ZSPYPXBY.js";import{P as I,X as S,a as M,b as p,p as l,r as m,x as b}from"./3UMLR76Y.js";export default $arcgis.t(([k,{cutExecute:A},{lengthExecute:L},{projectIsLoaded:j,projectLoad:B,projectExecute:N},{proximityGetNearestCoordinate:U},D,F,R,x,$,O,G,{substitute:W},{b:P,e:v,g:C,h:_}])=>{var H=M`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`,V=`utility-network-trace-locations-sketch-${Date.now()}`,T=class q extends I{constructor(){super(...arguments),this._messages=E({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.traceLocations=new k,this.filterLayers=new k,this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationSelectEnd=b(),this.arcgisTraceLocationSelectStart=b(),this.arcgisError=b()}static{this.properties={_isSelectWaiting:16,beforeMapInteraction:0,afterMapInteraction:0,messageOverrides:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,spatialTolerance:9,error:1,autoDestroyDisabled:5,utilityNetwork:0,heading:1,sketchViewModel:32}}static{this.styles=H}static{this.sketchViewModelMap=new Map}static getSketchViewModel(t){if(!this.sketchViewModelMap.has(t)){let e=this.#a(t,V);e&&this.sketchViewModelMap.set(t,new O({view:t,layer:e}))}return this.sketchViewModelMap.get(t)??null}static#a(t,e){if(!t?.map)return null;let i=t.map.findLayerById(e);if(!i){let r=new R({id:e,listMode:"hide",title:e});return P(t,r),r}return i}static removeSketchGraphicsLayer(t){if(t?.map){let e=t.map.findLayerById(V);e&&t.map.remove(e),this.sketchViewModelMap.delete(t)}}#i;get sketchViewModel(){return this.view?q.getSketchViewModel(this.view):null}async destroy(){try{this.#r()}finally{await this.manager.destroy()}}async load(){j()||await B()}willUpdate(t){t.has("filterLayers")&&this.#o()}#t(t,e){this.error=e,l(t,this,e),this.arcgisError.emit()}#s(t){let{traceLocations:e,view:i}=this;t.spatialProperties.flagGraphic&&i&&i.graphics.remove(t.spatialProperties.flagGraphic),e?.remove(t)}#o(){if(!this.sketchViewModel)return;let t=new k;this.filterLayers?.forEach(e=>{C(e)?e.sublayers.forEach(i=>{t.add(new G({layer:i,enabled:!0}))}):t.add(new G({layer:e,enabled:!0}))}),this.sketchViewModel.snappingOptions={enabled:!1,featureSources:t}}#n(t,e){let i=t.clone(),r=i.spatialReference,s=e.spatialReference;if(!r||!s)return l("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let o=e;if(!r.equals(s)){let y=N(e,r);if(!y)return l("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;o=y}let n=U(i,o);if(n.isEmpty)return l("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let a=n.coordinate,c=a.x-.5,h=a.y-.5,d=a.x+.5,u=a.y+.5,f=new D({hasZ:!1,hasM:!0,paths:[[[c,h],[d,u]]],spatialReference:i.spatialReference}),g=A(i,f);if(g.length>0){let y=L(i,{unit:"feet"}),w;return g[0].paths[0][0][0]===i.paths[0][0][0]?w=L(g[0],{unit:"feet"}):g.length>1?w=L(g[1],{unit:"feet"}):w=0,w/y}return l("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#c(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#l(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){l("error",this,"Cannot add trace location."),e||l("error",this,m("sketchViewModel")),t||l("error",this,m("view"));return}if(this.beforeMapInteraction){this._isSelectWaiting=!0;try{await this.beforeMapInteraction()}finally{this._isSelectWaiting=!1}}await this.#e(t,e)}async#e(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#i?.remove(),this.#i=e.on("create",i=>this.#h(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#h(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#p(t,e,i);return}t.state==="cancel"&&(this.#r(),this.arcgisTraceLocationSelectEnd.emit())}async#p(t,e,i){let{utilityNetwork:r}=this,{graphic:s}=t;if(!r){l("error",this,m("utilityNetwork")),this.#r(),this.arcgisTraceLocationSelectEnd.emit();return}if(s?.geometry?.type!=="point"){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let o=s.geometry,n=e.toScreen(o);if(!n){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let a=(await e.hitTest(n,{include:this.filterLayers})).results.filter(c=>c.type==="graphic"&&c?.layer&&c.graphic);if(!a.length){this.#t("info",this._messages.errors.noHitResult),this.#e(e,i);return}this.#r(),await this.#d(a,o,e)?this.arcgisTraceLocationSelectEnd.emit():this.#e(e,i)}#r(){let{view:t,sketchViewModel:e}=this;if(!t){l("error",this,m("view"));return}e&&(e.snappingOptions.enabled=!1),this.#i?.remove(),this.#i=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#d(t,e,i){if(!t.length)return this.#t("error",this._messages.errors.noHitResult),!1;let r=t[0].graphic;if(this.afterMapInteraction){let o=t.map(n=>{let a=n,c=a.graphic;return c.origin=a.layer,c.sourceLayer=a.layer,c});try{r=await this.afterMapInteraction(o)}catch{r=null}}if(!r)return l("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let s=await this.#u(r);return s?await this.#g(s,e,i):(this.#t("error",this._messages.errors.missingAttributes),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#u(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,r=e.fieldsIndex?.get("assetgroup")??!1,s=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,n=e.fieldsIndex?.get("assettype")?.name??"assettype",a=t.getGlobalId(),c=t.getObjectId(),h=r?!!t.getAttribute(s):!0,d=o?!!t.getAttribute(n):!0,u=!!t.geometry;if(a&&c&&h&&d&&(u||i))return t;let f=e.createQuery();return f.objectIds=[c],(await e.queryFeatures(f)).features[0]||null}async#g(t,e,i){let{traceLocations:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#m(t,e);if(!n)return this.#t("error",this._messages.errors.errorGeneratingTraceLocationDetails),!1;let a=r?.filter(h=>h.spatialProperties.mapGraphic?.getGlobalId()===s)??[];if(a.length>0){if(o!=="polyline")return this.#t("warn",this._messages.errors.duplicateTraceLocationDetails),!1;if(a.some(h=>Math.abs(h.traceLocation.percentAlong-n.traceLocation.percentAlong)<=this.spatialTolerance))return this.#t("warn",this._messages.errors.duplicateTraceLocationDetailsWithinTolerance),!1}let c=this.#y(t,e,i);return c?(n.spatialProperties.flagGraphic=c,r?.add(n),!0):(this.#t("warn",this._messages.errors.errorAdding),!1)}async#m(t,e){let{traceLocationType:i,utilityNetwork:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#f(t);if(o==="point"||o==="polygon"){let a=r?.getTerminalConfiguration(t),c=a?a.terminals[0].id:1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:c}),flagProperties:{title:n,expanded:!1,terminalConfiguration:a??void 0,selectedTerminals:a?new Set([c]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(o==="polyline"){let a=this.#n(t.geometry,e);return a<0?(l("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,percentAlong:a}),flagProperties:{title:n,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!o){let a=_(t.layer)?t.layer.parent:t.layer,c=a&&this.#c.includes(a.layerId),h=r?.getTerminalConfiguration(t),d=h?h.terminals[0].id:c?-1:1,u=c?.5:-1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:d,percentAlong:u}),flagProperties:{title:n,expanded:!1,terminalConfiguration:h??void 0,selectedTerminals:h?new Set([d]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#f(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#y(t,e,i){let r=t.geometry?t.geometry.type==="point"?t.geometry:e:null,s=this.#w(),o=new F({geometry:r,symbol:s,attributes:t.attributes});return i.graphics.add(o),o}#w(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new $({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new $({color:e,style:"square",size:12,outline:{color:e,width:0}}):new $({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#b(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#v(t,e){let{flagProperties:i}=t,{selectedTerminals:r}=i,{name:s,id:o}=e,n=r?.has(o)??!1;return p`<calcite-label layout=inline><calcite-checkbox .value=${o} .checked=${n} @calciteCheckboxChange=${a=>{a.target.checked?r?.add(o):r?.delete(o),this.requestUpdate()}}></calcite-checkbox>${s}</calcite-label>`}#k(){return p`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`}#L(t){let{traceLocation:e}=t;return p`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${e.isFilterBarrier} @calciteSwitchChange=${i=>{e.isFilterBarrier=i.target.checked}}></calcite-switch></div></calcite-label>`}#x(t){let{flagProperties:e}=t,{terminalConfiguration:i,selectedTerminals:r}=e,s=t.traceLocation.type==="barrier",o=i&&i.terminals.length>0&&r?.size===0;return p`<calcite-action .icon=${e.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{e.expanded=!e.expanded,this.requestUpdate()}}></calcite-action>${o&&p`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${e.expanded&&p`<div class="terminals" slot=content-bottom>${s&&this.#L(t)||""}${i&&this.#$(t)||""}${o&&this.#k()||""}</div>`||""}`}#$(t){let{flagProperties:e}=t,{terminalConfiguration:i}=e;if(!i)return l("warn",this,"One or more locations are missing the required flag property `terminalConfiguration`."),[];let r=i.terminals;return r.length?r.length===1?[]:r.map(s=>this.#v(t,s)):(l("warn",this,"`terminalConfiguration.terminals` is required but either missing or empty.`"),[])}#T(t){let{flagProperties:e}=t,{terminalConfiguration:i,expanded:r,title:s}=e,o=i&&i.id!==0,n=t.traceLocation.type==="barrier",a=o||n,c=i?.name??void 0;return p`<calcite-list-item .label=${s} .description=${c} .value=${s} .expanded=${r}>${a?this.#x(t):p`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this.#s(t)}></calcite-action></calcite-list-item>`}#M(t){if(!t.length)return null;let{traceLocationType:e}=this,i=t.map(s=>this.#T(s)).toArray(),r=W(this._messages.labels.list,{type:e});return p`<div><calcite-list interaction-mode=static selection-mode=none .label=${r}>${i}</calcite-list></div>`}#I(){let{traceLocationType:t,_messages:e,traceLocations:i,heading:r}=this,s=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r??s.heading,n=s.description,a=s.buttonText;return p`<calcite-block .heading=${o} .label=${o} expanded .description=${n}>${i?.length?p`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#b()}>${e.buttons.clear}</calcite-button>${this.#M(i)}`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${a} @click=${()=>this.#l()}>${a}</calcite-button></div></calcite-block>`}render(){return this.#I()}};S("arcgis-utility-network-trace-locations",T);return T},"core/Collection","geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","layers/GraphicsLayer","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol","widgets/Sketch/SketchViewModel","views/interactive/snapping/FeatureSnappingLayerSource","intl",a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./TMJX7DFH.js";import{a as E}from"./WEAGLY7B.js";import{P as I,X as S,a as M,b as p,p as l,r as m,x as b}from"./EKR2SAT2.js";export default $arcgis.t(([k,{cutExecute:A},{lengthExecute:L},{projectIsLoaded:j,projectLoad:B,projectExecute:N},{proximityGetNearestCoordinate:U},D,F,R,x,$,O,G,{substitute:W},{b:P,e:v,g:C,h:_}])=>{var H=M`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}calcite-list{margin:0 var(--calcite-space-sm) var(--calcite-space-sm);background-color:var(--calcite-color-surface-2);border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}calcite-list-item[selected] [slot=content-bottom]{display:block}.warning{color:var(--calcite-color-status-danger)}.terminals{padding:var(--calcite-space-sm) var(--calcite-space-md);display:flex;flex-direction:column}.filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}`,V=`utility-network-trace-locations-sketch-${Date.now()}`,T=class q extends I{constructor(){super(...arguments),this._messages=E({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.traceLocations=new k,this.filterLayers=new k,this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationSelectEnd=b(),this.arcgisTraceLocationSelectStart=b(),this.arcgisError=b()}static{this.properties={_isSelectWaiting:16,beforeMapInteraction:0,afterMapInteraction:0,messageOverrides:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,spatialTolerance:9,error:1,autoDestroyDisabled:5,utilityNetwork:0,heading:1,sketchViewModel:32}}static{this.styles=H}static{this.sketchViewModelMap=new Map}static getSketchViewModel(t){if(!this.sketchViewModelMap.has(t)){let e=this.#a(t,V);e&&this.sketchViewModelMap.set(t,new O({view:t,layer:e}))}return this.sketchViewModelMap.get(t)??null}static#a(t,e){if(!t?.map)return null;let i=t.map.findLayerById(e);if(!i){let r=new R({id:e,listMode:"hide",title:e});return P(t,r),r}return i}static removeSketchGraphicsLayer(t){if(t?.map){let e=t.map.findLayerById(V);e&&t.map.remove(e),this.sketchViewModelMap.delete(t)}}#i;get sketchViewModel(){return this.view?q.getSketchViewModel(this.view):null}async destroy(){try{this.#r()}finally{await this.manager.destroy()}}async load(){j()||await B()}willUpdate(t){t.has("filterLayers")&&this.#o()}#t(t,e){this.error=e,l(t,this,e),this.arcgisError.emit()}#s(t){let{traceLocations:e,view:i}=this;t.spatialProperties.flagGraphic&&i&&i.graphics.remove(t.spatialProperties.flagGraphic),e?.remove(t)}#o(){if(!this.sketchViewModel)return;let t=new k;this.filterLayers?.forEach(e=>{C(e)?e.sublayers.forEach(i=>{t.add(new G({layer:i,enabled:!0}))}):t.add(new G({layer:e,enabled:!0}))}),this.sketchViewModel.snappingOptions={enabled:!1,featureSources:t}}#n(t,e){let i=t.clone(),r=i.spatialReference,s=e.spatialReference;if(!r||!s)return l("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let o=e;if(!r.equals(s)){let y=N(e,r);if(!y)return l("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;o=y}let n=U(i,o);if(n.isEmpty)return l("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let a=n.coordinate,c=a.x-.5,h=a.y-.5,d=a.x+.5,u=a.y+.5,f=new D({hasZ:!1,hasM:!0,paths:[[[c,h],[d,u]]],spatialReference:i.spatialReference}),g=A(i,f);if(g.length>0){let y=L(i,{unit:"feet"}),w;return g[0].paths[0][0][0]===i.paths[0][0][0]?w=L(g[0],{unit:"feet"}):g.length>1?w=L(g[1],{unit:"feet"}):w=0,w/y}return l("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#c(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#l(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){l("error",this,"Cannot add trace location."),e||l("error",this,m("sketchViewModel")),t||l("error",this,m("view"));return}if(this.beforeMapInteraction){this._isSelectWaiting=!0;try{await this.beforeMapInteraction()}finally{this._isSelectWaiting=!1}}await this.#e(t,e)}async#e(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#i?.remove(),this.#i=e.on("create",i=>this.#h(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#h(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#p(t,e,i);return}t.state==="cancel"&&(this.#r(),this.arcgisTraceLocationSelectEnd.emit())}async#p(t,e,i){let{utilityNetwork:r}=this,{graphic:s}=t;if(!r){l("error",this,m("utilityNetwork")),this.#r(),this.arcgisTraceLocationSelectEnd.emit();return}if(s?.geometry?.type!=="point"){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let o=s.geometry,n=e.toScreen(o);if(!n){this.#t("warn",this._messages.errors.noHitResult),this.#e(e,i);return}let a=(await e.hitTest(n,{include:this.filterLayers})).results.filter(c=>c.type==="graphic"&&c?.layer&&c.graphic);if(!a.length){this.#t("info",this._messages.errors.noHitResult),this.#e(e,i);return}this.#r(),await this.#d(a,o,e)?this.arcgisTraceLocationSelectEnd.emit():this.#e(e,i)}#r(){let{view:t,sketchViewModel:e}=this;if(!t){l("error",this,m("view"));return}e&&(e.snappingOptions.enabled=!1),this.#i?.remove(),this.#i=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#d(t,e,i){if(!t.length)return this.#t("error",this._messages.errors.noHitResult),!1;let r=t[0].graphic;if(this.afterMapInteraction){let o=t.map(n=>{let a=n,c=a.graphic;return c.origin=a.layer,c.sourceLayer=a.layer,c});try{r=await this.afterMapInteraction(o)}catch{r=null}}if(!r)return l("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let s=await this.#u(r);return s?await this.#g(s,e,i):(this.#t("error",this._messages.errors.missingAttributes),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#u(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,r=e.fieldsIndex?.get("assetgroup")??!1,s=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",o=e.fieldsIndex?.get("assettype")??!1,n=e.fieldsIndex?.get("assettype")?.name??"assettype",a=t.getGlobalId(),c=t.getObjectId(),h=r?!!t.getAttribute(s):!0,d=o?!!t.getAttribute(n):!0,u=!!t.geometry;if(a&&c&&h&&d&&(u||i))return t;let f=e.createQuery();return f.objectIds=[c],(await e.queryFeatures(f)).features[0]||null}async#g(t,e,i){let{traceLocations:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#m(t,e);if(!n)return this.#t("error",this._messages.errors.errorGeneratingTraceLocationDetails),!1;let a=r?.filter(h=>h.spatialProperties.mapGraphic?.getGlobalId()===s)??[];if(a.length>0){if(o!=="polyline")return this.#t("warn",this._messages.errors.duplicateTraceLocationDetails),!1;if(a.some(h=>Math.abs(h.traceLocation.percentAlong-n.traceLocation.percentAlong)<=this.spatialTolerance))return this.#t("warn",this._messages.errors.duplicateTraceLocationDetailsWithinTolerance),!1}let c=this.#y(t,e,i);return c?(n.spatialProperties.flagGraphic=c,r?.add(n),!0):(this.#t("warn",this._messages.errors.errorAdding),!1)}async#m(t,e){let{traceLocationType:i,utilityNetwork:r}=this,s=t.getGlobalId()??"",o=t.geometry?.type,n=await this.#f(t);if(o==="point"||o==="polygon"){let a=r?.getTerminalConfiguration(t),c=a?a.terminals[0].id:1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:c}),flagProperties:{title:n,expanded:!1,terminalConfiguration:a??void 0,selectedTerminals:a?new Set([c]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(o==="polyline"){let a=this.#n(t.geometry,e);return a<0?(l("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,percentAlong:a}),flagProperties:{title:n,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!o){let a=_(t.layer)?t.layer.parent:t.layer,c=a&&this.#c.includes(a.layerId),h=r?.getTerminalConfiguration(t),d=h?h.terminals[0].id:c?-1:1,u=c?.5:-1;return{traceLocation:new x({type:i,isFilterBarrier:!1,globalId:s,terminalId:d,percentAlong:u}),flagProperties:{title:n,expanded:!1,terminalConfiguration:h??void 0,selectedTerminals:h?new Set([d]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#f(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#y(t,e,i){let r=t.geometry?t.geometry.type==="point"?t.geometry:e:null,s=this.#w(),o=new F({geometry:r,symbol:s,attributes:t.attributes});return i.graphics.add(o),o}#w(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new $({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new $({color:e,style:"square",size:12,outline:{color:e,width:0}}):new $({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#b(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#v(t,e){let{flagProperties:i}=t,{selectedTerminals:r}=i,{name:s,id:o}=e,n=r?.has(o)??!1;return p`<calcite-label layout=inline><calcite-checkbox .value=${o} .checked=${n} @calciteCheckboxChange=${a=>{a.target.checked?r?.add(o):r?.delete(o),this.requestUpdate()}}></calcite-checkbox>${s}</calcite-label>`}#k(){return p`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${this._messages.errors.noTerminalSelected}</div></calcite-notice>`}#L(t){let{traceLocation:e}=t;return p`<calcite-label layout=inline><div class="filter-barrier">${this._messages.labels.filterBarrier}<calcite-switch .checked=${e.isFilterBarrier} @calciteSwitchChange=${i=>{e.isFilterBarrier=i.target.checked}}></calcite-switch></div></calcite-label>`}#x(t){let{flagProperties:e}=t,{terminalConfiguration:i,selectedTerminals:r}=e,s=t.traceLocation.type==="barrier",o=i&&i.terminals.length>0&&r?.size===0;return p`<calcite-action .icon=${e.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{e.expanded=!e.expanded,this.requestUpdate()}}></calcite-action>${o&&p`<calcite-icon class="warning" icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${e.expanded&&p`<div class="terminals" slot=content-bottom>${s&&this.#L(t)||""}${i&&this.#$(t)||""}${o&&this.#k()||""}</div>`||""}`}#$(t){let{flagProperties:e}=t,{terminalConfiguration:i}=e;if(!i)return l("warn",this,"One or more locations are missing the required flag property `terminalConfiguration`."),[];let r=i.terminals;return r.length?r.length===1?[]:r.map(s=>this.#v(t,s)):(l("warn",this,"`terminalConfiguration.terminals` is required but either missing or empty.`"),[])}#T(t){let{flagProperties:e}=t,{terminalConfiguration:i,expanded:r,title:s}=e,o=i&&i.id!==0,n=t.traceLocation.type==="barrier",a=o||n,c=i?.name??void 0;return p`<calcite-list-item .label=${s} .description=${c} .value=${s} .expanded=${r}>${a?this.#x(t):p`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this.#s(t)}></calcite-action></calcite-list-item>`}#M(t){if(!t.length)return null;let{traceLocationType:e}=this,i=t.map(s=>this.#T(s)).toArray(),r=W(this._messages.labels.list,{type:e});return p`<div><calcite-list interaction-mode=static selection-mode=none .label=${r}>${i}</calcite-list></div>`}#I(){let{traceLocationType:t,_messages:e,traceLocations:i,heading:r}=this,s=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,o=r??s.heading,n=s.description,a=s.buttonText;return p`<calcite-block .heading=${o} .label=${o} expanded .description=${n}>${i?.length?p`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#b()}>${e.buttons.clear}</calcite-button>${this.#M(i)}`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${a} @click=${()=>this.#l()}>${a}</calcite-button></div></calcite-block>`}render(){return this.#I()}};S("arcgis-utility-network-trace-locations",T);return T},"core/Collection","geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","layers/GraphicsLayer","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol","widgets/Sketch/SketchViewModel","views/interactive/snapping/FeatureSnappingLayerSource","intl",a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import"./TAVTDQ6S.js";var o={_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_short:"HH",_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:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",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:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","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":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./H6RQVSYM.js";var o={_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_short:"HH",_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:"\u516C\u5143",_era_bc:"\u516C\u5143\u524D",A:"\u4E0A\u5348",P:"\u4E0B\u5348",AM:"\u4E0A\u5348",PM:"\u4E0B\u5348","A.M.":"\u4E0A\u5348","P.M.":"\u4E0B\u5348",January:"\u4E00\u6708",February:"\u4E8C\u6708",March:"\u4E09\u6708",April:"\u56DB\u6708",May:"\u4E94\u6708",June:"\u516D\u6708",July:"\u4E03\u6708",August:"\u516B\u6708",September:"\u4E5D\u6708",October:"\u5341\u6708",November:"\u5341\u4E00\u6708",December:"\u5341\u4E8C\u6708",Jan:"1\u6708",Feb:"2\u6708",Mar:"3\u6708",Apr:"4\u6708","May(short)":"5\u6708",Jun:"6\u6708",Jul:"7\u6708",Aug:"8\u6708",Sep:"9\u6708",Oct:"10\u6708",Nov:"11\u6708",Dec:"12\u6708",Sunday:"\u661F\u671F\u65E5",Monday:"\u661F\u671F\u4E00",Tuesday:"\u661F\u671F\u4E8C",Wednesday:"\u661F\u671F\u4E09",Thursday:"\u661F\u671F\u56DB",Friday:"\u661F\u671F\u4E94",Saturday:"\u661F\u671F\u516D",Sun:"\u5468\u65E5",Mon:"\u5468\u4E00",Tue:"\u5468\u4E8C",Wed:"\u5468\u4E09",Thu:"\u5468\u56DB",Fri:"\u5468\u4E94",Sat:"\u5468\u516D",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="\u65E5";break;case 2:e="\u65E5";break;case 3:e="\u65E5";break}return e},"Zoom Out":"\u7F29\u653E",Play:"\u64AD\u653E",Stop:"\u505C\u9760\u70B9",Legend:"\u56FE\u4F8B","Press ENTER to toggle":"",Loading:"\u52A0\u8F7D",Home:"\u4E3B\u9875",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:"\u6253\u5370",Image:"\u5F71\u50CF",Data:"\u6570\u636E",Print:"\u6253\u5370","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":"\u81EA %1 \u81F3 %2","From %1":"\u81EA %1","To %1":"\u81F3 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -1,5 +1,5 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import d from"./4XERPOOU.js";import c from"./SZ3T7YEB.js";import{a as w}from"./HQWUQFN5.js";import{a as u}from"./L5IRXOCJ.js";import"./FIZMK7GS.js";import{e as r}from"./ZKWI43WZ.js";import{P as _,R as n,S as b,U as p,X as L,a as k,b as a}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([v,{a:f,b:z},{b:F,e:$,f:E}])=>{var I=k`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;function C(h){return h?h.r*.299+h.g*.587+h.b*.114>=127:void 0}var x=class extends _{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3}static{this.properties={cssEffectFilter:1,stacked:7,activeLayerInfo:0,headingLevel:9,layer:0,legendElement:0,messages:0}}static{this.styles=I}_getBackgroundStyles(e){let i=e.symbol,t=i.color,l=!!t?.a,s="outline"in i?i.outline:null,c=!!s?.color?.a,o=l&&t?new v([t.r,t.g,t.b,t.a*this.layer.opacity]):new v([255,255,255,0]),d=c&&s.color?new v([s.color.r,s.color.g,s.color.b,s.color.a*this.layer.opacity]):new v([255,255,255,0]),m=C(e.symbol.color)??!0,g=m?"black":"white",y=m?"rgba(255, 255, 255, .6)":"rgba(0, 0, 0, .6)";return{background:l?o.toCss(!0):"none",color:g,textShadow:`-1px -1px 0 ${y},
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import d from"./DL57EVZ4.js";import c from"./YU5BTZEI.js";import{a as w}from"./UMHGXP3S.js";import{a as u}from"./JD74LG7K.js";import"./QUZTFUWM.js";import{e as r}from"./WQMZ7BDQ.js";import{P as _,R as n,S as b,U as p,X as L,a as k,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([v,{a:f,b:z},{b:F,e:$,f:E}])=>{var I=k`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;function C(h){return h?h.r*.299+h.g*.587+h.b*.114>=127:void 0}var x=class extends _{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3}static{this.properties={cssEffectFilter:1,stacked:7,activeLayerInfo:0,headingLevel:9,layer:0,legendElement:0,messages:0}}static{this.styles=I}_getBackgroundStyles(e){let i=e.symbol,t=i.color,l=!!t?.a,s="outline"in i?i.outline:null,c=!!s?.color?.a,o=l&&t?new v([t.r,t.g,t.b,t.a*this.layer.opacity]):new v([255,255,255,0]),d=c&&s.color?new v([s.color.r,s.color.g,s.color.b,s.color.a*this.layer.opacity]):new v([255,255,255,0]),m=C(e.symbol.color)??!0,g=m?"black":"white",y=m?"rgba(255, 255, 255, .6)":"rgba(0, 0, 0, .6)";return{background:l?o.toCss(!0):"none",color:g,textShadow:`-1px -1px 0 ${y},
3
3
  1px -1px 0 ${y},
4
4
  -1px 1px 0 ${y},
5
5
  1px 1px 0 ${y}`,border:c?`1px solid ${d.toCss(!0)}`:"none",filter:this.cssEffectFilter??""}}render(){let e=this._renderLegendElement(),i=this.activeLayerInfo.legendElements.includes(this.legendElement),t=z(this.legendElement,this.messages),l=this.stacked&&i?a`<div class="carousel-title-container">${w({class:r("carousel-title",u.heading),level:this.headingLevel,children:this.activeLayerInfo.title})}${t?a`<p class="layer-caption">${t}</p>`:null}</div>`:t?w({class:r("section-title",u.heading),level:this.headingLevel,children:t}):null;return a`<section class="section" role=tabpanel tabindex=0>${l}${e}</section>`}_renderLegendElement(){switch(this.legendElement.type){case"symbol-table":return this._renderSymbolTable(this.legendElement);case"size-ramp":return a`<arcgis-legend-card-size-ramp .hasIndicators=${this.stacked} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-size-ramp>`;case"color-ramp":case"opacity-ramp":case"heatmap-ramp":case"stretch-ramp":return a`<arcgis-legend-card-color-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-color-ramp>`;case"relationship-ramp":return a`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;case"pie-chart-ramp":{let{preview:e}=this.legendElement;return E(e,this.messages.previewPieChartAriaLabel),a`<div class="pie-chart-ramp-preview">${e}</div>`}case"univariate-above-and-below-ramp":return a`<arcgis-legend-card-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-above-and-below-ramp>`;case"univariate-color-size-ramp":return a`<arcgis-legend-card-univariate-color-size-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-color-size-ramp>`;default:return null}}_renderSymbolTable(e){let i=e.infos.map(s=>this._renderElementInfo(s,e.legendType)).filter(Boolean);if(!i.length)return null;let t=e.infos.some(s=>"symbol"in s&&s.symbol?.type.includes("simple-fill")),l=this.activeLayerInfo.legendElements.some(({type:s})=>s==="relationship-ramp")?"relationship-container":t?"background-styles-container":"container";return a`<div class=${n(l)}>${i}</div>`}_renderElementInfo(e,i){let{layer:t}=this,l="label"in e?e.label:null;if("type"in e&&e.type)return a`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .headingLevel=${this.headingLevel} .layer=${t} .legendElement=${e} .messages=${this.messages} .stacked=${this.stacked}></arcgis-legend-card-element>`;if(!("preview"in e&&e.preview)&&!("src"in e&&e.src))return null;let s=F(t,i),c=f(this.messages,l,!1)||"";if("src"in e&&e.src){let o={"symbol-cell":this.stacked};return a`<div class=${n(r("layer-row",{"symbol-row":this.stacked}))}><div class=${n(r(o))}>${this._renderImage(e,t,s)}</div><div class=${n(r("image-label",{"label-cell":this.stacked}))}>${c}</div></div>`}if("symbol"in e&&e.preview){if(!e.symbol?.type.includes("simple-fill")){if(!e.label)return a`<div>${e.preview}</div>`;let o={"symbol-cell":this.stacked},{preview:d}=e,m="previewAriaLabel"in e?e.previewAriaLabel:null,g="label"in e?f(this.messages,e.label,!1):null;return E(d,$(this.messages,m||g)),a`<div class=${n(r("layer-row",{"symbol-row":this.stacked}))}><div class=${n(r(o))}>${d}</div><div class=${n(r("image-label",{"label-cell":this.stacked}))}>${c}</div></div>`}return a`<div class="layer-row"><div class="label-element" style=${b(this._getBackgroundStyles(e))}>${c}</div></div>`}return null}_renderImage(e,i,t){let{previewAriaLabel:l,src:s,opacity:c}=e,o=f(this.messages,e.label,!1),d={"imagery-layer-stretched-image":t,symbol:!t},m={opacity:`${c??i.opacity}`},g=$(this.messages,l||o);return a`<img alt=${g??p} .ariaLabel=${g} class=${n(r(d))} height=${e.height??void 0??p} src=${s??p} style=${b(m)} width=${e.width??void 0??p}>`}};L("arcgis-legend-card-element",x);return x},"Color",c,d)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  var d=Object.defineProperty;var e=(c,a)=>{for(var b in a)d(c,b,{get:a[b],enumerable:!0})};export{e as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import d from"./WVRJQQKH.js";import{a as c}from"./KBHLE7HT.js";import b from"./TMJX7DFH.js";import{a as $}from"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{R as g,V as u,X as y,a as f,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{stripHTML:_},{formatNumber:A,substitute:F},{h:h},w])=>{var b=f`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,v="nested",m=class extends w{constructor(){super(...arguments),this._messagesFeature=$({name:"feature",blocking:!0}),this.autoDestroyDisabled=!1,this.displayCount=3,this.useFeatureNextFlowItem=!1,this.includeDefaultActions=!1,this.flowType="feature-utility-network-association-type"}static{this.properties={autoDestroyDisabled:5,description:1,displayCount:9,flowItems:0,useFeatureNextFlowItem:5,actions:0,includeDefaultActions:5,flowType:1,heading:1,map:0,messageOverrides:0,referenceElement:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}async destroy(){await this.manager.destroy()}_featureViewModelMatch(e,t){let i=e.graphic,s=i?.layer,o=null;h(s)&&s.parent?o=s.parent.globalIdField??null:s&&"globalIdField"in s&&(o=s.globalIdField);let r=o?i?.getAttribute(o):null,l=t.graphic,n=l?.layer,d=null;h(n)&&n.parent?d=n.parent.globalIdField??null:n&&"globalIdField"in n&&(d=n.globalIdField);let p=d?l?.getAttribute(d):null;return!!(r&&p&&r===p)}_findFlowItem(e){return this.flowItems?.findIndex(t=>{if(t.flowType!=="feature-association")return!1;let i=t.viewModel;return this._featureViewModelMatch(i,e)})??-1}_formatPercentAlong(e){let{percentAlong:t}=e;return t==null?"":A(t,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(e,t,i){let{flowItems:s}=this;if(e){s?.destroyAll();return}if(t<0||!s){await this._selectAssociation(i);return}for(;s.length>t+1;)s.pop()}_isConnectivityAssociation(e){let{associationType:t}=e;return t==="connectivity"||t==="junction-junction-connectivity"||t==="junction-edge-from-connectivity"||t==="junction-edge-midspan-connectivity"||t==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(e){return e.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(e){let t=this.flowItems?.getItemAt(0);if(!t)return!1;let i=t.parentFeatureViewModel;return this._featureViewModelMatch(i,e)}async _selectAssociation(e){let{flowItems:t}=this;if(!t)return;let i=this.useFeatureNextFlowItem?u(c(this.parentFeatureViewModel,a`<arcgis-feature-next .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .includeDefaultActions=${this.includeDefaultActions} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`)):u(c(this.parentFeatureViewModel,a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`));t.push(i)}_showAllAssociations(e){let{flowItems:t,description:i}=this;if(!t||!e)return;this.showAllEnabled=!0;let s=e?.title??"";t.push(u(a`<arcgis-feature-utility-network-association-list .actions=${this.actions} .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${i} .flowItems=${t} .flowType=${this.flowType} .heading=${s} .includeDefaultActions=${this.includeDefaultActions} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:e,state:t}=this,i=this.selectedLayer?.title??this._messagesFeature.noTitle??"";return a`<div class="root">${t==="loading"||t==="querying"?this._renderLoading():a`<calcite-list .displayMode=${v} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this._messages.associationFilterPlaceholder} .filterPlaceholder=${this._messages.associationFilterPlaceholder} .label=${i}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(e.keys(),s=>this._renderTypeList(s))}</calcite-list>`}</div>`}_renderAssociatedFeature(e){let{featureViewModel:t,title:i}=e,s=this.state==="loading",o=this._findFlowItem(t),r=o<0&&this._isParentFeature(t),l=r||o>=0,n=`associated-feature-${e.association.globalId}`;return a`<calcite-list-item class=${g(s?"list-item--hidden":"")} .description=${_(e.terminalName??"")} .label=${_(i)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(r,o,t)}>${this._isConnectivityAssociation(e.association)?this._renderConnectivityIcon(e.association.associationType,n):null}${this._isConnectivityMidspanAssociation(e.association)?a`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>`:null}${this._renderChevronIconNode(l)}</calcite-list-item>`}_renderAssociatedFeatureList(e){return e.toArray().map(t=>this._renderAssociatedFeature(t))}_renderAssociatedFeatureListPage(){let e=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(e),...this._renderAssociatedFeatureList(e)]}_renderChevronIconNode(e){return a`<calcite-icon flip-rtl .icon=${e?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(e){let{tooltipReferenceMap:t}=this,i=`associated-feature-${e.association.globalId}`;return this._isConnectivityAssociation(e.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(i)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(e){let{displayCount:t}=this,i=this.associationViewModels.get(e),s=i.slice(0,t),o=s.length<i.length,r=F(this._messagesFeature.numberRecords??"",{number:i.length.toString()}),l=this._messagesFeature.showAll??"";return c("show-all",a`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title??""}>${[this._renderTooltips(s),this._renderAssociatedFeatureList(s)]}${o?c("show-all-item",a`<calcite-list-item .description=${r} .label=${l} @calciteListItemSelect=${()=>this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(e){return e.toArray().map(t=>this._renderItemTooltip(t))}};y("arcgis-feature-utility-network-association-list",m);return m},"applications/Components/stringUtils","intl",b,d)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{g as p}from"./J4CHCFLS.js";import{a as g}from"./XHOI3WNI.js";import a from"./HU57LQOA.js";import{a as $}from"./ZSPYPXBY.js";import{h as C}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{B as w,N as v,O as f,P as G,U as R,X as b,a as y,b as l,n as s,p as o,r as h,x as u}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([c,k,x,S,z,E,{b:n,f:L}])=>{var M=y`.aggregated-geometry-container{display:flex;align-items:center;justify-content:space-between}.geometry-heading{margin:0 0 var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`,m=class extends G{constructor(){super(...arguments),this._messages=$({blocking:!0}),this.#r=`aggregated-geometry-graphics-${w()}`,this.#e=v(),this.autoDestroyDisabled=!1,this.emitsArcgisResultReady=!0,this.geometryGraphics=[],this.graphicsColor=new c(g),this.hideGraphics=!1,this.selectionSize=12,this.state="ready",this.arcgisPropertyChange=C()("hideGraphics","geometryGraphics","graphicsColor","selectionSize","state"),this.arcgisResultReady=u()}static{this.properties={autoDestroyDisabled:5,emitsArcgisResultReady:32,geometryGraphics:32,graphicsColor:[1,{converter:{fromAttribute:e=>c.fromString(e)??new c(g)}}],graphicsLayer:0,heading:1,hideGraphics:5,messageOverrides:0,selectionSize:9,state:32,traceResult:32,view:32}}static{this.styles=M}#r;#t;#e;get#a(){let{parentElement:e}=this.el;if(e&&p(e))return e;let t=this.el.getRootNode();if(t instanceof ShadowRoot&&p(t.host))return t.host}clearResult(){this.#e.value&&(this.#e.value.open=!1);let{graphicsLayer:e}=this;e&&(e.removeMany(this.geometryGraphics),e===this.#t&&(this.view?.map?.remove(e),this.graphicsLayer=void 0,this.#t=void 0)),s(()=>this.geometryGraphics=[]),s(()=>this.state="ready")}async destroy(){try{this.clearResult()}finally{await this.manager.destroy()}}connectedCallback(){super.connectedCallback(),this.view&&this.graphicsLayer&&n(this.view,this.graphicsLayer)}load(){this.manager.onLifecycle(()=>{let e=this.#a;if(!e){o("warn",this,"This component must be used as a child of `arcgis-utility-network-trace-results`.");return}let t=i=>this.#h(i);return e.addEventListener("arcgisPropertyChange",t),s(()=>{this.traceResult=e.traceResult,this.view=e.view}),()=>{e.removeEventListener("arcgisPropertyChange",t)}}),this.traceResult&&this.#s()}willUpdate(e){if(e.has("traceResult")&&this.#s(),e.has("view")){let t=e.get("view");t?.map&&this.graphicsLayer&&t.map.remove(this.graphicsLayer),this.#s()}e.has("graphicsLayer")&&this.#p(e.get("graphicsLayer")),e.has("hideGraphics")&&this.#g(),(e.has("graphicsColor")||e.has("selectionSize"))&&this.#m()}loaded(){this.traceResult&&(this.traceResult.aggregatedGeometry||o("warn",this,h("traceResult.aggregatedGeometry")),this.view?this.view.map||o("error",this,h("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")):o("error",this,h("view")))}#i(){if(!this.graphicsLayer)return;let e=this.geometryGraphics.filter(t=>!this.graphicsLayer.graphics.includes(t));this.graphicsLayer.addMany(e)}#h(e){if(e.target!==this.#a)return;let{target:t}=e;switch(e.detail.name){case"traceResult":s(()=>this.traceResult=t.traceResult);break;case"view":s(()=>this.view=t.view);break}}#c(e){let{line:t,multipoint:i,polygon:r}=e;s(()=>{this.geometryGraphics=[t,i,r].filter(a=>a!=null).map(a=>this.#n(a))})}#l(e){let t=this.#r,i=e.map?.findLayerById(t);return i&&L(i)?i:new x({id:t,listMode:"hide",title:t})}#n(e){return new k({geometry:e,symbol:this.#o(e)})}#o(e){let{selectionSize:t,graphicsColor:i}=this;switch(e.type){case"multipoint":return new E({color:i,size:t,outline:{color:i,width:0}});case"polygon":return new S({color:i,outline:{color:i,width:t}});case"polyline":return new z({color:i,width:t})}}#g(){this.hideGraphics?(this.graphicsLayer?.removeMany(this.geometryGraphics),this.#e.value?.open&&(this.#e.value.open=!1)):this.#i()}#p(e){e?.removeMany(this.geometryGraphics),this.hideGraphics||this.#i()}#s(){this.clearResult();let e=()=>{s(()=>this.state="ready"),this.arcgisResultReady.emit()};if(!this.traceResult?.aggregatedGeometry||!this.view?.map){e();return}s(()=>this.state="loading"),this.#c(this.traceResult.aggregatedGeometry),this.graphicsLayer||(this.graphicsLayer=this.#l(this.view),this.#t=this.graphicsLayer,n(this.view,this.graphicsLayer)),this.hideGraphics||this.#i(),e()}#m(){this.geometryGraphics.forEach(e=>{let t=e.geometry;e.symbol=this.#o(t)})}render(){if(!this.traceResult?.aggregatedGeometry)return null;let{graphicsColor:e,heading:t,hideGraphics:i,_messages:r}=this;return l`${t&&l`<div class="geometry-heading">${t}</div>`||""}<div class="aggregated-geometry-container"><calcite-switch .checked=${!i} .label=${r.labels.showGraphicsToggle} label-text-end=${r.showGraphics??R} @calciteSwitchChange=${()=>this.hideGraphics=!this.hideGraphics}></calcite-switch><calcite-swatch .color=${e.toCss()} .disabled=${i} id=geometry-color-swatch .label=${r.labels.aggregatedGeometryGraphicsColor}></calcite-swatch><calcite-popover closable .heading=${r.headings.setColor} .label=${r.headings.setColor} reference-element=geometry-color-swatch ${f(this.#e)}><calcite-color-picker alpha-channel channels-disabled clearable .disabled=${i} hex-disabled saved-disabled .value=${e.toCss(!0)} @calciteColorPickerChange=${a=>{let d=a.target.value;d&&(this.graphicsColor=new c(d))}}></calcite-color-picker></calcite-popover></div>`}};b("arcgis-utility-network-trace-aggregated-geometry-result-item",m);return m},"Color","Graphic","layers/GraphicsLayer","symbols/SimpleFillSymbol","symbols/SimpleLineSymbol","symbols/SimpleMarkerSymbol",a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{g as p}from"./Y4WOZJQX.js";import{a as g}from"./D47546HM.js";import a from"./TMJX7DFH.js";import{a as $}from"./WEAGLY7B.js";import{h as C}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{B as w,N as v,O as f,P as G,U as R,X as b,a as y,b as l,n as s,p as o,r as h,x as u}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,k,x,S,z,E,{b:n,f:L}])=>{var M=y`.aggregated-geometry-container{display:flex;align-items:center;justify-content:space-between}.geometry-heading{margin:0 0 var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size);color:var(--calcite-color-text-1)}`,m=class extends G{constructor(){super(...arguments),this._messages=$({blocking:!0}),this.#r=`aggregated-geometry-graphics-${w()}`,this.#e=v(),this.autoDestroyDisabled=!1,this.emitsArcgisResultReady=!0,this.geometryGraphics=[],this.graphicsColor=new c(g),this.hideGraphics=!1,this.selectionSize=12,this.state="ready",this.arcgisPropertyChange=C()("hideGraphics","geometryGraphics","graphicsColor","selectionSize","state"),this.arcgisResultReady=u()}static{this.properties={autoDestroyDisabled:5,emitsArcgisResultReady:32,geometryGraphics:32,graphicsColor:[1,{converter:{fromAttribute:e=>c.fromString(e)??new c(g)}}],graphicsLayer:0,heading:1,hideGraphics:5,messageOverrides:0,selectionSize:9,state:32,traceResult:32,view:32}}static{this.styles=M}#r;#t;#e;get#a(){let{parentElement:e}=this.el;if(e&&p(e))return e;let t=this.el.getRootNode();if(t instanceof ShadowRoot&&p(t.host))return t.host}clearResult(){this.#e.value&&(this.#e.value.open=!1);let{graphicsLayer:e}=this;e&&(e.removeMany(this.geometryGraphics),e===this.#t&&(this.view?.map?.remove(e),this.graphicsLayer=void 0,this.#t=void 0)),s(()=>this.geometryGraphics=[]),s(()=>this.state="ready")}async destroy(){try{this.clearResult()}finally{await this.manager.destroy()}}connectedCallback(){super.connectedCallback(),this.view&&this.graphicsLayer&&n(this.view,this.graphicsLayer)}load(){this.manager.onLifecycle(()=>{let e=this.#a;if(!e){o("warn",this,"This component must be used as a child of `arcgis-utility-network-trace-results`.");return}let t=i=>this.#h(i);return e.addEventListener("arcgisPropertyChange",t),s(()=>{this.traceResult=e.traceResult,this.view=e.view}),()=>{e.removeEventListener("arcgisPropertyChange",t)}}),this.traceResult&&this.#s()}willUpdate(e){if(e.has("traceResult")&&this.#s(),e.has("view")){let t=e.get("view");t?.map&&this.graphicsLayer&&t.map.remove(this.graphicsLayer),this.#s()}e.has("graphicsLayer")&&this.#p(e.get("graphicsLayer")),e.has("hideGraphics")&&this.#g(),(e.has("graphicsColor")||e.has("selectionSize"))&&this.#m()}loaded(){this.traceResult&&(this.traceResult.aggregatedGeometry||o("warn",this,h("traceResult.aggregatedGeometry")),this.view?this.view.map||o("error",this,h("The property `view` was provided, but `view.map` is null. Cannot draw aggregated geometry.")):o("error",this,h("view")))}#i(){if(!this.graphicsLayer)return;let e=this.geometryGraphics.filter(t=>!this.graphicsLayer.graphics.includes(t));this.graphicsLayer.addMany(e)}#h(e){if(e.target!==this.#a)return;let{target:t}=e;switch(e.detail.name){case"traceResult":s(()=>this.traceResult=t.traceResult);break;case"view":s(()=>this.view=t.view);break}}#c(e){let{line:t,multipoint:i,polygon:r}=e;s(()=>{this.geometryGraphics=[t,i,r].filter(a=>a!=null).map(a=>this.#n(a))})}#l(e){let t=this.#r,i=e.map?.findLayerById(t);return i&&L(i)?i:new x({id:t,listMode:"hide",title:t})}#n(e){return new k({geometry:e,symbol:this.#o(e)})}#o(e){let{selectionSize:t,graphicsColor:i}=this;switch(e.type){case"multipoint":return new E({color:i,size:t,outline:{color:i,width:0}});case"polygon":return new S({color:i,outline:{color:i,width:t}});case"polyline":return new z({color:i,width:t})}}#g(){this.hideGraphics?(this.graphicsLayer?.removeMany(this.geometryGraphics),this.#e.value?.open&&(this.#e.value.open=!1)):this.#i()}#p(e){e?.removeMany(this.geometryGraphics),this.hideGraphics||this.#i()}#s(){this.clearResult();let e=()=>{s(()=>this.state="ready"),this.arcgisResultReady.emit()};if(!this.traceResult?.aggregatedGeometry||!this.view?.map){e();return}s(()=>this.state="loading"),this.#c(this.traceResult.aggregatedGeometry),this.graphicsLayer||(this.graphicsLayer=this.#l(this.view),this.#t=this.graphicsLayer,n(this.view,this.graphicsLayer)),this.hideGraphics||this.#i(),e()}#m(){this.geometryGraphics.forEach(e=>{let t=e.geometry;e.symbol=this.#o(t)})}render(){if(!this.traceResult?.aggregatedGeometry)return null;let{graphicsColor:e,heading:t,hideGraphics:i,_messages:r}=this;return l`${t&&l`<div class="geometry-heading">${t}</div>`||""}<div class="aggregated-geometry-container"><calcite-switch .checked=${!i} .label=${r.labels.showGraphicsToggle} label-text-end=${r.showGraphics??R} @calciteSwitchChange=${()=>this.hideGraphics=!this.hideGraphics}></calcite-switch><calcite-swatch .color=${e.toCss()} .disabled=${i} id=geometry-color-swatch .label=${r.labels.aggregatedGeometryGraphicsColor}></calcite-swatch><calcite-popover closable .heading=${r.headings.setColor} .label=${r.headings.setColor} reference-element=geometry-color-swatch ${f(this.#e)}><calcite-color-picker alpha-channel channels-disabled clearable .disabled=${i} hex-disabled saved-disabled .value=${e.toCss(!0)} @calciteColorPickerChange=${a=>{let d=a.target.value;d&&(this.graphicsColor=new c(d))}}></calcite-color-picker></calcite-popover></div>`}};b("arcgis-utility-network-trace-aggregated-geometry-result-item",m);return m},"Color","Graphic","layers/GraphicsLayer","symbols/SimpleFillSymbol","symbols/SimpleLineSymbol","symbols/SimpleMarkerSymbol",a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as vt}from"./PZZU36OG.js";import{D as _t,E as q,P as at,R as ft,S as xt,c as M,ga as ct,i as w,j as v,ja as bt,k as T,l as mt,m as ht,n as dt,o as et,qa as ut,ra as lt,sa as kt}from"./UUNHAVGJ.js";import{P as R,a as z,u as C}from"./4ZLIA5OM.js";import{a as gt,b as tt,d as D,e as f}from"./ND3V4Z4F.js";import{W,X as yt,g as Y,o as k}from"./MQYTZX24.js";import"./TAVTDQ6S.js";var it=class extends yt{setupDefaultRules(){super.setupDefaultRules();let e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:kt.new(this._root,{}),width:D,height:D}),t("PieChart").setAll({radius:tt(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{let i=t("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),xt(i,"fill",e,"alternativeBackground")}}};var $=class extends ut{_afterNew(){this._defaultThemes.push(it.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};$.className="PercentChart";$.classNames=ut.classNames.concat([$.className]);var L=class extends ct{constructor(){super(...arguments),this.slicesContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(e=!1){let t=this.get("colors");return t&&t.reset(),super._applyThemes(e)}makeSlice(e){let t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),this._linkSprite(t,e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){let t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){let t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_placeBulletsContainer(){this.children.moveValue(this.bulletsContainer)}_onDataClear(){let e=this.get("colors");e&&e.reset();let t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,i=0,s=1/0,a=0;k(this._dataItems,l=>{let r=l.get("valueWorking",0);e+=r,t+=Math.abs(r)}),k(this._dataItems,l=>{let r=l.get("valueWorking",0);r>i&&(i=r),r<s&&(s=r),a++;let n=r/t;t==0&&(n=0),l.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/a),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){let t=Object.create(null,{show:{get:()=>super.show}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.show.call(this,e)),i.push(this._sequencedShowHide(!0,e)),yield Promise.all(i)})}hide(e){let t=Object.create(null,{hide:{get:()=>super.hide}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.hide.call(this,e)),i.push(this._sequencedShowHide(!1,e)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&k(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&k(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),k(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,e,t)];Y(t)||(t=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=e.get("value"),r=e.animate({key:"valueWorking",to:l,duration:t,easing:a});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.show(t));let u=e.get("label");u&&s.push(u.show(t));let o=e.get("slice");o&&s.push(o.show(t)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,e,t)],a=this.states.create("hidden",{});Y(t)||(t=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=e.animate({key:"valueWorking",to:0,duration:t,easing:l});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.hide(t));let u=e.get("label");u&&s.push(u.hide(t));let o=e.get("slice");o.hideTooltip(),o&&s.push(o.hide(t)),yield Promise.all(s)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let i=e.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=e.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(e){let t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){let t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){let t=e.get("slice");if(t){let i=e.get("legendDataItem");if(i){let s=i.get("markerRectangle");k(_t,a=>{t.get(a)!=null&&s.set(a,t.get(a))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.top;i.y+a<t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.bottom;i.y+a>t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.top})}}_arrangeRight(e){if(e){let t=0;e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.left;i.y+a<t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.right;i.y+a>t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();let e=this.chart;e&&e.series.removeValue(this)}};L.className="PercentSeries";L.classNames=ct.classNames.concat([L.className]);var G=class extends ${constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_processSeries(e){super._processSeries(e),this.series.each(t=>{t._markDirtyKey("innerRadius")})}_prepareChildren(){super._prepareChildren();let e=this.chartContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.get("startAngle",0),a=this.get("endAngle",0),l=this.get("innerRadius"),r=ht(0,0,s,a,1),n=t/(r.right-r.left),u=i/(r.bottom-r.top),o={left:0,right:0,top:0,bottom:0};if(l instanceof gt){let p=l.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,t))/g,o=ht(0,0,s,a,p),this.setPrivateRaw("irModifyer",p/l.value)}r=dt([r,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=C(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(r.bottom+r.top)/2,dx:-h*(r.right+r.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(e){let t=C(this.get("radius",0),this._maxRadius),i=C(this.get("innerRadius",0),t);if(e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("radius");return l!=null?i+C(l,t-i):i+(t-i)/a*(s+1)}return t}innerRadius(e){let t=this.radius(),i=C(this.get("innerRadius",0),t);if(i<0&&(i=t+i),e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("innerRadius");return l!=null?i+C(l,t-i):i+(t-i)/a*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};G.className="PieChart";G.classNames=$.classNames.concat([G.className]);var U=class extends L{_makeSlices(){return new M(W.new({}),()=>vt._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>bt._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});let i=this.makeLabel(e);i.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t._setC("textType","aligned");else{let i=t.get("textType");(i==null||i=="aligned")&&t._setC("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let t=this.get("startAngle",e.get("startAngle",-90)),s=this.get("endAngle",e.get("endAngle",270))-t,a=t,l=e.radius(this);this.setPrivateRaw("radius",l);let r=e.innerRadius(this)*e.getPrivate("irModifyer",1);r<0&&(r=l+r),k(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",l),o.set("innerRadius",r),o.set("startAngle",a),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=mt(a+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",l),h.setPrivate("innerRadius",r),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=l+h.get("radius",0),g=l*w(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",D),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",l*w(m))}a+=u,this._updateTick(n)})}}}_updateTick(e){let t=e.get("tick"),i=e.get("label"),s=e.get("slice"),a=t.get("location",1);if(t&&i&&s){let l=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*a,r=i.get("labelAngle",0),n=T(r),u=w(r),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),x=i.get("labelAngle",0);p=y*T(x),g=y*w(x)}let d=-h;i.getPrivate("left")&&(d=m),c=[{x:s.x()+l*n,y:s.y()+l*u},{x:p+d,y:g},{x:p,y:g}]}t.set("points",c)}}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.get("innerRadius",0),l=s.get("radius",0),r=s.get("startAngle",0),n=s.get("arc",0),u=e.get("locationX",.5),o=e.get("locationY",.5),m=r+n*u,h=a+(l-a)*o;t.setAll({x:T(m)*h,y:w(m)*h})}}}};U.className="PieSeries";U.classNames=L.classNames.concat([U.className]);var V=class extends q{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",e=>{let t=this.width(),i=this.height(),s=Math.min(t,i)/2,a=C(this.get("cornerRadiusTL",0),s),l=C(this.get("cornerRadiusTR",0),s),r=C(this.get("cornerRadiusBR",0),s),n=C(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,d=this._bly;o==h&&(o=o-.01),g==d&&(g=g-.01);let y=et({x:m,y:h},{x:u,y:o}),x=et({x:u,y:o},{x:p,y:g}),b=et({x:p,y:g},{x:c,y:d}),_=et({x:c,y:d},{x:m,y:h});this.get("orientation")=="horizontal"?(a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(h-o)/2),r=Math.min(r,Math.abs(d-g)/2),n=Math.min(n,Math.abs(d-g)/2)):(a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(m-u)/2),r=Math.min(r,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let A=m-a*v((y-_)/2)*T(_),P=h-a*v((y-_)/2)*w(_),F=m-a*v((_-y)/2)*T(y),Z=h-a*v((_-y)/2)*w(y),N=u-l*v((x-y)/2)*T(y),nt=o-l*v((x-y)/2)*w(y),B=u-l*v((y-x)/2)*T(x),O=o-l*v((y-x)/2)*w(x),J=p-r*v((b-x)/2)*T(x),j=g-r*v((b-x)/2)*w(x),Q=p-r*v((x-b)/2)*T(b),I=g-r*v((x-b)/2)*w(b),pt=c-n*v((_-b)/2)*T(b),st=d-n*v((_-b)/2)*w(b),ot=c-n*v((b-_)/2)*T(_),Tt=d-n*v((b-_)/2)*w(_);e.moveTo(F,Z),e.lineTo(N,nt),e.arcTo(u,o,B,O,l),e.quadraticCurveTo(this._cprx,this._cpry,J,j),e.arcTo(p,g,Q,I,r),e.lineTo(pt,st),e.arcTo(c,d,ot,Tt,n),e.quadraticCurveTo(this._cplx,this._cply,A,P),e.arcTo(m,h,F,Z,a)})}getPoint(e,t){let i=this.width(),s=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*t,h=n+(u-n)*t;return{x:m+(h-m)*e,y:s*t}}else{let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*e,h=n+(u-n)*e;return{x:i*e,y:m+(h-m)*t}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")||this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL")){let e=this.width(),t=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=t,this._blx=-s/2,this._bly=t,this._cprx=this._trx+(this._brx-this._trx)/2+a*t,this._cpry=this._try+.5*t,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*t,this._cply=this._tly+.5*t):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=e,this._bly=s/2,this._blx=e,this._cpry=this._try+(this._bry-this._try)/2-a*e,this._cprx=this._trx+.5*e,this._cply=this._tly+(this._bly-this._tly)/2+a*e,this._cplx=this._tlx+.5*e)}super._changed()}};V.className="FunnelSlice";V.classNames=q.classNames.concat([V.className]);var H=class extends L{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>ft._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(e){let t=this.slicesContainer.children.push(this.links.make());return t._setDataItem(e),e.set("link",t),this.links.push(t),t}_afterNew(){super._afterNew();let e=this.slicesContainer;e.setAll({isMeasured:!0,position:"relative",width:tt(100),height:tt(100)}),e.onPrivate("width",()=>{this.markDirtySize()}),e.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this._setC("layout",this._root.horizontalLayout):this._setC("layout",this._root.verticalLayout)}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t._setDataItem(e),e.set("slice",t),this.makeLink(e);let i=this.makeLabel(e);i.on("x",()=>{this._updateTick(e)}),i.on("y",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()}),t.events.on("boundschanged",()=>{let s=t.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let e=0,t=0;if(k(this.dataItems,i=>{let s=i.get("value");Y(s)&&(t++,s>0?e+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?t--:e+=1)}),this._total=1/t*e,this._count=t,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty||this.isDirty("bottomRatio")||this.isDirty("startLocation")||this.isDirty("endLocation"))){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let a=0;k(this._dataItems,l=>{this.updateLegendValue(l),l.set("index",a),a++;let r=l.get("slice"),n=l.get("tick"),u=l.get("label"),o=l.get("link"),m=l.get("fill"),h=l.get("fillPattern");r._setDefault("fill",m),r._setDefault("stroke",m),r._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=l.get("value");Y(p)&&(p==0&&this.get("ignoreZeroValues")?(r.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(r.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(l),this.isLast(l)?o.setPrivate("visible",!1):l.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let e=this.get("orientation"),t=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(t._setC("position","relative"),t._setCAll({isMeasured:!0}),e=="vertical"?(this._setC("layout",this._root.horizontalLayout),i._setCAll({centerX:D,x:D})):(this._setC("layout",this._root.verticalLayout),i._setCAll({centerX:0,x:0}))):(t._setCAll({isMeasured:!1,position:"absolute"}),e=="vertical"?(t._setCAll({x:f}),i._setCAll({centerX:f,x:0})):(t._setCAll({y:f}),i._setCAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(e){let t=e.get("index"),i=e.get("valueWorking",0);if(t<this.dataItems.length-1){let s=this.dataItems[t+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(e){let t=e.get("index");if(t==this.dataItems.length-1)return!0;for(let i=t+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(e){let t=this.get("orientation"),i=e.get("slice"),s=e.get("label"),a=e.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),u=r;t=="horizontal"&&(u=n);let o=this.getNextValue(e),m=e.get("value",0),h=Math.abs(e.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):e.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let d=h/g*u,y=(h-(h-o)*p)/g*u;i._setCAll({topWidth:d,bottomWidth:y,orientation:t}),a._setCAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:t});let x=this.get("startLocation",0),b=this.get("endLocation",1);if(t=="vertical"){let _=a.height()*c;n=n*(b-x)+_,i._setC("y",this._nextCoord);let A=Math.min(1e5,Math.max(0,n/this._count*c/this._total-_));i._setCAll({height:A,x:r/2});let P=this._nextCoord+A/2;s._setC("y",P),this._nextCoord+=A+_,a._setCAll({y:this._nextCoord-_,x:r/2})}else{let _=a.width()*c;r=r*(b-x)+_,i._setC("x",this._nextCoord);let A=Math.min(1e5,Math.max(0,r/this._count*c/this._total-_));i._setCAll({width:A,y:n/2});let P=this._nextCoord+A/2;s._setC("x",P),this._nextCoord+=A+_,a._setCAll({x:this._nextCoord-_,y:n/2})}}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").hide(t),i.hideDataItem.call(this,e,t)})}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").show(t),i.showDataItem.call(this,e,t)})}_updateTick(e){if(this.get("alignLabels")){let t=e.get("tick"),i=e.get("label"),s=e.get("slice");if(t&&s&&i){let a=this.labelsContainer,l=this.slicesContainer,r=t.get("location",.5),n=a.width(),u=a.height(),o=a.get("paddingLeft",0),m=a.get("paddingRight",0),h=a.get("paddingTop",0),p=a.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},d={x:0,y:0};this._opposite&&(r=1-r),this.get("orientation")=="vertical"?(g=s.getPoint(r,.5),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.x=n,c.y=i.y(),d.x=n-o,d.y=c.y):(c.x=l.x()+l.width(),c.y=i.y(),d.x=c.x+n-i.width()-m,d.y=c.y)):(g=s.getPoint(.5,r),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.y=u,c.x=i.x(),d.y=u-h,d.x=c.x):(c.y=l.y()+l.height(),c.x=i.x(),d.y=c.y+u-i.height()-p,d.x=c.x)),t.set("points",[g,c,d])}}}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("link");t&&(this.links.removeValue(t),t.dispose())}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.getPoint(e.get("locationX",.5),e.get("locationY",.5));t.setAll({x:s.x()+a.x,y:s.y()+a.y})}}}};H.className="FunnelSeries";H.classNames=L.classNames.concat([H.className]);var X=class extends H{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0,(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("valueIs"))&&(this._valuesDirty=!0)}decorateSlice(e){let t=this.get("orientation"),i=this.slicesContainer,s=e.get("slice"),a=e.get("label"),l=e.get("link"),r=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",D),p=Math.abs(e.get("valueWorking",0)),g=e.get("value",0),c,d,y=i.innerHeight(),x=i.innerWidth(),b=l.width(),_=l.height();t=="horizontal"&&([x,y]=[y,x],[b,_]=[_,b]);let A=x/2,P=1;g!=0?P=p/Math.abs(g):e.isHidden()&&(P=1e-6),_*=P,y=y*(o-u)-_*(this._count*this._total-1);let F=C(m,x);Y(this._nextSize)||(this._nextSize=F);let Z=C(h,x),N=this._nextSize,nt=Math.atan2(y,F-Z),B=Math.tan(Math.PI/2-nt);if(B==0&&(B=1e-8),r=="area"){let st=(F+Z)/2*y*p/n,ot=Math.abs(N*N-2*st*B);c=(N-Math.sqrt(ot))/B,c>0?d=(2*st-c*N)/c:d=N}else c=y*p/n,d=N-c*B;let O=this._nextCoord+c/2,J=A,j=this._nextCoord,Q=A,I=j+c;t=="vertical"?(a.set("y",O),a.get("opacity")>0&&this._rLabels.push({label:a,y:O}),s.set("height",c)):(a.set("x",O),a.get("opacity")>0&&this._hLabels.push({label:a,y:O}),[J,j]=[j,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:t,bottomWidth:d,topWidth:N,x:J,y:j}),l.setAll({orientation:t,x:Q,y:I,topWidth:d,bottomWidth:d}),this._nextSize=d,this._nextCoord+=c+_}};X.className="PyramidSeries";X.classNames=H.classNames.concat([X.className]);var K=class extends X{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f}),this.seriesGraphics=this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f})._markC("themeTags","position","x","y","centerX","centerY"))}_afterNew(){super._afterNew(),this._setC("topWidth",D),this._setC("bottomWidth",D),this._setC("valueIs","height"),this.slicesContainer._setC("mask",this.seriesMask)}_updateScale(){let e=this.slicesContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.seriesMask,a=this.seriesGraphics,l=s.get("scale",1),r=s.localBounds(),n=r.right-r.left,u=r.bottom-r.top;this.get("orientation")=="horizontal"?l=t/n:l=i/u,l!=1/0&&!Number.isNaN(l)&&(s.set("scale",l),s.set("x",t/2),s.set("y",i/2),a._setC("scale",l),a._setC("x",t/2),a._setC("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let e=this.get("svgPath");this.seriesMask.set("svgPath",e),this.seriesGraphics._setC("svgPath",e)}this._updateScale()}};K.className="PictorialStackedSeries";K.classNames=X.classNames.concat([K.className]);var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};E.className="SlicedChart";E.classNames=$.classNames.concat([E.className]);export{it as DefaultTheme,H as FunnelSeries,V as FunnelSlice,$ as PercentChart,L as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,X as PyramidSeries,E as SlicedChart};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as vt}from"./QMQV37ML.js";import{D as _t,E as q,P as at,R as ft,S as xt,c as M,ga as ct,i as w,j as v,ja as bt,k as T,l as mt,m as ht,n as dt,o as et,qa as ut,ra as lt,sa as kt}from"./TZHXSIXK.js";import{P as R,a as z,u as C}from"./PLTLRYBF.js";import{a as gt,b as tt,d as D,e as f}from"./T2DT5I33.js";import{W,X as yt,g as Y,o as k}from"./6NWR2Z4F.js";import"./H6RQVSYM.js";var it=class extends yt{setupDefaultRules(){super.setupDefaultRules();let e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:kt.new(this._root,{}),width:D,height:D}),t("PieChart").setAll({radius:tt(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{let i=t("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),xt(i,"fill",e,"alternativeBackground")}}};var $=class extends ut{_afterNew(){this._defaultThemes.push(it.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};$.className="PercentChart";$.classNames=ut.classNames.concat([$.className]);var L=class extends ct{constructor(){super(...arguments),this.slicesContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(e=!1){let t=this.get("colors");return t&&t.reset(),super._applyThemes(e)}makeSlice(e){let t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),this._linkSprite(t,e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){let t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){let t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_placeBulletsContainer(){this.children.moveValue(this.bulletsContainer)}_onDataClear(){let e=this.get("colors");e&&e.reset();let t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,i=0,s=1/0,a=0;k(this._dataItems,l=>{let r=l.get("valueWorking",0);e+=r,t+=Math.abs(r)}),k(this._dataItems,l=>{let r=l.get("valueWorking",0);r>i&&(i=r),r<s&&(s=r),a++;let n=r/t;t==0&&(n=0),l.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/a),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){let t=Object.create(null,{show:{get:()=>super.show}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.show.call(this,e)),i.push(this._sequencedShowHide(!0,e)),yield Promise.all(i)})}hide(e){let t=Object.create(null,{hide:{get:()=>super.hide}});return z(this,void 0,void 0,function*(){let i=[];i.push(t.hide.call(this,e)),i.push(this._sequencedShowHide(!1,e)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&k(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&k(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),k(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,e,t)];Y(t)||(t=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=e.get("value"),r=e.animate({key:"valueWorking",to:l,duration:t,easing:a});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.show(t));let u=e.get("label");u&&s.push(u.show(t));let o=e.get("slice");o&&s.push(o.show(t)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,e,t)],a=this.states.create("hidden",{});Y(t)||(t=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=e.animate({key:"valueWorking",to:0,duration:t,easing:l});r&&s.push(r.waitForStop());let n=e.get("tick");n&&s.push(n.hide(t));let u=e.get("label");u&&s.push(u.hide(t));let o=e.get("slice");o.hideTooltip(),o&&s.push(o.hide(t)),yield Promise.all(s)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let i=e.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=e.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(e){let t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){let t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){let t=e.get("slice");if(t){let i=e.get("legendDataItem");if(i){let s=i.get("markerRectangle");k(_t,a=>{t.get(a)!=null&&s.set(a,t.get(a))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.top;i.y+a<t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.bottom;i.y+a>t&&(i.y=t-a),i.label.set("y",i.y),t=i.y+s.top})}}_arrangeRight(e){if(e){let t=0;e.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.left;i.y+a<t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),k(e,i=>{let s=i.label.adjustedLocalBounds(),a=s.right;i.y+a>t&&(i.y=t-a),i.label._setC("x",i.y),t=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();let e=this.chart;e&&e.series.removeValue(this)}};L.className="PercentSeries";L.classNames=ct.classNames.concat([L.className]);var G=class extends ${constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_processSeries(e){super._processSeries(e),this.series.each(t=>{t._markDirtyKey("innerRadius")})}_prepareChildren(){super._prepareChildren();let e=this.chartContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.get("startAngle",0),a=this.get("endAngle",0),l=this.get("innerRadius"),r=ht(0,0,s,a,1),n=t/(r.right-r.left),u=i/(r.bottom-r.top),o={left:0,right:0,top:0,bottom:0};if(l instanceof gt){let p=l.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,t))/g,o=ht(0,0,s,a,p),this.setPrivateRaw("irModifyer",p/l.value)}r=dt([r,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=C(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(r.bottom+r.top)/2,dx:-h*(r.right+r.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(e){let t=C(this.get("radius",0),this._maxRadius),i=C(this.get("innerRadius",0),t);if(e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("radius");return l!=null?i+C(l,t-i):i+(t-i)/a*(s+1)}return t}innerRadius(e){let t=this.radius(),i=C(this.get("innerRadius",0),t);if(i<0&&(i=t+i),e){let s=this.series.indexOf(e),a=this.series.length,l=e.get("innerRadius");return l!=null?i+C(l,t-i):i+(t-i)/a*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};G.className="PieChart";G.classNames=$.classNames.concat([G.className]);var U=class extends L{_makeSlices(){return new M(W.new({}),()=>vt._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>bt._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});let i=this.makeLabel(e);i.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t._setC("textType","aligned");else{let i=t.get("textType");(i==null||i=="aligned")&&t._setC("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let t=this.get("startAngle",e.get("startAngle",-90)),s=this.get("endAngle",e.get("endAngle",270))-t,a=t,l=e.radius(this);this.setPrivateRaw("radius",l);let r=e.innerRadius(this)*e.getPrivate("irModifyer",1);r<0&&(r=l+r),k(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",l),o.set("innerRadius",r),o.set("startAngle",a),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=mt(a+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",l),h.setPrivate("innerRadius",r),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=l+h.get("radius",0),g=l*w(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",D),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",l*w(m))}a+=u,this._updateTick(n)})}}}_updateTick(e){let t=e.get("tick"),i=e.get("label"),s=e.get("slice"),a=t.get("location",1);if(t&&i&&s){let l=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*a,r=i.get("labelAngle",0),n=T(r),u=w(r),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),x=i.get("labelAngle",0);p=y*T(x),g=y*w(x)}let d=-h;i.getPrivate("left")&&(d=m),c=[{x:s.x()+l*n,y:s.y()+l*u},{x:p+d,y:g},{x:p,y:g}]}t.set("points",c)}}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.get("innerRadius",0),l=s.get("radius",0),r=s.get("startAngle",0),n=s.get("arc",0),u=e.get("locationX",.5),o=e.get("locationY",.5),m=r+n*u,h=a+(l-a)*o;t.setAll({x:T(m)*h,y:w(m)*h})}}}};U.className="PieSeries";U.classNames=L.classNames.concat([U.className]);var V=class extends q{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",e=>{let t=this.width(),i=this.height(),s=Math.min(t,i)/2,a=C(this.get("cornerRadiusTL",0),s),l=C(this.get("cornerRadiusTR",0),s),r=C(this.get("cornerRadiusBR",0),s),n=C(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,d=this._bly;o==h&&(o=o-.01),g==d&&(g=g-.01);let y=et({x:m,y:h},{x:u,y:o}),x=et({x:u,y:o},{x:p,y:g}),b=et({x:p,y:g},{x:c,y:d}),_=et({x:c,y:d},{x:m,y:h});this.get("orientation")=="horizontal"?(a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(h-o)/2),r=Math.min(r,Math.abs(d-g)/2),n=Math.min(n,Math.abs(d-g)/2)):(a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(m-u)/2),r=Math.min(r,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let A=m-a*v((y-_)/2)*T(_),P=h-a*v((y-_)/2)*w(_),F=m-a*v((_-y)/2)*T(y),Z=h-a*v((_-y)/2)*w(y),N=u-l*v((x-y)/2)*T(y),nt=o-l*v((x-y)/2)*w(y),B=u-l*v((y-x)/2)*T(x),O=o-l*v((y-x)/2)*w(x),J=p-r*v((b-x)/2)*T(x),j=g-r*v((b-x)/2)*w(x),Q=p-r*v((x-b)/2)*T(b),I=g-r*v((x-b)/2)*w(b),pt=c-n*v((_-b)/2)*T(b),st=d-n*v((_-b)/2)*w(b),ot=c-n*v((b-_)/2)*T(_),Tt=d-n*v((b-_)/2)*w(_);e.moveTo(F,Z),e.lineTo(N,nt),e.arcTo(u,o,B,O,l),e.quadraticCurveTo(this._cprx,this._cpry,J,j),e.arcTo(p,g,Q,I,r),e.lineTo(pt,st),e.arcTo(c,d,ot,Tt,n),e.quadraticCurveTo(this._cplx,this._cply,A,P),e.arcTo(m,h,F,Z,a)})}getPoint(e,t){let i=this.width(),s=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*t,h=n+(u-n)*t;return{x:m+(h-m)*e,y:s*t}}else{let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*e,h=n+(u-n)*e;return{x:i*e,y:m+(h-m)*t}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")||this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL")){let e=this.width(),t=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=t,this._blx=-s/2,this._bly=t,this._cprx=this._trx+(this._brx-this._trx)/2+a*t,this._cpry=this._try+.5*t,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*t,this._cply=this._tly+.5*t):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=e,this._bly=s/2,this._blx=e,this._cpry=this._try+(this._bry-this._try)/2-a*e,this._cprx=this._trx+.5*e,this._cply=this._tly+(this._bly-this._tly)/2+a*e,this._cplx=this._tlx+.5*e)}super._changed()}};V.className="FunnelSlice";V.classNames=q.classNames.concat([V.className]);var H=class extends L{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>ft._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(e){let t=this.slicesContainer.children.push(this.links.make());return t._setDataItem(e),e.set("link",t),this.links.push(t),t}_afterNew(){super._afterNew();let e=this.slicesContainer;e.setAll({isMeasured:!0,position:"relative",width:tt(100),height:tt(100)}),e.onPrivate("width",()=>{this.markDirtySize()}),e.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this._setC("layout",this._root.horizontalLayout):this._setC("layout",this._root.verticalLayout)}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t._setDataItem(e),e.set("slice",t),this.makeLink(e);let i=this.makeLabel(e);i.on("x",()=>{this._updateTick(e)}),i.on("y",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()}),t.events.on("boundschanged",()=>{let s=t.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let e=0,t=0;if(k(this.dataItems,i=>{let s=i.get("value");Y(s)&&(t++,s>0?e+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?t--:e+=1)}),this._total=1/t*e,this._count=t,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty||this.isDirty("bottomRatio")||this.isDirty("startLocation")||this.isDirty("endLocation"))){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let a=0;k(this._dataItems,l=>{this.updateLegendValue(l),l.set("index",a),a++;let r=l.get("slice"),n=l.get("tick"),u=l.get("label"),o=l.get("link"),m=l.get("fill"),h=l.get("fillPattern");r._setDefault("fill",m),r._setDefault("stroke",m),r._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=l.get("value");Y(p)&&(p==0&&this.get("ignoreZeroValues")?(r.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(r.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(l),this.isLast(l)?o.setPrivate("visible",!1):l.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let e=this.get("orientation"),t=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(t._setC("position","relative"),t._setCAll({isMeasured:!0}),e=="vertical"?(this._setC("layout",this._root.horizontalLayout),i._setCAll({centerX:D,x:D})):(this._setC("layout",this._root.verticalLayout),i._setCAll({centerX:0,x:0}))):(t._setCAll({isMeasured:!1,position:"absolute"}),e=="vertical"?(t._setCAll({x:f}),i._setCAll({centerX:f,x:0})):(t._setCAll({y:f}),i._setCAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(e){let t=e.get("index"),i=e.get("valueWorking",0);if(t<this.dataItems.length-1){let s=this.dataItems[t+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(e){let t=e.get("index");if(t==this.dataItems.length-1)return!0;for(let i=t+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(e){let t=this.get("orientation"),i=e.get("slice"),s=e.get("label"),a=e.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),u=r;t=="horizontal"&&(u=n);let o=this.getNextValue(e),m=e.get("value",0),h=Math.abs(e.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):e.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let d=h/g*u,y=(h-(h-o)*p)/g*u;i._setCAll({topWidth:d,bottomWidth:y,orientation:t}),a._setCAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:t});let x=this.get("startLocation",0),b=this.get("endLocation",1);if(t=="vertical"){let _=a.height()*c;n=n*(b-x)+_,i._setC("y",this._nextCoord);let A=Math.min(1e5,Math.max(0,n/this._count*c/this._total-_));i._setCAll({height:A,x:r/2});let P=this._nextCoord+A/2;s._setC("y",P),this._nextCoord+=A+_,a._setCAll({y:this._nextCoord-_,x:r/2})}else{let _=a.width()*c;r=r*(b-x)+_,i._setC("x",this._nextCoord);let A=Math.min(1e5,Math.max(0,r/this._count*c/this._total-_));i._setCAll({width:A,y:n/2});let P=this._nextCoord+A/2;s._setC("x",P),this._nextCoord+=A+_,a._setCAll({x:this._nextCoord-_,y:n/2})}}hideDataItem(e,t){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").hide(t),i.hideDataItem.call(this,e,t)})}showDataItem(e,t){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").show(t),i.showDataItem.call(this,e,t)})}_updateTick(e){if(this.get("alignLabels")){let t=e.get("tick"),i=e.get("label"),s=e.get("slice");if(t&&s&&i){let a=this.labelsContainer,l=this.slicesContainer,r=t.get("location",.5),n=a.width(),u=a.height(),o=a.get("paddingLeft",0),m=a.get("paddingRight",0),h=a.get("paddingTop",0),p=a.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},d={x:0,y:0};this._opposite&&(r=1-r),this.get("orientation")=="vertical"?(g=s.getPoint(r,.5),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.x=n,c.y=i.y(),d.x=n-o,d.y=c.y):(c.x=l.x()+l.width(),c.y=i.y(),d.x=c.x+n-i.width()-m,d.y=c.y)):(g=s.getPoint(.5,r),g.x+=s.x()+l.x(),g.y+=s.y()+l.y(),this._opposite?(c.y=u,c.x=i.x(),d.y=u-h,d.x=c.x):(c.y=l.y()+l.height(),c.x=i.x(),d.y=c.y+u-i.height()-p,d.x=c.x)),t.set("points",[g,c,d])}}}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("link");t&&(this.links.removeValue(t),t.dispose())}_positionBullet(e){let t=e.get("sprite");if(t){let s=t.dataItem.get("slice");if(s){let a=s.getPoint(e.get("locationX",.5),e.get("locationY",.5));t.setAll({x:s.x()+a.x,y:s.y()+a.y})}}}};H.className="FunnelSeries";H.classNames=L.classNames.concat([H.className]);var X=class extends H{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0,(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("valueIs"))&&(this._valuesDirty=!0)}decorateSlice(e){let t=this.get("orientation"),i=this.slicesContainer,s=e.get("slice"),a=e.get("label"),l=e.get("link"),r=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",D),p=Math.abs(e.get("valueWorking",0)),g=e.get("value",0),c,d,y=i.innerHeight(),x=i.innerWidth(),b=l.width(),_=l.height();t=="horizontal"&&([x,y]=[y,x],[b,_]=[_,b]);let A=x/2,P=1;g!=0?P=p/Math.abs(g):e.isHidden()&&(P=1e-6),_*=P,y=y*(o-u)-_*(this._count*this._total-1);let F=C(m,x);Y(this._nextSize)||(this._nextSize=F);let Z=C(h,x),N=this._nextSize,nt=Math.atan2(y,F-Z),B=Math.tan(Math.PI/2-nt);if(B==0&&(B=1e-8),r=="area"){let st=(F+Z)/2*y*p/n,ot=Math.abs(N*N-2*st*B);c=(N-Math.sqrt(ot))/B,c>0?d=(2*st-c*N)/c:d=N}else c=y*p/n,d=N-c*B;let O=this._nextCoord+c/2,J=A,j=this._nextCoord,Q=A,I=j+c;t=="vertical"?(a.set("y",O),a.get("opacity")>0&&this._rLabels.push({label:a,y:O}),s.set("height",c)):(a.set("x",O),a.get("opacity")>0&&this._hLabels.push({label:a,y:O}),[J,j]=[j,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:t,bottomWidth:d,topWidth:N,x:J,y:j}),l.setAll({orientation:t,x:Q,y:I,topWidth:d,bottomWidth:d}),this._nextSize=d,this._nextCoord+=c+_}};X.className="PyramidSeries";X.classNames=H.classNames.concat([X.className]);var K=class extends X{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f}),this.seriesGraphics=this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f})._markC("themeTags","position","x","y","centerX","centerY"))}_afterNew(){super._afterNew(),this._setC("topWidth",D),this._setC("bottomWidth",D),this._setC("valueIs","height"),this.slicesContainer._setC("mask",this.seriesMask)}_updateScale(){let e=this.slicesContainer,t=e.innerWidth(),i=e.innerHeight(),s=this.seriesMask,a=this.seriesGraphics,l=s.get("scale",1),r=s.localBounds(),n=r.right-r.left,u=r.bottom-r.top;this.get("orientation")=="horizontal"?l=t/n:l=i/u,l!=1/0&&!Number.isNaN(l)&&(s.set("scale",l),s.set("x",t/2),s.set("y",i/2),a._setC("scale",l),a._setC("x",t/2),a._setC("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let e=this.get("svgPath");this.seriesMask.set("svgPath",e),this.seriesGraphics._setC("svgPath",e)}this._updateScale()}};K.className="PictorialStackedSeries";K.classNames=X.classNames.concat([K.className]);var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};E.className="SlicedChart";E.classNames=$.classNames.concat([E.className]);export{it as DefaultTheme,H as FunnelSeries,V as FunnelSlice,$ as PercentChart,L as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,X as PyramidSeries,E as SlicedChart};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import a from"./4XERPOOU.js";import{S as v,V as b,b as u,c as g}from"./3UMLR76Y.js";export default $arcgis.t(([{renderColorRampPreviewHTML:R},{c:p,e:w,f:x}])=>{var E=10,y=20,h=10,z=20;function m(s){return typeof s=="number"}function C(s="vertical"){let e="stroke:rgb(200, 200, 200);stroke-width:1";return s==="vertical"?u`<svg height=4 width=10>${g`<line style=${v(e)} x1=0 x2=10 y1=2 y2=2 />`}</svg>`:u`<svg height=10 width=10>${g`<line style=${v(e)} x1=5 x2=5 y1=0 y2=10 />`}</svg>`}function S(s,e="vertical"){let n={height:`${y}px`,opacity:s?.toString()};return u`<div class="univariate-above-below-symbol" style=${v(n)}>${C(e)}</div>`}function $(s,e,n,o="vertical",i){s.infos.forEach((t,l)=>{if(i&&l===2){t.preview=b(S(n,o));return}else{let r=(m(t.size)?p(t.size):0)+(o==="horizontal"?z:h),c=t.preview,f=c?.tagName.toLowerCase()==="div",a=f?c:document.createElement("div");a.className="univariate-above-below-symbol",o==="horizontal"?a.style.width=`${r}px`:a.style.height=`${r}px`,!f&&c&&a.appendChild(c),x(a,w(e,t.label)),t.preview=a}})}function P(s,e="classic"){let n=s.infos,o=n.at(0),i=n.at(-1),t=m(o.size)?p(o.size):0,l=m(i.size)?p(i.size):0;return e==="classic"?(t+h)/2:(t-l)/2}function T(s,e){if(!s)return null;let n=s.infos.map(i=>i.color),o=R(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width??void 0,height:e.height??void 0,align:e.rampAlignment,cssEffectFilter:e.cssEffectFilter,ariaLabel:e.ariaLabel??void 0});return o.className="color-ramp",e.opacity!=null&&(o.style.opacity=e.opacity.toString()),o}function k(s,e,n,o="vertical"){let i=0,t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l;for(let f=r;f<=c;f++)if(n&&f===l)i+=o==="horizontal"?E:y;else{let a=t[f].size,d=(m(a)?p(a):0)+(o==="horizontal"?z:h);i+=d}return Math.round(i)}function j(s,e,n,o="vertical"){let i=k(s,e,n,o),t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l,f=m(t[r].size)?t[r].size:0,a=m(t[c].size)?t[c].size:0,d=e==="full"?f+a:e==="above"?f:a,L=n?o==="vertical"?y:E:0,M=o==="vertical"?h*(e==="full"?2:1):z*(e==="full"?2:1);return Math.round(i-(p(d)/2+L/2+M/2))}function q(s,e,n,o="vertical"){let i=s.infos,t=i.find(({type:r})=>r==="size-ramp"),l=i.find(({type:r})=>r==="color-ramp");return t&&(t={...t},t.infos=[...t.infos],$(t,e,n,o,!0)),l&&(l={...l},l.infos=[...l.infos]),o==="horizontal"&&(t?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:t,colorRampElement:l}}function B(s,e,n="vertical"){let o=s.infos,i=o.find(({type:l})=>l==="size-ramp"),t=o.find(({type:l})=>l==="color-ramp");return i&&(i={...i},i.infos=[...i.infos],$(i,e,null,n,!1)),t&&(t={...t},t.infos=[...t.infos]),n==="horizontal"&&(i?.infos.reverse(),t?.infos.reverse()),{sizeRampElement:i,colorRampElement:t}}var D={marginLeft:"3px"},H={display:"table-cell",verticalAlign:"middle"},W={display:"flex",alignItems:"flex-start"};return{a:P,b:T,c:k,d:j,e:q,f:B,g:D,h:H,i:W}},"symbols/support/symbolUtils",a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./DL57EVZ4.js";import{S as v,V as b,b as u,c as g}from"./EKR2SAT2.js";export default $arcgis.t(([{renderColorRampPreviewHTML:R},{c:p,e:w,f:x}])=>{var E=10,y=20,h=10,z=20;function m(s){return typeof s=="number"}function C(s="vertical"){let e="stroke:rgb(200, 200, 200);stroke-width:1";return s==="vertical"?u`<svg height=4 width=10>${g`<line style=${v(e)} x1=0 x2=10 y1=2 y2=2 />`}</svg>`:u`<svg height=10 width=10>${g`<line style=${v(e)} x1=5 x2=5 y1=0 y2=10 />`}</svg>`}function S(s,e="vertical"){let n={height:`${y}px`,opacity:s?.toString()};return u`<div class="univariate-above-below-symbol" style=${v(n)}>${C(e)}</div>`}function $(s,e,n,o="vertical",i){s.infos.forEach((t,l)=>{if(i&&l===2){t.preview=b(S(n,o));return}else{let r=(m(t.size)?p(t.size):0)+(o==="horizontal"?z:h),c=t.preview,f=c?.tagName.toLowerCase()==="div",a=f?c:document.createElement("div");a.className="univariate-above-below-symbol",o==="horizontal"?a.style.width=`${r}px`:a.style.height=`${r}px`,!f&&c&&a.appendChild(c),x(a,w(e,t.label)),t.preview=a}})}function P(s,e="classic"){let n=s.infos,o=n.at(0),i=n.at(-1),t=m(o.size)?p(o.size):0,l=m(i.size)?p(i.size):0;return e==="classic"?(t+h)/2:(t-l)/2}function T(s,e){if(!s)return null;let n=s.infos.map(i=>i.color),o=R(e.type==="full"?n:e.type==="above"?n.slice(0,3):n.slice(2,5),{width:e.width??void 0,height:e.height??void 0,align:e.rampAlignment,cssEffectFilter:e.cssEffectFilter,ariaLabel:e.ariaLabel??void 0});return o.className="color-ramp",e.opacity!=null&&(o.style.opacity=e.opacity.toString()),o}function k(s,e,n,o="vertical"){let i=0,t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l;for(let f=r;f<=c;f++)if(n&&f===l)i+=o==="horizontal"?E:y;else{let a=t[f].size,d=(m(a)?p(a):0)+(o==="horizontal"?z:h);i+=d}return Math.round(i)}function j(s,e,n,o="vertical"){let i=k(s,e,n,o),t=s.infos,l=Math.floor(t.length/2),r=e==="full"||e==="above"?0:l,c=e==="full"||e==="below"?t.length-1:l,f=m(t[r].size)?t[r].size:0,a=m(t[c].size)?t[c].size:0,d=e==="full"?f+a:e==="above"?f:a,L=n?o==="vertical"?y:E:0,M=o==="vertical"?h*(e==="full"?2:1):z*(e==="full"?2:1);return Math.round(i-(p(d)/2+L/2+M/2))}function q(s,e,n,o="vertical"){let i=s.infos,t=i.find(({type:r})=>r==="size-ramp"),l=i.find(({type:r})=>r==="color-ramp");return t&&(t={...t},t.infos=[...t.infos],$(t,e,n,o,!0)),l&&(l={...l},l.infos=[...l.infos]),o==="horizontal"&&(t?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:t,colorRampElement:l}}function B(s,e,n="vertical"){let o=s.infos,i=o.find(({type:l})=>l==="size-ramp"),t=o.find(({type:l})=>l==="color-ramp");return i&&(i={...i},i.infos=[...i.infos],$(i,e,null,n,!1)),t&&(t={...t},t.infos=[...t.infos]),n==="horizontal"&&(i?.infos.reverse(),t?.infos.reverse()),{sizeRampElement:i,colorRampElement:t}}var D={marginLeft:"3px"},H={display:"table-cell",verticalAlign:"middle"},W={display:"flex",alignItems:"flex-start"};return{a:P,b:T,c:k,d:j,e:q,f:B,g:D,h:H,i:W}},"symbols/support/symbolUtils",a)