@esri/solutions-components 1.2.0-next.11 → 1.2.0-next.13

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 (490) hide show
  1. package/dist/cdn/{FXDSUAZP.js → 22DI4MLQ.js} +2 -2
  2. package/dist/cdn/{3MWPNWRI.js → 264FY26S.js} +2 -2
  3. package/dist/cdn/{Q6Z4TTIZ.js → 2AR77FHR.js} +1 -1
  4. package/dist/cdn/{BBLJ7EHS.js → 2CSZLHQK.js} +2 -2
  5. package/dist/cdn/{T26FKEMR.js → 2HWHSNQH.js} +2 -2
  6. package/dist/cdn/{EMLYJY3U.js → 2K763HQO.js} +2 -2
  7. package/dist/cdn/{AXLTP65Y.js → 2U7YXCJZ.js} +2 -2
  8. package/dist/cdn/{JKOFDMTL.js → 2W3PXN6A.js} +3 -3
  9. package/dist/cdn/{G3P2DAU4.js → 2WL2CX5A.js} +2 -2
  10. package/dist/cdn/{HCEMIND7.js → 2XAZ3RTK.js} +2 -2
  11. package/dist/cdn/{BLSQBXZO.js → 2Z5HA7D5.js} +2 -2
  12. package/dist/cdn/{6IRBUQNK.js → 2ZUELHRU.js} +2 -2
  13. package/dist/cdn/{HAE47HSE.js → 33SJC5CJ.js} +2 -2
  14. package/dist/cdn/{PC62ZISV.js → 34NMKZ4Y.js} +2 -2
  15. package/dist/cdn/{3RJNKHL6.js → 37NQHUK5.js} +2 -2
  16. package/dist/cdn/{PPHWGCSF.js → 3CBSLNB4.js} +2 -2
  17. package/dist/cdn/{OGJ5D3VD.js → 3EOM2MFQ.js} +2 -2
  18. package/dist/cdn/{P7Q74AQB.js → 3GJ7UGOW.js} +2 -2
  19. package/dist/cdn/{KLWSSYYI.js → 3N2YHBI5.js} +2 -2
  20. package/dist/cdn/{MGWUOYFW.js → 3O5VSR67.js} +2 -2
  21. package/dist/cdn/{T6VDX6YQ.js → 3OAMWWCL.js} +2 -2
  22. package/dist/cdn/{5R5FVDIE.js → 3RO3BXDV.js} +2 -2
  23. package/dist/cdn/{I7SOLYBY.js → 3VAHLUQ4.js} +2 -2
  24. package/dist/cdn/{Y7WCDHHA.js → 3WIONUEL.js} +2 -2
  25. package/dist/cdn/{BOMZ2P4U.js → 3ZD35GYW.js} +2 -2
  26. package/dist/cdn/{PRBARSCN.js → 4362MOZ7.js} +2 -2
  27. package/dist/cdn/{XT36IYWQ.js → 44CIVCB6.js} +2 -2
  28. package/dist/cdn/{WS5HHO4T.js → 45W7YE6A.js} +2 -2
  29. package/dist/cdn/{7GRTJOB5.js → 46R75UZS.js} +2 -2
  30. package/dist/cdn/{WANC67UT.js → 4ADOOMTH.js} +2 -2
  31. package/dist/cdn/{3EEQEIIF.js → 4ATL3D6V.js} +1 -1
  32. package/dist/cdn/{7VHUOOT4.js → 4C7Y2IWS.js} +2 -2
  33. package/dist/cdn/{J4VUYE77.js → 4DJFOTO3.js} +2 -2
  34. package/dist/cdn/{2IRUBFD5.js → 4DYJLPDZ.js} +2 -2
  35. package/dist/cdn/4ENQBAQD.js +4 -0
  36. package/dist/cdn/{4WLVJAGS.js → 4JNGRSAC.js} +1 -1
  37. package/dist/cdn/{ZEQVCUSX.js → 4MCZLOOB.js} +2 -2
  38. package/dist/cdn/{XMOALPJW.js → 4RPHWQJR.js} +2 -2
  39. package/dist/cdn/{O77MW5U7.js → 4VSXNGPH.js} +1 -1
  40. package/dist/cdn/{6EP74EFM.js → 4XAMBKX4.js} +3 -3
  41. package/dist/cdn/{OIS6GKYP.js → 52TMIUZW.js} +1 -1
  42. package/dist/cdn/{6FABBDLL.js → 533OGL7O.js} +2 -2
  43. package/dist/cdn/554YPOFT.js +18 -0
  44. package/dist/cdn/{HI3PAOCL.js → 555TJYQH.js} +2 -2
  45. package/dist/cdn/{64577HME.js → 5FXBCVIZ.js} +2 -2
  46. package/dist/cdn/5GDSQ7SZ.js +18 -0
  47. package/dist/cdn/{MCENO5GY.js → 5IFJ723U.js} +2 -2
  48. package/dist/cdn/{E3H7GCN2.js → 5KJ2N6Y6.js} +2 -2
  49. package/dist/cdn/{YUL3ATTD.js → 5MKFPVBN.js} +2 -2
  50. package/dist/cdn/{TUOFKTGP.js → 5OKDP5DK.js} +2 -2
  51. package/dist/cdn/{TBVYZ336.js → 5QB7S4ZH.js} +2 -2
  52. package/dist/cdn/{IRKSYVKF.js → 5RDTSHLH.js} +1 -1
  53. package/dist/cdn/5X4CMXBT.js +4 -0
  54. package/dist/cdn/{DFGNBIP4.js → 5YOZB2R2.js} +1 -1
  55. package/dist/cdn/{C5T3HF6V.js → 62BBD2YR.js} +2 -2
  56. package/dist/cdn/{DGNI2L52.js → 666PNIZR.js} +2 -2
  57. package/dist/cdn/{SU3Z662V.js → 66KC2NXW.js} +2 -2
  58. package/dist/cdn/{HI4KSEBA.js → 6BSZB4T2.js} +2 -2
  59. package/dist/cdn/{JACBCJM5.js → 6HD5QOMC.js} +2 -2
  60. package/dist/cdn/{VROJTJEL.js → 6ICMW2XL.js} +2 -2
  61. package/dist/cdn/{R4J5YMUQ.js → 6XLS7PCQ.js} +1 -1
  62. package/dist/cdn/{MZTOB3NA.js → 74VIRFHE.js} +1 -1
  63. package/dist/cdn/{WLNYC3K3.js → 7DVUJMYC.js} +2 -2
  64. package/dist/cdn/{SSGDG2KN.js → 7HE7J72C.js} +1 -1
  65. package/dist/cdn/{NL75AWDF.js → 7JLC7H3K.js} +3 -3
  66. package/dist/cdn/{XMRU7SNV.js → 7K3Y26XM.js} +2 -2
  67. package/dist/cdn/{UCVV4DR2.js → 7WUQL7OH.js} +2 -2
  68. package/dist/cdn/{3U6ZN4C3.js → 7ZRSM52L.js} +1 -1
  69. package/dist/cdn/{HUHZXDNI.js → ABV7A3TM.js} +2 -2
  70. package/dist/cdn/{7CEYQOUD.js → AF45E6DN.js} +3 -3
  71. package/dist/cdn/{WP2KO7UP.js → AKL67LTE.js} +2 -2
  72. package/dist/cdn/{OILD7SVE.js → AOYCH2P3.js} +2 -2
  73. package/dist/cdn/{PZUT6W6N.js → AQOTRYZM.js} +2 -2
  74. package/dist/cdn/{2DKE4D4V.js → ASXFRSKX.js} +2 -2
  75. package/dist/cdn/{P5M3O7RI.js → AYPV6SOA.js} +2 -2
  76. package/dist/cdn/{CTVVU2ZC.js → AZIEZPYO.js} +1 -1
  77. package/dist/cdn/{CNHSSSP2.js → AZUSEICT.js} +2 -2
  78. package/dist/cdn/{D4N2KM77.js → B2KIFSSU.js} +2 -2
  79. package/dist/cdn/{CIGL34QI.js → B3QOZGKK.js} +2 -2
  80. package/dist/cdn/{5OL7RXCN.js → B4F5VQMS.js} +2 -2
  81. package/dist/cdn/{MXG44IRR.js → B7WUGBLY.js} +2 -2
  82. package/dist/cdn/{LG5B373X.js → BHKNTKZ7.js} +2 -2
  83. package/dist/cdn/{JESQM7JC.js → BOSS7OMS.js} +2 -2
  84. package/dist/cdn/{IYW4WSQU.js → BQ7CXSHY.js} +2 -2
  85. package/dist/cdn/{DBI2CNJR.js → BTVB74DT.js} +2 -2
  86. package/dist/cdn/{E7CSNM6W.js → BXOZYAJQ.js} +2 -2
  87. package/dist/cdn/{CSGROIJ6.js → CDGFD3UK.js} +2 -2
  88. package/dist/cdn/{LYUVSKJ2.js → CFMJKVXR.js} +1 -1
  89. package/dist/cdn/{RACRJEPF.js → CFYDKX3C.js} +2 -2
  90. package/dist/cdn/{XXPDN562.js → CKH5YBMU.js} +2 -2
  91. package/dist/cdn/{WEMLUAAR.js → CKKF4HOA.js} +2 -2
  92. package/dist/cdn/{ERYB7Q7N.js → CNV5CX2O.js} +2 -2
  93. package/dist/cdn/{55AUTAVM.js → CO3K5ZRL.js} +2 -2
  94. package/dist/cdn/{JHYFXPU7.js → CQ6WSEAJ.js} +2 -2
  95. package/dist/cdn/{EFGFST2X.js → CQKWXPD2.js} +1 -1
  96. package/dist/cdn/{KH42YDGB.js → CX3A6KA3.js} +2 -2
  97. package/dist/cdn/{ZF2FQVL7.js → CYX3TOXQ.js} +2 -2
  98. package/dist/cdn/{MXGLTE5G.js → D33N2HTW.js} +2 -2
  99. package/dist/cdn/D3K4ITIF.js +4 -0
  100. package/dist/cdn/{NAKMORRS.js → D5WGUMCY.js} +1 -1
  101. package/dist/cdn/{YYSIA432.js → DCQ7GLZI.js} +2 -2
  102. package/dist/cdn/DHEB777B.js +4 -0
  103. package/dist/cdn/{USZB4X6A.js → DSWPPG73.js} +2 -2
  104. package/dist/cdn/{OJGX3JRQ.js → E5JZ5Z2I.js} +2 -2
  105. package/dist/cdn/{UQOKS6VK.js → E5QWGIJK.js} +2 -2
  106. package/dist/cdn/{IJWGVRH6.js → EC2IHLSY.js} +2 -2
  107. package/dist/cdn/{5AGZP7FN.js → EEE5US3J.js} +2 -2
  108. package/dist/cdn/{SCLUBV6B.js → EF5AJQH3.js} +2 -2
  109. package/dist/cdn/{ASDKBUK3.js → EFUTSJBL.js} +3 -3
  110. package/dist/cdn/{QZNNWP6C.js → EGJPBCZR.js} +2 -2
  111. package/dist/cdn/{5GYSDWFY.js → EGJY2AK7.js} +3 -3
  112. package/dist/cdn/{Z6IC76BJ.js → EGXYKGYI.js} +2 -2
  113. package/dist/cdn/{HFDBPGGT.js → EIWKHVBY.js} +2 -2
  114. package/dist/cdn/{HVGAZZ7E.js → EJAMRCQS.js} +2 -2
  115. package/dist/cdn/{K52RVAKI.js → EJSHS63C.js} +2 -2
  116. package/dist/cdn/{L7DFQ7BZ.js → ERNEEJXE.js} +2 -2
  117. package/dist/cdn/{VLFPDXI6.js → EUE3LP5B.js} +1 -1
  118. package/dist/cdn/{NHLE5PEP.js → EUH67UW5.js} +2 -2
  119. package/dist/cdn/{VUAHOUHY.js → F56KK6GE.js} +2 -2
  120. package/dist/cdn/FQY7OKCX.js +4 -0
  121. package/dist/cdn/{CVOV365U.js → FS57RN34.js} +1 -1
  122. package/dist/cdn/{RXDQURDA.js → FSP7SPX2.js} +1 -1
  123. package/dist/cdn/{V2DI62OA.js → G2DGDDPX.js} +2 -2
  124. package/dist/cdn/{D22BELVK.js → G2HMKJU3.js} +2 -2
  125. package/dist/cdn/{S2I4YUPX.js → G6U42YTA.js} +2 -2
  126. package/dist/cdn/{KSIBFBSI.js → GAEULQXJ.js} +2 -2
  127. package/dist/cdn/{F7D7JDGJ.js → GAJHTV7P.js} +2 -2
  128. package/dist/cdn/{GSGD5X3Z.js → GDKA6GQ6.js} +2 -2
  129. package/dist/cdn/{AM4POOOK.js → GENBEWQD.js} +1 -1
  130. package/dist/cdn/{4QUFJ7JQ.js → GEOJT5HE.js} +2 -2
  131. package/dist/cdn/{YGVITQ45.js → GGC45SFJ.js} +2 -2
  132. package/dist/cdn/{373RYCM5.js → GW27RGOK.js} +2 -2
  133. package/dist/cdn/{NCG6QKWR.js → GXHFJX3X.js} +2 -2
  134. package/dist/cdn/{5UV7A5EY.js → HDGNDHWN.js} +2 -2
  135. package/dist/cdn/{GNBRF3J3.js → HPZC3A57.js} +2 -2
  136. package/dist/cdn/{Z5UFUDCH.js → IBB7QBCT.js} +2 -2
  137. package/dist/cdn/{OAOSXYYJ.js → ICFQB2ET.js} +1 -1
  138. package/dist/cdn/{TEWQBSJG.js → IFOH36K3.js} +2 -2
  139. package/dist/cdn/{OVAX74SY.js → IIH6CLH2.js} +3 -3
  140. package/dist/cdn/{22RHEAP5.js → IJVQHYFH.js} +2 -2
  141. package/dist/cdn/{GWPWR4NJ.js → ILJ2CM7J.js} +2 -2
  142. package/dist/cdn/{WFSFUZOC.js → ISEVSKNV.js} +1 -1
  143. package/dist/cdn/{C5QDDDH6.js → IV3H2HEK.js} +2 -2
  144. package/dist/cdn/{6RWKQVKX.js → J6423EDC.js} +2 -2
  145. package/dist/cdn/{GDPOK4XJ.js → J6NONFBS.js} +1 -1
  146. package/dist/cdn/{VBEIJ53G.js → J7NOQ4JL.js} +2 -2
  147. package/dist/cdn/{Q2X24SKX.js → JBGL4JKZ.js} +1 -1
  148. package/dist/cdn/{45MNR6YS.js → JC73ZWM4.js} +2 -2
  149. package/dist/cdn/{GXNKCLN5.js → JCGX73CW.js} +2 -2
  150. package/dist/cdn/{VUEUGHV4.js → JD6EFQ6S.js} +2 -2
  151. package/dist/cdn/{I6SRLUO3.js → JLNLIHGB.js} +2 -2
  152. package/dist/cdn/{VTQABWDQ.js → JM7YFJWW.js} +3 -3
  153. package/dist/cdn/{DAJYJUIM.js → JN23XJLY.js} +3 -3
  154. package/dist/cdn/JNL2IBVR.js +18 -0
  155. package/dist/cdn/{CLYJO7WA.js → JQMG7XAE.js} +2 -2
  156. package/dist/cdn/{MMNAXKXA.js → JRZKK7MA.js} +2 -2
  157. package/dist/cdn/{XVY2HXWR.js → K2I34C5P.js} +2 -2
  158. package/dist/cdn/{DJI2MXPF.js → K5AAAN6G.js} +2 -2
  159. package/dist/cdn/{WOTQZCRA.js → K5WH7A5V.js} +2 -2
  160. package/dist/cdn/{G7USULA3.js → K7DE43V5.js} +2 -2
  161. package/dist/cdn/{HA26NVXU.js → KBHGTYPO.js} +2 -2
  162. package/dist/cdn/{6ENZX3UD.js → KKUITPWU.js} +2 -2
  163. package/dist/cdn/{E7B35PPE.js → KQY6F6TC.js} +2 -2
  164. package/dist/cdn/{W6E2C5GX.js → L7LPWUMH.js} +2 -2
  165. package/dist/cdn/{XIBUMBLY.js → LI5JOVXC.js} +2 -2
  166. package/dist/cdn/{VUWAGMYI.js → LOHXXUG6.js} +2 -2
  167. package/dist/cdn/{QZNUQGF6.js → LVDQBRPQ.js} +2 -2
  168. package/dist/cdn/{EWMQ7W4X.js → LX5BVFDE.js} +2 -2
  169. package/dist/cdn/{7XXVA3F6.js → LXW2GAAY.js} +2 -2
  170. package/dist/cdn/{ZO2KN6B3.js → M224VK7H.js} +2 -2
  171. package/dist/cdn/{FDCS3IF3.js → M56EPKQ7.js} +2 -2
  172. package/dist/cdn/{34R3QFL4.js → M63VDRSQ.js} +1 -1
  173. package/dist/cdn/{NV5T4KV3.js → MCTAC35U.js} +1 -1
  174. package/dist/cdn/{SGIRWZLC.js → MFAP3QSG.js} +2 -2
  175. package/dist/cdn/{5QARHXLF.js → MGTUFHO4.js} +2 -2
  176. package/dist/cdn/MKKM47E4.js +18 -0
  177. package/dist/cdn/{TCPCNAXG.js → MMAHFIB4.js} +3 -3
  178. package/dist/cdn/{KK2P6Q2E.js → MRGIGMEJ.js} +2 -2
  179. package/dist/cdn/{GWBGSPGK.js → MSH52ZAT.js} +2 -2
  180. package/dist/cdn/{46VGMHZ7.js → MSWWPD5H.js} +2 -2
  181. package/dist/cdn/{EE6F7WDK.js → MX3WCXNM.js} +3 -3
  182. package/dist/cdn/{SB575MRC.js → MXL375F4.js} +2 -2
  183. package/dist/cdn/{HFXZNF2W.js → MZ3GB6EK.js} +2 -2
  184. package/dist/cdn/{4YLSYSXR.js → N2M3Q7OL.js} +2 -2
  185. package/dist/cdn/{GKZPVU4W.js → N3MCXAZD.js} +2 -2
  186. package/dist/cdn/{Z6NDLCDR.js → N53S6LBM.js} +2 -2
  187. package/dist/cdn/{M4PLOIMT.js → NCYTPCR2.js} +2 -2
  188. package/dist/cdn/{YM4JQGWL.js → NFFXMGV3.js} +2 -2
  189. package/dist/cdn/{C3MKLUYS.js → NGPU46XL.js} +2 -2
  190. package/dist/cdn/{JQ7I4ACF.js → NKSKFR6W.js} +2 -2
  191. package/dist/cdn/{DEMY5LXS.js → NL2ZCSNM.js} +1 -1
  192. package/dist/cdn/{5UCFZYBK.js → NLLWLHBU.js} +2 -2
  193. package/dist/cdn/{CMHMGPVG.js → NP2V2NOI.js} +2 -2
  194. package/dist/cdn/{FXPLB5TB.js → NQBEYMGR.js} +2 -2
  195. package/dist/cdn/{IDODJEUW.js → NQMRDDCN.js} +3 -3
  196. package/dist/cdn/{RUAJHVAW.js → NR3CW5TL.js} +2 -2
  197. package/dist/cdn/{EP2WLXYJ.js → NRSYVSYQ.js} +2 -2
  198. package/dist/cdn/{2TQTDPOD.js → NSESHKON.js} +2 -2
  199. package/dist/cdn/{5EM2OKBL.js → NSUKDWLQ.js} +2 -2
  200. package/dist/cdn/{Z5ZPFJEU.js → O2EZB4WB.js} +2 -2
  201. package/dist/cdn/{5PX4CHK4.js → O2GEFWLI.js} +2 -2
  202. package/dist/cdn/{E5DY5AGN.js → O466Y44Q.js} +2 -2
  203. package/dist/cdn/{U4C2O3EI.js → O4KKRMWS.js} +2 -2
  204. package/dist/cdn/{LKKHABSE.js → O7Q6YMZH.js} +2 -2
  205. package/dist/cdn/{SALC3G4E.js → OCYZRDAE.js} +2 -2
  206. package/dist/cdn/{PE3VYUOG.js → OFZUHTRM.js} +2 -2
  207. package/dist/cdn/{VVI52XHF.js → OHBUH6XG.js} +2 -2
  208. package/dist/cdn/{GLRFGNCR.js → OJXGKKGT.js} +2 -2
  209. package/dist/cdn/{NOI3L73W.js → OKH2UKNB.js} +2 -2
  210. package/dist/cdn/{E7C33CLP.js → OM4UKQNZ.js} +2 -2
  211. package/dist/cdn/{YZKEYQY4.js → OO6WR2YI.js} +1 -1
  212. package/dist/cdn/{M4FU5PYC.js → OPU7UG63.js} +2 -2
  213. package/dist/cdn/{JLAIHGX7.js → OREJNY5T.js} +2 -2
  214. package/dist/cdn/{M47UC4IW.js → OX5SNROI.js} +2 -2
  215. package/dist/cdn/{3ZGL22AG.js → P4IG3MVJ.js} +2 -2
  216. package/dist/cdn/{HEQYJZJO.js → P5PCO4JO.js} +2 -2
  217. package/dist/cdn/{BQ7TY6E3.js → PERMCVQL.js} +2 -2
  218. package/dist/cdn/{NC7LKR6P.js → POWA43LB.js} +2 -2
  219. package/dist/cdn/{IZK635RE.js → PPDJ32JJ.js} +2 -2
  220. package/dist/cdn/{IVUZOD5N.js → PW4JQUZM.js} +2 -2
  221. package/dist/cdn/{YEVWDUVV.js → PWZHR4OS.js} +2 -2
  222. package/dist/cdn/{KRBPJ75E.js → PXIMWP5D.js} +2 -2
  223. package/dist/cdn/{LIINIY5L.js → PZDHZUMS.js} +2 -2
  224. package/dist/cdn/{VORLDHAW.js → PZEXCL57.js} +2 -2
  225. package/dist/cdn/{76CZRVCQ.js → PZTUREPY.js} +2 -2
  226. package/dist/cdn/{M7PKG4YD.js → Q46P3XZX.js} +2 -2
  227. package/dist/cdn/{74HXS5S7.js → QBLSQMGQ.js} +2 -2
  228. package/dist/cdn/{4EQXDV64.js → QBT6IQTV.js} +3 -3
  229. package/dist/cdn/QDOG42JX.js +18 -0
  230. package/dist/cdn/QEKRYT2T.js +18 -0
  231. package/dist/cdn/{OCQ5QAZG.js → QETK5HEL.js} +3 -3
  232. package/dist/cdn/{JW5B75V4.js → QL2DC6OE.js} +2 -2
  233. package/dist/cdn/{S5HWSEUY.js → QLVC7ZPZ.js} +2 -2
  234. package/dist/cdn/{VDSHQNAE.js → QTNQ6E24.js} +2 -2
  235. package/dist/cdn/{UK6ZQLXE.js → QVON44ZD.js} +1 -1
  236. package/dist/cdn/{UTTX3CHJ.js → QZUTRMW6.js} +2 -2
  237. package/dist/cdn/{5HWY6B6T.js → R4WW5CCG.js} +2 -2
  238. package/dist/cdn/{MZEWWDOB.js → R7232VZW.js} +1 -1
  239. package/dist/cdn/{S32TK6T7.js → RAJJT4B3.js} +2 -2
  240. package/dist/cdn/{HG2ZNE2E.js → RAV53JFJ.js} +2 -2
  241. package/dist/cdn/{JWUJWTID.js → RB6DOS5Z.js} +2 -2
  242. package/dist/cdn/{EOX42Z7I.js → RDKNMWCS.js} +2 -2
  243. package/dist/cdn/{4FDHA3LB.js → RDOMCTUL.js} +2 -2
  244. package/dist/cdn/{EYI2CXR4.js → RHKI3HOF.js} +2 -2
  245. package/dist/cdn/{7XAH3ZHV.js → RHNY7QXI.js} +1 -1
  246. package/dist/cdn/{PFKUU2I3.js → RKSQHCLI.js} +2 -2
  247. package/dist/cdn/{YQFL5YJJ.js → ROHOQMWQ.js} +2 -2
  248. package/dist/cdn/{R5DUS3EV.js → RP3IBMYT.js} +2 -2
  249. package/dist/cdn/RRQMNUDN.js +18 -0
  250. package/dist/cdn/{VO24JFVS.js → RUP3N6FQ.js} +2 -2
  251. package/dist/cdn/RY5ANV6A.js +4 -0
  252. package/dist/cdn/{EAU627CP.js → S35QUYH6.js} +2 -2
  253. package/dist/cdn/{PAT7ZHEY.js → SB2EYKVI.js} +1 -1
  254. package/dist/cdn/{DYCNJD5I.js → SCJ2RD5L.js} +2 -2
  255. package/dist/cdn/{SY5M4ZGW.js → SF3MI2B2.js} +2 -2
  256. package/dist/cdn/{SQ5TA5SP.js → SICWCCBR.js} +2 -2
  257. package/dist/cdn/SLU6KLLC.js +4 -0
  258. package/dist/cdn/{MR3OHCGN.js → SLXWBGDY.js} +2 -2
  259. package/dist/cdn/{K2VZU3F5.js → SRVRHHIV.js} +3 -3
  260. package/dist/cdn/{52YHNO7J.js → SSXAOZJ5.js} +2 -2
  261. package/dist/cdn/{FFL7U4K2.js → T5PVRJMO.js} +1 -1
  262. package/dist/cdn/{DUKUSWOF.js → T6BC4NP5.js} +2 -2
  263. package/dist/cdn/{BQJVEDLC.js → TB44WXEK.js} +2 -2
  264. package/dist/cdn/{KK2IPNE3.js → TDTBNJ5F.js} +2 -2
  265. package/dist/cdn/{7ZCG3X7R.js → TGA357DA.js} +2 -2
  266. package/dist/cdn/{YNTEOFE2.js → THJAL2CV.js} +2 -2
  267. package/dist/cdn/{KEZ2OO3C.js → TKKIU5DK.js} +2 -2
  268. package/dist/cdn/{7C25W3DC.js → TLY64OYB.js} +2 -2
  269. package/dist/cdn/{VAMGVNRP.js → TOWCBV67.js} +2 -2
  270. package/dist/cdn/{D4ANXHA6.js → TWNSH3OD.js} +1 -1
  271. package/dist/cdn/{PZTS2ZM2.js → TZBJLNXJ.js} +2 -2
  272. package/dist/cdn/{XCGRV674.js → TZHAIY5U.js} +2 -2
  273. package/dist/cdn/{LTJA7F3S.js → TZJ2HEJQ.js} +2 -2
  274. package/dist/cdn/{6RW4WJ5F.js → U3X4JOWT.js} +2 -2
  275. package/dist/cdn/{IKL6SJCX.js → UAD3Z7G6.js} +2 -2
  276. package/dist/cdn/{67SFJRSB.js → UCG52BCL.js} +3 -3
  277. package/dist/cdn/{KMSZR7OY.js → UCQ5Y3GX.js} +2 -2
  278. package/dist/cdn/{YDTVY452.js → UDPQ4ROC.js} +1 -1
  279. package/dist/cdn/{JJNXUJWI.js → UJFJN4KW.js} +2 -2
  280. package/dist/cdn/{WAIH4CCQ.js → UKTZGR5H.js} +2 -2
  281. package/dist/cdn/{F5BC76XY.js → UORERW5B.js} +2 -2
  282. package/dist/cdn/{2GG5MBJX.js → UR5O5JWE.js} +2 -2
  283. package/dist/cdn/{SPWD7KIF.js → UZAHM4E4.js} +1 -1
  284. package/dist/cdn/{V7ZWOVHU.js → V6OSHRQM.js} +2 -2
  285. package/dist/cdn/{7IEW7PU4.js → VBNUDSSG.js} +2 -2
  286. package/dist/cdn/{SA5OTFAN.js → VC5VGOUO.js} +1 -1
  287. package/dist/cdn/VGMWPYEH.js +4 -0
  288. package/dist/cdn/VGXU7I7U.js +4 -0
  289. package/dist/cdn/{C6KZTKHI.js → VID2UZG4.js} +2 -2
  290. package/dist/cdn/{E6XP4262.js → VLPI3GRM.js} +2 -2
  291. package/dist/cdn/{IFXQMQMB.js → VS7KGOXE.js} +2 -2
  292. package/dist/cdn/{76QGCX3G.js → VTXQOB7L.js} +1 -1
  293. package/dist/cdn/{6NVXFBLT.js → VWVYEBDH.js} +2 -2
  294. package/dist/cdn/VYGWWP54.js +18 -0
  295. package/dist/cdn/{HATWOIWZ.js → W3HTFD5Y.js} +2 -2
  296. package/dist/cdn/{VUYIFP6K.js → W4MD3F6R.js} +2 -2
  297. package/dist/cdn/{R63RYS5Y.js → WG4X43JN.js} +2 -2
  298. package/dist/cdn/{U7JUGZHD.js → WGQUTVDW.js} +2 -2
  299. package/dist/cdn/{TDPTH3PB.js → WLP4EB7V.js} +2 -2
  300. package/dist/cdn/{OE5CL2FU.js → WNXG3ZCI.js} +2 -2
  301. package/dist/cdn/{FBOYVIXA.js → WRG3LT22.js} +2 -2
  302. package/dist/cdn/{3TJ6KAGK.js → WSK33HZC.js} +2 -2
  303. package/dist/cdn/{WTL3PEAQ.js → WUAYRTXU.js} +2 -2
  304. package/dist/cdn/{Y4UI3SWQ.js → WUUFD7I3.js} +2 -2
  305. package/dist/cdn/{YSW2UOL3.js → WXRMP3RF.js} +2 -2
  306. package/dist/cdn/{AHDSGP2I.js → WXX3JVS7.js} +2 -2
  307. package/dist/cdn/{W5XUZJGN.js → X2HCZOFT.js} +2 -2
  308. package/dist/cdn/{E3RTIAKB.js → X43BLFIH.js} +2 -2
  309. package/dist/cdn/{EIWV2QFJ.js → X4JROJKB.js} +2 -2
  310. package/dist/cdn/{FMJWXOUR.js → X556NDQM.js} +2 -2
  311. package/dist/cdn/{5JPSKCNA.js → X5C4AZW2.js} +2 -2
  312. package/dist/cdn/{G6AIWVVF.js → XBZDU3YA.js} +2 -2
  313. package/dist/cdn/{5PT6BQPH.js → XEYWQFQ5.js} +2 -2
  314. package/dist/cdn/{RF4UYAKV.js → XK3SNODM.js} +2 -2
  315. package/dist/cdn/{OQHSXQCE.js → XKQKAGOM.js} +3 -3
  316. package/dist/cdn/{LJJOYKWL.js → XLUDDUX2.js} +2 -2
  317. package/dist/cdn/{JDKKXGDK.js → XNQ6DBW6.js} +2 -2
  318. package/dist/cdn/{P24RPSBD.js → XPNCU35H.js} +2 -2
  319. package/dist/cdn/{VZ6ZGZXE.js → XQJGWD7F.js} +2 -2
  320. package/dist/cdn/{EVNPOEDN.js → XSUH5ZWN.js} +2 -2
  321. package/dist/cdn/{BJXTCYTT.js → XT5JYDSP.js} +2 -2
  322. package/dist/cdn/{MPP5RWNY.js → XUAIYIQ2.js} +2 -2
  323. package/dist/cdn/{LMJAIKEE.js → Y55OXV6Y.js} +2 -2
  324. package/dist/cdn/{TAIZT7YH.js → Y6LO3REZ.js} +2 -2
  325. package/dist/cdn/{DILLMNU7.js → YBRSEZ67.js} +2 -2
  326. package/dist/cdn/{DSDPXTB3.js → YCA4LRXE.js} +2 -2
  327. package/dist/cdn/{5XIPGVUW.js → YHGLE6WS.js} +2 -2
  328. package/dist/cdn/{OBU37VQP.js → YJMNTY3L.js} +1 -1
  329. package/dist/cdn/{CYH55GTJ.js → YM6SKW7B.js} +2 -2
  330. package/dist/cdn/YO533QFL.js +18 -0
  331. package/dist/cdn/{MNSLZRN2.js → YPTKKUQT.js} +2 -2
  332. package/dist/cdn/{VRYDFICW.js → YRVDWBVN.js} +3 -3
  333. package/dist/cdn/{IGMLM2CZ.js → YXWR4LGR.js} +2 -2
  334. package/dist/cdn/{HZNHMJ2X.js → YYHJHXNM.js} +2 -2
  335. package/dist/cdn/{2P7AHM5O.js → Z4GZ7VCW.js} +1 -1
  336. package/dist/cdn/{GWVBXM4O.js → Z66C7X2A.js} +2 -2
  337. package/dist/cdn/{FEPUY55K.js → ZFIDAXHF.js} +2 -2
  338. package/dist/cdn/{25ZSBOGH.js → ZG2AHKGG.js} +2 -2
  339. package/dist/cdn/{TF5KNIGI.js → ZKADU2PQ.js} +2 -2
  340. package/dist/cdn/{MOLO2JKZ.js → ZKHKSH45.js} +2 -2
  341. package/dist/cdn/{D4TYNSAH.js → ZLWPGFJV.js} +4 -4
  342. package/dist/cdn/{JQWHQO43.js → ZP3Z6SIG.js} +2 -2
  343. package/dist/cdn/{A5RRFYOD.js → ZWZKBEYE.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -0
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -0
  346. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  350. package/dist/cdn/index.js +2 -2
  351. package/dist/chunks/Auth.js +1 -1
  352. package/dist/chunks/CardsFetcher.js +1 -1
  353. package/dist/chunks/appConfig.js +1 -1
  354. package/dist/chunks/cardFetchingUtils.js +1 -1
  355. package/dist/chunks/cardsHelpers.js +1 -1
  356. package/dist/chunks/common.js +1 -1
  357. package/dist/chunks/deployAppContexts.js +1 -1
  358. package/dist/chunks/downloadUtils.js +1 -1
  359. package/dist/chunks/getItemIcon.js +1 -1
  360. package/dist/chunks/helpers.js +1 -1
  361. package/dist/chunks/interfaces.js +1 -1
  362. package/dist/chunks/loadModules.js +1 -1
  363. package/dist/chunks/mapViewUtils.js +1 -1
  364. package/dist/chunks/pciUtils.js +1 -1
  365. package/dist/chunks/popupUtils.js +1 -1
  366. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  367. package/dist/chunks/privilegeUtils.js +1 -1
  368. package/dist/chunks/publicNotificationContext.js +1 -1
  369. package/dist/chunks/queryUtils.js +1 -1
  370. package/dist/chunks/runtime.js +1 -1
  371. package/dist/chunks/solution-store.js +1 -1
  372. package/dist/chunks/templates.js +1 -1
  373. package/dist/chunks/useT9n.js +1 -1
  374. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +117 -9
  375. package/dist/components/arcgis-solutions-assistant/customElement.js +243 -63
  376. package/dist/components/arcgis-solutions-assistant/index.d.ts +5 -5
  377. package/dist/components/arcgis-solutions-assistant/index.js +5 -5
  378. package/dist/components/arcgis-solutions-assistant/utils/querySolutions.d.ts +6 -0
  379. package/dist/components/basemap-gallery/customElement.js +1 -1
  380. package/dist/components/buffer-tools/customElement.js +1 -1
  381. package/dist/components/card-manager/customElement.js +1 -1
  382. package/dist/components/consent-manager/customElement.js +1 -1
  383. package/dist/components/create-feature/customElement.js +1 -1
  384. package/dist/components/create-related-feature/customElement.js +1 -1
  385. package/dist/components/crowdsource-manager/customElement.js +1 -1
  386. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  387. package/dist/components/deduct-calculator/customElement.js +1 -1
  388. package/dist/components/delete-button/customElement.js +1 -1
  389. package/dist/components/delete-dialog/customElement.js +1 -1
  390. package/dist/components/edit-card/customElement.js +1 -1
  391. package/dist/components/feature-details/customElement.js +1 -1
  392. package/dist/components/feature-list/customElement.js +1 -1
  393. package/dist/components/field-selection/customElement.js +1 -1
  394. package/dist/components/floor-filter/customElement.js +1 -1
  395. package/dist/components/info-card/customElement.js +1 -1
  396. package/dist/components/json-editor/customElement.js +1 -1
  397. package/dist/components/layer-list/customElement.js +1 -1
  398. package/dist/components/layer-table/customElement.js +1 -1
  399. package/dist/components/map-card/customElement.js +1 -1
  400. package/dist/components/map-draw-tools/customElement.js +1 -1
  401. package/dist/components/map-fullscreen/customElement.js +1 -1
  402. package/dist/components/map-layer-picker/customElement.js +1 -1
  403. package/dist/components/map-legend/customElement.js +1 -1
  404. package/dist/components/map-picker/customElement.js +1 -1
  405. package/dist/components/map-search/customElement.js +1 -1
  406. package/dist/components/map-select-tools/customElement.js +1 -1
  407. package/dist/components/map-tools/customElement.js +1 -1
  408. package/dist/components/pci-calculator/customElement.js +1 -1
  409. package/dist/components/pdf-download/customElement.js +1 -1
  410. package/dist/components/public-notification/customElement.js +1 -1
  411. package/dist/components/refine-selection/customElement.js +1 -1
  412. package/dist/components/selection-tool/customElement.js +1 -1
  413. package/dist/components/solution-configuration/customElement.js +1 -1
  414. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  415. package/dist/components/solution-configure-titles/customElement.js +22 -19
  416. package/dist/components/solution-contents/customElement.js +1 -1
  417. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  418. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  419. package/dist/components/solution-deployed-card/customElement.js +1 -1
  420. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  421. package/dist/components/solution-details-card/customElement.js +2 -2
  422. package/dist/components/solution-details-panel/customElement.js +1 -1
  423. package/dist/components/solution-item/customElement.js +1 -1
  424. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  425. package/dist/components/solution-item-accordion/customElement.js +13 -9
  426. package/dist/components/solution-item-details/customElement.js +1 -1
  427. package/dist/components/solution-item-diagram/customElement.js +1 -1
  428. package/dist/components/solution-item-icon/customElement.js +1 -1
  429. package/dist/components/solution-item-sharing/customElement.js +1 -1
  430. package/dist/components/solution-organization-variables/customElement.js +1 -1
  431. package/dist/components/solution-resource-card/customElement.js +1 -1
  432. package/dist/components/solution-resource-item/customElement.js +1 -1
  433. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  434. package/dist/components/solution-social-share/customElement.js +1 -1
  435. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  436. package/dist/components/solution-template-data/customElement.js +1 -1
  437. package/dist/components/solution-variables/customElement.js +1 -1
  438. package/dist/components/solutions-all-panel/customElement.d.ts +2 -0
  439. package/dist/components/solutions-all-panel/customElement.js +48 -40
  440. package/dist/components/solutions-all-panel/index.d.ts +1 -0
  441. package/dist/components/solutions-all-panel/index.js +1 -0
  442. package/dist/components/solutions-all-shell/customElement.js +26 -23
  443. package/dist/components/solutions-deploy-app/customElement.js +13 -13
  444. package/dist/components/solutions-deploy-app-nav/customElement.js +16 -16
  445. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  446. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  447. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  448. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  449. package/dist/components/solutions-filter-panel/customElement.js +38 -29
  450. package/dist/components/solutions-filter-panel/index.d.ts +1 -0
  451. package/dist/components/solutions-filter-panel/index.js +1 -0
  452. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  453. package/dist/components/solutions-resources/customElement.js +32 -35
  454. package/dist/components/solutions-resources/index.d.ts +0 -1
  455. package/dist/components/solutions-resources/index.js +0 -1
  456. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  457. package/dist/components/solutions-searchsort-toolbar/customElement.js +27 -25
  458. package/dist/components/spatial-ref/customElement.js +1 -1
  459. package/dist/components/store-manager/customElement.js +1 -1
  460. package/dist/docs/api.json +339 -19
  461. package/dist/docs/docs.json +316 -11
  462. package/dist/docs/vscode.html-custom-data.json +26 -4
  463. package/dist/docs/web-types.json +77 -11
  464. package/dist/index.d.ts +2 -1
  465. package/dist/index.js +1 -1
  466. package/dist/loader.js +4 -4
  467. package/dist/types/lumina.d.ts +4 -3
  468. package/dist/types/preact.d.ts +4 -3
  469. package/dist/types/preact10.d.ts +4 -3
  470. package/dist/types/react.d.ts +4 -3
  471. package/dist/types/stencil.d.ts +4 -3
  472. package/package.json +1 -1
  473. package/dist/cdn/2OJCRGSY.js +0 -18
  474. package/dist/cdn/3IBI2MBB.js +0 -4
  475. package/dist/cdn/5UMBUT67.js +0 -18
  476. package/dist/cdn/7MN6SLN5.js +0 -18
  477. package/dist/cdn/ECCOYE4W.js +0 -4
  478. package/dist/cdn/FNPOYZRQ.js +0 -18
  479. package/dist/cdn/FTCOKM55.js +0 -4
  480. package/dist/cdn/HU7VYYIV.js +0 -4
  481. package/dist/cdn/JCRBLE7M.js +0 -18
  482. package/dist/cdn/KIQTLCHH.js +0 -4
  483. package/dist/cdn/MGJFGLYO.js +0 -18
  484. package/dist/cdn/NMNQNPG3.js +0 -4
  485. package/dist/cdn/QMT5CBUT.js +0 -18
  486. package/dist/cdn/SHLDE5ZW.js +0 -18
  487. package/dist/cdn/SUZ3SL26.js +0 -4
  488. package/dist/cdn/W2ZGMJY7.js +0 -4
  489. package/dist/cdn/WP2PSNFT.js +0 -4
  490. package/dist/cdn/YTT6ZV5A.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{a as n,e as c,f as d}from"./HATWOIWZ.js";import"./IGMLM2CZ.js";import"./VLFPDXI6.js";import"./3EEQEIIF.js";import"./OBU37VQP.js";import{d as r}from"./76CZRVCQ.js";import"./5UV7A5EY.js";import"./76QGCX3G.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import{a as o,b as i}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import"./LYUVSKJ2.js";import"./AM4POOOK.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
3
+ v1.2.0-next.13 */
4
+ import{a as n,e as c,f as d}from"./W3HTFD5Y.js";import"./YXWR4LGR.js";import"./EUE3LP5B.js";import"./4ATL3D6V.js";import"./YJMNTY3L.js";import{d as r}from"./PZTUREPY.js";import"./HDGNDHWN.js";import"./VTXQOB7L.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import{a as o,b as i}from"./EEE5US3J.js";import"./QZUTRMW6.js";import"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./FSP7SPX2.js";import"./EUH67UW5.js";import"./Z4GZ7VCW.js";import"./ZFIDAXHF.js";import"./44CIVCB6.js";import"./XSUH5ZWN.js";import"./WUAYRTXU.js";import"./MSWWPD5H.js";import"./NRSYVSYQ.js";import"./AQOTRYZM.js";import"./NCYTPCR2.js";import"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{a as t}from"./34R3QFL4.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.2.0-next.13 */
4
+ import{a as t}from"./M63VDRSQ.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{a as n}from"./DGNI2L52.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.2.0-next.13 */
4
+ import{a as n}from"./666PNIZR.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{ja as m,lb as l}from"./V2DI62OA.js";import{v as u}from"./5UV7A5EY.js";import{H as c}from"./GDPOK4XJ.js";export default $arcgis.t(([])=>{function N(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}async function g(t,e){let r=e,n=await r.getUsername(),a={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:r},f=(await l(a)).results.map(s=>s.title),{folders:h}=await m(r),p=h.map(s=>s.title),i=[...f,...p].map(s=>s.trim().toLowerCase()),o=t.toLowerCase(),d=i.filter(s=>s===o),w=i.filter(s=>s.startsWith(o));return{conflictingNames:d,similiarNames:w}}async function b(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await g(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function C(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}function I(t,e,r,n){let a="";return e?a=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):a=r,a}function O(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,r){return e.some(n=>n.wkid===t?(r=n.defaultExtent,!0):!1),r}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let r="";return t.some(n=>n.startsWith(e)?(r=n.substring(e.length),!0):!1),r}function L(t,e){let r=t?.reduce((n,a)=>(n.indexOf(a.id)<0&&n.push(a.id),n),[])||[];return e?r.sort((n,a)=>e.indexOf(n)-e.indexOf(a)):r}return{a:N,b:g,c:b,d:k,e:C,f:x,g:I,h:O,i:A,j:D,k:F,l:L}},"intl")
3
+ v1.2.0-next.13 */
4
+ import{ja as m,lb as l}from"./G2DGDDPX.js";import{v as u}from"./HDGNDHWN.js";import{H as c}from"./J6NONFBS.js";export default $arcgis.t(([])=>{function N(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}async function g(t,e){let r=e,n=await r.getUsername(),a={q:new u().match(t).in("title").and().match(n).in("owner"),filter:"type:Solution",authentication:r},f=(await l(a)).results.map(s=>s.title),{folders:h}=await m(r),p=h.map(s=>s.title),i=[...f,...p].map(s=>s.trim().toLowerCase()),o=t.toLowerCase(),d=i.filter(s=>s===o),w=i.filter(s=>s.startsWith(o));return{conflictingNames:d,similiarNames:w}}async function b(t,e){return y(t)?{status:!1,type:"empty"}:v(t)?{status:!1,type:"exceed length"}:k(t)?{status:!1,type:"special character"}:(await g(t.trim(),e)).conflictingNames.length>0?{status:!1,type:"not unique"}:{status:!0,type:""}}function y(t){return t.length<=0}function v(t){return t.length>c}function k(t){return/[/<>]/u.test(t)}function C(t){if(t){let e=t.trim();return e?"<div>"+e+"</div>":""}else return""}function x(t){let e="",r="?";return t.forEach(n=>{n.k&&n.v&&(e+=r+n.k+"="+n.v,r="&")}),e}function I(t,e,r,n){let a="";return e?a=n+"/sharing/rest/content/items/"+t+"/info/"+e+x([{k:"w",v:"400"}]):a=r,a}function O(t){let e=t?t.replace("https://","").replace("www.",""):"";return e.endsWith("devext.arcgis.com")||e.endsWith("mapsqa.arcgis.com")||e.endsWith("qaext.arcgis.com")?t??"https://www.arcgis.com":"https://www.arcgis.com"}function A(t,e,r){return e.some(n=>n.wkid===t?(r=n.defaultExtent,!0):!1),r}function D(t,e="en"){return new Intl.DateTimeFormat(e,{year:"numeric",month:"long",day:"numeric"}).format(t)}function F(t,e){let r="";return t.some(n=>n.startsWith(e)?(r=n.substring(e.length),!0):!1),r}function L(t,e){let r=t?.reduce((n,a)=>(n.indexOf(a.id)<0&&n.push(a.id),n),[])||[];return e?r.sort((n,a)=>e.indexOf(n)-e.indexOf(a)):r}return{a:N,b:g,c:b,d:k,e:C,f:x,g:I,h:O,i:A,j:D,k:F,l:L}},"intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import"./AM4POOOK.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.2.0-next.13 */
4
+ import"./GENBEWQD.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{a as l}from"./OJGX3JRQ.js";import"./76CZRVCQ.js";import"./5XIPGVUW.js";import"./WFSFUZOC.js";import{a as t}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import"./LYUVSKJ2.js";import"./AM4POOOK.js";var n=async(e,s,r)=>{let o=s;return{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:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.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.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{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.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
3
+ v1.2.0-next.13 */
4
+ import{a as l}from"./E5JZ5Z2I.js";import"./PZTUREPY.js";import"./YHGLE6WS.js";import"./ISEVSKNV.js";import{a as t}from"./EEE5US3J.js";import"./QZUTRMW6.js";import"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./FSP7SPX2.js";import"./EUH67UW5.js";import"./Z4GZ7VCW.js";import"./ZFIDAXHF.js";import"./44CIVCB6.js";import"./XSUH5ZWN.js";import"./WUAYRTXU.js";import"./MSWWPD5H.js";import"./NRSYVSYQ.js";import"./AQOTRYZM.js";import"./NCYTPCR2.js";import"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";var n=async(e,s,r)=>{let o=s;return{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:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.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.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{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.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
3
+ v1.2.0-next.13 */
4
4
  var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
@@ -1,5 +1,5 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
3
+ v1.2.0-next.13 */
4
4
  var P=function(){return P=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},P.apply(this,arguments)},z={exports:{}},g={},W={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function le(e,r,t){}function fe(e,r,t){}var ue=/javascript\s*\:/img;function ce(e,r){return ue.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=le;w.onIgnoreAttr=fe;w.safeAttrValue=ce;var ge={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=ge;function de(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
5
5
  `&&o()}return L.trim(l)}var pe=de,O=w,he=pe;function G(e){return e==null}function ve(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=ve(e||{}),e.whiteList=e.whiteList||O.whiteList,e.onAttr=e.onAttr||O.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||O.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||O.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=he(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return G(v)?u+":"+f:v}else{var v=i(u,f,m);if(!G(v))return v}}});return o};var me=B;(function(e,r){var t=w,a=me;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(W,W.exports);var $=W.exports,N={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},be=$.FilterCSS,ye=$.getDefaultWhiteList,F=N;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new be;function we(e,r,t){}function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Z(e){return e.replace(ke,"&lt;").replace(Le,"&gt;")}function Se(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=F.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(_.lastIndex=0,_.test(t))return""}else if(r==="style"){if(D.lastIndex=0,D.test(t)||(j.lastIndex=0,j.test(t)&&(_.lastIndex=0,_.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var ke=/</g,Le=/>/g,Ee=/"/g,Oe=/&quot;/g,_e=/&#([a-zA-Z0-9]*);?/gim,Ce=/&colon;?/gim,Ie=/&newline;?/gim,_=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(Ee,"&quot;")}function K(e){return e.replace(Oe,'"')}function Y(e){return e.replace(_e,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ce,":").replace(Ie," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return F.trim(r)}function re(e){return e=K(e),e=Y(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Fe(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:F.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return F.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Ve(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function Re(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=we;g.onIgnoreTag=Ae;g.onTagAttr=xe;g.onIgnoreTagAttr=Te;g.safeAttrValue=Se;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=K;g.escapeHtmlEntities=Y;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Fe;g.stripCommentTag=Ve;g.stripBlankChar=Re;g.cssFilter=M;g.getDefaultCSSWhiteList=ye;var V={},y=N;function ze(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=ze(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ne=/[^a-zA-Z0-9\\_:.-]/gim;function Ue(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ne,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=Xe(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=De(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function Xe(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function De(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function je(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return je(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Ue;var He=$.FilterCSS,b=g,ie=V,qe=ie.parseTag,Be=ie.parseAttr,I=N;function C(e){return e==null}function Qe(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Me(e){var r={};for(var t in e)r[t]=e[t];return r}function Ze(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Me(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Ze(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new He(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=qe(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Qe(v),oe=a[m],X=Be(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Je=se;(function(e,r){var t=g,a=V,s=Je;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,(function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]})();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},Ye=(function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=P(P({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e})();export{Ye as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{d as c}from"./76QGCX3G.js";import{a as y}from"./WFSFUZOC.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.2.0-next.13 */
4
+ import{d as c}from"./VTXQOB7L.js";import{a as y}from"./ISEVSKNV.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
3
+ v1.2.0-next.13 */
4
4
  var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{b as c}from"./FFL7U4K2.js";import{a as u}from"./Z6NDLCDR.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{b as o}from"./NOI3L73W.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./DEMY5LXS.js";import"./AM4POOOK.js";var m=n`/** @license
3
+ v1.2.0-next.13 */
4
+ import{b as u}from"./T5PVRJMO.js";import{a as c}from"./N53S6LBM.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{b as o}from"./OKH2UKNB.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./NL2ZCSNM.js";import"./GENBEWQD.js";var m=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{b as c}from"./FFL7U4K2.js";import{a as u}from"./Z6NDLCDR.js";import"./EWM
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,a=class extends l{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=u({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=s(),this.distanceChanged=s(),this.unitChanged=s()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=m}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}async load(){await this._initModules()}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}async _initModules(){let[t,e]=await c(["esri/geometry/operators/geodesicBufferOperator","esri/geometry/operators/bufferOperator"]);this._geodesicBufferOperator=t,this._bufferOperator=e}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?i`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&this._geodesicBufferOperator&&this._bufferOperator){this._geodesicBufferOperator.isLoaded()||await this._geodesicBufferOperator.load();let t=this.geometries[0].spatialReference,e=this.geometries,d=t.isWGS84||t.isWebMercator?this._geodesicBufferOperator.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):this._bufferOperator.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(d)}},400))}_getTextBoxDisplay(){return i`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${h(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return i`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};o("buffer-tools",a);export{a as BufferTools};
18
+ */:host{display:block}.c-container{display:inline-flex}.flex-1{flex:"1"}.padding-end-1{padding-inline-end:1rem}.w-50{width:50%}`,a=class extends l{constructor(){super(...arguments),this.appearance="text",this.distance=0,this.geometries=[],this.max=0,this.min=0,this.sliderTicks=10,this.unionResults=!0,this.unit="meters",this.disabled=!1,this._translations=c({name:"buffer-tools",blocking:!0}),this._unitElement=r(),this.bufferComplete=s(),this.distanceChanged=s(),this.unitChanged=s()}static{this.properties={appearance:1,distance:9,geometries:0,max:9,min:9,sliderTicks:9,unionResults:5,unit:1,disabled:5,_translations:16,_units:16}}static{this.styles=m}willUpdate(t){t.has("geometries")&&(this.hasUpdated||this.geometries?.length>0)&&this.geometriesWatchHandler(),t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.disabledWatchHandler(),t.has("_translations")&&this._defineTranslations(),t.has("unit")&&this.hasUpdated&&this._setUnit(this.unit),t.has("distance")&&this.hasUpdated&&this._setDistance({target:{value:this.distance}})}geometriesWatchHandler(){this._buffer()}disabledWatchHandler(){this._buffer()}async getTranslatedUnit(t){return this._units||await this._defineTranslations(),this._units?this._units[t]:""}async load(){await this._initModules()}render(){return this.appearance==="text"?this._getTextBoxDisplay():this._getSliderDisplay()}async _defineTranslations(){this._units={feet:this._translations.feet||"Feet",meters:this._translations.meters||"Meters",miles:this._translations.miles||"Miles",kilometers:this._translations.kilometers||"Kilometers"}}async _initModules(){let[t,e]=await u(["esri/geometry/operators/geodesicBufferOperator","esri/geometry/operators/bufferOperator"]);this._geodesicBufferOperator=t,this._bufferOperator=e}_getUnits(){return this._units?Object.keys(this._units).map(t=>this._units?i`<calcite-option .label=${this._units[t]} .selected=${this.unit===t} .value=${t}></calcite-option>`:void 0):void 0}_setDistance(t){let e=Number.parseInt(t.target.value,10);this.distance!==e&&e>=this.min&&(this.distanceChanged.emit({oldValue:this.distance,newValue:e}),this.distance=e,this.distance>0?this._buffer():this.bufferComplete.emit(void 0))}_setUnit(t){this.unitChanged.emit({oldValue:this.unit,newValue:t}),this.unit=t,this._buffer()}_buffer(){this.disabled?this.bufferComplete.emit(void 0):(this._bufferTimeout&&clearTimeout(this._bufferTimeout),this._bufferTimeout=setTimeout(async()=>{if(this.geometries?.length>0&&this.unit&&this.distance>0&&this._geodesicBufferOperator&&this._bufferOperator){this._geodesicBufferOperator.isLoaded()||await this._geodesicBufferOperator.load();let t=this.geometries[0].spatialReference,e=this.geometries,d=t.isWGS84||t.isWebMercator?this._geodesicBufferOperator.executeMany(e,[this.distance],{union:this.unionResults,unit:this.unit}):this._bufferOperator.executeMany(e,[this.distance],{unit:this.unit,union:this.unionResults});this.bufferComplete.emit(d)}},400))}_getTextBoxDisplay(){return i`<div class="c-container"><calcite-input class="padding-end-1 w-50" .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} number-button-type=vertical @calciteInputInput=${this._setDistance} placeholder=0 type=number .value=${this.distance?this.distance.toString():void 0}></calcite-input><calcite-select class="flex-1 w-50" label=label @calciteSelectChange=${()=>{this._unitElement?.value&&this._setUnit(this._unitElement?.value.value)}} ${h(this._unitElement)}>${this._getUnits()}</calcite-select></div>`}_getSliderDisplay(){return i`<div><calcite-slider label-handles .max=${this.max&&this.max>0?this.max:void 0} .min=${this.min} .ticks=${this.sliderTicks}></calcite-slider></div>`}_testAccess(t,e){switch(t){case"_setUnit":return this._setUnit(e);case"_setDistance":return this._setDistance(e)}return null}};o("buffer-tools",a);export{a as BufferTools};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{a}from"./EFGFST2X.js";import{a as d}from"./VLFPDXI6.js";import{K as b,L as m}from"./5UV7A5EY.js";import"./76QGCX3G.js";import{a as l}from"./WFSFUZOC.js";import{a as i}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import"./LYUVSKJ2.js";import"./AM4POOOK.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.2.0-next.13 */
4
+ import{a}from"./CQKWXPD2.js";import{a as d}from"./EUE3LP5B.js";import{K as b,L as m}from"./HDGNDHWN.js";import"./VTXQOB7L.js";import{a as l}from"./ISEVSKNV.js";import{a as i}from"./EEE5US3J.js";import"./QZUTRMW6.js";import"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./FSP7SPX2.js";import"./EUH67UW5.js";import"./Z4GZ7VCW.js";import"./ZFIDAXHF.js";import"./44CIVCB6.js";import"./XSUH5ZWN.js";import"./WUAYRTXU.js";import"./MSWWPD5H.js";import"./NRSYVSYQ.js";import"./AQOTRYZM.js";import"./NCYTPCR2.js";import"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import"./CFMJKVXR.js";import"./GENBEWQD.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import{a as e}from"./5AGZP7FN.js";import"./UTTX3CHJ.js";import"./DBI2CNJR.js";import"./SPWD7KIF.js";import"./GSGD5X3Z.js";import"./NV5T4KV3.js";import"./RXDQURDA.js";import"./NHLE5PEP.js";import"./2P7AHM5O.js";import"./FEPUY55K.js";import"./XT36IYWQ.js";import"./EVNPOEDN.js";import"./WTL3PEAQ.js";import"./46VGMHZ7.js";import"./EP2WLXYJ.js";import"./PZUT6W6N.js";import"./M4PLOIMT.js";import"./HI3PAOCL.js";import"./VUYIFP6K.js";import"./P7Q74AQB.js";import"./4WLVJAGS.js";import"./PAT7ZHEY.js";import{a as t}from"./LYUVSKJ2.js";import"./AM4POOOK.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.2.0-next.13 */
4
+ import{a as e}from"./EEE5US3J.js";import"./QZUTRMW6.js";import"./BTVB74DT.js";import"./UZAHM4E4.js";import"./GDKA6GQ6.js";import"./MCTAC35U.js";import"./FSP7SPX2.js";import"./EUH67UW5.js";import"./Z4GZ7VCW.js";import"./ZFIDAXHF.js";import"./44CIVCB6.js";import"./XSUH5ZWN.js";import"./WUAYRTXU.js";import"./MSWWPD5H.js";import"./NRSYVSYQ.js";import"./AQOTRYZM.js";import"./NCYTPCR2.js";import"./555TJYQH.js";import"./W4MD3F6R.js";import"./3GJ7UGOW.js";import"./4JNGRSAC.js";import"./SB2EYKVI.js";import{a as t}from"./CFMJKVXR.js";import"./GENBEWQD.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
3
+ v1.2.0-next.13 */
4
4
  var E;(function(r){r.ASC="ASC",r.DESC="DESC"})(E||(E={}));var A;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(A||(A={}));var n;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(n||(n={}));var e;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(e||(e={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var _;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(_||(_={}));var N;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(N||(N={}));var p;(function(r){r.POST="post"})(p||(p={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var D;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(D||(D={}));var I;(function(r){r.CSV="csv",r.JSON="json"})(I||(I={}));var u;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(u||(u={}));var O;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(O||(O={}));var a;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(a||(a={}));var i;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(i||(i={}));var R;(function(r){r.CHANNEL_ACL="channelAcl"})(R||(R={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var v;(function(r){r.ADMIN="admin",r.MEMBER="member"})(v||(v={}));var f;(function(r){r.CONTENT="content"})(f||(f={}));export{I as a,u as b,R as c,U as d,v as e,f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.10 */
4
- import c from"./KH42YDGB.js";import{a as d,b as w,e as C,f as I}from"./JLAIHGX7.js";import a from"./PZTS2ZM2.js";import{a as S}from"./YUL3ATTD.js";import{a as y}from"./HCEMIND7.js";import{a as x}from"./S32TK6T7.js";import{C as T}from"./D4ANXHA6.js";import{b}from"./VORLDHAW.js";import"./EWMQ7W4X.js";import"./IKL6SJCX.js";import{E as f,G as r,h as v,i as n,o as $}from"./DEMY5LXS.js";import"./AM4POOOK.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.2.0-next.13 */
4
+ import c from"./CX3A6KA3.js";import{a as d,b as w,e as C,f as I}from"./OREJNY5T.js";import a from"./TZBJLNXJ.js";import{a as S}from"./5MKFPVBN.js";import{a as y}from"./2XAZ3RTK.js";import{a as x}from"./RAJJT4B3.js";import{C as T}from"./TWNSH3OD.js";import{b}from"./PZEXCL57.js";import"./LX5BVFDE.js";import"./UAD3Z7G6.js";import{E as f,G as r,h as v,i as n,o as $}from"./NL2ZCSNM.js";import"./GENBEWQD.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)