@esri/solutions-components 1.2.0-next.22 → 1.2.0-next.24

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 (465) hide show
  1. package/dist/cdn/{ATV7OCMV.js → 27VT6FGO.js} +1 -1
  2. package/dist/cdn/{5ISMY7M2.js → 27YRRENY.js} +2 -2
  3. package/dist/cdn/{TAHGD2O4.js → 2AI475Q6.js} +2 -2
  4. package/dist/cdn/{NAWETRQ6.js → 2BLFCKKA.js} +2 -2
  5. package/dist/cdn/2CCBXSKK.js +4 -0
  6. package/dist/cdn/{DTITQ4KX.js → 2JWUVZ2L.js} +1 -1
  7. package/dist/cdn/{XUVQ6BRC.js → 2KHJ7DAR.js} +2 -2
  8. package/dist/cdn/{IDY2HCL4.js → 2KZX4PSI.js} +2 -2
  9. package/dist/cdn/{VXMBJE2D.js → 2M4ILWS4.js} +2 -2
  10. package/dist/cdn/{NK5RFP3X.js → 2PC724CH.js} +2 -2
  11. package/dist/cdn/2PHLVPTR.js +4 -0
  12. package/dist/cdn/{DPUIBCUX.js → 2S3FX57Y.js} +2 -2
  13. package/dist/cdn/{FXUF5PDO.js → 2YG6C32T.js} +2 -2
  14. package/dist/cdn/{IKXRXOR4.js → 2ZWVBNPH.js} +2 -2
  15. package/dist/cdn/{7AMGNCI5.js → 34HAWRGI.js} +2 -2
  16. package/dist/cdn/{QEMWXWF7.js → 35KLNGC5.js} +2 -2
  17. package/dist/cdn/{WU3PDZMB.js → 36BDQG6C.js} +2 -2
  18. package/dist/cdn/{5GXSDMY4.js → 3DQY36BR.js} +2 -2
  19. package/dist/cdn/{TIUHRZUS.js → 3E3IBLXH.js} +2 -2
  20. package/dist/cdn/{DKO57ZWW.js → 3G3I5XU7.js} +2 -2
  21. package/dist/cdn/3LF35Q54.js +4 -0
  22. package/dist/cdn/{IX5DZANU.js → 3P4LQ4TN.js} +2 -2
  23. package/dist/cdn/{K7EO7SCJ.js → 3VUSEXMB.js} +2 -2
  24. package/dist/cdn/{K3I6QOKJ.js → 3WHGZJJS.js} +2 -2
  25. package/dist/cdn/{TJFMZ5AI.js → 3WPZIU5L.js} +2 -2
  26. package/dist/cdn/{SSIC74L6.js → 43NXLAVY.js} +2 -2
  27. package/dist/cdn/{D7WRWG4G.js → 443EHILD.js} +2 -2
  28. package/dist/cdn/4BXRZ62B.js +4 -0
  29. package/dist/cdn/{JDGP7IH2.js → 4EQVVEVL.js} +2 -2
  30. package/dist/cdn/{PV2QCV7Z.js → 4HFOPNFI.js} +2 -2
  31. package/dist/cdn/{LPRTYYSR.js → 4JCL7LZR.js} +2 -2
  32. package/dist/cdn/{4DVTM7ED.js → 4JHKVR7I.js} +2 -2
  33. package/dist/cdn/{VNWZKWFC.js → 4QNOYSPY.js} +2 -2
  34. package/dist/cdn/{MUW67XQT.js → 4RNO5M22.js} +2 -2
  35. package/dist/cdn/{P5M23NUP.js → 4RTC5XWR.js} +2 -2
  36. package/dist/cdn/{3BA4TVKZ.js → 4SOCIVF6.js} +1 -1
  37. package/dist/cdn/{4T5OFFVJ.js → 4WOSAZZE.js} +2 -2
  38. package/dist/cdn/{J6QQCPG3.js → 4Y7ZVP46.js} +2 -2
  39. package/dist/cdn/{ZVJJI7J2.js → 55A2KYUG.js} +2 -2
  40. package/dist/cdn/{4QQCA3U4.js → 5AERAR2L.js} +1 -1
  41. package/dist/cdn/{FWSZLG4E.js → 5D7BHC5A.js} +2 -2
  42. package/dist/cdn/{T7FLMBUP.js → 5JZITWD2.js} +2 -2
  43. package/dist/cdn/{B5FNHYSZ.js → 5N7W6CKG.js} +2 -2
  44. package/dist/cdn/{NVZ7ZC4O.js → 5NLABLUG.js} +2 -2
  45. package/dist/cdn/{P7475IP6.js → 5ROXJJIZ.js} +2 -2
  46. package/dist/cdn/{JFWEV72O.js → 5TKI4FG4.js} +2 -2
  47. package/dist/cdn/{HUSG6A7E.js → 5V5O4IVZ.js} +2 -2
  48. package/dist/cdn/{5ON45F2D.js → 5XHMHEC7.js} +2 -2
  49. package/dist/cdn/{ISSOGJCD.js → 63DFPGXG.js} +2 -2
  50. package/dist/cdn/{RZDW2F4Y.js → 67TNRLBR.js} +2 -2
  51. package/dist/cdn/{I7NZK7VA.js → 6EHWI7JM.js} +2 -2
  52. package/dist/cdn/{XYR6PESG.js → 6JJBGLJE.js} +2 -2
  53. package/dist/cdn/{WV4YBBNZ.js → 6MECJUZM.js} +2 -2
  54. package/dist/cdn/{RCYLKWSP.js → 6R6WIO6H.js} +2 -2
  55. package/dist/cdn/{5WF2EVNT.js → 6WW2DA2G.js} +1 -1
  56. package/dist/cdn/{RHCVCLZT.js → 6XXBH32V.js} +2 -2
  57. package/dist/cdn/{M5L46EPB.js → 6Z47NIFS.js} +2 -2
  58. package/dist/cdn/{X6ZQSZQU.js → 6Z7A2SPS.js} +2 -2
  59. package/dist/cdn/{YQCBAF3G.js → 73OBTSKG.js} +2 -2
  60. package/dist/cdn/{SDDG4ZNW.js → 74AIX5RH.js} +1 -1
  61. package/dist/cdn/{WKQ2RBCF.js → 75CES5F2.js} +2 -2
  62. package/dist/cdn/{6GY47336.js → 76RER7LN.js} +2 -2
  63. package/dist/cdn/{6SZHNYTZ.js → 7GAWPJYN.js} +2 -2
  64. package/dist/cdn/{6QELS3Z2.js → 7HWYZVCJ.js} +2 -2
  65. package/dist/cdn/{FIFGGEED.js → 7LEW57R4.js} +2 -2
  66. package/dist/cdn/{CEJRXTAP.js → 7OW5IQNG.js} +2 -2
  67. package/dist/cdn/{TFU6LP44.js → 7QBFHK6I.js} +2 -2
  68. package/dist/cdn/{BDGTGDFW.js → 7UWI5KWK.js} +2 -2
  69. package/dist/cdn/{TTOAZGMT.js → A65SF5TP.js} +2 -2
  70. package/dist/cdn/{FBBVBR5A.js → AAXTQRZG.js} +2 -2
  71. package/dist/cdn/{UX6HCXQS.js → ANOEINZT.js} +2 -2
  72. package/dist/cdn/{DCNCQVZU.js → ANWXMLC5.js} +2 -2
  73. package/dist/cdn/{DNJTQZGW.js → AO32HRV6.js} +2 -2
  74. package/dist/cdn/{WZBY5ZWL.js → ASC5OMBD.js} +2 -2
  75. package/dist/cdn/{7I6EJ6DQ.js → AVA46ODH.js} +2 -2
  76. package/dist/cdn/{WPXB7ULE.js → B6DL7APO.js} +2 -2
  77. package/dist/cdn/{OA5YW6CR.js → BEV4LNQI.js} +2 -2
  78. package/dist/cdn/{BSVWOZY5.js → BF6B5YPC.js} +1 -1
  79. package/dist/cdn/{OKHNCIUI.js → BGC5OXBC.js} +2 -2
  80. package/dist/cdn/{4N6YXJN2.js → BLIFIP2J.js} +2 -2
  81. package/dist/cdn/{PEAGXXX7.js → BOHI7OOB.js} +1 -1
  82. package/dist/cdn/{OQNBWIYI.js → BR65SFX2.js} +1 -1
  83. package/dist/cdn/{SCGPU45I.js → BTLVFHR2.js} +1 -1
  84. package/dist/cdn/{LY574EPN.js → BUJ7HMXE.js} +2 -2
  85. package/dist/cdn/{JRQYZJIL.js → BUQMZQDZ.js} +2 -2
  86. package/dist/cdn/{2LAEPCUT.js → C5H65524.js} +2 -2
  87. package/dist/cdn/{4NKIAU37.js → C7RFHH22.js} +2 -2
  88. package/dist/cdn/{FOBH7PYG.js → CE2PWV2T.js} +2 -2
  89. package/dist/cdn/{D64YWVBM.js → CELVLTD3.js} +2 -2
  90. package/dist/cdn/{7V4NDZHP.js → CFRDPWXR.js} +2 -2
  91. package/dist/cdn/{S44FPEJZ.js → CHNYABSO.js} +2 -2
  92. package/dist/cdn/{VRVJCGDV.js → CLFLK4OG.js} +2 -2
  93. package/dist/cdn/{MKN4Z56R.js → CO3TU24E.js} +2 -2
  94. package/dist/cdn/{EZQK7BI4.js → CQIWHMR3.js} +1 -1
  95. package/dist/cdn/{K4OCUFNZ.js → CSH7RK4L.js} +2 -2
  96. package/dist/cdn/{LRRKW6H5.js → CYADZ6PK.js} +2 -2
  97. package/dist/cdn/{K3B77KNR.js → CYG5JUF7.js} +1 -1
  98. package/dist/cdn/{6ZQWYLNF.js → CZIXYCET.js} +2 -2
  99. package/dist/cdn/{EGOO6T5E.js → D67LKKO3.js} +2 -2
  100. package/dist/cdn/{VSJVIZGQ.js → D7WDGASK.js} +36 -34
  101. package/dist/cdn/{UKS25OFJ.js → DCNEHZTW.js} +2 -2
  102. package/dist/cdn/{GTCHPWOM.js → DED6BDXL.js} +2 -2
  103. package/dist/cdn/{BZJ6ESSC.js → DFO6WKOY.js} +2 -2
  104. package/dist/cdn/{IDFQGGDV.js → DK5FUIGH.js} +1 -1
  105. package/dist/cdn/{43XU6K7E.js → DQZF7IPW.js} +2 -2
  106. package/dist/cdn/{PRACR4OZ.js → DUYSEICC.js} +2 -2
  107. package/dist/cdn/{SIGC4HV4.js → DVGLTRJU.js} +1 -1
  108. package/dist/cdn/{IRZC2FGR.js → DW7PYNVR.js} +2 -2
  109. package/dist/cdn/{ME7PTO3E.js → DWL4LXGS.js} +14 -14
  110. package/dist/cdn/{AZERSVAV.js → E23BMOKL.js} +2 -2
  111. package/dist/cdn/{YGQM56OM.js → E4JZL5IT.js} +2 -2
  112. package/dist/cdn/{ZQV3UEGN.js → EAS42GZC.js} +1 -1
  113. package/dist/cdn/{V2SZ77LE.js → EE3RLK54.js} +2 -2
  114. package/dist/cdn/{RDHTUBN7.js → EHS77SRG.js} +2 -2
  115. package/dist/cdn/{LKPIRCG4.js → EIXF5OZH.js} +1 -1
  116. package/dist/cdn/EJX4TNGV.js +18 -0
  117. package/dist/cdn/{NAY26ZKT.js → ENUF5QK4.js} +2 -2
  118. package/dist/cdn/{STRDFVCX.js → EOLIKK4H.js} +2 -2
  119. package/dist/cdn/{ZORVIUJJ.js → EOZZELAV.js} +2 -2
  120. package/dist/cdn/{WZB4BJD4.js → EROCJUGG.js} +2 -2
  121. package/dist/cdn/{AZBT7TRF.js → ERSOKPXT.js} +2 -2
  122. package/dist/cdn/{BRKMDWXS.js → EY4LNEPF.js} +2 -2
  123. package/dist/cdn/{SQWMQEXG.js → EYIL3WCN.js} +2 -2
  124. package/dist/cdn/{ASZKILYC.js → F37UKUAV.js} +2 -2
  125. package/dist/cdn/{AZLSPTNN.js → FAFTQRQY.js} +2 -2
  126. package/dist/cdn/{O7W4WOJI.js → FBAY6DO3.js} +2 -2
  127. package/dist/cdn/{U5C4UNHM.js → FCJJ2E2N.js} +2 -2
  128. package/dist/cdn/{OYLG7NMH.js → FDGI4V7M.js} +2 -2
  129. package/dist/cdn/{KVWUHT6P.js → FEODTSQT.js} +2 -2
  130. package/dist/cdn/{QKKOOLCZ.js → FFLBALPH.js} +2 -2
  131. package/dist/cdn/{WE6HWGXJ.js → FFZY7CPX.js} +2 -2
  132. package/dist/cdn/{HB3S47XT.js → FLA5RSAG.js} +2 -2
  133. package/dist/cdn/{RHFWWEBY.js → FLMS2TR4.js} +2 -2
  134. package/dist/cdn/{PEDZ3CZE.js → FLMVVIYI.js} +2 -2
  135. package/dist/cdn/{TZWUZYFQ.js → FVLOODPF.js} +2 -2
  136. package/dist/cdn/{WAQBAPR3.js → FWE4FUJH.js} +2 -2
  137. package/dist/cdn/{HZAZFSYY.js → FY6XKBZS.js} +2 -2
  138. package/dist/cdn/{J7WGRAVD.js → G24DNHCB.js} +2 -2
  139. package/dist/cdn/{BIDEU7W3.js → G37T64CV.js} +2 -2
  140. package/dist/cdn/{NPNHPZAS.js → G7OBBNFQ.js} +2 -2
  141. package/dist/cdn/GDO7SFZU.js +18 -0
  142. package/dist/cdn/{VLKS5OXM.js → GFXNHLR7.js} +2 -2
  143. package/dist/cdn/{HX7JRDBY.js → GGQUPRRV.js} +2 -2
  144. package/dist/cdn/{UFVKB5BE.js → GHD3JMA4.js} +2 -2
  145. package/dist/cdn/{VMCWUHIT.js → GHZ256AS.js} +4 -4
  146. package/dist/cdn/{ZCR63VKD.js → GJEPJCWP.js} +2 -2
  147. package/dist/cdn/{A3RFYTTG.js → GKD47RX5.js} +1 -1
  148. package/dist/cdn/{LSUPOGJI.js → GKS4SDRE.js} +2 -2
  149. package/dist/cdn/{AOTY27J7.js → GQYBA7GH.js} +2 -2
  150. package/dist/cdn/{XJUYCZK6.js → GWYYMTWP.js} +2 -2
  151. package/dist/cdn/{K6P572FU.js → GYIUJFGM.js} +2 -2
  152. package/dist/cdn/{VRWUCH5D.js → GZK6A527.js} +2 -2
  153. package/dist/cdn/{2J76TI3Y.js → H2UXJKPU.js} +1 -1
  154. package/dist/cdn/{SVZ3OKM7.js → H34VS27L.js} +2 -2
  155. package/dist/cdn/{ALPEUENN.js → HBNX26U7.js} +2 -2
  156. package/dist/cdn/{WGR5GX2D.js → HBOBM65G.js} +2 -2
  157. package/dist/cdn/{UDOBEWPP.js → HF6CCTGX.js} +2 -2
  158. package/dist/cdn/{ICZLPAYA.js → HFSAMU3B.js} +2 -2
  159. package/dist/cdn/{MIECMGBZ.js → HP4JIDLF.js} +2 -2
  160. package/dist/cdn/{FNWAWKAT.js → HRKWHIYV.js} +2 -2
  161. package/dist/cdn/{3E5MUBDX.js → HST46P5Y.js} +2 -2
  162. package/dist/cdn/{G36XD6KA.js → HWKBNZEW.js} +2 -2
  163. package/dist/cdn/{NH67I2JP.js → HXHGWVUO.js} +2 -2
  164. package/dist/cdn/{QCXTCMEW.js → I5JM65X6.js} +2 -2
  165. package/dist/cdn/{DTGCP5A5.js → IBLOFUUX.js} +2 -2
  166. package/dist/cdn/{DLFCYL32.js → II25P5CO.js} +2 -2
  167. package/dist/cdn/{O3BS4V4J.js → IJEJXWF7.js} +2 -2
  168. package/dist/cdn/{QEZQG4UJ.js → IKBTX6QZ.js} +2 -2
  169. package/dist/cdn/{WZHAHR26.js → ILRIV2PZ.js} +2 -2
  170. package/dist/cdn/{K5E7SDHF.js → IMPPWVVG.js} +2 -2
  171. package/dist/cdn/{KU4LDDKR.js → J4UA37P6.js} +2 -2
  172. package/dist/cdn/{FWGNWNBB.js → J5GBXHV7.js} +2 -2
  173. package/dist/cdn/{TU2WGWTD.js → JEWJNGE6.js} +2 -2
  174. package/dist/cdn/{6KLNSSNI.js → JGT3UVSS.js} +2 -2
  175. package/dist/cdn/{CJZQ6JFL.js → JIREIGOU.js} +2 -2
  176. package/dist/cdn/{3BSOZ44L.js → JKYLZXQW.js} +2 -2
  177. package/dist/cdn/{TIYTFD5S.js → JOSEALSV.js} +2 -2
  178. package/dist/cdn/{V7HJUDXK.js → JYBZAUFS.js} +2 -2
  179. package/dist/cdn/{7P2XP63S.js → K2C56RZ4.js} +3 -3
  180. package/dist/cdn/{GMMRDHZU.js → K2VMZCUX.js} +2 -2
  181. package/dist/cdn/K3OZMGZ3.js +4 -0
  182. package/dist/cdn/{LOM2QEE7.js → K4HRSAES.js} +2 -2
  183. package/dist/cdn/{MHS63FKV.js → KESHQJDL.js} +2 -2
  184. package/dist/cdn/{HWECP5SJ.js → KG4IFWCZ.js} +2 -2
  185. package/dist/cdn/{AWZQ2TRC.js → KIUNRSQA.js} +2 -2
  186. package/dist/cdn/{I3MJVYAU.js → KOT36X5I.js} +2 -2
  187. package/dist/cdn/{A4LF2IU3.js → KRZ6DGKX.js} +2 -2
  188. package/dist/cdn/{BQG6YY27.js → KSO7CXKH.js} +2 -2
  189. package/dist/cdn/{ZMXSR2TT.js → KTJDLUIU.js} +2 -2
  190. package/dist/cdn/{UEQV47GY.js → KWTCG2SE.js} +2 -2
  191. package/dist/cdn/{UWWHODFG.js → KX7PNFBK.js} +2 -2
  192. package/dist/cdn/{GBRE25RH.js → KXKFOLKN.js} +1 -1
  193. package/dist/cdn/{BZNPKPP7.js → KZD2C2ML.js} +2 -2
  194. package/dist/cdn/{RUT6CBUH.js → L2WHYM3J.js} +1 -1
  195. package/dist/cdn/{3U6NZ374.js → L6PIPEF2.js} +2 -2
  196. package/dist/cdn/{5Y7G2BLZ.js → LCZYX2MS.js} +2 -2
  197. package/dist/cdn/{SF5F7OGC.js → LG6DSYZW.js} +2 -2
  198. package/dist/cdn/{KYBUZUQT.js → LH3A7YCF.js} +2 -2
  199. package/dist/cdn/{LVKU6CB5.js → LNFEAJAZ.js} +2 -2
  200. package/dist/cdn/{XEQPE5AQ.js → LOIGPO5O.js} +2 -2
  201. package/dist/cdn/{V2SNCDR5.js → LPQM324E.js} +2 -2
  202. package/dist/cdn/{LJQD3F2H.js → LQVI3NR7.js} +2 -2
  203. package/dist/cdn/{UK3KUJMQ.js → LYXGPO4K.js} +1 -1
  204. package/dist/cdn/{BSE6M452.js → MLY5XS76.js} +2 -2
  205. package/dist/cdn/{EU3IQK3Z.js → MSBJECJS.js} +2 -2
  206. package/dist/cdn/{ITEAXFL7.js → MTH7WCDT.js} +2 -2
  207. package/dist/cdn/{NTQTWQB6.js → MWLY3N7C.js} +2 -2
  208. package/dist/cdn/{OUIIIMBH.js → MZVQVHJA.js} +2 -2
  209. package/dist/cdn/{N3SINIML.js → NAUVQEGN.js} +2 -2
  210. package/dist/cdn/{TNLGNDJT.js → NBZ4SJV4.js} +2 -2
  211. package/dist/cdn/{ULCE466Z.js → NDJVE732.js} +2 -2
  212. package/dist/cdn/{UHXHSSXB.js → NEDCAXJL.js} +2 -2
  213. package/dist/cdn/{76CP2OWS.js → NI64NXLH.js} +1 -1
  214. package/dist/cdn/{DJOW4VU6.js → NWOOAUG7.js} +2 -2
  215. package/dist/cdn/{ENZNXZL6.js → NX4JHBIH.js} +2 -2
  216. package/dist/cdn/{Z6WJEJX2.js → NZO56NNR.js} +2 -2
  217. package/dist/cdn/{56MNA2VS.js → O4ZKMCDY.js} +1 -1
  218. package/dist/cdn/{TXCGA6H6.js → OABMD66T.js} +2 -2
  219. package/dist/cdn/{IGP55N3J.js → OC7V7KCG.js} +2 -2
  220. package/dist/cdn/{ZOZBNFAW.js → OJG6HIKN.js} +2 -2
  221. package/dist/cdn/{EMCKMG77.js → OLKLMVT2.js} +2 -2
  222. package/dist/cdn/{3WSM6NO6.js → OOSMF7MX.js} +2 -2
  223. package/dist/cdn/{SMH6JAXF.js → OPFB2Y4V.js} +2 -2
  224. package/dist/cdn/{VXLOZPRP.js → OQF6YVUK.js} +2 -2
  225. package/dist/cdn/{RQLUKQEG.js → OUYGAAGX.js} +2 -2
  226. package/dist/cdn/{RAFE4Y2S.js → OYGODC65.js} +2 -2
  227. package/dist/cdn/{G6R3KQSS.js → P3LUAT4F.js} +2 -2
  228. package/dist/cdn/{J6I4CQUW.js → P6OT3PMN.js} +2 -2
  229. package/dist/cdn/P7A24J32.js +18 -0
  230. package/dist/cdn/{7KWP5FHY.js → P7H776WT.js} +2 -2
  231. package/dist/cdn/{RU6ANVFN.js → PFXC7WOR.js} +2 -2
  232. package/dist/cdn/{DGD6AY26.js → PHHVQRLL.js} +2 -2
  233. package/dist/cdn/{K7GBK475.js → PHLPFYN3.js} +1 -1
  234. package/dist/cdn/{6XC45ETQ.js → PRIALFET.js} +2 -2
  235. package/dist/cdn/{TQQ5N2OO.js → PSACJE2J.js} +2 -2
  236. package/dist/cdn/{Y3M3ZSYR.js → PZ5GGYLN.js} +2 -2
  237. package/dist/cdn/{LMICKMZD.js → Q4ZZ6NDL.js} +2 -2
  238. package/dist/cdn/{4KD2CAOM.js → QBBC7A4Y.js} +1 -1
  239. package/dist/cdn/{VY3LCIKX.js → QC34FER4.js} +2 -2
  240. package/dist/cdn/{H7C3BRTP.js → QGWCUXVU.js} +2 -2
  241. package/dist/cdn/{63KS5ZBF.js → QH2BEMM6.js} +2 -2
  242. package/dist/cdn/{PQDXLQR7.js → QJRGXDSI.js} +2 -2
  243. package/dist/cdn/{5UBEIDUY.js → QO2AZMFP.js} +2 -2
  244. package/dist/cdn/QU33YK2I.js +4 -0
  245. package/dist/cdn/{7BZRS3T5.js → QUO6TIFZ.js} +1 -1
  246. package/dist/cdn/{ZKALBQL6.js → QXX2SNE5.js} +2 -2
  247. package/dist/cdn/{WD7VSNNZ.js → QYQTOIF6.js} +1 -1
  248. package/dist/cdn/{GG6OEQ4D.js → R22HIDGZ.js} +2 -2
  249. package/dist/cdn/{AMEG6Y2U.js → R47VKS7S.js} +2 -2
  250. package/dist/cdn/{KQEG2VSM.js → R6MJ3BWC.js} +1 -1
  251. package/dist/cdn/{67YVVSND.js → REW2XBKZ.js} +1 -1
  252. package/dist/cdn/{QJV2HXKI.js → RFLU2ZRI.js} +2 -2
  253. package/dist/cdn/{6IJ2366S.js → RGGUA4QF.js} +3 -3
  254. package/dist/cdn/{COKCSW5M.js → RPY6EG62.js} +2 -2
  255. package/dist/cdn/{EKAMOWDX.js → RRNRGQVC.js} +2 -2
  256. package/dist/cdn/RXDDH7T7.js +4 -0
  257. package/dist/cdn/{VV26WPIK.js → RY2JRQIA.js} +2 -2
  258. package/dist/cdn/{47BR2SZD.js → SERCADIE.js} +2 -2
  259. package/dist/cdn/{PMAYORJM.js → SGEGTSUZ.js} +2 -2
  260. package/dist/cdn/{VJ3OBFSQ.js → SKGMLLPH.js} +2 -2
  261. package/dist/cdn/{5IGSIDCX.js → SKZURFAS.js} +2 -2
  262. package/dist/cdn/{RWDN5N2Z.js → SMZGBF7A.js} +2 -2
  263. package/dist/cdn/{BWBSEHRI.js → SNLUBEJI.js} +2 -2
  264. package/dist/cdn/{YTT2J3YO.js → SSHAOTEK.js} +2 -2
  265. package/dist/cdn/{E36E5442.js → STHO3HPO.js} +2 -2
  266. package/dist/cdn/{MBB7JMCL.js → SU5NQO2Y.js} +2 -2
  267. package/dist/cdn/{QCJFS667.js → SVTYAHMC.js} +2 -2
  268. package/dist/cdn/{JJMULAR6.js → SZNJD54W.js} +1 -1
  269. package/dist/cdn/{XNTJWPM3.js → T3HXN3EN.js} +2 -2
  270. package/dist/cdn/{UENBDNEI.js → T5CPOSYR.js} +1 -1
  271. package/dist/cdn/{W3D34FZA.js → T6DIELVZ.js} +2 -2
  272. package/dist/cdn/{BDZD3CVH.js → T6FIJDJK.js} +2 -2
  273. package/dist/cdn/{7S22H73A.js → T6KDHTIZ.js} +2 -2
  274. package/dist/cdn/T6NNOIF5.js +4 -0
  275. package/dist/cdn/{GIX2IW6Y.js → T74GGRMS.js} +2 -2
  276. package/dist/cdn/{5AFTWETY.js → T7GSBDIG.js} +2 -2
  277. package/dist/cdn/{W46D2COK.js → TDZ7C2M7.js} +2 -2
  278. package/dist/cdn/{DI7ZAJJN.js → TEY2ATFL.js} +2 -2
  279. package/dist/cdn/{TDOB3OYC.js → TKRGPMED.js} +2 -2
  280. package/dist/cdn/{JOGLZRNT.js → TNHXSGP4.js} +2 -2
  281. package/dist/cdn/{TYKGZHC7.js → TO6ZG5LX.js} +1 -1
  282. package/dist/cdn/{LT3CRKFO.js → TOEQLEDG.js} +2 -2
  283. package/dist/cdn/{IRMKTEGT.js → TRN3X66C.js} +2 -2
  284. package/dist/cdn/{BRZXGWDB.js → TW7EJR75.js} +2 -2
  285. package/dist/cdn/{YUHIK6J3.js → TZ4BYOUZ.js} +2 -2
  286. package/dist/cdn/{BDT5NRCH.js → UIGYM74T.js} +2 -2
  287. package/dist/cdn/{I6OCOHZ5.js → UM5O6SR4.js} +2 -2
  288. package/dist/cdn/{TTI4XUEY.js → UMEH46X4.js} +2 -2
  289. package/dist/cdn/{5A4CLVYZ.js → UNOFD42Q.js} +1 -1
  290. package/dist/cdn/{FLZL5MYI.js → UQVFINXF.js} +2 -2
  291. package/dist/cdn/{5NCBUEPR.js → URRLKSMA.js} +2 -2
  292. package/dist/cdn/{CIIVSICU.js → V2K3CARG.js} +2 -2
  293. package/dist/cdn/{PA4KJ3OT.js → VBGQ7FE6.js} +2 -2
  294. package/dist/cdn/{JP2DX62F.js → VDTXZ2OC.js} +2 -2
  295. package/dist/cdn/{3DII42GS.js → VEUQH5L3.js} +2 -2
  296. package/dist/cdn/{57N3RILQ.js → VGHU623Q.js} +2 -2
  297. package/dist/cdn/{ALSPCWO6.js → VHW5YMZI.js} +2 -2
  298. package/dist/cdn/{KMFXZ7E6.js → VJU2J222.js} +2 -2
  299. package/dist/cdn/{KXZIEXP4.js → VK3OPHNA.js} +2 -2
  300. package/dist/cdn/{JRS2R7FM.js → VK5SHRI7.js} +2 -2
  301. package/dist/cdn/{KRDDFDOO.js → VW2WEXVP.js} +1 -1
  302. package/dist/cdn/{BOSFQLI6.js → VX2H4KEW.js} +2 -2
  303. package/dist/cdn/{ZPUSPQYX.js → W5O6BHYJ.js} +2 -2
  304. package/dist/cdn/{XVFKUURP.js → W6XHOAIY.js} +2 -2
  305. package/dist/cdn/{EQVOII7W.js → W75YFHYB.js} +2 -2
  306. package/dist/cdn/{7RDNACQ2.js → WFZWW33X.js} +2 -2
  307. package/dist/cdn/{DSWZRGSA.js → WL4NQCES.js} +2 -2
  308. package/dist/cdn/{5WJ4J535.js → WNFEGMNZ.js} +2 -2
  309. package/dist/cdn/{U6IOPARX.js → WOXREBHW.js} +2 -2
  310. package/dist/cdn/{JUJMZFNA.js → WOZIGPUB.js} +2 -2
  311. package/dist/cdn/{J5WQSJRQ.js → WP7F5HRM.js} +2 -2
  312. package/dist/cdn/{RBXB7VA5.js → WTVABM3O.js} +2 -2
  313. package/dist/cdn/{2NGTPAY6.js → WUTY55ZF.js} +1 -1
  314. package/dist/cdn/{EFY33UCE.js → WWSSJEOD.js} +2 -2
  315. package/dist/cdn/{JLFACBAC.js → WYDM2CB5.js} +2 -2
  316. package/dist/cdn/{7OQQQ7DH.js → X4DEDSCC.js} +2 -2
  317. package/dist/cdn/{PS2HCXPC.js → X5FANKH6.js} +2 -2
  318. package/dist/cdn/{YDOFUTBW.js → XCDDDB5R.js} +2 -2
  319. package/dist/cdn/{QYW7MR6M.js → XDEV64FQ.js} +2 -2
  320. package/dist/cdn/{P5L3Z4MM.js → XH2Q2TTU.js} +2 -2
  321. package/dist/cdn/{7ZG66OFU.js → XIKGCL6Z.js} +1 -1
  322. package/dist/cdn/{UZDUYYDY.js → XSE22DX2.js} +2 -2
  323. package/dist/cdn/{JDXOSH6W.js → XUNRNHCK.js} +2 -2
  324. package/dist/cdn/{HDHV7JZB.js → XVG5AXU3.js} +2 -2
  325. package/dist/cdn/Y5S76IXI.js +4 -0
  326. package/dist/cdn/{CVDMNQMG.js → YAYHUH5G.js} +2 -2
  327. package/dist/cdn/{RRTLN7R4.js → YEKIMYDO.js} +2 -2
  328. package/dist/cdn/{A3JNJEXJ.js → YFOSFQMV.js} +1 -1
  329. package/dist/cdn/{C2LPPIYP.js → YHMAN2VX.js} +2 -2
  330. package/dist/cdn/{7NF4C7Q6.js → YMNTHO2F.js} +2 -2
  331. package/dist/cdn/{GHAVCIL3.js → YOIQKWPE.js} +2 -2
  332. package/dist/cdn/{ETBLUH5E.js → YWXJ2RX3.js} +2 -2
  333. package/dist/cdn/{MOV63G63.js → Z2EMCTSK.js} +2 -2
  334. package/dist/cdn/{57YR4QF4.js → Z2MGL6AZ.js} +2 -2
  335. package/dist/cdn/{ABU7II4P.js → ZAL2JPN6.js} +1 -1
  336. package/dist/cdn/{TYIKQWD7.js → ZDTIXH2P.js} +2 -2
  337. package/dist/cdn/{W5W7JFTZ.js → ZF5KTUHD.js} +2 -2
  338. package/dist/cdn/{S7ZPZDLD.js → ZGXAJOK6.js} +2 -2
  339. package/dist/cdn/{5IGBKFAS.js → ZJ5VS3XI.js} +2 -2
  340. package/dist/cdn/{4Z3G2C6M.js → ZL7IV42Y.js} +2 -2
  341. package/dist/cdn/{XHLXBLDD.js → ZLEHSIQE.js} +2 -2
  342. package/dist/cdn/{YBNDRIUZ.js → ZT7KJDTU.js} +2 -2
  343. package/dist/cdn/{NHC6L4QY.js → ZVYGJ3ZV.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +2 -2
  349. package/dist/chunks/Auth.js +1 -1
  350. package/dist/chunks/CardsFetcher.js +1 -1
  351. package/dist/chunks/appConfig.js +1 -1
  352. package/dist/chunks/cardFetchingUtils.js +1 -1
  353. package/dist/chunks/cardsHelpers.js +1 -1
  354. package/dist/chunks/common.js +1 -1
  355. package/dist/chunks/deployAppContexts.js +1 -1
  356. package/dist/chunks/downloadUtils.js +1 -1
  357. package/dist/chunks/getItemIcon.js +1 -1
  358. package/dist/chunks/helpers.js +1 -1
  359. package/dist/chunks/interfaces.js +1 -1
  360. package/dist/chunks/loadModules.js +1 -1
  361. package/dist/chunks/mapViewUtils.js +1 -1
  362. package/dist/chunks/pciUtils.js +1 -1
  363. package/dist/chunks/popupUtils.js +1 -1
  364. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  365. package/dist/chunks/privilegeUtils.js +1 -1
  366. package/dist/chunks/publicNotificationContext.js +1 -1
  367. package/dist/chunks/queryUtils.js +43 -38
  368. package/dist/chunks/runtime.js +1 -1
  369. package/dist/chunks/solution-store.js +1 -1
  370. package/dist/chunks/templates.js +1 -1
  371. package/dist/chunks/useT9n.js +1 -1
  372. package/dist/components/arcgis-solutions-assistant/customElement.js +38 -27
  373. package/dist/components/arcgis-solutions-assistant/index.d.ts +1 -0
  374. package/dist/components/arcgis-solutions-assistant/index.js +1 -0
  375. package/dist/components/basemap-gallery/customElement.js +1 -1
  376. package/dist/components/buffer-tools/customElement.js +1 -1
  377. package/dist/components/card-manager/customElement.js +1 -1
  378. package/dist/components/consent-manager/customElement.js +1 -1
  379. package/dist/components/create-feature/customElement.js +1 -1
  380. package/dist/components/create-related-feature/customElement.js +1 -1
  381. package/dist/components/crowdsource-manager/customElement.js +1 -1
  382. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  383. package/dist/components/deduct-calculator/customElement.js +1 -1
  384. package/dist/components/delete-button/customElement.js +1 -1
  385. package/dist/components/delete-dialog/customElement.js +1 -1
  386. package/dist/components/edit-card/customElement.js +1 -1
  387. package/dist/components/feature-details/customElement.js +1 -1
  388. package/dist/components/feature-list/customElement.js +1 -1
  389. package/dist/components/field-selection/customElement.js +1 -1
  390. package/dist/components/floor-filter/customElement.js +1 -1
  391. package/dist/components/info-card/customElement.js +1 -1
  392. package/dist/components/json-editor/customElement.js +1 -1
  393. package/dist/components/layer-list/customElement.js +1 -1
  394. package/dist/components/layer-table/customElement.js +1 -1
  395. package/dist/components/map-card/customElement.js +1 -1
  396. package/dist/components/map-draw-tools/customElement.js +1 -1
  397. package/dist/components/map-fullscreen/customElement.js +1 -1
  398. package/dist/components/map-layer-picker/customElement.js +1 -1
  399. package/dist/components/map-legend/customElement.js +1 -1
  400. package/dist/components/map-picker/customElement.js +1 -1
  401. package/dist/components/map-search/customElement.js +1 -1
  402. package/dist/components/map-select-tools/customElement.js +15 -15
  403. package/dist/components/map-tools/customElement.js +1 -1
  404. package/dist/components/pci-calculator/customElement.js +1 -1
  405. package/dist/components/pdf-download/customElement.js +1 -1
  406. package/dist/components/public-notification/customElement.js +5 -6
  407. package/dist/components/refine-selection/customElement.js +1 -1
  408. package/dist/components/selection-tool/customElement.js +1 -1
  409. package/dist/components/solution-configuration/customElement.js +1 -1
  410. package/dist/components/solution-configure-titles/customElement.js +1 -1
  411. package/dist/components/solution-contents/customElement.js +1 -1
  412. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  413. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  414. package/dist/components/solution-deployed-card/customElement.js +1 -1
  415. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  416. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  417. package/dist/components/solution-details-card/customElement.js +1 -1
  418. package/dist/components/solution-details-panel/customElement.js +27 -30
  419. package/dist/components/solution-item/customElement.js +1 -1
  420. package/dist/components/solution-item-accordion/customElement.js +1 -1
  421. package/dist/components/solution-item-details/customElement.js +1 -1
  422. package/dist/components/solution-item-diagram/customElement.js +116 -113
  423. package/dist/components/solution-item-icon/customElement.js +1 -1
  424. package/dist/components/solution-item-sharing/customElement.js +1 -1
  425. package/dist/components/solution-organization-variables/customElement.js +1 -1
  426. package/dist/components/solution-resource-card/customElement.js +1 -1
  427. package/dist/components/solution-resource-item/customElement.js +1 -1
  428. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  429. package/dist/components/solution-social-share/customElement.js +1 -1
  430. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  431. package/dist/components/solution-template-data/customElement.js +1 -1
  432. package/dist/components/solution-variables/customElement.js +1 -1
  433. package/dist/components/solutions-all-panel/customElement.js +1 -1
  434. package/dist/components/solutions-all-shell/customElement.js +1 -1
  435. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  436. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  437. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-panel/customElement.js +2 -2
  439. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  440. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  441. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  442. package/dist/components/solutions-resources/customElement.js +1 -1
  443. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  444. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  445. package/dist/components/spatial-ref/customElement.js +1 -1
  446. package/dist/components/store-manager/customElement.js +1 -1
  447. package/dist/docs/api.json +1 -1
  448. package/dist/docs/docs.json +1 -1
  449. package/dist/docs/web-types.json +1 -1
  450. package/dist/index.js +1 -1
  451. package/dist/loader.js +1 -1
  452. package/dist/utils/queryUtils.d.ts +2 -2
  453. package/package.json +1 -1
  454. package/dist/cdn/6MLPFUBD.js +0 -4
  455. package/dist/cdn/7NGOIUPA.js +0 -4
  456. package/dist/cdn/ANBPB5IE.js +0 -18
  457. package/dist/cdn/BL7OQNJS.js +0 -4
  458. package/dist/cdn/HYKIFANV.js +0 -18
  459. package/dist/cdn/IVZFPQHF.js +0 -4
  460. package/dist/cdn/O7VEV6AV.js +0 -4
  461. package/dist/cdn/ORFF3N7F.js +0 -18
  462. package/dist/cdn/QKCFMI7O.js +0 -4
  463. package/dist/cdn/TNA4UKTA.js +0 -4
  464. package/dist/cdn/TQUCYDON.js +0 -4
  465. package/dist/cdn/YKNMVOHO.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.22 */
3
+ v1.2.0-next.24 */
4
4
  var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.22 */
4
- import{a as u}from"./6KLNSSNI.js";import{a as m,f as b,z as _}from"./BSVWOZY5.js";import{b as d}from"./VNWZKWFC.js";import"./JOGLZRNT.js";import"./JFWEV72O.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./5WF2EVNT.js";import"./ZQV3UEGN.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
3
+ v1.2.0-next.24 */
4
+ import{a as u}from"./JGT3UVSS.js";import{a as m,f as b,z as _}from"./BF6B5YPC.js";import{b as d}from"./4QNOYSPY.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{C as p,D as g,E as h,G as t,h as l,i,l as e}from"./6WW2DA2G.js";import"./EAS42GZC.js";var I=l`:host{--instant-apps-sign-in-indicator-color: #007ac2;display:block;box-shadow:none!important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center;height:100%}:host .instant-apps-sign-in__container calcite-action{--calcite-action-text-color: var(--calcite-color-text-1);--calcite-font-size--2: var(--calcite-font-size--1);--calcite-internal-action-padding-inline: 12px}:host .instant-apps-sign-in__container calcite-action:focus{--calcite-action-background-color: var(--calcite-color-foreground-2)}:host .instant-apps-sign-in__container calcite-action,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2: rgba(0, 0, 0, .04);--calcite-color-foreground-3: rgba(0, 0, 0, .04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-popover[scale=m] .instant-apps-sign-in__sign-in-container{min-width:140px}:host .instant-apps-sign-in__container calcite-popover[scale=s] .instant-apps-sign-in__sign-in-container{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out,background-color var(--calcite-animation-timing) ease-in-out,box-shadow var(--calcite-animation-timing) ease-in-out,outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:.7;transition:.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:#fffc;color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}`,s={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator",signInContainer:"instant-apps-sign-in__sign-in-container"},o=class extends h{constructor(){super(...arguments),this._messages=u({name:"instant-apps-sign-in",blocking:!0}),this.signInPopover=p(),this.ready=!1,this.isSignedIn=!1,this.type="navigation",this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0}static{this.properties={ready:16,isSignedIn:16,user:16,type:1,portal:0,oauthappid:1,openInPopup:5,landingPage:5,showIndicator:5,closeLandingPage:0,signInPopoverItems:0}}static{this.styles=I}async load(){await this.initSignIn()}willUpdate(n){(n.has("portal")||n.has("oauthappid"))&&this.initSignIn()}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,a]=await Promise.all([m(),_()]);this.idManager=n,this.info=await b({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await a.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},2e3)}render(){return this.ready?this.renderContent():null}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return i`<div class=${t(s.base)}>${this.isSignedIn?this.renderSignInPopover():this.renderSignInButton()}</div>`}renderSignInPopover(){let n=this.type==="navigation"?"m":"s",a=this.showIndicator?s.indicator:"",r=this.user?.id??this.user?.sourceJSON?.id;return i`${this.type==="navigation"?i`<calcite-navigation-user class=${t(a)} id=instant-apps-sign-in-user-button .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e} text-disabled></calcite-navigation-user>`:i`<button id=instant-apps-sign-in-user-button><calcite-avatar class=${t(a)} .thumbnail=${this.user?.thumbnailUrl??""} full-name=${this.user?.fullName??e} .username=${this.user?.username} user-id=${r??e}></calcite-avatar></button>`}<calcite-popover placement=bottom-end .scale=${n} reference-element=instant-apps-sign-in-user-button offset-distance=0 pointer-disabled focus-trap-disabled auto-close label="User settings" ${g(this.signInPopover)}><div class=${t(s.signInContainer)}><slot name=sign-in-popover-top></slot>${this.signInPopoverItems?.map(c=>i`<calcite-action scale=s @click=${f=>{c.onClick(f),this.signInPopover.value&&(this.signInPopover.value.open=!1)}} .text=${c.label} text-enabled></calcite-action>`)}<calcite-action scale=s @click=${this.signOut} .text=${this._messages.signOut} text-enabled></calcite-action></div></calcite-popover>`}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",a=this.type==="navigation"?s.SignInBtn:"";return i`<calcite-button class=${t(a)} @click=${this.signIn} scale=s icon-start=sign-in .appearance=${n}>${this._messages.signIn}</calcite-button>`}renderLandingPageSignIn(){return i`<div class=${t(s.buttonContainer)}><calcite-button class=${t(s.entryButton)} scale=l @click=${this.landingPageSignIn}>${this._messages.signIn}</calcite-button><calcite-button class=${t(s.entryButton)} scale=l appearance=outline-fill @click=${this.guestOnClick}>${this._messages.continueAsGuest}</calcite-button></div>`}};d("instant-apps-sign-in",o);export{o as InstantAppsSignIn};
@@ -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.22 */
4
- import j from"./EQVOII7W.js";import e from"./BZNPKPP7.js";import{b as C}from"./5IGSIDCX.js";import b from"./UWWHODFG.js";import{a as g,c as y,d as f}from"./SIGC4HV4.js";import a from"./I6OCOHZ5.js";import{b as r}from"./BDZD3CVH.js";import"./BQG6YY27.js";import"./VLKS5OXM.js";import"./K3B77KNR.js";import"./TIUHRZUS.js";import"./WZB4BJD4.js";import"./BOSFQLI6.js";import"./RUT6CBUH.js";import"./ABU7II4P.js";import"./NAY26ZKT.js";import"./PEAGXXX7.js";import"./GBRE25RH.js";import"./7ZG66OFU.js";import"./SQWMQEXG.js";import"./K5E7SDHF.js";import"./7NF4C7Q6.js";import"./3BA4TVKZ.js";import"./KQEG2VSM.js";import"./NHC6L4QY.js";import"./SDDG4ZNW.js";import"./UENBDNEI.js";import{m as u,o}from"./ATV7OCMV.js";import{a as m}from"./GMMRDHZU.js";import"./JOGLZRNT.js";import"./JFWEV72O.js";import{b as _}from"./D7WRWG4G.js";import{D as d,E as p,h as l,i as s,j as h,l as c,o as i}from"./5WF2EVNT.js";import"./ZQV3UEGN.js";export default $arcgis.t(([,,a,w])=>{var T=l`/** @license
3
+ v1.2.0-next.24 */
4
+ import j from"./W75YFHYB.js";import e from"./KZD2C2ML.js";import{b as C}from"./SKZURFAS.js";import b from"./KX7PNFBK.js";import{a as g,c as y,d as f}from"./DVGLTRJU.js";import a from"./UM5O6SR4.js";import{b as r}from"./T6FIJDJK.js";import"./KSO7CXKH.js";import"./GFXNHLR7.js";import"./CYG5JUF7.js";import"./3E3IBLXH.js";import"./EROCJUGG.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import"./ZAL2JPN6.js";import"./ENUF5QK4.js";import"./BOHI7OOB.js";import"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./EYIL3WCN.js";import"./IMPPWVVG.js";import"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import{m as u,o}from"./27VT6FGO.js";import{a as m}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as _}from"./443EHILD.js";import{D as d,E as p,h as l,i as s,j as h,l as c,o as i}from"./6WW2DA2G.js";import"./EAS42GZC.js";export default $arcgis.t(([,,a,w])=>{var T=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import j from"./EQVOII7W.js";import e from"./BZNPKPP7.js";import{b as C}from"./5
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding-inline-start:var(--calcite-spacing-base);padding-top:var(--calcite-spacing-base);padding-bottom:var(--calcite-spacing-md)}.solutions-briefcase{margin:auto;padding-top:var(--calcite-spacing-xxxl)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%;transform:translateY(50%)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}`,x=5,n=class extends p{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=m({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=o,this._allCards=[],this._authContextConsumer=r({context:y,subscribe:!0}),this._baseAgoTerms=o,this._categories=[],this._configContextConsumer=r({context:f,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),this._isOrgAdmin=C(this._authContextConsumer.value),await this._getDeployedSolutions())}}),this._delay=!1,this._isOrgAdmin=!1,this._owner=u.OWNER,this._sortField="created",this._sortOrder="desc",this._userSessionContextConsumer=r({context:g,subscribe:!0}),this.deployedCardsFetched=i(),this.searchTermSet=i(),this.sortTypeSet=i(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=x,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=x,this._refresh(e)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&this.searchSolutions(e.detail.option)})}static{this.properties={sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=T}async reload(e=!0,t=!0){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(v){console.error("Error getting deployed solutions:",v)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&(this._sortCards(e),this.sortTypeSet.emit({sortType:e.sortType,scope:"deployments"})))}render(){return this._cardsFetching?s`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>`:this._cards.length?s`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel>`:s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(),this._newId="")}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new a(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new a(e.locale,e.orgUrl,e.portalUrl)}}_renderCards(){return this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this._userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??c} .itemId=${e.id} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${d(this._handleRefs)}></solution-deployed-card>`)}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._authContextConsumer.value||this._configContextConsumer.value?.authentication;if(e.IsSignedIn){this._cardsFetching=!0;let t=await w(e,this._userSessionContextConsumer.value||this._configContextConsumer.value?.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===t?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${h`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this._authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&(this._newId=t,await this._getDeployedSolutions())}};_("solutions-deployed-panel",n);return n},a,b,e,j)
18
+ */calcite-panel{width:100%;height:100%;--calcite-panel-background-color: var(--calcite-color-foreground-2)}.card-group{overflow:hidden;padding-inline-start:var(--calcite-spacing-base);padding-top:var(--calcite-spacing-base);padding-bottom:var(--calcite-spacing-md)}.solutions-briefcase{margin:auto;padding-top:var(--calcite-spacing-xxxl)}.text-center{text-align:center}.leader-1{margin-top:var(--calcite-spacing-xxl)}.trailer-1{margin-bottom:var(--calcite-spacing-xxl)}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%;transform:translateY(50%)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}h1{font-weight:unset;margin:0;padding:0}`,x=5,n=class extends p{constructor(){super(),this.sortType="created",this._cards=[],this._cardsFetching=!1,this._modifiedCheckTry=0,this._newId="",this._refs={},this._showDeleteCompleteAlert=!1,this._translations=m({name:"solutions-deployed-panel",blocking:!0}),this._agoTerms=o,this._allCards=[],this._authContextConsumer=r({context:y,subscribe:!0}),this._baseAgoTerms=o,this._categories=[],this._configContextConsumer=r({context:f,subscribe:!0,callback:async e=>{e&&(this._initCardsFetchers(),this._isOrgAdmin=C(this._authContextConsumer.value),await this._getDeployedSolutions())}}),this._delay=!1,this._isOrgAdmin=!1,this._owner=u.OWNER,this._sortField="created",this._sortOrder="desc",this._userSessionContextConsumer=r({context:g,subscribe:!0}),this.deployedCardsFetched=i(),this.searchTermSet=i(),this.sortTypeSet=i(),this.listenOn(window,"solutionDeleted",e=>{this._modifiedCheckTry=x,this.reload(e.detail.showAlert,e.detail.refreshSolutionsTimeout)}),this.listenOn(window,"solutionConfigureDialogClose",e=>{e.detail&&this.reload(!1,!1)}),this.listenOn(window,"deployProgressEnd",e=>{this._modifiedCheckTry=x,this._refresh(e)}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="deployments"&&(this.sortType=e.detail.sortType,this.searchSolutions(e.detail))}),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="deployments"&&this.searchSolutions(e.detail.option)})}static{this.properties={sortType:1,_cards:16,_cardsFetching:16,_modifiedCheckTry:16,_newId:16,_refs:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=T}async reload(e=!0,t=!0){this._initCardsFetchers(),e&&(this._showDeleteCompleteAlert=!0),t?setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(v){console.error("Error getting deployed solutions:",v)}})()},500):await this._getDeployedSolutions()}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):e.type==="owner"&&(this._owner=e.value):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"deployments"})),"sortType"in e&&(this._sortCards(e),this.sortTypeSet.emit({sortType:e.sortType,scope:"deployments"})))}render(){return this._cardsFetching?s`<calcite-loader .label=${this._translations.fetchingDeployedSolutions}></calcite-loader>`:this._cards.length?s`<calcite-panel><calcite-card-group class="card-group" .label=${this._translations.allDeployed}>${this._renderCards()}</calcite-card-group><calcite-alert auto-close auto-close-duration=fast icon=check-circle kind=success .label=${this._translations.deleteComplete} .open=${this._showDeleteCompleteAlert} @calciteAlertClose=${()=>{this._showDeleteCompleteAlert=!1}}><div slot=title>${this._translations.deleteComplete}</div></calcite-alert></calcite-panel>`:s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsFound}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}updated(e){e.has("_refs")&&this._newId&&Object.keys(this._refs).indexOf(this._newId)>-1&&(this._refs[this._newId].renderConfigureDialog(),this._newId="")}_initCardsFetchers(){if(this._configContextConsumer.value){let e=this._configContextConsumer.value;this._cardsFetcher=new a(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new a(e.locale,e.orgUrl,e.portalUrl)}}_renderCards(){return this._refs={},this._cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this._userSessionContextConsumer.value.username||this.checkDeletePermissions()} .card=${e} .deployedDate=${e.created} .description=${e.snippet} .diagramKey=${this._configContextConsumer.value?.diagramKey} .heading=${e.title} id=${e.id??c} .itemId=${e.id} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} ${d(this._handleRefs)}></solution-deployed-card>`)}_handleRefs(e){e&&(this._refs[e.id]=e)}async _getDeployedSolutions(){let e=this._authContextConsumer.value||this._configContextConsumer.value?.authentication;if(e.IsSignedIn){this._cardsFetching=!0;let t=await w(e,this._userSessionContextConsumer.value||this._configContextConsumer.value?.userSession,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this._modifiedCheckTry>0&&(this._cards.length===t?.cards.length?(this._modifiedCheckTry--,this._getDeployedSolutions()):this._modifiedCheckTry=0),this._cards=t?.cards??[],this.deployedCardsFetched.emit(this._cards.length),this._cardsFetching=!1}}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${h`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):(t==="updated"||t==="created")&&(this._sortOrder="desc",this._sortField=t),this.sortType=t}_clearFilterCategories(){this._categories=[]}checkDeletePermissions(){let e=this._authContextConsumer.value;return e?.PortalUserPrivileges&&e.PortalUserPrivileges.length>0?e.PortalUserPrivileges.some(t=>t==="portal:admin:deleteItems"):!1}async _refresh(e){let t=e.detail;t&&(this._newId=t,await this._getDeployedSolutions())}};_("solutions-deployed-panel",n);return n},a,b,e,j)
@@ -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.22 */
4
- import"./ZQV3UEGN.js";var e="\uD06C\uB808\uB527\uC774 \uBD80\uC871\uD558\uC5EC \uD574\uB2F9 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ArcGIS \uC2DC\uC2A4\uD15C \uAD00\uB9AC\uC790\uC5D0\uAC8C \uC9C0\uC6D0\uC744 \uBB38\uC758\uD558\uC138\uC694.",a="\uC774 \uB3C4\uAD6C\uB294 Notebook\uC5D0\uC11C \uBC1C\uD589\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD574\uB2F9 \uAE30\uAD00\uC5D0 \uB300\uD574 ArcGIS Notebooks \uC811\uADFC\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uC815\uC744 \uC870\uC815\uD558\uB824\uBA74 \uAD00\uB9AC\uC790\uC5D0\uAC8C \uBB38\uC758\uD558\uC138\uC694.",r="${ dataPath }\uC5D0\uB294 ${ additionalProperty }\uC774(\uAC00) \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4.",t="${ dataPath }\uC740(\uB294) ${ schemaOptions } \uC911 \uD558\uB098\uC758 \uC2A4\uD0A4\uB9C8\uC640 \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4.",o="\uB9F5\uC744 \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",s="\uD06C\uB808\uB527 \uC608\uCE21\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC544\uB798\uB85C \uC2A4\uD06C\uB864\uD558\uC5EC \uC624\uB958\uB97C \uC218\uC815\uD558\uACE0 \uD06C\uB808\uB527\uC744 \uB2E4\uC2DC \uC608\uCE21\uD558\uC138\uC694.",i="\uBD84\uC11D\uC744 \uC2E4\uD589\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",l="${ dataPath }\uC740(\uB294) \uD5C8\uC6A9\uB41C \uAC12(${ allowedValues }) \uC911 \uD558\uB098\uC640 \uAC19\uC544\uC57C \uD569\uB2C8\uB2E4.",d="\uBD84\uC11D \uD788\uC2A4\uD1A0\uB9AC\uB97C \uC800\uC7A5\uD558\uC9C0 \uBABB\uD568",n="\uD788\uC2A4\uD1A0\uB9AC \uC800\uC7A5\uC18C\uAC00 \uAC00\uB4DD \uCC3C\uC2B5\uB2C8\uB2E4. \uBD84\uC11D \uD788\uC2A4\uD1A0\uB9AC\uC5D0\uC11C \uC77C\uBD80 \uD56D\uBAA9\uC744 \uC81C\uAC70\uD558\uACE0 \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",c="\uC11C\uBE44\uC2A4 \uC774\uB984\uC5D0 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uBB38\uC790\uAC00 \uD558\uB098 \uC774\uC0C1 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",m="\uC784\uC2DC \uB808\uC774\uC5B4\uB97C \uD638\uC2A4\uD305 \uD53C\uCC98 \uB808\uC774\uC5B4\uB85C \uC800\uC7A5\uD558\uB294 \uC791\uC5C5\uC774 \uC644\uB8CC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.",u="\uD0A4 \uB4F1\uB85D\uC815\uBCF4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",E="\uB808\uC774\uC5B4\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",h="\uB808\uC774\uC5B4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",y="${ dataPath }\uC5D0\uB294 ${ limit }\uAC1C \uC774\uD558\uC758 \uD56D\uBAA9\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",P="\uBAA8\uB378\uC744 \uC800\uC7A5\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",p="${ dataPath }\uC5D0\uB294 ${ limit }\uAC1C \uC774\uC0C1\uC758 \uD56D\uBAA9\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",S="${ dataPath }\uC740(\uB294) ${ limit }\uC790\uBCF4\uB2E4 \uC9E7\uC73C\uBA74 \uC548 \uB429\uB2C8\uB2E4.",$="\uBAA8\uB378 \uD56D\uBAA9\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uBAA8\uB378\uC774 \uC874\uC7AC\uD558\uACE0 \uC811\uADFC \uAD8C\uD55C\uC774 \uBD80\uC5EC\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694.",v="\uC694\uCCAD\uC744 \uC644\uB8CC\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",f="\uC774 \uB3C4\uAD6C\uB97C \uC2E4\uD589\uD560 \uAD8C\uD55C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. <calcite-link target='_blank' href='${ docLink }'>\uC790\uC138\uD55C \uC815\uBCF4</calcite-link>",k="\uD3EC\uD138\uC5D0 \uB85C\uADF8\uC778\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",F="\uC785\uB825 \uB370\uC774\uD130\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",I="${ dataPath }\uC5D0 ${ missingProperty } \uB4F1\uB85D\uC815\uBCF4\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",T="\uC774 \uACB0\uACFC \uB808\uC774\uC5B4 \uC774\uB984\uC774 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uACB0\uACFC \uB808\uC774\uC5B4 \uC774\uB984\uC740 \uAE30\uAD00 \uC804\uCCB4\uC5D0\uC11C \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. \uB2E4\uB978 \uC774\uB984\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.",b="\uACB0\uACFC \uC774\uB984\uC5D0 \uD558\uB098 \uC774\uC0C1\uC758 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. <a href='${docLink}' target='_blank'>\uC790\uC138\uD788 \uC54C\uC544\uBCF4\uC138\uC694.</a>",L="\uD558\uB098 \uC774\uC0C1\uC758 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uD544\uB4DC\uB85C \uC778\uD574 \uC784\uC2DC \uB808\uC774\uC5B4\uB97C \uD638\uC2A4\uD305 \uB808\uC774\uC5B4\uB85C \uBC1C\uD589\uD558\uB294 \uC791\uC5C5\uC774 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB3C4\uAD6C\uB97C \uB2E4\uC2DC \uC2E4\uD589\uD558\uC5EC \uC720\uD6A8\uD55C \uD544\uB4DC\uAC00 \uC788\uB294 \uB808\uC774\uC5B4\uB97C \uC0DD\uC131\uD558\uC138\uC694.",N="\uC791\uC5C5\uC744 \uC81C\uCD9C\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC544\uB798\uB85C \uC2A4\uD06C\uB864\uD558\uC5EC \uC624\uB958\uB97C \uC218\uC815\uD558\uACE0 \uBD84\uC11D\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.",g="${ dataPath }\uC740(\uB294) \uACF5\uBC31 \uC774\uC678\uC758 \uBB38\uC790\uB97C 1\uAC1C \uC774\uC0C1 \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4.",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:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,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,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.2.0-next.24 */
4
+ import"./EAS42GZC.js";var e="\uD06C\uB808\uB527\uC774 \uBD80\uC871\uD558\uC5EC \uD574\uB2F9 \uC791\uC5C5\uC744 \uC218\uD589\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ArcGIS \uC2DC\uC2A4\uD15C \uAD00\uB9AC\uC790\uC5D0\uAC8C \uC9C0\uC6D0\uC744 \uBB38\uC758\uD558\uC138\uC694.",a="\uC774 \uB3C4\uAD6C\uB294 Notebook\uC5D0\uC11C \uBC1C\uD589\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uD574\uB2F9 \uAE30\uAD00\uC5D0 \uB300\uD574 ArcGIS Notebooks \uC811\uADFC\uC774 \uCC28\uB2E8\uB418\uC5C8\uC2B5\uB2C8\uB2E4. \uC124\uC815\uC744 \uC870\uC815\uD558\uB824\uBA74 \uAD00\uB9AC\uC790\uC5D0\uAC8C \uBB38\uC758\uD558\uC138\uC694.",r="${ dataPath }\uC5D0\uB294 ${ additionalProperty }\uC774(\uAC00) \uC5C6\uC5B4\uC57C \uD569\uB2C8\uB2E4.",t="${ dataPath }\uC740(\uB294) ${ schemaOptions } \uC911 \uD558\uB098\uC758 \uC2A4\uD0A4\uB9C8\uC640 \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4.",o="\uB9F5\uC744 \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",s="\uD06C\uB808\uB527 \uC608\uCE21\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uC544\uB798\uB85C \uC2A4\uD06C\uB864\uD558\uC5EC \uC624\uB958\uB97C \uC218\uC815\uD558\uACE0 \uD06C\uB808\uB527\uC744 \uB2E4\uC2DC \uC608\uCE21\uD558\uC138\uC694.",i="\uBD84\uC11D\uC744 \uC2E4\uD589\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",l="${ dataPath }\uC740(\uB294) \uD5C8\uC6A9\uB41C \uAC12(${ allowedValues }) \uC911 \uD558\uB098\uC640 \uAC19\uC544\uC57C \uD569\uB2C8\uB2E4.",d="\uBD84\uC11D \uD788\uC2A4\uD1A0\uB9AC\uB97C \uC800\uC7A5\uD558\uC9C0 \uBABB\uD568",n="\uD788\uC2A4\uD1A0\uB9AC \uC800\uC7A5\uC18C\uAC00 \uAC00\uB4DD \uCC3C\uC2B5\uB2C8\uB2E4. \uBD84\uC11D \uD788\uC2A4\uD1A0\uB9AC\uC5D0\uC11C \uC77C\uBD80 \uD56D\uBAA9\uC744 \uC81C\uAC70\uD558\uACE0 \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",c="\uC11C\uBE44\uC2A4 \uC774\uB984\uC5D0 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uBB38\uC790\uAC00 \uD558\uB098 \uC774\uC0C1 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",m="\uC784\uC2DC \uB808\uC774\uC5B4\uB97C \uD638\uC2A4\uD305 \uD53C\uCC98 \uB808\uC774\uC5B4\uB85C \uC800\uC7A5\uD558\uB294 \uC791\uC5C5\uC774 \uC644\uB8CC\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.",u="\uD0A4 \uB4F1\uB85D\uC815\uBCF4\uB97C \uAC00\uC838\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",E="\uB808\uC774\uC5B4\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",h="\uB808\uC774\uC5B4\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.",y="${ dataPath }\uC5D0\uB294 ${ limit }\uAC1C \uC774\uD558\uC758 \uD56D\uBAA9\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",P="\uBAA8\uB378\uC744 \uC800\uC7A5\uD558\uB294 \uB3D9\uC548 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uC2DC \uC800\uC7A5\uD574 \uBCF4\uC138\uC694.",p="${ dataPath }\uC5D0\uB294 ${ limit }\uAC1C \uC774\uC0C1\uC758 \uD56D\uBAA9\uC774 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4.",S="${ dataPath }\uC740(\uB294) ${ limit }\uC790\uBCF4\uB2E4 \uC9E7\uC73C\uBA74 \uC548 \uB429\uB2C8\uB2E4.",$="\uBAA8\uB378 \uD56D\uBAA9\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uBAA8\uB378\uC774 \uC874\uC7AC\uD558\uACE0 \uC811\uADFC \uAD8C\uD55C\uC774 \uBD80\uC5EC\uB418\uC5C8\uB294\uC9C0 \uD655\uC778\uD558\uC138\uC694.",v="\uC694\uCCAD\uC744 \uC644\uB8CC\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",f="\uC774 \uB3C4\uAD6C\uB97C \uC2E4\uD589\uD560 \uAD8C\uD55C\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. <calcite-link target='_blank' href='${ docLink }'>\uC790\uC138\uD55C \uC815\uBCF4</calcite-link>",k="\uD3EC\uD138\uC5D0 \uB85C\uADF8\uC778\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",F="\uC785\uB825 \uB370\uC774\uD130\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",I="${ dataPath }\uC5D0 ${ missingProperty } \uB4F1\uB85D\uC815\uBCF4\uAC00 \uB204\uB77D\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",T="\uC774 \uACB0\uACFC \uB808\uC774\uC5B4 \uC774\uB984\uC774 \uC774\uBBF8 \uC874\uC7AC\uD569\uB2C8\uB2E4. \uACB0\uACFC \uB808\uC774\uC5B4 \uC774\uB984\uC740 \uAE30\uAD00 \uC804\uCCB4\uC5D0\uC11C \uACE0\uC720\uD574\uC57C \uD569\uB2C8\uB2E4. \uB2E4\uB978 \uC774\uB984\uC744 \uC0AC\uC6A9\uD558\uC138\uC694.",b="\uACB0\uACFC \uC774\uB984\uC5D0 \uD558\uB098 \uC774\uC0C1\uC758 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4. <a href='${docLink}' target='_blank'>\uC790\uC138\uD788 \uC54C\uC544\uBCF4\uC138\uC694.</a>",L="\uD558\uB098 \uC774\uC0C1\uC758 \uC720\uD6A8\uD558\uC9C0 \uC54A\uC740 \uD544\uB4DC\uB85C \uC778\uD574 \uC784\uC2DC \uB808\uC774\uC5B4\uB97C \uD638\uC2A4\uD305 \uB808\uC774\uC5B4\uB85C \uBC1C\uD589\uD558\uB294 \uC791\uC5C5\uC774 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4. \uB3C4\uAD6C\uB97C \uB2E4\uC2DC \uC2E4\uD589\uD558\uC5EC \uC720\uD6A8\uD55C \uD544\uB4DC\uAC00 \uC788\uB294 \uB808\uC774\uC5B4\uB97C \uC0DD\uC131\uD558\uC138\uC694.",N="\uC791\uC5C5\uC744 \uC81C\uCD9C\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uC544\uB798\uB85C \uC2A4\uD06C\uB864\uD558\uC5EC \uC624\uB958\uB97C \uC218\uC815\uD558\uACE0 \uBD84\uC11D\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.",g="${ dataPath }\uC740(\uB294) \uACF5\uBC31 \uC774\uC678\uC758 \uBB38\uC790\uB97C 1\uAC1C \uC774\uC0C1 \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4.",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:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,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,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L 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.22 */
4
- import{a as Y}from"./VLKS5OXM.js";import{a as J}from"./K3I6QOKJ.js";import{a as F}from"./2NGTPAY6.js";import{a as w}from"./ALPEUENN.js";import{a as W,b as H}from"./VV26WPIK.js";import{d as N,g as B,h as V,i as X}from"./TIUHRZUS.js";import{b as h,c as E}from"./W3D34FZA.js";import{m as u,p as T}from"./WZB4BJD4.js";import"./SCGPU45I.js";import"./BOSFQLI6.js";import"./RUT6CBUH.js";import{b as S,d as C,f as R}from"./ABU7II4P.js";import"./56MNA2VS.js";import{i as j}from"./NAY26ZKT.js";import"./PEAGXXX7.js";import{a as m,c as M,e as P,i as l}from"./GBRE25RH.js";import"./7ZG66OFU.js";import"./ZMXSR2TT.js";import"./SQWMQEXG.js";import{a as A,b as O}from"./K5E7SDHF.js";import{s as L}from"./7NF4C7Q6.js";import"./3BA4TVKZ.js";import"./KQEG2VSM.js";import{a as f}from"./NHC6L4QY.js";import"./SDDG4ZNW.js";import"./UENBDNEI.js";import{b as g}from"./EZQK7BI4.js";import"./ZQV3UEGN.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
3
+ v1.2.0-next.24 */
4
+ import{a as Y}from"./GFXNHLR7.js";import{a as J}from"./3WHGZJJS.js";import{a as F}from"./WUTY55ZF.js";import{a as w}from"./HBNX26U7.js";import{a as W,b as H}from"./RY2JRQIA.js";import{d as N,g as B,h as V,i as X}from"./3E3IBLXH.js";import{b as h,c as E}from"./T6DIELVZ.js";import{m as u,p as T}from"./EROCJUGG.js";import"./BTLVFHR2.js";import"./VX2H4KEW.js";import"./L2WHYM3J.js";import{b as S,d as C,f as R}from"./ZAL2JPN6.js";import"./O4ZKMCDY.js";import{i as j}from"./ENUF5QK4.js";import"./BOHI7OOB.js";import{a as m,c as M,e as P,i as l}from"./KXKFOLKN.js";import"./XIKGCL6Z.js";import"./KTJDLUIU.js";import"./EYIL3WCN.js";import{a as A,b as O}from"./IMPPWVVG.js";import{s as L}from"./YMNTHO2F.js";import"./4SOCIVF6.js";import"./R6MJ3BWC.js";import{a as f}from"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import{b as g}from"./CQIWHMR3.js";import"./EAS42GZC.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -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.24 */
4
+ import{a}from"./IBLOFUUX.js";import"./O4ZKMCDY.js";import"./ZT7KJDTU.js";import"./R6MJ3BWC.js";import"./ZVYGJ3ZV.js";import"./74AIX5RH.js";import"./T5CPOSYR.js";import"./EAS42GZC.js";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.22 */
4
- import{a as i}from"./W3D34FZA.js";import{o as r}from"./WZB4BJD4.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
3
+ v1.2.0-next.24 */
4
+ import{a as i}from"./T6DIELVZ.js";import{o as r}from"./EROCJUGG.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K 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.22 */
4
- import{a}from"./4DVTM7ED.js";import"./ZQV3UEGN.js";export default a();
3
+ v1.2.0-next.24 */
4
+ import{a}from"./4JHKVR7I.js";import"./EAS42GZC.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.22 */
4
- import{a as d}from"./AZLSPTNN.js";import{a as u,b as t,c as h}from"./OQNBWIYI.js";import"./NHC6L4QY.js";import{a as w}from"./SDDG4ZNW.js";import"./ZQV3UEGN.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.2.0-next.24 */
4
+ import{a as d}from"./FAFTQRQY.js";import{a as u,b as t,c as h}from"./BR65SFX2.js";import"./ZVYGJ3ZV.js";import{a as w}from"./74AIX5RH.js";import"./EAS42GZC.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -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.22 */
4
- import{a as Pn}from"./GMMRDHZU.js";import"./JOGLZRNT.js";import"./JFWEV72O.js";import{b as En}from"./D7WRWG4G.js";import{E as jn,h as In,o as kn}from"./5WF2EVNT.js";import"./ZQV3UEGN.js";function Xi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Bi(n)||Qi(n)||Yi(n))}function Bi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function Qi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Yi(e){return!e.user&&e.ipCntryCode==="US"}var Le={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},Fr="esri-telemetry";function Zi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!to(e)||e.body)&&t()})}function eo(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${Fr}="${n}"]`)}function to(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new nt("Window is undefined: Cannot add script element.");if(eo(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=no({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var nt=class extends Error{};function no({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${Fr}`,t),a&&(c.src=a),o&&(c.innerText=o),c.type=n,c.async=r,c.defer=i,s&&(c.onload=s),u&&(c.onerror=u),c}function ro(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var io=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Ct=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=Xi(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=io.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Le.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=1800*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Le.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Le.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(oo(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function oo(e,t){return function(n,[r,i]){return ao(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ao(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Mt=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return ro(this._getScripts())}async init(){if(typeof window>"u")throw new nt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Zi(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function so(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Le.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Le.set(Tn,o),o))}function Gr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:co(t,r),value:e[r]}:{key:r,value:uo(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function uo(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function co(e,t){return`dimension${e[t]}`}var lo=["size","duration","position","number","count"];function Jr(e,t={}){return Object.keys(e).filter(n=>t[n]||lo.includes(n)).map(n=>t[n]?{key:fo(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function fo(e,t){return`metric${e[t]}`}function po({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=Jr(e,n),u=Gr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,c}function go({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=Jr(n,i),a=Gr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function Nn(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var ho="function",mo="string",ie="undefined",yo="boolean",Dt="object",vo="array",bo="number",wo="symbol",xo="null",Oo=function(){},_n="__",So="form",Ao="input",Io="button",ko="select",rt=typeof process!==ie?process:{};rt.env&&rt.env.NODE_ENV;var Ke=typeof document!==ie;rt.versions!=null&&rt.versions.node!=null;typeof Deno!==ie&&Deno.core;Ke&&window.name==="nodejs"||typeof navigator!==ie&&typeof navigator.userAgent!==ie&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Xr(e,t){return t.charAt(0)[e]()+t.slice(1)}var jo=Xr.bind(null,"toUpperCase"),Eo=Xr.bind(null,"toLowerCase");function Po(e){return Br(e)?jo(xo):typeof e===Dt?_o(e):Object.prototype.toString.call(e).slice(8,-1)}function it(e,t){t===void 0&&(t=!0);var n=Po(e);return t?Eo(n):n}function Fe(e,t){return typeof t===e}var Ut=Fe.bind(null,ho),Lt=Fe.bind(null,mo);Fe.bind(null,ie);Fe.bind(null,yo);Fe.bind(null,wo);function Br(e){return e===null}function To(e){return it(e)===bo&&!isNaN(e)}function No(e){return it(e)===vo}function _o(e){return Ut(e.constructor)?e.constructor.name:null}function Co(e){return e instanceof Error||Lt(e.message)&&e.constructor&&To(e.constructor.stackTraceLimit)}function Qr(e,t){if(typeof t!="object"||Br(t))return!1;if(t instanceof e)return!0;var n=it(new e(""));if(Co(t))for(;t;){if(it(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Qr.bind(null,TypeError);Qr.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Mo(e,t):n}function Mo(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,So);lt(ct,Io);lt(ct,Ao);lt(ct,ko);function Do(e){return e?No(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function Uo(){if(Ke){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Lo(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Ro(e){return(function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=Cn(n[1]),a=Cn(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(zo(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return Ke&&window.location.search.substring(1)})())}function zo(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=_n+we+_n,Ne=typeof self===Dt&&self.self===self&&self||typeof global===Dt&&global[we]===global&&global||void 0;function de(e){return Ne[Te][e]}function le(e,t){return Ne[Te][e]=t}function Ie(e){delete Ne[Te][e]}function pe(e,t,n){var r;try{if(ft(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ne[Te]||(Ne[Te]={});var Xe={};function ft(e){if(typeof Xe[e]!==ie)return Xe[e];try{var t=window[e];t.setItem(ie,ie),t.removeItem(ie)}catch{return Xe[e]=!1}return Xe[e]=!0}var Mn,Ve="__",Rt=typeof process<"u"?process:{};(Mn=Rt.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";Rt.versions!=null&&Rt.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function dt(e,t){return typeof t===e}var ae=dt.bind(null,"function"),et=dt.bind(null,"string");dt.bind(null,"undefined");var $o=dt.bind(null,"boolean");function Wo(e){return Object.prototype.toString.call(e)==="[object Array]"}function Vo(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!Vo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function zt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ho(e){if(Array.isArray(e))return zt(e)}function qo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yr(e,t){if(e){if(typeof e=="string")return zt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zt(e,t)}}function Ko(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ v1.2.0-next.24 */
4
+ import{a as Pn}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as En}from"./443EHILD.js";import{E as jn,h as In,o as kn}from"./6WW2DA2G.js";import"./EAS42GZC.js";function Xi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Bi(n)||Qi(n)||Yi(n))}function Bi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function Qi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Yi(e){return!e.user&&e.ipCntryCode==="US"}var Le={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},Fr="esri-telemetry";function Zi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!to(e)||e.body)&&t()})}function eo(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${Fr}="${n}"]`)}function to(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:c,onerror:d}=e;if(typeof window>"u")throw new nt("Window is undefined: Cannot add script element.");if(eo(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=no({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:c,onerror:d});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var nt=class extends Error{};function no({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let c=document.createElement("script");return e&&(c.id=e),t&&c.setAttribute(`data-${Fr}`,t),a&&(c.src=a),o&&(c.innerText=o),c.type=n,c.async=r,c.defer=i,s&&(c.onload=s),u&&(c.onerror=u),c}function ro(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var io=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Ct=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=Xi(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=io.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:u})=>!s&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Le.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=1800*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Le.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Le.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(oo(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function oo(e,t){return function(n,[r,i]){return ao(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ao(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function ln(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Mt=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return ro(this._getScripts())}async init(){if(typeof window>"u")throw new nt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Zi(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=ln(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},Tn="TELEMETRY_COGNITO_CREDENTIALS";function so(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Le.get(Tn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Le.set(Tn,o),o))}function Gr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:co(t,r),value:e[r]}:{key:r,value:uo(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function uo(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function co(e,t){return`dimension${e[t]}`}var lo=["size","duration","position","number","count"];function Jr(e,t={}){return Object.keys(e).filter(n=>t[n]||lo.includes(n)).map(n=>t[n]?{key:fo(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function fo(e,t){return`metric${e[t]}`}function po({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=Jr(e,n),u=Gr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),c=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(c.referrer=document.referrer),typeof window<"u"&&!c.hostname&&(c.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),c.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,c}function go({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=Jr(n,i),a=Gr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:c,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:c,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function Nn(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var ho="function",mo="string",ie="undefined",yo="boolean",Dt="object",vo="array",bo="number",wo="symbol",xo="null",Oo=function(){},_n="__",So="form",Ao="input",Io="button",ko="select",rt=typeof process!==ie?process:{};rt.env&&rt.env.NODE_ENV;var Ke=typeof document!==ie;rt.versions!=null&&rt.versions.node!=null;typeof Deno!==ie&&Deno.core;Ke&&window.name==="nodejs"||typeof navigator!==ie&&typeof navigator.userAgent!==ie&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Xr(e,t){return t.charAt(0)[e]()+t.slice(1)}var jo=Xr.bind(null,"toUpperCase"),Eo=Xr.bind(null,"toLowerCase");function Po(e){return Br(e)?jo(xo):typeof e===Dt?_o(e):Object.prototype.toString.call(e).slice(8,-1)}function it(e,t){t===void 0&&(t=!0);var n=Po(e);return t?Eo(n):n}function Fe(e,t){return typeof t===e}var Ut=Fe.bind(null,ho),Lt=Fe.bind(null,mo);Fe.bind(null,ie);Fe.bind(null,yo);Fe.bind(null,wo);function Br(e){return e===null}function To(e){return it(e)===bo&&!isNaN(e)}function No(e){return it(e)===vo}function _o(e){return Ut(e.constructor)?e.constructor.name:null}function Co(e){return e instanceof Error||Lt(e.message)&&e.constructor&&To(e.constructor.stackTraceLimit)}function Qr(e,t){if(typeof t!="object"||Br(t))return!1;if(t instanceof e)return!0;var n=it(new e(""));if(Co(t))for(;t;){if(it(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Qr.bind(null,TypeError);Qr.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Mo(e,t):n}function Mo(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,So);lt(ct,Io);lt(ct,Ao);lt(ct,ko);function Do(e){return e?No(e)?e:[e]:[]}function Cn(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function Uo(){if(Ke){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Lo(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Ro(e){return(function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=Cn(n[1]),a=Cn(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var u in r){var c=u.split("[");c.length>1&&(zo(r,c.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r})((function(t){return Ke&&window.location.search.substring(1)})())}function zo(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function Ae(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var we="global",Te=_n+we+_n,Ne=typeof self===Dt&&self.self===self&&self||typeof global===Dt&&global[we]===global&&global||void 0;function de(e){return Ne[Te][e]}function le(e,t){return Ne[Te][e]=t}function Ie(e){delete Ne[Te][e]}function pe(e,t,n){var r;try{if(ft(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ne[Te]||(Ne[Te]={});var Xe={};function ft(e){if(typeof Xe[e]!==ie)return Xe[e];try{var t=window[e];t.setItem(ie,ie),t.removeItem(ie)}catch{return Xe[e]=!1}return Xe[e]=!0}var Mn,Ve="__",Rt=typeof process<"u"?process:{};(Mn=Rt.env)!=null&&Mn.NODE_ENV;var fe=typeof window<"u";Rt.versions!=null&&Rt.versions.node!=null;typeof Deno<"u"&&Deno.core;fe&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function dt(e,t){return typeof t===e}var ae=dt.bind(null,"function"),et=dt.bind(null,"string");dt.bind(null,"undefined");var $o=dt.bind(null,"boolean");function Wo(e){return Object.prototype.toString.call(e)==="[object Array]"}function Vo(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!Vo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function zt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ho(e){if(Array.isArray(e))return zt(e)}function qo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Yr(e,t){if(e){if(typeof e=="string")return zt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zt(e,t)}}function Ko(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
5
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Re(e){return Ho(e)||qo(e)||Yr(e)||Ko()}function Q(e){"@babel/helpers - typeof";return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Dn(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){n(c);return}s.done?t(u):Promise.resolve(u).then(r,i)}function se(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){Dn(o,r,i,a,s,"next",u)}function s(u){Dn(o,r,i,a,s,"throw",u)}a(void 0)})}}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Un(Object(n),!0).forEach(function(r){he(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Zr={exports:{}};(function(e){var t=(function(n){var r=Object.prototype,i=r.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function d(h,b,l){return Object.defineProperty(h,b,{value:l,enumerable:!0,configurable:!0,writable:!0}),h[b]}try{d({},"")}catch{d=function(h,b,l){return h[b]=l}}function p(h,b,l,m){var O=b&&b.prototype instanceof w?b:w,k=Object.create(O.prototype),M=new q(m||[]);return k._invoke=C(h,l,M),k}n.wrap=p;function g(h,b,l){try{return{type:"normal",arg:h.call(b,l)}}catch(m){return{type:"throw",arg:m}}}var x="suspendedStart",y="suspendedYield",A="executing",v="completed",f={};function w(){}function j(){}function S(){}var E={};d(E,s,function(){return this});var P=Object.getPrototypeOf,T=P&&P(P(G([])));T&&T!==r&&i.call(T,s)&&(E=T);var L=S.prototype=w.prototype=Object.create(E);j.prototype=S,d(L,"constructor",S),d(S,"constructor",j),j.displayName=d(S,c,"GeneratorFunction");function R(h){["next","throw","return"].forEach(function(b){d(h,b,function(l){return this._invoke(b,l)})})}n.isGeneratorFunction=function(h){var b=typeof h=="function"&&h.constructor;return b?b===j||(b.displayName||b.name)==="GeneratorFunction":!1},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,S):(h.__proto__=S,d(h,c,"GeneratorFunction")),h.prototype=Object.create(L),h},n.awrap=function(h){return{__await:h}};function _(h,b){function l(k,M,U,W){var K=g(h[k],h,M);if(K.type==="throw")W(K.arg);else{var H=K.arg,V=H.value;return V&&typeof V=="object"&&i.call(V,"__await")?b.resolve(V.__await).then(function(X){l("next",X,U,W)},function(X){l("throw",X,U,W)}):b.resolve(V).then(function(X){H.value=X,U(H)},function(X){return l("throw",X,U,W)})}}var m;function O(k,M){function U(){return new b(function(W,K){l(k,M,W,K)})}return m=m?m.then(U,U):U()}this._invoke=O}R(_.prototype),d(_.prototype,u,function(){return this}),n.AsyncIterator=_,n.async=function(h,b,l,m,O){O===void 0&&(O=Promise);var k=new _(p(h,b,l,m),O);return n.isGeneratorFunction(b)?k:k.next().then(function(M){return M.done?M.value:k.next()})};function C(h,b,l){var m=x;return function(O,k){if(m===A)throw new Error("Generator is already running");if(m===v){if(O==="throw")throw k;return z()}for(l.method=O,l.arg=k;;){var M=l.delegate;if(M){var U=F(M,l);if(U){if(U===f)continue;return U}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m===x)throw m=v,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m=A;var W=g(h,b,l);if(W.type==="normal"){if(m=l.done?v:y,W.arg===f)continue;return{value:W.arg,done:l.done}}else W.type==="throw"&&(m=v,l.method="throw",l.arg=W.arg)}}}function F(h,b){var l=h.iterator[b.method];if(l===o){if(b.delegate=null,b.method==="throw"){if(h.iterator.return&&(b.method="return",b.arg=o,F(h,b),b.method==="throw"))return f;b.method="throw",b.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var m=g(l,h.iterator,b.arg);if(m.type==="throw")return b.method="throw",b.arg=m.arg,b.delegate=null,f;var O=m.arg;if(!O)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,f;if(O.done)b[h.resultName]=O.value,b.next=h.nextLoc,b.method!=="return"&&(b.method="next",b.arg=o);else return O;return b.delegate=null,f}R(L),d(L,c,"Generator"),d(L,s,function(){return this}),d(L,"toString",function(){return"[object Generator]"});function $(h){var b={tryLoc:h[0]};1 in h&&(b.catchLoc=h[1]),2 in h&&(b.finallyLoc=h[2],b.afterLoc=h[3]),this.tryEntries.push(b)}function D(h){var b=h.completion||{};b.type="normal",delete b.arg,h.completion=b}function q(h){this.tryEntries=[{tryLoc:"root"}],h.forEach($,this),this.reset(!0)}n.keys=function(h){var b=[];for(var l in h)b.push(l);return b.reverse(),function m(){for(;b.length;){var O=b.pop();if(O in h)return m.value=O,m.done=!1,m}return m.done=!0,m}};function G(h){if(h){var b=h[s];if(b)return b.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var l=-1,m=function O(){for(;++l<h.length;)if(i.call(h,l))return O.value=h[l],O.done=!1,O;return O.value=o,O.done=!0,O};return m.next=m}}return{next:z}}n.values=G;function z(){return{value:o,done:!0}}return q.prototype={constructor:q,reset:function(h){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(D),!h)for(var b in this)b.charAt(0)==="t"&&i.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=o)},stop:function(){this.done=!0;var h=this.tryEntries[0],b=h.completion;if(b.type==="throw")throw b.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var b=this;function l(W,K){return k.type="throw",k.arg=h,b.next=W,K&&(b.method="next",b.arg=o),!!K}for(var m=this.tryEntries.length-1;m>=0;--m){var O=this.tryEntries[m],k=O.completion;if(O.tryLoc==="root")return l("end");if(O.tryLoc<=this.prev){var M=i.call(O,"catchLoc"),U=i.call(O,"finallyLoc");if(M&&U){if(this.prev<O.catchLoc)return l(O.catchLoc,!0);if(this.prev<O.finallyLoc)return l(O.finallyLoc)}else if(M){if(this.prev<O.catchLoc)return l(O.catchLoc,!0)}else if(U){if(this.prev<O.finallyLoc)return l(O.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(h,b){for(var l=this.tryEntries.length-1;l>=0;--l){var m=this.tryEntries[l];if(m.tryLoc<=this.prev&&i.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var O=m;break}}O&&(h==="break"||h==="continue")&&O.tryLoc<=b&&b<=O.finallyLoc&&(O=null);var k=O?O.completion:{};return k.type=h,k.arg=b,O?(this.method="next",this.next=O.finallyLoc,f):this.complete(k)},complete:function(h,b){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&b&&(this.next=b),f},finish:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.finallyLoc===h)return this.complete(l.completion,l.afterLoc),D(l),f}},catch:function(h){for(var b=this.tryEntries.length-1;b>=0;--b){var l=this.tryEntries[b];if(l.tryLoc===h){var m=l.completion;if(m.type==="throw"){var O=m.arg;D(l)}return O}}throw new Error("illegal catch attempt")},delegateYield:function(h,b,l){return this.delegate={iterator:G(h),resultName:b,nextLoc:l},this.method==="next"&&(this.arg=o),f}},n})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Zr);var B=Zr.exports,me="function",ue="undefined",ze="reducer",ei="@@redux/",$t=ei+"INIT",Fo=ei+Math.random().toString(36),Ln=(function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===me&&Symbol.observable||"@@observable"})(),Be=" != "+me;function ti(e,t,n){if(Q(t)===me&&Q(n)===ue&&(n=t,t=void 0),Q(n)!==ue){if(Q(n)!==me)throw new Error("enhancer"+Be);return n(ti)(e,t)}if(Q(e)!==me)throw new Error(ze+Be);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function c(){return i}function d(y){if(Q(y)!==me)throw new Error("Listener"+Be);var A=!0;return u(),a.push(y),function(){if(A){A=!1,u();var v=a.indexOf(y);a.splice(v,1)}}}function p(y){if(!ne(y))throw new Error("Act != obj");if(Q(y.type)===ue)throw new Error("ActType "+ue);if(s)throw new Error("Dispatch in "+ze);try{s=!0,i=r(i,y)}finally{s=!1}for(var A=o=a,v=0;v<A.length;v++){var f=A[v];f()}return y}function g(y){if(Q(y)!==me)throw new Error("next "+ze+Be);r=y,p({type:$t})}function x(){var y=d;return he({subscribe:function(A){if(Q(A)!=="object")throw new TypeError("Observer != obj");function v(){A.next&&A.next(c())}v();var f=y(v);return{unsubscribe:f}}},Ln,function(){return this})}return p({type:$t}),he({dispatch:p,subscribe:d,getState:c,replaceReducer:g},Ln,x)}function Go(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+ze+" "+e+" returns "+ue}function Jo(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:$t});if(Q(r)===ue||Q(n(void 0,{type:Fo}))===ue)throw new Error(ze+" "+t+" "+ue)})}function Xo(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Q(e[i])===me&&(n[i]=e[i])}var o=Object.keys(n),a;try{Jo(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var c=!1,d={},p=0;p<o.length;p++){var g=o[p],x=n[g],y=s[g],A=x(y,u);if(Q(A)===ue){var v=Go(g,u);throw new Error(v)}d[g]=A,c=c||A!==y}return c?d:s}}function _e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function Bo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(i,o,a){var s=r(i,o,a),u=s.dispatch,c=[],d={getState:s.getState,dispatch:function(p){return u(p)}};return c=t.map(function(p){return p(d)}),u=_e.apply(void 0,Re(c))(s.dispatch),I(I({},s),{},{dispatch:u})}}}var ye=Ve+"anon_id",xe=Ve+"user_id",Ee=Ve+"user_traits",Wt="analytics",ge="userId",ke="anonymousId",Qo="https://lytics.dev/errors/",ot=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Vt=["name","EVENTS","config","loaded"],Yo={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},Zo=ot.reduce(function(e,t){return e[t]=t,e},Yo),N=Zo;function ea(e){return ot.includes(e)}var Rn=/^utm_/,zn=/^an_prop_/,$n=/^an_trait_/;function ta(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===N.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,u=i.initialUser,c=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(ye,a.anonymousId),c||t(xe,a.userId),u.traits&&t(Ee,I(I({},c&&s.traits?s.traits:{}),u.traits));var d=Object.keys(i.params);if(d.length){var p=o.an_uid,g=o.an_event,x=d.reduce(function(y,A){if(A.match(Rn)||A.match(/^(d|g)clid/)){var v=A.replace(Rn,""),f=v==="campaign"?"name":v;y.campaign[f]=o[A]}return A.match(zn)&&(y.props[A.replace(zn,"")]=o[A]),A.match($n)&&(y.traits[A.replace($n,"")]=o[A]),y},{campaign:{},props:{},traits:{}});n.dispatch(I(I({type:N.params,raw:o},x),p?{userId:p}:{})),p&&setTimeout(function(){return e.identify(p,x.traits)},0),g&&setTimeout(function(){return e.track(g,x.props)},0),Object.keys(x.campaign).length&&n.dispatch({type:N.campaign,campaign:x.campaign})}}return r(i)}}}}function na(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===N.setItemEnd){if(n.key===ye)return I(I({},t),{anonymousId:n.value});if(n.key===xe)return I(I({},t),{userId:n.value})}switch(n.type){case N.identify:return Object.assign({},t,{userId:n.userId,traits:I(I({},t.traits),n.traits)});case N.reset:return[xe,ye,Ee].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function ni(e){return{userId:e.getItem(xe),anonymousId:e.getItem(ye),traits:e.getItem(Ee)}}var fn=function(e){return Ve+"TEMP"+Ve+e};function ra(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&ne(r)&&r[t])return r[t];var o=ni(e)[t];return o||de(fn(t))||null}}function ia(e){var t=e.storage,n=t.setItem,r=t.removeItem,i=t.getItem;return function(o){return function(a){return function(s){var u=s.userId,c=s.traits,d=s.options;if(s.type===N.reset&&([xe,Ee,ye].forEach(function(x){r(x)}),[ge,ke,"traits"].forEach(function(x){Ie(fn(x))})),s.type===N.identify){i(ye)||n(ye,Ae());var p=i(xe),g=i(Ee)||{};p&&p!==u&&o.dispatch({type:N.userIdChanged,old:{userId:p,traits:g},new:{userId:u,traits:c},options:d}),u&&n(xe,u),c&&n(Ee,I(I({},g),c))}return a(s)}}}}var Ue={};function ri(e,t){Ue[e]&&ae(Ue[e])&&(Ue[e](t),delete Ue[e])}function ii(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(I(I({},e),{},{queue:!0})):oa(10).then(function(o){return ii(e,t,n-10).then(r,i)})})}function oa(e){return new Promise(function(t){return setTimeout(t,e)})}function oi(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,c=!a.offline;if(c&&s&&s.actions&&s.actions.length){var d=s.actions.reduce(function(g,x,y){var A=o[x.plugin].loaded;return A?(g.process.push(x),g.processIndex.push(y)):(g.requeue.push(x),g.requeueIndex.push(y)),g},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(d.processIndex&&d.processIndex.length){d.processIndex.forEach(function(g){var x=s.actions[g],y=x.plugin,A=x.payload.type,v=r[y][A];if(v&&ae(v)){var f=sa(x.payload,u);v({payload:f,config:o[y].config,instance:n});var w="".concat(A,":").concat(y);e.dispatch(I(I({},f),{},{type:w,_:{called:w,from:"queueDrain"}}))}});var p=s.actions.filter(function(g,x){return!~d.processIndex.indexOf(x)});s.actions=p}}}function aa(e,t,n){return setInterval(function(){return oi(e,t,n)},3e3)}function sa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[ge,ke].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function ua(e){if(Array.isArray(e))return e}function ca(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(u){o=!0,s=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function la(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fa(e,t){return ua(e)||ca(e,t)||Yr(e,t)||la()}function da(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(r){var i=n.plugins||{};return $o(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var Ce=/Start$/,Wn=/^bootstrap/,Vn=/^ready/;function pa(e,t,n,r,i){return Ht.apply(this,arguments)}function Ht(){return Ht=se(B.mark(function e(t,n,r,i,o){var a,s,u,c,d,p,g,x,y,A,v;return B.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=ae(n)?n():n,s=t.type,u=s.replace(Ce,""),!(t._&&t._.called)){f.next=5;break}return f.abrupt("return",t);case 5:return c=r.getState(),d=da(a,c.plugins,t.options),s===N.initializeStart&&t.fromEnable&&(d=Object.keys(c.plugins).filter(function(w){var j=c.plugins[w];return t.plugins.includes(w)&&!j.initialized}).map(function(w){return a[w]})),p=d.map(function(w){return w.name}),g=ha(s,d),f.next=12,xt({action:t,data:{exact:g.before,namespaced:g.beforeNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 12:if(x=f.sent,!ai(x,p.length)){f.next=15;break}return f.abrupt("return",x);case 15:if(s!==u){f.next=19;break}y=x,f.next=22;break;case 19:return f.next=21,xt({action:I(I({},x),{},{type:u}),data:{exact:g.during,namespaced:g.duringNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 21:y=f.sent;case 22:if(!s.match(Ce)){f.next=28;break}return A="".concat(u,"End"),f.next=26,xt({action:I(I({},y),{},{type:A}),data:{exact:g.after,namespaced:g.afterNS},state:c,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 26:v=f.sent,v.meta&&v.meta.hasCallback&&ri(v.meta.rid,{payload:v});case 28:return f.abrupt("return",x);case 29:case"end":return f.stop()}},e)})),Ht.apply(this,arguments)}function xt(e){return qt.apply(this,arguments)}function qt(){return qt=se(B.mark(function e(t){var n,r,i,o,a,s,u,c,d,p,g,x,y,A,v,f,w,j;return B.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return n=t.data,r=t.action,i=t.instance,o=t.state,a=t.allPlugins,s=t.allMatches,u=t.store,c=t.EVENTS,d=o.plugins,p=o.context,g=r.type,x=g.match(Ce),y=n.exact.map(function(E){return E.pluginName}),x&&(y=s.during.map(function(E){return E.pluginName})),A=ma(i,y),v=n.exact.reduce(function(E,P){var T=P.pluginName,L=P.methodName,R=!1;return!L.match(/^initialize/)&&!L.match(/^reset/)&&(R=!d[T].loaded),p.offline&&L.match(/^(page|track|identify)/)&&(R=!0),E["".concat(T)]=R,E},{}),S.next=10,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var _,C,F;return B.wrap(function($){for(;;)switch($.prev=$.next){case 0:return _=L.pluginName,$.next=3,T;case 3:if(C=$.sent,!(n.namespaced&&n.namespaced[_])){$.next=11;break}return $.next=7,n.namespaced[_].reduce((function(){var D=se(B.mark(function q(G,z,h){var b,l,m,O;return B.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return l=function(M,U,W){return function(K,H){var V=W||U;return I(I({},M),{},{abort:{reason:K,plugins:H||[U],caller:g,from:V}})}},k.next=3,G;case 3:if(b=k.sent,!(!z.method||!ae(z.method))){k.next=6;break}return k.abrupt("return",b);case 6:return ba(z.methodName,z.pluginName),k.next=9,z.method({payload:b,instance:i,abort:l(b,_,z.pluginName),config:Hn(z.pluginName,d,a),plugins:d});case 9:return m=k.sent,O=ne(m)?m:{},k.abrupt("return",Promise.resolve(I(I({},b),O)));case 12:case"end":return k.stop()}},q)}));return function(q,G,z){return D.apply(this,arguments)}})(),Promise.resolve(r));case 7:F=$.sent,C[_]=F,$.next=12;break;case 11:C[_]=r;case 12:return $.abrupt("return",Promise.resolve(C));case 13:case"end":return $.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve({}));case 10:return f=S.sent,S.next=13,n.exact.reduce((function(){var E=se(B.mark(function P(T,L,R){var _,C,F,$,D,q,G,z,h,b,l,m,O;return B.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return _=n.exact.length===R+1,C=L.pluginName,F=a[C],k.next=5,T;case 5:if($=k.sent,D=f[C]?f[C]:{},x&&(D=$),!St(D,C)){k.next=11;break}return Ot({data:D,method:g,instance:i,pluginName:C,store:u}),k.abrupt("return",Promise.resolve($));case 11:if(!St($,C)){k.next=14;break}return _&&Ot({data:$,method:g,instance:i,store:u}),k.abrupt("return",Promise.resolve($));case 14:if(!(v.hasOwnProperty(C)&&v[C]===!0)){k.next=17;break}return u.dispatch({type:"queue",plugin:C,payload:D,_:{called:"queue",from:"queueMechanism"}}),k.abrupt("return",Promise.resolve($));case 17:return q=A(f[C],a[C]),k.next=20,F[g]({abort:q.abort,payload:D,instance:i,config:Hn(C,d,a),plugins:d});case 20:return G=k.sent,z=ne(G)?G:{},h=I(I({},$),z),b=f[C],St(b,C)?Ot({data:b,method:g,instance:i,pluginName:C,store:u}):(l="".concat(g,":").concat(C),m=(l.match(/:/g)||[]).length,m<2&&!g.match(Wn)&&!g.match(Vn)&&(O=x?h:D,i.dispatch(I(I({},O),{},{type:l,_:{called:l,from:"submethod"}})))),k.abrupt("return",Promise.resolve(h));case 26:case"end":return k.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}})(),Promise.resolve(r));case 13:if(w=S.sent,!(!g.match(Ce)&&!g.match(/^registerPlugin/)&&!g.match(Vn)&&!g.match(Wn)&&!g.match(/^params/)&&!g.match(/^userIdChanged/))){S.next=21;break}if(c.plugins.includes(g),!(w._&&w._.originalAction===g)){S.next=18;break}return S.abrupt("return",w);case 18:j=I(I({},w),{_:{originalAction:w.type,called:w.type,from:"engineEnd"}}),ai(w,n.exact.length)&&!g.match(/End$/)&&(j=I(I({},j),{type:w.type+"Aborted"})),u.dispatch(j);case 21:return S.abrupt("return",w);case 22:case"end":return S.stop()}},e)})),qt.apply(this,arguments)}function Ot(e){var t=e.data,n=e.method;e.instance;var r=e.pluginName,i=e.store,o=r?":"+r:"",a=n+"Aborted"+o;i.dispatch(I(I({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Hn(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function qn(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function ga(e){return e.replace(Ce,"")}function Kn(e,t){var n=ga(e),r=t?":".concat(t):"",i="".concat(e).concat(r),o="".concat(n).concat(r),a="".concat(n,"End").concat(r);return[i,o,a]}function ha(e,t,n){var r=Kn(e),i=r.map(function(o){return qn(o,t)});return t.reduce(function(o,a){var s=a.name,u=Kn(e,s),c=u.map(function(y){return qn(y,t)}),d=fa(c,3),p=d[0],g=d[1],x=d[2];return p.length&&(o.beforeNS[s]=p),g.length&&(o.duringNS[s]=g),x.length&&(o.afterNS[s]=x),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function St(e,t){var n=e.abort;return n?n===!0?!0:Fn(n,t)||n&&Fn(n.plugins,t):!1}function ai(e,t){var n=e.abort;if(!n)return!1;if(n===!0||et(n))return!0;var r=n.plugins;return He(n)&&n.length===t||He(r)&&r.length===t}function He(e){return Array.isArray(e)}function Fn(e,t){return!e||!He(e)?!1:e.includes(t)}function ma(e,t){return function(n,r,i){var o=r.config,a=r.name,s="".concat(a,".").concat(n.type);i&&(s=i.event);var u=n.type.match(Ce)?ya(a,s,t,i,n):va(n,s);return{payload:wa(n),instance:e,config:o||{},abort:u}}}function ya(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&He(a)?a:n;if(r&&(u=a&&He(a)?a:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return I(I({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function va(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function ba(e,t){var n=Gn(e),r=n&&n.name===t;if(r){var i=Gn(n.method),o=i?"or "+i.method:"";throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(n.method," ").concat(o," in ").concat(t," plugin insteadof ").concat(e)].join(`
7
7
  `))}}function Gn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function wa(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(ne(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function xa(e,t,n){var r={};return function(i){return function(o){return(function(){var a=se(B.mark(function s(u){var c,d,p,g,x,y,A,v,f,w,j,S;return B.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(c=u.type,d=u.abort,p=u.plugins,g=u,!d){E.next=4;break}return E.abrupt("return",o(u));case 4:if(c===N.enablePlugin&&i.dispatch({type:N.initializeStart,plugins:p,disabled:[],fromEnable:!0,meta:u.meta}),c===N.disablePlugin&&setTimeout(function(){return ri(u.meta.rid,{payload:u})},0),c===N.initializeEnd&&(x=t(),y=Object.keys(x),A=y.filter(function(P){return p.includes(P)}).map(function(P){return x[P]}),v=[],f=[],w=u.disabled,j=A.map(function(P){var T=P.loaded,L=P.name;return ii(P,T,1e4).then(function(R){return r[L]||(i.dispatch({type:N.pluginReadyType(L),name:L,events:Object.keys(P).filter(function(_){return!Vt.includes(_)})}),r[L]=!0),v=v.concat(L),P}).catch(function(R){if(R instanceof Error)throw new Error(R);return f=f.concat(R.name),R})}),Promise.all(j).then(function(P){var T={plugins:v,failed:f,disabled:w};setTimeout(function(){y.length===j.length+w.length&&i.dispatch(I(I({},{type:N.ready}),T))},0)})),c===N.bootstrap){E.next=13;break}return/^ready:([^:]*)$/.test(c)&&setTimeout(function(){return oi(i,t,e)},0),E.next=11,pa(u,t,e,i,n);case 11:return S=E.sent,E.abrupt("return",o(S));case 13:return E.abrupt("return",o(g));case 14:case"end":return E.stop()}},s)}));return function(s){return a.apply(this,arguments)}})()}}}function Oa(e){return function(t){return function(n){return function(r){var i=r.type,o=r.key,a=r.value,s=r.options;if(i===N.setItem||i===N.removeItem){if(r.abort)return n(r);i===N.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function Sa(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Aa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Ia=Sa(function e(){var t=this;Aa(this,e),he(this,"before",[]),he(this,"after",[]),he(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),he(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(Re(t[r].slice(0,i)),Re(t[r].slice(i+1))))}),he(this,"dynamicMiddlewares",function(n){return function(r){return function(i){return function(o){var a={getState:r.getState,dispatch:function(u){return r.dispatch(u)}},s=t[n].map(function(u){return u(a)});return _e.apply(void 0,Re(s))(i)(o)}}}})});function ka(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var i=Jn(n.type,"registerPlugin"),o=e()[i];if(!o||!i)return t;var a=n.enabled;return r[i]={enabled:a,initialized:a?!o.initialize:!1,loaded:a?!!o.loaded():!1,config:o.config||{}},I(I({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=Jn(n.type,N.initialize),u=e()[s];return!u||!s?t:(r[s]=I(I({},t[s]),{initialized:!0,loaded:!!u.loaded()}),I(I({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=I(I({},t[n.name]),{loaded:!0}),I(I({},t),r);switch(n.type){case N.disablePlugin:return I(I({},t),Xn(n.plugins,!1,t));case N.enablePlugin:return I(I({},t),Xn(n.plugins,!0,t));default:return t}}}function Jn(e,t){return e.substring(t.length+1,e.length)}function Xn(e,t,n){return e.reduce(function(r,i){return r[i]=I(I({},n[i]),{enabled:t}),r},n)}function si(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var ja={last:{},history:[]};function Ea(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ja,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,i=t.properties,o=t.options,a=t.meta;switch(n){case N.track:var s=si(I(I({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return I(I({},e),{last:s,history:e.history.concat(s)});default:return e}}var Pa={actions:[]};function Ta(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pa,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"queue":var i;return r&&r.type&&r.type===N.identify?i=[t].concat(e.actions):i=e.actions.concat(t),I(I({},e),{},{actions:i});case"dequeue":return[];default:return e}}var ui=/#.*$/;function Na(){if(fe){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function _a(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(ui,""):"";return"/"+r}function Ca(e){var t=Na();return t?t.match(/\?/)?t:t+e:window.location.href.replace(ui,"")}var Ma=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!fe)return e;var t=document,n=t.title,r=t.referrer,i=window,o=i.location,a=i.innerWidth,s=i.innerHeight,u=o.hash,c=o.search,d=Ca(c),p={title:n,url:d,path:_a(d),hash:u,search:c,width:a,height:s};return r&&r!==""&&(p.referrer=r),I(I({},p),e)},Da={last:{},history:[]};function Ua(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Da,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case N.page:var o=si(I({properties:n,meta:i},Object.keys(r).length&&{options:r}));return I(I({},e),{last:o,history:e.history.concat(o)});default:return e}}function La(){if(!fe)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var ci,li,fi,di;ci=La(),li=fe?document.referrer:null,fi=Uo(),di=Lo();var Bn={initialized:!1,sessionId:Ae(),app:null,version:null,debug:!1,offline:fe?!navigator.onLine:!1,os:{name:ci},userAgent:fe?navigator.userAgent:"node",library:{name:Wt,version:"0.10.22"},timezone:di,locale:fi,campaign:{},referrer:li};function Ra(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case N.campaign:return I(I({},e),{campaign:i});case N.offline:return I(I({},e),{offline:!0});case N.online:return I(I({},e),{offline:!1});default:return n?e:I(I(I({},Bn),e),{initialized:!0})}}var za=["plugins","reducers","storage"];function $a(e){return Object.keys(e).reduce(function(t,n){return za.includes(n)||(t[n]=e[n]),t},{})}function Wa(e,t,n){if(fe){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function Va(){return Promise.resolve(!navigator.onLine)}function Ha(e){var t=function(r){return Va().then(e)},n=Wa.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function pi(){return le(Wt,[]),function(e){return function(t,n,r){var i=e(t,n,r),o=i.dispatch,a=function(s){var u=s.action||s;return Ne[Te][Wt].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Qn(e){return function(){return _e(_e.apply(null,arguments),pi())}}function At(e){return e?Wo(e)?e:[e]:[]}function qa(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ae(t[r])){n=t[r];break}return n}function Ka(){return new Date().getTime()}function Fa(e,t){return function(n){t&&t(n),e(n)}}function Yn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=Ae();return t&&(Ue[r]=Fa(t,qa(n))),I(I({},e),{},{rid:r,ts:Ka()},t?{hasCallback:!0}:{})}function Ga(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(l,m){if(ae(m))return l.middlewares=l.middlewares.concat(m),l;if(m.NAMESPACE&&(m.name=m.NAMESPACE),!m.name)throw new Error(Qo+"1");var O=m.EVENTS?Object.keys(m.EVENTS).map(function(H){return m.EVENTS[H]}):[],k=m.enabled!==!1,M=!(m.config&&m.config.enabled===!1);l.pluginEnabled[m.name]=k&&M,delete m.enabled,m.methods&&(l.methods[m.name]=Object.keys(m.methods).reduce(function(H,V){return H[V]=b(m.methods[V]),H},{}),delete m.methods);var U=Object.keys(m),W=U.concat(O),K=new Set(l.events.concat(W));if(l.events=Array.from(K),l.pluginsArray=l.pluginsArray.concat(m),l.plugins[m.name])throw new Error(m.name+"AlreadyLoaded");return l.plugins[m.name]=m,l.plugins[m.name].loaded||(l.plugins[m.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:de,setItem:le,removeItem:Ie},o=ra(i),a=r.plugins,s=r.events.filter(function(l){return!Vt.includes(l)}).sort(),u=new Set(s.concat(ot).filter(function(l){return!Vt.includes(l)})),c=Array.from(u).sort(),d=function(){return a},p=new Ia,g=p.addMiddleware,x=p.removeMiddleware,y=p.dynamicMiddlewares,A=function(){throw new Error("Abort disabled inListener")},v=Ro(),f=ni(i),w=I(I(I(I({},f),n),v.an_uid?{userId:v.an_uid}:{}),v.an_aid?{anonymousId:v.an_aid}:{});w.anonymousId||(w.anonymousId=Ae());var j=I({enable:function(l,m){return new Promise(function(O){D.dispatch({type:N.enablePlugin,plugins:At(l),_:{originalAction:N.enablePlugin}},O,[m])})},disable:function(l,m){return new Promise(function(O){D.dispatch({type:N.disablePlugin,plugins:At(l),_:{originalAction:N.disablePlugin}},O,[m])})}},r.methods),S={identify:(function(){var l=se(B.mark(function O(k,M,U,W){var K,H,V,X,Ge;return B.wrap(function(Je){for(;;)switch(Je.prev=Je.next){case 0:return K=et(k)?k:null,H=ne(k)?k:M,V=U||{},X=S.user(),le(fn(ge),K),Ge=K||H.userId||o(ge,S,H),Je.abrupt("return",new Promise(function(Ji){D.dispatch(I({type:N.identifyStart,userId:Ge,traits:H||{},options:V,anonymousId:X.anonymousId},X.id&&X.id!==K&&{previousId:X.id}),Ji,[M,U,W])}));case 7:case"end":return Je.stop()}},O)}));function m(O,k,M,U){return l.apply(this,arguments)}return m})(),track:(function(){var l=se(B.mark(function O(k,M,U,W){var K,H,V;return B.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(K=ne(k)?k.event:k,!(!K||!et(K))){X.next=3;break}throw new Error("EventMissing");case 3:return H=ne(k)?k:M||{},V=ne(U)?U:{},X.abrupt("return",new Promise(function(Ge){D.dispatch({type:N.trackStart,event:K,properties:H,options:V,userId:o(ge,S,M),anonymousId:o(ke,S,M)},Ge,[M,U,W])}));case 6:case"end":return X.stop()}},O)}));function m(O,k,M,U){return l.apply(this,arguments)}return m})(),page:(function(){var l=se(B.mark(function O(k,M,U){var W,K;return B.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return W=ne(k)?k:{},K=ne(M)?M:{},H.abrupt("return",new Promise(function(V){D.dispatch({type:N.pageStart,properties:Ma(W),options:K,userId:o(ge,S,W),anonymousId:o(ke,S,W)},V,[k,M,U])}));case 3:case"end":return H.stop()}},O)}));function m(O,k,M){return l.apply(this,arguments)}return m})(),user:function(l){if(l===ge||l==="id")return o(ge,S);if(l===ke||l==="anonId")return o(ke,S);var m=S.getState("user");return l?Nn(m,l):m},reset:function(l){return new Promise(function(m){D.dispatch({type:N.resetStart},m,l)})},ready:function(l){return S.on(N.ready,l)},on:function(l,m){if(!l||!ae(m))return!1;if(l===N.bootstrap)throw new Error(".on disabled for "+l);var O=/Start$|Start:/;if(l==="*"){var k=function(K){return function(H){return function(V){return V.type.match(O)&&m({payload:V,instance:S,plugins:a}),H(V)}}},M=function(K){return function(H){return function(V){return V.type.match(O)||m({payload:V,instance:S,plugins:a}),H(V)}}};return g(k,Qe),g(M,Ye),function(){x(k,Qe),x(M,Ye)}}var U=l.match(O)?Qe:Ye,W=function(K){return function(H){return function(V){return V.type===l&&m({payload:V,instance:S,plugins:a,abort:A}),H(V)}}};return g(W,U),function(){return x(W,U)}},once:function(l,m){if(!l||!ae(m))return!1;if(l===N.bootstrap)throw new Error(".once disabled for "+l);var O=S.on(l,function(k){var M=k.payload;m({payload:M,instance:S,plugins:a,abort:A}),O()});return O},getState:function(l){var m=D.getState();return l?Nn(m,l):Object.assign({},m)},dispatch:function(l){var m=et(l)?{type:l}:l;if(ea(m.type))throw new Error("reserved action "+m.type);var O=l._||{},k=I(I({},m),{},{_:I({originalAction:m.type},O)});D.dispatch(k)},enablePlugin:j.enable,disablePlugin:j.disable,plugins:j,storage:{getItem:i.getItem,setItem:function(l,m,O){D.dispatch({type:N.setItemStart,key:l,value:m,options:O})},removeItem:function(l,m){D.dispatch({type:N.removeItemStart,key:l,options:m})}},setAnonymousId:function(l,m){S.storage.setItem(ye,l,m)},events:{all:c,core:ot,plugins:s}},E=function(l){return function(m){return function(O){return O.meta||(O.meta=Yn()),m(O)}}},P=r.middlewares.concat([E,y(Qe),xa(S,d,{all:c,plugins:s}),Oa(i),ta(S),ia(S),y(Ye)]),T={context:Ra,user:na(i),page:Ua,track:Ea,plugins:ka(d),queue:Ta},L=_e,R=_e;if(fe&&e.debug){var _=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;_&&(L=_({trace:!0,traceLimit:25})),R=function(){return arguments.length===0?pi():ne(Q(arguments[0]))?Qn():Qn().apply(null,arguments)}}var C=$a(e),F=r.pluginsArray.reduce(function(l,m){var O=m.name,k=m.config,M=m.loaded,U=r.pluginEnabled[O];return l[O]={enabled:U,initialized:U?!m.initialize:!1,loaded:!!M(),config:k||{}},l},{}),$={context:C,user:w,plugins:F},D=ti(Xo(I(I({},T),t)),$,R(L(Bo.apply(void 0,Re(P)))));function q(l){return function(m,O,k){var M=Yn(m.meta,O,At(k)),U=I(I({},m),{meta:M});return l.apply(null,[U])}}D.dispatch=q(D.dispatch);var G=Object.keys(a);D.dispatch({type:N.bootstrap,plugins:G,config:C,params:v,user:w,initialUser:n,persistedUser:f});var z=G.filter(function(l){return r.pluginEnabled[l]}),h=G.filter(function(l){return!r.pluginEnabled[l]});D.dispatch({type:N.registerPlugins,plugins:G,enabled:r.pluginEnabled}),r.pluginsArray.map(function(l,m){var O=l.bootstrap,k=l.config,M=l.name;O&&ae(O)&&O({instance:S,config:k,payload:l}),D.dispatch({type:N.registerPluginType(M),name:M,enabled:r.pluginEnabled[M],plugin:l}),r.pluginsArray.length===m+1&&D.dispatch({type:N.initializeStart,plugins:z,disabled:h})}),Ha(function(l){D.dispatch({type:l?N.offline:N.online})}),aa(D,d,S);function b(l){return function(){for(var m=Array.prototype.slice.call(arguments),O=new Array(l.length),k=0;k<m.length;k++)O[k]=m[k];return O[O.length]=S,l.apply({instance:S},O)}}return S}var Qe="before",Ye="after",Oe="cookie",be=mi(),dn=pt,gi=pt;function hi(e){return be?pt(e,"",-1):Ie(e)}function mi(){if(be!==void 0)return be;var e=Oe+Oe;try{pt(e,e),be=document.cookie.indexOf(e)!==-1,hi(e)}catch{be=!1}return be}function pt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return be===!1&&(a?le(e,t):de(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var ce="localStorage",Ja=ft.bind(null,ce),pn=pe(ce,"getItem",de),Xa=pe(ce,"setItem",le),yi=pe(ce,"removeItem",Ie),$e="sessionStorage",Ba=ft.bind(null,"sessionStorage");pe("sessionStorage","getItem",de);pe("sessionStorage","setItem",le);pe("sessionStorage","removeItem",Ie);var Zn,vi="any",bi="*",Kt=typeof process<"u"?process:{};(Zn=Kt.env)!=null&&Zn.NODE_ENV;var Qa=typeof window<"u";Kt.versions!=null&&Kt.versions.node!=null;typeof Deno<"u"&&Deno.core;Qa&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function gt(e,t){return typeof t===e}gt.bind(null,"function");var Ya=gt.bind(null,"string"),je=gt.bind(null,"undefined");gt.bind(null,"boolean");function Za(e){return e&&(typeof e=="object"||e!==null)}function es(e){if(!Za(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Pe(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(es(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var ts=Ja(),ns=Ba(),rs=mi();function wi(e,t){if(e){var n=gn(t),r=!vn(n),i=hn(n)?Pe(localStorage.getItem(e)):void 0;if(r&&!je(i))return i;var o=mn(n)?Pe(dn(e)):void 0;if(r&&o)return o;var a=yn(n)?Pe(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=de(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function is(e,t,n){if(e&&!je(t)){var r={},i=gn(n),o=JSON.stringify(t),a=!vn(i);return hn(i)&&(r[ce]=Ze(ce,t,Pe(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[ce]:mn(i)&&(r[Oe]=Ze(Oe,t,Pe(dn(e))),gi(e,o),a)?r[Oe]:yn(i)&&(r[$e]=Ze($e,t,Pe(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[$e]:(r[we]=Ze(we,t,de(e)),le(e,t),a?r[we]:r)}}function os(e,t){if(e){var n=gn(t),r=wi(e,bi),i={};return!je(r.localStorage)&&hn(n)&&(localStorage.removeItem(e),i[ce]=r.localStorage),!je(r.cookie)&&mn(n)&&(hi(e),i[Oe]=r.cookie),!je(r.sessionStorage)&&yn(n)&&(sessionStorage.removeItem(e),i[$e]=r.sessionStorage),!je(r.global)&&ht(n,we)&&(Ie(e),i[we]=r.global),i}}function gn(e){return e?Ya(e)?e:e.storage:vi}function hn(e){return ts&&ht(e,ce)}function mn(e){return rs&&ht(e,Oe)}function yn(e){return ns&&ht(e,$e)}function vn(e){return e===bi||e==="all"}function ht(e,t){return e===vi||e===t||vn(e)}function Ze(e,t,n){return{location:e,current:t,previous:n}}var as={setItem:is,getItem:wi,removeItem:os};function ss(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function tr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?er(Object(n),!0).forEach(function(r){ss(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):er(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function us(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:as};return Ga(tr(tr({},t),e))}function re(e){"@babel/helpers - typeof";return re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(e)}function cs(e,t){if(re(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(re(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ls(e){var t=cs(e,"string");return re(t)=="symbol"?t:t+""}function bn(e,t,n){return(t=ls(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nr(Object(n),!0).forEach(function(r){bn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function xi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rr={exports:{}},ir={exports:{}},or;function Oi(){return or||(or=1,(function(e){function t(n,r){this.v=n,this.k=r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ir)),ir.exports}var ar={exports:{}},sr={exports:{}},ur;function Si(){return ur||(ur=1,(function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}e.exports=t=function(s,u,c,d){function p(g,x){t(s,g,function(y){return this._invoke(g,x,y)})}u?a?a(s,u,{value:c,enumerable:!d,configurable:!d,writable:!d}):s[u]=c:(p("next",0),p("throw",1),p("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(sr)),sr.exports}var cr;function Ai(){return cr||(cr=1,(function(e){var t=Si();function n(){var r,i,o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function u(v,f,w,j){var S=f&&f.prototype instanceof d?f:d,E=Object.create(S.prototype);return t(E,"_invoke",(function(P,T,L){var R,_,C,F=0,$=L||[],D=!1,q={p:0,n:0,v:r,a:G,f:G.bind(r,4),d:function(z,h){return R=z,_=0,C=r,q.n=h,c}};function G(z,h){for(_=z,C=h,i=0;!D&&F&&!b&&i<$.length;i++){var b,l=$[i],m=q.p,O=l[2];z>3?(b=O===h)&&(C=l[(_=l[4])?5:(_=3,3)],l[4]=l[5]=r):l[0]<=m&&((b=z<2&&m<l[1])?(_=0,q.v=h,q.n=l[1]):m<O&&(b=z<3||l[0]>h||h>O)&&(l[4]=z,l[5]=h,q.n=O,_=0))}if(b||z>1)return c;throw D=!0,h}return function(z,h,b){if(F>1)throw TypeError("Generator is already running");for(D&&h===1&&G(h,b),_=h,C=b;(i=_<2?r:C)||!D;){R||(_?_<3?(_>1&&(q.n=-1),G(_,C)):q.n=C:q.v=C);try{if(F=2,R){if(_||(z="next"),i=R[z]){if(!(i=i.call(R,C)))throw TypeError("iterator result is not an object");if(!i.done)return i;C=i.value,_<2&&(_=0)}else _===1&&(i=R.return)&&i.call(R),_<2&&(C=TypeError("The iterator does not provide a '"+z+"' method"),_=1);R=r}else if((i=(D=q.n<0)?C:P.call(T,q))!==c)break}catch(l){R=r,_=1,C=l}finally{F=1}}return{value:i,done:D}}})(v,w,j),!0),E}var c={};function d(){}function p(){}function g(){}i=Object.getPrototypeOf;var x=[][a]?i(i([][a]())):(t(i={},a,function(){return this}),i),y=g.prototype=d.prototype=Object.create(x);function A(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,g):(v.__proto__=g,t(v,s,"GeneratorFunction")),v.prototype=Object.create(y),v}return p.prototype=g,t(y,"constructor",g),t(g,"constructor",p),p.displayName="GeneratorFunction",t(g,s,"GeneratorFunction"),t(y),t(y,s,"Generator"),t(y,a,function(){return this}),t(y,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:u,m:A}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(ar)),ar.exports}var lr={exports:{}},fr={exports:{}},dr={exports:{}},pr;function Ii(){return pr||(pr=1,(function(e){var t=Oi(),n=Si();function r(i,o){function a(u,c,d,p){try{var g=i[u](c),x=g.value;return x instanceof t?o.resolve(x.v).then(function(y){a("next",y,d,p)},function(y){a("throw",y,d,p)}):o.resolve(x).then(function(y){g.value=y,d(g)},function(y){return a("throw",y,d,p)})}catch(y){p(y)}}var s;this.next||(n(r.prototype),n(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(u,c,d){function p(){return new o(function(g,x){a(u,d,g,x)})}return s=s?s.then(p,p):p()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(dr)),dr.exports}var gr;function ki(){return gr||(gr=1,(function(e){var t=Ai(),n=Ii();function r(i,o,a,s,u){return new n(t().w(i,o,a,s),u||Promise)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(fr)),fr.exports}var hr;function fs(){return hr||(hr=1,(function(e){var t=ki();function n(r,i,o,a,s){var u=t(r,i,o,a,s);return u.next().then(function(c){return c.done?c.value:u.next()})}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(lr)),lr.exports}var mr={exports:{}},yr;function ds(){return yr||(yr=1,(function(e){function t(n){var r=Object(n),i=[];for(var o in r)i.unshift(o);return function a(){for(;i.length;)if((o=i.pop())in r)return a.value=o,a.done=!1,a;return a.done=!0,a}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(mr)),mr.exports}var vr={exports:{}},br={exports:{}},wr;function ps(){return wr||(wr=1,(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(br)),br.exports}var xr;function gs(){return xr||(xr=1,(function(e){var t=ps().default;function n(r){if(r!=null){var i=r[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],o=0;if(i)return i.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length))return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}}}throw new TypeError(t(r)+" is not iterable")}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(vr)),vr.exports}var Or;function hs(){return Or||(Or=1,(function(e){var t=Oi(),n=Ai(),r=fs(),i=ki(),o=Ii(),a=ds(),s=gs();function u(){var c=n(),d=c.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(d):d.__proto__).constructor;function g(A){var v=typeof A=="function"&&A.constructor;return!!v&&(v===p||(v.displayName||v.name)==="GeneratorFunction")}var x={throw:1,return:2,break:3,continue:3};function y(A){var v,f;return function(w){v||(v={stop:function(){return f(w.a,2)},catch:function(){return w.v},abrupt:function(j,S){return f(w.a,x[j],S)},delegateYield:function(j,S,E){return v.resultName=S,f(w.d,s(j),E)},finish:function(j){return f(w.f,j)}},f=function(j,S,E){w.p=v.prev,w.n=v.next;try{return j(S,E)}finally{v.next=w.n}}),v.resultName&&(v[v.resultName]=w.v,v.resultName=void 0),v.sent=w.v,v.next=w.n;try{return A.call(this,v)}finally{w.p=v.prev,w.n=v.next}}}return(e.exports=u=function(){return{wrap:function(A,v,f,w){return c.w(y(A),v,f,w&&w.reverse())},isGeneratorFunction:g,mark:c.m,awrap:function(A,v){return new t(A,v)},AsyncIterator:o,async:function(A,v,f,w,j){return(g(v)?i:r)(y(A),v,f,w,j)},keys:a,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(rr)),rr.exports}var It,Sr;function ms(){if(Sr)return It;Sr=1;var e=hs()();It=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return It}var ys=ms(),J=xi(ys);function Ar(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function oe(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){Ar(o,r,i,a,s,"next",u)}function s(u){Ar(o,r,i,a,s,"throw",u)}a(void 0)})}}var Ir=function(){};function vs(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||Ir,c=t.onPause||Ir;function d(g){clearInterval(n);var x=o.splice(0,a);return x.length&&e(x,o),o.length?g?d():p():(i=!1,u(o))}function p(){i=!0,n=setInterval(d,s)}return o.length&&p(),{flush:function(g){d(g)},resume:d,push:function(g){return(r=o.push(g))>=a&&!t.throttle&&d(),i||p(),r},size:function(){return o.length},pause:function(g){g&&d(),clearInterval(n),i=!1,c(o)}}}var mt="sessionStorage";ft.bind(null,mt);var bs=pe(mt,"getItem",de),ws=pe(mt,"setItem",le);pe(mt,"removeItem",Ie);var tt="__",yt="session",ji=tt+yt,Ei="page",kr=["id","createdAt","created"];function Ft(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function Pi(){var e=Ft(),t=e[0],n=e[1];return{id:Ae(),created:n,createdAt:t}}var xs={session:[bs,ws],page:[de,le]};function vt(e,t){for(var n=xs[e],r=n[0],i=n[1],o=Pi(),a=!1,s={},u=0;u<kr.length;u++){var c=kr[u],d=tt+e+tt+yt+tt+c,p=r(d);a=t||!p,(t||!t&&!p)&&i(d,o[c]);var g=p&&!t?p:o[c],x=c!=="created"?g:Number(g);s[c]=x}return wn(s,a)}function wn(e,t){var n=Date.now();return e.elapsed=n-e.created,e.expires&&(e.remaining=Math.max(e.expires-n,0),e.isExpired=e.remaining===0),e.isNew=t,e}function qe(e,t){e===void 0&&(e=30);var n=dn(ji),r=n?JSON.parse(n):at(e);return t?r:wn(r,!n)}function at(e,t,n){e===void 0&&(e=30);var r=n?qe(e,!0):Pi(),i=60*e,o=r.created;if(n){var a=Ft(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var c=Ft(o+1e3*i),d=c[0];return r.expires=c[1],r.expiresAt=d,r.duration=1e3*i,t&&(r=Object.assign(r,t)),gi(ji,JSON.stringify(r),i),wn(r,!n)}var Os=function(e,t){return at(e,t,!0)},Ti=vt.bind(null,yt),Ss=vt.bind(null,yt,!0),xn=vt.bind(null,Ei),jr=vt.bind(null,Ei,!0),Se=typeof window<"u";function As(e){return typeof e=="string"}function Er(e){return typeof e=="boolean"}var kt,Pr;function Is(){if(Pr)return kt;Pr=1;var e=function(f){return t(f)&&!n(f)};function t(f){return!!f&&typeof f=="object"}function n(f){var w=Object.prototype.toString.call(f);return w==="[object RegExp]"||w==="[object Date]"||o(f)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(f){return f.$$typeof===i}function a(f){return Array.isArray(f)?[]:{}}function s(f,w){return w.clone!==!1&&w.isMergeableObject(f)?A(a(f),f,w):f}function u(f,w,j){return f.concat(w).map(function(S){return s(S,j)})}function c(f,w){if(!w.customMerge)return A;var j=w.customMerge(f);return typeof j=="function"?j:A}function d(f){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(f).filter(function(w){return Object.propertyIsEnumerable.call(f,w)}):[]}function p(f){return Object.keys(f).concat(d(f))}function g(f,w){try{return w in f}catch{return!1}}function x(f,w){return g(f,w)&&!(Object.hasOwnProperty.call(f,w)&&Object.propertyIsEnumerable.call(f,w))}function y(f,w,j){var S={};return j.isMergeableObject(f)&&p(f).forEach(function(E){S[E]=s(f[E],j)}),p(w).forEach(function(E){x(f,E)||(g(f,E)&&j.isMergeableObject(w[E])?S[E]=c(E,j)(f[E],w[E],j):S[E]=s(w[E],j))}),S}function A(f,w,j){j=j||{},j.arrayMerge=j.arrayMerge||u,j.isMergeableObject=j.isMergeableObject||e,j.cloneUnlessOtherwiseSpecified=s;var S=Array.isArray(w),E=Array.isArray(f),P=S===E;return P?S?j.arrayMerge(f,w,j):y(f,w,j):s(w,j)}A.all=function(f,w){if(!Array.isArray(f))throw new Error("first argument should be an array");return f.reduce(function(j,S){return A(j,S,w)},{})};var v=A;return kt=v,kt}var ks=Is(),js=xi(ks);var Gt=new TextEncoder,Es={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},Ps=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Jt=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:i,region:o,cache:a,retries:s,initRetryMs:u}){if(t==null)throw new TypeError("accessKeyId is a required option");if(n==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=r,this.service=i,this.region=o,this.cache=a||new Map,this.retries=s??10,this.initRetryMs=u||50}async sign(t,n){if(t instanceof Request){let{method:o,url:a,headers:s,body:u}=t;n=Object.assign({method:o,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=u!=null&&s.has("X-Amz-Content-Sha256")?u:await t.clone().arrayBuffer()),t=a}let r=new Xt(Object.assign({url:t.toString()},n,this,n&&n.aws)),i=Object.assign({},n,await r.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(o){if(o instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw o}}async fetch(t,n){for(let r=0;r<=this.retries;r++){let i=fetch(await this.sign(t,n));if(r===this.retries)return i;let o=await i;if(o.status<500&&o.status!==429)return o;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,r)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},Xt=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:c,cache:d,datetime:p,signQuery:g,appendSessionToken:x,allHeaders:y,singleEncode:A}){if(n==null)throw new TypeError("url is a required option");if(o==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=t||(i?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(r||{}),this.body=i,this.accessKeyId=o,this.secretAccessKey=a,this.sessionToken=s;let v,f;(!u||!c)&&([v,f]=Ts(this.url,this.headers)),this.service=u||v||"",this.region=c||f||"us-east-1",this.cache=d||new Map,this.datetime=p||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=g,this.appendSessionToken=x||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let w=this.signQuery?this.url.searchParams:this.headers;if(w.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&w.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(S=>y||!Ps.has(S)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(S=>S+":"+(S==="host"?this.url.host:(this.headers.get(S)||"").replace(/\s+/g," "))).join(`
@@ -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.22 */
4
- import{A as T,B as y,C as A,D as w,E,F as G,n as t,q as d,r as m,s as b,t as k,u as h,v as f,w as O,x as M,y as g,z as P}from"./ATV7OCMV.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return I(i,p,e),R(i,r),S(i,a),i}function S(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function I(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
3
+ v1.2.0-next.24 */
4
+ import{A as T,B as y,C as A,D as w,E,F as G,n as t,q as d,r as m,s as b,t as k,u as h,v as f,w as O,x as M,y as g,z as P}from"./27VT6FGO.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return I(i,p,e),R(i,r),S(i,a),i}function S(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function I(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.22 */
4
- import"./ZQV3UEGN.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.24 */
4
+ import"./EAS42GZC.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.22 */
4
- import{a as c}from"./GMMRDHZU.js";import"./JOGLZRNT.js";import"./JFWEV72O.js";import{b as o}from"./D7WRWG4G.js";import{E as n,h as s,i,l as r,o as l}from"./5WF2EVNT.js";import"./ZQV3UEGN.js";var d=s`/** @license
3
+ v1.2.0-next.24 */
4
+ import{a as c}from"./K2VMZCUX.js";import"./TNHXSGP4.js";import"./5TKI4FG4.js";import{b as o}from"./443EHILD.js";import{E as n,h as s,i,l as r,o as l}from"./6WW2DA2G.js";import"./EAS42GZC.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.22 */
4
- import{d as e}from"./K5E7SDHF.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.2.0-next.24 */
4
+ import{d as e}from"./IMPPWVVG.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.22 */
4
- import"./ZQV3UEGN.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
3
+ v1.2.0-next.24 */
4
+ import"./EAS42GZC.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});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.22 */
4
- import{a as r}from"./5AFTWETY.js";import{b as o}from"./D7WRWG4G.js";import{E as n,I as e,h as i,i as s}from"./5WF2EVNT.js";import"./ZQV3UEGN.js";var a=i`/** @license
3
+ v1.2.0-next.24 */
4
+ import{a as r}from"./T7GSBDIG.js";import{b as o}from"./443EHILD.js";import{E as n,I as e,h as i,i as s}from"./6WW2DA2G.js";import"./EAS42GZC.js";var a=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");