@esri/solutions-components 1.1.1 → 1.1.2

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 (470) hide show
  1. package/dist/cdn/{EIDWGAQS.js → 23IRBL5F.js} +2 -2
  2. package/dist/cdn/{6Q3BQ2FC.js → 2BG54SQT.js} +2 -2
  3. package/dist/cdn/{DTPMMVFN.js → 2NNSKNYF.js} +2 -2
  4. package/dist/cdn/{4BCG3VKN.js → 2PCYWVDT.js} +2 -2
  5. package/dist/cdn/{U4VWSAWK.js → 2SPXLWJO.js} +2 -2
  6. package/dist/cdn/{GQCNQXN5.js → 2TPODPFQ.js} +1 -1
  7. package/dist/cdn/{VUBDTATP.js → 2TSN3PFX.js} +9 -4
  8. package/dist/cdn/{PSX4TZJP.js → 2X27XYSX.js} +1 -1
  9. package/dist/cdn/{HOZ3ZGMX.js → 2YJKIAGN.js} +2 -2
  10. package/dist/cdn/{UNICLOME.js → 2Z3MNBH3.js} +2 -2
  11. package/dist/cdn/{5ELVKZK3.js → 3AIKEAXO.js} +2 -2
  12. package/dist/cdn/{F7KJ6JU5.js → 3CXAQKWJ.js} +2 -2
  13. package/dist/cdn/{X3KX5MLG.js → 3D6XZSQQ.js} +2 -2
  14. package/dist/cdn/{P55J63ZU.js → 3NOB3U76.js} +2 -2
  15. package/dist/cdn/{CWXIDRS2.js → 3Q67Q7SB.js} +1 -1
  16. package/dist/cdn/{T53MA6GA.js → 3V7OTVXH.js} +2 -2
  17. package/dist/cdn/{DT2QNJXZ.js → 46CVQ75Q.js} +2 -2
  18. package/dist/cdn/{2YQAGWB4.js → 4ATJSWKM.js} +2 -2
  19. package/dist/cdn/{OGDSICU2.js → 4CQTDBOU.js} +2 -2
  20. package/dist/cdn/{GRQT7TEY.js → 4HHR7PZR.js} +2 -2
  21. package/dist/cdn/{26YIO67D.js → 4KTBRCKI.js} +2 -2
  22. package/dist/cdn/{M6O3GAPO.js → 4LC4KY4J.js} +2 -2
  23. package/dist/cdn/{DHNEONGR.js → 4RFYINXZ.js} +2 -2
  24. package/dist/cdn/{AXLUQP4L.js → 4S5VXIST.js} +2 -2
  25. package/dist/cdn/{OYFNC4U6.js → 4VNLVOPL.js} +1 -1
  26. package/dist/cdn/{K36E76AY.js → 4WXC25SR.js} +2 -2
  27. package/dist/cdn/{WHOLLTII.js → 52W3R4RL.js} +2 -2
  28. package/dist/cdn/{UVOSWHK6.js → 52YHWBMR.js} +2 -2
  29. package/dist/cdn/{7Q36435D.js → 54DZZUSQ.js} +2 -2
  30. package/dist/cdn/{JFECVDJN.js → 56BEAQZV.js} +1 -1
  31. package/dist/cdn/{ETND67WR.js → 56F5USQF.js} +2 -2
  32. package/dist/cdn/{ICHAZGEE.js → 57D4BUE5.js} +2 -2
  33. package/dist/cdn/{PDBKU4S2.js → 5AT5TJIP.js} +1 -1
  34. package/dist/cdn/{RYBVU2SH.js → 5ES6SYN7.js} +2 -2
  35. package/dist/cdn/{3I4KGLJ2.js → 5HDRNMQJ.js} +2 -2
  36. package/dist/cdn/{GPMIA743.js → 5L5QLMGU.js} +2 -2
  37. package/dist/cdn/{NE2AVEWI.js → 5MR2SW5F.js} +2 -2
  38. package/dist/cdn/{CY3IW6EI.js → 5OTGWJLM.js} +2 -2
  39. package/dist/cdn/{L4UMBNSK.js → 5SL47RKJ.js} +2 -2
  40. package/dist/cdn/{5K76V7K5.js → 5SPE3LHH.js} +2 -2
  41. package/dist/cdn/623KYN7N.js +18 -0
  42. package/dist/cdn/{E7JSS6TZ.js → 65O4PRAV.js} +2 -2
  43. package/dist/cdn/{5MMYLEOU.js → 6LCAW5ML.js} +2 -2
  44. package/dist/cdn/{C5IVPFPI.js → 6QBHMCGQ.js} +2 -2
  45. package/dist/cdn/{XRBYIFHY.js → 6S7UIEGR.js} +2 -2
  46. package/dist/cdn/{6KGM4ZLO.js → 6SKVVL25.js} +2 -2
  47. package/dist/cdn/{C25PM233.js → 6TLN7QJA.js} +2 -2
  48. package/dist/cdn/{5Z2FPM3N.js → 6UG5WDWV.js} +2 -2
  49. package/dist/cdn/{4LWHDNDR.js → 6XOYHC7J.js} +2 -2
  50. package/dist/cdn/{KJNHCW6Z.js → 76VH62DU.js} +2 -2
  51. package/dist/cdn/{2BTAF23L.js → 77DDT2NZ.js} +2 -2
  52. package/dist/cdn/{6WOQW2IE.js → 7JQBDEYQ.js} +2 -2
  53. package/dist/cdn/{5BQ6XBFO.js → 7LGPOI25.js} +2 -2
  54. package/dist/cdn/{2UB4CICT.js → 7MR2GERG.js} +2 -2
  55. package/dist/cdn/{2IG3IMPC.js → 7MU53L6J.js} +2 -2
  56. package/dist/cdn/{5RFM6MUZ.js → 7QLTAN6E.js} +2 -2
  57. package/dist/cdn/{YNPQP3KG.js → 7SQLFBYH.js} +2 -2
  58. package/dist/cdn/{ELLRXQO4.js → 7SVO5H2S.js} +2 -2
  59. package/dist/cdn/{MDUZXVAQ.js → 7SW2TDGW.js} +2 -2
  60. package/dist/cdn/{O7Z57GLZ.js → A2YLMAEB.js} +1 -1
  61. package/dist/cdn/A5SRIAVS.js +18 -0
  62. package/dist/cdn/{XZL7GBO2.js → AD4DWMVS.js} +1 -1
  63. package/dist/cdn/{NJF4SHQQ.js → AJ4JBY3E.js} +2 -2
  64. package/dist/cdn/{TGVB6RQB.js → AKNFGCOO.js} +2 -2
  65. package/dist/cdn/{2BWMHRH4.js → ALPBERVX.js} +2 -2
  66. package/dist/cdn/{K5B6UE4O.js → AQCUMS2V.js} +2 -2
  67. package/dist/cdn/{VSI5R4LM.js → AQYGK2BV.js} +2 -2
  68. package/dist/cdn/{7TPSN3OZ.js → AUZAHXSQ.js} +2 -2
  69. package/dist/cdn/{MGSTYEHN.js → AWBHRN6T.js} +2 -2
  70. package/dist/cdn/{AHJZ4NUK.js → AWV7PNON.js} +2 -2
  71. package/dist/cdn/{LG5TLQOT.js → AWYME7F7.js} +2 -2
  72. package/dist/cdn/{53KQQRS4.js → AXAW5ILZ.js} +2 -2
  73. package/dist/cdn/{752NXLLE.js → B6OALUXR.js} +2 -2
  74. package/dist/cdn/{CVHQL36X.js → BBQYN3N7.js} +2 -2
  75. package/dist/cdn/{UKTDQUNY.js → BDEGFKHR.js} +2 -2
  76. package/dist/cdn/{RFQTBJV3.js → BFPWVVHF.js} +2 -2
  77. package/dist/cdn/{DZCKXQ37.js → BFZS6QRQ.js} +2 -2
  78. package/dist/cdn/{4N5DLQ55.js → BJQAP3O2.js} +2 -2
  79. package/dist/cdn/{HFVS4CAO.js → BMSCYDPC.js} +1 -1
  80. package/dist/cdn/{3Z52A6AW.js → BOOF3NBM.js} +2 -2
  81. package/dist/cdn/{B4SUA3W7.js → BQIRDUCX.js} +2 -2
  82. package/dist/cdn/{3AKF2NFL.js → BSKFNFRN.js} +1 -1
  83. package/dist/cdn/BTK7H2UX.js +18 -0
  84. package/dist/cdn/{6YCAEYPE.js → BVKE6BFN.js} +1 -1
  85. package/dist/cdn/{YGBNP67C.js → C3RJP556.js} +1 -1
  86. package/dist/cdn/{ABKXGOLH.js → C72XLEL7.js} +2 -2
  87. package/dist/cdn/{L4PGMPKA.js → CBGO2YBX.js} +2 -2
  88. package/dist/cdn/{2JEEZNQU.js → CBVSJH3I.js} +2 -2
  89. package/dist/cdn/{YHYQGDEU.js → CD46MAFQ.js} +2 -2
  90. package/dist/cdn/{27ZTA7Z7.js → CD4VLBIG.js} +2 -2
  91. package/dist/cdn/{ORSXUYDL.js → CEKBH7TV.js} +2 -2
  92. package/dist/cdn/{4GJOG2F4.js → CEORPQJR.js} +2 -2
  93. package/dist/cdn/{2CZX6QRM.js → CIVTXV63.js} +2 -2
  94. package/dist/cdn/{6HHD7W7G.js → CWP75JYL.js} +2 -2
  95. package/dist/cdn/{RDZOTUWI.js → CZRJGD6M.js} +2 -2
  96. package/dist/cdn/{IAAUVKHV.js → D2BNLIR4.js} +2 -2
  97. package/dist/cdn/{PWBUTW4G.js → D33EIGNT.js} +2 -2
  98. package/dist/cdn/{3SXS6CO7.js → DADQEBSP.js} +2 -2
  99. package/dist/cdn/{USE6OJ76.js → DCM6XZAR.js} +1 -1
  100. package/dist/cdn/{XMKDRPPW.js → DDBL2HDT.js} +1 -1
  101. package/dist/cdn/{IJYKJ7U3.js → DE3YUG4H.js} +2 -2
  102. package/dist/cdn/{TPQBOF3P.js → DHMSET7H.js} +2 -2
  103. package/dist/cdn/{UVAXWM4L.js → DOX3JTNJ.js} +1 -1
  104. package/dist/cdn/{KHEFLBXY.js → DOZB6DFJ.js} +2 -2
  105. package/dist/cdn/{AM7XZYHN.js → DRUIQVWC.js} +2 -2
  106. package/dist/cdn/{7KUJV4HC.js → DV3WDXZ7.js} +2 -2
  107. package/dist/cdn/{CGRUPQKB.js → DZI3NZZS.js} +2 -2
  108. package/dist/cdn/{KX5ZC2OR.js → EEBZHKDM.js} +2 -2
  109. package/dist/cdn/{AMQ6Z4TC.js → EGOHOQ75.js} +2 -2
  110. package/dist/cdn/{KIBCKDDV.js → EHUHNBX5.js} +2 -2
  111. package/dist/cdn/{H4APLINN.js → ELHKOYWS.js} +2 -2
  112. package/dist/cdn/{JR7EO46W.js → ENIYIB7V.js} +2 -2
  113. package/dist/cdn/{3ALCYZ3Q.js → EPZ7O3EU.js} +2 -2
  114. package/dist/cdn/{6SJDAXKU.js → EQFPI3FP.js} +2 -2
  115. package/dist/cdn/{ZRPNT6EM.js → ES5BMMHS.js} +2 -2
  116. package/dist/cdn/{FIUCHRQF.js → ESCVJT5H.js} +2 -2
  117. package/dist/cdn/{HS4O2ERP.js → EY67YJ3O.js} +2 -2
  118. package/dist/cdn/{ZXNTEBYO.js → FBIVVIPK.js} +2 -2
  119. package/dist/cdn/{HODMV4M5.js → FCX66S7M.js} +2 -2
  120. package/dist/cdn/{CDEY6E3D.js → FHWM6U56.js} +1 -1
  121. package/dist/cdn/{PCEDSTLJ.js → FNFLIMK4.js} +2 -2
  122. package/dist/cdn/{LKGNNJ5C.js → FPMQYHKA.js} +2 -2
  123. package/dist/cdn/{CEMXCEBH.js → FQ4OKLWN.js} +1 -1
  124. package/dist/cdn/{IL5ASV53.js → FRQXGBUS.js} +2 -2
  125. package/dist/cdn/{QFMJ7ICF.js → FRUFK6VO.js} +2 -2
  126. package/dist/cdn/{ICNZOE62.js → FTXGL447.js} +2 -2
  127. package/dist/cdn/G2I5HABN.js +4 -0
  128. package/dist/cdn/{IYRAUVEG.js → G2Z7STGZ.js} +2 -2
  129. package/dist/cdn/{E2H2TMYA.js → G4YRJUBG.js} +2 -2
  130. package/dist/cdn/{MBGCB6OG.js → GCTPCYBJ.js} +2 -2
  131. package/dist/cdn/GD4QMW4I.js +4 -0
  132. package/dist/cdn/{QYGNVH4W.js → GF5KUEBW.js} +1 -1
  133. package/dist/cdn/GKH6SK5J.js +4 -0
  134. package/dist/cdn/{SO5JOFTM.js → GLO46OKK.js} +2 -2
  135. package/dist/cdn/{E4657PTM.js → GMIPLZOK.js} +2 -2
  136. package/dist/cdn/{DG6X6ND5.js → GPTGQ7YV.js} +2 -2
  137. package/dist/cdn/{S7PRSYYO.js → GQSDM4R7.js} +2 -2
  138. package/dist/cdn/{A7HIU3CH.js → GUT2FDGN.js} +1 -1
  139. package/dist/cdn/{NHT6Z5E2.js → GV62Y43A.js} +2 -2
  140. package/dist/cdn/{56TBWRRO.js → GX3BMYNP.js} +2 -2
  141. package/dist/cdn/{NQE4EDAU.js → GYQVTQNA.js} +2 -2
  142. package/dist/cdn/{4ACOSJ2R.js → H2CI7OUX.js} +2 -2
  143. package/dist/cdn/{NCBU44KK.js → H6HF6HSD.js} +2 -2
  144. package/dist/cdn/{3FP74ZYG.js → H7VJRQAW.js} +2 -2
  145. package/dist/cdn/{D3U545GO.js → HAZITU6Q.js} +2 -2
  146. package/dist/cdn/{X7ZDHHU4.js → HBUDH3U6.js} +2 -2
  147. package/dist/cdn/{7DNPNWRU.js → HDRPW73J.js} +2 -2
  148. package/dist/cdn/{SOHGAMG2.js → HEBJZ2UQ.js} +2 -2
  149. package/dist/cdn/{SO2FFKO7.js → HKJUYDHF.js} +2 -2
  150. package/dist/cdn/{UFHCRIJM.js → HKY6SY7D.js} +2 -2
  151. package/dist/cdn/{YXBR66FZ.js → HOP2FWBH.js} +2 -2
  152. package/dist/cdn/{OSSABG5C.js → HPI4FZPC.js} +2 -2
  153. package/dist/cdn/{R2LM4OS3.js → HQVMLALO.js} +2 -2
  154. package/dist/cdn/{DAR4Z4PY.js → HRLLJHAS.js} +2 -2
  155. package/dist/cdn/{ZZG6UPJB.js → HSNA2TI3.js} +2 -2
  156. package/dist/cdn/{6D4MPGC2.js → HUCMZEDU.js} +2 -2
  157. package/dist/cdn/{ONHXUPVG.js → HUOOT4GV.js} +2 -2
  158. package/dist/cdn/{2WOT62PD.js → HX72RMB7.js} +2 -2
  159. package/dist/cdn/{TBQSNIZB.js → HXCAD5K5.js} +2 -2
  160. package/dist/cdn/{3KQWJHJU.js → HYIFXLL5.js} +2 -2
  161. package/dist/cdn/{I5LITYX6.js → HZLUYQD7.js} +2 -2
  162. package/dist/cdn/{DG7ELQI5.js → I5MORTV6.js} +2 -2
  163. package/dist/cdn/{4MOZP7S7.js → I66U7ET6.js} +1 -1
  164. package/dist/cdn/{55QFSM4Z.js → IE3XKNUU.js} +2 -2
  165. package/dist/cdn/{OTTNFPEO.js → IH5CADVW.js} +2 -2
  166. package/dist/cdn/{SFGQEQN6.js → IIMUYPMO.js} +2 -2
  167. package/dist/cdn/{YETRMAS4.js → IJNJBT7T.js} +2 -2
  168. package/dist/cdn/{SPLHZ3N7.js → IMQR7CXF.js} +2 -2
  169. package/dist/cdn/IMXNLCKH.js +18 -0
  170. package/dist/cdn/{BKJFP7LT.js → IQVE6W6Y.js} +2 -2
  171. package/dist/cdn/{LVLT7OO5.js → IRHKLM6Z.js} +2 -2
  172. package/dist/cdn/{7GCGTHLP.js → J33QV26U.js} +2 -2
  173. package/dist/cdn/{4P3ZYJQ3.js → J6F3J2Q6.js} +2 -2
  174. package/dist/cdn/{Q4JIF4ME.js → JB5YQ3CN.js} +2 -2
  175. package/dist/cdn/{HSQOGPUN.js → JCAPW2PV.js} +2 -2
  176. package/dist/cdn/{IDTCCLPD.js → JKGMH4J5.js} +2 -2
  177. package/dist/cdn/{DWLML3AH.js → JN5XM3AT.js} +2 -2
  178. package/dist/cdn/{3BCMTX5A.js → JRUXKUE3.js} +2 -2
  179. package/dist/cdn/{6ATB2NEI.js → JZXBOMMZ.js} +1 -1
  180. package/dist/cdn/{KTABK32D.js → KC24JR4A.js} +2 -2
  181. package/dist/cdn/{H55NCRTY.js → KDWK7NRY.js} +2 -2
  182. package/dist/cdn/{PQLAT5KP.js → KERDLSZH.js} +2 -2
  183. package/dist/cdn/{4REQUGTX.js → KR7ZU66F.js} +2 -2
  184. package/dist/cdn/KTHJ4VRR.js +4 -0
  185. package/dist/cdn/{BGNGMZZR.js → LDFEZP62.js} +2 -2
  186. package/dist/cdn/{TYB33GBX.js → LGYZHAI4.js} +2 -2
  187. package/dist/cdn/{G2ZE3JDL.js → LN54IQWS.js} +2 -2
  188. package/dist/cdn/{ELPOHGJW.js → LNTE2YQ6.js} +2 -2
  189. package/dist/cdn/{XEANXWMN.js → LOKI5I7L.js} +2 -2
  190. package/dist/cdn/{EXAPAR3S.js → LOLBOPYH.js} +2 -2
  191. package/dist/cdn/{EVL5ENBM.js → LTSBVHHD.js} +2 -2
  192. package/dist/cdn/{QI3DTK6Y.js → LW3YV4M2.js} +2 -2
  193. package/dist/cdn/{FFQ3HGQK.js → LWU5XFP4.js} +2 -2
  194. package/dist/cdn/{NG46OHWH.js → LXFYLAHF.js} +1 -1
  195. package/dist/cdn/{LF6IEP2D.js → LXMUEGOO.js} +2 -2
  196. package/dist/cdn/{4L7ZMWIA.js → LYLKQ45A.js} +1 -1
  197. package/dist/cdn/{FP7ZWUGT.js → M2L26H4Z.js} +2 -2
  198. package/dist/cdn/{QE2S7FMO.js → MAFZV4UM.js} +1 -1
  199. package/dist/cdn/{FX5ZISLR.js → MBF3EUPM.js} +2 -2
  200. package/dist/cdn/{LG4FCYVC.js → MDL7NF2I.js} +2 -2
  201. package/dist/cdn/{LV2EHSXJ.js → MIJ52CTW.js} +2 -2
  202. package/dist/cdn/{65EP7IPW.js → MO5DXYLP.js} +2 -2
  203. package/dist/cdn/{2BNWBAZJ.js → MSUAXEZP.js} +2 -2
  204. package/dist/cdn/{NL26TI4R.js → MUZWUHB6.js} +2 -2
  205. package/dist/cdn/{DQRK65BG.js → MVZNCHUV.js} +2 -2
  206. package/dist/cdn/{2JFRXKUJ.js → MW5CGGVU.js} +2 -2
  207. package/dist/cdn/{VIGDHAXV.js → MXOYXNB4.js} +2 -2
  208. package/dist/cdn/{OLARJ53Z.js → NAV7MYUI.js} +2 -2
  209. package/dist/cdn/{3G7RVBUA.js → NBT5QLPO.js} +2 -2
  210. package/dist/cdn/{KB26CFS5.js → NBTALLIF.js} +1 -1
  211. package/dist/cdn/{DK35UKU7.js → NBW47T6S.js} +1 -1
  212. package/dist/cdn/{TFCCDEFO.js → NGDFUBVG.js} +2 -2
  213. package/dist/cdn/{OY6K2PSA.js → NKGKBATM.js} +2 -2
  214. package/dist/cdn/{5LFFKDSV.js → NSRTVCII.js} +2 -2
  215. package/dist/cdn/{WNXJPQ3P.js → NV3PO22N.js} +2 -2
  216. package/dist/cdn/{BFJ3MBJ3.js → O3VQFZ3Z.js} +2 -2
  217. package/dist/cdn/{TO563LCJ.js → O4MSW7YU.js} +2 -2
  218. package/dist/cdn/{G5J7AYET.js → ODOM2KDI.js} +1 -1
  219. package/dist/cdn/{NHLAFRCY.js → OL34ZYRL.js} +2 -2
  220. package/dist/cdn/{AIECUGLA.js → OOPF4GJM.js} +2 -2
  221. package/dist/cdn/{JMYTSZCC.js → OR63XKHD.js} +2 -2
  222. package/dist/cdn/{ZA4AREPP.js → OSKD73JO.js} +2 -2
  223. package/dist/cdn/OSPMSWIL.js +4 -0
  224. package/dist/cdn/{SL7A3O2M.js → OY53JN5E.js} +2 -2
  225. package/dist/cdn/{J6ZDDC7T.js → OYZGMLSA.js} +2 -2
  226. package/dist/cdn/{ZY4JIOV6.js → P7LLQPML.js} +2 -2
  227. package/dist/cdn/{RKPQ6P4K.js → PCMVKKEJ.js} +2 -2
  228. package/dist/cdn/{ENYF3KSA.js → PI7FQ7L6.js} +2 -2
  229. package/dist/cdn/{6LZA3IU7.js → PKCH4S3D.js} +1 -1
  230. package/dist/cdn/{TOSZWSLH.js → PODGSK2R.js} +2 -2
  231. package/dist/cdn/{GE4IM3MX.js → PPRAWJ2S.js} +4 -4
  232. package/dist/cdn/{4UFKHCT4.js → PR5LDTTA.js} +1 -1
  233. package/dist/cdn/{YCOUYTAZ.js → PRLO77AT.js} +2 -2
  234. package/dist/cdn/{XIO74BNK.js → PTROR6FA.js} +2 -2
  235. package/dist/cdn/{RIUFIUZK.js → Q2PF3RGD.js} +2 -2
  236. package/dist/cdn/{UYVKGCIC.js → Q5RZXHBC.js} +1 -1
  237. package/dist/cdn/{YBH5KSXC.js → Q7XKQTSB.js} +2 -2
  238. package/dist/cdn/{I5ADXZSK.js → QA44KCLS.js} +4 -4
  239. package/dist/cdn/{I226XVK6.js → QC4PNSX4.js} +1 -1
  240. package/dist/cdn/{46ZDALTQ.js → QG2MAKZO.js} +2 -2
  241. package/dist/cdn/{CZG4TQS7.js → QJFIQKTM.js} +2 -2
  242. package/dist/cdn/{EWNQPSM6.js → QJFO73DP.js} +2 -2
  243. package/dist/cdn/{B4SZ3AFB.js → QJRRAYAE.js} +2 -2
  244. package/dist/cdn/{XF3NVRQZ.js → QJSXBPEC.js} +2 -2
  245. package/dist/cdn/{JI7NN7UZ.js → QKMXHBVJ.js} +2 -2
  246. package/dist/cdn/{7HBTOAR5.js → QSQJSM3O.js} +2 -2
  247. package/dist/cdn/{HFFRR5LZ.js → R2D3W4KP.js} +2 -2
  248. package/dist/cdn/{EDQISJN2.js → R5S6AVJ2.js} +1 -1
  249. package/dist/cdn/{YJPQ6I7G.js → RC3M6OYO.js} +2 -2
  250. package/dist/cdn/{5RVCGMJ7.js → RDQHY6XC.js} +2 -2
  251. package/dist/cdn/{F3LYA4NW.js → RIVQ5IKO.js} +2 -2
  252. package/dist/cdn/{AL6OH2HL.js → RP3IBJUX.js} +2 -2
  253. package/dist/cdn/{NH4S2EP6.js → RQSJTZA3.js} +2 -2
  254. package/dist/cdn/RTKZDB23.js +4 -0
  255. package/dist/cdn/{E26HA4PU.js → SA7UFUQH.js} +1 -1
  256. package/dist/cdn/{AUCQU57I.js → SIOIWWJS.js} +2 -2
  257. package/dist/cdn/{BTIPZNRW.js → SRLF2FFI.js} +2 -2
  258. package/dist/cdn/{2CDAKBYX.js → SRRYBFQR.js} +2 -2
  259. package/dist/cdn/{RGWP6ZGP.js → SWSTQ6IK.js} +2 -2
  260. package/dist/cdn/{5QS55J2V.js → SXCMOFR2.js} +2 -2
  261. package/dist/cdn/{2V52VLFJ.js → SXDHIKYQ.js} +2 -2
  262. package/dist/cdn/{7TQGZSOS.js → SZ4MNX2Y.js} +2 -2
  263. package/dist/cdn/T2YBAYAQ.js +4 -0
  264. package/dist/cdn/{T2ZH3NKY.js → TEXTVYR5.js} +2 -2
  265. package/dist/cdn/{BPUJQWHO.js → TGCFM7NB.js} +2 -2
  266. package/dist/cdn/{XUGHHYWO.js → THCDH2C7.js} +2 -2
  267. package/dist/cdn/{JNYHCS6W.js → TPVBZJZ3.js} +2 -2
  268. package/dist/cdn/{GYQWDRLR.js → TQ4AHDWR.js} +2 -2
  269. package/dist/cdn/{JWYEWEFN.js → TRYF7AHT.js} +2 -2
  270. package/dist/cdn/{ZUP2X5AU.js → U4IWP4JS.js} +2 -2
  271. package/dist/cdn/{DYU53Y76.js → U4RWFIG7.js} +2 -2
  272. package/dist/cdn/U4TVHDBS.js +18 -0
  273. package/dist/cdn/{5SCFBPOD.js → UB7R344I.js} +2 -2
  274. package/dist/cdn/{X4YLMHXT.js → UC6BRLFU.js} +2 -2
  275. package/dist/cdn/{OZ6WFV25.js → UDMGJJ2R.js} +2 -2
  276. package/dist/cdn/{EMJVLMDF.js → UKMB2MXN.js} +2 -2
  277. package/dist/cdn/{B54XVRBZ.js → UMHBVDVZ.js} +2 -2
  278. package/dist/cdn/{B2BJU5HS.js → UN7RXMMP.js} +2 -2
  279. package/dist/cdn/{3XU5XGKF.js → UNBB5ILE.js} +2 -2
  280. package/dist/cdn/{WPJ4D5AX.js → UOBW4X3G.js} +2 -2
  281. package/dist/cdn/{MRQCKP3E.js → UOKZMNT4.js} +2 -2
  282. package/dist/cdn/{NZVAVQXY.js → UPEGEW7Y.js} +2 -2
  283. package/dist/cdn/{2J4G54AQ.js → UQMZINRC.js} +2 -2
  284. package/dist/cdn/UQXXXPST.js +4 -0
  285. package/dist/cdn/{DELGK4BU.js → UTPRTU5R.js} +2 -2
  286. package/dist/cdn/UUSA5NAZ.js +4 -0
  287. package/dist/cdn/{6TRHSJBA.js → UUVWV7UY.js} +2 -2
  288. package/dist/cdn/{JQSLLFKL.js → UUZDYC3J.js} +2 -2
  289. package/dist/cdn/{D3AONMYK.js → UWHVRT6G.js} +2 -2
  290. package/dist/cdn/{U5BYVOCV.js → UXGY5MYQ.js} +2 -2
  291. package/dist/cdn/{Z263ME6T.js → UXZ5Q6KA.js} +2 -2
  292. package/dist/cdn/{XOQOHYCH.js → UYHOMAD5.js} +2 -2
  293. package/dist/cdn/{37LSWZCZ.js → UZMTPRP5.js} +2 -2
  294. package/dist/cdn/{QRN72H3R.js → V4BMTWGU.js} +2 -2
  295. package/dist/cdn/{PNOXI4LK.js → V5VD2VNR.js} +2 -2
  296. package/dist/cdn/{A5NORFQ3.js → VAL2SJOM.js} +2 -2
  297. package/dist/cdn/{XDMBJPAY.js → VCYRSDYS.js} +2 -2
  298. package/dist/cdn/{5JGDNIJU.js → VDBTV44L.js} +2 -2
  299. package/dist/cdn/{PL6BITGI.js → VDO2G3KJ.js} +2 -2
  300. package/dist/cdn/{NMMNVZIR.js → VDPD373C.js} +2 -2
  301. package/dist/cdn/{MGYYPLGC.js → VIAYFIIF.js} +2 -2
  302. package/dist/cdn/{SSUW7XWL.js → VJOMTPB6.js} +2 -2
  303. package/dist/cdn/{MDMOHF6P.js → VMXZ6QEC.js} +2 -2
  304. package/dist/cdn/{5OV265N4.js → VOFERCBL.js} +2 -2
  305. package/dist/cdn/{IOIU2LQ7.js → VON5LFYC.js} +2 -2
  306. package/dist/cdn/{XW4B55X6.js → VRUSOROS.js} +2 -2
  307. package/dist/cdn/{V46NQFJY.js → VT6BSI7M.js} +2 -2
  308. package/dist/cdn/{L4YSSYQH.js → VUDTWZ6S.js} +2 -2
  309. package/dist/cdn/{KGU6GWRV.js → VXZZHQOR.js} +2 -2
  310. package/dist/cdn/{RKMHFE6O.js → VYL5GQJJ.js} +2 -2
  311. package/dist/cdn/{VOYVH7QX.js → W2OWW2KK.js} +2 -2
  312. package/dist/cdn/{LFR22E5T.js → WBKVVBEW.js} +2 -2
  313. package/dist/cdn/WCA4MTBT.js +18 -0
  314. package/dist/cdn/{EO3MW2NL.js → WCEXT5V3.js} +1 -1
  315. package/dist/cdn/{3WSKTJKP.js → WEE2GK4X.js} +2 -2
  316. package/dist/cdn/{FCF3N62R.js → WGKEN6KZ.js} +2 -2
  317. package/dist/cdn/{AGCNKK6G.js → WLVI4UZX.js} +2 -2
  318. package/dist/cdn/{JXWLSI7W.js → WMISCC5A.js} +2 -2
  319. package/dist/cdn/{LTCTW5SI.js → WPJSV2F5.js} +1 -1
  320. package/dist/cdn/{RFLDN7DB.js → WRY74OLQ.js} +2 -2
  321. package/dist/cdn/{Y7UHPKGK.js → X3JYPDB3.js} +2 -2
  322. package/dist/cdn/{L3O7A2E6.js → XALSX54V.js} +2 -2
  323. package/dist/cdn/{F6LLK63V.js → XFFSGMQM.js} +2 -2
  324. package/dist/cdn/{HQF37WJP.js → XGCOB2WB.js} +2 -2
  325. package/dist/cdn/{B5LYIFIL.js → XJWO2VWT.js} +2 -2
  326. package/dist/cdn/{DQZV5B4U.js → XKSMKJKC.js} +2 -2
  327. package/dist/cdn/{GKB3OPCC.js → XOFA6EHO.js} +1 -1
  328. package/dist/cdn/{KGOYOPYR.js → XZJXTTWM.js} +2 -2
  329. package/dist/cdn/{W4GLLZOA.js → Y3LUWNH6.js} +2 -2
  330. package/dist/cdn/{2BCLZ6CT.js → Y3PZZL73.js} +2 -2
  331. package/dist/cdn/{B6Z3B7WO.js → Y55AAFJG.js} +2 -2
  332. package/dist/cdn/{FUYZJXZ3.js → Y6UXZU6F.js} +2 -2
  333. package/dist/cdn/{AEIXUSBT.js → YGPLVBPY.js} +2 -2
  334. package/dist/cdn/{TLOJATEQ.js → YKXQPUZE.js} +2 -2
  335. package/dist/cdn/{4GP2UQG2.js → YPTLSCLI.js} +2 -2
  336. package/dist/cdn/{XOYKKKBX.js → YQKRAZFZ.js} +2 -2
  337. package/dist/cdn/{7PZ4UBDR.js → YSP7FBQ7.js} +1 -1
  338. package/dist/cdn/{EQIDO6DW.js → YVUWCUQ5.js} +2 -2
  339. package/dist/cdn/{KLEDYY4Y.js → ZF7EIUJK.js} +1 -1
  340. package/dist/cdn/{YGCKDVK6.js → ZJDQWSA7.js} +2 -2
  341. package/dist/cdn/{35KT5J6L.js → ZSJ6IAKN.js} +2 -2
  342. package/dist/cdn/{VT24NQ3G.js → ZWHWHHWW.js} +2 -2
  343. package/dist/cdn/{GFVWUN5D.js → ZZ4AZSZG.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +1 -1
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +4 -3
  389. package/dist/components/map-card/customElement.js +4 -3
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-article-card/customElement.js +1 -1
  404. package/dist/components/solution-configuration/customElement.js +1 -1
  405. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  412. package/dist/components/solution-details-card/customElement.js +1 -1
  413. package/dist/components/solution-details-panel/customElement.js +2 -2
  414. package/dist/components/solution-item/customElement.js +1 -1
  415. package/dist/components/solution-item-accordion/customElement.js +1 -1
  416. package/dist/components/solution-item-details/customElement.js +1 -1
  417. package/dist/components/solution-item-diagram/customElement.js +1 -1
  418. package/dist/components/solution-item-icon/customElement.js +1 -1
  419. package/dist/components/solution-item-sharing/customElement.js +1 -1
  420. package/dist/components/solution-organization-variables/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +1 -1
  428. package/dist/components/solutions-all-shell/customElement.d.ts +0 -2
  429. package/dist/components/solutions-all-shell/customElement.js +11 -14
  430. package/dist/components/solutions-article-panel/customElement.js +1 -1
  431. package/dist/components/solutions-articles/customElement.js +1 -1
  432. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.js +39 -38
  435. package/dist/components/solutions-deploy-app-nav/customElement.js +9 -9
  436. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  437. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  439. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  440. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  441. package/dist/components/spatial-ref/customElement.js +1 -1
  442. package/dist/components/store-manager/customElement.js +1 -1
  443. package/dist/docs/api.json +14 -11
  444. package/dist/docs/docs.json +11 -20
  445. package/dist/docs/vscode.html-custom-data.json +2 -2
  446. package/dist/docs/web-types.json +3 -13
  447. package/dist/index.d.ts +0 -1
  448. package/dist/index.js +1 -1
  449. package/dist/loader.js +2 -2
  450. package/dist/types/lumina.d.ts +0 -1
  451. package/dist/types/preact.d.ts +0 -1
  452. package/dist/types/preact10.d.ts +0 -1
  453. package/dist/types/react.d.ts +0 -1
  454. package/dist/types/stencil.d.ts +0 -1
  455. package/package.json +1 -1
  456. package/dist/cdn/26A7IUMW.js +0 -18
  457. package/dist/cdn/3NDVWJHY.js +0 -18
  458. package/dist/cdn/BUV3Z6DV.js +0 -4
  459. package/dist/cdn/FUUJFLHK.js +0 -4
  460. package/dist/cdn/GKFQSVNR.js +0 -18
  461. package/dist/cdn/HF7PHNIQ.js +0 -18
  462. package/dist/cdn/HXU762XJ.js +0 -4
  463. package/dist/cdn/KM72PDVP.js +0 -4
  464. package/dist/cdn/NLD43RT5.js +0 -4
  465. package/dist/cdn/OYNCPS5E.js +0 -4
  466. package/dist/cdn/RHRIOV47.js +0 -18
  467. package/dist/cdn/S6UDZKPG.js +0 -4
  468. package/dist/cdn/T5UO2UPO.js +0 -18
  469. package/dist/cdn/TC4NP6KF.js +0 -4
  470. package/dist/cdn/VHUAYRQ7.js +0 -4
@@ -0,0 +1,4 @@
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.2 */
4
+ import{a,b}from"./2Z3MNBH3.js";import"./NBTALLIF.js";import"./KC24JR4A.js";import"./PKCH4S3D.js";import"./2TPODPFQ.js";import"./PR5LDTTA.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
3
+ v1.1.2 */
4
4
  function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
@@ -0,0 +1,4 @@
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.2 */
4
+ import{F as s}from"./C3RJP556.js";var t=s({defaultAssetPath:"https://js.arcgis.com/4.34/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:p}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as m}from"./3AKF2NFL.js";import{a as f}from"./3I4KGLJ2.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.1.2 */
4
+ import{a as m}from"./BSKFNFRN.js";import{a as f}from"./5HDRNMQJ.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
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
3
+ v1.1.2 */
4
+ import c from"./ZWHWHHWW.js";import{a as x}from"./LGYZHAI4.js";import a from"./52W3R4RL.js";import{a as T,c as P}from"./ZF7EIUJK.js";import{b as u}from"./FNFLIMK4.js";import{Vb as C,sa as S}from"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./2X27XYSX.js";import{a as $}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b}from"./RIVQ5IKO.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"./C3RJP556.js";import"./PR5LDTTA.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
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as c}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as o}from"./F3LYA4NW.js";import{E as n,h as s,i,l as r,o as l}from"./YGBNP67C.js";import"./4UFKHCT4.js";var d=s`/** @license
3
+ v1.1.2 */
4
+ import{a as c}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as o}from"./RIVQ5IKO.js";import{E as n,h as s,i,l as r,o as l}from"./C3RJP556.js";import"./PR5LDTTA.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a,b}from"./2IG3IMPC.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./4UFKHCT4.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.1.2 */
4
+ import{a,b}from"./7MU53L6J.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./PR5LDTTA.js";export{a as ContentEditorTypes,b as ContentSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
3
+ v1.1.2 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import"./4UFKHCT4.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as m}from"./Z263ME6T.js";import{a as c}from"./LV2EHSXJ.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import{a as n,b as p}from"./NE2AVEWI.js";import"./IAAUVKHV.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import{a}from"./YGCKDVK6.js";import{a as r}from"./QRN72H3R.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import{a as i}from"./2BNWBAZJ.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
3
+ v1.1.2 */
4
+ import{a as m}from"./UXZ5Q6KA.js";import{a as c}from"./MIJ52CTW.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import{a as n,b as p}from"./5MR2SW5F.js";import"./D2BNLIR4.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import{a}from"./ZJDQWSA7.js";import{a as r}from"./V4BMTWGU.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import{a as i}from"./MSUAXEZP.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./U4IWP4JS.js";import"./2SPXLWJO.js";import"./2Z3MNBH3.js";import"./NBTALLIF.js";import"./KC24JR4A.js";import"./PKCH4S3D.js";import"./QC4PNSX4.js";import"./G2Z7STGZ.js";import"./A2YLMAEB.js";import"./W2OWW2KK.js";import"./6UG5WDWV.js";import"./JRUXKUE3.js";import"./YGPLVBPY.js";import"./7MU53L6J.js";import"./TPVBZJZ3.js";import"./Y55AAFJG.js";import"./Q2PF3RGD.js";import"./46CVQ75Q.js";import"./AUZAHXSQ.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./3Q67Q7SB.js";import"./PR5LDTTA.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as h}from"./EDQISJN2.js";import{a as U}from"./JFECVDJN.js";import{b as m}from"./SO5JOFTM.js";import{b as t,d as l,e as d}from"./3AKF2NFL.js";import{a as N}from"./4MOZP7S7.js";import{c as A}from"./O7Z57GLZ.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
3
+ v1.1.2 */
4
+ import{a as h}from"./R5S6AVJ2.js";import{a as U}from"./56BEAQZV.js";import{b as m}from"./GLO46OKK.js";import{b as t,d as l,e as d}from"./BSKFNFRN.js";import{a as N}from"./I66U7ET6.js";import{c as A}from"./A2YLMAEB.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as p}from"./KLEDYY4Y.js";import{b as d}from"./PCEDSTLJ.js";import{c as h}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{a as o}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as l}from"./F3LYA4NW.js";import{E as n,h as r,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var m=r`/** @license
3
+ v1.1.2 */
4
+ import{a as p}from"./ZF7EIUJK.js";import{b as d}from"./FNFLIMK4.js";import{c as h}from"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import{a as o}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as l}from"./RIVQ5IKO.js";import{E as n,h as r,i as s}from"./C3RJP556.js";import"./PR5LDTTA.js";var m=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
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};
3
+ v1.1.2 */
4
+ import{a as q}from"./Q5RZXHBC.js";import{a as w}from"./54DZZUSQ.js";import{a as M}from"./4CQTDBOU.js";import{C as T,b as v,c as F,z as P}from"./HYIFXLL5.js";import{b as S}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./C3RJP556.js";import"./PR5LDTTA.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};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import"./4UFKHCT4.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",m="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",k="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",y="Layer tidak tersedia.",g="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",c="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",b="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",P="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",E="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",f="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",I="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",F="Nama luaran berisi satu karakter tidak valid atau lebih. <a href='${docLink}' target='_blank'>Pelajari selengkapnya.</a>",L="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",T="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",A="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",G={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:y,maxItems:g,mbFailedToSave:h,minItems:c,minLength:b,modelNotFound:P,networkError:E,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:I,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,G as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,g as maxItems,h as mbFailedToSave,c as minItems,b as minLength,P as modelNotFound,E as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,f as requiredProperty,I as serviceNameExistsError,F as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import"./4UFKHCT4.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as h}from"./OGDSICU2.js";import{b as v}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{C as m,D as d,E as u,G as i,h as n,i as l,o as r,r as p}from"./YGBNP67C.js";import"./4UFKHCT4.js";var T=n`@layer{:host .sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}:host .active-tool{--calcite-color-foreground-1: #c7eaff}}`,$={content:"instant-apps-measurement__content"},s=class extends u{constructor(){super(...arguments),this._messages=h({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(t){if(!this?.measureTool)return;let a=t?.target;if(!(a instanceof HTMLElement))return;let e=a?.dataset.value;if(e!=="distance"&&e!=="area"&&e!=="point"&&e!=="clear")return;e&&this.measureTool.value&&(this.measureTool.value.activeTool=e);let c=document.getElementsByClassName("active-tool");for(let o=0;o<c?.length;o++)c[o]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(e===void 0||e==="clear"))}render(){return l`<calcite-panel .heading=${this._messages.label} .closable=${this.closable}><div slot=content-top>${this.renderActionBar()}</div><div>${this.renderMeasureToolPanel()}</div></calcite-panel>`}renderMeasureToolPanel(){let{view:t,coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}=this;return l`<calcite-panel class=${i($.content)}><instant-apps-measurement-tool .view=${t} .measureConfiguration=${{coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}} .activeTool=${this.activeToolType} ${d(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:t,activeToolType:a}=this;return l`<calcite-action-bar expand-disabled layout=horizontal position=end><calcite-action class=${i(a==="distance"?"active-tool":"")} .text=${t.line} icon=measure scale=m data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.line}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="area"?"active-tool":"")} .text=${t.area} scale=m icon=measure-area data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.area}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="point"?"active-tool":"")} .text=${t.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.point}</calcite-tooltip></calcite-action><calcite-action .text=${t.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};v("instant-apps-measurement",s);export{s as InstantAppsMeasurement};
3
+ v1.1.2 */
4
+ import{a as h}from"./4CQTDBOU.js";import{b as v}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{C as m,D as d,E as u,G as i,h as n,i as l,o as r,r as p}from"./C3RJP556.js";import"./PR5LDTTA.js";var T=n`@layer{:host .sc-instant-apps-measurement{background:var(--calcite-color-foreground-1)}:host .active-tool{--calcite-color-foreground-1: #c7eaff}}`,$={content:"instant-apps-measurement__content"},s=class extends u{constructor(){super(...arguments),this._messages=h({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(t){if(!this?.measureTool)return;let a=t?.target;if(!(a instanceof HTMLElement))return;let e=a?.dataset.value;if(e!=="distance"&&e!=="area"&&e!=="point"&&e!=="clear")return;e&&this.measureTool.value&&(this.measureTool.value.activeTool=e);let c=document.getElementsByClassName("active-tool");for(let o=0;o<c?.length;o++)c[o]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(e===void 0||e==="clear"))}render(){return l`<calcite-panel .heading=${this._messages.label} .closable=${this.closable}><div slot=content-top>${this.renderActionBar()}</div><div>${this.renderMeasureToolPanel()}</div></calcite-panel>`}renderMeasureToolPanel(){let{view:t,coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}=this;return l`<calcite-panel class=${i($.content)}><instant-apps-measurement-tool .view=${t} .measureConfiguration=${{coordinateFormat:a,areaUnit:e,linearUnit:c,activeToolType:o}} .activeTool=${this.activeToolType} ${d(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:t,activeToolType:a}=this;return l`<calcite-action-bar expand-disabled layout=horizontal position=end><calcite-action class=${i(a==="distance"?"active-tool":"")} .text=${t.line} icon=measure scale=m data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.line}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="area"?"active-tool":"")} .text=${t.area} scale=m icon=measure-area data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.area}</calcite-tooltip></calcite-action><calcite-action class=${i(a==="point"?"active-tool":"")} .text=${t.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.point}</calcite-tooltip></calcite-action><calcite-action .text=${t.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${t.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};v("instant-apps-measurement",s);export{s as InstantAppsMeasurement};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as r}from"./F3LYA4NW.js";import{E as n,I as e,h as t,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var o=t`/** @license
3
+ v1.1.2 */
4
+ import{a}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as r}from"./RIVQ5IKO.js";import{E as n,I as e,h as t,i as s}from"./C3RJP556.js";import"./PR5LDTTA.js";var o=t`/** @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
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{b as l}from"./USE6OJ76.js";import{b as m}from"./F3LYA4NW.js";import{C as p,D as o,E as n,h as t,i as r}from"./YGBNP67C.js";import"./4UFKHCT4.js";var h=t`/** @license
3
+ v1.1.2 */
4
+ import{b as l}from"./DCM6XZAR.js";import{b as m}from"./RIVQ5IKO.js";import{C as p,D as o,E as n,h as t,i as r}from"./C3RJP556.js";import"./PR5LDTTA.js";var h=t`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as n}from"./A7HIU3CH.js";import{a as s}from"./LV2EHSXJ.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import{a as r,b as a}from"./NE2AVEWI.js";import"./IAAUVKHV.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import{a as o}from"./YGCKDVK6.js";import{a as i}from"./QRN72H3R.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import"./6LZA3IU7.js";import"./I226XVK6.js";import"./IYRAUVEG.js";import"./O7Z57GLZ.js";import"./VOYVH7QX.js";import"./5Z2FPM3N.js";import"./3BCMTX5A.js";import"./AEIXUSBT.js";import"./2IG3IMPC.js";import"./JNYHCS6W.js";import"./B6Z3B7WO.js";import"./RIUFIUZK.js";import"./DT2QNJXZ.js";import"./7TPSN3OZ.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./CWXIDRS2.js";import"./4UFKHCT4.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.1.2 */
4
+ import{a as n}from"./GUT2FDGN.js";import{a as s}from"./MIJ52CTW.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import{a as r,b as a}from"./5MR2SW5F.js";import"./D2BNLIR4.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import{a as o}from"./ZJDQWSA7.js";import{a as i}from"./V4BMTWGU.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./U4IWP4JS.js";import"./2SPXLWJO.js";import"./2Z3MNBH3.js";import"./NBTALLIF.js";import"./KC24JR4A.js";import"./PKCH4S3D.js";import"./QC4PNSX4.js";import"./G2Z7STGZ.js";import"./A2YLMAEB.js";import"./W2OWW2KK.js";import"./6UG5WDWV.js";import"./JRUXKUE3.js";import"./YGPLVBPY.js";import"./7MU53L6J.js";import"./TPVBZJZ3.js";import"./Y55AAFJG.js";import"./Q2PF3RGD.js";import"./46CVQ75Q.js";import"./AUZAHXSQ.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./3Q67Q7SB.js";import"./PR5LDTTA.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as n}from"./OGDSICU2.js";import{b as i}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{E as o,h as a,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
3
+ v1.1.2 */
4
+ import{a as n}from"./4CQTDBOU.js";import{b as i}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{E as o,h as a,i as s}from"./C3RJP556.js";import"./PR5LDTTA.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import k from"./7TQGZSOS.js";import j from"./KHEFLBXY.js";import e from"./AMQ6Z4TC.js";import{b as w}from"./OLARJ53Z.js";import b from"./WHOLLTII.js";import{a as y,c as f,d as C}from"./KLEDYY4Y.js";import{b as i}from"./PCEDSTLJ.js";import"./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{m as g,o as a}from"./PSX4TZJP.js";import{a as u}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as p}from"./F3LYA4NW.js";import{D as _,E as m,G as o,h,i as s,j as d,l as c,o as r}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,,n,x])=>{var v=h`/** @license
3
+ v1.1.2 */
4
+ import k from"./SZ4MNX2Y.js";import j from"./DOZB6DFJ.js";import e from"./EGOHOQ75.js";import{b as w}from"./NAV7MYUI.js";import b from"./52W3R4RL.js";import{a as y,c as f,d as C}from"./ZF7EIUJK.js";import{b as i}from"./FNFLIMK4.js";import"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import{m as g,o as a}from"./2X27XYSX.js";import{a as u}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as p}from"./RIVQ5IKO.js";import{D as _,E as m,G as o,h,i as s,j as d,l as c,o as r}from"./C3RJP556.js";import"./PR5LDTTA.js";export default $arcgis.t(([,,n,x])=>{var v=h`/** @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
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as r}from"./HODMV4M5.js";import"./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 c}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as n}from"./F3LYA4NW.js";import{E as l,H as a,h as s,i,r as o}from"./YGBNP67C.js";import"./4UFKHCT4.js";var b=s`@layer{/** @license
3
+ v1.1.2 */
4
+ import{a as r}from"./FCX66S7M.js";import"./NGDFUBVG.js";import"./ELHKOYWS.js";import"./AD4DWMVS.js";import"./NV3PO22N.js";import"./6XOYHC7J.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./2X27XYSX.js";import{a as c}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as n}from"./RIVQ5IKO.js";import{E as l,H as a,h as s,i,r as o}from"./C3RJP556.js";import"./PR5LDTTA.js";var b=s`@layer{/** @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
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as n}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as a}from"./F3LYA4NW.js";import{E as l,h as i,i as t,o as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var r=i`/** @license
3
+ v1.1.2 */
4
+ import{a as n}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as a}from"./RIVQ5IKO.js";import{E as l,h as i,i as t,o as s}from"./C3RJP556.js";import"./PR5LDTTA.js";var r=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./YGBNP67C.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
3
+ v1.1.2 */
4
+ import{A as y,k as P,t as k,u as w,v as V,w as m,x as h,y as A,z as D}from"./C3RJP556.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{a as m,b as o,c as T,d as E}from"./KTABK32D.js";import{a as t,b as e}from"./6LZA3IU7.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./GQCNQXN5.js";import"./4UFKHCT4.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
3
+ v1.1.2 */
4
+ import{a as m,b as o,c as T,d as E}from"./KC24JR4A.js";import{a as t,b as e}from"./PKCH4S3D.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./2TPODPFQ.js";import"./PR5LDTTA.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
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)
3
+ v1.1.2 */
4
+ import c from"./SXDHIKYQ.js";import a from"./UQMZINRC.js";import{b as $}from"./GKH6SK5J.js";import"./SIOIWWJS.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"./C3RJP556.js";import"./PR5LDTTA.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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.1 */
4
- import{b as g}from"./USE6OJ76.js";import{a as b}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as w}from"./F3LYA4NW.js";import{E as m,G as p,h,i as l,o as r,r as u}from"./YGBNP67C.js";import"./4UFKHCT4.js";var y=h`@layer{/**
3
+ v1.1.2 */
4
+ import{b as g}from"./DCM6XZAR.js";import{a as b}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as w}from"./RIVQ5IKO.js";import{E as m,G as p,h,i as l,o as r,r as u}from"./C3RJP556.js";import"./PR5LDTTA.js";var y=h`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *