@arcgis/map-components 5.0.0-next.109 → 5.0.0-next.110

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 (505) hide show
  1. package/dist/cdn/{ITDPKFKO.js → 23HUP6H4.js} +2 -2
  2. package/dist/cdn/{OAZQPUHS.js → 27AX6VAA.js} +2 -2
  3. package/dist/cdn/{DTWFZAXK.js → 2GSOWXYW.js} +2 -2
  4. package/dist/cdn/{GF4GYPFU.js → 2GWPA3HC.js} +2 -2
  5. package/dist/cdn/{6JAWKMWN.js → 2KICQPEY.js} +2 -2
  6. package/dist/cdn/{PJD3QZPS.js → 2OKID74A.js} +2 -2
  7. package/dist/cdn/{UHCPC53D.js → 2SBM6RKV.js} +2 -2
  8. package/dist/cdn/{I3UOYNRJ.js → 2TZXT57Q.js} +2 -2
  9. package/dist/cdn/{5N6QQBKQ.js → 3U73JFQ4.js} +2 -2
  10. package/dist/cdn/3WR5FNIS.js +4 -0
  11. package/dist/cdn/{F63FVYXX.js → 3Z3W5M6S.js} +2 -2
  12. package/dist/cdn/{T7BSXMGP.js → 422SD5KW.js} +2 -2
  13. package/dist/cdn/{YYYKLCZQ.js → 43BZNZDD.js} +2 -2
  14. package/dist/cdn/{NCWIAODB.js → 4D4TXTM7.js} +2 -2
  15. package/dist/cdn/{NV6QYCMM.js → 4DQ52NYE.js} +2 -2
  16. package/dist/cdn/{7BVAIEXD.js → 4ERPXL5C.js} +2 -2
  17. package/dist/cdn/{4CNSY5DV.js → 4IVHLDI3.js} +2 -2
  18. package/dist/cdn/{IJZSWKVW.js → 4MXIZ65N.js} +2 -2
  19. package/dist/cdn/{5YTWAMRZ.js → 4P5BRFD5.js} +2 -2
  20. package/dist/cdn/{VYAE4YIY.js → 4PA5XO4V.js} +2 -2
  21. package/dist/cdn/{RP33J6I3.js → 4RBHXFY4.js} +2 -2
  22. package/dist/cdn/{6YIX7OOD.js → 4UGGJAAV.js} +2 -2
  23. package/dist/cdn/{RDKDP4EI.js → 4XZPUTED.js} +2 -2
  24. package/dist/cdn/{SOBLD7YY.js → 4ZQMNRXP.js} +2 -2
  25. package/dist/cdn/{AL2MODBP.js → 55DEANOF.js} +2 -2
  26. package/dist/cdn/{IUU6VIWP.js → 575V4YRI.js} +2 -2
  27. package/dist/cdn/5AZ6BQHG.js +4 -0
  28. package/dist/cdn/{ULZXO6AV.js → 5BZUXWNM.js} +2 -2
  29. package/dist/cdn/5CVYBSSZ.js +4 -0
  30. package/dist/cdn/{GUG5IVBP.js → 5HP4QU2A.js} +2 -2
  31. package/dist/cdn/{UOZLHAZ7.js → 5JLZGGJ3.js} +2 -2
  32. package/dist/cdn/{5OYLKSFT.js → 5NGKK2AB.js} +1 -1
  33. package/dist/cdn/{XJKN47ND.js → 5QJJGDQY.js} +2 -2
  34. package/dist/cdn/{GI5BXZFB.js → 65CPZ2KZ.js} +2 -2
  35. package/dist/cdn/{J7C24M6F.js → 6F5O5Q4G.js} +2 -2
  36. package/dist/cdn/{T3WCANTQ.js → 6HPOF4HZ.js} +2 -2
  37. package/dist/cdn/{KGSTVZ4E.js → 6HYB4M3B.js} +2 -2
  38. package/dist/cdn/6IC34O2H.js +4 -0
  39. package/dist/cdn/{O4B6XGMW.js → 6LZLH5VV.js} +1 -1
  40. package/dist/cdn/{FYEJNI2E.js → 6MBJ4AVS.js} +2 -2
  41. package/dist/cdn/{T7VN5OIJ.js → 6WMEVRFU.js} +1 -1
  42. package/dist/cdn/{RQ36GMZS.js → 74LS4NAP.js} +2 -2
  43. package/dist/cdn/{JAA6ERSN.js → 7AJW6CTA.js} +2 -2
  44. package/dist/cdn/{5XZVXY4R.js → 7CYHQ6FD.js} +2 -2
  45. package/dist/cdn/{UEHXBW6Z.js → 7IAFOQVM.js} +2 -2
  46. package/dist/cdn/{QCKEPDQG.js → 7VKDS2ZF.js} +2 -2
  47. package/dist/cdn/{HW6HQV3O.js → 7X4PUGKU.js} +2 -2
  48. package/dist/cdn/{5TOYLO4C.js → A2T5JCFL.js} +2 -2
  49. package/dist/cdn/{X6TR3DJP.js → AFEYOUQS.js} +2 -2
  50. package/dist/cdn/{M2FVGD4X.js → AGFEDBSM.js} +2 -2
  51. package/dist/cdn/{26ZSRGJB.js → AJH2SUYO.js} +2 -2
  52. package/dist/cdn/{DYX2I6BL.js → AWB33SKE.js} +2 -2
  53. package/dist/cdn/{GIYI3YA4.js → BAINXG3J.js} +2 -2
  54. package/dist/cdn/{V6U7UH2Z.js → BGYFLEOC.js} +2 -2
  55. package/dist/cdn/{HDSLNCN2.js → BGYJFCRA.js} +2 -2
  56. package/dist/cdn/{UB4JBH57.js → BHE7AL45.js} +2 -2
  57. package/dist/cdn/{CPKRPSQH.js → BSGZITLJ.js} +2 -2
  58. package/dist/cdn/{QFS53XGP.js → BSISFUMK.js} +2 -2
  59. package/dist/cdn/{A2CEN6CY.js → BWT34TJD.js} +2 -2
  60. package/dist/cdn/{CIK64B3F.js → BXS7RSBQ.js} +2 -2
  61. package/dist/cdn/{SDCBNA2K.js → C6TL3VPU.js} +2 -2
  62. package/dist/cdn/{TSDEGD42.js → C7JYDN2K.js} +2 -2
  63. package/dist/cdn/CJQFVW4G.js +4 -0
  64. package/dist/cdn/{72WGIRYC.js → CODG2ENN.js} +2 -2
  65. package/dist/cdn/{PMELZI6R.js → CP6V62MZ.js} +2 -2
  66. package/dist/cdn/{42LAU5KN.js → CPPHVEEA.js} +2 -2
  67. package/dist/cdn/{6R7BV6O3.js → CSFWACX6.js} +2 -2
  68. package/dist/cdn/{L2LCCDND.js → D3GV4OEK.js} +2 -2
  69. package/dist/cdn/{E426SOFD.js → DG2NGS4U.js} +2 -2
  70. package/dist/cdn/{FQXEFF37.js → DHIW653L.js} +2 -2
  71. package/dist/cdn/{QG7CZKIB.js → DPRRCW5P.js} +2 -2
  72. package/dist/cdn/{JHU36AKO.js → EA5BIZHW.js} +2 -2
  73. package/dist/cdn/{HLZ3RSJV.js → ECC34CSQ.js} +2 -2
  74. package/dist/cdn/{QEOTUSLQ.js → EESRNY2T.js} +1 -1
  75. package/dist/cdn/{ALPW53Q3.js → EZVNUID7.js} +2 -2
  76. package/dist/cdn/{AHUPQ7IE.js → F2DJWFLO.js} +2 -2
  77. package/dist/cdn/{PZENDDPE.js → F4PTOQET.js} +2 -2
  78. package/dist/cdn/{VI2VJIX2.js → FB6W7DFW.js} +2 -2
  79. package/dist/cdn/{MTACGL2C.js → FBXYB447.js} +2 -2
  80. package/dist/cdn/{PELPJKTJ.js → FDB3WLFH.js} +2 -2
  81. package/dist/cdn/{GR6QRROL.js → FIWLFAWM.js} +2 -2
  82. package/dist/cdn/{V27BPZT2.js → FO4SEFMJ.js} +2 -2
  83. package/dist/cdn/{BSFQ3NI2.js → FP2B4JQJ.js} +2 -2
  84. package/dist/cdn/{T7IPNVE3.js → FTVCVXFG.js} +1 -1
  85. package/dist/cdn/{TGY6MKFR.js → FUSICPDM.js} +2 -2
  86. package/dist/cdn/{OOTFY4YR.js → FVVY7RMI.js} +2 -2
  87. package/dist/cdn/{R7VMW4VD.js → G26SGNQH.js} +2 -2
  88. package/dist/cdn/{77N3FSKR.js → G2KKZR4I.js} +3 -3
  89. package/dist/cdn/{JZ2LOKNC.js → G374BNKB.js} +2 -2
  90. package/dist/cdn/{XY5AVSOA.js → G37J3VKW.js} +2 -2
  91. package/dist/cdn/{XORUWTRY.js → G4WBNPGM.js} +2 -2
  92. package/dist/cdn/{2QIVJZ5U.js → G7ROEGFH.js} +1 -1
  93. package/dist/cdn/{FG7E7U36.js → GAR3FSPV.js} +2 -2
  94. package/dist/cdn/{LSC55QU3.js → GH2FOBM2.js} +2 -2
  95. package/dist/cdn/{SFNNOM3T.js → GNBPPVLP.js} +1 -1
  96. package/dist/cdn/{74DLEGRL.js → GNJBWDF6.js} +2 -2
  97. package/dist/cdn/{VJWPIYDS.js → GPI4RQIV.js} +2 -2
  98. package/dist/cdn/{UQTY4LHJ.js → GSQU2REJ.js} +2 -2
  99. package/dist/cdn/{HXCP753W.js → GXL4LE42.js} +1 -1
  100. package/dist/cdn/{TKDSXZLI.js → GXT4JSC6.js} +2 -2
  101. package/dist/cdn/{R643STJH.js → GZCBIJGX.js} +2 -2
  102. package/dist/cdn/{Y4KMS76P.js → GZJZZOKY.js} +2 -2
  103. package/dist/cdn/{P4O2IRBZ.js → HGJ5VCDV.js} +2 -2
  104. package/dist/cdn/{63WTNG2K.js → HVRSNJDU.js} +2 -2
  105. package/dist/cdn/{HQHFVGCT.js → HYVC26H4.js} +2 -2
  106. package/dist/cdn/{O7LDFNEL.js → I7EBKYZD.js} +2 -2
  107. package/dist/cdn/IEMYK25U.js +4 -0
  108. package/dist/cdn/{CT7PZ3IS.js → IGQRGFGD.js} +2 -2
  109. package/dist/cdn/{PYA7APAG.js → IKYWXNDB.js} +2 -2
  110. package/dist/cdn/IT72RLC2.js +4 -0
  111. package/dist/cdn/{I6SUHZBE.js → IUGCGL5M.js} +2 -2
  112. package/dist/cdn/{UEWOJRR6.js → IXGIOATU.js} +2 -2
  113. package/dist/cdn/{QL77GG6R.js → J2763T3G.js} +2 -2
  114. package/dist/cdn/{M7RWFW2I.js → J3JE23S2.js} +2 -2
  115. package/dist/cdn/{SSREIVLS.js → JBATHADW.js} +1 -1
  116. package/dist/cdn/{OMGJX4GK.js → JFKZ62NW.js} +2 -2
  117. package/dist/cdn/{3CFJA6JH.js → JQIWWUT2.js} +2 -2
  118. package/dist/cdn/{QHXKI45F.js → JRN6ZB25.js} +2 -2
  119. package/dist/cdn/{PYC2MRIT.js → JU5Z5KJF.js} +2 -2
  120. package/dist/cdn/{FP5T4VOD.js → K3AXWVZV.js} +2 -2
  121. package/dist/cdn/{XKGDUP5T.js → KB5MBKRP.js} +2 -2
  122. package/dist/cdn/{JNPHLMGT.js → KBNDDAUT.js} +2 -2
  123. package/dist/cdn/{QLNXSAV4.js → KIT7WVMV.js} +2 -2
  124. package/dist/cdn/{3SNKAXIQ.js → KSKMXEPU.js} +2 -2
  125. package/dist/cdn/{LZ43DPBY.js → KTZAMBRK.js} +2 -2
  126. package/dist/cdn/{E3QHYGOD.js → KZCZZI43.js} +2 -2
  127. package/dist/cdn/{3YDZ57JN.js → L27O5UYK.js} +2 -2
  128. package/dist/cdn/{GA55YOMP.js → LBY2QGM5.js} +2 -2
  129. package/dist/cdn/{QOPOV7NV.js → LMTEQVTY.js} +2 -2
  130. package/dist/cdn/{PTTTP3WD.js → M6QTQ35O.js} +2 -2
  131. package/dist/cdn/{PKB3HPKB.js → MBBHONGQ.js} +2 -2
  132. package/dist/cdn/{OAEUVC3R.js → MC4QL33W.js} +2 -2
  133. package/dist/cdn/{GPIM2Q7N.js → MH4WKVP3.js} +2 -2
  134. package/dist/cdn/{FG2XM3VO.js → MJT3D27H.js} +2 -2
  135. package/dist/cdn/{T6RNQV5N.js → MK5UCIN5.js} +2 -2
  136. package/dist/cdn/{67XZMKXH.js → MNFFN2PC.js} +2 -2
  137. package/dist/cdn/{RKRYHCRF.js → MS6WQOMV.js} +2 -2
  138. package/dist/cdn/{ODECBSIY.js → MS7FFWAJ.js} +2 -2
  139. package/dist/cdn/MTIMXXFL.js +4 -0
  140. package/dist/cdn/{5WCA2K5B.js → MZRPS5BC.js} +2 -2
  141. package/dist/cdn/{4BY3KROI.js → MZVNRN4P.js} +1 -1
  142. package/dist/cdn/{ZFZLHLZT.js → N6O33TAC.js} +2 -2
  143. package/dist/cdn/{KGAAWTDQ.js → N7VSLU5R.js} +2 -2
  144. package/dist/cdn/{OQAL2JVW.js → NA22QC53.js} +2 -2
  145. package/dist/cdn/{RMMP3WO4.js → NBHOVBHC.js} +2 -2
  146. package/dist/cdn/{AEPTUIFP.js → NCP2EULJ.js} +2 -2
  147. package/dist/cdn/{WMPLESYM.js → NFUEZP25.js} +2 -2
  148. package/dist/cdn/NIIJM5IV.js +4 -0
  149. package/dist/cdn/NLMOR5AB.js +4 -0
  150. package/dist/cdn/{Q5KCATQC.js → NQFMIUBA.js} +2 -2
  151. package/dist/cdn/{G4ANVU3I.js → NR3MPKW5.js} +2 -2
  152. package/dist/cdn/{GJW47H63.js → NYFKP6RJ.js} +2 -2
  153. package/dist/cdn/{46TC3BHZ.js → O77ONXXD.js} +2 -2
  154. package/dist/cdn/{VDQP3SGQ.js → O7RIL42M.js} +2 -2
  155. package/dist/cdn/{CA75C7FC.js → OA5FERZN.js} +2 -2
  156. package/dist/cdn/{4TUHBRTW.js → OCFNAZFY.js} +2 -2
  157. package/dist/cdn/{SPQIBGDV.js → OCMKAGN4.js} +2 -2
  158. package/dist/cdn/{B2HLKQ4Y.js → OGYJY4QT.js} +2 -2
  159. package/dist/cdn/{DBBIMCQD.js → OKMGFKAT.js} +2 -2
  160. package/dist/cdn/{7WCP4VRH.js → OQHW24K3.js} +2 -2
  161. package/dist/cdn/{LSPJYXI5.js → OTKMLAAF.js} +2 -2
  162. package/dist/cdn/{L4W75XJJ.js → P53MED2K.js} +2 -2
  163. package/dist/cdn/{NSXLQSVT.js → PIO5W5JO.js} +2 -2
  164. package/dist/cdn/{CBHF7VHQ.js → PJ36QTY2.js} +2 -2
  165. package/dist/cdn/{KNRQYSU4.js → PKSIMEQ2.js} +2 -2
  166. package/dist/cdn/PNIDFYQM.js +4 -0
  167. package/dist/cdn/{TLZRLEUY.js → PP2EPF73.js} +2 -2
  168. package/dist/cdn/{T6S5CZT4.js → PPCO4XFA.js} +2 -2
  169. package/dist/cdn/{RGVXE35X.js → PTS6VUNA.js} +2 -2
  170. package/dist/cdn/{QSHNHPZF.js → PX6SVMQH.js} +2 -2
  171. package/dist/cdn/{DNWPTLPR.js → PXPHMXKV.js} +2 -2
  172. package/dist/cdn/{QN4SG4E5.js → Q25D3O3A.js} +2 -2
  173. package/dist/cdn/{CWU2VBMQ.js → Q74SK7SV.js} +2 -2
  174. package/dist/cdn/{67O6AGAF.js → QIUQFWNP.js} +2 -2
  175. package/dist/cdn/{I32YMIDG.js → QKOL2BRG.js} +2 -2
  176. package/dist/cdn/{56YGYFRL.js → QRTVT3QX.js} +2 -2
  177. package/dist/cdn/{GCVTCZK7.js → QXR4AC33.js} +2 -2
  178. package/dist/cdn/{PRMNPFH5.js → R77WMDU2.js} +2 -2
  179. package/dist/cdn/{TACBTROV.js → RCWVAAYB.js} +2 -2
  180. package/dist/cdn/RETGY4SG.js +4 -0
  181. package/dist/cdn/{SB2RTVTX.js → RIZSU575.js} +2 -2
  182. package/dist/cdn/{JOVXVKYB.js → RMHX6WO3.js} +2 -2
  183. package/dist/cdn/{NVL5ZF7W.js → RTO6GTVS.js} +2 -2
  184. package/dist/cdn/{E65DN73C.js → RWSRN6WY.js} +2 -2
  185. package/dist/cdn/{EYFUZAGW.js → S7UEUR3R.js} +2 -2
  186. package/dist/cdn/{D5PKAON6.js → SFOLG75V.js} +2 -2
  187. package/dist/cdn/SHPB5CCO.js +4 -0
  188. package/dist/cdn/{E2CRCD33.js → SOIDA7GD.js} +2 -2
  189. package/dist/cdn/{N2VSJTBR.js → SXADSHPS.js} +1 -1
  190. package/dist/cdn/{6SYHL5UN.js → TEGHXZJN.js} +2 -2
  191. package/dist/cdn/{WPYHDOJF.js → TEQP6WXY.js} +2 -2
  192. package/dist/cdn/{TSUOROA5.js → TOSCC3G5.js} +2 -2
  193. package/dist/cdn/{FFMLTFDU.js → TQIRBCDV.js} +2 -2
  194. package/dist/cdn/{3WGZGVLC.js → TTNZ5F2N.js} +2 -2
  195. package/dist/cdn/{S23JCSIZ.js → TV7442I6.js} +2 -2
  196. package/dist/cdn/{HOYM5B3L.js → UAUGESNZ.js} +2 -2
  197. package/dist/cdn/{FWAXDTKW.js → UHX67SFQ.js} +2 -2
  198. package/dist/cdn/{B5FQUWQT.js → ULE6CJOD.js} +1 -1
  199. package/dist/cdn/{CBYVODM7.js → UM6ABQ4M.js} +2 -2
  200. package/dist/cdn/{HG3LYGLU.js → UNNGKP7O.js} +2 -2
  201. package/dist/cdn/{XEQ4BT36.js → UUBY2HXK.js} +2 -2
  202. package/dist/cdn/{7XTXEDJS.js → V3UHZHYV.js} +2 -2
  203. package/dist/cdn/{DA5A6GCJ.js → VBBBGRFE.js} +2 -2
  204. package/dist/cdn/{5SLNEQYY.js → VD4WHRFB.js} +2 -2
  205. package/dist/cdn/{EFZMAFTD.js → VD53Z7LY.js} +2 -2
  206. package/dist/cdn/{FP7LUQ5M.js → VTEOLKTW.js} +2 -2
  207. package/dist/cdn/{2Z7LC6HF.js → VUJGT26Y.js} +2 -2
  208. package/dist/cdn/{BKFJ5LDF.js → W7USLEFU.js} +2 -2
  209. package/dist/cdn/{24ZTTUOW.js → WILJY3HZ.js} +2 -2
  210. package/dist/cdn/{N6EXCOJJ.js → WKTE5XSH.js} +2 -2
  211. package/dist/cdn/{4SLLCYPK.js → WYP3P727.js} +2 -2
  212. package/dist/cdn/{AT7DILAS.js → WZON6ADW.js} +2 -2
  213. package/dist/cdn/{5RILVK2L.js → X3KOWRFB.js} +2 -2
  214. package/dist/cdn/{65EOUBUH.js → X4IDECRM.js} +1 -1
  215. package/dist/cdn/{TI5V23T3.js → XGVY56IC.js} +2 -2
  216. package/dist/cdn/{SMTCGS6V.js → XIRCOM7C.js} +2 -2
  217. package/dist/cdn/{ZGAISX4Z.js → XKSA2R6C.js} +1 -1
  218. package/dist/cdn/{FDJNMYPN.js → XMTPKTTY.js} +2 -2
  219. package/dist/cdn/{E4FKE23P.js → XMTYXYXP.js} +2 -2
  220. package/dist/cdn/XNPK5HKI.js +4 -0
  221. package/dist/cdn/{J5YZPJBV.js → XRZGJ3WZ.js} +2 -2
  222. package/dist/cdn/{ZF62LXFN.js → XSAOQY5N.js} +2 -2
  223. package/dist/cdn/{EJO6ZQQC.js → XSUTMXBZ.js} +2 -2
  224. package/dist/cdn/{BTWHTVYD.js → XTC6GUIF.js} +2 -2
  225. package/dist/cdn/{I53O2NC7.js → XWMSRYJY.js} +2 -2
  226. package/dist/cdn/YASN6Z3U.js +4 -0
  227. package/dist/cdn/{2XGFHY6U.js → YBP7CBSJ.js} +2 -2
  228. package/dist/cdn/{KC3MPKH7.js → YF57MQLE.js} +2 -2
  229. package/dist/cdn/{MSOMAIHV.js → YGZMZWEF.js} +2 -2
  230. package/dist/cdn/{O35ZQ367.js → YYS33TQ4.js} +2 -2
  231. package/dist/cdn/{WS5UNCIX.js → Z75GPXSZ.js} +2 -2
  232. package/dist/cdn/{TMIKMQ4I.js → Z7BSDSOP.js} +2 -2
  233. package/dist/cdn/{QXGENVAN.js → ZABD6P4G.js} +1 -1
  234. package/dist/cdn/{TPPQU37U.js → ZFUQVWPZ.js} +2 -2
  235. package/dist/cdn/{2HVTNXWI.js → ZI2WDP4G.js} +2 -2
  236. package/dist/cdn/{5Y455IFG.js → ZKB4YZNZ.js} +1 -1
  237. package/dist/cdn/{QGEQYHVJ.js → ZLN2LOZI.js} +2 -2
  238. package/dist/cdn/{TB57GGHV.js → ZP5YYDZ2.js} +2 -2
  239. package/dist/cdn/index.js +2 -2
  240. package/dist/cdn/main.css +1 -1
  241. package/dist/chunks/AnalysisViewModel.js +1 -1
  242. package/dist/chunks/action-utils.js +1 -1
  243. package/dist/chunks/async-utils.js +1 -1
  244. package/dist/chunks/basemap-gallery-resources.js +1 -1
  245. package/dist/chunks/building-layer-utils.js +1 -1
  246. package/dist/chunks/chart-utils.js +1 -1
  247. package/dist/chunks/chartCommon.js +1 -1
  248. package/dist/chunks/component-utils.js +45 -67
  249. package/dist/chunks/component-wrapper.js +1 -1
  250. package/dist/chunks/constants.js +1 -1
  251. package/dist/chunks/createCloseEvent.js +1 -1
  252. package/dist/chunks/esri-main.js +1 -1
  253. package/dist/chunks/feature-utils.js +1 -1
  254. package/dist/chunks/globalCss.js +1 -1
  255. package/dist/chunks/handle.js +1 -1
  256. package/dist/chunks/heading.js +1 -1
  257. package/dist/chunks/layer-list.js +1 -1
  258. package/dist/chunks/legacyIcon.js +1 -1
  259. package/dist/chunks/maybe.js +1 -1
  260. package/dist/chunks/measurementUtils.js +1 -1
  261. package/dist/chunks/runtime.js +1 -1
  262. package/dist/chunks/screenLocation.js +1 -1
  263. package/dist/chunks/slots.js +1 -1
  264. package/dist/chunks/svgUtils.js +1 -1
  265. package/dist/chunks/time-utils.js +1 -1
  266. package/dist/chunks/univariateUtils.js +1 -1
  267. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  268. package/dist/chunks/useHandles.js +1 -1
  269. package/dist/chunks/useT9n.js +1 -1
  270. package/dist/chunks/useView.js +5 -5
  271. package/dist/chunks/useViewModel.js +1 -1
  272. package/dist/chunks/useWidget.js +25 -26
  273. package/dist/chunks/utils.js +1 -1
  274. package/dist/chunks/utils2.js +1 -1
  275. package/dist/chunks/visible-element.js +1 -1
  276. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +0 -3
  277. package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
  278. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +0 -3
  279. package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
  280. package/dist/components/arcgis-attachments/customElement.d.ts +0 -3
  281. package/dist/components/arcgis-attachments/customElement.js +6 -6
  282. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +0 -2
  283. package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
  284. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  285. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +0 -3
  286. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  287. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +0 -2
  288. package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
  289. package/dist/components/arcgis-bookmarks/customElement.d.ts +0 -2
  290. package/dist/components/arcgis-bookmarks/customElement.js +2 -2
  291. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  292. package/dist/components/arcgis-building-explorer/customElement.d.ts +0 -3
  293. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  294. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  295. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  296. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  297. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +0 -3
  298. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  299. package/dist/components/arcgis-color-select/customElement.js +1 -1
  300. package/dist/components/arcgis-compass/customElement.d.ts +0 -3
  301. package/dist/components/arcgis-compass/customElement.js +2 -2
  302. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +0 -2
  303. package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
  304. package/dist/components/arcgis-daylight/customElement.d.ts +0 -3
  305. package/dist/components/arcgis-daylight/customElement.js +2 -2
  306. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +0 -3
  307. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +2 -2
  308. package/dist/components/arcgis-directional-pad/customElement.d.ts +0 -3
  309. package/dist/components/arcgis-directional-pad/customElement.js +2 -2
  310. package/dist/components/arcgis-directions/customElement.d.ts +0 -3
  311. package/dist/components/arcgis-directions/customElement.js +2 -2
  312. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +0 -3
  313. package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
  314. package/dist/components/arcgis-editor/customElement.d.ts +0 -3
  315. package/dist/components/arcgis-editor/customElement.js +2 -2
  316. package/dist/components/arcgis-elevation-profile/customElement.d.ts +0 -3
  317. package/dist/components/arcgis-elevation-profile/customElement.js +11 -11
  318. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  319. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  320. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  321. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  322. package/dist/components/arcgis-expand/customElement.d.ts +0 -3
  323. package/dist/components/arcgis-expand/customElement.js +2 -2
  324. package/dist/components/arcgis-feature/customElement.d.ts +0 -3
  325. package/dist/components/arcgis-feature/customElement.js +2 -2
  326. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  327. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  328. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  329. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  330. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  331. package/dist/components/arcgis-feature-form/customElement.d.ts +0 -3
  332. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  333. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  334. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  335. package/dist/components/arcgis-feature-table/customElement.d.ts +0 -3
  336. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  337. package/dist/components/arcgis-feature-templates/customElement.d.ts +0 -3
  338. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  339. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  340. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  341. package/dist/components/arcgis-features/customElement.d.ts +0 -2
  342. package/dist/components/arcgis-features/customElement.js +2 -2
  343. package/dist/components/arcgis-floor-filter/customElement.d.ts +0 -3
  344. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  345. package/dist/components/arcgis-fullscreen/customElement.d.ts +0 -3
  346. package/dist/components/arcgis-fullscreen/customElement.js +5 -5
  347. package/dist/components/arcgis-grid-controls/customElement.d.ts +0 -3
  348. package/dist/components/arcgis-grid-controls/customElement.js +2 -2
  349. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +0 -3
  350. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  351. package/dist/components/arcgis-home/customElement.d.ts +0 -3
  352. package/dist/components/arcgis-home/customElement.js +2 -2
  353. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  354. package/dist/components/arcgis-layer-list/customElement.d.ts +0 -3
  355. package/dist/components/arcgis-layer-list/customElement.js +2 -2
  356. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  357. package/dist/components/arcgis-legend/customElement.d.ts +0 -3
  358. package/dist/components/arcgis-legend/customElement.js +2 -2
  359. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  360. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  361. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  362. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  363. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  364. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  365. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  366. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  367. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  368. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  369. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  370. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  371. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  372. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  373. package/dist/components/arcgis-line-of-sight/customElement.d.ts +0 -3
  374. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  375. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  376. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +0 -3
  377. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +2 -2
  378. package/dist/components/arcgis-locate/customElement.d.ts +0 -3
  379. package/dist/components/arcgis-locate/customElement.js +2 -2
  380. package/dist/components/arcgis-map/customElement.js +1 -1
  381. package/dist/components/arcgis-measurement/customElement.d.ts +0 -3
  382. package/dist/components/arcgis-measurement/customElement.js +2 -2
  383. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  384. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +0 -2
  385. package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
  386. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +0 -3
  387. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  388. package/dist/components/arcgis-popup/customElement.js +1 -1
  389. package/dist/components/arcgis-presentation/customElement.js +1 -1
  390. package/dist/components/arcgis-print/customElement.d.ts +0 -2
  391. package/dist/components/arcgis-print/customElement.js +5 -5
  392. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  393. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  394. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  395. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  396. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  397. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  398. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  399. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  400. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  401. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  402. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  403. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  404. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  405. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  406. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  407. package/dist/components/arcgis-scale-bar/customElement.d.ts +0 -3
  408. package/dist/components/arcgis-scale-bar/customElement.js +2 -2
  409. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +0 -3
  410. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  411. package/dist/components/arcgis-scene/customElement.js +1 -1
  412. package/dist/components/arcgis-search/customElement.d.ts +0 -2
  413. package/dist/components/arcgis-search/customElement.js +2 -2
  414. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  415. package/dist/components/arcgis-shadow-cast/customElement.d.ts +0 -2
  416. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  417. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  418. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  419. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  420. package/dist/components/arcgis-sketch/customElement.d.ts +0 -3
  421. package/dist/components/arcgis-sketch/customElement.js +2 -2
  422. package/dist/components/arcgis-slice/customElement.d.ts +0 -3
  423. package/dist/components/arcgis-slice/customElement.js +11 -11
  424. package/dist/components/arcgis-spinner/customElement.js +1 -1
  425. package/dist/components/arcgis-swipe/customElement.d.ts +0 -3
  426. package/dist/components/arcgis-swipe/customElement.js +15 -15
  427. package/dist/components/arcgis-table-list/customElement.d.ts +0 -3
  428. package/dist/components/arcgis-table-list/customElement.js +2 -2
  429. package/dist/components/arcgis-time-slider/customElement.d.ts +3 -4
  430. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  431. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  432. package/dist/components/arcgis-track/customElement.d.ts +0 -3
  433. package/dist/components/arcgis-track/customElement.js +5 -5
  434. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  435. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  436. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +0 -3
  437. package/dist/components/arcgis-utility-network-associations/customElement.js +6 -6
  438. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  439. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +0 -3
  440. package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
  441. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  442. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  443. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  444. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  445. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  446. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +0 -3
  447. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
  448. package/dist/components/arcgis-value-picker/customElement.d.ts +0 -3
  449. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  450. package/dist/components/arcgis-version-management/customElement.d.ts +0 -2
  451. package/dist/components/arcgis-version-management/customElement.js +2 -2
  452. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  453. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  454. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  455. package/dist/components/arcgis-video/customElement.js +1 -1
  456. package/dist/components/arcgis-video-player/customElement.d.ts +0 -3
  457. package/dist/components/arcgis-video-player/customElement.js +2 -2
  458. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  459. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  460. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  461. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  462. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  463. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  464. package/dist/components/arcgis-volume-measurement/customElement.d.ts +0 -3
  465. package/dist/components/arcgis-volume-measurement/customElement.js +2 -2
  466. package/dist/components/arcgis-weather/customElement.d.ts +0 -3
  467. package/dist/components/arcgis-weather/customElement.js +2 -2
  468. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  469. package/dist/components/arcgis-zoom/customElement.d.ts +0 -3
  470. package/dist/components/arcgis-zoom/customElement.js +2 -2
  471. package/dist/controllers/useView.d.ts +0 -2
  472. package/dist/controllers/useWidget.d.ts +0 -1
  473. package/dist/docs/api.json +136 -5746
  474. package/dist/docs/docs.json +2 -3364
  475. package/dist/docs/vscode.html-custom-data.json +8 -1943
  476. package/dist/docs/web-types.json +18 -1278
  477. package/dist/index.d.ts +0 -11
  478. package/dist/index.js +1 -1
  479. package/dist/loader.js +58 -59
  480. package/dist/types/lumina.d.ts +57 -63
  481. package/dist/types/preact.d.ts +57 -64
  482. package/dist/types/react.d.ts +57 -65
  483. package/dist/types/stencil.d.ts +57 -63
  484. package/dist/utils/component-utils.d.ts +3 -5
  485. package/package.json +3 -3
  486. package/dist/cdn/AK72RZE4.js +0 -4
  487. package/dist/cdn/BZ2OMLY2.js +0 -4
  488. package/dist/cdn/CTBV67GH.js +0 -4
  489. package/dist/cdn/EA72QO5P.js +0 -4
  490. package/dist/cdn/J2CJ5OMR.js +0 -4
  491. package/dist/cdn/JLUNNXRA.js +0 -4
  492. package/dist/cdn/OLLVG37C.js +0 -4
  493. package/dist/cdn/SKOCSWV6.js +0 -4
  494. package/dist/cdn/TDJEZWAY.js +0 -4
  495. package/dist/cdn/TXM3OKND.js +0 -4
  496. package/dist/cdn/VFKWEGO2.js +0 -4
  497. package/dist/cdn/VMHU4SJF.js +0 -4
  498. package/dist/cdn/XCZZ7WSG.js +0 -4
  499. package/dist/cdn/YJJNBGCD.js +0 -4
  500. package/dist/cdn/ZLWDK6DY.js +0 -4
  501. package/dist/cdn/ZNLSLQTW.js +0 -4
  502. package/dist/components/arcgis-placement/customElement.d.ts +0 -33
  503. package/dist/components/arcgis-placement/customElement.js +0 -30
  504. package/dist/components/arcgis-placement/index.d.ts +0 -1
  505. package/dist/components/arcgis-placement/index.js +0 -1
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import{a as ve}from"./T6S5CZT4.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./YYYKLCZQ.js";import{N as O,a as H,u as k}from"./RMMP3WO4.js";import{a as ge,b as ee,d as T,e as f}from"./5Y455IFG.js";import{U as j,V as ye,g as X,o as w}from"./R643STJH.js";import"./B5FQUWQT.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("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"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),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),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.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(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),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=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(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",T),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",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),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),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(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,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=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=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){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 r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=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",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
3
+ v5.0.0-next.110 */
4
+ import{a as ve}from"./PPCO4XFA.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./43BZNZDD.js";import{N as O,a as H,u as k}from"./NBHOVBHC.js";import{a as ge,b as ee,d as T,e as f}from"./ZKB4YZNZ.js";import{U as j,V as ye,g as X,o as w}from"./GZCBIJGX.js";import"./ULE6CJOD.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("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"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),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),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.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(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),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=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(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",T),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",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),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),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(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,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=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=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){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 r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=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",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import{a as w}from"./R7VMW4VD.js";import{a as k,b as v}from"./5OYLKSFT.js";import{a as y}from"./7WCP4VRH.js";import{L as x,M as P,N as L,O as c,P as u,Q as h,T as $,a as b,b as l}from"./O4B6XGMW.js";import"./B5FQUWQT.js";export default $arcgis.t(([{watch:N}])=>{var a=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,i),i);var H;function M(t){return(e,i)=>a(e,i,{get(){return(this.renderRoot??(H??=document.createDocumentFragment())).querySelectorAll(t)}})}var W=b`:host{transition:max-height .25s ease-in-out;--esri-widget-padding: 12px 15px;--level-picker-padding: var(--calcite-spacing-md);--level-label-color: var(--calcite-color-text-1);--level-label-color--empty: var(--calcite-color-text-2);--level-label-color--active: var(--calcite-color-brand);--level-border-width: 2px;--level-border-color: var(--calcite-color-border-2);--level-border-color--hover: var(--calcite-color-brand);--level-border-color--active: var(--calcite-color-brand);--level-background-color: rgb(from var(--calcite-color-foreground-1) r g b / 70%);--level-background-color--hover: rgb(from var(--calcite-color-foreground-1) r g b / 90%);--level-background-color--active: var(--calcite-color-brand);--focus-outline-width: 2px;--focus-outline-color: var(--calcite-color-brand);--focus-outline-offset: 2px}.container{height:max-content;display:flex;flex-direction:row;align-items:center;&.no-level{display:none}>*{height:max-content}}.clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.label-container{--width: 90px;--height: 40px;flex-direction:column;justify-content:space-between;align-items:center;width:50%;margin-inline-end:var(--calcite-spacing-md);display:flex;&.active{color:var(--calcite-color-brand)}&.empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}&:focus{outline:none}&:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus)}}.level-label{position:relative;text-align:center;>span{pointer-events:none}&.active{font-size:var(--height);line-height:calc(var(--height) + 6px);>.clear-button{display:inline-block}}}.tiles-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transform:rotate(180deg);cursor:pointer;padding:20px 0;width:50%}.tiles-inner-container{transition:margin .3s}`,j=Object.defineProperty,F=(t,e,i,r)=>{for(var o=void 0,n=t.length-1,s;n>=0;n--)(s=t[n])&&(o=s(e,i,o)||o);return o&&j(e,i,o),o},d=class extends L{constructor(){super(...arguments),this.hovering=!1,this.onPointerMove=e=>{if(!this.hovering)return!1;if(window.getSelection()?.removeAllRanges(),this.containerPosTop!=null){let i=this.containerPosTop,r=40,o=this.expandedLevelsMargin,n=this.levelsHeight,s=i+r+o,m=this.levelHeight/2;s+=m,n-=m;let f=(e.clientY-s)/n;f+=.035,this.normalizedPointerPosition=f}return!1},this.onPointerEnter=()=>{let e=this.levelsContainer.value;this.hovering||e==null||(this.hovering=!0,this.containerPosTop=e.getBoundingClientRect().top??0)},this.levelsContainer=x(),this.onPointerLeave=()=>{if(this.hovering){window.getSelection()?.removeAllRanges();for(let e of this.levelItems)e.width=void 0;this.normalizedPointerPosition=0,this.hoveredLevel=null,this.hovering=!1}},this.onPointerUp=()=>{window.getSelection()?.removeAllRanges();let e=this.level;this.hoveredLevel==null||e==null||(e.enabled&&this.hoveredLevel===e.value?e.clear():e.select(this.hoveredLevel))},this.expandedLevelsHeight=void 0,this.normalizedPointerPosition=0,this.hoveredLevel=null}static{this.properties={expandedLevelsHeight:16,normalizedPointerPosition:16,hoveredLevel:16,messages:0,level:0,numberOfLevels:32,levelHeight:32,levelsHeight:32}}static{this.styles=W}get levels(){return this.level?.allowedValues??[]}get levelWidth(){let{levelWidthNominator:e,levelWidthConstant:i}=k,r=e/Math.sqrt(this.numberOfLevels)+i;return Math.round(v(r,30,80))}get _gaussianFactor(){let e=this.numberOfLevels;return e/Math.log(30*e)*10}get expandedLevelsMargin(){return Math.round(((this.expandedLevelsHeight??0)-this.levelsHeight)/2)}get levelClosestToPointer(){if(!this.hovering)return null;let e=this.numberOfLevels-1,i=this.clampedNormalizedPointerPosition;return e>=0&&i!=null?this.levels[Math.round((1-i)*e)]:null}get clampedNormalizedPointerPosition(){return v(this.normalizedPointerPosition,0,1)}get numberOfLevels(){return this.levels.length}get levelHeight(){let e=14,i=e*2/Math.sqrt(this.numberOfLevels);return Math.round(v(i,2,e))}get levelsHeight(){return Math.round(this.levelHeight*this.numberOfLevels)}async loaded(){this.listen("keydown",this.#t.bind(this)),this.manager.onLifecycle(()=>[N(()=>[this.normalizedPointerPosition,this.hovering],()=>this.onPointerPositionChange(),{initial:!0})])}onPointerPositionChange(){let e=0;this.levelItems.forEach((r,o)=>{let{width:n,height:s}=this.getLevelWidgetSize(o);r.height=s,r.width=n,e+=s}),this.hoveredLevel=this.levelClosestToPointer;let i=this.expandedLevelsHeight;(i==null||Math.abs(i-e)>30)&&(this.expandedLevelsHeight=e)}getLevelWidgetSize(e){let i={width:this.levelWidth,height:this.levelHeight};if(this.hovering){let r=this.getGaussianFactor(e,this.clampedNormalizedPointerPosition);i.width+=20*r,i.height+=30*r}return i}getGaussianFactor(e,i){let r=this.numberOfLevels-1,o=(r-e)/r,n=this._gaussianFactor*(o-i);return Math.exp(-(n**2))}#t(e){switch(e.key){case"ArrowDown":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),this.level?.previous(),this.#e();break;case"ArrowUp":case"ArrowRight":e.preventDefault(),e.stopPropagation(),this.level?.next(),this.#e();break}}#e(){Array.from(this.levelItems).find(e=>e.level===this.level?.value)?.focus()}render(){if(!this.messages)return null;let e=this.level,i=e?.value,r=this.numberOfLevels>1?w(this.levels,o=>o,o=>l`<arcgis-building-level-item .level=${o} .baseWidth=${this.levelWidth} .hovered=${this.hoveredLevel===o} .active=${e?.value===o} class=${c({"animate-level":!this.hovering})} .messages=${this.messages}></arcgis-building-level-item>`):null;return l`<div class=${c({container:!0,"no-level":this.numberOfLevels<2,"animate-level":this.hovering})}>${T({messages:this.messages,active:i!=null&&e?.enabled,hasNext:e?.hasNext,hasPrevious:e?.hasPrevious,onNext:()=>e?.next(),onPrevious:()=>e?.previous(),children:U({messages:this.messages,level:this.hoveredLevel??e?.value,active:e?.enabled,onClear:()=>{e&&(e.enabled=!1)}})})}${B({ref:this.levelsContainer,expandedLevelsMargin:this.expandedLevelsMargin,levelsHeight:this.levelsHeight,onPointerEnter:this.onPointerEnter,onPointerMove:this.onPointerMove,onPointerLeave:this.onPointerLeave,onPointerUp:this.onPointerUp,onClick:()=>{this.hoveredLevel!=null&&e?.select(this.hoveredLevel)},children:r})}</div>`}};F([M("arcgis-building-level-item")],d.prototype,"levelItems");function T(t){return l`<div class=${c({"label-container":!0,empty:!t.active,active:!0,hover:!0})} title=${t.messages.selectLevel??h} tabindex=0><calcite-action icon=chevron-up appearance=transparent .text=${t.messages.nextLevel} @click=${t.onNext} .disabled=${!t.hasNext}></calcite-action>${t.children}<calcite-action icon=chevron-down appearance=transparent .text=${t.messages.previousLevel} @click=${t.onPrevious} .disabled=${!t.hasPrevious}></calcite-action></div>`}function U(t){let e=t.messages;return l`<div aria-label=${e.clearLevel??h} class=${c({"level-label":!0,active:t.active&&t.level!=null})} @click=${t.onClear} title=${e.clearLevel??h}>${t.active?l`<span>${t.level}</span>${y("clear-button",l`<calcite-fab appearance=outline-fill class="clear-button" icon=x kind=neutral @click=${t.onClear} scale=s></calcite-fab>`)}`:l`<span>${e.selectLevel}</span>`}</div>`}function B(t){let e=40,i=-e/2,r=t.levelsHeight,o=r+e*2;return l`<div class="tiles-container" @pointerenter=${t.onPointerEnter} @pointerover=${t.onPointerEnter} @pointermove=${t.onPointerMove} @pointerleave=${t.onPointerLeave} @pointerup=${t.onPointerUp} @click=${t.onClick} style=${u({height:`${o}px`,marginBlockStart:`${i}px`,marginBlockEnd:`${i}px`})} ${P(t.ref)}><div class="tiles-inner-container" style=${u({height:`${r}px`,margin:"0",marginBlockStart:`${20-t.expandedLevelsMargin}px`})}>${t.children}</div></div>`}$("arcgis-building-level-picker",d);return d},"core/reactiveUtils")
3
+ v5.0.0-next.110 */
4
+ import{a as w}from"./G26SGNQH.js";import{a as k,b as v}from"./5NGKK2AB.js";import{a as y}from"./OQHW24K3.js";import{L as x,M as P,N as L,O as c,P as u,Q as h,T as $,a as b,b as l}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([{watch:N}])=>{var a=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,i),i);var H;function M(t){return(e,i)=>a(e,i,{get(){return(this.renderRoot??(H??=document.createDocumentFragment())).querySelectorAll(t)}})}var W=b`:host{transition:max-height .25s ease-in-out;--esri-widget-padding: 12px 15px;--level-picker-padding: var(--calcite-spacing-md);--level-label-color: var(--calcite-color-text-1);--level-label-color--empty: var(--calcite-color-text-2);--level-label-color--active: var(--calcite-color-brand);--level-border-width: 2px;--level-border-color: var(--calcite-color-border-2);--level-border-color--hover: var(--calcite-color-brand);--level-border-color--active: var(--calcite-color-brand);--level-background-color: rgb(from var(--calcite-color-foreground-1) r g b / 70%);--level-background-color--hover: rgb(from var(--calcite-color-foreground-1) r g b / 90%);--level-background-color--active: var(--calcite-color-brand);--focus-outline-width: 2px;--focus-outline-color: var(--calcite-color-brand);--focus-outline-offset: 2px}.container{height:max-content;display:flex;flex-direction:row;align-items:center;&.no-level{display:none}>*{height:max-content}}.clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.label-container{--width: 90px;--height: 40px;flex-direction:column;justify-content:space-between;align-items:center;width:50%;margin-inline-end:var(--calcite-spacing-md);display:flex;&.active{color:var(--calcite-color-brand)}&.empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}&:focus{outline:none}&:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus)}}.level-label{position:relative;text-align:center;>span{pointer-events:none}&.active{font-size:var(--height);line-height:calc(var(--height) + 6px);>.clear-button{display:inline-block}}}.tiles-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transform:rotate(180deg);cursor:pointer;padding:20px 0;width:50%}.tiles-inner-container{transition:margin .3s}`,j=Object.defineProperty,F=(t,e,i,r)=>{for(var o=void 0,n=t.length-1,s;n>=0;n--)(s=t[n])&&(o=s(e,i,o)||o);return o&&j(e,i,o),o},d=class extends L{constructor(){super(...arguments),this.hovering=!1,this.onPointerMove=e=>{if(!this.hovering)return!1;if(window.getSelection()?.removeAllRanges(),this.containerPosTop!=null){let i=this.containerPosTop,r=40,o=this.expandedLevelsMargin,n=this.levelsHeight,s=i+r+o,m=this.levelHeight/2;s+=m,n-=m;let f=(e.clientY-s)/n;f+=.035,this.normalizedPointerPosition=f}return!1},this.onPointerEnter=()=>{let e=this.levelsContainer.value;this.hovering||e==null||(this.hovering=!0,this.containerPosTop=e.getBoundingClientRect().top??0)},this.levelsContainer=x(),this.onPointerLeave=()=>{if(this.hovering){window.getSelection()?.removeAllRanges();for(let e of this.levelItems)e.width=void 0;this.normalizedPointerPosition=0,this.hoveredLevel=null,this.hovering=!1}},this.onPointerUp=()=>{window.getSelection()?.removeAllRanges();let e=this.level;this.hoveredLevel==null||e==null||(e.enabled&&this.hoveredLevel===e.value?e.clear():e.select(this.hoveredLevel))},this.expandedLevelsHeight=void 0,this.normalizedPointerPosition=0,this.hoveredLevel=null}static{this.properties={expandedLevelsHeight:16,normalizedPointerPosition:16,hoveredLevel:16,messages:0,level:0,numberOfLevels:32,levelHeight:32,levelsHeight:32}}static{this.styles=W}get levels(){return this.level?.allowedValues??[]}get levelWidth(){let{levelWidthNominator:e,levelWidthConstant:i}=k,r=e/Math.sqrt(this.numberOfLevels)+i;return Math.round(v(r,30,80))}get _gaussianFactor(){let e=this.numberOfLevels;return e/Math.log(30*e)*10}get expandedLevelsMargin(){return Math.round(((this.expandedLevelsHeight??0)-this.levelsHeight)/2)}get levelClosestToPointer(){if(!this.hovering)return null;let e=this.numberOfLevels-1,i=this.clampedNormalizedPointerPosition;return e>=0&&i!=null?this.levels[Math.round((1-i)*e)]:null}get clampedNormalizedPointerPosition(){return v(this.normalizedPointerPosition,0,1)}get numberOfLevels(){return this.levels.length}get levelHeight(){let e=14,i=e*2/Math.sqrt(this.numberOfLevels);return Math.round(v(i,2,e))}get levelsHeight(){return Math.round(this.levelHeight*this.numberOfLevels)}async loaded(){this.listen("keydown",this.#t.bind(this)),this.manager.onLifecycle(()=>[N(()=>[this.normalizedPointerPosition,this.hovering],()=>this.onPointerPositionChange(),{initial:!0})])}onPointerPositionChange(){let e=0;this.levelItems.forEach((r,o)=>{let{width:n,height:s}=this.getLevelWidgetSize(o);r.height=s,r.width=n,e+=s}),this.hoveredLevel=this.levelClosestToPointer;let i=this.expandedLevelsHeight;(i==null||Math.abs(i-e)>30)&&(this.expandedLevelsHeight=e)}getLevelWidgetSize(e){let i={width:this.levelWidth,height:this.levelHeight};if(this.hovering){let r=this.getGaussianFactor(e,this.clampedNormalizedPointerPosition);i.width+=20*r,i.height+=30*r}return i}getGaussianFactor(e,i){let r=this.numberOfLevels-1,o=(r-e)/r,n=this._gaussianFactor*(o-i);return Math.exp(-(n**2))}#t(e){switch(e.key){case"ArrowDown":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),this.level?.previous(),this.#e();break;case"ArrowUp":case"ArrowRight":e.preventDefault(),e.stopPropagation(),this.level?.next(),this.#e();break}}#e(){Array.from(this.levelItems).find(e=>e.level===this.level?.value)?.focus()}render(){if(!this.messages)return null;let e=this.level,i=e?.value,r=this.numberOfLevels>1?w(this.levels,o=>o,o=>l`<arcgis-building-level-item .level=${o} .baseWidth=${this.levelWidth} .hovered=${this.hoveredLevel===o} .active=${e?.value===o} class=${c({"animate-level":!this.hovering})} .messages=${this.messages}></arcgis-building-level-item>`):null;return l`<div class=${c({container:!0,"no-level":this.numberOfLevels<2,"animate-level":this.hovering})}>${T({messages:this.messages,active:i!=null&&e?.enabled,hasNext:e?.hasNext,hasPrevious:e?.hasPrevious,onNext:()=>e?.next(),onPrevious:()=>e?.previous(),children:U({messages:this.messages,level:this.hoveredLevel??e?.value,active:e?.enabled,onClear:()=>{e&&(e.enabled=!1)}})})}${B({ref:this.levelsContainer,expandedLevelsMargin:this.expandedLevelsMargin,levelsHeight:this.levelsHeight,onPointerEnter:this.onPointerEnter,onPointerMove:this.onPointerMove,onPointerLeave:this.onPointerLeave,onPointerUp:this.onPointerUp,onClick:()=>{this.hoveredLevel!=null&&e?.select(this.hoveredLevel)},children:r})}</div>`}};F([M("arcgis-building-level-item")],d.prototype,"levelItems");function T(t){return l`<div class=${c({"label-container":!0,empty:!t.active,active:!0,hover:!0})} title=${t.messages.selectLevel??h} tabindex=0><calcite-action icon=chevron-up appearance=transparent .text=${t.messages.nextLevel} @click=${t.onNext} .disabled=${!t.hasNext}></calcite-action>${t.children}<calcite-action icon=chevron-down appearance=transparent .text=${t.messages.previousLevel} @click=${t.onPrevious} .disabled=${!t.hasPrevious}></calcite-action></div>`}function U(t){let e=t.messages;return l`<div aria-label=${e.clearLevel??h} class=${c({"level-label":!0,active:t.active&&t.level!=null})} @click=${t.onClear} title=${e.clearLevel??h}>${t.active?l`<span>${t.level}</span>${y("clear-button",l`<calcite-fab appearance=outline-fill class="clear-button" icon=x kind=neutral @click=${t.onClear} scale=s></calcite-fab>`)}`:l`<span>${e.selectLevel}</span>`}</div>`}function B(t){let e=40,i=-e/2,r=t.levelsHeight,o=r+e*2;return l`<div class="tiles-container" @pointerenter=${t.onPointerEnter} @pointerover=${t.onPointerEnter} @pointermove=${t.onPointerMove} @pointerleave=${t.onPointerLeave} @pointerup=${t.onPointerUp} @click=${t.onClick} style=${u({height:`${o}px`,marginBlockStart:`${i}px`,marginBlockEnd:`${i}px`})} ${P(t.ref)}><div class="tiles-inner-container" style=${u({height:`${r}px`,margin:"0",marginBlockStart:`${20-t.expandedLevelsMargin}px`})}>${t.children}</div></div>`}$("arcgis-building-level-picker",d);return d},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import d from"./DA5A6GCJ.js";import{a as y}from"./CIK64B3F.js";import c from"./UHCPC53D.js";import a from"./BZ2OMLY2.js";import{e as b}from"./E426SOFD.js";import"./CBHF7VHQ.js";import"./TXM3OKND.js";import"./SFNNOM3T.js";import{N as u,Q as o,T as m,a as g,b as l,x as S}from"./O4B6XGMW.js";import"./B5FQUWQT.js";export default $arcgis.t(([{property:d,subclass:x},f,p,{ignoreAbortErrors:I},{on:_,watch:E},,,w])=>{var $=g`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.navigation{--internal-attribution-height: 16px;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);align-self:flex-end;margin-block:auto calc(var(--calcite-spacing-fixed-xl) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-fixed-xl)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}`,M=Object.defineProperty,A=Object.getOwnPropertyDescriptor,a=(i,e,t,n)=>{for(var r=n>1?void 0:n?A(e,t):e,c=i.length-1,h;c>=0;c--)(h=i[c])&&(r=(n?h(e,t,r):h(r))||r);return n&&r&&M(e,t,r),r},s=class extends f{constructor(i){super(i),this.keyboardNavigationEnabled=!1,this._subscribeToSlideEvents=e=>{this._unSubscribeToSlideEvents(e),e.forEach(t=>{let n=t.on("apply-slide-start",()=>this._onApplySlideStart(t));this.addHandles(n,t.id)})},this._unSubscribeToSlideEvents=e=>{e.forEach(t=>{this.hasHandles(t.id)&&this.removeHandles(t.id)})}}initialize(){this._startWatchVisibleSlides()}destroy(){this._unSubscribeToSlideEvents(this.visibleSlides)}get visibleSlides(){return this.view?.map?.presentation?.slides?.filter(i=>!i.hidden)??new p}get lastSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===this.visibleSlides.length-1}get firstSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===0}get slideSelected(){return this.getSlideIndexBySlideId(this.slideId)>-1}get hasOnlyOneSlide(){return this.visibleSlides.length===1}get slideIndex(){return this.getSlideIndexBySlideId(this.slideId)}getSlideIndexBySlideId(i){let e=-1;return i&&(e=this.visibleSlides.findIndex(t=>t.id===i)),e}navigateInPresentation(i){let e=this.slideIndex+i,t=this._getSlideBySlideIndex(e);t??=this._getSlideBySlideIndex(0),t&&this._applySlide(t)}captureArrowKeysForNavigation(i,e){let t=["ArrowLeft","ArrowRight","PageUp","PageDown"];if(document.activeElement?.nodeName.toLowerCase()==="arcgis-scene"||!t.includes(i.code))return;let n=e==="rtl"?"ArrowRight":"ArrowLeft",r=i.code===n||i.code==="PageUp"?-1:1;this.navigateInPresentation(r)}_getSlideBySlideIndex(i){if(i!=null&&i>=0&&i<this.visibleSlides.length)return this.visibleSlides.getItemAt(i)}async _applySlide(i){this.view&&await I(i.applyTo(this.view))}_startWatchVisibleSlides(){this._subscribeToSlideEvents(this.visibleSlides),this.addHandles(_(()=>this.visibleSlides,"change",i=>{this._subscribeToSlideEvents(new p(i.added)),this._unSubscribeToSlideEvents(new p(i.removed))},{onListenerAdd:this._subscribeToSlideEvents,onListenerRemove:this._unSubscribeToSlideEvents}))}_onApplySlideStart(i){this.slideId=i.id}};a([d()],s.prototype,"view",2);a([d()],s.prototype,"slideId",2);a([d()],s.prototype,"keyboardNavigationEnabled",2);a([d()],s.prototype,"visibleSlides",1);a([d()],s.prototype,"lastSlideSelected",1);a([d()],s.prototype,"firstSlideSelected",1);a([d()],s.prototype,"slideSelected",1);a([d()],s.prototype,"hasOnlyOneSlide",1);a([d()],s.prototype,"getSlideIndexBySlideId",1);s=a([x("components.presentation.PresentationViewModel")],s);var k=w(s),v=class extends u{constructor(){super(...arguments),this._messages=y(),this.viewModel=k(this),this._direction=b(),this._captureArrowKeysForNavigation=e=>{this.viewModel.captureArrowKeysForNavigation(e,this._direction)},this.autoDestroyDisabled=!1,this.view=this.viewModel.view,this.scale="m",this.keyboardNavigationEnabled=!1,this.arcgisReady=S()}static{this.properties={slideId:1,autoDestroyDisabled:5,view:0,scale:1,keyboardNavigationEnabled:5}}static{this.styles=$}get slideId(){return this.viewModel.slideId}set slideId(e){this.viewModel.slideId=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>E(()=>this.keyboardNavigationEnabled,e=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation),e&&document.addEventListener("keydown",this._captureArrowKeysForNavigation)},{initial:!0})),this.manager.onDisconnected(()=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation)})}render(){let e=this.viewModel.lastSlideSelected&&!this.viewModel.hasOnlyOneSlide,t=this._direction==="rtl",n=t?"chevron-right":"chevron-left",r=t?"chevron-left":"chevron-right";return this.viewModel.visibleSlides.length===0?l`<div></div>`:l`<div class="navigation"><calcite-button appearance=transparent icon-start=${n} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected||!this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous??o} @click=${()=>this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${e?"reset":r} kind=neutral .scale=${this.scale} .label=${e?this._messages.restart:this._messages.next} title=${(e?this._messages.restart:this._messages.next)??o} @click=${()=>this.viewModel.navigateInPresentation(1)}></calcite-button></div>`}_renderSlideCounter(){let e=this.viewModel.slideIndex+1,t=this._messages?.slideNavAriaText?.replace("${index}",e.toString()).replace("${numberOfSlides}",this.viewModel.visibleSlides.length.toString());return this.viewModel.slideSelected?l`<p role=banner aria-label=${t??o} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>`:l`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`}};m("arcgis-presentation",v);return v},"core/accessorSupport/decorators","core/Accessor","core/Collection","core/promiseUtils","core/reactiveUtils",a,c,d)
3
+ v5.0.0-next.110 */
4
+ import d from"./VBBBGRFE.js";import{a as y}from"./BXS7RSBQ.js";import c from"./2SBM6RKV.js";import a from"./3WR5FNIS.js";import{e as b}from"./DG2NGS4U.js";import"./PJ36QTY2.js";import"./6IC34O2H.js";import"./GNBPPVLP.js";import{N as u,Q as o,T as m,a as g,b as l,x as S}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([{property:d,subclass:x},f,p,{ignoreAbortErrors:I},{on:_,watch:E},,,w])=>{var $=g`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex}p{padding:0;margin:0}.navigation{--internal-attribution-height: 16px;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);align-self:flex-end;margin-block:auto calc(var(--calcite-spacing-fixed-xl) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-fixed-xl)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}`,M=Object.defineProperty,A=Object.getOwnPropertyDescriptor,a=(i,e,t,n)=>{for(var r=n>1?void 0:n?A(e,t):e,c=i.length-1,h;c>=0;c--)(h=i[c])&&(r=(n?h(e,t,r):h(r))||r);return n&&r&&M(e,t,r),r},s=class extends f{constructor(i){super(i),this.keyboardNavigationEnabled=!1,this._subscribeToSlideEvents=e=>{this._unSubscribeToSlideEvents(e),e.forEach(t=>{let n=t.on("apply-slide-start",()=>this._onApplySlideStart(t));this.addHandles(n,t.id)})},this._unSubscribeToSlideEvents=e=>{e.forEach(t=>{this.hasHandles(t.id)&&this.removeHandles(t.id)})}}initialize(){this._startWatchVisibleSlides()}destroy(){this._unSubscribeToSlideEvents(this.visibleSlides)}get visibleSlides(){return this.view?.map?.presentation?.slides?.filter(i=>!i.hidden)??new p}get lastSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===this.visibleSlides.length-1}get firstSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===0}get slideSelected(){return this.getSlideIndexBySlideId(this.slideId)>-1}get hasOnlyOneSlide(){return this.visibleSlides.length===1}get slideIndex(){return this.getSlideIndexBySlideId(this.slideId)}getSlideIndexBySlideId(i){let e=-1;return i&&(e=this.visibleSlides.findIndex(t=>t.id===i)),e}navigateInPresentation(i){let e=this.slideIndex+i,t=this._getSlideBySlideIndex(e);t??=this._getSlideBySlideIndex(0),t&&this._applySlide(t)}captureArrowKeysForNavigation(i,e){let t=["ArrowLeft","ArrowRight","PageUp","PageDown"];if(document.activeElement?.nodeName.toLowerCase()==="arcgis-scene"||!t.includes(i.code))return;let n=e==="rtl"?"ArrowRight":"ArrowLeft",r=i.code===n||i.code==="PageUp"?-1:1;this.navigateInPresentation(r)}_getSlideBySlideIndex(i){if(i!=null&&i>=0&&i<this.visibleSlides.length)return this.visibleSlides.getItemAt(i)}async _applySlide(i){this.view&&await I(i.applyTo(this.view))}_startWatchVisibleSlides(){this._subscribeToSlideEvents(this.visibleSlides),this.addHandles(_(()=>this.visibleSlides,"change",i=>{this._subscribeToSlideEvents(new p(i.added)),this._unSubscribeToSlideEvents(new p(i.removed))},{onListenerAdd:this._subscribeToSlideEvents,onListenerRemove:this._unSubscribeToSlideEvents}))}_onApplySlideStart(i){this.slideId=i.id}};a([d()],s.prototype,"view",2);a([d()],s.prototype,"slideId",2);a([d()],s.prototype,"keyboardNavigationEnabled",2);a([d()],s.prototype,"visibleSlides",1);a([d()],s.prototype,"lastSlideSelected",1);a([d()],s.prototype,"firstSlideSelected",1);a([d()],s.prototype,"slideSelected",1);a([d()],s.prototype,"hasOnlyOneSlide",1);a([d()],s.prototype,"getSlideIndexBySlideId",1);s=a([x("components.presentation.PresentationViewModel")],s);var k=w(s),v=class extends u{constructor(){super(...arguments),this._messages=y(),this.viewModel=k(this),this._direction=b(),this._captureArrowKeysForNavigation=e=>{this.viewModel.captureArrowKeysForNavigation(e,this._direction)},this.autoDestroyDisabled=!1,this.view=this.viewModel.view,this.scale="m",this.keyboardNavigationEnabled=!1,this.arcgisReady=S()}static{this.properties={slideId:1,autoDestroyDisabled:5,view:0,scale:1,keyboardNavigationEnabled:5}}static{this.styles=$}get slideId(){return this.viewModel.slideId}set slideId(e){this.viewModel.slideId=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>E(()=>this.keyboardNavigationEnabled,e=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation),e&&document.addEventListener("keydown",this._captureArrowKeysForNavigation)},{initial:!0})),this.manager.onDisconnected(()=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation)})}render(){let e=this.viewModel.lastSlideSelected&&!this.viewModel.hasOnlyOneSlide,t=this._direction==="rtl",n=t?"chevron-right":"chevron-left",r=t?"chevron-left":"chevron-right";return this.viewModel.visibleSlides.length===0?l`<div></div>`:l`<div class="navigation"><calcite-button appearance=transparent icon-start=${n} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected||!this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous??o} @click=${()=>this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${e?"reset":r} kind=neutral .scale=${this.scale} .label=${e?this._messages.restart:this._messages.next} title=${(e?this._messages.restart:this._messages.next)??o} @click=${()=>this.viewModel.navigateInPresentation(1)}></calcite-button></div>`}_renderSlideCounter(){let e=this.viewModel.slideIndex+1,t=this._messages?.slideNavAriaText?.replace("${index}",e.toString()).replace("${numberOfSlides}",this.viewModel.visibleSlides.length.toString());return this.viewModel.slideSelected?l`<p role=banner aria-label=${t??o} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>`:l`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`}};m("arcgis-presentation",v);return v},"core/accessorSupport/decorators","core/Accessor","core/Collection","core/promiseUtils","core/reactiveUtils",a,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import"./B5FQUWQT.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 - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_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:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
3
+ v5.0.0-next.110 */
4
+ import"./ULE6CJOD.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 - dd MMM",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - dd MMM",_date_day:"dd MMM",_date_day_full:"dd MMM",_date_week:"ww",_date_week_full:"dd MMM",_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:"AD",_era_bc:"BC",A:"A",P:"P",AM:"AM",PM:"PM","A.M.":"A.M.","P.M.":"P.M.",January:"Janvier",February:"F\xE9vrier",March:"Mars",April:"Avril",May:"Mai",June:"Juin",July:"Juillet",August:"Ao\xFBt",September:"Septembre",October:"Octobre",November:"Novembre",December:"D\xE9cembre",Jan:"Jan",Feb:"F\xE9v",Mar:"Mar",Apr:"Avr","May(short)":"Mai",Jun:"Jui",Jul:"Jul",Aug:"Ao\xFB",Sep:"Sep",Oct:"Oct",Nov:"Nov",Dec:"D\xE9c",Sunday:"Dimanche",Monday:"Lundi",Tuesday:"Mardi",Wednesday:"Mercredi",Thursday:"Jeudi",Friday:"Vendredi",Saturday:"Samedi",Sun:"Dim",Mon:"Lun",Tue:"Mar",Wed:"Mer",Thu:"Jeu",Fri:"Ven",Sat:"Sam",_dateOrd:function(e){let r="e";if(e<11||e>13)switch(e%10){case 1:r="er";break}return r},"Zoom Out":"Zoom Arri\xE8re",Play:"Joue",Stop:"Arr\xEAte",Legend:"L\xE9gende","Press ENTER to toggle":"cliquez, appuyez ou appuyez sur entr\xE9e pour basculer",Loading:"Charger",Home:"Accueil",Chart:"Graphique","Serial chart":"Graphique s\xE9rial","X/Y chart":"Graphique X/Y","Pie chart":"Camembert","Gauge chart":"Jauge graphique","Radar chart":"Carte radar","Sankey diagram":"Graphique Sankey","Flow diagram":"repr\xE9sentation sch\xE9matique","Chord diagram":"diagramme d'accord","TreeMap chart":"carte de l'arbre","Sliced chart":"graphique en tranches",Series:"S\xE9ries","Candlestick Series":"S\xE9ries chandelier","OHLC Series":"S\xE9ries OHLC","Column Series":"S\xE9ries de colonnes","Line Series":"S\xE9rie de lignes","Pie Slice Series":"Tarte tranche S\xE9ries","Funnel Series":"S\xE9ries d'entonnoir","Pyramid Series":"S\xE9ries pyramidale","X/Y Series":"S\xE9ries X/Y",Map:"Mappe","Press ENTER to zoom in":"Appuyez sur ENTER pour zoomer","Press ENTER to zoom out":"Appuyez sur ENTER pour effectuer un zoom arri\xE8re","Use arrow keys to zoom in and out":"Utilisez les touches fl\xE9ch\xE9es pour zoomer et d\xE9zoomer","Use plus and minus keys on your keyboard to zoom in and out":"Utilisez les touches plus et moins de votre clavier pour effectuer un zoom avant ou arri\xE8re",Export:"Exporter",Image:"Image",Data:"Data",Print:"Imprimer","Press ENTER to open":"Cliquez, appuyez ou appuyez sur ENTER pour ouvrir","Press ENTER to print.":"Cliquez, appuyez ou appuyez sur ENTER pour imprimer","Press ENTER to export as %1.":"Cliquez, appuyez ou appuyez sur ENTER pour exporter comme %1","(Press ESC to close this message)":"(Appuyez sur ESC pour fermer ce message)","Image Export Complete":"Exportation d'image termin\xE9e","Export operation took longer than expected. Something might have gone wrong.":"L'exportation a pris plus de temps que pr\xE9vu. Quelque chose aurait mal tourn\xE9.","Saved from":"Enregistr\xE9 de",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"Utilisez la touche TAB pour s\xE9lectionner les boutons des poign\xE9es ou les fl\xE8ches gauche et droite pour modifier la s\xE9lection.","Use left and right arrows to move selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection","Use left and right arrows to move left selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection gauche","Use left and right arrows to move right selection":"Utilisez les fl\xE8ches gauche et droite pour d\xE9placer la s\xE9lection droite","Use TAB select grip buttons or up and down arrows to change selection":"Utilisez les boutons de s\xE9lection TAB ou les fl\xE8ches vers le haut et le bas pour modifier la s\xE9lection.","Use up and down arrows to move selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection","Use up and down arrows to move lower selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection inf\xE9rieure","Use up and down arrows to move upper selection":"Utilisez les fl\xE8ches haut et bas pour d\xE9placer la s\xE9lection sup\xE9rieure","From %1 to %2":"De %1 \xE0 %2","From %1":"De %1","To %1":"\xE0 %1","No parser available for file: %1":"Aucun analyseur disponible pour le fichier: %1","Error parsing file: %1":"Erreur d'analyse du fichier: %1","Unable to load file: %1":"Impossible de charger le fichier: %1","Invalid date":"Date invalide",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import d from"./4CNSY5DV.js";import c from"./UHCPC53D.js";import b from"./BZ2OMLY2.js";import{g as n}from"./E426SOFD.js";import"./CBHF7VHQ.js";import"./TXM3OKND.js";import"./SFNNOM3T.js";import{N as o,T as a,a as t,x as r}from"./O4B6XGMW.js";import"./B5FQUWQT.js";export default $arcgis.t(([l,,{a:e},s])=>{var c=t`.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-feature-form{letter-spacing:0em;background:var(--calcite-color-background);padding:var(--esri-widget-padding)}.esri-feature-form__disabled-notice{margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form .esri-feature-utility-network-associations,.esri-feature-form .esri-feature-form-utility-network-association-list{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info__description{color:var(--calcite-color-text-2)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info h5{font-size:inherit}.esri-feature-form__form{flex-direction:column;display:flex}.esri-feature-form__centered-button{align-self:center}.esri-feature-form__description-text{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-sm)}.esri-feature-form__list-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature-form__related-records_header{margin-bottom:var(--calcite-spacing-xs);display:flex}.esri-feature-form__related-records_header span{flex-grow:1}.esri-feature-form__related-records_label calcite-notice,.esri-feature-form__related-records_label .esri-feature-form__description-text{margin-bottom:var(--calcite-spacing-xs)}.esri-feature-form__related-records_list{min-height:40px;margin-bottom:var(--calcite-spacing-xs)}label.esri-feature-form__label{gap:.5em;margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__label{opacity:1;flex-direction:column;justify-content:space-between;margin-bottom:var(--calcite-spacing-xs);transition:opacity .25s,margin .25s;display:flex;position:relative}.esri-feature-form__label:last-child{margin-bottom:0}.esri-feature-form__label-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;align-items:center;display:flex}.esri-feature-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__form-header .esri-feature-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-feature-form__input{width:100%}.esri-feature-form__input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}textarea.esri-feature-form__input{resize:vertical}.esri-feature-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__field-error-message{padding:7px 0;font-size:var(--calcite-font-size-sm)}.esri-feature-form__date-input-container{flex-direction:column;display:flex}.esri-feature-form__date-input-container .esri-feature-form__input{margin-bottom:3px}.esri-feature-form__date-input-container :last-child{margin-bottom:0}.esri-feature-form__input--radio-group{flex-direction:column;display:flex}.esri-feature-form__input--radio-label{align-items:center;display:flex}.esri-feature-form__input--switch{margin:7px 0}.esri-feature-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-feature-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-feature-form__group--active{border-inline-start-color:var(--calcite-color-status-info)}.esri-feature-form__text-element{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}.esri-feature-form__text-element a{transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;background-color:var(--calcite-color-background);background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));color:var(--calcite-color-text-link);background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;border-style:none;padding:0;text-decoration:none;display:inline;position:relative}.esri-feature-form__text-element a:hover,.esri-feature-form__text-element a:focus{background-size:100% 1px,100% 1px}.esri-feature-form__text-element a:active{background-size:100% 2px,100% 2px}.esri-feature-form__text-element a.calcite--rtl{background-position:100% 100%,100% 100%}.esri-feature-form__text-element code{border:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-3);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);border-radius:var(--calcite-spacing-base);padding:.25em;font-size:85%}.esri-feature-form__text-element h1,.esri-feature-form__text-element h2,.esri-feature-form__text-element h3,.esri-feature-form__text-element h4,.esri-feature-form__text-element h5{color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element h5{font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__text-element h6{color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element p{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form__text-element strong{font-weight:var(--calcite-font-weight-bold)}:dir(rtl) .esri-feature-form__date-input-part:first-child .esri-feature-form__input{border-left:none;border-right:1px solid #adadad4d}.esri-feature-form-utility-network-association-layers{background-color:var(--calcite-color-background)}.esri-feature-form-utility-network-association-layers__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-layers__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-layers__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__list-container{min-height:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-feature-form-utility-network-association-layers__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__filter-options-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header{flex-direction:row;align-items:baseline;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header span{flex-grow:1}.esri-feature-form-utility-network-association-layers__spatial-select-container{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.esri-feature-form-utility-network-association-layers__spatial-select-toolbar{--calcite-action-group-border-color: transparent;border-width:var(--calcite-border-width-sm, 1px);border-radius:var(--calcite-corner-radius-round, 4px);border-style:solid;border-color:var(--calcite-color-border-3, var(--calcite-color-inverse));width:100%;min-height:min-content;overflow:hidden}.esri-feature-form-utility-network-association-layers__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-feature-form-utility-network-association-layers__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-form-utility-network-association-list{background-color:var(--calcite-color-foreground-1)}.esri-feature-form-utility-network-association-list__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-list__header calcite-block{margin-block-start:-18px;margin-inline:-15px}.esri-feature-form-utility-network-association-list__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-list__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__list-container{flex-direction:column;min-height:var(--calcite-spacing-xxxl);display:flex}.esri-feature-form-utility-network-association-list__list-container calcite-fab{margin-block:var(--calcite-spacing-md);flex-direction:row;align-self:center;display:flex}.esri-feature-form-utility-network-association-settings{--calcite-block-padding: 0;background-color:var(--calcite-color-foreground-1);flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings calcite-block{border:1px solid var(--calcite-color-border-3);margin-block:0}.esri-feature-form-utility-network-association-settings calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}.esri-feature-form-utility-network-association-settings calcite-block:last-of-type{border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings__info-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings__info-container>*{margin-block-end:var(--calcite-spacing-md)}`,d=s(l),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("state"),this.arcgisReady=r(),this.arcgisSubmit=e(()=>this.widget,"submit"),this.arcgisValueChange=e(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,editType:1,groupDisplay:1,headingLevel:9,icon:0,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.styles=c}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};a("arcgis-feature-form",i);return i},"widgets/FeatureForm",b,c,d)
3
+ v5.0.0-next.110 */
4
+ import d from"./4IVHLDI3.js";import c from"./2SBM6RKV.js";import b from"./3WR5FNIS.js";import{g as n}from"./DG2NGS4U.js";import"./PJ36QTY2.js";import"./6IC34O2H.js";import"./GNBPPVLP.js";import{N as o,T as a,a as t,x as r}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([l,,{a:e},s])=>{var c=t`.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-feature-form{letter-spacing:0em;background:var(--calcite-color-background);padding:var(--esri-widget-padding)}.esri-feature-form__disabled-notice{margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form .esri-feature-utility-network-associations,.esri-feature-form .esri-feature-form-utility-network-association-list{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info__description{color:var(--calcite-color-text-2)}.esri-feature-form .esri-feature-utility-network-associations .esri-feature-element-info h5{font-size:inherit}.esri-feature-form__form{flex-direction:column;display:flex}.esri-feature-form__centered-button{align-self:center}.esri-feature-form__description-text{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size-sm)}.esri-feature-form__list-observer{z-index:2;text-align:center;position:relative;bottom:var(--calcite-spacing-xxl)}.esri-feature-form__related-records_header{margin-bottom:var(--calcite-spacing-xs);display:flex}.esri-feature-form__related-records_header span{flex-grow:1}.esri-feature-form__related-records_label calcite-notice,.esri-feature-form__related-records_label .esri-feature-form__description-text{margin-bottom:var(--calcite-spacing-xs)}.esri-feature-form__related-records_list{min-height:40px;margin-bottom:var(--calcite-spacing-xs)}label.esri-feature-form__label{gap:.5em;margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__label{opacity:1;flex-direction:column;justify-content:space-between;margin-bottom:var(--calcite-spacing-xs);transition:opacity .25s,margin .25s;display:flex;position:relative}.esri-feature-form__label:last-child{margin-bottom:0}.esri-feature-form__label-text-content{white-space:pre-wrap;word-break:break-word;word-wrap:break-word;align-items:center;display:flex}.esri-feature-form__form-header{margin-bottom:var(--calcite-spacing-md)}.esri-feature-form__form-header .esri-feature-form__description-text~.esri-widget__heading{margin-bottom:0}.esri-feature-form__input{width:100%}.esri-feature-form__input:focus{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}textarea.esri-feature-form__input{resize:vertical}.esri-feature-form__input--disabled{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__field-error-message{padding:7px 0;font-size:var(--calcite-font-size-sm)}.esri-feature-form__date-input-container{flex-direction:column;display:flex}.esri-feature-form__date-input-container .esri-feature-form__input{margin-bottom:3px}.esri-feature-form__date-input-container :last-child{margin-bottom:0}.esri-feature-form__input--radio-group{flex-direction:column;display:flex}.esri-feature-form__input--radio-label{align-items:center;display:flex}.esri-feature-form__input--switch{margin:7px 0}.esri-feature-form__group{margin:0 0 var(--calcite-spacing-md);background-color:inherit;margin-inline:-10px}.esri-feature-form__group--sequential{border-bottom:none;border-inline-start:3px solid #adadad4d}.esri-feature-form__group--active{border-inline-start-color:var(--calcite-color-status-info)}.esri-feature-form__text-element{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal)}.esri-feature-form__text-element a{transition:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start inset-size,opacity,outline-color,transform var(--calcite-animation-timing) ease-in-out 0s,outline 0s,outline-offset 0s;background-color:var(--calcite-color-background);background-image:linear-gradient(currentColor,currentColor),linear-gradient(var(--calcite-color-brand-underline),var(--calcite-color-brand-underline));color:var(--calcite-color-text-link);background-position-x:0%,100%;background-position-y:min(1.5em,100%);background-repeat:no-repeat,no-repeat;background-size:0% 1px,100% 1px;border-style:none;padding:0;text-decoration:none;display:inline;position:relative}.esri-feature-form__text-element a:hover,.esri-feature-form__text-element a:focus{background-size:100% 1px,100% 1px}.esri-feature-form__text-element a:active{background-size:100% 2px,100% 2px}.esri-feature-form__text-element a.calcite--rtl{background-position:100% 100%,100% 100%}.esri-feature-form__text-element code{border:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-3);white-space:normal;word-break:break-word;color:var(--calcite-color-text-2);font-family:var(--calcite-code-family);border-radius:var(--calcite-spacing-base);padding:.25em;font-size:85%}.esri-feature-form__text-element h1,.esri-feature-form__text-element h2,.esri-feature-form__text-element h3,.esri-feature-form__text-element h4,.esri-feature-form__text-element h5{color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element h5{font-weight:var(--calcite-font-weight-medium)}.esri-feature-form__text-element h6{color:var(--calcite-color-text-2);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);margin-bottom:var(--calcite-spacing-xxs)}.esri-feature-form__text-element p{color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-snug);font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-normal);margin-bottom:var(--calcite-spacing-xl)}.esri-feature-form__text-element strong{font-weight:var(--calcite-font-weight-bold)}:dir(rtl) .esri-feature-form__date-input-part:first-child .esri-feature-form__input{border-left:none;border-right:1px solid #adadad4d}.esri-feature-form-utility-network-association-layers{background-color:var(--calcite-color-background)}.esri-feature-form-utility-network-association-layers__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-layers__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-layers__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__list-container{min-height:var(--calcite-spacing-xxxl);margin-bottom:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-feature-form-utility-network-association-layers__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-layers__filter-options-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header{flex-direction:row;align-items:baseline;display:flex}.esri-feature-form-utility-network-association-layers__filter-options-header span{flex-grow:1}.esri-feature-form-utility-network-association-layers__spatial-select-container{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.esri-feature-form-utility-network-association-layers__spatial-select-toolbar{--calcite-action-group-border-color: transparent;border-width:var(--calcite-border-width-sm, 1px);border-radius:var(--calcite-corner-radius-round, 4px);border-style:solid;border-color:var(--calcite-color-border-3, var(--calcite-color-inverse));width:100%;min-height:min-content;overflow:hidden}.esri-feature-form-utility-network-association-layers__sticky-loading-container{z-index:2;pointer-events:none;justify-content:center;align-items:center;height:var(--calcite-spacing-xxxl);margin:0;padding:0;display:flex;position:sticky;bottom:10px}.esri-feature-form-utility-network-association-layers__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-feature-form-utility-network-association-list{background-color:var(--calcite-color-foreground-1)}.esri-feature-form-utility-network-association-list__header>*{margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__header>:last-child{color:var(--calcite-color-text-3)}.esri-feature-form-utility-network-association-list__header calcite-block{margin-block-start:-18px;margin-inline:-15px}.esri-feature-form-utility-network-association-list__heading-content{align-items:center;display:flex}.esri-feature-form-utility-network-association-list__heading-content calcite-icon{margin-inline-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-list__list-container{flex-direction:column;min-height:var(--calcite-spacing-xxxl);display:flex}.esri-feature-form-utility-network-association-list__list-container calcite-fab{margin-block:var(--calcite-spacing-md);flex-direction:row;align-self:center;display:flex}.esri-feature-form-utility-network-association-settings{--calcite-block-padding: 0;background-color:var(--calcite-color-foreground-1);flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings calcite-block{border:1px solid var(--calcite-color-border-3);margin-block:0}.esri-feature-form-utility-network-association-settings calcite-block:first-of-type{border-radius:var(--calcite-spacing-sm) var(--calcite-spacing-sm) 0 0}.esri-feature-form-utility-network-association-settings calcite-block:last-of-type{border-top:none;border-radius:0 0 var(--calcite-spacing-sm) var(--calcite-spacing-sm);margin-block-end:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings calcite-block calcite-label{margin-inline:var(--calcite-spacing-md)}.esri-feature-form-utility-network-association-settings__info-container{flex-direction:column;display:flex}.esri-feature-form-utility-network-association-settings__info-container>*{margin-block-end:var(--calcite-spacing-md)}`,d=s(l),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.editType=this.viewModel.editType,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("state"),this.arcgisReady=r(),this.arcgisSubmit=e(()=>this.widget,"submit"),this.arcgisValueChange=e(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,editType:1,groupDisplay:1,headingLevel:9,icon:0,label:1,layer:0,referenceElement:1,state:3,timeZone:1}}static{this.styles=c}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};a("arcgis-feature-form",i);return i},"widgets/FeatureForm",b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import{a as F}from"./ZGAISX4Z.js";import{a as A}from"./7WCP4VRH.js";import{N as T,R as q,T as S,a as v,b as p}from"./O4B6XGMW.js";import"./B5FQUWQT.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=I(),this._associationViewModels=I(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(t){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .description=${this.parentFeatureViewModel?.title} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;t.utilityNetworks&&await Promise.allSettled(t.utilityNetworks.map(s=>s.load()));let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":r.add("connectivity"),r.add("junction-junction-connectivity"),r.add("junction-edge-from-connectivity"),r.add("junction-edge-midspan-connectivity"),r.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(t))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")
3
+ v5.0.0-next.110 */
4
+ import{a as F}from"./XKSA2R6C.js";import{a as A}from"./OQHW24K3.js";import{N as T,R as q,T as S,a as v,b as p}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([{createReactiveMap:I,findUtilityNetwork:U,queryAllJSON:V,getOrCreateMapValue:D},{stripHTML:L},b,{ignoreAbortErrors:N},{watch:C},M,Q,B,P,x,G])=>{var O=v`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,E=100,$={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",k=class extends T{constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new b,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new b,this._connectivityFeatureCount=0,this._containerAssociations=new b,this._containerFeatureCount=0,this._contentAssociations=new b,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await N(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await N(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=F(this._queryController,E),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,E),this._structureAssociations=new b,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=I(),this._associationViewModels=I(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=O}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=this._isSubtypeSublayer(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:o,_queryPageAbortController:c,associationTypes:l}=this;return o||t&&!a?"loading":i||c?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),C(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),C(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(t){this._addFlowItem(q(p`<arcgis-feature-utility-network-association-list .associationViewModels=${this._associationViewModels} .description=${this.parentFeatureViewModel?.title} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`))}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a);return await t.queryFeatureCount({where:o,outFields:["*"],returnGeometry:!1},{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let o=await this._findLayersBySourceId(t);await this._loadLayers(o);let c=o.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(c)).reduce((l,r)=>l+r,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let o=new Map,c=Array.from(e.entries()).map(async([r,d])=>{let u=await this._findLayersBySourceId(r);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.attributes[_],w=o.get(y)??[];w.push(n),o.set(y,w)}})})});await Promise.all(c);let l=[];return await Promise.all(t.toArray().map(async r=>{let{fromNetworkElement:d,toNetworkElement:u}=r,h=d.globalId===this._globalId?u:d,m=o.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:r,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,o=e.fromNetworkElement,c=e.toNetworkElement,l=s(a,o),r=s(i,c);return l&&r&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a),o=s.allTables.filter(c=>!!e?.isUtilityLayer(c)&&c.layerId===a);return i.concat(o).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,o=t.fieldsIndex.get($.assetGroup),c=t.fieldsIndex.get($.assetType),l=s!=null,r=a!=null,d=i?M.sqlIn(i,e):null,u=l?`(${o?.name} = ${s})`:null,h=l&&r?`(${c?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,o=i!=null?i.toString():null,c=t.getObjectId()?.toString();return o||c||""}_isSubtypeGroupLayer(t){return t!=null&&typeof t=="object"&&"type"in t&&t.type==="subtype-group"&&"sublayers"in t}_isSubtypeSublayer(t){return t?.type==="subtype-sublayer"}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;t.utilityNetworks&&await Promise.allSettled(t.utilityNetworks.map(s=>s.load()));let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:o,_canQuery:c,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),o?.load()]),!c||!s||!i||!o)return;let r=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;r.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:f}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(f),h.set(w,g)});let m=await this._createAssociationFeatureObjects(r,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:o}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!o||!e||!a||!i||!s)return;let c=this._isSubtypeSublayer(e)?e.parent:e,l=new Q({globalId:s,networkSourceId:i.getSourceIdByLayerId(c.layerId)}),r=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":r.add("attachment");break;case"container":case"content":r.add("containment");break;case"connectivity":r.add("connectivity"),r.add("junction-junction-connectivity"),r.add("junction-edge-from-connectivity"),r.add("junction-edge-midspan-connectivity"),r.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new B({elements:[l],types:Array.from(r)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,f=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,f,y,w,t):f.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let o=this._getFeatureQueryWhereClause(t,e,s,a),c=new x({where:o,outFields:["*"],cacheHint:this._supportsCacheHint}),l=P.fromJSON(await V(t,c,i));return l.features.forEach(r=>{let d=this._isSubtypeGroupLayer(t);r.layer=d?t.findSublayerForFeature(r):t,r.sourceLayer=d?t.findSublayerForFeature(r):t}),l.features}_parseFeatureObjects(t,e){let s=I();t.forEach(a=>{let i=(a?.feature).sourceLayer;D(s,i,()=>new b).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(t))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,o)=>{let c=this._associationFeatures.get(o);c?i.forEach(l=>{c.find(r=>this._matchesGlobalFeature(l,r))||(i.remove(l),i.length||this._associationViewModels.delete(o))}):(i.removeAll(),this._associationViewModels.delete(o))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,o)=>{let c=this._associationViewModels.get(o)||new b;i?.filter(Boolean).forEach((l,r)=>{if(!c.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;c.add({title:m,association:d,featureViewModel:new G({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},r)}}),this._associationViewModels.set(o,c)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,o=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!o}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return A(`association-type-${t.type}`,p`<calcite-list-item .description=${L(t.description)} .label=${L(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return A("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};S("arcgis-feature-utility-network-associations",k);return k},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","rest/support/FeatureSet","rest/support/Query","widgets/Feature/FeatureViewModel")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import{E as s,F as i,I as o,f as r}from"./O4B6XGMW.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
3
+ v5.0.0-next.110 */
4
+ import{E as s,F as i,I as o,f as r}from"./6LZLH5VV.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import b from"./XKGDUP5T.js";import"./E426SOFD.js";import"./CBHF7VHQ.js";import"./SFNNOM3T.js";import{N as n,P as l,T as c,a,b as r}from"./O4B6XGMW.js";import"./B5FQUWQT.js";export default $arcgis.t(([p])=>{var h=a`:host{display:contents}calcite-loader{position:absolute}`,e=class extends n{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={autoDestroyDisabled:5,trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}_getPositionStyles(){let{screenLocation:t,view:i}=this;if(i==null||t==null)return{};let{padding:o}=i,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(o.left??0)-s/2}px`,top:`${t.y-(o.top??0)-s/2}px`}}render(){return this.screenLocation?r`<calcite-loader .label=${this.label??""} inline style=${l(this._getPositionStyles())}></calcite-loader>`:null}};c("arcgis-spinner",e);return e},b)
3
+ v5.0.0-next.110 */
4
+ import b from"./KB5MBKRP.js";import"./DG2NGS4U.js";import"./PJ36QTY2.js";import"./GNBPPVLP.js";import{N as n,P as l,T as c,a,b as r}from"./6LZLH5VV.js";import"./ULE6CJOD.js";export default $arcgis.t(([p])=>{var h=a`:host{display:contents}calcite-loader{position:absolute}`,e=class extends n{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={autoDestroyDisabled:5,trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}_getPositionStyles(){let{screenLocation:t,view:i}=this;if(i==null||t==null)return{};let{padding:o}=i,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(o.left??0)-s/2}px`,top:`${t.y-(o.top??0)-s/2}px`}}render(){return this.screenLocation?r`<calcite-loader .label=${this.label??""} inline style=${l(this._getPositionStyles())}></calcite-loader>`:null}};c("arcgis-spinner",e);return e},b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.109 */
4
- import{N as o,T as r,b as a}from"./O4B6XGMW.js";import"./B5FQUWQT.js";var t=class extends o{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:i,layoutItem:s,format:l}=this.viewModel.templateOptions,n=this.viewModel.state!=="ready"||!(i||s);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${n||!(i||s?.id)&&!l} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};r("arcgis-print-export-button",t);export{t as PrintExportButton};
3
+ v5.0.0-next.110 */
4
+ import{N as o,T as r,b as a}from"./6LZLH5VV.js";import"./ULE6CJOD.js";var t=class extends o{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:i,layoutItem:s,format:l}=this.viewModel.templateOptions,n=this.viewModel.state!=="ready"||!(i||s);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${n||!(i||s?.id)&&!l} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};r("arcgis-print-export-button",t);export{t as PrintExportButton};