@esri/solutions-components 1.2.0-next.8 → 1.2.0-next.9

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 (452) hide show
  1. package/dist/cdn/{I7BGTKQQ.js → 244MGG2I.js} +1 -1
  2. package/dist/cdn/{DJDNTU6V.js → 2ER2OFBE.js} +2 -2
  3. package/dist/cdn/{FGP2FQZM.js → 2FXS7ZBS.js} +2 -2
  4. package/dist/cdn/{DTHGPPXC.js → 2LSNFMQU.js} +2 -2
  5. package/dist/cdn/{6B3I5H3V.js → 2NBY6C5S.js} +2 -2
  6. package/dist/cdn/{VXRAXWUC.js → 2VL67UZL.js} +2 -2
  7. package/dist/cdn/{66HNDUZX.js → 34SUS4A6.js} +2 -2
  8. package/dist/cdn/{OSRVKFMN.js → 3536G2OD.js} +2 -2
  9. package/dist/cdn/{TJRGBV6E.js → 35AOYXDW.js} +2 -2
  10. package/dist/cdn/{7EZUBE7B.js → 3G7E3NL3.js} +2 -2
  11. package/dist/cdn/{LE7HR7IW.js → 3NIRGT7B.js} +2 -2
  12. package/dist/cdn/{JHH2YZMO.js → 3QS7IS3Y.js} +2 -2
  13. package/dist/cdn/{LX2HTLJY.js → 3TAEPD4D.js} +2 -2
  14. package/dist/cdn/{TSS3ICXX.js → 3TQAQR23.js} +2 -2
  15. package/dist/cdn/{HBFAHBYK.js → 443FX3NV.js} +2 -2
  16. package/dist/cdn/{RAVAPNJT.js → 47IRY5B7.js} +2 -2
  17. package/dist/cdn/{MLE72YF6.js → 47VJUM4B.js} +2 -2
  18. package/dist/cdn/{Y3FHW4MG.js → 4B4JOCXA.js} +2 -2
  19. package/dist/cdn/{XKO4D6DI.js → 4BKWVAIO.js} +2 -2
  20. package/dist/cdn/4ECPPS3R.js +4 -0
  21. package/dist/cdn/{HB7GFW2F.js → 4ICVRAP6.js} +2 -2
  22. package/dist/cdn/{RYOFNHME.js → 4JEK44U5.js} +2 -2
  23. package/dist/cdn/{5PBSBYXZ.js → 4M7KD7PJ.js} +2 -2
  24. package/dist/cdn/{IC5D5ZEG.js → 4PPPIETW.js} +2 -2
  25. package/dist/cdn/{HDB2LOU3.js → 4SS2APAZ.js} +2 -2
  26. package/dist/cdn/{7J23JVW4.js → 4VTM3ZUV.js} +2 -2
  27. package/dist/cdn/{Z7UP2YPN.js → 4Y25NVT5.js} +2 -2
  28. package/dist/cdn/{GRBWDUAE.js → 5MW6PKRW.js} +2 -2
  29. package/dist/cdn/{G56EFDF5.js → 5N7UJ2R7.js} +2 -2
  30. package/dist/cdn/{5LBJMJRE.js → 5TD46ZJD.js} +2 -2
  31. package/dist/cdn/{HUBKDQDZ.js → 5UYIY6XX.js} +2 -2
  32. package/dist/cdn/{265MN7VO.js → 5VTRD5RX.js} +2 -2
  33. package/dist/cdn/{KCPULRL4.js → 5Z7DR4CR.js} +2 -2
  34. package/dist/cdn/{XOHYWI6Z.js → 62MQMRQB.js} +2 -2
  35. package/dist/cdn/{N5UQMJ5B.js → 644OK7G7.js} +2 -2
  36. package/dist/cdn/64MBMIXA.js +4 -0
  37. package/dist/cdn/{SFWMPPCI.js → 66UISFCW.js} +2 -2
  38. package/dist/cdn/{MFO6ZTSP.js → 6AV2QI2K.js} +2 -2
  39. package/dist/cdn/{GU3X6WVU.js → 6ERCWXOR.js} +2 -2
  40. package/dist/cdn/{ODBYLGRJ.js → 6GAUHQEP.js} +2 -2
  41. package/dist/cdn/{CTREVWEG.js → 6HXBO7BB.js} +2 -2
  42. package/dist/cdn/{O7LZYDDA.js → 6MKHTJ6L.js} +2 -2
  43. package/dist/cdn/{IQHOW6B3.js → 6MWAVQ5B.js} +2 -2
  44. package/dist/cdn/{FORF6B3Z.js → 6T5HE67H.js} +1 -1
  45. package/dist/cdn/{XMRN7HDU.js → 6WOKK5XF.js} +2 -2
  46. package/dist/cdn/{VXR3KDB7.js → 6XCAVOGZ.js} +2 -2
  47. package/dist/cdn/{OUBHFNCT.js → 6YNYXMEZ.js} +2 -2
  48. package/dist/cdn/{TOATY2NQ.js → 7A6IY63K.js} +2 -2
  49. package/dist/cdn/{CUQU47MV.js → 7EMGD3KS.js} +2 -2
  50. package/dist/cdn/{EEKOQVBB.js → 7FR2LJ76.js} +2 -2
  51. package/dist/cdn/{ERI2I4QD.js → 7FX6M3AC.js} +2 -2
  52. package/dist/cdn/{Q3WVWC55.js → 7GIHCPUD.js} +2 -2
  53. package/dist/cdn/{TYTEAAIQ.js → 7HRSYX2T.js} +2 -2
  54. package/dist/cdn/{JC7D7DR7.js → 7J27HO77.js} +2 -2
  55. package/dist/cdn/{23PHCUDC.js → 7QCJ73JY.js} +2 -2
  56. package/dist/cdn/{JRO6YHAM.js → 7RX7M7QF.js} +2 -2
  57. package/dist/cdn/{U7OBIL3K.js → 7TIYO5I3.js} +2 -2
  58. package/dist/cdn/{QUTXEUWF.js → 7X4KVLF7.js} +2 -2
  59. package/dist/cdn/{J4ZFOKWR.js → 7YJQ724M.js} +2 -2
  60. package/dist/cdn/{RZWPCLBI.js → ADE6XJ2R.js} +2 -2
  61. package/dist/cdn/{OEAH7BZO.js → ADLSBHNY.js} +2 -2
  62. package/dist/cdn/{J7CSWKH2.js → ADLT4NJQ.js} +2 -2
  63. package/dist/cdn/{RJGQ2WIC.js → AFBAT5RO.js} +2 -2
  64. package/dist/cdn/{7O6HZBSM.js → AIFPP266.js} +2 -2
  65. package/dist/cdn/{W6Q6433S.js → AMK3EMWZ.js} +2 -2
  66. package/dist/cdn/{QM75PUNH.js → AMQDN7JJ.js} +2 -2
  67. package/dist/cdn/{MMTDGLQL.js → AQ7GWVN4.js} +2 -2
  68. package/dist/cdn/{LYLCY3W4.js → AQANEPJU.js} +2 -2
  69. package/dist/cdn/{C3XEHNWJ.js → ARYOCW7O.js} +2 -2
  70. package/dist/cdn/{GUE2KLZF.js → B2ENAKEA.js} +2 -2
  71. package/dist/cdn/{2IH2YK5J.js → B3KI7HSV.js} +2 -2
  72. package/dist/cdn/{XLQA6KJQ.js → BH5QPQRO.js} +2 -2
  73. package/dist/cdn/{HUICZ36N.js → BLDUSWGO.js} +2 -2
  74. package/dist/cdn/{424CEK2Z.js → BNEPMQRG.js} +2 -2
  75. package/dist/cdn/{B4T5V46H.js → BR2ZL47V.js} +1 -1
  76. package/dist/cdn/{JKSI5ZMB.js → BRAZHQM3.js} +1 -1
  77. package/dist/cdn/{K6VGFWR2.js → C4CVGUPN.js} +2 -2
  78. package/dist/cdn/{Q4CRDRQG.js → C5GBWDVP.js} +2 -2
  79. package/dist/cdn/{EAQS4FUG.js → CAIRS7V7.js} +2 -2
  80. package/dist/cdn/{PUMJHO6N.js → CBP7TKGP.js} +2 -2
  81. package/dist/cdn/{3TST23TQ.js → CEINIUZB.js} +1 -1
  82. package/dist/cdn/{Y5BRDADM.js → CFSGJY75.js} +2 -2
  83. package/dist/cdn/{Y3FH6SWD.js → CLFVVNNF.js} +2 -2
  84. package/dist/cdn/{BUAWSEWJ.js → CP37NJWJ.js} +2 -2
  85. package/dist/cdn/{3T5VFHCP.js → CR627K6M.js} +2 -2
  86. package/dist/cdn/{G2GKF7F7.js → CXBIJMZ6.js} +2 -2
  87. package/dist/cdn/{XSQ3F75X.js → CZ72FQ7X.js} +2 -2
  88. package/dist/cdn/{RSZOXRB2.js → D45X6C6M.js} +2 -2
  89. package/dist/cdn/{4RXHDK6Z.js → D6SAA4TB.js} +2 -2
  90. package/dist/cdn/{XLHMGVQW.js → DB374Z6M.js} +2 -2
  91. package/dist/cdn/{3EQBZRGH.js → DB5PGVYP.js} +2 -2
  92. package/dist/cdn/{VE3DGEUA.js → DBTYUGTE.js} +2 -2
  93. package/dist/cdn/{XZKSDEYJ.js → DET2E2MQ.js} +2 -2
  94. package/dist/cdn/{CZ4VSMAQ.js → DHJVUUPT.js} +2 -2
  95. package/dist/cdn/{RF2MZ6L4.js → DHMDBSQM.js} +2 -2
  96. package/dist/cdn/{YFMWAKPP.js → DLIM5WBB.js} +1 -1
  97. package/dist/cdn/{S7YU3JX3.js → DQZCBJGJ.js} +2 -2
  98. package/dist/cdn/{IFYMP3RJ.js → DU6OCTSP.js} +2 -2
  99. package/dist/cdn/{V22SW5BK.js → E24PN6OB.js} +2 -2
  100. package/dist/cdn/{GODHBW4D.js → E2HZIIHI.js} +2 -2
  101. package/dist/cdn/{SU5KDQ2B.js → E5DL6S7V.js} +2 -2
  102. package/dist/cdn/EBHWPGSI.js +4 -0
  103. package/dist/cdn/{LLRKW666.js → EIJYLYZ2.js} +2 -2
  104. package/dist/cdn/{WH52X2WQ.js → ELKG5VDG.js} +2 -2
  105. package/dist/cdn/{HSJ5YBGH.js → EVX37FAN.js} +1 -1
  106. package/dist/cdn/{JOLFA4BG.js → EYDXJXA3.js} +2 -2
  107. package/dist/cdn/{FZPDQRLQ.js → EZ6MDAMH.js} +2 -2
  108. package/dist/cdn/{YSM46MQM.js → F2XNSGGK.js} +2 -2
  109. package/dist/cdn/{E3MFERQX.js → F3NWQAO4.js} +2 -2
  110. package/dist/cdn/{RB5BFVBH.js → F3QAIUFZ.js} +2 -2
  111. package/dist/cdn/{7Z2OMIDX.js → F3ZVOKVQ.js} +2 -2
  112. package/dist/cdn/{242ZJVDU.js → F6TUT545.js} +2 -2
  113. package/dist/cdn/{LKFPSHUQ.js → FATRDGVA.js} +2 -2
  114. package/dist/cdn/{UU2Z7JBX.js → FBS6YOLW.js} +2 -2
  115. package/dist/cdn/{2JUGBF5Z.js → FLNNR7L4.js} +2 -2
  116. package/dist/cdn/{CHMYBHXC.js → FQILGVTV.js} +2 -2
  117. package/dist/cdn/{FUKMDGE5.js → FVQEP7OL.js} +2 -2
  118. package/dist/cdn/{QVXNMCUG.js → FXWAFIP2.js} +2 -2
  119. package/dist/cdn/{46UESGJK.js → G3NQEH4O.js} +2 -2
  120. package/dist/cdn/{YUBHAZNE.js → G57MJ6FR.js} +2 -2
  121. package/dist/cdn/{IZPEE7EA.js → GBGJBGUK.js} +2 -2
  122. package/dist/cdn/{QY2SAW3T.js → GE2JJOUE.js} +1 -1
  123. package/dist/cdn/GEWU6K7U.js +4 -0
  124. package/dist/cdn/{N2ES5H7J.js → GHMCD7MQ.js} +2 -2
  125. package/dist/cdn/{CSOVKKCB.js → GMMF3LL5.js} +1 -1
  126. package/dist/cdn/{4K27XVR4.js → GPXXOSFR.js} +2 -2
  127. package/dist/cdn/{MWMU7J4N.js → GQFFOV4R.js} +2 -2
  128. package/dist/cdn/{V5ZMR33N.js → GVF2FJO6.js} +2 -2
  129. package/dist/cdn/{SRIPMBTE.js → GVPJZMPD.js} +2 -2
  130. package/dist/cdn/{7PGJVX4U.js → GWCUAVDX.js} +2 -2
  131. package/dist/cdn/{7HKMMQDW.js → GWW5GVNF.js} +2 -2
  132. package/dist/cdn/{3QUOCTEG.js → H2AZ7QZO.js} +2 -2
  133. package/dist/cdn/{NUBZKYGY.js → H6G6FKR2.js} +1 -1
  134. package/dist/cdn/{3PWT6WTG.js → H7MXFLUI.js} +2 -2
  135. package/dist/cdn/{ALTJ7ILH.js → HGZH6DUY.js} +2 -2
  136. package/dist/cdn/{DJBQAKM7.js → HI42N7RK.js} +2 -2
  137. package/dist/cdn/{ORAQKCNZ.js → HMQSXRJV.js} +2 -2
  138. package/dist/cdn/{VQUBJW6R.js → HQUB2GVJ.js} +2 -2
  139. package/dist/cdn/{WGEFBZZV.js → HSSZ7XOX.js} +3 -3
  140. package/dist/cdn/{42H5I7EW.js → HUJFX4DW.js} +2 -2
  141. package/dist/cdn/{YVLTKRLF.js → IA3XLFY4.js} +2 -2
  142. package/dist/cdn/{BR4RWSPE.js → IAW2OQKK.js} +2 -2
  143. package/dist/cdn/{VAUSKOCH.js → IHY42PMC.js} +2 -2
  144. package/dist/cdn/{TCZHHWHS.js → II452WE4.js} +2 -2
  145. package/dist/cdn/{F4SE4CYU.js → IJ3GAYWX.js} +2 -2
  146. package/dist/cdn/{U6NBLLMQ.js → IOXTQNK5.js} +2 -2
  147. package/dist/cdn/{G73VJ3M7.js → J3EI5HTA.js} +2 -2
  148. package/dist/cdn/{OFW75QJ5.js → J6FDSPHE.js} +2 -2
  149. package/dist/cdn/{CQR6ZJ3Y.js → J7I5IMR5.js} +2 -2
  150. package/dist/cdn/{BS2IH672.js → JB6SMGEP.js} +2 -2
  151. package/dist/cdn/{CTBKFIFY.js → JGDT22OT.js} +1 -1
  152. package/dist/cdn/{INYDJYFF.js → JJA34QGN.js} +1 -1
  153. package/dist/cdn/{XCQZ6ASI.js → JQJCLTAT.js} +2 -2
  154. package/dist/cdn/{S6SVJ7VM.js → JQSYNRHR.js} +2 -2
  155. package/dist/cdn/{ERFMMLHY.js → JSHBQPDB.js} +2 -2
  156. package/dist/cdn/{ESHX67OS.js → JTJ4WSMJ.js} +2 -2
  157. package/dist/cdn/{HSPCD4MZ.js → JXMIAF6N.js} +1 -1
  158. package/dist/cdn/{5AQ3AC2W.js → JXWIIJLT.js} +2 -2
  159. package/dist/cdn/{DT5VPDH3.js → JZ2PUZAX.js} +2 -2
  160. package/dist/cdn/{ZD4IAE56.js → JZJY7WNC.js} +2 -2
  161. package/dist/cdn/{IJZ7RH3K.js → K2JSVA2R.js} +3 -3
  162. package/dist/cdn/{CL3RGGOT.js → KG4N2DWR.js} +2 -2
  163. package/dist/cdn/{ZSYR27QK.js → KGLJ5KQJ.js} +2 -2
  164. package/dist/cdn/{57FEDGKP.js → KJRZD5ZU.js} +2 -2
  165. package/dist/cdn/{QVMJ2ERO.js → KKO6ZDNC.js} +2 -2
  166. package/dist/cdn/{6MOR7L6N.js → KLBSC6KN.js} +2 -2
  167. package/dist/cdn/{VXY4YS6I.js → KPMAXMHR.js} +2 -2
  168. package/dist/cdn/{UDCDDGJR.js → KPYJL7XQ.js} +2 -2
  169. package/dist/cdn/{G3COLP6O.js → KVD6VFI2.js} +2 -2
  170. package/dist/cdn/{7H6T2HT6.js → KWAR2RS4.js} +2 -2
  171. package/dist/cdn/{TBBJWCCR.js → L3XYQ73S.js} +2 -2
  172. package/dist/cdn/{VV5SPLXA.js → L7PS2I63.js} +2 -2
  173. package/dist/cdn/{WNX5GG4H.js → L7WAP3F6.js} +2 -2
  174. package/dist/cdn/{5FN3WVHK.js → LBSXU4JF.js} +1 -1
  175. package/dist/cdn/{WKVFZ37W.js → LF2OUZZN.js} +2 -2
  176. package/dist/cdn/{X7NMFGRR.js → LKUADLR2.js} +2 -2
  177. package/dist/cdn/{2RLW3UK3.js → LPU5P2MS.js} +2 -2
  178. package/dist/cdn/{46CRLSME.js → LYLCXQIT.js} +2 -2
  179. package/dist/cdn/{NSW4XQCX.js → M44CKTRT.js} +2 -2
  180. package/dist/cdn/{CEGZZ3VM.js → MB6R4P24.js} +2 -2
  181. package/dist/cdn/{PMNEPCAP.js → MC7BQ4FS.js} +2 -2
  182. package/dist/cdn/{EVFLREAG.js → MEUE4ETI.js} +2 -2
  183. package/dist/cdn/{T6DS55WX.js → MK2GZOPB.js} +2 -2
  184. package/dist/cdn/{OUH6GVIE.js → MLKQS7MJ.js} +2 -2
  185. package/dist/cdn/{2MW5FFFN.js → MQXT4KW4.js} +2 -2
  186. package/dist/cdn/{EYXMOG4T.js → MSFRHRPB.js} +2 -2
  187. package/dist/cdn/{N2JVWR36.js → MUDAHT4O.js} +2 -2
  188. package/dist/cdn/{NTXNU5KJ.js → MZH47JG6.js} +2 -2
  189. package/dist/cdn/{K66IIFGC.js → N7FAWN5M.js} +2 -2
  190. package/dist/cdn/{MMT5FM7A.js → NAYVHCPR.js} +1 -1
  191. package/dist/cdn/{NZ7X7RNA.js → NG2ZNEYB.js} +2 -2
  192. package/dist/cdn/{TTYIUEPD.js → NHGF4QA4.js} +2 -2
  193. package/dist/cdn/{WLBCVFRX.js → NLZKQINN.js} +2 -2
  194. package/dist/cdn/{7H3RLLAJ.js → NQZ5P5UT.js} +1 -1
  195. package/dist/cdn/{7JZCGT73.js → NRI4JYSF.js} +2 -2
  196. package/dist/cdn/{JQB2ZVA6.js → NTIOGC5P.js} +1 -1
  197. package/dist/cdn/NY7SNK7R.js +4 -0
  198. package/dist/cdn/{5TVT25KG.js → OEONW3E6.js} +2 -2
  199. package/dist/cdn/{GVLGCQV5.js → OFQMFGMZ.js} +2 -2
  200. package/dist/cdn/{AIKNRIPT.js → OJILPO6B.js} +1 -1
  201. package/dist/cdn/{D7W6V2FZ.js → OJQY36ED.js} +2 -2
  202. package/dist/cdn/{TPAHJWIM.js → OOB5IKKG.js} +2 -2
  203. package/dist/cdn/{Y2ATELTM.js → ORAI6AJR.js} +2 -2
  204. package/dist/cdn/{UJQYAOZR.js → ORFE67XW.js} +2 -2
  205. package/dist/cdn/{ZJIISPCN.js → OTRLWXRL.js} +2 -2
  206. package/dist/cdn/{7FJ6I4E7.js → OVDFZNTU.js} +2 -2
  207. package/dist/cdn/{KFJTURDK.js → OZD7ONZO.js} +2 -2
  208. package/dist/cdn/{JWECLXIX.js → P54F6CZT.js} +1 -1
  209. package/dist/cdn/{A76NURAD.js → P6KNFFRR.js} +2 -2
  210. package/dist/cdn/{HLW755DY.js → PG4G33W3.js} +2 -2
  211. package/dist/cdn/{7JQD4FB2.js → PGBWIV7S.js} +2 -2
  212. package/dist/cdn/{EKKHOK27.js → PM5EGL64.js} +2 -2
  213. package/dist/cdn/{TTCKLGK7.js → PNADHZHM.js} +1 -1
  214. package/dist/cdn/{YKVMQATP.js → Q2XU56ZR.js} +2 -2
  215. package/dist/cdn/{VKKWJXHO.js → Q36FJ7KX.js} +2 -2
  216. package/dist/cdn/{FWC5JTS2.js → Q4IGYD5G.js} +1 -1
  217. package/dist/cdn/{S7QNSRRI.js → QB5VZGUR.js} +2 -2
  218. package/dist/cdn/{5H6Q6OC2.js → QC5QUV2G.js} +2 -2
  219. package/dist/cdn/{7HYAMVPE.js → QCHPFHLH.js} +4 -4
  220. package/dist/cdn/{XAU5QP66.js → QDS35EPY.js} +2 -2
  221. package/dist/cdn/{RNRJYQR6.js → QJUNB7OU.js} +2 -2
  222. package/dist/cdn/{MHTAOZQX.js → QKZOMZC6.js} +1 -1
  223. package/dist/cdn/{CYBRHVMD.js → QNTTH5GW.js} +2 -2
  224. package/dist/cdn/{J36ELBGN.js → QQEKBPCC.js} +2 -2
  225. package/dist/cdn/{WXFDEIGF.js → QUQT65NY.js} +2 -2
  226. package/dist/cdn/{GRGYG6ZB.js → QWTKPELS.js} +2 -2
  227. package/dist/cdn/{VSU4V6G6.js → QYCMFNW4.js} +2 -2
  228. package/dist/cdn/{HSIQ7LDL.js → R4S46XIJ.js} +2 -2
  229. package/dist/cdn/{MUAZDQVZ.js → R5DQREYP.js} +1 -1
  230. package/dist/cdn/{O4YYSHMA.js → R6LXRCAK.js} +2 -2
  231. package/dist/cdn/{C3ZYJFGZ.js → RDUEDHPF.js} +2 -2
  232. package/dist/cdn/{MRTVZ3FA.js → RHKKWNBX.js} +2 -2
  233. package/dist/cdn/{AWUMOVFD.js → RHMNOJ7E.js} +1 -1
  234. package/dist/cdn/{INDGQ7I5.js → RLY2Q5ST.js} +2 -2
  235. package/dist/cdn/{JAB46Q2U.js → RMDQKHBE.js} +1 -1
  236. package/dist/cdn/{B4BRIUKH.js → RMYPEWUU.js} +2 -2
  237. package/dist/cdn/{RTT255CD.js → RNMEUTWR.js} +2 -2
  238. package/dist/cdn/{IC376S4N.js → RRELPHMV.js} +2 -2
  239. package/dist/cdn/{ESUFDLJP.js → RYFCUK25.js} +2 -2
  240. package/dist/cdn/{4UW2NAO4.js → RYOWYFUL.js} +1 -1
  241. package/dist/cdn/{EG7OXLBP.js → RZEYKMOM.js} +2 -2
  242. package/dist/cdn/{O2UDI5ZG.js → RZQHUO3F.js} +2 -2
  243. package/dist/cdn/{FWGZLF34.js → S2B6VBLY.js} +2 -2
  244. package/dist/cdn/{2QOQTUKN.js → S2IMLB5D.js} +2 -2
  245. package/dist/cdn/{UGX25KQA.js → S2XULOFF.js} +2 -2
  246. package/dist/cdn/{ON35LOWT.js → S6263JDM.js} +2 -2
  247. package/dist/cdn/{OR3N345S.js → SAETBGZI.js} +2 -2
  248. package/dist/cdn/{H57UXYLC.js → SMGCLFQF.js} +2 -2
  249. package/dist/cdn/{U2APIL5F.js → SNPMTCRI.js} +2 -2
  250. package/dist/cdn/{6V3QGIDI.js → SNT5EK6R.js} +2 -2
  251. package/dist/cdn/{NOMPCMGQ.js → SNWEMDNE.js} +2 -2
  252. package/dist/cdn/{56NWL3SJ.js → STSKIWHS.js} +2 -2
  253. package/dist/cdn/{4MSGOASS.js → SWXIZD47.js} +2 -2
  254. package/dist/cdn/{HNTUTNCA.js → SYY4YG3Z.js} +2 -2
  255. package/dist/cdn/{GEWRTAEY.js → T5VK3KFJ.js} +1 -1
  256. package/dist/cdn/{O75MXYU2.js → T6JMJUIH.js} +2 -2
  257. package/dist/cdn/{CUW2FL7B.js → T7MCW5IN.js} +2 -2
  258. package/dist/cdn/{QWORBXNV.js → TBPF6SO3.js} +1 -1
  259. package/dist/cdn/{3HBBMXHE.js → TFHYN3ET.js} +2 -2
  260. package/dist/cdn/{NGIFYBG2.js → TFSMCGSH.js} +2 -2
  261. package/dist/cdn/{2E36RQGW.js → TFXCC3RB.js} +2 -2
  262. package/dist/cdn/{Y4TAB6DZ.js → TGIC5TQA.js} +1 -1
  263. package/dist/cdn/{HNJBDRZK.js → TI2NYOBP.js} +2 -2
  264. package/dist/cdn/{MNICPHAG.js → TN2GYF2M.js} +2 -2
  265. package/dist/cdn/{4WW3ICHW.js → TQ2MVCHD.js} +2 -2
  266. package/dist/cdn/{G67WQ7EK.js → TSE7QGAO.js} +2 -2
  267. package/dist/cdn/{JUZZFAAP.js → TYPNLNYP.js} +2 -2
  268. package/dist/cdn/{MKDC2SCX.js → U2QN2CIL.js} +2 -2
  269. package/dist/cdn/{OZWY6LCF.js → U2VAQGLB.js} +2 -2
  270. package/dist/cdn/{DAJPL7A6.js → U2ZUAQAO.js} +1 -1
  271. package/dist/cdn/{L76MWZ6D.js → UDUPVR2K.js} +2 -2
  272. package/dist/cdn/{GETIEY2N.js → UOTNEWW4.js} +2 -2
  273. package/dist/cdn/{4UPTPCCV.js → UQRUEVJ2.js} +2 -2
  274. package/dist/cdn/{3ZH4K4KA.js → URMQL2U7.js} +2 -2
  275. package/dist/cdn/{WGY44T74.js → US2TVDJT.js} +2 -2
  276. package/dist/cdn/{Q5ZT6WRY.js → UTSWXMBF.js} +1 -1
  277. package/dist/cdn/{A4NXH4OO.js → UV6Z2C3Q.js} +2 -2
  278. package/dist/cdn/{5TJAX6CN.js → UVP7UA4T.js} +2 -2
  279. package/dist/cdn/{5ZUFRNFY.js → UX3COUHV.js} +2 -2
  280. package/dist/cdn/{CIAMCYZF.js → UX6T545U.js} +2 -2
  281. package/dist/cdn/{PPSHZUDG.js → UXV3NEDJ.js} +2 -2
  282. package/dist/cdn/{UC2SS2QW.js → V4JJZO4L.js} +2 -2
  283. package/dist/cdn/{OUVL2CVN.js → V5G6HO3I.js} +2 -2
  284. package/dist/cdn/{D3UIWRVA.js → V5PMAO56.js} +2 -2
  285. package/dist/cdn/{YY2RTG4T.js → VBL364XG.js} +2 -2
  286. package/dist/cdn/{OLNUCAY2.js → VCG4II6C.js} +1 -1
  287. package/dist/cdn/{S6PZ4TQV.js → VLRDFOKG.js} +2 -2
  288. package/dist/cdn/{2OHDQ4WD.js → VN2DJNMI.js} +2 -2
  289. package/dist/cdn/{ZZ3Y6MJT.js → VNJ2S743.js} +2 -2
  290. package/dist/cdn/{THU44NOX.js → VQAYD5X5.js} +1 -1
  291. package/dist/cdn/{6DNV5PJB.js → VV5K6N5X.js} +1 -1
  292. package/dist/cdn/{JJLMC76G.js → VWGULTVQ.js} +2 -2
  293. package/dist/cdn/{RFLMWIV3.js → VWZPSPEY.js} +2 -2
  294. package/dist/cdn/{MYIWNWBX.js → VX4NLLWT.js} +2 -2
  295. package/dist/cdn/{4A3PG7XO.js → W2OP4Q2S.js} +2 -2
  296. package/dist/cdn/{DKW6UBER.js → W2ZTW2IX.js} +2 -2
  297. package/dist/cdn/{3YWCFLWG.js → W3TP3ERT.js} +2 -2
  298. package/dist/cdn/{I3KEQ3N4.js → WBN55LO5.js} +2 -2
  299. package/dist/cdn/{NPKGD2UW.js → WF6X3L3H.js} +2 -2
  300. package/dist/cdn/{ZZRK2MDR.js → WFF5NK2F.js} +2 -2
  301. package/dist/cdn/{6RJJZZGW.js → WGPAVOUO.js} +1 -1
  302. package/dist/cdn/{7TZZHMOS.js → WHCOW3IY.js} +2 -2
  303. package/dist/cdn/{7RHPWT7M.js → WHUQ7GDT.js} +2 -2
  304. package/dist/cdn/{5QWPDEIM.js → WKELBEB2.js} +2 -2
  305. package/dist/cdn/{YHZEZ73W.js → WMYYFODH.js} +2 -2
  306. package/dist/cdn/{F3UJ3XFL.js → WO6QJEKX.js} +2 -2
  307. package/dist/cdn/{ZBDBARFW.js → WR57KYLP.js} +2 -2
  308. package/dist/cdn/{2IEFFZ3C.js → WRM2SM62.js} +2 -2
  309. package/dist/cdn/{W6EJ2GL5.js → WT4Y2MK6.js} +2 -2
  310. package/dist/cdn/{UZRP7ING.js → XDTN3IHL.js} +2 -2
  311. package/dist/cdn/{SQTYYN33.js → XFZ7YCBG.js} +2 -2
  312. package/dist/cdn/{A5EE6OCZ.js → XJXBR6GZ.js} +2 -2
  313. package/dist/cdn/{PEUJKF6B.js → XKH6FG7U.js} +2 -2
  314. package/dist/cdn/{UEZ73OO4.js → XOMU43SN.js} +2 -2
  315. package/dist/cdn/{XZGSTRDT.js → XROGBZXT.js} +2 -2
  316. package/dist/cdn/{FAYUH4ZL.js → XSVNPD3O.js} +2 -2
  317. package/dist/cdn/{UNBTQP3H.js → XXXOSE3A.js} +1 -1
  318. package/dist/cdn/{QNVIGXOV.js → XZ5PACEL.js} +1 -1
  319. package/dist/cdn/{QJXOEAET.js → XZ66HFA6.js} +2 -2
  320. package/dist/cdn/{HIZ63N6P.js → XZIPESS6.js} +1 -1
  321. package/dist/cdn/{DHTY4OOW.js → Y726ABQU.js} +2 -2
  322. package/dist/cdn/YBKPQVV4.js +4 -0
  323. package/dist/cdn/{4Z3QZTQ5.js → YBYR4GIM.js} +2 -2
  324. package/dist/cdn/{RHG4ERFD.js → YFUVUQZB.js} +2 -2
  325. package/dist/cdn/{R5XEOHRY.js → YGLXGLGM.js} +2 -2
  326. package/dist/cdn/{YOT3LZNC.js → YGMQKOCF.js} +2 -2
  327. package/dist/cdn/{DTUYSMPI.js → YHXJJYLE.js} +2 -2
  328. package/dist/cdn/{CRWMIW6E.js → YL254EK7.js} +2 -2
  329. package/dist/cdn/{SFSDK76O.js → YLGBKYH2.js} +2 -2
  330. package/dist/cdn/{M4RN56A5.js → YNDPSGUC.js} +2 -2
  331. package/dist/cdn/{BD72WU7W.js → YOA63Y7X.js} +2 -2
  332. package/dist/cdn/{6RZ4KMTE.js → YSWR3ULN.js} +2 -2
  333. package/dist/cdn/{RK7BITG7.js → YXAKQGMK.js} +2 -2
  334. package/dist/cdn/{HPA3S6EH.js → Z22V6QBU.js} +2 -2
  335. package/dist/cdn/{Z3FUHTWT.js → Z4R657RH.js} +2 -2
  336. package/dist/cdn/{DOEH5ZVT.js → Z7XX2YW6.js} +2 -2
  337. package/dist/cdn/{RLOP37O7.js → ZBCVP5TM.js} +2 -2
  338. package/dist/cdn/{CZJ3RSCF.js → ZCVDL7HX.js} +2 -2
  339. package/dist/cdn/{XEYFGJYD.js → ZGW7DAEW.js} +2 -2
  340. package/dist/cdn/{BN4ZRCRV.js → ZIRQTHJM.js} +2 -2
  341. package/dist/cdn/{BZOHPBSK.js → ZM2AVFHJ.js} +1 -1
  342. package/dist/cdn/{TLSJZ2PC.js → ZXBZZIN6.js} +2 -2
  343. package/dist/cdn/{5J45SC6T.js → ZYY4LF54.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +1 -1
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +1 -1
  389. package/dist/components/map-card/customElement.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-configuration/customElement.js +1 -1
  404. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  405. package/dist/components/solution-configure-titles/customElement.js +1 -1
  406. package/dist/components/solution-contents/customElement.js +1 -1
  407. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  408. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deployed-card/customElement.js +1 -1
  410. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  411. package/dist/components/solution-details-card/customElement.js +1 -1
  412. package/dist/components/solution-details-panel/customElement.js +1 -1
  413. package/dist/components/solution-item/customElement.js +1 -1
  414. package/dist/components/solution-item-accordion/customElement.js +1 -1
  415. package/dist/components/solution-item-details/customElement.js +1 -1
  416. package/dist/components/solution-item-diagram/customElement.js +1 -1
  417. package/dist/components/solution-item-icon/customElement.js +1 -1
  418. package/dist/components/solution-item-sharing/customElement.js +1 -1
  419. package/dist/components/solution-organization-variables/customElement.js +1 -1
  420. package/dist/components/solution-resource-card/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +1 -1
  428. package/dist/components/solutions-all-shell/customElement.js +1 -1
  429. package/dist/components/solutions-deploy-app/customElement.js +2 -2
  430. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  431. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  432. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  433. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  434. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  436. package/dist/components/solutions-resources/customElement.js +1 -1
  437. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  438. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  439. package/dist/components/spatial-ref/customElement.js +1 -1
  440. package/dist/components/store-manager/customElement.js +1 -1
  441. package/dist/docs/api.json +1 -1
  442. package/dist/docs/docs.json +1 -1
  443. package/dist/docs/web-types.json +1 -1
  444. package/dist/index.js +1 -1
  445. package/dist/loader.js +1 -1
  446. package/package.json +1 -1
  447. package/dist/cdn/43C44DKY.js +0 -4
  448. package/dist/cdn/6GYEDZMT.js +0 -4
  449. package/dist/cdn/ANRRSKMN.js +0 -4
  450. package/dist/cdn/CV2FNRYE.js +0 -4
  451. package/dist/cdn/KE3ZSZN4.js +0 -4
  452. package/dist/cdn/UPKVTJ7R.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
3
+ v1.2.0-next.9 */
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,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.8 */
4
- import c from"./DTHGPPXC.js";import{a as d,b as w,e as C,f as I}from"./J4ZFOKWR.js";import a from"./W6EJ2GL5.js";import{a as S}from"./XLHMGVQW.js";import{a as y}from"./S6SVJ7VM.js";import{a as x}from"./7H6T2HT6.js";import{C as T}from"./INYDJYFF.js";import{b}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{E as f,G as r,h as v,i as n,o as $}from"./4UW2NAO4.js";import"./CSOVKKCB.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.9 */
4
+ import c from"./2LSNFMQU.js";import{a as d,b as w,e as C,f as I}from"./7YJQ724M.js";import a from"./WT4Y2MK6.js";import{a as S}from"./DB374Z6M.js";import{a as y}from"./JQSYNRHR.js";import{a as x}from"./KWAR2RS4.js";import{C as T}from"./JJA34QGN.js";import{b}from"./IOXTQNK5.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{E as f,G as r,h as v,i as n,o as $}from"./RYOWYFUL.js";import"./GMMF3LL5.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)
@@ -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.8 */
4
- import"./CSOVKKCB.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.9 */
4
+ import"./GMMF3LL5.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,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.8 */
4
- import a from"./W6EJ2GL5.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
3
+ v1.2.0-next.9 */
4
+ import a from"./WT4Y2MK6.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
5
5
  .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-left: 30px !important;
7
7
  }
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{a as n}from"./7H6T2HT6.js";import{b as i}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{E as o,h as a,i as s}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
3
+ v1.2.0-next.9 */
4
+ import{a as n}from"./KWAR2RS4.js";import{b as i}from"./IOXTQNK5.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{E as o,h as a,i as s}from"./RYOWYFUL.js";import"./GMMF3LL5.js";var p=a`[role=alert]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}`,r=class extends o{constructor(){super(),this._messages=n({name:"instant-apps-app-error"}),this._handleErrorMessage=this._handleErrorMessage.bind(this),this.listenOn(document,"instant-apps-error",this._handleErrorMessage)}static{this.properties={errorMessage:16}}static{this.styles=p}async clearErrorMessage(){this.errorMessage=void 0}_handleErrorMessage(e){if(!e.detail||!this._messages?.errorMessages)return;let t=this._messages.errorMessages[e.detail];t&&(this.errorMessage=t)}render(){return s`<div role=alert>${this.errorMessage&&s`<p>${this.errorMessage}</p>`||""}</div>`}};i("instant-apps-app-error",r);export{r as InstantAppsAppError};
@@ -1,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.8 */
4
- import{a as s}from"./RHG4ERFD.js";import{a as l,b as p}from"./5FN3WVHK.js";import{d as m}from"./DAJPL7A6.js";import"./EYXMOG4T.js";import{a}from"./BZOHPBSK.js";import"./CSOVKKCB.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
3
+ v1.2.0-next.9 */
4
+ import{a as s}from"./YFUVUQZB.js";import{a as l,b as p}from"./LBSXU4JF.js";import{d as m}from"./U2ZUAQAO.js";import"./MSFRHRPB.js";import{a}from"./ZM2AVFHJ.js";import"./GMMF3LL5.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
@@ -1,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.8 */
4
- import{a as X}from"./F3UJ3XFL.js";import{a as s}from"./5FN3WVHK.js";import{c as x}from"./QY2SAW3T.js";import{a as J,b as H}from"./JOLFA4BG.js";import{h as V,i as z}from"./5PBSBYXZ.js";import{b as R,c as w}from"./UU2Z7JBX.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./NGIFYBG2.js";import"./FORF6B3Z.js";import"./RJGQ2WIC.js";import"./YFMWAKPP.js";import"./7H3RLLAJ.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./JHH2YZMO.js";import"./FWC5JTS2.js";import{i as G}from"./EVFLREAG.js";import"./GEWRTAEY.js";import{a as p}from"./HIZ63N6P.js";import"./TTCKLGK7.js";import"./XKO4D6DI.js";import"./2MW5FFFN.js";import"./Y5BRDADM.js";import{k as O,s as j}from"./DT5VPDH3.js";import"./DAJPL7A6.js";import"./QWORBXNV.js";import"./EYXMOG4T.js";import{a as d}from"./BZOHPBSK.js";import"./6DNV5PJB.js";import"./AWUMOVFD.js";import"./CSOVKKCB.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
3
+ v1.2.0-next.9 */
4
+ import{a as X}from"./WO6QJEKX.js";import{a as s}from"./LBSXU4JF.js";import{c as x}from"./GE2JJOUE.js";import{a as J,b as H}from"./EYDXJXA3.js";import{h as V,i as z}from"./4M7KD7PJ.js";import{b as R,c as w}from"./FBS6YOLW.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./TFSMCGSH.js";import"./6T5HE67H.js";import"./AFBAT5RO.js";import"./DLIM5WBB.js";import"./NQZ5P5UT.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./3QS7IS3Y.js";import"./Q4IGYD5G.js";import{i as G}from"./MEUE4ETI.js";import"./T5VK3KFJ.js";import{a as p}from"./XZIPESS6.js";import"./PNADHZHM.js";import"./4BKWVAIO.js";import"./MQXT4KW4.js";import"./CFSGJY75.js";import{k as O,s as j}from"./JZ2PUZAX.js";import"./U2ZUAQAO.js";import"./TBPF6SO3.js";import"./MSFRHRPB.js";import{a as d}from"./ZM2AVFHJ.js";import"./VV5K6N5X.js";import"./RHMNOJ7E.js";import"./GMMF3LL5.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import"./CSOVKKCB.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.2.0-next.9 */
4
+ import"./GMMF3LL5.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,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.8 */
4
- import{a as e}from"./ERI2I4QD.js";import"./YOT3LZNC.js";import"./ERFMMLHY.js";import"./QY2SAW3T.js";import"./5PBSBYXZ.js";import"./NGIFYBG2.js";import"./RJGQ2WIC.js";import"./YFMWAKPP.js";import"./7H3RLLAJ.js";import"./EVFLREAG.js";import"./GEWRTAEY.js";import"./HIZ63N6P.js";import"./TTCKLGK7.js";import"./2MW5FFFN.js";import"./Y5BRDADM.js";import"./DT5VPDH3.js";import"./DAJPL7A6.js";import"./QWORBXNV.js";import"./EYXMOG4T.js";import"./BZOHPBSK.js";import"./6DNV5PJB.js";import"./JWECLXIX.js";import{a as p}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as h}from"./5J45SC6T.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var u=m`@layer{/** @license
3
+ v1.2.0-next.9 */
4
+ import{a as e}from"./7FX6M3AC.js";import"./YGMQKOCF.js";import"./JSHBQPDB.js";import"./GE2JJOUE.js";import"./4M7KD7PJ.js";import"./TFSMCGSH.js";import"./AFBAT5RO.js";import"./DLIM5WBB.js";import"./NQZ5P5UT.js";import"./MEUE4ETI.js";import"./T5VK3KFJ.js";import"./XZIPESS6.js";import"./PNADHZHM.js";import"./MQXT4KW4.js";import"./CFSGJY75.js";import"./JZ2PUZAX.js";import"./U2ZUAQAO.js";import"./TBPF6SO3.js";import"./MSFRHRPB.js";import"./ZM2AVFHJ.js";import"./VV5K6N5X.js";import"./P54F6CZT.js";import{a as p}from"./CZ72FQ7X.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{b as h}from"./ZYY4LF54.js";import{C as a,D as s,E as c,h as m,i as l,j as o,r}from"./RYOWYFUL.js";import"./GMMF3LL5.js";var u=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import c from"./JJLMC76G.js";import{a as x}from"./TYTEAAIQ.js";import a from"./W6EJ2GL5.js";import{a as N}from"./S6SVJ7VM.js";import{a as D}from"./7H6T2HT6.js";import{E as k,h as R,i as L}from"./INYDJYFF.js";import{b as F}from"./U6NBLLMQ.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./4UW2NAO4.js";import"./CSOVKKCB.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.2.0-next.9 */
4
+ import c from"./VWGULTVQ.js";import{a as x}from"./7HRSYX2T.js";import a from"./WT4Y2MK6.js";import{a as N}from"./JQSYNRHR.js";import{a as D}from"./KWAR2RS4.js";import{E as k,h as R,i as L}from"./JJA34QGN.js";import{b as F}from"./IOXTQNK5.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./RYOWYFUL.js";import"./GMMF3LL5.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -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.8 */
4
- import{m as i}from"./JWECLXIX.js";import{a as d}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as h}from"./5J45SC6T.js";import{E as r,G as a,I as c,h as o,i as s,o as n}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var p=o`/** @license
3
+ v1.2.0-next.9 */
4
+ import{m as i}from"./P54F6CZT.js";import{a as d}from"./CZ72FQ7X.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{b as h}from"./ZYY4LF54.js";import{E as r,G as a,I as c,h as o,i as s,o as n}from"./RYOWYFUL.js";import"./GMMF3LL5.js";var p=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{l as c}from"./EVFLREAG.js";import{a as o}from"./BZOHPBSK.js";import{a as n}from"./AWUMOVFD.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
3
+ v1.2.0-next.9 */
4
+ import{l as c}from"./MEUE4ETI.js";import{a as o}from"./ZM2AVFHJ.js";import{a as n}from"./RHMNOJ7E.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{a as e}from"./QVMJ2ERO.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.2.0-next.9 */
4
+ import{a as e}from"./KKO6ZDNC.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{a as l}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as o}from"./5J45SC6T.js";import{E as n,h as r,i as a,o as s}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var c=r`/** @license
3
+ v1.2.0-next.9 */
4
+ import{a as l}from"./CZ72FQ7X.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{b as o}from"./ZYY4LF54.js";import{E as n,h as r,i as a,o as s}from"./RYOWYFUL.js";import"./GMMF3LL5.js";var c=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import"./CSOVKKCB.js";var e="Za izvajanje tega postopka nimate dovolj kreditov. Za pomo\u010D se obrnite na va\u0161ega sistemskega administratorja ArcGIS.",a="To orodje je bilo objavljeno iz bele\u017Eke. Dostop do ArcGIS Notebooks je blokiran za va\u0161o organizacijo. Za prilagoditev nastavitve se obrnite na administratorja.",o="${ dataPath } ne sme imeti ${ additionalProperty }.",i="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",r="Poskusite ponovno shraniti karto.",t="Ocena kreditov ni uspela. Pomaknite se navzdol, popravite napake in znova ocenite kredite.",n="Med izvajanjem analize je pri\u0161lo do napake.",s="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",l="Zgodovine analiz ni bilo mogo\u010De shraniti",d="Shramba zgodovine je polna. Odstranite nekaj elementov iz shrambe zgodovine in znova poskusite s shranjevanjem.",v="Ime storitve vsebuje enega ali ve\u010D neveljavnih znakov.",m="Shranjevanje za\u010Dasnega sloja kot gostujo\u010Dega zna\u010Dilnega sloja ni dokon\u010Dano.",j="Pridobivanje klju\u010Dnih lastnosti ni uspelo.",p="Nalaganje sloja ni uspelo",u="Sloj ni na voljo.",k="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",c="Pri shranjevanju smodela je pri\u0161lo do napake. Poskusite ponovno shraniti.",h="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",z="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",b="Elementa modela ni bilo mogo\u010De nalo\u017Eiti. Prepri\u010Dajte se, da model obstaja in da je dovoljenje za dostop bilo odobreno.",g="Zahteve ni bilo mogo\u010De dokon\u010Dati.",P="Nimate dovoljenja za zagon tega orodja. <calcite-link target='_blank' href='${ docLink }'>Ve\u010D</calcite-link>",E="Prijava v portal ni mo\u017Ena.",S="Branje vhodnih podatkov ni uspelo.",y="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",$="Sloj z rezultati s tem imenom \u017Ee obstaja. Sloji z rezultati morajo biti po vsej organizaciji poimenovani enoli\u010Dno. Uporabite druga\u010Dno ime.",I="Izhodno ime vsebuje enega ali ve\u010D neveljavnih znakov. <a href='${docLink}' target='_blank'>Ve\u010D o tem.</a>",f="Objava za\u010Dasnega sloja kot gostujo\u010Dega sloja ni bila uspe\u0161na zaradi enega ali ve\u010D neveljavnih polj. Ponovno za\u017Eenite orodje, da ustvarite sloj z veljavnimi polji.",F="Oddaja opravila ni uspela. Pomaknite se navzdol, popravite napake in znova za\u017Eenite analizo.",T="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",N={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:j,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:b,networkError:g,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,N as default,n as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,j as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,b as modelNotFound,g as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.9 */
4
+ import"./GMMF3LL5.js";var e="Za izvajanje tega postopka nimate dovolj kreditov. Za pomo\u010D se obrnite na va\u0161ega sistemskega administratorja ArcGIS.",a="To orodje je bilo objavljeno iz bele\u017Eke. Dostop do ArcGIS Notebooks je blokiran za va\u0161o organizacijo. Za prilagoditev nastavitve se obrnite na administratorja.",o="${ dataPath } ne sme imeti ${ additionalProperty }.",i="${ dataPath } se mora ujemati s shemo ene od teh: ${ schemaOptions }.",r="Poskusite ponovno shraniti karto.",t="Ocena kreditov ni uspela. Pomaknite se navzdol, popravite napake in znova ocenite kredite.",n="Med izvajanjem analize je pri\u0161lo do napake.",s="${ dataPath } mora biti enak eni od teh dovoljenih vrednosti: ${ allowedValues }.",l="Zgodovine analiz ni bilo mogo\u010De shraniti",d="Shramba zgodovine je polna. Odstranite nekaj elementov iz shrambe zgodovine in znova poskusite s shranjevanjem.",v="Ime storitve vsebuje enega ali ve\u010D neveljavnih znakov.",m="Shranjevanje za\u010Dasnega sloja kot gostujo\u010Dega zna\u010Dilnega sloja ni dokon\u010Dano.",j="Pridobivanje klju\u010Dnih lastnosti ni uspelo.",p="Nalaganje sloja ni uspelo",u="Sloj ni na voljo.",k="${ dataPath } ne sme imeti ve\u010D kot ${ limit } elementov.",c="Pri shranjevanju smodela je pri\u0161lo do napake. Poskusite ponovno shraniti.",h="${ dataPath } ne sme imeti manj kot ${ limit } elementov.",z="${ dataPath } ne sme biti kraj\u0161e od ${ limit } znakov.",b="Elementa modela ni bilo mogo\u010De nalo\u017Eiti. Prepri\u010Dajte se, da model obstaja in da je dovoljenje za dostop bilo odobreno.",g="Zahteve ni bilo mogo\u010De dokon\u010Dati.",P="Nimate dovoljenja za zagon tega orodja. <calcite-link target='_blank' href='${ docLink }'>Ve\u010D</calcite-link>",E="Prijava v portal ni mo\u017Ena.",S="Branje vhodnih podatkov ni uspelo.",y="${ dataPath } manjka lastnost imenovana ${ missingProperty }.",$="Sloj z rezultati s tem imenom \u017Ee obstaja. Sloji z rezultati morajo biti po vsej organizaciji poimenovani enoli\u010Dno. Uporabite druga\u010Dno ime.",I="Izhodno ime vsebuje enega ali ve\u010D neveljavnih znakov. <a href='${docLink}' target='_blank'>Ve\u010D o tem.</a>",f="Objava za\u010Dasnega sloja kot gostujo\u010Dega sloja ni bila uspe\u0161na zaradi enega ali ve\u010D neveljavnih polj. Ponovno za\u017Eenite orodje, da ustvarite sloj z veljavnimi polji.",F="Oddaja opravila ni uspela. Pomaknite se navzdol, popravite napake in znova za\u017Eenite analizo.",T="${ dataPath } mora vsebovati vsaj en znak, ki ni presledek.",N={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:j,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:b,networkError:g,noPermissionToAccessTool:P,portalLoadError:E,queryFeaturesError:S,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:T};export{e as InsufficientCreditsError,a as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,N as default,n as defaultError,s as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,j as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,b as modelNotFound,g as networkError,P as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import"./CSOVKKCB.js";var e="\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043D\u044C\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432 \u0434\u043B\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0441\u0432\u043E\u0433\u043E \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0433\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430 ArcGIS \u043F\u043E \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0443.",a="\u0426\u0435\u0439 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E \u0437 \u0431\u043B\u043E\u043A\u043D\u043E\u0442\u0443. \u0414\u043E\u0441\u0442\u0443\u043F \u0434\u043E ArcGIS Notebooks \u0437\u0430\u0431\u043B\u043E\u043A\u043E\u0432\u0430\u043D\u043E \u0434\u043B\u044F \u0432\u0430\u0448\u043E\u0457 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438.",r="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 ${ additionalProperty }.",t="${ dataPath } \u043C\u0430\u0454 \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F \u0437\u0456 \u0441\u0445\u0435\u043C\u043E\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0437 \u0446\u0438\u0445: ${ schemaOptions }.",o="\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043A\u0430\u0440\u0442\u0443 \u0449\u0435 \u0440\u0430\u0437.",s="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043E\u0446\u0456\u043D\u043A\u0443 \u043A\u0456\u043B\u044C\u043A\u043E\u0441\u0442\u0456 \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u0437\u0430\u043D\u043E\u0432\u043E \u043E\u0446\u0456\u043D\u0456\u0442\u044C \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432.",i="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430.",l="${ dataPath } \u043C\u0430\u0454 \u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0432\u0430\u0442\u0438 \u043E\u0434\u043D\u043E\u043C\u0443 \u0437 \u0446\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: ${ allowedValues }.",d="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0456\u0441\u0442\u043E\u0440\u0456\u044E \u0430\u043D\u0430\u043B\u0456\u0437\u0443",n="\u0421\u0445\u043E\u0432\u0438\u0449\u0435 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u0435. \u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0434\u0435\u044F\u043A\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0437 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0442\u0430 \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",c="\u041D\u0430\u0437\u0432\u0430 \u0441\u0435\u0440\u0432\u0456\u0441\u0443 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",m="\u0417\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u043E\u0433\u043E \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0432\u0435\u043A\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043A\u043B\u044E\u0447\u043E\u0432\u0456 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456.",E="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0448\u0430\u0440.",h="\u0428\u0430\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439.",y="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",P="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u043C\u043E\u0434\u0435\u043B\u0456 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",p="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",S="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",$="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0456. \u041F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044C, \u0449\u043E \u043C\u043E\u0434\u0435\u043B\u044C \u0456\u0441\u043D\u0443\u0454, \u0456 \u0449\u043E \u043D\u0430\u0434\u0430\u043D\u043E \u0434\u043E\u0437\u0432\u0456\u043B \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F.",v="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u0437\u0430\u043F\u0438\u0442.",f="\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u0440\u0430\u0432 \u043D\u0430 \u0437\u0430\u043F\u0443\u0441\u043A \u0446\u044C\u043E\u0433\u043E \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0443. <calcite-link target='_blank' href='${ docLink }'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435 </calcite-link>",F="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 \u043F\u043E\u0440\u0442\u0430\u043B\u0456.",I="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u0438 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456.",k="${ dataPath } \u043D\u0435 \u043C\u0430\u0454 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ missingProperty }.",T="\u0428\u0430\u0440 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u0437 \u0442\u0430\u043A\u0438\u043C \u0456\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0456\u0441\u043D\u0443\u0454. \u0428\u0430\u0440\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043F\u043E\u0432\u0438\u043D\u043D\u0456 \u043C\u0430\u0442\u0438 \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0456 \u0456\u043C\u0435\u043D\u0430 \u0432 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u0456\u043D\u0448\u0435 \u0456\u043C'\u044F.",L="\u0412\u0438\u0445\u0456\u0434\u043D\u0435 \u0456\u043C'\u044F \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u043F\u0440\u0438\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432. <a href='${docLink}' target='_blank'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435.</a>",b="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u0443\u0432\u0430\u0442\u0438 \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u0448\u0430\u0440 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u0438\u0439 \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0447\u0435\u0440\u0435\u0437 \u043E\u0434\u043D\u0435 \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u043F\u043E\u043B\u0456\u0432. \u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442, \u0449\u043E\u0431 \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0448\u0430\u0440 \u0456\u0437 \u0434\u0456\u0439\u0441\u043D\u0438\u043C\u0438 \u043F\u043E\u043B\u044F\u043C\u0438.",N="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0430\u043D\u0430\u043B\u0456\u0437.",g="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043F\u0440\u0438\u043D\u0430\u0439\u043C\u043D\u0456 \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043D\u0435 \u0454 \u043F\u0440\u043E\u0431\u0456\u043B\u043E\u043C.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.2.0-next.9 */
4
+ import"./GMMF3LL5.js";var e="\u041D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043D\u044C\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432 \u0434\u043B\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0446\u0456\u0454\u0457 \u043E\u043F\u0435\u0440\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0441\u0432\u043E\u0433\u043E \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0433\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430 ArcGIS \u043F\u043E \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0443.",a="\u0426\u0435\u0439 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u043E\u0432\u0430\u043D\u043E \u0437 \u0431\u043B\u043E\u043A\u043D\u043E\u0442\u0443. \u0414\u043E\u0441\u0442\u0443\u043F \u0434\u043E ArcGIS Notebooks \u0437\u0430\u0431\u043B\u043E\u043A\u043E\u0432\u0430\u043D\u043E \u0434\u043B\u044F \u0432\u0430\u0448\u043E\u0457 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0417\u0432\u0435\u0440\u043D\u0456\u0442\u044C\u0441\u044F \u0434\u043E \u0430\u0434\u043C\u0456\u043D\u0456\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438.",r="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 ${ additionalProperty }.",t="${ dataPath } \u043C\u0430\u0454 \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F \u0437\u0456 \u0441\u0445\u0435\u043C\u043E\u044E \u043E\u0434\u043D\u043E\u0433\u043E \u0437 \u0446\u0438\u0445: ${ schemaOptions }.",o="\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u043A\u0430\u0440\u0442\u0443 \u0449\u0435 \u0440\u0430\u0437.",s="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u043E\u0446\u0456\u043D\u043A\u0443 \u043A\u0456\u043B\u044C\u043A\u043E\u0441\u0442\u0456 \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u0437\u0430\u043D\u043E\u0432\u043E \u043E\u0446\u0456\u043D\u0456\u0442\u044C \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043A\u0440\u0435\u0434\u0438\u0442\u0456\u0432.",i="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430.",l="${ dataPath } \u043C\u0430\u0454 \u0434\u043E\u0440\u0456\u0432\u043D\u044E\u0432\u0430\u0442\u0438 \u043E\u0434\u043D\u043E\u043C\u0443 \u0437 \u0446\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u044C: ${ allowedValues }.",d="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0456\u0441\u0442\u043E\u0440\u0456\u044E \u0430\u043D\u0430\u043B\u0456\u0437\u0443",n="\u0421\u0445\u043E\u0432\u0438\u0449\u0435 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u0435. \u0412\u0438\u0434\u0430\u043B\u0456\u0442\u044C \u0434\u0435\u044F\u043A\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0437 \u0456\u0441\u0442\u043E\u0440\u0456\u0457 \u0430\u043D\u0430\u043B\u0456\u0437\u0443 \u0442\u0430 \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",c="\u041D\u0430\u0437\u0432\u0430 \u0441\u0435\u0440\u0432\u0456\u0441\u0443 \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",m="\u0417\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u043E\u0433\u043E \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0432\u0435\u043A\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0448\u0430\u0440\u0443 \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043A\u043B\u044E\u0447\u043E\u0432\u0456 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456.",E="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0448\u0430\u0440.",h="\u0428\u0430\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439.",y="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u0431\u0456\u043B\u044C\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",P="\u041F\u0456\u0434 \u0447\u0430\u0441 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F \u043C\u043E\u0434\u0435\u043B\u0456 \u0432\u0438\u043D\u0438\u043A\u043B\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0437\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0449\u0435 \u0440\u0430\u0437.",p="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432.",S="${ dataPath } \u043D\u0435 \u043C\u043E\u0436\u0435 \u043C\u0430\u0442\u0438 \u043C\u0435\u043D\u0448\u0435 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432.",$="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0456. \u041F\u0435\u0440\u0435\u043A\u043E\u043D\u0430\u0439\u0442\u0435\u0441\u044C, \u0449\u043E \u043C\u043E\u0434\u0435\u043B\u044C \u0456\u0441\u043D\u0443\u0454, \u0456 \u0449\u043E \u043D\u0430\u0434\u0430\u043D\u043E \u0434\u043E\u0437\u0432\u0456\u043B \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F.",v="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0432\u0438\u043A\u043E\u043D\u0430\u0442\u0438 \u0437\u0430\u043F\u0438\u0442.",f="\u0423 \u0432\u0430\u0441 \u043D\u0435\u043C\u0430\u0454 \u043F\u0440\u0430\u0432 \u043D\u0430 \u0437\u0430\u043F\u0443\u0441\u043A \u0446\u044C\u043E\u0433\u043E \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0443. <calcite-link target='_blank' href='${ docLink }'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435 </calcite-link>",F="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 \u043F\u043E\u0440\u0442\u0430\u043B\u0456.",I="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u0438 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456.",k="${ dataPath } \u043D\u0435 \u043C\u0430\u0454 \u0432\u043B\u0430\u0441\u0442\u0438\u0432\u043E\u0441\u0442\u0456 \u0437 \u043D\u0430\u0437\u0432\u043E\u044E ${ missingProperty }.",T="\u0428\u0430\u0440 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u0437 \u0442\u0430\u043A\u0438\u043C \u0456\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0456\u0441\u043D\u0443\u0454. \u0428\u0430\u0440\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043F\u043E\u0432\u0438\u043D\u043D\u0456 \u043C\u0430\u0442\u0438 \u0443\u043D\u0456\u043A\u0430\u043B\u044C\u043D\u0456 \u0456\u043C\u0435\u043D\u0430 \u0432 \u043E\u0440\u0433\u0430\u043D\u0456\u0437\u0430\u0446\u0456\u0457. \u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u0456\u043D\u0448\u0435 \u0456\u043C'\u044F.",L="\u0412\u0438\u0445\u0456\u0434\u043D\u0435 \u0456\u043C'\u044F \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u043E\u0434\u0438\u043D \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u043F\u0440\u0438\u043F\u0443\u0441\u0442\u0438\u043C\u0438\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432. <a href='${docLink}' target='_blank'>\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435.</a>",b="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043E\u043F\u0443\u0431\u043B\u0456\u043A\u0443\u0432\u0430\u0442\u0438 \u0442\u0438\u043C\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u0448\u0430\u0440 \u044F\u043A \u0440\u043E\u0437\u043C\u0456\u0449\u0435\u043D\u0438\u0439 \u043D\u0430 \u0445\u043E\u0441\u0442\u0456 \u0447\u0435\u0440\u0435\u0437 \u043E\u0434\u043D\u0435 \u0430\u0431\u043E \u043A\u0456\u043B\u044C\u043A\u0430 \u043D\u0435\u0434\u0456\u0439\u0441\u043D\u0438\u0445 \u043F\u043E\u043B\u0456\u0432. \u041F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442, \u0449\u043E\u0431 \u0441\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0448\u0430\u0440 \u0456\u0437 \u0434\u0456\u0439\u0441\u043D\u0438\u043C\u0438 \u043F\u043E\u043B\u044F\u043C\u0438.",N="\u041D\u0435 \u0432\u0434\u0430\u043B\u043E\u0441\u044F \u043D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0456\u0442\u044C \u0443\u043D\u0438\u0437, \u0432\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u0442\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0437\u0430\u043F\u0443\u0441\u0442\u0456\u0442\u044C \u0430\u043D\u0430\u043B\u0456\u0437.",g="${ dataPath } \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0430\u0442\u0438 \u043F\u0440\u0438\u043D\u0430\u0439\u043C\u043D\u0456 \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043D\u0435 \u0454 \u043F\u0440\u043E\u0431\u0456\u043B\u043E\u043C.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{e,f as t}from"./UNBTQP3H.js";import"./CSOVKKCB.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
3
+ v1.2.0-next.9 */
4
+ import{e,f as t}from"./XXXOSE3A.js";import"./GMMF3LL5.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
@@ -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.8 */
4
- import c from"./K66IIFGC.js";import a from"./HPA3S6EH.js";import{J as I,lb as b,mb as P,q as A}from"./YOT3LZNC.js";import{g as p}from"./DAJPL7A6.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
3
+ v1.2.0-next.9 */
4
+ import c from"./N7FAWN5M.js";import a from"./Z22V6QBU.js";import{J as I,lb as b,mb as P,q as A}from"./YGMQKOCF.js";import{g as p}from"./U2ZUAQAO.js";export default $arcgis.t(([{e:R,f:E,g:D,j:f,k:y},{a:O,b:h,d:m}])=>{var J=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new p({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,i){let d=a?.start?a.start:1,n=a?.num?a.num:24,N=this.portalUrl+"/sharing/rest",K=this.agolPortalUrl+"/sharing/rest",T=this.anonAgolSession,U=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==U||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:U,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o;if(i&&i.size>0){let c=O(this.cardCache,i);o=h(c,d,n)}else o=h(this.cardCache,d,n);return Promise.resolve(o)}let F={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},u=[];if(r){let o=t||new p({});u.push(P(r,e.q,o,F,N))}return s&&u.push(P(s,e.q,T,F,K)),Promise.allSettled(u).then(o=>{let c=[];o.forEach((l,k)=>{let S=!!r&&k===0;if(l.status==="fulfilled"){let w=l.value,C="",q=!1;S?C=this.portalUrl:(C=this.agolPortalUrl,q=!0),w.results.forEach(v=>{v.sourcePortalUrl=C,v.knownToBePublicSource=q}),c.push(w)}else if(l.status==="rejected")throw new Error(S?l.reason.message:"enterpriseCannotAccessAGO")}),c.length===0?this.cardCache=[]:c.length===1?this.cardCache=this.getCardsFromResponse(c[0]):this.cardCache=m(this.getCardsFromResponse(this.mergeResponses(c)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let g;if(i&&i.size>0){let l=O(this.cardCache,i);g=h(l,d,n)}else g=h(this.cardCache,d,n);return Promise.resolve(g)}).catch(o=>Promise.reject(new Error(o.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=m(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return b(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?A(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+E([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:D(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:f(r.created,this.locale),modified:f(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:R(r.licenseInfo),deployCommonId:y(r.typeKeywords||[],"solutionid-"),deployVersion:y(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,canDeploy:(r.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};return J},a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{a as t}from"./QWORBXNV.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.9 */
4
+ import{a as t}from"./TBPF6SO3.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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.9 */
4
+ import{a}from"./GBGJBGUK.js";import"./Q4IGYD5G.js";import"./SNWEMDNE.js";import"./TBPF6SO3.js";import"./MSFRHRPB.js";import"./ZM2AVFHJ.js";import"./VV5K6N5X.js";import"./GMMF3LL5.js";export{a as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{d as g}from"./UJQYAOZR.js";import"./JWECLXIX.js";import{b as m}from"./NUBZKYGY.js";import{a as u}from"./XSQ3F75X.js";import"./5QWPDEIM.js";import"./YSM46MQM.js";import{b as p}from"./5J45SC6T.js";import{C as c,D as h,E as d,h as n,i,o as a,r as l}from"./4UW2NAO4.js";import"./CSOVKKCB.js";var C=n`@layer{/** @license
3
+ v1.2.0-next.9 */
4
+ import{d as g}from"./ORFE67XW.js";import"./P54F6CZT.js";import{b as m}from"./H6G6FKR2.js";import{a as u}from"./CZ72FQ7X.js";import"./WKELBEB2.js";import"./F2XNSGGK.js";import{b as p}from"./ZYY4LF54.js";import{C as c,D as h,E as d,h as n,i,o as a,r as l}from"./RYOWYFUL.js";import"./GMMF3LL5.js";var C=n`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{a,b}from"./7J23JVW4.js";import"./QVMJ2ERO.js";import"./AWUMOVFD.js";import"./UNBTQP3H.js";import"./CSOVKKCB.js";export{a as SurveyEditorTypes,b as SurveySchema};
3
+ v1.2.0-next.9 */
4
+ import{a,b}from"./4VTM3ZUV.js";import"./KKO6ZDNC.js";import"./RHMNOJ7E.js";import"./XXXOSE3A.js";import"./GMMF3LL5.js";export{a as SurveyEditorTypes,b as SurveySchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{l as g}from"./NGIFYBG2.js";import{c as i,d as f}from"./7H3RLLAJ.js";import{a as o}from"./HIZ63N6P.js";import{b as c}from"./2MW5FFFN.js";import{c as m,j as l,k as s,l as d,w as p}from"./DT5VPDH3.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.2.0-next.9 */
4
+ import{l as g}from"./TFSMCGSH.js";import{c as i,d as f}from"./NQZ5P5UT.js";import{a as o}from"./XZIPESS6.js";import{b as c}from"./MQXT4KW4.js";import{c as m,j as l,k as s,l as d,w as p}from"./JZ2PUZAX.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -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.8 */
4
- import{a}from"./3HBBMXHE.js";import"./CSOVKKCB.js";export default a();
3
+ v1.2.0-next.9 */
4
+ import{a}from"./TFHYN3ET.js";import"./GMMF3LL5.js";export default a();
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{d as s}from"./Y5BRDADM.js";import"./EYXMOG4T.js";import"./BZOHPBSK.js";import"./6DNV5PJB.js";import"./CSOVKKCB.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
3
+ v1.2.0-next.9 */
4
+ import{d as s}from"./CFSGJY75.js";import"./MSFRHRPB.js";import"./ZM2AVFHJ.js";import"./VV5K6N5X.js";import"./GMMF3LL5.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a 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.8 */
4
- import{a as e}from"./QVMJ2ERO.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.2.0-next.9 */
4
+ import{a as e}from"./KKO6ZDNC.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import"./CSOVKKCB.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.2.0-next.9 */
4
+ import"./GMMF3LL5.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.8 */
4
- import{a as e}from"./QVMJ2ERO.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.2.0-next.9 */
4
+ import{a as e}from"./KKO6ZDNC.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};