@esri/solutions-components 1.1.1 → 1.2.0-next.1

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 (472) hide show
  1. package/dist/cdn/{U4VWSAWK.js → 22IZH5VL.js} +3 -3
  2. package/dist/cdn/{YJPQ6I7G.js → 23EIVSUJ.js} +3 -3
  3. package/dist/cdn/{LV2EHSXJ.js → 25LMHUAF.js} +3 -3
  4. package/dist/cdn/{IJYKJ7U3.js → 26SSUBUE.js} +3 -3
  5. package/dist/cdn/{7GCGTHLP.js → 27APFVLL.js} +3 -3
  6. package/dist/cdn/{2CDAKBYX.js → 2CEJYF62.js} +3 -3
  7. package/dist/cdn/{XOQOHYCH.js → 2MVXKE3V.js} +3 -3
  8. package/dist/cdn/{YCOUYTAZ.js → 2W53WRNR.js} +3 -3
  9. package/dist/cdn/{KJNHCW6Z.js → 2YHT764G.js} +3 -3
  10. package/dist/cdn/{XDMBJPAY.js → 32DRSUWP.js} +3 -3
  11. package/dist/cdn/35OPALGJ.js +4 -0
  12. package/dist/cdn/{PL6BITGI.js → 3FTD7QHK.js} +3 -3
  13. package/dist/cdn/{TOSZWSLH.js → 3OEDIKQ5.js} +3 -3
  14. package/dist/cdn/{NHLAFRCY.js → 3PXVZE5B.js} +3 -3
  15. package/dist/cdn/{ABKXGOLH.js → 3QPRWMXZ.js} +3 -3
  16. package/dist/cdn/{ZY4JIOV6.js → 3QZ3WO4J.js} +3 -3
  17. package/dist/cdn/{D3U545GO.js → 3RX4FKVH.js} +3 -3
  18. package/dist/cdn/{EDQISJN2.js → 3UYQB5M2.js} +2 -2
  19. package/dist/cdn/{TBQSNIZB.js → 3W7QQ6P6.js} +3 -3
  20. package/dist/cdn/{3G7RVBUA.js → 3X4Q46AK.js} +3 -3
  21. package/dist/cdn/3XLZCUHG.js +4 -0
  22. package/dist/cdn/{CVHQL36X.js → 43JJ42I6.js} +3 -3
  23. package/dist/cdn/{CEMXCEBH.js → 4G6CGSME.js} +2 -2
  24. package/dist/cdn/{DZCKXQ37.js → 4LOY373E.js} +3 -3
  25. package/dist/cdn/{LFR22E5T.js → 4NAXXYIA.js} +3 -3
  26. package/dist/cdn/{DG6X6ND5.js → 4UHO6YOS.js} +3 -3
  27. package/dist/cdn/{NHT6Z5E2.js → 4VVSACXP.js} +3 -3
  28. package/dist/cdn/4XORBQ43.js +4 -0
  29. package/dist/cdn/{OZ6WFV25.js → 4ZE7GGAS.js} +3 -3
  30. package/dist/cdn/{IYRAUVEG.js → 522BPYLF.js} +3 -3
  31. package/dist/cdn/{NL26TI4R.js → 55L6CSSX.js} +3 -3
  32. package/dist/cdn/5BGGKOSZ.js +4 -0
  33. package/dist/cdn/{SOHGAMG2.js → 5D6MJQRN.js} +3 -3
  34. package/dist/cdn/{DT2QNJXZ.js → 5EYMLB42.js} +3 -3
  35. package/dist/cdn/{NE2AVEWI.js → 5RUH4EFW.js} +3 -3
  36. package/dist/cdn/{YNPQP3KG.js → 653HGMN6.js} +3 -3
  37. package/dist/cdn/{OY6K2PSA.js → 67I4BHMX.js} +3 -3
  38. package/dist/cdn/{EWNQPSM6.js → 6HBBCCOM.js} +3 -3
  39. package/dist/cdn/{KLEDYY4Y.js → 6O7OK3WU.js} +2 -2
  40. package/dist/cdn/{HFFRR5LZ.js → 6PGNEYP5.js} +3 -3
  41. package/dist/cdn/{UVAXWM4L.js → 6UNT5MUE.js} +2 -2
  42. package/dist/cdn/{6YCAEYPE.js → 6VLVWAKZ.js} +2 -2
  43. package/dist/cdn/{BKJFP7LT.js → 736NHE3J.js} +3 -3
  44. package/dist/cdn/7A3C36WQ.js +4 -0
  45. package/dist/cdn/{UNICLOME.js → 7BJFXFUH.js} +3 -3
  46. package/dist/cdn/7G4N7AYZ.js +4 -0
  47. package/dist/cdn/{2J4G54AQ.js → 7GIY6DUJ.js} +3 -3
  48. package/dist/cdn/{2JEEZNQU.js → 7JXHJ3TL.js} +3 -3
  49. package/dist/cdn/{U5BYVOCV.js → 7KQUOMHW.js} +3 -3
  50. package/dist/cdn/{4UFKHCT4.js → 7PM6K4BQ.js} +2 -2
  51. package/dist/cdn/7WSRMZLR.js +4 -0
  52. package/dist/cdn/{MGSTYEHN.js → 7YHRTXQH.js} +3 -3
  53. package/dist/cdn/{2V52VLFJ.js → 7YJKP23X.js} +3 -3
  54. package/dist/cdn/{B5LYIFIL.js → 7Z6VMW3R.js} +3 -3
  55. package/dist/cdn/{DG7ELQI5.js → A3HZAJRG.js} +3 -3
  56. package/dist/cdn/{B4SZ3AFB.js → A3QP26AQ.js} +3 -3
  57. package/dist/cdn/{PWBUTW4G.js → A7GDEXFK.js} +3 -3
  58. package/dist/cdn/{ORSXUYDL.js → AAILNBJL.js} +3 -3
  59. package/dist/cdn/{DELGK4BU.js → AFI227JI.js} +3 -3
  60. package/dist/cdn/{2CZX6QRM.js → AG5QKP4L.js} +3 -3
  61. package/dist/cdn/{L4YSSYQH.js → AJCN5TZU.js} +3 -3
  62. package/dist/cdn/{YXBR66FZ.js → AM6CUQET.js} +3 -3
  63. package/dist/cdn/{3WSKTJKP.js → AQLLIUAO.js} +3 -3
  64. package/dist/cdn/{7HBTOAR5.js → B5HIH5BI.js} +3 -3
  65. package/dist/cdn/{5LFFKDSV.js → BFSMHNRA.js} +3 -3
  66. package/dist/cdn/{5QS55J2V.js → BFW6A2EV.js} +3 -3
  67. package/dist/cdn/{MGYYPLGC.js → BGVEHDJZ.js} +3 -3
  68. package/dist/cdn/{55QFSM4Z.js → BH4WHSTL.js} +3 -3
  69. package/dist/cdn/{53KQQRS4.js → BMUM7THE.js} +3 -3
  70. package/dist/cdn/{D3AONMYK.js → BQG7DYTH.js} +3 -3
  71. package/dist/cdn/{JMYTSZCC.js → BSKEER6B.js} +3 -3
  72. package/dist/cdn/{AUCQU57I.js → BT7XOYF5.js} +3 -3
  73. package/dist/cdn/{6ATB2NEI.js → BTZUJGQZ.js} +2 -2
  74. package/dist/cdn/{FX5ZISLR.js → BVHEKO2U.js} +3 -3
  75. package/dist/cdn/BVUB2SWQ.js +4 -0
  76. package/dist/cdn/{YGBNP67C.js → BXINC4TL.js} +2 -2
  77. package/dist/cdn/{UVOSWHK6.js → BY7JMUBE.js} +3 -3
  78. package/dist/cdn/{GFVWUN5D.js → BYVW36VB.js} +3 -3
  79. package/dist/cdn/BZDKUBLK.js +4 -0
  80. package/dist/cdn/{CGRUPQKB.js → C2CDVQOR.js} +3 -3
  81. package/dist/cdn/{FFQ3HGQK.js → C4VBVF5F.js} +3 -3
  82. package/dist/cdn/{4GJOG2F4.js → CB4NXNE5.js} +3 -3
  83. package/dist/cdn/{26YIO67D.js → CEH26EDG.js} +3 -3
  84. package/dist/cdn/{MDMOHF6P.js → CIM646MY.js} +3 -3
  85. package/dist/cdn/{HF7PHNIQ.js → CNU3472Z.js} +3 -3
  86. package/dist/cdn/{VSI5R4LM.js → CP4FAI42.js} +3 -3
  87. package/dist/cdn/{OSSABG5C.js → CRXAZVVV.js} +3 -3
  88. package/dist/cdn/{VT24NQ3G.js → CVGM4QYD.js} +3 -3
  89. package/dist/cdn/{HSQOGPUN.js → CVNJUCBY.js} +3 -3
  90. package/dist/cdn/{R2LM4OS3.js → CWHNHLH4.js} +3 -3
  91. package/dist/cdn/{SPLHZ3N7.js → CWXSLS5U.js} +3 -3
  92. package/dist/cdn/{RHRIOV47.js → D2RAZUGA.js} +3 -3
  93. package/dist/cdn/D6SWHYCO.js +4 -0
  94. package/dist/cdn/{JWYEWEFN.js → DLCCT4NW.js} +3 -3
  95. package/dist/cdn/{SFGQEQN6.js → DNJUS347.js} +3 -3
  96. package/dist/cdn/{X3KX5MLG.js → DO6VOO2V.js} +3 -3
  97. package/dist/cdn/{XRBYIFHY.js → DQPEZQH4.js} +3 -3
  98. package/dist/cdn/{KX5ZC2OR.js → DRUP6BQ5.js} +3 -3
  99. package/dist/cdn/{CDEY6E3D.js → DSVAIF4Y.js} +2 -2
  100. package/dist/cdn/{TLOJATEQ.js → DT6TJWI4.js} +3 -3
  101. package/dist/cdn/{FIUCHRQF.js → DTHJ6RVO.js} +3 -3
  102. package/dist/cdn/{RDZOTUWI.js → DW2DU6WF.js} +3 -3
  103. package/dist/cdn/{EXAPAR3S.js → DYETIYXT.js} +3 -3
  104. package/dist/cdn/{3BCMTX5A.js → E45HXI25.js} +3 -3
  105. package/dist/cdn/{ENYF3KSA.js → E56R6ZHU.js} +3 -3
  106. package/dist/cdn/{5ELVKZK3.js → EAJLTNVD.js} +3 -3
  107. package/dist/cdn/{VOYVH7QX.js → EAJPSM6R.js} +3 -3
  108. package/dist/cdn/{GPMIA743.js → EAPSALKZ.js} +3 -3
  109. package/dist/cdn/{ETND67WR.js → EAXDRT25.js} +3 -3
  110. package/dist/cdn/{4L7ZMWIA.js → ECIK3AWG.js} +2 -2
  111. package/dist/cdn/{B54XVRBZ.js → EEH2H5FR.js} +3 -3
  112. package/dist/cdn/{Z263ME6T.js → EFN7NAAY.js} +3 -3
  113. package/dist/cdn/{XF3NVRQZ.js → EGSHVW4A.js} +3 -3
  114. package/dist/cdn/{XZL7GBO2.js → F3UCVDZ2.js} +2 -2
  115. package/dist/cdn/{XUGHHYWO.js → F4M6554C.js} +3 -3
  116. package/dist/cdn/{WPJ4D5AX.js → F4N67DYP.js} +3 -3
  117. package/dist/cdn/F5427EYW.js +4 -0
  118. package/dist/cdn/{OLARJ53Z.js → FF2RFQ4J.js} +3 -3
  119. package/dist/cdn/FGB6FI4J.js +4 -0
  120. package/dist/cdn/{SO5JOFTM.js → FKLJTSPN.js} +3 -3
  121. package/dist/cdn/{WHOLLTII.js → FPWJ6PMO.js} +3 -3
  122. package/dist/cdn/{DYU53Y76.js → FTPJQUXV.js} +3 -3
  123. package/dist/cdn/{C25PM233.js → FUAAIOVV.js} +3 -3
  124. package/dist/cdn/{ZUP2X5AU.js → FUHNVQ4J.js} +3 -3
  125. package/dist/cdn/{3ALCYZ3Q.js → FXHXJ4QL.js} +3 -3
  126. package/dist/cdn/FYDE2G2S.js +4 -0
  127. package/dist/cdn/{ZRPNT6EM.js → G3KFU7YY.js} +3 -3
  128. package/dist/cdn/{KIBCKDDV.js → G64ULB7X.js} +3 -3
  129. package/dist/cdn/GDQKBGVU.js +4 -0
  130. package/dist/cdn/{5MMYLEOU.js → GDTOMIWL.js} +3 -3
  131. package/dist/cdn/{65EP7IPW.js → GKZBYEDV.js} +3 -3
  132. package/dist/cdn/{E7JSS6TZ.js → GO3DBAQ3.js} +3 -3
  133. package/dist/cdn/{JXWLSI7W.js → GOLK3KHK.js} +3 -3
  134. package/dist/cdn/{NH4S2EP6.js → GPAASHCV.js} +3 -3
  135. package/dist/cdn/{QE2S7FMO.js → GPN7CMKQ.js} +2 -2
  136. package/dist/cdn/{XEANXWMN.js → GUQOCIWI.js} +3 -3
  137. package/dist/cdn/{G2ZE3JDL.js → GVV6CMDT.js} +3 -3
  138. package/dist/cdn/{KGU6GWRV.js → GZK4P6TS.js} +3 -3
  139. package/dist/cdn/H3FZKBQZ.js +4 -0
  140. package/dist/cdn/{BPUJQWHO.js → H5BCC2WI.js} +3 -3
  141. package/dist/cdn/H6GTBKYE.js +4 -0
  142. package/dist/cdn/{ELPOHGJW.js → HA35BFCM.js} +3 -3
  143. package/dist/cdn/{IDTCCLPD.js → HAPZLAZI.js} +3 -3
  144. package/dist/cdn/{O7Z57GLZ.js → HEQ4RTPP.js} +2 -2
  145. package/dist/cdn/{2YQAGWB4.js → HHE7DQNN.js} +3 -3
  146. package/dist/cdn/{PNOXI4LK.js → HIPPWX3F.js} +3 -3
  147. package/dist/cdn/{HS4O2ERP.js → HKOPWYUS.js} +3 -3
  148. package/dist/cdn/{OTTNFPEO.js → HRVWEYZD.js} +3 -3
  149. package/dist/cdn/{L4PGMPKA.js → HTK6SD7P.js} +3 -3
  150. package/dist/cdn/{RKMHFE6O.js → HWZTRX65.js} +3 -3
  151. package/dist/cdn/{K5B6UE4O.js → HYRLUKFR.js} +3 -3
  152. package/dist/cdn/{4P3ZYJQ3.js → I2HXIQGP.js} +3 -3
  153. package/dist/cdn/{5SCFBPOD.js → I3GNEXKT.js} +3 -3
  154. package/dist/cdn/{4REQUGTX.js → I4ZETC2J.js} +3 -3
  155. package/dist/cdn/{V46NQFJY.js → IBM5XI3O.js} +3 -3
  156. package/dist/cdn/{L3O7A2E6.js → IFOFHB4W.js} +3 -3
  157. package/dist/cdn/{B4SUA3W7.js → IHWF6T6Y.js} +3 -3
  158. package/dist/cdn/{TO563LCJ.js → ILI2S73E.js} +3 -3
  159. package/dist/cdn/{KTABK32D.js → IMCXSNGQ.js} +3 -3
  160. package/dist/cdn/{QFMJ7ICF.js → IQVYADON.js} +3 -3
  161. package/dist/cdn/{4LWHDNDR.js → IRGSMHZ2.js} +3 -3
  162. package/dist/cdn/{NJF4SHQQ.js → IW3SAA7O.js} +3 -3
  163. package/dist/cdn/{UKTDQUNY.js → IW52PVHP.js} +3 -3
  164. package/dist/cdn/{LG4FCYVC.js → IW5XHI5X.js} +3 -3
  165. package/dist/cdn/{ICHAZGEE.js → J3W2N5FC.js} +3 -3
  166. package/dist/cdn/{JQSLLFKL.js → JFZABKV5.js} +3 -3
  167. package/dist/cdn/{C5IVPFPI.js → JGE7H6EF.js} +3 -3
  168. package/dist/cdn/{GQCNQXN5.js → JKF6DMWR.js} +2 -2
  169. package/dist/cdn/{HFVS4CAO.js → JNLG6F4W.js} +2 -2
  170. package/dist/cdn/{DK35UKU7.js → JNMUGZK3.js} +2 -2
  171. package/dist/cdn/{AHJZ4NUK.js → JPL6PWCI.js} +3 -3
  172. package/dist/cdn/{EQIDO6DW.js → JPZHUXDB.js} +3 -3
  173. package/dist/cdn/{TFCCDEFO.js → JSDRL6ZD.js} +3 -3
  174. package/dist/cdn/{GYQWDRLR.js → JZ5M3XFU.js} +3 -3
  175. package/dist/cdn/{CY3IW6EI.js → K53JJQXH.js} +3 -3
  176. package/dist/cdn/{7TQGZSOS.js → K73RVWFQ.js} +3 -3
  177. package/dist/cdn/KC4VT3EZ.js +4 -0
  178. package/dist/cdn/{6TRHSJBA.js → KJUT6QHE.js} +3 -3
  179. package/dist/cdn/{YBH5KSXC.js → KQ3W6U2O.js} +3 -3
  180. package/dist/cdn/{L4UMBNSK.js → KSKCA47T.js} +3 -3
  181. package/dist/cdn/{QRN72H3R.js → KSRRTR4T.js} +3 -3
  182. package/dist/cdn/{2UB4CICT.js → KXTFN2PN.js} +3 -3
  183. package/dist/cdn/{VUBDTATP.js → KZGCFGXP.js} +10 -5
  184. package/dist/cdn/{ZZG6UPJB.js → L2KCAISR.js} +3 -3
  185. package/dist/cdn/{AGCNKK6G.js → L4A7ZXML.js} +3 -3
  186. package/dist/cdn/{46ZDALTQ.js → L7QPZ7RC.js} +3 -3
  187. package/dist/cdn/{AEIXUSBT.js → LB6KC3G5.js} +3 -3
  188. package/dist/cdn/{35KT5J6L.js → LC5MX3Y5.js} +3 -3
  189. package/dist/cdn/{PDBKU4S2.js → LFVIZYTM.js} +2 -2
  190. package/dist/cdn/{HOZ3ZGMX.js → LGL4DYMW.js} +3 -3
  191. package/dist/cdn/{26A7IUMW.js → LHLMGRPK.js} +3 -3
  192. package/dist/cdn/{IOIU2LQ7.js → LJMZ6FUS.js} +3 -3
  193. package/dist/cdn/{7Q36435D.js → LK4URP54.js} +3 -3
  194. package/dist/cdn/{ICNZOE62.js → LLTDCAVX.js} +3 -3
  195. package/dist/cdn/{2WOT62PD.js → LNB7BGSN.js} +3 -3
  196. package/dist/cdn/{T5UO2UPO.js → LPLIW3W4.js} +3 -3
  197. package/dist/cdn/{PQLAT5KP.js → LRQNOIGC.js} +3 -3
  198. package/dist/cdn/{5BQ6XBFO.js → LY6EPL2S.js} +3 -3
  199. package/dist/cdn/{YETRMAS4.js → LY7L2GZL.js} +3 -3
  200. package/dist/cdn/{RKPQ6P4K.js → LYCCIBXG.js} +3 -3
  201. package/dist/cdn/{2BCLZ6CT.js → MAJWJ4QY.js} +3 -3
  202. package/dist/cdn/{27ZTA7Z7.js → MBAMULPA.js} +3 -3
  203. package/dist/cdn/{4ACOSJ2R.js → MBZJ3EX7.js} +3 -3
  204. package/dist/cdn/{DTPMMVFN.js → MFQXVNXI.js} +3 -3
  205. package/dist/cdn/{LKGNNJ5C.js → MFYT2IIR.js} +3 -3
  206. package/dist/cdn/{6LZA3IU7.js → MGLOK6G6.js} +2 -2
  207. package/dist/cdn/{KHEFLBXY.js → MGQ7JXPR.js} +3 -3
  208. package/dist/cdn/{5K76V7K5.js → MGWW6MPC.js} +3 -3
  209. package/dist/cdn/{NCBU44KK.js → MJW4C2UT.js} +3 -3
  210. package/dist/cdn/MPAC6ACP.js +4 -0
  211. package/dist/cdn/{BGNGMZZR.js → MXVQWNSO.js} +3 -3
  212. package/dist/cdn/{T2ZH3NKY.js → MZKLKS6I.js} +3 -3
  213. package/dist/cdn/{6D4MPGC2.js → N6QQZFT5.js} +3 -3
  214. package/dist/cdn/{X4YLMHXT.js → NBOCMHX6.js} +3 -3
  215. package/dist/cdn/{E4657PTM.js → ND2C6KMG.js} +3 -3
  216. package/dist/cdn/{LF6IEP2D.js → NE6U33BE.js} +3 -3
  217. package/dist/cdn/{I5ADXZSK.js → NHLT7M36.js} +4 -4
  218. package/dist/cdn/{I5LITYX6.js → NLUZGNSN.js} +3 -3
  219. package/dist/cdn/{EO3MW2NL.js → NYBXXXFR.js} +2 -2
  220. package/dist/cdn/OADOYFV7.js +4 -0
  221. package/dist/cdn/{Y7UHPKGK.js → OBBAK6WE.js} +3 -3
  222. package/dist/cdn/{EVL5ENBM.js → OBSNNREX.js} +3 -3
  223. package/dist/cdn/{DWLML3AH.js → OD3QTJAN.js} +3 -3
  224. package/dist/cdn/{B6Z3B7WO.js → OFNTBPZ5.js} +3 -3
  225. package/dist/cdn/{VIGDHAXV.js → OJZCK5XA.js} +3 -3
  226. package/dist/cdn/{JNYHCS6W.js → OTLPAZXI.js} +3 -3
  227. package/dist/cdn/{T53MA6GA.js → OTY43NZY.js} +3 -3
  228. package/dist/cdn/{WNXJPQ3P.js → OVM4U6YF.js} +3 -3
  229. package/dist/cdn/{E26HA4PU.js → OXUROQRO.js} +2 -2
  230. package/dist/cdn/{USE6OJ76.js → OYNJ6GFI.js} +2 -2
  231. package/dist/cdn/{EIDWGAQS.js → P2ZBSU5H.js} +3 -3
  232. package/dist/cdn/{TYB33GBX.js → PFANUBNV.js} +3 -3
  233. package/dist/cdn/{3AKF2NFL.js → PLW2DSVT.js} +2 -2
  234. package/dist/cdn/{2BWMHRH4.js → PNLI6VBN.js} +3 -3
  235. package/dist/cdn/{IAAUVKHV.js → PQFMMRQF.js} +3 -3
  236. package/dist/cdn/{QYGNVH4W.js → PYOCFNFS.js} +2 -2
  237. package/dist/cdn/{PCEDSTLJ.js → PZCE22XQ.js} +3 -3
  238. package/dist/cdn/{G5J7AYET.js → PZH7RCYT.js} +2 -2
  239. package/dist/cdn/{EMJVLMDF.js → Q274TR3Z.js} +3 -3
  240. package/dist/cdn/{F6LLK63V.js → Q5KPFPGD.js} +3 -3
  241. package/dist/cdn/{4N5DLQ55.js → QAPZIGZM.js} +3 -3
  242. package/dist/cdn/{UFHCRIJM.js → QAXMDQX3.js} +3 -3
  243. package/dist/cdn/{ONHXUPVG.js → QFL5XFOY.js} +3 -3
  244. package/dist/cdn/{5OV265N4.js → QKV74IV3.js} +3 -3
  245. package/dist/cdn/{NQE4EDAU.js → QQ5C5WOS.js} +3 -3
  246. package/dist/cdn/{LVLT7OO5.js → QSZDH2XJ.js} +3 -3
  247. package/dist/cdn/{3I4KGLJ2.js → QVDUABX7.js} +3 -3
  248. package/dist/cdn/{GKFQSVNR.js → QZC5UTRX.js} +3 -3
  249. package/dist/cdn/{56TBWRRO.js → R474NPB2.js} +3 -3
  250. package/dist/cdn/{6KGM4ZLO.js → RCWPPZIY.js} +3 -3
  251. package/dist/cdn/{M6O3GAPO.js → RF6B6MW7.js} +3 -3
  252. package/dist/cdn/{7PZ4UBDR.js → RLSD2M4U.js} +2 -2
  253. package/dist/cdn/{7TPSN3OZ.js → RN2IQ6P7.js} +3 -3
  254. package/dist/cdn/{XMKDRPPW.js → ROASTLYA.js} +2 -2
  255. package/dist/cdn/{UYVKGCIC.js → RQBPWWL2.js} +2 -2
  256. package/dist/cdn/{DQZV5B4U.js → RQETMS6H.js} +3 -3
  257. package/dist/cdn/{I226XVK6.js → RSTCU2L3.js} +2 -2
  258. package/dist/cdn/{TPQBOF3P.js → RTNMZG5Q.js} +3 -3
  259. package/dist/cdn/RXM4HJ6I.js +4 -0
  260. package/dist/cdn/{FCF3N62R.js → S2BUTHI2.js} +3 -3
  261. package/dist/cdn/{XIO74BNK.js → S6Q334DO.js} +3 -3
  262. package/dist/cdn/{XW4B55X6.js → S7RSY7HH.js} +3 -3
  263. package/dist/cdn/{2JFRXKUJ.js → SB2P3KLH.js} +3 -3
  264. package/dist/cdn/{AM7XZYHN.js → SBV7BWCP.js} +3 -3
  265. package/dist/cdn/{LTCTW5SI.js → SIE6CDNG.js} +2 -2
  266. package/dist/cdn/{6SJDAXKU.js → SKBIH7Z2.js} +3 -3
  267. package/dist/cdn/{JR7EO46W.js → SNTUWGY2.js} +3 -3
  268. package/dist/cdn/{PSX4TZJP.js → SS34O6SJ.js} +2 -2
  269. package/dist/cdn/{MBGCB6OG.js → SWN5VSPM.js} +3 -3
  270. package/dist/cdn/{6Q3BQ2FC.js → SZAH6PQP.js} +3 -3
  271. package/dist/cdn/T2S7EWB5.js +4 -0
  272. package/dist/cdn/{DAR4Z4PY.js → T2ZLWCLC.js} +3 -3
  273. package/dist/cdn/{H55NCRTY.js → TCPVLIO2.js} +3 -3
  274. package/dist/cdn/{TGVB6RQB.js → TGDGVXKT.js} +3 -3
  275. package/dist/cdn/{ZXNTEBYO.js → TNFKJE4M.js} +3 -3
  276. package/dist/cdn/{K36E76AY.js → TO4XC5SF.js} +3 -3
  277. package/dist/cdn/{4BCG3VKN.js → TPMHGYOD.js} +3 -3
  278. package/dist/cdn/{5RVCGMJ7.js → TTADVCT4.js} +3 -3
  279. package/dist/cdn/{3FP74ZYG.js → TXTZQIXU.js} +3 -3
  280. package/dist/cdn/{KGOYOPYR.js → TXV3OSVN.js} +3 -3
  281. package/dist/cdn/{AMQ6Z4TC.js → U3NL7FT6.js} +3 -3
  282. package/dist/cdn/{37LSWZCZ.js → U4JDQFDS.js} +3 -3
  283. package/dist/cdn/{KB26CFS5.js → U63ZSVX5.js} +2 -2
  284. package/dist/cdn/{5JGDNIJU.js → U6X3W2T2.js} +3 -3
  285. package/dist/cdn/{P55J63ZU.js → UCXPZD52.js} +3 -3
  286. package/dist/cdn/{3SXS6CO7.js → UG6Y6SUL.js} +3 -3
  287. package/dist/cdn/{4MOZP7S7.js → UK6IC5E3.js} +2 -2
  288. package/dist/cdn/{MRQCKP3E.js → UMBJBGPS.js} +3 -3
  289. package/dist/cdn/{Q4JIF4ME.js → UNZ4TB2U.js} +3 -3
  290. package/dist/cdn/UQ33VZUS.js +4 -0
  291. package/dist/cdn/{YGCKDVK6.js → UU4ZDJVO.js} +3 -3
  292. package/dist/cdn/{JFECVDJN.js → V5UDKO3L.js} +2 -2
  293. package/dist/cdn/{GE4IM3MX.js → VDJEIK4Q.js} +5 -5
  294. package/dist/cdn/{F7KJ6JU5.js → VE7TDW2K.js} +3 -3
  295. package/dist/cdn/{A7HIU3CH.js → VNA2COY6.js} +2 -2
  296. package/dist/cdn/{J6ZDDC7T.js → VZLWG2KJ.js} +3 -3
  297. package/dist/cdn/{3XU5XGKF.js → W34PKOJS.js} +3 -3
  298. package/dist/cdn/{2BTAF23L.js → W3EZRLCH.js} +3 -3
  299. package/dist/cdn/{SO2FFKO7.js → W3X6SZND.js} +3 -3
  300. package/dist/cdn/{GKB3OPCC.js → W7TKP6V5.js} +2 -2
  301. package/dist/cdn/{SL7A3O2M.js → WAQDYC7I.js} +3 -3
  302. package/dist/cdn/{BTIPZNRW.js → WL2HLYRG.js} +3 -3
  303. package/dist/cdn/{MDUZXVAQ.js → WMIGKGLJ.js} +3 -3
  304. package/dist/cdn/WPRGEX3Q.js +4 -0
  305. package/dist/cdn/WQMZCCTG.js +4 -0
  306. package/dist/cdn/{QI3DTK6Y.js → WRPJ4GDB.js} +3 -3
  307. package/dist/cdn/{7DNPNWRU.js → WWT2VJFI.js} +3 -3
  308. package/dist/cdn/{AIECUGLA.js → WXCJRGZG.js} +3 -3
  309. package/dist/cdn/{H4APLINN.js → X4XPW2FK.js} +3 -3
  310. package/dist/cdn/{3NDVWJHY.js → X6PEX6MA.js} +3 -3
  311. package/dist/cdn/{JI7NN7UZ.js → X6PG67VX.js} +3 -3
  312. package/dist/cdn/{B2BJU5HS.js → X6SSAB2E.js} +3 -3
  313. package/dist/cdn/{7KUJV4HC.js → X6Y2CG22.js} +3 -3
  314. package/dist/cdn/{ELLRXQO4.js → X7BDUXYU.js} +3 -3
  315. package/dist/cdn/{A5NORFQ3.js → XAHRAKUG.js} +3 -3
  316. package/dist/cdn/{X7ZDHHU4.js → XBBZMVKA.js} +3 -3
  317. package/dist/cdn/XHQ34X3G.js +4 -0
  318. package/dist/cdn/{OYFNC4U6.js → XIAOC6XW.js} +2 -2
  319. package/dist/cdn/{CWXIDRS2.js → XIXNLRAQ.js} +2 -2
  320. package/dist/cdn/{NG46OHWH.js → XJ62F4NL.js} +2 -2
  321. package/dist/cdn/{RFQTBJV3.js → XK5FC7XQ.js} +3 -3
  322. package/dist/cdn/{3Z52A6AW.js → XQSYZIRC.js} +3 -3
  323. package/dist/cdn/{AXLUQP4L.js → XRPPXHNC.js} +3 -3
  324. package/dist/cdn/{2IG3IMPC.js → XXDPF2HK.js} +3 -3
  325. package/dist/cdn/{5Z2FPM3N.js → XYSEGG7Q.js} +3 -3
  326. package/dist/cdn/{AL6OH2HL.js → XZSRLA3D.js} +3 -3
  327. package/dist/cdn/{YHYQGDEU.js → Y3S2FSFT.js} +3 -3
  328. package/dist/cdn/{752NXLLE.js → Y74KYB73.js} +3 -3
  329. package/dist/cdn/{2BNWBAZJ.js → YHURTADW.js} +3 -3
  330. package/dist/cdn/{BFJ3MBJ3.js → YNNECUYO.js} +3 -3
  331. package/dist/cdn/{5RFM6MUZ.js → YO25MEEB.js} +3 -3
  332. package/dist/cdn/YQNHBPTC.js +4 -0
  333. package/dist/cdn/{3KQWJHJU.js → Z44XX64I.js} +3 -3
  334. package/dist/cdn/{RYBVU2SH.js → Z4SN7DKN.js} +3 -3
  335. package/dist/cdn/{GRQT7TEY.js → ZAGSKRBT.js} +3 -3
  336. package/dist/cdn/{6HHD7W7G.js → ZD7TFS7W.js} +3 -3
  337. package/dist/cdn/{E2H2TMYA.js → ZHHNANTF.js} +3 -3
  338. package/dist/cdn/{DQRK65BG.js → ZHUFA7F3.js} +3 -3
  339. package/dist/cdn/{XOYKKKBX.js → ZKTXJLE2.js} +3 -3
  340. package/dist/cdn/{DHNEONGR.js → ZRW2OJ4E.js} +3 -3
  341. package/dist/cdn/{CZG4TQS7.js → ZUOIOELU.js} +3 -3
  342. package/dist/cdn/{RIUFIUZK.js → ZWMQNYU4.js} +3 -3
  343. package/dist/cdn/{HODMV4M5.js → ZYJNP3QC.js} +3 -3
  344. package/dist/cdn/index.js +3 -3
  345. package/dist/chunks/Auth.js +2 -2
  346. package/dist/chunks/CardsFetcher.js +2 -2
  347. package/dist/chunks/appConfig.js +2 -2
  348. package/dist/chunks/cardFetchingUtils.js +2 -2
  349. package/dist/chunks/cardsHelpers.js +2 -2
  350. package/dist/chunks/common.js +2 -2
  351. package/dist/chunks/deployAppContexts.js +2 -2
  352. package/dist/chunks/downloadUtils.js +2 -2
  353. package/dist/chunks/getItemIcon.js +2 -2
  354. package/dist/chunks/helpers.js +2 -2
  355. package/dist/chunks/interfaces.js +2 -2
  356. package/dist/chunks/loadModules.js +2 -2
  357. package/dist/chunks/mapViewUtils.js +2 -2
  358. package/dist/chunks/pciUtils.js +2 -2
  359. package/dist/chunks/popupUtils.js +2 -2
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
  361. package/dist/chunks/privilegeUtils.js +2 -2
  362. package/dist/chunks/publicNotificationContext.js +2 -2
  363. package/dist/chunks/queryUtils.js +2 -2
  364. package/dist/chunks/runtime.js +4 -4
  365. package/dist/chunks/solution-store.js +2 -2
  366. package/dist/chunks/templates.js +2 -2
  367. package/dist/chunks/useT9n.js +2 -2
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +2 -2
  369. package/dist/components/basemap-gallery/customElement.js +2 -2
  370. package/dist/components/buffer-tools/customElement.js +2 -2
  371. package/dist/components/card-manager/customElement.js +2 -2
  372. package/dist/components/consent-manager/customElement.js +2 -2
  373. package/dist/components/create-feature/customElement.js +2 -2
  374. package/dist/components/create-related-feature/customElement.js +2 -2
  375. package/dist/components/crowdsource-manager/customElement.js +2 -2
  376. package/dist/components/crowdsource-reporter/customElement.js +2 -2
  377. package/dist/components/deduct-calculator/customElement.js +2 -2
  378. package/dist/components/delete-button/customElement.js +2 -2
  379. package/dist/components/delete-dialog/customElement.js +2 -2
  380. package/dist/components/edit-card/customElement.js +2 -2
  381. package/dist/components/feature-details/customElement.js +2 -2
  382. package/dist/components/feature-list/customElement.js +2 -2
  383. package/dist/components/field-selection/customElement.js +2 -2
  384. package/dist/components/floor-filter/customElement.js +2 -2
  385. package/dist/components/info-card/customElement.js +2 -2
  386. package/dist/components/json-editor/customElement.js +2 -2
  387. package/dist/components/layer-list/customElement.js +2 -2
  388. package/dist/components/layer-table/customElement.js +2 -2
  389. package/dist/components/map-card/customElement.js +2 -2
  390. package/dist/components/map-draw-tools/customElement.js +2 -2
  391. package/dist/components/map-fullscreen/customElement.js +2 -2
  392. package/dist/components/map-layer-picker/customElement.js +2 -2
  393. package/dist/components/map-legend/customElement.js +2 -2
  394. package/dist/components/map-picker/customElement.js +2 -2
  395. package/dist/components/map-search/customElement.js +2 -2
  396. package/dist/components/map-select-tools/customElement.js +2 -2
  397. package/dist/components/map-tools/customElement.js +2 -2
  398. package/dist/components/pci-calculator/customElement.js +2 -2
  399. package/dist/components/pdf-download/customElement.js +2 -2
  400. package/dist/components/public-notification/customElement.js +2 -2
  401. package/dist/components/refine-selection/customElement.js +2 -2
  402. package/dist/components/selection-tool/customElement.js +2 -2
  403. package/dist/components/solution-article-card/customElement.js +2 -2
  404. package/dist/components/solution-configuration/customElement.js +2 -2
  405. package/dist/components/solution-configure-dialog/customElement.js +2 -2
  406. package/dist/components/solution-configure-titles/customElement.js +2 -2
  407. package/dist/components/solution-contents/customElement.js +2 -2
  408. package/dist/components/solution-delete-dialog/customElement.js +2 -2
  409. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  410. package/dist/components/solution-deployed-card/customElement.js +2 -2
  411. package/dist/components/solution-deploying-dialog/customElement.js +2 -2
  412. package/dist/components/solution-details-card/customElement.js +2 -2
  413. package/dist/components/solution-details-panel/customElement.js +2 -2
  414. package/dist/components/solution-item/customElement.js +2 -2
  415. package/dist/components/solution-item-accordion/customElement.js +2 -2
  416. package/dist/components/solution-item-details/customElement.js +2 -2
  417. package/dist/components/solution-item-diagram/customElement.js +2 -2
  418. package/dist/components/solution-item-icon/customElement.js +2 -2
  419. package/dist/components/solution-item-sharing/customElement.js +2 -2
  420. package/dist/components/solution-organization-variables/customElement.js +2 -2
  421. package/dist/components/solution-resource-item/customElement.js +2 -2
  422. package/dist/components/solution-snapshot-gallery/customElement.js +2 -2
  423. package/dist/components/solution-social-share/customElement.js +2 -2
  424. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  425. package/dist/components/solution-template-data/customElement.js +2 -2
  426. package/dist/components/solution-variables/customElement.js +2 -2
  427. package/dist/components/solutions-all-panel/customElement.js +2 -2
  428. package/dist/components/solutions-all-shell/customElement.js +2 -2
  429. package/dist/components/solutions-article-panel/customElement.js +2 -2
  430. package/dist/components/solutions-articles/customElement.js +2 -2
  431. package/dist/components/solutions-articles-shell/customElement.js +2 -2
  432. package/dist/components/solutions-deploy-app/customElement.js +2 -2
  433. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -2
  434. package/dist/components/solutions-deployed-filter-panel/customElement.js +2 -2
  435. package/dist/components/solutions-deployed-panel/customElement.js +2 -2
  436. package/dist/components/solutions-deployed-shell/customElement.js +2 -2
  437. package/dist/components/solutions-filter-panel/customElement.js +2 -2
  438. package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
  439. package/dist/components/spatial-ref/customElement.js +2 -2
  440. package/dist/components/store-manager/customElement.js +2 -2
  441. package/dist/docs/api.json +2 -2
  442. package/dist/docs/docs.json +2 -2
  443. package/dist/docs/web-types.json +1 -1
  444. package/dist/index.js +2 -2
  445. package/dist/loader.js +2 -2
  446. package/package.json +1 -1
  447. package/dist/cdn/4GP2UQG2.js +0 -4
  448. package/dist/cdn/6WOQW2IE.js +0 -4
  449. package/dist/cdn/BUV3Z6DV.js +0 -4
  450. package/dist/cdn/F3LYA4NW.js +0 -4
  451. package/dist/cdn/FP7ZWUGT.js +0 -4
  452. package/dist/cdn/FUUJFLHK.js +0 -4
  453. package/dist/cdn/FUYZJXZ3.js +0 -4
  454. package/dist/cdn/HQF37WJP.js +0 -4
  455. package/dist/cdn/HXU762XJ.js +0 -4
  456. package/dist/cdn/IL5ASV53.js +0 -4
  457. package/dist/cdn/KM72PDVP.js +0 -4
  458. package/dist/cdn/LG5TLQOT.js +0 -4
  459. package/dist/cdn/NLD43RT5.js +0 -4
  460. package/dist/cdn/NMMNVZIR.js +0 -4
  461. package/dist/cdn/NZVAVQXY.js +0 -4
  462. package/dist/cdn/OGDSICU2.js +0 -4
  463. package/dist/cdn/OYNCPS5E.js +0 -4
  464. package/dist/cdn/RFLDN7DB.js +0 -4
  465. package/dist/cdn/RGWP6ZGP.js +0 -4
  466. package/dist/cdn/S6UDZKPG.js +0 -4
  467. package/dist/cdn/S7PRSYYO.js +0 -4
  468. package/dist/cdn/SSUW7XWL.js +0 -4
  469. package/dist/cdn/TC4NP6KF.js +0 -4
  470. package/dist/cdn/VHUAYRQ7.js +0 -4
  471. package/dist/cdn/W4GLLZOA.js +0 -4
  472. package/dist/cdn/ZA4AREPP.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import c from"./AMQ6Z4TC.js";import a from"./WHOLLTII.js";import{J as I,lb as b,mb as P,q as A}from"./TFCCDEFO.js";import{g as p}from"./NG46OHWH.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import c from"./U3NL7FT6.js";import a from"./FPWJ6PMO.js";import{J as I,lb as b,mb as P,q as A}from"./JSDRL6ZD.js";import{g as p}from"./XJ62F4NL.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{d as e}from"./P55J63ZU.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import{d as e}from"./UCXPZD52.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as q}from"./UYVKGCIC.js";import{a as w}from"./7Q36435D.js";import{a as M}from"./OGDSICU2.js";import{C as T,b as v,c as F,z as P}from"./3KQWJHJU.js";import{b as S}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./YGBNP67C.js";import"./4UFKHCT4.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import{a as q}from"./RQBPWWL2.js";import{a as w}from"./LK4URP54.js";import{a as M}from"./RXM4HJ6I.js";import{C as T,b as v,c as F,z as P}from"./Z44XX64I.js";import{b as S}from"./3XLZCUHG.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./BXINC4TL.js";import"./7PM6K4BQ.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import{a,b}from"./OFNTBPZ5.js";import"./JKF6DMWR.js";import"./7PM6K4BQ.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import"./4UFKHCT4.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import"./7PM6K4BQ.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import"./4UFKHCT4.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import"./7PM6K4BQ.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import c from"./2V52VLFJ.js";import a from"./2J4G54AQ.js";import{b as $}from"./KM72PDVP.js";import"./AUCQU57I.js";import{C as S,D as L,E as b,G as o,I as _,h as m,i as n,o as I,r as f}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{f:l,h:v}])=>{var y=m`@layer{:host{display:block;position:relative}:host .instant-apps-language-translator-search__input{width:235.5px}:host .instant-apps-language-translator-search__suggestion-list{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}:host .instant-apps-language-translator-search__suggestion-list-item:first-child{border:none}:host .instant-apps-language-translator-search__suggestion-list-item{margin-top:0;padding:.8em 1em;border-top:solid 1px rgba(110,110,110,.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}:host .instant-apps-language-translator-search__suggestion-list-item:hover{background-color:var(--calcite-color-foreground-2)}}`,h="instant-apps-language-translator-search",p={input:`${h}__input`,suggestionList:`${h}__suggestion-list`,suggestionListItem:`${h}__suggestion-list-item`},d=class extends b{constructor(){super(...arguments),this.searchInput=S(),this.results=[],this.suggestionSelected=I()}static{this.properties={results:16,t9nPlaceholder:1}}static{this.styles=y}static{this.shadowRootOptions=f}handleSearch(t){let e=t.target.value?.toLowerCase()?.trim(),s=l.get("uiData"),u=v(),a=l.get("portalItemResourceT9n"),r=l.get("currentLanguage"),g=a?.[r]??{},c=this.getSettingDataItems(u).filter(this.matchedResultsCallback(s,g,e,r));this.results=[...c.map(i=>({fieldName:i,...s.get(i)}))]}matchedResultsCallback(t,e,s,u){return a=>{let r=t.get(a),{label:g}=r.userLocaleData,{value:c}=r.userLocaleData,i=t.get("translatedLanguageLabels")?.[u]?.[a],w=e?.[a],x=this.testUserInput(g,s),k=this.testUserInput(c,s),D=this.testUserInput(i,s),R=this.testUserInput(w,s);return x||k||D||R}}getSettingDataItems(t){return t.filter(e=>e!=="locales"&&e!=="translatedLanguageLabels")}testUserInput(t,e){return!!t?.trim()&&!!e?.trim()&&t?.toLowerCase()?.search(e)!==-1}selectSuggestion(t){let e=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(e),this.resetSearchInput()}resetSearchInput(){this.searchInput.value&&(this.searchInput.value.value=""),this.results=[]}render(){return n`${this.renderSearchInput()}${this.renderSuggestions()}`}renderSearchInput(){return n`<calcite-input class=${o(p.input)} @calciteInputInput=${this.handleSearch} type=search .placeholder=${this.t9nPlaceholder} icon=search ${L(this.searchInput)}></calcite-input>`}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n`<ul class=${o(p.suggestionList)}>${this.results.map(t=>this.renderSuggestionListItem(t))}</ul>`}renderSuggestionListItem(t){return n`<li @click=${this.selectSuggestion} class=${o(p.suggestionListItem)} data-field-name=${t.fieldName??_}>${t.userLocaleData.label}</li>`}};$("instant-apps-language-translator-search",d);return d},a,c)
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import c from"./7YJKP23X.js";import a from"./7GIY6DUJ.js";import{b as $}from"./3XLZCUHG.js";import"./BT7XOYF5.js";import{C as S,D as L,E as b,G as o,I as _,h as m,i as n,o as I,r as f}from"./BXINC4TL.js";import"./7PM6K4BQ.js";export default $arcgis.t(([,{f:l,h:v}])=>{var y=m`@layer{:host{display:block;position:relative}:host .instant-apps-language-translator-search__input{width:235.5px}:host .instant-apps-language-translator-search__suggestion-list{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}:host .instant-apps-language-translator-search__suggestion-list-item:first-child{border:none}:host .instant-apps-language-translator-search__suggestion-list-item{margin-top:0;padding:.8em 1em;border-top:solid 1px rgba(110,110,110,.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}:host .instant-apps-language-translator-search__suggestion-list-item:hover{background-color:var(--calcite-color-foreground-2)}}`,h="instant-apps-language-translator-search",p={input:`${h}__input`,suggestionList:`${h}__suggestion-list`,suggestionListItem:`${h}__suggestion-list-item`},d=class extends b{constructor(){super(...arguments),this.searchInput=S(),this.results=[],this.suggestionSelected=I()}static{this.properties={results:16,t9nPlaceholder:1}}static{this.styles=y}static{this.shadowRootOptions=f}handleSearch(t){let e=t.target.value?.toLowerCase()?.trim(),s=l.get("uiData"),u=v(),a=l.get("portalItemResourceT9n"),r=l.get("currentLanguage"),g=a?.[r]??{},c=this.getSettingDataItems(u).filter(this.matchedResultsCallback(s,g,e,r));this.results=[...c.map(i=>({fieldName:i,...s.get(i)}))]}matchedResultsCallback(t,e,s,u){return a=>{let r=t.get(a),{label:g}=r.userLocaleData,{value:c}=r.userLocaleData,i=t.get("translatedLanguageLabels")?.[u]?.[a],w=e?.[a],x=this.testUserInput(g,s),k=this.testUserInput(c,s),D=this.testUserInput(i,s),R=this.testUserInput(w,s);return x||k||D||R}}getSettingDataItems(t){return t.filter(e=>e!=="locales"&&e!=="translatedLanguageLabels")}testUserInput(t,e){return!!t?.trim()&&!!e?.trim()&&t?.toLowerCase()?.search(e)!==-1}selectSuggestion(t){let e=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(e),this.resetSearchInput()}resetSearchInput(){this.searchInput.value&&(this.searchInput.value.value=""),this.results=[]}render(){return n`${this.renderSearchInput()}${this.renderSuggestions()}`}renderSearchInput(){return n`<calcite-input class=${o(p.input)} @calciteInputInput=${this.handleSearch} type=search .placeholder=${this.t9nPlaceholder} icon=search ${L(this.searchInput)}></calcite-input>`}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n`<ul class=${o(p.suggestionList)}>${this.results.map(t=>this.renderSuggestionListItem(t))}</ul>`}renderSuggestionListItem(t){return n`<li @click=${this.selectSuggestion} class=${o(p.suggestionListItem)} data-field-name=${t.fieldName??_}>${t.userLocaleData.label}</li>`}};$("instant-apps-language-translator-search",d);return d},a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import"./4UFKHCT4.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N as whiteSpacePattern};
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import"./7PM6K4BQ.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import c from"./VT24NQ3G.js";import{a as x}from"./TYB33GBX.js";import a from"./WHOLLTII.js";import{a as T,c as P}from"./KLEDYY4Y.js";import{b as u}from"./PCEDSTLJ.js";import{Vb as C,sa as S}from"./TFCCDEFO.js";import"./H4APLINN.js";import"./XZL7GBO2.js";import"./WNXJPQ3P.js";import"./4LWHDNDR.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import"./PSX4TZJP.js";import{a as $}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b}from"./F3LYA4NW.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @license
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import c from"./CVGM4QYD.js";import{a as x}from"./PFANUBNV.js";import a from"./FPWJ6PMO.js";import{a as T,c as P}from"./6O7OK3WU.js";import{b as u}from"./PZCE22XQ.js";import{Vb as C,sa as S}from"./JSDRL6ZD.js";import"./X4XPW2FK.js";import"./F3UCVDZ2.js";import"./OVM4U6YF.js";import"./IRGSMHZ2.js";import"./FYDE2G2S.js";import"./NYBXXXFR.js";import"./SIE6CDNG.js";import"./QVDUABX7.js";import"./PYOCFNFS.js";import"./ECIK3AWG.js";import"./ROASTLYA.js";import"./Y3S2FSFT.js";import"./UCXPZD52.js";import"./UMBJBGPS.js";import"./XJ62F4NL.js";import"./6VLVWAKZ.js";import"./5BGGKOSZ.js";import"./JNMUGZK3.js";import"./HEQ4RTPP.js";import"./SS34O6SJ.js";import{a as $}from"./T2S7EWB5.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{b}from"./GDQKBGVU.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./BXINC4TL.js";import"./7PM6K4BQ.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import c from"./ZA4AREPP.js";import{a as x}from"./PQLAT5KP.js";import a from"./2J4G54AQ.js";import{a as N}from"./7Q36435D.js";import{a as D}from"./OGDSICU2.js";import{E as k,h as R,i as L}from"./3KQWJHJU.js";import{b as F}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.1 */
4
+ import c from"./KC4VT3EZ.js";import{a as x}from"./LRQNOIGC.js";import a from"./7GIY6DUJ.js";import{a as N}from"./LK4URP54.js";import{a as D}from"./RXM4HJ6I.js";import{E as k,h as R,i as L}from"./Z44XX64I.js";import{b as F}from"./3XLZCUHG.js";import"./QAPZIGZM.js";import"./BT7XOYF5.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./BXINC4TL.js";import"./7PM6K4BQ.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;