@arcgis/map-components 5.0.0-next.91 → 5.0.0-next.93

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 (439) hide show
  1. package/dist/cdn/{OYGGYFM4.js → 2EYPXTFF.js} +2 -2
  2. package/dist/cdn/2K74GELP.js +4 -0
  3. package/dist/cdn/{QJTGBD6X.js → 2MFHV2FO.js} +2 -2
  4. package/dist/cdn/{CT57DBRY.js → 2SYLV43C.js} +2 -2
  5. package/dist/cdn/{SSK2N7WW.js → 2WH47QS4.js} +2 -2
  6. package/dist/cdn/{6FNU7LLK.js → 2X52Y4DY.js} +1 -1
  7. package/dist/cdn/{6BKQVMG2.js → 32MTZMAK.js} +2 -2
  8. package/dist/cdn/{5U7C6G2W.js → 34CMKCGC.js} +2 -2
  9. package/dist/cdn/{NL6T7BPU.js → 35GBBPCC.js} +2 -2
  10. package/dist/cdn/3CMXOQKR.js +4 -0
  11. package/dist/cdn/{HVI4HJHE.js → 3GSCALYO.js} +2 -2
  12. package/dist/cdn/{6HYJO5OG.js → 3I4WU4YC.js} +2 -2
  13. package/dist/cdn/{CERGZ6NT.js → 3ZJYJKT4.js} +1 -1
  14. package/dist/cdn/{RDHECM5U.js → 4CBRPUWP.js} +2 -2
  15. package/dist/cdn/{DXJI63DK.js → 4CS2VL3M.js} +1 -1
  16. package/dist/cdn/{5Z4WDZ7N.js → 4OME7L5U.js} +2 -2
  17. package/dist/cdn/{KQWBRXMA.js → 4QKW66H5.js} +2 -2
  18. package/dist/cdn/{55KFO5CX.js → 4SMNBNGK.js} +2 -2
  19. package/dist/cdn/{CWMPJEKA.js → 52BXF3C7.js} +2 -2
  20. package/dist/cdn/{GNXABHKT.js → 54V2IFLH.js} +2 -2
  21. package/dist/cdn/{53KK4WBP.js → 57QYO2SZ.js} +2 -2
  22. package/dist/cdn/{V6P4B3WO.js → 5AZGJJBB.js} +2 -2
  23. package/dist/cdn/{RK2QPRRK.js → 5BNYLJUH.js} +2 -2
  24. package/dist/cdn/{IUD3QJYC.js → 5CRZIWKK.js} +2 -2
  25. package/dist/cdn/{WG4DXJ4T.js → 5DYLDR23.js} +1 -1
  26. package/dist/cdn/5OPBLLLV.js +4 -0
  27. package/dist/cdn/{4BOXQI4C.js → 5RMRGBB6.js} +2 -2
  28. package/dist/cdn/{7HY7X6MN.js → 5TRI5LVW.js} +2 -2
  29. package/dist/cdn/{DR7SVRJF.js → 5W4G4PNT.js} +2 -2
  30. package/dist/cdn/{OZZ2C7NU.js → 5X7I5S7U.js} +1 -1
  31. package/dist/cdn/62PN6GJT.js +4 -0
  32. package/dist/cdn/{KESCDVE4.js → 6DR2R4FP.js} +2 -2
  33. package/dist/cdn/{AMZEOKDR.js → 6FNWDXZ7.js} +2 -2
  34. package/dist/cdn/{XG7GUCKZ.js → 6PJ27SYB.js} +2 -2
  35. package/dist/cdn/{NUM4I2XN.js → 6TUT4EAX.js} +2 -2
  36. package/dist/cdn/{DFRT6XXV.js → 7CIDOHVU.js} +2 -2
  37. package/dist/cdn/{TKLFLDXV.js → 7WYEZ3Z3.js} +2 -2
  38. package/dist/cdn/{RK7PFFA5.js → 7ZQ2L277.js} +2 -2
  39. package/dist/cdn/{IMXL54YJ.js → A2BLKHQ2.js} +2 -2
  40. package/dist/cdn/{CPIHPBMX.js → AAMNBOQU.js} +2 -2
  41. package/dist/cdn/{UFGQXXVJ.js → AGQVEZYR.js} +2 -2
  42. package/dist/cdn/{CJKCLZTV.js → APEJ2ZG4.js} +2 -2
  43. package/dist/cdn/{FVDWM3UW.js → ATVD3FQ5.js} +2 -2
  44. package/dist/cdn/{ZARBNZSI.js → B53ZEH7P.js} +2 -2
  45. package/dist/cdn/{CXMUDHE2.js → BC3MKGHQ.js} +2 -2
  46. package/dist/cdn/{DYGVURCV.js → BDUP5B7P.js} +2 -2
  47. package/dist/cdn/{5QC4FGZU.js → BEPXBBSX.js} +2 -2
  48. package/dist/cdn/{LTBTGHGQ.js → BIESEO2T.js} +2 -2
  49. package/dist/cdn/{U7LVYYBG.js → BJ4X4HTB.js} +2 -2
  50. package/dist/cdn/{S2ALDXOC.js → BJIJTBTP.js} +2 -2
  51. package/dist/cdn/{LDFYBTG7.js → BML7RRFR.js} +2 -2
  52. package/dist/cdn/{WW3WGDJ3.js → BV4QE6GM.js} +1 -1
  53. package/dist/cdn/{QVBN7TCB.js → BXSJVOYL.js} +2 -2
  54. package/dist/cdn/{VS36V4IF.js → C52USQZY.js} +2 -2
  55. package/dist/cdn/{MKGWOZ5O.js → CAG5LQXB.js} +2 -2
  56. package/dist/cdn/{DNUFN6KO.js → CHY3F7MV.js} +2 -2
  57. package/dist/cdn/{I4HUVWOM.js → CSH7OOTY.js} +2 -2
  58. package/dist/cdn/{4C6RF2QY.js → CZFKF7LP.js} +2 -2
  59. package/dist/cdn/{NZO5C44C.js → D3IOFFLC.js} +2 -2
  60. package/dist/cdn/{6DXSMQGD.js → D4VAL7CE.js} +2 -2
  61. package/dist/cdn/{WYJQICAY.js → DCS6TDWA.js} +2 -2
  62. package/dist/cdn/DDV75YFQ.js +4 -0
  63. package/dist/cdn/{2HW3HWPX.js → DFNYQ5GZ.js} +2 -2
  64. package/dist/cdn/{SIKPDBZG.js → DH5N3EYA.js} +2 -2
  65. package/dist/cdn/{BWFY2GNX.js → DJCU27HU.js} +2 -2
  66. package/dist/cdn/{5WP6EICH.js → DSDVOPJK.js} +2 -2
  67. package/dist/cdn/{NALRCLE3.js → DUV6P2BW.js} +2 -2
  68. package/dist/cdn/{XDSREGSM.js → DXNK2ST2.js} +2 -2
  69. package/dist/cdn/{BP4XKVZD.js → DY2OV6SZ.js} +2 -2
  70. package/dist/cdn/{ASZXOZIM.js → E7KEDQNU.js} +2 -2
  71. package/dist/cdn/{CGQPEAK3.js → EBUGK35V.js} +2 -2
  72. package/dist/cdn/{HTAUNEEY.js → ECR6L3R2.js} +2 -2
  73. package/dist/cdn/{KOSWM4OY.js → ED3BHEDS.js} +2 -2
  74. package/dist/cdn/{O4GE5B7N.js → EMVSZXV7.js} +2 -2
  75. package/dist/cdn/{2MXOM52G.js → EYU24CV4.js} +2 -2
  76. package/dist/cdn/{R6DFAVBI.js → FCRLQNLN.js} +2 -2
  77. package/dist/cdn/{LCKWUZW6.js → FH6Z5IXS.js} +2 -2
  78. package/dist/cdn/{BS73JHFW.js → FM3QTS3C.js} +2 -2
  79. package/dist/cdn/{HLY2LX7U.js → FMCNJXL6.js} +2 -2
  80. package/dist/cdn/FMJLLGYF.js +4 -0
  81. package/dist/cdn/{YOMXSFFA.js → FOVSEOSY.js} +2 -2
  82. package/dist/cdn/{VPUD34CZ.js → FPAYDY37.js} +2 -2
  83. package/dist/cdn/{KCMNURTM.js → FRR2JOHO.js} +2 -2
  84. package/dist/cdn/FRUXL4XG.js +4 -0
  85. package/dist/cdn/FYLJCJ44.js +4 -0
  86. package/dist/cdn/{KXWMHEUU.js → G2DLQJ7Y.js} +2 -2
  87. package/dist/cdn/{KFWSPWIO.js → GBRRLZHP.js} +2 -2
  88. package/dist/cdn/{JN3WVXZT.js → GEDZJZUA.js} +2 -2
  89. package/dist/cdn/GGC2FX5Z.js +4 -0
  90. package/dist/cdn/{YBFSKJWO.js → GHKQYCOR.js} +2 -2
  91. package/dist/cdn/{JVTH36NL.js → GIN554OU.js} +2 -2
  92. package/dist/cdn/{VXEPNA4U.js → GJ6HSQQ4.js} +2 -2
  93. package/dist/cdn/{F4HPN42L.js → GXUPEC6W.js} +2 -2
  94. package/dist/cdn/{7S6SFLC5.js → GYMFVTHG.js} +2 -2
  95. package/dist/cdn/{J6Q5MRI7.js → H6VQWOFY.js} +2 -2
  96. package/dist/cdn/{HMDB77XX.js → H7OJS4LM.js} +2 -2
  97. package/dist/cdn/{ILGHVUYY.js → HF7CWC2S.js} +2 -2
  98. package/dist/cdn/{J62SKED4.js → HXVTT6O6.js} +2 -2
  99. package/dist/cdn/{QRG7NKLV.js → HYBN7ELI.js} +2 -2
  100. package/dist/cdn/{GXSHQ2G5.js → I5CTO7YJ.js} +2 -2
  101. package/dist/cdn/{ZLBE77BX.js → I7JCDSDM.js} +1 -1
  102. package/dist/cdn/{JAKS5FXB.js → IEEHHP3U.js} +2 -2
  103. package/dist/cdn/{TZRRRPXW.js → IJ5BRIGD.js} +2 -2
  104. package/dist/cdn/{N3BAMOML.js → IKNWZBGW.js} +1 -1
  105. package/dist/cdn/{O7RSYCM5.js → IPBMELVN.js} +2 -2
  106. package/dist/cdn/{GGAK5PXP.js → IPHW34NC.js} +2 -2
  107. package/dist/cdn/{X7GEX3I2.js → J2EF2ZWX.js} +2 -2
  108. package/dist/cdn/{DLAHXKSD.js → JFECILAK.js} +2 -2
  109. package/dist/cdn/{5JZNEBUB.js → JHFFVOHO.js} +2 -2
  110. package/dist/cdn/{CVPOVGAH.js → JLID32C6.js} +2 -2
  111. package/dist/cdn/{54MQDNAV.js → JMC23YQA.js} +2 -2
  112. package/dist/cdn/{B3VEO32T.js → JOSZK26L.js} +2 -2
  113. package/dist/cdn/{63T3WESR.js → JP2GTDWK.js} +2 -2
  114. package/dist/cdn/{QIIKVQJZ.js → JU7BX5YV.js} +2 -2
  115. package/dist/cdn/{Y2RGYX3T.js → K2XL3QAA.js} +2 -2
  116. package/dist/cdn/{SKELVPOX.js → KA77ECLW.js} +2 -2
  117. package/dist/cdn/{LNASNNFB.js → KF3KYUW7.js} +2 -2
  118. package/dist/cdn/KHH2SII2.js +4 -0
  119. package/dist/cdn/{U35XJALI.js → KJ2BZIKS.js} +2 -2
  120. package/dist/cdn/{E3WSMIS6.js → KK4KQV3W.js} +2 -2
  121. package/dist/cdn/{EIS5AMJG.js → KME3B73D.js} +2 -2
  122. package/dist/cdn/{RUKJ4DFS.js → KPIKIXNF.js} +2 -2
  123. package/dist/cdn/{4CGZDAGZ.js → KVNZ7JCO.js} +2 -2
  124. package/dist/cdn/{6G2ZCH63.js → L33TUHSN.js} +2 -2
  125. package/dist/cdn/{4W2LGKEX.js → L47HCJ6Z.js} +2 -2
  126. package/dist/cdn/{Y2U6LLTH.js → LFBLDB44.js} +2 -2
  127. package/dist/cdn/{UICEULDX.js → LJE4Y7BY.js} +2 -2
  128. package/dist/cdn/{EPBI7M76.js → LSE6FZBG.js} +2 -2
  129. package/dist/cdn/{5SCGZBII.js → LTGS7O3N.js} +2 -2
  130. package/dist/cdn/{S2QURR2A.js → M3D2NYN3.js} +1 -1
  131. package/dist/cdn/{L24BTNVL.js → MEYRGFBH.js} +2 -2
  132. package/dist/cdn/{DCXTXB7R.js → MT2GC6YZ.js} +2 -2
  133. package/dist/cdn/{BG3DVYGP.js → MZ56KGFA.js} +2 -2
  134. package/dist/cdn/{SLC4YGY2.js → NE7YXC43.js} +2 -2
  135. package/dist/cdn/NMDU3UET.js +4 -0
  136. package/dist/cdn/{Z5NXVC7O.js → NMF2M4P3.js} +1 -1
  137. package/dist/cdn/{72USJ2W5.js → NMGGHZL2.js} +2 -2
  138. package/dist/cdn/{K4IPIMJB.js → NTFEZJBT.js} +2 -2
  139. package/dist/cdn/{ZAWY2BH6.js → NZWVCVZW.js} +2 -2
  140. package/dist/cdn/{AKTTWR3Z.js → OADUNXKK.js} +2 -2
  141. package/dist/cdn/{IZWC7Q25.js → OEPP6CY5.js} +2 -2
  142. package/dist/cdn/{WZAWZYUW.js → OGC3V7MA.js} +2 -2
  143. package/dist/cdn/{OETKUDN7.js → OIXKJYZO.js} +2 -2
  144. package/dist/cdn/{RGFC2BOI.js → OP47YISE.js} +2 -2
  145. package/dist/cdn/{SVAAUL7E.js → OW7J5X2Q.js} +2 -2
  146. package/dist/cdn/{7S5ZZYU5.js → OZMRRK2Y.js} +1 -1
  147. package/dist/cdn/{H7MM3AI6.js → PBU27SUZ.js} +2 -2
  148. package/dist/cdn/{TXOH5L5P.js → PJ77LCUF.js} +2 -2
  149. package/dist/cdn/{TQMLSC2M.js → PKHDNANW.js} +2 -2
  150. package/dist/cdn/{GCPNUMA4.js → PL6CQKLM.js} +2 -2
  151. package/dist/cdn/{ZSGBT2YM.js → PORSXLRL.js} +2 -2
  152. package/dist/cdn/{TAPETWFK.js → PSKZO72G.js} +2 -2
  153. package/dist/cdn/{GFFMXW3J.js → PV3TETKY.js} +2 -2
  154. package/dist/cdn/{QKRVR6Y4.js → PYZFQI5C.js} +2 -2
  155. package/dist/cdn/{3HH3MDZU.js → PZK7B2TL.js} +1 -1
  156. package/dist/cdn/{TQLIUPFP.js → Q35KRAVX.js} +2 -2
  157. package/dist/cdn/{V4M2VHJ7.js → QC53WM4B.js} +2 -2
  158. package/dist/cdn/{YFRK5OD4.js → QMZBTERZ.js} +2 -2
  159. package/dist/cdn/{ZFYMVQF2.js → QO6QN3IQ.js} +1 -1
  160. package/dist/cdn/{EJVLZACM.js → QPVKKBNQ.js} +2 -2
  161. package/dist/cdn/{XKZFAZSK.js → QRPTMJFT.js} +2 -2
  162. package/dist/cdn/{KQITRKYV.js → QTPE6SDR.js} +2 -2
  163. package/dist/cdn/R53VENXY.js +4 -0
  164. package/dist/cdn/{7VFICZ76.js → R5BNVR66.js} +2 -2
  165. package/dist/cdn/{FTFQKFO7.js → RDVX7SAC.js} +2 -2
  166. package/dist/cdn/{6WIN4KZX.js → RECGDWS6.js} +2 -2
  167. package/dist/cdn/{JDGRNN6T.js → RFSWEQ3H.js} +2 -2
  168. package/dist/cdn/{OBWV5SDX.js → RHLKZA34.js} +2 -2
  169. package/dist/cdn/{IM3N4UBA.js → RMFHLF4D.js} +2 -2
  170. package/dist/cdn/{3VC3OOFY.js → RMXLEHFL.js} +1 -1
  171. package/dist/cdn/{WVFZX26G.js → RN65F4EU.js} +1 -1
  172. package/dist/cdn/{Y75VOSOY.js → ROUSH4OT.js} +1 -1
  173. package/dist/cdn/{7YCHDWAG.js → RPXF2UPY.js} +2 -2
  174. package/dist/cdn/{JW3W2BCF.js → RUGXQBMX.js} +2 -2
  175. package/dist/cdn/{RBDFESOB.js → RVDVMDEI.js} +2 -2
  176. package/dist/cdn/{WVXX3CEJ.js → RZVTUV5J.js} +2 -2
  177. package/dist/cdn/S2V2W4SB.js +4 -0
  178. package/dist/cdn/{FDXSLXQR.js → S2WAX7GH.js} +2 -2
  179. package/dist/cdn/{SNKGZTEH.js → S37WFNKC.js} +2 -2
  180. package/dist/cdn/{3THL4ZH2.js → SGCY6SLE.js} +2 -2
  181. package/dist/cdn/{TJWR6SQK.js → SGSYHTAS.js} +2 -2
  182. package/dist/cdn/{VAIV5W6J.js → SHWLBIX6.js} +2 -2
  183. package/dist/cdn/{5TLIIGGG.js → SIHNLNEA.js} +2 -2
  184. package/dist/cdn/{JDCEOU7Q.js → SK6QCPID.js} +2 -2
  185. package/dist/cdn/{W3OL2PFI.js → SLSJQU47.js} +2 -2
  186. package/dist/cdn/{IQZISAAD.js → SMIJSUYR.js} +2 -2
  187. package/dist/cdn/{RBLWRHGF.js → SSIAIKDQ.js} +2 -2
  188. package/dist/cdn/{V4YWEUA2.js → STOXIMCR.js} +2 -2
  189. package/dist/cdn/{ZMVIVW5N.js → SU2VWWCB.js} +2 -2
  190. package/dist/cdn/{2K5ZLEWY.js → SVUYFYTV.js} +2 -2
  191. package/dist/cdn/T6V4IFOB.js +4 -0
  192. package/dist/cdn/{BNYMZR4K.js → TC6ZBBSA.js} +2 -2
  193. package/dist/cdn/{TCVBYSLJ.js → TEDENAD4.js} +2 -2
  194. package/dist/cdn/{7GJ4XR5C.js → TFMLH5Y7.js} +2 -2
  195. package/dist/cdn/{JSAKKAFL.js → TMDOKN2X.js} +2 -2
  196. package/dist/cdn/{JUA2Y7YN.js → TP7S47WJ.js} +2 -2
  197. package/dist/cdn/TVL5HYIC.js +4 -0
  198. package/dist/cdn/{LHS3JGZW.js → TVX53RNP.js} +3 -3
  199. package/dist/cdn/{NGO3EPZO.js → TXOHBSWG.js} +2 -2
  200. package/dist/cdn/{MG5SAVQE.js → TYQXL7A4.js} +2 -2
  201. package/dist/cdn/{KGJKY5MO.js → UJSWN5OK.js} +2 -2
  202. package/dist/cdn/{CSVOFHDL.js → UO3ICPPO.js} +2 -2
  203. package/dist/cdn/{DWDF4NAR.js → USUYE22F.js} +1 -1
  204. package/dist/cdn/{32HA2CTR.js → VIXVEUAB.js} +2 -2
  205. package/dist/cdn/{EHQQEL2S.js → VKTDHEVF.js} +2 -2
  206. package/dist/cdn/{SLQKQBYP.js → VVPVLBUG.js} +2 -2
  207. package/dist/cdn/{ILJBHHS6.js → VZM35ZQQ.js} +2 -2
  208. package/dist/cdn/{ZXE4TQ4F.js → VZUX5GLE.js} +2 -2
  209. package/dist/cdn/{CJK4TQOK.js → W2OTNRWP.js} +2 -2
  210. package/dist/cdn/{6OQ2QUJV.js → WDRS2XCE.js} +2 -2
  211. package/dist/cdn/{Q5PE24UY.js → WHAFO4LN.js} +2 -2
  212. package/dist/cdn/{BXMBSMDA.js → WIKGAJKR.js} +2 -2
  213. package/dist/cdn/{KLMPU2PE.js → WIXVZBFB.js} +2 -2
  214. package/dist/cdn/{UVNKYQA2.js → WJAYVKAD.js} +2 -2
  215. package/dist/cdn/{4WSQLHYR.js → WQ3225KQ.js} +2 -2
  216. package/dist/cdn/{BSPHRPTQ.js → WQF4MTVK.js} +2 -2
  217. package/dist/cdn/{PFW7TBZ2.js → WWIXIXO7.js} +2 -2
  218. package/dist/cdn/{BZXKK73B.js → WXEYFVOL.js} +2 -2
  219. package/dist/cdn/{TBP4FOF4.js → XL77TBYE.js} +2 -2
  220. package/dist/cdn/{C6JWR527.js → XXW2QC25.js} +2 -2
  221. package/dist/cdn/{QKAQGLWX.js → XY2ASQQU.js} +2 -2
  222. package/dist/cdn/Y5MTNOE5.js +4 -0
  223. package/dist/cdn/{XEXK7AAA.js → Y7FLQZHJ.js} +2 -2
  224. package/dist/cdn/{DIVB3TZ2.js → YL37TWFC.js} +2 -2
  225. package/dist/cdn/{CFF2GEPZ.js → YUBAO2CT.js} +2 -2
  226. package/dist/cdn/{3C23QDX5.js → YXWMLFTR.js} +2 -2
  227. package/dist/cdn/{SW5JVGGO.js → YXXO76V2.js} +2 -2
  228. package/dist/cdn/{R4X2JOMK.js → YYFPAH2X.js} +2 -2
  229. package/dist/cdn/{RPJBJSJJ.js → YYSU3XOB.js} +2 -2
  230. package/dist/cdn/{DQBRIL3M.js → ZC72KBRO.js} +2 -2
  231. package/dist/cdn/{IZ3GKZZA.js → ZJ33DUZU.js} +2 -2
  232. package/dist/cdn/{T7MEIMOR.js → ZQ7REL2H.js} +2 -2
  233. package/dist/cdn/{UBRXGCEA.js → ZTXTDD7V.js} +2 -2
  234. package/dist/cdn/index.js +2 -2
  235. package/dist/chunks/AnalysisViewModel.js +77 -80
  236. package/dist/chunks/action-utils.js +1 -1
  237. package/dist/chunks/async-utils.js +1 -1
  238. package/dist/chunks/basemap-gallery-resources.js +1 -1
  239. package/dist/chunks/chart-utils.js +1 -1
  240. package/dist/chunks/chartCommon.js +1 -1
  241. package/dist/chunks/component-utils.js +1 -1
  242. package/dist/chunks/constants.js +1 -1
  243. package/dist/chunks/createCloseEvent.js +1 -1
  244. package/dist/chunks/esri-main.js +1 -1
  245. package/dist/chunks/feature-utils.js +1 -1
  246. package/dist/chunks/globalCss.js +1 -1
  247. package/dist/chunks/handle.js +1 -1
  248. package/dist/chunks/heading.js +1 -1
  249. package/dist/chunks/layer-list.js +1 -1
  250. package/dist/chunks/legacyIcon.js +1 -1
  251. package/dist/chunks/maybe.js +1 -1
  252. package/dist/chunks/measurementUtils.js +1 -1
  253. package/dist/chunks/runtime.js +1 -1
  254. package/dist/chunks/screenLocation.js +1 -1
  255. package/dist/chunks/slots.js +1 -1
  256. package/dist/chunks/svgUtils.js +1 -1
  257. package/dist/chunks/time-utils.js +1 -1
  258. package/dist/chunks/univariateUtils.js +1 -1
  259. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  260. package/dist/chunks/useHandles.js +1 -1
  261. package/dist/chunks/useT9n.js +1 -1
  262. package/dist/chunks/useView.js +1 -1
  263. package/dist/chunks/useViewModel.js +1 -1
  264. package/dist/chunks/useWidget.js +1 -1
  265. package/dist/chunks/utils.js +1 -1
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/visible-element.js +1 -1
  268. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  269. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  270. package/dist/components/arcgis-attachments/customElement.js +1 -1
  271. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  272. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  273. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  275. package/dist/components/arcgis-bookmarks/customElement.js +2 -2
  276. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  277. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-color-select/customElement.js +1 -1
  279. package/dist/components/arcgis-compass/customElement.js +1 -1
  280. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  281. package/dist/components/arcgis-daylight/customElement.js +1 -1
  282. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  283. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  284. package/dist/components/arcgis-directions/customElement.js +1 -1
  285. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  286. package/dist/components/arcgis-editor/customElement.js +1 -1
  287. package/dist/components/arcgis-elevation-profile/ElevationProfileViewModel.d.ts +1 -1
  288. package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -4
  289. package/dist/components/arcgis-elevation-profile/customElement.js +15 -15
  290. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  291. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  292. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  293. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  294. package/dist/components/arcgis-expand/customElement.js +1 -1
  295. package/dist/components/arcgis-feature/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  298. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  304. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
  306. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  309. package/dist/components/arcgis-features/customElement.js +1 -1
  310. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  311. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  312. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  313. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  314. package/dist/components/arcgis-home/customElement.js +1 -1
  315. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  316. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  317. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  318. package/dist/components/arcgis-legend/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  331. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  333. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  334. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  335. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  336. package/dist/components/arcgis-locate/customElement.js +1 -1
  337. package/dist/components/arcgis-map/customElement.js +1 -1
  338. package/dist/components/arcgis-measurement/customElement.js +1 -1
  339. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  340. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  341. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  342. package/dist/components/arcgis-placement/customElement.js +1 -1
  343. package/dist/components/arcgis-popup/customElement.js +1 -1
  344. package/dist/components/arcgis-presentation/customElement.js +1 -1
  345. package/dist/components/arcgis-print/customElement.js +1 -1
  346. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  347. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  348. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  349. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  350. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  351. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  352. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  353. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  354. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  355. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  356. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  357. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  358. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  359. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  360. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  361. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  362. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  363. package/dist/components/arcgis-scene/customElement.js +1 -1
  364. package/dist/components/arcgis-search/customElement.js +1 -1
  365. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  366. package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +1 -3
  367. package/dist/components/arcgis-shadow-cast/customElement.js +36 -43
  368. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  369. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  370. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  371. package/dist/components/arcgis-sketch/customElement.js +1 -1
  372. package/dist/components/arcgis-slice/customElement.js +1 -1
  373. package/dist/components/arcgis-spinner/customElement.js +1 -1
  374. package/dist/components/arcgis-swipe/customElement.js +1 -1
  375. package/dist/components/arcgis-table-list/customElement.js +1 -1
  376. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  377. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  378. package/dist/components/arcgis-track/customElement.js +1 -1
  379. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  381. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  382. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  383. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +42 -2
  385. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +21 -18
  386. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +18 -4
  387. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +50 -50
  388. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +21 -1
  389. package/dist/components/arcgis-utility-network-trace-location/customElement.js +71 -65
  390. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  391. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  392. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  393. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  394. package/dist/components/arcgis-version-management/customElement.js +1 -1
  395. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  396. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  397. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  398. package/dist/components/arcgis-video/customElement.js +1 -1
  399. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  400. package/dist/components/arcgis-video-player/customElement.js +1 -1
  401. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  402. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  403. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  406. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  407. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  408. package/dist/components/arcgis-weather/customElement.js +1 -1
  409. package/dist/components/arcgis-zoom/customElement.js +1 -1
  410. package/dist/docs/api.json +179 -31
  411. package/dist/docs/docs.json +208 -46
  412. package/dist/docs/vscode.html-custom-data.json +3 -3
  413. package/dist/docs/web-types.json +63 -24
  414. package/dist/index.d.ts +2 -0
  415. package/dist/index.js +1 -1
  416. package/dist/loader.js +5 -5
  417. package/dist/support/AnalysisViewModel.d.ts +2 -2
  418. package/dist/types/lumina.d.ts +5 -3
  419. package/dist/types/preact.d.ts +5 -3
  420. package/dist/types/preact10.d.ts +5 -3
  421. package/dist/types/react.d.ts +5 -3
  422. package/dist/types/stencil.d.ts +5 -3
  423. package/package.json +4 -4
  424. package/dist/cdn/3WT7E7DL.js +0 -4
  425. package/dist/cdn/4NNTVXLQ.js +0 -4
  426. package/dist/cdn/CX5H4WMP.js +0 -4
  427. package/dist/cdn/DN6IWTEQ.js +0 -4
  428. package/dist/cdn/FZW5VW6V.js +0 -4
  429. package/dist/cdn/LKPXPXIZ.js +0 -4
  430. package/dist/cdn/LQ2GUHKY.js +0 -4
  431. package/dist/cdn/N2YRIWOV.js +0 -4
  432. package/dist/cdn/NGN2RFPG.js +0 -4
  433. package/dist/cdn/NL3UKWVQ.js +0 -4
  434. package/dist/cdn/PJLXJX24.js +0 -4
  435. package/dist/cdn/RERS3NAR.js +0 -4
  436. package/dist/cdn/TEGQM2RE.js +0 -4
  437. package/dist/cdn/U2XWLW3W.js +0 -4
  438. package/dist/cdn/UCPD6TOE.js +0 -4
  439. package/dist/cdn/UHFX2KPF.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.91 */
4
- import{a as m}from"./WW3WGDJ3.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./SNKGZTEH.js";import{a as q}from"./DXJI63DK.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
3
+ v5.0.0-next.93 */
4
+ import{a as m}from"./BV4QE6GM.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./S37WFNKC.js";import{a as q}from"./4CS2VL3M.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.91 */
4
- import{G as u,H as v,I as g,O as w,a as b,b as o,s as p}from"./N3BAMOML.js";import"./DXJI63DK.js";var I=b`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=u(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=p(),this.arcgisCreateVersion=p(),this.arcgisFlowItemBack=p(),this.arcgisFlowItemClose=p()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.styles=I}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:d,isVersionAdministrator:t,serviceUrl:r,versionInfo:a}}=this,{_alterVersionParameters:c,_createVersionParameters:s}=this;switch(i==="create"&&(s||(s={access:"public",description:"",featureServerUrl:r,ownerName:d,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:r,versionIdentifier:a.versionIdentifier,ownerName:h,versionName:m,access:a.access,description:a.description})),e.type){case"calciteChipGroupSelect":{let n=e.target.label,l=e.target.selectedItems[0].label;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteInputTextInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteTextAreaInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}}i==="create"&&(s.access!=="public"&&d.toUpperCase()!==s.ownerName?.toUpperCase()&&!t?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=s),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{selected:e,showBackButton:i,versionPropertiesElementProps:{closable:h,currentUser:m,state:d,strings:t,versionInfo:r},_mode:a,_ownerName:c,_versionName:s}=this,n=o`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,l=o`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a==="edit"&&r.access==="public"||a==="create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,$=o`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a==="edit"?r.description:""}></calcite-text-area></calcite-label>`,V=o`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a==="edit"?s:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,f=o`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a==="edit"?c:m}></calcite-input-text></calcite-label>`,x=a==="create"?o`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return o`<calcite-flow-item .closable=${h} .description=${r?r.versionIdentifier.name:""} .heading=${r?t.actions.editVersion:t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${v(this._flowItemElement)}><calcite-panel .loading=${d==="executing"}><calcite-block expanded .label=${t.headers.versionProperties}>${V}${$}${l}${f}${x}${n}</calcite-block></calcite-panel></calcite-flow-item>`}};w("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
3
+ v5.0.0-next.93 */
4
+ import{G as u,H as v,I as g,O as w,a as b,b as o,s as p}from"./IKNWZBGW.js";import"./4CS2VL3M.js";var I=b`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=u(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=u(),this._versionNameInputElement=u(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=p(),this.arcgisCreateVersion=p(),this.arcgisFlowItemBack=p(),this.arcgisFlowItemClose=p()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.styles=I}load(){let{versionPropertiesElementProps:{versionInfo:e}}=this;e?(this._mode="edit",this._fullVersionName=e.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(e){let{_mode:i,_ownerName:h,_versionName:m,versionPropertiesElementProps:{currentUser:d,isVersionAdministrator:t,serviceUrl:r,versionInfo:a}}=this,{_alterVersionParameters:c,_createVersionParameters:s}=this;switch(i==="create"&&(s||(s={access:"public",description:"",featureServerUrl:r,ownerName:d,versionName:""})),i==="edit"&&(c||(c={featureServerUrl:r,versionIdentifier:a.versionIdentifier,ownerName:h,versionName:m,access:a.access,description:a.description})),e.type){case"calciteChipGroupSelect":{let n=e.target.label,l=e.target.selectedItems[0].label;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteInputTextInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}case"calciteTextAreaInput":{let n=e.target.name,l=e.target.value;i==="create"&&(s={...s,[n]:l}),i==="edit"&&(c={...c,[n]:l});break}}i==="create"&&(s.access!=="public"&&d.toUpperCase()!==s.ownerName?.toUpperCase()&&!t?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=s),i==="edit"&&(this._alterVersionParameters=c)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:e,_createVersionParameters:i,_mode:h,_switchToVersion:m}=this;h==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:i,switchToVersion:m}),h==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:e})}_handleSwitchToVersionChange(e){this._switchToVersion=e.target.checked}render(){let{selected:e,showBackButton:i,versionPropertiesElementProps:{closable:h,currentUser:m,state:d,strings:t,versionInfo:r},_mode:a,_ownerName:c,_versionName:s}=this,n=o`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${t.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${t.actions.saveVersion}</calcite-button></div>`,l=o`<calcite-label>${t.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${a==="edit"&&r.access==="public"||a==="create"} label=public>${t.accessLevels.public}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="protected"} label=protected>${t.accessLevels.protected}</calcite-chip><calcite-chip .selected=${a==="edit"&&r.access==="private"} label=private>${t.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,$=o`<calcite-label>${t.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${a==="edit"?r.description:""}></calcite-text-area></calcite-label>`,V=o`<calcite-label>${t.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${a==="edit"?s:""} ${v(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,f=o`<calcite-label>${t.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .value=${a==="edit"?c:m}></calcite-input-text></calcite-label>`,x=a==="create"?o`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${v(this._switchToVersionCheckboxElement)}></calcite-checkbox>${t.actions.switchToVersion}</calcite-label>`:void 0;return o`<calcite-flow-item .closable=${h} .description=${r?r.versionIdentifier.name:""} .heading=${r?t.actions.editVersion:t.actions.newVersion} .selected=${e} .showBackButton=${i} @calciteFlowItemClose=${this._handleClose} ${v(this._flowItemElement)}><calcite-panel .loading=${d==="executing"}><calcite-block expanded .label=${t.headers.versionProperties}>${V}${$}${l}${f}${x}${n}</calcite-block></calcite-panel></calcite-flow-item>`}};w("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
@@ -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.91 */
4
- import{a as W}from"./IZ3GKZZA.js";import"./TXOH5L5P.js";import c from"./XG7GUCKZ.js";import{a as E}from"./4WSQLHYR.js";import{a as y}from"./S2QURR2A.js";import b from"./KFWSPWIO.js";import a from"./TJWR6SQK.js";import{e as A,g as B}from"./OBWV5SDX.js";import"./DR7SVRJF.js";import"./7S5ZZYU5.js";import{b as _}from"./DWDF4NAR.js";import"./Z5NXVC7O.js";import{I as L,J as u,L as v,O,a as z,b as l,s as T}from"./N3BAMOML.js";import"./DXJI63DK.js";export default $arcgis.t(([V,{property:h,subclass:I},{watch:Z},D,j,H,P,R,,,S])=>{var g="arcgis-weather",p={base:g,content:`${g}__content`,hasError:`${g}__content--has-error`,selector:`${g}__selector`,options:`${g}__options`,optionsHidden:`${g}__options--hidden`,error:`${g}__error`,warningTitle:`${g}__warning-title`},q=z`.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}.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`,U=Object.defineProperty,G=Object.getOwnPropertyDescriptor,d=(o,e,r,i)=>{for(var t=i>1?void 0:i?G(e,r):e,a=o.length-1,n;a>=0;a--)(n=o[a])&&(t=(i?n(e,r,t):n(t))||t);return i&&t&&U(e,r,t),t},J={sunny:R,cloudy:D,rainy:H,snowy:P,foggy:j},m=Object.keys(J),s=class extends V{constructor(o){super(o),this._settingWeather=!1,this._weatherByType={sunny:new R,cloudy:new D,rainy:new H,snowy:new P,foggy:new j}}initialize(){this.addHandles([Z(()=>this.current,o=>{this._settingWeather||o==null||(this._weatherByType={...this._weatherByType,[o.type]:o})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let o=this.view;return o?.ready?o.type!=="3d"?"unsupported-view":o.viewingMode==="local"?"local-scene":o.environment.atmosphereEnabled?o.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(o){let e=this._environment;e&&(e.weather=o)}get _environment(){let o=this.view;return o?.type==="3d"?o.environment:null}setWeatherByType(o){let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[o],this._settingWeather=!1)}setSnowCoverEnabled(o){let e=this.current;"snowCover"in e&&(e.snowCover=o?"enabled":"disabled")}};d([h()],s.prototype,"view",2);d([h()],s.prototype,"state",1);d([h()],s.prototype,"disabled",1);d([h()],s.prototype,"weatherByType",1);d([h()],s.prototype,"error",1);d([h()],s.prototype,"current",1);d([h()],s.prototype,"_weatherByType",2);d([h()],s.prototype,"_environment",1);s=d([I("components.weather.WeatherViewModel")],s);function w({label:o,ariaLabel:e,value:r,disabled:i,onChange:t}){let a=n=>{let c=n.currentTarget.value;t?.(c??0)};return l`<calcite-label .scale=${"s"}><calcite-slider .disabled=${i} .ariaLabel=${e} .labelText=${o} .value=${r} min=0 max=1 step=0.01 .scale=${"s"} @calciteSliderChange=${a} @calciteSliderInput=${a}></calcite-slider></calcite-label>`}var K=S(s),Q={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},x=class extends L{constructor(){super(...arguments),this.viewModel=K(this),this.messages=E(),this.direction=A(),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.state=this.viewModel.state,this.arcgisPropertyChange=B()("state"),this.arcgisReady=T()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.styles=q}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return l`<div aria-label=${this.messages.componentLabelAccessible??v} class=${u(_(p.base,y.widget,this.viewModel.disabled&&y.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:r,viewModel:i}=this,t=this._getWarningMessage(),a=i.current,n=i.state==="error";return l`${this.hideHeader?void 0:W({level:e,children:r.componentLabel})}${n?l`<div class=${u(p.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(_({[p.content]:!0,[p.hasError]:n}))}><div .ariaLabel=${r.weatherType} class=${u(p.selector)} role=radiogroup>${m.map(this._renderWeatherTypeButton,this)}</div>${Object.values(i.weatherByType).map(c=>l`<div class=${u(_({[p.options]:!0,[p.optionsHidden]:c.type!==a?.type}))}>${this._renderOptions(c)}</div>`)}${t?this._renderWarning(t):void 0}</div>`}_renderWeatherTypeButton(e){let r=this.messages[e]?.label??"",{disabled:i}=this.viewModel,t=!i&&this.viewModel.current.type===e;return l`<calcite-button role=radio .ariaLabel=${r} .tabIndex=${t?0:-1} .appearance=${t?"solid":"outline"} .ariaChecked=${t?"true":"false"} .disabled=${i} .iconStart=${Q[e]} .kind=${t?"brand":"neutral"} @keydown=${a=>{let n=a.key,c=["ArrowRight","ArrowDown"],b=["ArrowLeft","ArrowUp"];if(this.direction==="rtl"){let f=c;c=b,b=f}let F=c.includes(n),$=b.includes(n);if(F||$){a.preventDefault();let f=m.indexOf(e),C=m.length,k=(f+($?-1:1)+C)%C;this.viewModel.setWeatherByType(m[k]);let M=a.currentTarget.parentElement;M&&Array.from(M.querySelectorAll("calcite-button")??[])[k]?.setFocus()}}} @click=${()=>{t||this.viewModel.setWeatherByType(e)}} scale=l title=${r??v}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){let r=this.messages.sunny;return w({disabled:this.viewModel.disabled,ariaLabel:r?.cloudCoverAria,label:r?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){let r=this.messages.cloudy;return w({disabled:this.viewModel.disabled,ariaLabel:r?.cloudCoverAria,label:r?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:r}=this.viewModel,i=this.messages.rainy;return l`${w({disabled:r,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}${w({disabled:r,ariaLabel:i?.precipitationAria,label:i?.precipitation,value:e.precipitation,onChange:t=>{e.precipitation=t}})}`}_renderSnowyOptions(e){let{disabled:r}=this.viewModel,i=this.messages.snowy;return l`${w({disabled:r,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}${w({disabled:r,ariaLabel:i?.precipitationAria,label:i?.precipitation,value:e.precipitation,onChange:t=>{e.precipitation=t}})}<calcite-label layout=inline scale=s title=${i?.snowCoverTooltip??v}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${r} @calciteCheckboxChange=${t=>{this.viewModel.setSnowCoverEnabled(t.currentTarget.checked)}}></calcite-checkbox>${i?.snowCover}</calcite-label>`}_renderFoggyOptions(e){let r=this.messages.foggy;return w({disabled:this.viewModel.disabled,ariaLabel:r?.fogStrengthAria,label:r?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return l`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning scale=s><div slot=title class=${u(p.warningTitle)}>${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`}};O("arcgis-weather",x);return x},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",a,b,c)
3
+ v5.0.0-next.93 */
4
+ import{a as W}from"./ZJ33DUZU.js";import"./PJ77LCUF.js";import c from"./6PJ27SYB.js";import{a as E}from"./WQ3225KQ.js";import{a as y}from"./M3D2NYN3.js";import b from"./GBRRLZHP.js";import a from"./SGSYHTAS.js";import{e as A,g as B}from"./RHLKZA34.js";import"./5W4G4PNT.js";import"./OZMRRK2Y.js";import{b as _}from"./USUYE22F.js";import"./NMF2M4P3.js";import{I as L,J as u,L as v,O,a as z,b as l,s as T}from"./IKNWZBGW.js";import"./4CS2VL3M.js";export default $arcgis.t(([V,{property:h,subclass:I},{watch:Z},D,j,H,P,R,,,S])=>{var g="arcgis-weather",p={base:g,content:`${g}__content`,hasError:`${g}__content--has-error`,selector:`${g}__selector`,options:`${g}__options`,optionsHidden:`${g}__options--hidden`,error:`${g}__error`,warningTitle:`${g}__warning-title`},q=z`.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}.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`,U=Object.defineProperty,G=Object.getOwnPropertyDescriptor,d=(o,e,r,i)=>{for(var t=i>1?void 0:i?G(e,r):e,a=o.length-1,n;a>=0;a--)(n=o[a])&&(t=(i?n(e,r,t):n(t))||t);return i&&t&&U(e,r,t),t},J={sunny:R,cloudy:D,rainy:H,snowy:P,foggy:j},m=Object.keys(J),s=class extends V{constructor(o){super(o),this._settingWeather=!1,this._weatherByType={sunny:new R,cloudy:new D,rainy:new H,snowy:new P,foggy:new j}}initialize(){this.addHandles([Z(()=>this.current,o=>{this._settingWeather||o==null||(this._weatherByType={...this._weatherByType,[o.type]:o})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let o=this.view;return o?.ready?o.type!=="3d"?"unsupported-view":o.viewingMode==="local"?"local-scene":o.environment.atmosphereEnabled?o.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(o){let e=this._environment;e&&(e.weather=o)}get _environment(){let o=this.view;return o?.type==="3d"?o.environment:null}setWeatherByType(o){let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[o],this._settingWeather=!1)}setSnowCoverEnabled(o){let e=this.current;"snowCover"in e&&(e.snowCover=o?"enabled":"disabled")}};d([h()],s.prototype,"view",2);d([h()],s.prototype,"state",1);d([h()],s.prototype,"disabled",1);d([h()],s.prototype,"weatherByType",1);d([h()],s.prototype,"error",1);d([h()],s.prototype,"current",1);d([h()],s.prototype,"_weatherByType",2);d([h()],s.prototype,"_environment",1);s=d([I("components.weather.WeatherViewModel")],s);function w({label:o,ariaLabel:e,value:r,disabled:i,onChange:t}){let a=n=>{let c=n.currentTarget.value;t?.(c??0)};return l`<calcite-label .scale=${"s"}><calcite-slider .disabled=${i} .ariaLabel=${e} .labelText=${o} .value=${r} min=0 max=1 step=0.01 .scale=${"s"} @calciteSliderChange=${a} @calciteSliderInput=${a}></calcite-slider></calcite-label>`}var K=S(s),Q={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},x=class extends L{constructor(){super(...arguments),this.viewModel=K(this),this.messages=E(),this.direction=A(),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.state=this.viewModel.state,this.arcgisPropertyChange=B()("state"),this.arcgisReady=T()}static{this.properties={view:0,autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.styles=q}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return l`<div aria-label=${this.messages.componentLabelAccessible??v} class=${u(_(p.base,y.widget,this.viewModel.disabled&&y.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:r,viewModel:i}=this,t=this._getWarningMessage(),a=i.current,n=i.state==="error";return l`${this.hideHeader?void 0:W({level:e,children:r.componentLabel})}${n?l`<div class=${u(p.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(_({[p.content]:!0,[p.hasError]:n}))}><div .ariaLabel=${r.weatherType} class=${u(p.selector)} role=radiogroup>${m.map(this._renderWeatherTypeButton,this)}</div>${Object.values(i.weatherByType).map(c=>l`<div class=${u(_({[p.options]:!0,[p.optionsHidden]:c.type!==a?.type}))}>${this._renderOptions(c)}</div>`)}${t?this._renderWarning(t):void 0}</div>`}_renderWeatherTypeButton(e){let r=this.messages[e]?.label??"",{disabled:i}=this.viewModel,t=!i&&this.viewModel.current.type===e;return l`<calcite-button role=radio .ariaLabel=${r} .tabIndex=${t?0:-1} .appearance=${t?"solid":"outline"} .ariaChecked=${t?"true":"false"} .disabled=${i} .iconStart=${Q[e]} .kind=${t?"brand":"neutral"} @keydown=${a=>{let n=a.key,c=["ArrowRight","ArrowDown"],b=["ArrowLeft","ArrowUp"];if(this.direction==="rtl"){let f=c;c=b,b=f}let F=c.includes(n),$=b.includes(n);if(F||$){a.preventDefault();let f=m.indexOf(e),C=m.length,k=(f+($?-1:1)+C)%C;this.viewModel.setWeatherByType(m[k]);let M=a.currentTarget.parentElement;M&&Array.from(M.querySelectorAll("calcite-button")??[])[k]?.setFocus()}}} @click=${()=>{t||this.viewModel.setWeatherByType(e)}} scale=l title=${r??v}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){let r=this.messages.sunny;return w({disabled:this.viewModel.disabled,ariaLabel:r?.cloudCoverAria,label:r?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){let r=this.messages.cloudy;return w({disabled:this.viewModel.disabled,ariaLabel:r?.cloudCoverAria,label:r?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:r}=this.viewModel,i=this.messages.rainy;return l`${w({disabled:r,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}${w({disabled:r,ariaLabel:i?.precipitationAria,label:i?.precipitation,value:e.precipitation,onChange:t=>{e.precipitation=t}})}`}_renderSnowyOptions(e){let{disabled:r}=this.viewModel,i=this.messages.snowy;return l`${w({disabled:r,ariaLabel:i?.cloudCoverAria,label:i?.cloudCover,value:e.cloudCover,onChange:t=>{e.cloudCover=t}})}${w({disabled:r,ariaLabel:i?.precipitationAria,label:i?.precipitation,value:e.precipitation,onChange:t=>{e.precipitation=t}})}<calcite-label layout=inline scale=s title=${i?.snowCoverTooltip??v}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${r} @calciteCheckboxChange=${t=>{this.viewModel.setSnowCoverEnabled(t.currentTarget.checked)}}></calcite-checkbox>${i?.snowCover}</calcite-label>`}_renderFoggyOptions(e){let r=this.messages.foggy;return w({disabled:this.viewModel.disabled,ariaLabel:r?.fogStrengthAria,label:r?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return l`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning scale=s><div slot=title class=${u(p.warningTitle)}>${this.messages.warningTitle}</div><div slot=message>${e}</div></calcite-notice>`}};O("arcgis-weather",x);return x},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.91 */
4
- import{a as $}from"./4WSQLHYR.js";import"./OBWV5SDX.js";import"./DR7SVRJF.js";import"./DWDF4NAR.js";import{I as h,J as o,O as f,a as u,b as c}from"./N3BAMOML.js";import"./DXJI63DK.js";export default $arcgis.t(([y,{substitute:v}])=>{var w=u`.arcgis-utility-network-trace-location-list{margin-block-start:0;padding:0 var(--calcite-spacing-sm) var(--calcite-spacing-sm) var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-location-list calcite-list{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}.arcgis-utility-network-trace-location-list__warning{color:var(--calcite-color-status-danger)}.arcgis-utility-network-trace-location-list__terminals{padding-block:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-xl);padding-inline-end:var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-utility-network-trace-location-list__filter-barrier-container{display:flex;width:100%;calcite-label{width:100%}}.arcgis-utility-network-trace-location-list__filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}.arcgis-utility-network-trace-location-list calcite-list-item [slot=content-bottom]{background-color:transparent;display:none}.arcgis-utility-network-trace-location-list calcite-list-item[expanded] [slot=content-bottom]{display:unset}`,l="arcgis-utility-network-trace-location-list",s={base:l,terminals:`${l}__terminals`,filterBarrierContainer:`${l}__filter-barrier-container`,filterBarrier:`${l}__filter-barrier`,warning:`${l}__warning`},d="map-components:utility-network-trace-location-list",g=class extends h{constructor(){super(...arguments),this._messages=$({blocking:!0}),this.traceLocations=new y,this.traceLocationType="starting-point"}static{this.properties={traceLocations:0,traceLocationType:1}}static{this.styles=w}_handleTraceLocationItemRemoved(e){let i=e.spatialProperties.flagGraphic?.layer,{traceLocations:t}=this;e.spatialProperties.flagGraphic&&i&&i.remove(e.spatialProperties.flagGraphic),t?.remove(e)}_renderTerminal(e,i){let{flagProperties:t}=e,{selectedTerminals:r}=t;if(!e)return console.warn(`${d}: missing required property 'flag'`),null;let{name:n,id:a}=i,m=r?.has(a)??!1;return c`<calcite-label layout=inline><calcite-checkbox .value=${a} .checked=${m} @calciteCheckboxChange=${p=>{p.target.checked?r?.add(a):r?.delete(a),this.requestUpdate()}}></calcite-checkbox>${n}</calcite-label>`}_renderTerminalError(){let{_messages:e}=this;return c`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${e.errors.noTerminalSelected}</div></calcite-notice>`}_renderFilterBarrier(e){let{_messages:i}=this,{traceLocation:t}=e;return c`<div class=${o(s.filterBarrierContainer)}><calcite-label layout=inline><div class=${o(s.filterBarrier)}>${i.labels.filterBarrier}<calcite-switch .checked=${t.isFilterBarrier} @calciteSwitchChange=${r=>{t.isFilterBarrier=r.target.checked}}></calcite-switch></div></calcite-label></div>`}_renderContents(e){let{flagProperties:i}=e,{terminalConfiguration:t,selectedTerminals:r}=i,n=e.traceLocation.type==="barrier",a=t&&t.terminals.length>0&&r?.size===0;return c`<calcite-action .icon=${i.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{i.expanded=!i.expanded,this.requestUpdate()}}></calcite-action>${a&&c`<calcite-icon class=${o(s.warning)} icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${i.expanded&&c`<div class=${o(s.terminals)} slot=content-bottom>${n&&this._renderFilterBarrier(e)||""}${t&&this._renderTerminals(e)||""}${a&&this._renderTerminalError()||""}</div>`||""}`}_renderTerminals(e){let{flagProperties:i}=e,{terminalConfiguration:t}=i;if(!t)return console.warn(`${d}: missing required property 'terminalConfiguration'`),[];let r=t.terminals;return!r||r.length===0?(console.warn(`${d}: missing required property 'terminalConfiguration.terminals'`),[]):r.map(n=>this._renderTerminal(e,n))}_renderListItem(e){let{flagProperties:i}=e,{terminalConfiguration:t,expanded:r,title:n}=i,a=n,m=t&&t.id!==0,p=e.traceLocation.type==="barrier",b=m||p,_=t?.name??void 0;return c`<calcite-list-item .label=${a} .description=${_} .value=${a} .expanded=${r}>${b?this._renderContents(e):c`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this._handleTraceLocationItemRemoved(e)}></calcite-action></calcite-list-item>`}render(){let{_messages:e,traceLocationType:i}=this,t=v(e.labels.list,{traceLocationType:i}),r=this.traceLocations?.map(n=>this._renderListItem(n)).toArray()??[];return r.length===0?(console.warn(`${d}: no trace locations found`),null):c`<div class=${o(s.base)}><calcite-list interaction-mode=static selection-mode=none .label=${t}>${r}</calcite-list></div>`}};f("arcgis-utility-network-trace-location-list",g);return g},"core/Collection","intl")
3
+ v5.0.0-next.93 */
4
+ import{a as $}from"./WQ3225KQ.js";import"./RHLKZA34.js";import"./5W4G4PNT.js";import"./USUYE22F.js";import{I as h,J as o,O as f,a as u,b as c}from"./IKNWZBGW.js";import"./4CS2VL3M.js";export default $arcgis.t(([y,{substitute:v}])=>{var w=u`.arcgis-utility-network-trace-location-list{margin-block-start:0;padding:0 var(--calcite-spacing-sm) var(--calcite-spacing-sm) var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1)}.arcgis-utility-network-trace-location-list calcite-list{border:solid 1px var(--calcite-color-border-3);border-radius:var(--calcite-corner-radius-sm);overflow:hidden}.arcgis-utility-network-trace-location-list__warning{color:var(--calcite-color-status-danger)}.arcgis-utility-network-trace-location-list__terminals{padding-block:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-xl);padding-inline-end:var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-utility-network-trace-location-list__filter-barrier-container{display:flex;width:100%;calcite-label{width:100%}}.arcgis-utility-network-trace-location-list__filter-barrier{display:flex;justify-content:space-between;align-items:center;width:100%}.arcgis-utility-network-trace-location-list calcite-list-item [slot=content-bottom]{background-color:transparent;display:none}.arcgis-utility-network-trace-location-list calcite-list-item[expanded] [slot=content-bottom]{display:unset}`,l="arcgis-utility-network-trace-location-list",s={base:l,terminals:`${l}__terminals`,filterBarrierContainer:`${l}__filter-barrier-container`,filterBarrier:`${l}__filter-barrier`,warning:`${l}__warning`},d="map-components:utility-network-trace-location-list",g=class extends h{constructor(){super(...arguments),this._messages=$({blocking:!0}),this.traceLocations=new y,this.traceLocationType="starting-point"}static{this.properties={traceLocations:0,traceLocationType:1}}static{this.styles=w}_handleTraceLocationItemRemoved(e){let i=e.spatialProperties.flagGraphic?.layer,{traceLocations:t}=this;e.spatialProperties.flagGraphic&&i&&i.remove(e.spatialProperties.flagGraphic),t?.remove(e)}_renderTerminal(e,i){let{flagProperties:t}=e,{selectedTerminals:r}=t;if(!e)return console.warn(`${d}: missing required property 'flag'`),null;let{name:n,id:a}=i,m=r?.has(a)??!1;return c`<calcite-label layout=inline><calcite-checkbox .value=${a} .checked=${m} @calciteCheckboxChange=${p=>{p.target.checked?r?.add(a):r?.delete(a),this.requestUpdate()}}></calcite-checkbox>${n}</calcite-label>`}_renderTerminalError(){let{_messages:e}=this;return c`<calcite-notice kind=danger open scale=s width=auto><div slot=message>${e.errors.noTerminalSelected}</div></calcite-notice>`}_renderFilterBarrier(e){let{_messages:i}=this,{traceLocation:t}=e;return c`<div class=${o(s.filterBarrierContainer)}><calcite-label layout=inline><div class=${o(s.filterBarrier)}>${i.labels.filterBarrier}<calcite-switch .checked=${t.isFilterBarrier} @calciteSwitchChange=${r=>{t.isFilterBarrier=r.target.checked}}></calcite-switch></div></calcite-label></div>`}_renderContents(e){let{flagProperties:i}=e,{terminalConfiguration:t,selectedTerminals:r}=i,n=e.traceLocation.type==="barrier",a=t&&t.terminals.length>0&&r?.size===0;return c`<calcite-action .icon=${i.expanded?"chevron-up":"chevron-down"} slot=actions-end scale=s text @click=${()=>{i.expanded=!i.expanded,this.requestUpdate()}}></calcite-action>${a&&c`<calcite-icon class=${o(s.warning)} icon=exclamation-mark-triangle scale=s slot=content-start></calcite-icon>`||""}${i.expanded&&c`<div class=${o(s.terminals)} slot=content-bottom>${n&&this._renderFilterBarrier(e)||""}${t&&this._renderTerminals(e)||""}${a&&this._renderTerminalError()||""}</div>`||""}`}_renderTerminals(e){let{flagProperties:i}=e,{terminalConfiguration:t}=i;if(!t)return console.warn(`${d}: missing required property 'terminalConfiguration'`),[];let r=t.terminals;return!r||r.length===0?(console.warn(`${d}: missing required property 'terminalConfiguration.terminals'`),[]):r.map(n=>this._renderTerminal(e,n))}_renderListItem(e){let{flagProperties:i}=e,{terminalConfiguration:t,expanded:r,title:n}=i,a=n,m=t&&t.id!==0,p=e.traceLocation.type==="barrier",b=m||p,_=t?.name??void 0;return c`<calcite-list-item .label=${a} .description=${_} .value=${a} .expanded=${r}>${b?this._renderContents(e):c`<div slot=content-bottom></div>`}<calcite-action icon=x slot=actions-end scale=s text @click=${()=>this._handleTraceLocationItemRemoved(e)}></calcite-action></calcite-list-item>`}render(){let{_messages:e,traceLocationType:i}=this,t=v(e.labels.list,{traceLocationType:i}),r=this.traceLocations?.map(n=>this._renderListItem(n)).toArray()??[];return r.length===0?(console.warn(`${d}: no trace locations found`),null):c`<div class=${o(s.base)}><calcite-list interaction-mode=static selection-mode=none .label=${t}>${r}</calcite-list></div>`}};f("arcgis-utility-network-trace-location-list",g);return g},"core/Collection","intl")
@@ -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.91 */
4
- import{a as u}from"./4WSQLHYR.js";import"./OBWV5SDX.js";import"./DR7SVRJF.js";import"./DWDF4NAR.js";import{H as f,I as m,L as i,O as d,a as n,b as s,s as p,w as h}from"./N3BAMOML.js";import"./DXJI63DK.js";export default $arcgis.t(([l,{substitute:g}])=>{var _=n`:host{display:inline-block;position:relative;width:fit-content;isolation:isolate}calcite-label:focus-within calcite-swatch{outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,a=class extends m{constructor(){super(...arguments),this.#e=u(),this.#i=e=>{this._popoverReferenceElement=e??void 0},this.#o=h(),this._color=new l([0,0,0,1]),this._open=!1,this.arcgisColorChanged=p()}static{this.properties={_color:16,_open:16,_popoverReferenceElement:16,color:1,label:1}}static{this.styles=_}#e;#i;#o;#l(e){(e.key===" "||e.key==="Enter")&&this.#t(e)}#t(e){e.preventDefault(),e.stopPropagation(),this._open=!this._open}get color(){return this._color}set color(e){let o=e instanceof l?e:new l(e);o.equals(this._color)||(this._color=o)}render(){let e=this._color.toCss(!0),[o,v,$,b]=this._color.toRgba(),c=g(this.#e?.ariaDescription??"",{label:this.label??this.#e?.label??"",color:`${o}, ${v}, ${$}, ${b}`});return s`<calcite-label layout=inline scale=s @click=${this.#t}><calcite-swatch .color=${e} @keydown=${this.#l} @click=${this.#t} tabindex=0 role=button aria-controls=${this.#o??i} aria-expanded=${this._open?"true":"false"} aria-haspopup=dialog aria-label=${c??i} .label=${c} ${f(this.#i)}></calcite-swatch>${this.label??this.#e?.label}${this._popoverReferenceElement?s`<calcite-popover id=${this.#o??i} auto-close class="popover" .label=${this.#e?.popoverLabel??""} .open=${this._open} @calcitePopoverClose=${()=>this._open=!1} @calcitePopoverOpen=${()=>this._open=!0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${t=>{t.stopPropagation()}} @calciteColorPickerInput=${({target:{value:t}})=>{if(typeof t=="string"){let r=new l(t);this.color=r,this.arcgisColorChanged.emit(r)}}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>`:void 0}</calcite-label>`}};d("arcgis-color-select",a);return a},"Color","intl")
3
+ v5.0.0-next.93 */
4
+ import{a as u}from"./WQ3225KQ.js";import"./RHLKZA34.js";import"./5W4G4PNT.js";import"./USUYE22F.js";import{H as f,I as m,L as i,O as d,a as n,b as s,s as p,w as h}from"./IKNWZBGW.js";import"./4CS2VL3M.js";export default $arcgis.t(([l,{substitute:g}])=>{var _=n`:host{display:inline-block;position:relative;width:fit-content;isolation:isolate}calcite-label:focus-within calcite-swatch{outline:var(--calcite-border-width-md) solid var(--calcite-internal-color-focus);outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`,a=class extends m{constructor(){super(...arguments),this.#e=u(),this.#i=e=>{this._popoverReferenceElement=e??void 0},this.#o=h(),this._color=new l([0,0,0,1]),this._open=!1,this.arcgisColorChanged=p()}static{this.properties={_color:16,_open:16,_popoverReferenceElement:16,color:1,label:1}}static{this.styles=_}#e;#i;#o;#l(e){(e.key===" "||e.key==="Enter")&&this.#t(e)}#t(e){e.preventDefault(),e.stopPropagation(),this._open=!this._open}get color(){return this._color}set color(e){let o=e instanceof l?e:new l(e);o.equals(this._color)||(this._color=o)}render(){let e=this._color.toCss(!0),[o,v,$,b]=this._color.toRgba(),c=g(this.#e?.ariaDescription??"",{label:this.label??this.#e?.label??"",color:`${o}, ${v}, ${$}, ${b}`});return s`<calcite-label layout=inline scale=s @click=${this.#t}><calcite-swatch .color=${e} @keydown=${this.#l} @click=${this.#t} tabindex=0 role=button aria-controls=${this.#o??i} aria-expanded=${this._open?"true":"false"} aria-haspopup=dialog aria-label=${c??i} .label=${c} ${f(this.#i)}></calcite-swatch>${this.label??this.#e?.label}${this._popoverReferenceElement?s`<calcite-popover id=${this.#o??i} auto-close class="popover" .label=${this.#e?.popoverLabel??""} .open=${this._open} @calcitePopoverClose=${()=>this._open=!1} @calcitePopoverOpen=${()=>this._open=!0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${t=>{t.stopPropagation()}} @calciteColorPickerInput=${({target:{value:t}})=>{if(typeof t=="string"){let r=new l(t);this.color=r,this.arcgisColorChanged.emit(r)}}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>`:void 0}</calcite-label>`}};d("arcgis-color-select",a);return a},"Color","intl")
@@ -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.91 */
4
- import{I as u,J as l,O as o,a as c,b as r}from"./N3BAMOML.js";import"./DXJI63DK.js";export default $arcgis.t(([{watch:f},m])=>{var v=c`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,p="arcgis-print",d={srLabel:`${p}__sr-label`,invalidWkidText:`${p}__invalid-wkid-text`};function _(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends u{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[f(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:a}=this;return r`<div><calcite-label><div class=${l(d.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:s})=>{let i=g(s.value);if(Number.isNaN(i)||i==null||i<=0||!Number.isFinite(i)){s.value=`${a?.wkid??""}`;return}this.viewModel.outSpatialReference=Number.isNaN(i)||i==null?null:new m({wkid:i}),this._isValidSpatialReference=!a||_(a)}}></calcite-input-number>${this._isValidSpatialReference?null:r`<div class=${l(d.invalidWkidText)}>${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils","geometry/SpatialReference")
3
+ v5.0.0-next.93 */
4
+ import{I as u,J as l,O as o,a as c,b as r}from"./IKNWZBGW.js";import"./4CS2VL3M.js";export default $arcgis.t(([{watch:f},m])=>{var v=c`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,p="arcgis-print",d={srLabel:`${p}__sr-label`,invalidWkidText:`${p}__invalid-wkid-text`};function _(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends u{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[f(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:a}=this;return r`<div><calcite-label><div class=${l(d.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:s})=>{let i=g(s.value);if(Number.isNaN(i)||i==null||i<=0||!Number.isFinite(i)){s.value=`${a?.wkid??""}`;return}this.viewModel.outSpatialReference=Number.isNaN(i)||i==null?null:new m({wkid:i}),this._isValidSpatialReference=!a||_(a)}}></calcite-input-number>${this._isValidSpatialReference?null:r`<div class=${l(d.invalidWkidText)}>${t.invalidWkid}</div>`}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils","geometry/SpatialReference")
@@ -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.91 */
3
+ v5.0.0-next.93 */
4
4
  var e={disabled:"esri-disabled",empty:"esri-widget__content--empty",heading:"esri-widget__heading",loaderAnimation:"esri-widget__loader-animation",panel:"esri-widget--panel",widget:"esri-widget",widgetButton:"esri-widget--button",widgetDisabled:"esri-widget--disabled"};export{e as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.91 */
4
- import"./DXJI63DK.js";var r={firstDayOfWeek:1,_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:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_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":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","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:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","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":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %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.93 */
4
+ import"./4CS2VL3M.js";var r={firstDayOfWeek:1,_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:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_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":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","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:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","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":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %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.91 */
4
- import a from"./ZFYMVQF2.js";import{I as R,J as r,K as k,O as x,a as $,b}from"./N3BAMOML.js";import"./DXJI63DK.js";export default $arcgis.t(([{e:_,g:y,h:L}])=>{var X=$`.arcgis-spike-ramp__container{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm-plus);margin-left:var(--calcite-spacing-sm)}.arcgis-spike-ramp__preview-container{display:flex;position:relative;gap:var(--calcite-spacing-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding:0 var(--calcite-spacing-xl)}.arcgis-spike-ramp__preview{display:flex;gap:var(--calcite-spacing-sm-plus);align-items:end}.arcgis-spike-ramp__symbol-preview{display:flex}.arcgis-spike-ramp__lines{display:flex;position:absolute;bottom:0}.arcgis-spike-ramp__labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.arcgis-spike-ramp__label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.arcgis-spike-ramp__label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`,p={spikeRampContainer:"arcgis-spike-ramp__container",spikeRampPreviewContainer:"arcgis-spike-ramp__preview-container",spikeRampPreview:"arcgis-spike-ramp__preview",spikeRampSymbolPreview:"arcgis-spike-ramp__symbol-preview",spikeRampLines:"arcgis-spike-ramp__lines",spikeRampLabelsContainer:"arcgis-spike-ramp__labels-container",spikeRampLabel:"arcgis-spike-ramp__label"},Y="#ddd",e=window.devicePixelRatio;function u(v){return v.infos.filter((m,t)=>t%2===0)}function S(v){return!!(v&&typeof v=="object")}var f=class extends R{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=X}render(){return this.legendElement.infos.length!==5?null:b`<div class=${r(p.spikeRampContainer)}><div class=${r(p.spikeRampPreviewContainer)}>${this._renderSpikeRampLines()}${this._renderSpikeRampPreview()}</div>${this._renderSpikeRampLabels()}</div>`}_renderSpikeRampPreview(){let m=this.legendElement,[t,l,d]=u(m).map(({preview:c,label:n})=>{if(!c)return null;let s=c.cloneNode(!0);return s.classList.add(p.spikeRampSymbolPreview),L(s,y(this.messages,n)),s});return!t||!l||!d?null:b`<div class=${r(p.spikeRampPreview)}><div>${d}</div><div>${l}</div><div>${t}</div></div>`}_renderSpikeRampLines(){let m=this.legendElement,[{width:t,height:l},{width:d},{width:c,height:n}]=u(m).map(({size:w})=>S(w)?{width:_(w.width),height:_(w.height)}:{width:0,height:0}),s=10,g=8,o=t+d+c+s*3,h=l,a=document.createElement("canvas");a.width=(o+s)*e,a.height=h*e,a.style.width=`${a.width/e}px`,a.style.height=`${a.height/e}px`;let i=a.getContext("2d");i.beginPath();let P=o-(t/2+s),C=0,E=o+g;i.moveTo(P*e,C*e),i.lineTo(E*e,0*e);let T=(o-g)/2,z=(l-n)/2,M=o+g,j=(l-n)/2;i.moveTo(T*e,z*e),i.lineTo(M*e,j*e);let A=c/2,W=h-n,H=o+g,I=h-n;return i.moveTo(A*e,W*e),i.lineTo(H*e,I*e),i.strokeStyle=Y,i.lineWidth=.5*e,i.stroke(),b`<div class=${r(p.spikeRampLines)}>${a}</div>`}_renderSpikeRampLabels(){let m=this.legendElement,[{label:t,height:l},{label:d},{label:c,height:n}]=u(m).map(({label:a,size:i})=>({label:a,height:S(i)?_(i.height):0})),s=l-n,g={position:"absolute",top:"0"},o={position:"absolute",top:`${s/2}px`},h={position:"absolute",top:`${s}px`};return b`<div class=${r(p.spikeRampLabelsContainer)}><div class=${r(p.spikeRampLabel)} style=${k(g)}>${t}</div><div class=${r(p.spikeRampLabel)} style=${k(o)}>${d}</div><div class=${r(p.spikeRampLabel)} style=${k(h)}>${c}</div></div>`}};x("arcgis-legend-spike-ramp",f);return f},a)
3
+ v5.0.0-next.93 */
4
+ import a from"./QO6QN3IQ.js";import{I as R,J as r,K as k,O as x,a as $,b}from"./IKNWZBGW.js";import"./4CS2VL3M.js";export default $arcgis.t(([{e:_,g:y,h:L}])=>{var X=$`.arcgis-spike-ramp__container{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm-plus);margin-left:var(--calcite-spacing-sm)}.arcgis-spike-ramp__preview-container{display:flex;position:relative;gap:var(--calcite-spacing-sm-plus);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);padding:0 var(--calcite-spacing-xl)}.arcgis-spike-ramp__preview{display:flex;gap:var(--calcite-spacing-sm-plus);align-items:end}.arcgis-spike-ramp__symbol-preview{display:flex}.arcgis-spike-ramp__lines{display:flex;position:absolute;bottom:0}.arcgis-spike-ramp__labels-container{display:flex;position:relative;top:-5px;flex:1;min-width:120px}.arcgis-spike-ramp__label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;word-break:break-all;font-size:var(--calcite-font-size-sm)}.arcgis-spike-ramp__label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}`,p={spikeRampContainer:"arcgis-spike-ramp__container",spikeRampPreviewContainer:"arcgis-spike-ramp__preview-container",spikeRampPreview:"arcgis-spike-ramp__preview",spikeRampSymbolPreview:"arcgis-spike-ramp__symbol-preview",spikeRampLines:"arcgis-spike-ramp__lines",spikeRampLabelsContainer:"arcgis-spike-ramp__labels-container",spikeRampLabel:"arcgis-spike-ramp__label"},Y="#ddd",e=window.devicePixelRatio;function u(v){return v.infos.filter((m,t)=>t%2===0)}function S(v){return!!(v&&typeof v=="object")}var f=class extends R{constructor(){super(...arguments),this.legendElement=null}static{this.properties={legendElement:0,messages:0}}static{this.styles=X}render(){return this.legendElement.infos.length!==5?null:b`<div class=${r(p.spikeRampContainer)}><div class=${r(p.spikeRampPreviewContainer)}>${this._renderSpikeRampLines()}${this._renderSpikeRampPreview()}</div>${this._renderSpikeRampLabels()}</div>`}_renderSpikeRampPreview(){let m=this.legendElement,[t,l,d]=u(m).map(({preview:c,label:n})=>{if(!c)return null;let s=c.cloneNode(!0);return s.classList.add(p.spikeRampSymbolPreview),L(s,y(this.messages,n)),s});return!t||!l||!d?null:b`<div class=${r(p.spikeRampPreview)}><div>${d}</div><div>${l}</div><div>${t}</div></div>`}_renderSpikeRampLines(){let m=this.legendElement,[{width:t,height:l},{width:d},{width:c,height:n}]=u(m).map(({size:w})=>S(w)?{width:_(w.width),height:_(w.height)}:{width:0,height:0}),s=10,g=8,o=t+d+c+s*3,h=l,a=document.createElement("canvas");a.width=(o+s)*e,a.height=h*e,a.style.width=`${a.width/e}px`,a.style.height=`${a.height/e}px`;let i=a.getContext("2d");i.beginPath();let P=o-(t/2+s),C=0,E=o+g;i.moveTo(P*e,C*e),i.lineTo(E*e,0*e);let T=(o-g)/2,z=(l-n)/2,M=o+g,j=(l-n)/2;i.moveTo(T*e,z*e),i.lineTo(M*e,j*e);let A=c/2,W=h-n,H=o+g,I=h-n;return i.moveTo(A*e,W*e),i.lineTo(H*e,I*e),i.strokeStyle=Y,i.lineWidth=.5*e,i.stroke(),b`<div class=${r(p.spikeRampLines)}>${a}</div>`}_renderSpikeRampLabels(){let m=this.legendElement,[{label:t,height:l},{label:d},{label:c,height:n}]=u(m).map(({label:a,size:i})=>({label:a,height:S(i)?_(i.height):0})),s=l-n,g={position:"absolute",top:"0"},o={position:"absolute",top:`${s/2}px`},h={position:"absolute",top:`${s}px`};return b`<div class=${r(p.spikeRampLabelsContainer)}><div class=${r(p.spikeRampLabel)} style=${k(g)}>${t}</div><div class=${r(p.spikeRampLabel)} style=${k(o)}>${d}</div><div class=${r(p.spikeRampLabel)} style=${k(h)}>${c}</div></div>`}};x("arcgis-legend-spike-ramp",f);return f},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.91 */
4
- import b from"./VS36V4IF.js";import a from"./BZXKK73B.js";import{a as T}from"./WG4DXJ4T.js";import"./Z5NXVC7O.js";import{I as C,J as k,O as M,a as A,b as m}from"./N3BAMOML.js";import"./DXJI63DK.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)
3
+ v5.0.0-next.93 */
4
+ import b from"./C52USQZY.js";import a from"./WXEYFVOL.js";import{a as T}from"./5DYLDR23.js";import"./NMF2M4P3.js";import{I as C,J as k,O as M,a as A,b as m}from"./IKNWZBGW.js";import"./4CS2VL3M.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)