@esri/solutions-components 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/dist/cdn/{6HYASXTD.js → 26A7IUMW.js} +2 -2
  2. package/dist/cdn/{FAFYE3RG.js → 26YIO67D.js} +2 -2
  3. package/dist/cdn/{AFHWOLNP.js → 27ZTA7Z7.js} +2 -2
  4. package/dist/cdn/{6TV3KIXK.js → 2BCLZ6CT.js} +2 -2
  5. package/dist/cdn/{N7VU2XX4.js → 2BNWBAZJ.js} +2 -2
  6. package/dist/cdn/{KVXSGN5R.js → 2BTAF23L.js} +2 -2
  7. package/dist/cdn/{PWR2V4FP.js → 2BWMHRH4.js} +2 -2
  8. package/dist/cdn/{MH32IF4W.js → 2CDAKBYX.js} +2 -2
  9. package/dist/cdn/{SGKUZEBX.js → 2CZX6QRM.js} +2 -2
  10. package/dist/cdn/{46SKFEV5.js → 2IG3IMPC.js} +2 -2
  11. package/dist/cdn/{STXL6NIE.js → 2J4G54AQ.js} +2 -2
  12. package/dist/cdn/{WDUN66AL.js → 2JEEZNQU.js} +2 -2
  13. package/dist/cdn/{7XJEVL4H.js → 2JFRXKUJ.js} +2 -2
  14. package/dist/cdn/{AMY5TGXW.js → 2UB4CICT.js} +2 -2
  15. package/dist/cdn/{EUKEOESV.js → 2V52VLFJ.js} +2 -2
  16. package/dist/cdn/{LGLWUNU4.js → 2WOT62PD.js} +2 -2
  17. package/dist/cdn/{VRT6IWG7.js → 2YQAGWB4.js} +2 -2
  18. package/dist/cdn/{VRZO33HJ.js → 35KT5J6L.js} +2 -2
  19. package/dist/cdn/{BZLXK5A3.js → 37LSWZCZ.js} +2 -2
  20. package/dist/cdn/{UXBAVP5Z.js → 3AKF2NFL.js} +1 -1
  21. package/dist/cdn/{7HGENER4.js → 3ALCYZ3Q.js} +2 -2
  22. package/dist/cdn/{KQ6BMUH2.js → 3BCMTX5A.js} +2 -2
  23. package/dist/cdn/{HEHSIXHI.js → 3FP74ZYG.js} +2 -2
  24. package/dist/cdn/{JUYYKVTE.js → 3G7RVBUA.js} +2 -2
  25. package/dist/cdn/{P4QP3FN6.js → 3I4KGLJ2.js} +2 -2
  26. package/dist/cdn/{U3VSDXKL.js → 3KQWJHJU.js} +1 -1
  27. package/dist/cdn/{CB76NLMT.js → 3NDVWJHY.js} +2 -2
  28. package/dist/cdn/{TWXPA723.js → 3SXS6CO7.js} +2 -2
  29. package/dist/cdn/{32HJ7U6I.js → 3WSKTJKP.js} +2 -2
  30. package/dist/cdn/{22OA2X7F.js → 3XU5XGKF.js} +2 -2
  31. package/dist/cdn/{5VLZX43L.js → 3Z52A6AW.js} +2 -2
  32. package/dist/cdn/{QOQCIJ52.js → 46ZDALTQ.js} +9 -9
  33. package/dist/cdn/{R5P4ZBIZ.js → 4ACOSJ2R.js} +2 -2
  34. package/dist/cdn/{TPNMSWQT.js → 4BCG3VKN.js} +2 -2
  35. package/dist/cdn/{E3VAATPC.js → 4GJOG2F4.js} +2 -2
  36. package/dist/cdn/{TYLEZAG2.js → 4GP2UQG2.js} +2 -2
  37. package/dist/cdn/{G34G6TIZ.js → 4L7ZMWIA.js} +1 -1
  38. package/dist/cdn/{QJ4VMFHY.js → 4LWHDNDR.js} +2 -2
  39. package/dist/cdn/{NNQ5VAQF.js → 4MOZP7S7.js} +1 -1
  40. package/dist/cdn/{2XTYWT3B.js → 4N5DLQ55.js} +2 -2
  41. package/dist/cdn/{STMQZU4D.js → 4P3ZYJQ3.js} +2 -2
  42. package/dist/cdn/{CRPP5JXO.js → 4REQUGTX.js} +2 -2
  43. package/dist/cdn/{SMTMWRRV.js → 4UFKHCT4.js} +1 -1
  44. package/dist/cdn/{B4BAMNQZ.js → 53KQQRS4.js} +2 -2
  45. package/dist/cdn/{XOYOBJTE.js → 55QFSM4Z.js} +2 -2
  46. package/dist/cdn/{7ODMOYJD.js → 56TBWRRO.js} +2 -2
  47. package/dist/cdn/{SJZ7QSP6.js → 5BQ6XBFO.js} +2 -2
  48. package/dist/cdn/{LTJJAN4Y.js → 5ELVKZK3.js} +2 -2
  49. package/dist/cdn/{AOXMRIER.js → 5JGDNIJU.js} +2 -2
  50. package/dist/cdn/{3O2T33CU.js → 5K76V7K5.js} +2 -2
  51. package/dist/cdn/{IUEMG5YD.js → 5LFFKDSV.js} +2 -2
  52. package/dist/cdn/{NM2FEB5M.js → 5MMYLEOU.js} +2 -2
  53. package/dist/cdn/{AA5OWGXP.js → 5OV265N4.js} +2 -2
  54. package/dist/cdn/{TV2CKUCU.js → 5QS55J2V.js} +2 -2
  55. package/dist/cdn/{FQHTZYT7.js → 5RFM6MUZ.js} +2 -2
  56. package/dist/cdn/{HBEIE66Z.js → 5RVCGMJ7.js} +2 -2
  57. package/dist/cdn/{W3Y7CW6D.js → 5SCFBPOD.js} +2 -2
  58. package/dist/cdn/{OM24RA5F.js → 5Z2FPM3N.js} +2 -2
  59. package/dist/cdn/{NWWECZ3X.js → 65EP7IPW.js} +2 -2
  60. package/dist/cdn/{KXTNCTMP.js → 6ATB2NEI.js} +1 -1
  61. package/dist/cdn/{ABUXWFTT.js → 6D4MPGC2.js} +2 -2
  62. package/dist/cdn/{SYOBCQGB.js → 6HHD7W7G.js} +2 -2
  63. package/dist/cdn/{UMADWE7A.js → 6KGM4ZLO.js} +2 -2
  64. package/dist/cdn/{DFS7UUPH.js → 6LZA3IU7.js} +1 -1
  65. package/dist/cdn/{3JNOCCQ5.js → 6Q3BQ2FC.js} +2 -2
  66. package/dist/cdn/{UO3LLU6M.js → 6SJDAXKU.js} +2 -2
  67. package/dist/cdn/{7WT26OPO.js → 6TRHSJBA.js} +2 -2
  68. package/dist/cdn/{UJH4XQR3.js → 6WOQW2IE.js} +2 -2
  69. package/dist/cdn/{EAKI67WF.js → 6YCAEYPE.js} +1 -1
  70. package/dist/cdn/{WX6BU4WB.js → 752NXLLE.js} +2 -2
  71. package/dist/cdn/{IQUWACDD.js → 7DNPNWRU.js} +2 -2
  72. package/dist/cdn/{J47QX26L.js → 7GCGTHLP.js} +2 -2
  73. package/dist/cdn/{JNSGECLI.js → 7HBTOAR5.js} +3 -3
  74. package/dist/cdn/{27OQI5JT.js → 7KUJV4HC.js} +2 -2
  75. package/dist/cdn/{3WJFXADS.js → 7PZ4UBDR.js} +1 -1
  76. package/dist/cdn/{2LIVMQO2.js → 7Q36435D.js} +2 -2
  77. package/dist/cdn/{IWBODHPW.js → 7TPSN3OZ.js} +2 -2
  78. package/dist/cdn/{MFPSQMUN.js → 7TQGZSOS.js} +2 -2
  79. package/dist/cdn/{Q7PQM4SB.js → A5NORFQ3.js} +2 -2
  80. package/dist/cdn/{PAKHX3I6.js → A7HIU3CH.js} +1 -1
  81. package/dist/cdn/{BYTSY4W5.js → ABKXGOLH.js} +2 -2
  82. package/dist/cdn/{J6MD6K4M.js → AEIXUSBT.js} +2 -2
  83. package/dist/cdn/{BD4Z5LKE.js → AGCNKK6G.js} +2 -2
  84. package/dist/cdn/{QTR2B74Q.js → AHJZ4NUK.js} +2 -2
  85. package/dist/cdn/{7UNMXF34.js → AIECUGLA.js} +2 -2
  86. package/dist/cdn/{RQHMM2TV.js → AL6OH2HL.js} +2 -2
  87. package/dist/cdn/{R54KEIUU.js → AM7XZYHN.js} +2 -2
  88. package/dist/cdn/{BMJZ7SJU.js → AMQ6Z4TC.js} +2 -2
  89. package/dist/cdn/{A7SGX5YT.js → AUCQU57I.js} +2 -2
  90. package/dist/cdn/{J6BTZ55D.js → AXLUQP4L.js} +2 -2
  91. package/dist/cdn/{CAQOBV5A.js → B2BJU5HS.js} +2 -2
  92. package/dist/cdn/{37HGSBPX.js → B4SUA3W7.js} +2 -2
  93. package/dist/cdn/{XDM3XQ2V.js → B4SZ3AFB.js} +2 -2
  94. package/dist/cdn/{RPQOJQTT.js → B54XVRBZ.js} +2 -2
  95. package/dist/cdn/{3AZTP5O6.js → B5LYIFIL.js} +2 -2
  96. package/dist/cdn/{KEFZ5YNV.js → B6Z3B7WO.js} +2 -2
  97. package/dist/cdn/{77NM6UZI.js → BFJ3MBJ3.js} +2 -2
  98. package/dist/cdn/{OVL7QMZH.js → BGNGMZZR.js} +2 -2
  99. package/dist/cdn/{CF54Q5YE.js → BKJFP7LT.js} +2 -2
  100. package/dist/cdn/{23S4BMNB.js → BPUJQWHO.js} +2 -2
  101. package/dist/cdn/{GPZYE77D.js → BTIPZNRW.js} +2 -2
  102. package/dist/cdn/BUV3Z6DV.js +4 -0
  103. package/dist/cdn/{MADKV4CG.js → C25PM233.js} +2 -2
  104. package/dist/cdn/{EMULILDA.js → C5IVPFPI.js} +2 -2
  105. package/dist/cdn/{OUIS7DTF.js → CDEY6E3D.js} +1 -1
  106. package/dist/cdn/{VVKCAW2O.js → CEMXCEBH.js} +1 -1
  107. package/dist/cdn/{3LABEKOR.js → CGRUPQKB.js} +2 -2
  108. package/dist/cdn/{OIC5TDYB.js → CVHQL36X.js} +2 -2
  109. package/dist/cdn/{TQIQUUNR.js → CWXIDRS2.js} +1 -1
  110. package/dist/cdn/{S3REU44G.js → CY3IW6EI.js} +2 -2
  111. package/dist/cdn/{6QX7DZ4M.js → CZG4TQS7.js} +2 -2
  112. package/dist/cdn/{TVUO3PT2.js → D3AONMYK.js} +2 -2
  113. package/dist/cdn/{G3PBPFWO.js → D3U545GO.js} +2 -2
  114. package/dist/cdn/{65W7HSK5.js → DAR4Z4PY.js} +2 -2
  115. package/dist/cdn/{2CIRIU3Q.js → DELGK4BU.js} +2 -2
  116. package/dist/cdn/{PTWIQDSC.js → DG6X6ND5.js} +2 -2
  117. package/dist/cdn/{JXWALA62.js → DG7ELQI5.js} +2 -2
  118. package/dist/cdn/{USRMDL2X.js → DHNEONGR.js} +2 -2
  119. package/dist/cdn/{POPBLQGD.js → DK35UKU7.js} +1 -1
  120. package/dist/cdn/{6RIMAYT3.js → DQRK65BG.js} +2 -2
  121. package/dist/cdn/{L2LNLN2J.js → DQZV5B4U.js} +2 -2
  122. package/dist/cdn/{3JHRLX63.js → DT2QNJXZ.js} +2 -2
  123. package/dist/cdn/{TECM5QWP.js → DTPMMVFN.js} +2 -2
  124. package/dist/cdn/{2BQCOVME.js → DWLML3AH.js} +2 -2
  125. package/dist/cdn/{PYO4MUPX.js → DYU53Y76.js} +2 -2
  126. package/dist/cdn/{B2YABCF7.js → DZCKXQ37.js} +2 -2
  127. package/dist/cdn/{KFZSBDTM.js → E26HA4PU.js} +1 -1
  128. package/dist/cdn/{DVFWIJKG.js → E2H2TMYA.js} +2 -2
  129. package/dist/cdn/{5MIJQHLO.js → E4657PTM.js} +2 -2
  130. package/dist/cdn/{G2MFQY2I.js → E7JSS6TZ.js} +2 -2
  131. package/dist/cdn/{GM6B5U7P.js → EDQISJN2.js} +1 -1
  132. package/dist/cdn/{H5AWEVBV.js → EIDWGAQS.js} +2 -2
  133. package/dist/cdn/{57NVVPZ6.js → ELLRXQO4.js} +2 -2
  134. package/dist/cdn/{XTFCV5HG.js → ELPOHGJW.js} +2 -2
  135. package/dist/cdn/{4FKOEYT7.js → EMJVLMDF.js} +2 -2
  136. package/dist/cdn/{VPOYZ64Q.js → ENYF3KSA.js} +2 -2
  137. package/dist/cdn/{AIH4IM4R.js → EO3MW2NL.js} +1 -1
  138. package/dist/cdn/{WIFVASZC.js → EQIDO6DW.js} +2 -2
  139. package/dist/cdn/{KDGLKJHT.js → ETND67WR.js} +2 -2
  140. package/dist/cdn/{4CQVWVRQ.js → EVL5ENBM.js} +2 -2
  141. package/dist/cdn/{TQ6ZXCIR.js → EWNQPSM6.js} +2 -2
  142. package/dist/cdn/{6GVUSF7Y.js → EXAPAR3S.js} +2 -2
  143. package/dist/cdn/{PZWKB64K.js → F3LYA4NW.js} +2 -2
  144. package/dist/cdn/{ZVEZP7FG.js → F6LLK63V.js} +2 -2
  145. package/dist/cdn/{E6WOGJ7F.js → F7KJ6JU5.js} +2 -2
  146. package/dist/cdn/{7UCBWXL5.js → FCF3N62R.js} +2 -2
  147. package/dist/cdn/{I4WH544G.js → FFQ3HGQK.js} +2 -2
  148. package/dist/cdn/{KHHVMDSQ.js → FIUCHRQF.js} +2 -2
  149. package/dist/cdn/{I6EXN7WV.js → FP7ZWUGT.js} +2 -2
  150. package/dist/cdn/FUUJFLHK.js +4 -0
  151. package/dist/cdn/{E7R7Q7EG.js → FUYZJXZ3.js} +2 -2
  152. package/dist/cdn/{54NFAZPM.js → FX5ZISLR.js} +2 -2
  153. package/dist/cdn/{HCNCUGZS.js → G2ZE3JDL.js} +2 -2
  154. package/dist/cdn/{KHFJW53Q.js → G5J7AYET.js} +1 -1
  155. package/dist/cdn/{Y5LQVUYC.js → GE4IM3MX.js} +4 -4
  156. package/dist/cdn/{77FI7XPK.js → GFVWUN5D.js} +2 -2
  157. package/dist/cdn/{LWMOWGIK.js → GKB3OPCC.js} +1 -1
  158. package/dist/cdn/{ZD2NK7QI.js → GKFQSVNR.js} +2 -2
  159. package/dist/cdn/{5G7ROHGR.js → GPMIA743.js} +2 -2
  160. package/dist/cdn/{M7PDEIFC.js → GQCNQXN5.js} +1 -1
  161. package/dist/cdn/{3S2J6YOU.js → GRQT7TEY.js} +2 -2
  162. package/dist/cdn/{7CUPT6B7.js → GYQWDRLR.js} +2 -2
  163. package/dist/cdn/{KZZHJTPP.js → H4APLINN.js} +2 -2
  164. package/dist/cdn/{YQCVFX4Z.js → H55NCRTY.js} +2 -2
  165. package/dist/cdn/{HMWODJBR.js → HF7PHNIQ.js} +2 -2
  166. package/dist/cdn/{RRH7CX4W.js → HFFRR5LZ.js} +2 -2
  167. package/dist/cdn/{737LKBTG.js → HFVS4CAO.js} +1 -1
  168. package/dist/cdn/{GDSDHDUW.js → HODMV4M5.js} +2 -2
  169. package/dist/cdn/{VIKAFJOW.js → HOZ3ZGMX.js} +2 -2
  170. package/dist/cdn/{IN6U55HN.js → HQF37WJP.js} +2 -2
  171. package/dist/cdn/{XRC6NCOB.js → HS4O2ERP.js} +2 -2
  172. package/dist/cdn/{XUG6L42S.js → HSQOGPUN.js} +2 -2
  173. package/dist/cdn/HXU762XJ.js +4 -0
  174. package/dist/cdn/{NDCEYZWS.js → I226XVK6.js} +1 -1
  175. package/dist/cdn/{34LPRBJE.js → I5ADXZSK.js} +3 -3
  176. package/dist/cdn/{ZYNT7ILM.js → I5LITYX6.js} +2 -2
  177. package/dist/cdn/{JN54IUSM.js → IAAUVKHV.js} +2 -2
  178. package/dist/cdn/{C2K74RDX.js → ICHAZGEE.js} +2 -2
  179. package/dist/cdn/{2KKFZ7KY.js → ICNZOE62.js} +2 -2
  180. package/dist/cdn/{WIKE26UP.js → IDTCCLPD.js} +2 -2
  181. package/dist/cdn/{ZXRM4JEP.js → IJYKJ7U3.js} +2 -2
  182. package/dist/cdn/{EXVYTJWZ.js → IL5ASV53.js} +2 -2
  183. package/dist/cdn/{UL5SFE3L.js → IOIU2LQ7.js} +2 -2
  184. package/dist/cdn/{A5WNDAV3.js → IYRAUVEG.js} +2 -2
  185. package/dist/cdn/{FFTVUIP7.js → J6ZDDC7T.js} +2 -2
  186. package/dist/cdn/{MX6FACCZ.js → JFECVDJN.js} +1 -1
  187. package/dist/cdn/{OTMGXPHO.js → JI7NN7UZ.js} +2 -2
  188. package/dist/cdn/{FCGQOSCY.js → JMYTSZCC.js} +2 -2
  189. package/dist/cdn/{2J6BGZWE.js → JNYHCS6W.js} +2 -2
  190. package/dist/cdn/{ZHXAFBKY.js → JQSLLFKL.js} +2 -2
  191. package/dist/cdn/{VAFHXQDA.js → JR7EO46W.js} +2 -2
  192. package/dist/cdn/{6CR3ELYN.js → JWYEWEFN.js} +2 -2
  193. package/dist/cdn/{F7FFT7ZB.js → JXWLSI7W.js} +2 -2
  194. package/dist/cdn/{52OASXL7.js → K36E76AY.js} +2 -2
  195. package/dist/cdn/{QEQTLIXM.js → K5B6UE4O.js} +2 -2
  196. package/dist/cdn/{VJVK7CEI.js → KB26CFS5.js} +1 -1
  197. package/dist/cdn/{BDGS3VJY.js → KGOYOPYR.js} +2 -2
  198. package/dist/cdn/{OJCMPRDV.js → KGU6GWRV.js} +2 -2
  199. package/dist/cdn/{7JFSYU6C.js → KHEFLBXY.js} +2 -2
  200. package/dist/cdn/{QUA2MZPE.js → KIBCKDDV.js} +2 -2
  201. package/dist/cdn/{YXVNPTAG.js → KJNHCW6Z.js} +2 -2
  202. package/dist/cdn/{4YJSVXJ5.js → KLEDYY4Y.js} +1 -1
  203. package/dist/cdn/{PZJBWNEZ.js → KM72PDVP.js} +2 -2
  204. package/dist/cdn/{7T2EBM7A.js → KTABK32D.js} +2 -2
  205. package/dist/cdn/{SBGU3NDZ.js → KX5ZC2OR.js} +2 -2
  206. package/dist/cdn/{ITS5XU77.js → L3O7A2E6.js} +2 -2
  207. package/dist/cdn/{EFMAKPKZ.js → L4PGMPKA.js} +2 -2
  208. package/dist/cdn/{ENCPN6WR.js → L4UMBNSK.js} +2 -2
  209. package/dist/cdn/{DGDKGAQK.js → L4YSSYQH.js} +2 -2
  210. package/dist/cdn/{I37HZ5SF.js → LF6IEP2D.js} +2 -2
  211. package/dist/cdn/{UBSP4SH4.js → LFR22E5T.js} +2 -2
  212. package/dist/cdn/{N5TXBTFE.js → LG4FCYVC.js} +2 -2
  213. package/dist/cdn/{2ZJRDJJK.js → LG5TLQOT.js} +2 -2
  214. package/dist/cdn/{TL4JJSFM.js → LKGNNJ5C.js} +2 -2
  215. package/dist/cdn/{DTDQRALM.js → LTCTW5SI.js} +1 -1
  216. package/dist/cdn/{VLH6CM7M.js → LV2EHSXJ.js} +2 -2
  217. package/dist/cdn/{UIUUSTJI.js → LVLT7OO5.js} +2 -2
  218. package/dist/cdn/M6O3GAPO.js +18 -0
  219. package/dist/cdn/{DFGZSNVP.js → MBGCB6OG.js} +2 -2
  220. package/dist/cdn/{GEKASHAI.js → MDMOHF6P.js} +2 -2
  221. package/dist/cdn/{3MC7JXDY.js → MDUZXVAQ.js} +2 -2
  222. package/dist/cdn/{YK2QLYVS.js → MGSTYEHN.js} +2 -2
  223. package/dist/cdn/{HBOQ63ZP.js → MGYYPLGC.js} +2 -2
  224. package/dist/cdn/{IYTOH2LC.js → MRQCKP3E.js} +2 -2
  225. package/dist/cdn/{Y5WIF3RY.js → NCBU44KK.js} +2 -2
  226. package/dist/cdn/{6CYD25YN.js → NE2AVEWI.js} +2 -2
  227. package/dist/cdn/{M23LVYVA.js → NG46OHWH.js} +1 -1
  228. package/dist/cdn/{2G3HCFJ7.js → NH4S2EP6.js} +2 -2
  229. package/dist/cdn/{73SD6Y3C.js → NHLAFRCY.js} +2 -2
  230. package/dist/cdn/{GPB44MSI.js → NHT6Z5E2.js} +2 -2
  231. package/dist/cdn/{PPY4LTAA.js → NJF4SHQQ.js} +2 -2
  232. package/dist/cdn/{5SS6W6NK.js → NL26TI4R.js} +2 -2
  233. package/dist/cdn/NLD43RT5.js +4 -0
  234. package/dist/cdn/{6WB4Q4JY.js → NMMNVZIR.js} +2 -2
  235. package/dist/cdn/{Q4UWG3UN.js → NQE4EDAU.js} +2 -2
  236. package/dist/cdn/{6ELJSTOG.js → NZVAVQXY.js} +2 -2
  237. package/dist/cdn/{RTQDMFCR.js → O7Z57GLZ.js} +1 -1
  238. package/dist/cdn/{GWXJIXZK.js → OGDSICU2.js} +2 -2
  239. package/dist/cdn/{4OJUMAO5.js → OLARJ53Z.js} +2 -2
  240. package/dist/cdn/{WIBEUGB3.js → ONHXUPVG.js} +2 -2
  241. package/dist/cdn/{LU3PYJCN.js → ORSXUYDL.js} +2 -2
  242. package/dist/cdn/{CISIY5U6.js → OSSABG5C.js} +2 -2
  243. package/dist/cdn/{LAS2MWM5.js → OTTNFPEO.js} +2 -2
  244. package/dist/cdn/{D64WOL2G.js → OY6K2PSA.js} +2 -2
  245. package/dist/cdn/{PT5AV3WQ.js → OYFNC4U6.js} +1 -1
  246. package/dist/cdn/OYNCPS5E.js +4 -0
  247. package/dist/cdn/{O56WT525.js → OZ6WFV25.js} +2 -2
  248. package/dist/cdn/{NZFFMH5C.js → P55J63ZU.js} +2 -2
  249. package/dist/cdn/{PSGW263P.js → PCEDSTLJ.js} +2 -2
  250. package/dist/cdn/{HGNTIYQT.js → PDBKU4S2.js} +1 -1
  251. package/dist/cdn/{YBTELYNL.js → PL6BITGI.js} +2 -2
  252. package/dist/cdn/{B5FFRI4V.js → PNOXI4LK.js} +2 -2
  253. package/dist/cdn/{UQVZXYNW.js → PQLAT5KP.js} +2 -2
  254. package/dist/cdn/{IZ3E7B3U.js → PSX4TZJP.js} +1 -1
  255. package/dist/cdn/{BEXEPRS5.js → PWBUTW4G.js} +2 -2
  256. package/dist/cdn/{5RWKIDK3.js → Q4JIF4ME.js} +2 -2
  257. package/dist/cdn/{5PI2LBL6.js → QE2S7FMO.js} +1 -1
  258. package/dist/cdn/{PFYUGFSL.js → QFMJ7ICF.js} +2 -2
  259. package/dist/cdn/{VLOZ5FU3.js → QI3DTK6Y.js} +2 -2
  260. package/dist/cdn/{3PD2HBG5.js → QRN72H3R.js} +2 -2
  261. package/dist/cdn/{L6IAJ72L.js → QYGNVH4W.js} +1 -1
  262. package/dist/cdn/{NPMQPRZI.js → R2LM4OS3.js} +2 -2
  263. package/dist/cdn/{HLQQ6TR4.js → RDZOTUWI.js} +2 -2
  264. package/dist/cdn/{NFBVFXNO.js → RFLDN7DB.js} +2 -2
  265. package/dist/cdn/{G27RLQ73.js → RFQTBJV3.js} +2 -2
  266. package/dist/cdn/{WLLF2K4A.js → RGWP6ZGP.js} +2 -2
  267. package/dist/cdn/{ELHIFSH4.js → RHRIOV47.js} +2 -2
  268. package/dist/cdn/{XLR4XEQX.js → RIUFIUZK.js} +2 -2
  269. package/dist/cdn/{HO32BNLM.js → RKMHFE6O.js} +2 -2
  270. package/dist/cdn/{K6GQIHMH.js → RKPQ6P4K.js} +2 -2
  271. package/dist/cdn/{L42OF72U.js → RYBVU2SH.js} +2 -2
  272. package/dist/cdn/S6UDZKPG.js +4 -0
  273. package/dist/cdn/{JY3NCY33.js → S7PRSYYO.js} +2 -2
  274. package/dist/cdn/{KABQHXRV.js → SFGQEQN6.js} +2 -2
  275. package/dist/cdn/{T7MHCIUS.js → SL7A3O2M.js} +2 -2
  276. package/dist/cdn/{LVUNXO2O.js → SO2FFKO7.js} +2 -2
  277. package/dist/cdn/{2PFP4SVP.js → SO5JOFTM.js} +2 -2
  278. package/dist/cdn/{OTASRO63.js → SOHGAMG2.js} +2 -2
  279. package/dist/cdn/{CLAJ2XOW.js → SPLHZ3N7.js} +2 -2
  280. package/dist/cdn/{K4CXKC7Z.js → SSUW7XWL.js} +2 -2
  281. package/dist/cdn/{GNTR7EXR.js → T2ZH3NKY.js} +2 -2
  282. package/dist/cdn/{3WWK4QH7.js → T53MA6GA.js} +2 -2
  283. package/dist/cdn/T5UO2UPO.js +18 -0
  284. package/dist/cdn/{63LGZYFE.js → TBQSNIZB.js} +2 -2
  285. package/dist/cdn/TC4NP6KF.js +4 -0
  286. package/dist/cdn/{RYIFMIE7.js → TFCCDEFO.js} +2 -2
  287. package/dist/cdn/{RAGAUFN5.js → TGVB6RQB.js} +2 -2
  288. package/dist/cdn/{GNRM32HC.js → TLOJATEQ.js} +2 -2
  289. package/dist/cdn/{SYXNXG42.js → TO563LCJ.js} +2 -2
  290. package/dist/cdn/{VBYNMOYE.js → TOSZWSLH.js} +2 -2
  291. package/dist/cdn/{O4VMCJVT.js → TPQBOF3P.js} +2 -2
  292. package/dist/cdn/{LNLTESOF.js → TYB33GBX.js} +2 -2
  293. package/dist/cdn/{D6XWLOBU.js → U4VWSAWK.js} +2 -2
  294. package/dist/cdn/{XVBUVOHC.js → U5BYVOCV.js} +2 -2
  295. package/dist/cdn/{J2M33U55.js → UFHCRIJM.js} +2 -2
  296. package/dist/cdn/{66RUIDW2.js → UKTDQUNY.js} +2 -2
  297. package/dist/cdn/{O2H7SA7K.js → UNICLOME.js} +2 -2
  298. package/dist/cdn/{FXCOD63W.js → USE6OJ76.js} +1 -1
  299. package/dist/cdn/{YWR5SHTJ.js → UVAXWM4L.js} +1 -1
  300. package/dist/cdn/{DNW5Y7XF.js → UVOSWHK6.js} +2 -2
  301. package/dist/cdn/{6NWHOOTK.js → UYVKGCIC.js} +1 -1
  302. package/dist/cdn/{UYYJV75W.js → V46NQFJY.js} +2 -2
  303. package/dist/cdn/VHUAYRQ7.js +4 -0
  304. package/dist/cdn/{DMQN2SPN.js → VIGDHAXV.js} +2 -2
  305. package/dist/cdn/{G5D25KB4.js → VOYVH7QX.js} +2 -2
  306. package/dist/cdn/{CHUHLOJP.js → VSI5R4LM.js} +2 -2
  307. package/dist/cdn/{XIWV3EMG.js → VT24NQ3G.js} +2 -2
  308. package/dist/cdn/{N4BEAJUM.js → VUBDTATP.js} +2 -2
  309. package/dist/cdn/{BSIAQJUA.js → W4GLLZOA.js} +2 -2
  310. package/dist/cdn/{LHZ6WPMD.js → WHOLLTII.js} +2 -2
  311. package/dist/cdn/{B5TRNVXS.js → WNXJPQ3P.js} +2 -2
  312. package/dist/cdn/{UWRBXQ2H.js → WPJ4D5AX.js} +2 -2
  313. package/dist/cdn/{T2LTMFFQ.js → X3KX5MLG.js} +2 -2
  314. package/dist/cdn/{XOCIK5BM.js → X4YLMHXT.js} +2 -2
  315. package/dist/cdn/{KLZMOMHU.js → X7ZDHHU4.js} +2 -2
  316. package/dist/cdn/{6BN55UJC.js → XDMBJPAY.js} +2 -2
  317. package/dist/cdn/{Q5GAJOPN.js → XEANXWMN.js} +2 -2
  318. package/dist/cdn/{QSAM3WTZ.js → XF3NVRQZ.js} +2 -2
  319. package/dist/cdn/{UOQT6ENI.js → XIO74BNK.js} +2 -2
  320. package/dist/cdn/{IWW5ZJYG.js → XMKDRPPW.js} +1 -1
  321. package/dist/cdn/{B5PO5VTY.js → XOQOHYCH.js} +2 -2
  322. package/dist/cdn/{JZXCUVBD.js → XOYKKKBX.js} +2 -2
  323. package/dist/cdn/{FPVWCIO7.js → XRBYIFHY.js} +2 -2
  324. package/dist/cdn/{HMYGFTDB.js → XUGHHYWO.js} +2 -2
  325. package/dist/cdn/{3MPDK4WK.js → XW4B55X6.js} +2 -2
  326. package/dist/cdn/{KZKIRXHE.js → XZL7GBO2.js} +1 -1
  327. package/dist/cdn/{TSJRADBL.js → Y7UHPKGK.js} +2 -2
  328. package/dist/cdn/{I5A7IN5I.js → YBH5KSXC.js} +2 -2
  329. package/dist/cdn/{FDAMAPG2.js → YCOUYTAZ.js} +2 -2
  330. package/dist/cdn/{WCNIUU7L.js → YETRMAS4.js} +2 -2
  331. package/dist/cdn/{KCYMVFRG.js → YGBNP67C.js} +1 -1
  332. package/dist/cdn/{NZVQGLFO.js → YGCKDVK6.js} +2 -2
  333. package/dist/cdn/{GFUALEHA.js → YHYQGDEU.js} +2 -2
  334. package/dist/cdn/{ZMRMSTWH.js → YJPQ6I7G.js} +2 -2
  335. package/dist/cdn/{AFTTIRBK.js → YNPQP3KG.js} +2 -2
  336. package/dist/cdn/{L3KHD2KE.js → YXBR66FZ.js} +2 -2
  337. package/dist/cdn/{KPBMYOZ7.js → Z263ME6T.js} +2 -2
  338. package/dist/cdn/{ZFY3PCIZ.js → ZA4AREPP.js} +2 -2
  339. package/dist/cdn/{NABAVD67.js → ZRPNT6EM.js} +2 -2
  340. package/dist/cdn/{EIX5TZGC.js → ZUP2X5AU.js} +2 -2
  341. package/dist/cdn/{SMB3FN37.js → ZXNTEBYO.js} +2 -2
  342. package/dist/cdn/{M6AVBUON.js → ZY4JIOV6.js} +2 -2
  343. package/dist/cdn/{Z7I2RSQY.js → ZZG6UPJB.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 +7 -7
  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 +1 -1
  389. package/dist/components/map-card/customElement.d.ts +1 -1
  390. package/dist/components/map-card/customElement.js +2 -2
  391. package/dist/components/map-draw-tools/customElement.js +1 -1
  392. package/dist/components/map-fullscreen/customElement.js +1 -1
  393. package/dist/components/map-layer-picker/customElement.js +1 -1
  394. package/dist/components/map-legend/customElement.js +1 -1
  395. package/dist/components/map-picker/customElement.js +1 -1
  396. package/dist/components/map-search/customElement.js +1 -1
  397. package/dist/components/map-select-tools/customElement.js +1 -1
  398. package/dist/components/map-tools/customElement.d.ts +1 -1
  399. package/dist/components/map-tools/customElement.js +2 -2
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-article-card/customElement.js +1 -1
  406. package/dist/components/solution-configuration/customElement.js +1 -1
  407. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  408. package/dist/components/solution-configure-titles/customElement.js +1 -1
  409. package/dist/components/solution-contents/customElement.js +1 -1
  410. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  411. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  412. package/dist/components/solution-deployed-card/customElement.js +1 -1
  413. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  414. package/dist/components/solution-details-card/customElement.js +1 -1
  415. package/dist/components/solution-details-panel/customElement.js +1 -1
  416. package/dist/components/solution-item/customElement.js +1 -1
  417. package/dist/components/solution-item-accordion/customElement.js +1 -1
  418. package/dist/components/solution-item-details/customElement.js +1 -1
  419. package/dist/components/solution-item-diagram/customElement.js +101 -97
  420. package/dist/components/solution-item-icon/customElement.js +1 -1
  421. package/dist/components/solution-item-sharing/customElement.js +1 -1
  422. package/dist/components/solution-organization-variables/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.js +1 -1
  430. package/dist/components/solutions-all-shell/customElement.js +1 -1
  431. package/dist/components/solutions-article-panel/customElement.js +1 -1
  432. package/dist/components/solutions-articles/customElement.js +1 -1
  433. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  435. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  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 +5 -5
  444. package/dist/docs/docs.json +3 -3
  445. package/dist/docs/web-types.json +3 -3
  446. package/dist/index.js +1 -1
  447. package/dist/loader.js +1 -1
  448. package/package.json +6 -6
  449. package/dist/cdn/3WH4NYCV.js +0 -18
  450. package/dist/cdn/7BXNJPWD.js +0 -4
  451. package/dist/cdn/BE572B5U.js +0 -4
  452. package/dist/cdn/DCWBNROW.js +0 -4
  453. package/dist/cdn/GJFL7VU5.js +0 -4
  454. package/dist/cdn/KM3EU4G7.js +0 -4
  455. package/dist/cdn/R5WVUHHQ.js +0 -18
  456. package/dist/cdn/SA6PEP6X.js +0 -4
  457. package/dist/cdn/SFWX3UGH.js +0 -4
  458. package/dist/cdn/XWQ6H7GZ.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.0 */
4
- import{a as u}from"./UQVZXYNW.js";import a from"./STXL6NIE.js";import{a as C}from"./2LIVMQO2.js";import{a as x}from"./GWXJIXZK.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./U3VSDXKL.js";import{b as S}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./KCYMVFRG.js";import"./SMTMWRRV.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},a)
3
+ v1.1.1 */
4
+ import{a as u}from"./PQLAT5KP.js";import a from"./2J4G54AQ.js";import{a as C}from"./7Q36435D.js";import{a as x}from"./OGDSICU2.js";import{c as _,h as b,i as M,k as f,l as c,x as $,z as V}from"./3KQWJHJU.js";import{b as S}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{C as E,D as v,E as T,G as d,h as y,i as s,r as I}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([L])=>{var{state:t,onChange:P}=L({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),h="time-slider-watch",w=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await V();this.reactiveUtils=e,this.handles=await _()}catch{}}async init(e){if(!e)return;e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:a}=t;if(i)try{if(await i.when(),a.length===1&&a[0]?.type==="map")this.initTimeSlider(e,a[0]);else{let n=await this.getTimeLayerViews(i,a);t.timeInfoItems=this.generateTimeInfoItems(n,a),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let a=e.map?.allLayers,n=l=>a?.find(({id:p})=>l===p),r=i.map(({id:l})=>n(l)).map(async l=>await e.whenLayerView(l));return await Promise.all(r)}generateTimeInfoItems(e,i){return[...i].map(a=>{let n=e.find(({layer:r})=>r.id===a.id);return this.generateTimeInfoItem(n,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:a,rangeEnd:n,timeIntervalValue:r}){let l=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:r??1,rangeStart:new Date(a),rangeEnd:new Date(n),timeExtent:l,previousTimeExtent:null}}async initTimeSlider(e,i){let a=async n=>(t.timeSlider=await $(n),t.autoPlay&&t.timeSlider.play(),await Promise.resolve());if(i){let n=await this.getTimeSliderConfig(e,i);await a(n)}else{let n=t?.timeInfoItems?.[0];if(!n)return;t.selectedTimeInfoItem=n;let r=await this.getTimeSliderConfig(e);await a(r)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){P("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let a=i.layerView;this.applyTimeExtent(a,a?.featureEffect?.filter?.timeExtent||a.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let a={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let n=t.view?.map?.widgets?.timeSlider,r={...a,fullTimeExtent:n?.fullTimeExtent,timeExtent:n?.currentTimeExtent};return n?.stopInterval?.unit&&n?.stopInterval?.value&&(r.stops={interval:await c({unit:n?.stopInterval?.unit,value:n?.stopInterval?.value})}),r}else{let[{timeExtent:n,rangeStart:r,rangeEnd:l,unit:p,timeIntervalValue:F}]=t.timeInfoItems;return{...a,fullTimeExtent:n,timeExtent:await f({start:r,end:l}),stops:{interval:await c({unit:p,value:F})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await f({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,a){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,a):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,a){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||a){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await b({filter:{timeExtent:i},includedEffect:await u(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await u(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await M({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(h)&&this.handles?.remove(h),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),h)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:a}){let n=a??await f({start:e,end:i});return await Promise.resolve(n)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await c({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},o=new w,k=y`@layer{.instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand: var(--calcite-ui-text-1);--calcite-ui-brand: var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}}`,m={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},g=class extends T{constructor(){super(...arguments),this._messages=x({name:"instant-apps-time-filter"}),this.timeSliderRef=E(),this.timeInfoConfigItems=[],this.autoPlay=!1}static{this.properties={timeInfoConfigItems:0,filterMode:0,view:0,timeSliderConfig:0,autoPlay:5}}static{this.styles=k}static{this.shadowRootOptions=I}async load(){t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode)}willUpdate(e){e.has("timeInfoConfigItems")&&(this.hasUpdated||this.timeInfoConfigItems?.length>0)&&(t.timeInfoConfigItems=this.timeInfoConfigItems,o.init(this.timeSliderRef.value)),e.has("filterMode")&&(t.filterMode=this.filterMode),e.has("timeSliderConfig")&&(t.timeSliderConfig=this.timeSliderConfig,o.init(this.timeSliderRef.value)),e.has("autoPlay")&&(this.hasUpdated||this.autoPlay)&&(t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop()))}async loaded(){try{await o.init(this.timeSliderRef.value)}catch{}finally{t.loading=!1}}render(){return s`<div class=${`${m.base}${this.view.type!=="2d"?m.threeD:""}`}>${this._renderLoader()}${this.view.type==="2d"&&this._renderTopEl()||""}${C("time-slider",s`<div ${v(this.timeSliderRef)}></div>`)}</div>`}_renderLoader(){return t.loading?s`<div><div class=${d(m.background)}></div><div class=${d(m.loadingContainer)}><calcite-loader scale=m .label=${this._messages.loading??""} .text=${this._messages.loading}></calcite-loader></div></div>`:null}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let e=t.selectedTimeInfoItem?.layerView?.layer?.title;return s`<span class=${d(m.layerTitle)}>${e}</span>`}_renderDropdown(){return t.selectedTimeInfoItem?s`<calcite-dropdown>${this._renderDropdownButton()}${this._renderDropdownItems()}</calcite-dropdown>`:null}_renderDropdownButton(){return s`<calcite-button slot=trigger appearance=transparent icon-end=chevron-down width=full alignment=space-between>${o.getLabel(t.selectedTimeInfoItem)}</calcite-button>`}_renderDropdownItems(){return t.timeInfoItems.map(e=>this._renderDropdownItem(e))}_renderDropdownItem(e){let i=t.selectedTimeInfoItem?.layerView?.layer?.id,a=e?.layerView?.layer?.id;return s`<calcite-dropdown-item @calciteDropdownItemSelect=${()=>o.updateSelectedTimeInfoItem(e)} .selected=${i===a}>${o.getLabel(e)}</calcite-dropdown-item>`}};S("instant-apps-time-filter",g);return g},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.0 */
4
- import{a as t}from"./EAKI67WF.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.1.1 */
4
+ import{a as t}from"./6YCAEYPE.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s 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.0 */
4
- import{a as y}from"./VLH6CM7M.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import{a as s,b as p}from"./6CYD25YN.js";import"./JN54IUSM.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import{a as n}from"./NZVQGLFO.js";import{a}from"./3PD2HBG5.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import{a as l}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import{a as t,b as r}from"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as y}from"./LV2EHSXJ.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import{a as s,b as p}from"./NE2AVEWI.js";import"./IAAUVKHV.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import{a as n}from"./YGCKDVK6.js";import{a}from"./QRN72H3R.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import{a as l}from"./ZUP2X5AU.js";import"./U4VWSAWK.js";import"./UNICLOME.js";import"./KB26CFS5.js";import"./KTABK32D.js";import{a as t,b as r}from"./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 R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R as buildUiSchema};
@@ -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.0 */
4
- import{a as r}from"./GDSDHDUW.js";import{g as n}from"./RYIFMIE7.js";import"./KZZHJTPP.js";import"./KZKIRXHE.js";import"./B5TRNVXS.js";import"./QJ4VMFHY.js";import"./E7R7Q7EG.js";import"./AIH4IM4R.js";import"./DTDQRALM.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import"./RTQDMFCR.js";import{b as i}from"./IZ3E7B3U.js";import{a as b}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as _}from"./PZWKB64K.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var f=h`/** @license
3
+ v1.1.1 */
4
+ import{a as r}from"./HODMV4M5.js";import{g as n}from"./TFCCDEFO.js";import"./H4APLINN.js";import"./XZL7GBO2.js";import"./WNXJPQ3P.js";import"./4LWHDNDR.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import{b as i}from"./PSX4TZJP.js";import{a as b}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as _}from"./F3LYA4NW.js";import{E as u,G as p,H as m,h,i as a,l as o}from"./YGBNP67C.js";import"./4UFKHCT4.js";var f=h`/** @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.0 */
4
- import{a as e}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import{a as t}from"./TQIQUUNR.js";import"./SMTMWRRV.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as e}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{a as t}from"./CWXIDRS2.js";import"./4UFKHCT4.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f 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.0 */
4
- import"./SMTMWRRV.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j as whiteSpacePattern};
3
+ v1.1.1 */
4
+ import"./4UFKHCT4.js";var e="No tiene suficientes cr\xE9ditos para realizar esta operaci\xF3n. P\xF3ngase en contacto con su administrador de sistemas de ArcGIS para obtener ayuda.",a="Esta herramienta se ha publicado a trav\xE9s de un notebook. El acceso a ArcGIS Notebooks est\xE1 bloqueado para su organizaci\xF3n. P\xF3ngase en contacto con su administrador para ajustar la configuraci\xF3n.",r="${ dataPath } no debe tener ${ additionalProperty }",o="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",s="Intente guardar el mapa de nuevo.",t="Error en estimaci\xF3n del cr\xE9dito Despl\xE1cese hacia abajo, corrija los errores y vuelva a realizar la estimaci\xF3n del cr\xE9dito.",i="Se ha producido un error al ejecutar el an\xE1lisis.",n="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",l="No se pudo guardar el historial de an\xE1lisis",d="El almacenamiento del historial est\xE1 lleno. Retire algunos elementos del historial de an\xE1lisis e int\xE9ntelo de nuevo.",c="El nombre del servicio contiene uno o varios caracteres no v\xE1lidos:",u="No se ha completado el guardado de la capa temporal como capa de entidades alojada.",m="Error al obtener las propiedades clave.",p="Error al cargar la capa.",h="La capa no est\xE1 disponible",E="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",b="Se ha producido un error al guardar el modelo. Intente guardar de nuevo.",v="${ dataPath } no debe tener menos de ${ limit } elementos.",y="${ dataPath } no debe tener menos de ${ limit } caracteres.",P="No se ha podido cargar el elemento de modelo. Aseg\xFArese de que el modelo existe y se haya concedido permiso de acceso.",g="Error al completar solicitud.",f="No tiene permiso para ejecutar esta herramienta. <calcite-link target='_blank' href='${ docLink }'>M\xE1s informaci\xF3n</calcite-link>",S="Error al iniciar sesi\xF3n en el portal.",$="Error al leer los datos de entrada.",I="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",k="Ya existe una capa de resultados con este nombre. Los nombres de las capas de resultados deben ser \xFAnicos en toda la organizaci\xF3n. Utilice otro nombre.",F="El nombre de salida contiene uno o m\xE1s caracteres que no son v\xE1lidos. <a href='${docLink}' target='_blank'>M\xE1s informaci\xF3n.</a>",N="La publicaci\xF3n de la capa temporal como capa alojada ha fallado debido a uno o m\xE1s campos no v\xE1lidos. Vuelva a ejecutar la herramienta para crear una capa con campos v\xE1lidos.",L="Error al enviar trabajo. Despl\xE1cese hacia abajo, corrija los errores y vuelva a ejecutar el an\xE1lisis.",j="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:s,creditEstimationError:t,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:E,mbFailedToSave:b,minItems:v,minLength:y,modelNotFound:P,networkError:g,noPermissionToAccessTool:f,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:k,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:N,toolValidationError:L,whiteSpacePattern:j};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,s as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,E as maxItems,b as mbFailedToSave,v as minItems,y as minLength,P as modelNotFound,g as networkError,f as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,k as serviceNameExistsError,F as specialCharactersInServiceNameError,N as temporaryLayerFieldsError,L as toolValidationError,j 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.0 */
4
- import{a,b}from"./D6XWLOBU.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./SMTMWRRV.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.1.1 */
4
+ import{a,b}from"./U4VWSAWK.js";import"./DQZV5B4U.js";import"./PDBKU4S2.js";import"./GQCNQXN5.js";import"./4UFKHCT4.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -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.0 */
4
- import"./SMTMWRRV.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
3
+ v1.1.1 */
4
+ import"./4UFKHCT4.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{b as t,c as e}from"./RTQDMFCR.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.1.1 */
4
+ import{b as t,c as e}from"./O7Z57GLZ.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as v}from"./YWR5SHTJ.js";import{b as f}from"./PSGW263P.js";import{a as w,b as I,d as y}from"./5VLZX43L.js";import"./IZ3E7B3U.js";import"./PT5AV3WQ.js";import{a as L}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as u}from"./PZWKB64K.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var $=b`@layer{/** @license
3
+ v1.1.1 */
4
+ import{a as v}from"./UVAXWM4L.js";import{b as f}from"./PCEDSTLJ.js";import{a as w,b as I,d as y}from"./3Z52A6AW.js";import"./PSX4TZJP.js";import"./OYFNC4U6.js";import{a as L}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as u}from"./F3LYA4NW.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./YGBNP67C.js";import"./4UFKHCT4.js";var $=b`@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.0 */
3
+ v1.1.1 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0 */
4
- import{a as i}from"./3O2T33CU.js";import{d as l}from"./NZFFMH5C.js";import"./WLLF2K4A.js";import{a as r}from"./POPBLQGD.js";import{a as s}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";var d=async(e,a,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as i}from"./5K76V7K5.js";import{d as l}from"./P55J63ZU.js";import"./RGWP6ZGP.js";import{a as r}from"./DK35UKU7.js";import{a as s}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 d=async(e,a,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
@@ -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.0 */
4
- import{a as o}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as n}from"./PZWKB64K.js";import{E as r,I as e,h as a,i as t,o as s}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var c=a`/** @license
3
+ v1.1.1 */
4
+ import{a as o}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as n}from"./F3LYA4NW.js";import{E as r,I as e,h as a,i as t,o as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var c=a`/** @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.0 */
4
- import{a as e}from"./L2LNLN2J.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.1.1 */
4
+ import{a as e}from"./DQZV5B4U.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r 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.0 */
4
- import{a as s}from"./PFYUGFSL.js";import{a as l,b as p}from"./737LKBTG.js";import{d as m}from"./M23LVYVA.js";import"./WLLF2K4A.js";import{a}from"./POPBLQGD.js";import"./SMTMWRRV.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.1.1 */
4
+ import{a as s}from"./QFMJ7ICF.js";import{a as l,b as p}from"./HFVS4CAO.js";import{d as m}from"./NG46OHWH.js";import"./RGWP6ZGP.js";import{a}from"./DK35UKU7.js";import"./4UFKHCT4.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
@@ -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.0 */
4
- import b from"./XIWV3EMG.js";import a from"./LHZ6WPMD.js";import{c as p}from"./4YJSVXJ5.js";import{b as d}from"./PSGW263P.js";import"./RYIFMIE7.js";import"./KZZHJTPP.js";import"./KZKIRXHE.js";import"./B5TRNVXS.js";import"./QJ4VMFHY.js";import"./E7R7Q7EG.js";import"./AIH4IM4R.js";import"./DTDQRALM.js";import"./P4QP3FN6.js";import"./L6IAJ72L.js";import"./G34G6TIZ.js";import"./IWW5ZJYG.js";import"./GFUALEHA.js";import"./NZFFMH5C.js";import"./IYTOH2LC.js";import"./M23LVYVA.js";import"./EAKI67WF.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import"./RTQDMFCR.js";import"./IZ3E7B3U.js";import{a as h}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as l}from"./PZWKB64K.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./KCYMVFRG.js";import"./SMTMWRRV.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
3
+ v1.1.1 */
4
+ import b from"./VT24NQ3G.js";import a from"./WHOLLTII.js";import{c as p}from"./KLEDYY4Y.js";import{b as d}from"./PCEDSTLJ.js";import"./TFCCDEFO.js";import"./H4APLINN.js";import"./XZL7GBO2.js";import"./WNXJPQ3P.js";import"./4LWHDNDR.js";import"./FUYZJXZ3.js";import"./EO3MW2NL.js";import"./LTCTW5SI.js";import"./3I4KGLJ2.js";import"./QYGNVH4W.js";import"./4L7ZMWIA.js";import"./XMKDRPPW.js";import"./YHYQGDEU.js";import"./P55J63ZU.js";import"./MRQCKP3E.js";import"./NG46OHWH.js";import"./6YCAEYPE.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import"./O7Z57GLZ.js";import"./PSX4TZJP.js";import{a as h}from"./NZVAVQXY.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{b as l}from"./F3LYA4NW.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @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.0 */
4
- import{a as o}from"./3O2T33CU.js";import{d as r}from"./NZFFMH5C.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import{a as s}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as o}from"./5K76V7K5.js";import{d as r}from"./P55J63ZU.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import{a as s}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 p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p 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.0 */
4
- import{a as t}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.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.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};
@@ -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.0 */
4
- import{b as o}from"./FXCOD63W.js";import{b as d}from"./PZWKB64K.js";import{C as n,D as a,E as r,h as t,i as s}from"./KCYMVFRG.js";import"./SMTMWRRV.js";var h=t`/**
3
+ v1.1.1 */
4
+ import{b as o}from"./USE6OJ76.js";import{b as d}from"./F3LYA4NW.js";import{C as n,D as a,E as r,h as t,i as s}from"./YGBNP67C.js";import"./4UFKHCT4.js";var h=t`/**
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.0 */
4
- import"./SMTMWRRV.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.1.1 */
4
+ import"./4UFKHCT4.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});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.0 */
3
+ v1.1.1 */
4
4
  function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w 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.0 */
4
- import{a as b}from"./YWR5SHTJ.js";import{b as k}from"./PSGW263P.js";import{g as a}from"./IZ3E7B3U.js";import{b as w}from"./FXCOD63W.js";import{a as _}from"./6ELJSTOG.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{b as y}from"./PZWKB64K.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"./KCYMVFRG.js";import"./SMTMWRRV.js";var u=n`@layer{/** @license
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
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.0 */
4
- import{a as o}from"./3O2T33CU.js";import{d as r}from"./NZFFMH5C.js";import"./WLLF2K4A.js";import"./POPBLQGD.js";import{a as s}from"./EIX5TZGC.js";import"./D6XWLOBU.js";import"./O2H7SA7K.js";import"./VJVK7CEI.js";import"./7T2EBM7A.js";import"./DFS7UUPH.js";import"./NDCEYZWS.js";import"./A5WNDAV3.js";import"./RTQDMFCR.js";import"./G5D25KB4.js";import"./OM24RA5F.js";import"./KQ6BMUH2.js";import"./J6MD6K4M.js";import"./46SKFEV5.js";import"./2J6BGZWE.js";import"./KEFZ5YNV.js";import"./XLR4XEQX.js";import"./3JHRLX63.js";import"./IWBODHPW.js";import"./L2LNLN2J.js";import"./HGNTIYQT.js";import"./M7PDEIFC.js";import"./TQIQUUNR.js";import"./SMTMWRRV.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.1.1 */
4
+ import{a as o}from"./5K76V7K5.js";import{d as r}from"./P55J63ZU.js";import"./RGWP6ZGP.js";import"./DK35UKU7.js";import{a as s}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 p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p 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.0 */
4
- import c from"./BMJZ7SJU.js";import a from"./LHZ6WPMD.js";import{J as I,lb as b,mb as P,q as A}from"./RYIFMIE7.js";import{g as p}from"./M23LVYVA.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
3
+ v1.1.1 */
4
+ import c from"./AMQ6Z4TC.js";import a from"./WHOLLTII.js";import{J as I,lb as b,mb as P,q as A}from"./TFCCDEFO.js";import{g as p}from"./NG46OHWH.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
@@ -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.0 */
4
- import c from"./EUKEOESV.js";import{a as d,b as w,e as C,f as I}from"./JUYYKVTE.js";import a from"./STXL6NIE.js";import{a as S}from"./65W7HSK5.js";import{a as y}from"./2LIVMQO2.js";import{a as x}from"./GWXJIXZK.js";import{C as T}from"./U3VSDXKL.js";import{b}from"./PZJBWNEZ.js";import"./2XTYWT3B.js";import"./A7SGX5YT.js";import{E as f,G as r,h as v,i as n,o as $}from"./KCYMVFRG.js";import"./SMTMWRRV.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){k()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=L(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${u.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=w(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${u.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};b("instant-apps-language-translator",_);return _},a,c)
3
+ v1.1.1 */
4
+ import c from"./2V52VLFJ.js";import{a as d,b as w,e as C,f as I}from"./3G7RVBUA.js";import a from"./2J4G54AQ.js";import{a as S}from"./DAR4Z4PY.js";import{a as y}from"./7Q36435D.js";import{a as x}from"./OGDSICU2.js";import{C as T}from"./3KQWJHJU.js";import{b}from"./KM72PDVP.js";import"./4N5DLQ55.js";import"./AUCQU57I.js";import{E as f,G as r,h as v,i as n,o as $}from"./YGBNP67C.js";import"./4UFKHCT4.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){k()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=L(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${u.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=w(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${u.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};b("instant-apps-language-translator",_);return _},a,c)