@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
@@ -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{s as c}from"./3KQWJHJU.js";import{b as r}from"./KM72PDVP.js";import{E as i,h as a,i as p}from"./YGBNP67C.js";import"./4UFKHCT4.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
3
+ v1.1.2 */
4
+ import{s as c}from"./HYIFXLL5.js";import{b as r}from"./GKH6SK5J.js";import{E as i,h as a,i as p}from"./C3RJP556.js";import"./PR5LDTTA.js";var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return async(o,e)=>{let n=o.content;o.isExpand&&(n=await this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}async _getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,l=t?.expanded??!1;return await c({content:e,view:o,expanded:l,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);export{s as InstantAppsControlPanel};
@@ -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 t}from"./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 o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.1.2 */
4
+ import{a as t}from"./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 o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o 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 */
3
+ v1.1.2 */
4
4
  function O(t){return t.indexOf("|")>-1&&(t=t.replace("|","::")),t}function S(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var _="~",n=256,r="slug";function G(t,e="",o=0){let R=[r];return e&&R.push(e.toLowerCase()),R.push(t),R.join("|").substring(0,n-o).replace(/-+$/,"").replace(new RegExp(`^${r}\\|`),"")}function i(t){let e=`${r}|${t}|`;return n-e.length}var c=(t,e)=>`${t.split("|").pop()}${_}${e}`;export{S as a,O as b,r as c,G as d,i as e,c as f};
@@ -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"./5Z2FPM3N.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./4UFKHCT4.js";export{a as SiteEditorTypes,b as getSiteSchema};
3
+ v1.1.2 */
4
+ import{a,b}from"./6UG5WDWV.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./PR5LDTTA.js";export{a as SiteEditorTypes,b as getSiteSchema};
@@ -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 f}from"./7Q36435D.js";import{a as D}from"./6ATB2NEI.js";import{a as L}from"./OGDSICU2.js";import{B as S,C as I}from"./3KQWJHJU.js";import{b as k}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./YGBNP67C.js";import"./4UFKHCT4.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
3
+ v1.1.2 */
4
+ import{a as f}from"./54DZZUSQ.js";import{a as D}from"./JZXBOMMZ.js";import{a as L}from"./4CQTDBOU.js";import{B as S,C as I}from"./HYIFXLL5.js";import{b as k}from"./GKH6SK5J.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{C as $,D as b,E as F,G as p,h as C,i as l,l as h,o as E}from"./C3RJP556.js";import"./PR5LDTTA.js";var _="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",x=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function v(m){return m.replaceAll("'","''")}function y(m,e=!1){if(m){let t=new Date(m),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function T(m){if(m!=null){m.value=["",""];let e=m.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=C`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},w=class extends F{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.baseClass=_,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=E(),this.filterUpdate=E()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async load(){this.baseClass=D(this.el)==="dark"?P:_,await this.initializeModules(),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([I(),S()]);this.geometryJsonUtils=t,this.intl=e}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(T(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&T(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!x.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${v(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=y(a[`min${i}`]),t.max=y(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${v(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&x.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,g)=>u.localeCompare(g)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,g)=>u-g):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!x.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${v(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?y(Math.floor(n.getTime()),!0):void 0,o=a?y(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&x.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}if(e.type==="time-only"){let i=this.intl.convertDateFormatToIntlOptions("long-time");return this.intl.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!x.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${b(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${f("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?f(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return f(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return f("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return f(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?f(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${this.intl?.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${b(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};k("instant-apps-filter-list",w);export{w as InstantAppsFilterList};
@@ -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{f as C}from"./3Z52A6AW.js";import"./PSX4TZJP.js";import"./OYFNC4U6.js";import{b}from"./USE6OJ76.js";import{b as g}from"./F3LYA4NW.js";import{C as d,D as p,E as m,h as u,i as r,o as h,r as _}from"./YGBNP67C.js";import"./4UFKHCT4.js";var F=u`@layer{/**
3
+ v1.1.2 */
4
+ import{f as C}from"./BOOF3NBM.js";import"./2X27XYSX.js";import"./4VNLVOPL.js";import{b}from"./DCM6XZAR.js";import{b as g}from"./RIVQ5IKO.js";import{C as d,D as p,E as m,h as u,i as r,o as h,r as _}from"./C3RJP556.js";import"./PR5LDTTA.js";var F=u`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -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 S}from"./2UB4CICT.js";import{a as U,b as x}from"./2CDAKBYX.js";import{d as j,g as L,h as C,i as N}from"./WNXJPQ3P.js";import{b as f,c as y}from"./DWLML3AH.js";import{m as v,n as _}from"./4LWHDNDR.js";import{a as d}from"./SO5JOFTM.js";import{f as M}from"./3AKF2NFL.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import"./4MOZP7S7.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import{a as O}from"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import{s as I}from"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import"./4UFKHCT4.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
3
+ v1.1.2 */
4
+ import{a as S}from"./7MR2GERG.js";import{a as U,b as x}from"./SRRYBFQR.js";import{d as j,g as L,h as C,i as N}from"./NV3PO22N.js";import{b as f,c as y}from"./JN5XM3AT.js";import{m as v,n as _}from"./6XOYHC7J.js";import{a as d}from"./GLO46OKK.js";import{f as M}from"./BSKFNFRN.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import"./I66U7ET6.js";import"./5HDRNMQJ.js";import"./GF5KUEBW.js";import{a as O}from"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import{s as I}from"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./PR5LDTTA.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
@@ -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"./AEIXUSBT.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./4UFKHCT4.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.2 */
4
+ import{a,b}from"./YGPLVBPY.js";import"./XKSMKJKC.js";import"./5AT5TJIP.js";import"./2TPODPFQ.js";import"./PR5LDTTA.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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 g}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as p}from"./F3LYA4NW.js";import{E as u,I as s,h as l,i as c,r as h}from"./YGBNP67C.js";import"./4UFKHCT4.js";var b=l`@layer{/** @license
3
+ v1.1.2 */
4
+ import{a as g}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as p}from"./RIVQ5IKO.js";import{E as u,I as s,h as l,i as c,r as h}from"./C3RJP556.js";import"./PR5LDTTA.js";var b=l`@layer{/** @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{c as t}from"./PDBKU4S2.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./GQCNQXN5.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.1.2 */
4
+ import{c as t}from"./5AT5TJIP.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./2TPODPFQ.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m 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 */
3
+ v1.1.2 */
4
4
  var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",o="8f741b82179543fe884bed012dd5f049",s="1d3a7ed66deb47269beea05ff9afd4c1",d="solutions-deployment-first-use",r={name:"solution-deployment-app",version:"1.0",dev:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"7e2fd97553644e5f99b1129fbcee3c2e"}}},qa:{amazon:{userPoolID:"us-east-1:7345bcf2-bffa-4849-a379-a83178f63eef",app:{id:"a3beba911bd14847ada5c9ffed2a2111"}}},prod:{amazon:{userPoolID:"us-east-1:8c41b2dc-7563-403d-ba64-673b103debce",app:{id:"35a920e0e7f84680be076e57dd5cb728"}}}},t={appId:e,portalURL:a,primarySolutionsGroupId:o,agoBasedEnterpriseSolutionsGroupId:s,consoleMessageLevel:1,cookiesFirstUseVar:d,isRTL:!1,locale:"en",forceTrackingEnv:"dev",trackingEnabled:!0,telemetry:r},n=Object.freeze(Object.defineProperty({__proto__:null,agoBasedEnterpriseSolutionsGroupId:s,appId:e,consoleMessageLevel:1,cookiesFirstUseVar:d,default:t,forceTrackingEnv:"dev",isRTL:!1,locale:"en",portalURL:a,primarySolutionsGroupId:o,telemetry:r,trackingEnabled:!0},Symbol.toStringTag,{value:"Module"}));export{e as a,n 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{a as b}from"./UVAXWM4L.js";import{b as k}from"./PCEDSTLJ.js";import{g as a}from"./PSX4TZJP.js";import{b as w}from"./USE6OJ76.js";import{a as _}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as y}from"./F3LYA4NW.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./YGBNP67C.js";import"./4UFKHCT4.js";var u=n`@layer{/** @license
3
+ v1.1.2 */
4
+ import{a as b}from"./DOX3JTNJ.js";import{b as k}from"./FNFLIMK4.js";import{g as a}from"./2X27XYSX.js";import{b as w}from"./DCM6XZAR.js";import{a as _}from"./UPEGEW7Y.js";import"./BJQAP3O2.js";import"./SIOIWWJS.js";import{b as y}from"./RIVQ5IKO.js";import{C as p,D as g,E as m,G as r,h as n,i as l,o as h,r as d}from"./C3RJP556.js";import"./PR5LDTTA.js";var u=n`@layer{/** @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}from"./MBGCB6OG.js";import"./4UFKHCT4.js";export default a();
3
+ v1.1.2 */
4
+ import{a}from"./GCTPCYBJ.js";import"./PR5LDTTA.js";export default 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 X}from"./ENYF3KSA.js";import{a as s}from"./HFVS4CAO.js";import{c as x}from"./XZL7GBO2.js";import{a as J,b as H}from"./2CDAKBYX.js";import{h as V,i as z}from"./WNXJPQ3P.js";import{b as R,c as w}from"./DWLML3AH.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./4LWHDNDR.js";import"./3AKF2NFL.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./L4UMBNSK.js";import"./4MOZP7S7.js";import{i as G}from"./3I4KGLJ2.js";import"./QYGNVH4W.js";import{a as p}from"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./IAAUVKHV.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import{k as O,s as j}from"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import{a as d}from"./DK35UKU7.js";import"./O7Z57GLZ.js";import"./PDBKU4S2.js";import"./4UFKHCT4.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
3
+ v1.1.2 */
4
+ import{a as X}from"./PI7FQ7L6.js";import{a as s}from"./BMSCYDPC.js";import{c as x}from"./AD4DWMVS.js";import{a as J,b as H}from"./SRRYBFQR.js";import{h as V,i as z}from"./NV3PO22N.js";import{b as R,c as w}from"./JN5XM3AT.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./6XOYHC7J.js";import"./BSKFNFRN.js";import"./Y6UXZU6F.js";import"./WCEXT5V3.js";import"./WPJSV2F5.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./5SL47RKJ.js";import"./I66U7ET6.js";import{i as G}from"./5HDRNMQJ.js";import"./GF5KUEBW.js";import{a as p}from"./LYLKQ45A.js";import"./DDBL2HDT.js";import"./D2BNLIR4.js";import"./CD46MAFQ.js";import"./3NOB3U76.js";import{k as O,s as j}from"./UOKZMNT4.js";import"./LXFYLAHF.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import{a as d}from"./NBW47T6S.js";import"./A2YLMAEB.js";import"./5AT5TJIP.js";import"./PR5LDTTA.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
@@ -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 e,c as t,e as a,g as s,k as o}from"./GQCNQXN5.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
3
+ v1.1.2 */
4
+ import{a as e,c as t,e as a,g as s,k as o}from"./2TPODPFQ.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
@@ -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{e as t,g as i}from"./3I4KGLJ2.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n as a};
3
+ v1.1.2 */
4
+ import{e as t,g as i}from"./5HDRNMQJ.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n 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 e}from"./DQZV5B4U.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
3
+ v1.1.2 */
4
+ import{a as e}from"./XKSMKJKC.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
@@ -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 i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i 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 t}from"./RFQTBJV3.js";import"./4MOZP7S7.js";import"./2BNWBAZJ.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import"./4UFKHCT4.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m as buildUiSchema};
3
+ v1.1.2 */
4
+ import{a as t}from"./BFPWVVHF.js";import"./I66U7ET6.js";import"./MSUAXEZP.js";import"./BVKE6BFN.js";import"./SWSTQ6IK.js";import"./NBW47T6S.js";import"./A2YLMAEB.js";import"./PR5LDTTA.js";var m=async(a,e,c)=>{let i=await t(a,e,c);return e.canEdit&&i.elements.splice(0,0,{type:"Notice",options:{noticeId:"20250311-channel-edit-warning"}}),i};export{m 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"./4UFKHCT4.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,5 +1,5 @@
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 P=function(){return P=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},P.apply(this,arguments)},z={exports:{}},g={},W={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function le(e,r,t){}function fe(e,r,t){}var ue=/javascript\s*\:/img;function ce(e,r){return ue.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=le;w.onIgnoreAttr=fe;w.safeAttrValue=ce;var ge={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=ge;function de(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
5
5
  `&&o()}return L.trim(l)}var pe=de,O=w,he=pe;function G(e){return e==null}function ve(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=ve(e||{}),e.whiteList=e.whiteList||O.whiteList,e.onAttr=e.onAttr||O.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||O.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||O.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=he(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return G(v)?u+":"+f:v}else{var v=i(u,f,m);if(!G(v))return v}}});return o};var me=B;(function(e,r){var t=w,a=me;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(W,W.exports);var $=W.exports,N={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},be=$.FilterCSS,ye=$.getDefaultWhiteList,F=N;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new be;function we(e,r,t){}function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Z(e){return e.replace(ke,"&lt;").replace(Le,"&gt;")}function Se(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=F.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(_.lastIndex=0,_.test(t))return""}else if(r==="style"){if(D.lastIndex=0,D.test(t)||(j.lastIndex=0,j.test(t)&&(_.lastIndex=0,_.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var ke=/</g,Le=/>/g,Ee=/"/g,Oe=/&quot;/g,_e=/&#([a-zA-Z0-9]*);?/gim,Ce=/&colon;?/gim,Ie=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(Ee,"&quot;")}function K(e){return e.replace(Oe,'"')}function Y(e){return e.replace(_e,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ce,":").replace(Ie," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return F.trim(r)}function re(e){return e=K(e),e=Y(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Fe(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:F.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return F.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Ve(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function Re(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=we;g.onIgnoreTag=Ae;g.onTagAttr=xe;g.onIgnoreTagAttr=Te;g.safeAttrValue=Se;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=K;g.escapeHtmlEntities=Y;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Fe;g.stripCommentTag=Ve;g.stripBlankChar=Re;g.cssFilter=M;g.getDefaultCSSWhiteList=ye;var V={},y=N;function ze(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=ze(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ne=/[^a-zA-Z0-9\\_:.-]/gim;function Ue(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ne,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=Xe(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=De(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function Xe(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function De(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function je(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return je(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Ue;var He=$.FilterCSS,b=g,ie=V,qe=ie.parseTag,Be=ie.parseAttr,I=N;function C(e){return e==null}function Qe(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Me(e){var r={};for(var t in e)r[t]=e[t];return r}function Ze(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Me(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Ze(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new He(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=qe(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Qe(v),oe=a[m],X=Be(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Je=se;(function(e,r){var t=g,a=V,s=Je;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,(function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]})();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},Ye=(function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=P(P({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e})();export{Ye 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="B\u1EA1n kh\xF4ng c\xF3 \u0111\u1EE7 credit \u0111\u1EC3 th\u1EF1c hi\u1EC7n thao t\xE1c n\xE0y. Vui l\xF2ng li\xEAn h\u1EC7 v\u1EDBi Qu\u1EA3n tr\u1ECB vi\xEAn H\u1EC7 th\u1ED1ng ArcGIS cu\u1EA3 b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp.",a="\u0110\xE3 xu\u1EA5t b\u1EA3n c\xF4ng c\u1EE5 n\xE0y t\u1EEB notebook. T\u1ED5 ch\u1EE9c c\u1EE7a b\u1EA1n b\u1ECB ch\u1EB7n truy c\u1EADp v\xE0o ArcGIS Notebooks. Li\xEAn h\u1EC7 v\u1EDBi qu\u1EA3n tr\u1ECB vi\xEAn c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111i\u1EC1u ch\u1EC9nh thi\u1EBFt l\u1EADp.",n="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a ${ additionalProperty }.",r="${ dataPath } ph\u1EA3i kh\u1EDBp v\u1EDBi l\u01B0\u1EE3c \u0111\u1ED3 c\u1EE7a m\u1ED9t trong nh\u1EEFng th\u1EE9 sau: ${ schemaOptions }.",e="H\xE3y th\u1EED l\u01B0u l\u1EA1i b\u1EA3n \u0111\u1ED3.",h="Kh\xF4ng th\u1EC3 \u01AF\u1EDBc t\xEDnh Credit. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 \u01B0\u1EDBc t\xEDnh l\u1EA1i credit.",i="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi ch\u1EA1y ph\xE2n t\xEDch.",c="${ dataPath } ph\u1EA3i b\u1EB1ng m\u1ED9t trong nh\u1EEFng gi\xE1 tr\u1ECB \u0111\u01B0\u1EE3c ph\xE9p n\xE0y: ${ allowedValues }.",o="Kh\xF4ng th\u1EC3 l\u01B0u l\u1ECBch s\u1EED ph\xE2n t\xEDch",l="N\u01A1i l\u01B0u tr\u1EEF l\u1ECBch s\u1EED \u0111\xE3 \u0111\u1EA7y. X\xF3a m\u1ED9t s\u1ED1 m\u1EE5c kh\u1ECFi l\u1ECBch s\u1EED ph\xE2n t\xEDch v\xE0 th\u1EED l\u01B0u l\u1EA1i.",s="T\xEAn d\u1ECBch v\u1EE5 ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7.",u="L\u01B0u l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF ch\u01B0a ho\xE0n t\u1EA5t.",d="Kh\xF4ng th\u1EC3 nh\u1EADn c\xE1c thu\u1ED9c t\xEDnh c\u1EE7a kh\xF3a.",g="Kh\xF4ng th\u1EC3 t\u1EA3i l\u1EDBp.",m="L\u1EDBp kh\xF4ng kh\u1EA3 d\u1EE5ng.",p="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a nhi\u1EC1u h\u01A1n ${ limit } m\u1EE5c.",y="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi l\u01B0u m\xF4 h\xECnh. H\xE3y th\u1EED l\u01B0u l\u1EA7n n\u1EEFa.",k="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a d\u01B0\u1EDBi ${ limit } m\u1EE5c.",v="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ng\u1EAFn h\u01A1n ${ limit } k\xFD t\u1EF1.",E="Kh\xF4ng th\u1EC3 t\u1EA3i m\u1EE5c m\xF4 h\xECnh. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xF4 h\xECnh t\u1ED3n t\u1EA1i v\xE0 quy\u1EC1n truy c\u1EADp \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EA5p.",P="Kh\xF4ng th\u1EC3 ho\xE0n t\u1EA5t y\xEAu c\u1EA7u.",b="B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n ch\u1EA1y c\xF4ng c\u1EE5 n\xE0y. <calcite-link target='_blank' href='${ docLink }'>T\xECm hi\u1EC3u th\xEAm</calcite-link>",S="Kh\xF4ng th\u1EC3 \u0111\u0103ng nh\u1EADp v\xE0o c\u1ED5ng th\xF4ng tin.",T="Kh\xF4ng th\u1EC3 \u0111\u1ECDc d\u1EEF li\u1EC7u \u0111\u1EA7u v\xE0o.",$="${ dataPath } \u0111ang thi\u1EBFu m\u1ED9t t\xEAn ph\xF9 h\u1EE3p ${ missingProperty }.",f="\u0110\xE3 t\u1ED3n t\u1EA1i m\u1ED9t l\u1EDBp k\u1EBFt qu\u1EA3 c\xF3 t\xEAn n\xE0y. C\xE1c l\u1EDBp k\u1EBFt qu\u1EA3 ph\u1EA3i \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn duy nh\u1EA5t trong t\u1ED5 ch\u1EE9c. Vui l\xF2ng s\u1EED d\u1EE5ng t\xEAn kh\xE1c.",I="T\xEAn \u0111\u1EA7u ra ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7. <a href='${docLink}' target='_blank'>T\xECm hi\u1EC3u th\xEAm.</a>",F="Xu\u1EA5t b\u1EA3n l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF kh\xF4ng th\xE0nh c\xF4ng do m\u1ED9t ho\u1EB7c nhi\u1EC1u tr\u01B0\u1EDDng kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1EA1y l\u1EA1i c\xF4ng c\u1EE5 \u0111\u1EC3 t\u1EA1o l\u1EDBp c\xF3 c\xE1c tr\u01B0\u1EDDng h\u1EE3p l\u1EC7.",L="G\u1EEDi c\xF4ng vi\u1EC7c th\u1EA5t b\u1EA1i. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 ch\u1EA1y l\u1EA1i ph\xE2n t\xEDch.",C="${ dataPath } ph\u1EA3i ch\u1EE9a \xEDt nh\u1EA5t m\u1ED9t k\xFD t\u1EF1 kh\xF4ng ph\u1EA3i kho\u1EA3ng tr\u1EAFng.",x={InsufficientCreditsError:t,accessBlocked:a,additionalProperty:n,anyOfValues:r,cannotWriteToItemResource:e,creditEstimationError:h,defaultError:i,enumValues:c,failedToSaveHistory:o,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:s,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:m,maxItems:p,mbFailedToSave:y,minItems:k,minLength:v,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:T,requiredProperty:$,serviceNameExistsError:f,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:C};export{t as InsufficientCreditsError,a as accessBlocked,n as additionalProperty,r as anyOfValues,e as cannotWriteToItemResource,h as creditEstimationError,x as default,i as defaultError,c as enumValues,o as failedToSaveHistory,l as fullSessionStorage,s as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,m as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,v as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,T as queryFeaturesError,$ as requiredProperty,f as serviceNameExistsError,I as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,C as whiteSpacePattern};
3
+ v1.1.2 */
4
+ import"./PR5LDTTA.js";var t="B\u1EA1n kh\xF4ng c\xF3 \u0111\u1EE7 credit \u0111\u1EC3 th\u1EF1c hi\u1EC7n thao t\xE1c n\xE0y. Vui l\xF2ng li\xEAn h\u1EC7 v\u1EDBi Qu\u1EA3n tr\u1ECB vi\xEAn H\u1EC7 th\u1ED1ng ArcGIS cu\u1EA3 b\u1EA1n \u0111\u1EC3 \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp.",a="\u0110\xE3 xu\u1EA5t b\u1EA3n c\xF4ng c\u1EE5 n\xE0y t\u1EEB notebook. T\u1ED5 ch\u1EE9c c\u1EE7a b\u1EA1n b\u1ECB ch\u1EB7n truy c\u1EADp v\xE0o ArcGIS Notebooks. Li\xEAn h\u1EC7 v\u1EDBi qu\u1EA3n tr\u1ECB vi\xEAn c\u1EE7a b\u1EA1n \u0111\u1EC3 \u0111i\u1EC1u ch\u1EC9nh thi\u1EBFt l\u1EADp.",n="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a ${ additionalProperty }.",r="${ dataPath } ph\u1EA3i kh\u1EDBp v\u1EDBi l\u01B0\u1EE3c \u0111\u1ED3 c\u1EE7a m\u1ED9t trong nh\u1EEFng th\u1EE9 sau: ${ schemaOptions }.",e="H\xE3y th\u1EED l\u01B0u l\u1EA1i b\u1EA3n \u0111\u1ED3.",h="Kh\xF4ng th\u1EC3 \u01AF\u1EDBc t\xEDnh Credit. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 \u01B0\u1EDBc t\xEDnh l\u1EA1i credit.",i="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi ch\u1EA1y ph\xE2n t\xEDch.",c="${ dataPath } ph\u1EA3i b\u1EB1ng m\u1ED9t trong nh\u1EEFng gi\xE1 tr\u1ECB \u0111\u01B0\u1EE3c ph\xE9p n\xE0y: ${ allowedValues }.",o="Kh\xF4ng th\u1EC3 l\u01B0u l\u1ECBch s\u1EED ph\xE2n t\xEDch",l="N\u01A1i l\u01B0u tr\u1EEF l\u1ECBch s\u1EED \u0111\xE3 \u0111\u1EA7y. X\xF3a m\u1ED9t s\u1ED1 m\u1EE5c kh\u1ECFi l\u1ECBch s\u1EED ph\xE2n t\xEDch v\xE0 th\u1EED l\u01B0u l\u1EA1i.",s="T\xEAn d\u1ECBch v\u1EE5 ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7.",u="L\u01B0u l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF ch\u01B0a ho\xE0n t\u1EA5t.",d="Kh\xF4ng th\u1EC3 nh\u1EADn c\xE1c thu\u1ED9c t\xEDnh c\u1EE7a kh\xF3a.",g="Kh\xF4ng th\u1EC3 t\u1EA3i l\u1EDBp.",m="L\u1EDBp kh\xF4ng kh\u1EA3 d\u1EE5ng.",p="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a nhi\u1EC1u h\u01A1n ${ limit } m\u1EE5c.",y="\u0110\xE3 x\u1EA3y ra l\u1ED7i khi l\u01B0u m\xF4 h\xECnh. H\xE3y th\u1EED l\u01B0u l\u1EA7n n\u1EEFa.",k="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ch\u1EE9a d\u01B0\u1EDBi ${ limit } m\u1EE5c.",v="${ dataPath } kh\xF4ng \u0111\u01B0\u1EE3c ng\u1EAFn h\u01A1n ${ limit } k\xFD t\u1EF1.",E="Kh\xF4ng th\u1EC3 t\u1EA3i m\u1EE5c m\xF4 h\xECnh. \u0110\u1EA3m b\u1EA3o r\u1EB1ng m\xF4 h\xECnh t\u1ED3n t\u1EA1i v\xE0 quy\u1EC1n truy c\u1EADp \u0111\xE3 \u0111\u01B0\u1EE3c c\u1EA5p.",P="Kh\xF4ng th\u1EC3 ho\xE0n t\u1EA5t y\xEAu c\u1EA7u.",b="B\u1EA1n kh\xF4ng c\xF3 quy\u1EC1n ch\u1EA1y c\xF4ng c\u1EE5 n\xE0y. <calcite-link target='_blank' href='${ docLink }'>T\xECm hi\u1EC3u th\xEAm</calcite-link>",S="Kh\xF4ng th\u1EC3 \u0111\u0103ng nh\u1EADp v\xE0o c\u1ED5ng th\xF4ng tin.",T="Kh\xF4ng th\u1EC3 \u0111\u1ECDc d\u1EEF li\u1EC7u \u0111\u1EA7u v\xE0o.",$="${ dataPath } \u0111ang thi\u1EBFu m\u1ED9t t\xEAn ph\xF9 h\u1EE3p ${ missingProperty }.",f="\u0110\xE3 t\u1ED3n t\u1EA1i m\u1ED9t l\u1EDBp k\u1EBFt qu\u1EA3 c\xF3 t\xEAn n\xE0y. C\xE1c l\u1EDBp k\u1EBFt qu\u1EA3 ph\u1EA3i \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn duy nh\u1EA5t trong t\u1ED5 ch\u1EE9c. Vui l\xF2ng s\u1EED d\u1EE5ng t\xEAn kh\xE1c.",I="T\xEAn \u0111\u1EA7u ra ch\u1EE9a m\u1ED9t ho\u1EB7c nhi\u1EC1u k\xFD t\u1EF1 kh\xF4ng h\u1EE3p l\u1EC7. <a href='${docLink}' target='_blank'>T\xECm hi\u1EC3u th\xEAm.</a>",F="Xu\u1EA5t b\u1EA3n l\u1EDBp t\u1EA1m th\u1EDDi th\xE0nh l\u1EDBp \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF kh\xF4ng th\xE0nh c\xF4ng do m\u1ED9t ho\u1EB7c nhi\u1EC1u tr\u01B0\u1EDDng kh\xF4ng h\u1EE3p l\u1EC7. Ch\u1EA1y l\u1EA1i c\xF4ng c\u1EE5 \u0111\u1EC3 t\u1EA1o l\u1EDBp c\xF3 c\xE1c tr\u01B0\u1EDDng h\u1EE3p l\u1EC7.",L="G\u1EEDi c\xF4ng vi\u1EC7c th\u1EA5t b\u1EA1i. Cu\u1ED9n xu\u1ED1ng, s\u1EEDa l\u1ED7i v\xE0 ch\u1EA1y l\u1EA1i ph\xE2n t\xEDch.",C="${ dataPath } ph\u1EA3i ch\u1EE9a \xEDt nh\u1EA5t m\u1ED9t k\xFD t\u1EF1 kh\xF4ng ph\u1EA3i kho\u1EA3ng tr\u1EAFng.",x={InsufficientCreditsError:t,accessBlocked:a,additionalProperty:n,anyOfValues:r,cannotWriteToItemResource:e,creditEstimationError:h,defaultError:i,enumValues:c,failedToSaveHistory:o,fullSessionStorage:l,hostedFeatureServiceInvalidTitle:s,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:m,maxItems:p,mbFailedToSave:y,minItems:k,minLength:v,modelNotFound:E,networkError:P,noPermissionToAccessTool:b,portalLoadError:S,queryFeaturesError:T,requiredProperty:$,serviceNameExistsError:f,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:C};export{t as InsufficientCreditsError,a as accessBlocked,n as additionalProperty,r as anyOfValues,e as cannotWriteToItemResource,h as creditEstimationError,x as default,i as defaultError,c as enumValues,o as failedToSaveHistory,l as fullSessionStorage,s as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,m as layerUnavailable,p as maxItems,y as mbFailedToSave,k as minItems,v as minLength,E as modelNotFound,P as networkError,b as noPermissionToAccessTool,S as portalLoadError,T as queryFeaturesError,$ as requiredProperty,f as serviceNameExistsError,I as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,C 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 */
3
+ v1.1.2 */
4
4
  var e="UserSession",a="isMobile",t="Auth";var i="config";export{e as a,a as b,t as c,i as d};
@@ -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{d as i}from"./NG46OHWH.js";import{a}from"./ZUP2X5AU.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
3
+ v1.1.2 */
4
+ import{d as i}from"./LXFYLAHF.js";import{a}from"./U4IWP4JS.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};