@esri/solutions-components 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/dist/cdn/{5JQYCQWD.js → 2CC32CPA.js} +1 -1
  2. package/dist/cdn/{B5KSOIAE.js → 2F7ZIXE4.js} +2 -2
  3. package/dist/cdn/{VXZ2B534.js → 2JA5VZ4Q.js} +2 -2
  4. package/dist/cdn/{5C2W5W6U.js → 2LWO2DTN.js} +2 -2
  5. package/dist/cdn/{3EVGRBFY.js → 2LZJQN7R.js} +1 -1
  6. package/dist/cdn/{AMW6PLM5.js → 2UPCSZ4S.js} +2 -2
  7. package/dist/cdn/{AB4XPYGH.js → 2VSWXPDT.js} +2 -2
  8. package/dist/cdn/2W44KQT2.js +4 -0
  9. package/dist/cdn/{UUUHJN3K.js → 2ZTS3WNB.js} +2 -2
  10. package/dist/cdn/{A5FGCYNW.js → 36PJ5WL5.js} +2 -2
  11. package/dist/cdn/{X4I3726V.js → 3ADKTMOT.js} +2 -2
  12. package/dist/cdn/{VUHPVY6F.js → 3D2A2GR6.js} +2 -2
  13. package/dist/cdn/{P325FJIH.js → 3O5P6PXO.js} +2 -2
  14. package/dist/cdn/{QQBRQOVF.js → 3RAYGCP4.js} +2 -2
  15. package/dist/cdn/{LZC5OKYE.js → 3RJYN2DN.js} +2 -2
  16. package/dist/cdn/{KSLSMSNN.js → 3SDE2CZG.js} +2 -2
  17. package/dist/cdn/3V6F3XIS.js +18 -0
  18. package/dist/cdn/{J4JPFH2C.js → 3WPFW6HO.js} +2 -2
  19. package/dist/cdn/{OS2XMULM.js → 444IDO3Z.js} +2 -2
  20. package/dist/cdn/{4AMMMHQL.js → 467UGXS6.js} +2 -2
  21. package/dist/cdn/{C5POLXJA.js → 4C2LIMJZ.js} +2 -2
  22. package/dist/cdn/{VTR2E6HB.js → 4EOWY4WA.js} +2 -2
  23. package/dist/cdn/{PSP2JCLX.js → 4GAUFXRB.js} +1 -1
  24. package/dist/cdn/{WIZLQW7N.js → 4LAC6IBS.js} +2 -2
  25. package/dist/cdn/{NP4W7EDK.js → 4MCP26Y4.js} +2 -2
  26. package/dist/cdn/{4H2V4B6C.js → 4QTSIIRU.js} +2 -2
  27. package/dist/cdn/{JYTMSQVX.js → 4SSQ22MK.js} +2 -2
  28. package/dist/cdn/{4BIK73M6.js → 4U4WVITW.js} +2 -2
  29. package/dist/cdn/{6C3QGOV2.js → 4U4XW77U.js} +2 -2
  30. package/dist/cdn/{ZRPPJQRE.js → 54HVDRDS.js} +2 -2
  31. package/dist/cdn/{TBQ6UDD2.js → 5B34RYXT.js} +2 -2
  32. package/dist/cdn/{BZES2KJM.js → 5BFFCPDO.js} +2 -2
  33. package/dist/cdn/{PYIX27UL.js → 5C4MSN6W.js} +2 -2
  34. package/dist/cdn/{PPVPQPWQ.js → 5CRWOCNH.js} +2 -2
  35. package/dist/cdn/{XXLQWESJ.js → 5HLL7D2P.js} +2 -2
  36. package/dist/cdn/{BM7MU2L4.js → 5IBDEJNP.js} +2 -2
  37. package/dist/cdn/{5YSFQ4E3.js → 5IBY2FQU.js} +1 -1
  38. package/dist/cdn/{6NDD2A2S.js → 5IH2NEYC.js} +2 -2
  39. package/dist/cdn/5KQ3IDBU.js +4 -0
  40. package/dist/cdn/{RV44MYN7.js → 5NTNQARK.js} +2 -2
  41. package/dist/cdn/{AF27BERT.js → 5PZ5I3C4.js} +2 -2
  42. package/dist/cdn/{RV5R7U2A.js → 5VKFD2YO.js} +2 -2
  43. package/dist/cdn/{SRZKPJVK.js → 5WH7QYAO.js} +2 -2
  44. package/dist/cdn/6CIFKKHA.js +18 -0
  45. package/dist/cdn/{PFD6TBZM.js → 6CL5S7CF.js} +2 -2
  46. package/dist/cdn/{OIK6EGQ7.js → 6EUBWF2M.js} +2 -2
  47. package/dist/cdn/{GK2GYSCW.js → 6IKP3GLY.js} +2 -2
  48. package/dist/cdn/{RUKTK5PF.js → 6INDIN6I.js} +1 -1
  49. package/dist/cdn/{2DNLAFAS.js → 6JJTBX53.js} +2 -2
  50. package/dist/cdn/{UANGRMJE.js → 6OB4W3O5.js} +2 -2
  51. package/dist/cdn/{KQRRNLN7.js → 6WQZRPWK.js} +2 -2
  52. package/dist/cdn/{UZFCVNKV.js → 6YGUHVIL.js} +2 -2
  53. package/dist/cdn/{KTI5QE2K.js → 6ZFBCODW.js} +2 -2
  54. package/dist/cdn/{TKP6ZIYO.js → 727TY5WA.js} +1 -1
  55. package/dist/cdn/{VXCPN4DG.js → 74KF43Q7.js} +2 -2
  56. package/dist/cdn/{5LUSAPPH.js → 77NGJJRC.js} +2 -2
  57. package/dist/cdn/{O3JIKJGK.js → 7ETOIECJ.js} +2 -2
  58. package/dist/cdn/{PUKJYYTH.js → 7LRZQ562.js} +2 -2
  59. package/dist/cdn/{JSPHL3ZQ.js → 7SCM56QW.js} +2 -2
  60. package/dist/cdn/{FGCO2ORF.js → 7T5OVZJR.js} +1 -1
  61. package/dist/cdn/{I3E3JX77.js → 7WJWSOJH.js} +2 -2
  62. package/dist/cdn/{ORH5XZIQ.js → 7XKZ3CKS.js} +1 -1
  63. package/dist/cdn/{YT3HXHZX.js → 7XNXAJF3.js} +2 -2
  64. package/dist/cdn/{4DELYGXR.js → AAW4M5UY.js} +1 -1
  65. package/dist/cdn/{M3JQHFSU.js → ACTLIYVY.js} +1 -1
  66. package/dist/cdn/AILRWBPO.js +4 -0
  67. package/dist/cdn/{BOHONSFJ.js → AJ4YAPGC.js} +2 -2
  68. package/dist/cdn/AOPIUSEK.js +4 -0
  69. package/dist/cdn/{G4UJUDJT.js → ARAFKGS2.js} +2 -2
  70. package/dist/cdn/{DJG2ZUWK.js → AVAUHONF.js} +2 -2
  71. package/dist/cdn/{RFH4QYOD.js → AX2IRDRE.js} +2 -2
  72. package/dist/cdn/{L72F3CMH.js → B3J5GWRK.js} +1 -1
  73. package/dist/cdn/{OKHJNJQ3.js → B5QR4WI6.js} +2 -2
  74. package/dist/cdn/{HYWAINS4.js → BAPJICUA.js} +2 -2
  75. package/dist/cdn/{QPGA66A2.js → BDHYDLFO.js} +2 -2
  76. package/dist/cdn/BPEPRRF3.js +4 -0
  77. package/dist/cdn/{O5NFMICR.js → BQ6W6B2V.js} +1 -1
  78. package/dist/cdn/{EFEMVR7H.js → BV7WAP3N.js} +2 -2
  79. package/dist/cdn/C2ERTRIZ.js +4 -0
  80. package/dist/cdn/{I4QX6RMP.js → C4ZYMWDM.js} +2 -2
  81. package/dist/cdn/{6PD2H4JH.js → CC3G7K6T.js} +2 -2
  82. package/dist/cdn/{KNPFBJQA.js → CVYZLOIA.js} +2 -2
  83. package/dist/cdn/{GU6ODYX3.js → D5VM7347.js} +2 -2
  84. package/dist/cdn/D7HY5OWZ.js +18 -0
  85. package/dist/cdn/{HI7D2U25.js → DGUC2FBD.js} +2 -2
  86. package/dist/cdn/DMP3KEG5.js +4 -0
  87. package/dist/cdn/{753QAV4W.js → DMSA5MQS.js} +2 -2
  88. package/dist/cdn/{EHTK6HWZ.js → DWHGFYZ3.js} +1 -1
  89. package/dist/cdn/{TQWK6V5V.js → E33KGT3U.js} +1 -1
  90. package/dist/cdn/{MU4OTO47.js → E3AUWVZ5.js} +2 -2
  91. package/dist/cdn/{OGW4H5WS.js → E4FOTYSK.js} +2 -2
  92. package/dist/cdn/E5WY7EJU.js +18 -0
  93. package/dist/cdn/{WC247XQ6.js → EAZUJFAP.js} +2 -2
  94. package/dist/cdn/ECID3BOS.js +18 -0
  95. package/dist/cdn/{7XRIDSQA.js → EER4N6Z4.js} +2 -2
  96. package/dist/cdn/ERVPNOOE.js +4 -0
  97. package/dist/cdn/{FSQJF7E4.js → EVLPNGVY.js} +2 -2
  98. package/dist/cdn/{ZFJUFWKG.js → EXGARZ53.js} +2 -2
  99. package/dist/cdn/{PLASWOCJ.js → EXNI3E3V.js} +1 -1
  100. package/dist/cdn/{KQT4EINQ.js → EZWQ3FN6.js} +2 -2
  101. package/dist/cdn/{ZGA5KQXP.js → F66BID67.js} +1 -1
  102. package/dist/cdn/{PGXDDG5S.js → FB42MKVI.js} +2 -2
  103. package/dist/cdn/{TXLKUYV2.js → FBCRLSBX.js} +2 -2
  104. package/dist/cdn/{CLZ76DFI.js → FBPGHBBN.js} +1 -1
  105. package/dist/cdn/{XM4IJDWV.js → FGUFX7HJ.js} +1 -1
  106. package/dist/cdn/{FVAP4UBB.js → FJJXJF2V.js} +2 -2
  107. package/dist/cdn/{NCU6UX4Y.js → FNKZV5FF.js} +2 -2
  108. package/dist/cdn/{NMZOOVD5.js → FNWUB6GJ.js} +2 -2
  109. package/dist/cdn/{IXTBS5WJ.js → FPCDPUTH.js} +2 -2
  110. package/dist/cdn/{FFU546ZJ.js → FSLY3Q32.js} +2 -2
  111. package/dist/cdn/{7V252QBT.js → FUNSSHRI.js} +2 -2
  112. package/dist/cdn/{MW3TOC4O.js → G4UGKO7I.js} +2 -2
  113. package/dist/cdn/{TNPHUDU5.js → GERXYYJ5.js} +2 -2
  114. package/dist/cdn/GHJ65L2F.js +4 -0
  115. package/dist/cdn/GLEKE5MB.js +4 -0
  116. package/dist/cdn/{2JQ2BEIQ.js → GLGJ4TDS.js} +2 -2
  117. package/dist/cdn/{YLMMX2OH.js → GMHTFC5D.js} +2 -2
  118. package/dist/cdn/{VF3OE7WS.js → GPDF625C.js} +1 -1
  119. package/dist/cdn/{C6BGGFEF.js → GPFSHKEQ.js} +2 -2
  120. package/dist/cdn/{4RYZ25UY.js → GS5KTDPD.js} +1 -1
  121. package/dist/cdn/{F3GQ2KDF.js → GXY74GGJ.js} +2 -2
  122. package/dist/cdn/{F2T2S2QU.js → H26UVKPN.js} +1 -1
  123. package/dist/cdn/{4OJANGG2.js → H5Q2TVQ7.js} +2 -2
  124. package/dist/cdn/{WTQ4CUVN.js → H7LKWL6W.js} +2 -2
  125. package/dist/cdn/{CDDGYF3K.js → HACP2EXZ.js} +1 -1
  126. package/dist/cdn/{U45DGMUG.js → HEDVVSMN.js} +2 -2
  127. package/dist/cdn/{OGLT2FNT.js → HG7I73HP.js} +2 -2
  128. package/dist/cdn/{4RVVEL4U.js → HGY2TGZZ.js} +2 -2
  129. package/dist/cdn/{KVEA5E7H.js → HSZ7M7T7.js} +2 -2
  130. package/dist/cdn/{OZVC6WF4.js → HU3NU6NO.js} +2 -2
  131. package/dist/cdn/{7N6NOB6I.js → HUFTJBPT.js} +2 -2
  132. package/dist/cdn/{B4IYKBMJ.js → HZ247CLQ.js} +2 -2
  133. package/dist/cdn/{2AZTGGQP.js → IBVPZZZL.js} +1 -1
  134. package/dist/cdn/{DZWNJWAP.js → IGPECNF7.js} +2 -2
  135. package/dist/cdn/{6EBCWPAA.js → IRMQ5QUZ.js} +2 -2
  136. package/dist/cdn/{K3GLXE2P.js → IW7MKKD5.js} +2 -2
  137. package/dist/cdn/{TZRKKXAD.js → IYHBIGDU.js} +2 -2
  138. package/dist/cdn/{BF4MLXML.js → J2RTL6TV.js} +1 -1
  139. package/dist/cdn/{ZUVIZNK3.js → JKLJ2PP4.js} +2 -2
  140. package/dist/cdn/{WZT6CYOJ.js → JLYYEGO6.js} +1 -1
  141. package/dist/cdn/{65FSH56H.js → JNK7VRHJ.js} +2 -2
  142. package/dist/cdn/{WSWWUPOS.js → JQWOQPMK.js} +2 -2
  143. package/dist/cdn/{4LOK3JWB.js → JRSOJV5U.js} +2 -2
  144. package/dist/cdn/{A534RBYP.js → JVIJAD4Z.js} +1 -1
  145. package/dist/cdn/{AABCWF4V.js → JWQQXCKE.js} +2 -2
  146. package/dist/cdn/{MUWEJYVI.js → JXB7JVDB.js} +2 -2
  147. package/dist/cdn/{RPF35HAJ.js → JXDP3DWB.js} +2 -2
  148. package/dist/cdn/{PE2TLSRM.js → K6SIK44G.js} +2 -2
  149. package/dist/cdn/{Y33UFW64.js → KAJVJKOH.js} +2 -2
  150. package/dist/cdn/{KAZSBKHX.js → KB37GULW.js} +1 -1
  151. package/dist/cdn/{Q5AWSODM.js → KFIZVENE.js} +2 -2
  152. package/dist/cdn/{QZYPXSAV.js → KKYPHXOP.js} +2 -2
  153. package/dist/cdn/{2IP6OT43.js → KM7TRF5W.js} +2 -2
  154. package/dist/cdn/{HQIAVN67.js → KMSR2MGE.js} +1 -1
  155. package/dist/cdn/{IXJEV6RS.js → KPQBFQZB.js} +2 -2
  156. package/dist/cdn/{TARGNPVA.js → KRCWP4LH.js} +2 -2
  157. package/dist/cdn/{JVW5HI2D.js → KUTMCNDR.js} +2 -2
  158. package/dist/cdn/{UUIMWX7O.js → LDGERXGM.js} +2 -2
  159. package/dist/cdn/{PS7XJL2U.js → LTQVQQV3.js} +2 -2
  160. package/dist/cdn/{CX2QWWHL.js → LVF5XFSJ.js} +2 -2
  161. package/dist/cdn/{TGHZAXVE.js → LWMS3PYA.js} +2 -2
  162. package/dist/cdn/{SGGYFQLR.js → M2M3Q6IH.js} +2 -2
  163. package/dist/cdn/{7VTP4EVO.js → M5BRHZXV.js} +2 -2
  164. package/dist/cdn/{I6ZE3VUY.js → MCEAO75V.js} +1 -1
  165. package/dist/cdn/{S2NGFTAF.js → MF7K3QIL.js} +2 -2
  166. package/dist/cdn/MIQF66D6.js +4 -0
  167. package/dist/cdn/{DUVNOIA7.js → ML4GJWGS.js} +2 -2
  168. package/dist/cdn/MLARWD73.js +4 -0
  169. package/dist/cdn/{KTKSUQ5S.js → MLOQ5K45.js} +2 -2
  170. package/dist/cdn/{IKVFAXUB.js → MOKLXZ34.js} +2 -2
  171. package/dist/cdn/{6WGXTLF4.js → MPOB2AAE.js} +2 -2
  172. package/dist/cdn/{GQVTZIV3.js → MWWVKDRQ.js} +2 -2
  173. package/dist/cdn/N4VYHF37.js +18 -0
  174. package/dist/cdn/{VKXA2IQW.js → NCR7SCD4.js} +2 -2
  175. package/dist/cdn/{ZPNUYCYC.js → NDLXIAZ2.js} +2 -2
  176. package/dist/cdn/NFNJC6DC.js +4 -0
  177. package/dist/cdn/{7ESWUYD7.js → NJX24G7O.js} +2 -2
  178. package/dist/cdn/{4P66S2XD.js → NMCIL4AU.js} +2 -2
  179. package/dist/cdn/{UKSUWA3B.js → NNTKYQHM.js} +1 -1
  180. package/dist/cdn/{2ETHF7OM.js → NOQQVVJO.js} +2 -2
  181. package/dist/cdn/{LWNLZFMB.js → NUCELJUA.js} +2 -2
  182. package/dist/cdn/{PY55NBB3.js → NXNAWCBW.js} +2 -2
  183. package/dist/cdn/{TSYBPIHM.js → O24JVO6E.js} +2 -2
  184. package/dist/cdn/{XGBQUYNN.js → O52M27Z5.js} +2 -2
  185. package/dist/cdn/{GH7MZ4TU.js → O5NUSUPU.js} +1 -1
  186. package/dist/cdn/{RM3ZEQXS.js → OBZAUMYX.js} +2 -2
  187. package/dist/cdn/{ASHWLSNH.js → OJLPY774.js} +2 -2
  188. package/dist/cdn/{MAFJTGI7.js → OK6QGXX6.js} +2 -2
  189. package/dist/cdn/{VXPBZUD6.js → OOAOVEB5.js} +2 -2
  190. package/dist/cdn/{BVSTBYJQ.js → OOTUQXHB.js} +2 -2
  191. package/dist/cdn/{WP57L3ZR.js → OP7BMHEO.js} +2 -2
  192. package/dist/cdn/OPZKDVLB.js +18 -0
  193. package/dist/cdn/{GFKIE25D.js → OYP7AQ6G.js} +2 -2
  194. package/dist/cdn/{45CNJSWY.js → PCVCGUBO.js} +2 -2
  195. package/dist/cdn/{3GL66CHB.js → PFYARW7S.js} +2 -2
  196. package/dist/cdn/{RRC2IGCL.js → PGC6RJRM.js} +2 -2
  197. package/dist/cdn/{YXHUA4CI.js → PLMRWY6C.js} +2 -2
  198. package/dist/cdn/{YWSDRWQN.js → PMFBRSOS.js} +2 -2
  199. package/dist/cdn/{WY2YAJV2.js → PTHS5BTD.js} +1 -1
  200. package/dist/cdn/{WVJNLVM2.js → Q4BR636Z.js} +2 -2
  201. package/dist/cdn/{FJDXAEGB.js → QBMJV5OP.js} +2 -2
  202. package/dist/cdn/{ZUSLGKOQ.js → QCHE4DVW.js} +2 -2
  203. package/dist/cdn/{XDTSRIUV.js → QGYS53RR.js} +4 -4
  204. package/dist/cdn/{7QIEPJRP.js → QLLSLSBN.js} +1 -1
  205. package/dist/cdn/{77US24T3.js → QLU4XVVT.js} +2 -2
  206. package/dist/cdn/{PCAPJGRX.js → QMSEY6QZ.js} +2 -2
  207. package/dist/cdn/{JQ7HMAJD.js → QRWG2TYR.js} +2 -2
  208. package/dist/cdn/{SFY7JL2D.js → QSIK5PN7.js} +2 -2
  209. package/dist/cdn/{GUNSWZAV.js → QU7J46DX.js} +2 -2
  210. package/dist/cdn/{DEQ6UPN5.js → R6EOKADJ.js} +2 -2
  211. package/dist/cdn/{DBQ42J5H.js → RD7ZS2W6.js} +2 -2
  212. package/dist/cdn/{7C7SXM4M.js → RJWYLFLD.js} +2 -2
  213. package/dist/cdn/{M2MY5G5H.js → RK2B65CQ.js} +2 -2
  214. package/dist/cdn/{AH6XEMQ2.js → RKBLAY36.js} +2 -2
  215. package/dist/cdn/{PYNMB3I2.js → RKMDSDH2.js} +2 -2
  216. package/dist/cdn/{PXCWZJ7U.js → S32ETE5A.js} +2 -2
  217. package/dist/cdn/{LKE4PKVZ.js → SEYKRRTC.js} +2 -2
  218. package/dist/cdn/{DC22KAGH.js → SJEANN4A.js} +2 -2
  219. package/dist/cdn/{MTPMC5GM.js → SONLDZKZ.js} +2 -2
  220. package/dist/cdn/{ATNDBD4K.js → SSBXWLZH.js} +2 -2
  221. package/dist/cdn/{N2SMCNLL.js → T2XCKYU7.js} +2 -2
  222. package/dist/cdn/{4QO4KGLF.js → TAV3B2GU.js} +1 -1
  223. package/dist/cdn/{UNYBJ7BO.js → TBO2D36S.js} +1 -1
  224. package/dist/cdn/{LDJU7VV4.js → TC5DHEWZ.js} +2 -2
  225. package/dist/cdn/{GEOD3XEI.js → TIZVAXWN.js} +2 -2
  226. package/dist/cdn/{KIQPCYN6.js → TKLPH6MB.js} +1 -1
  227. package/dist/cdn/TNYU5475.js +4 -0
  228. package/dist/cdn/{QUGE5UIB.js → TOETAVWD.js} +2 -2
  229. package/dist/cdn/{KFYEVP5G.js → TP5XDVEG.js} +2 -2
  230. package/dist/cdn/{375NF2W7.js → TTX7PTAO.js} +2 -2
  231. package/dist/cdn/{RX5LSG2B.js → TWNZJBQA.js} +2 -2
  232. package/dist/cdn/{6JY7QTCS.js → TZQH4GMU.js} +2 -2
  233. package/dist/cdn/{FWP6XYXK.js → UOD4T3ON.js} +1 -1
  234. package/dist/cdn/{Q7M5LNDV.js → UROIIN7O.js} +2 -2
  235. package/dist/cdn/{562IDXBA.js → USLJNUGC.js} +2 -2
  236. package/dist/cdn/{YQMCID5Z.js → UTLWN6N7.js} +2 -2
  237. package/dist/cdn/{GVD3BPTW.js → UUHKWZ2Z.js} +2 -2
  238. package/dist/cdn/{CXK3KS6W.js → UUUTNXB4.js} +1 -1
  239. package/dist/cdn/{YHQYMIPA.js → UY5FQRLE.js} +3 -3
  240. package/dist/cdn/{X6AY6CXE.js → V55ZE6QF.js} +2 -2
  241. package/dist/cdn/{D55TK32T.js → VAVI46B5.js} +2 -2
  242. package/dist/cdn/{JOYJ7K2X.js → VGUHMA6Y.js} +2 -2
  243. package/dist/cdn/{UUIA7SBZ.js → VQHGM66B.js} +2 -2
  244. package/dist/cdn/{W3GM72GU.js → VRBUE2RB.js} +2 -2
  245. package/dist/cdn/{CGUIDOP7.js → VS4B5DD2.js} +2 -2
  246. package/dist/cdn/{T7T6X6O5.js → VTZILRDE.js} +2 -2
  247. package/dist/cdn/{MC2Q2QYK.js → VU5B3BJJ.js} +2 -2
  248. package/dist/cdn/{Y737Y2JU.js → VWO7O6IS.js} +2 -2
  249. package/dist/cdn/VYNJ3IAK.js +4 -0
  250. package/dist/cdn/{CUK7OF76.js → VZFDFVGG.js} +2 -2
  251. package/dist/cdn/{QPA3WWD5.js → VZFXG3TX.js} +2 -2
  252. package/dist/cdn/{QEZIPKKL.js → W2I3RJRK.js} +2 -2
  253. package/dist/cdn/{37FXFNVH.js → W377GATJ.js} +2 -2
  254. package/dist/cdn/{TY7GL3FG.js → W4D3Q2KE.js} +2 -2
  255. package/dist/cdn/{VU6ZKOYY.js → WDUYYHOZ.js} +2 -2
  256. package/dist/cdn/{IKGNORRI.js → WEWB3BRG.js} +1 -1
  257. package/dist/cdn/{DMWC3BFF.js → WLNWGHXO.js} +2 -2
  258. package/dist/cdn/{MAVOVPIB.js → WMHD7E5R.js} +2 -2
  259. package/dist/cdn/{7S572CXN.js → WMYYW4X6.js} +2 -2
  260. package/dist/cdn/{K7A26VQP.js → WOD4EWNY.js} +2 -2
  261. package/dist/cdn/{A3YY7YT4.js → WQN5K2ZY.js} +2 -2
  262. package/dist/cdn/WSSBOJ5N.js +18 -0
  263. package/dist/cdn/{KZFFQCTK.js → WW7D6SSQ.js} +1 -1
  264. package/dist/cdn/WYKOLNUO.js +4 -0
  265. package/dist/cdn/{H4S5Q3QE.js → WZ2Y55GH.js} +2 -2
  266. package/dist/cdn/{C5B7DSSA.js → X5B3HI7H.js} +2 -2
  267. package/dist/cdn/X6GUL5YM.js +4 -0
  268. package/dist/cdn/{G457BSKN.js → XF3QMPYW.js} +2 -2
  269. package/dist/cdn/XF4JI76V.js +18 -0
  270. package/dist/cdn/{2VDJE4V4.js → XH56YQ5M.js} +2 -2
  271. package/dist/cdn/{COE4KJBH.js → XJEKCHNF.js} +2 -2
  272. package/dist/cdn/{4MI7L2IM.js → XNQ27MXZ.js} +2 -2
  273. package/dist/cdn/{FDRKGYGJ.js → XNUHTFDS.js} +1 -1
  274. package/dist/cdn/{YMQZBSVF.js → XT5ITDOM.js} +2 -2
  275. package/dist/cdn/{7U4V4KQD.js → XUEE63KO.js} +1 -1
  276. package/dist/cdn/{JKOAF37V.js → Y34VPW3D.js} +2 -2
  277. package/dist/cdn/{USSUHCJG.js → YIIADRZZ.js} +2 -2
  278. package/dist/cdn/{YO3NHOIF.js → Z47UTABF.js} +2 -2
  279. package/dist/cdn/{3NF274CX.js → ZD2443DU.js} +2 -2
  280. package/dist/cdn/{BAUJD3CH.js → ZFECRVJQ.js} +2 -2
  281. package/dist/cdn/{BMVYNMLV.js → ZG7KYN4E.js} +2 -2
  282. package/dist/cdn/{HG3L3JDR.js → ZJQDRWP2.js} +2 -2
  283. package/dist/cdn/{SZEHA4OQ.js → ZLLEYAP3.js} +2 -2
  284. package/dist/cdn/{3EO7HXAA.js → ZOMUTHCL.js} +2 -2
  285. package/dist/cdn/{OWK6VKPV.js → ZV2QHOXX.js} +2 -2
  286. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.en.json +1 -1
  287. package/dist/cdn/assets/solution-delete-dialog/t9n/messages.json +1 -1
  288. package/dist/cdn/index.js +2 -2
  289. package/dist/chunks/Auth.js +1 -1
  290. package/dist/chunks/appConfig.js +1 -1
  291. package/dist/chunks/cardFetchingUtils.js +1 -1
  292. package/dist/chunks/common.js +17 -3
  293. package/dist/chunks/deployAppContexts.js +1 -1
  294. package/dist/chunks/downloadUtils.js +1 -1
  295. package/dist/chunks/helpers.js +1 -1
  296. package/dist/chunks/index.js +1 -1
  297. package/dist/chunks/interfaces.js +1 -1
  298. package/dist/chunks/loadModules.js +1 -1
  299. package/dist/chunks/mapViewUtils.js +1 -1
  300. package/dist/chunks/pciUtils.js +1 -1
  301. package/dist/chunks/popupUtils.js +1 -1
  302. package/dist/chunks/prepareDataForSolutionDisplay.js +57 -0
  303. package/dist/chunks/privilegeUtils.js +1 -1
  304. package/dist/chunks/publicNotificationStore.js +1 -1
  305. package/dist/chunks/queryUtils.js +1 -1
  306. package/dist/chunks/runtime.js +1 -1
  307. package/dist/chunks/solution-store.js +1 -1
  308. package/dist/chunks/templates.js +1 -1
  309. package/dist/chunks/useT9n.js +1 -1
  310. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  311. package/dist/components/basemap-gallery/customElement.js +1 -1
  312. package/dist/components/buffer-tools/customElement.js +1 -1
  313. package/dist/components/card-manager/customElement.js +1 -1
  314. package/dist/components/consent-manager/customElement.js +1 -1
  315. package/dist/components/create-feature/customElement.js +1 -1
  316. package/dist/components/create-related-feature/customElement.js +1 -1
  317. package/dist/components/crowdsource-manager/customElement.js +1 -1
  318. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  319. package/dist/components/deduct-calculator/customElement.js +1 -1
  320. package/dist/components/delete-button/customElement.js +1 -1
  321. package/dist/components/delete-dialog/customElement.js +1 -1
  322. package/dist/components/edit-card/customElement.js +1 -1
  323. package/dist/components/feature-details/customElement.js +1 -1
  324. package/dist/components/feature-list/customElement.js +1 -1
  325. package/dist/components/field-selection/customElement.js +1 -1
  326. package/dist/components/floor-filter/customElement.js +1 -1
  327. package/dist/components/info-card/customElement.js +1 -1
  328. package/dist/components/json-editor/customElement.js +1 -1
  329. package/dist/components/layer-list/customElement.js +1 -1
  330. package/dist/components/layer-table/customElement.js +13 -10
  331. package/dist/components/map-card/customElement.js +1 -1
  332. package/dist/components/map-draw-tools/customElement.js +1 -1
  333. package/dist/components/map-fullscreen/customElement.js +1 -1
  334. package/dist/components/map-layer-picker/customElement.js +8 -8
  335. package/dist/components/map-legend/customElement.js +1 -1
  336. package/dist/components/map-picker/customElement.js +25 -26
  337. package/dist/components/map-search/customElement.js +1 -1
  338. package/dist/components/map-select-tools/customElement.js +1 -1
  339. package/dist/components/map-tools/customElement.js +1 -1
  340. package/dist/components/pci-calculator/customElement.js +1 -1
  341. package/dist/components/pdf-download/customElement.js +1 -1
  342. package/dist/components/public-notification/customElement.js +1 -1
  343. package/dist/components/refine-selection/customElement.js +1 -1
  344. package/dist/components/selection-tool/customElement.js +1 -1
  345. package/dist/components/solution-article-card/customElement.js +1 -1
  346. package/dist/components/solution-configuration/customElement.js +1 -1
  347. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  348. package/dist/components/solution-configure-titles/customElement.js +1 -1
  349. package/dist/components/solution-contents/customElement.js +1 -1
  350. package/dist/components/solution-delete-dialog/customElement.d.ts +1 -0
  351. package/dist/components/solution-delete-dialog/customElement.js +42 -46
  352. package/dist/components/solution-delete-dialog/index.d.ts +1 -0
  353. package/dist/components/solution-delete-dialog/index.js +1 -0
  354. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  355. package/dist/components/solution-deployed-card/customElement.js +25 -75
  356. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  357. package/dist/components/solution-details-card/customElement.js +1 -1
  358. package/dist/components/solution-details-panel/customElement.d.ts +1 -1
  359. package/dist/components/solution-details-panel/customElement.js +54 -59
  360. package/dist/components/solution-item/customElement.js +1 -1
  361. package/dist/components/solution-item-accordion/customElement.js +1 -1
  362. package/dist/components/solution-item-details/customElement.js +1 -1
  363. package/dist/components/solution-item-diagram/customElement.js +1 -1
  364. package/dist/components/solution-item-icon/customElement.js +1 -1
  365. package/dist/components/solution-item-sharing/customElement.js +1 -1
  366. package/dist/components/solution-organization-variables/customElement.js +1 -1
  367. package/dist/components/solution-resource-item/customElement.js +1 -1
  368. package/dist/components/solution-snapshot-gallery/customElement.d.ts +24 -0
  369. package/dist/components/solution-snapshot-gallery/customElement.js +45 -17
  370. package/dist/components/solution-snapshot-gallery/index.d.ts +4 -0
  371. package/dist/components/solution-snapshot-gallery/index.js +4 -0
  372. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  373. package/dist/components/solution-template-data/customElement.js +1 -1
  374. package/dist/components/solution-variables/customElement.js +1 -1
  375. package/dist/components/solutions-all-panel/customElement.js +1 -1
  376. package/dist/components/solutions-all-shell/customElement.js +1 -1
  377. package/dist/components/solutions-article-panel/customElement.js +1 -1
  378. package/dist/components/solutions-articles/customElement.js +1 -1
  379. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  380. package/dist/components/solutions-deployed-panel/customElement.js +19 -15
  381. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  382. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  383. package/dist/components/spatial-ref/customElement.js +1 -1
  384. package/dist/components/store-manager/customElement.js +1 -1
  385. package/dist/docs/api.json +198 -71
  386. package/dist/docs/docs.json +216 -73
  387. package/dist/docs/vscode.html-custom-data.json +8 -2
  388. package/dist/docs/web-types.json +48 -6
  389. package/dist/index.js +1 -1
  390. package/dist/loader.js +2 -2
  391. package/dist/types/lumina.d.ts +1 -1
  392. package/dist/types/preact.d.ts +1 -1
  393. package/dist/types/react.d.ts +1 -1
  394. package/dist/types/stencil.d.ts +1 -1
  395. package/dist/utils/common.d.ts +16 -0
  396. package/package.json +22 -22
  397. package/dist/cdn/2V47J56C.js +0 -18
  398. package/dist/cdn/3O4G5XDF.js +0 -18
  399. package/dist/cdn/3WWZQYHU.js +0 -18
  400. package/dist/cdn/4W4XMW2A.js +0 -4
  401. package/dist/cdn/6KPH5V5K.js +0 -4
  402. package/dist/cdn/A6RESCXF.js +0 -4
  403. package/dist/cdn/B7B5O4K4.js +0 -18
  404. package/dist/cdn/DYWRP4H5.js +0 -18
  405. package/dist/cdn/G4CYMD2F.js +0 -4
  406. package/dist/cdn/HLGUH3Z5.js +0 -4
  407. package/dist/cdn/IRZGR6FA.js +0 -18
  408. package/dist/cdn/JUIF3JFS.js +0 -4
  409. package/dist/cdn/M5DV4YRX.js +0 -18
  410. package/dist/cdn/MI54WZOS.js +0 -18
  411. package/dist/cdn/N6EHMAJL.js +0 -4
  412. package/dist/cdn/NF2EHSNV.js +0 -4
  413. package/dist/cdn/NKZQ7OVS.js +0 -4
  414. package/dist/cdn/PUQGIVUM.js +0 -4
  415. package/dist/cdn/T2HT5CMC.js +0 -18
  416. package/dist/cdn/T6E7HFWP.js +0 -4
  417. package/dist/cdn/TCDPSWNN.js +0 -4
  418. package/dist/cdn/U3YAUOKI.js +0 -4
  419. package/dist/cdn/YLTGHBKB.js +0 -4
  420. package/dist/cdn/ZEVGAANR.js +0 -4
  421. package/dist/cdn/ZRK24AZH.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as xn}from"./IXJEV6RS.js";import{D as wn,c as yn,n as vn,y as bn}from"./ZGA5KQXP.js";import"./PLASWOCJ.js";function zi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Wi(n)||$i(n)||Vi(n))}function Wi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function $i(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Vi(e){return!e.user&&e.ipCntryCode==="US"}var Ne={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]}}},zr="esri-telemetry";function Hi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Fi(e)||e.body)&&t()})}function Ki(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${zr}="${n}"]`)}function Fi(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:l,onerror:d}=e;if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");if(Ki(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=qi({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:l,onerror:d});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ye=class extends Error{};function qi({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let l=document.createElement("script");return e&&(l.id=e),t&&l.setAttribute(`data-${zr}`,t),a&&(l.src=a),o&&(l.innerText=o),l.type=n,l.async=r,l.defer=i,s&&(l.onload=s),u&&(l.onerror=u),l}function Gi(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 Ji=["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"],jt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=zi(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=Ji.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=Ne.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Ne.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Ne.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(Xi(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 Xi(e,t){return function(n,[r,i]){return Bi(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 Bi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(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 Et=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 Gi(this._getScripts())}async init(){if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Hi(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=nn(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),{})}},Sn="TELEMETRY_COGNITO_CREDENTIALS";function Qi(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Ne.get(Sn);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})=>(Ne.set(Sn,o),o))}function Wr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Yi(t,r),value:e[r]}:{key:r,value:Zi(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Zi(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Yi(e,t){return`dimension${e[t]}`}var eo=["size","duration","position","number","count"];function $r(e,t={}){return Object.keys(e).filter(n=>t[n]||eo.includes(n)).map(n=>t[n]?{key:to(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function to(e,t){return`metric${e[t]}`}function no({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=$r(e,n),u=Wr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),l=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(l.referrer=document.referrer),typeof window<"u"&&!l.hostname&&(l.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),l.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,l}function ro({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=$r(n,i),a=Wr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:l,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:l,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function On(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 qe="undefined",kn="object",io=function(){},In="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var Ve=typeof document<"u";et.versions!=null&&et.versions.node!=null;typeof Deno<"u"&&Deno.core;Ve&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Vr(e,t){return t.charAt(0)[e]()+t.slice(1)}var oo=Vr.bind(null,"toUpperCase"),ao=Vr.bind(null,"toLowerCase");function so(e){return Hr(e)?oo("null"):typeof e=="object"?lo(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=so(e);return t?ao(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Hr(e){return e===null}function uo(e){return tt(e)==="number"&&!isNaN(e)}function co(e){return tt(e)==="array"}function lo(e){return Pt(e.constructor)?e.constructor.name:null}function fo(e){return e instanceof Error||Tt(e.message)&&e.constructor&&uo(e.constructor.stackTraceLimit)}function Kr(e,t){if(typeof t!="object"||Hr(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(fo(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Kr.bind(null,TypeError);Kr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?po(e,t):n}function po(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function go(e){return e?co(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ho(){if(Ve){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function mo(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function yo(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(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 l=u.split("[");l.length>1&&(vo(r,l.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return Ve&&window.location.search.substring(1)}())}function vo(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 be(){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 Ce="global",Ie=In+"global"+In,Ae=typeof self===kn&&self.self===self&&self||typeof global===kn&&global.global===global&&global||void 0;function ce(e){return Ae[Ie][e]}function se(e,t){return Ae[Ie][e]=t}function we(e){delete Ae[Ie][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[Ie]||(Ae[Ie]={});var Ge={};function ut(e){if(typeof Ge[e]!==qe)return Ge[e];try{var t=window[e];t.setItem(qe,qe),t.removeItem(qe)}catch{return Ge[e]=!1}return Ge[e]=!0}var jn,ze="__",_t=typeof process<"u"?process:{};(jn=_t.env)!=null&&jn.NODE_ENV;var ue=typeof window<"u";_t.versions!=null&&_t.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Ze=ct.bind(null,"string");ct.bind(null,"undefined");var bo=ct.bind(null,"boolean");function wo(e){return Object.prototype.toString.call(e)==="[object Array]"}function xo(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!xo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nt(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 So(e){if(Array.isArray(e))return Nt(e)}function Oo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fr(e,t){if(e){if(typeof e=="string")return Nt(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 Nt(e,t)}}function ko(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ v1.0.1 */
4
+ import{a as xn}from"./KPQBFQZB.js";import{D as wn,c as yn,n as vn,y as bn}from"./F66BID67.js";import"./EXNI3E3V.js";function zi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Wi(n)||$i(n)||Vi(n))}function Wi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function $i(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Vi(e){return!e.user&&e.ipCntryCode==="US"}var Ne={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]}}},zr="esri-telemetry";function Hi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Fi(e)||e.body)&&t()})}function Ki(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${zr}="${n}"]`)}function Fi(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:l,onerror:d}=e;if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");if(Ki(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=qi({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:l,onerror:d});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ye=class extends Error{};function qi({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let l=document.createElement("script");return e&&(l.id=e),t&&l.setAttribute(`data-${zr}`,t),a&&(l.src=a),o&&(l.innerText=o),l.type=n,l.async=r,l.defer=i,s&&(l.onload=s),u&&(l.onerror=u),l}function Gi(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 Ji=["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"],jt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=zi(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=Ji.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=Ne.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Ne.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Ne.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(Xi(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 Xi(e,t){return function(n,[r,i]){return Bi(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 Bi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(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 Et=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 Gi(this._getScripts())}async init(){if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Hi(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=nn(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),{})}},Sn="TELEMETRY_COGNITO_CREDENTIALS";function Qi(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Ne.get(Sn);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})=>(Ne.set(Sn,o),o))}function Wr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Yi(t,r),value:e[r]}:{key:r,value:Zi(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Zi(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Yi(e,t){return`dimension${e[t]}`}var eo=["size","duration","position","number","count"];function $r(e,t={}){return Object.keys(e).filter(n=>t[n]||eo.includes(n)).map(n=>t[n]?{key:to(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function to(e,t){return`metric${e[t]}`}function no({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=$r(e,n),u=Wr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),l=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(l.referrer=document.referrer),typeof window<"u"&&!l.hostname&&(l.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),l.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,l}function ro({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=$r(n,i),a=Wr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:l,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:l,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function On(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 qe="undefined",kn="object",io=function(){},In="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var Ve=typeof document<"u";et.versions!=null&&et.versions.node!=null;typeof Deno<"u"&&Deno.core;Ve&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function Vr(e,t){return t.charAt(0)[e]()+t.slice(1)}var oo=Vr.bind(null,"toUpperCase"),ao=Vr.bind(null,"toLowerCase");function so(e){return Hr(e)?oo("null"):typeof e=="object"?lo(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=so(e);return t?ao(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Hr(e){return e===null}function uo(e){return tt(e)==="number"&&!isNaN(e)}function co(e){return tt(e)==="array"}function lo(e){return Pt(e.constructor)?e.constructor.name:null}function fo(e){return e instanceof Error||Tt(e.message)&&e.constructor&&uo(e.constructor.stackTraceLimit)}function Kr(e,t){if(typeof t!="object"||Hr(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(fo(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Kr.bind(null,TypeError);Kr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?po(e,t):n}function po(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function go(e){return e?co(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ho(){if(Ve){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function mo(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function yo(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(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 l=u.split("[");l.length>1&&(vo(r,l.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return Ve&&window.location.search.substring(1)}())}function vo(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 be(){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 Ce="global",Ie=In+"global"+In,Ae=typeof self===kn&&self.self===self&&self||typeof global===kn&&global.global===global&&global||void 0;function ce(e){return Ae[Ie][e]}function se(e,t){return Ae[Ie][e]=t}function we(e){delete Ae[Ie][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[Ie]||(Ae[Ie]={});var Ge={};function ut(e){if(typeof Ge[e]!==qe)return Ge[e];try{var t=window[e];t.setItem(qe,qe),t.removeItem(qe)}catch{return Ge[e]=!1}return Ge[e]=!0}var jn,ze="__",_t=typeof process<"u"?process:{};(jn=_t.env)!=null&&jn.NODE_ENV;var ue=typeof window<"u";_t.versions!=null&&_t.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Ze=ct.bind(null,"string");ct.bind(null,"undefined");var bo=ct.bind(null,"boolean");function wo(e){return Object.prototype.toString.call(e)==="[object Array]"}function xo(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!xo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nt(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 So(e){if(Array.isArray(e))return Nt(e)}function Oo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fr(e,t){if(e){if(typeof e=="string")return Nt(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 Nt(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 Me(e){return So(e)||Oo(e)||Fr(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 En(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(l){n(l);return}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){En(o,r,i,a,s,"next",u)}function s(u){En(o,r,i,a,s,"throw",u)}a(void 0)})}}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(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 k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pn(Object(n),!0).forEach(function(r){de(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var qr={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",l=a.toStringTag||"@@toStringTag";function d(h,v,f){return Object.defineProperty(h,v,{value:f,enumerable:!0,configurable:!0,writable:!0}),h[v]}try{d({},"")}catch{d=function(h,v,f){return h[v]=f}}function c(h,v,f,m){var S=v&&v.prototype instanceof w?v:w,A=Object.create(S.prototype),M=new K(m||[]);return A._invoke=C(h,f,M),A}n.wrap=c;function g(h,v,f){try{return{type:"normal",arg:h.call(v,f)}}catch(m){return{type:"throw",arg:m}}}var y="suspendedStart",x="suspendedYield",I="executing",b="completed",p={};function w(){}function j(){}function O(){}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=O.prototype=w.prototype=Object.create(E);j.prototype=O,d(L,"constructor",O),d(O,"constructor",j),j.displayName=d(O,l,"GeneratorFunction");function R(h){["next","throw","return"].forEach(function(v){d(h,v,function(f){return this._invoke(v,f)})})}n.isGeneratorFunction=function(h){var v=typeof h=="function"&&h.constructor;return v?v===j||(v.displayName||v.name)==="GeneratorFunction":!1},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,O):(h.__proto__=O,d(h,l,"GeneratorFunction")),h.prototype=Object.create(L),h},n.awrap=function(h){return{__await:h}};function N(h,v){function f(A,M,D,$){var F=g(h[A],h,M);if(F.type==="throw")$(F.arg);else{var H=F.arg,V=H.value;return V&&typeof V=="object"&&i.call(V,"__await")?v.resolve(V.__await).then(function(X){f("next",X,D,$)},function(X){f("throw",X,D,$)}):v.resolve(V).then(function(X){H.value=X,D(H)},function(X){return f("throw",X,D,$)})}}var m;function S(A,M){function D(){return new v(function($,F){f(A,M,$,F)})}return m=m?m.then(D,D):D()}this._invoke=S}R(N.prototype),d(N.prototype,u,function(){return this}),n.AsyncIterator=N,n.async=function(h,v,f,m,S){S===void 0&&(S=Promise);var A=new N(c(h,v,f,m),S);return n.isGeneratorFunction(v)?A:A.next().then(function(M){return M.done?M.value:A.next()})};function C(h,v,f){var m=y;return function(S,A){if(m===I)throw new Error("Generator is already running");if(m===b){if(S==="throw")throw A;return z()}for(f.method=S,f.arg=A;;){var M=f.delegate;if(M){var D=q(M,f);if(D){if(D===p)continue;return D}}if(f.method==="next")f.sent=f._sent=f.arg;else if(f.method==="throw"){if(m===y)throw m=b,f.arg;f.dispatchException(f.arg)}else f.method==="return"&&f.abrupt("return",f.arg);m=I;var $=g(h,v,f);if($.type==="normal"){if(m=f.done?b:x,$.arg===p)continue;return{value:$.arg,done:f.done}}else $.type==="throw"&&(m=b,f.method="throw",f.arg=$.arg)}}}function q(h,v){var f=h.iterator[v.method];if(f===o){if(v.delegate=null,v.method==="throw"){if(h.iterator.return&&(v.method="return",v.arg=o,q(h,v),v.method==="throw"))return p;v.method="throw",v.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var m=g(f,h.iterator,v.arg);if(m.type==="throw")return v.method="throw",v.arg=m.arg,v.delegate=null,p;var S=m.arg;if(!S)return v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,p;if(S.done)v[h.resultName]=S.value,v.next=h.nextLoc,v.method!=="return"&&(v.method="next",v.arg=o);else return S;return v.delegate=null,p}R(L),d(L,l,"Generator"),d(L,s,function(){return this}),d(L,"toString",function(){return"[object Generator]"});function W(h){var v={tryLoc:h[0]};1 in h&&(v.catchLoc=h[1]),2 in h&&(v.finallyLoc=h[2],v.afterLoc=h[3]),this.tryEntries.push(v)}function U(h){var v=h.completion||{};v.type="normal",delete v.arg,h.completion=v}function K(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(W,this),this.reset(!0)}n.keys=function(h){var v=[];for(var f in h)v.push(f);return v.reverse(),function m(){for(;v.length;){var S=v.pop();if(S in h)return m.value=S,m.done=!1,m}return m.done=!0,m}};function G(h){if(h){var v=h[s];if(v)return v.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var f=-1,m=function S(){for(;++f<h.length;)if(i.call(h,f))return S.value=h[f],S.done=!1,S;return S.value=o,S.done=!0,S};return m.next=m}}return{next:z}}n.values=G;function z(){return{value:o,done:!0}}return K.prototype={constructor:K,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(U),!h)for(var v in this)v.charAt(0)==="t"&&i.call(this,v)&&!isNaN(+v.slice(1))&&(this[v]=o)},stop:function(){this.done=!0;var h=this.tryEntries[0],v=h.completion;if(v.type==="throw")throw v.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var v=this;function f($,F){return A.type="throw",A.arg=h,v.next=$,F&&(v.method="next",v.arg=o),!!F}for(var m=this.tryEntries.length-1;m>=0;--m){var S=this.tryEntries[m],A=S.completion;if(S.tryLoc==="root")return f("end");if(S.tryLoc<=this.prev){var M=i.call(S,"catchLoc"),D=i.call(S,"finallyLoc");if(M&&D){if(this.prev<S.catchLoc)return f(S.catchLoc,!0);if(this.prev<S.finallyLoc)return f(S.finallyLoc)}else if(M){if(this.prev<S.catchLoc)return f(S.catchLoc,!0)}else if(D){if(this.prev<S.finallyLoc)return f(S.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(h,v){for(var f=this.tryEntries.length-1;f>=0;--f){var m=this.tryEntries[f];if(m.tryLoc<=this.prev&&i.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var S=m;break}}S&&(h==="break"||h==="continue")&&S.tryLoc<=v&&v<=S.finallyLoc&&(S=null);var A=S?S.completion:{};return A.type=h,A.arg=v,S?(this.method="next",this.next=S.finallyLoc,p):this.complete(A)},complete:function(h,v){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"&&v&&(this.next=v),p},finish:function(h){for(var v=this.tryEntries.length-1;v>=0;--v){var f=this.tryEntries[v];if(f.finallyLoc===h)return this.complete(f.completion,f.afterLoc),U(f),p}},catch:function(h){for(var v=this.tryEntries.length-1;v>=0;--v){var f=this.tryEntries[v];if(f.tryLoc===h){var m=f.completion;if(m.type==="throw"){var S=m.arg;U(f)}return S}}throw new Error("illegal catch attempt")},delegateYield:function(h,v,f){return this.delegate={iterator:G(h),resultName:v,nextLoc:f},this.method==="next"&&(this.arg=o),p}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(qr);var B=qr.exports,pe="function",ae="undefined",Ue="reducer",Gr="@@redux/",Ct=Gr+"INIT",Io=Gr+Math.random().toString(36),Tn=function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===pe&&Symbol.observable||"@@observable"}(),Je=" != "+pe;function Jr(e,t,n){if(Q(t)===pe&&Q(n)===ae&&(n=t,t=void 0),Q(n)!==ae){if(Q(n)!==pe)throw new Error("enhancer"+Je);return n(Jr)(e,t)}if(Q(e)!==pe)throw new Error(Ue+Je);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function l(){return i}function d(x){if(Q(x)!==pe)throw new Error("Listener"+Je);var I=!0;return u(),a.push(x),function(){if(I){I=!1,u();var b=a.indexOf(x);a.splice(b,1)}}}function c(x){if(!te(x))throw new Error("Act != obj");if(Q(x.type)===ae)throw new Error("ActType "+ae);if(s)throw new Error("Dispatch in "+Ue);try{s=!0,i=r(i,x)}finally{s=!1}for(var I=o=a,b=0;b<I.length;b++){var p=I[b];p()}return x}function g(x){if(Q(x)!==pe)throw new Error("next "+Ue+Je);r=x,c({type:Ct})}function y(){var x=d;return de({subscribe:function(I){if(Q(I)!=="object")throw new TypeError("Observer != obj");function b(){I.next&&I.next(l())}b();var p=x(b);return{unsubscribe:p}}},Tn,function(){return this})}return c({type:Ct}),de({dispatch:c,subscribe:d,getState:l,replaceReducer:g},Tn,y)}function Ao(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+Ue+" "+e+" returns "+ae}function jo(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Ct});if(Q(r)===ae||Q(n(void 0,{type:Io}))===ae)throw new Error(Ue+" "+t+" "+ae)})}function Eo(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Q(e[i])===pe&&(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 l=!1,d={},c=0;c<o.length;c++){var g=o[c],y=n[g],x=s[g],I=y(x,u);if(Q(I)===ae){var b=Ao(g,u);throw new Error(b)}d[g]=I,l=l||I!==x}return l?d:s}}function je(){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 Po(){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,l=[],d={getState:s.getState,dispatch:function(c){return u(c)}};return l=t.map(function(c){return c(d)}),u=je.apply(void 0,Me(l))(s.dispatch),k(k({},s),{},{dispatch:u})}}}var ge=ze+"anon_id",ye=ze+"user_id",Oe=ze+"user_traits",Mt="analytics",fe="userId",xe="anonymousId",To="https://lytics.dev/errors/",nt=["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"],Ut=["name","EVENTS","config","loaded"],_o={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},No=nt.reduce(function(e,t){return e[t]=t,e},_o),_=No;function Co(e){return nt.includes(e)}var _n=/^utm_/,Nn=/^an_prop_/,Cn=/^an_trait_/;function Mo(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===_.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,u=i.initialUser,l=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(ge,a.anonymousId),l||t(ye,a.userId),u.traits&&t(Oe,k(k({},l&&s.traits?s.traits:{}),u.traits));var d=Object.keys(i.params);if(d.length){var c=o.an_uid,g=o.an_event,y=d.reduce(function(x,I){if(I.match(_n)||I.match(/^(d|g)clid/)){var b=I.replace(_n,""),p=b==="campaign"?"name":b;x.campaign[p]=o[I]}return I.match(Nn)&&(x.props[I.replace(Nn,"")]=o[I]),I.match(Cn)&&(x.traits[I.replace(Cn,"")]=o[I]),x},{campaign:{},props:{},traits:{}});n.dispatch(k(k({type:_.params,raw:o},y),c?{userId:c}:{})),c&&setTimeout(function(){return e.identify(c,y.traits)},0),g&&setTimeout(function(){return e.track(g,y.props)},0),Object.keys(y.campaign).length&&n.dispatch({type:_.campaign,campaign:y.campaign})}}return r(i)}}}}function Uo(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===_.setItemEnd){if(n.key===ge)return k(k({},t),{anonymousId:n.value});if(n.key===ye)return k(k({},t),{userId:n.value})}switch(n.type){case _.identify:return Object.assign({},t,{userId:n.userId,traits:k(k({},t.traits),n.traits)});case _.reset:return[ye,ge,Oe].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function Xr(e){return{userId:e.getItem(ye),anonymousId:e.getItem(ge),traits:e.getItem(Oe)}}var rn=function(e){return ze+"TEMP"+ze+e};function Do(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&te(r)&&r[t])return r[t];var o=Xr(e)[t];return o||ce(rn(t))||null}}function Lo(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,l=s.traits,d=s.options;if(s.type===_.reset&&([ye,Oe,ge].forEach(function(y){r(y)}),[fe,xe,"traits"].forEach(function(y){we(rn(y))})),s.type===_.identify){i(ge)||n(ge,be());var c=i(ye),g=i(Oe)||{};c&&c!==u&&o.dispatch({type:_.userIdChanged,old:{userId:c,traits:g},new:{userId:u,traits:l},options:d}),u&&n(ye,u),l&&n(Oe,k(k({},g),l))}return a(s)}}}}var _e={};function Br(e,t){_e[e]&&ie(_e[e])&&(_e[e](t),delete _e[e])}function Qr(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(k(k({},e),{},{queue:!0})):Ro(10).then(function(o){return Qr(e,t,n-10).then(r,i)})})}function Ro(e){return new Promise(function(t){return setTimeout(t,e)})}function Zr(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,l=!a.offline;if(l&&s&&s.actions&&s.actions.length){var d=s.actions.reduce(function(g,y,x){var I=o[y.plugin].loaded;return I?(g.process.push(y),g.processIndex.push(x)):(g.requeue.push(y),g.requeueIndex.push(x)),g},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(d.processIndex&&d.processIndex.length){d.processIndex.forEach(function(g){var y=s.actions[g],x=y.plugin,I=y.payload.type,b=r[x][I];if(b&&ie(b)){var p=Wo(y.payload,u);b({payload:p,config:o[x].config,instance:n});var w="".concat(I,":").concat(x);e.dispatch(k(k({},p),{},{type:w,_:{called:w,from:"queueDrain"}}))}});var c=s.actions.filter(function(g,y){return!~d.processIndex.indexOf(y)});s.actions=c}}}function zo(e,t,n){return setInterval(function(){return Zr(e,t,n)},3e3)}function Wo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[fe,xe].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function $o(e){if(Array.isArray(e))return e}function Vo(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 Ho(){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 Ko(e,t){return $o(e)||Vo(e,t)||Fr(e,t)||Ho()}function Fo(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 bo(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var Ee=/Start$/,Mn=/^bootstrap/,Un=/^ready/;function qo(e,t,n,r,i){return Dt.apply(this,arguments)}function Dt(){return Dt=oe(B.mark(function e(t,n,r,i,o){var a,s,u,l,d,c,g,y,x,I,b;return B.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(a=ie(n)?n():n,s=t.type,u=s.replace(Ee,""),!(t._&&t._.called)){p.next=5;break}return p.abrupt("return",t);case 5:return l=r.getState(),d=Fo(a,l.plugins,t.options),s===_.initializeStart&&t.fromEnable&&(d=Object.keys(l.plugins).filter(function(w){var j=l.plugins[w];return t.plugins.includes(w)&&!j.initialized}).map(function(w){return a[w]})),c=d.map(function(w){return w.name}),g=Jo(s,d),p.next=12,mt({action:t,data:{exact:g.before,namespaced:g.beforeNS},state:l,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 12:if(y=p.sent,!Yr(y,c.length)){p.next=15;break}return p.abrupt("return",y);case 15:if(s!==u){p.next=19;break}x=y,p.next=22;break;case 19:return p.next=21,mt({action:k(k({},y),{},{type:u}),data:{exact:g.during,namespaced:g.duringNS},state:l,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 21:x=p.sent;case 22:if(!s.match(Ee)){p.next=28;break}return I="".concat(u,"End"),p.next=26,mt({action:k(k({},x),{},{type:I}),data:{exact:g.after,namespaced:g.afterNS},state:l,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 26:b=p.sent,b.meta&&b.meta.hasCallback&&Br(b.meta.rid,{payload:b});case 28:return p.abrupt("return",y);case 29:case"end":return p.stop()}},e)})),Dt.apply(this,arguments)}function mt(e){return Lt.apply(this,arguments)}function Lt(){return Lt=oe(B.mark(function e(t){var n,r,i,o,a,s,u,l,d,c,g,y,x,I,b,p,w,j;return B.wrap(function(O){for(;;)switch(O.prev=O.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,l=t.EVENTS,d=o.plugins,c=o.context,g=r.type,y=g.match(Ee),x=n.exact.map(function(E){return E.pluginName}),y&&(x=s.during.map(function(E){return E.pluginName})),I=Xo(i,x),b=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),c.offline&&L.match(/^(page|track|identify)/)&&(R=!0),E["".concat(T)]=R,E},{}),O.next=10,n.exact.reduce(function(){var E=oe(B.mark(function P(T,L,R){var N,C,q;return B.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return N=L.pluginName,W.next=3,T;case 3:if(C=W.sent,!(n.namespaced&&n.namespaced[N])){W.next=11;break}return W.next=7,n.namespaced[N].reduce(function(){var U=oe(B.mark(function K(G,z,h){var v,f,m,S;return B.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return f=function(M,D,$){return function(F,H){var V=$||D;return k(k({},M),{},{abort:{reason:F,plugins:H||[D],caller:g,from:V}})}},A.next=3,G;case 3:if(v=A.sent,!(!z.method||!ie(z.method))){A.next=6;break}return A.abrupt("return",v);case 6:return Zo(z.methodName,z.pluginName),A.next=9,z.method({payload:v,instance:i,abort:f(v,N,z.pluginName),config:Dn(z.pluginName,d,a),plugins:d});case 9:return m=A.sent,S=te(m)?m:{},A.abrupt("return",Promise.resolve(k(k({},v),S)));case 12:case"end":return A.stop()}},K)}));return function(K,G,z){return U.apply(this,arguments)}}(),Promise.resolve(r));case 7:q=W.sent,C[N]=q,W.next=12;break;case 11:C[N]=r;case 12:return W.abrupt("return",Promise.resolve(C));case 13:case"end":return W.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}}(),Promise.resolve({}));case 10:return p=O.sent,O.next=13,n.exact.reduce(function(){var E=oe(B.mark(function P(T,L,R){var N,C,q,W,U,K,G,z,h,v,f,m,S;return B.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return N=n.exact.length===R+1,C=L.pluginName,q=a[C],A.next=5,T;case 5:if(W=A.sent,U=p[C]?p[C]:{},y&&(U=W),!vt(U,C)){A.next=11;break}return yt({data:U,method:g,instance:i,pluginName:C,store:u}),A.abrupt("return",Promise.resolve(W));case 11:if(!vt(W,C)){A.next=14;break}return N&&yt({data:W,method:g,instance:i,store:u}),A.abrupt("return",Promise.resolve(W));case 14:if(!(b.hasOwnProperty(C)&&b[C]===!0)){A.next=17;break}return u.dispatch({type:"queue",plugin:C,payload:U,_:{called:"queue",from:"queueMechanism"}}),A.abrupt("return",Promise.resolve(W));case 17:return K=I(p[C],a[C]),A.next=20,q[g]({abort:K.abort,payload:U,instance:i,config:Dn(C,d,a),plugins:d});case 20:return G=A.sent,z=te(G)?G:{},h=k(k({},W),z),v=p[C],vt(v,C)?yt({data:v,method:g,instance:i,pluginName:C,store:u}):(f="".concat(g,":").concat(C),m=(f.match(/:/g)||[]).length,m<2&&!g.match(Mn)&&!g.match(Un)&&(S=y?h:U,i.dispatch(k(k({},S),{},{type:f,_:{called:f,from:"submethod"}})))),A.abrupt("return",Promise.resolve(h));case 26:case"end":return A.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(w=O.sent,!(!g.match(Ee)&&!g.match(/^registerPlugin/)&&!g.match(Un)&&!g.match(Mn)&&!g.match(/^params/)&&!g.match(/^userIdChanged/))){O.next=21;break}if(l.plugins.includes(g),!(w._&&w._.originalAction===g)){O.next=18;break}return O.abrupt("return",w);case 18:j=k(k({},w),{_:{originalAction:w.type,called:w.type,from:"engineEnd"}}),Yr(w,n.exact.length)&&!g.match(/End$/)&&(j=k(k({},j),{type:w.type+"Aborted"})),u.dispatch(j);case 21:return O.abrupt("return",w);case 22:case"end":return O.stop()}},e)})),Lt.apply(this,arguments)}function yt(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(k(k({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Dn(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function Ln(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function Go(e){return e.replace(Ee,"")}function Rn(e,t){var n=Go(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 Jo(e,t,n){var r=Rn(e),i=r.map(function(o){return Ln(o,t)});return t.reduce(function(o,a){var s=a.name,u=Rn(e,s),l=u.map(function(x){return Ln(x,t)}),d=Ko(l,3),c=d[0],g=d[1],y=d[2];return c.length&&(o.beforeNS[s]=c),g.length&&(o.duringNS[s]=g),y.length&&(o.afterNS[s]=y),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function vt(e,t){var n=e.abort;return n?n===!0?!0:zn(n,t)||n&&zn(n.plugins,t):!1}function Yr(e,t){var n=e.abort;if(!n)return!1;if(n===!0||Ze(n))return!0;var r=n.plugins;return We(n)&&n.length===t||We(r)&&r.length===t}function We(e){return Array.isArray(e)}function zn(e,t){return!e||!We(e)?!1:e.includes(t)}function Xo(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(Ee)?Bo(a,s,t,i,n):Qo(n,s);return{payload:Yo(n),instance:e,config:o||{},abort:u}}}function Bo(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&We(a)?a:n;if(r&&(u=a&&We(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 k(k({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function Qo(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function Zo(e,t){var n=Wn(e),r=n&&n.name===t;if(r){var i=Wn(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 Wn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function Yo(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(te(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function ea(e,t,n){var r={};return function(i){return function(o){return function(){var a=oe(B.mark(function s(u){var l,d,c,g,y,x,I,b,p,w,j,O;return B.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(l=u.type,d=u.abort,c=u.plugins,g=u,!d){E.next=4;break}return E.abrupt("return",o(u));case 4:if(l===_.enablePlugin&&i.dispatch({type:_.initializeStart,plugins:c,disabled:[],fromEnable:!0,meta:u.meta}),l===_.disablePlugin&&setTimeout(function(){return Br(u.meta.rid,{payload:u})},0),l===_.initializeEnd&&(y=t(),x=Object.keys(y),I=x.filter(function(P){return c.includes(P)}).map(function(P){return y[P]}),b=[],p=[],w=u.disabled,j=I.map(function(P){var T=P.loaded,L=P.name;return Qr(P,T,1e4).then(function(R){return r[L]||(i.dispatch({type:_.pluginReadyType(L),name:L,events:Object.keys(P).filter(function(N){return!Ut.includes(N)})}),r[L]=!0),b=b.concat(L),P}).catch(function(R){if(R instanceof Error)throw new Error(R);return p=p.concat(R.name),R})}),Promise.all(j).then(function(P){var T={plugins:b,failed:p,disabled:w};setTimeout(function(){x.length===j.length+w.length&&i.dispatch(k(k({},{type:_.ready}),T))},0)})),l===_.bootstrap){E.next=13;break}return/^ready:([^:]*)$/.test(l)&&setTimeout(function(){return Zr(i,t,e)},0),E.next=11,qo(u,t,e,i,n);case 11:return O=E.sent,E.abrupt("return",o(O));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 ta(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===_.setItem||i===_.removeItem){if(r.abort)return n(r);i===_.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function na(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function ra(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ia=na(function e(){var t=this;ra(this,e),de(this,"before",[]),de(this,"after",[]),de(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),de(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(Me(t[r].slice(0,i)),Me(t[r].slice(i+1))))}),de(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 je.apply(void 0,Me(s))(i)(o)}}}})});function oa(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=$n(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||{}},k(k({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=$n(n.type,_.initialize),u=e()[s];return!u||!s?t:(r[s]=k(k({},t[s]),{initialized:!0,loaded:!!u.loaded()}),k(k({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=k(k({},t[n.name]),{loaded:!0}),k(k({},t),r);switch(n.type){case _.disablePlugin:return k(k({},t),Vn(n.plugins,!1,t));case _.enablePlugin:return k(k({},t),Vn(n.plugins,!0,t));default:return t}}}function $n(e,t){return e.substring(t.length+1,e.length)}function Vn(e,t,n){return e.reduce(function(r,i){return r[i]=k(k({},n[i]),{enabled:t}),r},n)}function ei(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var aa={last:{},history:[]};function sa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:aa,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 _.track:var s=ei(k(k({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return k(k({},e),{last:s,history:e.history.concat(s)});default:return e}}var ua={actions:[]};function ca(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ua,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===_.identify?i=[t].concat(e.actions):i=e.actions.concat(t),k(k({},e),{},{actions:i});case"dequeue":return[];default:return e}}var ti=/#.*$/;function la(){if(ue){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function fa(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(ti,""):"";return"/"+r}function da(e){var t=la();return t?t.match(/\?/)?t:t+e:window.location.href.replace(ti,"")}var pa=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!ue)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,l=o.search,d=da(l),c={title:n,url:d,path:fa(d),hash:u,search:l,width:a,height:s};return r&&r!==""&&(c.referrer=r),k(k({},c),e)},ga={last:{},history:[]};function ha(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ga,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case _.page:var o=ei(k({properties:n,meta:i},Object.keys(r).length&&{options:r}));return k(k({},e),{last:o,history:e.history.concat(o)});default:return e}}function ma(){if(!ue)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 ni,ri,ii,oi;ni=ma(),ri=ue?document.referrer:null,ii=ho(),oi=mo();var Hn={initialized:!1,sessionId:be(),app:null,version:null,debug:!1,offline:ue?!navigator.onLine:!1,os:{name:ni},userAgent:ue?navigator.userAgent:"node",library:{name:Mt,version:"0.10.22"},timezone:oi,locale:ii,campaign:{},referrer:ri};function ya(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case _.campaign:return k(k({},e),{campaign:i});case _.offline:return k(k({},e),{offline:!0});case _.online:return k(k({},e),{offline:!1});default:return n?e:k(k(k({},Hn),e),{initialized:!0})}}var va=["plugins","reducers","storage"];function ba(e){return Object.keys(e).reduce(function(t,n){return va.includes(n)||(t[n]=e[n]),t},{})}function wa(e,t,n){if(ue){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function xa(){return Promise.resolve(!navigator.onLine)}function Sa(e){var t=function(r){return xa().then(e)},n=wa.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function ai(){return se(Mt,[]),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 Ae[Ie][Mt].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Kn(e){return function(){return je(je.apply(null,arguments),ai())}}function bt(e){return e?wo(e)?e:[e]:[]}function Oa(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ie(t[r])){n=t[r];break}return n}function ka(){return new Date().getTime()}function Ia(e,t){return function(n){t&&t(n),e(n)}}function Fn(){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=be();return t&&(_e[r]=Ia(t,Oa(n))),k(k({},e),{},{rid:r,ts:ka()},t?{hasCallback:!0}:{})}function Aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(f,m){if(ie(m))return f.middlewares=f.middlewares.concat(m),f;if(m.NAMESPACE&&(m.name=m.NAMESPACE),!m.name)throw new Error(To+"1");var S=m.EVENTS?Object.keys(m.EVENTS).map(function(H){return m.EVENTS[H]}):[],A=m.enabled!==!1,M=!(m.config&&m.config.enabled===!1);f.pluginEnabled[m.name]=A&&M,delete m.enabled,m.methods&&(f.methods[m.name]=Object.keys(m.methods).reduce(function(H,V){return H[V]=v(m.methods[V]),H},{}),delete m.methods);var D=Object.keys(m),$=D.concat(S),F=new Set(f.events.concat($));if(f.events=Array.from(F),f.pluginsArray=f.pluginsArray.concat(m),f.plugins[m.name])throw new Error(m.name+"AlreadyLoaded");return f.plugins[m.name]=m,f.plugins[m.name].loaded||(f.plugins[m.name].loaded=function(){return!0}),f},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:ce,setItem:se,removeItem:we},o=Do(i),a=r.plugins,s=r.events.filter(function(f){return!Ut.includes(f)}).sort(),u=new Set(s.concat(nt).filter(function(f){return!Ut.includes(f)})),l=Array.from(u).sort(),d=function(){return a},c=new ia,g=c.addMiddleware,y=c.removeMiddleware,x=c.dynamicMiddlewares,I=function(){throw new Error("Abort disabled inListener")},b=yo(),p=Xr(i),w=k(k(k(k({},p),n),b.an_uid?{userId:b.an_uid}:{}),b.an_aid?{anonymousId:b.an_aid}:{});w.anonymousId||(w.anonymousId=be());var j=k({enable:function(f,m){return new Promise(function(S){U.dispatch({type:_.enablePlugin,plugins:bt(f),_:{originalAction:_.enablePlugin}},S,[m])})},disable:function(f,m){return new Promise(function(S){U.dispatch({type:_.disablePlugin,plugins:bt(f),_:{originalAction:_.disablePlugin}},S,[m])})}},r.methods),O={identify:function(){var f=oe(B.mark(function S(A,M,D,$){var F,H,V,X,Ke;return B.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return F=Ze(A)?A:null,H=te(A)?A:M,V=D||{},X=O.user(),se(rn(fe),F),Ke=F||H.userId||o(fe,O,H),Fe.abrupt("return",new Promise(function(Ri){U.dispatch(k({type:_.identifyStart,userId:Ke,traits:H||{},options:V,anonymousId:X.anonymousId},X.id&&X.id!==F&&{previousId:X.id}),Ri,[M,D,$])}));case 7:case"end":return Fe.stop()}},S)}));function m(S,A,M,D){return f.apply(this,arguments)}return m}(),track:function(){var f=oe(B.mark(function S(A,M,D,$){var F,H,V;return B.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(F=te(A)?A.event:A,!(!F||!Ze(F))){X.next=3;break}throw new Error("EventMissing");case 3:return H=te(A)?A:M||{},V=te(D)?D:{},X.abrupt("return",new Promise(function(Ke){U.dispatch({type:_.trackStart,event:F,properties:H,options:V,userId:o(fe,O,M),anonymousId:o(xe,O,M)},Ke,[M,D,$])}));case 6:case"end":return X.stop()}},S)}));function m(S,A,M,D){return f.apply(this,arguments)}return m}(),page:function(){var f=oe(B.mark(function S(A,M,D){var $,F;return B.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return $=te(A)?A:{},F=te(M)?M:{},H.abrupt("return",new Promise(function(V){U.dispatch({type:_.pageStart,properties:pa($),options:F,userId:o(fe,O,$),anonymousId:o(xe,O,$)},V,[A,M,D])}));case 3:case"end":return H.stop()}},S)}));function m(S,A,M){return f.apply(this,arguments)}return m}(),user:function(f){if(f===fe||f==="id")return o(fe,O);if(f===xe||f==="anonId")return o(xe,O);var m=O.getState("user");return f?On(m,f):m},reset:function(f){return new Promise(function(m){U.dispatch({type:_.resetStart},m,f)})},ready:function(f){return O.on(_.ready,f)},on:function(f,m){if(!f||!ie(m))return!1;if(f===_.bootstrap)throw new Error(".on disabled for "+f);var S=/Start$|Start:/;if(f==="*"){var A=function(F){return function(H){return function(V){return V.type.match(S)&&m({payload:V,instance:O,plugins:a}),H(V)}}},M=function(F){return function(H){return function(V){return V.type.match(S)||m({payload:V,instance:O,plugins:a}),H(V)}}};return g(A,Xe),g(M,Be),function(){y(A,Xe),y(M,Be)}}var D=f.match(S)?Xe:Be,$=function(F){return function(H){return function(V){return V.type===f&&m({payload:V,instance:O,plugins:a,abort:I}),H(V)}}};return g($,D),function(){return y($,D)}},once:function(f,m){if(!f||!ie(m))return!1;if(f===_.bootstrap)throw new Error(".once disabled for "+f);var S=O.on(f,function(A){var M=A.payload;m({payload:M,instance:O,plugins:a,abort:I}),S()});return S},getState:function(f){var m=U.getState();return f?On(m,f):Object.assign({},m)},dispatch:function(f){var m=Ze(f)?{type:f}:f;if(Co(m.type))throw new Error("reserved action "+m.type);var S=f._||{},A=k(k({},m),{},{_:k({originalAction:m.type},S)});U.dispatch(A)},enablePlugin:j.enable,disablePlugin:j.disable,plugins:j,storage:{getItem:i.getItem,setItem:function(f,m,S){U.dispatch({type:_.setItemStart,key:f,value:m,options:S})},removeItem:function(f,m){U.dispatch({type:_.removeItemStart,key:f,options:m})}},setAnonymousId:function(f,m){O.storage.setItem(ge,f,m)},events:{all:l,core:nt,plugins:s}},E=function(f){return function(m){return function(S){return S.meta||(S.meta=Fn()),m(S)}}},P=r.middlewares.concat([E,x(Xe),ea(O,d,{all:l,plugins:s}),ta(i),Mo(O),Lo(O),x(Be)]),T={context:ya,user:Uo(i),page:ha,track:sa,plugins:oa(d),queue:ca},L=je,R=je;if(ue&&e.debug){var N=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;N&&(L=N({trace:!0,traceLimit:25})),R=function(){return arguments.length===0?ai():te(Q(arguments[0]))?Kn():Kn().apply(null,arguments)}}var C=ba(e),q=r.pluginsArray.reduce(function(f,m){var S=m.name,A=m.config,M=m.loaded,D=r.pluginEnabled[S];return f[S]={enabled:D,initialized:D?!m.initialize:!1,loaded:!!M(),config:A||{}},f},{}),W={context:C,user:w,plugins:q},U=Jr(Eo(k(k({},T),t)),W,R(L(Po.apply(void 0,Me(P)))));function K(f){return function(m,S,A){var M=Fn(m.meta,S,bt(A)),D=k(k({},m),{meta:M});return f.apply(null,[D])}}U.dispatch=K(U.dispatch);var G=Object.keys(a);U.dispatch({type:_.bootstrap,plugins:G,config:C,params:b,user:w,initialUser:n,persistedUser:p});var z=G.filter(function(f){return r.pluginEnabled[f]}),h=G.filter(function(f){return!r.pluginEnabled[f]});U.dispatch({type:_.registerPlugins,plugins:G,enabled:r.pluginEnabled}),r.pluginsArray.map(function(f,m){var S=f.bootstrap,A=f.config,M=f.name;S&&ie(S)&&S({instance:O,config:A,payload:f}),U.dispatch({type:_.registerPluginType(M),name:M,enabled:r.pluginEnabled[M],plugin:f}),r.pluginsArray.length===m+1&&U.dispatch({type:_.initializeStart,plugins:z,disabled:h})}),Sa(function(f){U.dispatch({type:f?_.offline:_.online})}),zo(U,d,O);function v(f){return function(){for(var m=Array.prototype.slice.call(arguments),S=new Array(f.length),A=0;A<m.length;A++)S[A]=m[A];return S[S.length]=O,f.apply({instance:O},S)}}return O}var Xe="before",Be="after",De="cookie",me=ci(),on=lt,si=lt;function ui(e){return me?lt(e,"",-1):we(e)}function ci(){if(me!==void 0)return me;var e="cookiecookie";try{lt(e,e),me=document.cookie.indexOf(e)!==-1,ui(e)}catch{me=!1}return me}function lt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return me===!1&&(a?se(e,t):ce(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 Le="localStorage",ja=ut.bind(null,"localStorage"),an=le("localStorage","getItem",ce),Ea=le("localStorage","setItem",se),li=le("localStorage","removeItem",we),Re="sessionStorage",Pa=ut.bind(null,"sessionStorage");le("sessionStorage","getItem",ce);le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var qn,fi="any",di="*",Rt=typeof process<"u"?process:{};(qn=Rt.env)!=null&&qn.NODE_ENV;var Ta=typeof window<"u";Rt.versions!=null&&Rt.versions.node!=null;typeof Deno<"u"&&Deno.core;Ta&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}ft.bind(null,"function");var _a=ft.bind(null,"string"),Se=ft.bind(null,"undefined");ft.bind(null,"boolean");function Na(e){return e&&(typeof e=="object"||e!==null)}function Ca(e){if(!Na(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ke(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(Ca(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var Ma=ja(),Ua=Pa(),Da=ci();function pi(e,t){if(e){var n=sn(t),r=!fn(n),i=un(n)?ke(localStorage.getItem(e)):void 0;if(r&&!Se(i))return i;var o=cn(n)?ke(on(e)):void 0;if(r&&o)return o;var a=ln(n)?ke(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=ce(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function La(e,t,n){if(e&&!Se(t)){var r={},i=sn(n),o=JSON.stringify(t),a=!fn(i);return un(i)&&(r[Le]=Qe(Le,t,ke(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[Le]:cn(i)&&(r[De]=Qe(De,t,ke(on(e))),si(e,o),a)?r[De]:ln(i)&&(r[Re]=Qe(Re,t,ke(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[Re]:(r[Ce]=Qe(Ce,t,ce(e)),se(e,t),a?r[Ce]:r)}}function Ra(e,t){if(e){var n=sn(t),r=pi(e,di),i={};return!Se(r.localStorage)&&un(n)&&(localStorage.removeItem(e),i[Le]=r.localStorage),!Se(r.cookie)&&cn(n)&&(ui(e),i[De]=r.cookie),!Se(r.sessionStorage)&&ln(n)&&(sessionStorage.removeItem(e),i[Re]=r.sessionStorage),!Se(r.global)&&dt(n,Ce)&&(we(e),i[Ce]=r.global),i}}function sn(e){return e?_a(e)?e:e.storage:fi}function un(e){return Ma&&dt(e,Le)}function cn(e){return Da&&dt(e,De)}function ln(e){return Ua&&dt(e,Re)}function fn(e){return e===di||e==="all"}function dt(e,t){return e===fi||e===t||fn(e)}function Qe(e,t,n){return{location:e,current:t,previous:n}}var za={setItem:La,getItem:pi,removeItem:Ra};function Wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gn(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 Jn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gn(Object(n),!0).forEach(function(r){Wa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:za};return Aa(Jn(Jn({},t),e))}function ne(e){"@babel/helpers - typeof";return ne=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},ne(e)}function Va(e,t){if(ne(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ne(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ha(e){var t=Va(e,"string");return ne(t)=="symbol"?t:t+""}function dn(e,t,n){return(t=Ha(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xn(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 Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xn(Object(n),!0).forEach(function(r){dn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bn={exports:{}},Qn={exports:{}},Zn;function hi(){return Zn||(Zn=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}(Qn)),Qn.exports}var Yn={exports:{}},er={exports:{}},tr;function mi(){return tr||(tr=1,function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}e.exports=t=function(s,u,l,d){if(u)a?a(s,u,{value:l,enumerable:!d,configurable:!d,writable:!d}):s[u]=l;else{var c=function(g,y){t(s,g,function(x){return this._invoke(g,y,x)})};c("next",0),c("throw",1),c("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}(er)),er.exports}var nr;function yi(){return nr||(nr=1,function(e){var t=mi();function n(){var r,i,o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function u(b,p,w,j){var O=p&&p.prototype instanceof d?p:d,E=Object.create(O.prototype);return t(E,"_invoke",function(P,T,L){var R,N,C,q=0,W=L||[],U=!1,K={p:0,n:0,v:r,a:G,f:G.bind(r,4),d:function(z,h){return R=z,N=0,C=r,K.n=h,l}};function G(z,h){for(N=z,C=h,i=0;!U&&q&&!v&&i<W.length;i++){var v,f=W[i],m=K.p,S=f[2];z>3?(v=S===h)&&(C=f[(N=f[4])?5:(N=3,3)],f[4]=f[5]=r):f[0]<=m&&((v=z<2&&m<f[1])?(N=0,K.v=h,K.n=f[1]):m<S&&(v=z<3||f[0]>h||h>S)&&(f[4]=z,f[5]=h,K.n=S,N=0))}if(v||z>1)return l;throw U=!0,h}return function(z,h,v){if(q>1)throw TypeError("Generator is already running");for(U&&h===1&&G(h,v),N=h,C=v;(i=N<2?r:C)||!U;){R||(N?N<3?(N>1&&(K.n=-1),G(N,C)):K.n=C:K.v=C);try{if(q=2,R){if(N||(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,N<2&&(N=0)}else N===1&&(i=R.return)&&i.call(R),N<2&&(C=TypeError("The iterator does not provide a '"+z+"' method"),N=1);R=r}else if((i=(U=K.n<0)?C:P.call(T,K))!==l)break}catch(f){R=r,N=1,C=f}finally{q=1}}return{value:i,done:U}}}(b,w,j),!0),E}var l={};function d(){}function c(){}function g(){}i=Object.getPrototypeOf;var y=[][a]?i(i([][a]())):(t(i={},a,function(){return this}),i),x=g.prototype=d.prototype=Object.create(y);function I(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,g):(b.__proto__=g,t(b,s,"GeneratorFunction")),b.prototype=Object.create(x),b}return c.prototype=g,t(x,"constructor",g),t(g,"constructor",c),c.displayName="GeneratorFunction",t(g,s,"GeneratorFunction"),t(x),t(x,s,"Generator"),t(x,a,function(){return this}),t(x,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:u,m:I}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Yn)),Yn.exports}var rr={exports:{}},ir={exports:{}},or={exports:{}},ar;function vi(){return ar||(ar=1,function(e){var t=hi(),n=mi();function r(i,o){function a(u,l,d,c){try{var g=i[u](l),y=g.value;return y instanceof t?o.resolve(y.v).then(function(x){a("next",x,d,c)},function(x){a("throw",x,d,c)}):o.resolve(y).then(function(x){g.value=x,d(g)},function(x){return a("throw",x,d,c)})}catch(x){c(x)}}var s;this.next||(n(r.prototype),n(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(u,l,d){function c(){return new o(function(g,y){a(u,d,g,y)})}return s=s?s.then(c,c):c()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(or)),or.exports}var sr;function bi(){return sr||(sr=1,function(e){var t=yi(),n=vi();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}(ir)),ir.exports}var ur;function Ka(){return ur||(ur=1,function(e){var t=bi();function n(r,i,o,a,s){var u=t(r,i,o,a,s);return u.next().then(function(l){return l.done?l.value:u.next()})}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(rr)),rr.exports}var cr={exports:{}},lr;function Fa(){return lr||(lr=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}(cr)),cr.exports}var fr={exports:{}},dr={exports:{}},pr;function qa(){return pr||(pr=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}(dr)),dr.exports}var gr;function Ga(){return gr||(gr=1,function(e){var t=qa().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}(fr)),fr.exports}var hr;function Ja(){return hr||(hr=1,function(e){var t=hi(),n=yi(),r=Ka(),i=bi(),o=vi(),a=Fa(),s=Ga();function u(){var l=n(),d=l.m(u),c=(Object.getPrototypeOf?Object.getPrototypeOf(d):d.__proto__).constructor;function g(I){var b=typeof I=="function"&&I.constructor;return!!b&&(b===c||(b.displayName||b.name)==="GeneratorFunction")}var y={throw:1,return:2,break:3,continue:3};function x(I){var b,p;return function(w){b||(b={stop:function(){return p(w.a,2)},catch:function(){return w.v},abrupt:function(j,O){return p(w.a,y[j],O)},delegateYield:function(j,O,E){return b.resultName=O,p(w.d,s(j),E)},finish:function(j){return p(w.f,j)}},p=function(j,O,E){w.p=b.prev,w.n=b.next;try{return j(O,E)}finally{b.next=w.n}}),b.resultName&&(b[b.resultName]=w.v,b.resultName=void 0),b.sent=w.v,b.next=w.n;try{return I.call(this,b)}finally{w.p=b.prev,w.n=b.next}}}return(e.exports=u=function(){return{wrap:function(I,b,p,w){return l.w(x(I),b,p,w&&w.reverse())},isGeneratorFunction:g,mark:l.m,awrap:function(I,b){return new t(I,b)},AsyncIterator:o,async:function(I,b,p,w,j){return(g(b)?i:r)(x(I),b,p,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}(Bn)),Bn.exports}var wt,mr;function Xa(){if(mr)return wt;mr=1;var e=Ja()();wt=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return wt}var Ba=Xa(),J=gi(Ba);function yr(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,i)}function re(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(u){yr(o,r,i,a,s,"next",u)}function s(u){yr(o,r,i,a,s,"throw",u)}a(void 0)})}}var vr=function(){};function Qa(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||vr,l=t.onPause||vr;function d(g){clearInterval(n);var y=o.splice(0,a);return y.length&&e(y,o),o.length?g?d():c():(i=!1,u(o))}function c(){i=!0,n=setInterval(d,s)}return o.length&&c(),{flush:function(g){d(g)},resume:d,push:function(g){return(r=o.push(g))>=a&&!t.throttle&&d(),i||c(),r},size:function(){return o.length},pause:function(g){g&&d(),clearInterval(n),i=!1,l(o)}}}ut.bind(null,"sessionStorage");var Za=le("sessionStorage","getItem",ce),Ya=le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var wi="__session",br=["id","createdAt","created"];function zt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function xi(){var e=zt(),t=e[0],n=e[1];return{id:be(),created:n,createdAt:t}}var es={session:[Za,Ya],page:[ce,se]};function pt(e,t){for(var n=es[e],r=n[0],i=n[1],o=xi(),a=!1,s={},u=0;u<br.length;u++){var l=br[u],d="__"+e+"__session__"+l,c=r(d);a=t||!c,(t||!t&&!c)&&i(d,o[l]);var g=c&&!t?c:o[l],y=l!=="created"?g:Number(g);s[l]=y}return pn(s,a)}function pn(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 $e(e,t){e===void 0&&(e=30);var n=on(wi),r=n?JSON.parse(n):rt(e);return t?r:pn(r,!n)}function rt(e,t,n){e===void 0&&(e=30);var r=n?$e(e,!0):xi(),i=60*e,o=r.created;if(n){var a=zt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var l=zt(o+1e3*i),d=l[0];return r.expires=l[1],r.expiresAt=d,r.duration=1e3*i,t&&(r=Object.assign(r,t)),si(wi,JSON.stringify(r),i),pn(r,!n)}var ts=function(e,t){return rt(e,t,!0)},Si=pt.bind(null,"session"),ns=pt.bind(null,"session",!0),gn=pt.bind(null,"page"),wr=pt.bind(null,"page",!0),ve=typeof window<"u";function rs(e){return typeof e=="string"}function xr(e){return typeof e=="boolean"}var xt,Sr;function is(){if(Sr)return xt;Sr=1;var e=function(p){return t(p)&&!n(p)};function t(p){return!!p&&typeof p=="object"}function n(p){var w=Object.prototype.toString.call(p);return w==="[object RegExp]"||w==="[object Date]"||o(p)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(p){return p.$$typeof===i}function a(p){return Array.isArray(p)?[]:{}}function s(p,w){return w.clone!==!1&&w.isMergeableObject(p)?I(a(p),p,w):p}function u(p,w,j){return p.concat(w).map(function(O){return s(O,j)})}function l(p,w){if(!w.customMerge)return I;var j=w.customMerge(p);return typeof j=="function"?j:I}function d(p){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(p).filter(function(w){return Object.propertyIsEnumerable.call(p,w)}):[]}function c(p){return Object.keys(p).concat(d(p))}function g(p,w){try{return w in p}catch{return!1}}function y(p,w){return g(p,w)&&!(Object.hasOwnProperty.call(p,w)&&Object.propertyIsEnumerable.call(p,w))}function x(p,w,j){var O={};return j.isMergeableObject(p)&&c(p).forEach(function(E){O[E]=s(p[E],j)}),c(w).forEach(function(E){y(p,E)||(g(p,E)&&j.isMergeableObject(w[E])?O[E]=l(E,j)(p[E],w[E],j):O[E]=s(w[E],j))}),O}function I(p,w,j){j=j||{},j.arrayMerge=j.arrayMerge||u,j.isMergeableObject=j.isMergeableObject||e,j.cloneUnlessOtherwiseSpecified=s;var O=Array.isArray(w),E=Array.isArray(p),P=O===E;return P?O?j.arrayMerge(p,w,j):x(p,w,j):s(w,j)}I.all=function(p,w){if(!Array.isArray(p))throw new Error("first argument should be an array");return p.reduce(function(j,O){return I(j,O,w)},{})};var b=I;return xt=b,xt}var os=is(),as=gi(os);var Wt=new TextEncoder,ss={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"},us=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),$t=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 Vt(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")}},Vt=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:l,cache:d,datetime:c,signQuery:g,appendSessionToken:y,allHeaders:x,singleEncode:I}){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 b,p;(!u||!l)&&([b,p]=cs(this.url,this.headers)),this.service=u||b||"",this.region=l||p||"us-east-1",this.cache=d||new Map,this.datetime=c||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=g,this.appendSessionToken=y||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(O=>x||!us.has(O)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(O=>O+":"+(O==="host"?this.url.host:(this.headers.get(O)||"").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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as n}from"./2AZTGGQP.js";import{a as s}from"./LZC5OKYE.js";import"./NP4W7EDK.js";import"./M3JQHFSU.js";import"./PSP2JCLX.js";import"./HQIAVN67.js";import{a as r,b as a}from"./JYTMSQVX.js";import"./AB4XPYGH.js";import"./ATNDBD4K.js";import{a as o}from"./VXZ2B534.js";import{a as i}from"./562IDXBA.js";import"./WP57L3ZR.js";import"./5YSFQ4E3.js";import"./CLZ76DFI.js";import"./L72F3CMH.js";import"./WIZLQW7N.js";import"./4RYZ25UY.js";import"./2VDJE4V4.js";import"./F2T2S2QU.js";import"./OWK6VKPV.js";import"./DMWC3BFF.js";import"./7S572CXN.js";import"./TNPHUDU5.js";import"./PS7XJL2U.js";import"./VUHPVY6F.js";import"./HG3L3JDR.js";import"./UZFCVNKV.js";import"./WY2YAJV2.js";import"./FFU546ZJ.js";import"./3EVGRBFY.js";import"./KFYEVP5G.js";import"./QUGE5UIB.js";import"./NMZOOVD5.js";import"./EHTK6HWZ.js";import"./BOHONSFJ.js";import"./RV44MYN7.js";import"./UKSUWA3B.js";import"./FGCO2ORF.js";import"./PLASWOCJ.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
3
+ v1.0.1 */
4
+ import{a as n}from"./IBVPZZZL.js";import{a as s}from"./3RJYN2DN.js";import"./4MCP26Y4.js";import"./ACTLIYVY.js";import"./4GAUFXRB.js";import"./KMSR2MGE.js";import{a as r,b as a}from"./4SSQ22MK.js";import"./2VSWXPDT.js";import"./SSBXWLZH.js";import{a as o}from"./2JA5VZ4Q.js";import{a as i}from"./USLJNUGC.js";import"./OP7BMHEO.js";import"./5IBY2FQU.js";import"./FBPGHBBN.js";import"./B3J5GWRK.js";import"./4LAC6IBS.js";import"./GS5KTDPD.js";import"./XH56YQ5M.js";import"./H26UVKPN.js";import"./ZV2QHOXX.js";import"./WLNWGHXO.js";import"./WMYYW4X6.js";import"./GERXYYJ5.js";import"./LTQVQQV3.js";import"./3D2A2GR6.js";import"./ZJQDRWP2.js";import"./6YGUHVIL.js";import"./PTHS5BTD.js";import"./FSLY3Q32.js";import"./2LZJQN7R.js";import"./TP5XDVEG.js";import"./TOETAVWD.js";import"./FNWUB6GJ.js";import"./DWHGFYZ3.js";import"./AJ4YAPGC.js";import"./5NTNQARK.js";import"./NNTKYQHM.js";import"./7T5OVZJR.js";import"./EXNI3E3V.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d 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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as i}from"./VXPBZUD6.js";import{o as r}from"./WSWWUPOS.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.0.1 */
4
+ import{a as i}from"./OOAOVEB5.js";import{o as r}from"./JQWOQPMK.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.0/esri/copyright.txt for details.
3
- v1.0.0 */
3
+ v1.0.1 */
4
4
  var e="WNufTOT96eMYwAik",a="https://www.arcgis.com",s="8f741b82179543fe884bed012dd5f049",d="1d3a7ed66deb47269beea05ff9afd4c1",f="en";export{e as a,a as b,s as c,d,f as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as e}from"./RV44MYN7.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
3
+ v1.0.1 */
4
+ import{a as e}from"./5NTNQARK.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{e as l}from"./XM4IJDWV.js";import{e as c}from"./4DELYGXR.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
3
+ v1.0.1 */
4
+ import{e as l}from"./FGUFX7HJ.js";import{e as c}from"./AAW4M5UY.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as 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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as e}from"./RV44MYN7.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.0.1 */
4
+ import{a as e}from"./5NTNQARK.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s 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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{A as r,B as b,C as g,D as y,E as P,F as S,G as k,H as w,s as f,t as m,u,v as l,w as p,x as d,y as O,z as x}from"./XM4IJDWV.js";function K(s,a,n){let t=s.templates.map(i=>i.type),e=[];e.push(m),t.indexOf("Group")>=0&&(e.push(u),e.push(r)),t.indexOf("Feature Service")>=0&&e.push(p);let o=t.indexOf("Feed")>-1;o&&e.push(d);let c=t.indexOf("Big Data Analytic")>-1;c&&e.push(l);let h=t.indexOf("Real Time Analytic")>-1;h&&e.push(x),(o||c||h)&&e.push(k),t.indexOf("Workflow")>-1&&(e.push(u),e.push(p),e.push(r),e.push(w)),t.indexOf("Geoprocessing Service")>-1&&(e.push(O),n.IsEnterprisePortal&&e.push(g));let A=s.templates.reduce((i,T)=>i.concat(T.item.typeKeywords||[]),[]);return G(e,A,n),I(e,a),E(e,s),e}function E(s,a){a.templates.some(n=>n.type==="Group"&&n.item?.membershipAccess==="collaboration")&&s.push(f)}function G(s,a,n){let t=v(n),e=B(n);["Location Tracking View"].some(o=>a.indexOf(o)>-1)&&(!t&&!e?s.push(y):t&&!e?s.push(P):!t&&e&&s.push(S))}function I(s,a){["HubPremium"].some(n=>a.indexOf(n)>-1)&&s.push(b)}function v(s){let a=s.PortalUserSubset;return a?.role==="org_admin"&&!a?.hasOwnProperty("roleId")}function B(s){return s.PortalSubset?.locationTrackingEnabled||!1}export{K as a,v as b};
3
+ v1.0.1 */
4
+ import{A as r,B as b,C as g,D as y,E as P,F as S,G as k,H as w,s as f,t as m,u,v as l,w as p,x as d,y as O,z as x}from"./FGUFX7HJ.js";function K(s,a,n){let t=s.templates.map(i=>i.type),e=[];e.push(m),t.indexOf("Group")>=0&&(e.push(u),e.push(r)),t.indexOf("Feature Service")>=0&&e.push(p);let o=t.indexOf("Feed")>-1;o&&e.push(d);let c=t.indexOf("Big Data Analytic")>-1;c&&e.push(l);let h=t.indexOf("Real Time Analytic")>-1;h&&e.push(x),(o||c||h)&&e.push(k),t.indexOf("Workflow")>-1&&(e.push(u),e.push(p),e.push(r),e.push(w)),t.indexOf("Geoprocessing Service")>-1&&(e.push(O),n.IsEnterprisePortal&&e.push(g));let A=s.templates.reduce((i,T)=>i.concat(T.item.typeKeywords||[]),[]);return G(e,A,n),I(e,a),E(e,s),e}function E(s,a){a.templates.some(n=>n.type==="Group"&&n.item?.membershipAccess==="collaboration")&&s.push(f)}function G(s,a,n){let t=v(n),e=B(n);["Location Tracking View"].some(o=>a.indexOf(o)>-1)&&(!t&&!e?s.push(y):t&&!e?s.push(P):!t&&e&&s.push(S))}function I(s,a){["HubPremium"].some(n=>a.indexOf(n)>-1)&&s.push(b)}function v(s){let a=s.PortalUserSubset;return a?.role==="org_admin"&&!a?.hasOwnProperty("roleId")}function B(s){return s.PortalSubset?.locationTrackingEnabled||!1}export{K as a,v 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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as h}from"./QPA3WWD5.js";import{a as x}from"./7C7SXM4M.js";import{e as v}from"./CX2QWWHL.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./JUIF3JFS.js";import"./CXK3KS6W.js";import{a as _,c as s,d as C,e as b}from"./D55TK32T.js";import"./PLASWOCJ.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
3
+ v1.0.1 */
4
+ import{a as h}from"./VZFXG3TX.js";import{a as x}from"./RJWYLFLD.js";import{e as v}from"./LVF5XFSJ.js";import{c as w,h as I,i as T,k as p,l as u,x as E,z as S}from"./C2ERTRIZ.js";import"./UUUTNXB4.js";import{a as _,c as s,d as C,e as b}from"./VAVI46B5.js";import"./EXNI3E3V.js";var{state:t,onChange:L}=x({timeInfoConfigItems:[],filterMode:{type:"filter"},view:null,timeSlider:null,timeInfoItems:[],selectedTimeInfoItem:null,loading:!0,timeSliderConfig:{},autoPlay:!1}),g="time-slider-watch",y=class{constructor(){this.initializeModules()}async initializeModules(){try{let e=await S();this.reactiveUtils=e,this.handles=await w()}catch{}}async init(e){e&&(e.innerHTML=""),t?.timeSlider?.viewModel?.state==="playing"&&t.timeSlider.stop();let{view:i,timeInfoConfigItems:n}=t;if(i)try{if(await i.when(),n.length===1&&n[0]?.type==="map")this.initTimeSlider(e,n[0]);else{let a=await this.getTimeLayerViews(i,n);t.timeInfoItems=this.generateTimeInfoItems(a,n),this.initTimeSlider(e)}return Promise.resolve()}catch{}finally{this.setupFilterModeWatcher()}}destroy(){this.handles?.removeAll(),this.handles=null,t.timeSlider?.destroy()}async getTimeLayerViews(e,i){let n=e.map?.allLayers,a=o=>n?.find(({id:f})=>o===f),m=i.map(({id:o})=>a(o)).map(async o=>await e.whenLayerView(o));return await Promise.all(m)}generateTimeInfoItems(e,i){return[...i].map(a=>{let l=e.find(({layer:m})=>m.id===a.id);return this.generateTimeInfoItem(l,a)})}generateTimeInfoItem(e,{increments:i,rangeStart:n,rangeEnd:a,timeIntervalValue:l}){let f=e?.layer?.timeInfo?.fullTimeExtent;return{layerView:e,unit:i,timeIntervalValue:l??1,rangeStart:new Date(n),rangeEnd:new Date(a),timeExtent:f,previousTimeExtent:null}}async initTimeSlider(e,i){let n=async a=>(t.timeSlider=await E(a),t.autoPlay&&t.timeSlider.play(),void await Promise.resolve());if(i){let a=await this.getTimeSliderConfig(e,i);await n(a)}else{let a=t?.timeInfoItems?.[0];if(!a)return;t.selectedTimeInfoItem=a;let l=await this.getTimeSliderConfig(e);await n(l)}t.view?.type==="2d"&&this.initialize2DView()}setupFilterModeWatcher(){L("filterMode",e=>{e&&t.timeInfoItems.forEach(i=>{let n=i.layerView;this.applyTimeExtent(n,n?.featureEffect?.filter?.timeExtent||n.filter?.timeExtent,e)})})}async getTimeSliderConfig(e,i){let n={container:e,mode:"time-window",view:t.view?.type==="3d"?t.view:null,...t.timeSliderConfig};if(i){let a=t.view?.map?.widgets?.timeSlider,l={...n,fullTimeExtent:a?.fullTimeExtent,timeExtent:a?.currentTimeExtent};return a?.stopInterval?.unit&&a?.stopInterval?.value&&(l.stops={interval:await u({unit:a?.stopInterval?.unit,value:a?.stopInterval?.value})}),l}else{let[{timeExtent:a,rangeStart:l,rangeEnd:m,unit:o,timeIntervalValue:f}]=t.timeInfoItems;return{...n,fullTimeExtent:a,timeExtent:await p({start:l,end:m}),stops:{interval:await u({unit:o,value:f})}}}}initialize2DView(){t.timeInfoItems.forEach(async e=>this.applyTimeExtent(e.layerView,await p({start:e.rangeStart,end:e.rangeEnd}))),this.setupTimeExtentWatcher()}applyTimeExtent(e,i,n){t.filterMode?.type==="effect"?this.applyFeatureEffect(e,i,n):this.applyFeatureFilter(e,i)}applyFeatureEffect(e,i,n){if(e){if(e.filter&&e.set("filter",null),!e?.featureEffect?.filter||n){this.handleUpdatedFeatureEffect(e,i);return}e.featureEffect.filter.timeExtent=i}}async handleUpdatedFeatureEffect(e,i){e.featureEffect=await I({filter:{timeExtent:i},includedEffect:await h(t.filterMode?.effect?.includedEffect??"",e,"includedEffect"),excludedEffect:await h(t.filterMode?.effect?.excludedEffect??"",e,"excludedEffect")})}async applyFeatureFilter(e,i){if(e.featureEffect&&e.set("featureEffect",null),!e.filter){e.filter=await T({timeExtent:i});return}e.filter.timeExtent=i}setupTimeExtentWatcher(){this.handles?.has(g)&&this.handles?.remove(g),t?.timeSlider&&this.handles?.add(t.timeSlider.watch("timeExtent",e=>this.applyTimeExtent(t.selectedTimeInfoItem?.layerView,e)),g)}updateSelectedTimeInfoItem(e){t.timeSlider&&(t.selectedTimeInfoItem&&(t.selectedTimeInfoItem.previousTimeExtent=t.timeSlider.timeExtent),t.selectedTimeInfoItem=e,this.reconfigureTimeSlider(e),this.applyTimeExtent(e.layerView,t.timeSlider.timeExtent),this.setupTimeExtentWatcher())}async reconfigureTimeSlider(e){t.timeSlider&&(t.timeSlider.fullTimeExtent=e.timeExtent,t.timeSlider.timeExtent=await this.getTimeExtent(e),t.timeSlider.stops={interval:await this.getTimeInterval(e)})}async getTimeExtent({rangeStart:e,rangeEnd:i,previousTimeExtent:n}){let a=n??await p({start:e,end:i});return await Promise.resolve(a)}async getTimeInterval(e){let i=e.unit??e.layerView?.layer?.timeInfo?.interval?.unit;return await u({unit:i,value:1})}getLabel(e){return e?.layerView?.layer?.title||""}},d=new y,M=".instant-apps-time-filter{position:relative;display:block;min-width:375px;min-height:200px}.instant-apps-time-filter__background{background-color:var(--calcite-ui-background);position:absolute;top:0;left:0;width:100%;height:100%;z-index:0}.instant-apps-time-filter calcite-dropdown{width:100%}.instant-apps-time-filter calcite-dropdown calcite-button{--calcite-color-brand:var(--calcite-ui-text-1);--calcite-ui-brand:var(--calcite-ui-text-1)}.instant-apps-time-filter__layer-title{font-weight:550;display:inline-block;padding:10px}.instant-apps-time-filter__loading-container{display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.instant-apps-time-filter--3d{min-height:160px}",F=M,c={base:"instant-apps-time-filter",layerTitle:"instant-apps-time-filter__layer-title",loadingContainer:"instant-apps-time-filter__loading-container",background:"instant-apps-time-filter__background",threeD:" instant-apps-time-filter--3d"},D=class{constructor(r){_(this,r),this.messages=void 0,this.timeSliderRef=void 0,this.timeInfoConfigItems=[],this.filterMode=void 0,this.view=void 0,this.timeSliderConfig=void 0,this.autoPlay=!1}async updateTimeInfoConfigItems(){t.timeInfoConfigItems=this.timeInfoConfigItems,await d.init(this.timeSliderRef)}async updateFilterMode(){t.filterMode=this.filterMode}async updateTimeSliderConfig(){t.timeSliderConfig=this.timeSliderConfig,await d.init(this.timeSliderRef)}async updateAutoPlay(){t.autoPlay=this.autoPlay,t.timeSlider&&(t.autoPlay?t.timeSlider.play():t.timeSlider.stop())}async componentWillLoad(){try{t.view=this.view,t.timeInfoConfigItems=this.timeInfoConfigItems,t.autoPlay=!!this.autoPlay,this.timeSliderConfig&&(t.timeSliderConfig=this.timeSliderConfig),this.filterMode&&(t.filterMode=this.filterMode),await v(this)}catch{}}async componentDidLoad(){try{await d.init(this.timeSliderRef)}catch{}finally{t.loading=!1}}disconnectedcallback(){d.destroy()}render(){return s(C,{key:"c994735c86c7bb3edeadf623a15c565960637f23"},this._renderBase())}_renderBase(){return s("div",{class:`${c.base}${this.view.type!=="2d"?c.threeD:""}`},this._renderLoader(),this.view.type==="2d"&&this._renderTopEl(),s("div",{key:"time-slider",ref:r=>{r&&(this.timeSliderRef=r)}}))}_renderLoader(){return t.loading&&s("div",null,s("div",{class:c.background}),s("div",{class:c.loadingContainer},s("calcite-loader",{scale:"m",label:this.messages?.loading??"",text:this.messages?.loading})))}_renderTopEl(){return this.timeInfoConfigItems.length>1?this._renderDropdown():this._renderLayerTitle()}_renderLayerTitle(){let r=t.selectedTimeInfoItem?.layerView?.layer?.title;return s("span",{class:c.layerTitle},r)}_renderDropdown(){return t.selectedTimeInfoItem&&s("calcite-dropdown",null,this._renderDropdownButton(),this._renderDropdownItems())}_renderDropdownButton(){return s("calcite-button",{slot:"trigger",appearance:"transparent",iconEnd:"chevron-down",width:"full",alignment:"space-between"},d.getLabel(t.selectedTimeInfoItem))}_renderDropdownItems(){return t.timeInfoItems.map(r=>this._renderDropdownItem(r))}_renderDropdownItem(r){let e=t.selectedTimeInfoItem?.layerView?.layer?.id,i=r?.layerView?.layer?.id;return s("calcite-dropdown-item",{onCalciteDropdownItemSelect:()=>d.updateSelectedTimeInfoItem(r),selected:e===i},d.getLabel(r))}get el(){return b(this)}static get watchers(){return{timeInfoConfigItems:["updateTimeInfoConfigItems"],filterMode:["updateFilterMode"],timeSliderConfig:["updateTimeSliderConfig"],autoPlay:["updateAutoPlay"]}}};D.style=F;export{D as instant_apps_time_filter};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.1 */
4
+ import{a as D}from"./GHJ65L2F.js";import{a as _,c as b}from"./O5NUSUPU.js";import{N as g}from"./FJJXJF2V.js";import"./PLMRWY6C.js";import"./UOD4T3ON.js";import"./ZLLEYAP3.js";import"./JQWOQPMK.js";import"./ZOMUTHCL.js";import"./XNUHTFDS.js";import"./HACP2EXZ.js";import"./TAV3B2GU.js";import"./W2I3RJRK.js";import"./4MCP26Y4.js";import"./ACTLIYVY.js";import"./4GAUFXRB.js";import"./KMSR2MGE.js";import"./SSBXWLZH.js";import"./OP7BMHEO.js";import"./5IBY2FQU.js";import"./FBPGHBBN.js";import"./B3J5GWRK.js";import{a as m}from"./KPQBFQZB.js";import{B as p,D as u,c,d as t,n as l,p as h,x as a,y as d}from"./F66BID67.js";import"./EXNI3E3V.js";var C=c`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}}`,n=class extends d{constructor(){super(...arguments),this.authContextConsumer=a({context:b,subscribe:!0}),this.open=!1,this.userSessionContextConsumer=a({context:_,subscribe:!0}),this._deletePercentage=0,this._isDeleteInProgress=!1,this._showDeleteError=!1,this._templates=[],this._translations=m({name:"solution-delete-dialog",blocking:!0}),this.dialogOpen=l(),this.solutionDeleted=l()}static{this.properties={authContextConsumer:0,card:0,open:5,userSessionContextConsumer:0,_deletePercentage:16,_isDeleteInProgress:16,_showDeleteError:16,_templates:16,_translations:16}}static{this.styles=C}static{this.shadowRootOptions=h}close(){this._isDeleteInProgress&&this.solutionDeleted.emit(!0),this._showDeleteError=!1,this._isDeleteInProgress=!1,this.open=!1,this.dialogOpen.emit(!1)}delete(){if(this._isDeleteInProgress=!0,this.card){let i=[{itemName:this.card.title,itemType:"Solution",owner:this.card.owner,modified:this.card.modified}],f={progressCallback:s=>{this._deletePercentage=Math.round(s)}};g(this.card.id,this.userSessionContextConsumer.value,f).then(s=>{console.log(s);let r=s[1],o;r?o=r.items.map(e=>({itemName:e.title,itemType:e.type,owner:e.owner,modified:e.modified})):o=i,o.length===0?(this.solutionDeleted.emit(!0),this._isDeleteInProgress=!1,this.open=!1):this.card?this._processTemplates(this.card).then(e=>{this._templates=e,this._showDeleteError=!0,this._isDeleteInProgress=!1}):(this._showDeleteError=!0,this._isDeleteInProgress=!1)})}}async load(){this.card&&(this._templates=await this._processTemplates(this.card))}render(){return t`<calcite-dialog class="panel-bg-color" close-disabled .heading=${this._translations.title.replace("{{solution}}",this.card?.title??"")} id=${this._translations.title.replace("{{solution}}",this.card?.title??"")??p} modal .open=${this.open} outside-close-disabled @calciteDialogClose=${()=>{this.open=!1,this.dialogOpen.emit(!1)}}>${this._isDeleteInProgress?t`<calcite-loader .label=${this._translations.deleteInProgress} scale=l .text=${this._translations.deleteInProgress} type=determinate-value .value=${this._deletePercentage}></calcite-loader>`:t`<calcite-label layout=inline>${this._translations.deletionNote}<calcite-chip .label=${this._translations.deletionCount.replace("{{count}}",this.card?.title??"")}>${this._templates.length>1?this._translations.deletionCountMultiple.replace("{{count}}",this._templates.length.toString()):this._translations.deletionCount.replace("{{count}}",this._templates.length.toString())}</calcite-chip></calcite-label><solution-item-accordion .templateInfos=${this._templates}></solution-item-accordion><calcite-button appearance=outline @click=${this.close} slot=footer-end>${this._translations.buttonCancel}</calcite-button><calcite-button @click=${()=>{this.delete()}} slot=footer-end kind=danger>${this._translations.buttonDelete}</calcite-button>${this._showDeleteError&&t`<calcite-alert icon=exclamation-mark-triangle kind=danger .label=${this._translations.failedToDelete} @calciteAlertClose=${()=>{this._showDeleteError=!1}} open><div slot=message>${this._translations.failedToDelete}</div></calcite-alert>`||""}`}</calcite-dialog>`}async _processTemplates(i){return await D(i.id,this.userSessionContextConsumer.value)}};u("solution-delete-dialog",n);export{n as SolutionDeleteDialog};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
3
+ v1.0.1 */
4
4
  var e={"hub:initiative:events":!1,"hub:initiative:content":!0,"hub:initiative:discussions":!1},i=["hub:initiative","hub:initiative:create","hub:initiative:delete","hub:initiative:edit","hub:initiative:view","hub:initiative:owner","hub:initiative:canChangeAccess","hub:initiative:events","hub:initiative:content","hub:initiative:discussions","hub:initiative:workspace","hub:initiative:workspace:overview","hub:initiative:workspace:dashboard","hub:initiative:workspace:details","hub:initiative:workspace:metrics","hub:initiative:workspace:projects","hub:initiative:workspace:projects:member","hub:initiative:workspace:projects:manager","hub:initiative:workspace:settings","hub:initiative:workspace:collaborators","hub:initiative:workspace:content","hub:initiative:workspace:events","hub:initiative:workspace:metrics","hub:initiative:workspace:catalogs","hub:initiative:workspace:catalog","hub:initiative:workspace:catalog:content","hub:initiative:workspace:catalog:events","hub:initiative:workspace:associationGroup:create","hub:initiative:manage"],t=[{permission:"hub:initiative",services:["portal"],licenses:["hub-premium"]},{permission:"hub:initiative:create",dependencies:["hub:initiative"],authenticated:!0,privileges:["portal:user:createItem"]},{permission:"hub:initiative:view",services:["portal"],authenticated:!1,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:owner",dependencies:["hub:initiative"],authenticated:!0,entityOwner:!0},{permission:"hub:initiative:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:delete",dependencies:["hub:initiative"],authenticated:!0,entityDelete:!0},{permission:"hub:initiative:canChangeAccess",dependencies:["hub:initiative"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:initiative:events",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:content",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:discussions",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:workspace",dependencies:["hub:feature:workspace"]},{permission:"hub:initiative:workspace:overview",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:dashboard",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:details",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects:member",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-member",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:projects:manager",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-admin",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:settings",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:collaborators",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:content",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:events",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalogs",dependencies:["hub:initiative:workspace","hub:feature:catalogs","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog:content",dependencies:["hub:initiative:workspace:catalog"]},{permission:"hub:initiative:workspace:catalog:events",dependencies:["hub:initiative:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:initiative:manage",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:workspace:associationGroup:create",dependencies:["hub:initiative:workspace:projects","hub:group:create"]}];var r={"hub:project:events":!1,"hub:project:content":!0,"hub:project:discussions":!1},a=["hub:project","hub:project:create","hub:project:delete","hub:project:edit","hub:project:view","hub:project:owner","hub:project:canChangeAccess","hub:project:events","hub:project:content","hub:project:discussions","hub:project:associations","hub:project:workspace","hub:project:workspace:overview","hub:project:workspace:dashboard","hub:project:workspace:details","hub:project:workspace:initiatives","hub:project:workspace:settings","hub:project:workspace:collaborators","hub:project:workspace:content","hub:project:workspace:events","hub:project:workspace:metrics","hub:project:workspace:catalog","hub:project:workspace:catalog:content","hub:project:workspace:catalog:events","hub:project:manage"],n=[{permission:"hub:project",services:["portal"],licenses:["hub-premium"]},{permission:"hub:project:create",authenticated:!0,dependencies:["hub:project"],privileges:["portal:user:createItem"]},{permission:"hub:project:view",services:["portal"]},{permission:"hub:project:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:project:delete",dependencies:["hub:project"],authenticated:!0,entityDelete:!0},{permission:"hub:project:owner",dependencies:["hub:project"],authenticated:!0,entityOwner:!0},{permission:"hub:project:canChangeAccess",dependencies:["hub:project"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:project:events",dependencies:["hub:project:view"],entityConfigurable:!0},{permission:"hub:project:content",dependencies:["hub:project:edit"]},{permission:"hub:project:discussions",dependencies:["hub:project:view"]},{permission:"hub:project:associations",dependencies:["hub:project:view"]},{permission:"hub:project:workspace"},{permission:"hub:project:workspace:overview",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:dashboard",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:details",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:initiatives",dependencies:["hub:project:workspace","hub:project:associations","hub:project:edit"]},{permission:"hub:project:workspace:settings",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:collaborators",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:content",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:events",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:metrics",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog:content",dependencies:["hub:project:workspace:catalog"]},{permission:"hub:project:workspace:catalog:events",dependencies:["hub:project:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:project:manage",dependencies:["hub:project:edit"]}];export{e as a,i as b,t as c,r as d,a as e,n as f};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.1 */
4
+ import{a,b}from"./TP5XDVEG.js";import"./FNWUB6GJ.js";import"./DWHGFYZ3.js";import"./5NTNQARK.js";import"./NNTKYQHM.js";import"./7T5OVZJR.js";import"./EXNI3E3V.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as t}from"./WIZLQW7N.js";import"./4RYZ25UY.js";import"./2VDJE4V4.js";import"./F2T2S2QU.js";import"./OWK6VKPV.js";import"./DMWC3BFF.js";import"./7S572CXN.js";import"./TNPHUDU5.js";import"./PS7XJL2U.js";import"./VUHPVY6F.js";import"./HG3L3JDR.js";import"./UZFCVNKV.js";import{a as r}from"./WY2YAJV2.js";import"./FFU546ZJ.js";import"./3EVGRBFY.js";import"./KFYEVP5G.js";import"./QUGE5UIB.js";import"./NMZOOVD5.js";import"./EHTK6HWZ.js";import"./BOHONSFJ.js";import"./RV44MYN7.js";import"./UKSUWA3B.js";import"./FGCO2ORF.js";import"./PLASWOCJ.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.0.1 */
4
+ import{a as t}from"./4LAC6IBS.js";import"./GS5KTDPD.js";import"./XH56YQ5M.js";import"./H26UVKPN.js";import"./ZV2QHOXX.js";import"./WLNWGHXO.js";import"./WMYYW4X6.js";import"./GERXYYJ5.js";import"./LTQVQQV3.js";import"./3D2A2GR6.js";import"./ZJQDRWP2.js";import"./6YGUHVIL.js";import{a as r}from"./PTHS5BTD.js";import"./FSLY3Q32.js";import"./2LZJQN7R.js";import"./TP5XDVEG.js";import"./TOETAVWD.js";import"./FNWUB6GJ.js";import"./DWHGFYZ3.js";import"./AJ4YAPGC.js";import"./5NTNQARK.js";import"./NNTKYQHM.js";import"./7T5OVZJR.js";import"./EXNI3E3V.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n 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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{B as s,D as g,E as i,c as l,d as p,p as u,y as d}from"./ZGA5KQXP.js";import"./PLASWOCJ.js";var m=l`@layer{/** @license
3
+ v1.0.1 */
4
+ import{B as s,D as g,E as i,c as l,d as p,p as u,y as d}from"./F66BID67.js";import"./EXNI3E3V.js";var m=l`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.1 */
4
+ import{a,b}from"./XH56YQ5M.js";import"./H26UVKPN.js";import"./EXNI3E3V.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./RPF35HAJ.js";import"./7C7SXM4M.js";import"./CX2QWWHL.js";import"./JUIF3JFS.js";import"./CXK3KS6W.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./D55TK32T.js";import"./PLASWOCJ.js";var A=`
3
+ v1.0.1 */
4
+ import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./JXDP3DWB.js";import"./RJWYLFLD.js";import"./LVF5XFSJ.js";import"./C2ERTRIZ.js";import"./UUUTNXB4.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./VAVI46B5.js";import"./EXNI3E3V.js";var A=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.1 */
4
+ import b from"./3O5P6PXO.js";import{b as w}from"./WOD4EWNY.js";import a from"./7WJWSOJH.js";import{a as y,c as C}from"./O5NUSUPU.js";import"./FJJXJF2V.js";import"./PLMRWY6C.js";import"./UOD4T3ON.js";import"./ZLLEYAP3.js";import"./JQWOQPMK.js";import"./ZOMUTHCL.js";import"./XNUHTFDS.js";import"./HACP2EXZ.js";import"./TAV3B2GU.js";import"./W2I3RJRK.js";import"./4MCP26Y4.js";import"./ACTLIYVY.js";import"./4GAUFXRB.js";import"./KMSR2MGE.js";import"./SSBXWLZH.js";import"./OP7BMHEO.js";import"./5IBY2FQU.js";import"./FBPGHBBN.js";import"./B3J5GWRK.js";import{k as m,l as g,m as _,p as o}from"./FGUFX7HJ.js";import{a as p}from"./KPQBFQZB.js";import{B as d,D as u,c as l,d as s,e as n,n as h,x as r,y as c}from"./F66BID67.js";import"./EXNI3E3V.js";export default $arcgis.t(([,{a:i,b:f}])=>{var x=l`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.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%}.display-flex{display:flex}.flex-direction-column{flex-direction:column}`,a=class extends c{constructor(){super(),this.authContextConsumer=r({context:C,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this.userSessionContextConsumer=r({context:y,subscribe:!0}),this.cards=[],this._showDeleteCompleteAlert=!1,this._translations=p({name:"solutions-deployed-panel",blocking:!0}),this._allCards=[],this._agoTerms=o,this._baseAgoTerms=o,this._categories=[],this._delay=!1,this._isOrgAdmin=!1,this._owner=_.OWNER,this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=h(),this.listenOn(window,"solutionDeleted",this.reload)}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_showDeleteCompleteAlert:16,_translations:16}}static{this.styles=x}reload(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),setTimeout(()=>{(async()=>{try{await this._getDeployedSolutions()}catch(e){console.error("Error getting deployed solutions:",e)}})()},500),this._showDeleteCompleteAlert=!0}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async load(){this._cardsFetcher=new i(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new i(this.locale,this.orgUrl,this.portalUrl),this._isOrgAdmin=w(this.authContextConsumer.value),await this._getDeployedSolutions()}render(){return s`<calcite-panel><calcite-card-group class="card-group" label>${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>`}_renderCards(){return this.cards.length?this.cards.map(e=>s`<solution-deployed-card .allowDelete=${this._isOrgAdmin||e.owner===this.userSessionContextConsumer.value.username||this.checkDeletePermissions()} .deployedDate=${e.created} .description=${e.snippet} .heading=${e.title} itemId=${e.id??d} .owner=${e.owner} .thumbnail=${e.thumbnailUrl} .card=${e}></solution-deployed-card>`):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>`}async _getDeployedSolutions(){let e=await f(this.authContextConsumer.value,this.userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards,this._owner);this.cards=e?.cards??[],e?.relatedSolutions&&(this._relatedSolutions=e.relatedSolutions,console.log(this._relatedSolutions)),this.deployedCardsFetched.emit(this.cards.length)}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${n`<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}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let S=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${S}`]}else this._categories=[`/Categories/${t}`];e.type==="owner"&&(this._owner=e.value),this._getDeployedSolutions()}else e.type==="owner"&&(this._owner=e.value,this._getDeployedSolutions())}_getDomainValue(e){return g[e]}_getIndustryValue(e){return e==="AEC"?"AEC":m[e]}_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}};u("solutions-deployed-panel",a);return a},a,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.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{b as t,c as e}from"./F2T2S2QU.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.0.1 */
4
+ import{b as t,c as e}from"./H26UVKPN.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0 */
4
- import{a as i,c as n,d as p,e as a}from"./D55TK32T.js";import"./PLASWOCJ.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};
3
+ v1.0.1 */
4
+ import{a as i,c as n,d as p,e as a}from"./VAVI46B5.js";import"./EXNI3E3V.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};