@esri/solutions-components 5.1.0-next.157 → 5.1.0-next.159

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 (544) hide show
  1. package/dist/cdn/{O4YFJXGF.js → 22BJ76LD.js} +1 -1
  2. package/dist/cdn/24DOFCUH.js +2 -0
  3. package/dist/cdn/{QA3SYWWX.js → 26EKIZQ3.js} +1 -1
  4. package/dist/cdn/{DOXKOGC2.js → 26QXT6ZT.js} +1 -1
  5. package/dist/cdn/{A7PEHKA2.js → 2OCRSUSE.js} +1 -1
  6. package/dist/cdn/{NC34DM4N.js → 2UCURPVT.js} +1 -1
  7. package/dist/cdn/{DZB3263I.js → 2X3SHREV.js} +1 -1
  8. package/dist/cdn/{WUEJANIZ.js → 3A5WS2II.js} +1 -1
  9. package/dist/cdn/{3N4FGXFE.js → 3D5OFNW5.js} +1 -1
  10. package/dist/cdn/{IO5DIUTT.js → 3E7MYA66.js} +1 -1
  11. package/dist/cdn/{YWXDNRE2.js → 3IHDWRXV.js} +1 -1
  12. package/dist/cdn/3IO2JXVB.js +2 -0
  13. package/dist/cdn/{OOP3DI7Y.js → 3KRXI2TQ.js} +1 -1
  14. package/dist/cdn/{GDDMG3Q4.js → 3NKGACT7.js} +1 -1
  15. package/dist/cdn/{7Y32UJS4.js → 3QIWKYQY.js} +1 -1
  16. package/dist/cdn/3SDEIO24.js +2 -0
  17. package/dist/cdn/{BYGOJ5ML.js → 3Z7EYDFO.js} +66 -66
  18. package/dist/cdn/{ALQFRJNC.js → 4ALVWOG7.js} +1 -1
  19. package/dist/cdn/{QLOWHDGX.js → 4OKIVS32.js} +1 -1
  20. package/dist/cdn/{YKSW755L.js → 4PNNKMNH.js} +1 -1
  21. package/dist/cdn/{Y3Q6SFIV.js → 55QBAVPE.js} +1 -1
  22. package/dist/cdn/{7ZJQQBSR.js → 57SZHKM5.js} +1 -1
  23. package/dist/cdn/{MDNGEZ2V.js → 5BN62I7L.js} +1 -1
  24. package/dist/cdn/{IM3C52I6.js → 5EXKQXLZ.js} +1 -1
  25. package/dist/cdn/{JQANOMEB.js → 5F6KCXYP.js} +1 -1
  26. package/dist/cdn/{RYETW3AF.js → 5JBZ6L5Q.js} +1 -1
  27. package/dist/cdn/{ZQAD6SUE.js → 5K5GHKON.js} +1 -1
  28. package/dist/cdn/{KP3AJBAI.js → 5VIB2BPJ.js} +1 -1
  29. package/dist/cdn/{X26QOEYN.js → 62CPZJO5.js} +1 -1
  30. package/dist/cdn/{5XDPNTYE.js → 62QGEVBO.js} +1 -1
  31. package/dist/cdn/{VCL4OTSQ.js → 632J5NXN.js} +1 -1
  32. package/dist/cdn/{OL5LAOD5.js → 6LHIJG7J.js} +1 -1
  33. package/dist/cdn/{SSZBIVTK.js → 6XWFCHCJ.js} +1 -1
  34. package/dist/cdn/73EY5SIB.js +2 -0
  35. package/dist/cdn/{QCCLUBLV.js → 7FZDDT7D.js} +1 -1
  36. package/dist/cdn/{CSW2JRVE.js → 7MNSZGMB.js} +1 -1
  37. package/dist/cdn/{5GHZQ66V.js → 7NUJ4IS5.js} +1 -1
  38. package/dist/cdn/{WFHPQFNH.js → 7OHSJ5SV.js} +1 -1
  39. package/dist/cdn/{HEI6GMZN.js → 7VQB43WL.js} +1 -1
  40. package/dist/cdn/{GXIGM56I.js → 7YJMTZFC.js} +1 -1
  41. package/dist/cdn/{LI7Q44Z6.js → 7ZJBP3SS.js} +1 -1
  42. package/dist/cdn/{3SRDS4KQ.js → 7ZSO7MSX.js} +1 -1
  43. package/dist/cdn/{G5PL37M5.js → A2VP46QZ.js} +1 -1
  44. package/dist/cdn/{MPSNK45A.js → A62EWI7L.js} +1 -1
  45. package/dist/cdn/ACTJS4TX.js +4 -0
  46. package/dist/cdn/{LF3HQQMS.js → AEALFROI.js} +1 -1
  47. package/dist/cdn/{UNJV2PKC.js → AM6QSTRH.js} +1 -1
  48. package/dist/cdn/{MZXUUA7G.js → AS6VINEU.js} +1 -1
  49. package/dist/cdn/{KXT52OBS.js → AYJ5ZPU6.js} +1 -1
  50. package/dist/cdn/{2UIPY2ED.js → BATEZR3T.js} +1 -1
  51. package/dist/cdn/{ENTBR5YC.js → BEKMMPB7.js} +1 -1
  52. package/dist/cdn/{AXFB53AQ.js → BQ7O62CG.js} +1 -1
  53. package/dist/cdn/{S2Y44VZV.js → BVG2SE55.js} +1 -1
  54. package/dist/cdn/{KZSBETIP.js → C5BQAX2M.js} +1 -1
  55. package/dist/cdn/{M7GWNGTJ.js → CARCFJRD.js} +1 -1
  56. package/dist/cdn/{6RTL3IJQ.js → CAXDDYGL.js} +1 -1
  57. package/dist/cdn/{NVEAYDYI.js → CAYWD56D.js} +1 -1
  58. package/dist/cdn/{ARFCWGCB.js → CFJ4FEY3.js} +1 -1
  59. package/dist/cdn/{KZFMPHCV.js → CLRLOHTR.js} +1 -1
  60. package/dist/cdn/{M5ZEJF3J.js → CPOZIWVH.js} +1 -1
  61. package/dist/cdn/{UVHM4PU5.js → CUG5CROK.js} +1 -1
  62. package/dist/cdn/{ZZJHOJM5.js → CYEFGPUM.js} +3 -3
  63. package/dist/cdn/{V2DYKK6V.js → CZVHNBQN.js} +1 -1
  64. package/dist/cdn/{I3A27HFS.js → D2EVPZ5K.js} +1 -1
  65. package/dist/cdn/{JJV3TD42.js → D4TEADUS.js} +1 -1
  66. package/dist/cdn/{CZJPS7CF.js → D52QVYYU.js} +1 -1
  67. package/dist/cdn/{66VSNZFA.js → D5JF7XQN.js} +1 -1
  68. package/dist/cdn/{35HRMJUI.js → D6ZGMSQF.js} +1 -1
  69. package/dist/cdn/{MWFCDDBC.js → D7G4LZRG.js} +1 -1
  70. package/dist/cdn/{73O55ZBJ.js → DGQQF6WF.js} +1 -1
  71. package/dist/cdn/{JTENM3PQ.js → DJYT367X.js} +1 -1
  72. package/dist/cdn/{XDONARND.js → DKQRECGR.js} +1 -1
  73. package/dist/cdn/{EPKRNLRL.js → DKXVDY6L.js} +1 -1
  74. package/dist/cdn/{RFSPNC4B.js → DLDR5V2P.js} +1 -1
  75. package/dist/cdn/{7KEONOFN.js → DMENKRSP.js} +1 -1
  76. package/dist/cdn/{DWAYOC2L.js → DWKKP34X.js} +1 -1
  77. package/dist/cdn/{JDCZUOU6.js → E25ZWVBK.js} +1 -1
  78. package/dist/cdn/{HYB5LBMY.js → E7CWZMS4.js} +1 -1
  79. package/dist/cdn/{AVBZ2B75.js → EF2TTWG5.js} +1 -1
  80. package/dist/cdn/{XDZPQACK.js → EG5KPZQ2.js} +1 -1
  81. package/dist/cdn/{6BIHAEOS.js → EHSIODIO.js} +1 -1
  82. package/dist/cdn/{SNJPMQCE.js → EKK5FR2V.js} +1 -1
  83. package/dist/cdn/{AOJP5RQ6.js → EMPMQDRQ.js} +1 -1
  84. package/dist/cdn/{XBFG3KX6.js → ENLFOYSI.js} +1 -1
  85. package/dist/cdn/{6Q52JBZW.js → ES63XK5X.js} +1 -1
  86. package/dist/cdn/EXBEKVP5.js +2 -0
  87. package/dist/cdn/{NM2PQIH6.js → EYJQEBDF.js} +1 -1
  88. package/dist/cdn/{EF4LWVLU.js → F3A22NPP.js} +1 -1
  89. package/dist/cdn/{Y6KZTCZD.js → F5SUVMAE.js} +1 -1
  90. package/dist/cdn/{HS55CSUO.js → F6J3OLVZ.js} +1 -1
  91. package/dist/cdn/{IZ7DJL5P.js → FA5CJT2S.js} +1 -1
  92. package/dist/cdn/{S6J35GRM.js → FBGCV6YJ.js} +1 -1
  93. package/dist/cdn/{JET6MYZJ.js → FBSKACM2.js} +1 -1
  94. package/dist/cdn/{V52O7WYV.js → FCJFAZ4S.js} +1 -1
  95. package/dist/cdn/{ANVT6ANQ.js → FE6JCIZY.js} +1 -1
  96. package/dist/cdn/{7LKPG6HJ.js → FE7HMUSZ.js} +1 -1
  97. package/dist/cdn/{HJW2JW4G.js → FVR5S6DL.js} +1 -1
  98. package/dist/cdn/{YJBXJNUR.js → FZNRD2XJ.js} +1 -1
  99. package/dist/cdn/{TRXDA7G2.js → G2RMWJ7R.js} +1 -1
  100. package/dist/cdn/{6OJALTOU.js → G63OYQ7G.js} +1 -1
  101. package/dist/cdn/{RXOPHYUF.js → GABDTUB7.js} +1 -1
  102. package/dist/cdn/{BLR4MTOP.js → GLC7JVKG.js} +1 -1
  103. package/dist/cdn/{B3BR2NG5.js → GXZWJXHM.js} +1 -1
  104. package/dist/cdn/H3NPAQ3U.js +2 -0
  105. package/dist/cdn/{UUHDVB24.js → HB56DBBP.js} +1 -1
  106. package/dist/cdn/{C76SZF3J.js → HGOYPWOK.js} +1 -1
  107. package/dist/cdn/{K5ZIHTQC.js → HJZRCLYP.js} +1 -1
  108. package/dist/cdn/{SQ3AHKIW.js → I4EEOB6Y.js} +1 -1
  109. package/dist/cdn/{KCTWFRCW.js → I4VWG355.js} +1 -1
  110. package/dist/cdn/{MZ73EAAV.js → I5E3PM26.js} +1 -1
  111. package/dist/cdn/ICY4O6XV.js +2 -0
  112. package/dist/cdn/{GFEDQ7WH.js → IGQJLEEJ.js} +1 -1
  113. package/dist/cdn/{UY66XIX3.js → IOFIC3IG.js} +1 -1
  114. package/dist/cdn/{FJAJKPL6.js → IQVJCQTP.js} +1 -1
  115. package/dist/cdn/{BSBNPUTI.js → IXJFVKYN.js} +1 -1
  116. package/dist/cdn/{TK235QG4.js → J6OVONBB.js} +1 -1
  117. package/dist/cdn/{ORMBTE2Z.js → JEIP7CJK.js} +1 -1
  118. package/dist/cdn/{P6VUY7UX.js → JFLG3EKT.js} +1 -1
  119. package/dist/cdn/{R7A62RZ4.js → JJDAJ7CL.js} +1 -1
  120. package/dist/cdn/{ZF724O2R.js → JUPIKTGO.js} +1 -1
  121. package/dist/cdn/{YKM2YRZP.js → KAGDNHPY.js} +1 -1
  122. package/dist/cdn/{JLQYLRUP.js → KDHI3OWQ.js} +1 -1
  123. package/dist/cdn/{GJ7QMCFT.js → KIKSO3OQ.js} +1 -1
  124. package/dist/cdn/{PRM47E4O.js → KKEERGX7.js} +1 -1
  125. package/dist/cdn/{7ZEDJMU7.js → KMKZEHDS.js} +1 -1
  126. package/dist/cdn/{EVZXWT6K.js → KMTYPOFM.js} +1 -1
  127. package/dist/cdn/{6RONZCGM.js → KTRKTBPS.js} +1 -1
  128. package/dist/cdn/{QLRGY4WQ.js → KU2LYW6K.js} +1 -1
  129. package/dist/cdn/{EZ5PKNLU.js → L4BYLII5.js} +1 -1
  130. package/dist/cdn/{7NKBQ4G6.js → LHLLMC6K.js} +1 -1
  131. package/dist/cdn/{L2XO4YLV.js → LM46YQCN.js} +1 -1
  132. package/dist/cdn/{BROZWKD5.js → LOWGHGDS.js} +1 -1
  133. package/dist/cdn/{PRXFYNIG.js → LPFG5XTA.js} +1 -1
  134. package/dist/cdn/{5MPDXVRM.js → LSBUPU7F.js} +1 -1
  135. package/dist/cdn/{FDO2JBGW.js → LVK2J23W.js} +1 -1
  136. package/dist/cdn/{2C6OKRTL.js → LXGY2E55.js} +1 -1
  137. package/dist/cdn/{6RNSFI2J.js → LY3WRG7K.js} +1 -1
  138. package/dist/cdn/{XG3T3NF3.js → MBAQ324M.js} +1 -1
  139. package/dist/cdn/{7IXJB2CS.js → MBVY6OPY.js} +1 -1
  140. package/dist/cdn/{EW4MNCWO.js → MDKHW7NM.js} +1 -1
  141. package/dist/cdn/MISU75DC.js +2 -0
  142. package/dist/cdn/{N2LDQKCJ.js → MJ6JD7WX.js} +1 -1
  143. package/dist/cdn/{XIUYW7RN.js → MKDVJPNY.js} +1 -1
  144. package/dist/cdn/{MDMFIEM7.js → MLNGJEKI.js} +1 -1
  145. package/dist/cdn/{CFQKZMGC.js → MTEVQC6W.js} +1 -1
  146. package/dist/cdn/{VTI5LEQY.js → MW3IJQRQ.js} +1 -1
  147. package/dist/cdn/{3OQ24P5P.js → N33J6JX2.js} +1 -1
  148. package/dist/cdn/{YUPT4BTA.js → NKEQVKHZ.js} +1 -1
  149. package/dist/cdn/{KDE2RXEH.js → NVIMZ7ZS.js} +1 -1
  150. package/dist/cdn/O4VFFJLQ.js +2 -0
  151. package/dist/cdn/{E4BPYNC5.js → O7VRD3Z3.js} +3 -3
  152. package/dist/cdn/{BIRAQCVT.js → OAEZN4D5.js} +1 -1
  153. package/dist/cdn/{AL7O7ZB2.js → OGH565H7.js} +1 -1
  154. package/dist/cdn/{MURYADCX.js → OJDW3XGU.js} +1 -1
  155. package/dist/cdn/{DIMSALHW.js → OMRM5EXN.js} +1 -1
  156. package/dist/cdn/{7ZKKR7QO.js → OZ7YBTKR.js} +1 -1
  157. package/dist/cdn/{U2ZKJCSY.js → P7LSYADG.js} +1 -1
  158. package/dist/cdn/{DQ7I7HGP.js → PEQUHMTU.js} +1 -1
  159. package/dist/cdn/{3OLSNMWN.js → PKOJQT4I.js} +1 -1
  160. package/dist/cdn/{R3C2X4CM.js → PSBOV4IR.js} +1 -1
  161. package/dist/cdn/{QF2IXVAT.js → PWER63DX.js} +1 -1
  162. package/dist/cdn/{UBEU6ULP.js → PYPVVSIX.js} +1 -1
  163. package/dist/cdn/{SNE4DYFB.js → Q2K6BUCN.js} +1 -1
  164. package/dist/cdn/{232XXYVJ.js → Q3WGKNJH.js} +1 -1
  165. package/dist/cdn/{KGU32CDZ.js → Q4X6GXRI.js} +1 -1
  166. package/dist/cdn/{AKQEDHUS.js → QBARJMJE.js} +1 -1
  167. package/dist/cdn/{IV7RVOFY.js → QH343537.js} +1 -1
  168. package/dist/cdn/{X3CDW2ME.js → QLX3XORL.js} +1 -1
  169. package/dist/cdn/{V73HMWMC.js → QPX33Y62.js} +1 -1
  170. package/dist/cdn/{UH4IH4MC.js → QQYN7RED.js} +1 -1
  171. package/dist/cdn/{BWRBYYGI.js → QTFTJ4DQ.js} +1 -1
  172. package/dist/cdn/{EKFKOS5K.js → QWNRGCQS.js} +1 -1
  173. package/dist/cdn/{WAJG744H.js → R2JOPHL5.js} +1 -1
  174. package/dist/cdn/{LZTAD4IE.js → R4PQI4LJ.js} +1 -1
  175. package/dist/cdn/{XKBOPER7.js → RLYLBYMX.js} +1 -1
  176. package/dist/cdn/{P2NKBGLG.js → RQIGAX6O.js} +1 -1
  177. package/dist/cdn/{WRLN7DLT.js → S47SVZPE.js} +1 -1
  178. package/dist/cdn/{C4T4HSG2.js → S4ZMJ42A.js} +1 -1
  179. package/dist/cdn/{LOPXSWVG.js → SC4UAHYZ.js} +1 -1
  180. package/dist/cdn/{DBHZRNFR.js → SDX7YG23.js} +1 -1
  181. package/dist/cdn/{IBAJ7OFO.js → SGU3KCZB.js} +1 -1
  182. package/dist/cdn/{RLV5JHIU.js → SHI2ULEO.js} +1 -1
  183. package/dist/cdn/{V6VJJHYJ.js → SMN3CVM5.js} +1 -1
  184. package/dist/cdn/SNZRQPXI.js +46 -0
  185. package/dist/cdn/SYISCXZY.js +4 -0
  186. package/dist/cdn/{CNGHMKQK.js → T6BYV326.js} +26 -26
  187. package/dist/cdn/{3T3GPK27.js → T6EKXYZA.js} +1 -1
  188. package/dist/cdn/T6FQ2A4O.js +2 -0
  189. package/dist/cdn/{JM4BUUFY.js → TLRBE2TZ.js} +1 -1
  190. package/dist/cdn/{SJ7HTNAT.js → TLY6ZEKN.js} +1 -1
  191. package/dist/cdn/{IUNUJ6GU.js → TTCTODAR.js} +1 -1
  192. package/dist/cdn/{B6IICRWD.js → U2LBV6VU.js} +1 -1
  193. package/dist/cdn/{HRH3YBW4.js → U6DXEFHP.js} +1 -1
  194. package/dist/cdn/{SRLQU37I.js → UA6XD7SQ.js} +1 -1
  195. package/dist/cdn/{FS5WR74E.js → UBPCOTIY.js} +1 -1
  196. package/dist/cdn/{RCOHFQC5.js → UNBGBQPR.js} +1 -1
  197. package/dist/cdn/{IZDAQGZD.js → UUIKE2AH.js} +1 -1
  198. package/dist/cdn/{E5X2RW5Y.js → UUKV62PY.js} +1 -1
  199. package/dist/cdn/{S2A7SDYB.js → UXN2MYLX.js} +1 -1
  200. package/dist/cdn/{GDX4FWG7.js → V74POSPP.js} +1 -1
  201. package/dist/cdn/{PCP5UFZR.js → V7WSQCQY.js} +1 -1
  202. package/dist/cdn/VHSGX4DC.js +2 -0
  203. package/dist/cdn/{6LDTUOZL.js → VHYS3SP3.js} +1 -1
  204. package/dist/cdn/{B7J5RZIJ.js → VJDUPEFF.js} +1 -1
  205. package/dist/cdn/{4V4CR63B.js → VNTPM6CQ.js} +1 -1
  206. package/dist/cdn/{HDRMSU3L.js → VPFXIGOI.js} +1 -1
  207. package/dist/cdn/{AZDHGEBN.js → VTAQ6NBB.js} +1 -1
  208. package/dist/cdn/{V3MSUKLX.js → VXGLGWIF.js} +1 -1
  209. package/dist/cdn/{7CZG6NDM.js → W7VD3QDN.js} +1 -1
  210. package/dist/cdn/{IR55PBAU.js → WCD4U7UJ.js} +1 -1
  211. package/dist/cdn/{QX7YVGEN.js → WCXR46D4.js} +1 -1
  212. package/dist/cdn/{2TR3Y7HD.js → WFIMYIS3.js} +1 -1
  213. package/dist/cdn/WQHJMFGP.js +2 -0
  214. package/dist/cdn/{OUNL2UWX.js → WXM3KMEV.js} +1 -1
  215. package/dist/cdn/{IMJTIIHG.js → X52T6DJT.js} +1 -1
  216. package/dist/cdn/{PBENK36A.js → XA3SV62A.js} +1 -1
  217. package/dist/cdn/{EUPJV6QI.js → XH6MM3RE.js} +1 -1
  218. package/dist/cdn/{SHGAD5MK.js → XHFFDKEQ.js} +1 -1
  219. package/dist/cdn/{BFC6PQCO.js → XKEKXTL2.js} +1 -1
  220. package/dist/cdn/{Q7GMS6X2.js → YCIKY6QN.js} +1 -1
  221. package/dist/cdn/YGWYD3LU.js +3 -0
  222. package/dist/cdn/{2BTU374O.js → YUKIKHOU.js} +1 -1
  223. package/dist/cdn/{W2ZZLJGQ.js → ZBX2SDO5.js} +1 -1
  224. package/dist/cdn/{OZFVLORO.js → ZI7OWB5M.js} +1 -1
  225. package/dist/cdn/{LJIX7K76.js → ZNC2XEOJ.js} +1 -1
  226. package/dist/cdn/{QNRKGTZT.js → ZPEVEBJD.js} +1 -1
  227. package/dist/cdn/{5ZVSYUD7.js → ZSO2PDMV.js} +1 -1
  228. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
  229. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
  230. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
  231. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
  232. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
  233. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
  234. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
  235. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
  236. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
  237. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
  238. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
  239. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
  240. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
  241. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
  242. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
  243. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
  244. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
  245. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
  246. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
  247. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
  248. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
  249. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
  250. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
  251. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
  252. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
  253. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
  254. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
  255. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
  256. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
  257. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
  258. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
  259. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
  260. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
  261. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
  262. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
  263. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
  264. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
  265. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
  266. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
  267. package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
  268. package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
  269. package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
  270. package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
  271. package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
  272. package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
  273. package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
  274. package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
  275. package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
  276. package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
  277. package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
  278. package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
  279. package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
  280. package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
  281. package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
  282. package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
  283. package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
  284. package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
  285. package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
  286. package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
  287. package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
  288. package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
  289. package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
  290. package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
  291. package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
  292. package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
  293. package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
  294. package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
  295. package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
  296. package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
  297. package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
  298. package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
  299. package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
  300. package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
  301. package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
  302. package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
  303. package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
  304. package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
  305. package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
  306. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ar.json +1 -1
  307. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bg.json +1 -1
  308. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.bs.json +1 -1
  309. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ca.json +1 -1
  310. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.cs.json +1 -1
  311. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.da.json +1 -1
  312. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.de.json +1 -1
  313. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.el.json +1 -1
  314. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.es.json +1 -1
  315. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.et.json +1 -1
  316. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fi.json +1 -1
  317. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.fr.json +1 -1
  318. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.he.json +1 -1
  319. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hr.json +1 -1
  320. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.hu.json +1 -1
  321. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.id.json +1 -1
  322. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.it.json +1 -1
  323. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ja.json +1 -1
  324. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ko.json +1 -1
  325. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lt.json +1 -1
  326. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.lv.json +1 -1
  327. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.nl.json +1 -1
  328. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.no.json +1 -1
  329. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pl.json +1 -1
  330. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-BR.json +1 -1
  331. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.pt-PT.json +1 -1
  332. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ro.json +1 -1
  333. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.ru.json +1 -1
  334. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sk.json +1 -1
  335. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sl.json +1 -1
  336. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sr.json +1 -1
  337. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.sv.json +1 -1
  338. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.th.json +1 -1
  339. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.tr.json +1 -1
  340. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.uk.json +1 -1
  341. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.vi.json +1 -1
  342. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-CN.json +1 -1
  343. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-HK.json +1 -1
  344. package/dist/cdn/assets/crowdsource-reporter/t9n/messages.zh-TW.json +1 -1
  345. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  346. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  347. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  348. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  349. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  350. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  351. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  352. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  353. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  354. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  355. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  356. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  357. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  358. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  359. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  360. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  361. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  362. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  363. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  364. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  365. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  366. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  367. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  368. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  369. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  370. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  371. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  372. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  373. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  374. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  375. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  376. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  377. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  378. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  379. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  380. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  381. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  382. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  383. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  384. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
  385. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
  386. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
  387. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
  388. package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
  389. package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
  390. package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
  391. package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
  392. package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
  393. package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
  394. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
  395. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
  396. package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
  397. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
  398. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
  399. package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
  400. package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
  401. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
  402. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
  403. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
  404. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
  405. package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
  406. package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
  407. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
  408. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
  409. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
  410. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
  411. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
  412. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
  413. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
  414. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
  415. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
  416. package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
  417. package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
  418. package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
  419. package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
  420. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
  421. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
  422. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
  423. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ar.json +1 -1
  424. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bg.json +1 -1
  425. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.bs.json +1 -1
  426. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ca.json +1 -1
  427. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.cs.json +1 -1
  428. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.da.json +1 -1
  429. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.de.json +1 -1
  430. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.el.json +1 -1
  431. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.es.json +1 -1
  432. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.et.json +1 -1
  433. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fi.json +1 -1
  434. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.fr.json +1 -1
  435. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.he.json +1 -1
  436. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hr.json +1 -1
  437. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.hu.json +1 -1
  438. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.id.json +1 -1
  439. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.it.json +1 -1
  440. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ja.json +1 -1
  441. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ko.json +1 -1
  442. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lt.json +1 -1
  443. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.lv.json +1 -1
  444. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.nl.json +1 -1
  445. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.no.json +1 -1
  446. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pl.json +1 -1
  447. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-BR.json +1 -1
  448. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.pt-PT.json +1 -1
  449. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ro.json +1 -1
  450. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.ru.json +1 -1
  451. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sk.json +1 -1
  452. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sl.json +1 -1
  453. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sr.json +1 -1
  454. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.sv.json +1 -1
  455. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.th.json +1 -1
  456. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.tr.json +1 -1
  457. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.uk.json +1 -1
  458. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.vi.json +1 -1
  459. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-CN.json +1 -1
  460. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-HK.json +1 -1
  461. package/dist/cdn/assets/solution-deployed-card-panel/t9n/messages.zh-TW.json +1 -1
  462. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ar.json +1 -1
  463. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bg.json +1 -1
  464. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bs.json +1 -1
  465. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ca.json +1 -1
  466. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.cs.json +1 -1
  467. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.da.json +1 -1
  468. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.de.json +1 -1
  469. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.el.json +1 -1
  470. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.es.json +1 -1
  471. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.et.json +1 -1
  472. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fi.json +1 -1
  473. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fr.json +1 -1
  474. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.he.json +1 -1
  475. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hr.json +1 -1
  476. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hu.json +1 -1
  477. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.id.json +1 -1
  478. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.it.json +1 -1
  479. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ja.json +1 -1
  480. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ko.json +1 -1
  481. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lt.json +1 -1
  482. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lv.json +1 -1
  483. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.nl.json +1 -1
  484. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.no.json +1 -1
  485. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pl.json +1 -1
  486. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-BR.json +1 -1
  487. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-PT.json +1 -1
  488. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ro.json +1 -1
  489. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ru.json +1 -1
  490. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sk.json +1 -1
  491. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sl.json +1 -1
  492. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sr.json +1 -1
  493. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sv.json +1 -1
  494. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.th.json +1 -1
  495. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.tr.json +1 -1
  496. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.uk.json +1 -1
  497. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.vi.json +1 -1
  498. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-CN.json +1 -1
  499. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-HK.json +1 -1
  500. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-TW.json +1 -1
  501. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.ar.json +1 -1
  502. package/dist/cdn/index.js +1 -1
  503. package/dist/chunks/solution-builder-assistant.js +141 -129
  504. package/dist/chunks/transformQuery.js +49 -0
  505. package/dist/components/arcgis-solutions-assistant/customElement.js +577 -488
  506. package/dist/components/buffer-tools/customElement.d.ts +5 -1
  507. package/dist/components/card-manager/customElement.d.ts +3 -0
  508. package/dist/components/card-manager/customElement.js +60 -30
  509. package/dist/components/create-feature/customElement.d.ts +10 -0
  510. package/dist/components/create-feature/customElement.js +66 -60
  511. package/dist/components/crowdsource-manager/customElement.js +7 -4
  512. package/dist/components/layer-table/customElement.d.ts +6 -0
  513. package/dist/components/layer-table/customElement.js +38 -29
  514. package/dist/components/map-card/customElement.js +40 -34
  515. package/dist/components/map-tools/customElement.js +14 -15
  516. package/dist/components/map-tools/index.js +1 -0
  517. package/dist/components/solution-details-panel/customElement.js +5 -3
  518. package/dist/components/solutions-deploy-app/customElement.js +2 -2
  519. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  520. package/dist/docs/api.json +1 -1
  521. package/dist/docs/docs.json +1 -1
  522. package/dist/docs/vscode.html-custom-data.json +1 -1
  523. package/dist/docs/web-types.json +1 -1
  524. package/dist/solutions-components_commit.txt +7 -7
  525. package/dist/types/lumina.d.ts +5 -0
  526. package/dist/types/preact.d.ts +5 -0
  527. package/dist/types/react.d.ts +5 -0
  528. package/dist/types/stencil.d.ts +5 -0
  529. package/package.json +4 -4
  530. package/dist/cdn/2L7O5T7N.js +0 -2
  531. package/dist/cdn/37SYO65U.js +0 -2
  532. package/dist/cdn/AE5HNAOV.js +0 -4
  533. package/dist/cdn/BPOWO72Z.js +0 -2
  534. package/dist/cdn/CQQH3XK5.js +0 -2
  535. package/dist/cdn/DMX66TUK.js +0 -2
  536. package/dist/cdn/E4ZB3BPD.js +0 -2
  537. package/dist/cdn/EKRMEQQI.js +0 -2
  538. package/dist/cdn/GBDBGOCT.js +0 -2
  539. package/dist/cdn/HDTRW7I6.js +0 -4
  540. package/dist/cdn/JAYARGS3.js +0 -2
  541. package/dist/cdn/QCXOGAWW.js +0 -2
  542. package/dist/cdn/QPIMTXPL.js +0 -2
  543. package/dist/cdn/VYCVNEK2.js +0 -2
  544. package/dist/cdn/XOEFU24R.js +0 -2
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as He,b as ae}from"./7CGCLEYB.js";import{a as ye}from"./US5FON7D.js";import{a as $r}from"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{c as Kr,k as st}from"./AYSQIO6L.js";import{a as at}from"./YQHYMLC7.js";import{b as Br}from"./2I5LGZNX.js";import{G as Fr,h as Wr,q as qr}from"./FFF5HUPM.js";import{b as te,d as Vt}from"./QPIMTXPL.js";var nn=te((Wt,qt)=>{(function(t,e){typeof Wt=="object"&&typeof qt<"u"?qt.exports=function(r,n,i,s,a){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:a;return r===a?i:r}:typeof define=="function"&&define.amd?define(function(){return function(r,n,i,s,a){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:a;return r===a?i:r}}):t.dlv=function(r,n,i,s,a){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:a;return r===a?i:r}})(Wt)});var cr=te((ic,Ke)=>{function os(t,e){this.v=t,this.k=e}Ke.exports=os,Ke.exports.__esModule=!0,Ke.exports.default=Ke.exports});var lr=te((ac,me)=>{function Tt(t,e,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}me.exports=Tt=function(a,o,c,u){function f(d,m){Tt(a,d,function(g){return this._invoke(d,m,g)})}o?i?i(a,o,{value:c,enumerable:!u,configurable:!u,writable:!u}):a[o]=c:(f("next",0),f("throw",1),f("return",2))},me.exports.__esModule=!0,me.exports.default=me.exports,Tt(t,e,r,n)}me.exports=Tt,me.exports.__esModule=!0,me.exports.default=me.exports});var fr=te((sc,ge)=>{var le=lr();function Jn(){var t,e,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function s(g,A,I,E){var x=A&&A.prototype instanceof o?A:o,y=Object.create(x.prototype);return le(y,"_invoke",(function(M,v,h){var P,w,b,D=0,H=h||[],L=!1,R={p:0,n:0,v:t,a:z,f:z.bind(t,4),d:function(S,j){return P=S,w=0,b=t,R.n=j,a}};function z(k,S){for(w=k,b=S,e=0;!L&&D&&!j&&e<H.length;e++){var j,C=H[e],ee=R.p,l=C[2];k>3?(j=l===S)&&(b=C[(w=C[4])?5:(w=3,3)],C[4]=C[5]=t):C[0]<=ee&&((j=k<2&&ee<C[1])?(w=0,R.v=S,R.n=C[1]):ee<l&&(j=k<3||C[0]>S||S>l)&&(C[4]=k,C[5]=S,R.n=l,w=0))}if(j||k>1)return a;throw L=!0,S}return function(k,S,j){if(D>1)throw TypeError("Generator is already running");for(L&&S===1&&z(S,j),w=S,b=j;(e=w<2?t:b)||!L;){P||(w?w<3?(w>1&&(R.n=-1),z(w,b)):R.n=b:R.v=b);try{if(D=2,P){if(w||(k="next"),e=P[k]){if(!(e=e.call(P,b)))throw TypeError("iterator result is not an object");if(!e.done)return e;b=e.value,w<2&&(w=0)}else w===1&&(e=P.return)&&e.call(P),w<2&&(b=TypeError("The iterator does not provide a '"+k+"' method"),w=1);P=t}else if((e=(L=R.n<0)?b:M.call(v,R))!==a)break}catch(C){P=t,w=1,b=C}finally{D=1}}return{value:e,done:L}}})(g,I,E),!0),y}var a={};function o(){}function c(){}function u(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(le(e={},n,function(){return this}),e),d=u.prototype=o.prototype=Object.create(f);function m(g){return Object.setPrototypeOf?Object.setPrototypeOf(g,u):(g.__proto__=u,le(g,i,"GeneratorFunction")),g.prototype=Object.create(d),g}return c.prototype=u,le(d,"constructor",u),le(u,"constructor",c),c.displayName="GeneratorFunction",le(u,i,"GeneratorFunction"),le(d),le(d,i,"Generator"),le(d,n,function(){return this}),le(d,"toString",function(){return"[object Generator]"}),(ge.exports=Jn=function(){return{w:s,m}},ge.exports.__esModule=!0,ge.exports.default=ge.exports)()}ge.exports=Jn,ge.exports.__esModule=!0,ge.exports.default=ge.exports});var mr=te((oc,Ye)=>{var us=cr(),dr=lr();function pr(t,e){function r(i,s,a,o){try{var c=t[i](s),u=c.value;return u instanceof us?e.resolve(u.v).then(function(f){r("next",f,a,o)},function(f){r("throw",f,a,o)}):e.resolve(u).then(function(f){c.value=f,a(c)},function(f){return r("throw",f,a,o)})}catch(f){o(f)}}var n;this.next||(dr(pr.prototype),dr(pr.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),dr(this,"_invoke",function(i,s,a){function o(){return new e(function(c,u){r(i,a,c,u)})}return n=n?n.then(o,o):o()},!0)}Ye.exports=pr,Ye.exports.__esModule=!0,Ye.exports.default=Ye.exports});var gr=te((uc,Xe)=>{var cs=fr(),ls=mr();function fs(t,e,r,n,i){return new ls(cs().w(t,e,r,n),i||Promise)}Xe.exports=fs,Xe.exports.__esModule=!0,Xe.exports.default=Xe.exports});var Zn=te((cc,Je)=>{var ds=gr();function ps(t,e,r,n,i){var s=ds(t,e,r,n,i);return s.next().then(function(a){return a.done?a.value:s.next()})}Je.exports=ps,Je.exports.__esModule=!0,Je.exports.default=Je.exports});var Qn=te((lc,Ze)=>{function ms(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function i(){for(;r.length;)if((n=r.pop())in e)return i.value=n,i.done=!1,i;return i.done=!0,i}}Ze.exports=ms,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports});var ei=te((fc,he)=>{function hr(t){"@babel/helpers - typeof";return he.exports=hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},he.exports.__esModule=!0,he.exports.default=he.exports,hr(t)}he.exports=hr,he.exports.__esModule=!0,he.exports.default=he.exports});var ti=te((dc,Qe)=>{var gs=ei().default;function hs(t){if(t!=null){var e=t[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(gs(t)+" is not iterable")}Qe.exports=hs,Qe.exports.__esModule=!0,Qe.exports.default=Qe.exports});var ni=te((pc,ve)=>{var vs=cr(),ys=fr(),bs=Zn(),ws=gr(),Ss=mr(),Es=Qn(),ri=ti();function vr(){"use strict";var t=ys(),e=t.m(vr),r=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function n(a){var o=typeof a=="function"&&a.constructor;return!!o&&(o===r||(o.displayName||o.name)==="GeneratorFunction")}var i={throw:1,return:2,break:3,continue:3};function s(a){var o,c;return function(u){o||(o={stop:function(){return c(u.a,2)},catch:function(){return u.v},abrupt:function(d,m){return c(u.a,i[d],m)},delegateYield:function(d,m,g){return o.resultName=m,c(u.d,ri(d),g)},finish:function(d){return c(u.f,d)}},c=function(d,m,g){u.p=o.prev,u.n=o.next;try{return d(m,g)}finally{o.next=u.n}}),o.resultName&&(o[o.resultName]=u.v,o.resultName=void 0),o.sent=u.v,o.next=u.n;try{return a.call(this,o)}finally{u.p=o.prev,u.n=o.next}}}return(ve.exports=vr=function(){return{wrap:function(c,u,f,d){return t.w(s(c),u,f,d&&d.reverse())},isGeneratorFunction:n,mark:t.m,awrap:function(c,u){return new vs(c,u)},AsyncIterator:Ss,async:function(c,u,f,d,m){return(n(u)?ws:bs)(s(c),u,f,d,m)},keys:Es,values:ri}},ve.exports.__esModule=!0,ve.exports.default=ve.exports)()}ve.exports=vr,ve.exports.__esModule=!0,ve.exports.default=ve.exports});var ai=te((mc,ii)=>{var xt=ni()();ii.exports=xt;try{regeneratorRuntime=xt}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=xt:Function("r","regeneratorRuntime = r")(xt)}});var yi=te((Ec,vi)=>{"use strict";var Is=function(e){return As(e)&&!Ps(e)};function As(t){return!!t&&typeof t=="object"}function Ps(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Ns(t)}var Ts=typeof Symbol=="function"&&Symbol.for,xs=Ts?Symbol.for("react.element"):60103;function Ns(t){return t.$$typeof===xs}function ks(t){return Array.isArray(t)?[]:{}}function tt(t,e){return e.clone!==!1&&e.isMergeableObject(t)?Le(ks(t),t,e):t}function js(t,e,r){return t.concat(e).map(function(n){return tt(n,r)})}function _s(t,e){if(!e.customMerge)return Le;var r=e.customMerge(t);return typeof r=="function"?r:Le}function Cs(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function gi(t){return Object.keys(t).concat(Cs(t))}function hi(t,e){try{return e in t}catch{return!1}}function Ms(t,e){return hi(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function Ds(t,e,r){var n={};return r.isMergeableObject(t)&&gi(t).forEach(function(i){n[i]=tt(t[i],r)}),gi(e).forEach(function(i){Ms(t,i)||(hi(t,i)&&r.isMergeableObject(e[i])?n[i]=_s(i,r)(t[i],e[i],r):n[i]=tt(e[i],r))}),n}function Le(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||js,r.isMergeableObject=r.isMergeableObject||Is,r.cloneUnlessOtherwiseSpecified=tt;var n=Array.isArray(e),i=Array.isArray(t),s=n===i;return s?n?r.arrayMerge(t,e,r):Ds(t,e,r):tt(e,r)}Le.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return Le(n,i,r)},{})};var Us=Le;vi.exports=Us});function Gt(){var t;return!!(!((t=window?.navigator)===null||t===void 0)&&t.globalPrivacyControl)}function Yr(t={}){let{disabled:e,portal:r,requireConsent:n,userPrivacySettings:i}=t;if(n)if(i?.accepted){if(i?.functional===!1&&i?.performance===!1&&i?.targeting===!1)return!0}else return!0;return i?.accepted===!0&&i?.functional===!1&&i?.performance===!1&&i?.targeting===!1||e||r?.eueiEnabled===!1||Gt()?!0:!(!r||Qi(r)||ea(r)||ta(r))}function Qi(t){return t.eueiEnabled&&t.user&&t.user.orgId===t.id}function ea(t){return t.user&&!t.user.orgId&&t.ipCntryCode==="US"}function ta(t){return!t.user&&t.ipCntryCode==="US"}var Pe={storage:{},memory:!0,get(t){let e;try{e=window.localStorage&&window.localStorage.getItem(t)||this.storage[t]}catch{e=this.storage[t]}if(e)try{return JSON.parse(e)}catch{return}else return},set(t,e){let r=JSON.stringify(e);try{window.localStorage.setItem(t,r)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[t]=e}},delete(t){try{window.localStorage.removeItem(t)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[t]}}};var Xr="esri-telemetry";function Jr(t){return new Promise((r,n)=>{t.onload=r,t.onerror=n,(!na(t)||t.body)&&r()})}function ra(t){let{id:e,dataAttribute:r}=t;return!!document.getElementById(e)||!!document.querySelector(`[data-${Xr}="${r}"]`)}function na(t){let{body:e,src:r,id:n,dataAttribute:i,section:s="body",type:a="text/javascript",async:o=!1,defer:c=!1,onload:u,onerror:f}=t;if(typeof window>"u")throw new Ve("Window is undefined: Cannot add script element.");if(ra(t)){console.log(`script (${n||i}) is already present, skipping`);return}let d=ia({id:n,dataAttribute:i,type:a,async:o,defer:c,body:e,src:r,onload:u,onerror:f});return s==="body"?document.body.appendChild(d):document.head.appendChild(d)}var Ve=class extends Error{};function ia({id:t,dataAttribute:e,type:r,async:n,defer:i,body:s,src:a,onload:o,onerror:c}){let u=document.createElement("script");return t&&(u.id=t),e&&u.setAttribute(`data-${Xr}`,e),a&&(u.src=a),s&&(u.innerText=s),u.type=r,u.async=n,u.defer=i,o&&(u.onload=o),c&&(u.onerror=c),u}function Zr(t){return t.map(e=>{let r=[];return["src","id","dataAttribute","type"].forEach(n=>{let i=n;n==="dataAttribute"&&(i="data-esri-telemetry"),e[n]&&r.push(`${i}="${e[n]}"`)}),["async","defer"].forEach(n=>{e[n]&&r.push(`${n}`)}),`<script ${r.join(" ")}>${e.body?e.body:""}<\/script>`}).join("")}var aa=["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"],ot=class{constructor(e){var r,n,i;this.trackers=[],this.options=e,this.debug=e.debug,this.suppressDisabledWarnings=e.suppressDisabledWarnings,this.logger=e.logger||console,e.userPrivacySettings&&(this._userPrivacySettings=e.userPrivacySettings),e.requireConsent&&!e.userPrivacySettings&&(this._userPrivacySettings={accepted:!1,performance:!1,targeting:!1,functional:!1,id:ua(),timestamp:Date.now()},e.userPrivacySettings=this._userPrivacySettings),this.disabled=Yr(e),this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let s=((r=e.portal)===null||r===void 0?void 0:r.user)||e.user;s&&this.setUser(s,(i=(n=e.portal)===null||n===void 0?void 0:n.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}shouldInitializeTrackers(e,r,n){let i=!r&&!e?.accepted,s=n.every(a=>e?.[a]);return i||s}filterTrackers(e){return this.options.plugins.filter(r=>e.includes(r.name))}initializeTrackers(){let e=this._userPrivacySettings,r=this.options.requireConsent;this.trackers=[],this.options.plugins&&(e?(this.shouldInitializeTrackers(e,r,["performance"])&&this.trackers.push(...this.filterTrackers(["amazon"])),this.shouldInitializeTrackers(e,r,["performance","targeting","functional"])&&this.trackers.push(...this.filterTrackers(["adobe-analytics","googleAnalytics","siteimprove"]))):this.trackers.push(...this.options.plugins)),this.trackers.length||this.logger.info("No trackers configured")}getScriptTags(){return this.trackers.map(e=>e.getScriptTags&&e.getScriptTags()).join("")}async init(){let e=this.trackers.map(r=>r.init());await Promise.all(e)}setUser(e={},r="Public"){e=typeof e=="string"?{username:e}:e,this.user=e,this.user.accountType=r;let n;if(e.email&&e.email.split){let i=e.email.split("@")[1];n=aa.filter(s=>i===s).length>0}(n||["In House","Demo and Marketing"].indexOf(r)>-1)&&(this.user.internalUser=!0)}async updateUserPrivacySettings(e){let{accepted:r,performance:n,targeting:i,functional:s}=this._userPrivacySettings,a=e.accepted&&!r&&!this.options.requireConsent&&(!e.performance||!e.targeting||!e.functional)||!e.performance&&n||!e.targeting&&i||!e.functional&&s;return this._userPrivacySettings=e,a||(this.disabled=!1,this.initializeTrackers(),await this.init()),{reload:a}}logPageView(e,r={},n={}){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:o,hasError:c})=>!o&&!c);if(!i.length)return this.logger.info("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let s=this.preProcess(r,n);this.debug&&this.logger.info("Tracking page view",JSON.stringify(s));let a=i.map(o=>o.logPageView(e,s));return Promise.all(a).then(),!0}logEvent(e,r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let n=this.trackers.filter(({disabled:a,hasError:o})=>!a&&!o);if(!n.length)return this.logger.info("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(e,r);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let s=n.map(a=>a.logEvent(i));return Promise.all(s).then(),!0}logError(e={}){e=Object.assign({eventType:"error"},e),this.logEvent(e)}startWorkflow(e,r={}){let n={name:e,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(n);let i=Object.assign({name:e,step:"start"},r);return this.logWorkflow(i),n}stepWorkflow(e,r,n={}){let i=typeof n=="string"?n:n.details,s=Object.assign({name:e,step:r,details:i},n);this.logWorkflow(s)}endWorkflow(e,r={}){let n=Object.assign({name:e,step:"finish"},r);this.logWorkflow(n)}cancelWorkflow(e,r={}){let n=Object.assign({name:e,step:"cancel"},r);this.logWorkflow(n)}getWorkflow(e){let r=Pe.get(`TELEMETRY-WORKFLOW:${e}`);if(r){let n=Date.now()-r.start,i=1800*1e3;if(n<i)return r;this.deleteWorkflow(r)}}saveWorkflow(e){Pe.set(`TELEMETRY-WORKFLOW:${e.name}`,e)}deleteWorkflow(e){Pe.delete(`TELEMETRY-WORKFLOW:${e.name}`)}logWorkflow(e={}){e=this.preProcess(e);let r=this.getWorkflow(e.name);r||(this.startWorkflow(e.name),r=this.getWorkflow(e.name)),r.steps.push(e.step),r.duration=(Date.now()-r.start)/1e3,["cancel","finish"].indexOf(e.step)>-1?this.deleteWorkflow(r):this.saveWorkflow(r);let n=Object.assign(e,{eventType:"workflow",category:e.name,action:e.step,label:e.details,duration:r.duration,workflowId:r.workflowId});this.logEvent(n)}preProcess(e={},r={}){let n={};return this.user&&(n={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({},e),n)).reduce(sa(r.omitComplexData,this.logger),{})}disable(){this.disabled=!0,this.trackers.forEach(e=>{var r;e.hasError||(e.disabled=!0,(r=e.disable)===null||r===void 0||r.call(e))})}disableTracker(e){var r;let n=this.trackers.find(({name:i})=>i===e);n&&!n.hasError&&(n.disabled=!0,(r=n.disable)===null||r===void 0||r.call(n))}enableTracker(e){var r;let n=this.trackers.find(({name:i})=>i===e);n&&!n.hasError&&(n.disabled=!1,(r=n.enable)===null||r===void 0||r.call(n))}};function sa(t,e){return function(r,[n,i]){return oa(i)?r[n]=i:t||(e.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`),r[n]=i),r}}function oa(t){return["string","number","boolean","undefined"].includes(typeof t)||t&&typeof t.valueOf()=="string"}function ua(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}var ut=class{constructor(e){var r;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},this.isInitialized=!1,typeof window<"u"&&!(!((r=e?.measurementIds)===null||r===void 0)&&r.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,e)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return Zr(this._getScripts())}async init(){if(!this.isInitialized){if(typeof window>"u")throw new Ve("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(e=>Jr(e))),this.injectConfig(),this.isInitialized=!0}}logPageView(e,r={}){let n=this.buildCustomParams(r),i=Object.assign({page_title:e||window.location.pathname},n);return window.gtag("event","page_view",i),!0}logEvent(e){let{action:r}=e,n=at(e,["action"]),i=r||"other",s=this.buildCustomParams(n);return window.gtag("event",i,s),!0}disable(){this.measurementIds&&this.measurementIds.forEach(e=>{window[`ga-disable-${e}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(e=>{window[`ga-disable-${e}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let e={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(r=>{window.gtag("config",r,e)})}buildCustomParams(e){let r,{category:n,label:i}=e;return r=this.verifyCustomDimensionAndMetrics(e),n&&(r=Object.assign(Object.assign({},r),{event_category:n})),i&&(r=Object.assign(Object.assign({},r),{event_label:i})),r}verifyCustomDimensionAndMetrics(e){let r=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),n=Object.values(r);return Object.keys(e).filter(s=>n.includes(s)).reduce((s,a)=>Object.assign(s,{[a]:e[a]}),{})}createDimensionsAndMetricsCustomMap(e={},r={}){let n=this.createMetricCustomMap(r),i=this.createDimensionCustomMap(e);return Object.assign(Object.assign({},n),i)}createMetricCustomMap(e={}){return Object.keys(e).map(function(r){return{key:`metric${e[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}createDimensionCustomMap(e={}){return Object.keys(e).map(function(r){return{key:`dimension${e[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}};var Qr="TELEMETRY_COGNITO_CREDENTIALS";function en(t,e={}){let n=`https://cognito-identity${e.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,i=Pe.get(Qr);if(i&&Date.now()/1e3<i.Expiration)return Promise.resolve(i);let s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:t})};return fetch(n,s).then(a=>{if(!a.ok)throw new Error(a.statusText);return a.json()}).then(a=>{let{IdentityId:o}=a,c={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:o})};return fetch(n,c)}).then(a=>{if(!a.ok)throw new Error(a.statusText);return a.json()}).then(({Credentials:a})=>(Pe.set(Qr,a),a))}function ct({telemetryData:t,dimensionLookup:e={},excludeKeys:r=[]}){return Object.keys(t).filter(n=>!r.includes(n)).map(n=>e[n]?{key:la(e,n),value:t[n]}:{key:n,value:ca(t,n)}).reduce((n,{key:i,value:s})=>(n[i]=s,n),{})}function ca(t,e){return e==="json"?t[e]?JSON.stringify(t[e]):"null":t[e]===void 0?"null":t[e].toString()}function la(t,e){return`dimension${t[e]}`}var fa=["size","duration","position","number","count"];function lt(t,e={}){return Object.keys(t).filter(r=>e[r]||fa.includes(r)).map(r=>e[r]?{key:da(e,r),value:t[r]}:{key:r,value:t[r]}).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}function da(t,e){return`metric${t[e]}`}function tn({event:t={},dimensionLookup:e={},metricLookup:r={}}){var n,i;let{pathname:s,eventType:a="other"}=t,o=lt(t,r),c=ct({telemetryData:Object.assign({eventType:a},t),dimensionLookup:e,excludeKeys:["workflow","pathname",...Object.keys(o),...Object.keys(r)]}),u=Object.assign(Object.assign({name:a},c),o);return typeof document<"u"&&document.referrer&&(u.referrer=document.referrer),typeof window<"u"&&!u.hostname&&(u.hostname=(n=window.location)===null||n===void 0?void 0:n.hostname),u.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:s,u}function rn({page:t,previousPage:e={},options:r={},dimensionLookup:n={},metricLookup:i={}}){let s=lt(r,i),a=ct({telemetryData:r,dimensionLookup:n,excludeKeys:["workflow",...Object.keys(s),...Object.keys(i)]}),{referrer:o,title:c}=document||{},{hostname:u,pathname:f}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:o,hostname:u,path:t||f,pageUrl:t||f,pageName:c,previousPageUrl:e.pageUrl,previousPageName:e.pageName},a),s)}var gt=Vt(nn(),1);var pa="function",ma="string",ne="undefined",ga="boolean",_e="object",ha="array",va="number",ya="symbol",ba="null";var an=function(){},Ft="any",Bt="*";var de="__",wa="form",Sa="input",Ea="button",Oa="select";var ft=typeof process!==ne?process:{},vu=ft.env&&ft.env.NODE_ENV||"";var re=typeof document!==ne,yu=re&&window.location.hostname==="localhost",bu=ft.versions!=null&&ft.versions.node!=null,wu=typeof Deno!==ne&&typeof Deno.core!==ne,Su=typeof self===_e&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",Eu=re&&window.name==="nodejs"||typeof navigator!==ne&&typeof navigator.userAgent!==ne&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function sn(t,e){return e.charAt(0)[t]()+e.slice(1)}var Ia=sn.bind(null,"toUpperCase"),Aa=sn.bind(null,"toLowerCase");function Pa(t){return un(t)?Ia(ba):typeof t===_e?Na(t):Object.prototype.toString.call(t).slice(8,-1)}function dt(t,e){e===void 0&&(e=!0);var r=Pa(t);return e?Aa(r):r}function Ge(t,e){return typeof e===t}var Y=Ge.bind(null,pa),ie=Ge.bind(null,ma),Te=Ge.bind(null,ne);var on=Ge.bind(null,ga),Ou=Ge.bind(null,ya);function un(t){return t===null}function Ta(t){return dt(t)===va&&!isNaN(t)}function $t(t){return dt(t)===ha}function K(t){if(!xa(t))return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function xa(t){return t&&(typeof t===_e||t!==null)}function Na(t){return Y(t.constructor)?t.constructor.name:null}function ka(t){return t instanceof Error||ie(t.message)&&t.constructor&&Ta(t.constructor.stackTraceLimit)}function cn(t,e){if(typeof e!="object"||un(e))return!1;if(e instanceof t)return!0;var r=dt(new t(""));if(ka(e))for(;e;){if(dt(e)===r)return!0;e=Object.getPrototypeOf(e)}return!1}var Iu=cn.bind(null,TypeError),Au=cn.bind(null,SyntaxError);function pt(t,e){var r=t instanceof Element||t instanceof HTMLDocument;return r&&e?ja(t,e):r}function ja(t,e){return e===void 0&&(e=""),t&&t.nodeName===e.toUpperCase()}function mt(t){var e=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(e))}}var Pu=mt(pt,wa),Tu=mt(pt,Ea),xu=mt(pt,Sa),Nu=mt(pt,Oa);function ln(t){return t?$t(t)?t:[t]:[]}function fn(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return null}}function dn(t){return(function(e){for(var r,n=Object.create(null),i=/([^&=]+)=?([^&]*)/g;r=i.exec(e);){var s=fn(r[1]),a=fn(r[2]);if(s)if(s.substring(s.length-2)==="[]"){var o=n[s=s.substring(0,s.length-2)]||(n[s]=[]);n[s]=Array.isArray(o)?o:[],n[s].push(a)}else n[s]=a===""||a}for(var c in n){var u=c.split("[");u.length>1&&(_a(n,u.map(function(f){return f.replace(/[?[\]\\ ]/g,"")}),n[c]),delete n[c])}return n})((function(e){if(e){var r=e.match(/\?(.*)/);return r&&r[1]?r[1].split("#")[0]:""}return re&&window.location.search.substring(1)})(t))}function _a(t,e,r){for(var n=e.length-1,i=0;i<n;++i){var s=e[i];if(s==="__proto__"||s==="constructor")break;s in t||(t[s]={}),t=t[s]}t[e[n]]=r}function oe(){for(var t="",e=0,r=4294967295*Math.random()|0;e++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[e-1],i=15&r;t+=n=="-"||n=="4"?n:(n=="x"?i:3&i|8).toString(16),r=e%8==0?4294967295*Math.random()|0:r>>4}return t}var be="global",xe=de+be+de,Ne=typeof self===_e&&self.self===self&&self||typeof global===_e&&global[be]===global&&global||void 0;function X(t){return Ne[xe][t]}function J(t,e){return Ne[xe][t]=e}function se(t){delete Ne[xe][t]}function we(t,e,r){var n;try{if(We(t)){var i=window[t];n=i[e].bind(i)}}catch{}return n||r}Ne[xe]||(Ne[xe]={});var ht={};function We(t){if(typeof ht[t]!==ne)return ht[t];try{var e=window[t];e.setItem(ne,ne),e.removeItem(ne)}catch{return ht[t]=!1}return ht[t]=!0}function T(){return T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},T.apply(null,arguments)}var Ee="function",pe="undefined",Fe="reducer",jn="@@redux/",Zt=jn+"INIT",Ca=jn+Math.random().toString(36),pn=(function(){return typeof Symbol===Ee&&Symbol.observable||"@@observable"})(),vt=" != "+Ee;function _n(t,e,r){var n;if(typeof e===Ee&&typeof r===pe&&(r=e,e=void 0),typeof r!==pe){if(typeof r!==Ee)throw new Error("enhancer"+vt);return r(_n)(t,e)}if(typeof t!==Ee)throw new Error(Fe+vt);var i=t,s=e,a=[],o=a,c=!1;function u(){o===a&&(o=a.slice())}function f(){return s}function d(g){if(typeof g!==Ee)throw new Error("Listener"+vt);var A=!0;return u(),o.push(g),function(){if(A){A=!1,u();var I=o.indexOf(g);o.splice(I,1)}}}function m(g){if(!K(g))throw new Error("Act != obj");if(typeof g.type===pe)throw new Error("ActType "+pe);if(c)throw new Error("Dispatch in "+Fe);try{c=!0,s=i(s,g)}finally{c=!1}for(var A=a=o,I=0;I<A.length;I++)(0,A[I])();return g}return m({type:Zt}),(n={dispatch:m,subscribe:d,getState:f,replaceReducer:function(g){if(typeof g!==Ee)throw new Error("next "+Fe+vt);i=g,m({type:Zt})}})[pn]=function(){var g,A=d;return(g={subscribe:function(I){if(typeof I!="object")throw new TypeError("Observer != obj");function E(){I.next&&I.next(f())}return E(),{unsubscribe:A(E)}}})[pn]=function(){return this},g},n}function Ma(t,e){var r=e&&e.type;return"action "+(r&&r.toString()||"?")+Fe+" "+t+" returns "+pe}function Ue(){var t=[].slice.call(arguments);return t.length===0?function(e){return e}:t.length===1?t[0]:t.reduce(function(e,r){return function(){return e(r.apply(void 0,[].slice.call(arguments)))}})}function Da(){var t=arguments;return function(e){return function(r,n,i){var s,a=e(r,n,i),o=a.dispatch,c={getState:a.getState,dispatch:function(u){return o(u)}};return s=[].slice.call(t).map(function(u){return u(c)}),T({},a,{dispatch:o=Ue.apply(void 0,s)(a.dispatch)})}}}var Oe=de+"anon_id",ke=de+"user_id",Me=de+"user_traits";var Qt="analytics",Se="userId",Ce="anonymousId",wt=["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"],er=["name","EVENTS","config","loaded"],N=wt.reduce(function(t,e){return t[e]=e,t},{registerPluginType:function(t){return"registerPlugin:"+t},pluginReadyType:function(t){return"ready:"+t}}),mn=/^utm_/,gn=/^an_prop_/,hn=/^an_trait_/;function Ua(t){var e=t.storage.setItem;return function(r){return function(n){return function(i){if(i.type===N.bootstrap){var s=i.params,a=i.user,o=i.persistedUser,c=i.initialUser,u=o.userId===a.userId;o.anonymousId!==a.anonymousId&&e(Oe,a.anonymousId),u||e(ke,a.userId),c.traits&&e(Me,T({},u&&o.traits?o.traits:{},c.traits));var f=Object.keys(i.params);if(f.length){var d=s.an_uid,m=s.an_event,g=f.reduce(function(A,I){if(I.match(mn)||I.match(/^(d|g)clid/)){var E=I.replace(mn,"");A.campaign[E==="campaign"?"name":E]=s[I]}return I.match(gn)&&(A.props[I.replace(gn,"")]=s[I]),I.match(hn)&&(A.traits[I.replace(hn,"")]=s[I]),A},{campaign:{},props:{},traits:{}});r.dispatch(T({type:N.params,raw:s},g,d?{userId:d}:{})),d&&setTimeout(function(){return t.identify(d,g.traits)},0),m&&setTimeout(function(){return t.track(m,g.props)},0),Object.keys(g.campaign).length&&r.dispatch({type:N.campaign,campaign:g.campaign})}}return n(i)}}}}function Ra(t){return function(e,r){if(e===void 0&&(e={}),r===void 0&&(r={}),r.type===N.setItemEnd){if(r.key===Oe)return T({},e,{anonymousId:r.value});if(r.key===ke)return T({},e,{userId:r.value})}switch(r.type){case N.identify:return Object.assign({},e,{userId:r.userId,traits:T({},e.traits,r.traits)});case N.reset:return[ke,Oe,Me].forEach(function(n){t.removeItem(n)}),Object.assign({},e,{userId:null,anonymousId:null,traits:{}});default:return e}}}function vn(t){return{userId:t.getItem(ke),anonymousId:t.getItem(Oe),traits:t.getItem(Me)}}var tr=function(t){return de+"TEMP"+de+t};function za(t){var e=t.storage,r=e.setItem,n=e.removeItem,i=e.getItem;return function(s){return function(a){return function(o){var c=o.userId,u=o.traits,f=o.options;if(o.type===N.reset&&([ke,Me,Oe].forEach(function(g){n(g)}),[Se,Ce,"traits"].forEach(function(g){se(tr(g))})),o.type===N.identify){i(Oe)||r(Oe,oe());var d=i(ke),m=i(Me)||{};d&&d!==c&&s.dispatch({type:N.userIdChanged,old:{userId:d,traits:m},new:{userId:c,traits:u},options:f}),c&&r(ke,c),u&&r(Me,T({},m,u))}return a(o)}}}}var qe={};function yn(t,e){qe[t]&&Y(qe[t])&&(qe[t](e),delete qe[t])}function Cn(t,e,r){return new Promise(function(n,i){return e()?n(t):r<1?i(T({},t,{queue:!0})):new Promise(function(s){return setTimeout(s,10)}).then(function(s){return Cn(t,e,r-10).then(n,i)})})}function La(t){return{abort:t}}var Kt=function(t){var e=t.data,r=t.action,n=t.instance,i=t.state,s=t.allPlugins,a=t.allMatches,o=t.store,c=t.EVENTS;try{var u=i.plugins,f=i.context,d=r.type,m=d.match(De),g=e.exact.map(function(E){return E.pluginName});m&&(g=a.during.map(function(E){return E.pluginName}));var A=(function(E,x){return function(y,M,v){var h=M.config,P=M.name,w=P+"."+y.type;v&&(w=v.event);var b=y.type.match(De)?(function(D,H,L,R,z){return function(k,S){var j=R?R.name:D,C=S&&Be(S)?S:L;if(R&&(!(C=S&&Be(S)?S:[D]).includes(D)||C.length!==1))throw new Error("Method "+H+" can only abort "+D+" plugin. "+JSON.stringify(C)+" input valid");return T({},z,{abort:{reason:k,plugins:C,caller:H,_:j}})}})(P,w,x,v,y):(function(D,H){return function(){throw new Error(D.type+" action not cancellable. Remove abort in "+H)}})(y,w);return{payload:Ha(y),instance:E,config:h||{},abort:b}}})(n,g),I=e.exact.reduce(function(E,x){var y=x.pluginName,M=x.methodName,v=!1;return M.match(/^initialize/)||M.match(/^reset/)||(v=!u[y].loaded),f.offline&&M.match(/^(page|track|identify)/)&&(v=!0),E[""+y]=v,E},{});return Promise.resolve(e.exact.reduce(function(E,x,y){var M=x.pluginName;return Promise.resolve(E).then(function(v){function h(){return Promise.resolve(v)}var P=(function(){if(e.namespaced&&e.namespaced[M])return Promise.resolve(e.namespaced[M].reduce(function(w,b,D){return Promise.resolve(w).then(function(H){return b.method&&Y(b.method)?((function(k,S){var j=An(k);if(j&&j.name===S){var C=An(j.method);throw new Error([S+" plugin is calling method "+k,"Plugins cant call self","Use "+j.method+" "+(C?"or "+C.method:"")+" in "+S+" plugin insteadof "+k].join(`
2
+ import{a as He,b as ae}from"./7CGCLEYB.js";import{a as ye}from"./US5FON7D.js";import{a as $r}from"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{c as Kr,k as st}from"./AYSQIO6L.js";import{a as at}from"./YQHYMLC7.js";import{b as Br}from"./2I5LGZNX.js";import{G as Fr,h as Wr,q as qr}from"./FFF5HUPM.js";import{b as te,d as Vt}from"./EXBEKVP5.js";var nn=te((Wt,qt)=>{(function(t,e){typeof Wt=="object"&&typeof qt<"u"?qt.exports=function(r,n,i,s,a){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:a;return r===a?i:r}:typeof define=="function"&&define.amd?define(function(){return function(r,n,i,s,a){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:a;return r===a?i:r}}):t.dlv=function(r,n,i,s,a){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:a;return r===a?i:r}})(Wt)});var cr=te((ic,Ke)=>{function os(t,e){this.v=t,this.k=e}Ke.exports=os,Ke.exports.__esModule=!0,Ke.exports.default=Ke.exports});var lr=te((ac,me)=>{function Tt(t,e,r,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}me.exports=Tt=function(a,o,c,u){function f(d,m){Tt(a,d,function(g){return this._invoke(d,m,g)})}o?i?i(a,o,{value:c,enumerable:!u,configurable:!u,writable:!u}):a[o]=c:(f("next",0),f("throw",1),f("return",2))},me.exports.__esModule=!0,me.exports.default=me.exports,Tt(t,e,r,n)}me.exports=Tt,me.exports.__esModule=!0,me.exports.default=me.exports});var fr=te((sc,ge)=>{var le=lr();function Jn(){var t,e,r=typeof Symbol=="function"?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function s(g,A,I,E){var x=A&&A.prototype instanceof o?A:o,y=Object.create(x.prototype);return le(y,"_invoke",(function(M,v,h){var P,w,b,D=0,H=h||[],L=!1,R={p:0,n:0,v:t,a:z,f:z.bind(t,4),d:function(S,j){return P=S,w=0,b=t,R.n=j,a}};function z(k,S){for(w=k,b=S,e=0;!L&&D&&!j&&e<H.length;e++){var j,C=H[e],ee=R.p,l=C[2];k>3?(j=l===S)&&(b=C[(w=C[4])?5:(w=3,3)],C[4]=C[5]=t):C[0]<=ee&&((j=k<2&&ee<C[1])?(w=0,R.v=S,R.n=C[1]):ee<l&&(j=k<3||C[0]>S||S>l)&&(C[4]=k,C[5]=S,R.n=l,w=0))}if(j||k>1)return a;throw L=!0,S}return function(k,S,j){if(D>1)throw TypeError("Generator is already running");for(L&&S===1&&z(S,j),w=S,b=j;(e=w<2?t:b)||!L;){P||(w?w<3?(w>1&&(R.n=-1),z(w,b)):R.n=b:R.v=b);try{if(D=2,P){if(w||(k="next"),e=P[k]){if(!(e=e.call(P,b)))throw TypeError("iterator result is not an object");if(!e.done)return e;b=e.value,w<2&&(w=0)}else w===1&&(e=P.return)&&e.call(P),w<2&&(b=TypeError("The iterator does not provide a '"+k+"' method"),w=1);P=t}else if((e=(L=R.n<0)?b:M.call(v,R))!==a)break}catch(C){P=t,w=1,b=C}finally{D=1}}return{value:e,done:L}}})(g,I,E),!0),y}var a={};function o(){}function c(){}function u(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):(le(e={},n,function(){return this}),e),d=u.prototype=o.prototype=Object.create(f);function m(g){return Object.setPrototypeOf?Object.setPrototypeOf(g,u):(g.__proto__=u,le(g,i,"GeneratorFunction")),g.prototype=Object.create(d),g}return c.prototype=u,le(d,"constructor",u),le(u,"constructor",c),c.displayName="GeneratorFunction",le(u,i,"GeneratorFunction"),le(d),le(d,i,"Generator"),le(d,n,function(){return this}),le(d,"toString",function(){return"[object Generator]"}),(ge.exports=Jn=function(){return{w:s,m}},ge.exports.__esModule=!0,ge.exports.default=ge.exports)()}ge.exports=Jn,ge.exports.__esModule=!0,ge.exports.default=ge.exports});var mr=te((oc,Ye)=>{var us=cr(),dr=lr();function pr(t,e){function r(i,s,a,o){try{var c=t[i](s),u=c.value;return u instanceof us?e.resolve(u.v).then(function(f){r("next",f,a,o)},function(f){r("throw",f,a,o)}):e.resolve(u).then(function(f){c.value=f,a(c)},function(f){return r("throw",f,a,o)})}catch(f){o(f)}}var n;this.next||(dr(pr.prototype),dr(pr.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),dr(this,"_invoke",function(i,s,a){function o(){return new e(function(c,u){r(i,a,c,u)})}return n=n?n.then(o,o):o()},!0)}Ye.exports=pr,Ye.exports.__esModule=!0,Ye.exports.default=Ye.exports});var gr=te((uc,Xe)=>{var cs=fr(),ls=mr();function fs(t,e,r,n,i){return new ls(cs().w(t,e,r,n),i||Promise)}Xe.exports=fs,Xe.exports.__esModule=!0,Xe.exports.default=Xe.exports});var Zn=te((cc,Je)=>{var ds=gr();function ps(t,e,r,n,i){var s=ds(t,e,r,n,i);return s.next().then(function(a){return a.done?a.value:s.next()})}Je.exports=ps,Je.exports.__esModule=!0,Je.exports.default=Je.exports});var Qn=te((lc,Ze)=>{function ms(t){var e=Object(t),r=[];for(var n in e)r.unshift(n);return function i(){for(;r.length;)if((n=r.pop())in e)return i.value=n,i.done=!1,i;return i.done=!0,i}}Ze.exports=ms,Ze.exports.__esModule=!0,Ze.exports.default=Ze.exports});var ei=te((fc,he)=>{function hr(t){"@babel/helpers - typeof";return he.exports=hr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},he.exports.__esModule=!0,he.exports.default=he.exports,hr(t)}he.exports=hr,he.exports.__esModule=!0,he.exports.default=he.exports});var ti=te((dc,Qe)=>{var gs=ei().default;function hs(t){if(t!=null){var e=t[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],r=0;if(e)return e.call(t);if(typeof t.next=="function")return t;if(!isNaN(t.length))return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}}}throw new TypeError(gs(t)+" is not iterable")}Qe.exports=hs,Qe.exports.__esModule=!0,Qe.exports.default=Qe.exports});var ni=te((pc,ve)=>{var vs=cr(),ys=fr(),bs=Zn(),ws=gr(),Ss=mr(),Es=Qn(),ri=ti();function vr(){"use strict";var t=ys(),e=t.m(vr),r=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function n(a){var o=typeof a=="function"&&a.constructor;return!!o&&(o===r||(o.displayName||o.name)==="GeneratorFunction")}var i={throw:1,return:2,break:3,continue:3};function s(a){var o,c;return function(u){o||(o={stop:function(){return c(u.a,2)},catch:function(){return u.v},abrupt:function(d,m){return c(u.a,i[d],m)},delegateYield:function(d,m,g){return o.resultName=m,c(u.d,ri(d),g)},finish:function(d){return c(u.f,d)}},c=function(d,m,g){u.p=o.prev,u.n=o.next;try{return d(m,g)}finally{o.next=u.n}}),o.resultName&&(o[o.resultName]=u.v,o.resultName=void 0),o.sent=u.v,o.next=u.n;try{return a.call(this,o)}finally{u.p=o.prev,u.n=o.next}}}return(ve.exports=vr=function(){return{wrap:function(c,u,f,d){return t.w(s(c),u,f,d&&d.reverse())},isGeneratorFunction:n,mark:t.m,awrap:function(c,u){return new vs(c,u)},AsyncIterator:Ss,async:function(c,u,f,d,m){return(n(u)?ws:bs)(s(c),u,f,d,m)},keys:Es,values:ri}},ve.exports.__esModule=!0,ve.exports.default=ve.exports)()}ve.exports=vr,ve.exports.__esModule=!0,ve.exports.default=ve.exports});var ai=te((mc,ii)=>{var xt=ni()();ii.exports=xt;try{regeneratorRuntime=xt}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=xt:Function("r","regeneratorRuntime = r")(xt)}});var yi=te((Ec,vi)=>{"use strict";var Is=function(e){return As(e)&&!Ps(e)};function As(t){return!!t&&typeof t=="object"}function Ps(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||Ns(t)}var Ts=typeof Symbol=="function"&&Symbol.for,xs=Ts?Symbol.for("react.element"):60103;function Ns(t){return t.$$typeof===xs}function ks(t){return Array.isArray(t)?[]:{}}function tt(t,e){return e.clone!==!1&&e.isMergeableObject(t)?Le(ks(t),t,e):t}function js(t,e,r){return t.concat(e).map(function(n){return tt(n,r)})}function _s(t,e){if(!e.customMerge)return Le;var r=e.customMerge(t);return typeof r=="function"?r:Le}function Cs(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function gi(t){return Object.keys(t).concat(Cs(t))}function hi(t,e){try{return e in t}catch{return!1}}function Ms(t,e){return hi(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function Ds(t,e,r){var n={};return r.isMergeableObject(t)&&gi(t).forEach(function(i){n[i]=tt(t[i],r)}),gi(e).forEach(function(i){Ms(t,i)||(hi(t,i)&&r.isMergeableObject(e[i])?n[i]=_s(i,r)(t[i],e[i],r):n[i]=tt(e[i],r))}),n}function Le(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||js,r.isMergeableObject=r.isMergeableObject||Is,r.cloneUnlessOtherwiseSpecified=tt;var n=Array.isArray(e),i=Array.isArray(t),s=n===i;return s?n?r.arrayMerge(t,e,r):Ds(t,e,r):tt(e,r)}Le.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,i){return Le(n,i,r)},{})};var Us=Le;vi.exports=Us});function Gt(){var t;return!!(!((t=window?.navigator)===null||t===void 0)&&t.globalPrivacyControl)}function Yr(t={}){let{disabled:e,portal:r,requireConsent:n,userPrivacySettings:i}=t;if(n)if(i?.accepted){if(i?.functional===!1&&i?.performance===!1&&i?.targeting===!1)return!0}else return!0;return i?.accepted===!0&&i?.functional===!1&&i?.performance===!1&&i?.targeting===!1||e||r?.eueiEnabled===!1||Gt()?!0:!(!r||Qi(r)||ea(r)||ta(r))}function Qi(t){return t.eueiEnabled&&t.user&&t.user.orgId===t.id}function ea(t){return t.user&&!t.user.orgId&&t.ipCntryCode==="US"}function ta(t){return!t.user&&t.ipCntryCode==="US"}var Pe={storage:{},memory:!0,get(t){let e;try{e=window.localStorage&&window.localStorage.getItem(t)||this.storage[t]}catch{e=this.storage[t]}if(e)try{return JSON.parse(e)}catch{return}else return},set(t,e){let r=JSON.stringify(e);try{window.localStorage.setItem(t,r)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[t]=e}},delete(t){try{window.localStorage.removeItem(t)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[t]}}};var Xr="esri-telemetry";function Jr(t){return new Promise((r,n)=>{t.onload=r,t.onerror=n,(!na(t)||t.body)&&r()})}function ra(t){let{id:e,dataAttribute:r}=t;return!!document.getElementById(e)||!!document.querySelector(`[data-${Xr}="${r}"]`)}function na(t){let{body:e,src:r,id:n,dataAttribute:i,section:s="body",type:a="text/javascript",async:o=!1,defer:c=!1,onload:u,onerror:f}=t;if(typeof window>"u")throw new Ve("Window is undefined: Cannot add script element.");if(ra(t)){console.log(`script (${n||i}) is already present, skipping`);return}let d=ia({id:n,dataAttribute:i,type:a,async:o,defer:c,body:e,src:r,onload:u,onerror:f});return s==="body"?document.body.appendChild(d):document.head.appendChild(d)}var Ve=class extends Error{};function ia({id:t,dataAttribute:e,type:r,async:n,defer:i,body:s,src:a,onload:o,onerror:c}){let u=document.createElement("script");return t&&(u.id=t),e&&u.setAttribute(`data-${Xr}`,e),a&&(u.src=a),s&&(u.innerText=s),u.type=r,u.async=n,u.defer=i,o&&(u.onload=o),c&&(u.onerror=c),u}function Zr(t){return t.map(e=>{let r=[];return["src","id","dataAttribute","type"].forEach(n=>{let i=n;n==="dataAttribute"&&(i="data-esri-telemetry"),e[n]&&r.push(`${i}="${e[n]}"`)}),["async","defer"].forEach(n=>{e[n]&&r.push(`${n}`)}),`<script ${r.join(" ")}>${e.body?e.body:""}<\/script>`}).join("")}var aa=["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"],ot=class{constructor(e){var r,n,i;this.trackers=[],this.options=e,this.debug=e.debug,this.suppressDisabledWarnings=e.suppressDisabledWarnings,this.logger=e.logger||console,e.userPrivacySettings&&(this._userPrivacySettings=e.userPrivacySettings),e.requireConsent&&!e.userPrivacySettings&&(this._userPrivacySettings={accepted:!1,performance:!1,targeting:!1,functional:!1,id:ua(),timestamp:Date.now()},e.userPrivacySettings=this._userPrivacySettings),this.disabled=Yr(e),this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let s=((r=e.portal)===null||r===void 0?void 0:r.user)||e.user;s&&this.setUser(s,(i=(n=e.portal)===null||n===void 0?void 0:n.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}shouldInitializeTrackers(e,r,n){let i=!r&&!e?.accepted,s=n.every(a=>e?.[a]);return i||s}filterTrackers(e){return this.options.plugins.filter(r=>e.includes(r.name))}initializeTrackers(){let e=this._userPrivacySettings,r=this.options.requireConsent;this.trackers=[],this.options.plugins&&(e?(this.shouldInitializeTrackers(e,r,["performance"])&&this.trackers.push(...this.filterTrackers(["amazon"])),this.shouldInitializeTrackers(e,r,["performance","targeting","functional"])&&this.trackers.push(...this.filterTrackers(["adobe-analytics","googleAnalytics","siteimprove"]))):this.trackers.push(...this.options.plugins)),this.trackers.length||this.logger.info("No trackers configured")}getScriptTags(){return this.trackers.map(e=>e.getScriptTags&&e.getScriptTags()).join("")}async init(){let e=this.trackers.map(r=>r.init());await Promise.all(e)}setUser(e={},r="Public"){e=typeof e=="string"?{username:e}:e,this.user=e,this.user.accountType=r;let n;if(e.email&&e.email.split){let i=e.email.split("@")[1];n=aa.filter(s=>i===s).length>0}(n||["In House","Demo and Marketing"].indexOf(r)>-1)&&(this.user.internalUser=!0)}async updateUserPrivacySettings(e){let{accepted:r,performance:n,targeting:i,functional:s}=this._userPrivacySettings,a=e.accepted&&!r&&!this.options.requireConsent&&(!e.performance||!e.targeting||!e.functional)||!e.performance&&n||!e.targeting&&i||!e.functional&&s;return this._userPrivacySettings=e,a||(this.disabled=!1,this.initializeTrackers(),await this.init()),{reload:a}}logPageView(e,r={},n={}){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:o,hasError:c})=>!o&&!c);if(!i.length)return this.logger.info("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let s=this.preProcess(r,n);this.debug&&this.logger.info("Tracking page view",JSON.stringify(s));let a=i.map(o=>o.logPageView(e,s));return Promise.all(a).then(),!0}logEvent(e,r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let n=this.trackers.filter(({disabled:a,hasError:o})=>!a&&!o);if(!n.length)return this.logger.info("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(e,r);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let s=n.map(a=>a.logEvent(i));return Promise.all(s).then(),!0}logError(e={}){e=Object.assign({eventType:"error"},e),this.logEvent(e)}startWorkflow(e,r={}){let n={name:e,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(n);let i=Object.assign({name:e,step:"start"},r);return this.logWorkflow(i),n}stepWorkflow(e,r,n={}){let i=typeof n=="string"?n:n.details,s=Object.assign({name:e,step:r,details:i},n);this.logWorkflow(s)}endWorkflow(e,r={}){let n=Object.assign({name:e,step:"finish"},r);this.logWorkflow(n)}cancelWorkflow(e,r={}){let n=Object.assign({name:e,step:"cancel"},r);this.logWorkflow(n)}getWorkflow(e){let r=Pe.get(`TELEMETRY-WORKFLOW:${e}`);if(r){let n=Date.now()-r.start,i=1800*1e3;if(n<i)return r;this.deleteWorkflow(r)}}saveWorkflow(e){Pe.set(`TELEMETRY-WORKFLOW:${e.name}`,e)}deleteWorkflow(e){Pe.delete(`TELEMETRY-WORKFLOW:${e.name}`)}logWorkflow(e={}){e=this.preProcess(e);let r=this.getWorkflow(e.name);r||(this.startWorkflow(e.name),r=this.getWorkflow(e.name)),r.steps.push(e.step),r.duration=(Date.now()-r.start)/1e3,["cancel","finish"].indexOf(e.step)>-1?this.deleteWorkflow(r):this.saveWorkflow(r);let n=Object.assign(e,{eventType:"workflow",category:e.name,action:e.step,label:e.details,duration:r.duration,workflowId:r.workflowId});this.logEvent(n)}preProcess(e={},r={}){let n={};return this.user&&(n={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({},e),n)).reduce(sa(r.omitComplexData,this.logger),{})}disable(){this.disabled=!0,this.trackers.forEach(e=>{var r;e.hasError||(e.disabled=!0,(r=e.disable)===null||r===void 0||r.call(e))})}disableTracker(e){var r;let n=this.trackers.find(({name:i})=>i===e);n&&!n.hasError&&(n.disabled=!0,(r=n.disable)===null||r===void 0||r.call(n))}enableTracker(e){var r;let n=this.trackers.find(({name:i})=>i===e);n&&!n.hasError&&(n.disabled=!1,(r=n.enable)===null||r===void 0||r.call(n))}};function sa(t,e){return function(r,[n,i]){return oa(i)?r[n]=i:t||(e.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`),r[n]=i),r}}function oa(t){return["string","number","boolean","undefined"].includes(typeof t)||t&&typeof t.valueOf()=="string"}function ua(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){let e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}var ut=class{constructor(e){var r;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},this.isInitialized=!1,typeof window<"u"&&!(!((r=e?.measurementIds)===null||r===void 0)&&r.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,e)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return Zr(this._getScripts())}async init(){if(!this.isInitialized){if(typeof window>"u")throw new Ve("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(e=>Jr(e))),this.injectConfig(),this.isInitialized=!0}}logPageView(e,r={}){let n=this.buildCustomParams(r),i=Object.assign({page_title:e||window.location.pathname},n);return window.gtag("event","page_view",i),!0}logEvent(e){let{action:r}=e,n=at(e,["action"]),i=r||"other",s=this.buildCustomParams(n);return window.gtag("event",i,s),!0}disable(){this.measurementIds&&this.measurementIds.forEach(e=>{window[`ga-disable-${e}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(e=>{window[`ga-disable-${e}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let e={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(r=>{window.gtag("config",r,e)})}buildCustomParams(e){let r,{category:n,label:i}=e;return r=this.verifyCustomDimensionAndMetrics(e),n&&(r=Object.assign(Object.assign({},r),{event_category:n})),i&&(r=Object.assign(Object.assign({},r),{event_label:i})),r}verifyCustomDimensionAndMetrics(e){let r=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),n=Object.values(r);return Object.keys(e).filter(s=>n.includes(s)).reduce((s,a)=>Object.assign(s,{[a]:e[a]}),{})}createDimensionsAndMetricsCustomMap(e={},r={}){let n=this.createMetricCustomMap(r),i=this.createDimensionCustomMap(e);return Object.assign(Object.assign({},n),i)}createMetricCustomMap(e={}){return Object.keys(e).map(function(r){return{key:`metric${e[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}createDimensionCustomMap(e={}){return Object.keys(e).map(function(r){return{key:`dimension${e[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}};var Qr="TELEMETRY_COGNITO_CREDENTIALS";function en(t,e={}){let n=`https://cognito-identity${e.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,i=Pe.get(Qr);if(i&&Date.now()/1e3<i.Expiration)return Promise.resolve(i);let s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:t})};return fetch(n,s).then(a=>{if(!a.ok)throw new Error(a.statusText);return a.json()}).then(a=>{let{IdentityId:o}=a,c={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:o})};return fetch(n,c)}).then(a=>{if(!a.ok)throw new Error(a.statusText);return a.json()}).then(({Credentials:a})=>(Pe.set(Qr,a),a))}function ct({telemetryData:t,dimensionLookup:e={},excludeKeys:r=[]}){return Object.keys(t).filter(n=>!r.includes(n)).map(n=>e[n]?{key:la(e,n),value:t[n]}:{key:n,value:ca(t,n)}).reduce((n,{key:i,value:s})=>(n[i]=s,n),{})}function ca(t,e){return e==="json"?t[e]?JSON.stringify(t[e]):"null":t[e]===void 0?"null":t[e].toString()}function la(t,e){return`dimension${t[e]}`}var fa=["size","duration","position","number","count"];function lt(t,e={}){return Object.keys(t).filter(r=>e[r]||fa.includes(r)).map(r=>e[r]?{key:da(e,r),value:t[r]}:{key:r,value:t[r]}).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}function da(t,e){return`metric${t[e]}`}function tn({event:t={},dimensionLookup:e={},metricLookup:r={}}){var n,i;let{pathname:s,eventType:a="other"}=t,o=lt(t,r),c=ct({telemetryData:Object.assign({eventType:a},t),dimensionLookup:e,excludeKeys:["workflow","pathname",...Object.keys(o),...Object.keys(r)]}),u=Object.assign(Object.assign({name:a},c),o);return typeof document<"u"&&document.referrer&&(u.referrer=document.referrer),typeof window<"u"&&!u.hostname&&(u.hostname=(n=window.location)===null||n===void 0?void 0:n.hostname),u.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:s,u}function rn({page:t,previousPage:e={},options:r={},dimensionLookup:n={},metricLookup:i={}}){let s=lt(r,i),a=ct({telemetryData:r,dimensionLookup:n,excludeKeys:["workflow",...Object.keys(s),...Object.keys(i)]}),{referrer:o,title:c}=document||{},{hostname:u,pathname:f}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:o,hostname:u,path:t||f,pageUrl:t||f,pageName:c,previousPageUrl:e.pageUrl,previousPageName:e.pageName},a),s)}var gt=Vt(nn(),1);var pa="function",ma="string",ne="undefined",ga="boolean",_e="object",ha="array",va="number",ya="symbol",ba="null";var an=function(){},Ft="any",Bt="*";var de="__",wa="form",Sa="input",Ea="button",Oa="select";var ft=typeof process!==ne?process:{},vu=ft.env&&ft.env.NODE_ENV||"";var re=typeof document!==ne,yu=re&&window.location.hostname==="localhost",bu=ft.versions!=null&&ft.versions.node!=null,wu=typeof Deno!==ne&&typeof Deno.core!==ne,Su=typeof self===_e&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",Eu=re&&window.name==="nodejs"||typeof navigator!==ne&&typeof navigator.userAgent!==ne&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function sn(t,e){return e.charAt(0)[t]()+e.slice(1)}var Ia=sn.bind(null,"toUpperCase"),Aa=sn.bind(null,"toLowerCase");function Pa(t){return un(t)?Ia(ba):typeof t===_e?Na(t):Object.prototype.toString.call(t).slice(8,-1)}function dt(t,e){e===void 0&&(e=!0);var r=Pa(t);return e?Aa(r):r}function Ge(t,e){return typeof e===t}var Y=Ge.bind(null,pa),ie=Ge.bind(null,ma),Te=Ge.bind(null,ne);var on=Ge.bind(null,ga),Ou=Ge.bind(null,ya);function un(t){return t===null}function Ta(t){return dt(t)===va&&!isNaN(t)}function $t(t){return dt(t)===ha}function K(t){if(!xa(t))return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function xa(t){return t&&(typeof t===_e||t!==null)}function Na(t){return Y(t.constructor)?t.constructor.name:null}function ka(t){return t instanceof Error||ie(t.message)&&t.constructor&&Ta(t.constructor.stackTraceLimit)}function cn(t,e){if(typeof e!="object"||un(e))return!1;if(e instanceof t)return!0;var r=dt(new t(""));if(ka(e))for(;e;){if(dt(e)===r)return!0;e=Object.getPrototypeOf(e)}return!1}var Iu=cn.bind(null,TypeError),Au=cn.bind(null,SyntaxError);function pt(t,e){var r=t instanceof Element||t instanceof HTMLDocument;return r&&e?ja(t,e):r}function ja(t,e){return e===void 0&&(e=""),t&&t.nodeName===e.toUpperCase()}function mt(t){var e=[].slice.call(arguments,1);return function(){return t.apply(void 0,[].slice.call(arguments).concat(e))}}var Pu=mt(pt,wa),Tu=mt(pt,Ea),xu=mt(pt,Sa),Nu=mt(pt,Oa);function ln(t){return t?$t(t)?t:[t]:[]}function fn(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch{return null}}function dn(t){return(function(e){for(var r,n=Object.create(null),i=/([^&=]+)=?([^&]*)/g;r=i.exec(e);){var s=fn(r[1]),a=fn(r[2]);if(s)if(s.substring(s.length-2)==="[]"){var o=n[s=s.substring(0,s.length-2)]||(n[s]=[]);n[s]=Array.isArray(o)?o:[],n[s].push(a)}else n[s]=a===""||a}for(var c in n){var u=c.split("[");u.length>1&&(_a(n,u.map(function(f){return f.replace(/[?[\]\\ ]/g,"")}),n[c]),delete n[c])}return n})((function(e){if(e){var r=e.match(/\?(.*)/);return r&&r[1]?r[1].split("#")[0]:""}return re&&window.location.search.substring(1)})(t))}function _a(t,e,r){for(var n=e.length-1,i=0;i<n;++i){var s=e[i];if(s==="__proto__"||s==="constructor")break;s in t||(t[s]={}),t=t[s]}t[e[n]]=r}function oe(){for(var t="",e=0,r=4294967295*Math.random()|0;e++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[e-1],i=15&r;t+=n=="-"||n=="4"?n:(n=="x"?i:3&i|8).toString(16),r=e%8==0?4294967295*Math.random()|0:r>>4}return t}var be="global",xe=de+be+de,Ne=typeof self===_e&&self.self===self&&self||typeof global===_e&&global[be]===global&&global||void 0;function X(t){return Ne[xe][t]}function J(t,e){return Ne[xe][t]=e}function se(t){delete Ne[xe][t]}function we(t,e,r){var n;try{if(We(t)){var i=window[t];n=i[e].bind(i)}}catch{}return n||r}Ne[xe]||(Ne[xe]={});var ht={};function We(t){if(typeof ht[t]!==ne)return ht[t];try{var e=window[t];e.setItem(ne,ne),e.removeItem(ne)}catch{return ht[t]=!1}return ht[t]=!0}function T(){return T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},T.apply(null,arguments)}var Ee="function",pe="undefined",Fe="reducer",jn="@@redux/",Zt=jn+"INIT",Ca=jn+Math.random().toString(36),pn=(function(){return typeof Symbol===Ee&&Symbol.observable||"@@observable"})(),vt=" != "+Ee;function _n(t,e,r){var n;if(typeof e===Ee&&typeof r===pe&&(r=e,e=void 0),typeof r!==pe){if(typeof r!==Ee)throw new Error("enhancer"+vt);return r(_n)(t,e)}if(typeof t!==Ee)throw new Error(Fe+vt);var i=t,s=e,a=[],o=a,c=!1;function u(){o===a&&(o=a.slice())}function f(){return s}function d(g){if(typeof g!==Ee)throw new Error("Listener"+vt);var A=!0;return u(),o.push(g),function(){if(A){A=!1,u();var I=o.indexOf(g);o.splice(I,1)}}}function m(g){if(!K(g))throw new Error("Act != obj");if(typeof g.type===pe)throw new Error("ActType "+pe);if(c)throw new Error("Dispatch in "+Fe);try{c=!0,s=i(s,g)}finally{c=!1}for(var A=a=o,I=0;I<A.length;I++)(0,A[I])();return g}return m({type:Zt}),(n={dispatch:m,subscribe:d,getState:f,replaceReducer:function(g){if(typeof g!==Ee)throw new Error("next "+Fe+vt);i=g,m({type:Zt})}})[pn]=function(){var g,A=d;return(g={subscribe:function(I){if(typeof I!="object")throw new TypeError("Observer != obj");function E(){I.next&&I.next(f())}return E(),{unsubscribe:A(E)}}})[pn]=function(){return this},g},n}function Ma(t,e){var r=e&&e.type;return"action "+(r&&r.toString()||"?")+Fe+" "+t+" returns "+pe}function Ue(){var t=[].slice.call(arguments);return t.length===0?function(e){return e}:t.length===1?t[0]:t.reduce(function(e,r){return function(){return e(r.apply(void 0,[].slice.call(arguments)))}})}function Da(){var t=arguments;return function(e){return function(r,n,i){var s,a=e(r,n,i),o=a.dispatch,c={getState:a.getState,dispatch:function(u){return o(u)}};return s=[].slice.call(t).map(function(u){return u(c)}),T({},a,{dispatch:o=Ue.apply(void 0,s)(a.dispatch)})}}}var Oe=de+"anon_id",ke=de+"user_id",Me=de+"user_traits";var Qt="analytics",Se="userId",Ce="anonymousId",wt=["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"],er=["name","EVENTS","config","loaded"],N=wt.reduce(function(t,e){return t[e]=e,t},{registerPluginType:function(t){return"registerPlugin:"+t},pluginReadyType:function(t){return"ready:"+t}}),mn=/^utm_/,gn=/^an_prop_/,hn=/^an_trait_/;function Ua(t){var e=t.storage.setItem;return function(r){return function(n){return function(i){if(i.type===N.bootstrap){var s=i.params,a=i.user,o=i.persistedUser,c=i.initialUser,u=o.userId===a.userId;o.anonymousId!==a.anonymousId&&e(Oe,a.anonymousId),u||e(ke,a.userId),c.traits&&e(Me,T({},u&&o.traits?o.traits:{},c.traits));var f=Object.keys(i.params);if(f.length){var d=s.an_uid,m=s.an_event,g=f.reduce(function(A,I){if(I.match(mn)||I.match(/^(d|g)clid/)){var E=I.replace(mn,"");A.campaign[E==="campaign"?"name":E]=s[I]}return I.match(gn)&&(A.props[I.replace(gn,"")]=s[I]),I.match(hn)&&(A.traits[I.replace(hn,"")]=s[I]),A},{campaign:{},props:{},traits:{}});r.dispatch(T({type:N.params,raw:s},g,d?{userId:d}:{})),d&&setTimeout(function(){return t.identify(d,g.traits)},0),m&&setTimeout(function(){return t.track(m,g.props)},0),Object.keys(g.campaign).length&&r.dispatch({type:N.campaign,campaign:g.campaign})}}return n(i)}}}}function Ra(t){return function(e,r){if(e===void 0&&(e={}),r===void 0&&(r={}),r.type===N.setItemEnd){if(r.key===Oe)return T({},e,{anonymousId:r.value});if(r.key===ke)return T({},e,{userId:r.value})}switch(r.type){case N.identify:return Object.assign({},e,{userId:r.userId,traits:T({},e.traits,r.traits)});case N.reset:return[ke,Oe,Me].forEach(function(n){t.removeItem(n)}),Object.assign({},e,{userId:null,anonymousId:null,traits:{}});default:return e}}}function vn(t){return{userId:t.getItem(ke),anonymousId:t.getItem(Oe),traits:t.getItem(Me)}}var tr=function(t){return de+"TEMP"+de+t};function za(t){var e=t.storage,r=e.setItem,n=e.removeItem,i=e.getItem;return function(s){return function(a){return function(o){var c=o.userId,u=o.traits,f=o.options;if(o.type===N.reset&&([ke,Me,Oe].forEach(function(g){n(g)}),[Se,Ce,"traits"].forEach(function(g){se(tr(g))})),o.type===N.identify){i(Oe)||r(Oe,oe());var d=i(ke),m=i(Me)||{};d&&d!==c&&s.dispatch({type:N.userIdChanged,old:{userId:d,traits:m},new:{userId:c,traits:u},options:f}),c&&r(ke,c),u&&r(Me,T({},m,u))}return a(o)}}}}var qe={};function yn(t,e){qe[t]&&Y(qe[t])&&(qe[t](e),delete qe[t])}function Cn(t,e,r){return new Promise(function(n,i){return e()?n(t):r<1?i(T({},t,{queue:!0})):new Promise(function(s){return setTimeout(s,10)}).then(function(s){return Cn(t,e,r-10).then(n,i)})})}function La(t){return{abort:t}}var Kt=function(t){var e=t.data,r=t.action,n=t.instance,i=t.state,s=t.allPlugins,a=t.allMatches,o=t.store,c=t.EVENTS;try{var u=i.plugins,f=i.context,d=r.type,m=d.match(De),g=e.exact.map(function(E){return E.pluginName});m&&(g=a.during.map(function(E){return E.pluginName}));var A=(function(E,x){return function(y,M,v){var h=M.config,P=M.name,w=P+"."+y.type;v&&(w=v.event);var b=y.type.match(De)?(function(D,H,L,R,z){return function(k,S){var j=R?R.name:D,C=S&&Be(S)?S:L;if(R&&(!(C=S&&Be(S)?S:[D]).includes(D)||C.length!==1))throw new Error("Method "+H+" can only abort "+D+" plugin. "+JSON.stringify(C)+" input valid");return T({},z,{abort:{reason:k,plugins:C,caller:H,_:j}})}})(P,w,x,v,y):(function(D,H){return function(){throw new Error(D.type+" action not cancellable. Remove abort in "+H)}})(y,w);return{payload:Ha(y),instance:E,config:h||{},abort:b}}})(n,g),I=e.exact.reduce(function(E,x){var y=x.pluginName,M=x.methodName,v=!1;return M.match(/^initialize/)||M.match(/^reset/)||(v=!u[y].loaded),f.offline&&M.match(/^(page|track|identify)/)&&(v=!0),E[""+y]=v,E},{});return Promise.resolve(e.exact.reduce(function(E,x,y){var M=x.pluginName;return Promise.resolve(E).then(function(v){function h(){return Promise.resolve(v)}var P=(function(){if(e.namespaced&&e.namespaced[M])return Promise.resolve(e.namespaced[M].reduce(function(w,b,D){return Promise.resolve(w).then(function(H){return b.method&&Y(b.method)?((function(k,S){var j=An(k);if(j&&j.name===S){var C=An(j.method);throw new Error([S+" plugin is calling method "+k,"Plugins cant call self","Use "+j.method+" "+(C?"or "+C.method:"")+" in "+S+" plugin insteadof "+k].join(`
3
3
  `))}})(b.methodName,b.pluginName),Promise.resolve(b.method({payload:H,instance:n,abort:(L=H,R=M,z=b.pluginName,function(k,S){return T({},L,{abort:{reason:k,plugins:S||[R],caller:d,from:z||R}})}),config:Sn(b.pluginName,u,s),plugins:u})).then(function(k){var S=K(k)?k:{};return Promise.resolve(T({},H,S))})):H;var L,R,z})},Promise.resolve(r))).then(function(w){v[M]=w});v[M]=r})();return P&&P.then?P.then(h):h()})},Promise.resolve({}))).then(function(E){return Promise.resolve(e.exact.reduce(function(x,y,M){try{var v=e.exact.length===M+1,h=y.pluginName,P=s[h];return Promise.resolve(x).then(function(w){var b=E[h]?E[h]:{};if(m&&(b=w),Xt(b,h))return Yt({data:b,method:d,instance:n,pluginName:h,store:o}),Promise.resolve(w);if(Xt(w,h))return v&&Yt({data:w,method:d,instance:n,store:o}),Promise.resolve(w);if(I.hasOwnProperty(h)&&I[h]===!0)return o.dispatch({type:"queue",plugin:h,payload:b,_:{called:"queue",from:"queueMechanism"}}),Promise.resolve(w);var D=A(E[h],s[h]);return Promise.resolve(P[d]({abort:D.abort,payload:b,instance:n,config:Sn(h,u,s),plugins:u})).then(function(H){var L=K(H)?H:{},R=T({},w,L),z=E[h];if(Xt(z,h))Yt({data:z,method:d,instance:n,pluginName:h,store:o});else{var k=d+":"+h;(k.match(/:/g)||[]).length<2&&!d.match(bn)&&!d.match(wn)&&n.dispatch(T({},m?R:b,{type:k,_:{called:k,from:"submethod"}}))}return Promise.resolve(R)})})}catch(w){return Promise.reject(w)}},Promise.resolve(r))).then(function(x){if(!(d.match(De)||d.match(/^registerPlugin/)||d.match(wn)||d.match(bn)||d.match(/^params/)||d.match(/^userIdChanged/))){if(c.plugins.includes(d),x._&&x._.originalAction===d)return x;var y=T({},x,{_:{originalAction:x.type,called:x.type,from:"engineEnd"}});Mn(x,e.exact.length)&&!d.match(/End$/)&&(y=T({},y,{type:x.type+"Aborted"})),o.dispatch(y)}return x})})}catch(E){return Promise.reject(E)}},De=/Start$/,bn=/^bootstrap/,wn=/^ready/;function Yt(t){var e=t.pluginName,r=t.method+"Aborted"+(e?":"+e:"");t.store.dispatch(T({},t.data,{type:r,_:{called:r,from:"abort"}}))}function Sn(t,e,r){var n=e[t]||r[t];return n&&n.config?n.config:{}}function En(t,e){return e.reduce(function(r,n){return n[t]?r.concat({methodName:t,pluginName:n.name,method:n[t]}):r},[])}function On(t,e){var r=t.replace(De,""),n=e?":"+e:"";return[""+t+n,""+r+n,r+"End"+n]}function Xt(t,e){var r=t.abort;return!!r&&(r===!0||In(r,e)||r&&In(r.plugins,e))}function Mn(t,e){var r=t.abort;if(!r)return!1;if(r===!0||ie(r))return!0;var n=r.plugins;return Be(r)&&r.length===e||Be(n)&&n.length===e}function Be(t){return Array.isArray(t)}function In(t,e){return!(!t||!Be(t))&&t.includes(e)}function An(t){var e=t.match(/(.*):(.*)/);return!!e&&{method:e[1],name:e[2]}}function Ha(t){return Object.keys(t).reduce(function(e,r){return r==="type"||(e[r]=K(t[r])?Object.assign({},t[r]):t[r]),e},{})}function Va(t,e,r){var n={};return function(i){return function(s){return function(a){try{var o,c=function(v){return o?v:s(d)},u=a.type,f=a.plugins,d=a;if(a.abort)return Promise.resolve(s(a));if(u===N.enablePlugin&&i.dispatch({type:N.initializeStart,plugins:f,disabled:[],fromEnable:!0,meta:a.meta}),u===N.disablePlugin&&setTimeout(function(){return yn(a.meta.rid,{payload:a})},0),u===N.initializeEnd){var m=e(),g=Object.keys(m),A=g.filter(function(v){return f.includes(v)}).map(function(v){return m[v]}),I=[],E=[],x=a.disabled,y=A.map(function(v){var h=v.loaded,P=v.name,w=v.config;return Cn(v,function(){return h({config:w})},1e4).then(function(b){return n[P]||(i.dispatch({type:N.pluginReadyType(P),name:P,events:Object.keys(v).filter(function(D){return!er.includes(D)})}),n[P]=!0),I=I.concat(P),v}).catch(function(b){if(b instanceof Error)throw new Error(b);return E=E.concat(b.name),b})});Promise.all(y).then(function(v){var h={plugins:I,failed:E,disabled:x};setTimeout(function(){g.length===y.length+x.length&&i.dispatch(T({},{type:N.ready},h))},0)})}var M=(function(){if(u!==N.bootstrap)return/^ready:([^:]*)$/.test(u)&&setTimeout(function(){return(function(v,h,P){var w={},b=h(),D=v.getState(),H=D.plugins,L=D.queue,R=D.user;if(!D.context.offline&&L&&L.actions&&L.actions.length){var z=L.actions.reduce(function(S,j,C){return H[j.plugin].loaded?(S.process.push(j),S.processIndex.push(C)):(S.requeue.push(j),S.requeueIndex.push(C)),S},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(z.processIndex&&z.processIndex.length){z.processIndex.forEach(function(S){var j=L.actions[S],C=j.plugin,ee=j.payload.type,l=b[C][ee];if(l&&Y(l)){var p,O=(function(U,B){return U===void 0&&(U={}),B===void 0&&(B={}),[Se,Ce].reduce(function(G,q){return U.hasOwnProperty(q)&&B[q]&&B[q]!==U[q]&&(G[q]=B[q]),G},U)})(j.payload,R),_=w[O.meta.rid];if(!_&&(p=l({payload:O,config:H[C].config,instance:P,abort:La}))&&K(p)&&p.abort)return void(w[O.meta.rid]=!0);if(!_){var V=ee+":"+C;v.dispatch(T({},O,{type:V,_:{called:V,from:"queueDrain"}}))}}});var k=L.actions.filter(function(S,j){return!~z.processIndex.indexOf(j)});L.actions=k}}})(i,e,t)},0),Promise.resolve((function(v,h,P,w,b){try{var D=Y(h)?h():h,H=v.type,L=H.replace(De,"");if(v._&&v._.called)return Promise.resolve(v);var R=P.getState(),z=(j=D,(C=R.plugins)===void 0&&(C={}),(ee=v.options)===void 0&&(ee={}),Object.keys(j).filter(function(l){var p=ee.plugins||{};return on(p[l])?p[l]:p.all!==!1&&(!C[l]||C[l].enabled!==!1)}).map(function(l){return j[l]}));H===N.initializeStart&&v.fromEnable&&(z=Object.keys(R.plugins).filter(function(l){var p=R.plugins[l];return v.plugins.includes(l)&&!p.initialized}).map(function(l){return D[l]}));var k=z.map(function(l){return l.name}),S=(function(l,p){var O=On(l).map(function(_){return En(_,p)});return p.reduce(function(_,V){var U=V.name,B=On(l,U).map(function(fe){return En(fe,p)}),G=B[0],q=B[1],W=B[2];return G.length&&(_.beforeNS[U]=G),q.length&&(_.duringNS[U]=q),W.length&&(_.afterNS[U]=W),_},{before:O[0],beforeNS:{},during:O[1],duringNS:{},after:O[2],afterNS:{}})})(H,z);return Promise.resolve(Kt({action:v,data:{exact:S.before,namespaced:S.beforeNS},state:R,allPlugins:D,allMatches:S,instance:P,store:w,EVENTS:b})).then(function(l){function p(){var V=(function(){if(H.match(De))return Promise.resolve(Kt({action:T({},O,{type:L+"End"}),data:{exact:S.after,namespaced:S.afterNS},state:R,allPlugins:D,allMatches:S,instance:P,store:w,EVENTS:b})).then(function(U){U.meta&&U.meta.hasCallback&&yn(U.meta.rid,{payload:U})})})();return V&&V.then?V.then(function(){return l}):l}if(Mn(l,k.length))return l;var O,_=(function(){if(H!==L)return Promise.resolve(Kt({action:T({},l,{type:L}),data:{exact:S.during,namespaced:S.duringNS},state:R,allPlugins:D,allMatches:S,instance:P,store:w,EVENTS:b})).then(function(V){O=V});O=l})();return _&&_.then?_.then(p):p()})}catch(l){return Promise.reject(l)}var j,C,ee})(a,e,t,i,r)).then(function(v){var h=s(v);return o=1,h})})();return Promise.resolve(M&&M.then?M.then(c):c(M))}catch(v){return Promise.reject(v)}}}}}function Ga(t){return function(e){return function(r){return function(n){var i=n.type,s=n.key,a=n.value,o=n.options;if(i===N.setItem||i===N.removeItem){if(n.abort)return r(n);i===N.setItem?t.setItem(s,a,o):t.removeItem(s,o)}return r(n)}}}}var Wa=function(){var t=this;this.before=[],this.after=[],this.addMiddleware=function(e,r){t[r]=t[r].concat(e)},this.removeMiddleware=function(e,r){var n=t[r].findIndex(function(i){return i===e});n!==-1&&(t[r]=[].concat(t[r].slice(0,n),t[r].slice(n+1)))},this.dynamicMiddlewares=function(e){return function(r){return function(n){return function(i){var s={getState:r.getState,dispatch:function(o){return r.dispatch(o)}},a=t[e].map(function(o){return o(s)});return Ue.apply(void 0,a)(n)(i)}}}}};function qa(t){return function(e,r){e===void 0&&(e={});var n={};if(r.type==="initialize:aborted")return e;if(/^registerPlugin:([^:]*)$/.test(r.type)){var i=Pn(r.type,"registerPlugin"),s=t()[i];if(!s||!i)return e;var a=r.enabled,o=s.config;return n[i]={enabled:a,initialized:!!a&&!s.initialize,loaded:!!a&&!!s.loaded({config:o}),config:o},T({},e,n)}if(/^initialize:([^:]*)$/.test(r.type)){var c=Pn(r.type,N.initialize),u=t()[c];return u&&c?(n[c]=T({},e[c],{initialized:!0,loaded:!!u.loaded({config:u.config})}),T({},e,n)):e}if(/^ready:([^:]*)$/.test(r.type))return n[r.name]=T({},e[r.name],{loaded:!0}),T({},e,n);switch(r.type){case N.disablePlugin:return T({},e,Tn(r.plugins,!1,e));case N.enablePlugin:return T({},e,Tn(r.plugins,!0,e));default:return e}}}function Pn(t,e){return t.substring(e.length+1,t.length)}function Tn(t,e,r){return t.reduce(function(n,i){return n[i]=T({},r[i],{enabled:e}),n},r)}function Dn(t){try{return JSON.parse(JSON.stringify(t))}catch{}return t}var Fa={last:{},history:[]};function Ba(t,e){t===void 0&&(t=Fa);var r=e.options,n=e.meta;if(e.type===N.track){var i=Dn(T({event:e.event,properties:e.properties},Object.keys(r).length&&{options:r},{meta:n}));return T({},t,{last:i,history:t.history.concat(i)})}return t}var $a={actions:[]};function Ka(t,e){t===void 0&&(t=$a);var r=e.payload;switch(e.type){case"queue":var n;return n=r&&r.type&&r.type===N.identify?[e].concat(t.actions):t.actions.concat(e),T({},t,{actions:n});case"dequeue":return[];default:return t}}var Un=/#.*$/;function Ya(t){var e=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(t);return"/"+(e&&e[3]?e[3].split("?")[0].replace(Un,""):"")}var Rn,Xa=function(t){if(t===void 0&&(t={}),!re)return t;var e=document,r=e.title,n=e.referrer,i=window,s=i.location,a=i.innerWidth,o=i.innerHeight,c=s.hash,u=s.search,f=(function(m){var g=(function(){if(re){for(var A,I=document.getElementsByTagName("link"),E=0;A=I[E];E++)if(A.getAttribute("rel")==="canonical")return A.getAttribute("href")}})();return g?g.match(/\?/)?g:g+m:window.location.href.replace(Un,"")})(u),d={title:r,url:f,path:Ya(f),hash:c,search:u,width:a,height:o};return n&&n!==""&&(d.referrer=n),T({},d,t)},Ja={last:{},history:[]};function Za(t,e){t===void 0&&(t=Ja);var r=e.options;if(e.type===N.page){var n=Dn(T({properties:e.properties,meta:e.meta},Object.keys(r).length&&{options:r}));return T({},t,{last:n,history:t.history.concat(n)})}return t}Rn={};var xn={initialized:!1,sessionId:oe(),app:null,version:null,debug:!1,offline:!!re&&!navigator.onLine,os:{name:"na"},userAgent:re?navigator.userAgent:"node",library:{name:Qt,version:"0.13.1"},timezone:void 0,locale:void 0,campaign:{},referrer:Rn};function Qa(t,e){t===void 0&&(t=xn);var r=t.initialized,n=e.campaign;switch(e.type){case N.campaign:return T({},t,{campaign:n});case N.offline:return T({},t,{offline:!0});case N.online:return T({},t,{offline:!1});default:return r?t:T({},xn,t,{initialized:!0})}}var es=["plugins","reducers","storage"];function zn(){return J(Qt,[]),function(t){return function(e,r,n){var i=t(e,r,n),s=i.dispatch;return Object.assign(i,{dispatch:function(a){return Ne[xe][Qt].push(a.action||a),s(a)}})}}}function Nn(t){return function(){return Ue(Ue.apply(null,arguments),zn())}}function Jt(t){return t?$t(t)?t:[t]:[]}function kn(t,e,r){t===void 0&&(t={});var n,i,s=oe();return e&&(qe[s]=(n=e,i=(function(a){for(var o,c=a||Array.prototype.slice.call(arguments),u=0;u<c.length;u++)if(Y(c[u])){o=c[u];break}return o})(r),function(a){i&&i(a),n(a)})),T({},t,{rid:s,ts:new Date().getTime()},e?{hasCallback:!0}:{})}function Ln(t){t===void 0&&(t={});var e=t.reducers||{},r=t.initialUser||{},n=(t.plugins||[]).reduce(function(l,p){if(Y(p))return l.middlewares=l.middlewares.concat(p),l;if(p.NAMESPACE&&(p.name=p.NAMESPACE),!p.name)throw new Error("https://lytics.dev/errors/1");p.config||(p.config={});var O=p.EVENTS?Object.keys(p.EVENTS).map(function(U){return p.EVENTS[U]}):[];l.pluginEnabled[p.name]=!(p.enabled===!1||p.config.enabled===!1),delete p.enabled,p.methods&&(l.methods[p.name]=Object.keys(p.methods).reduce(function(U,B){var G;return U[B]=(G=p.methods[B],function(){for(var q=Array.prototype.slice.call(arguments),W=new Array(G.length),fe=0;fe<q.length;fe++)W[fe]=q[fe];return W[W.length]=h,G.apply({instance:h},W)}),U},{}),delete p.methods);var _=Object.keys(p).concat(O),V=new Set(l.events.concat(_));if(l.events=Array.from(V),l.pluginsArray=l.pluginsArray.concat(p),l.plugins[p.name])throw new Error(p.name+"AlreadyLoaded");return l.plugins[p.name]=p,l.plugins[p.name].loaded||(l.plugins[p.name].loaded=function(){return!0}),l},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=t.storage?t.storage:{getItem:X,setItem:J,removeItem:se},s=(function(l){return function(p,O,_){return O.getState("user")[p]||(_&&K(_)&&_[p]?_[p]:vn(l)[p]||X(tr(p))||null)}})(i),a=n.plugins,o=n.events.filter(function(l){return!er.includes(l)}).sort(),c=new Set(o.concat(wt).filter(function(l){return!er.includes(l)})),u=Array.from(c).sort(),f=function(){return a},d=new Wa,m=d.addMiddleware,g=d.removeMiddleware,A=d.dynamicMiddlewares,I=function(){throw new Error("Abort disabled inListener")},E=dn(),x=vn(i),y=T({},x,r,E.an_uid?{userId:E.an_uid}:{},E.an_aid?{anonymousId:E.an_aid}:{});y.anonymousId||(y.anonymousId=oe());var M=T({enable:function(l,p){return new Promise(function(O){S.dispatch({type:N.enablePlugin,plugins:Jt(l),_:{originalAction:N.enablePlugin}},O,[p])})},disable:function(l,p){return new Promise(function(O){S.dispatch({type:N.disablePlugin,plugins:Jt(l),_:{originalAction:N.disablePlugin}},O,[p])})}},n.methods),v=!1,h={identify:function(l,p,O,_){try{var V=ie(l)?l:null,U=K(l)?l:p,B=O||{},G=h.user();J(tr(Se),V);var q=V||U.userId||s(Se,h,U);return Promise.resolve(new Promise(function(W){S.dispatch(T({type:N.identifyStart,userId:q,traits:U||{},options:B,anonymousId:G.anonymousId},G.id&&G.id!==V&&{previousId:G.id}),W,[p,O,_])}))}catch(W){return Promise.reject(W)}},track:function(l,p,O,_){try{var V=K(l)?l.event:l;if(!V||!ie(V))throw new Error("EventMissing");var U=K(l)?l:p||{},B=K(O)?O:{};return Promise.resolve(new Promise(function(G){S.dispatch({type:N.trackStart,event:V,properties:U,options:B,userId:s(Se,h,p),anonymousId:s(Ce,h,p)},G,[p,O,_])}))}catch(G){return Promise.reject(G)}},page:function(l,p,O){try{var _=K(l)?l:{},V=K(p)?p:{};return Promise.resolve(new Promise(function(U){S.dispatch({type:N.pageStart,properties:Xa(_),options:V,userId:s(Se,h,_),anonymousId:s(Ce,h,_)},U,[l,p,O])}))}catch(U){return Promise.reject(U)}},user:function(l){if(l===Se||l==="id")return s(Se,h);if(l===Ce||l==="anonId")return s(Ce,h);var p=h.getState("user");return l?(0,gt.default)(p,l):p},reset:function(l){return new Promise(function(p){S.dispatch({type:N.resetStart},p,l)})},ready:function(l){return v&&l({plugins:M,instance:h}),h.on(N.ready,function(p){l&&l(p),v=!0})},on:function(l,p){if(!l||!Y(p))return!1;if(l===N.bootstrap)throw new Error(".on disabled for "+l);var O=/Start$|Start:/;if(l==="*"){var _=function(G){return function(q){return function(W){return W.type.match(O)&&p({payload:W,instance:h,plugins:a}),q(W)}}},V=function(G){return function(q){return function(W){return W.type.match(O)||p({payload:W,instance:h,plugins:a}),q(W)}}};return m(_,yt),m(V,bt),function(){g(_,yt),g(V,bt)}}var U=l.match(O)?yt:bt,B=function(G){return function(q){return function(W){return W.type===l&&p({payload:W,instance:h,plugins:a,abort:I}),q(W)}}};return m(B,U),function(){return g(B,U)}},once:function(l,p){if(!l||!Y(p))return!1;if(l===N.bootstrap)throw new Error(".once disabled for "+l);var O=h.on(l,function(_){p({payload:_.payload,instance:h,plugins:a,abort:I}),O()});return O},getState:function(l){var p=S.getState();return l?(0,gt.default)(p,l):Object.assign({},p)},dispatch:function(l){var p=ie(l)?{type:l}:l;if(wt.includes(p.type))throw new Error("reserved action "+p.type);var O=T({},p,{_:T({originalAction:p.type},l._||{})});S.dispatch(O)},enablePlugin:M.enable,disablePlugin:M.disable,plugins:M,storage:{getItem:i.getItem,setItem:function(l,p,O){S.dispatch({type:N.setItemStart,key:l,value:p,options:O})},removeItem:function(l,p){S.dispatch({type:N.removeItemStart,key:l,options:p})}},setAnonymousId:function(l,p){h.storage.setItem(Oe,l,p)},events:{core:wt,plugins:o}},P=n.middlewares.concat([function(l){return function(p){return function(O){return O.meta||(O.meta=kn()),p(O)}}},A(yt),Va(h,f,{all:u,plugins:o}),Ga(i),Ua(h),za(h),A(bt)]),w={context:Qa,user:Ra(i),page:Za,track:Ba,plugins:qa(f),queue:Ka},b=Ue,D=Ue;if(re&&t.debug){var H=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;H&&(b=H({trace:!0,traceLimit:25})),D=function(){return arguments.length===0?zn():K(typeof arguments[0])?Nn():Nn().apply(null,arguments)}}var L,R=(function(l){return Object.keys(l).reduce(function(p,O){return es.includes(O)||(p[O]=l[O]),p},{})})(t),z=n.pluginsArray.reduce(function(l,p){var O=p.name,_=p.config,V=p.loaded,U=n.pluginEnabled[O];return l[O]={enabled:U,initialized:!!U&&!p.initialize,loaded:!!V({config:_}),config:_},l},{}),k={context:R,user:y,plugins:z},S=_n((function(l){for(var p=Object.keys(l),O={},_=0;_<p.length;_++){var V=p[_];typeof l[V]===Ee&&(O[V]=l[V])}var U,B=Object.keys(O);try{(function(G){Object.keys(G).forEach(function(q){var W=G[q];if(typeof W(void 0,{type:Zt})===pe||typeof W(void 0,{type:Ca})===pe)throw new Error(Fe+" "+q+" "+pe)})})(O)}catch(G){U=G}return function(G,q){if(G===void 0&&(G={}),U)throw U;for(var W=!1,fe={},Lt=0;Lt<B.length;Lt++){var it=B[Lt],Gr=G[it],Ht=(0,O[it])(Gr,q);if(typeof Ht===pe){var Zi=Ma(it,q);throw new Error(Zi)}fe[it]=Ht,W=W||Ht!==Gr}return W?fe:G}})(T({},w,e)),k,D(b(Da.apply(void 0,P))));S.dispatch=(L=S.dispatch,function(l,p,O){var _=T({},l,{meta:kn(l.meta,p,Jt(O))});return L.apply(null,[_])});var j=Object.keys(a);S.dispatch({type:N.bootstrap,plugins:j,config:R,params:E,user:y,initialUser:r,persistedUser:x});var C=j.filter(function(l){return n.pluginEnabled[l]}),ee=j.filter(function(l){return!n.pluginEnabled[l]});return S.dispatch({type:N.registerPlugins,plugins:j,enabled:n.pluginEnabled}),n.pluginsArray.map(function(l,p){var O=l.bootstrap,_=l.config,V=l.name;O&&Y(O)&&O({instance:h,config:_,payload:l}),S.dispatch({type:N.registerPluginType(V),name:V,enabled:n.pluginEnabled[V],plugin:l}),n.pluginsArray.length===p+1&&S.dispatch({type:N.initializeStart,plugins:C,disabled:ee})}),h}var yt="before",bt="after";var Ie="cookie",je=rr(),$e=Ot,St=Ot;function Et(t){return je?Ot(t,"",-1):se(t)}function rr(){if(je!==void 0)return je;var t=Ie+Ie;try{Ot(t,t),je=document.cookie.indexOf(t)!==-1,Et(t)}catch{je=!1}return je}function Ot(t,e,r,n,i,s){if(typeof window<"u"){var a=arguments.length>1;return je===!1&&(a?J(t,e):X(t)),a?document.cookie=t+"="+encodeURIComponent(e)+(r?"; expires="+new Date(+new Date+1e3*r).toUTCString()+(n?"; path="+n:"")+(i?"; domain="+i:"")+(s?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+t+"=")[1]||"").split(";")[0])}}var ue="localStorage",Hn=We.bind(null,ue),It=we(ue,"getItem",X),Vn=we(ue,"setItem",J),nr=we(ue,"removeItem",se);var ce="sessionStorage",Gn=We.bind(null,ce),Wn=we(ce,"getItem",X),qn=we(ce,"setItem",J),Fu=we(ce,"removeItem",se);function Re(t){var e=t;try{if((e=JSON.parse(t))==="true")return!0;if(e==="false")return!1;if(K(e))return e;parseFloat(e)===e&&(e=parseFloat(e))}catch{}if(e!==null&&e!=="")return e}var ts=Hn(),rs=Gn(),ns=rr();function Fn(t,e){if(t){var r=ir(e),n=!ur(r),i=ar(r)?Re(localStorage.getItem(t)):void 0;if(n&&!Te(i))return i;var s=sr(r)?Re($e(t)):void 0;if(n&&s)return s;var a=or(r)?Re(sessionStorage.getItem(t)):void 0;if(n&&a)return a;var o=X(t);return n?o:{localStorage:i,sessionStorage:a,cookie:s,global:o}}}function is(t,e,r){if(t&&!Te(e)){var n={},i=ir(r),s=JSON.stringify(e),a=!ur(i);return ar(i)&&(n[ue]=At(ue,e,Re(localStorage.getItem(t))),localStorage.setItem(t,s),a)?n[ue]:sr(i)&&(n[Ie]=At(Ie,e,Re($e(t))),St(t,s),a)?n[Ie]:or(i)&&(n[ce]=At(ce,e,Re(sessionStorage.getItem(t))),sessionStorage.setItem(t,s),a)?n[ce]:(n[be]=At(be,e,X(t)),J(t,e),a?n[be]:n)}}function as(t,e){if(t){var r=ir(e),n=Fn(t,Bt),i={};return!Te(n.localStorage)&&ar(r)&&(localStorage.removeItem(t),i[ue]=n.localStorage),!Te(n.cookie)&&sr(r)&&(Et(t),i[Ie]=n.cookie),!Te(n.sessionStorage)&&or(r)&&(sessionStorage.removeItem(t),i[ce]=n.sessionStorage),!Te(n.global)&&Pt(r,be)&&(se(t),i[be]=n.global),i}}function ir(t){return t?ie(t)?t:t.storage:Ft}function ar(t){return ts&&Pt(t,ue)}function sr(t){return ns&&Pt(t,Ie)}function or(t){return rs&&Pt(t,ce)}function ur(t){return t===Bt||t==="all"}function Pt(t,e){return t===Ft||t===e||ur(t)}function At(t,e,r){return{location:t,current:e,previous:r}}var Bn={setItem:is,getItem:Fn,removeItem:as};function ss(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Kn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$n(Object(r),!0).forEach(function(n){ss(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$n(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Yn(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e={storage:Bn};return Ln(Kn(Kn({},e),t))}function Xn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xn(Object(r),!0).forEach(function(n){He(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xn(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var F=Vt(ai());var si=function(){};function oi(t,e){var r,n,i,s=(e=e||{}).initial||[],a=e.max||1/0,o=e.interval||1e4,c=e.onEmpty||si,u=e.onPause||si;function f(m){clearInterval(r);var g=s.splice(0,a);return g.length&&t(g,s),s.length?m?f():d():(i=!1,c(s))}function d(){i=!0,r=setInterval(f,o)}return s.length&&d(),{flush:function(m){f(m)},resume:f,push:function(m){return(n=s.push(m))>=a&&!e.throttle&&f(),i||d(),n},size:function(){return s.length},pause:function(m){m&&f(),clearInterval(r),i=!1,u(s)}}}var Nt="__",kt="session",ci=Nt+kt,li="page",ui=["id","createdAt","created"];function yr(t){var e=t?new Date(t):new Date;return[e.toISOString(),e.getTime()]}function fi(){var t=yr(),e=t[0],r=t[1];return{id:oe(),created:r,createdAt:e}}var Os={session:[Wn,qn],page:[X,J]};function jt(t,e){for(var r=Os[t],n=r[0],i=r[1],s=fi(),a=!1,o={},c=0;c<ui.length;c++){var u=ui[c],f=Nt+t+Nt+kt+Nt+u,d=n(f);a=e||!d,(e||!e&&!d)&&i(f,s[u]);var m=d&&!e?d:s[u],g=u!=="created"?m:Number(m);o[u]=g}return br(o,a)}function br(t,e){var r=Date.now();return t.elapsed=r-t.created,t.expires&&(t.remaining=Math.max(t.expires-r,0),t.isExpired=t.remaining===0),t.isNew=e,t}function ze(t,e){t===void 0&&(t=30);var r=$e(ci),n=r?JSON.parse(r):et(t);return e?n:br(n,!r)}function et(t,e,r){t===void 0&&(t=30);var n=r?ze(t,!0):fi(),i=60*t,s=n.created;if(r){var a=yr(),o=a[0],c=a[1];n.modified=c,n.modifiedAt=o,s=c}var u=yr(s+1e3*i),f=u[0];return n.expires=u[1],n.expiresAt=f,n.duration=1e3*i,e&&(n=Object.assign(n,e)),St(ci,JSON.stringify(n),i),br(n,!r)}var di=function(t,e){return t===void 0&&(t=30),et(t||1,e,!0)};var wr=jt.bind(null,kt),pi=jt.bind(null,kt,!0),_t=jt.bind(null,li),Sr=jt.bind(null,li,!0);var Ae=typeof window<"u";function mi(t){return typeof t=="string"}function Er(t){return typeof t=="boolean"}var Hi=Vt(yi());var Ir=new TextEncoder,Rs={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"},zs=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Ct=class{constructor({accessKeyId:e,secretAccessKey:r,sessionToken:n,service:i,region:s,cache:a,retries:o,initRetryMs:c}){if(e==null)throw new TypeError("accessKeyId is a required option");if(r==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=e,this.secretAccessKey=r,this.sessionToken=n,this.service=i,this.region=s,this.cache=a||new Map,this.retries=o??10,this.initRetryMs=c||50}async sign(e,r){if(e instanceof Request){let{method:s,url:a,headers:o,body:c}=e;r=Object.assign({method:s,url:a,headers:o},r),r.body==null&&o.has("Content-Type")&&(r.body=c!=null&&o.has("X-Amz-Content-Sha256")?c:await e.clone().arrayBuffer()),e=a}let n=new Ar(Object.assign({url:e.toString()},r,this,r&&r.aws)),i=Object.assign({},r,await n.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(s){if(s instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw s}}async fetch(e,r){for(let n=0;n<=this.retries;n++){let i=fetch(await this.sign(e,r));if(n===this.retries)return i;let s=await i;if(s.status<500&&s.status!==429)return s;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,n)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},Ar=class{constructor({method:e,url:r,headers:n,body:i,accessKeyId:s,secretAccessKey:a,sessionToken:o,service:c,region:u,cache:f,datetime:d,signQuery:m,appendSessionToken:g,allHeaders:A,singleEncode:I}){if(r==null)throw new TypeError("url is a required option");if(s==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=e||(i?"POST":"GET"),this.url=new URL(r),this.headers=new Headers(n||{}),this.body=i,this.accessKeyId=s,this.secretAccessKey=a,this.sessionToken=o;let E,x;(!c||!u)&&([E,x]=Ls(this.url,this.headers)),this.service=c||E||"",this.region=u||x||"us-east-1",this.cache=f||new Map,this.datetime=d||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=m,this.appendSessionToken=g||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 y=this.signQuery?this.url.searchParams:this.headers;if(y.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&y.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(v=>A||!zs.has(v)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(v=>v+":"+(v==="host"?this.url.host:(this.headers.get(v)||"").replace(/\s+/g," "))).join(`
4
4
  `),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&(this.service==="s3"&&!y.has("X-Amz-Expires")&&y.set("X-Amz-Expires","86400"),y.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),y.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),y.set("X-Amz-SignedHeaders",this.signedHeaders)),this.service==="s3")try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch{this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");I||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=Si(this.encodedPath);let M=new Set;this.encodedSearch=[...this.url.searchParams].filter(([v])=>{if(!v)return!1;if(this.service==="s3"){if(M.has(v))return!1;M.add(v)}return!0}).map(v=>v.map(h=>Si(encodeURIComponent(h)))).sort(([v,h],[P,w])=>v<P?-1:v>P?1:h<w?-1:h>w?1:0).map(v=>v.join("=")).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){let e=this.datetime.slice(0,8),r=[this.secretAccessKey,e,this.region,this.service].join(),n=this.cache.get(r);if(!n){let i=await rt("AWS4"+this.secretAccessKey,e),s=await rt(i,this.region),a=await rt(s,this.service);n=await rt(a,"aws4_request"),this.cache.set(r,n)}return Or(await rt(n,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,Or(await bi(await this.canonicalString()))].join(`
5
5
  `)}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+`
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import d from"./JCQQIAIE.js";import c from"./M536RNIN.js";import a from"./4AFANEZZ.js";import{a as w}from"./ONARC6AZ.js";import{a as S}from"./7VD3Y4IF.js";import{a as y}from"./BM4VSEDV.js";import{b as x}from"./HVT2WBVC.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{G as f,I as r,h as $,i as n,q as b}from"./FFF5HUPM.js";import"./QPIMTXPL.js";export default $arcgis.t(([d,,{a:u,b:T,e:C,f:I},{c:h,e:m,f:e,g:L,h:_,j:D,l:k}])=>{var E=$`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},v=class extends f{constructor(){super(),this._messages=y({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=b(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(a){e.set("saving",!0);try{let t=await this.getPortalItemResource();if(!t){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...a,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await t.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(t){return console.error("Error writing to portal item resource: ",t),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(a){e.set("portalItemResourceT9n",a)}load(){k()}willUpdate(a){(a.has("locales")||a.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:a,locales:t}=this,s=L(a,t);e.set("uiData",s)}initSelectLanguage(){let a=this.locales?.[0]?.locale??d.getLocale(),t=e.get("currentLanguage");this.locales.filter(s=>s.locale===t).length===0&&e.set("currentLanguage",a)}async initPortalItemResourceT9nData(){try{let a=await I(this.portalItem);e.set("portalItemResource",a);let t=await C(a);e.set("lastSave",t.lastSave),e.set("portalItemResourceT9n",t??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(m.uiData??new Map);_().forEach(t=>a.get(t).expanded=this.isCollapse),e.set("uiData",a)}onSuggestionSelect(a){let t=a.detail,s=new Map(m.uiData??new Map),o=_(),p=c=>{let g=s.get(c);if(c===t){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(a){let t=a.target.value;e.set("currentLanguage",t)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${h.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let a=this._messages.languages,t=T(),s=a?.[t];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:a,_messages:t}=this,s=a?t?.collapseAll:t?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${h.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let a=e.get("uiData")?.get("locales"),t=D(a),s=Object.keys(u.partial);return S(t,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=u[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?w("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${d.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};x("instant-apps-language-translator",v);return v},"intl",a,c,d)
2
+ import d from"./JCQQIAIE.js";import c from"./M536RNIN.js";import a from"./4AFANEZZ.js";import{a as w}from"./ONARC6AZ.js";import{a as S}from"./7VD3Y4IF.js";import{a as y}from"./BM4VSEDV.js";import{b as x}from"./HVT2WBVC.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{G as f,I as r,h as $,i as n,q as b}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([d,,{a:u,b:T,e:C,f:I},{c:h,e:m,f:e,g:L,h:_,j:D,l:k}])=>{var E=$`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},v=class extends f{constructor(){super(),this._messages=y({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=b(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(a){e.set("saving",!0);try{let t=await this.getPortalItemResource();if(!t){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...a,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await t.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(t){return console.error("Error writing to portal item resource: ",t),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(a){e.set("portalItemResourceT9n",a)}load(){k()}willUpdate(a){(a.has("locales")||a.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:a,locales:t}=this,s=L(a,t);e.set("uiData",s)}initSelectLanguage(){let a=this.locales?.[0]?.locale??d.getLocale(),t=e.get("currentLanguage");this.locales.filter(s=>s.locale===t).length===0&&e.set("currentLanguage",a)}async initPortalItemResourceT9nData(){try{let a=await I(this.portalItem);e.set("portalItemResource",a);let t=await C(a);e.set("lastSave",t.lastSave),e.set("portalItemResourceT9n",t??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(m.uiData??new Map);_().forEach(t=>a.get(t).expanded=this.isCollapse),e.set("uiData",a)}onSuggestionSelect(a){let t=a.detail,s=new Map(m.uiData??new Map),o=_(),p=c=>{let g=s.get(c);if(c===t){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(a){let t=a.target.value;e.set("currentLanguage",t)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${h.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let a=this._messages.languages,t=T(),s=a?.[t];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:a,_messages:t}=this,s=a?t?.collapseAll:t?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${h.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let a=e.get("uiData")?.get("locales"),t=D(a),s=Object.keys(u.partial);return S(t,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=u[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?w("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${d.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};x("instant-apps-language-translator",v);return v},"intl",a,c,d)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as C}from"./C4T4HSG2.js";import"./HVT2WBVC.js";import d from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as $}from"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{b as F}from"./2I5LGZNX.js";import{E as c,F as h,G as I,I as u,h as y,i as l,l as p,q as b,t as L}from"./FFF5HUPM.js";import"./QPIMTXPL.js";export default $arcgis.t(([E,P,k,O,{b:v},{a:x,c:m,d:d,e:_,f:f,g:S}])=>{var M=y`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.width-full{width:100%!important}.height-full{height:100%!important}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-surface-2)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.footer-button-container{width:100%;display:flex;gap:10px}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}.overflow-auto{overflow:auto}}`,g=class extends I{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.zoomToScale=15358,this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.enablePhotoLocation=!1,this.enableMessageLocation=!1,this.aiImageExtraction=[],this.aiTextExtraction=[],this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=$({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._showFilterIcon=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),C(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,enablePhotoLocation:5,enableMessageLocation:5,aiImageExtraction:0,aiTextExtraction:0,sortFields:0,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16,_showFilterIcon:16}}static{this.styles=M}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),e.has("reportingOptions")&&this.hasUpdated&&this.reportingOptionsWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions}),e.has("sortFields")&&this.hasUpdated&&this._selectedLayerId&&(this._updatedSortOption==="alphabetical"||this._updatedSortOption==="reverseAlphabetical")&&this.sortFieldsWatchHandler()}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async reportingOptionsWatchHandler(){this.setInitExpressions(),await this.setMapView(),this.refreshLists()}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}sortFieldsWatchHandler(){let e=this._getConfiguredLayerSortInfo(this._selectedLayerId);if(e?.id===this._selectedLayerId&&this._flowItems[this._flowItems.length-1]==="feature-list"){if(e?.fields.length>0){let t=this._updatedSorting?.order==="asc"?"asc":"desc";this.sortOptionClick(e.fields[0],t,this._updatedSortOption)}}else this._flowItems[this._flowItems.length-1]==="feature-list"&&this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this._showFilterIcon=this._currentLayerExpressions?.length>0}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success .label=${this._translations.notification} @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${h(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger .label=${this._translations.notification} @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success .label=${this._translations.notification} @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${h(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger .label=${this._translations.notification} @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader .label=${this._translations.loading} scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-dialog aria-labelledby=modal-title class="modal" .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} kind=brand @calciteDialogClose=${()=>{this._closeFilter()}} .open=${this._filterOpen} width=s><div>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>{this._closeFilter()}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${h(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-dialog>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions(),this._showFilterIcon=this._currentLayerExpressions?.length>0)}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_getConfiguredLayerSortInfo(e){return this.sortFields&&this.sortFields.layers.find(t=>t.id===e)||null}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField,t=this._getConfiguredLayerSortInfo(this._selectedLayerId);return l`<calcite-popover auto-close .label=${this._translations.sortOptions} offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${h(this._sortPopoverNode)}><calcite-list .label=${this._translations.sortOptions} selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let i=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;i!==void 0&&this.sortOptionClick(i,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let i=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;i&&this.sortOptionClick(i,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}${t&&l`<calcite-list-item .label=${this._translations.sortAlphabetical} @calciteListItemSelect=${()=>{let i=this._getConfiguredLayerSortInfo(this._selectedLayerId);i?.fields&&this.sortOptionClick(i.fields[0],"asc","alphabetical")}} .selected=${this._updatedSortOption==="alphabetical"} value=alphabetical></calcite-list-item><calcite-list-item .label=${this._translations.reverseSortAlphabetical} @calciteListItemSelect=${()=>{let i=this._getConfiguredLayerSortInfo(this._selectedLayerId);i?.fields&&this.sortOptionClick(i.fields[0],"desc","reverseAlphabetical")}} .selected=${this._updatedSortOption==="reverseAlphabetical"} value=reverseAlphabetical></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${h(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature app-name=reporter .aiImageExtraction=${this.aiImageExtraction} .aiTextExtraction=${this.aiTextExtraction} class="height-full overflow-auto" customize-submit .enableSearch=${this.enableSearch} .enablePhotoLocation=${this.enablePhotoLocation} .enableMessageLocation=${this.enableMessageLocation} .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${h(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._showSubmitCancelButton=!1,this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this._showSubmitCancelButton=!1,this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){if(await this.setSelectedFeatures([]),this._editableLayerIds.length===1)this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"];else{let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);this.floorLevel&&e?.floorInfo?.floorField&&this._updateFloorDefinitionExpression(e),this._layerList.value&&await this._layerList.value.refresh(),this._flowItems=["layer-list"]}}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"||e==="alphabetical"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._getConfiguredLayerSortInfo(this._selectedLayerId)?.fields?.[0]||"",a=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:e==="alphabetical"||e==="reverseAlphabetical"?s:i,r=!!i&&(e==="highestVoted"||e==="lowestVoted"),o=!!s&&(e==="alphabetical"||e==="reverseAlphabetical");this._updatedSorting={field:a||"",order:t},this._updatedSortOption=r||o||!(e==="highestVoted"||e==="lowestVoted"||e==="alphabetical"||e==="reverseAlphabetical")?e:"newest"}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions(),this._showFilterIcon=this._currentLayerExpressions?.length>0),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._showFilterIcon;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} show-error-when-no-features .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${h(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._handleFilterListReset()}} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${h(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${h(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>{this.updatingFeatureDetails(i.detail)}} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${h(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back .label=${this._translations.back} @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent .label=${this._translations.toggleListView} @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next .label=${this._translations.next} @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${h(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await S([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=E.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],r=!1;t.results.length>0&&t.results.forEach(n=>{n.type==="graphic"&&i.push(n.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),r=a.length>0);let o=s.concat(a);if(o.length>0){this.mapView.popupEnabled=!0;let n={features:o,location:e.mapPoint,updateLocationEnabled:!r};await this.mapView.openPopup(n)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=new O({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let r of this._mapImageryLayersId){let o=this.mapView&&await d(this.mapView,r);if(o?.url&&t)try{let n=await k?.identify(o.url,t);if(n?.results?.length){s=n.results,i=o;break}}catch(n){console.error(n)}}let a=[];return s.forEach(r=>{let o=r.layerId,n=i?.sublayers?.items.find(V=>V.id===o),w=n?.popupTemplate;n?.popupEnabled&&w&&(r.feature.popupTemplate=w,a.push(r.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i?new P({where:`${i} = '${t}'`}):null}}async getLayersToShowInList(){let e=this.mapView&&await x(this.mapView,!1),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:parseInt(this.level,10)}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await v([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this._showFilterIcon=this._currentLayerExpressions?.length>0,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let r=s.expressions?.find(o=>o.id===a.id);r!=null&&(a.name=r.name)}))})}};F("crowdsource-reporter",g);return g},"core/reactiveUtils","layers/support/FeatureFilter","rest/identify","rest/support/IdentifyParameters",a,d)
2
+ import{a as C}from"./S4ZMJ42A.js";import d from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./HVT2WBVC.js";import{a as $}from"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import{b as F}from"./2I5LGZNX.js";import{E as c,F as h,G as I,I as u,h as y,i as l,l as p,q as b,t as L}from"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([E,P,k,O,{b:v},{a:x,c:m,d:d,e:_,f:f,g:S}])=>{var M=y`@layer{:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-surface-2)}.width-full{width:100%!important}.height-full{height:100%!important}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-surface-2)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.footer-button-container{width:100%;display:flex;gap:10px}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}.overflow-auto{overflow:auto}}`,g=class extends I{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.zoomToScale=15358,this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.enablePhotoLocation=!1,this.enableMessageLocation=!1,this.aiImageExtraction=[],this.aiTextExtraction=[],this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=$({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._showFilterIcon=!1,this._createFeature=c(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=c(),this._featureList=c(),this._selectedRelatedFeature=[],this._layerList=c(),this._createRelatedFeature=c(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=c(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlertNode=c(),this._commentSubmittedAlertNode=c(),this._sortPopoverNode=c(),this.togglePanel=b(),C(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,enablePhotoLocation:5,enableMessageLocation:5,aiImageExtraction:0,aiTextExtraction:0,sortFields:0,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16,_showFilterIcon:16}}static{this.styles=M}static{this.shadowRootOptions=L}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),e.has("reportingOptions")&&this.hasUpdated&&this.reportingOptionsWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions}),e.has("sortFields")&&this.hasUpdated&&this._selectedLayerId&&(this._updatedSortOption==="alphabetical"||this._updatedSortOption==="reverseAlphabetical")&&this.sortFieldsWatchHandler()}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async reportingOptionsWatchHandler(){this.setInitExpressions(),await this.setMapView(),this.refreshLists()}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}sortFieldsWatchHandler(){let e=this._getConfiguredLayerSortInfo(this._selectedLayerId);if(e?.id===this._selectedLayerId&&this._flowItems[this._flowItems.length-1]==="feature-list"){if(e?.fields.length>0){let t=this._updatedSorting?.order==="asc"?"asc":"desc";this.sortOptionClick(e.fields[0],t,this._updatedSortOption)}}else this._flowItems[this._flowItems.length-1]==="feature-list"&&this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){await this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList!=null)await this._filterList.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t,this._showFilterIcon=this._currentLayerExpressions?.length>0}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`${this._reportSubmitted&&l`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success .label=${this._translations.notification} @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${h(this._reportSubmittedAlertNode)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger .label=${this._translations.notification} @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&l`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success .label=${this._translations.notification} @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.commentSubmittedMessage||this._translations.commentSubmittedMsg)??""} ${h(this._commentSubmittedAlertNode)}></div></calcite-alert>`||""}${this._addingCommentFailed&&l`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger .label=${this._translations.notification} @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this._adjustAlertStyles()}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class=${`width-full ${t}`}>${this.mapView?l`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:l`<calcite-loader .label=${this._translations.loading} scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&l`<calcite-dialog aria-labelledby=modal-title class="modal" .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} kind=brand @calciteDialogClose=${()=>{this._closeFilter()}} .open=${this._filterOpen} width=s><div>${this.mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>{this._closeFilter()}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList?.filterCount>0)}} .view=${this.mapView} ${h(this._setFilterList)}></instant-apps-filter-list>`||""}</div></calcite-dialog>`||""}_setFilterList(e){this._filterList=e,e&&(e.autoUpdateUrl=!1,e.resetBtn=this.isMobile,e.resetFiltersOnDisconnect=!1,e.zoomBtn=!1)}_adjustAlertStyles(){this.reportSubmittedMessage&&this._reportSubmittedAlertNode.value?.children[0]&&(this._reportSubmittedAlertNode.value.children[0].style.margin="0px"),this.commentSubmittedMessage&&this._commentSubmittedAlertNode.value?.children[0]&&(this._commentSubmittedAlertNode.value.children[0].style.margin="0px")}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions(),this._showFilterIcon=this._currentLayerExpressions?.length>0)}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i,this._sortPopoverNode.value&&(this._sortPopoverNode.value.open=!1)}_getConfiguredLayerSortInfo(e){return this.sortFields&&this.sortFields.layers.find(t=>t.id===e)||null}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField,t=this._getConfiguredLayerSortInfo(this._selectedLayerId);return l`<calcite-popover auto-close .label=${this._translations.sortOptions} offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover ${h(this._sortPopoverNode)}><calcite-list .label=${this._translations.sortOptions} selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&l`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let i=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;i!==void 0&&this.sortOptionClick(i,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let i=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;i&&this.sortOptionClick(i,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}${t&&l`<calcite-list-item .label=${this._translations.sortAlphabetical} @calciteListItemSelect=${()=>{let i=this._getConfiguredLayerSortInfo(this._selectedLayerId);i?.fields&&this.sortOptionClick(i.fields[0],"asc","alphabetical")}} .selected=${this._updatedSortOption==="alphabetical"} value=alphabetical></calcite-list-item><calcite-list-item .label=${this._translations.reverseSortAlphabetical} @calciteListItemSelect=${()=>{let i=this._getConfiguredLayerSortInfo(this._selectedLayerId);i?.fields&&this.sortOptionClick(i.fields[0],"desc","reverseAlphabetical")}} .selected=${this._updatedSortOption==="reverseAlphabetical"} value=reverseAlphabetical></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .loading=${this._showLoadingIndicator} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&l`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${h(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature app-name=reporter .aiImageExtraction=${this.aiImageExtraction} .aiTextExtraction=${this.aiTextExtraction} class="height-full overflow-auto" customize-submit .enableSearch=${this.enableSearch} .enablePhotoLocation=${this.enablePhotoLocation} .enableMessageLocation=${this.enableMessageLocation} .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${h(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._showSubmitCancelButton=!1,this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this._showSubmitCancelButton=!1,this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromCreateRelatedFeaturePanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){if(await this.setSelectedFeatures([]),this._editableLayerIds.length===1)this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"];else{let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);this.floorLevel&&e?.floorInfo?.floorField&&this._updateFloorDefinitionExpression(e),this._layerList.value&&await this._layerList.value.refresh(),this._flowItems=["layer-list"]}}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];if(this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(a=>{t.includes(a.id)&&(this._validLayers.push(a),a.visible||this._nonVisibleValidLayers.push(a),this._getLayersConfig(a.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[a.id]&&this._layerItemsHash[a.id].supportsAdd&&s.push(a.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,!this._urlParamsLoaded&&this._editableLayerIds.length>1&&this.layerId&&this.objectId){let a=this.mapView&&await d(this.mapView,this.layerId);a&&await this.displayFeaturesList({detail:{layerId:a.id,layerName:a.title}}),this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams()}}}async displayFeaturesList(e){this._showLoadingIndicator=!0,await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId,this._showLoadingIndicator=!1}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"||e==="alphabetical"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._getConfiguredLayerSortInfo(this._selectedLayerId)?.fields?.[0]||"",a=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:e==="alphabetical"||e==="reverseAlphabetical"?s:i,r=!!i&&(e==="highestVoted"||e==="lowestVoted"),o=!!s&&(e==="alphabetical"||e==="reverseAlphabetical");this._updatedSorting={field:a||"",order:t},this._updatedSortOption=r||o||!(e==="highestVoted"||e==="lowestVoted"||e==="alphabetical"||e==="reverseAlphabetical")?e:"newest"}async backFromFilterPanel(){this._filterList!=null&&(this._currentLayerExpressions=await this._filterList.getCurrentLayerExpressions(),this._showFilterIcon=this._currentLayerExpressions?.length>0),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await f(this.mapView);e.relationships?.some(i=>{let s=t?.filter(a=>e.url===a.url&&a.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._showFilterIcon;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&l`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&l`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${l`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} show-error-when-no-features .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${h(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&l`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._handleFilterListReset()}} @filterUpdate=${()=>{let e=this._filterList?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${h(this._setFilterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&l`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${h(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>{this.updatingFeatureDetails(i.detail)}} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${h(this._featureDetails)}></feature-details>${t&&l`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return l`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=both id=solutions-back .label=${this._translations.back} @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent .label=${this._translations.toggleListView} @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-flip-rtl=both icon-start=chevron-right id=solutions-next .label=${this._translations.next} @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return l`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&l`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${h(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await S([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return l`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){this.mapView&&await f(this.mapView),await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=E.on(()=>this.mapView,"click",e=>{this.mapView&&(this.mapView.popupEnabled=!1),this.onMapClick(e)})}async onMapClick(e){if(!(this._flowItems[this._flowItems.length-1]==="feature-create"||this._flowItems[this._flowItems.length-1]==="add-comment")&&this.mapView){let t=await this.mapView.hitTest(e),i=[],s=[],a=[],r=!1;t.results.length>0&&t.results.forEach(n=>{n.type==="graphic"&&i.push(n.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(a=await this._getIdentifiedGraphics(e.mapPoint),r=a.length>0);let o=s.concat(a);if(o.length>0){this.mapView.popupEnabled=!0;let n={features:o,location:e.mapPoint,updateLocationEnabled:!r};await this.mapView.openPopup(n)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});this._selectedLayer&&this._selectedFeature.length>0&&this._selectedLayer.id===t[0]?.layer?.id&&t[0].attributes[this._selectedLayer.objectIdField]===this._selectedFeature[0].attributes[this._selectedLayer.objectIdField]||t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=new O({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i,s=[];for(let r of this._mapImageryLayersId){let o=this.mapView&&await d(this.mapView,r);if(o?.url&&t)try{let n=await k?.identify(o.url,t);if(n?.results?.length){s=n.results,i=o;break}}catch(n){console.error(n)}}let a=[];return s.forEach(r=>{let o=r.layerId,n=i?.sublayers?.items.find(V=>V.id===o),w=n?.popupTemplate;n?.popupEnabled&&w&&(r.feature.popupTemplate=w,a.push(r.feature))}),a}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let a=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&a&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i?new P({where:`${i} = '${t}'`}):null}}async getLayersToShowInList(){let e=this.mapView&&await x(this.mapView,!1),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),await this.handleSelectedLayersFilter(),this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:parseInt(this.level,10)}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await v([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this._showFilterIcon=this._currentLayerExpressions?.length>0,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}async resetFilterList(){await this._filterList?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:a}=i;s&&a&&e.push(`(${a})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables.toArray()).forEach(t=>{if(t.type==="map-image"&&t.popupEnabled&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(a=>a.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(a=>{let r=s.expressions?.find(o=>o.id===a.id);r!=null&&(a.name=r.name)}))})}};F("crowdsource-reporter",g);return g},"core/reactiveUtils","layers/support/FeatureFilter","rest/identify","rest/support/IdentifyParameters",a,d)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import d from"./EKRMEQQI.js";import"./HYQVSB6C.js";import c from"./N2LDQKCJ.js";import"./A6VVARNG.js";import"./ONARC6AZ.js";import"./NQH7ZZWD.js";import"./S37TPZAO.js";import"./SJ7HTNAT.js";import b from"./FS5WR74E.js";import a from"./UBEU6ULP.js";import"./2B4SGB3I.js";import"./I2NTSKBD.js";import"./AE5HNAOV.js";import"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./2I5LGZNX.js";import"./FFF5HUPM.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,{b:o}])=>{return o},a,b,c,d)
2
+ import d from"./YGWYD3LU.js";import"./HYQVSB6C.js";import c from"./MJ6JD7WX.js";import"./A6VVARNG.js";import"./ONARC6AZ.js";import"./NQH7ZZWD.js";import"./S37TPZAO.js";import"./TLY6ZEKN.js";import b from"./UBPCOTIY.js";import a from"./PYPVVSIX.js";import"./2B4SGB3I.js";import"./I2NTSKBD.js";import"./ACTJS4TX.js";import"./XF5N3NI5.js";import"./UBPOT5V3.js";import"./ISFTCFSJ.js";import"./TEHBW75B.js";import"./IHG7KTNC.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./N22MFQSQ.js";import"./N7BXCDA3.js";import"./ZX3UHK6P.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LP2JYX4X.js";import"./GF4QELNV.js";import"./AYSQIO6L.js";import"./YQHYMLC7.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./2I5LGZNX.js";import"./FFF5HUPM.js";import"./EXBEKVP5.js";export default $arcgis.t(([,,,{b:o}])=>{return o},a,b,c,d)