@esri/solutions-components 1.0.0-next.20250501.2 → 1.0.0-next.20250506.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (707) hide show
  1. package/dist/cdn/{NSCO46UB.js → 24HG25VK.js} +3 -3
  2. package/dist/cdn/{JD7Q6C2C.js → 25FSOTFW.js} +2 -2
  3. package/dist/cdn/{ITVDBPSA.js → 277TP75D.js} +2 -2
  4. package/dist/cdn/{VS4BFKH5.js → 2CTI34Z6.js} +3 -3
  5. package/dist/cdn/{R6JBLWE7.js → 2OUKMEGJ.js} +2 -2
  6. package/dist/cdn/{RCNFZSA5.js → 2OXZPI6J.js} +2 -2
  7. package/dist/cdn/{UWLZA6RY.js → 2VGSUSSJ.js} +2 -2
  8. package/dist/cdn/32ADEBH7.js +4 -0
  9. package/dist/cdn/{LNPKEFYF.js → 343QIIN4.js} +2 -2
  10. package/dist/cdn/{YZMHYMNZ.js → 3SIDE2MZ.js} +2 -2
  11. package/dist/cdn/{3L5P4SFV.js → 3V6CMPYL.js} +2 -2
  12. package/dist/cdn/{C75GZINQ.js → 3ZAC7KPY.js} +3 -3
  13. package/dist/cdn/{5YGFEQJH.js → 44EW25X7.js} +2 -2
  14. package/dist/cdn/{34WBNSBV.js → 47RKZZYU.js} +2 -2
  15. package/dist/cdn/{XWVXILJ6.js → 4C3ALUA4.js} +2 -2
  16. package/dist/cdn/{XRSL7RGR.js → 4DVIE54A.js} +2 -2
  17. package/dist/cdn/{JRNC7PCQ.js → 4FO53H2N.js} +2 -2
  18. package/dist/cdn/{NOAVPB5F.js → 4KMKJ4MQ.js} +2 -2
  19. package/dist/cdn/{CVYUV5YV.js → 4NGMIXLU.js} +2 -2
  20. package/dist/cdn/{PIBX77IR.js → 4NO5UFRF.js} +1 -1
  21. package/dist/cdn/{FJ6RRUAZ.js → 4OVM4MIC.js} +2 -2
  22. package/dist/cdn/4PTXN5WN.js +25 -0
  23. package/dist/cdn/{4BUCDYBI.js → 4QTVQTWW.js} +2 -2
  24. package/dist/cdn/{3FL6VQP4.js → 4S2LGGIS.js} +2 -2
  25. package/dist/cdn/{HRY2AWQR.js → 4TK6UC7L.js} +2 -2
  26. package/dist/cdn/{IRKP2OK7.js → 4TNRV5HQ.js} +2 -2
  27. package/dist/cdn/{JYHXLAK7.js → 5IPD66RZ.js} +1 -1
  28. package/dist/cdn/{YPMMBOZ4.js → 5KMYTALG.js} +2 -2
  29. package/dist/cdn/{YH55Y5MP.js → 5MZCRWR6.js} +2 -2
  30. package/dist/cdn/{NDRFJNB5.js → 5RPZREL2.js} +2 -2
  31. package/dist/cdn/{RGNEZPQ6.js → 5S4HGJEN.js} +2 -2
  32. package/dist/cdn/{GGA2BKBI.js → 5VVYQUIK.js} +2 -2
  33. package/dist/cdn/{IMLKKE2U.js → 5XCBVPEJ.js} +1 -1
  34. package/dist/cdn/{UTX33TLK.js → 6ADX5YCX.js} +2 -2
  35. package/dist/cdn/6IOBEPUO.js +4 -0
  36. package/dist/cdn/{OJMZUZGG.js → 6MB7FU4Y.js} +2 -2
  37. package/dist/cdn/{D2T5W4MH.js → 6MOBEALK.js} +2 -2
  38. package/dist/cdn/{SERFTFK4.js → 6YK2RFGE.js} +2 -2
  39. package/dist/cdn/77FG2UXK.js +4 -0
  40. package/dist/cdn/{NGQYRRMX.js → 7ACSM2YB.js} +2 -2
  41. package/dist/cdn/{R4M6CYMY.js → 7K2EWZ4V.js} +1 -1
  42. package/dist/cdn/{RYMHJ7M6.js → 7KYKOF2I.js} +2 -2
  43. package/dist/cdn/{NHOULH2W.js → 7O4PDXW4.js} +2 -2
  44. package/dist/cdn/{GYTWI2N3.js → 7UJOIQQR.js} +2 -2
  45. package/dist/cdn/{FSFU2N3B.js → 7ZUTU5RY.js} +2 -2
  46. package/dist/cdn/A26DEWRW.js +4 -0
  47. package/dist/cdn/A2AGIHZY.js +18 -0
  48. package/dist/cdn/A5UYRD2U.js +4 -0
  49. package/dist/cdn/{RFBZVECY.js → AGGRBVNS.js} +2 -2
  50. package/dist/cdn/{XA4WRYB3.js → AIWA7X7G.js} +2 -2
  51. package/dist/cdn/{AVVACE2H.js → AKMNIUXT.js} +6 -6
  52. package/dist/cdn/{D7MB5F4I.js → ALKYMGVV.js} +1 -1
  53. package/dist/cdn/{5K2X6CBZ.js → ASGQIVIB.js} +2 -2
  54. package/dist/cdn/{ALZYWZZK.js → AY657GGH.js} +2 -2
  55. package/dist/cdn/{5KCRA4JF.js → B66A7LZQ.js} +2 -2
  56. package/dist/cdn/{KPPOT7GR.js → BB4CBTJK.js} +2 -2
  57. package/dist/cdn/{3I7ZK5FK.js → BXNFXKXV.js} +2 -2
  58. package/dist/cdn/{MQKFPPUQ.js → C2RLNEU4.js} +2 -2
  59. package/dist/cdn/{33DZLRWA.js → C6XZBUE2.js} +3 -3
  60. package/dist/cdn/{YHUDJET2.js → C7EQDZ4M.js} +2 -2
  61. package/dist/cdn/{PE2NGOSN.js → CADJZG3Z.js} +2 -2
  62. package/dist/cdn/{CPHOXIAS.js → CAGLPIPF.js} +2 -2
  63. package/dist/cdn/{M6OKQSGJ.js → CPBVNIA2.js} +2 -2
  64. package/dist/cdn/{IIFJMCMO.js → CQTEVIDR.js} +2 -2
  65. package/dist/cdn/{2LRVE3JC.js.LEGAL.txt → D473H7YD.js} +1 -1
  66. package/dist/cdn/{GV6574C7.js → D4XAHC4N.js} +2 -2
  67. package/dist/cdn/{OQMSIWHM.js → DBN6GJS6.js} +2 -2
  68. package/dist/cdn/{WXBPYKCV.js → DC3N7IST.js} +1 -1
  69. package/dist/cdn/{7NQT5MYQ.js → DCZKZQPQ.js} +2 -2
  70. package/dist/cdn/{SHSCJK7K.js → DFZH4JDP.js} +2 -2
  71. package/dist/cdn/{Q4QJIANV.js → DIGEXEVD.js} +2 -2
  72. package/dist/cdn/{7CC4UOSP.js → DMTCZQGB.js} +1 -1
  73. package/dist/cdn/DOADYGDB.js +4 -0
  74. package/dist/cdn/{EDYWDMUF.js → DOTDQSSL.js} +2 -2
  75. package/dist/cdn/{QAV3ZXVX.js → DPNSCBBO.js} +1 -1
  76. package/dist/cdn/{NQTVJEQJ.js → DW6QFLMC.js} +2 -2
  77. package/dist/cdn/{DNQVWK3Q.js → DXQ3LDCB.js} +2 -2
  78. package/dist/cdn/{TXARZDSW.js → E4P22JZK.js} +1 -1
  79. package/dist/cdn/{E6BIPFS4.js → E7BM2VNY.js} +2 -2
  80. package/dist/cdn/{SALTFRJ5.js → EELLYXNN.js} +1 -1
  81. package/dist/cdn/{UBKKMKS7.js → EIQNRR4P.js} +2 -2
  82. package/dist/cdn/{LAEMDHMW.js → EJZKFB4Z.js} +2 -2
  83. package/dist/cdn/{2DEOX2UQ.js → EOYZ5MEY.js} +2 -2
  84. package/dist/cdn/{62C7U5GV.js → EYFKB5UR.js} +1 -1
  85. package/dist/cdn/{A7LA5V6P.js → EYVTUHVJ.js} +2 -2
  86. package/dist/cdn/{W7PI4HOW.js → F2NPMFYG.js} +2 -2
  87. package/dist/cdn/{T7EH5UZA.js → F777BKYK.js} +2 -2
  88. package/dist/cdn/{JJ5LIG3E.js → FAZOBB62.js} +2 -2
  89. package/dist/cdn/{QI7CAGDL.js → FM3TGG3U.js} +1 -1
  90. package/dist/cdn/{OZZ6AIHM.js → FO33AVRG.js} +2 -2
  91. package/dist/cdn/{IV5VX3CU.js → FWL2VP7W.js} +2 -2
  92. package/dist/cdn/{LGYRQXSU.js → FXQSFX4Q.js} +2 -2
  93. package/dist/cdn/{3XPDS33A.js → GAQOXRME.js} +1 -1
  94. package/dist/cdn/{PLPFPFMS.js → GG4OVZHW.js} +2 -2
  95. package/dist/cdn/{TN4SBIJW.js → GQO2KP3I.js} +1 -1
  96. package/dist/cdn/GVRBVSQP.js +4 -0
  97. package/dist/cdn/{NMJB2BJ2.js → GVS6OC6I.js} +2 -2
  98. package/dist/cdn/{5NCAUJ2M.js → H3GY7WZY.js} +2 -2
  99. package/dist/cdn/{6WN23BQU.js → H43GRPO5.js} +2 -2
  100. package/dist/cdn/HHY7QSTW.js +4 -0
  101. package/dist/cdn/{WVFYDL3N.js → HK7ORFOY.js} +2 -2
  102. package/dist/cdn/{LQVQ5SYL.js → HP45S4UO.js} +2 -2
  103. package/dist/cdn/{NA5LJZU7.js → HPADRK2N.js} +2 -2
  104. package/dist/cdn/{C7FMD3GO.js → HPLREYIV.js} +2 -2
  105. package/dist/cdn/{2WYQDE5Z.js → HPSATKU6.js} +2 -2
  106. package/dist/cdn/{OPC6J6MC.js → HQLVVCY5.js} +2 -2
  107. package/dist/cdn/{LQYOJKKM.js → HSIGQHGC.js} +2 -2
  108. package/dist/cdn/{TA7QL4YX.js → HUP3OLOI.js} +2 -2
  109. package/dist/cdn/{35NYD4WF.js → HVFFPMUB.js} +2 -2
  110. package/dist/cdn/IC5TQPF6.js +4 -0
  111. package/dist/cdn/{NMC4BPV4.js → IDFBPJOG.js} +2 -2
  112. package/dist/cdn/IFPYXLV5.js +4 -0
  113. package/dist/cdn/{ZXEH2RP3.js → INJHMY2P.js} +2 -2
  114. package/dist/cdn/{ISCLBHEK.js → IOG3GJFK.js} +2 -2
  115. package/dist/cdn/{Q46U6YLX.js → ISRQ3BAT.js} +2 -2
  116. package/dist/cdn/{DOQ3OAB6.js → ITICLHXB.js} +2 -2
  117. package/dist/cdn/J22XBVJX.js +4 -0
  118. package/dist/cdn/{WHIJZGSO.js → J3KEXR6N.js} +2 -2
  119. package/dist/cdn/{WPW7HPVB.js → JAH6KVAQ.js} +2 -2
  120. package/dist/cdn/JALWXGJR.js +4 -0
  121. package/dist/cdn/{MLWHYPW3.js → JDFGWL2P.js} +2 -2
  122. package/dist/cdn/{2627OC35.js → JF22WXGR.js} +2 -2
  123. package/dist/cdn/{FR5AUKJH.js → JIG5WCW6.js} +2 -2
  124. package/dist/cdn/{Q7CCSRAE.js → JMLPIAZ5.js} +2 -2
  125. package/dist/cdn/JOKITFSD.js +4 -0
  126. package/dist/cdn/{EFG5WHVI.js → JPVITM3R.js} +2 -2
  127. package/dist/cdn/{QPZ5DWIV.js → JSL7F3AB.js} +1 -1
  128. package/dist/cdn/{PKQMLT3F.js → K36J5DBT.js} +2 -2
  129. package/dist/cdn/{7PXLNWUW.js → K6YZHC7R.js} +2 -2
  130. package/dist/cdn/{LA4ADRHN.js → KA75RHIE.js} +2 -2
  131. package/dist/cdn/{ALIYBPUW.js → KIJ2HVBA.js} +2 -2
  132. package/dist/cdn/{63OERAOC.js → KKHP5J6S.js} +2 -2
  133. package/dist/cdn/KOTWOAEH.js +18 -0
  134. package/dist/cdn/{BVDPSX3N.js → KR424OVE.js} +2 -2
  135. package/dist/cdn/{X7OXK5DE.js → KTYRFLWJ.js} +1 -1
  136. package/dist/cdn/{UX2H3Z6R.js → KUXTUEIU.js} +2 -2
  137. package/dist/cdn/{BBIZPRBD.js → KYFGGGZO.js} +2 -2
  138. package/dist/cdn/{5BRHUPJQ.js → LA3TMPSQ.js} +4 -4
  139. package/dist/cdn/{JI5JTAYE.js → LEUJGAQT.js} +2 -2
  140. package/dist/cdn/{RCBI5D2Z.js → LITGQOKY.js} +2 -2
  141. package/dist/cdn/{7PCDZNHO.js → LOAR7D23.js} +2 -2
  142. package/dist/cdn/{UTQQDI5Q.js → LPQXKCT4.js} +2 -2
  143. package/dist/cdn/{GFN5IPB5.js → LT2L2HN5.js} +2 -2
  144. package/dist/cdn/{NWNCFKQJ.js → MAJHV5YB.js} +2 -2
  145. package/dist/cdn/{JS3KPL65.js → MBBEW2XH.js} +2 -2
  146. package/dist/cdn/{5A5OYCRM.js → MBYSAPXD.js} +2 -2
  147. package/dist/cdn/{NAWXGWKC.js → MG5AEQHW.js} +3 -3
  148. package/dist/cdn/MINRT2AD.js +4 -0
  149. package/dist/cdn/MJWRLAA3.js +4 -0
  150. package/dist/cdn/{KOHHJ3Q4.js → MYNX7A4Q.js} +3 -3
  151. package/dist/cdn/{PMLO3UBD.js → MYSMFQDL.js} +2 -2
  152. package/dist/cdn/{KHUKO76X.js → MZNCDKNL.js} +2 -2
  153. package/dist/cdn/{2XJGOOBG.js → NEVOR7UF.js} +1 -1
  154. package/dist/cdn/NPMFAEBD.js +4 -0
  155. package/dist/cdn/{RU7VN5YX.js → NRDWJNF4.js} +2 -2
  156. package/dist/cdn/{LDSB3ZAB.js → NS5VBZHP.js} +2 -2
  157. package/dist/cdn/NU2OXFST.js +4 -0
  158. package/dist/cdn/{IERS74VR.js → NVZHVYYH.js} +2 -2
  159. package/dist/cdn/{EH3TUCW5.js → NWE65CEC.js} +1 -1
  160. package/dist/cdn/NWJLUJRF.js +4 -0
  161. package/dist/cdn/{XDTQLWOL.js → NXK4MWLX.js} +2 -2
  162. package/dist/cdn/{WZV2UPIA.js → O3VJRNON.js} +3 -3
  163. package/dist/cdn/{LOCRYUB5.js → O55NB5I2.js} +2 -2
  164. package/dist/cdn/{QNEZFCY7.js → OATNKA2V.js} +2 -2
  165. package/dist/cdn/{EJ44YJGV.js → OLDFMVM6.js} +3 -3
  166. package/dist/cdn/{ZKUTSUQ5.js → OWMSCTHB.js} +2 -2
  167. package/dist/cdn/PFUQXONQ.js +8 -0
  168. package/dist/cdn/{RYWPGCGZ.js → PJMGGONS.js} +2 -2
  169. package/dist/cdn/{MMGJL263.js → PPFTCKIR.js} +2 -2
  170. package/dist/cdn/{3UJWEKFN.js → Q2IPYTRX.js} +2 -2
  171. package/dist/cdn/{M4NMK35G.js → Q2S2L2IR.js} +2 -2
  172. package/dist/cdn/QB6WECAO.js +4 -0
  173. package/dist/cdn/{HEEO2XNR.js → QCUKGKOV.js} +2 -2
  174. package/dist/cdn/{LTVV5X4C.js → QMDKVVH5.js} +2 -2
  175. package/dist/cdn/{Q4YN3UWN.js → QSYR7Q6X.js} +1 -1
  176. package/dist/cdn/{GDO2NL6R.js → R3MJUZCZ.js} +2 -2
  177. package/dist/cdn/{NAJHCCFK.js → REUOEGNX.js} +2 -2
  178. package/dist/cdn/{QAOKFIMA.js → RF2VI4N7.js} +2 -2
  179. package/dist/cdn/{HYKX4C5U.js → RGFAZJP6.js} +2 -2
  180. package/dist/cdn/{PYOZY3AA.js → RIHR2PJN.js} +2 -2
  181. package/dist/cdn/{VZMHIBV5.js → RIYF7P2C.js} +2 -2
  182. package/dist/cdn/RLWSZ4HQ.js +4 -0
  183. package/dist/cdn/{OSJ4PK7V.js → ROIVGYSM.js} +1 -1
  184. package/dist/cdn/{WYNYF36Y.js → RUTSW7HN.js} +1 -1
  185. package/dist/cdn/{QSK26NIR.js → S622E22B.js} +2 -2
  186. package/dist/cdn/{GMXHYAWW.js → SKNW5VCU.js} +2 -2
  187. package/dist/cdn/{HVXOFD44.js → SPON62E4.js} +2 -2
  188. package/dist/cdn/{SFN7KXBC.js → SQOEM3P5.js} +1 -1
  189. package/dist/cdn/SQRWE2MV.js +18 -0
  190. package/dist/cdn/{OO5QJAUV.js → STOKDNCN.js} +2 -2
  191. package/dist/cdn/{E575ADYG.js → SXRISHGN.js} +1 -1
  192. package/dist/cdn/SYZ2PD7V.js +18 -0
  193. package/dist/cdn/{XAP7KYLB.js → T4FPQT6Q.js} +1 -1
  194. package/dist/cdn/{YLWTVGEO.js → T6ACGRID.js} +2 -2
  195. package/dist/cdn/{BB7AEZC2.js → TKKZCD3D.js} +2 -2
  196. package/dist/cdn/{5OIPGQLN.js → TSVIA6LX.js} +2 -2
  197. package/dist/cdn/{O4U462PQ.js → TT45ZE3U.js} +2 -2
  198. package/dist/cdn/{QGQW73YS.js → TTIEVPAX.js} +2 -2
  199. package/dist/cdn/{JHQ47NZN.js → U4NSDOD5.js} +2 -2
  200. package/dist/cdn/{SHWFC6TE.js → UBBP433D.js} +1 -1
  201. package/dist/cdn/{2LRVE3JC.js → UBDWCH3J.js} +2 -2
  202. package/dist/cdn/{43UDVNH5.js → UBFXRGUL.js} +2 -2
  203. package/dist/cdn/{6LPZ6BWV.js → USL3KX2U.js} +2 -2
  204. package/dist/cdn/{3OSOBTXI.js → UYJS44LC.js} +2 -2
  205. package/dist/cdn/{ZIIYJYM3.js → V5XUAHEB.js} +1 -1
  206. package/dist/cdn/{3ZL6JNEH.js → V6J4NOFW.js} +2 -2
  207. package/dist/cdn/{6EQSCBDC.js → VERJI2SH.js} +2 -2
  208. package/dist/cdn/{KRMQR6PO.js → VHM7TR5J.js} +2 -2
  209. package/dist/cdn/{2LLKAVTV.js → VNWXPGNO.js} +2 -2
  210. package/dist/cdn/{ZJR4525B.js → VNZX57M6.js} +1 -1
  211. package/dist/cdn/VQQVMG7C.js +4 -0
  212. package/dist/cdn/{QSI6TV26.js → VSVG3AWA.js} +4 -4
  213. package/dist/cdn/{ETJDGNYP.js → VT6U64GN.js} +2 -2
  214. package/dist/cdn/VWSETFC3.js +18 -0
  215. package/dist/cdn/{JHQRE76I.js → VX7KAJNW.js} +2 -2
  216. package/dist/cdn/{VIFOVT2H.js → VXKC4BYB.js} +2 -2
  217. package/dist/cdn/{DKCZUP4C.js → VXNDYVZW.js} +2 -2
  218. package/dist/cdn/{KPKZMEKZ.js → VZ37PJTM.js} +2 -2
  219. package/dist/cdn/{URSDOYPK.js → VZG427AU.js} +2 -2
  220. package/dist/cdn/{DKOI4TMS.js → W3ANKXXH.js} +1 -1
  221. package/dist/cdn/{VTDPGZFT.js → W3XCI5GU.js} +2 -2
  222. package/dist/cdn/{WK4XUJYY.js → WCO2JYT7.js} +1 -1
  223. package/dist/cdn/{YOLXA6ZY.js → WD3NSCN4.js} +1 -1
  224. package/dist/cdn/{OGTPASHM.js → WFHI2T5X.js} +2 -2
  225. package/dist/cdn/{ZSBOSR2Q.js → WFZ4KL2P.js} +2 -2
  226. package/dist/cdn/{4PKH3ZTA.js → WG26EIDL.js} +2 -2
  227. package/dist/cdn/{7W774KKR.js → WKWF4ARW.js} +2 -2
  228. package/dist/cdn/{Y5QLVYUJ.js → WNHOXW2E.js} +2 -2
  229. package/dist/cdn/{M4YVWMXK.js → WNPZHTCP.js} +2 -2
  230. package/dist/cdn/{HSYJOXKH.js → WOWOQ2TS.js} +2 -2
  231. package/dist/cdn/{DRYWVFXX.js → WSNDSKW3.js} +2 -2
  232. package/dist/cdn/WVAVHWQN.js +18 -0
  233. package/dist/cdn/{YBHXQHED.js → WWH37ZAK.js} +1 -1
  234. package/dist/cdn/{4O2I2MFG.js → WXNVFGFS.js} +2 -2
  235. package/dist/cdn/{54TTZEMV.js → WY7PHM6L.js} +2 -2
  236. package/dist/cdn/{UZVXLXYQ.js → WZGXEUMM.js} +2 -2
  237. package/dist/cdn/{YQDNVPGZ.js → X3AF2OQY.js} +1 -1
  238. package/dist/cdn/{SDVEOIP6.js → X3VDJVLL.js} +2 -2
  239. package/dist/cdn/{RPBZ5L5A.js → XARWIX77.js} +2 -2
  240. package/dist/cdn/{RWVKAK4K.js → XF7VPD22.js} +2 -2
  241. package/dist/cdn/XRBMRHXH.js +18 -0
  242. package/dist/cdn/{B6D4QBVH.js → XYSFY3W6.js} +2 -2
  243. package/dist/cdn/{5F5ZEU66.js → XYWQ6JNM.js} +2 -2
  244. package/dist/cdn/{HQVT5GIH.js → Y4BDPKKL.js} +2 -2
  245. package/dist/cdn/{3GN3HS2Z.js → Y7WVUKZX.js} +2 -2
  246. package/dist/cdn/{3DYBNNJG.js → YCXOPVSF.js} +2 -2
  247. package/dist/cdn/{FVCUT5BD.js → YDW3WSTZ.js} +2 -2
  248. package/dist/cdn/{667HEELR.js → YEWPTOSA.js} +2 -2
  249. package/dist/cdn/{XBJF7MJ6.js → YHN2YRS5.js} +2 -2
  250. package/dist/cdn/{EQRWAUHH.js → YIDDZHZJ.js} +2 -2
  251. package/dist/cdn/{WSDRBWDO.js → YKDQJMLK.js} +2 -2
  252. package/dist/cdn/{XPPFPOAJ.js → YO66L5EQ.js} +2 -2
  253. package/dist/cdn/{74DCBZXT.js → YVK6HDUD.js} +2 -2
  254. package/dist/cdn/YWJHRAU6.js +9 -0
  255. package/dist/cdn/YXGKJSHK.js +6 -0
  256. package/dist/cdn/{KAHTIZBX.js → YYNMVPOT.js} +2 -2
  257. package/dist/cdn/{YFDRQUEW.js → Z2FRREMF.js} +1 -1
  258. package/dist/cdn/{MDMPQSN3.js → Z5KPLWAQ.js} +2 -2
  259. package/dist/cdn/{5FKQTJXQ.js → Z624TXCK.js} +2 -2
  260. package/dist/cdn/{4UUPLRGU.js → ZEFQFCIT.js} +1 -1
  261. package/dist/cdn/{LSUEYFIK.js → ZQ5UT5TX.js} +2 -2
  262. package/dist/cdn/ZRGZWYVN.js +18 -0
  263. package/dist/cdn/{QJI4YPT2.js → ZV26VFK3.js} +2 -2
  264. package/dist/cdn/{TS77EOZ2.js → ZXAYQBSO.js} +2 -2
  265. package/dist/cdn/ZY26SHW7.js +4 -0
  266. package/dist/cdn/{PFPXYDRH.js → ZZRTACNG.js} +2 -2
  267. package/dist/cdn/index.esm.js +2 -2
  268. package/dist/chunks/common.js +1 -1
  269. package/dist/chunks/downloadUtils.js +1 -1
  270. package/dist/chunks/index.js +405 -313
  271. package/dist/chunks/interfaces.js +1 -1
  272. package/dist/chunks/loadModules.js +1 -1
  273. package/dist/chunks/mapViewUtils.js +1 -1
  274. package/dist/chunks/pciUtils.js +1 -1
  275. package/dist/chunks/popupUtils.js +1 -1
  276. package/dist/chunks/publicNotificationStore.js +1 -1
  277. package/dist/chunks/queryUtils.js +1 -1
  278. package/dist/chunks/runtime.js +1 -1
  279. package/dist/chunks/solution-store.js +1 -1
  280. package/dist/chunks/templates.js +1 -1
  281. package/dist/chunks/useT9n.js +1 -1
  282. package/dist/components/arcgis-solution-assistant/customElement.d.ts +1 -0
  283. package/dist/components/arcgis-solution-assistant/customElement.js +1 -5
  284. package/dist/components/basemap-gallery/customElement.js +1 -25
  285. package/dist/components/buffer-tools/customElement.d.ts +36 -7
  286. package/dist/components/buffer-tools/customElement.js +1 -91
  287. package/dist/components/card-manager/customElement.d.ts +36 -8
  288. package/dist/components/card-manager/customElement.js +1 -41
  289. package/dist/components/consent-manager/customElement.d.ts +21 -4
  290. package/dist/components/consent-manager/customElement.js +1392 -1458
  291. package/dist/components/create-feature/customElement.d.ts +37 -7
  292. package/dist/components/create-feature/customElement.js +2 -106
  293. package/dist/components/create-related-feature/customElement.d.ts +12 -2
  294. package/dist/components/create-related-feature/customElement.js +1 -65
  295. package/dist/components/crowdsource-manager/customElement.d.ts +148 -28
  296. package/dist/components/crowdsource-manager/customElement.js +5 -213
  297. package/dist/components/crowdsource-reporter/customElement.d.ts +160 -32
  298. package/dist/components/crowdsource-reporter/customElement.js +1 -432
  299. package/dist/components/deduct-calculator/customElement.js +1 -46
  300. package/dist/components/delete-button/customElement.d.ts +16 -4
  301. package/dist/components/delete-button/customElement.js +1 -39
  302. package/dist/components/delete-dialog/customElement.d.ts +6 -2
  303. package/dist/components/delete-dialog/customElement.js +2 -17
  304. package/dist/components/edit-card/customElement.d.ts +20 -4
  305. package/dist/components/edit-card/customElement.js +1 -34
  306. package/dist/components/feature-details/customElement.d.ts +15 -3
  307. package/dist/components/feature-details/customElement.js +1 -82
  308. package/dist/components/feature-list/customElement.d.ts +65 -13
  309. package/dist/components/feature-list/customElement.js +2 -154
  310. package/dist/components/field-selection/customElement.js +1 -58
  311. package/dist/components/floor-filter/customElement.d.ts +5 -1
  312. package/dist/components/floor-filter/customElement.js +1 -35
  313. package/dist/components/info-card/customElement.d.ts +45 -9
  314. package/dist/components/info-card/customElement.js +2 -92
  315. package/dist/components/json-editor/customElement.d.ts +11 -1
  316. package/dist/components/json-editor/customElement.js +1 -137
  317. package/dist/components/layer-list/customElement.d.ts +20 -4
  318. package/dist/components/layer-list/customElement.js +1 -80
  319. package/dist/components/layer-table/customElement.d.ts +74 -16
  320. package/dist/components/layer-table/customElement.js +2 -345
  321. package/dist/components/map-card/customElement.d.ts +98 -18
  322. package/dist/components/map-card/customElement.js +1 -131
  323. package/dist/components/map-draw-tools/customElement.d.ts +22 -4
  324. package/dist/components/map-draw-tools/customElement.js +1 -94
  325. package/dist/components/map-fullscreen/customElement.js +1 -37
  326. package/dist/components/map-layer-picker/customElement.d.ts +52 -10
  327. package/dist/components/map-layer-picker/customElement.js +1 -115
  328. package/dist/components/map-legend/customElement.js +1 -25
  329. package/dist/components/map-picker/customElement.d.ts +5 -1
  330. package/dist/components/map-picker/customElement.js +1 -53
  331. package/dist/components/map-search/customElement.d.ts +12 -2
  332. package/dist/components/map-search/customElement.js +2 -44
  333. package/dist/components/map-select-tools/customElement.d.ts +47 -9
  334. package/dist/components/map-select-tools/customElement.js +2 -198
  335. package/dist/components/map-tools/customElement.d.ts +51 -9
  336. package/dist/components/map-tools/customElement.js +1 -66
  337. package/dist/components/pci-calculator/customElement.js +1 -58
  338. package/dist/components/pdf-download/customElement.d.ts +5 -1
  339. package/dist/components/pdf-download/customElement.js +1 -55
  340. package/dist/components/public-notification/customElement.d.ts +69 -13
  341. package/dist/components/public-notification/customElement.js +5 -350
  342. package/dist/components/refine-selection/customElement.js +1 -97
  343. package/dist/components/solution-arcticle-card/customElement.js +1 -37
  344. package/dist/components/solution-card/customElement.js +1 -37
  345. package/dist/components/solution-configuration/customElement.d.ts +11 -2
  346. package/dist/components/solution-configuration/customElement.js +1 -114
  347. package/dist/components/solution-contents/customElement.d.ts +9 -3
  348. package/dist/components/solution-contents/customElement.js +1 -13
  349. package/dist/components/solution-delete-dialog/customElement.js +1 -37
  350. package/dist/components/solution-deploy-dialog/customElement.js +1 -37
  351. package/dist/components/solution-deploy-panel/customElement.js +1 -37
  352. package/dist/components/solution-deployed-card/customElement.js +1 -37
  353. package/dist/components/solution-deployed-panel/customElement.js +1 -37
  354. package/dist/components/solution-deploying-panel/customElement.js +1 -37
  355. package/dist/components/solution-item/customElement.d.ts +15 -3
  356. package/dist/components/solution-item/customElement.js +1 -41
  357. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  358. package/dist/components/solution-item-accordion/customElement.js +1 -92
  359. package/dist/components/solution-item-details/customElement.d.ts +5 -1
  360. package/dist/components/solution-item-details/customElement.js +1 -48
  361. package/dist/components/solution-item-icon/customElement.d.ts +14 -4
  362. package/dist/components/solution-item-icon/customElement.js +6 -56
  363. package/dist/components/solution-item-sharing/customElement.d.ts +5 -1
  364. package/dist/components/solution-item-sharing/customElement.js +1 -39
  365. package/dist/components/solution-organization-variables/customElement.d.ts +5 -1
  366. package/dist/components/solution-organization-variables/customElement.js +1 -31
  367. package/dist/components/solution-resource-item/customElement.d.ts +2 -0
  368. package/dist/components/solution-resource-item/customElement.js +1 -87
  369. package/dist/components/solution-spatial-ref/customElement.d.ts +10 -2
  370. package/dist/components/solution-spatial-ref/customElement.js +1 -64
  371. package/dist/components/solution-template-data/customElement.d.ts +15 -7
  372. package/dist/components/solution-template-data/customElement.js +1 -29
  373. package/dist/components/solution-variables/customElement.d.ts +5 -1
  374. package/dist/components/solution-variables/customElement.js +1 -34
  375. package/dist/components/solutions-article-panel/customElement.js +1 -37
  376. package/dist/components/solutions-articles/customElement.js +1 -37
  377. package/dist/components/solutions-articles-shell/customElement.js +1 -37
  378. package/dist/components/solutions-deployed-panel/customElement.js +1 -37
  379. package/dist/components/solutions-deployed-shell/customElement.js +1 -37
  380. package/dist/components/solutions-filter/customElement.js +1 -37
  381. package/dist/components/solutions-panel/customElement.js +1 -38
  382. package/dist/components/solutions-shell/customElement.js +1 -37
  383. package/dist/components/spatial-ref/customElement.d.ts +10 -2
  384. package/dist/components/spatial-ref/customElement.js +1 -75
  385. package/dist/components/store-manager/customElement.d.ts +5 -1
  386. package/dist/components/store-manager/customElement.js +1 -26
  387. package/dist/docs/api.json +8 -8
  388. package/dist/docs/docs.json +20 -20
  389. package/dist/docs/web-types.json +8 -8
  390. package/dist/index.js +1 -1
  391. package/dist/loader.js +1 -1
  392. package/dist/utils/mapViewUtils.d.ts +3 -3
  393. package/dist/utils/queryUtils.d.ts +4 -4
  394. package/package.json +3 -20
  395. package/dist/cdn/2627OC35.js.LEGAL.txt +0 -0
  396. package/dist/cdn/2DEOX2UQ.js.LEGAL.txt +0 -0
  397. package/dist/cdn/2LLKAVTV.js.LEGAL.txt +0 -0
  398. package/dist/cdn/2WYQDE5Z.js.LEGAL.txt +0 -0
  399. package/dist/cdn/2XJGOOBG.js.LEGAL.txt +0 -0
  400. package/dist/cdn/33DZLRWA.js.LEGAL.txt +0 -3
  401. package/dist/cdn/34WBNSBV.js.LEGAL.txt +0 -0
  402. package/dist/cdn/35NYD4WF.js.LEGAL.txt +0 -0
  403. package/dist/cdn/3DKHAYTM.js +0 -4
  404. package/dist/cdn/3DKHAYTM.js.LEGAL.txt +0 -0
  405. package/dist/cdn/3DYBNNJG.js.LEGAL.txt +0 -0
  406. package/dist/cdn/3FL6VQP4.js.LEGAL.txt +0 -0
  407. package/dist/cdn/3GN3HS2Z.js.LEGAL.txt +0 -0
  408. package/dist/cdn/3I7ZK5FK.js.LEGAL.txt +0 -0
  409. package/dist/cdn/3L5P4SFV.js.LEGAL.txt +0 -0
  410. package/dist/cdn/3OSOBTXI.js.LEGAL.txt +0 -19
  411. package/dist/cdn/3UJWEKFN.js.LEGAL.txt +0 -0
  412. package/dist/cdn/3VIB765B.js +0 -4
  413. package/dist/cdn/3VIB765B.js.LEGAL.txt +0 -0
  414. package/dist/cdn/3XPDS33A.js.LEGAL.txt +0 -0
  415. package/dist/cdn/3ZL6JNEH.js.LEGAL.txt +0 -3
  416. package/dist/cdn/43UDVNH5.js.LEGAL.txt +0 -19
  417. package/dist/cdn/4BUCDYBI.js.LEGAL.txt +0 -0
  418. package/dist/cdn/4O2I2MFG.js.LEGAL.txt +0 -0
  419. package/dist/cdn/4PKH3ZTA.js.LEGAL.txt +0 -0
  420. package/dist/cdn/4R7NGALL.js +0 -4
  421. package/dist/cdn/4R7NGALL.js.LEGAL.txt +0 -0
  422. package/dist/cdn/4S47NFM3.js +0 -4
  423. package/dist/cdn/4S47NFM3.js.LEGAL.txt +0 -0
  424. package/dist/cdn/4UUPLRGU.js.LEGAL.txt +0 -0
  425. package/dist/cdn/4YQFQUCZ.js +0 -4
  426. package/dist/cdn/4YQFQUCZ.js.LEGAL.txt +0 -0
  427. package/dist/cdn/54TTZEMV.js.LEGAL.txt +0 -0
  428. package/dist/cdn/5A5OYCRM.js.LEGAL.txt +0 -3
  429. package/dist/cdn/5AG7YD7Y.js +0 -4
  430. package/dist/cdn/5AG7YD7Y.js.LEGAL.txt +0 -0
  431. package/dist/cdn/5BRHUPJQ.js.LEGAL.txt +0 -1113
  432. package/dist/cdn/5COTKFBX.js +0 -4
  433. package/dist/cdn/5COTKFBX.js.LEGAL.txt +0 -0
  434. package/dist/cdn/5F5ZEU66.js.LEGAL.txt +0 -0
  435. package/dist/cdn/5FKQTJXQ.js.LEGAL.txt +0 -0
  436. package/dist/cdn/5K2X6CBZ.js.LEGAL.txt +0 -3
  437. package/dist/cdn/5KCRA4JF.js.LEGAL.txt +0 -0
  438. package/dist/cdn/5KN7Z5XE.js +0 -6
  439. package/dist/cdn/5KN7Z5XE.js.LEGAL.txt +0 -145
  440. package/dist/cdn/5NCAUJ2M.js.LEGAL.txt +0 -0
  441. package/dist/cdn/5OIPGQLN.js.LEGAL.txt +0 -0
  442. package/dist/cdn/5YGFEQJH.js.LEGAL.txt +0 -0
  443. package/dist/cdn/62C7U5GV.js.LEGAL.txt +0 -0
  444. package/dist/cdn/63OERAOC.js.LEGAL.txt +0 -0
  445. package/dist/cdn/667HEELR.js.LEGAL.txt +0 -0
  446. package/dist/cdn/66AONU3N.js +0 -4
  447. package/dist/cdn/66AONU3N.js.LEGAL.txt +0 -0
  448. package/dist/cdn/6EQSCBDC.js.LEGAL.txt +0 -3
  449. package/dist/cdn/6LPZ6BWV.js.LEGAL.txt +0 -0
  450. package/dist/cdn/6WN23BQU.js.LEGAL.txt +0 -0
  451. package/dist/cdn/74DCBZXT.js.LEGAL.txt +0 -3
  452. package/dist/cdn/7CC4UOSP.js.LEGAL.txt +0 -19
  453. package/dist/cdn/7NQT5MYQ.js.LEGAL.txt +0 -0
  454. package/dist/cdn/7PCDZNHO.js.LEGAL.txt +0 -3
  455. package/dist/cdn/7PENT2WI.js +0 -4
  456. package/dist/cdn/7PENT2WI.js.LEGAL.txt +0 -0
  457. package/dist/cdn/7PXLNWUW.js.LEGAL.txt +0 -0
  458. package/dist/cdn/7S3CC4RV.js +0 -18
  459. package/dist/cdn/7S3CC4RV.js.LEGAL.txt +0 -3
  460. package/dist/cdn/7W774KKR.js.LEGAL.txt +0 -0
  461. package/dist/cdn/A7LA5V6P.js.LEGAL.txt +0 -0
  462. package/dist/cdn/ALIYBPUW.js.LEGAL.txt +0 -0
  463. package/dist/cdn/ALZYWZZK.js.LEGAL.txt +0 -0
  464. package/dist/cdn/ARRKQ2WZ.js +0 -4
  465. package/dist/cdn/ARRKQ2WZ.js.LEGAL.txt +0 -0
  466. package/dist/cdn/AVVACE2H.js.LEGAL.txt +0 -17
  467. package/dist/cdn/B6D4QBVH.js.LEGAL.txt +0 -0
  468. package/dist/cdn/BB7AEZC2.js.LEGAL.txt +0 -0
  469. package/dist/cdn/BBIZPRBD.js.LEGAL.txt +0 -0
  470. package/dist/cdn/BCVI5VVW.js +0 -9
  471. package/dist/cdn/BCVI5VVW.js.LEGAL.txt +0 -0
  472. package/dist/cdn/BVDPSX3N.js.LEGAL.txt +0 -3
  473. package/dist/cdn/C75GZINQ.js.LEGAL.txt +0 -3
  474. package/dist/cdn/C7FMD3GO.js.LEGAL.txt +0 -0
  475. package/dist/cdn/CPHOXIAS.js.LEGAL.txt +0 -0
  476. package/dist/cdn/CRQPKJYN.js +0 -4
  477. package/dist/cdn/CRQPKJYN.js.LEGAL.txt +0 -0
  478. package/dist/cdn/CVYUV5YV.js.LEGAL.txt +0 -0
  479. package/dist/cdn/D2T5W4MH.js.LEGAL.txt +0 -0
  480. package/dist/cdn/D7MB5F4I.js.LEGAL.txt +0 -0
  481. package/dist/cdn/DKCZUP4C.js.LEGAL.txt +0 -0
  482. package/dist/cdn/DKOI4TMS.js.LEGAL.txt +0 -17
  483. package/dist/cdn/DNG2RCLA.js +0 -18
  484. package/dist/cdn/DNG2RCLA.js.LEGAL.txt +0 -3
  485. package/dist/cdn/DNQVWK3Q.js.LEGAL.txt +0 -0
  486. package/dist/cdn/DOQ3OAB6.js.LEGAL.txt +0 -3
  487. package/dist/cdn/DRYWVFXX.js.LEGAL.txt +0 -0
  488. package/dist/cdn/E575ADYG.js.LEGAL.txt +0 -0
  489. package/dist/cdn/E6BIPFS4.js.LEGAL.txt +0 -0
  490. package/dist/cdn/EBSZD5UZ.js +0 -4
  491. package/dist/cdn/EBSZD5UZ.js.LEGAL.txt +0 -0
  492. package/dist/cdn/EDEOV7AB.js +0 -4
  493. package/dist/cdn/EDEOV7AB.js.LEGAL.txt +0 -0
  494. package/dist/cdn/EDYWDMUF.js.LEGAL.txt +0 -3
  495. package/dist/cdn/EEJ67SFG.js +0 -18
  496. package/dist/cdn/EEJ67SFG.js.LEGAL.txt +0 -12
  497. package/dist/cdn/EFG5WHVI.js.LEGAL.txt +0 -0
  498. package/dist/cdn/EH3TUCW5.js.LEGAL.txt +0 -0
  499. package/dist/cdn/EJ44YJGV.js.LEGAL.txt +0 -19
  500. package/dist/cdn/EN657RIR.js +0 -4
  501. package/dist/cdn/EN657RIR.js.LEGAL.txt +0 -0
  502. package/dist/cdn/EQRWAUHH.js.LEGAL.txt +0 -0
  503. package/dist/cdn/ETJDGNYP.js.LEGAL.txt +0 -3
  504. package/dist/cdn/FJ6RRUAZ.js.LEGAL.txt +0 -0
  505. package/dist/cdn/FR5AUKJH.js.LEGAL.txt +0 -0
  506. package/dist/cdn/FSFU2N3B.js.LEGAL.txt +0 -0
  507. package/dist/cdn/FVCUT5BD.js.LEGAL.txt +0 -0
  508. package/dist/cdn/GB27Q3KN.js +0 -4
  509. package/dist/cdn/GB27Q3KN.js.LEGAL.txt +0 -3
  510. package/dist/cdn/GDO2NL6R.js.LEGAL.txt +0 -3
  511. package/dist/cdn/GFN5IPB5.js.LEGAL.txt +0 -3
  512. package/dist/cdn/GGA2BKBI.js.LEGAL.txt +0 -0
  513. package/dist/cdn/GMXHYAWW.js.LEGAL.txt +0 -3
  514. package/dist/cdn/GV6574C7.js.LEGAL.txt +0 -0
  515. package/dist/cdn/GYTWI2N3.js.LEGAL.txt +0 -0
  516. package/dist/cdn/HEEO2XNR.js.LEGAL.txt +0 -0
  517. package/dist/cdn/HMIZLJTY.js +0 -25
  518. package/dist/cdn/HMIZLJTY.js.LEGAL.txt +0 -7
  519. package/dist/cdn/HNJ5GPBM.js +0 -3
  520. package/dist/cdn/HNJ5GPBM.js.LEGAL.txt +0 -15
  521. package/dist/cdn/HQVT5GIH.js.LEGAL.txt +0 -0
  522. package/dist/cdn/HRY2AWQR.js.LEGAL.txt +0 -0
  523. package/dist/cdn/HSYJOXKH.js.LEGAL.txt +0 -3
  524. package/dist/cdn/HVXOFD44.js.LEGAL.txt +0 -3
  525. package/dist/cdn/HYKX4C5U.js.LEGAL.txt +0 -3
  526. package/dist/cdn/I33SMVY3.js +0 -18
  527. package/dist/cdn/I33SMVY3.js.LEGAL.txt +0 -3
  528. package/dist/cdn/IERS74VR.js.LEGAL.txt +0 -0
  529. package/dist/cdn/IIFJMCMO.js.LEGAL.txt +0 -0
  530. package/dist/cdn/IMLKKE2U.js.LEGAL.txt +0 -0
  531. package/dist/cdn/IQU2F4H3.js +0 -18
  532. package/dist/cdn/IQU2F4H3.js.LEGAL.txt +0 -3
  533. package/dist/cdn/IRKP2OK7.js.LEGAL.txt +0 -3
  534. package/dist/cdn/ISCLBHEK.js.LEGAL.txt +0 -0
  535. package/dist/cdn/ITVDBPSA.js.LEGAL.txt +0 -3
  536. package/dist/cdn/IV5VX3CU.js.LEGAL.txt +0 -0
  537. package/dist/cdn/JD7Q6C2C.js.LEGAL.txt +0 -3
  538. package/dist/cdn/JHQ47NZN.js.LEGAL.txt +0 -0
  539. package/dist/cdn/JHQRE76I.js.LEGAL.txt +0 -3
  540. package/dist/cdn/JI5JTAYE.js.LEGAL.txt +0 -0
  541. package/dist/cdn/JJ5LIG3E.js.LEGAL.txt +0 -0
  542. package/dist/cdn/JQH6FWBF.js +0 -4
  543. package/dist/cdn/JQH6FWBF.js.LEGAL.txt +0 -0
  544. package/dist/cdn/JRNC7PCQ.js.LEGAL.txt +0 -15
  545. package/dist/cdn/JS3KPL65.js.LEGAL.txt +0 -0
  546. package/dist/cdn/JYHXLAK7.js.LEGAL.txt +0 -0
  547. package/dist/cdn/K5U2KIKJ.js +0 -4
  548. package/dist/cdn/K5U2KIKJ.js.LEGAL.txt +0 -0
  549. package/dist/cdn/KAHTIZBX.js.LEGAL.txt +0 -4
  550. package/dist/cdn/KFIMM3IL.js +0 -4
  551. package/dist/cdn/KFIMM3IL.js.LEGAL.txt +0 -0
  552. package/dist/cdn/KHUKO76X.js.LEGAL.txt +0 -0
  553. package/dist/cdn/KOHHJ3Q4.js.LEGAL.txt +0 -3
  554. package/dist/cdn/KPKZMEKZ.js.LEGAL.txt +0 -0
  555. package/dist/cdn/KPPOT7GR.js.LEGAL.txt +0 -0
  556. package/dist/cdn/KRMQR6PO.js.LEGAL.txt +0 -19
  557. package/dist/cdn/LA4ADRHN.js.LEGAL.txt +0 -0
  558. package/dist/cdn/LAEMDHMW.js.LEGAL.txt +0 -0
  559. package/dist/cdn/LDSB3ZAB.js.LEGAL.txt +0 -0
  560. package/dist/cdn/LGHVEQGE.js +0 -18
  561. package/dist/cdn/LGHVEQGE.js.LEGAL.txt +0 -3
  562. package/dist/cdn/LGYRQXSU.js.LEGAL.txt +0 -0
  563. package/dist/cdn/LNPKEFYF.js.LEGAL.txt +0 -3
  564. package/dist/cdn/LOCRYUB5.js.LEGAL.txt +0 -0
  565. package/dist/cdn/LQIITPOL.js +0 -18
  566. package/dist/cdn/LQIITPOL.js.LEGAL.txt +0 -3
  567. package/dist/cdn/LQVQ5SYL.js.LEGAL.txt +0 -0
  568. package/dist/cdn/LQYOJKKM.js.LEGAL.txt +0 -0
  569. package/dist/cdn/LSUEYFIK.js.LEGAL.txt +0 -19
  570. package/dist/cdn/LTVV5X4C.js.LEGAL.txt +0 -3
  571. package/dist/cdn/M4NMK35G.js.LEGAL.txt +0 -3
  572. package/dist/cdn/M4YVWMXK.js.LEGAL.txt +0 -0
  573. package/dist/cdn/M6OKQSGJ.js.LEGAL.txt +0 -0
  574. package/dist/cdn/MDMPQSN3.js.LEGAL.txt +0 -3
  575. package/dist/cdn/MLWHYPW3.js.LEGAL.txt +0 -0
  576. package/dist/cdn/MMGJL263.js.LEGAL.txt +0 -0
  577. package/dist/cdn/MQKFPPUQ.js.LEGAL.txt +0 -3
  578. package/dist/cdn/NA5LJZU7.js.LEGAL.txt +0 -0
  579. package/dist/cdn/NAJHCCFK.js.LEGAL.txt +0 -0
  580. package/dist/cdn/NAWXGWKC.js.LEGAL.txt +0 -3
  581. package/dist/cdn/NDRFJNB5.js.LEGAL.txt +0 -0
  582. package/dist/cdn/NGQYRRMX.js.LEGAL.txt +0 -3
  583. package/dist/cdn/NHOULH2W.js.LEGAL.txt +0 -4
  584. package/dist/cdn/NI6VUXXY.js +0 -4
  585. package/dist/cdn/NI6VUXXY.js.LEGAL.txt +0 -0
  586. package/dist/cdn/NMC4BPV4.js.LEGAL.txt +0 -0
  587. package/dist/cdn/NMJB2BJ2.js.LEGAL.txt +0 -3
  588. package/dist/cdn/NOAVPB5F.js.LEGAL.txt +0 -14
  589. package/dist/cdn/NQTVJEQJ.js.LEGAL.txt +0 -0
  590. package/dist/cdn/NSCO46UB.js.LEGAL.txt +0 -3
  591. package/dist/cdn/NWNCFKQJ.js.LEGAL.txt +0 -3
  592. package/dist/cdn/O2ZHYRZT.js +0 -18
  593. package/dist/cdn/O2ZHYRZT.js.LEGAL.txt +0 -3
  594. package/dist/cdn/O4U462PQ.js.LEGAL.txt +0 -3
  595. package/dist/cdn/OGTPASHM.js.LEGAL.txt +0 -3
  596. package/dist/cdn/OHSYSDBJ.js +0 -4
  597. package/dist/cdn/OHSYSDBJ.js.LEGAL.txt +0 -0
  598. package/dist/cdn/OJMZUZGG.js.LEGAL.txt +0 -0
  599. package/dist/cdn/OO5QJAUV.js.LEGAL.txt +0 -3
  600. package/dist/cdn/OPC6J6MC.js.LEGAL.txt +0 -19
  601. package/dist/cdn/OQMSIWHM.js.LEGAL.txt +0 -3
  602. package/dist/cdn/OSJ4PK7V.js.LEGAL.txt +0 -0
  603. package/dist/cdn/OZZ6AIHM.js.LEGAL.txt +0 -0
  604. package/dist/cdn/PE2NGOSN.js.LEGAL.txt +0 -0
  605. package/dist/cdn/PFPXYDRH.js.LEGAL.txt +0 -0
  606. package/dist/cdn/PIBX77IR.js.LEGAL.txt +0 -0
  607. package/dist/cdn/PKQMLT3F.js.LEGAL.txt +0 -27
  608. package/dist/cdn/PLPFPFMS.js.LEGAL.txt +0 -0
  609. package/dist/cdn/PMLO3UBD.js.LEGAL.txt +0 -3
  610. package/dist/cdn/PYOZY3AA.js.LEGAL.txt +0 -0
  611. package/dist/cdn/Q46U6YLX.js.LEGAL.txt +0 -0
  612. package/dist/cdn/Q4QJIANV.js.LEGAL.txt +0 -0
  613. package/dist/cdn/Q4YN3UWN.js.LEGAL.txt +0 -0
  614. package/dist/cdn/Q7CCSRAE.js.LEGAL.txt +0 -3
  615. package/dist/cdn/QAOKFIMA.js.LEGAL.txt +0 -0
  616. package/dist/cdn/QAV3ZXVX.js.LEGAL.txt +0 -0
  617. package/dist/cdn/QGQW73YS.js.LEGAL.txt +0 -3
  618. package/dist/cdn/QI7CAGDL.js.LEGAL.txt +0 -0
  619. package/dist/cdn/QJI4YPT2.js.LEGAL.txt +0 -0
  620. package/dist/cdn/QNEZFCY7.js.LEGAL.txt +0 -0
  621. package/dist/cdn/QPZ5DWIV.js.LEGAL.txt +0 -19
  622. package/dist/cdn/QSI6TV26.js.LEGAL.txt +0 -244
  623. package/dist/cdn/QSK26NIR.js.LEGAL.txt +0 -0
  624. package/dist/cdn/R4M6CYMY.js.LEGAL.txt +0 -19
  625. package/dist/cdn/R6JBLWE7.js.LEGAL.txt +0 -0
  626. package/dist/cdn/RBTSB7LW.js +0 -4
  627. package/dist/cdn/RBTSB7LW.js.LEGAL.txt +0 -0
  628. package/dist/cdn/RCBI5D2Z.js.LEGAL.txt +0 -0
  629. package/dist/cdn/RCNFZSA5.js.LEGAL.txt +0 -0
  630. package/dist/cdn/RFBZVECY.js.LEGAL.txt +0 -0
  631. package/dist/cdn/RGNEZPQ6.js.LEGAL.txt +0 -3
  632. package/dist/cdn/RPBZ5L5A.js.LEGAL.txt +0 -3
  633. package/dist/cdn/RU7VN5YX.js.LEGAL.txt +0 -0
  634. package/dist/cdn/RUH56R7L.js +0 -4
  635. package/dist/cdn/RUH56R7L.js.LEGAL.txt +0 -0
  636. package/dist/cdn/RWVKAK4K.js.LEGAL.txt +0 -3
  637. package/dist/cdn/RYMHJ7M6.js.LEGAL.txt +0 -0
  638. package/dist/cdn/RYWPGCGZ.js.LEGAL.txt +0 -0
  639. package/dist/cdn/SALTFRJ5.js.LEGAL.txt +0 -0
  640. package/dist/cdn/SBPJJXZK.js +0 -4
  641. package/dist/cdn/SBPJJXZK.js.LEGAL.txt +0 -0
  642. package/dist/cdn/SDVEOIP6.js.LEGAL.txt +0 -0
  643. package/dist/cdn/SERFTFK4.js.LEGAL.txt +0 -3
  644. package/dist/cdn/SFN7KXBC.js.LEGAL.txt +0 -0
  645. package/dist/cdn/SHSCJK7K.js.LEGAL.txt +0 -0
  646. package/dist/cdn/SHWFC6TE.js.LEGAL.txt +0 -19
  647. package/dist/cdn/T7EH5UZA.js.LEGAL.txt +0 -3
  648. package/dist/cdn/TA7QL4YX.js.LEGAL.txt +0 -0
  649. package/dist/cdn/TN4SBIJW.js.LEGAL.txt +0 -0
  650. package/dist/cdn/TS77EOZ2.js.LEGAL.txt +0 -3
  651. package/dist/cdn/TXARZDSW.js.LEGAL.txt +0 -0
  652. package/dist/cdn/TYLRSAPF.js +0 -4
  653. package/dist/cdn/TYLRSAPF.js.LEGAL.txt +0 -0
  654. package/dist/cdn/U2NFHP5I.js +0 -4
  655. package/dist/cdn/U2NFHP5I.js.LEGAL.txt +0 -0
  656. package/dist/cdn/UBKKMKS7.js.LEGAL.txt +0 -0
  657. package/dist/cdn/URSDOYPK.js.LEGAL.txt +0 -0
  658. package/dist/cdn/UTQQDI5Q.js.LEGAL.txt +0 -3
  659. package/dist/cdn/UTX33TLK.js.LEGAL.txt +0 -0
  660. package/dist/cdn/UWLZA6RY.js.LEGAL.txt +0 -8
  661. package/dist/cdn/UX2H3Z6R.js.LEGAL.txt +0 -0
  662. package/dist/cdn/UZVXLXYQ.js.LEGAL.txt +0 -0
  663. package/dist/cdn/VGD2IUHD.js +0 -4
  664. package/dist/cdn/VGD2IUHD.js.LEGAL.txt +0 -0
  665. package/dist/cdn/VIFOVT2H.js.LEGAL.txt +0 -22
  666. package/dist/cdn/VS4BFKH5.js.LEGAL.txt +0 -3
  667. package/dist/cdn/VTDPGZFT.js.LEGAL.txt +0 -3
  668. package/dist/cdn/VZMHIBV5.js.LEGAL.txt +0 -0
  669. package/dist/cdn/W7PI4HOW.js.LEGAL.txt +0 -0
  670. package/dist/cdn/WHIJZGSO.js.LEGAL.txt +0 -0
  671. package/dist/cdn/WK4XUJYY.js.LEGAL.txt +0 -19
  672. package/dist/cdn/WPW7HPVB.js.LEGAL.txt +0 -3
  673. package/dist/cdn/WSDRBWDO.js.LEGAL.txt +0 -3
  674. package/dist/cdn/WVFYDL3N.js.LEGAL.txt +0 -0
  675. package/dist/cdn/WXBPYKCV.js.LEGAL.txt +0 -0
  676. package/dist/cdn/WYNYF36Y.js.LEGAL.txt +0 -0
  677. package/dist/cdn/WZV2UPIA.js.LEGAL.txt +0 -3
  678. package/dist/cdn/X7OXK5DE.js.LEGAL.txt +0 -0
  679. package/dist/cdn/XA4WRYB3.js.LEGAL.txt +0 -0
  680. package/dist/cdn/XAP7KYLB.js.LEGAL.txt +0 -0
  681. package/dist/cdn/XBJF7MJ6.js.LEGAL.txt +0 -0
  682. package/dist/cdn/XDTQLWOL.js.LEGAL.txt +0 -0
  683. package/dist/cdn/XGRMPRIT.js +0 -4
  684. package/dist/cdn/XGRMPRIT.js.LEGAL.txt +0 -0
  685. package/dist/cdn/XPPFPOAJ.js.LEGAL.txt +0 -0
  686. package/dist/cdn/XRSL7RGR.js.LEGAL.txt +0 -0
  687. package/dist/cdn/XWVXILJ6.js.LEGAL.txt +0 -3
  688. package/dist/cdn/Y5QLVYUJ.js.LEGAL.txt +0 -0
  689. package/dist/cdn/YBHXQHED.js.LEGAL.txt +0 -0
  690. package/dist/cdn/YFDRQUEW.js.LEGAL.txt +0 -0
  691. package/dist/cdn/YH55Y5MP.js.LEGAL.txt +0 -0
  692. package/dist/cdn/YHUDJET2.js.LEGAL.txt +0 -0
  693. package/dist/cdn/YLWTVGEO.js.LEGAL.txt +0 -0
  694. package/dist/cdn/YOLXA6ZY.js.LEGAL.txt +0 -0
  695. package/dist/cdn/YPMMBOZ4.js.LEGAL.txt +0 -0
  696. package/dist/cdn/YQDNVPGZ.js.LEGAL.txt +0 -0
  697. package/dist/cdn/YZMHYMNZ.js.LEGAL.txt +0 -0
  698. package/dist/cdn/ZIIYJYM3.js.LEGAL.txt +0 -0
  699. package/dist/cdn/ZJR4525B.js.LEGAL.txt +0 -0
  700. package/dist/cdn/ZKUTSUQ5.js.LEGAL.txt +0 -0
  701. package/dist/cdn/ZLSEU37X.js +0 -4
  702. package/dist/cdn/ZLSEU37X.js.LEGAL.txt +0 -0
  703. package/dist/cdn/ZSBOSR2Q.js.LEGAL.txt +0 -0
  704. package/dist/cdn/ZWWF36B7.js +0 -4
  705. package/dist/cdn/ZWWF36B7.js.LEGAL.txt +0 -0
  706. package/dist/cdn/ZXEH2RP3.js.LEGAL.txt +0 -3
  707. package/dist/cdn/index.esm.js.LEGAL.txt +0 -3
@@ -4,7 +4,7 @@ import { LitElement as ci, createEvent as li } from "@arcgis/lumina";
4
4
  import { css as fi } from "@lit/reactive-element/css-tag.js";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
7
- v1.0.0-next.20250501.2 */
7
+ v1.0.0-next.20250506.1 */
8
8
  function di(e = {}) {
9
9
  const { disabled: t, portal: r } = e;
10
10
  return t || r?.eueiEnabled === !1 ? !0 : !(!r || pi(r) || hi(r) || gi(r));
@@ -18,7 +18,7 @@ function hi(e) {
18
18
  function gi(e) {
19
19
  return !e.user && e.ipCntryCode === "US";
20
20
  }
21
- const xe = {
21
+ const $e = {
22
22
  storage: {},
23
23
  memory: !0,
24
24
  get(e) {
@@ -52,7 +52,7 @@ const xe = {
52
52
  this.memory || (console.error("setting local storage failed, falling back to in-memory storage"), this.memory = !0), delete this.storage[e];
53
53
  }
54
54
  }
55
- }, sn = "esri-telemetry";
55
+ }, on = "esri-telemetry";
56
56
  function mi(e) {
57
57
  return new Promise((r, n) => {
58
58
  e.onload = r, e.onerror = n, (!yi(e) || e.body) && r();
@@ -60,34 +60,34 @@ function mi(e) {
60
60
  }
61
61
  function vi(e) {
62
62
  const { id: t, dataAttribute: r } = e;
63
- return !!document.getElementById(t) || !!document.querySelector(`[data-${sn}="${r}"]`);
63
+ return !!document.getElementById(t) || !!document.querySelector(`[data-${on}="${r}"]`);
64
64
  }
65
65
  function yi(e) {
66
- const { body: t, src: r, id: n, dataAttribute: i, section: a = "body", type: s = "text/javascript", async: o = !1, defer: l = !1, onload: h, onerror: d } = e;
66
+ const { body: t, src: r, id: n, dataAttribute: i, section: a = "body", type: s = "text/javascript", async: o = !1, defer: u = !1, onload: d, onerror: l } = e;
67
67
  if (typeof window > "u")
68
- throw new on("Window is undefined: Cannot add script element.");
68
+ throw new un("Window is undefined: Cannot add script element.");
69
69
  if (vi(e)) {
70
70
  console.log(`script (${n || i}) is already present, skipping`);
71
71
  return;
72
72
  }
73
- const m = bi({
73
+ const h = bi({
74
74
  id: n,
75
75
  dataAttribute: i,
76
76
  type: s,
77
77
  async: o,
78
- defer: l,
78
+ defer: u,
79
79
  body: t,
80
80
  src: r,
81
- onload: h,
82
- onerror: d
81
+ onload: d,
82
+ onerror: l
83
83
  });
84
- return a === "body" ? document.body.appendChild(m) : document.head.appendChild(m);
84
+ return a === "body" ? document.body.appendChild(h) : document.head.appendChild(h);
85
85
  }
86
- class on extends Error {
86
+ class un extends Error {
87
87
  }
88
- function bi({ id: e, dataAttribute: t, type: r, async: n, defer: i, body: a, src: s, onload: o, onerror: l }) {
89
- const h = document.createElement("script");
90
- return e && (h.id = e), t && h.setAttribute(`data-${sn}`, t), s && (h.src = s), a && (h.innerText = a), h.type = r, h.async = n, h.defer = i, o && (h.onload = o), l && (h.onerror = l), h;
88
+ function bi({ id: e, dataAttribute: t, type: r, async: n, defer: i, body: a, src: s, onload: o, onerror: u }) {
89
+ const d = document.createElement("script");
90
+ return e && (d.id = e), t && d.setAttribute(`data-${on}`, t), s && (d.src = s), a && (d.innerText = a), d.type = r, d.async = n, d.defer = i, o && (d.onload = o), u && (d.onerror = u), d;
91
91
  }
92
92
  function wi(e) {
93
93
  return e.map((t) => {
@@ -152,7 +152,7 @@ class Ei {
152
152
  logPageView(t, r = {}, n = {}) {
153
153
  if (this.disabled && !this.suppressDisabledWarnings)
154
154
  return this.logger.info("Page view was not logged because telemetry is disabled."), !1;
155
- const i = this.trackers.filter(({ disabled: o, hasError: l }) => !o && !l);
155
+ const i = this.trackers.filter(({ disabled: o, hasError: u }) => !o && !u);
156
156
  if (!i.length)
157
157
  return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."), !1;
158
158
  const a = this.preProcess(r, n);
@@ -198,7 +198,7 @@ class Ei {
198
198
  this.logWorkflow(n);
199
199
  }
200
200
  getWorkflow(t) {
201
- const r = xe.get(`TELEMETRY-WORKFLOW:${t}`);
201
+ const r = $e.get(`TELEMETRY-WORKFLOW:${t}`);
202
202
  if (r) {
203
203
  const n = Date.now() - r.start, i = 30 * 60 * 1e3;
204
204
  if (n < i)
@@ -207,10 +207,10 @@ class Ei {
207
207
  }
208
208
  }
209
209
  saveWorkflow(t) {
210
- xe.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
210
+ $e.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
211
211
  }
212
212
  deleteWorkflow(t) {
213
- xe.delete(`TELEMETRY-WORKFLOW:${t.name}`);
213
+ $e.delete(`TELEMETRY-WORKFLOW:${t.name}`);
214
214
  }
215
215
  logWorkflow(t = {}) {
216
216
  t = this.preProcess(t);
@@ -256,7 +256,7 @@ function Ai(e, t) {
256
256
  function Oi(e) {
257
257
  return ["string", "number", "boolean", "undefined"].includes(typeof e) || e && typeof e.valueOf() == "string";
258
258
  }
259
- function un(e, t) {
259
+ function Xt(e, t) {
260
260
  var r = {};
261
261
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
262
262
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -285,7 +285,7 @@ class Ii {
285
285
  }
286
286
  async init() {
287
287
  if (typeof window > "u")
288
- throw new on("Window is undefined: Cannot add script element.");
288
+ throw new un("Window is undefined: Cannot add script element.");
289
289
  await Promise.all(this._getScripts().map((t) => mi(t))), this.injectConfig();
290
290
  }
291
291
  // we log page views manually, even though ga4 can do so automatically for pages now
@@ -294,7 +294,7 @@ class Ii {
294
294
  return window.gtag("event", "page_view", i), !0;
295
295
  }
296
296
  logEvent(t) {
297
- let { action: r } = t, n = un(t, ["action"]);
297
+ let { action: r } = t, n = Xt(t, ["action"]);
298
298
  const i = r || "other", a = this.buildCustomParams(n);
299
299
  return window.gtag("event", i, a), !0;
300
300
  }
@@ -356,10 +356,10 @@ class Ii {
356
356
  }).filter((r) => r).reduce((r, { key: n, value: i }) => (r[n] = i, r), {});
357
357
  }
358
358
  }
359
- const cr = "TELEMETRY_COGNITO_CREDENTIALS";
359
+ const lr = "TELEMETRY_COGNITO_CREDENTIALS";
360
360
  function Pi(e, t = {}) {
361
361
  const n = `https://cognito-identity${t.fips === !0 ? "-fips" : ""}.us-east-1.amazonaws.com/`;
362
- let i = xe.get(cr);
362
+ let i = $e.get(lr);
363
363
  if (i && Date.now() / 1e3 < i.Expiration)
364
364
  return Promise.resolve(i);
365
365
  const a = {
@@ -375,7 +375,7 @@ function Pi(e, t = {}) {
375
375
  throw new Error(s.statusText);
376
376
  return s.json();
377
377
  }).then((s) => {
378
- const { IdentityId: o } = s, l = {
378
+ const { IdentityId: o } = s, u = {
379
379
  method: "POST",
380
380
  headers: {
381
381
  "Content-type": "application/x-amz-json-1.1",
@@ -383,12 +383,12 @@ function Pi(e, t = {}) {
383
383
  },
384
384
  body: JSON.stringify({ IdentityId: o })
385
385
  };
386
- return fetch(n, l);
386
+ return fetch(n, u);
387
387
  }).then((s) => {
388
388
  if (!s.ok)
389
389
  throw new Error(s.statusText);
390
390
  return s.json();
391
- }).then(({ Credentials: s }) => (xe.set(cr, s), s));
391
+ }).then(({ Credentials: s }) => ($e.set(lr, s), s));
392
392
  }
393
393
  function cn({ telemetryData: e, dimensionLookup: t = {}, excludeKeys: r = [] }) {
394
394
  return Object.keys(e).filter((n) => !r.includes(n)).map((n) => t[n] ? {
@@ -420,7 +420,7 @@ function ki(e, t) {
420
420
  }
421
421
  function Mi({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
422
422
  var n, i;
423
- const { pathname: a, eventType: s = "other" } = e, o = ln(e, r), l = cn({
423
+ const { pathname: a, eventType: s = "other" } = e, o = ln(e, r), u = cn({
424
424
  telemetryData: Object.assign({ eventType: s }, e),
425
425
  dimensionLookup: t,
426
426
  excludeKeys: [
@@ -429,8 +429,8 @@ function Mi({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
429
429
  ...Object.keys(o),
430
430
  ...Object.keys(r)
431
431
  ]
432
- }), h = Object.assign(Object.assign({ name: s }, l), o);
433
- return typeof document < "u" && document.referrer && (h.referrer = document.referrer), typeof window < "u" && !h.hostname && (h.hostname = (n = window.location) === null || n === void 0 ? void 0 : n.hostname), h.path = typeof window < "u" && window.location.pathname ? (i = window.location) === null || i === void 0 ? void 0 : i.pathname : a, h;
432
+ }), d = Object.assign(Object.assign({ name: s }, u), o);
433
+ return typeof document < "u" && document.referrer && (d.referrer = document.referrer), typeof window < "u" && !d.hostname && (d.hostname = (n = window.location) === null || n === void 0 ? void 0 : n.hostname), d.path = typeof window < "u" && window.location.pathname ? (i = window.location) === null || i === void 0 ? void 0 : i.pathname : a, d;
434
434
  }
435
435
  function Di({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n = {}, metricLookup: i = {} }) {
436
436
  const a = ln(r, i), s = cn({
@@ -441,24 +441,24 @@ function Di({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n
441
441
  ...Object.keys(a),
442
442
  ...Object.keys(i)
443
443
  ]
444
- }), { referrer: o, title: l } = document || {}, { hostname: h, pathname: d } = window && window.location ? window.location : {};
444
+ }), { referrer: o, title: u } = document || {}, { hostname: d, pathname: l } = window && window.location ? window.location : {};
445
445
  return Object.assign(Object.assign({
446
446
  name: "pageView",
447
447
  referrer: o,
448
- hostname: h,
449
- path: e || d,
450
- pageUrl: e || d,
451
- pageName: l,
448
+ hostname: d,
449
+ path: e || l,
450
+ pageUrl: e || l,
451
+ pageName: u,
452
452
  previousPageUrl: t.pageUrl,
453
453
  previousPageName: t.pageName
454
454
  }, s), a);
455
455
  }
456
- function lr(e, t, r, n, i) {
456
+ function fr(e, t, r, n, i) {
457
457
  for (t = t.split ? t.split(".") : t, n = 0; n < t.length; n++) e = e ? e[t[n]] : i;
458
458
  return e === i ? r : e;
459
459
  }
460
- var Ye = "undefined", fr = "object", Ci = function() {
461
- }, dr = "__", nt = typeof process < "u" ? process : {};
460
+ var Ye = "undefined", dr = "object", Ci = function() {
461
+ }, pr = "__", nt = typeof process < "u" ? process : {};
462
462
  nt.env && nt.env.NODE_ENV;
463
463
  var Ke = typeof document < "u";
464
464
  nt.versions != null && nt.versions.node != null;
@@ -467,14 +467,14 @@ Ke && window.name === "nodejs" || typeof navigator < "u" && navigator.userAgent
467
467
  function fn(e, t) {
468
468
  return t.charAt(0)[e]() + t.slice(1);
469
469
  }
470
- var Ri = fn.bind(null, "toUpperCase"), xi = fn.bind(null, "toLowerCase");
471
- function $i(e) {
470
+ var Ri = fn.bind(null, "toUpperCase"), $i = fn.bind(null, "toLowerCase");
471
+ function xi(e) {
472
472
  return dn(e) ? Ri("null") : typeof e == "object" ? Li(e) : Object.prototype.toString.call(e).slice(8, -1);
473
473
  }
474
474
  function it(e, t) {
475
475
  t === void 0 && (t = !0);
476
- var r = $i(e);
477
- return t ? xi(r) : r;
476
+ var r = xi(e);
477
+ return t ? $i(r) : r;
478
478
  }
479
479
  function Be(e, t) {
480
480
  return typeof t === e;
@@ -530,7 +530,7 @@ ct(ut, "select");
530
530
  function Vi(e) {
531
531
  return e ? Ui(e) ? e : [e] : [];
532
532
  }
533
- function pr(e) {
533
+ function hr(e) {
534
534
  try {
535
535
  return decodeURIComponent(e.replace(/\+/g, " "));
536
536
  } catch {
@@ -552,17 +552,17 @@ function Hi() {
552
552
  function Fi(e) {
553
553
  return function(t) {
554
554
  for (var r, n = /* @__PURE__ */ Object.create(null), i = /([^&=]+)=?([^&]*)/g; r = i.exec(t); ) {
555
- var a = pr(r[1]), s = pr(r[2]);
555
+ var a = hr(r[1]), s = hr(r[2]);
556
556
  if (a) if (a.substring(a.length - 2) === "[]") {
557
557
  var o = n[a = a.substring(0, a.length - 2)] || (n[a] = []);
558
558
  n[a] = Array.isArray(o) ? o : [], n[a].push(s);
559
559
  } else n[a] = s === "" || s;
560
560
  }
561
- for (var l in n) {
562
- var h = l.split("[");
563
- h.length > 1 && (Ki(n, h.map(function(d) {
564
- return d.replace(/[?[\]\\ ]/g, "");
565
- }), n[l]), delete n[l]);
561
+ for (var u in n) {
562
+ var d = u.split("[");
563
+ d.length > 1 && (Ki(n, d.map(function(l) {
564
+ return l.replace(/[?[\]\\ ]/g, "");
565
+ }), n[u]), delete n[u]);
566
566
  }
567
567
  return n;
568
568
  }(function(t) {
@@ -584,7 +584,7 @@ function be() {
584
584
  }
585
585
  return e;
586
586
  }
587
- var $e = "global", Te = dr + "global" + dr, je = typeof self === fr && self.self === self && self || typeof global === fr && global.global === global && global || void 0;
587
+ var xe = "global", Te = pr + "global" + pr, je = typeof self === dr && self.self === self && self || typeof global === dr && global.global === global && global || void 0;
588
588
  function le(e) {
589
589
  return je[Te][e];
590
590
  }
@@ -617,8 +617,8 @@ function lt(e) {
617
617
  }
618
618
  return Xe[e] = !0;
619
619
  }
620
- var hr, Ve = "__", Nt = typeof process < "u" ? process : {};
621
- (hr = Nt.env) != null && hr.NODE_ENV;
620
+ var gr, Ve = "__", Nt = typeof process < "u" ? process : {};
621
+ (gr = Nt.env) != null && gr.NODE_ENV;
622
622
  var ce = typeof window < "u";
623
623
  Nt.versions != null && Nt.versions.node != null;
624
624
  typeof Deno < "u" && Deno.core;
@@ -675,25 +675,25 @@ function Q(e) {
675
675
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
676
676
  }, Q(e);
677
677
  }
678
- function gr(e, t, r, n, i, a, s) {
678
+ function mr(e, t, r, n, i, a, s) {
679
679
  try {
680
- var o = e[a](s), l = o.value;
681
- } catch (h) {
682
- r(h);
680
+ var o = e[a](s), u = o.value;
681
+ } catch (d) {
682
+ r(d);
683
683
  return;
684
684
  }
685
- o.done ? t(l) : Promise.resolve(l).then(n, i);
685
+ o.done ? t(u) : Promise.resolve(u).then(n, i);
686
686
  }
687
687
  function se(e) {
688
688
  return function() {
689
689
  var t = this, r = arguments;
690
690
  return new Promise(function(n, i) {
691
691
  var a = e.apply(t, r);
692
- function s(l) {
693
- gr(a, n, i, s, o, "next", l);
692
+ function s(u) {
693
+ mr(a, n, i, s, o, "next", u);
694
694
  }
695
- function o(l) {
696
- gr(a, n, i, s, o, "throw", l);
695
+ function o(u) {
696
+ mr(a, n, i, s, o, "throw", u);
697
697
  }
698
698
  s(void 0);
699
699
  });
@@ -707,7 +707,7 @@ function pe(e, t, r) {
707
707
  writable: !0
708
708
  }) : e[t] = r, e;
709
709
  }
710
- function mr(e, t) {
710
+ function vr(e, t) {
711
711
  var r = Object.keys(e);
712
712
  if (Object.getOwnPropertySymbols) {
713
713
  var n = Object.getOwnPropertySymbols(e);
@@ -720,9 +720,9 @@ function mr(e, t) {
720
720
  function E(e) {
721
721
  for (var t = 1; t < arguments.length; t++) {
722
722
  var r = arguments[t] != null ? arguments[t] : {};
723
- t % 2 ? mr(Object(r), !0).forEach(function(n) {
723
+ t % 2 ? vr(Object(r), !0).forEach(function(n) {
724
724
  pe(e, n, r[n]);
725
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : mr(Object(r)).forEach(function(n) {
725
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : vr(Object(r)).forEach(function(n) {
726
726
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
727
727
  });
728
728
  }
@@ -731,32 +731,32 @@ function E(e) {
731
731
  var gn = { exports: {} };
732
732
  (function(e) {
733
733
  var t = function(r) {
734
- var n = Object.prototype, i = n.hasOwnProperty, a, s = typeof Symbol == "function" ? Symbol : {}, o = s.iterator || "@@iterator", l = s.asyncIterator || "@@asyncIterator", h = s.toStringTag || "@@toStringTag";
735
- function d(w, f, u) {
736
- return Object.defineProperty(w, f, {
737
- value: u,
734
+ var n = Object.prototype, i = n.hasOwnProperty, a, s = typeof Symbol == "function" ? Symbol : {}, o = s.iterator || "@@iterator", u = s.asyncIterator || "@@asyncIterator", d = s.toStringTag || "@@toStringTag";
735
+ function l(m, f, g) {
736
+ return Object.defineProperty(m, f, {
737
+ value: g,
738
738
  enumerable: !0,
739
739
  configurable: !0,
740
740
  writable: !0
741
- }), w[f];
741
+ }), m[f];
742
742
  }
743
743
  try {
744
- d({}, "");
744
+ l({}, "");
745
745
  } catch {
746
- d = function(f, u, c) {
747
- return f[u] = c;
746
+ l = function(f, g, c) {
747
+ return f[g] = c;
748
748
  };
749
749
  }
750
- function m(w, f, u, c) {
751
- var g = f && f.prototype instanceof b ? f : b, v = Object.create(g.prototype), S = new W(c || []);
752
- return v._invoke = F(w, u, S), v;
750
+ function h(m, f, g, c) {
751
+ var v = f && f.prototype instanceof w ? f : w, O = Object.create(v.prototype), M = new A(c || []);
752
+ return O._invoke = F(m, g, M), O;
753
753
  }
754
- r.wrap = m;
755
- function p(w, f, u) {
754
+ r.wrap = h;
755
+ function p(m, f, g) {
756
756
  try {
757
757
  return {
758
758
  type: "normal",
759
- arg: w.call(f, u)
759
+ arg: m.call(f, g)
760
760
  };
761
761
  } catch (c) {
762
762
  return {
@@ -765,63 +765,63 @@ var gn = { exports: {} };
765
765
  };
766
766
  }
767
767
  }
768
- var y = "suspendedStart", A = "suspendedYield", T = "executing", O = "completed", j = {};
769
- function b() {
768
+ var b = "suspendedStart", S = "suspendedYield", j = "executing", P = "completed", N = {};
769
+ function w() {
770
770
  }
771
- function C() {
771
+ function L() {
772
772
  }
773
- function I() {
773
+ function T() {
774
774
  }
775
- var _ = {};
776
- d(_, o, function() {
775
+ var x = {};
776
+ l(x, o, function() {
777
777
  return this;
778
778
  });
779
- var M = Object.getPrototypeOf, k = M && M(M(B([])));
780
- k && k !== n && i.call(k, o) && (_ = k);
781
- var N = I.prototype = b.prototype = Object.create(_);
782
- C.prototype = I, d(N, "constructor", I), d(I, "constructor", C), C.displayName = d(I, h, "GeneratorFunction");
783
- function L(w) {
779
+ var _ = Object.getPrototypeOf, D = _ && _(_(k([])));
780
+ D && D !== n && i.call(D, o) && (x = D);
781
+ var C = T.prototype = w.prototype = Object.create(x);
782
+ L.prototype = T, l(C, "constructor", T), l(T, "constructor", L), L.displayName = l(T, d, "GeneratorFunction");
783
+ function G(m) {
784
784
  ["next", "throw", "return"].forEach(function(f) {
785
- d(w, f, function(u) {
786
- return this._invoke(f, u);
785
+ l(m, f, function(g) {
786
+ return this._invoke(f, g);
787
787
  });
788
788
  });
789
789
  }
790
- r.isGeneratorFunction = function(w) {
791
- var f = typeof w == "function" && w.constructor;
792
- return f ? f === C || // For the native GeneratorFunction constructor, the best we can
790
+ r.isGeneratorFunction = function(m) {
791
+ var f = typeof m == "function" && m.constructor;
792
+ return f ? f === L || // For the native GeneratorFunction constructor, the best we can
793
793
  // do is to check its .name property.
794
794
  (f.displayName || f.name) === "GeneratorFunction" : !1;
795
- }, r.mark = function(w) {
796
- return Object.setPrototypeOf ? Object.setPrototypeOf(w, I) : (w.__proto__ = I, d(w, h, "GeneratorFunction")), w.prototype = Object.create(N), w;
797
- }, r.awrap = function(w) {
795
+ }, r.mark = function(m) {
796
+ return Object.setPrototypeOf ? Object.setPrototypeOf(m, T) : (m.__proto__ = T, l(m, d, "GeneratorFunction")), m.prototype = Object.create(C), m;
797
+ }, r.awrap = function(m) {
798
798
  return {
799
- __await: w
799
+ __await: m
800
800
  };
801
801
  };
802
- function z(w, f) {
803
- function u(v, S, P, D) {
804
- var R = p(w[v], w, S);
805
- if (R.type === "throw")
806
- D(R.arg);
802
+ function H(m, f) {
803
+ function g(O, M, $, z) {
804
+ var W = p(m[O], m, M);
805
+ if (W.type === "throw")
806
+ z(W.arg);
807
807
  else {
808
- var H = R.arg, V = H.value;
809
- return V && typeof V == "object" && i.call(V, "__await") ? f.resolve(V.__await).then(function(G) {
810
- u("next", G, P, D);
811
- }, function(G) {
812
- u("throw", G, P, D);
813
- }) : f.resolve(V).then(function(G) {
814
- H.value = G, P(H);
815
- }, function(G) {
816
- return u("throw", G, P, D);
808
+ var J = W.arg, K = J.value;
809
+ return K && typeof K == "object" && i.call(K, "__await") ? f.resolve(K.__await).then(function(B) {
810
+ g("next", B, $, z);
811
+ }, function(B) {
812
+ g("throw", B, $, z);
813
+ }) : f.resolve(K).then(function(B) {
814
+ J.value = B, $(J);
815
+ }, function(B) {
816
+ return g("throw", B, $, z);
817
817
  });
818
818
  }
819
819
  }
820
820
  var c;
821
- function g(v, S) {
822
- function P() {
823
- return new f(function(D, R) {
824
- u(v, S, D, R);
821
+ function v(O, M) {
822
+ function $() {
823
+ return new f(function(z, W) {
824
+ g(O, M, z, W);
825
825
  });
826
826
  }
827
827
  return c = // If enqueue has been called before, then we want to wait until
@@ -837,232 +837,232 @@ var gn = { exports: {} };
837
837
  // async functions in terms of async generators, it is especially
838
838
  // important to get this right, even though it requires care.
839
839
  c ? c.then(
840
- P,
840
+ $,
841
841
  // Avoid propagating failures to Promises returned by later
842
842
  // invocations of the iterator.
843
- P
844
- ) : P();
843
+ $
844
+ ) : $();
845
845
  }
846
- this._invoke = g;
846
+ this._invoke = v;
847
847
  }
848
- L(z.prototype), d(z.prototype, l, function() {
848
+ G(H.prototype), l(H.prototype, u, function() {
849
849
  return this;
850
- }), r.AsyncIterator = z, r.async = function(w, f, u, c, g) {
851
- g === void 0 && (g = Promise);
852
- var v = new z(m(w, f, u, c), g);
853
- return r.isGeneratorFunction(f) ? v : v.next().then(function(S) {
854
- return S.done ? S.value : v.next();
850
+ }), r.AsyncIterator = H, r.async = function(m, f, g, c, v) {
851
+ v === void 0 && (v = Promise);
852
+ var O = new H(h(m, f, g, c), v);
853
+ return r.isGeneratorFunction(f) ? O : O.next().then(function(M) {
854
+ return M.done ? M.value : O.next();
855
855
  });
856
856
  };
857
- function F(w, f, u) {
858
- var c = y;
859
- return function(v, S) {
860
- if (c === T)
857
+ function F(m, f, g) {
858
+ var c = b;
859
+ return function(O, M) {
860
+ if (c === j)
861
861
  throw new Error("Generator is already running");
862
- if (c === O) {
863
- if (v === "throw")
864
- throw S;
865
- return J();
862
+ if (c === P) {
863
+ if (O === "throw")
864
+ throw M;
865
+ return R();
866
866
  }
867
- for (u.method = v, u.arg = S; ; ) {
868
- var P = u.delegate;
869
- if (P) {
870
- var D = U(P, u);
871
- if (D) {
872
- if (D === j) continue;
873
- return D;
867
+ for (g.method = O, g.arg = M; ; ) {
868
+ var $ = g.delegate;
869
+ if ($) {
870
+ var z = V($, g);
871
+ if (z) {
872
+ if (z === N) continue;
873
+ return z;
874
874
  }
875
875
  }
876
- if (u.method === "next")
877
- u.sent = u._sent = u.arg;
878
- else if (u.method === "throw") {
879
- if (c === y)
880
- throw c = O, u.arg;
881
- u.dispatchException(u.arg);
882
- } else u.method === "return" && u.abrupt("return", u.arg);
883
- c = T;
884
- var R = p(w, f, u);
885
- if (R.type === "normal") {
886
- if (c = u.done ? O : A, R.arg === j)
876
+ if (g.method === "next")
877
+ g.sent = g._sent = g.arg;
878
+ else if (g.method === "throw") {
879
+ if (c === b)
880
+ throw c = P, g.arg;
881
+ g.dispatchException(g.arg);
882
+ } else g.method === "return" && g.abrupt("return", g.arg);
883
+ c = j;
884
+ var W = p(m, f, g);
885
+ if (W.type === "normal") {
886
+ if (c = g.done ? P : S, W.arg === N)
887
887
  continue;
888
888
  return {
889
- value: R.arg,
890
- done: u.done
889
+ value: W.arg,
890
+ done: g.done
891
891
  };
892
- } else R.type === "throw" && (c = O, u.method = "throw", u.arg = R.arg);
892
+ } else W.type === "throw" && (c = P, g.method = "throw", g.arg = W.arg);
893
893
  }
894
894
  };
895
895
  }
896
- function U(w, f) {
897
- var u = w.iterator[f.method];
898
- if (u === a) {
896
+ function V(m, f) {
897
+ var g = m.iterator[f.method];
898
+ if (g === a) {
899
899
  if (f.delegate = null, f.method === "throw") {
900
- if (w.iterator.return && (f.method = "return", f.arg = a, U(w, f), f.method === "throw"))
901
- return j;
900
+ if (m.iterator.return && (f.method = "return", f.arg = a, V(m, f), f.method === "throw"))
901
+ return N;
902
902
  f.method = "throw", f.arg = new TypeError("The iterator does not provide a 'throw' method");
903
903
  }
904
- return j;
904
+ return N;
905
905
  }
906
- var c = p(u, w.iterator, f.arg);
906
+ var c = p(g, m.iterator, f.arg);
907
907
  if (c.type === "throw")
908
- return f.method = "throw", f.arg = c.arg, f.delegate = null, j;
909
- var g = c.arg;
910
- if (!g)
911
- return f.method = "throw", f.arg = new TypeError("iterator result is not an object"), f.delegate = null, j;
912
- if (g.done)
913
- f[w.resultName] = g.value, f.next = w.nextLoc, f.method !== "return" && (f.method = "next", f.arg = a);
908
+ return f.method = "throw", f.arg = c.arg, f.delegate = null, N;
909
+ var v = c.arg;
910
+ if (!v)
911
+ return f.method = "throw", f.arg = new TypeError("iterator result is not an object"), f.delegate = null, N;
912
+ if (v.done)
913
+ f[m.resultName] = v.value, f.next = m.nextLoc, f.method !== "return" && (f.method = "next", f.arg = a);
914
914
  else
915
- return g;
916
- return f.delegate = null, j;
915
+ return v;
916
+ return f.delegate = null, N;
917
917
  }
918
- L(N), d(N, h, "Generator"), d(N, o, function() {
918
+ G(C), l(C, d, "Generator"), l(C, o, function() {
919
919
  return this;
920
- }), d(N, "toString", function() {
920
+ }), l(C, "toString", function() {
921
921
  return "[object Generator]";
922
922
  });
923
- function K(w) {
923
+ function I(m) {
924
924
  var f = {
925
- tryLoc: w[0]
925
+ tryLoc: m[0]
926
926
  };
927
- 1 in w && (f.catchLoc = w[1]), 2 in w && (f.finallyLoc = w[2], f.afterLoc = w[3]), this.tryEntries.push(f);
927
+ 1 in m && (f.catchLoc = m[1]), 2 in m && (f.finallyLoc = m[2], f.afterLoc = m[3]), this.tryEntries.push(f);
928
928
  }
929
- function $(w) {
930
- var f = w.completion || {};
931
- f.type = "normal", delete f.arg, w.completion = f;
929
+ function y(m) {
930
+ var f = m.completion || {};
931
+ f.type = "normal", delete f.arg, m.completion = f;
932
932
  }
933
- function W(w) {
933
+ function A(m) {
934
934
  this.tryEntries = [{
935
935
  tryLoc: "root"
936
- }], w.forEach(K, this), this.reset(!0);
936
+ }], m.forEach(I, this), this.reset(!0);
937
937
  }
938
- r.keys = function(w) {
938
+ r.keys = function(m) {
939
939
  var f = [];
940
- for (var u in w)
941
- f.push(u);
940
+ for (var g in m)
941
+ f.push(g);
942
942
  return f.reverse(), function c() {
943
943
  for (; f.length; ) {
944
- var g = f.pop();
945
- if (g in w)
946
- return c.value = g, c.done = !1, c;
944
+ var v = f.pop();
945
+ if (v in m)
946
+ return c.value = v, c.done = !1, c;
947
947
  }
948
948
  return c.done = !0, c;
949
949
  };
950
950
  };
951
- function B(w) {
952
- if (w) {
953
- var f = w[o];
951
+ function k(m) {
952
+ if (m) {
953
+ var f = m[o];
954
954
  if (f)
955
- return f.call(w);
956
- if (typeof w.next == "function")
957
- return w;
958
- if (!isNaN(w.length)) {
959
- var u = -1, c = function g() {
960
- for (; ++u < w.length; )
961
- if (i.call(w, u))
962
- return g.value = w[u], g.done = !1, g;
963
- return g.value = a, g.done = !0, g;
955
+ return f.call(m);
956
+ if (typeof m.next == "function")
957
+ return m;
958
+ if (!isNaN(m.length)) {
959
+ var g = -1, c = function v() {
960
+ for (; ++g < m.length; )
961
+ if (i.call(m, g))
962
+ return v.value = m[g], v.done = !1, v;
963
+ return v.value = a, v.done = !0, v;
964
964
  };
965
965
  return c.next = c;
966
966
  }
967
967
  }
968
968
  return {
969
- next: J
969
+ next: R
970
970
  };
971
971
  }
972
- r.values = B;
973
- function J() {
972
+ r.values = k;
973
+ function R() {
974
974
  return {
975
975
  value: a,
976
976
  done: !0
977
977
  };
978
978
  }
979
- return W.prototype = {
980
- constructor: W,
981
- reset: function(w) {
982
- if (this.prev = 0, this.next = 0, this.sent = this._sent = a, this.done = !1, this.delegate = null, this.method = "next", this.arg = a, this.tryEntries.forEach($), !w)
979
+ return A.prototype = {
980
+ constructor: A,
981
+ reset: function(m) {
982
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = a, this.done = !1, this.delegate = null, this.method = "next", this.arg = a, this.tryEntries.forEach(y), !m)
983
983
  for (var f in this)
984
984
  f.charAt(0) === "t" && i.call(this, f) && !isNaN(+f.slice(1)) && (this[f] = a);
985
985
  },
986
986
  stop: function() {
987
987
  this.done = !0;
988
- var w = this.tryEntries[0], f = w.completion;
988
+ var m = this.tryEntries[0], f = m.completion;
989
989
  if (f.type === "throw")
990
990
  throw f.arg;
991
991
  return this.rval;
992
992
  },
993
- dispatchException: function(w) {
993
+ dispatchException: function(m) {
994
994
  if (this.done)
995
- throw w;
995
+ throw m;
996
996
  var f = this;
997
- function u(D, R) {
998
- return v.type = "throw", v.arg = w, f.next = D, R && (f.method = "next", f.arg = a), !!R;
997
+ function g(z, W) {
998
+ return O.type = "throw", O.arg = m, f.next = z, W && (f.method = "next", f.arg = a), !!W;
999
999
  }
1000
1000
  for (var c = this.tryEntries.length - 1; c >= 0; --c) {
1001
- var g = this.tryEntries[c], v = g.completion;
1002
- if (g.tryLoc === "root")
1003
- return u("end");
1004
- if (g.tryLoc <= this.prev) {
1005
- var S = i.call(g, "catchLoc"), P = i.call(g, "finallyLoc");
1006
- if (S && P) {
1007
- if (this.prev < g.catchLoc)
1008
- return u(g.catchLoc, !0);
1009
- if (this.prev < g.finallyLoc)
1010
- return u(g.finallyLoc);
1011
- } else if (S) {
1012
- if (this.prev < g.catchLoc)
1013
- return u(g.catchLoc, !0);
1014
- } else if (P) {
1015
- if (this.prev < g.finallyLoc)
1016
- return u(g.finallyLoc);
1001
+ var v = this.tryEntries[c], O = v.completion;
1002
+ if (v.tryLoc === "root")
1003
+ return g("end");
1004
+ if (v.tryLoc <= this.prev) {
1005
+ var M = i.call(v, "catchLoc"), $ = i.call(v, "finallyLoc");
1006
+ if (M && $) {
1007
+ if (this.prev < v.catchLoc)
1008
+ return g(v.catchLoc, !0);
1009
+ if (this.prev < v.finallyLoc)
1010
+ return g(v.finallyLoc);
1011
+ } else if (M) {
1012
+ if (this.prev < v.catchLoc)
1013
+ return g(v.catchLoc, !0);
1014
+ } else if ($) {
1015
+ if (this.prev < v.finallyLoc)
1016
+ return g(v.finallyLoc);
1017
1017
  } else
1018
1018
  throw new Error("try statement without catch or finally");
1019
1019
  }
1020
1020
  }
1021
1021
  },
1022
- abrupt: function(w, f) {
1023
- for (var u = this.tryEntries.length - 1; u >= 0; --u) {
1024
- var c = this.tryEntries[u];
1022
+ abrupt: function(m, f) {
1023
+ for (var g = this.tryEntries.length - 1; g >= 0; --g) {
1024
+ var c = this.tryEntries[g];
1025
1025
  if (c.tryLoc <= this.prev && i.call(c, "finallyLoc") && this.prev < c.finallyLoc) {
1026
- var g = c;
1026
+ var v = c;
1027
1027
  break;
1028
1028
  }
1029
1029
  }
1030
- g && (w === "break" || w === "continue") && g.tryLoc <= f && f <= g.finallyLoc && (g = null);
1031
- var v = g ? g.completion : {};
1032
- return v.type = w, v.arg = f, g ? (this.method = "next", this.next = g.finallyLoc, j) : this.complete(v);
1030
+ v && (m === "break" || m === "continue") && v.tryLoc <= f && f <= v.finallyLoc && (v = null);
1031
+ var O = v ? v.completion : {};
1032
+ return O.type = m, O.arg = f, v ? (this.method = "next", this.next = v.finallyLoc, N) : this.complete(O);
1033
1033
  },
1034
- complete: function(w, f) {
1035
- if (w.type === "throw")
1036
- throw w.arg;
1037
- return w.type === "break" || w.type === "continue" ? this.next = w.arg : w.type === "return" ? (this.rval = this.arg = w.arg, this.method = "return", this.next = "end") : w.type === "normal" && f && (this.next = f), j;
1034
+ complete: function(m, f) {
1035
+ if (m.type === "throw")
1036
+ throw m.arg;
1037
+ return m.type === "break" || m.type === "continue" ? this.next = m.arg : m.type === "return" ? (this.rval = this.arg = m.arg, this.method = "return", this.next = "end") : m.type === "normal" && f && (this.next = f), N;
1038
1038
  },
1039
- finish: function(w) {
1039
+ finish: function(m) {
1040
1040
  for (var f = this.tryEntries.length - 1; f >= 0; --f) {
1041
- var u = this.tryEntries[f];
1042
- if (u.finallyLoc === w)
1043
- return this.complete(u.completion, u.afterLoc), $(u), j;
1041
+ var g = this.tryEntries[f];
1042
+ if (g.finallyLoc === m)
1043
+ return this.complete(g.completion, g.afterLoc), y(g), N;
1044
1044
  }
1045
1045
  },
1046
- catch: function(w) {
1046
+ catch: function(m) {
1047
1047
  for (var f = this.tryEntries.length - 1; f >= 0; --f) {
1048
- var u = this.tryEntries[f];
1049
- if (u.tryLoc === w) {
1050
- var c = u.completion;
1048
+ var g = this.tryEntries[f];
1049
+ if (g.tryLoc === m) {
1050
+ var c = g.completion;
1051
1051
  if (c.type === "throw") {
1052
- var g = c.arg;
1053
- $(u);
1052
+ var v = c.arg;
1053
+ y(g);
1054
1054
  }
1055
- return g;
1055
+ return v;
1056
1056
  }
1057
1057
  }
1058
1058
  throw new Error("illegal catch attempt");
1059
1059
  },
1060
- delegateYield: function(w, f, u) {
1060
+ delegateYield: function(m, f, g) {
1061
1061
  return this.delegate = {
1062
- iterator: B(w),
1062
+ iterator: k(m),
1063
1063
  resultName: f,
1064
- nextLoc: u
1065
- }, this.method === "next" && (this.arg = a), j;
1064
+ nextLoc: g
1065
+ }, this.method === "next" && (this.arg = a), N;
1066
1066
  }
1067
1067
  }, r;
1068
1068
  }(
@@ -1078,7 +1078,7 @@ var gn = { exports: {} };
1078
1078
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = t : Function("r", "regeneratorRuntime = r")(t);
1079
1079
  }
1080
1080
  })(gn);
1081
- var q = gn.exports, he = "function", oe = "undefined", Ue = "reducer", mn = "@@redux/", Mt = mn + "INIT", Zi = mn + Math.random().toString(36), vr = /* @__PURE__ */ function() {
1081
+ var q = gn.exports, he = "function", oe = "undefined", Ue = "reducer", mn = "@@redux/", Mt = mn + "INIT", Zi = mn + Math.random().toString(36), yr = /* @__PURE__ */ function() {
1082
1082
  return (typeof Symbol > "u" ? "undefined" : Q(Symbol)) === he && Symbol.observable || "@@observable";
1083
1083
  }(), qe = " != " + he;
1084
1084
  function vn(e, t, r) {
@@ -1090,51 +1090,51 @@ function vn(e, t, r) {
1090
1090
  if (Q(e) !== he)
1091
1091
  throw new Error(Ue + qe);
1092
1092
  var n = e, i = t, a = [], s = a, o = !1;
1093
- function l() {
1093
+ function u() {
1094
1094
  s === a && (s = a.slice());
1095
1095
  }
1096
- function h() {
1096
+ function d() {
1097
1097
  return i;
1098
1098
  }
1099
- function d(A) {
1100
- if (Q(A) !== he)
1099
+ function l(S) {
1100
+ if (Q(S) !== he)
1101
1101
  throw new Error("Listener" + qe);
1102
- var T = !0;
1103
- return l(), s.push(A), function() {
1104
- if (T) {
1105
- T = !1, l();
1106
- var j = s.indexOf(A);
1107
- s.splice(j, 1);
1102
+ var j = !0;
1103
+ return u(), s.push(S), function() {
1104
+ if (j) {
1105
+ j = !1, u();
1106
+ var N = s.indexOf(S);
1107
+ s.splice(N, 1);
1108
1108
  }
1109
1109
  };
1110
1110
  }
1111
- function m(A) {
1112
- if (!re(A))
1111
+ function h(S) {
1112
+ if (!re(S))
1113
1113
  throw new Error("Act != obj");
1114
- if (Q(A.type) === oe)
1114
+ if (Q(S.type) === oe)
1115
1115
  throw new Error("ActType " + oe);
1116
1116
  if (o)
1117
1117
  throw new Error("Dispatch in " + Ue);
1118
1118
  try {
1119
- o = !0, i = n(i, A);
1119
+ o = !0, i = n(i, S);
1120
1120
  } finally {
1121
1121
  o = !1;
1122
1122
  }
1123
- for (var T = a = s, O = 0; O < T.length; O++) {
1124
- var j = T[O];
1125
- j();
1123
+ for (var j = a = s, P = 0; P < j.length; P++) {
1124
+ var N = j[P];
1125
+ N();
1126
1126
  }
1127
- return A;
1127
+ return S;
1128
1128
  }
1129
- function p(A) {
1130
- if (Q(A) !== he)
1129
+ function p(S) {
1130
+ if (Q(S) !== he)
1131
1131
  throw new Error("next " + Ue + qe);
1132
- n = A, m({
1132
+ n = S, h({
1133
1133
  type: Mt
1134
1134
  });
1135
1135
  }
1136
- function y() {
1137
- var A = d;
1136
+ function b() {
1137
+ var S = l;
1138
1138
  return pe({
1139
1139
  /*
1140
1140
  * The minimal observable subscription method.
@@ -1144,30 +1144,30 @@ function vn(e, t, r) {
1144
1144
  * be used to unsubscribe the observable from the store, and prevent further
1145
1145
  * emission of values from the observable.
1146
1146
  */
1147
- subscribe: function(O) {
1148
- if (Q(O) !== "object")
1147
+ subscribe: function(P) {
1148
+ if (Q(P) !== "object")
1149
1149
  throw new TypeError("Observer != obj");
1150
- function j() {
1151
- O.next && O.next(h());
1150
+ function N() {
1151
+ P.next && P.next(d());
1152
1152
  }
1153
- j();
1154
- var b = A(j);
1153
+ N();
1154
+ var w = S(N);
1155
1155
  return {
1156
- unsubscribe: b
1156
+ unsubscribe: w
1157
1157
  };
1158
1158
  }
1159
- }, vr, function() {
1159
+ }, yr, function() {
1160
1160
  return this;
1161
1161
  });
1162
1162
  }
1163
- return m({
1163
+ return h({
1164
1164
  type: Mt
1165
1165
  }), pe({
1166
- dispatch: m,
1167
- subscribe: d,
1168
- getState: h,
1166
+ dispatch: h,
1167
+ subscribe: l,
1168
+ getState: d,
1169
1169
  replaceReducer: p
1170
- }, vr, y);
1170
+ }, yr, b);
1171
1171
  }
1172
1172
  function ea(e, t) {
1173
1173
  var r = t && t.type, n = r && r.toString() || "?";
@@ -1196,18 +1196,18 @@ function ra(e) {
1196
1196
  s = o;
1197
1197
  }
1198
1198
  return function() {
1199
- var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, h = arguments.length > 1 ? arguments[1] : void 0;
1199
+ var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, d = arguments.length > 1 ? arguments[1] : void 0;
1200
1200
  if (s)
1201
1201
  throw s;
1202
- for (var d = !1, m = {}, p = 0; p < a.length; p++) {
1203
- var y = a[p], A = r[y], T = l[y], O = A(T, h);
1204
- if (Q(O) === oe) {
1205
- var j = ea(y, h);
1206
- throw new Error(j);
1202
+ for (var l = !1, h = {}, p = 0; p < a.length; p++) {
1203
+ var b = a[p], S = r[b], j = u[b], P = S(j, d);
1204
+ if (Q(P) === oe) {
1205
+ var N = ea(b, d);
1206
+ throw new Error(N);
1207
1207
  }
1208
- m[y] = O, d = d || O !== T;
1208
+ h[b] = P, l = l || P !== j;
1209
1209
  }
1210
- return d ? m : l;
1210
+ return l ? h : u;
1211
1211
  };
1212
1212
  }
1213
1213
  function Ne() {
@@ -1226,16 +1226,16 @@ function na() {
1226
1226
  t[r] = arguments[r];
1227
1227
  return function(n) {
1228
1228
  return function(i, a, s) {
1229
- var o = n(i, a, s), l = o.dispatch, h = [], d = {
1229
+ var o = n(i, a, s), u = o.dispatch, d = [], l = {
1230
1230
  getState: o.getState,
1231
1231
  dispatch: function(p) {
1232
- return l(p);
1232
+ return u(p);
1233
1233
  }
1234
1234
  };
1235
- return h = t.map(function(m) {
1236
- return m(d);
1237
- }), l = Ne.apply(void 0, _e(h))(o.dispatch), E(E({}, o), {}, {
1238
- dispatch: l
1235
+ return d = t.map(function(h) {
1236
+ return h(l);
1237
+ }), u = Ne.apply(void 0, _e(d))(o.dispatch), E(E({}, o), {}, {
1238
+ dispatch: u
1239
1239
  });
1240
1240
  };
1241
1241
  };
@@ -1432,44 +1432,44 @@ var ge = Ve + "anon_id", ve = Ve + "user_id", Oe = Ve + "user_traits", Dt = "ana
1432
1432
  }
1433
1433
  }, sa = at.reduce(function(e, t) {
1434
1434
  return e[t] = t, e;
1435
- }, aa), x = sa;
1435
+ }, aa), U = sa;
1436
1436
  function oa(e) {
1437
1437
  return at.includes(e);
1438
1438
  }
1439
- var yr = /^utm_/, br = /^an_prop_/, wr = /^an_trait_/;
1439
+ var br = /^utm_/, wr = /^an_prop_/, Sr = /^an_trait_/;
1440
1440
  function ua(e) {
1441
1441
  var t = e.storage.setItem;
1442
1442
  return function(r) {
1443
1443
  return function(n) {
1444
1444
  return function(i) {
1445
- if (i.type === x.bootstrap) {
1446
- var a = i.params, s = i.user, o = i.persistedUser, l = i.initialUser, h = o.userId === s.userId;
1447
- o.anonymousId !== s.anonymousId && t(ge, s.anonymousId), h || t(ve, s.userId), l.traits && t(Oe, E(E({}, h && o.traits ? o.traits : {}), l.traits));
1448
- var d = Object.keys(i.params);
1449
- if (d.length) {
1450
- var m = a.an_uid, p = a.an_event, y = d.reduce(function(A, T) {
1451
- if (T.match(yr) || T.match(/^(d|g)clid/)) {
1452
- var O = T.replace(yr, ""), j = O === "campaign" ? "name" : O;
1453
- A.campaign[j] = a[T];
1445
+ if (i.type === U.bootstrap) {
1446
+ var a = i.params, s = i.user, o = i.persistedUser, u = i.initialUser, d = o.userId === s.userId;
1447
+ o.anonymousId !== s.anonymousId && t(ge, s.anonymousId), d || t(ve, s.userId), u.traits && t(Oe, E(E({}, d && o.traits ? o.traits : {}), u.traits));
1448
+ var l = Object.keys(i.params);
1449
+ if (l.length) {
1450
+ var h = a.an_uid, p = a.an_event, b = l.reduce(function(S, j) {
1451
+ if (j.match(br) || j.match(/^(d|g)clid/)) {
1452
+ var P = j.replace(br, ""), N = P === "campaign" ? "name" : P;
1453
+ S.campaign[N] = a[j];
1454
1454
  }
1455
- return T.match(br) && (A.props[T.replace(br, "")] = a[T]), T.match(wr) && (A.traits[T.replace(wr, "")] = a[T]), A;
1455
+ return j.match(wr) && (S.props[j.replace(wr, "")] = a[j]), j.match(Sr) && (S.traits[j.replace(Sr, "")] = a[j]), S;
1456
1456
  }, {
1457
1457
  campaign: {},
1458
1458
  props: {},
1459
1459
  traits: {}
1460
1460
  });
1461
1461
  r.dispatch(E(E({
1462
- type: x.params,
1462
+ type: U.params,
1463
1463
  raw: a
1464
- }, y), m ? {
1465
- userId: m
1466
- } : {})), m && setTimeout(function() {
1467
- return e.identify(m, y.traits);
1464
+ }, b), h ? {
1465
+ userId: h
1466
+ } : {})), h && setTimeout(function() {
1467
+ return e.identify(h, b.traits);
1468
1468
  }, 0), p && setTimeout(function() {
1469
- return e.track(p, y.props);
1470
- }, 0), Object.keys(y.campaign).length && r.dispatch({
1471
- type: x.campaign,
1472
- campaign: y.campaign
1469
+ return e.track(p, b.props);
1470
+ }, 0), Object.keys(b.campaign).length && r.dispatch({
1471
+ type: U.campaign,
1472
+ campaign: b.campaign
1473
1473
  });
1474
1474
  }
1475
1475
  }
@@ -1481,7 +1481,7 @@ function ua(e) {
1481
1481
  function ca(e) {
1482
1482
  return function() {
1483
1483
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1484
- if (n.type === x.setItemEnd) {
1484
+ if (n.type === U.setItemEnd) {
1485
1485
  if (n.key === ge)
1486
1486
  return E(E({}, r), {
1487
1487
  anonymousId: n.value
@@ -1492,12 +1492,12 @@ function ca(e) {
1492
1492
  });
1493
1493
  }
1494
1494
  switch (n.type) {
1495
- case x.identify:
1495
+ case U.identify:
1496
1496
  return Object.assign({}, r, {
1497
1497
  userId: n.userId,
1498
1498
  traits: E(E({}, r.traits), n.traits)
1499
1499
  });
1500
- case x.reset:
1500
+ case U.reset:
1501
1501
  return [ve, ge, Oe].forEach(function(i) {
1502
1502
  e.removeItem(i);
1503
1503
  }), Object.assign({}, r, {
@@ -1518,7 +1518,7 @@ function yn(e) {
1518
1518
  traits: e.getItem(Oe)
1519
1519
  };
1520
1520
  }
1521
- var Xt = function(t) {
1521
+ var qt = function(t) {
1522
1522
  return Ve + "TEMP" + Ve + t;
1523
1523
  };
1524
1524
  function la(e) {
@@ -1529,7 +1529,7 @@ function la(e) {
1529
1529
  if (i && re(i) && i[r])
1530
1530
  return i[r];
1531
1531
  var s = yn(e)[r];
1532
- return s || le(Xt(r)) || null;
1532
+ return s || le(qt(r)) || null;
1533
1533
  };
1534
1534
  }
1535
1535
  function fa(e) {
@@ -1537,26 +1537,26 @@ function fa(e) {
1537
1537
  return function(a) {
1538
1538
  return function(s) {
1539
1539
  return function(o) {
1540
- var l = o.userId, h = o.traits, d = o.options;
1541
- if (o.type === x.reset && ([ve, Oe, ge].forEach(function(y) {
1542
- n(y);
1543
- }), [de, Ee, "traits"].forEach(function(y) {
1544
- we(Xt(y));
1545
- })), o.type === x.identify) {
1540
+ var u = o.userId, d = o.traits, l = o.options;
1541
+ if (o.type === U.reset && ([ve, Oe, ge].forEach(function(b) {
1542
+ n(b);
1543
+ }), [de, Ee, "traits"].forEach(function(b) {
1544
+ we(qt(b));
1545
+ })), o.type === U.identify) {
1546
1546
  i(ge) || r(ge, be());
1547
- var m = i(ve), p = i(Oe) || {};
1548
- m && m !== l && a.dispatch({
1549
- type: x.userIdChanged,
1547
+ var h = i(ve), p = i(Oe) || {};
1548
+ h && h !== u && a.dispatch({
1549
+ type: U.userIdChanged,
1550
1550
  old: {
1551
- userId: m,
1551
+ userId: h,
1552
1552
  traits: p
1553
1553
  },
1554
1554
  new: {
1555
- userId: l,
1556
- traits: h
1555
+ userId: u,
1556
+ traits: d
1557
1557
  },
1558
- options: d
1559
- }), l && r(ve, l), h && r(Oe, E(E({}, p), h));
1558
+ options: l
1559
+ }), u && r(ve, u), d && r(Oe, E(E({}, p), d));
1560
1560
  }
1561
1561
  return s(o);
1562
1562
  };
@@ -1582,42 +1582,42 @@ function da(e) {
1582
1582
  });
1583
1583
  }
1584
1584
  function Sn(e, t, r) {
1585
- var n = t(), i = e.getState(), a = i.plugins, s = i.context, o = i.queue, l = i.user, h = !s.offline;
1586
- if (h && o && o.actions && o.actions.length) {
1587
- var d = o.actions.reduce(function(p, y, A) {
1588
- var T = a[y.plugin].loaded;
1589
- return T ? (p.process.push(y), p.processIndex.push(A)) : (p.requeue.push(y), p.requeueIndex.push(A)), p;
1585
+ var n = t(), i = e.getState(), a = i.plugins, s = i.context, o = i.queue, u = i.user, d = !s.offline;
1586
+ if (d && o && o.actions && o.actions.length) {
1587
+ var l = o.actions.reduce(function(p, b, S) {
1588
+ var j = a[b.plugin].loaded;
1589
+ return j ? (p.process.push(b), p.processIndex.push(S)) : (p.requeue.push(b), p.requeueIndex.push(S)), p;
1590
1590
  }, {
1591
1591
  processIndex: [],
1592
1592
  process: [],
1593
1593
  requeue: [],
1594
1594
  requeueIndex: []
1595
1595
  });
1596
- if (d.processIndex && d.processIndex.length) {
1597
- d.processIndex.forEach(function(p) {
1598
- var y = o.actions[p], A = y.plugin, T = y.payload.type, O = n[A][T];
1599
- if (O && ae(O)) {
1600
- var j = ha(y.payload, l);
1601
- O({
1602
- payload: j,
1603
- config: a[A].config,
1596
+ if (l.processIndex && l.processIndex.length) {
1597
+ l.processIndex.forEach(function(p) {
1598
+ var b = o.actions[p], S = b.plugin, j = b.payload.type, P = n[S][j];
1599
+ if (P && ae(P)) {
1600
+ var N = ha(b.payload, u);
1601
+ P({
1602
+ payload: N,
1603
+ config: a[S].config,
1604
1604
  instance: r
1605
1605
  });
1606
- var b = "".concat(T, ":").concat(A);
1607
- e.dispatch(E(E({}, j), {}, {
1608
- type: b,
1606
+ var w = "".concat(j, ":").concat(S);
1607
+ e.dispatch(E(E({}, N), {}, {
1608
+ type: w,
1609
1609
  /* Internal data for analytics engine */
1610
1610
  _: {
1611
- called: b,
1611
+ called: w,
1612
1612
  from: "queueDrain"
1613
1613
  }
1614
1614
  }));
1615
1615
  }
1616
1616
  });
1617
- var m = o.actions.filter(function(p, y) {
1618
- return !~d.processIndex.indexOf(y);
1617
+ var h = o.actions.filter(function(p, b) {
1618
+ return !~l.processIndex.indexOf(b);
1619
1619
  });
1620
- o.actions = m;
1620
+ o.actions = h;
1621
1621
  }
1622
1622
  }
1623
1623
  }
@@ -1642,8 +1642,8 @@ function ma(e, t) {
1642
1642
  try {
1643
1643
  for (r = r.call(e); !(i = (s = r.next()).done) && (n.push(s.value), !(t && n.length === t)); i = !0)
1644
1644
  ;
1645
- } catch (l) {
1646
- a = !0, o = l;
1645
+ } catch (u) {
1646
+ a = !0, o = u;
1647
1647
  } finally {
1648
1648
  try {
1649
1649
  !i && r.return != null && r.return();
@@ -1670,37 +1670,37 @@ function ba(e) {
1670
1670
  return e[n];
1671
1671
  });
1672
1672
  }
1673
- var ke = /Start$/, Sr = /^bootstrap/, Er = /^ready/;
1673
+ var ke = /Start$/, Er = /^bootstrap/, Ar = /^ready/;
1674
1674
  function wa(e, t, r, n, i) {
1675
1675
  return Rt.apply(this, arguments);
1676
1676
  }
1677
1677
  function Rt() {
1678
1678
  return Rt = se(/* @__PURE__ */ q.mark(function e(t, r, n, i, a) {
1679
- var s, o, l, h, d, m, p, y, A, T, O;
1680
- return q.wrap(function(b) {
1679
+ var s, o, u, d, l, h, p, b, S, j, P;
1680
+ return q.wrap(function(w) {
1681
1681
  for (; ; )
1682
- switch (b.prev = b.next) {
1682
+ switch (w.prev = w.next) {
1683
1683
  case 0:
1684
- if (s = ae(r) ? r() : r, o = t.type, l = o.replace(ke, ""), !(t._ && t._.called)) {
1685
- b.next = 5;
1684
+ if (s = ae(r) ? r() : r, o = t.type, u = o.replace(ke, ""), !(t._ && t._.called)) {
1685
+ w.next = 5;
1686
1686
  break;
1687
1687
  }
1688
- return b.abrupt("return", t);
1688
+ return w.abrupt("return", t);
1689
1689
  case 5:
1690
- return h = n.getState(), d = ba(s, h.plugins, t.options), o === x.initializeStart && t.fromEnable && (d = Object.keys(h.plugins).filter(function(C) {
1691
- var I = h.plugins[C];
1692
- return t.plugins.includes(C) && !I.initialized;
1693
- }).map(function(C) {
1694
- return s[C];
1695
- })), m = d.map(function(C) {
1696
- return C.name;
1697
- }), p = Ea(o, d), b.next = 12, yt({
1690
+ return d = n.getState(), l = ba(s, d.plugins, t.options), o === U.initializeStart && t.fromEnable && (l = Object.keys(d.plugins).filter(function(L) {
1691
+ var T = d.plugins[L];
1692
+ return t.plugins.includes(L) && !T.initialized;
1693
+ }).map(function(L) {
1694
+ return s[L];
1695
+ })), h = l.map(function(L) {
1696
+ return L.name;
1697
+ }), p = Ea(o, l), w.next = 12, yt({
1698
1698
  action: t,
1699
1699
  data: {
1700
1700
  exact: p.before,
1701
1701
  namespaced: p.beforeNS
1702
1702
  },
1703
- state: h,
1703
+ state: d,
1704
1704
  allPlugins: s,
1705
1705
  allMatches: p,
1706
1706
  instance: n,
@@ -1708,28 +1708,28 @@ function Rt() {
1708
1708
  EVENTS: a
1709
1709
  });
1710
1710
  case 12:
1711
- if (y = b.sent, !En(y, m.length)) {
1712
- b.next = 15;
1711
+ if (b = w.sent, !En(b, h.length)) {
1712
+ w.next = 15;
1713
1713
  break;
1714
1714
  }
1715
- return b.abrupt("return", y);
1715
+ return w.abrupt("return", b);
1716
1716
  case 15:
1717
- if (o !== l) {
1718
- b.next = 19;
1717
+ if (o !== u) {
1718
+ w.next = 19;
1719
1719
  break;
1720
1720
  }
1721
- A = y, b.next = 22;
1721
+ S = b, w.next = 22;
1722
1722
  break;
1723
1723
  case 19:
1724
- return b.next = 21, yt({
1725
- action: E(E({}, y), {}, {
1726
- type: l
1724
+ return w.next = 21, yt({
1725
+ action: E(E({}, b), {}, {
1726
+ type: u
1727
1727
  }),
1728
1728
  data: {
1729
1729
  exact: p.during,
1730
1730
  namespaced: p.duringNS
1731
1731
  },
1732
- state: h,
1732
+ state: d,
1733
1733
  allPlugins: s,
1734
1734
  allMatches: p,
1735
1735
  instance: n,
@@ -1737,21 +1737,21 @@ function Rt() {
1737
1737
  EVENTS: a
1738
1738
  });
1739
1739
  case 21:
1740
- A = b.sent;
1740
+ S = w.sent;
1741
1741
  case 22:
1742
1742
  if (!o.match(ke)) {
1743
- b.next = 28;
1743
+ w.next = 28;
1744
1744
  break;
1745
1745
  }
1746
- return T = "".concat(l, "End"), b.next = 26, yt({
1747
- action: E(E({}, A), {}, {
1748
- type: T
1746
+ return j = "".concat(u, "End"), w.next = 26, yt({
1747
+ action: E(E({}, S), {}, {
1748
+ type: j
1749
1749
  }),
1750
1750
  data: {
1751
1751
  exact: p.after,
1752
1752
  namespaced: p.afterNS
1753
1753
  },
1754
- state: h,
1754
+ state: d,
1755
1755
  allPlugins: s,
1756
1756
  allMatches: p,
1757
1757
  instance: n,
@@ -1759,224 +1759,224 @@ function Rt() {
1759
1759
  EVENTS: a
1760
1760
  });
1761
1761
  case 26:
1762
- O = b.sent, O.meta && O.meta.hasCallback && bn(O.meta.rid, {
1763
- payload: O
1762
+ P = w.sent, P.meta && P.meta.hasCallback && bn(P.meta.rid, {
1763
+ payload: P
1764
1764
  });
1765
1765
  case 28:
1766
- return b.abrupt("return", y);
1766
+ return w.abrupt("return", b);
1767
1767
  case 29:
1768
1768
  case "end":
1769
- return b.stop();
1769
+ return w.stop();
1770
1770
  }
1771
1771
  }, e);
1772
1772
  })), Rt.apply(this, arguments);
1773
1773
  }
1774
1774
  function yt(e) {
1775
- return xt.apply(this, arguments);
1775
+ return $t.apply(this, arguments);
1776
1776
  }
1777
- function xt() {
1778
- return xt = se(/* @__PURE__ */ q.mark(function e(t) {
1779
- var r, n, i, a, s, o, l, h, d, m, p, y, A, T, O, j, b, C;
1780
- return q.wrap(function(_) {
1777
+ function $t() {
1778
+ return $t = se(/* @__PURE__ */ q.mark(function e(t) {
1779
+ var r, n, i, a, s, o, u, d, l, h, p, b, S, j, P, N, w, L;
1780
+ return q.wrap(function(x) {
1781
1781
  for (; ; )
1782
- switch (_.prev = _.next) {
1782
+ switch (x.prev = x.next) {
1783
1783
  case 0:
1784
- return r = t.data, n = t.action, i = t.instance, a = t.state, s = t.allPlugins, o = t.allMatches, l = t.store, h = t.EVENTS, d = a.plugins, m = a.context, p = n.type, y = p.match(ke), A = r.exact.map(function(M) {
1785
- return M.pluginName;
1786
- }), y && (A = o.during.map(function(M) {
1787
- return M.pluginName;
1788
- })), T = Aa(i, A), O = r.exact.reduce(function(M, k) {
1789
- var N = k.pluginName, L = k.methodName, z = !1;
1790
- return !L.match(/^initialize/) && !L.match(/^reset/) && (z = !d[N].loaded), m.offline && L.match(/^(page|track|identify)/) && (z = !0), M["".concat(N)] = z, M;
1791
- }, {}), _.next = 10, r.exact.reduce(/* @__PURE__ */ function() {
1792
- var M = se(/* @__PURE__ */ q.mark(function k(N, L, z) {
1793
- var F, U, K;
1794
- return q.wrap(function(W) {
1784
+ return r = t.data, n = t.action, i = t.instance, a = t.state, s = t.allPlugins, o = t.allMatches, u = t.store, d = t.EVENTS, l = a.plugins, h = a.context, p = n.type, b = p.match(ke), S = r.exact.map(function(_) {
1785
+ return _.pluginName;
1786
+ }), b && (S = o.during.map(function(_) {
1787
+ return _.pluginName;
1788
+ })), j = Aa(i, S), P = r.exact.reduce(function(_, D) {
1789
+ var C = D.pluginName, G = D.methodName, H = !1;
1790
+ return !G.match(/^initialize/) && !G.match(/^reset/) && (H = !l[C].loaded), h.offline && G.match(/^(page|track|identify)/) && (H = !0), _["".concat(C)] = H, _;
1791
+ }, {}), x.next = 10, r.exact.reduce(/* @__PURE__ */ function() {
1792
+ var _ = se(/* @__PURE__ */ q.mark(function D(C, G, H) {
1793
+ var F, V, I;
1794
+ return q.wrap(function(A) {
1795
1795
  for (; ; )
1796
- switch (W.prev = W.next) {
1796
+ switch (A.prev = A.next) {
1797
1797
  case 0:
1798
- return F = L.pluginName, W.next = 3, N;
1798
+ return F = G.pluginName, A.next = 3, C;
1799
1799
  case 3:
1800
- if (U = W.sent, !(r.namespaced && r.namespaced[F])) {
1801
- W.next = 11;
1800
+ if (V = A.sent, !(r.namespaced && r.namespaced[F])) {
1801
+ A.next = 11;
1802
1802
  break;
1803
1803
  }
1804
- return W.next = 7, r.namespaced[F].reduce(/* @__PURE__ */ function() {
1805
- var B = se(/* @__PURE__ */ q.mark(function J(w, f, u) {
1806
- var c, g, v, S;
1807
- return q.wrap(function(D) {
1804
+ return A.next = 7, r.namespaced[F].reduce(/* @__PURE__ */ function() {
1805
+ var k = se(/* @__PURE__ */ q.mark(function R(m, f, g) {
1806
+ var c, v, O, M;
1807
+ return q.wrap(function(z) {
1808
1808
  for (; ; )
1809
- switch (D.prev = D.next) {
1809
+ switch (z.prev = z.next) {
1810
1810
  case 0:
1811
- return g = function(H, V, G) {
1811
+ return v = function(J, K, B) {
1812
1812
  return function(Y, Je) {
1813
- var Se = G || V;
1814
- return E(E({}, H), {}, {
1813
+ var Se = B || K;
1814
+ return E(E({}, J), {}, {
1815
1815
  abort: {
1816
1816
  reason: Y,
1817
- plugins: Je || [V],
1817
+ plugins: Je || [K],
1818
1818
  caller: p,
1819
1819
  from: Se
1820
1820
  }
1821
1821
  });
1822
1822
  };
1823
- }, D.next = 3, w;
1823
+ }, z.next = 3, m;
1824
1824
  case 3:
1825
- if (c = D.sent, !(!f.method || !ae(f.method))) {
1826
- D.next = 6;
1825
+ if (c = z.sent, !(!f.method || !ae(f.method))) {
1826
+ z.next = 6;
1827
1827
  break;
1828
1828
  }
1829
- return D.abrupt("return", c);
1829
+ return z.abrupt("return", c);
1830
1830
  case 6:
1831
- return Pa(f.methodName, f.pluginName), D.next = 9, f.method({
1831
+ return Pa(f.methodName, f.pluginName), z.next = 9, f.method({
1832
1832
  payload: c,
1833
1833
  instance: i,
1834
- abort: g(c, F, f.pluginName),
1835
- config: Ar(f.pluginName, d, s),
1836
- plugins: d
1834
+ abort: v(c, F, f.pluginName),
1835
+ config: Or(f.pluginName, l, s),
1836
+ plugins: l
1837
1837
  });
1838
1838
  case 9:
1839
- return v = D.sent, S = re(v) ? v : {}, D.abrupt("return", Promise.resolve(E(E({}, c), S)));
1839
+ return O = z.sent, M = re(O) ? O : {}, z.abrupt("return", Promise.resolve(E(E({}, c), M)));
1840
1840
  case 12:
1841
1841
  case "end":
1842
- return D.stop();
1842
+ return z.stop();
1843
1843
  }
1844
- }, J);
1844
+ }, R);
1845
1845
  }));
1846
- return function(J, w, f) {
1847
- return B.apply(this, arguments);
1846
+ return function(R, m, f) {
1847
+ return k.apply(this, arguments);
1848
1848
  };
1849
1849
  }(), Promise.resolve(n));
1850
1850
  case 7:
1851
- K = W.sent, U[F] = K, W.next = 12;
1851
+ I = A.sent, V[F] = I, A.next = 12;
1852
1852
  break;
1853
1853
  case 11:
1854
- U[F] = n;
1854
+ V[F] = n;
1855
1855
  case 12:
1856
- return W.abrupt("return", Promise.resolve(U));
1856
+ return A.abrupt("return", Promise.resolve(V));
1857
1857
  case 13:
1858
1858
  case "end":
1859
- return W.stop();
1859
+ return A.stop();
1860
1860
  }
1861
- }, k);
1861
+ }, D);
1862
1862
  }));
1863
- return function(k, N, L) {
1864
- return M.apply(this, arguments);
1863
+ return function(D, C, G) {
1864
+ return _.apply(this, arguments);
1865
1865
  };
1866
1866
  }(), Promise.resolve({}));
1867
1867
  case 10:
1868
- return j = _.sent, _.next = 13, r.exact.reduce(/* @__PURE__ */ function() {
1869
- var M = se(/* @__PURE__ */ q.mark(function k(N, L, z) {
1870
- var F, U, K, $, W, B, J, w, f, u, c, g, v;
1871
- return q.wrap(function(P) {
1868
+ return N = x.sent, x.next = 13, r.exact.reduce(/* @__PURE__ */ function() {
1869
+ var _ = se(/* @__PURE__ */ q.mark(function D(C, G, H) {
1870
+ var F, V, I, y, A, k, R, m, f, g, c, v, O;
1871
+ return q.wrap(function($) {
1872
1872
  for (; ; )
1873
- switch (P.prev = P.next) {
1873
+ switch ($.prev = $.next) {
1874
1874
  case 0:
1875
- return F = r.exact.length === z + 1, U = L.pluginName, K = s[U], P.next = 5, N;
1875
+ return F = r.exact.length === H + 1, V = G.pluginName, I = s[V], $.next = 5, C;
1876
1876
  case 5:
1877
- if ($ = P.sent, W = j[U] ? j[U] : {}, y && (W = $), !wt(W, U)) {
1878
- P.next = 11;
1877
+ if (y = $.sent, A = N[V] ? N[V] : {}, b && (A = y), !wt(A, V)) {
1878
+ $.next = 11;
1879
1879
  break;
1880
1880
  }
1881
1881
  return bt({
1882
- data: W,
1882
+ data: A,
1883
1883
  method: p,
1884
1884
  instance: i,
1885
- pluginName: U,
1886
- store: l
1887
- }), P.abrupt("return", Promise.resolve($));
1885
+ pluginName: V,
1886
+ store: u
1887
+ }), $.abrupt("return", Promise.resolve(y));
1888
1888
  case 11:
1889
- if (!wt($, U)) {
1890
- P.next = 14;
1889
+ if (!wt(y, V)) {
1890
+ $.next = 14;
1891
1891
  break;
1892
1892
  }
1893
1893
  return F && bt({
1894
- data: $,
1894
+ data: y,
1895
1895
  method: p,
1896
1896
  instance: i,
1897
1897
  // pluginName,
1898
- store: l
1899
- }), P.abrupt("return", Promise.resolve($));
1898
+ store: u
1899
+ }), $.abrupt("return", Promise.resolve(y));
1900
1900
  case 14:
1901
- if (!(O.hasOwnProperty(U) && O[U] === !0)) {
1902
- P.next = 17;
1901
+ if (!(P.hasOwnProperty(V) && P[V] === !0)) {
1902
+ $.next = 17;
1903
1903
  break;
1904
1904
  }
1905
- return l.dispatch({
1905
+ return u.dispatch({
1906
1906
  type: "queue",
1907
- plugin: U,
1908
- payload: W,
1907
+ plugin: V,
1908
+ payload: A,
1909
1909
  /* Internal data for analytics engine */
1910
1910
  _: {
1911
1911
  called: "queue",
1912
1912
  from: "queueMechanism"
1913
1913
  // for debugging
1914
1914
  }
1915
- }), P.abrupt("return", Promise.resolve($));
1915
+ }), $.abrupt("return", Promise.resolve(y));
1916
1916
  case 17:
1917
- return B = T(j[U], s[U]), P.next = 20, K[p]({
1917
+ return k = j(N[V], s[V]), $.next = 20, I[p]({
1918
1918
  // currentPlugin: pluginName,
1919
- abort: B.abort,
1919
+ abort: k.abort,
1920
1920
  // Send in original action value or scope payload
1921
- payload: W,
1921
+ payload: A,
1922
1922
  instance: i,
1923
- config: Ar(U, d, s),
1924
- plugins: d
1923
+ config: Or(V, l, s),
1924
+ plugins: l
1925
1925
  });
1926
1926
  case 20:
1927
- return J = P.sent, w = re(J) ? J : {}, f = E(E({}, $), w), u = j[U], wt(u, U) ? bt({
1928
- data: u,
1927
+ return R = $.sent, m = re(R) ? R : {}, f = E(E({}, y), m), g = N[V], wt(g, V) ? bt({
1928
+ data: g,
1929
1929
  method: p,
1930
1930
  instance: i,
1931
- pluginName: U,
1932
- store: l
1933
- }) : (c = "".concat(p, ":").concat(U), g = (c.match(/:/g) || []).length, g < 2 && !p.match(Sr) && !p.match(Er) && (v = y ? f : W, i.dispatch(E(E({}, v), {}, {
1931
+ pluginName: V,
1932
+ store: u
1933
+ }) : (c = "".concat(p, ":").concat(V), v = (c.match(/:/g) || []).length, v < 2 && !p.match(Er) && !p.match(Ar) && (O = b ? f : A, i.dispatch(E(E({}, O), {}, {
1934
1934
  type: c,
1935
1935
  _: {
1936
1936
  called: c,
1937
1937
  from: "submethod"
1938
1938
  }
1939
- })))), P.abrupt("return", Promise.resolve(f));
1939
+ })))), $.abrupt("return", Promise.resolve(f));
1940
1940
  case 26:
1941
1941
  case "end":
1942
- return P.stop();
1942
+ return $.stop();
1943
1943
  }
1944
- }, k);
1944
+ }, D);
1945
1945
  }));
1946
- return function(k, N, L) {
1947
- return M.apply(this, arguments);
1946
+ return function(D, C, G) {
1947
+ return _.apply(this, arguments);
1948
1948
  };
1949
1949
  }(), Promise.resolve(n));
1950
1950
  case 13:
1951
- if (b = _.sent, !(!p.match(ke) && !p.match(/^registerPlugin/) && // !method.match(/^disablePlugin/) &&
1951
+ if (w = x.sent, !(!p.match(ke) && !p.match(/^registerPlugin/) && // !method.match(/^disablePlugin/) &&
1952
1952
  // !method.match(/^enablePlugin/) &&
1953
- !p.match(Er) && !p.match(Sr) && !p.match(/^params/) && !p.match(/^userIdChanged/))) {
1954
- _.next = 21;
1953
+ !p.match(Ar) && !p.match(Er) && !p.match(/^params/) && !p.match(/^userIdChanged/))) {
1954
+ x.next = 21;
1955
1955
  break;
1956
1956
  }
1957
- if (h.plugins.includes(p), !(b._ && b._.originalAction === p)) {
1958
- _.next = 18;
1957
+ if (d.plugins.includes(p), !(w._ && w._.originalAction === p)) {
1958
+ x.next = 18;
1959
1959
  break;
1960
1960
  }
1961
- return _.abrupt("return", b);
1961
+ return x.abrupt("return", w);
1962
1962
  case 18:
1963
- C = E(E({}, b), {
1963
+ L = E(E({}, w), {
1964
1964
  _: {
1965
- originalAction: b.type,
1966
- called: b.type,
1965
+ originalAction: w.type,
1966
+ called: w.type,
1967
1967
  from: "engineEnd"
1968
1968
  }
1969
- }), En(b, r.exact.length) && !p.match(/End$/) && (C = E(E({}, C), {
1970
- type: b.type + "Aborted"
1971
- })), l.dispatch(C);
1969
+ }), En(w, r.exact.length) && !p.match(/End$/) && (L = E(E({}, L), {
1970
+ type: w.type + "Aborted"
1971
+ })), u.dispatch(L);
1972
1972
  case 21:
1973
- return _.abrupt("return", b);
1973
+ return x.abrupt("return", w);
1974
1974
  case 22:
1975
1975
  case "end":
1976
- return _.stop();
1976
+ return x.stop();
1977
1977
  }
1978
1978
  }, e);
1979
- })), xt.apply(this, arguments);
1979
+ })), $t.apply(this, arguments);
1980
1980
  }
1981
1981
  function bt(e) {
1982
1982
  var t = e.data, r = e.method;
@@ -1990,11 +1990,11 @@ function bt(e) {
1990
1990
  }
1991
1991
  }));
1992
1992
  }
1993
- function Ar(e, t, r) {
1993
+ function Or(e, t, r) {
1994
1994
  var n = t[e] || r[e];
1995
1995
  return n && n.config ? n.config : {};
1996
1996
  }
1997
- function Or(e, t) {
1997
+ function Ir(e, t) {
1998
1998
  return t.reduce(function(r, n) {
1999
1999
  return n[e] ? r.concat({
2000
2000
  methodName: e,
@@ -2006,19 +2006,19 @@ function Or(e, t) {
2006
2006
  function Sa(e) {
2007
2007
  return e.replace(ke, "");
2008
2008
  }
2009
- function Ir(e, t) {
2009
+ function Pr(e, t) {
2010
2010
  var r = Sa(e), n = t ? ":".concat(t) : "", i = "".concat(e).concat(n), a = "".concat(r).concat(n), s = "".concat(r, "End").concat(n);
2011
2011
  return [i, a, s];
2012
2012
  }
2013
2013
  function Ea(e, t, r) {
2014
- var n = Ir(e), i = n.map(function(a) {
2015
- return Or(a, t);
2014
+ var n = Pr(e), i = n.map(function(a) {
2015
+ return Ir(a, t);
2016
2016
  });
2017
2017
  return t.reduce(function(a, s) {
2018
- var o = s.name, l = Ir(e, o), h = l.map(function(A) {
2019
- return Or(A, t);
2020
- }), d = ya(h, 3), m = d[0], p = d[1], y = d[2];
2021
- return m.length && (a.beforeNS[o] = m), p.length && (a.duringNS[o] = p), y.length && (a.afterNS[o] = y), a;
2018
+ var o = s.name, u = Pr(e, o), d = u.map(function(S) {
2019
+ return Ir(S, t);
2020
+ }), l = ya(d, 3), h = l[0], p = l[1], b = l[2];
2021
+ return h.length && (a.beforeNS[o] = h), p.length && (a.duringNS[o] = p), b.length && (a.afterNS[o] = b), a;
2022
2022
  }, {
2023
2023
  before: i[0],
2024
2024
  beforeNS: {},
@@ -2030,7 +2030,7 @@ function Ea(e, t, r) {
2030
2030
  }
2031
2031
  function wt(e, t) {
2032
2032
  var r = e.abort;
2033
- return r ? r === !0 ? !0 : Pr(r, t) || r && Pr(r.plugins, t) : !1;
2033
+ return r ? r === !0 ? !0 : Tr(r, t) || r && Tr(r.plugins, t) : !1;
2034
2034
  }
2035
2035
  function En(e, t) {
2036
2036
  var r = e.abort;
@@ -2042,34 +2042,34 @@ function En(e, t) {
2042
2042
  function Ge(e) {
2043
2043
  return Array.isArray(e);
2044
2044
  }
2045
- function Pr(e, t) {
2045
+ function Tr(e, t) {
2046
2046
  return !e || !Ge(e) ? !1 : e.includes(t);
2047
2047
  }
2048
2048
  function Aa(e, t) {
2049
2049
  return function(r, n, i) {
2050
2050
  var a = n.config, s = n.name, o = "".concat(s, ".").concat(r.type);
2051
2051
  i && (o = i.event);
2052
- var l = r.type.match(ke) ? Oa(s, o, t, i, r) : Ia(r, o);
2052
+ var u = r.type.match(ke) ? Oa(s, o, t, i, r) : Ia(r, o);
2053
2053
  return {
2054
2054
  /* self: plugin, for future maybe */
2055
2055
  // clone objects to avoid reassign
2056
2056
  payload: Ta(r),
2057
2057
  instance: e,
2058
2058
  config: a || {},
2059
- abort: l
2059
+ abort: u
2060
2060
  };
2061
2061
  };
2062
2062
  }
2063
2063
  function Oa(e, t, r, n, i) {
2064
2064
  return function(a, s) {
2065
- var o = n ? n.name : e, l = s && Ge(s) ? s : r;
2066
- if (n && (l = s && Ge(s) ? s : [e], !l.includes(e) || l.length !== 1))
2067
- throw new Error("Method ".concat(t, " can only abort ").concat(e, " plugin. ").concat(JSON.stringify(l), " input valid"));
2065
+ var o = n ? n.name : e, u = s && Ge(s) ? s : r;
2066
+ if (n && (u = s && Ge(s) ? s : [e], !u.includes(e) || u.length !== 1))
2067
+ throw new Error("Method ".concat(t, " can only abort ").concat(e, " plugin. ").concat(JSON.stringify(u), " input valid"));
2068
2068
  return E(E({}, i), {}, {
2069
2069
  // 🔥 todo verify this merge is ok
2070
2070
  abort: {
2071
2071
  reason: a,
2072
- plugins: l,
2072
+ plugins: u,
2073
2073
  caller: t,
2074
2074
  _: o
2075
2075
  }
@@ -2082,14 +2082,14 @@ function Ia(e, t) {
2082
2082
  };
2083
2083
  }
2084
2084
  function Pa(e, t) {
2085
- var r = Tr(e), n = r && r.name === t;
2085
+ var r = jr(e), n = r && r.name === t;
2086
2086
  if (n) {
2087
- var i = Tr(r.method), a = i ? "or " + i.method : "";
2087
+ var i = jr(r.method), a = i ? "or " + i.method : "";
2088
2088
  throw new Error([t + " plugin is calling method " + e, "Plugins cant call self", "Use ".concat(r.method, " ").concat(a, " in ").concat(t, " plugin insteadof ").concat(e)].join(`
2089
2089
  `));
2090
2090
  }
2091
2091
  }
2092
- function Tr(e) {
2092
+ function jr(e) {
2093
2093
  var t = e.match(/(.*):(.*)/);
2094
2094
  return t ? {
2095
2095
  method: t[1],
@@ -2106,73 +2106,73 @@ function ja(e, t, r) {
2106
2106
  return function(i) {
2107
2107
  return function(a) {
2108
2108
  return /* @__PURE__ */ function() {
2109
- var s = se(/* @__PURE__ */ q.mark(function o(l) {
2110
- var h, d, m, p, y, A, T, O, j, b, C, I;
2111
- return q.wrap(function(M) {
2109
+ var s = se(/* @__PURE__ */ q.mark(function o(u) {
2110
+ var d, l, h, p, b, S, j, P, N, w, L, T;
2111
+ return q.wrap(function(_) {
2112
2112
  for (; ; )
2113
- switch (M.prev = M.next) {
2113
+ switch (_.prev = _.next) {
2114
2114
  case 0:
2115
- if (h = l.type, d = l.abort, m = l.plugins, p = l, !d) {
2116
- M.next = 4;
2115
+ if (d = u.type, l = u.abort, h = u.plugins, p = u, !l) {
2116
+ _.next = 4;
2117
2117
  break;
2118
2118
  }
2119
- return M.abrupt("return", a(l));
2119
+ return _.abrupt("return", a(u));
2120
2120
  case 4:
2121
- if (h === x.enablePlugin && i.dispatch({
2122
- type: x.initializeStart,
2123
- plugins: m,
2121
+ if (d === U.enablePlugin && i.dispatch({
2122
+ type: U.initializeStart,
2123
+ plugins: h,
2124
2124
  disabled: [],
2125
2125
  fromEnable: !0,
2126
- meta: l.meta
2127
- }), h === x.disablePlugin && setTimeout(function() {
2128
- return bn(l.meta.rid, {
2129
- payload: l
2126
+ meta: u.meta
2127
+ }), d === U.disablePlugin && setTimeout(function() {
2128
+ return bn(u.meta.rid, {
2129
+ payload: u
2130
2130
  });
2131
- }, 0), h === x.initializeEnd && (y = t(), A = Object.keys(y), T = A.filter(function(k) {
2132
- return m.includes(k);
2133
- }).map(function(k) {
2134
- return y[k];
2135
- }), O = [], j = [], b = l.disabled, C = T.map(function(k) {
2136
- var N = k.loaded, L = k.name;
2137
- return wn(k, N, 1e4).then(function(z) {
2138
- return n[L] || (i.dispatch({
2139
- type: x.pluginReadyType(L),
2131
+ }, 0), d === U.initializeEnd && (b = t(), S = Object.keys(b), j = S.filter(function(D) {
2132
+ return h.includes(D);
2133
+ }).map(function(D) {
2134
+ return b[D];
2135
+ }), P = [], N = [], w = u.disabled, L = j.map(function(D) {
2136
+ var C = D.loaded, G = D.name;
2137
+ return wn(D, C, 1e4).then(function(H) {
2138
+ return n[G] || (i.dispatch({
2139
+ type: U.pluginReadyType(G),
2140
2140
  // `ready:${name}`
2141
- name: L,
2142
- events: Object.keys(k).filter(function(F) {
2141
+ name: G,
2142
+ events: Object.keys(D).filter(function(F) {
2143
2143
  return !Ct.includes(F);
2144
2144
  })
2145
- }), n[L] = !0), O = O.concat(L), k;
2146
- }).catch(function(z) {
2147
- if (z instanceof Error)
2148
- throw new Error(z);
2149
- return j = j.concat(z.name), z;
2145
+ }), n[G] = !0), P = P.concat(G), D;
2146
+ }).catch(function(H) {
2147
+ if (H instanceof Error)
2148
+ throw new Error(H);
2149
+ return N = N.concat(H.name), H;
2150
2150
  });
2151
- }), Promise.all(C).then(function(k) {
2152
- var N = {
2153
- plugins: O,
2154
- failed: j,
2155
- disabled: b
2151
+ }), Promise.all(L).then(function(D) {
2152
+ var C = {
2153
+ plugins: P,
2154
+ failed: N,
2155
+ disabled: w
2156
2156
  };
2157
2157
  setTimeout(function() {
2158
- A.length === C.length + b.length && i.dispatch(E(E({}, {
2159
- type: x.ready
2160
- }), N));
2158
+ S.length === L.length + w.length && i.dispatch(E(E({}, {
2159
+ type: U.ready
2160
+ }), C));
2161
2161
  }, 0);
2162
- })), h === x.bootstrap) {
2163
- M.next = 13;
2162
+ })), d === U.bootstrap) {
2163
+ _.next = 13;
2164
2164
  break;
2165
2165
  }
2166
- return /^ready:([^:]*)$/.test(h) && setTimeout(function() {
2166
+ return /^ready:([^:]*)$/.test(d) && setTimeout(function() {
2167
2167
  return Sn(i, t, e);
2168
- }, 0), M.next = 11, wa(l, t, e, i, r);
2168
+ }, 0), _.next = 11, wa(u, t, e, i, r);
2169
2169
  case 11:
2170
- return I = M.sent, M.abrupt("return", a(I));
2170
+ return T = _.sent, _.abrupt("return", a(T));
2171
2171
  case 13:
2172
- return M.abrupt("return", a(p));
2172
+ return _.abrupt("return", a(p));
2173
2173
  case 14:
2174
2174
  case "end":
2175
- return M.stop();
2175
+ return _.stop();
2176
2176
  }
2177
2177
  }, o);
2178
2178
  }));
@@ -2188,10 +2188,10 @@ function Na(e) {
2188
2188
  return function(r) {
2189
2189
  return function(n) {
2190
2190
  var i = n.type, a = n.key, s = n.value, o = n.options;
2191
- if (i === x.setItem || i === x.removeItem) {
2191
+ if (i === U.setItem || i === U.removeItem) {
2192
2192
  if (n.abort)
2193
2193
  return r(n);
2194
- i === x.setItem ? e.setItem(a, s, o) : e.removeItem(a, o);
2194
+ i === U.setItem ? e.setItem(a, s, o) : e.removeItem(a, o);
2195
2195
  }
2196
2196
  return r(n);
2197
2197
  };
@@ -2222,11 +2222,11 @@ var Da = /* @__PURE__ */ ka(function e() {
2222
2222
  return function(a) {
2223
2223
  var s = {
2224
2224
  getState: n.getState,
2225
- dispatch: function(h) {
2226
- return n.dispatch(h);
2225
+ dispatch: function(d) {
2226
+ return n.dispatch(d);
2227
2227
  }
2228
- }, o = t[r].map(function(l) {
2229
- return l(s);
2228
+ }, o = t[r].map(function(u) {
2229
+ return u(s);
2230
2230
  });
2231
2231
  return Ne.apply(void 0, _e(o))(i)(a);
2232
2232
  };
@@ -2240,7 +2240,7 @@ function Ca(e) {
2240
2240
  if (n.type === "initialize:aborted")
2241
2241
  return r;
2242
2242
  if (/^registerPlugin:([^:]*)$/.test(n.type)) {
2243
- var a = jr(n.type, "registerPlugin"), s = e()[a];
2243
+ var a = Nr(n.type, "registerPlugin"), s = e()[a];
2244
2244
  if (!s || !a)
2245
2245
  return r;
2246
2246
  var o = n.enabled;
@@ -2254,11 +2254,11 @@ function Ca(e) {
2254
2254
  }, E(E({}, r), i);
2255
2255
  }
2256
2256
  if (/^initialize:([^:]*)$/.test(n.type)) {
2257
- var l = jr(n.type, x.initialize), h = e()[l];
2258
- return !h || !l ? r : (i[l] = E(E({}, r[l]), {
2257
+ var u = Nr(n.type, U.initialize), d = e()[u];
2258
+ return !d || !u ? r : (i[u] = E(E({}, r[u]), {
2259
2259
  initialized: !0,
2260
2260
  /* check plugin.loaded function */
2261
- loaded: !!h.loaded()
2261
+ loaded: !!d.loaded()
2262
2262
  }), E(E({}, r), i));
2263
2263
  }
2264
2264
  if (/^ready:([^:]*)$/.test(n.type))
@@ -2266,19 +2266,19 @@ function Ca(e) {
2266
2266
  loaded: !0
2267
2267
  }), E(E({}, r), i);
2268
2268
  switch (n.type) {
2269
- case x.disablePlugin:
2270
- return E(E({}, r), Nr(n.plugins, !1, r));
2271
- case x.enablePlugin:
2272
- return E(E({}, r), Nr(n.plugins, !0, r));
2269
+ case U.disablePlugin:
2270
+ return E(E({}, r), kr(n.plugins, !1, r));
2271
+ case U.enablePlugin:
2272
+ return E(E({}, r), kr(n.plugins, !0, r));
2273
2273
  default:
2274
2274
  return r;
2275
2275
  }
2276
2276
  };
2277
2277
  }
2278
- function jr(e, t) {
2278
+ function Nr(e, t) {
2279
2279
  return e.substring(t.length + 1, e.length);
2280
2280
  }
2281
- function Nr(e, t, r) {
2281
+ function kr(e, t, r) {
2282
2282
  return e.reduce(function(n, i) {
2283
2283
  return n[i] = E(E({}, r[i]), {
2284
2284
  enabled: t
@@ -2296,10 +2296,10 @@ var Ra = {
2296
2296
  last: {},
2297
2297
  history: []
2298
2298
  };
2299
- function xa() {
2299
+ function $a() {
2300
2300
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ra, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.event, i = t.properties, a = t.options, s = t.meta;
2301
2301
  switch (r) {
2302
- case x.track:
2302
+ case U.track:
2303
2303
  var o = An(E(E({
2304
2304
  event: n,
2305
2305
  properties: i
@@ -2317,15 +2317,15 @@ function xa() {
2317
2317
  return e;
2318
2318
  }
2319
2319
  }
2320
- var $a = {
2320
+ var xa = {
2321
2321
  actions: []
2322
2322
  };
2323
2323
  function _a() {
2324
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : $a, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.payload;
2324
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : xa, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.payload;
2325
2325
  switch (r) {
2326
2326
  case "queue":
2327
2327
  var i;
2328
- return n && n.type && n.type === x.identify ? i = [t].concat(e.actions) : i = e.actions.concat(t), E(E({}, e), {}, {
2328
+ return n && n.type && n.type === U.identify ? i = [t].concat(e.actions) : i = e.actions.concat(t), E(E({}, e), {}, {
2329
2329
  actions: i
2330
2330
  });
2331
2331
  case "dequeue":
@@ -2353,14 +2353,14 @@ function za(e) {
2353
2353
  var Wa = function() {
2354
2354
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2355
2355
  if (!ce) return t;
2356
- var r = document, n = r.title, i = r.referrer, a = window, s = a.location, o = a.innerWidth, l = a.innerHeight, h = s.hash, d = s.search, m = za(d), p = {
2356
+ var r = document, n = r.title, i = r.referrer, a = window, s = a.location, o = a.innerWidth, u = a.innerHeight, d = s.hash, l = s.search, h = za(l), p = {
2357
2357
  title: n,
2358
- url: m,
2359
- path: La(m),
2360
- hash: h,
2361
- search: d,
2358
+ url: h,
2359
+ path: La(h),
2360
+ hash: d,
2361
+ search: l,
2362
2362
  width: o,
2363
- height: l
2363
+ height: u
2364
2364
  };
2365
2365
  return i && i !== "" && (p.referrer = i), E(E({}, p), t);
2366
2366
  }, Va = {
@@ -2370,7 +2370,7 @@ var Wa = function() {
2370
2370
  function Ga() {
2371
2371
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Va, t = arguments.length > 1 ? arguments[1] : void 0, r = t.properties, n = t.options, i = t.meta;
2372
2372
  switch (t.type) {
2373
- case x.page:
2373
+ case U.page:
2374
2374
  var a = An(E({
2375
2375
  properties: r,
2376
2376
  meta: i
@@ -2393,7 +2393,7 @@ function Ha() {
2393
2393
  }
2394
2394
  var In, Pn, Tn, jn;
2395
2395
  In = Ha(), Pn = ce ? document.referrer : null, Tn = Gi(), jn = Hi();
2396
- var kr = {
2396
+ var Mr = {
2397
2397
  initialized: !1,
2398
2398
  sessionId: be(),
2399
2399
  app: null,
@@ -2417,22 +2417,22 @@ var kr = {
2417
2417
  referrer: Pn
2418
2418
  };
2419
2419
  function Fa() {
2420
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : kr, t = arguments.length > 1 ? arguments[1] : void 0, r = e.initialized, n = t.type, i = t.campaign;
2420
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Mr, t = arguments.length > 1 ? arguments[1] : void 0, r = e.initialized, n = t.type, i = t.campaign;
2421
2421
  switch (n) {
2422
- case x.campaign:
2422
+ case U.campaign:
2423
2423
  return E(E({}, e), {
2424
2424
  campaign: i
2425
2425
  });
2426
- case x.offline:
2426
+ case U.offline:
2427
2427
  return E(E({}, e), {
2428
2428
  offline: !0
2429
2429
  });
2430
- case x.online:
2430
+ case U.online:
2431
2431
  return E(E({}, e), {
2432
2432
  offline: !1
2433
2433
  });
2434
2434
  default:
2435
- return r ? e : E(E(E({}, kr), e), {
2435
+ return r ? e : E(E(E({}, Mr), e), {
2436
2436
  initialized: !0
2437
2437
  });
2438
2438
  }
@@ -2465,9 +2465,9 @@ function Xa(e) {
2465
2465
  function Nn() {
2466
2466
  return ue(Dt, []), function(e) {
2467
2467
  return function(t, r, n) {
2468
- var i = e(t, r, n), a = i.dispatch, s = function(l) {
2469
- var h = l.action || l;
2470
- return je[Te][Dt].push(h), a(l);
2468
+ var i = e(t, r, n), a = i.dispatch, s = function(u) {
2469
+ var d = u.action || u;
2470
+ return je[Te][Dt].push(d), a(u);
2471
2471
  };
2472
2472
  return Object.assign(i, {
2473
2473
  dispatch: s
@@ -2475,7 +2475,7 @@ function Nn() {
2475
2475
  };
2476
2476
  };
2477
2477
  }
2478
- function Mr(e) {
2478
+ function Dr(e) {
2479
2479
  return function() {
2480
2480
  return Ne(Ne.apply(null, arguments), Nn());
2481
2481
  };
@@ -2499,7 +2499,7 @@ function Za(e, t) {
2499
2499
  t && t(r), e(r);
2500
2500
  };
2501
2501
  }
2502
- function Dr() {
2502
+ function Cr() {
2503
2503
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, n = be();
2504
2504
  return t && (Re[n] = Za(t, qa(r))), E(E({}, e), {}, {
2505
2505
  rid: n,
@@ -2509,23 +2509,23 @@ function Dr() {
2509
2509
  } : {});
2510
2510
  }
2511
2511
  function es() {
2512
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.reducers || {}, r = e.initialUser || {}, n = (e.plugins || []).reduce(function(u, c) {
2512
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.reducers || {}, r = e.initialUser || {}, n = (e.plugins || []).reduce(function(g, c) {
2513
2513
  if (ae(c))
2514
- return u.middlewares = u.middlewares.concat(c), u;
2514
+ return g.middlewares = g.middlewares.concat(c), g;
2515
2515
  if (c.NAMESPACE && (c.name = c.NAMESPACE), !c.name)
2516
2516
  throw new Error(ia + "1");
2517
- var g = c.EVENTS ? Object.keys(c.EVENTS).map(function(H) {
2518
- return c.EVENTS[H];
2519
- }) : [], v = c.enabled !== !1, S = !(c.config && c.config.enabled === !1);
2520
- u.pluginEnabled[c.name] = v && S, delete c.enabled, c.methods && (u.methods[c.name] = Object.keys(c.methods).reduce(function(H, V) {
2521
- return H[V] = f(c.methods[V]), H;
2517
+ var v = c.EVENTS ? Object.keys(c.EVENTS).map(function(J) {
2518
+ return c.EVENTS[J];
2519
+ }) : [], O = c.enabled !== !1, M = !(c.config && c.config.enabled === !1);
2520
+ g.pluginEnabled[c.name] = O && M, delete c.enabled, c.methods && (g.methods[c.name] = Object.keys(c.methods).reduce(function(J, K) {
2521
+ return J[K] = f(c.methods[K]), J;
2522
2522
  }, {}), delete c.methods);
2523
- var P = Object.keys(c), D = P.concat(g), R = new Set(u.events.concat(D));
2524
- if (u.events = Array.from(R), u.pluginsArray = u.pluginsArray.concat(c), u.plugins[c.name])
2523
+ var $ = Object.keys(c), z = $.concat(v), W = new Set(g.events.concat(z));
2524
+ if (g.events = Array.from(W), g.pluginsArray = g.pluginsArray.concat(c), g.plugins[c.name])
2525
2525
  throw new Error(c.name + "AlreadyLoaded");
2526
- return u.plugins[c.name] = c, u.plugins[c.name].loaded || (u.plugins[c.name].loaded = function() {
2526
+ return g.plugins[c.name] = c, g.plugins[c.name].loaded || (g.plugins[c.name].loaded = function() {
2527
2527
  return !0;
2528
- }), u;
2528
+ }), g;
2529
2529
  }, {
2530
2530
  plugins: {},
2531
2531
  pluginEnabled: {},
@@ -2537,21 +2537,21 @@ function es() {
2537
2537
  getItem: le,
2538
2538
  setItem: ue,
2539
2539
  removeItem: we
2540
- }, a = la(i), s = n.plugins, o = n.events.filter(function(u) {
2541
- return !Ct.includes(u);
2542
- }).sort(), l = new Set(o.concat(at).filter(function(u) {
2543
- return !Ct.includes(u);
2544
- })), h = Array.from(l).sort(), d = function() {
2540
+ }, a = la(i), s = n.plugins, o = n.events.filter(function(g) {
2541
+ return !Ct.includes(g);
2542
+ }).sort(), u = new Set(o.concat(at).filter(function(g) {
2543
+ return !Ct.includes(g);
2544
+ })), d = Array.from(u).sort(), l = function() {
2545
2545
  return s;
2546
- }, m = new Da(), p = m.addMiddleware, y = m.removeMiddleware, A = m.dynamicMiddlewares, T = function() {
2546
+ }, h = new Da(), p = h.addMiddleware, b = h.removeMiddleware, S = h.dynamicMiddlewares, j = function() {
2547
2547
  throw new Error("Abort disabled inListener");
2548
- }, O = Fi(), j = yn(i), b = E(E(E(E({}, j), r), O.an_uid ? {
2549
- userId: O.an_uid
2550
- } : {}), O.an_aid ? {
2551
- anonymousId: O.an_aid
2548
+ }, P = Fi(), N = yn(i), w = E(E(E(E({}, N), r), P.an_uid ? {
2549
+ userId: P.an_uid
2550
+ } : {}), P.an_aid ? {
2551
+ anonymousId: P.an_aid
2552
2552
  } : {});
2553
- b.anonymousId || (b.anonymousId = be());
2554
- var C = E({
2553
+ w.anonymousId || (w.anonymousId = be());
2554
+ var L = E({
2555
2555
  /**
2556
2556
  * Enable analytics plugin
2557
2557
  * @typedef {Function} EnablePlugin
@@ -2569,15 +2569,15 @@ function es() {
2569
2569
  * console.log('do stuff')
2570
2570
  * })
2571
2571
  */
2572
- enable: function(c, g) {
2573
- return new Promise(function(v) {
2574
- $.dispatch({
2575
- type: x.enablePlugin,
2572
+ enable: function(c, v) {
2573
+ return new Promise(function(O) {
2574
+ y.dispatch({
2575
+ type: U.enablePlugin,
2576
2576
  plugins: St(c),
2577
2577
  _: {
2578
- originalAction: x.enablePlugin
2578
+ originalAction: U.enablePlugin
2579
2579
  }
2580
- }, v, [g]);
2580
+ }, O, [v]);
2581
2581
  });
2582
2582
  },
2583
2583
  /**
@@ -2596,18 +2596,18 @@ function es() {
2596
2596
  * console.log('do stuff')
2597
2597
  * })
2598
2598
  */
2599
- disable: function(c, g) {
2600
- return new Promise(function(v) {
2601
- $.dispatch({
2602
- type: x.disablePlugin,
2599
+ disable: function(c, v) {
2600
+ return new Promise(function(O) {
2601
+ y.dispatch({
2602
+ type: U.disablePlugin,
2603
2603
  plugins: St(c),
2604
2604
  _: {
2605
- originalAction: x.disablePlugin
2605
+ originalAction: U.disablePlugin
2606
2606
  }
2607
- }, v, [g]);
2607
+ }, O, [v]);
2608
2608
  });
2609
2609
  }
2610
- }, n.methods), I = {
2610
+ }, n.methods), T = {
2611
2611
  /**
2612
2612
  * Identify a user. This will trigger `identify` calls in any installed plugins and will set user data in localStorage
2613
2613
  * @typedef {Function} Identify
@@ -2652,31 +2652,31 @@ function es() {
2652
2652
  * })
2653
2653
  */
2654
2654
  identify: function() {
2655
- var u = se(/* @__PURE__ */ q.mark(function g(v, S, P, D) {
2656
- var R, H, V, G, Y;
2655
+ var g = se(/* @__PURE__ */ q.mark(function v(O, M, $, z) {
2656
+ var W, J, K, B, Y;
2657
2657
  return q.wrap(function(Se) {
2658
2658
  for (; ; )
2659
2659
  switch (Se.prev = Se.next) {
2660
2660
  case 0:
2661
- return R = tt(v) ? v : null, H = re(v) ? v : S, V = P || {}, G = I.user(), ue(Xt(de), R), Y = R || H.userId || a(de, I, H), Se.abrupt("return", new Promise(function(si) {
2662
- $.dispatch(E({
2663
- type: x.identifyStart,
2661
+ return W = tt(O) ? O : null, J = re(O) ? O : M, K = $ || {}, B = T.user(), ue(qt(de), W), Y = W || J.userId || a(de, T, J), Se.abrupt("return", new Promise(function(si) {
2662
+ y.dispatch(E({
2663
+ type: U.identifyStart,
2664
2664
  userId: Y,
2665
- traits: H || {},
2666
- options: V,
2667
- anonymousId: G.anonymousId
2668
- }, G.id && G.id !== R && {
2669
- previousId: G.id
2670
- }), si, [S, P, D]);
2665
+ traits: J || {},
2666
+ options: K,
2667
+ anonymousId: B.anonymousId
2668
+ }, B.id && B.id !== W && {
2669
+ previousId: B.id
2670
+ }), si, [M, $, z]);
2671
2671
  }));
2672
2672
  case 7:
2673
2673
  case "end":
2674
2674
  return Se.stop();
2675
2675
  }
2676
- }, g);
2676
+ }, v);
2677
2677
  }));
2678
- function c(g, v, S, P) {
2679
- return u.apply(this, arguments);
2678
+ function c(v, O, M, $) {
2679
+ return g.apply(this, arguments);
2680
2680
  }
2681
2681
  return c;
2682
2682
  }(),
@@ -2729,36 +2729,36 @@ function es() {
2729
2729
  * })
2730
2730
  */
2731
2731
  track: function() {
2732
- var u = se(/* @__PURE__ */ q.mark(function g(v, S, P, D) {
2733
- var R, H, V;
2732
+ var g = se(/* @__PURE__ */ q.mark(function v(O, M, $, z) {
2733
+ var W, J, K;
2734
2734
  return q.wrap(function(Y) {
2735
2735
  for (; ; )
2736
2736
  switch (Y.prev = Y.next) {
2737
2737
  case 0:
2738
- if (R = re(v) ? v.event : v, !(!R || !tt(R))) {
2738
+ if (W = re(O) ? O.event : O, !(!W || !tt(W))) {
2739
2739
  Y.next = 3;
2740
2740
  break;
2741
2741
  }
2742
2742
  throw new Error("EventMissing");
2743
2743
  case 3:
2744
- return H = re(v) ? v : S || {}, V = re(P) ? P : {}, Y.abrupt("return", new Promise(function(Je) {
2745
- $.dispatch({
2746
- type: x.trackStart,
2747
- event: R,
2748
- properties: H,
2749
- options: V,
2750
- userId: a(de, I, S),
2751
- anonymousId: a(Ee, I, S)
2752
- }, Je, [S, P, D]);
2744
+ return J = re(O) ? O : M || {}, K = re($) ? $ : {}, Y.abrupt("return", new Promise(function(Je) {
2745
+ y.dispatch({
2746
+ type: U.trackStart,
2747
+ event: W,
2748
+ properties: J,
2749
+ options: K,
2750
+ userId: a(de, T, M),
2751
+ anonymousId: a(Ee, T, M)
2752
+ }, Je, [M, $, z]);
2753
2753
  }));
2754
2754
  case 6:
2755
2755
  case "end":
2756
2756
  return Y.stop();
2757
2757
  }
2758
- }, g);
2758
+ }, v);
2759
2759
  }));
2760
- function c(g, v, S, P) {
2761
- return u.apply(this, arguments);
2760
+ function c(v, O, M, $) {
2761
+ return g.apply(this, arguments);
2762
2762
  }
2763
2763
  return c;
2764
2764
  }(),
@@ -2804,29 +2804,29 @@ function es() {
2804
2804
  * })
2805
2805
  */
2806
2806
  page: function() {
2807
- var u = se(/* @__PURE__ */ q.mark(function g(v, S, P) {
2808
- var D, R;
2809
- return q.wrap(function(V) {
2807
+ var g = se(/* @__PURE__ */ q.mark(function v(O, M, $) {
2808
+ var z, W;
2809
+ return q.wrap(function(K) {
2810
2810
  for (; ; )
2811
- switch (V.prev = V.next) {
2811
+ switch (K.prev = K.next) {
2812
2812
  case 0:
2813
- return D = re(v) ? v : {}, R = re(S) ? S : {}, V.abrupt("return", new Promise(function(G) {
2814
- $.dispatch({
2815
- type: x.pageStart,
2816
- properties: Wa(D),
2817
- options: R,
2818
- userId: a(de, I, D),
2819
- anonymousId: a(Ee, I, D)
2820
- }, G, [v, S, P]);
2813
+ return z = re(O) ? O : {}, W = re(M) ? M : {}, K.abrupt("return", new Promise(function(B) {
2814
+ y.dispatch({
2815
+ type: U.pageStart,
2816
+ properties: Wa(z),
2817
+ options: W,
2818
+ userId: a(de, T, z),
2819
+ anonymousId: a(Ee, T, z)
2820
+ }, B, [O, M, $]);
2821
2821
  }));
2822
2822
  case 3:
2823
2823
  case "end":
2824
- return V.stop();
2824
+ return K.stop();
2825
2825
  }
2826
- }, g);
2826
+ }, v);
2827
2827
  }));
2828
- function c(g, v, S) {
2829
- return u.apply(this, arguments);
2828
+ function c(v, O, M) {
2829
+ return g.apply(this, arguments);
2830
2830
  }
2831
2831
  return c;
2832
2832
  }(),
@@ -2849,11 +2849,11 @@ function es() {
2849
2849
  */
2850
2850
  user: function(c) {
2851
2851
  if (c === de || c === "id")
2852
- return a(de, I);
2852
+ return a(de, T);
2853
2853
  if (c === Ee || c === "anonId")
2854
- return a(Ee, I);
2855
- var g = I.getState("user");
2856
- return c ? lr(g, c) : g;
2854
+ return a(Ee, T);
2855
+ var v = T.getState("user");
2856
+ return c ? fr(v, c) : v;
2857
2857
  },
2858
2858
  /**
2859
2859
  * Clear all information about the visitor & reset analytic state.
@@ -2866,10 +2866,10 @@ function es() {
2866
2866
  * analytics.reset()
2867
2867
  */
2868
2868
  reset: function(c) {
2869
- return new Promise(function(g) {
2870
- $.dispatch({
2871
- type: x.resetStart
2872
- }, g, c);
2869
+ return new Promise(function(v) {
2870
+ y.dispatch({
2871
+ type: U.resetStart
2872
+ }, v, c);
2873
2873
  });
2874
2874
  },
2875
2875
  /**
@@ -2885,7 +2885,7 @@ function es() {
2885
2885
  * })
2886
2886
  */
2887
2887
  ready: function(c) {
2888
- return I.on(x.ready, c);
2888
+ return T.on(U.ready, c);
2889
2889
  },
2890
2890
  /**
2891
2891
  * Attach an event handler function for analytics lifecycle events.
@@ -2909,55 +2909,55 @@ function es() {
2909
2909
  * // cleanup .on listener
2910
2910
  * removeListener()
2911
2911
  */
2912
- on: function(c, g) {
2913
- if (!c || !ae(g))
2912
+ on: function(c, v) {
2913
+ if (!c || !ae(v))
2914
2914
  return !1;
2915
- if (c === x.bootstrap)
2915
+ if (c === U.bootstrap)
2916
2916
  throw new Error(".on disabled for " + c);
2917
- var v = /Start$|Start:/;
2917
+ var O = /Start$|Start:/;
2918
2918
  if (c === "*") {
2919
- var S = function(V) {
2920
- return function(G) {
2919
+ var M = function(K) {
2920
+ return function(B) {
2921
2921
  return function(Y) {
2922
- return Y.type.match(v) && g({
2922
+ return Y.type.match(O) && v({
2923
2923
  // eslint-disable-line
2924
2924
  payload: Y,
2925
- instance: I,
2925
+ instance: T,
2926
2926
  plugins: s
2927
- }), G(Y);
2927
+ }), B(Y);
2928
2928
  };
2929
2929
  };
2930
- }, P = function(V) {
2931
- return function(G) {
2930
+ }, $ = function(K) {
2931
+ return function(B) {
2932
2932
  return function(Y) {
2933
- return Y.type.match(v) || g({
2933
+ return Y.type.match(O) || v({
2934
2934
  // eslint-disable-line
2935
2935
  payload: Y,
2936
- instance: I,
2936
+ instance: T,
2937
2937
  plugins: s
2938
- }), G(Y);
2938
+ }), B(Y);
2939
2939
  };
2940
2940
  };
2941
2941
  };
2942
- return p(S, Qe), p(P, Ze), function() {
2943
- y(S, Qe), y(P, Ze);
2942
+ return p(M, Qe), p($, Ze), function() {
2943
+ b(M, Qe), b($, Ze);
2944
2944
  };
2945
2945
  }
2946
- var D = c.match(v) ? Qe : Ze, R = function(V) {
2947
- return function(G) {
2946
+ var z = c.match(O) ? Qe : Ze, W = function(K) {
2947
+ return function(B) {
2948
2948
  return function(Y) {
2949
- return Y.type === c && g({
2949
+ return Y.type === c && v({
2950
2950
  // eslint-disable-line
2951
2951
  payload: Y,
2952
- instance: I,
2952
+ instance: T,
2953
2953
  plugins: s,
2954
- abort: T
2955
- }), G(Y);
2954
+ abort: j
2955
+ }), B(Y);
2956
2956
  };
2957
2957
  };
2958
2958
  };
2959
- return p(R, D), function() {
2960
- return y(R, D);
2959
+ return p(W, z), function() {
2960
+ return b(W, z);
2961
2961
  };
2962
2962
  },
2963
2963
  /**
@@ -2982,22 +2982,22 @@ function es() {
2982
2982
  * // cleanup .once listener before it fires
2983
2983
  * listener()
2984
2984
  */
2985
- once: function(c, g) {
2986
- if (!c || !ae(g))
2985
+ once: function(c, v) {
2986
+ if (!c || !ae(v))
2987
2987
  return !1;
2988
- if (c === x.bootstrap)
2988
+ if (c === U.bootstrap)
2989
2989
  throw new Error(".once disabled for " + c);
2990
- var v = I.on(c, function(S) {
2991
- var P = S.payload;
2992
- g({
2990
+ var O = T.on(c, function(M) {
2991
+ var $ = M.payload;
2992
+ v({
2993
2993
  // eslint-disable-line
2994
- payload: P,
2995
- instance: I,
2994
+ payload: $,
2995
+ instance: T,
2996
2996
  plugins: s,
2997
- abort: T
2998
- }), v();
2997
+ abort: j
2998
+ }), O();
2999
2999
  });
3000
- return v;
3000
+ return O;
3001
3001
  },
3002
3002
  /**
3003
3003
  * Get data about user, activity, or context. Access sub-keys of state with `dot.prop` syntax.
@@ -3014,36 +3014,36 @@ function es() {
3014
3014
  * analytics.getState('context.offline')
3015
3015
  */
3016
3016
  getState: function(c) {
3017
- var g = $.getState();
3018
- return c ? lr(g, c) : Object.assign({}, g);
3017
+ var v = y.getState();
3018
+ return c ? fr(v, c) : Object.assign({}, v);
3019
3019
  },
3020
3020
  /*
3021
3021
  * Emit events for other plugins or middleware to react to.
3022
3022
  * @param {Object} action - event to dispatch
3023
3023
  */
3024
3024
  dispatch: function(c) {
3025
- var g = tt(c) ? {
3025
+ var v = tt(c) ? {
3026
3026
  type: c
3027
3027
  } : c;
3028
- if (oa(g.type))
3029
- throw new Error("reserved action " + g.type);
3030
- var v = c._ || {}, S = E(E({}, g), {}, {
3028
+ if (oa(v.type))
3029
+ throw new Error("reserved action " + v.type);
3030
+ var O = c._ || {}, M = E(E({}, v), {}, {
3031
3031
  _: E({
3032
- originalAction: g.type
3033
- }, v)
3032
+ originalAction: v.type
3033
+ }, O)
3034
3034
  // type: `${autoPrefixType}`
3035
3035
  });
3036
- $.dispatch(S);
3036
+ y.dispatch(M);
3037
3037
  },
3038
3038
  // Do not use. Will be removed. Here for Backwards compatiblity.
3039
3039
  // Moved to analytics.plugins.enable
3040
- enablePlugin: C.enable,
3040
+ enablePlugin: L.enable,
3041
3041
  /// Do not use. Will be removed. Here for Backwards compatiblity.
3042
3042
  /// Moved to analytics.plugins.disable
3043
- disablePlugin: C.disable,
3043
+ disablePlugin: L.disable,
3044
3044
  // Do not use. Will be removed. Here for Backwards compatiblity.
3045
3045
  // New plugins api
3046
- plugins: C,
3046
+ plugins: L,
3047
3047
  /**
3048
3048
  * Storage utilities for persisting data.
3049
3049
  * These methods will allow you to save data in localStorage, cookies, or to the window.
@@ -3090,12 +3090,12 @@ function es() {
3090
3090
  *
3091
3091
  * analytics.storage.setItem('storage_key', 'value')
3092
3092
  */
3093
- setItem: function(c, g, v) {
3094
- $.dispatch({
3095
- type: x.setItemStart,
3093
+ setItem: function(c, v, O) {
3094
+ y.dispatch({
3095
+ type: U.setItemStart,
3096
3096
  key: c,
3097
- value: g,
3098
- options: v
3097
+ value: v,
3098
+ options: O
3099
3099
  });
3100
3100
  },
3101
3101
  /**
@@ -3108,11 +3108,11 @@ function es() {
3108
3108
  *
3109
3109
  * analytics.storage.removeItem('storage_key')
3110
3110
  */
3111
- removeItem: function(c, g) {
3112
- $.dispatch({
3113
- type: x.removeItemStart,
3111
+ removeItem: function(c, v) {
3112
+ y.dispatch({
3113
+ type: U.removeItemStart,
3114
3114
  key: c,
3115
- options: g
3115
+ options: v
3116
3116
  });
3117
3117
  }
3118
3118
  },
@@ -3126,140 +3126,140 @@ function es() {
3126
3126
  * // Set anonymous ID
3127
3127
  * analytics.setAnonymousId('1234567')
3128
3128
  */
3129
- setAnonymousId: function(c, g) {
3130
- I.storage.setItem(ge, c, g);
3129
+ setAnonymousId: function(c, v) {
3130
+ T.storage.setItem(ge, c, v);
3131
3131
  },
3132
3132
  /*
3133
3133
  * Events exposed by core analytics library and all loaded plugins
3134
3134
  * @type {Array}
3135
3135
  */
3136
3136
  events: {
3137
- all: h,
3137
+ all: d,
3138
3138
  core: at,
3139
3139
  plugins: o
3140
3140
  // byType: (type) => {} @Todo grab logic from engine and give inspectable events
3141
3141
  }
3142
- }, _ = function(c) {
3143
- return function(g) {
3144
- return function(v) {
3145
- return v.meta || (v.meta = Dr()), g(v);
3142
+ }, x = function(c) {
3143
+ return function(v) {
3144
+ return function(O) {
3145
+ return O.meta || (O.meta = Cr()), v(O);
3146
3146
  };
3147
3147
  };
3148
- }, M = n.middlewares.concat([
3149
- _,
3148
+ }, _ = n.middlewares.concat([
3149
+ x,
3150
3150
  /* Core analytics middleware */
3151
- A(Qe),
3151
+ S(Qe),
3152
3152
  // Before dynamic middleware <-- fixed pageStart .on listener
3153
3153
  /* Plugin engine */
3154
- ja(I, d, {
3155
- all: h,
3154
+ ja(T, l, {
3155
+ all: d,
3156
3156
  plugins: o
3157
3157
  }),
3158
3158
  Na(i),
3159
- ua(I),
3160
- fa(I),
3159
+ ua(T),
3160
+ fa(T),
3161
3161
  /* after dynamic middleware */
3162
- A(Ze)
3163
- ]), k = {
3162
+ S(Ze)
3163
+ ]), D = {
3164
3164
  context: Fa,
3165
3165
  user: ca(i),
3166
3166
  page: Ga,
3167
- track: xa,
3168
- plugins: Ca(d),
3167
+ track: $a,
3168
+ plugins: Ca(l),
3169
3169
  queue: _a
3170
- }, N = Ne, L = Ne;
3170
+ }, C = Ne, G = Ne;
3171
3171
  if (ce && e.debug) {
3172
- var z = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
3173
- z && (N = z({
3172
+ var H = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
3173
+ H && (C = H({
3174
3174
  trace: !0,
3175
3175
  traceLimit: 25
3176
- })), L = function() {
3177
- return arguments.length === 0 ? Nn() : re(Q(arguments[0])) ? Mr() : Mr().apply(null, arguments);
3176
+ })), G = function() {
3177
+ return arguments.length === 0 ? Nn() : re(Q(arguments[0])) ? Dr() : Dr().apply(null, arguments);
3178
3178
  };
3179
3179
  }
3180
- var F = Ba(e), U = n.pluginsArray.reduce(function(u, c) {
3181
- var g = c.name, v = c.config, S = c.loaded, P = n.pluginEnabled[g];
3182
- return u[g] = {
3183
- enabled: P,
3180
+ var F = Ba(e), V = n.pluginsArray.reduce(function(g, c) {
3181
+ var v = c.name, O = c.config, M = c.loaded, $ = n.pluginEnabled[v];
3182
+ return g[v] = {
3183
+ enabled: $,
3184
3184
  // If plugin enabled & has no initialize method, set initialized to true, else false
3185
- initialized: P ? !c.initialize : !1,
3186
- loaded: !!S(),
3187
- config: v || {}
3188
- }, u;
3189
- }, {}), K = {
3185
+ initialized: $ ? !c.initialize : !1,
3186
+ loaded: !!M(),
3187
+ config: O || {}
3188
+ }, g;
3189
+ }, {}), I = {
3190
3190
  context: F,
3191
- user: b,
3192
- plugins: U
3191
+ user: w,
3192
+ plugins: V
3193
3193
  // Todo allow for more userland defined initial state?
3194
- }, $ = vn(
3194
+ }, y = vn(
3195
3195
  // register reducers
3196
- ra(E(E({}, k), t)),
3196
+ ra(E(E({}, D), t)),
3197
3197
  // set user defined initial state
3198
- K,
3198
+ I,
3199
3199
  // register middleware & plugins used
3200
- L(N(na.apply(void 0, _e(M))))
3200
+ G(C(na.apply(void 0, _e(_))))
3201
3201
  );
3202
- function W(u) {
3203
- return function(c, g, v) {
3204
- var S = Dr(c.meta, g, St(v)), P = E(E({}, c), {
3205
- meta: S
3202
+ function A(g) {
3203
+ return function(c, v, O) {
3204
+ var M = Cr(c.meta, v, St(O)), $ = E(E({}, c), {
3205
+ meta: M
3206
3206
  });
3207
- return u.apply(null, [P]);
3207
+ return g.apply(null, [$]);
3208
3208
  };
3209
3209
  }
3210
- $.dispatch = W($.dispatch);
3211
- var B = Object.keys(s);
3212
- $.dispatch({
3213
- type: x.bootstrap,
3214
- plugins: B,
3210
+ y.dispatch = A(y.dispatch);
3211
+ var k = Object.keys(s);
3212
+ y.dispatch({
3213
+ type: U.bootstrap,
3214
+ plugins: k,
3215
3215
  config: F,
3216
- params: O,
3217
- user: b,
3216
+ params: P,
3217
+ user: w,
3218
3218
  initialUser: r,
3219
- persistedUser: j
3219
+ persistedUser: N
3220
3220
  });
3221
- var J = B.filter(function(u) {
3222
- return n.pluginEnabled[u];
3223
- }), w = B.filter(function(u) {
3224
- return !n.pluginEnabled[u];
3221
+ var R = k.filter(function(g) {
3222
+ return n.pluginEnabled[g];
3223
+ }), m = k.filter(function(g) {
3224
+ return !n.pluginEnabled[g];
3225
3225
  });
3226
- $.dispatch({
3227
- type: x.registerPlugins,
3228
- plugins: B,
3226
+ y.dispatch({
3227
+ type: U.registerPlugins,
3228
+ plugins: k,
3229
3229
  enabled: n.pluginEnabled
3230
- }), n.pluginsArray.map(function(u, c) {
3231
- var g = u.bootstrap, v = u.config, S = u.name;
3232
- g && ae(g) && g({
3233
- instance: I,
3234
- config: v,
3235
- payload: u
3236
- }), $.dispatch({
3237
- type: x.registerPluginType(S),
3238
- name: S,
3239
- enabled: n.pluginEnabled[S],
3240
- plugin: u
3241
- }), n.pluginsArray.length === c + 1 && $.dispatch({
3242
- type: x.initializeStart,
3243
- plugins: J,
3244
- disabled: w
3230
+ }), n.pluginsArray.map(function(g, c) {
3231
+ var v = g.bootstrap, O = g.config, M = g.name;
3232
+ v && ae(v) && v({
3233
+ instance: T,
3234
+ config: O,
3235
+ payload: g
3236
+ }), y.dispatch({
3237
+ type: U.registerPluginType(M),
3238
+ name: M,
3239
+ enabled: n.pluginEnabled[M],
3240
+ plugin: g
3241
+ }), n.pluginsArray.length === c + 1 && y.dispatch({
3242
+ type: U.initializeStart,
3243
+ plugins: R,
3244
+ disabled: m
3245
3245
  });
3246
- }), Xa(function(u) {
3247
- $.dispatch({
3248
- type: u ? x.offline : x.online
3246
+ }), Xa(function(g) {
3247
+ y.dispatch({
3248
+ type: g ? U.offline : U.online
3249
3249
  });
3250
- }), pa($, d, I);
3251
- function f(u) {
3250
+ }), pa(y, l, T);
3251
+ function f(g) {
3252
3252
  return function() {
3253
- for (var c = Array.prototype.slice.call(arguments), g = new Array(u.length), v = 0; v < c.length; v++)
3254
- g[v] = c[v];
3255
- return g[g.length] = I, u.apply({
3256
- instance: I
3257
- }, g);
3253
+ for (var c = Array.prototype.slice.call(arguments), v = new Array(g.length), O = 0; O < c.length; O++)
3254
+ v[O] = c[O];
3255
+ return v[v.length] = T, g.apply({
3256
+ instance: T
3257
+ }, v);
3258
3258
  };
3259
3259
  }
3260
- return I;
3260
+ return T;
3261
3261
  }
3262
- var Qe = "before", Ze = "after", Le = "cookie", me = Dn(), qt = dt, kn = dt;
3262
+ var Qe = "before", Ze = "after", Le = "cookie", me = Dn(), Qt = dt, kn = dt;
3263
3263
  function Mn(e) {
3264
3264
  return me ? dt(e, "", -1) : we(e);
3265
3265
  }
@@ -3279,14 +3279,14 @@ function dt(e, t, r, n, i, a) {
3279
3279
  return me === !1 && (s ? ue(e, t) : le(e)), s ? document.cookie = e + "=" + encodeURIComponent(t) + (r ? "; expires=" + new Date(+/* @__PURE__ */ new Date() + 1e3 * r).toUTCString() + (n ? "; path=" + n : "") + (i ? "; domain=" + i : "") + (a ? "; secure" : "") : "") : decodeURIComponent((("; " + document.cookie).split("; " + e + "=")[1] || "").split(";")[0]);
3280
3280
  }
3281
3281
  }
3282
- var ze = "localStorage", ts = lt.bind(null, "localStorage"), Qt = fe("localStorage", "getItem", le), rs = fe("localStorage", "setItem", ue), Cn = fe("localStorage", "removeItem", we), We = "sessionStorage", ns = lt.bind(null, "sessionStorage");
3282
+ var ze = "localStorage", ts = lt.bind(null, "localStorage"), Zt = fe("localStorage", "getItem", le), rs = fe("localStorage", "setItem", ue), Cn = fe("localStorage", "removeItem", we), We = "sessionStorage", ns = lt.bind(null, "sessionStorage");
3283
3283
  fe("sessionStorage", "getItem", le);
3284
3284
  fe("sessionStorage", "setItem", ue);
3285
3285
  fe("sessionStorage", "removeItem", we);
3286
- var Cr, Rn = "any", xn = "*", $t = typeof process < "u" ? process : {};
3287
- (Cr = $t.env) != null && Cr.NODE_ENV;
3286
+ var Rr, Rn = "any", $n = "*", xt = typeof process < "u" ? process : {};
3287
+ (Rr = xt.env) != null && Rr.NODE_ENV;
3288
3288
  var is = typeof window < "u";
3289
- $t.versions != null && $t.versions.node != null;
3289
+ xt.versions != null && xt.versions.node != null;
3290
3290
  typeof Deno < "u" && Deno.core;
3291
3291
  is && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
3292
3292
  function pt(e, t) {
@@ -3315,13 +3315,13 @@ function Ie(e) {
3315
3315
  if (t !== null && t !== "") return t;
3316
3316
  }
3317
3317
  var us = ts(), cs = ns(), ls = Dn();
3318
- function $n(e, t) {
3318
+ function xn(e, t) {
3319
3319
  if (e) {
3320
- var r = Zt(t), n = !nr(r), i = er(r) ? Ie(localStorage.getItem(e)) : void 0;
3320
+ var r = er(t), n = !ir(r), i = tr(r) ? Ie(localStorage.getItem(e)) : void 0;
3321
3321
  if (n && !Ae(i)) return i;
3322
- var a = tr(r) ? Ie(qt(e)) : void 0;
3322
+ var a = rr(r) ? Ie(Qt(e)) : void 0;
3323
3323
  if (n && a) return a;
3324
- var s = rr(r) ? Ie(sessionStorage.getItem(e)) : void 0;
3324
+ var s = nr(r) ? Ie(sessionStorage.getItem(e)) : void 0;
3325
3325
  if (n && s) return s;
3326
3326
  var o = le(e);
3327
3327
  return n ? o : { localStorage: i, sessionStorage: s, cookie: a, global: o };
@@ -3329,38 +3329,38 @@ function $n(e, t) {
3329
3329
  }
3330
3330
  function fs(e, t, r) {
3331
3331
  if (e && !Ae(t)) {
3332
- var n = {}, i = Zt(r), a = JSON.stringify(t), s = !nr(i);
3333
- return er(i) && (n[ze] = et(ze, t, Ie(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[ze] : tr(i) && (n[Le] = et(Le, t, Ie(qt(e))), kn(e, a), s) ? n[Le] : rr(i) && (n[We] = et(We, t, Ie(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[We] : (n[$e] = et($e, t, le(e)), ue(e, t), s ? n[$e] : n);
3332
+ var n = {}, i = er(r), a = JSON.stringify(t), s = !ir(i);
3333
+ return tr(i) && (n[ze] = et(ze, t, Ie(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[ze] : rr(i) && (n[Le] = et(Le, t, Ie(Qt(e))), kn(e, a), s) ? n[Le] : nr(i) && (n[We] = et(We, t, Ie(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[We] : (n[xe] = et(xe, t, le(e)), ue(e, t), s ? n[xe] : n);
3334
3334
  }
3335
3335
  }
3336
3336
  function ds(e, t) {
3337
3337
  if (e) {
3338
- var r = Zt(t), n = $n(e, xn), i = {};
3339
- return !Ae(n.localStorage) && er(r) && (localStorage.removeItem(e), i[ze] = n.localStorage), !Ae(n.cookie) && tr(r) && (Mn(e), i[Le] = n.cookie), !Ae(n.sessionStorage) && rr(r) && (sessionStorage.removeItem(e), i[We] = n.sessionStorage), !Ae(n.global) && ht(r, $e) && (we(e), i[$e] = n.global), i;
3338
+ var r = er(t), n = xn(e, $n), i = {};
3339
+ return !Ae(n.localStorage) && tr(r) && (localStorage.removeItem(e), i[ze] = n.localStorage), !Ae(n.cookie) && rr(r) && (Mn(e), i[Le] = n.cookie), !Ae(n.sessionStorage) && nr(r) && (sessionStorage.removeItem(e), i[We] = n.sessionStorage), !Ae(n.global) && ht(r, xe) && (we(e), i[xe] = n.global), i;
3340
3340
  }
3341
3341
  }
3342
- function Zt(e) {
3342
+ function er(e) {
3343
3343
  return e ? as(e) ? e : e.storage : Rn;
3344
3344
  }
3345
- function er(e) {
3345
+ function tr(e) {
3346
3346
  return us && ht(e, ze);
3347
3347
  }
3348
- function tr(e) {
3348
+ function rr(e) {
3349
3349
  return ls && ht(e, Le);
3350
3350
  }
3351
- function rr(e) {
3351
+ function nr(e) {
3352
3352
  return cs && ht(e, We);
3353
3353
  }
3354
- function nr(e) {
3355
- return e === xn || e === "all";
3354
+ function ir(e) {
3355
+ return e === $n || e === "all";
3356
3356
  }
3357
3357
  function ht(e, t) {
3358
- return e === Rn || e === t || nr(e);
3358
+ return e === Rn || e === t || ir(e);
3359
3359
  }
3360
3360
  function et(e, t, r) {
3361
3361
  return { location: e, current: t, previous: r };
3362
3362
  }
3363
- var ps = { setItem: fs, getItem: $n, removeItem: ds };
3363
+ var ps = { setItem: fs, getItem: xn, removeItem: ds };
3364
3364
  function hs(e, t, r) {
3365
3365
  return t in e ? Object.defineProperty(e, t, {
3366
3366
  value: r,
@@ -3369,7 +3369,7 @@ function hs(e, t, r) {
3369
3369
  writable: !0
3370
3370
  }) : e[t] = r, e;
3371
3371
  }
3372
- function Rr(e, t) {
3372
+ function $r(e, t) {
3373
3373
  var r = Object.keys(e);
3374
3374
  if (Object.getOwnPropertySymbols) {
3375
3375
  var n = Object.getOwnPropertySymbols(e);
@@ -3382,9 +3382,9 @@ function Rr(e, t) {
3382
3382
  function xr(e) {
3383
3383
  for (var t = 1; t < arguments.length; t++) {
3384
3384
  var r = arguments[t] != null ? arguments[t] : {};
3385
- t % 2 ? Rr(Object(r), !0).forEach(function(n) {
3385
+ t % 2 ? $r(Object(r), !0).forEach(function(n) {
3386
3386
  hs(e, n, r[n]);
3387
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Rr(Object(r)).forEach(function(n) {
3387
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : $r(Object(r)).forEach(function(n) {
3388
3388
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3389
3389
  });
3390
3390
  }
@@ -3418,7 +3418,7 @@ function vs(e) {
3418
3418
  var t = ms(e, "string");
3419
3419
  return ne(t) == "symbol" ? t : t + "";
3420
3420
  }
3421
- function ir(e, t, r) {
3421
+ function ar(e, t, r) {
3422
3422
  return (t = vs(t)) in e ? Object.defineProperty(e, t, {
3423
3423
  value: r,
3424
3424
  enumerable: !0,
@@ -3426,7 +3426,7 @@ function ir(e, t, r) {
3426
3426
  writable: !0
3427
3427
  }) : e[t] = r, e;
3428
3428
  }
3429
- function $r(e, t) {
3429
+ function _r(e, t) {
3430
3430
  var r = Object.keys(e);
3431
3431
  if (Object.getOwnPropertySymbols) {
3432
3432
  var n = Object.getOwnPropertySymbols(e);
@@ -3439,9 +3439,9 @@ function $r(e, t) {
3439
3439
  function Z(e) {
3440
3440
  for (var t = 1; t < arguments.length; t++) {
3441
3441
  var r = arguments[t] != null ? arguments[t] : {};
3442
- t % 2 ? $r(Object(r), !0).forEach(function(n) {
3443
- ir(e, n, r[n]);
3444
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : $r(Object(r)).forEach(function(n) {
3442
+ t % 2 ? _r(Object(r), !0).forEach(function(n) {
3443
+ ar(e, n, r[n]);
3444
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : _r(Object(r)).forEach(function(n) {
3445
3445
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3446
3446
  });
3447
3447
  }
@@ -3469,283 +3469,255 @@ var ys = Ln.exports;
3469
3469
  e.exports = r = function() {
3470
3470
  return i;
3471
3471
  }, e.exports.__esModule = !0, e.exports.default = e.exports;
3472
- var n, i = {}, a = Object.prototype, s = a.hasOwnProperty, o = Object.defineProperty || function(f, u, c) {
3473
- f[u] = c.value;
3474
- }, l = typeof Symbol == "function" ? Symbol : {}, h = l.iterator || "@@iterator", d = l.asyncIterator || "@@asyncIterator", m = l.toStringTag || "@@toStringTag";
3475
- function p(f, u, c) {
3476
- return Object.defineProperty(f, u, {
3477
- value: c,
3478
- enumerable: !0,
3479
- configurable: !0,
3480
- writable: !0
3481
- }), f[u];
3472
+ var n, i = {}, a = Object.prototype, s = a.hasOwnProperty, o = typeof Symbol == "function" ? Symbol : {}, u = o.iterator || "@@iterator", d = o.asyncIterator || "@@asyncIterator", l = o.toStringTag || "@@toStringTag";
3473
+ function h(I, y, A, k) {
3474
+ return Object.defineProperty(I, y, {
3475
+ value: A,
3476
+ enumerable: !k,
3477
+ configurable: !k,
3478
+ writable: !k
3479
+ });
3482
3480
  }
3483
3481
  try {
3484
- p({}, "");
3482
+ h({}, "");
3485
3483
  } catch {
3486
- p = function(c, g, v) {
3487
- return c[g] = v;
3484
+ h = function(A, k, R) {
3485
+ return A[k] = R;
3488
3486
  };
3489
3487
  }
3490
- function y(f, u, c, g) {
3491
- var v = u && u.prototype instanceof I ? u : I, S = Object.create(v.prototype), P = new J(g || []);
3492
- return o(S, "_invoke", {
3493
- value: K(f, c, P)
3494
- }), S;
3488
+ function p(I, y, A, k) {
3489
+ var R = y && y.prototype instanceof j ? y : j, m = Object.create(R.prototype);
3490
+ return h(m, "_invoke", /* @__PURE__ */ function(f, g, c) {
3491
+ var v = 1;
3492
+ return function(O, M) {
3493
+ if (v === 3) throw Error("Generator is already running");
3494
+ if (v === 4) {
3495
+ if (O === "throw") throw M;
3496
+ return {
3497
+ value: n,
3498
+ done: !0
3499
+ };
3500
+ }
3501
+ for (c.method = O, c.arg = M; ; ) {
3502
+ var $ = c.delegate;
3503
+ if ($) {
3504
+ var z = C($, c);
3505
+ if (z) {
3506
+ if (z === S) continue;
3507
+ return z;
3508
+ }
3509
+ }
3510
+ if (c.method === "next") c.sent = c._sent = c.arg;
3511
+ else if (c.method === "throw") {
3512
+ if (v === 1) throw v = 4, c.arg;
3513
+ c.dispatchException(c.arg);
3514
+ } else c.method === "return" && c.abrupt("return", c.arg);
3515
+ v = 3;
3516
+ var W = b(f, g, c);
3517
+ if (W.type === "normal") {
3518
+ if (v = c.done ? 4 : 2, W.arg === S) continue;
3519
+ return {
3520
+ value: W.arg,
3521
+ done: c.done
3522
+ };
3523
+ }
3524
+ W.type === "throw" && (v = 4, c.method = "throw", c.arg = W.arg);
3525
+ }
3526
+ };
3527
+ }(I, A, new F(k || [])), !0), m;
3495
3528
  }
3496
- function A(f, u, c) {
3529
+ function b(I, y, A) {
3497
3530
  try {
3498
3531
  return {
3499
3532
  type: "normal",
3500
- arg: f.call(u, c)
3533
+ arg: I.call(y, A)
3501
3534
  };
3502
- } catch (g) {
3535
+ } catch (k) {
3503
3536
  return {
3504
3537
  type: "throw",
3505
- arg: g
3538
+ arg: k
3506
3539
  };
3507
3540
  }
3508
3541
  }
3509
- i.wrap = y;
3510
- var T = "suspendedStart", O = "suspendedYield", j = "executing", b = "completed", C = {};
3511
- function I() {
3542
+ i.wrap = p;
3543
+ var S = {};
3544
+ function j() {
3512
3545
  }
3513
- function _() {
3546
+ function P() {
3514
3547
  }
3515
- function M() {
3548
+ function N() {
3516
3549
  }
3517
- var k = {};
3518
- p(k, h, function() {
3550
+ var w = {};
3551
+ h(w, u, function() {
3519
3552
  return this;
3520
3553
  });
3521
- var N = Object.getPrototypeOf, L = N && N(N(w([])));
3522
- L && L !== a && s.call(L, h) && (k = L);
3523
- var z = M.prototype = I.prototype = Object.create(k);
3524
- function F(f) {
3525
- ["next", "throw", "return"].forEach(function(u) {
3526
- p(f, u, function(c) {
3527
- return this._invoke(u, c);
3554
+ var L = Object.getPrototypeOf, T = L && L(L(V([])));
3555
+ T && T !== a && s.call(T, u) && (w = T);
3556
+ var x = N.prototype = j.prototype = Object.create(w);
3557
+ function _(I) {
3558
+ ["next", "throw", "return"].forEach(function(y) {
3559
+ h(I, y, function(A) {
3560
+ return this._invoke(y, A);
3528
3561
  });
3529
3562
  });
3530
3563
  }
3531
- function U(f, u) {
3532
- function c(v, S, P, D) {
3533
- var R = A(f[v], f, S);
3534
- if (R.type !== "throw") {
3535
- var H = R.arg, V = H.value;
3536
- return V && t(V) == "object" && s.call(V, "__await") ? u.resolve(V.__await).then(function(G) {
3537
- c("next", G, P, D);
3538
- }, function(G) {
3539
- c("throw", G, P, D);
3540
- }) : u.resolve(V).then(function(G) {
3541
- H.value = G, P(H);
3542
- }, function(G) {
3543
- return c("throw", G, P, D);
3564
+ function D(I, y) {
3565
+ function A(R, m, f, g) {
3566
+ var c = b(I[R], I, m);
3567
+ if (c.type !== "throw") {
3568
+ var v = c.arg, O = v.value;
3569
+ return O && t(O) == "object" && s.call(O, "__await") ? y.resolve(O.__await).then(function(M) {
3570
+ A("next", M, f, g);
3571
+ }, function(M) {
3572
+ A("throw", M, f, g);
3573
+ }) : y.resolve(O).then(function(M) {
3574
+ v.value = M, f(v);
3575
+ }, function(M) {
3576
+ return A("throw", M, f, g);
3544
3577
  });
3545
3578
  }
3546
- D(R.arg);
3579
+ g(c.arg);
3547
3580
  }
3548
- var g;
3549
- o(this, "_invoke", {
3550
- value: function(S, P) {
3551
- function D() {
3552
- return new u(function(R, H) {
3553
- c(S, P, R, H);
3554
- });
3555
- }
3556
- return g = g ? g.then(D, D) : D();
3557
- }
3558
- });
3559
- }
3560
- function K(f, u, c) {
3561
- var g = T;
3562
- return function(v, S) {
3563
- if (g === j) throw Error("Generator is already running");
3564
- if (g === b) {
3565
- if (v === "throw") throw S;
3566
- return {
3567
- value: n,
3568
- done: !0
3569
- };
3570
- }
3571
- for (c.method = v, c.arg = S; ; ) {
3572
- var P = c.delegate;
3573
- if (P) {
3574
- var D = $(P, c);
3575
- if (D) {
3576
- if (D === C) continue;
3577
- return D;
3578
- }
3579
- }
3580
- if (c.method === "next") c.sent = c._sent = c.arg;
3581
- else if (c.method === "throw") {
3582
- if (g === T) throw g = b, c.arg;
3583
- c.dispatchException(c.arg);
3584
- } else c.method === "return" && c.abrupt("return", c.arg);
3585
- g = j;
3586
- var R = A(f, u, c);
3587
- if (R.type === "normal") {
3588
- if (g = c.done ? b : O, R.arg === C) continue;
3589
- return {
3590
- value: R.arg,
3591
- done: c.done
3592
- };
3593
- }
3594
- R.type === "throw" && (g = b, c.method = "throw", c.arg = R.arg);
3581
+ var k;
3582
+ h(this, "_invoke", function(R, m) {
3583
+ function f() {
3584
+ return new y(function(g, c) {
3585
+ A(R, m, g, c);
3586
+ });
3595
3587
  }
3596
- };
3588
+ return k = k ? k.then(f, f) : f();
3589
+ }, !0);
3597
3590
  }
3598
- function $(f, u) {
3599
- var c = u.method, g = f.iterator[c];
3600
- if (g === n) return u.delegate = null, c === "throw" && f.iterator.return && (u.method = "return", u.arg = n, $(f, u), u.method === "throw") || c !== "return" && (u.method = "throw", u.arg = new TypeError("The iterator does not provide a '" + c + "' method")), C;
3601
- var v = A(g, f.iterator, u.arg);
3602
- if (v.type === "throw") return u.method = "throw", u.arg = v.arg, u.delegate = null, C;
3603
- var S = v.arg;
3604
- return S ? S.done ? (u[f.resultName] = S.value, u.next = f.nextLoc, u.method !== "return" && (u.method = "next", u.arg = n), u.delegate = null, C) : S : (u.method = "throw", u.arg = new TypeError("iterator result is not an object"), u.delegate = null, C);
3591
+ function C(I, y) {
3592
+ var A = y.method, k = I.i[A];
3593
+ if (k === n) return y.delegate = null, A === "throw" && I.i.return && (y.method = "return", y.arg = n, C(I, y), y.method === "throw") || A !== "return" && (y.method = "throw", y.arg = new TypeError("The iterator does not provide a '" + A + "' method")), S;
3594
+ var R = b(k, I.i, y.arg);
3595
+ if (R.type === "throw") return y.method = "throw", y.arg = R.arg, y.delegate = null, S;
3596
+ var m = R.arg;
3597
+ return m ? m.done ? (y[I.r] = m.value, y.next = I.n, y.method !== "return" && (y.method = "next", y.arg = n), y.delegate = null, S) : m : (y.method = "throw", y.arg = new TypeError("iterator result is not an object"), y.delegate = null, S);
3605
3598
  }
3606
- function W(f) {
3607
- var u = {
3608
- tryLoc: f[0]
3609
- };
3610
- 1 in f && (u.catchLoc = f[1]), 2 in f && (u.finallyLoc = f[2], u.afterLoc = f[3]), this.tryEntries.push(u);
3599
+ function G(I) {
3600
+ this.tryEntries.push(I);
3611
3601
  }
3612
- function B(f) {
3613
- var u = f.completion || {};
3614
- u.type = "normal", delete u.arg, f.completion = u;
3602
+ function H(I) {
3603
+ var y = I[4] || {};
3604
+ y.type = "normal", y.arg = n, I[4] = y;
3615
3605
  }
3616
- function J(f) {
3617
- this.tryEntries = [{
3618
- tryLoc: "root"
3619
- }], f.forEach(W, this), this.reset(!0);
3606
+ function F(I) {
3607
+ this.tryEntries = [[-1]], I.forEach(G, this), this.reset(!0);
3620
3608
  }
3621
- function w(f) {
3622
- if (f || f === "") {
3623
- var u = f[h];
3624
- if (u) return u.call(f);
3625
- if (typeof f.next == "function") return f;
3626
- if (!isNaN(f.length)) {
3627
- var c = -1, g = function v() {
3628
- for (; ++c < f.length; ) if (s.call(f, c)) return v.value = f[c], v.done = !1, v;
3629
- return v.value = n, v.done = !0, v;
3609
+ function V(I) {
3610
+ if (I != null) {
3611
+ var y = I[u];
3612
+ if (y) return y.call(I);
3613
+ if (typeof I.next == "function") return I;
3614
+ if (!isNaN(I.length)) {
3615
+ var A = -1, k = function R() {
3616
+ for (; ++A < I.length; ) if (s.call(I, A)) return R.value = I[A], R.done = !1, R;
3617
+ return R.value = n, R.done = !0, R;
3630
3618
  };
3631
- return g.next = g;
3619
+ return k.next = k;
3632
3620
  }
3633
3621
  }
3634
- throw new TypeError(t(f) + " is not iterable");
3622
+ throw new TypeError(t(I) + " is not iterable");
3635
3623
  }
3636
- return _.prototype = M, o(z, "constructor", {
3637
- value: M,
3638
- configurable: !0
3639
- }), o(M, "constructor", {
3640
- value: _,
3641
- configurable: !0
3642
- }), _.displayName = p(M, m, "GeneratorFunction"), i.isGeneratorFunction = function(f) {
3643
- var u = typeof f == "function" && f.constructor;
3644
- return !!u && (u === _ || (u.displayName || u.name) === "GeneratorFunction");
3645
- }, i.mark = function(f) {
3646
- return Object.setPrototypeOf ? Object.setPrototypeOf(f, M) : (f.__proto__ = M, p(f, m, "GeneratorFunction")), f.prototype = Object.create(z), f;
3647
- }, i.awrap = function(f) {
3624
+ return P.prototype = N, h(x, "constructor", N), h(N, "constructor", P), P.displayName = h(N, l, "GeneratorFunction"), i.isGeneratorFunction = function(I) {
3625
+ var y = typeof I == "function" && I.constructor;
3626
+ return !!y && (y === P || (y.displayName || y.name) === "GeneratorFunction");
3627
+ }, i.mark = function(I) {
3628
+ return Object.setPrototypeOf ? Object.setPrototypeOf(I, N) : (I.__proto__ = N, h(I, l, "GeneratorFunction")), I.prototype = Object.create(x), I;
3629
+ }, i.awrap = function(I) {
3648
3630
  return {
3649
- __await: f
3631
+ __await: I
3650
3632
  };
3651
- }, F(U.prototype), p(U.prototype, d, function() {
3633
+ }, _(D.prototype), h(D.prototype, d, function() {
3652
3634
  return this;
3653
- }), i.AsyncIterator = U, i.async = function(f, u, c, g, v) {
3654
- v === void 0 && (v = Promise);
3655
- var S = new U(y(f, u, c, g), v);
3656
- return i.isGeneratorFunction(u) ? S : S.next().then(function(P) {
3657
- return P.done ? P.value : S.next();
3635
+ }), i.AsyncIterator = D, i.async = function(I, y, A, k, R) {
3636
+ R === void 0 && (R = Promise);
3637
+ var m = new D(p(I, y, A, k), R);
3638
+ return i.isGeneratorFunction(y) ? m : m.next().then(function(f) {
3639
+ return f.done ? f.value : m.next();
3658
3640
  });
3659
- }, F(z), p(z, m, "Generator"), p(z, h, function() {
3641
+ }, _(x), h(x, l, "Generator"), h(x, u, function() {
3660
3642
  return this;
3661
- }), p(z, "toString", function() {
3643
+ }), h(x, "toString", function() {
3662
3644
  return "[object Generator]";
3663
- }), i.keys = function(f) {
3664
- var u = Object(f), c = [];
3665
- for (var g in u) c.push(g);
3666
- return c.reverse(), function v() {
3667
- for (; c.length; ) {
3668
- var S = c.pop();
3669
- if (S in u) return v.value = S, v.done = !1, v;
3670
- }
3671
- return v.done = !0, v;
3645
+ }), i.keys = function(I) {
3646
+ var y = Object(I), A = [];
3647
+ for (var k in y) A.unshift(k);
3648
+ return function R() {
3649
+ for (; A.length; ) if ((k = A.pop()) in y) return R.value = k, R.done = !1, R;
3650
+ return R.done = !0, R;
3672
3651
  };
3673
- }, i.values = w, J.prototype = {
3674
- constructor: J,
3675
- reset: function(u) {
3676
- if (this.prev = 0, this.next = 0, this.sent = this._sent = n, this.done = !1, this.delegate = null, this.method = "next", this.arg = n, this.tryEntries.forEach(B), !u) for (var c in this) c.charAt(0) === "t" && s.call(this, c) && !isNaN(+c.slice(1)) && (this[c] = n);
3652
+ }, i.values = V, F.prototype = {
3653
+ constructor: F,
3654
+ reset: function(y) {
3655
+ if (this.prev = this.next = 0, this.sent = this._sent = n, this.done = !1, this.delegate = null, this.method = "next", this.arg = n, this.tryEntries.forEach(H), !y) for (var A in this) A.charAt(0) === "t" && s.call(this, A) && !isNaN(+A.slice(1)) && (this[A] = n);
3677
3656
  },
3678
3657
  stop: function() {
3679
3658
  this.done = !0;
3680
- var u = this.tryEntries[0].completion;
3681
- if (u.type === "throw") throw u.arg;
3659
+ var y = this.tryEntries[0][4];
3660
+ if (y.type === "throw") throw y.arg;
3682
3661
  return this.rval;
3683
3662
  },
3684
- dispatchException: function(u) {
3685
- if (this.done) throw u;
3686
- var c = this;
3687
- function g(H, V) {
3688
- return P.type = "throw", P.arg = u, c.next = H, V && (c.method = "next", c.arg = n), !!V;
3663
+ dispatchException: function(y) {
3664
+ if (this.done) throw y;
3665
+ var A = this;
3666
+ function k(O) {
3667
+ f.type = "throw", f.arg = y, A.next = O;
3689
3668
  }
3690
- for (var v = this.tryEntries.length - 1; v >= 0; --v) {
3691
- var S = this.tryEntries[v], P = S.completion;
3692
- if (S.tryLoc === "root") return g("end");
3693
- if (S.tryLoc <= this.prev) {
3694
- var D = s.call(S, "catchLoc"), R = s.call(S, "finallyLoc");
3695
- if (D && R) {
3696
- if (this.prev < S.catchLoc) return g(S.catchLoc, !0);
3697
- if (this.prev < S.finallyLoc) return g(S.finallyLoc);
3698
- } else if (D) {
3699
- if (this.prev < S.catchLoc) return g(S.catchLoc, !0);
3700
- } else {
3701
- if (!R) throw Error("try statement without catch or finally");
3702
- if (this.prev < S.finallyLoc) return g(S.finallyLoc);
3703
- }
3669
+ for (var R = A.tryEntries.length - 1; R >= 0; --R) {
3670
+ var m = this.tryEntries[R], f = m[4], g = this.prev, c = m[1], v = m[2];
3671
+ if (m[0] === -1) return k("end"), !1;
3672
+ if (!c && !v) throw Error("try statement without catch or finally");
3673
+ if (m[0] != null && m[0] <= g) {
3674
+ if (g < c) return this.method = "next", this.arg = n, k(c), !0;
3675
+ if (g < v) return k(v), !1;
3704
3676
  }
3705
3677
  }
3706
3678
  },
3707
- abrupt: function(u, c) {
3708
- for (var g = this.tryEntries.length - 1; g >= 0; --g) {
3709
- var v = this.tryEntries[g];
3710
- if (v.tryLoc <= this.prev && s.call(v, "finallyLoc") && this.prev < v.finallyLoc) {
3711
- var S = v;
3679
+ abrupt: function(y, A) {
3680
+ for (var k = this.tryEntries.length - 1; k >= 0; --k) {
3681
+ var R = this.tryEntries[k];
3682
+ if (R[0] > -1 && R[0] <= this.prev && this.prev < R[2]) {
3683
+ var m = R;
3712
3684
  break;
3713
3685
  }
3714
3686
  }
3715
- S && (u === "break" || u === "continue") && S.tryLoc <= c && c <= S.finallyLoc && (S = null);
3716
- var P = S ? S.completion : {};
3717
- return P.type = u, P.arg = c, S ? (this.method = "next", this.next = S.finallyLoc, C) : this.complete(P);
3687
+ m && (y === "break" || y === "continue") && m[0] <= A && A <= m[2] && (m = null);
3688
+ var f = m ? m[4] : {};
3689
+ return f.type = y, f.arg = A, m ? (this.method = "next", this.next = m[2], S) : this.complete(f);
3718
3690
  },
3719
- complete: function(u, c) {
3720
- if (u.type === "throw") throw u.arg;
3721
- return u.type === "break" || u.type === "continue" ? this.next = u.arg : u.type === "return" ? (this.rval = this.arg = u.arg, this.method = "return", this.next = "end") : u.type === "normal" && c && (this.next = c), C;
3691
+ complete: function(y, A) {
3692
+ if (y.type === "throw") throw y.arg;
3693
+ return y.type === "break" || y.type === "continue" ? this.next = y.arg : y.type === "return" ? (this.rval = this.arg = y.arg, this.method = "return", this.next = "end") : y.type === "normal" && A && (this.next = A), S;
3722
3694
  },
3723
- finish: function(u) {
3724
- for (var c = this.tryEntries.length - 1; c >= 0; --c) {
3725
- var g = this.tryEntries[c];
3726
- if (g.finallyLoc === u) return this.complete(g.completion, g.afterLoc), B(g), C;
3695
+ finish: function(y) {
3696
+ for (var A = this.tryEntries.length - 1; A >= 0; --A) {
3697
+ var k = this.tryEntries[A];
3698
+ if (k[2] === y) return this.complete(k[4], k[3]), H(k), S;
3727
3699
  }
3728
3700
  },
3729
- catch: function(u) {
3730
- for (var c = this.tryEntries.length - 1; c >= 0; --c) {
3731
- var g = this.tryEntries[c];
3732
- if (g.tryLoc === u) {
3733
- var v = g.completion;
3734
- if (v.type === "throw") {
3735
- var S = v.arg;
3736
- B(g);
3701
+ catch: function(y) {
3702
+ for (var A = this.tryEntries.length - 1; A >= 0; --A) {
3703
+ var k = this.tryEntries[A];
3704
+ if (k[0] === y) {
3705
+ var R = k[4];
3706
+ if (R.type === "throw") {
3707
+ var m = R.arg;
3708
+ H(k);
3737
3709
  }
3738
- return S;
3710
+ return m;
3739
3711
  }
3740
3712
  }
3741
3713
  throw Error("illegal catch attempt");
3742
3714
  },
3743
- delegateYield: function(u, c, g) {
3715
+ delegateYield: function(y, A, k) {
3744
3716
  return this.delegate = {
3745
- iterator: w(u),
3746
- resultName: c,
3747
- nextLoc: g
3748
- }, this.method === "next" && (this.arg = n), C;
3717
+ i: V(y),
3718
+ r: A,
3719
+ n: k
3720
+ }, this.method === "next" && (this.arg = n), S;
3749
3721
  }
3750
3722
  }, i;
3751
3723
  }
@@ -3758,55 +3730,55 @@ try {
3758
3730
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = rt : Function("r", "regeneratorRuntime = r")(rt);
3759
3731
  }
3760
3732
  const X = /* @__PURE__ */ _n(ws);
3761
- function _r(e, t, r, n, i, a, s) {
3733
+ function Ur(e, t, r, n, i, a, s) {
3762
3734
  try {
3763
- var o = e[a](s), l = o.value;
3764
- } catch (h) {
3765
- return void r(h);
3735
+ var o = e[a](s), u = o.value;
3736
+ } catch (d) {
3737
+ return void r(d);
3766
3738
  }
3767
- o.done ? t(l) : Promise.resolve(l).then(n, i);
3739
+ o.done ? t(u) : Promise.resolve(u).then(n, i);
3768
3740
  }
3769
3741
  function ie(e) {
3770
3742
  return function() {
3771
3743
  var t = this, r = arguments;
3772
3744
  return new Promise(function(n, i) {
3773
3745
  var a = e.apply(t, r);
3774
- function s(l) {
3775
- _r(a, n, i, s, o, "next", l);
3746
+ function s(u) {
3747
+ Ur(a, n, i, s, o, "next", u);
3776
3748
  }
3777
- function o(l) {
3778
- _r(a, n, i, s, o, "throw", l);
3749
+ function o(u) {
3750
+ Ur(a, n, i, s, o, "throw", u);
3779
3751
  }
3780
3752
  s(void 0);
3781
3753
  });
3782
3754
  };
3783
3755
  }
3784
- var Ur = function() {
3756
+ var Lr = function() {
3785
3757
  };
3786
3758
  function Ss(e, t) {
3787
- var r, n, i, a = (t = t || {}).initial || [], s = t.max || 1 / 0, o = t.interval || 1e4, l = t.onEmpty || Ur, h = t.onPause || Ur;
3788
- function d(p) {
3759
+ var r, n, i, a = (t = t || {}).initial || [], s = t.max || 1 / 0, o = t.interval || 1e4, u = t.onEmpty || Lr, d = t.onPause || Lr;
3760
+ function l(p) {
3789
3761
  clearInterval(r);
3790
- var y = a.splice(0, s);
3791
- return y.length && e(y, a), a.length ? p ? d() : m() : (i = !1, l(a));
3762
+ var b = a.splice(0, s);
3763
+ return b.length && e(b, a), a.length ? p ? l() : h() : (i = !1, u(a));
3792
3764
  }
3793
- function m() {
3794
- i = !0, r = setInterval(d, o);
3765
+ function h() {
3766
+ i = !0, r = setInterval(l, o);
3795
3767
  }
3796
- return a.length && m(), { flush: function(p) {
3797
- d(p);
3798
- }, resume: d, push: function(p) {
3799
- return (n = a.push(p)) >= s && !t.throttle && d(), i || m(), n;
3768
+ return a.length && h(), { flush: function(p) {
3769
+ l(p);
3770
+ }, resume: l, push: function(p) {
3771
+ return (n = a.push(p)) >= s && !t.throttle && l(), i || h(), n;
3800
3772
  }, size: function() {
3801
3773
  return a.length;
3802
3774
  }, pause: function(p) {
3803
- p && d(), clearInterval(r), i = !1, h(a);
3775
+ p && l(), clearInterval(r), i = !1, d(a);
3804
3776
  } };
3805
3777
  }
3806
3778
  lt.bind(null, "sessionStorage");
3807
3779
  var Es = fe("sessionStorage", "getItem", le), As = fe("sessionStorage", "setItem", ue);
3808
3780
  fe("sessionStorage", "removeItem", we);
3809
- var zn = "__session", Lr = ["id", "createdAt", "created"];
3781
+ var zn = "__session", zr = ["id", "createdAt", "created"];
3810
3782
  function _t(e) {
3811
3783
  var t = e ? new Date(e) : /* @__PURE__ */ new Date();
3812
3784
  return [t.toISOString(), t.getTime()];
@@ -3817,40 +3789,40 @@ function Wn() {
3817
3789
  }
3818
3790
  var Os = { session: [Es, As], page: [le, ue] };
3819
3791
  function gt(e, t) {
3820
- for (var r = Os[e], n = r[0], i = r[1], a = Wn(), s = !1, o = {}, l = 0; l < Lr.length; l++) {
3821
- var h = Lr[l], d = "__" + e + "__session__" + h, m = n(d);
3822
- s = t || !m, (t || !t && !m) && i(d, a[h]);
3823
- var p = m && !t ? m : a[h], y = h !== "created" ? p : Number(p);
3824
- o[h] = y;
3792
+ for (var r = Os[e], n = r[0], i = r[1], a = Wn(), s = !1, o = {}, u = 0; u < zr.length; u++) {
3793
+ var d = zr[u], l = "__" + e + "__session__" + d, h = n(l);
3794
+ s = t || !h, (t || !t && !h) && i(l, a[d]);
3795
+ var p = h && !t ? h : a[d], b = d !== "created" ? p : Number(p);
3796
+ o[d] = b;
3825
3797
  }
3826
- return ar(o, s);
3798
+ return sr(o, s);
3827
3799
  }
3828
- function ar(e, t) {
3800
+ function sr(e, t) {
3829
3801
  var r = Date.now();
3830
3802
  return e.elapsed = r - e.created, e.expires && (e.remaining = Math.max(e.expires - r, 0), e.isExpired = e.remaining === 0), e.isNew = t, e;
3831
3803
  }
3832
3804
  function He(e, t) {
3833
3805
  e === void 0 && (e = 30);
3834
- var r = qt(zn), n = r ? JSON.parse(r) : st(e);
3835
- return t ? n : ar(n, !r);
3806
+ var r = Qt(zn), n = r ? JSON.parse(r) : st(e);
3807
+ return t ? n : sr(n, !r);
3836
3808
  }
3837
3809
  function st(e, t, r) {
3838
3810
  e === void 0 && (e = 30);
3839
3811
  var n = r ? He(e, !0) : Wn(), i = 60 * e, a = n.created;
3840
3812
  if (r) {
3841
- var s = _t(), o = s[0], l = s[1];
3842
- n.modified = l, n.modifiedAt = o, a = l;
3813
+ var s = _t(), o = s[0], u = s[1];
3814
+ n.modified = u, n.modifiedAt = o, a = u;
3843
3815
  }
3844
- var h = _t(a + 1e3 * i), d = h[0];
3845
- return n.expires = h[1], n.expiresAt = d, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), kn(zn, JSON.stringify(n), i), ar(n, !r);
3816
+ var d = _t(a + 1e3 * i), l = d[0];
3817
+ return n.expires = d[1], n.expiresAt = l, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), kn(zn, JSON.stringify(n), i), sr(n, !r);
3846
3818
  }
3847
3819
  var Is = function(e, t) {
3848
3820
  return st(e, t, !0);
3849
- }, Vn = gt.bind(null, "session"), Ps = gt.bind(null, "session", !0), sr = gt.bind(null, "page"), zr = gt.bind(null, "page", !0), ye = typeof window < "u";
3821
+ }, Vn = gt.bind(null, "session"), Ps = gt.bind(null, "session", !0), or = gt.bind(null, "page"), Wr = gt.bind(null, "page", !0), ye = typeof window < "u";
3850
3822
  function Ts(e) {
3851
3823
  return typeof e == "string";
3852
3824
  }
3853
- function Wr(e) {
3825
+ function Vr(e) {
3854
3826
  return typeof e == "boolean";
3855
3827
  }
3856
3828
  var js = function(t) {
@@ -3873,12 +3845,12 @@ function Rs(e) {
3873
3845
  function Fe(e, t) {
3874
3846
  return t.clone !== !1 && t.isMergeableObject(e) ? Me(Rs(e), e, t) : e;
3875
3847
  }
3876
- function xs(e, t, r) {
3848
+ function $s(e, t, r) {
3877
3849
  return e.concat(t).map(function(n) {
3878
3850
  return Fe(n, r);
3879
3851
  });
3880
3852
  }
3881
- function $s(e, t) {
3853
+ function xs(e, t) {
3882
3854
  if (!t.customMerge)
3883
3855
  return Me;
3884
3856
  var r = t.customMerge(e);
@@ -3889,7 +3861,7 @@ function _s(e) {
3889
3861
  return Object.propertyIsEnumerable.call(e, t);
3890
3862
  }) : [];
3891
3863
  }
3892
- function Vr(e) {
3864
+ function Gr(e) {
3893
3865
  return Object.keys(e).concat(_s(e));
3894
3866
  }
3895
3867
  function Gn(e, t) {
@@ -3904,14 +3876,14 @@ function Us(e, t) {
3904
3876
  }
3905
3877
  function Ls(e, t, r) {
3906
3878
  var n = {};
3907
- return r.isMergeableObject(e) && Vr(e).forEach(function(i) {
3879
+ return r.isMergeableObject(e) && Gr(e).forEach(function(i) {
3908
3880
  n[i] = Fe(e[i], r);
3909
- }), Vr(t).forEach(function(i) {
3910
- Us(e, i) || (Gn(e, i) && r.isMergeableObject(t[i]) ? n[i] = $s(i, r)(e[i], t[i], r) : n[i] = Fe(t[i], r));
3881
+ }), Gr(t).forEach(function(i) {
3882
+ Us(e, i) || (Gn(e, i) && r.isMergeableObject(t[i]) ? n[i] = xs(i, r)(e[i], t[i], r) : n[i] = Fe(t[i], r));
3911
3883
  }), n;
3912
3884
  }
3913
3885
  function Me(e, t, r) {
3914
- r = r || {}, r.arrayMerge = r.arrayMerge || xs, r.isMergeableObject = r.isMergeableObject || js, r.cloneUnlessOtherwiseSpecified = Fe;
3886
+ r = r || {}, r.arrayMerge = r.arrayMerge || $s, r.isMergeableObject = r.isMergeableObject || js, r.cloneUnlessOtherwiseSpecified = Fe;
3915
3887
  var n = Array.isArray(t), i = Array.isArray(e), a = n === i;
3916
3888
  return a ? n ? r.arrayMerge(e, t, r) : Ls(e, t, r) : Fe(t, r);
3917
3889
  }
@@ -3951,15 +3923,15 @@ const Ut = new TextEncoder(), Gs = {
3951
3923
  "connection"
3952
3924
  ]);
3953
3925
  class Fs {
3954
- constructor({ accessKeyId: t, secretAccessKey: r, sessionToken: n, service: i, region: a, cache: s, retries: o, initRetryMs: l }) {
3926
+ constructor({ accessKeyId: t, secretAccessKey: r, sessionToken: n, service: i, region: a, cache: s, retries: o, initRetryMs: u }) {
3955
3927
  if (t == null) throw new TypeError("accessKeyId is a required option");
3956
3928
  if (r == null) throw new TypeError("secretAccessKey is a required option");
3957
- this.accessKeyId = t, this.secretAccessKey = r, this.sessionToken = n, this.service = i, this.region = a, this.cache = s || /* @__PURE__ */ new Map(), this.retries = o ?? 10, this.initRetryMs = l || 50;
3929
+ this.accessKeyId = t, this.secretAccessKey = r, this.sessionToken = n, this.service = i, this.region = a, this.cache = s || /* @__PURE__ */ new Map(), this.retries = o ?? 10, this.initRetryMs = u || 50;
3958
3930
  }
3959
3931
  async sign(t, r) {
3960
3932
  if (t instanceof Request) {
3961
- const { method: a, url: s, headers: o, body: l } = t;
3962
- r = Object.assign({ method: a, url: s, headers: o }, r), r.body == null && o.has("Content-Type") && (r.body = l != null && o.has("X-Amz-Content-Sha256") ? l : await t.clone().arrayBuffer()), t = s;
3933
+ const { method: a, url: s, headers: o, body: u } = t;
3934
+ r = Object.assign({ method: a, url: s, headers: o }, r), r.body == null && o.has("Content-Type") && (r.body = u != null && o.has("X-Amz-Content-Sha256") ? u : await t.clone().arrayBuffer()), t = s;
3963
3935
  }
3964
3936
  const n = new Ks(Object.assign({ url: t.toString() }, r, this, r && r.aws)), i = Object.assign({}, r, await n.sign());
3965
3937
  delete i.aws;
@@ -3985,16 +3957,16 @@ class Fs {
3985
3957
  }
3986
3958
  }
3987
3959
  class Ks {
3988
- constructor({ method: t, url: r, headers: n, body: i, accessKeyId: a, secretAccessKey: s, sessionToken: o, service: l, region: h, cache: d, datetime: m, signQuery: p, appendSessionToken: y, allHeaders: A, singleEncode: T }) {
3960
+ constructor({ method: t, url: r, headers: n, body: i, accessKeyId: a, secretAccessKey: s, sessionToken: o, service: u, region: d, cache: l, datetime: h, signQuery: p, appendSessionToken: b, allHeaders: S, singleEncode: j }) {
3989
3961
  if (r == null) throw new TypeError("url is a required option");
3990
3962
  if (a == null) throw new TypeError("accessKeyId is a required option");
3991
3963
  if (s == null) throw new TypeError("secretAccessKey is a required option");
3992
3964
  this.method = t || (i ? "POST" : "GET"), this.url = new URL(r), this.headers = new Headers(n || {}), this.body = i, this.accessKeyId = a, this.secretAccessKey = s, this.sessionToken = o;
3993
- let O, j;
3994
- (!l || !h) && ([O, j] = Bs(this.url, this.headers)), this.service = l || O || "", this.region = h || j || "us-east-1", this.cache = d || /* @__PURE__ */ new Map(), this.datetime = m || (/* @__PURE__ */ new Date()).toISOString().replace(/[:-]|\.\d{3}/g, ""), this.signQuery = p, this.appendSessionToken = y || this.service === "iotdevicegateway", this.headers.delete("Host"), this.service === "s3" && !this.signQuery && !this.headers.has("X-Amz-Content-Sha256") && this.headers.set("X-Amz-Content-Sha256", "UNSIGNED-PAYLOAD");
3995
- const b = this.signQuery ? this.url.searchParams : this.headers;
3996
- if (b.set("X-Amz-Date", this.datetime), this.sessionToken && !this.appendSessionToken && b.set("X-Amz-Security-Token", this.sessionToken), this.signableHeaders = ["host", ...this.headers.keys()].filter((I) => A || !Hs.has(I)).sort(), this.signedHeaders = this.signableHeaders.join(";"), this.canonicalHeaders = this.signableHeaders.map((I) => I + ":" + (I === "host" ? this.url.host : (this.headers.get(I) || "").replace(/\s+/g, " "))).join(`
3997
- `), this.credentialString = [this.datetime.slice(0, 8), this.region, this.service, "aws4_request"].join("/"), this.signQuery && (this.service === "s3" && !b.has("X-Amz-Expires") && b.set("X-Amz-Expires", "86400"), b.set("X-Amz-Algorithm", "AWS4-HMAC-SHA256"), b.set("X-Amz-Credential", this.accessKeyId + "/" + this.credentialString), b.set("X-Amz-SignedHeaders", this.signedHeaders)), this.service === "s3")
3965
+ let P, N;
3966
+ (!u || !d) && ([P, N] = Bs(this.url, this.headers)), this.service = u || P || "", this.region = d || N || "us-east-1", this.cache = l || /* @__PURE__ */ new Map(), this.datetime = h || (/* @__PURE__ */ new Date()).toISOString().replace(/[:-]|\.\d{3}/g, ""), this.signQuery = p, this.appendSessionToken = b || 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");
3967
+ const w = this.signQuery ? this.url.searchParams : this.headers;
3968
+ if (w.set("X-Amz-Date", this.datetime), this.sessionToken && !this.appendSessionToken && w.set("X-Amz-Security-Token", this.sessionToken), this.signableHeaders = ["host", ...this.headers.keys()].filter((T) => S || !Hs.has(T)).sort(), this.signedHeaders = this.signableHeaders.join(";"), this.canonicalHeaders = this.signableHeaders.map((T) => T + ":" + (T === "host" ? this.url.host : (this.headers.get(T) || "").replace(/\s+/g, " "))).join(`
3969
+ `), this.credentialString = [this.datetime.slice(0, 8), this.region, this.service, "aws4_request"].join("/"), this.signQuery && (this.service === "s3" && !w.has("X-Amz-Expires") && w.set("X-Amz-Expires", "86400"), w.set("X-Amz-Algorithm", "AWS4-HMAC-SHA256"), w.set("X-Amz-Credential", this.accessKeyId + "/" + this.credentialString), w.set("X-Amz-SignedHeaders", this.signedHeaders)), this.service === "s3")
3998
3970
  try {
3999
3971
  this.encodedPath = decodeURIComponent(this.url.pathname.replace(/\+/g, " "));
4000
3972
  } catch {
@@ -4002,16 +3974,16 @@ class Ks {
4002
3974
  }
4003
3975
  else
4004
3976
  this.encodedPath = this.url.pathname.replace(/\/+/g, "/");
4005
- T || (this.encodedPath = encodeURIComponent(this.encodedPath).replace(/%2F/g, "/")), this.encodedPath = Fr(this.encodedPath);
4006
- const C = /* @__PURE__ */ new Set();
4007
- this.encodedSearch = [...this.url.searchParams].filter(([I]) => {
4008
- if (!I) return !1;
3977
+ j || (this.encodedPath = encodeURIComponent(this.encodedPath).replace(/%2F/g, "/")), this.encodedPath = Kr(this.encodedPath);
3978
+ const L = /* @__PURE__ */ new Set();
3979
+ this.encodedSearch = [...this.url.searchParams].filter(([T]) => {
3980
+ if (!T) return !1;
4009
3981
  if (this.service === "s3") {
4010
- if (C.has(I)) return !1;
4011
- C.add(I);
3982
+ if (L.has(T)) return !1;
3983
+ L.add(T);
4012
3984
  }
4013
3985
  return !0;
4014
- }).map((I) => I.map((_) => Fr(encodeURIComponent(_)))).sort(([I, _], [M, k]) => I < M ? -1 : I > M ? 1 : _ < k ? -1 : _ > k ? 1 : 0).map((I) => I.join("=")).join("&");
3986
+ }).map((T) => T.map((x) => Kr(encodeURIComponent(x)))).sort(([T, x], [_, D]) => T < _ ? -1 : T > _ ? 1 : x < D ? -1 : x > D ? 1 : 0).map((T) => T.join("=")).join("&");
4015
3987
  }
4016
3988
  async sign() {
4017
3989
  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()), {
@@ -4042,7 +4014,7 @@ class Ks {
4042
4014
  "AWS4-HMAC-SHA256",
4043
4015
  this.datetime,
4044
4016
  this.credentialString,
4045
- Et(await Gr(await this.canonicalString()))
4017
+ Et(await Hr(await this.canonicalString()))
4046
4018
  ].join(`
4047
4019
  `);
4048
4020
  }
@@ -4063,7 +4035,7 @@ class Ks {
4063
4035
  if (t == null) {
4064
4036
  if (this.body && typeof this.body != "string" && !("byteLength" in this.body))
4065
4037
  throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");
4066
- t = Et(await Gr(this.body || ""));
4038
+ t = Et(await Hr(this.body || ""));
4067
4039
  }
4068
4040
  return t;
4069
4041
  }
@@ -4078,20 +4050,20 @@ async function De(e, t) {
4078
4050
  );
4079
4051
  return crypto.subtle.sign("HMAC", r, Ut.encode(t));
4080
4052
  }
4081
- async function Gr(e) {
4053
+ async function Hr(e) {
4082
4054
  return crypto.subtle.digest("SHA-256", typeof e == "string" ? Ut.encode(e) : e);
4083
4055
  }
4084
- const Hr = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
4056
+ const Fr = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
4085
4057
  function Et(e) {
4086
4058
  const t = new Uint8Array(e);
4087
4059
  let r = "";
4088
4060
  for (let n = 0; n < t.length; n++) {
4089
4061
  const i = t[n];
4090
- r += Hr[i >>> 4 & 15], r += Hr[i & 15];
4062
+ r += Fr[i >>> 4 & 15], r += Fr[i & 15];
4091
4063
  }
4092
4064
  return r;
4093
4065
  }
4094
- function Fr(e) {
4066
+ function Kr(e) {
4095
4067
  return e.replace(/[!'()*]/g, (t) => "%" + t.charCodeAt(0).toString(16).toUpperCase());
4096
4068
  }
4097
4069
  function Bs(e, t) {
@@ -4120,23 +4092,23 @@ function Bs(e, t) {
4120
4092
  } else s == null && a.startsWith("s3-") ? (s = a.slice(3).replace(/^fips-|^external-1/, ""), a = "s3") : a.endsWith("-fips") ? a = a.slice(0, -5) : s && /-\d$/.test(a) && !/-\d$/.test(s) && ([a, s] = [s, a]);
4121
4093
  return [Gs[a] || a, s || ""];
4122
4094
  }
4123
- var Kr = "EventListener";
4095
+ var Br = "EventListener";
4124
4096
  function Js(e) {
4125
4097
  return function(t, r, n, i) {
4126
4098
  var a = n || Ci, s = i || !1;
4127
4099
  if (!Ke) return a;
4128
- var o = ot(r), l = ot(t, !0);
4129
- if (!l.length) throw new Error("noElements");
4100
+ var o = ot(r), u = ot(t, !0);
4101
+ if (!u.length) throw new Error("noElements");
4130
4102
  if (!o.length) throw new Error("noEvent");
4131
- var h = [];
4132
- return function d(m) {
4133
- m && (h = []);
4134
- for (var p = m ? "add" + Kr : "remove" + Kr, y = 0; y < l.length; y++) {
4135
- var A = l[y];
4136
- h[y] = m ? s && s.once ? Ys(a) : a : h[y] || a;
4137
- for (var T = 0; T < o.length; T++) A[p] ? A["on" + o[T]] = m ? h[y] : null : A[p](o[T], h[y], s);
4103
+ var d = [];
4104
+ return function l(h) {
4105
+ h && (d = []);
4106
+ for (var p = h ? "add" + Br : "remove" + Br, b = 0; b < u.length; b++) {
4107
+ var S = u[b];
4108
+ d[b] = h ? s && s.once ? Ys(a) : a : d[b] || a;
4109
+ for (var j = 0; j < o.length; j++) S[p] ? S["on" + o[j]] = h ? d[b] : null : S[p](o[j], d[b], s);
4138
4110
  }
4139
- return d.bind(null, !m);
4111
+ return l.bind(null, !h);
4140
4112
  }(e);
4141
4113
  };
4142
4114
  }
@@ -4169,7 +4141,7 @@ function Hn(e, t) {
4169
4141
  }
4170
4142
  Hn.bind(null, "onerror");
4171
4143
  Hn.bind(null, "onload");
4172
- var Fn = typeof window > "u", Br = "hidden";
4144
+ var Fn = typeof window > "u", Jr = "hidden";
4173
4145
  function Xs(e) {
4174
4146
  if (Fn) return !1;
4175
4147
  var t = qs(), r = "".concat(t.replace(/[H|h]idden/, ""), "visibilitychange"), n = function() {
@@ -4183,7 +4155,7 @@ function Xs(e) {
4183
4155
  }
4184
4156
  function qs() {
4185
4157
  var e = ["webkit", "moz", "ms", "o"];
4186
- return Fn || Br in document ? Br : e.reduce(function(t, r) {
4158
+ return Fn || Jr in document ? Jr : e.reduce(function(t, r) {
4187
4159
  var n = r + "Hidden";
4188
4160
  return !t && n in document ? n : t;
4189
4161
  }, null);
@@ -4192,10 +4164,10 @@ var Qs = ["mousemove", "mousedown", "touchmove", "touchstart", "touchend", "keyd
4192
4164
  function Zs(e, t) {
4193
4165
  t === void 0 && (t = {});
4194
4166
  var r = /* @__PURE__ */ function(s, o) {
4195
- var l = this, h = !1;
4196
- return function(d) {
4197
- h || (s.call(l, d), h = !0, setTimeout(function() {
4198
- return h = !1;
4167
+ var u = this, d = !1;
4168
+ return function(l) {
4169
+ d || (s.call(u, l), d = !0, setTimeout(function() {
4170
+ return d = !1;
4199
4171
  }, o));
4200
4172
  };
4201
4173
  }(e, t.throttle || 1e4), n = [];
@@ -4217,29 +4189,29 @@ function Zs(e, t) {
4217
4189
  };
4218
4190
  }
4219
4191
  function eo(e) {
4220
- var t, r, n = e.onIdle, i = e.onWakeUp, a = e.onHeartbeat, s = e.timeout, o = s, l = e.throttle, h = l, d = !1, m = !1, p = /* @__PURE__ */ new Date(), y = function() {
4192
+ var t, r, n = e.onIdle, i = e.onWakeUp, a = e.onHeartbeat, s = e.timeout, o = s, u = e.throttle, d = u, l = !1, h = !1, p = /* @__PURE__ */ new Date(), b = function() {
4221
4193
  return clearTimeout(t);
4222
4194
  };
4223
- function A(O) {
4224
- y(), a && !d && a(Ce(p), O), i && d && (d = !1, i(Ce(r), O), p = /* @__PURE__ */ new Date()), t = setTimeout(function() {
4225
- d = !0, n && (r = /* @__PURE__ */ new Date(), n(Ce(p), O));
4195
+ function S(P) {
4196
+ b(), a && !l && a(Ce(p), P), i && l && (l = !1, i(Ce(r), P), p = /* @__PURE__ */ new Date()), t = setTimeout(function() {
4197
+ l = !0, n && (r = /* @__PURE__ */ new Date(), n(Ce(p), P));
4226
4198
  }, o);
4227
4199
  }
4228
- var T = Zs(A, { throttle: h });
4200
+ var j = Zs(S, { throttle: d });
4229
4201
  return { disable: function() {
4230
- m = !0, d = !1, y();
4231
- var O = T();
4202
+ h = !0, l = !1, b();
4203
+ var P = j();
4232
4204
  return function() {
4233
- return m = !1, p = /* @__PURE__ */ new Date(), A({ type: "load" }), O();
4205
+ return h = !1, p = /* @__PURE__ */ new Date(), S({ type: "load" }), P();
4234
4206
  };
4235
4207
  }, getStatus: function() {
4236
- return { isIdle: d, isDisabled: m, active: d ? 0 : Ce(p, m), idle: d ? Ce(r, m) : 0 };
4208
+ return { isIdle: l, isDisabled: h, active: l ? 0 : Ce(p, h), idle: l ? Ce(r, h) : 0 };
4237
4209
  } };
4238
4210
  }
4239
4211
  function Ce(e, t) {
4240
4212
  return t ? 0 : Math.round((/* @__PURE__ */ new Date() - e) / 1e3);
4241
4213
  }
4242
- var Kn = "object", to = "string", Jr = "?", ee = "name", te = "version", ro = "", Yr = "function", no = "undefined", io = "BlackBerry", ao = "Chrome", so = "Firefox", Xr = {
4214
+ var Kn = "object", to = "string", Yr = "?", ee = "name", te = "version", ro = "", Xr = "function", no = "undefined", io = "BlackBerry", ao = "Chrome", so = "Firefox", qr = {
4243
4215
  ME: "4.90",
4244
4216
  "NT 3.11": "NT3.51",
4245
4217
  "NT 4.0": "NT4.0",
@@ -4265,9 +4237,9 @@ var Kn = "object", to = "string", Jr = "?", ee = "name", te = "version", ro = ""
4265
4237
  /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,
4266
4238
  /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i
4267
4239
  ],
4268
- [ee, [te, qr, Xr]],
4240
+ [ee, [te, Qr, qr]],
4269
4241
  [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
4270
- [[ee, "Windows"], [te, qr, Xr]],
4242
+ [[ee, "Windows"], [te, Qr, qr]],
4271
4243
  /* iOS/macOS */
4272
4244
  // iOS
4273
4245
  [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /cfnetwork\/.+darwin/i],
@@ -4322,29 +4294,29 @@ var Kn = "object", to = "string", Jr = "?", ee = "name", te = "version", ro = ""
4322
4294
  [ee, te]
4323
4295
  ];
4324
4296
  function uo(e, t) {
4325
- for (var r = 0, n, i, a, s, o, l; r < t.length && !o; ) {
4326
- var h = t[r], d = t[r + 1];
4327
- for (n = i = 0; n < h.length && !o; )
4328
- if (o = h[n++].exec(e), o)
4329
- for (a = 0; a < d.length; a++)
4330
- l = o[++i], s = d[a], ne(s) === Kn && s.length > 0 ? s.length == 2 ? ne(s[1]) == Yr ? this[s[0]] = s[1].call(this, l) : this[s[0]] = s[1] : s.length == 3 ? ne(s[1]) === Yr && !(s[1].exec && s[1].test) ? this[s[0]] = l ? s[1].call(this, l, s[2]) : void 0 : this[s[0]] = l ? l.replace(s[1], s[2]) : void 0 : s.length == 4 && (this[s[0]] = l ? s[3].call(this, l.replace(s[1], s[2])) : void 0) : this[s] = l || void 0;
4297
+ for (var r = 0, n, i, a, s, o, u; r < t.length && !o; ) {
4298
+ var d = t[r], l = t[r + 1];
4299
+ for (n = i = 0; n < d.length && !o; )
4300
+ if (o = d[n++].exec(e), o)
4301
+ for (a = 0; a < l.length; a++)
4302
+ u = o[++i], s = l[a], ne(s) === Kn && s.length > 0 ? s.length == 2 ? ne(s[1]) == Xr ? this[s[0]] = s[1].call(this, u) : this[s[0]] = s[1] : s.length == 3 ? ne(s[1]) === Xr && !(s[1].exec && s[1].test) ? this[s[0]] = u ? s[1].call(this, u, s[2]) : void 0 : this[s[0]] = u ? u.replace(s[1], s[2]) : void 0 : s.length == 4 && (this[s[0]] = u ? s[3].call(this, u.replace(s[1], s[2])) : void 0) : this[s] = u || void 0;
4331
4303
  r += 2;
4332
4304
  }
4333
4305
  }
4334
- function qr(e, t) {
4306
+ function Qr(e, t) {
4335
4307
  for (var r in t)
4336
4308
  if (ne(t[r]) === Kn && t[r].length > 0) {
4337
4309
  for (var n = 0; n < t[r].length; n++)
4338
- if (Qr(t[r][n], e))
4339
- return r === Jr ? void 0 : r;
4340
- } else if (Qr(t[r], e))
4341
- return r === Jr ? void 0 : r;
4310
+ if (Zr(t[r][n], e))
4311
+ return r === Yr ? void 0 : r;
4312
+ } else if (Zr(t[r], e))
4313
+ return r === Yr ? void 0 : r;
4342
4314
  return e;
4343
4315
  }
4344
- function Qr(e, t) {
4345
- return ne(e) === to ? Zr(t).indexOf(Zr(e)) !== -1 : !1;
4316
+ function Zr(e, t) {
4317
+ return ne(e) === to ? en(t).indexOf(en(e)) !== -1 : !1;
4346
4318
  }
4347
- function Zr(e) {
4319
+ function en(e) {
4348
4320
  return e.toLowerCase();
4349
4321
  }
4350
4322
  function co(e) {
@@ -4352,7 +4324,7 @@ function co(e) {
4352
4324
  return r[ee] = void 0, r[te] = void 0, uo.call(r, t, oo), r;
4353
4325
  }
4354
4326
  var Bn = "Brave";
4355
- function or() {
4327
+ function ur() {
4356
4328
  if (typeof window > "u")
4357
4329
  return {};
4358
4330
  if (!window.navigator)
@@ -4411,16 +4383,16 @@ function po(e) {
4411
4383
  type: o[1],
4412
4384
  version: o[2]
4413
4385
  };
4414
- var l = /.+(AppleWebKit)\/([0-9\.]+).*/i.exec(t);
4415
- if (l)
4386
+ var u = /.+(AppleWebKit)\/([0-9\.]+).*/i.exec(t);
4387
+ if (u)
4416
4388
  return {
4417
- type: l[1],
4418
- version: l[2]
4389
+ type: u[1],
4390
+ version: u[2]
4419
4391
  };
4420
- var h = /.*([A-Z]+)\/([0-9\.]+).*/i.exec(t), d = h || ["", "NA", "0.0.0"];
4392
+ var d = /.*([A-Z]+)\/([0-9\.]+).*/i.exec(t), l = d || ["", "NA", "0.0.0"];
4421
4393
  return {
4422
- type: d[1],
4423
- version: d[2]
4394
+ type: l[1],
4395
+ version: l[2]
4424
4396
  };
4425
4397
  }
4426
4398
  function ho(e) {
@@ -4432,26 +4404,26 @@ function Lt(e) {
4432
4404
  }
4433
4405
  function zt() {
4434
4406
  return zt = ie(/* @__PURE__ */ X.mark(function e(t) {
4435
- var r, n, i, a, s, o, l = arguments;
4436
- return X.wrap(function(d) {
4407
+ var r, n, i, a, s, o, u = arguments;
4408
+ return X.wrap(function(l) {
4437
4409
  for (; ; )
4438
- switch (d.prev = d.next) {
4410
+ switch (l.prev = l.next) {
4439
4411
  case 0:
4440
- r = l.length > 1 && l[1] !== void 0 ? l[1] : !1, n = {}, d.t0 = X.keys(t);
4412
+ r = u.length > 1 && u[1] !== void 0 ? u[1] : !1, n = {}, l.t0 = X.keys(t);
4441
4413
  case 3:
4442
- if ((d.t1 = d.t0()).done) {
4443
- d.next = 13;
4414
+ if ((l.t1 = l.t0()).done) {
4415
+ l.next = 13;
4444
4416
  break;
4445
4417
  }
4446
- return i = d.t1.value, a = Array.isArray(t[i]) ? t[i] : [t[i]], s = r ? a : a[0], d.next = 9, Yn(s, go);
4418
+ return i = l.t1.value, a = Array.isArray(t[i]) ? t[i] : [t[i]], s = r ? a : a[0], l.next = 9, Yn(s, go);
4447
4419
  case 9:
4448
- o = d.sent, Xn(o) || (n[i] = o), d.next = 3;
4420
+ o = l.sent, Xn(o) || (n[i] = o), l.next = 3;
4449
4421
  break;
4450
4422
  case 13:
4451
- return d.abrupt("return", n);
4423
+ return l.abrupt("return", n);
4452
4424
  case 14:
4453
4425
  case "end":
4454
- return d.stop();
4426
+ return l.stop();
4455
4427
  }
4456
4428
  }, e);
4457
4429
  })), zt.apply(this, arguments);
@@ -4531,59 +4503,59 @@ function yo(e) {
4531
4503
  }
4532
4504
  function Ht() {
4533
4505
  return Ht = ie(/* @__PURE__ */ X.mark(function e(t) {
4534
- var r, n, i, a, s, o, l, h, d, m, p, y, A, T, O, j, b, C, I, _, M, k, N, L, z, F, U, K, $, W, B, J = arguments;
4506
+ var r, n, i, a, s, o, u, d, l, h, p, b, S, j, P, N, w, L, T, x, _, D, C, G, H, F, V, I, y, A, k, R = arguments;
4535
4507
  return X.wrap(function(f) {
4536
4508
  for (; ; )
4537
4509
  switch (f.prev = f.next) {
4538
4510
  case 0:
4539
- if (r = J.length > 1 && J[1] !== void 0 ? J[1] : {}, n = J.length > 2 && J[2] !== void 0 ? J[2] : {}, i = n.appTitle, a = n.appPackageName, s = n.appVersionCode, o = n.eventMapping, l = n.enrichEventAttributes, h = n.enrichEventMetrics, d = n.debug, m = d ? console.log : function() {
4540
- }, p = ho(t, o), y = He(), A = r.sessionId || y.id, T = r.sessionStart || y.createdAt, O = r.sessionStart ? new Date(r.sessionStart).getTime() : y.created, m("event sessionData ", JSON.stringify(y)), ye && (j = sr(), b = Vn(), m("event pageSessionInfo", JSON.stringify(j)), m("event tabSessionData ", JSON.stringify(b))), C = r.attributes || {}, I = r.eventId || be(), _ = r.time ? new Date(r.time) : /* @__PURE__ */ new Date(), M = _.toISOString(), k = _.getTime() - O, N = Z({
4541
- date: M,
4542
- sessionId: A
4511
+ if (r = R.length > 1 && R[1] !== void 0 ? R[1] : {}, n = R.length > 2 && R[2] !== void 0 ? R[2] : {}, i = n.appTitle, a = n.appPackageName, s = n.appVersionCode, o = n.eventMapping, u = n.enrichEventAttributes, d = n.enrichEventMetrics, l = n.debug, h = l ? console.log : function() {
4512
+ }, p = ho(t, o), b = He(), S = r.sessionId || b.id, j = r.sessionStart || b.createdAt, P = r.sessionStart ? new Date(r.sessionStart).getTime() : b.created, h("event sessionData ", JSON.stringify(b)), ye && (N = or(), w = Vn(), h("event pageSessionInfo", JSON.stringify(N)), h("event tabSessionData ", JSON.stringify(w))), L = r.attributes || {}, T = r.eventId || be(), x = r.time ? new Date(r.time) : /* @__PURE__ */ new Date(), _ = x.toISOString(), D = x.getTime() - P, C = Z({
4513
+ date: _,
4514
+ sessionId: S
4543
4515
  }, ye ? {
4544
- pageSession: j.id
4545
- } : {}), !l) {
4516
+ pageSession: N.id
4517
+ } : {}), !u) {
4546
4518
  f.next = 23;
4547
4519
  break;
4548
4520
  }
4549
- return f.next = 20, l();
4521
+ return f.next = 20, u();
4550
4522
  case 20:
4551
4523
  f.t0 = f.sent, f.next = 24;
4552
4524
  break;
4553
4525
  case 23:
4554
4526
  f.t0 = {};
4555
4527
  case 24:
4556
- if (L = f.t0, z = Z(Z(Z({}, N), L), C), F = r.metrics || {}, U = {
4528
+ if (G = f.t0, H = Z(Z(Z({}, C), G), L), F = r.metrics || {}, V = {
4557
4529
  /* Time of session */
4558
- sessionTime: y.elapsed || k,
4530
+ sessionTime: b.elapsed || D,
4559
4531
  /* Date metrics */
4560
- hour: _.getHours(),
4561
- day: _.getDay() + 1,
4562
- month: _.getMonth() + 1,
4563
- year: _.getFullYear()
4564
- }, !h) {
4532
+ hour: x.getHours(),
4533
+ day: x.getDay() + 1,
4534
+ month: x.getMonth() + 1,
4535
+ year: x.getFullYear()
4536
+ }, !d) {
4565
4537
  f.next = 34;
4566
4538
  break;
4567
4539
  }
4568
- return f.next = 31, h();
4540
+ return f.next = 31, d();
4569
4541
  case 31:
4570
4542
  f.t1 = f.sent, f.next = 35;
4571
4543
  break;
4572
4544
  case 34:
4573
4545
  f.t1 = {};
4574
4546
  case 35:
4575
- return K = f.t1, $ = Z(Z(Z({}, U), K), F), f.next = 39, Lt(z);
4547
+ return I = f.t1, y = Z(Z(Z({}, V), I), F), f.next = 39, Lt(H);
4576
4548
  case 39:
4577
- return f.t2 = f.sent, f.next = 42, Jn($);
4549
+ return f.t2 = f.sent, f.next = 42, Jn(y);
4578
4550
  case 42:
4579
- return f.t3 = f.sent, W = {
4551
+ return f.t3 = f.sent, A = {
4580
4552
  attributes: f.t2,
4581
4553
  metrics: f.t3
4582
- }, m("".concat(I, ":").concat(p)), m("eventAttributes", W.attributes), m("eventMetrics", W.metrics), ye && m("clientInfo", or()), B = ir({}, I, Z(Z({
4554
+ }, h("".concat(T, ":").concat(p)), h("eventAttributes", A.attributes), h("eventMetrics", A.metrics), ye && h("clientInfo", ur()), k = ar({}, T, Z(Z({
4583
4555
  /* The name of the event */
4584
4556
  EventType: p,
4585
4557
  /* The date and time, in ISO 8601 format, when the event occurred. */
4586
- Timestamp: M,
4558
+ Timestamp: _,
4587
4559
  /* The package name of the app that's recording the event. */
4588
4560
  AppPackageName: a,
4589
4561
  /* The title of the app that's recording the event. */
@@ -4592,21 +4564,21 @@ function Ht() {
4592
4564
  AppVersionCode: s
4593
4565
  } : {}), {}, {
4594
4566
  /* Event attributes - One or more custom attributes that are associated with the event. */
4595
- Attributes: W.attributes,
4567
+ Attributes: A.attributes,
4596
4568
  /* The version of the SDK that's running on the client device. */
4597
4569
  // ClientSdkVersion: 'STRING_VALUE',
4598
4570
  /* The name of the SDK that's being used to record the event. */
4599
4571
  // SdkName: 'STRING_VALUE',
4600
4572
  /* Event metrics - One or more custom metrics that are associated with the event. */
4601
- Metrics: W.metrics,
4573
+ Metrics: A.metrics,
4602
4574
  Session: {
4603
4575
  /* SessionId is required */
4604
- Id: A,
4576
+ Id: S,
4605
4577
  /* StartTimestamp is required */
4606
- StartTimestamp: T
4578
+ StartTimestamp: j
4607
4579
  // ISOString
4608
4580
  }
4609
- })), t === mt && (B[I].Session.Duration = k, B[I].Session.StopTimestamp = M), f.abrupt("return", B);
4581
+ })), t === mt && (k[T].Session.Duration = D, k[T].Session.StopTimestamp = _), f.abrupt("return", k);
4610
4582
  case 51:
4611
4583
  case "end":
4612
4584
  return f.stop();
@@ -4618,22 +4590,22 @@ var bo = "__endpoint";
4618
4590
  function vt(e) {
4619
4591
  return "".concat(bo, ".").concat(e);
4620
4592
  }
4621
- var en = "__endpoint", tn = !1;
4622
- function ur() {
4593
+ var tn = "__endpoint", rn = !1;
4594
+ function cr() {
4623
4595
  return Ft.apply(this, arguments);
4624
4596
  }
4625
4597
  function Ft() {
4626
4598
  return Ft = ie(/* @__PURE__ */ X.mark(function e() {
4627
- var t, r, n, i, a, s, o, l, h, d, m, p, y, A, T, O, j, b, C, I, _, M = arguments;
4628
- return X.wrap(function(N) {
4599
+ var t, r, n, i, a, s, o, u, d, l, h, p, b, S, j, P, N, w, L, T, x, _ = arguments;
4600
+ return X.wrap(function(C) {
4629
4601
  for (; ; )
4630
- switch (N.prev = N.next) {
4602
+ switch (C.prev = C.next) {
4631
4603
  case 0:
4632
- return t = M.length > 0 && M[0] !== void 0 ? M[0] : {}, r = M.length > 1 && M[1] !== void 0 ? M[1] : {}, n = r.getUserId, i = r.getEndpointId, a = r.endpointMigration, s = Po(r), o = s.sessionKey ? s.sessionKey() : "sessions", l = s.pageViewKey ? s.pageViewKey() : "pageViews", ye && (m = or(), h = sr(), d = h.id), p = He(), N.next = 10, i();
4604
+ return t = _.length > 0 && _[0] !== void 0 ? _[0] : {}, r = _.length > 1 && _[1] !== void 0 ? _[1] : {}, n = r.getUserId, i = r.getEndpointId, a = r.endpointMigration, s = Po(r), o = s.sessionKey ? s.sessionKey() : "sessions", u = s.pageViewKey ? s.pageViewKey() : "pageViews", ye && (h = ur(), d = or(), l = d.id), p = He(), C.next = 10, i();
4633
4605
  case 10:
4634
- if (y = N.sent, tn || (tn = !0, A = Qt(en), A && (Ot(y, A), Cn(en))), T = wo(y), O = Oo(r), j = So(O, m), b = {
4606
+ if (b = C.sent, rn || (rn = !0, S = Zt(tn), S && (Ot(b, S), Cn(tn))), j = wo(b), P = Oo(r), N = So(P, h), w = {
4635
4607
  Attributes: {},
4636
- Demographic: j,
4608
+ Demographic: N,
4637
4609
  Location: {
4638
4610
  /*
4639
4611
  City: 'STRING_VALUE',
@@ -4652,47 +4624,47 @@ function Ft() {
4652
4624
  * NONE - Users has not opted out and receives all messages.
4653
4625
  */
4654
4626
  // OptOut: 'STRING_VALUE',
4655
- }, ye && (m.device && m.device.vendor && (b.Attributes.DeviceMake = [m.device.vendor]), m.device && m.device.model && (b.Attributes.DeviceModel = [m.device.model]), m.device && m.device.type && (b.Attributes.DeviceType = [m.device.type])), t = Vs.all([T, b, t], {
4627
+ }, ye && (h.device && h.device.vendor && (w.Attributes.DeviceMake = [h.device.vendor]), h.device && h.device.model && (w.Attributes.DeviceModel = [h.device.model]), h.device && h.device.type && (w.Attributes.DeviceType = [h.device.type])), t = Vs.all([j, w, t], {
4656
4628
  arrayMerge: Io
4657
4629
  // TODO maybe change array merge
4658
4630
  }), !(t.User && t.User.UserId)) {
4659
- N.next = 23;
4631
+ C.next = 23;
4660
4632
  break;
4661
4633
  }
4662
- return N.next = 21, n();
4634
+ return C.next = 21, n();
4663
4635
  case 21:
4664
- C = N.sent, t.User.UserId !== C && (t.User.UserId = C);
4636
+ L = C.sent, t.User.UserId !== L && (t.User.UserId = L);
4665
4637
  case 23:
4666
4638
  if (!(!t.User || !t.User.UserId)) {
4667
- N.next = 28;
4639
+ C.next = 28;
4668
4640
  break;
4669
4641
  }
4670
- return N.next = 26, n();
4642
+ return C.next = 26, n();
4671
4643
  case 26:
4672
- I = N.sent, I && (t.User = t.User || {}, t.User.UserId = I);
4644
+ T = C.sent, T && (t.User = t.User || {}, t.User.UserId = T);
4673
4645
  case 28:
4674
4646
  if (!(t.User && t.User.UserAttributes)) {
4675
- N.next = 32;
4647
+ C.next = 32;
4676
4648
  break;
4677
4649
  }
4678
- return N.next = 31, Lt(t.User.UserAttributes, !0);
4650
+ return C.next = 31, Lt(t.User.UserAttributes, !0);
4679
4651
  case 31:
4680
- t.User.UserAttributes = N.sent;
4652
+ t.User.UserAttributes = C.sent;
4681
4653
  case 32:
4682
- return N.next = 34, Lt(t.Attributes, !0);
4654
+ return C.next = 34, Lt(t.Attributes, !0);
4683
4655
  case 34:
4684
- return t.Attributes = N.sent, N.next = 37, Jn(t.Metrics);
4656
+ return t.Attributes = C.sent, C.next = 37, Jn(t.Metrics);
4685
4657
  case 37:
4686
- if (t.Metrics = N.sent, t.Metrics[o] || (t.Metrics[o] = 1), t.Metrics[l] || (t.Metrics[l] = 1), a && (t = a(y, t)), _ = t.Attributes.lastSession, _) {
4687
- N.next = 47;
4658
+ if (t.Metrics = C.sent, t.Metrics[o] || (t.Metrics[o] = 1), t.Metrics[u] || (t.Metrics[u] = 1), a && (t = a(b, t)), x = t.Attributes.lastSession, x) {
4659
+ C.next = 47;
4688
4660
  break;
4689
4661
  }
4690
- return t.Attributes.lastSessionDate = [p.createdAt], t.Attributes.lastSession = [p.id], d && (t.Attributes.lastPageSession = [d]), N.abrupt("return", Ot(y, t));
4662
+ return t.Attributes.lastSessionDate = [p.createdAt], t.Attributes.lastSession = [p.id], l && (t.Attributes.lastPageSession = [l]), C.abrupt("return", Ot(b, t));
4691
4663
  case 47:
4692
- return _ && _[0] !== p.id && (t.Attributes.lastSessionDate = [p.createdAt], t.Attributes.lastSession = [p.id], t.Metrics[o] += 1), t.Attributes && t.Attributes.lastPageSession && Array.isArray(t.Attributes.lastPageSession) && t.Attributes.lastPageSession.length > 0 && t.Attributes.lastPageSession[0] !== d && (t.Attributes.lastPageSession = [d], t.Metrics[l] += 1), N.abrupt("return", Ot(y, t));
4664
+ return x && x[0] !== p.id && (t.Attributes.lastSessionDate = [p.createdAt], t.Attributes.lastSession = [p.id], t.Metrics[o] += 1), t.Attributes && t.Attributes.lastPageSession && Array.isArray(t.Attributes.lastPageSession) && t.Attributes.lastPageSession.length > 0 && t.Attributes.lastPageSession[0] !== l && (t.Attributes.lastPageSession = [l], t.Metrics[u] += 1), C.abrupt("return", Ot(b, t));
4693
4665
  case 50:
4694
4666
  case "end":
4695
- return N.stop();
4667
+ return C.stop();
4696
4668
  }
4697
4669
  }, e);
4698
4670
  })), Ft.apply(this, arguments);
@@ -4703,7 +4675,7 @@ function Ot(e, t) {
4703
4675
  }
4704
4676
  function wo(e) {
4705
4677
  try {
4706
- return JSON.parse(Qt(vt(e))) || {};
4678
+ return JSON.parse(Zt(vt(e))) || {};
4707
4679
  } catch {
4708
4680
  }
4709
4681
  return {};
@@ -4757,22 +4729,22 @@ function To(e) {
4757
4729
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4758
4730
  return /* @__PURE__ */ function() {
4759
4731
  var r = ie(/* @__PURE__ */ X.mark(function i(a) {
4760
- var s, o, l, h, d = arguments;
4732
+ var s, o, u, d, l = arguments;
4761
4733
  return X.wrap(function(p) {
4762
4734
  for (; ; )
4763
4735
  switch (p.prev = p.next) {
4764
4736
  case 0:
4765
- return s = d.length > 1 && d[1] !== void 0 ? d[1] : {}, o = d.length > 2 && d[2] !== void 0 ? d[2] : {}, l = d.length > 3 && d[3] !== void 0 ? d[3] : !1, Wr(s) && (s = {}, l = s), Wr(o) && (o = {}, l = o), p.next = 7, yo(a, s, t);
4737
+ return s = l.length > 1 && l[1] !== void 0 ? l[1] : {}, o = l.length > 2 && l[2] !== void 0 ? l[2] : {}, u = l.length > 3 && l[3] !== void 0 ? l[3] : !1, Vr(s) && (s = {}, u = s), Vr(o) && (o = {}, u = o), p.next = 7, yo(a, s, t);
4766
4738
  case 7:
4767
- if (h = p.sent, !(Object.entries(o).length || a === qn)) {
4739
+ if (d = p.sent, !(Object.entries(o).length || a === qn)) {
4768
4740
  p.next = 12;
4769
4741
  break;
4770
4742
  }
4771
- return p.next = 11, ur(o, t);
4743
+ return p.next = 11, cr(o, t);
4772
4744
  case 11:
4773
4745
  o = p.sent;
4774
4746
  case 12:
4775
- if (e.push(h), !l) {
4747
+ if (e.push(d), !u) {
4776
4748
  p.next = 17;
4777
4749
  break;
4778
4750
  }
@@ -4789,50 +4761,50 @@ function To(e) {
4789
4761
  return n;
4790
4762
  }();
4791
4763
  }
4792
- var rn, jo = [429, 500], No = [202], ko = 400;
4764
+ var nn, jo = [429, 500], No = [202], ko = 400;
4793
4765
  function Mo(e, t) {
4794
4766
  return Kt.apply(this, arguments);
4795
4767
  }
4796
4768
  function Kt() {
4797
4769
  return Kt = ie(/* @__PURE__ */ X.mark(function e(t, r) {
4798
- var n, i, a, s, o, l, h, d, m, p, y, A, T, O, j, b, C, I, _;
4799
- return X.wrap(function(k) {
4770
+ var n, i, a, s, o, u, d, l, h, p, b, S, j, P, N, w, L, T, x;
4771
+ return X.wrap(function(D) {
4800
4772
  for (; ; )
4801
- switch (k.prev = k.next) {
4773
+ switch (D.prev = D.next) {
4802
4774
  case 0:
4803
- return n = r.pinpointRegion, i = r.pinpointAppId, a = r.lambdaArn, s = r.lambdaRegion, o = r.credentials, l = r.getCredentials, h = r.debug, k.next = 3, Do(o, l);
4775
+ return n = r.pinpointRegion, i = r.pinpointAppId, a = r.lambdaArn, s = r.lambdaRegion, o = r.credentials, u = r.getCredentials, d = r.debug, D.next = 3, Do(o, u);
4804
4776
  case 3:
4805
- return d = k.sent, h && console.log("pinpoint auth", d), m = s || n, p = n || s, y = r.fips === !0 ? "-fips" : "", A = "https://lambda.".concat(m, ".amazonaws.com/2015-03-31/functions/").concat(a, "/invocations"), T = "https://pinpoint".concat(y, ".").concat(p, ".amazonaws.com/v1/apps/").concat(i, "/events"), O = a ? A : T, C = {
4777
+ return l = D.sent, d && console.log("pinpoint auth", l), h = s || n, p = n || s, b = r.fips === !0 ? "-fips" : "", S = "https://lambda.".concat(h, ".amazonaws.com/2015-03-31/functions/").concat(a, "/invocations"), j = "https://pinpoint".concat(b, ".").concat(p, ".amazonaws.com/v1/apps/").concat(i, "/events"), P = a ? S : j, L = {
4806
4778
  body: JSON.stringify(t)
4807
- }, j = new Fs(d), k.next = 16, j.fetch(O, C).then(function(N) {
4808
- return N.json();
4779
+ }, N = new Fs(l), D.next = 16, N.fetch(P, L).then(function(C) {
4780
+ return C.json();
4809
4781
  });
4810
4782
  case 16:
4811
- b = k.sent, k.next = 24;
4783
+ w = D.sent, D.next = 24;
4812
4784
  break;
4813
4785
  case 19:
4814
- return j = new rn.PinpointClient({
4815
- credentials: d,
4786
+ return N = new nn.PinpointClient({
4787
+ credentials: l,
4816
4788
  region: n
4817
- }), I = new rn.PutEventsCommand({
4789
+ }), T = new nn.PutEventsCommand({
4818
4790
  ApplicationId: i,
4819
4791
  EventsRequest: t
4820
- }), k.next = 23, j.send(I);
4792
+ }), D.next = 23, N.send(T);
4821
4793
  case 23:
4822
- b = k.sent;
4794
+ w = D.sent;
4823
4795
  case 24:
4824
- return b && b.Results && (_ = Object.keys(b.Results).map(function(N) {
4825
- return b.Results[N];
4826
- }), _.forEach(function(N) {
4827
- var L = N.EndpointItemResponse || {}, z = N.EventsItemResponse || {};
4828
- Object.keys(L).length && (No.includes(L.StatusCode) || jo.includes(L.StatusCode) || Co(L, Endpoint));
4829
- var F = Object.keys(z);
4830
- F.length && F.forEach(function(U) {
4796
+ return w && w.Results && (x = Object.keys(w.Results).map(function(C) {
4797
+ return w.Results[C];
4798
+ }), x.forEach(function(C) {
4799
+ var G = C.EndpointItemResponse || {}, H = C.EventsItemResponse || {};
4800
+ Object.keys(G).length && (No.includes(G.StatusCode) || jo.includes(G.StatusCode) || Co(G, Endpoint));
4801
+ var F = Object.keys(H);
4802
+ F.length && F.forEach(function(V) {
4831
4803
  });
4832
- })), k.abrupt("return", b);
4804
+ })), D.abrupt("return", w);
4833
4805
  case 26:
4834
4806
  case "end":
4835
- return k.stop();
4807
+ return D.stop();
4836
4808
  }
4837
4809
  }, e);
4838
4810
  })), Kt.apply(this, arguments);
@@ -4897,54 +4869,54 @@ var Ro = [
4897
4869
  // 'IN_APP' what is this?
4898
4870
  ], It = Ro.reduce(function(e, t) {
4899
4871
  return e[t] = t, e;
4900
- }, {}), xo = or(), nn = Gt, an = mt, $o = /.+\@.+\..+/;
4872
+ }, {}), $o = ur(), an = Gt, sn = mt, xo = /.+\@.+\..+/;
4901
4873
  function _o(e) {
4902
- return $o.test(e);
4874
+ return xo.test(e);
4903
4875
  }
4904
4876
  function Uo() {
4905
4877
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.getEndpointId, r = e.debug;
4906
4878
  return /* @__PURE__ */ function() {
4907
4879
  var n = ie(/* @__PURE__ */ X.mark(function a() {
4908
- var s, o, l, h, d, m, p, y, A, T, O = arguments;
4909
- return X.wrap(function(b) {
4880
+ var s, o, u, d, l, h, p, b, S, j, P = arguments;
4881
+ return X.wrap(function(w) {
4910
4882
  for (; ; )
4911
- switch (b.prev = b.next) {
4883
+ switch (w.prev = w.next) {
4912
4884
  case 0:
4913
- return s = O.length > 0 && O[0] !== void 0 ? O[0] : [], o = O.length > 1 && O[1] !== void 0 ? O[1] : {}, b.next = 4, t();
4885
+ return s = P.length > 0 && P[0] !== void 0 ? P[0] : [], o = P.length > 1 && P[1] !== void 0 ? P[1] : {}, w.next = 4, t();
4914
4886
  case 4:
4915
- if (l = b.sent, l) {
4916
- b.next = 8;
4887
+ if (u = w.sent, u) {
4888
+ w.next = 8;
4917
4889
  break;
4918
4890
  }
4919
- return console.error("No endpoint id. check getEndpointId()"), b.abrupt("return");
4891
+ return console.error("No endpoint id. check getEndpointId()"), w.abrupt("return");
4920
4892
  case 8:
4921
- if (h = ne(o) === "object" && Object.keys(o).length, h) {
4922
- b.next = 13;
4893
+ if (d = ne(o) === "object" && Object.keys(o).length, d) {
4894
+ w.next = 13;
4923
4895
  break;
4924
4896
  }
4925
- b.t0 = Lo(l), b.next = 16;
4897
+ w.t0 = Lo(u), w.next = 16;
4926
4898
  break;
4927
4899
  case 13:
4928
- return b.next = 15, ur(o, e);
4900
+ return w.next = 15, cr(o, e);
4929
4901
  case 15:
4930
- b.t0 = b.sent;
4902
+ w.t0 = w.sent;
4931
4903
  case 16:
4932
- return d = b.t0, m = d.ChannelType, d.Address && _o(d.Address) && (m = It.EMAIL), !m && d.Address && (xo.platform === "android" ? m = m || It.GCM : m = m || It.APNS), r && (console.log("Endpoint", d), console.log("CHANNEL_TYPE", m)), d.RequestId = be(), d.ChannelType = m, d.Address && (d.OptOut = d.OptOut || "NONE"), p = zo(s), y = Wo(l, d, p), b.prev = 26, b.next = 29, Mo(y, e);
4904
+ return l = w.t0, h = l.ChannelType, l.Address && _o(l.Address) && (h = It.EMAIL), !h && l.Address && ($o.platform === "android" ? h = h || It.GCM : h = h || It.APNS), r && (console.log("Endpoint", l), console.log("CHANNEL_TYPE", h)), l.RequestId = be(), l.ChannelType = h, l.Address && (l.OptOut = l.OptOut || "NONE"), p = zo(s), b = Wo(u, l, p), w.prev = 26, w.next = 29, Mo(b, e);
4933
4905
  case 29:
4934
- A = b.sent, b.next = 36;
4906
+ S = w.sent, w.next = 36;
4935
4907
  break;
4936
4908
  case 32:
4937
- b.prev = 32, b.t1 = b.catch(26), console.log("Error calling AWS", b.t1), T = b.t1;
4909
+ w.prev = 32, w.t1 = w.catch(26), console.log("Error calling AWS", w.t1), j = w.t1;
4938
4910
  case 36:
4939
- return b.abrupt("return", {
4940
- endpoint: d,
4941
- response: A,
4942
- error: T,
4911
+ return w.abrupt("return", {
4912
+ endpoint: l,
4913
+ response: S,
4914
+ error: j,
4943
4915
  events: s
4944
4916
  });
4945
4917
  case 37:
4946
4918
  case "end":
4947
- return b.stop();
4919
+ return w.stop();
4948
4920
  }
4949
4921
  }, a, null, [[26, 32]]);
4950
4922
  }));
@@ -4956,7 +4928,7 @@ function Uo() {
4956
4928
  }
4957
4929
  function Lo(e) {
4958
4930
  try {
4959
- return JSON.parse(Qt(vt(e))) || {};
4931
+ return JSON.parse(Zt(vt(e))) || {};
4960
4932
  } catch {
4961
4933
  }
4962
4934
  return {};
@@ -4964,16 +4936,16 @@ function Lo(e) {
4964
4936
  function zo(e) {
4965
4937
  return e.sort(function(t, r) {
4966
4938
  var n = t.EventType, i = r.EventType;
4967
- if (n == nn) return -1;
4968
- if (i == nn || n == an) return 1;
4969
- if (i == an) return -1;
4939
+ if (n == an) return -1;
4940
+ if (i == an || n == sn) return 1;
4941
+ if (i == sn) return -1;
4970
4942
  }).reduce(function(t, r) {
4971
4943
  return Z(Z({}, r), t);
4972
4944
  }, {});
4973
4945
  }
4974
4946
  function Wo(e, t, r) {
4975
4947
  return {
4976
- BatchItem: ir({}, e, {
4948
+ BatchItem: ar({}, e, {
4977
4949
  Endpoint: t,
4978
4950
  Events: r
4979
4951
  })
@@ -4990,25 +4962,25 @@ function Go() {
4990
4962
  getEndpointId: e.getEndpointId
4991
4963
  }, e), r = t.debug ? console.log : function() {
4992
4964
  }, n = Uo(t), i = Ss(/* @__PURE__ */ function() {
4993
- var l = ie(/* @__PURE__ */ X.mark(function h(d, m) {
4965
+ var u = ie(/* @__PURE__ */ X.mark(function d(l, h) {
4994
4966
  var p;
4995
- return X.wrap(function(A) {
4967
+ return X.wrap(function(S) {
4996
4968
  for (; ; )
4997
- switch (A.prev = A.next) {
4969
+ switch (S.prev = S.next) {
4998
4970
  case 0:
4999
- return d.forEach(function(T) {
5000
- return r("> Queue event", T);
5001
- }), A.next = 3, n(d, {});
4971
+ return l.forEach(function(j) {
4972
+ return r("> Queue event", j);
4973
+ }), S.next = 3, n(l, {});
5002
4974
  case 3:
5003
- p = A.sent, r("> Queue response", p);
4975
+ p = S.sent, r("> Queue response", p);
5004
4976
  case 5:
5005
4977
  case "end":
5006
- return A.stop();
4978
+ return S.stop();
5007
4979
  }
5008
- }, h);
4980
+ }, d);
5009
4981
  }));
5010
- return function(h, d) {
5011
- return l.apply(this, arguments);
4982
+ return function(d, l) {
4983
+ return u.apply(this, arguments);
5012
4984
  };
5013
4985
  }(), {
5014
4986
  max: 10,
@@ -5020,10 +4992,10 @@ function Go() {
5020
4992
  // onPause: (queue) => {},
5021
4993
  // onEmpty: () => {}
5022
4994
  }), a = To(i, t);
5023
- ur({}, e);
4995
+ cr({}, e);
5024
4996
  var s = Ho(a);
5025
- function o(l) {
5026
- return n([], l);
4997
+ function o(u) {
4998
+ return n([], u);
5027
4999
  }
5028
5000
  return {
5029
5001
  updateEndpoint: o,
@@ -5088,49 +5060,49 @@ function Yo() {
5088
5060
  config: Z(Z({}, Jo), e),
5089
5061
  bootstrap: Bo,
5090
5062
  initialize: function(o) {
5091
- var l = o.config, h = o.instance, d = l.disableAnonymousTraffic, m = l.debug, p = m ? console.log : function() {
5092
- }, y = h.getState(), A = y.user || {}, T = A.userId, O = A.anonymousId, j = y.context || {}, b = j.app, C = j.version, I = j.campaign, _ = sr(), M = Vn(), k = He();
5093
- if (p("initPageSession", _), p("initTabSession", M), p("initSessionData", k), k && k.anonId && k.anonId !== O) {
5094
- p("anonId different refresh session details"), zr(), Ps();
5095
- var N = st(30, {
5096
- anonId: O,
5097
- userId: T
5063
+ var u = o.config, d = o.instance, l = u.disableAnonymousTraffic, h = u.debug, p = h ? console.log : function() {
5064
+ }, b = d.getState(), S = b.user || {}, j = S.userId, P = S.anonymousId, N = b.context || {}, w = N.app, L = N.version, T = N.campaign, x = or(), _ = Vn(), D = He();
5065
+ if (p("initPageSession", x), p("initTabSession", _), p("initSessionData", D), D && D.anonId && D.anonId !== P) {
5066
+ p("anonId different refresh session details"), Wr(), Ps();
5067
+ var C = st(30, {
5068
+ anonId: P,
5069
+ userId: j
5098
5070
  });
5099
- p("newSessionForNewUser", N);
5071
+ p("newSessionForNewUser", C);
5100
5072
  }
5101
- if (!T && d)
5073
+ if (!j && l)
5102
5074
  return !1;
5103
- var L = Object.keys(I).reduce(function(K, $) {
5104
- return K["utm_".concat($)] = I[$], K;
5105
- }, {}), z = Go(Z(Z({}, l), {}, {
5075
+ var G = Object.keys(T).reduce(function(I, y) {
5076
+ return I["utm_".concat(y)] = T[y], I;
5077
+ }, {}), H = Go(Z(Z({}, u), {}, {
5106
5078
  // The title of the app that's recording the event.
5107
- appTitle: l.appTitle || b,
5079
+ appTitle: u.appTitle || w,
5108
5080
  // The package name of the app that's recording the event.
5109
- appPackageName: l.appPackageName || b,
5081
+ appPackageName: u.appPackageName || w,
5110
5082
  // The version number of the app that's recording the event.
5111
- appVersionCode: l.appVersionCode || C,
5083
+ appVersionCode: u.appVersionCode || L,
5112
5084
  // Custom event mapping
5113
- eventMapping: l.eventMapping,
5085
+ eventMapping: u.eventMapping,
5114
5086
  // Get pinpoint endpoint ID
5115
5087
  getEndpointId: function() {
5116
- return h.user("anonymousId");
5088
+ return d.user("anonymousId");
5117
5089
  },
5118
5090
  getUserId: function() {
5119
- return h.user("userId");
5091
+ return d.user("userId");
5120
5092
  },
5121
5093
  getContext: function() {
5122
5094
  return {
5123
- sessionKey: l.sessionKey,
5124
- pageViewKey: l.pageViewKey,
5125
- initialSession: k
5095
+ sessionKey: u.sessionKey,
5096
+ pageViewKey: u.pageViewKey,
5097
+ initialSession: D
5126
5098
  // scrollDepth: scrollDepthNow,
5127
5099
  // scrollDepthMax
5128
5100
  };
5129
5101
  },
5130
5102
  enrichEventAttributes: function() {
5131
5103
  return Z({
5132
- anonId: h.user("anonymousId"),
5133
- userId: h.user("userId"),
5104
+ anonId: d.user("anonymousId"),
5105
+ userId: d.user("userId"),
5134
5106
  hash: window.location.hash,
5135
5107
  path: window.location.pathname,
5136
5108
  referrer: document.referrer,
@@ -5138,32 +5110,32 @@ function Yo() {
5138
5110
  title: document.title,
5139
5111
  host: window.location.hostname,
5140
5112
  url: window.location.origin + window.location.pathname
5141
- }, L);
5113
+ }, G);
5142
5114
  },
5143
5115
  // Custom event mapping
5144
- enrichUserAttributes: l.enrichUserAttributes,
5116
+ enrichUserAttributes: u.enrichUserAttributes,
5145
5117
  // Pass scroll into with all events
5146
5118
  enrichEventMetrics: function() {
5147
5119
  return {};
5148
5120
  }
5149
5121
  }));
5150
- t = z.recordEvent, r = z.updateEndpoint, k && k.isNew && (p("Start brand new session because cookie not found"), t(Gt));
5151
- var F = 18e5, U = F;
5122
+ t = H.recordEvent, r = H.updateEndpoint, D && D.isNew && (p("Start brand new session because cookie not found"), t(Gt));
5123
+ var F = 18e5, V = F;
5152
5124
  eo({
5153
- timeout: U,
5125
+ timeout: V,
5154
5126
  throttle: 2e4,
5155
- onIdle: function($, W) {
5156
- p("Session idle. Active ".concat($, " seconds")), i();
5127
+ onIdle: function(y, A) {
5128
+ p("Session idle. Active ".concat(y, " seconds")), i();
5157
5129
  },
5158
- onWakeUp: function($, W) {
5159
- p("Session wakeup. Idle ".concat($, " seconds")), a();
5130
+ onWakeUp: function(y, A) {
5131
+ p("Session wakeup. Idle ".concat(y, " seconds")), a();
5160
5132
  },
5161
- onHeartbeat: function($, W) {
5162
- p("ping session", /* @__PURE__ */ new Date()), p("total active time", $);
5163
- var B = h.user();
5133
+ onHeartbeat: function(y, A) {
5134
+ p("ping session", /* @__PURE__ */ new Date()), p("total active time", y);
5135
+ var k = d.user();
5164
5136
  Is(30, {
5165
- anonId: B.anonymousId,
5166
- userId: B.userId
5137
+ anonId: k.anonymousId,
5138
+ userId: k.userId
5167
5139
  });
5168
5140
  }
5169
5141
  });
@@ -5171,30 +5143,30 @@ function Yo() {
5171
5143
  page: function(o) {
5172
5144
  if (o.payload, o.config, !t)
5173
5145
  return Pt();
5174
- n && zr(), t(qn), n = !0;
5146
+ n && Wr(), t(qn), n = !0;
5175
5147
  },
5176
5148
  /* Track event & update endpoint details */
5177
5149
  track: function(o) {
5178
- var l = o.payload, h = o.config;
5150
+ var u = o.payload, d = o.config;
5179
5151
  if (o.instance, !t)
5180
5152
  return Pt();
5181
- if (!(h.disableAnonymousTraffic && !l.userId)) {
5182
- var d = Ko(l.properties);
5183
- t(l.event, d);
5153
+ if (!(d.disableAnonymousTraffic && !u.userId)) {
5154
+ var l = Ko(u.properties);
5155
+ t(u.event, l);
5184
5156
  }
5185
5157
  },
5186
5158
  /* Update endpoint details */
5187
5159
  identify: function(o) {
5188
- var l = o.payload, h = l.userId, d = l.traits;
5160
+ var u = o.payload, d = u.userId, l = u.traits;
5189
5161
  if (!r)
5190
5162
  return Pt();
5191
- var m = {}, p = {};
5192
- h && (p.UserId = h), d && Object.keys(d).length && (p.UserAttributes = d), Object.keys(p).length && (m.User = p), r(m, !0);
5163
+ var h = {}, p = {};
5164
+ d && (p.UserId = d), l && Object.keys(l).length && (p.UserAttributes = l), Object.keys(p).length && (h.User = p), r(h, !0);
5193
5165
  },
5194
5166
  /* Reset user details */
5195
5167
  reset: function(o) {
5196
- var l = o.instance, h = l.user("anonymousId"), d = vt(h);
5197
- Cn(d);
5168
+ var u = o.instance, d = u.user("anonymousId"), l = vt(d);
5169
+ Cn(l);
5198
5170
  },
5199
5171
  loaded: function() {
5200
5172
  return !!t;
@@ -5238,8 +5210,8 @@ function ei(e) {
5238
5210
  let o;
5239
5211
  switch (s) {
5240
5212
  case "Array":
5241
- const l = (i = (n = a[0]) === null || n === void 0 ? void 0 : n.constructor) === null || i === void 0 ? void 0 : i.name;
5242
- o = l === "Array" ? a : l === "Object" ? JSON.stringify(a) : a.join(",");
5213
+ const u = (i = (n = a[0]) === null || n === void 0 ? void 0 : n.constructor) === null || i === void 0 ? void 0 : i.name;
5214
+ o = u === "Array" ? a : u === "Object" ? JSON.stringify(a) : a.join(",");
5243
5215
  break;
5244
5216
  case "Object":
5245
5217
  o = JSON.stringify(a);
@@ -5337,8 +5309,8 @@ class ri extends Pe {
5337
5309
  let n = 0;
5338
5310
  const i = (a, s) => {
5339
5311
  n = n + 1, t(this.url, this.options).then((o) => {
5340
- const l = Object.assign(Object.assign({}, this.options), { authentication: o });
5341
- return ni(this.url, l);
5312
+ const u = Object.assign(Object.assign({}, this.options), { authentication: o });
5313
+ return ni(this.url, u);
5342
5314
  }).then((o) => {
5343
5315
  a(o);
5344
5316
  }).catch((o) => {
@@ -5356,8 +5328,8 @@ function nu(e, t, r, n, i) {
5356
5328
  throw new Pe(a, s, e, t, n);
5357
5329
  }
5358
5330
  if (e.error) {
5359
- const { message: a, code: s, messageCode: o } = e.error, l = o || s || "UNKNOWN_ERROR_CODE";
5360
- throw s === 498 || s === 499 ? i || new ri(a, l, e, t, n) : new Pe(a, l, e, t, n);
5331
+ const { message: a, code: s, messageCode: o } = e.error, u = o || s || "UNKNOWN_ERROR_CODE";
5332
+ throw s === 498 || s === 499 ? i || new ri(a, u, e, t, n) : new Pe(a, u, e, t, n);
5361
5333
  }
5362
5334
  if (e.status === "failed" || e.status === "failure") {
5363
5335
  let a, s = "UNKNOWN_ERROR_CODE";
@@ -5376,70 +5348,70 @@ function ni(e, t) {
5376
5348
  headers: Object.assign(Object.assign({}, r.headers), t.headers)
5377
5349
  }), { httpMethod: i, rawResponse: a } = n, s = Object.assign({ f: "json" }, n.params);
5378
5350
  let o = null;
5379
- const l = {
5351
+ const u = {
5380
5352
  method: i,
5381
5353
  signal: n.signal,
5382
5354
  /* ensures behavior mimics XMLHttpRequest.
5383
5355
  needed to support sending IWA cookies */
5384
5356
  credentials: n.credentials || "same-origin"
5385
5357
  };
5386
- n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (l.credentials = "include");
5387
- let h;
5358
+ n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
5359
+ let d;
5388
5360
  if (typeof n.authentication == "string") {
5389
- const m = n.authentication;
5390
- h = {
5361
+ const h = n.authentication;
5362
+ d = {
5391
5363
  portal: "https://www.arcgis.com/sharing/rest",
5392
- getToken: () => Promise.resolve(m)
5364
+ getToken: () => Promise.resolve(h)
5393
5365
  }, !n.authentication.startsWith("AAPK") && !n.authentication.startsWith("AATK") && // doesn't look like an API Key
5394
5366
  !n.suppressWarnings && // user doesn't want to suppress warnings for this request
5395
5367
  !globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING && (Zo("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."), globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING = !0);
5396
5368
  } else
5397
- h = n.authentication;
5398
- const d = e;
5399
- return (h ? h.getToken(e).catch((m) => (m.url = e, m.options = n, o = m, Promise.resolve(""))) : Promise.resolve("")).then((m) => {
5400
- m.length && (s.token = m), h && h.getDomainCredentials && (l.credentials = h.getDomainCredentials(e));
5369
+ d = n.authentication;
5370
+ const l = e;
5371
+ return (d ? d.getToken(e).catch((h) => (h.url = e, h.options = n, o = h, Promise.resolve(""))) : Promise.resolve("")).then((h) => {
5372
+ h.length && (s.token = h), d && d.getDomainCredentials && (u.credentials = d.getDomainCredentials(e));
5401
5373
  const p = {};
5402
- if (l.method === "GET") {
5374
+ if (u.method === "GET") {
5403
5375
  s.token && n.hideToken && // Sharing API does not support preflight check required by modern browsers https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request
5404
5376
  typeof window > "u" && (p["X-Esri-Authorization"] = `Bearer ${s.token}`, delete s.token);
5405
- const T = Jt(s) === "" ? e : e + "?" + Jt(s);
5377
+ const j = Jt(s) === "" ? e : e + "?" + Jt(s);
5406
5378
  // This would exceed the maximum length for URLs specified by the consumer and requires POST
5407
- n.maxUrlLength && T.length > n.maxUrlLength || // Or if the customer requires the token to be hidden and it has not already been hidden in the header (for browsers)
5408
- s.token && n.hideToken ? (l.method = "POST", m.length && n.hideToken && (s.token = m, delete p["X-Esri-Authorization"])) : e = T;
5379
+ n.maxUrlLength && j.length > n.maxUrlLength || // Or if the customer requires the token to be hidden and it has not already been hidden in the header (for browsers)
5380
+ s.token && n.hideToken ? (u.method = "POST", h.length && n.hideToken && (s.token = h, delete p["X-Esri-Authorization"])) : e = j;
5409
5381
  }
5410
- const y = new RegExp("/items/.+/updateResources").test(e);
5411
- return l.method === "POST" && (l.body = Qo(s, y)), l.headers = Object.assign(Object.assign({}, p), n.headers), (typeof window > "u" || window && typeof window.document > "u") && !l.headers.referer && (l.headers.referer = tu), !Zn(s) && !y && (l.headers["Content-Type"] = "application/x-www-form-urlencoded"), globalThis.fetch ? globalThis.fetch(e, l) : eu().then(({ fetch: A }) => A(e, l));
5412
- }).then((m) => {
5413
- if (!m.ok)
5414
- return m.json().then((p) => {
5415
- const { status: y, statusText: A } = m, { message: T, details: O } = p.error, j = `${T}. ${O ? O.join(" ") : ""}`.trim();
5416
- throw new Pe(j, `HTTP ${y} ${A}`, p, e, n);
5382
+ const b = new RegExp("/items/.+/updateResources").test(e);
5383
+ return u.method === "POST" && (u.body = Qo(s, b)), u.headers = Object.assign(Object.assign({}, p), n.headers), (typeof window > "u" || window && typeof window.document > "u") && !u.headers.referer && (u.headers.referer = tu), !Zn(s) && !b && (u.headers["Content-Type"] = "application/x-www-form-urlencoded"), globalThis.fetch ? globalThis.fetch(e, u) : eu().then(({ fetch: S }) => S(e, u));
5384
+ }).then((h) => {
5385
+ if (!h.ok)
5386
+ return h.json().then((p) => {
5387
+ const { status: b, statusText: S } = h, { message: j, details: P } = p.error, N = `${j}. ${P ? P.join(" ") : ""}`.trim();
5388
+ throw new Pe(N, `HTTP ${b} ${S}`, p, e, n);
5417
5389
  }).catch((p) => {
5418
5390
  if (p.name === "ArcGISRequestError")
5419
5391
  throw p;
5420
- const { status: y, statusText: A } = m;
5421
- throw new Pe(A, `HTTP ${y}`, m, e, n);
5392
+ const { status: b, statusText: S } = h;
5393
+ throw new Pe(S, `HTTP ${b}`, h, e, n);
5422
5394
  });
5423
5395
  if (a)
5424
- return m;
5396
+ return h;
5425
5397
  switch (s.f) {
5426
5398
  case "json":
5427
- return m.json();
5399
+ return h.json();
5428
5400
  case "geojson":
5429
- return m.json();
5401
+ return h.json();
5430
5402
  case "html":
5431
- return m.text();
5403
+ return h.text();
5432
5404
  case "text":
5433
- return m.text();
5405
+ return h.text();
5434
5406
  default:
5435
- return m.blob();
5407
+ return h.blob();
5436
5408
  }
5437
- }).then((m) => {
5409
+ }).then((h) => {
5438
5410
  if ((s.f === "json" || s.f === "geojson") && !a) {
5439
- const p = nu(m, d, s, n, o);
5411
+ const p = nu(h, l, s, n, o);
5440
5412
  if (o) {
5441
- const y = e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];
5442
- n.authentication.federatedServers[y] = {
5413
+ const b = e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];
5414
+ n.authentication.federatedServers[b] = {
5443
5415
  token: [],
5444
5416
  // default to 24 hours
5445
5417
  expires: new Date(Date.now() + 86400 * 1e3)
@@ -5447,11 +5419,12 @@ function ni(e, t) {
5447
5419
  }
5448
5420
  return p;
5449
5421
  } else
5450
- return m;
5422
+ return h;
5451
5423
  });
5452
5424
  }
5453
5425
  function ii(e, t = { params: { f: "json" } }) {
5454
- return ni(e, t).catch((r) => r instanceof ri && t.authentication && typeof t.authentication != "string" && t.authentication.canRefresh && t.authentication.refreshCredentials ? r.retry(() => t.authentication.refreshCredentials(), 1) : Promise.reject(r));
5426
+ const { request: r } = t, n = Xt(t, ["request"]);
5427
+ return r ? r(e, n) : ni(e, n).catch((i) => i instanceof ri && t.authentication && typeof t.authentication != "string" && t.authentication.canRefresh && t.authentication.refreshCredentials ? i.retry(() => t.authentication.refreshCredentials(), 1) : Promise.reject(i));
5455
5428
  }
5456
5429
  function iu(e) {
5457
5430
  return typeof e != "string" || (e = e.trim(), e[e.length - 1] === "/" && (e = e.slice(0, -1))), e;
@@ -5491,12 +5464,12 @@ function lu(e, t, r) {
5491
5464
  async function fu({ id: e, authentication: t, username: r, accessChangeset: n }) {
5492
5465
  const { properties: i = {} } = await ai(e, {
5493
5466
  authentication: t
5494
- }), a = i.telemetry, s = a === void 0 ? {} : a, { arcgis: { access: o = {} } = {} } = s, l = un(s, ["arcgis"]), h = lu(r, o, n);
5467
+ }), a = i.telemetry, s = a === void 0 ? {} : a, { arcgis: { access: o = {} } = {} } = s, u = Xt(s, ["arcgis"]), d = lu(r, o, n);
5495
5468
  return uu({
5496
5469
  item: {
5497
5470
  id: e,
5498
- properties: Object.assign(Object.assign({}, i), { telemetry: Object.assign(Object.assign({}, l), { arcgis: {
5499
- access: Object.assign({}, h)
5471
+ properties: Object.assign(Object.assign({}, i), { telemetry: Object.assign(Object.assign({}, u), { arcgis: {
5472
+ access: Object.assign({}, d)
5500
5473
  } }) })
5501
5474
  },
5502
5475
  authentication: t
@@ -5582,54 +5555,21 @@ class gu extends ci {
5582
5555
  static {
5583
5556
  this.styles = hu;
5584
5557
  }
5585
- //--------------------------------------------------------------------------
5586
- //
5587
- // Watch handlers
5588
- //
5589
- //--------------------------------------------------------------------------
5590
- //--------------------------------------------------------------------------
5591
- //
5592
- // Methods (public)
5593
- //
5594
- //--------------------------------------------------------------------------
5595
- /** Initialize and return the telemetry instance if consent has been granted */
5596
5558
  async getInstance() {
5597
5559
  if (localStorage.getItem(this.firstUseVar) === "true" || this.portal?.eueiEnabled)
5598
5560
  return await this._init(), this._telemetryInstance;
5599
5561
  }
5600
- /**
5601
- * StencilJS: Called once just after the component is first connected to the DOM.
5602
- *
5603
- * @returns Promise when complete
5604
- */
5605
5562
  async load() {
5606
5563
  this._open = localStorage.getItem(this.firstUseVar) === null;
5607
5564
  }
5608
- /** Renders the component. */
5609
5565
  render() {
5610
5566
  return "";
5611
5567
  }
5612
- /**
5613
- * Called once after the component is loaded
5614
- *
5615
- * @returns Promise when complete
5616
- */
5617
5568
  loaded() {
5618
5569
  this.consentGranted.emit({
5619
5570
  granted: localStorage.getItem(this.firstUseVar) === "true"
5620
5571
  });
5621
5572
  }
5622
- //--------------------------------------------------------------------------
5623
- //
5624
- // Functions (protected)
5625
- //
5626
- //--------------------------------------------------------------------------
5627
- /**
5628
- * Fetches the component's translations
5629
- *
5630
- * @returns Promise when complete
5631
- * @protected
5632
- */
5633
5573
  async _init() {
5634
5574
  if (!this._loaded) {
5635
5575
  const t = {
@@ -5656,15 +5596,9 @@ class gu extends ci {
5656
5596
  this._telemetryInstance = new Ei(t), await this._telemetryInstance.init(), this._loaded = !0;
5657
5597
  }
5658
5598
  }
5659
- /** Set the open prop to false when the alert is closed */
5660
5599
  _alertClosed() {
5661
5600
  this._open = !1, localStorage.getItem(this.firstUseVar) !== "true" && localStorage.setItem(this.firstUseVar, "false");
5662
5601
  }
5663
- /**
5664
- * Store the users granting of consent
5665
- *
5666
- * @protected
5667
- */
5668
5602
  _accept() {
5669
5603
  localStorage.setItem(this.firstUseVar, "true"), this.consentGranted.emit({
5670
5604
  granted: !0