@arcgis/map-components 5.0.0-next.106 → 5.0.0-next.107

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 (562) hide show
  1. package/dist/cdn/{LI36KMQO.js → 22EEN7BG.js} +2 -2
  2. package/dist/cdn/{FEGSVOPD.js → 2CCUWLBK.js} +2 -2
  3. package/dist/cdn/{OLP27SMS.js → 2HGJ6QHW.js} +1 -1
  4. package/dist/cdn/{QRCNGQ6J.js → 2TZMG5OW.js} +2 -2
  5. package/dist/cdn/{TUVXRNJT.js → 3275B5JD.js} +2 -2
  6. package/dist/cdn/{2REYYEM4.js → 32YFKE7J.js} +1 -1
  7. package/dist/cdn/{NN7FRDBH.js → 343EDVVP.js} +2 -2
  8. package/dist/cdn/{DHYGELUV.js → 36646YM4.js} +2 -2
  9. package/dist/cdn/{TP7BW4BJ.js → 37LH3D5P.js} +2 -2
  10. package/dist/cdn/{DRTRCUI5.js → 3DRABM3V.js} +1 -1
  11. package/dist/cdn/{PZTT7RZ6.js → 3DTHKWWH.js} +2 -2
  12. package/dist/cdn/{H2FOVOHB.js → 3LNY2VZS.js} +2 -2
  13. package/dist/cdn/{35QBGATN.js → 3P7QGEIV.js} +2 -2
  14. package/dist/cdn/{LDVEFLBC.js → 3RFMQXUO.js} +2 -2
  15. package/dist/cdn/{CCVJUL7N.js → 3TPAZACT.js} +2 -2
  16. package/dist/cdn/{ZRPGKNTS.js → 44PO2YI2.js} +2 -2
  17. package/dist/cdn/{WHPWA3ZM.js → 4VTSXT3N.js} +2 -2
  18. package/dist/cdn/{IBLZB4RL.js → 4VXPWTIS.js} +2 -2
  19. package/dist/cdn/{75X3KNB4.js → 4ZBFWUVH.js} +2 -2
  20. package/dist/cdn/{IMOXXDIS.js → 54DZXPUJ.js} +2 -2
  21. package/dist/cdn/{Q4CNVGRK.js → 55XBW4B7.js} +2 -2
  22. package/dist/cdn/{DDLE4GPQ.js → 5FRHYOKF.js} +2 -2
  23. package/dist/cdn/{GEDUEHCM.js → 5N4I7LPN.js} +2 -2
  24. package/dist/cdn/{VILIO3CM.js → 5NOW6UT4.js} +2 -2
  25. package/dist/cdn/{7VG2JW3G.js → 5OQDCBHK.js} +2 -2
  26. package/dist/cdn/{7LGCLN5C.js → 5QDX733B.js} +2 -2
  27. package/dist/cdn/{ELZAJS2Q.js → 64MNYC7N.js} +2 -2
  28. package/dist/cdn/{LVU2VHPI.js → 66YI3CIK.js} +2 -2
  29. package/dist/cdn/{ADNCA7UX.js → 6GLDNRHA.js} +2 -2
  30. package/dist/cdn/{6CZAYPRB.js → 6NRAXCVY.js} +2 -2
  31. package/dist/cdn/{ZYTFU4YH.js → 6QG6YZGW.js} +2 -2
  32. package/dist/cdn/{2D65ITX4.js → 74GRL5ZG.js} +2 -2
  33. package/dist/cdn/{U3M2P5UV.js → 76V7KJLW.js} +2 -2
  34. package/dist/cdn/7CHUURMN.js +4 -0
  35. package/dist/cdn/{EEBD4SPX.js → 7DQV3DN4.js} +2 -2
  36. package/dist/cdn/{IYMP7AWH.js → 7MOKBATJ.js} +2 -2
  37. package/dist/cdn/{3TDRNYYD.js → 7QQ6BHLJ.js} +2 -2
  38. package/dist/cdn/{D5MNEF5Z.js → 7XVXINSU.js} +2 -2
  39. package/dist/cdn/{SUTLZLP3.js → A5NHXGRS.js} +1 -1
  40. package/dist/cdn/{ZBK2OQE6.js → ADR4QWUJ.js} +2 -2
  41. package/dist/cdn/{K2JB4K3U.js → AKTTLK7C.js} +2 -2
  42. package/dist/cdn/{CYYGRZUH.js → AL2LVF2T.js} +2 -2
  43. package/dist/cdn/{CJPYSGRJ.js → ALFS6UZW.js} +2 -2
  44. package/dist/cdn/{PCI52XP2.js → AOGY7DV3.js} +2 -2
  45. package/dist/cdn/{5KQF7HWA.js → AP624N6I.js} +2 -2
  46. package/dist/cdn/{N572TZ5R.js → ASHGYDHC.js} +2 -2
  47. package/dist/cdn/{MN4JQXKD.js → AV7OWMHC.js} +2 -2
  48. package/dist/cdn/{T6NVX76J.js → AVDMIATT.js} +2 -2
  49. package/dist/cdn/{7J7UOAHO.js → AWHXY5MX.js} +2 -2
  50. package/dist/cdn/{IMT7BMNA.js → AZ32RB6N.js} +2 -2
  51. package/dist/cdn/{STPX62QM.js → B5AJ3D5P.js} +2 -2
  52. package/dist/cdn/{PBQWK4ZV.js → B6KFYSEZ.js} +2 -2
  53. package/dist/cdn/{GHU426NV.js → BJPVT4LC.js} +2 -2
  54. package/dist/cdn/{2QEXPU6R.js → BPX75SVN.js} +2 -2
  55. package/dist/cdn/{2BWI3U3F.js → BQUQHDAY.js} +2 -2
  56. package/dist/cdn/{PIGAA562.js → BREHE75K.js} +2 -2
  57. package/dist/cdn/BSAT467Z.js +4 -0
  58. package/dist/cdn/{CQWIK2IR.js → BUEQR2HJ.js} +2 -2
  59. package/dist/cdn/{BSZAIV5T.js → BUFLHBOO.js} +2 -2
  60. package/dist/cdn/{FJCP6EN2.js → C2DZO4QB.js} +2 -2
  61. package/dist/cdn/{P6WKFJQS.js → C562GYIQ.js} +1 -1
  62. package/dist/cdn/{KITECKCD.js → C7HS5NLU.js} +2 -2
  63. package/dist/cdn/{4JT3OARJ.js → CBB73C6Q.js} +1 -1
  64. package/dist/cdn/{LHEZGN6B.js → CGPIXTQJ.js} +2 -2
  65. package/dist/cdn/{JCOQ22ZH.js → CNMNXZPZ.js} +2 -2
  66. package/dist/cdn/{KSUUX6NZ.js → CNMXHGOO.js} +1 -1
  67. package/dist/cdn/{LPQFNCAK.js → CPILFDKH.js} +2 -2
  68. package/dist/cdn/{QHEPYMGO.js → CSZKSOHS.js} +2 -2
  69. package/dist/cdn/{QCXCOWSJ.js → CUSD2DAJ.js} +2 -2
  70. package/dist/cdn/{XTO5GP3R.js → CWQUQ7TA.js} +2 -2
  71. package/dist/cdn/{KCLAXA5P.js → DJOUOT6L.js} +2 -2
  72. package/dist/cdn/{KJSGKOCS.js → DJZMWCBD.js} +2 -2
  73. package/dist/cdn/{YUPH5MRX.js → DNPFXFWZ.js} +2 -2
  74. package/dist/cdn/{LNFJWHDS.js → DTWZQKMB.js} +2 -2
  75. package/dist/cdn/{A77UOKWE.js → DWYZMC2A.js} +2 -2
  76. package/dist/cdn/{LRHF4A3D.js → E3AYCC2F.js} +2 -2
  77. package/dist/cdn/{IJD2EOVE.js → EE5KBVYY.js} +2 -2
  78. package/dist/cdn/{XMDKYQRZ.js → EN7VFOGP.js} +2 -2
  79. package/dist/cdn/{AOLXZ5J4.js → ERY54UW5.js} +2 -2
  80. package/dist/cdn/{3UMZSN5K.js → EWLWNY3T.js} +2 -2
  81. package/dist/cdn/{AKAW7JIJ.js → F5WIESVH.js} +2 -2
  82. package/dist/cdn/{EEOUOXOT.js → FBFDTY4T.js} +2 -2
  83. package/dist/cdn/{SJHVUNYO.js → FGC745KX.js} +2 -2
  84. package/dist/cdn/{6BCSCLRL.js → G33XG2LA.js} +2 -2
  85. package/dist/cdn/{4SBHYBLI.js → GCLC6Z7R.js} +2 -2
  86. package/dist/cdn/{ODTSVY2A.js → GEPK46GR.js} +2 -2
  87. package/dist/cdn/{4EKGZ3CQ.js → GHQIYAGM.js} +2 -2
  88. package/dist/cdn/{E6VVENE5.js → GOHUBEY3.js} +2 -2
  89. package/dist/cdn/{R5IAVFXO.js → GQ3VJAI3.js} +2 -2
  90. package/dist/cdn/{DIBAHVU3.js → GU7A6KQO.js} +2 -2
  91. package/dist/cdn/{7G6XAYXW.js → GVN63THF.js} +2 -2
  92. package/dist/cdn/{ETACPINQ.js → GVX7V2HE.js} +2 -2
  93. package/dist/cdn/{ROM7SHTF.js → GZNXMYKQ.js} +2 -2
  94. package/dist/cdn/H3CI4ADY.js +4 -0
  95. package/dist/cdn/{KIPNMJX7.js → H43ZBGHV.js} +2 -2
  96. package/dist/cdn/{MYGNCMU4.js → HEUQ3M72.js} +2 -2
  97. package/dist/cdn/{VPPLHRKC.js → HJ7Z2LOV.js} +2 -2
  98. package/dist/cdn/{WJYT4AMM.js → HNWPN5PD.js} +2 -2
  99. package/dist/cdn/{RKYY24O4.js → HRZMUSJW.js} +2 -2
  100. package/dist/cdn/HSGOJOY4.js +4 -0
  101. package/dist/cdn/{7FM4YDEL.js → I4LT65DZ.js} +2 -2
  102. package/dist/cdn/{VLXC32XM.js → I7KOVO44.js} +2 -2
  103. package/dist/cdn/{2BP4B4BM.js → IBD7VX47.js} +2 -2
  104. package/dist/cdn/{XKETGA2V.js → IIGINMBT.js} +2 -2
  105. package/dist/cdn/{V5QH4MPV.js → IQM76OJZ.js} +1 -1
  106. package/dist/cdn/{3TQISBIJ.js → IQRNJDFW.js} +2 -2
  107. package/dist/cdn/{33RSN4MQ.js → J5Y2LQBR.js} +2 -2
  108. package/dist/cdn/{XJ54G44W.js → JB7R62KJ.js} +2 -2
  109. package/dist/cdn/{4LBWS7DZ.js → JDO5TX64.js} +1 -1
  110. package/dist/cdn/{2NF6LI77.js → JFF25RFO.js} +2 -2
  111. package/dist/cdn/{6GWUEDM3.js → JFFE6ZTM.js} +2 -2
  112. package/dist/cdn/{ZTXSBSXS.js → JLI6JU4Q.js} +2 -2
  113. package/dist/cdn/{ZZTCFSKT.js → JMT4P3RA.js} +2 -2
  114. package/dist/cdn/{M2JRQK5E.js → JPTVA5UA.js} +2 -2
  115. package/dist/cdn/{YF623TV2.js → JRE6IJ2Z.js} +2 -2
  116. package/dist/cdn/{LUG5DDBL.js → JSC2EFCR.js} +2 -2
  117. package/dist/cdn/{O5GKAHSY.js → JW4OECXG.js} +2 -2
  118. package/dist/cdn/{IASNF4IY.js → JXGTLLWF.js} +2 -2
  119. package/dist/cdn/{CQJDWUQE.js → K5UHDQ5I.js} +2 -2
  120. package/dist/cdn/{LXYUFUJ2.js → K75YLH4D.js} +2 -2
  121. package/dist/cdn/{KIDVJIP7.js → K7TON5XN.js} +2 -2
  122. package/dist/cdn/{YJ6WF63B.js → KFIHYEP2.js} +2 -2
  123. package/dist/cdn/KIVG6VMU.js +4 -0
  124. package/dist/cdn/{M77SSWIO.js → KK3JS22Q.js} +2 -2
  125. package/dist/cdn/{MKQ6MNR5.js → KKW6PYLO.js} +2 -2
  126. package/dist/cdn/{4LM42EW6.js → KR63NBOJ.js} +2 -2
  127. package/dist/cdn/{J5E3ES5Z.js → KWM24GUK.js} +1 -1
  128. package/dist/cdn/{AO3LDB3P.js → KXPIRXMO.js} +2 -2
  129. package/dist/cdn/{MPHSWL5G.js → L6T5XRC6.js} +2 -2
  130. package/dist/cdn/{LBID37ZT.js → LAFRZLON.js} +2 -2
  131. package/dist/cdn/{QZZDWWVM.js → LAGIOUVY.js} +2 -2
  132. package/dist/cdn/{RHUITWX7.js → LHPOVE26.js} +2 -2
  133. package/dist/cdn/{G5I5OWGV.js → LLYYIIBV.js} +2 -2
  134. package/dist/cdn/{662WIKMV.js → LMAEJANE.js} +2 -2
  135. package/dist/cdn/{TUYQ5NJ7.js → LP2HPZAA.js} +2 -2
  136. package/dist/cdn/{B2LAAH77.js → LPR7MQDI.js} +2 -2
  137. package/dist/cdn/{GEXIHTGD.js → LRHF2WZH.js} +2 -2
  138. package/dist/cdn/{6KEUAT3C.js → LRM2TA2L.js} +2 -2
  139. package/dist/cdn/{NGAE6YHS.js → LSEIJLVC.js} +2 -2
  140. package/dist/cdn/{HFB2C5DT.js → LT2TLKBC.js} +2 -2
  141. package/dist/cdn/{KR222BAB.js → M4XARN24.js} +2 -2
  142. package/dist/cdn/{6UHFQRTQ.js → MHAJZAHI.js} +2 -2
  143. package/dist/cdn/{MTCWJZ4K.js → MIXJFSGE.js} +2 -2
  144. package/dist/cdn/{B7ND3USS.js → MM2ORXL5.js} +2 -2
  145. package/dist/cdn/{CQBFTOXV.js → MSRPBFJB.js} +2 -2
  146. package/dist/cdn/{5D277BGA.js → MUTRJ6IZ.js} +2 -2
  147. package/dist/cdn/{ZT7STOQY.js → MWBIS3DE.js} +2 -2
  148. package/dist/cdn/{EDXPBEFP.js → MXL33GDP.js} +2 -2
  149. package/dist/cdn/{7W7CV34X.js → N4CJMGV7.js} +2 -2
  150. package/dist/cdn/{KRCW4WJE.js → NCSMEFGH.js} +2 -2
  151. package/dist/cdn/{LP2JMM66.js → NDIT6T3K.js} +2 -2
  152. package/dist/cdn/{HIQTVZXV.js → NGXFMXCQ.js} +2 -2
  153. package/dist/cdn/{GS7VSKJI.js → NHMVHBIS.js} +2 -2
  154. package/dist/cdn/{MHTXEPWF.js → NQCZS5PA.js} +2 -2
  155. package/dist/cdn/{OLLNC3VM.js → NRLM5XSI.js} +3 -3
  156. package/dist/cdn/{6NT33G3G.js → NU6ZXVFX.js} +1 -1
  157. package/dist/cdn/{Y4AUSHE4.js → NZPNYZSN.js} +2 -2
  158. package/dist/cdn/{HYWMJZGE.js → O3FLRM2R.js} +2 -2
  159. package/dist/cdn/{XUH7APL3.js → OEYAECQE.js} +2 -2
  160. package/dist/cdn/{DARVVUHY.js → OIKHDH3N.js} +2 -2
  161. package/dist/cdn/{WMDWTYND.js → OS3NYQF4.js} +2 -2
  162. package/dist/cdn/{SLRXIF24.js → OV2FYNNN.js} +2 -2
  163. package/dist/cdn/{AIIHXWVX.js → OWG343TS.js} +2 -2
  164. package/dist/cdn/{UGLMXRFB.js → P2GYNXOZ.js} +2 -2
  165. package/dist/cdn/{B2PC7SAD.js → P4ON2RAF.js} +2 -2
  166. package/dist/cdn/{3ZX5W7VG.js → P6D4TUHU.js} +1 -1
  167. package/dist/cdn/{DAPY4727.js → PDYWTNWL.js} +2 -2
  168. package/dist/cdn/{FXXWF554.js → PGZQS3RS.js} +2 -2
  169. package/dist/cdn/{SI4ZFI4T.js → PUQ2YGRS.js} +2 -2
  170. package/dist/cdn/{ALYNXQCC.js → PWHYEX4D.js} +2 -2
  171. package/dist/cdn/{HZLCILON.js → Q5325S3X.js} +2 -2
  172. package/dist/cdn/{MPPLU4BR.js → Q6MCGHWK.js} +2 -2
  173. package/dist/cdn/{CUJAFSQK.js → Q73JBRGI.js} +2 -2
  174. package/dist/cdn/{JL3D3L4C.js → Q75ZVRD4.js} +2 -2
  175. package/dist/cdn/{QKAJWIYN.js → Q7HIJOKF.js} +2 -2
  176. package/dist/cdn/{2I55WGP3.js → QAM5GFAM.js} +2 -2
  177. package/dist/cdn/{FAZNRPFG.js → QEQGN4OQ.js} +1 -1
  178. package/dist/cdn/{ZIXM2LXU.js → QHPLEAYK.js} +2 -2
  179. package/dist/cdn/{I5BJJ67N.js → QK3PTUVO.js} +2 -2
  180. package/dist/cdn/{64I6A2KX.js → QOLWK55M.js} +1 -1
  181. package/dist/cdn/QTEVESBP.js +4 -0
  182. package/dist/cdn/{LZBCX27I.js → QTSKUYAP.js} +2 -2
  183. package/dist/cdn/{HAMSEAUY.js → RAPGF456.js} +2 -2
  184. package/dist/cdn/{TXDRSMER.js → RB33CPRZ.js} +1 -1
  185. package/dist/cdn/{2BXMVNUD.js → RDLP3G3S.js} +2 -2
  186. package/dist/cdn/{YXKA4F53.js → RE6HACHO.js} +2 -2
  187. package/dist/cdn/{UE4ZZ73H.js → RV6I6HGA.js} +2 -2
  188. package/dist/cdn/{XMH3GECO.js → RWRYMKOU.js} +2 -2
  189. package/dist/cdn/{EP5LICSR.js → S54XD6IL.js} +2 -2
  190. package/dist/cdn/{J3YKGB6U.js → SEB7SJNF.js} +2 -2
  191. package/dist/cdn/{NVTUU7B2.js → SFXYFWUD.js} +2 -2
  192. package/dist/cdn/{LWN6RCBY.js → SMOHY5IP.js} +2 -2
  193. package/dist/cdn/{6QGEJURC.js → SZASPWJV.js} +2 -2
  194. package/dist/cdn/{RVPLM5HZ.js → TAGR4CQD.js} +2 -2
  195. package/dist/cdn/{QIV5DWOJ.js → TDBEY3QU.js} +2 -2
  196. package/dist/cdn/{6L3TNUC2.js → TEWJ4XF5.js} +2 -2
  197. package/dist/cdn/{T7R3VUTC.js → TGTXITM3.js} +2 -2
  198. package/dist/cdn/{UFZBX3MQ.js → THLGGE3I.js} +2 -2
  199. package/dist/cdn/{SCPH7FIA.js → TZBEOMTH.js} +2 -2
  200. package/dist/cdn/{46PF2SSW.js → U3FQNY3M.js} +2 -2
  201. package/dist/cdn/{S752MOVM.js → UDJIR5F6.js} +2 -2
  202. package/dist/cdn/{INWU4LMZ.js → UJ4XYB5R.js} +2 -2
  203. package/dist/cdn/{4COYDWYW.js → UY6IAFRG.js} +2 -2
  204. package/dist/cdn/{VVG2XKWF.js → UYOJMPLJ.js} +2 -2
  205. package/dist/cdn/{XPYFXX7F.js → UZFZKJBC.js} +2 -2
  206. package/dist/cdn/{A442UAAG.js → V3IZEIFY.js} +2 -2
  207. package/dist/cdn/{4MGU7QLU.js → V75BHFMZ.js} +2 -2
  208. package/dist/cdn/{ER3EEXKT.js → VUMHQIYW.js} +2 -2
  209. package/dist/cdn/{2WWOJWJM.js → W3PCLNFT.js} +2 -2
  210. package/dist/cdn/{3F4UAEAD.js → W4ZNUGAU.js} +2 -2
  211. package/dist/cdn/{SQLMOIDN.js → W5NFFNUV.js} +2 -2
  212. package/dist/cdn/{INZXYBC4.js → WC4BORNH.js} +2 -2
  213. package/dist/cdn/{23CGNSH5.js → WFCWFGMA.js} +2 -2
  214. package/dist/cdn/{Y4ZIZRXX.js → XA24PZP7.js} +2 -2
  215. package/dist/cdn/{XJIICI5O.js → XFFGXEMZ.js} +2 -2
  216. package/dist/cdn/{KVCGM3WO.js → XL5YY3J6.js} +2 -2
  217. package/dist/cdn/{GN6PZCLK.js → XRHNFUA2.js} +2 -2
  218. package/dist/cdn/{J6LRYN7Y.js → XSCSEPAP.js} +2 -2
  219. package/dist/cdn/{E3IZ2PUO.js → XSFRANA7.js} +2 -2
  220. package/dist/cdn/{QRQKTC6V.js → XSXCOS2Y.js} +2 -2
  221. package/dist/cdn/{L4Y4NMQD.js → XVYLYAJ5.js} +2 -2
  222. package/dist/cdn/{CNAIAW5M.js → Y37KVMYX.js} +1 -1
  223. package/dist/cdn/{POPMCMUM.js → Y3MNKC6W.js} +2 -2
  224. package/dist/cdn/{JTIRC2S6.js → YLV3TK4G.js} +2 -2
  225. package/dist/cdn/{ALC24QTC.js → YPCGTAJ5.js} +2 -2
  226. package/dist/cdn/{O2SSU4K2.js → YS4GHRRC.js} +2 -2
  227. package/dist/cdn/{NQCUJEVM.js → YU26FYTR.js} +2 -2
  228. package/dist/cdn/{B2EZCV5X.js → YWHZELY5.js} +2 -2
  229. package/dist/cdn/{DEF3MGAT.js → YXQB5T2F.js} +2 -2
  230. package/dist/cdn/{7QT7C3NN.js → YYOZC7GB.js} +2 -2
  231. package/dist/cdn/{HTF7THAF.js → YZZFJFKU.js} +2 -2
  232. package/dist/cdn/{MDIKK4ZS.js → Z3DLQCZI.js} +2 -2
  233. package/dist/cdn/{ZL4KQNXQ.js → Z4YJU46U.js} +1 -1
  234. package/dist/cdn/{GJBAGSWR.js → ZB3ZR4UL.js} +2 -2
  235. package/dist/cdn/{GWQ2KL6G.js → ZIQMDI7B.js} +2 -2
  236. package/dist/cdn/{QZMYFOOL.js → ZJYHF6LS.js} +2 -2
  237. package/dist/cdn/{2GT577DS.js → ZLJFST3Q.js} +2 -2
  238. package/dist/cdn/{NWTS4PPG.js → ZRUJI72Y.js} +2 -2
  239. package/dist/cdn/{TK3BRVBN.js → ZXCUO6BH.js} +2 -2
  240. package/dist/cdn/assets/webgl-error/t9n/messages.ar.json +1 -0
  241. package/dist/cdn/assets/webgl-error/t9n/messages.bg.json +1 -0
  242. package/dist/cdn/assets/webgl-error/t9n/messages.bs.json +1 -0
  243. package/dist/cdn/assets/webgl-error/t9n/messages.ca.json +1 -0
  244. package/dist/cdn/assets/webgl-error/t9n/messages.cs.json +1 -0
  245. package/dist/cdn/assets/webgl-error/t9n/messages.da.json +1 -0
  246. package/dist/cdn/assets/webgl-error/t9n/messages.de.json +1 -0
  247. package/dist/cdn/assets/webgl-error/t9n/messages.el.json +1 -0
  248. package/dist/cdn/assets/webgl-error/t9n/messages.en.json +1 -0
  249. package/dist/cdn/assets/webgl-error/t9n/messages.es.json +1 -0
  250. package/dist/cdn/assets/webgl-error/t9n/messages.et.json +1 -0
  251. package/dist/cdn/assets/webgl-error/t9n/messages.fi.json +1 -0
  252. package/dist/cdn/assets/webgl-error/t9n/messages.fr.json +1 -0
  253. package/dist/cdn/assets/webgl-error/t9n/messages.he.json +1 -0
  254. package/dist/cdn/assets/webgl-error/t9n/messages.hr.json +1 -0
  255. package/dist/cdn/assets/webgl-error/t9n/messages.hu.json +1 -0
  256. package/dist/cdn/assets/webgl-error/t9n/messages.id.json +1 -0
  257. package/dist/cdn/assets/webgl-error/t9n/messages.it.json +1 -0
  258. package/dist/cdn/assets/webgl-error/t9n/messages.ja.json +1 -0
  259. package/dist/cdn/assets/webgl-error/t9n/messages.ko.json +1 -0
  260. package/dist/cdn/assets/webgl-error/t9n/messages.lt.json +1 -0
  261. package/dist/cdn/assets/webgl-error/t9n/messages.lv.json +1 -0
  262. package/dist/cdn/assets/webgl-error/t9n/messages.nl.json +1 -0
  263. package/dist/cdn/assets/webgl-error/t9n/messages.no.json +1 -0
  264. package/dist/cdn/assets/webgl-error/t9n/messages.pl.json +1 -0
  265. package/dist/cdn/assets/webgl-error/t9n/messages.pt-BR.json +1 -0
  266. package/dist/cdn/assets/webgl-error/t9n/messages.pt-PT.json +1 -0
  267. package/dist/cdn/assets/webgl-error/t9n/messages.ro.json +1 -0
  268. package/dist/cdn/assets/webgl-error/t9n/messages.ru.json +1 -0
  269. package/dist/cdn/assets/webgl-error/t9n/messages.sk.json +1 -0
  270. package/dist/cdn/assets/webgl-error/t9n/messages.sl.json +1 -0
  271. package/dist/cdn/assets/webgl-error/t9n/messages.sr.json +1 -0
  272. package/dist/cdn/assets/webgl-error/t9n/messages.sv.json +1 -0
  273. package/dist/cdn/assets/webgl-error/t9n/messages.th.json +1 -0
  274. package/dist/cdn/assets/webgl-error/t9n/messages.tr.json +1 -0
  275. package/dist/cdn/assets/webgl-error/t9n/messages.uk.json +1 -0
  276. package/dist/cdn/assets/webgl-error/t9n/messages.vi.json +1 -0
  277. package/dist/cdn/assets/webgl-error/t9n/messages.zh-CN.json +1 -0
  278. package/dist/cdn/assets/webgl-error/t9n/messages.zh-HK.json +1 -0
  279. package/dist/cdn/assets/webgl-error/t9n/messages.zh-TW.json +1 -0
  280. package/dist/cdn/index.js +2 -2
  281. package/dist/cdn/main.css +1 -1
  282. package/dist/chunks/AnalysisViewModel.js +1 -1
  283. package/dist/chunks/action-utils.js +1 -1
  284. package/dist/chunks/async-utils.js +1 -1
  285. package/dist/chunks/basemap-gallery-resources.js +1 -1
  286. package/dist/chunks/building-layer-utils.js +1 -1
  287. package/dist/chunks/chart-utils.js +1 -1
  288. package/dist/chunks/chartCommon.js +1 -1
  289. package/dist/chunks/component-utils.js +1 -1
  290. package/dist/chunks/component-wrapper.js +1 -1
  291. package/dist/chunks/constants.js +1 -1
  292. package/dist/chunks/createCloseEvent.js +1 -1
  293. package/dist/chunks/esri-main.js +1 -1
  294. package/dist/chunks/feature-utils.js +1 -1
  295. package/dist/chunks/globalCss.js +1 -1
  296. package/dist/chunks/handle.js +1 -1
  297. package/dist/chunks/heading.js +1 -1
  298. package/dist/chunks/layer-list.js +1 -1
  299. package/dist/chunks/legacyIcon.js +1 -1
  300. package/dist/chunks/maybe.js +1 -1
  301. package/dist/chunks/measurementUtils.js +1 -1
  302. package/dist/chunks/runtime.js +1 -1
  303. package/dist/chunks/screenLocation.js +1 -1
  304. package/dist/chunks/slots.js +1 -1
  305. package/dist/chunks/svgUtils.js +1 -1
  306. package/dist/chunks/time-utils.js +1 -1
  307. package/dist/chunks/univariateUtils.js +1 -1
  308. package/dist/chunks/useArcgisViewReadyError.js +45 -45
  309. package/dist/chunks/useHandles.js +1 -1
  310. package/dist/chunks/useT9n.js +1 -1
  311. package/dist/chunks/useView.js +1 -1
  312. package/dist/chunks/useViewModel.js +1 -1
  313. package/dist/chunks/useWidget.js +1 -1
  314. package/dist/chunks/utils.js +1 -1
  315. package/dist/chunks/utils2.js +1 -1
  316. package/dist/chunks/visible-element.js +1 -1
  317. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -0
  318. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  319. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +4 -0
  320. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  321. package/dist/components/arcgis-attachments/customElement.d.ts +4 -0
  322. package/dist/components/arcgis-attachments/customElement.js +1 -1
  323. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -0
  324. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  325. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  326. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +6 -0
  327. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  328. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -0
  329. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  330. package/dist/components/arcgis-bookmarks/customElement.d.ts +7 -0
  331. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  332. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  333. package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -0
  334. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  335. package/dist/components/arcgis-building-level-item/customElement.d.ts +5 -0
  336. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  337. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  338. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  339. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +6 -0
  340. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  341. package/dist/components/arcgis-color-select/customElement.d.ts +3 -0
  342. package/dist/components/arcgis-color-select/customElement.js +1 -1
  343. package/dist/components/arcgis-compass/customElement.d.ts +4 -0
  344. package/dist/components/arcgis-compass/customElement.js +1 -1
  345. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +5 -0
  346. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  347. package/dist/components/arcgis-daylight/customElement.d.ts +4 -0
  348. package/dist/components/arcgis-daylight/customElement.js +1 -1
  349. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +4 -0
  350. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  351. package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -0
  352. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  353. package/dist/components/arcgis-directions/customElement.d.ts +4 -0
  354. package/dist/components/arcgis-directions/customElement.js +1 -1
  355. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +4 -0
  356. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  357. package/dist/components/arcgis-editor/customElement.d.ts +6 -0
  358. package/dist/components/arcgis-editor/customElement.js +1 -1
  359. package/dist/components/arcgis-elevation-profile/customElement.d.ts +4 -0
  360. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  361. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  362. package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +3 -0
  363. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  364. package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +3 -0
  365. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  366. package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -0
  367. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  368. package/dist/components/arcgis-expand/customElement.d.ts +4 -0
  369. package/dist/components/arcgis-expand/customElement.js +1 -1
  370. package/dist/components/arcgis-feature/customElement.d.ts +4 -0
  371. package/dist/components/arcgis-feature/customElement.js +42 -49
  372. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  373. package/dist/components/arcgis-feature-content/customElement.js +20 -19
  374. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  375. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  376. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  377. package/dist/components/arcgis-feature-form/customElement.d.ts +6 -0
  378. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  379. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  380. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  381. package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
  382. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  383. package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -0
  384. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  385. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  386. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  387. package/dist/components/arcgis-features/customElement.d.ts +6 -0
  388. package/dist/components/arcgis-features/customElement.js +49 -49
  389. package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -0
  390. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  391. package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -0
  392. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  393. package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -0
  394. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  395. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +4 -0
  396. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  397. package/dist/components/arcgis-home/customElement.d.ts +5 -0
  398. package/dist/components/arcgis-home/customElement.js +1 -1
  399. package/dist/components/arcgis-labeled-switch/customElement.d.ts +3 -0
  400. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  401. package/dist/components/arcgis-layer-list/customElement.d.ts +6 -0
  402. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  403. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  404. package/dist/components/arcgis-legend/customElement.d.ts +4 -0
  405. package/dist/components/arcgis-legend/customElement.js +1 -1
  406. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  407. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  408. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  409. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  410. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  411. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  412. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  413. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  414. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  415. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  416. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  417. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  418. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  419. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  420. package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -0
  421. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  422. package/dist/components/arcgis-link-chart/customElement.d.ts +26 -0
  423. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  424. package/dist/components/arcgis-link-chart/index.d.ts +1 -2
  425. package/dist/components/arcgis-link-chart/index.js +1 -2
  426. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +5 -0
  427. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  428. package/dist/components/arcgis-locate/customElement.d.ts +6 -0
  429. package/dist/components/arcgis-locate/customElement.js +1 -1
  430. package/dist/components/arcgis-map/customElement.d.ts +26 -0
  431. package/dist/components/arcgis-map/customElement.js +1 -1
  432. package/dist/components/arcgis-map/index.d.ts +1 -2
  433. package/dist/components/arcgis-map/index.js +1 -2
  434. package/dist/components/arcgis-measurement/customElement.d.ts +4 -0
  435. package/dist/components/arcgis-measurement/customElement.js +1 -1
  436. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  437. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +4 -0
  438. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  439. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +4 -0
  440. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  441. package/dist/components/arcgis-placement/customElement.d.ts +3 -0
  442. package/dist/components/arcgis-placement/customElement.js +1 -1
  443. package/dist/components/arcgis-popup/customElement.d.ts +6 -0
  444. package/dist/components/arcgis-popup/customElement.js +1 -1
  445. package/dist/components/arcgis-presentation/customElement.d.ts +3 -0
  446. package/dist/components/arcgis-presentation/customElement.js +1 -1
  447. package/dist/components/arcgis-print/customElement.d.ts +8 -0
  448. package/dist/components/arcgis-print/customElement.js +1 -1
  449. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  450. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  451. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  452. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  453. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  454. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  455. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  456. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  457. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  458. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  459. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  460. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  461. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  462. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  463. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  464. package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -0
  465. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  466. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +4 -0
  467. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  468. package/dist/components/arcgis-scene/customElement.d.ts +26 -0
  469. package/dist/components/arcgis-scene/customElement.js +1 -1
  470. package/dist/components/arcgis-scene/index.d.ts +1 -2
  471. package/dist/components/arcgis-scene/index.js +1 -2
  472. package/dist/components/arcgis-search/customElement.d.ts +10 -0
  473. package/dist/components/arcgis-search/customElement.js +1 -1
  474. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +3 -0
  475. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  476. package/dist/components/arcgis-shadow-cast/customElement.d.ts +4 -0
  477. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  478. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  479. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  480. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  481. package/dist/components/arcgis-sketch/customElement.d.ts +10 -1
  482. package/dist/components/arcgis-sketch/customElement.js +1 -1
  483. package/dist/components/arcgis-slice/customElement.d.ts +4 -0
  484. package/dist/components/arcgis-slice/customElement.js +1 -1
  485. package/dist/components/arcgis-spinner/customElement.js +1 -1
  486. package/dist/components/arcgis-swipe/customElement.d.ts +6 -0
  487. package/dist/components/arcgis-swipe/customElement.js +1 -1
  488. package/dist/components/arcgis-table-list/customElement.d.ts +6 -0
  489. package/dist/components/arcgis-table-list/customElement.js +1 -1
  490. package/dist/components/arcgis-time-slider/customElement.d.ts +5 -0
  491. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  492. package/dist/components/arcgis-time-zone-label/customElement.d.ts +4 -0
  493. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  494. package/dist/components/arcgis-track/customElement.d.ts +6 -0
  495. package/dist/components/arcgis-track/customElement.js +1 -1
  496. package/dist/components/arcgis-unit-select/customElement.d.ts +3 -0
  497. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  498. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  499. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +3 -0
  500. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  501. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  502. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +9 -0
  503. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  504. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +7 -0
  505. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  506. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -0
  507. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  508. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +5 -0
  509. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  510. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  511. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +5 -0
  512. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  513. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +4 -0
  514. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  515. package/dist/components/arcgis-value-picker/customElement.d.ts +9 -0
  516. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  517. package/dist/components/arcgis-version-management/customElement.d.ts +4 -0
  518. package/dist/components/arcgis-version-management/customElement.js +1 -1
  519. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +8 -0
  520. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  521. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +7 -0
  522. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  523. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +6 -0
  524. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  525. package/dist/components/arcgis-video/customElement.d.ts +3 -0
  526. package/dist/components/arcgis-video/customElement.js +1 -1
  527. package/dist/components/arcgis-video-player/customElement.d.ts +5 -0
  528. package/dist/components/arcgis-video-player/customElement.js +1 -1
  529. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  530. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  531. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  532. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  533. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  534. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  535. package/dist/components/arcgis-volume-measurement/customElement.d.ts +4 -0
  536. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  537. package/dist/components/arcgis-weather/customElement.d.ts +4 -0
  538. package/dist/components/arcgis-weather/customElement.js +1 -1
  539. package/dist/components/arcgis-webgl-error/customElement.d.ts +18 -0
  540. package/dist/components/arcgis-webgl-error/customElement.js +22 -0
  541. package/dist/components/arcgis-webgl-error/index.d.ts +3 -0
  542. package/dist/components/arcgis-webgl-error/index.js +3 -0
  543. package/dist/components/arcgis-zoom/customElement.d.ts +5 -0
  544. package/dist/components/arcgis-zoom/customElement.js +1 -1
  545. package/dist/docs/api.json +107 -4
  546. package/dist/docs/docs.json +87 -3
  547. package/dist/docs/vscode.html-custom-data.json +17 -0
  548. package/dist/docs/web-types.json +28 -2
  549. package/dist/index.d.ts +452 -1225
  550. package/dist/index.js +1 -1
  551. package/dist/loader.js +2 -1
  552. package/dist/types/lumina.d.ts +5 -0
  553. package/dist/types/preact.d.ts +6 -0
  554. package/dist/types/react.d.ts +7 -0
  555. package/dist/types/stencil.d.ts +5 -0
  556. package/package.json +3 -3
  557. package/dist/cdn/4Q74VQOX.js +0 -4
  558. package/dist/cdn/FAJWOUSX.js +0 -4
  559. package/dist/cdn/HP3JCH3U.js +0 -4
  560. package/dist/cdn/W36NI7PR.js +0 -4
  561. package/dist/cdn/Y265FDWV.js +0 -4
  562. package/dist/types/preact10.d.ts +0 -859
@@ -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.106 */
4
- import a from"./INWU4LMZ.js";export default $arcgis.t(([{a:r}])=>{function w(){let t=new AbortController;return async n=>{t.abort(),t=new AbortController;let l={signal:t.signal},e=n.toArray().map(a=>u(a,l));await Promise.all(e),r(l)}}async function u(t,n){await t.load(n),await t.loadAll(),r(n),t.summaryStatistics&&await t.summaryStatistics.load(n)}var i="fullmodel",c=t=>n=>{let l=t.toLowerCase();return n.sublayers.find(e=>e.modelName?.toLowerCase()===l)??null},y=c(i);function p(t,n){let l=m(t,n);if(l==null)return null;let e=l.fieldName;if(e==null||!e)return null;let a=f(t,e),s=new Map;for(let o of l.mostFrequentValues??[])typeof o=="number"&&s.set(o,a!=null?a.getName(o):String(o));return{fieldName:e,fieldValueMap:s}}function f(t,n){for(let l of t.allSublayers){let e=l.type==="building-component"?l.getFieldDomain?.(n):null;if(e?.type==="coded-value")return e}return null}function m(t,n){let l=t.summaryStatistics?.fields??[],e=n.toLowerCase();return l.find(a=>a.modelName?.toLowerCase()===e)??null}return{a:w,b:y,c:p}},a)
3
+ v5.0.0-next.107 */
4
+ import a from"./UJ4XYB5R.js";export default $arcgis.t(([{a:r}])=>{function w(){let t=new AbortController;return async n=>{t.abort(),t=new AbortController;let l={signal:t.signal},e=n.toArray().map(a=>u(a,l));await Promise.all(e),r(l)}}async function u(t,n){await t.load(n),await t.loadAll(),r(n),t.summaryStatistics&&await t.summaryStatistics.load(n)}var i="fullmodel",c=t=>n=>{let l=t.toLowerCase();return n.sublayers.find(e=>e.modelName?.toLowerCase()===l)??null},y=c(i);function p(t,n){let l=m(t,n);if(l==null)return null;let e=l.fieldName;if(e==null||!e)return null;let a=f(t,e),s=new Map;for(let o of l.mostFrequentValues??[])typeof o=="number"&&s.set(o,a!=null?a.getName(o):String(o));return{fieldName:e,fieldValueMap:s}}function f(t,n){for(let l of t.allSublayers){let e=l.type==="building-component"?l.getFieldDomain?.(n):null;if(e?.type==="coded-value")return e}return null}function m(t,n){let l=t.summaryStatistics?.fields??[],e=n.toLowerCase();return l.find(a=>a.modelName?.toLowerCase()===e)??null}return{a:w,b:y,c:p}},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.106 */
4
- import d from"./7W7CV34X.js";import c from"./SLRXIF24.js";import b from"./DDLE4GPQ.js";import{g as n}from"./LNFJWHDS.js";import"./DAPY4727.js";import"./ZL4KQNXQ.js";import"./V5QH4MPV.js";import{N as o,T as a,a as t,x as r}from"./OLP27SMS.js";import"./TXDRSMER.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.107 */
4
+ import d from"./N4CJMGV7.js";import c from"./OV2FYNNN.js";import b from"./5FRHYOKF.js";import{g as n}from"./DTWZQKMB.js";import"./PDYWTNWL.js";import"./Z4YJU46U.js";import"./IQM76OJZ.js";import{N as o,T as a,a as t,x as r}from"./2HGJ6QHW.js";import"./RB33CPRZ.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)
@@ -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.106 */
4
- import b from"./PIGAA562.js";import{a as d}from"./WMDWTYND.js";import{O as g,R as h,T as f,a as m,b as a}from"./OLP27SMS.js";import"./TXDRSMER.js";export default $arcgis.t(([{stripHTML:w},{formatNumber:$,substitute:_},y])=>{var b=m`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,A="nested",u=class extends y{constructor(){super(...arguments),this.displayCount=3,this.flowType="feature-utility-network-association-type"}static{this.properties={description:1,displayCount:9,endIndex:32,flowItems:0,flowType:1,heading:1,map:0,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}get endIndex(){let{currentFeaturePage:t,featuresPerPage:e,maxFeatureCount:s}=this;return Math.min(t*e,s)}_featureViewModelMatch(t,e){let s=t.graphic,i=s?.layer,o=null;i?.type==="subtype-sublayer"&&i.parent?o=i.parent.globalIdField??null:i&&"globalIdField"in i&&(o=i.globalIdField);let l=o?s?.attributes[o]:null,r=e.graphic,n=r?.layer,c=null;n?.type==="subtype-sublayer"&&n.parent?c=n.parent.globalIdField??null:n&&"globalIdField"in n&&(c=n.globalIdField);let p=c?r?.attributes[c]:null;return l&&p&&l===p}_findFlowItem(t){return this.flowItems?.findIndex(e=>{if(e.flowType!=="feature-association")return!1;let s=e.viewModel;return this._featureViewModelMatch(s,t)})??-1}_formatPercentAlong(t){let{percentAlong:e}=t;return e==null?"":$(e,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(t,e,s){let{flowItems:i}=this;if(t){i?.removeAll();return}if(e<0||!i){await this._selectAssociation(s);return}for(;i.length>e+1;)i.pop()}_isConnectivityAssociation(t){let{associationType:e}=t;return e==="connectivity"||e==="junction-junction-connectivity"||e==="junction-edge-from-connectivity"||e==="junction-edge-midspan-connectivity"||e==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(t){return t.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(t){let e=this.flowItems?.getItemAt(0);if(!e)return!1;let s=e.parentFeatureViewModel;return this._featureViewModelMatch(s,t)}async _selectAssociation(t){let{flowItems:e}=this;e&&e.push(h(d(this.parentFeatureViewModel,a`<arcgis-feature .flowItems=${e} .flowType=${"feature-utility-network-associations"} .graphic=${t.graphic} .map=${this.map} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_showAllAssociations(t){let{flowItems:e,description:s}=this;if(!e||!t)return;this.showAllEnabled=!0;let i=t?.title??"";e.push(h(a`<arcgis-feature-utility-network-association-list .associationViewModels=${this.associationViewModels} .description=${s} .flowItems=${e} .flowType=${this.flowType} .heading=${i} .messages=${this.messages} .parentFeatureViewModel=${this.parentFeatureViewModel} .selectedLayer=${t} .showAllEnabled=${this.showAllEnabled}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:t,state:e}=this,s=this.selectedLayer?.title??this.messages?.noTitle??"";return a`<div>${e==="loading"||e==="querying"?this._renderLoading():a`<calcite-list .displayMode=${A} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this.messages?.associationFilterPlaceholder} .filterPlaceholder=${this.messages?.associationFilterPlaceholder} .label=${s}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(t.keys(),i=>this._renderTypeList(i))}</calcite-list>`}</div>`}_renderAssociatedFeature(t){let{featureViewModel:e,title:s}=t,i=this.state==="loading",o=this._findFlowItem(e),l=o<0&&this._isParentFeature(e),r=l||o>=0,n=`associated-feature-${t.association.globalId}`;return a`<calcite-list-item class=${g(i?"list-item--hidden":"")} .description=${w(t.terminalName??"")} .label=${w(s)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(l,o,e)}>${this._isConnectivityAssociation(t.association)?this._renderConnectivityIcon(t.association.associationType,n):null}${this._isConnectivityMidspanAssociation(t.association)?a`<calcite-chip .label=${this._formatPercentAlong(t.association)} scale=s slot=content-end>${this._formatPercentAlong(t.association)}</calcite-chip>`:null}${this._renderChevronIconNode(r)}</calcite-list-item>`}_renderAssociatedFeatureList(t){return t.toArray().map(e=>this._renderAssociatedFeature(e))}_renderAssociatedFeatureListPage(){let t=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(t),...this._renderAssociatedFeatureList(t)]}_renderChevronIconNode(t){return a`<calcite-icon flip-rtl .icon=${t?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(t){let{tooltipReferenceMap:e}=this,s=`associated-feature-${t.association.globalId}`;return this._isConnectivityAssociation(t.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${e.get(s)}>${this.getConnectivityTooltip(t.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(t){let{messages:e}=this,{displayCount:s}=this,i=this.associationViewModels.get(t),o=i.slice(0,s),l=o.length<i.length,r=_(e?.numberRecords??"",{number:i.length.toString()}),n=e?.showAll??"";return d("show-all",a`<calcite-list-item expanded .label=${t.title} .value=${t.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${t.id} .label=${t.title??""}>${[this._renderTooltips(o),this._renderAssociatedFeatureList(o)]}${l?d("show-all-item",a`<calcite-list-item .description=${r} .label=${n} @calciteListItemSelect=${()=>this._showAllAssociations(t)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(t){return t.toArray().map(e=>this._renderItemTooltip(e))}};f("arcgis-feature-utility-network-association-list",u);return u},"applications/Components/stringUtils","intl",b)
3
+ v5.0.0-next.107 */
4
+ import b from"./BREHE75K.js";import{a as d}from"./OS3NYQF4.js";import{O as g,R as h,T as f,a as m,b as a}from"./2HGJ6QHW.js";import"./RB33CPRZ.js";export default $arcgis.t(([{stripHTML:w},{formatNumber:$,substitute:_},y])=>{var b=m`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,A="nested",u=class extends y{constructor(){super(...arguments),this.displayCount=3,this.flowType="feature-utility-network-association-type"}static{this.properties={description:1,displayCount:9,endIndex:32,flowItems:0,flowType:1,heading:1,map:0,spatialReference:0,timeZone:1,view:0}}static{this.styles=b}get endIndex(){let{currentFeaturePage:t,featuresPerPage:e,maxFeatureCount:s}=this;return Math.min(t*e,s)}_featureViewModelMatch(t,e){let s=t.graphic,i=s?.layer,o=null;i?.type==="subtype-sublayer"&&i.parent?o=i.parent.globalIdField??null:i&&"globalIdField"in i&&(o=i.globalIdField);let l=o?s?.attributes[o]:null,r=e.graphic,n=r?.layer,c=null;n?.type==="subtype-sublayer"&&n.parent?c=n.parent.globalIdField??null:n&&"globalIdField"in n&&(c=n.globalIdField);let p=c?r?.attributes[c]:null;return l&&p&&l===p}_findFlowItem(t){return this.flowItems?.findIndex(e=>{if(e.flowType!=="feature-association")return!1;let s=e.viewModel;return this._featureViewModelMatch(s,t)})??-1}_formatPercentAlong(t){let{percentAlong:e}=t;return e==null?"":$(e,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(t,e,s){let{flowItems:i}=this;if(t){i?.removeAll();return}if(e<0||!i){await this._selectAssociation(s);return}for(;i.length>e+1;)i.pop()}_isConnectivityAssociation(t){let{associationType:e}=t;return e==="connectivity"||e==="junction-junction-connectivity"||e==="junction-edge-from-connectivity"||e==="junction-edge-midspan-connectivity"||e==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(t){return t.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(t){let e=this.flowItems?.getItemAt(0);if(!e)return!1;let s=e.parentFeatureViewModel;return this._featureViewModelMatch(s,t)}async _selectAssociation(t){let{flowItems:e}=this;e&&e.push(h(d(this.parentFeatureViewModel,a`<arcgis-feature .flowItems=${e} .flowType=${"feature-utility-network-associations"} .graphic=${t.graphic} .map=${this.map} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`)))}_showAllAssociations(t){let{flowItems:e,description:s}=this;if(!e||!t)return;this.showAllEnabled=!0;let i=t?.title??"";e.push(h(a`<arcgis-feature-utility-network-association-list .associationViewModels=${this.associationViewModels} .description=${s} .flowItems=${e} .flowType=${this.flowType} .heading=${i} .messages=${this.messages} .parentFeatureViewModel=${this.parentFeatureViewModel} .selectedLayer=${t} .showAllEnabled=${this.showAllEnabled}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:t,state:e}=this,s=this.selectedLayer?.title??this.messages?.noTitle??"";return a`<div>${e==="loading"||e==="querying"?this._renderLoading():a`<calcite-list .displayMode=${A} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this.messages?.associationFilterPlaceholder} .filterPlaceholder=${this.messages?.associationFilterPlaceholder} .label=${s}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(t.keys(),i=>this._renderTypeList(i))}</calcite-list>`}</div>`}_renderAssociatedFeature(t){let{featureViewModel:e,title:s}=t,i=this.state==="loading",o=this._findFlowItem(e),l=o<0&&this._isParentFeature(e),r=l||o>=0,n=`associated-feature-${t.association.globalId}`;return a`<calcite-list-item class=${g(i?"list-item--hidden":"")} .description=${w(t.terminalName??"")} .label=${w(s)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(l,o,e)}>${this._isConnectivityAssociation(t.association)?this._renderConnectivityIcon(t.association.associationType,n):null}${this._isConnectivityMidspanAssociation(t.association)?a`<calcite-chip .label=${this._formatPercentAlong(t.association)} scale=s slot=content-end>${this._formatPercentAlong(t.association)}</calcite-chip>`:null}${this._renderChevronIconNode(r)}</calcite-list-item>`}_renderAssociatedFeatureList(t){return t.toArray().map(e=>this._renderAssociatedFeature(e))}_renderAssociatedFeatureListPage(){let t=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(t),...this._renderAssociatedFeatureList(t)]}_renderChevronIconNode(t){return a`<calcite-icon flip-rtl .icon=${t?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(t){let{tooltipReferenceMap:e}=this,s=`associated-feature-${t.association.globalId}`;return this._isConnectivityAssociation(t.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${e.get(s)}>${this.getConnectivityTooltip(t.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(t){let{messages:e}=this,{displayCount:s}=this,i=this.associationViewModels.get(t),o=i.slice(0,s),l=o.length<i.length,r=_(e?.numberRecords??"",{number:i.length.toString()}),n=e?.showAll??"";return d("show-all",a`<calcite-list-item expanded .label=${t.title} .value=${t.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${t.id} .label=${t.title??""}>${[this._renderTooltips(o),this._renderAssociatedFeatureList(o)]}${l?d("show-all-item",a`<calcite-list-item .description=${r} .label=${n} @calciteListItemSelect=${()=>this._showAllAssociations(t)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(t){return t.toArray().map(e=>this._renderItemTooltip(e))}};f("arcgis-feature-utility-network-association-list",u);return u},"applications/Components/stringUtils","intl",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.106 */
4
- import"./TXDRSMER.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.107 */
4
+ import"./RB33CPRZ.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.106 */
4
- import b from"./KR222BAB.js";import a from"./INWU4LMZ.js";import"./CNAIAW5M.js";import{N as f,Q as v,T as w,a as m,b as y}from"./OLP27SMS.js";import"./TXDRSMER.js";export default $arcgis.t(([g,O,{property:n,subclass:E},{watch:L,on:k},{c:C},{a:S,b:V}])=>{var A=Object.defineProperty,N=Object.getOwnPropertyDescriptor,d=(e,t,i,r)=>{for(var s=r>1?void 0:r?N(t,i):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(s=(r?a(t,i,s):a(s))||s);return r&&s&&A(t,i,s),s},o=class extends O{constructor(e){super(e),this.id="root",this.children=new g,this.layers=new g,this.level=0,this.childIds=new Set,this.layerUniqueIds=new Set}initialize(){this.addHandles([this.layers.on("before-add",e=>{this.layerUniqueIds.has(e.item.uid)?e.preventDefault():this.layerUniqueIds.add(e.item.uid)}),this.layers.on("after-add",({item:e})=>{this.addHandles([L(()=>e.visible,()=>this.notifyChange("visible"),{initial:!0}),L(()=>e.title,()=>this.notifyChange("title"),{initial:!0})],e.uid)}),this.layers.on("before-remove",({item:e})=>{this.removeHandles(e.uid),this.notifyChange("title"),this.notifyChange("visible")}),this.children.on("before-add",e=>{this.childIds.has(e.item.id)?e.preventDefault():(e.item._set("parent",this),this.childIds.add(e.item.id))})])}destroy(){this.children.forEach(e=>e.destroy())}get hasChildren(){return this.children.length>0}get isDiscipline(){return this.level===1}get visible(){return $(this.layers,e=>e.visible)}get title(){return $(this.layers,e=>e.title)||this.layers.map(e=>e.title).join(", ")||null}toggleVisibility(e){let t=e===void 0?!this.visible:e;this.layers.forEach(i=>{i.visible=t}),t&&this.parent!=null&&this.parent.toggleVisibility(!0)}toggleAllSiblingsVisibility(e){let t=e===void 0?!this.visible:e;this.toggleVisibility(t),this.parent!=null&&(this.parent.toggleVisibility(t),this.parent.children.forEach(i=>i.toggleVisibility(t)))}};d([n({})],o.prototype,"id",2);d([n()],o.prototype,"parent",2);d([n({readOnly:!0})],o.prototype,"children",2);d([n({readOnly:!0})],o.prototype,"layers",2);d([n({})],o.prototype,"level",2);d([n({readOnly:!0})],o.prototype,"hasChildren",1);d([n({readOnly:!0})],o.prototype,"isDiscipline",1);d([n({readOnly:!0})],o.prototype,"visible",1);d([n({readOnly:!0})],o.prototype,"title",1);o=d([E("esri.widgets.BuildingExplorer.support.LayerTreeNode")],o);function $(e,t){let i=null;for(let r of e){let s=t(r);if(i!=null&&i!==s)return null;i=s}return i}var T=Object.defineProperty,F=Object.getOwnPropertyDescriptor,_=e=>{throw TypeError(e)},p=(e,t,i,r)=>{for(var s=r>1?void 0:r?F(t,i):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(s=(r?a(t,i,s):a(s))||s);return r&&s&&T(t,i,s),s},P=(e,t,i)=>t.has(e)||_("Cannot "+i),u=(e,t,i)=>(P(e,t,"read from private field"),i?i.call(e):t.get(e)),j=(e,t,i)=>t.has(e)?_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),c,h=class extends O{constructor(e){super(e),this.root=new o,j(this,c,new g),this.state="disabled",this.loadLayers=S()}initialize(){this.addHandles(k(()=>this.layers,"change",()=>void this._onLayersChange(),{onListenerAdd:()=>void this._onLayersChange(),onListenerRemove:()=>void this._onLayersChange()})),this._onLayersChange()}destroy(){this._set("state","disabled"),this.root.destroy()}get layers(){return u(this,c)}set layers(e){u(this,c).removeAll(),u(this,c).addMany(e)}updateLayerTree(){this.root.destroy(),this._set("root",new o);let e=new Map,t=this.layers.length>1?"modelName":"id";return this.layers.forEach(i=>{let r=V(i);this.addNodesForSublayers(r??i,this.root,e,t)}),this}addNodeForLayer(e,t,i,r){let s=String(e[r]).toLowerCase();if(s==null||e.isEmpty)return;let l=`${t.id}/${s}`,a=i.get(l);a||(a=new o({id:s,level:t.level+1}),i.set(l,a)),a.layers.push(e),t.children.push(a),this.addNodesForSublayers(e,a,i,r)}addNodesForSublayers(e,t,i,r){(e.type==="building-scene"||e.type==="building-group"&&!e.isEmpty)&&e.sublayers.forEach(s=>this.addNodeForLayer(s,t,i,r))}async _onLayersChange(){if(this._set("state","loading"),this.layers.length!==0)try{await this.loadLayers(this.layers),this.updateLayerTree(),this._set("state","ready")}catch(e){C(e)||this._set("state","failed")}}};c=new WeakMap;p([n()],h.prototype,"root",2);p([n()],h.prototype,"layers",1);p([n()],h.prototype,"state",2);h=p([E("esri.components.BuildingExplorer.BuildingDisciplinesViewModel")],h);var B=m`.label{--calcite-label-margin-bottom: 0}`,b=class extends f{constructor(){super(...arguments),this.#e=new h,this.toggleSiblingsVisibility=!1}static{this.properties={layers:0,messages:0,toggleSiblingsVisibility:5}}static{this.styles=B}#e;get layers(){return this.#e.layers.toArray()}set layers(t){this.#e.layers=new g(t)}render(){let t=this.messages,i=this.#e;return t==null?null:y`<calcite-tree lines selection-mode=none>${i.root.children.toArray().filter(r=>!r.isDiscipline||r.hasChildren).reverse().map(r=>x({messages:t,node:r,toggleSiblingsVisibility:this.toggleSiblingsVisibility}))}${D({node:i.root,messages:t})}</calcite-tree>`}};function x(e){let t=e.node,i=t.visible===!0,r=t.visible===null,s=i?e.messages.hideSublayer:e.messages.showSublayer;return y`<calcite-tree-item><calcite-label class="label" layout=inline><calcite-checkbox .checked=${i} .indeterminate=${r} .label=${s} @click=${l=>{l.stopPropagation(),(l.metaKey||l.ctrlKey)&&e.toggleSiblingsVisibility&&(t.toggleVisibility(),t.toggleAllSiblingsVisibility())}} title=${s??v} @calciteCheckboxChange=${l=>{t.toggleVisibility(l.currentTarget.checked)}}></calcite-checkbox>${e.node.title}</calcite-label>${e.node.hasChildren?y`<calcite-tree lines selection-mode=none slot=children>${D({node:e.node,messages:e.messages})}</calcite-tree>`:null}</calcite-tree-item>`}function D(e){return e.node.children.toArray().reverse().map(t=>x({node:t,messages:e.messages,toggleSiblingsVisibility:e.toggleSiblingsVisibility}))}w("arcgis-building-discipline-tree",b);return b},"core/Collection","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils",a,b)
3
+ v5.0.0-next.107 */
4
+ import b from"./M4XARN24.js";import a from"./UJ4XYB5R.js";import"./Y37KVMYX.js";import{N as f,Q as v,T as w,a as m,b as y}from"./2HGJ6QHW.js";import"./RB33CPRZ.js";export default $arcgis.t(([g,O,{property:n,subclass:E},{watch:L,on:k},{c:C},{a:S,b:V}])=>{var A=Object.defineProperty,N=Object.getOwnPropertyDescriptor,d=(e,t,i,r)=>{for(var s=r>1?void 0:r?N(t,i):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(s=(r?a(t,i,s):a(s))||s);return r&&s&&A(t,i,s),s},o=class extends O{constructor(e){super(e),this.id="root",this.children=new g,this.layers=new g,this.level=0,this.childIds=new Set,this.layerUniqueIds=new Set}initialize(){this.addHandles([this.layers.on("before-add",e=>{this.layerUniqueIds.has(e.item.uid)?e.preventDefault():this.layerUniqueIds.add(e.item.uid)}),this.layers.on("after-add",({item:e})=>{this.addHandles([L(()=>e.visible,()=>this.notifyChange("visible"),{initial:!0}),L(()=>e.title,()=>this.notifyChange("title"),{initial:!0})],e.uid)}),this.layers.on("before-remove",({item:e})=>{this.removeHandles(e.uid),this.notifyChange("title"),this.notifyChange("visible")}),this.children.on("before-add",e=>{this.childIds.has(e.item.id)?e.preventDefault():(e.item._set("parent",this),this.childIds.add(e.item.id))})])}destroy(){this.children.forEach(e=>e.destroy())}get hasChildren(){return this.children.length>0}get isDiscipline(){return this.level===1}get visible(){return $(this.layers,e=>e.visible)}get title(){return $(this.layers,e=>e.title)||this.layers.map(e=>e.title).join(", ")||null}toggleVisibility(e){let t=e===void 0?!this.visible:e;this.layers.forEach(i=>{i.visible=t}),t&&this.parent!=null&&this.parent.toggleVisibility(!0)}toggleAllSiblingsVisibility(e){let t=e===void 0?!this.visible:e;this.toggleVisibility(t),this.parent!=null&&(this.parent.toggleVisibility(t),this.parent.children.forEach(i=>i.toggleVisibility(t)))}};d([n({})],o.prototype,"id",2);d([n()],o.prototype,"parent",2);d([n({readOnly:!0})],o.prototype,"children",2);d([n({readOnly:!0})],o.prototype,"layers",2);d([n({})],o.prototype,"level",2);d([n({readOnly:!0})],o.prototype,"hasChildren",1);d([n({readOnly:!0})],o.prototype,"isDiscipline",1);d([n({readOnly:!0})],o.prototype,"visible",1);d([n({readOnly:!0})],o.prototype,"title",1);o=d([E("esri.widgets.BuildingExplorer.support.LayerTreeNode")],o);function $(e,t){let i=null;for(let r of e){let s=t(r);if(i!=null&&i!==s)return null;i=s}return i}var T=Object.defineProperty,F=Object.getOwnPropertyDescriptor,_=e=>{throw TypeError(e)},p=(e,t,i,r)=>{for(var s=r>1?void 0:r?F(t,i):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(s=(r?a(t,i,s):a(s))||s);return r&&s&&T(t,i,s),s},P=(e,t,i)=>t.has(e)||_("Cannot "+i),u=(e,t,i)=>(P(e,t,"read from private field"),i?i.call(e):t.get(e)),j=(e,t,i)=>t.has(e)?_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),c,h=class extends O{constructor(e){super(e),this.root=new o,j(this,c,new g),this.state="disabled",this.loadLayers=S()}initialize(){this.addHandles(k(()=>this.layers,"change",()=>void this._onLayersChange(),{onListenerAdd:()=>void this._onLayersChange(),onListenerRemove:()=>void this._onLayersChange()})),this._onLayersChange()}destroy(){this._set("state","disabled"),this.root.destroy()}get layers(){return u(this,c)}set layers(e){u(this,c).removeAll(),u(this,c).addMany(e)}updateLayerTree(){this.root.destroy(),this._set("root",new o);let e=new Map,t=this.layers.length>1?"modelName":"id";return this.layers.forEach(i=>{let r=V(i);this.addNodesForSublayers(r??i,this.root,e,t)}),this}addNodeForLayer(e,t,i,r){let s=String(e[r]).toLowerCase();if(s==null||e.isEmpty)return;let l=`${t.id}/${s}`,a=i.get(l);a||(a=new o({id:s,level:t.level+1}),i.set(l,a)),a.layers.push(e),t.children.push(a),this.addNodesForSublayers(e,a,i,r)}addNodesForSublayers(e,t,i,r){(e.type==="building-scene"||e.type==="building-group"&&!e.isEmpty)&&e.sublayers.forEach(s=>this.addNodeForLayer(s,t,i,r))}async _onLayersChange(){if(this._set("state","loading"),this.layers.length!==0)try{await this.loadLayers(this.layers),this.updateLayerTree(),this._set("state","ready")}catch(e){C(e)||this._set("state","failed")}}};c=new WeakMap;p([n()],h.prototype,"root",2);p([n()],h.prototype,"layers",1);p([n()],h.prototype,"state",2);h=p([E("esri.components.BuildingExplorer.BuildingDisciplinesViewModel")],h);var B=m`.label{--calcite-label-margin-bottom: 0}`,b=class extends f{constructor(){super(...arguments),this.#e=new h,this.toggleSiblingsVisibility=!1}static{this.properties={layers:0,messages:0,toggleSiblingsVisibility:5}}static{this.styles=B}#e;get layers(){return this.#e.layers.toArray()}set layers(t){this.#e.layers=new g(t)}render(){let t=this.messages,i=this.#e;return t==null?null:y`<calcite-tree lines selection-mode=none>${i.root.children.toArray().filter(r=>!r.isDiscipline||r.hasChildren).reverse().map(r=>x({messages:t,node:r,toggleSiblingsVisibility:this.toggleSiblingsVisibility}))}${D({node:i.root,messages:t})}</calcite-tree>`}};function x(e){let t=e.node,i=t.visible===!0,r=t.visible===null,s=i?e.messages.hideSublayer:e.messages.showSublayer;return y`<calcite-tree-item><calcite-label class="label" layout=inline><calcite-checkbox .checked=${i} .indeterminate=${r} .label=${s} @click=${l=>{l.stopPropagation(),(l.metaKey||l.ctrlKey)&&e.toggleSiblingsVisibility&&(t.toggleVisibility(),t.toggleAllSiblingsVisibility())}} title=${s??v} @calciteCheckboxChange=${l=>{t.toggleVisibility(l.currentTarget.checked)}}></calcite-checkbox>${e.node.title}</calcite-label>${e.node.hasChildren?y`<calcite-tree lines selection-mode=none slot=children>${D({node:e.node,messages:e.messages})}</calcite-tree>`:null}</calcite-tree-item>`}function D(e){return e.node.children.toArray().reverse().map(t=>x({node:t,messages:e.messages,toggleSiblingsVisibility:e.toggleSiblingsVisibility}))}w("arcgis-building-discipline-tree",b);return b},"core/Collection","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils",a,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.106 */
4
- import{a as ve}from"./QRCNGQ6J.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"./LHEZGN6B.js";import{N as O,a as H,u as k}from"./SCPH7FIA.js";import{a as ge,b as ee,d as T,e as f}from"./4JT3OARJ.js";import{U as j,V as ye,g as X,o as w}from"./LZBCX27I.js";import"./TXDRSMER.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.107 */
4
+ import{a as ve}from"./2TZMG5OW.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"./CGPIXTQJ.js";import{N as O,a as H,u as k}from"./TZBEOMTH.js";import{a as ge,b as ee,d as T,e as f}from"./CBB73C6Q.js";import{U as j,V as ye,g as X,o as w}from"./QTSKUYAP.js";import"./RB33CPRZ.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.106 */
4
- import a from"./INWU4LMZ.js";import{a as h}from"./CNAIAW5M.js";import{p as c}from"./OLP27SMS.js";export default $arcgis.t(([{forceInteractive:m},f,{property:r,subclass:g},{ignoreAbortErrors:A},{when:I,watch:v,on:O,whenOnce:F},{a:u,b:d,c:_,d:y}])=>{var b=Object.defineProperty,T=Object.getOwnPropertyDescriptor,a=(s,i,e,n)=>{for(var o=n>1?void 0:n?T(i,e):i,l=s.length-1,p;l>=0;l--)(p=s[l])&&(o=(n?p(i,e,o):p(o))||o);return n&&o&&b(i,e,o),o},w=Symbol("interactiveHandle"),t=class extends f{constructor(){super({}),this.operationState="inactive",this._ownsAnalysis=!1,this.shouldForceInteractive=!0,this._changeFromReconnect=!1,this._userOperationInfo=null,this._loggedUnsupportedErrorMessage=!1}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let s=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let i=!this._changeFromReconnect;this._changeFromReconnect=!1,i&&this._scheduleViewReconnect()};this.addHandles([I(()=>this.view?.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||c("error",this,this.unsupportedErrorMessage)},{sync:!0,initial:!0}),v(()=>[this.analysis,this._viewHasAnalysis],s,{sync:!0}),O(()=>this.view,"analysis-view-destroy",i=>{i.analysis===this.analysis&&s()}),v(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:i},e)=>{let n=e?.view;i!==n&&(this._userOperationInfo=h(this._userOperationInfo),this._disconnectFromView(n)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=h(this._reconnectViewTask),this._userOperationInfo=h(this._userOperationInfo),this.analysisView!=null&&(this.analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get active(){return this._userOperationInfo?.state==="running"}set analysis(s){s!==this._get("analysis")&&(this._userOperationInfo=h(this._userOperationInfo),this._disconnectFromView(this.view),this._setExternalAnalysis(s),this._scheduleViewReconnect())}get connectingToView(){return!!this._reconnectViewTask}get disabled(){return!this.view?.ready||!this.supported}set hideVisualization(s){this._set("hideVisualization",s),this.analysisView&&(this.analysisView.visible=!s)}get ready(){return!!this.analysisView&&!this.connectingToView}get supported(){return!this.view||this.supportedViewType==="both"||this.view.type===this.supportedViewType}get _viewHasAnalysis(){let{view:s}=this;return s?.analyses.includes(this.analysis)===!0}clear(){this._userOperationInfo=h(this._userOperationInfo),this.clearAnalysis()}async start(s){if(this.hideVisualization){c("warn",this,"Cannot start analysis when not visible");return}s?.clear!==!1&&this.clear();let i={task:null,abort:null,state:"pending"},e=y(async n=>{if(i.state="wait-for-view-ready",await F(()=>this.ready,n),i.state="running",!this.analysisView||!this.view)return;this.operationState="active";let o=s?.operation?.({signal:n})??this.place({signal:n});await A(o)});return e.promise.finally(()=>{(this._userOperationInfo===i||!this._userOperationInfo)&&(this.operationState="inactive")}),i.task=e,i.abort=()=>e.abort(),this._userOperationInfo=i,await e.promise}stop(){this._userOperationInfo=h(this._userOperationInfo)}place(s){throw new Error("place() not implemented for this analysis view model")}clearAnalysis(){}onConnectToAnalysisView(s){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=h(this._reconnectViewTask);let s=y(async i=>{try{await this._reconnectView(i)}catch(e){if(u(i),!_(e)){c("warn",this,`Failed to use analysis in view model. ${String(e)}`);return}throw e}finally{s===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=s}async _reconnectView(s){let{view:i}=this,e=i?.ready&&this.supported,n=this.analysis;if(this._userOperationInfo=V(this._userOperationInfo),this._disconnectFromView(i),!e||!i||!n)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,i.analyses.add(n));let o=await i.whenAnalysisView(n);if(this.analysisView=o,d(s)){this._userOperationInfo=V(this._userOperationInfo);return}o.visible=!this.hideVisualization,this.shouldForceInteractive&&this.addHandles(m(o),w),this.onConnectToAnalysisView(o)}_disconnectFromView(s){this._ownsAnalysis&&s?.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.clearAnalysis(),s.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this.removeHandles(w),this.analysisView=void 0}_setExternalAnalysis(s){this.analysisView&&!this._ownsAnalysis&&(this.analysisView.visible=void 0,this.removeHandles(w)),this.analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",s),this._changeFromReconnect=!1}};a([r()],t.prototype,"active",1);a([r()],t.prototype,"analysis",1);a([r()],t.prototype,"connectingToView",1);a([r()],t.prototype,"disabled",1);a([r()],t.prototype,"hideVisualization",1);a([r()],t.prototype,"operationState",2);a([r()],t.prototype,"ready",1);a([r()],t.prototype,"supported",1);a([r()],t.prototype,"view",2);a([r()],t.prototype,"_ownsAnalysis",2);a([r()],t.prototype,"_viewHasAnalysis",1);a([r()],t.prototype,"_reconnectViewTask",2);a([r()],t.prototype,"analysisView",2);a([r()],t.prototype,"shouldForceInteractive",2);t=a([g("esri.components.support.AnalysisViewModel")],t);function V(s){return s?.state==="running"?(s.abort(),null):s}return t},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)
3
+ v5.0.0-next.107 */
4
+ import a from"./UJ4XYB5R.js";import{a as h}from"./Y37KVMYX.js";import{p as c}from"./2HGJ6QHW.js";export default $arcgis.t(([{forceInteractive:m},f,{property:r,subclass:g},{ignoreAbortErrors:A},{when:I,watch:v,on:O,whenOnce:F},{a:u,b:d,c:_,d:y}])=>{var b=Object.defineProperty,T=Object.getOwnPropertyDescriptor,a=(s,i,e,n)=>{for(var o=n>1?void 0:n?T(i,e):i,l=s.length-1,p;l>=0;l--)(p=s[l])&&(o=(n?p(i,e,o):p(o))||o);return n&&o&&b(i,e,o),o},w=Symbol("interactiveHandle"),t=class extends f{constructor(){super({}),this.operationState="inactive",this._ownsAnalysis=!1,this.shouldForceInteractive=!0,this._changeFromReconnect=!1,this._userOperationInfo=null,this._loggedUnsupportedErrorMessage=!1}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let s=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let i=!this._changeFromReconnect;this._changeFromReconnect=!1,i&&this._scheduleViewReconnect()};this.addHandles([I(()=>this.view?.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||c("error",this,this.unsupportedErrorMessage)},{sync:!0,initial:!0}),v(()=>[this.analysis,this._viewHasAnalysis],s,{sync:!0}),O(()=>this.view,"analysis-view-destroy",i=>{i.analysis===this.analysis&&s()}),v(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:i},e)=>{let n=e?.view;i!==n&&(this._userOperationInfo=h(this._userOperationInfo),this._disconnectFromView(n)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=h(this._reconnectViewTask),this._userOperationInfo=h(this._userOperationInfo),this.analysisView!=null&&(this.analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get active(){return this._userOperationInfo?.state==="running"}set analysis(s){s!==this._get("analysis")&&(this._userOperationInfo=h(this._userOperationInfo),this._disconnectFromView(this.view),this._setExternalAnalysis(s),this._scheduleViewReconnect())}get connectingToView(){return!!this._reconnectViewTask}get disabled(){return!this.view?.ready||!this.supported}set hideVisualization(s){this._set("hideVisualization",s),this.analysisView&&(this.analysisView.visible=!s)}get ready(){return!!this.analysisView&&!this.connectingToView}get supported(){return!this.view||this.supportedViewType==="both"||this.view.type===this.supportedViewType}get _viewHasAnalysis(){let{view:s}=this;return s?.analyses.includes(this.analysis)===!0}clear(){this._userOperationInfo=h(this._userOperationInfo),this.clearAnalysis()}async start(s){if(this.hideVisualization){c("warn",this,"Cannot start analysis when not visible");return}s?.clear!==!1&&this.clear();let i={task:null,abort:null,state:"pending"},e=y(async n=>{if(i.state="wait-for-view-ready",await F(()=>this.ready,n),i.state="running",!this.analysisView||!this.view)return;this.operationState="active";let o=s?.operation?.({signal:n})??this.place({signal:n});await A(o)});return e.promise.finally(()=>{(this._userOperationInfo===i||!this._userOperationInfo)&&(this.operationState="inactive")}),i.task=e,i.abort=()=>e.abort(),this._userOperationInfo=i,await e.promise}stop(){this._userOperationInfo=h(this._userOperationInfo)}place(s){throw new Error("place() not implemented for this analysis view model")}clearAnalysis(){}onConnectToAnalysisView(s){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=h(this._reconnectViewTask);let s=y(async i=>{try{await this._reconnectView(i)}catch(e){if(u(i),!_(e)){c("warn",this,`Failed to use analysis in view model. ${String(e)}`);return}throw e}finally{s===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=s}async _reconnectView(s){let{view:i}=this,e=i?.ready&&this.supported,n=this.analysis;if(this._userOperationInfo=V(this._userOperationInfo),this._disconnectFromView(i),!e||!i||!n)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,i.analyses.add(n));let o=await i.whenAnalysisView(n);if(this.analysisView=o,d(s)){this._userOperationInfo=V(this._userOperationInfo);return}o.visible=!this.hideVisualization,this.shouldForceInteractive&&this.addHandles(m(o),w),this.onConnectToAnalysisView(o)}_disconnectFromView(s){this._ownsAnalysis&&s?.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.clearAnalysis(),s.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this.removeHandles(w),this.analysisView=void 0}_setExternalAnalysis(s){this.analysisView&&!this._ownsAnalysis&&(this.analysisView.visible=void 0,this.removeHandles(w)),this.analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",s),this._changeFromReconnect=!1}};a([r()],t.prototype,"active",1);a([r()],t.prototype,"analysis",1);a([r()],t.prototype,"connectingToView",1);a([r()],t.prototype,"disabled",1);a([r()],t.prototype,"hideVisualization",1);a([r()],t.prototype,"operationState",2);a([r()],t.prototype,"ready",1);a([r()],t.prototype,"supported",1);a([r()],t.prototype,"view",2);a([r()],t.prototype,"_ownsAnalysis",2);a([r()],t.prototype,"_viewHasAnalysis",1);a([r()],t.prototype,"_reconnectViewTask",2);a([r()],t.prototype,"analysisView",2);a([r()],t.prototype,"shouldForceInteractive",2);t=a([g("esri.components.support.AnalysisViewModel")],t);function V(s){return s?.state==="running"?(s.abort(),null):s}return t},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)