@esri/solutions-components 1.2.0-next.60 → 1.2.0-next.61

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 (440) hide show
  1. package/dist/cdn/{KS2TXTJB.js → 22HYHLHN.js} +1 -1
  2. package/dist/cdn/{64ZV5SC6.js → 253RNXBF.js} +2 -2
  3. package/dist/cdn/{RFWZ3BG4.js → 2BZFJQA6.js} +2 -2
  4. package/dist/cdn/{L6CDXESS.js → 2FCQYSQR.js} +2 -2
  5. package/dist/cdn/2H2732VO.js +4 -0
  6. package/dist/cdn/{2QT4FWZI.js → 2HGM3S4H.js} +2 -2
  7. package/dist/cdn/{JBY2LVLC.js → 2KUBOJR6.js} +2 -2
  8. package/dist/cdn/{RKIQ5DUF.js → 2KXBQAJW.js} +1 -1
  9. package/dist/cdn/{NX6CRTAS.js → 2OIIWDJB.js} +2 -2
  10. package/dist/cdn/{6GOVJOEP.js → 2P2YESFX.js} +1 -1
  11. package/dist/cdn/{UYBRDZJB.js → 2Q2UIIGY.js} +1 -1
  12. package/dist/cdn/{DHDV37FH.js → 2TJRLAO6.js} +2 -2
  13. package/dist/cdn/{VGEFJTQ7.js → 2VC52E6A.js} +2 -2
  14. package/dist/cdn/{YKML7M7J.js → 2VREYY62.js} +2 -2
  15. package/dist/cdn/{APPQU75R.js → 2XWNFKLG.js} +2 -2
  16. package/dist/cdn/{3UZFYGDX.js → 33ZIAGPE.js} +2 -2
  17. package/dist/cdn/{6HTNO2RE.js → 35CUREMH.js} +2 -2
  18. package/dist/cdn/{NMTVBRAS.js → 3D5J3QUN.js} +2 -2
  19. package/dist/cdn/{TUKEY4JX.js → 3F27MINM.js} +2 -2
  20. package/dist/cdn/{RLCYPEXM.js → 3MHKWSCC.js} +1 -1
  21. package/dist/cdn/{7AEU6P43.js → 3NINBJYJ.js} +2 -2
  22. package/dist/cdn/{4B2V45V5.js → 3UYOYGTS.js} +2 -2
  23. package/dist/cdn/{WX2RTJ3T.js → 3V3ARU4S.js} +1 -1
  24. package/dist/cdn/{CNEHMBZW.js → 3VKMKDDC.js} +1 -1
  25. package/dist/cdn/{GRW5JAFG.js → 4B42RCTX.js} +2 -2
  26. package/dist/cdn/{CTCPMABN.js → 4BPWBJER.js} +2 -2
  27. package/dist/cdn/{WFPKRTD3.js → 4CHUCN2Z.js} +2 -2
  28. package/dist/cdn/{2CJ5ETBI.js → 4CO4QKQV.js} +2 -2
  29. package/dist/cdn/{5CXNGEOT.js → 4JMYQZGR.js} +2 -2
  30. package/dist/cdn/{AXSGVQ6P.js → 4MQ7CZCO.js} +2 -2
  31. package/dist/cdn/{NTTL23B5.js → 4MRVUTHZ.js} +2 -2
  32. package/dist/cdn/{2WAKVF6V.js → 4RJSBWD3.js} +2 -2
  33. package/dist/cdn/{NKNXRQAV.js → 4RSHHJ4Y.js} +2 -2
  34. package/dist/cdn/{LDWBOY5O.js → 4U5HZVBY.js} +2 -2
  35. package/dist/cdn/52TXKGYV.js +4 -0
  36. package/dist/cdn/{P5F6E4BB.js → 53QFE7JQ.js} +2 -2
  37. package/dist/cdn/{MGTGTJF2.js → 5AEHA2S7.js} +2 -2
  38. package/dist/cdn/{GDA44E5L.js → 5EWASS5Y.js} +2 -2
  39. package/dist/cdn/{TIVFVKSV.js → 5IW2AA7A.js} +2 -2
  40. package/dist/cdn/{E6VAH377.js → 5JBKNTRM.js} +2 -2
  41. package/dist/cdn/{CKNI5JQZ.js → 5NLTO3PR.js} +2 -2
  42. package/dist/cdn/{JXNGGIST.js → 5OOZELYI.js} +2 -2
  43. package/dist/cdn/{JHF5JR4C.js → 5TCTFJWQ.js} +2 -2
  44. package/dist/cdn/{YKSQ7TEX.js → 5ZXC6E3E.js} +2 -2
  45. package/dist/cdn/{FSB6TM6Q.js → 62TZFM26.js} +2 -2
  46. package/dist/cdn/{ZMOPA7LL.js → 65Q2WFD6.js} +2 -2
  47. package/dist/cdn/{5KBG56UB.js → 67W5QUHZ.js} +2 -2
  48. package/dist/cdn/{VI6A3Y4V.js → 6GBG5NTN.js} +2 -2
  49. package/dist/cdn/{QU5W75PN.js → 6KSUL7MO.js} +2 -2
  50. package/dist/cdn/{WFIOSSYN.js → 6LEKXV2O.js} +2 -2
  51. package/dist/cdn/{J6VXDYLB.js → 6MABMJPE.js} +1 -1
  52. package/dist/cdn/{VLJVPFSV.js → 6MFGJWPB.js} +2 -2
  53. package/dist/cdn/{ERDVBBRX.js → 6OG7ILZC.js} +2 -2
  54. package/dist/cdn/{ENLS3ON7.js → 6OK4QGOG.js} +2 -2
  55. package/dist/cdn/{G72TLXN2.js → 6PGQ7UDC.js} +2 -2
  56. package/dist/cdn/{I2GKR2VA.js → 72SOLDRJ.js} +2 -2
  57. package/dist/cdn/{7WO57UW7.js → 72XFODRX.js} +2 -2
  58. package/dist/cdn/{5TEHU4A3.js → 74MUDU3T.js} +2 -2
  59. package/dist/cdn/77APG7U3.js +4 -0
  60. package/dist/cdn/77VSL2LU.js +4 -0
  61. package/dist/cdn/{HWMTN5ZA.js → 7F6WLIL6.js} +2 -2
  62. package/dist/cdn/{DAU34542.js → 7FBZLDTR.js} +2 -2
  63. package/dist/cdn/{OAIWU3G2.js → 7QIYL4NV.js} +2 -2
  64. package/dist/cdn/{V5T2QK5Z.js → 7S7C334Z.js} +3 -3
  65. package/dist/cdn/{7FQXWGOC.js → 7XBFX5YB.js} +2 -2
  66. package/dist/cdn/{BMUBVYWB.js → 7ZJKMLGT.js} +2 -2
  67. package/dist/cdn/{YIXNCAFO.js → AACZXF33.js} +2 -2
  68. package/dist/cdn/{VDIJAOXE.js → ABEP4JVD.js} +2 -2
  69. package/dist/cdn/{6BYDV3EW.js → AC6U7VHK.js} +2 -2
  70. package/dist/cdn/AMF5XX36.js +4 -0
  71. package/dist/cdn/{2LQ6UZTT.js → AMGDTZAY.js} +2 -2
  72. package/dist/cdn/{JPLACREE.js → AMNGDLOS.js} +2 -2
  73. package/dist/cdn/{KAJZSBBY.js → AOGB6RX7.js} +2 -2
  74. package/dist/cdn/{NOGPPLBH.js → ASMCIIQQ.js} +2 -2
  75. package/dist/cdn/{N2EZQGSH.js → BCQENLR7.js} +2 -2
  76. package/dist/cdn/{IIWGQLYN.js → BHUYCAVR.js} +2 -2
  77. package/dist/cdn/{CJZPJFAS.js → BOV6NXRD.js} +2 -2
  78. package/dist/cdn/{VXR2PQEH.js → BOWNLLRC.js} +2 -2
  79. package/dist/cdn/{L5QIQ6XB.js → BPGYGOGE.js} +2 -2
  80. package/dist/cdn/{65VZKYXC.js → BTKJFFR4.js} +2 -2
  81. package/dist/cdn/{AHRD7AGX.js → BTNDZYSA.js} +2 -2
  82. package/dist/cdn/{HFOH5YAJ.js → BYDTC7F2.js} +2 -2
  83. package/dist/cdn/{BJ7ITM4Z.js → C3ZPPW4E.js} +2 -2
  84. package/dist/cdn/C74MDPRK.js +4 -0
  85. package/dist/cdn/{MC5TSFO6.js → CBOKEM2G.js} +2 -2
  86. package/dist/cdn/{4MFPZMLB.js → CEBTYHFA.js} +1 -1
  87. package/dist/cdn/{5MFTYGYS.js → CGLEKTNI.js} +2 -2
  88. package/dist/cdn/CUBR3FSN.js +4 -0
  89. package/dist/cdn/{A3HBTAZT.js → CUYQTJFU.js} +2 -2
  90. package/dist/cdn/{UNXHL3PD.js → CXYLIV2Q.js} +2 -2
  91. package/dist/cdn/{VYKWK2BX.js → DAHW5CIV.js} +2 -2
  92. package/dist/cdn/{CLGO7JPJ.js → DJWFUXLO.js} +2 -2
  93. package/dist/cdn/DLPM4D5F.js +4 -0
  94. package/dist/cdn/{V6P7MNAU.js → DOZS4G2O.js} +2 -2
  95. package/dist/cdn/{3X5566EC.js → DQKUJ4FE.js} +2 -2
  96. package/dist/cdn/{WEOL6RSK.js → DUNAQGU2.js} +2 -2
  97. package/dist/cdn/{DCZYU4L6.js → DWLP7FVH.js} +2 -2
  98. package/dist/cdn/{DHZ5UA72.js → DYI3P36O.js} +1 -1
  99. package/dist/cdn/{RODDEQZP.js → E2CGQDSH.js} +2 -2
  100. package/dist/cdn/{JQQORYBM.js → E5KFUJOK.js} +2 -2
  101. package/dist/cdn/{JJ7ZGFCV.js → E655IBST.js} +2 -2
  102. package/dist/cdn/{ILEKKEKK.js → EC3ZB4EV.js} +2 -2
  103. package/dist/cdn/{I5XRY7QD.js → EC446DZP.js} +2 -2
  104. package/dist/cdn/{K6NKAZBD.js → EHYJGYQT.js} +1 -1
  105. package/dist/cdn/{PWZXYVX5.js → EJBHWF54.js} +1 -1
  106. package/dist/cdn/{7ZR4MPQZ.js → EJOQBJEG.js} +2 -2
  107. package/dist/cdn/EZOYFPK5.js +4 -0
  108. package/dist/cdn/{AOTAJDNP.js → F2DO4TJL.js} +2 -2
  109. package/dist/cdn/{VKEAIQ7W.js → F2GOV2LM.js} +2 -2
  110. package/dist/cdn/{NF7C27BU.js → F3UOUFRO.js} +2 -2
  111. package/dist/cdn/{HIWCPXI4.js → FCETVVUT.js} +2 -2
  112. package/dist/cdn/{N3WXY7EJ.js → FFJAKABB.js} +2 -2
  113. package/dist/cdn/{UTJOHATU.js → FFW3O2HK.js} +2 -2
  114. package/dist/cdn/{4XUHKCM3.js → FGBI6PLB.js} +2 -2
  115. package/dist/cdn/{DHWSNW5P.js → FIMVJEAW.js} +2 -2
  116. package/dist/cdn/{FNJ2SV5I.js → FN4EUS3M.js} +2 -2
  117. package/dist/cdn/{4N5CTUVM.js → FOJIKFHL.js} +2 -2
  118. package/dist/cdn/{T7D3VOZH.js → FOUBW7TI.js} +1 -1
  119. package/dist/cdn/{M7RJNNBQ.js → FOYHZHWB.js} +2 -2
  120. package/dist/cdn/{6ZX35J5Z.js → FQ6ADWV5.js} +2 -2
  121. package/dist/cdn/{APHETGJW.js → FRIROEJG.js} +2 -2
  122. package/dist/cdn/{RVQYDMMJ.js → FRKMUBQW.js} +1 -1
  123. package/dist/cdn/{HMCZQXAN.js → G275NPKZ.js} +2 -2
  124. package/dist/cdn/{6FVZXZD6.js → G5RSCNV7.js} +2 -2
  125. package/dist/cdn/G6ZWDEQU.js +4 -0
  126. package/dist/cdn/{SHP3U3JY.js → GAOKI2BY.js} +2 -2
  127. package/dist/cdn/{5CEVZOKP.js → GI6HTTYJ.js} +2 -2
  128. package/dist/cdn/{FT22BE2Q.js → GP6DK5OL.js} +2 -2
  129. package/dist/cdn/{UCYKJ3G4.js → GPG4VHYE.js} +2 -2
  130. package/dist/cdn/{BURTSBUG.js → GUBWX2WB.js} +2 -2
  131. package/dist/cdn/{54ED5CXQ.js → GUVTOQ5L.js} +2 -2
  132. package/dist/cdn/{FTRTGXW7.js → GVFIYM23.js} +2 -2
  133. package/dist/cdn/{JOMW3W6X.js → GY3AMW7G.js} +2 -2
  134. package/dist/cdn/{IKCE3HR4.js → H72745YU.js} +2 -2
  135. package/dist/cdn/{M3KP4ULO.js → HAP67XTT.js} +2 -2
  136. package/dist/cdn/{EJK6FW2Z.js → HAZAWSKY.js} +1 -1
  137. package/dist/cdn/{7UAODYVA.js → HF4QD63I.js} +2 -2
  138. package/dist/cdn/{ARJYRYDO.js → HHJZ4HZ6.js} +2 -2
  139. package/dist/cdn/{WIX6R4XI.js → HJY4KM2B.js} +2 -2
  140. package/dist/cdn/{2KLTC6O5.js → HKC4DOUE.js} +2 -2
  141. package/dist/cdn/{GK66FWMX.js → HKY5DY62.js} +2 -2
  142. package/dist/cdn/{AU6YGJUT.js → HLU4ZUSE.js} +2 -2
  143. package/dist/cdn/{LUGOSNDF.js → HQBUH6CP.js} +2 -2
  144. package/dist/cdn/{K6F7LOXC.js → HRAGHKCQ.js} +2 -2
  145. package/dist/cdn/{ZP32JPRG.js → HRISF5DG.js} +2 -2
  146. package/dist/cdn/{JISBULOQ.js → I2XGORZH.js} +2 -2
  147. package/dist/cdn/{U5Y5C2T7.js → I5ICGT74.js} +2 -2
  148. package/dist/cdn/{FOKCZWOQ.js → I7PHK7YM.js} +2 -2
  149. package/dist/cdn/{77X5GFH7.js → IC4NXYTR.js} +2 -2
  150. package/dist/cdn/{FC4NR45A.js → IDUQIZKF.js} +2 -2
  151. package/dist/cdn/{WUZDDPQU.js → IJZIMEUA.js} +2 -2
  152. package/dist/cdn/{KU7YFFLU.js → IOAOXSTZ.js} +2 -2
  153. package/dist/cdn/{W62W3LOA.js → IOEQU6RW.js} +2 -2
  154. package/dist/cdn/{DSMKW3R5.js → IOSETLM7.js} +2 -2
  155. package/dist/cdn/{F2O4WKM6.js → IUBHGF2N.js} +1 -1
  156. package/dist/cdn/{JJKBP6VP.js → IVWWMUTU.js} +2 -2
  157. package/dist/cdn/{OB4IBA7J.js → IXQOFTAB.js} +2 -2
  158. package/dist/cdn/{N2ZLUG26.js → IYA6MXY3.js} +2 -2
  159. package/dist/cdn/{YVDXF4UB.js → J3PAYUNS.js} +2 -2
  160. package/dist/cdn/{AXNUZSJ6.js → J6NCWDHN.js} +2 -2
  161. package/dist/cdn/{D4HJALUO.js → JE5LYMSR.js} +2 -2
  162. package/dist/cdn/{D7E2HKRL.js → JJWGVOLU.js} +2 -2
  163. package/dist/cdn/{66RDTM4T.js → JOGLCI7L.js} +2 -2
  164. package/dist/cdn/{NJN5EPQ4.js → JTUKW55P.js} +2 -2
  165. package/dist/cdn/{TEDF2YLW.js → JV6V3HHU.js} +2 -2
  166. package/dist/cdn/{6CNOIOZQ.js → JW6FCTL4.js} +2 -2
  167. package/dist/cdn/{BTLCSZS6.js → JXV6VWAC.js} +2 -2
  168. package/dist/cdn/{ERJ7WRMG.js → JZVTSNGA.js} +2 -2
  169. package/dist/cdn/{VBXJSOCP.js → K3WLDI57.js} +2 -2
  170. package/dist/cdn/{H6QRA25K.js → K4EMRK2P.js} +2 -2
  171. package/dist/cdn/{TBX5YM7Y.js → KEWPVUIZ.js} +2 -2
  172. package/dist/cdn/{CZ7OZ7WB.js → KFYIXGQ4.js} +2 -2
  173. package/dist/cdn/{7IB6W2XU.js → KGY42XQ4.js} +2 -2
  174. package/dist/cdn/{ZEOSRRT3.js → KK2KCKMU.js} +2 -2
  175. package/dist/cdn/{K5GHIYOF.js → KKGQAK4H.js} +2 -2
  176. package/dist/cdn/{C32KHGLO.js → KKLCJ7G6.js} +2 -2
  177. package/dist/cdn/{N6VW2C5V.js → KMGP5TOD.js} +2 -2
  178. package/dist/cdn/{CTMUKS54.js → KRMTXV6V.js} +2 -2
  179. package/dist/cdn/{SBSDLWOC.js → KVYBYT6S.js} +2 -2
  180. package/dist/cdn/KZHJDYWQ.js +4 -0
  181. package/dist/cdn/{NIX6S7F4.js → L2PXDXZ3.js} +2 -2
  182. package/dist/cdn/{GONKLRTB.js → L3CVI6KC.js} +2 -2
  183. package/dist/cdn/{6AY42FOZ.js → LF44LBHN.js} +2 -2
  184. package/dist/cdn/{H4MLUVTV.js → LJ2SBS2G.js} +2 -2
  185. package/dist/cdn/{T2KFMS3E.js → LK7INEHZ.js} +2 -2
  186. package/dist/cdn/{6N5NPFCF.js → LL2DC5FJ.js} +1 -1
  187. package/dist/cdn/{3MXNBCEX.js → LLMVZTU7.js} +2 -2
  188. package/dist/cdn/LRDQVHWW.js +4 -0
  189. package/dist/cdn/{YLWCZLWX.js → LSJPBG7F.js} +2 -2
  190. package/dist/cdn/{7AH7N5XT.js → LSJUMURC.js} +2 -2
  191. package/dist/cdn/{2EZ2T3HV.js → LVSUN7XL.js} +2 -2
  192. package/dist/cdn/{JQKYSOGE.js → LXHG5NDC.js} +1 -1
  193. package/dist/cdn/{22GH5WFX.js → M3ONDW4E.js} +2 -2
  194. package/dist/cdn/{ZCVLEFOZ.js → M5PBCFVC.js} +2 -2
  195. package/dist/cdn/{RFUX4G37.js → M5ZKBFJG.js} +2 -2
  196. package/dist/cdn/{BGAY3YMT.js → M7AB2AFS.js} +2 -2
  197. package/dist/cdn/{TGDEP6QV.js → MDXURHIQ.js} +2 -2
  198. package/dist/cdn/{TBBACRUK.js → MFAJRJR3.js} +1 -1
  199. package/dist/cdn/MFNDNTOQ.js +4 -0
  200. package/dist/cdn/{A6EVVFF5.js → MIARN2ON.js} +1 -1
  201. package/dist/cdn/{N3W52TLJ.js → MSTVHU7I.js} +2 -2
  202. package/dist/cdn/{LC53SJ67.js → MUUINRCV.js} +2 -2
  203. package/dist/cdn/{PKVTULHS.js → MVZ36ZHD.js} +2 -2
  204. package/dist/cdn/{YUD3M45U.js → N2SUT7FJ.js} +2 -2
  205. package/dist/cdn/{NRH5UT5G.js → N4UPS6UJ.js} +2 -2
  206. package/dist/cdn/{SADSRCE6.js → N7VLWHNA.js} +2 -2
  207. package/dist/cdn/{45S22WSU.js → N7Z27NQM.js} +2 -2
  208. package/dist/cdn/{OSUCA7CY.js → NLQYJY3Y.js} +1 -1
  209. package/dist/cdn/{4ZUI33B3.js → NQFZ7BDB.js} +2 -2
  210. package/dist/cdn/{35CB3CIG.js → NTPTDDMB.js} +2 -2
  211. package/dist/cdn/{VJTZDKH6.js → NVSFHLTL.js} +2 -2
  212. package/dist/cdn/{GDCPRSCH.js → NX7Z5SDJ.js} +2 -2
  213. package/dist/cdn/{T2GOSVXE.js → O2BPA4V7.js} +1 -1
  214. package/dist/cdn/{TMAKLZXE.js → O3PPPBNQ.js} +2 -2
  215. package/dist/cdn/{TPC7NEBD.js → O4MIVQW2.js} +2 -2
  216. package/dist/cdn/{JCODPNFL.js → OAYNPATX.js} +2 -2
  217. package/dist/cdn/{XO3YBGIL.js → OEIXFB5S.js} +2 -2
  218. package/dist/cdn/{PLGFKWRR.js → OXHUFOLR.js} +2 -2
  219. package/dist/cdn/{ZGSIGKHE.js → OY6L3W2Y.js} +2 -2
  220. package/dist/cdn/{24IN4UPG.js → P4I7E7PJ.js} +2 -2
  221. package/dist/cdn/{WYHW2ASX.js → P4RFQ7SQ.js} +2 -2
  222. package/dist/cdn/{N5V5PPBQ.js → P5SP66TM.js} +2 -2
  223. package/dist/cdn/{RPRDW34S.js → P6W2BHCC.js} +2 -2
  224. package/dist/cdn/{6AE27ENC.js → PAWHH43E.js} +2 -2
  225. package/dist/cdn/{YPOFETNV.js → PB54RSUS.js} +2 -2
  226. package/dist/cdn/{UK7HJV5Q.js → PFYTP7QM.js} +2 -2
  227. package/dist/cdn/PHS66743.js +4 -0
  228. package/dist/cdn/{NK5C67VR.js → PJK2OHT3.js} +1 -1
  229. package/dist/cdn/{AR6I4F7I.js → PKGSI55Q.js} +2 -2
  230. package/dist/cdn/{HYKFAUBN.js → PNA5TAPP.js} +2 -2
  231. package/dist/cdn/{EGAV5W7I.js → PPDXHEPT.js} +2 -2
  232. package/dist/cdn/{K7YP5PDD.js → PRASXEUN.js} +2 -2
  233. package/dist/cdn/{2IAKNCRC.js → PSPTZCWK.js} +2 -2
  234. package/dist/cdn/{JP6UDOIU.js → Q4HNTDMI.js} +2 -2
  235. package/dist/cdn/{KXCASIUR.js → QBFLPL3H.js} +1 -1
  236. package/dist/cdn/{AURJV7BW.js → QCHTYOMH.js} +2 -2
  237. package/dist/cdn/{VJ2T3Q32.js → QI6JRQAM.js} +2 -2
  238. package/dist/cdn/{NRA2XWTH.js → QJ6VS55N.js} +2 -2
  239. package/dist/cdn/{WQZZSYO5.js → QK32UHKA.js} +1 -1
  240. package/dist/cdn/{X6UQRYBW.js → QM6NH6VR.js} +2 -2
  241. package/dist/cdn/{CBEROJ4E.js → QRGOX3X3.js} +2 -2
  242. package/dist/cdn/{YRJBKF6C.js → QRTITFJW.js} +2 -2
  243. package/dist/cdn/{YCKVHLNK.js → QSCOANTT.js} +2 -2
  244. package/dist/cdn/{NLVAFEJX.js → QXN2LHOP.js} +2 -2
  245. package/dist/cdn/{VIHFAHTC.js → QXR4PIXQ.js} +2 -2
  246. package/dist/cdn/{QVQG7XLV.js → QZUDTUL4.js} +2 -2
  247. package/dist/cdn/{CQ3N5OAF.js → R3KCYH5W.js} +2 -2
  248. package/dist/cdn/{W6LHCK7P.js → R5G5UBJR.js} +2 -2
  249. package/dist/cdn/{C5IIHI76.js → RD423PZS.js} +2 -2
  250. package/dist/cdn/{UM5VAPJJ.js → RD6JTK3X.js} +2 -2
  251. package/dist/cdn/{E6ZJGJIL.js → RGNMACS5.js} +2 -2
  252. package/dist/cdn/{DVPHVSDL.js → RZBDTEMW.js} +2 -2
  253. package/dist/cdn/{ZQGM6XZT.js → S47HFMCK.js} +2 -2
  254. package/dist/cdn/{C4C7KF52.js → S56TUI7H.js} +1 -1
  255. package/dist/cdn/{ZIBWJVYK.js → S63HTRIQ.js} +2 -2
  256. package/dist/cdn/{4KFYFEVG.js → S732ZTVO.js} +2 -2
  257. package/dist/cdn/{7MHE37ND.js → SBN2L5NX.js} +2 -2
  258. package/dist/cdn/SDXPFMHE.js +4 -0
  259. package/dist/cdn/{PTDYPOBH.js → SN5WNNQ5.js} +2 -2
  260. package/dist/cdn/{HEW7XMPJ.js → SPAE66AK.js} +2 -2
  261. package/dist/cdn/{542KFAVB.js → SUOVHYZB.js} +2 -2
  262. package/dist/cdn/{O5PY3MEI.js → SVBXPTEC.js} +2 -2
  263. package/dist/cdn/{6YX67STC.js → SW6HTS4W.js} +2 -2
  264. package/dist/cdn/{BXPMHWOX.js → SWVL5I4H.js} +2 -2
  265. package/dist/cdn/SYGJWWZP.js +4 -0
  266. package/dist/cdn/{4KDH67ME.js → SZT2IBTM.js} +1 -1
  267. package/dist/cdn/{55BTIKND.js → T5DWKLEN.js} +2 -2
  268. package/dist/cdn/{EDH5P6Q7.js → T5LGXZ6I.js} +2 -2
  269. package/dist/cdn/{GXHJQQCL.js → T7MHQ327.js} +2 -2
  270. package/dist/cdn/{I2ZUPDGL.js → TB7KH2C7.js} +2 -2
  271. package/dist/cdn/{JUN72POY.js → TEDBS3IP.js} +2 -2
  272. package/dist/cdn/{G6LTOZJF.js → TEMZGRBD.js} +2 -2
  273. package/dist/cdn/{XZQZZC3C.js → TJ3BCTHU.js} +1 -1
  274. package/dist/cdn/{FYBSJAMQ.js → TPWZ5VSB.js} +2 -2
  275. package/dist/cdn/{4B45SS3L.js → TTMLJD3R.js} +2 -2
  276. package/dist/cdn/{CNDUM26C.js → TXXIYMC6.js} +2 -2
  277. package/dist/cdn/{C2RIOHYE.js → TZHHGOBK.js} +2 -2
  278. package/dist/cdn/{YHKV4IMA.js → U2IPPMM4.js} +2 -2
  279. package/dist/cdn/{3C7EEW26.js → UAFG6I6N.js} +2 -2
  280. package/dist/cdn/{O7AV7GPK.js → UGCYPIG3.js} +2 -2
  281. package/dist/cdn/{4VJV22PL.js → UGNCB4PA.js} +2 -2
  282. package/dist/cdn/{5UHH33AX.js → UHC2PSZO.js} +2 -2
  283. package/dist/cdn/{M4JSPVOB.js → UHS75MT5.js} +2 -2
  284. package/dist/cdn/{GORSVRD2.js → UI4YSFA3.js} +2 -2
  285. package/dist/cdn/{QZHTC427.js → UI74ZNTQ.js} +2 -2
  286. package/dist/cdn/{S2GLQ7ZY.js → UTSPKJHP.js} +1 -1
  287. package/dist/cdn/{QMT2B3M5.js → UVQX5FMQ.js} +2 -2
  288. package/dist/cdn/{JNZZAE7R.js → UYHXKTBT.js} +2 -2
  289. package/dist/cdn/{FRISKWYY.js → UYYTMD45.js} +2 -2
  290. package/dist/cdn/{GUFWLMXD.js → V3ILHNQJ.js} +2 -2
  291. package/dist/cdn/{CTLSDIIG.js → V63MM3HQ.js} +2 -2
  292. package/dist/cdn/{LHRZ7IBA.js → VADP3QUO.js} +4 -4
  293. package/dist/cdn/VBIROJO3.js +4 -0
  294. package/dist/cdn/{EUGPRFL4.js → VFPLAMGY.js} +2 -2
  295. package/dist/cdn/{WCFSF7A6.js → VQSSXCIB.js} +2 -2
  296. package/dist/cdn/{OXWGYPXL.js → VT6KVQP2.js} +2 -2
  297. package/dist/cdn/{6JWWLPWA.js → VZEXIREU.js} +2 -2
  298. package/dist/cdn/{VAAKEDW6.js → VZO4FNSJ.js} +2 -2
  299. package/dist/cdn/{6KLBYZFM.js → W3S4KP2W.js} +1 -1
  300. package/dist/cdn/{RYTV4M2W.js → W4AED5XB.js} +2 -2
  301. package/dist/cdn/{WE6UE3KJ.js → WCFBD5RR.js} +2 -2
  302. package/dist/cdn/{TZLKWPKE.js → WOP4PDSB.js} +1 -1
  303. package/dist/cdn/{25S4YYPR.js → WOV556RO.js} +1 -1
  304. package/dist/cdn/{46UPVPEV.js → WTKMR5UY.js} +1 -1
  305. package/dist/cdn/WW3ZPCO5.js +4 -0
  306. package/dist/cdn/{NY4MAF55.js → X32XVTAA.js} +2 -2
  307. package/dist/cdn/{MJOCAQYG.js → X3DGKM76.js} +2 -2
  308. package/dist/cdn/{ZWBLEX27.js → XILQXDEB.js} +1 -1
  309. package/dist/cdn/{E5D2NJVY.js → XJN5V4KW.js} +2 -2
  310. package/dist/cdn/{CFTL75CW.js → XLHDG4FM.js} +2 -2
  311. package/dist/cdn/{5O4YCDNG.js → XNIWSIVJ.js} +2 -2
  312. package/dist/cdn/{VTTSGBR5.js → XRVUVLK7.js} +1 -1
  313. package/dist/cdn/{HOZY6EI4.js → XTTVLQHV.js} +2 -2
  314. package/dist/cdn/{JQW2KPJK.js → Y3HJDMXS.js} +2 -2
  315. package/dist/cdn/{IJ245FDS.js → Y5Z6SQWV.js} +2 -2
  316. package/dist/cdn/{3S7MAI7H.js → Y6KQQXHW.js} +2 -2
  317. package/dist/cdn/{5A33WQAT.js → YA7YZCDB.js} +2 -2
  318. package/dist/cdn/{RJ4NCL2V.js → YAIF3EAU.js} +2 -2
  319. package/dist/cdn/{ZKK5CT2Y.js → YEPUWT4K.js} +2 -2
  320. package/dist/cdn/{4WNXJSEW.js → YIL2K7VK.js} +2 -2
  321. package/dist/cdn/YIZ7FHBE.js +4 -0
  322. package/dist/cdn/{KQJ5NCH6.js → YJIB4Y3F.js} +2 -2
  323. package/dist/cdn/{NJDA4LPT.js → YRXDCRD5.js} +2 -2
  324. package/dist/cdn/{NCOWGV7K.js → YUH4EAMP.js} +2 -2
  325. package/dist/cdn/{NVQ6TXGS.js → YWFNYLHW.js} +2 -2
  326. package/dist/cdn/{5BILAT4P.js → YXOC3RVO.js} +2 -2
  327. package/dist/cdn/YYLKFRM5.js +4 -0
  328. package/dist/cdn/{RF3JRSKX.js → Z2TSSAC6.js} +2 -2
  329. package/dist/cdn/{B72I6V6F.js → Z5FJEEOQ.js} +2 -2
  330. package/dist/cdn/{OBI4A4AA.js → Z6SV4EJB.js} +1 -1
  331. package/dist/cdn/{QGEJHDKV.js → ZA4WM6SU.js} +2 -2
  332. package/dist/cdn/{JTMPBZCY.js → ZFU6EH5A.js} +2 -2
  333. package/dist/cdn/{ZLSRPXWT.js → ZOSVEKXW.js} +1 -1
  334. package/dist/cdn/{NRD46FCK.js → ZWFGE4SE.js} +2 -2
  335. package/dist/cdn/index.js +2 -2
  336. package/dist/chunks/Auth.js +1 -2
  337. package/dist/chunks/Auth.js.map +1 -1
  338. package/dist/chunks/appConfig.js +1 -1
  339. package/dist/chunks/cardFetchingUtils.js +1 -1
  340. package/dist/chunks/cardsHelpers.js +1 -1
  341. package/dist/chunks/common.js +1 -1
  342. package/dist/chunks/deployAppContexts.js +1 -1
  343. package/dist/chunks/downloadUtils.js +1 -1
  344. package/dist/chunks/getItemIcon.js +1 -1
  345. package/dist/chunks/helpers.js +1 -1
  346. package/dist/chunks/interfaces.js +1 -1
  347. package/dist/chunks/mapViewUtils.js +1 -1
  348. package/dist/chunks/pciUtils.js +1 -1
  349. package/dist/chunks/popupUtils.js +1 -1
  350. package/dist/chunks/publicNotificationContext.js +1 -1
  351. package/dist/chunks/queryUtils.js +1 -1
  352. package/dist/chunks/runtime.js +1 -1
  353. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  354. package/dist/chunks/useT9n.js +1 -1
  355. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  356. package/dist/components/buffer-tools/customElement.js +1 -1
  357. package/dist/components/card-manager/customElement.js +1 -1
  358. package/dist/components/consent-manager/customElement.js +1 -1
  359. package/dist/components/create-feature/customElement.js +1 -1
  360. package/dist/components/create-related-feature/customElement.js +1 -1
  361. package/dist/components/crowdsource-manager/customElement.js +1 -1
  362. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  363. package/dist/components/deduct-calculator/customElement.js +1 -1
  364. package/dist/components/delete-button/customElement.js +1 -1
  365. package/dist/components/delete-dialog/customElement.js +1 -1
  366. package/dist/components/edit-card/customElement.js +1 -1
  367. package/dist/components/feature-details/customElement.js +1 -1
  368. package/dist/components/feature-list/customElement.js +1 -1
  369. package/dist/components/field-selection/customElement.js +1 -1
  370. package/dist/components/info-card/customElement.js +1 -1
  371. package/dist/components/layer-list/customElement.js +1 -1
  372. package/dist/components/layer-table/customElement.js +1 -1
  373. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  374. package/dist/components/map-card/customElement.js +1 -1
  375. package/dist/components/map-draw-tools/customElement.js +1 -1
  376. package/dist/components/map-floor-filter/customElement.js +1 -1
  377. package/dist/components/map-fullscreen/customElement.js +1 -1
  378. package/dist/components/map-layer-picker/customElement.js +1 -1
  379. package/dist/components/map-legend/customElement.js +1 -1
  380. package/dist/components/map-picker/customElement.js +1 -1
  381. package/dist/components/map-search/customElement.js +1 -1
  382. package/dist/components/map-select-tools/customElement.js +1 -1
  383. package/dist/components/map-tools/customElement.js +1 -1
  384. package/dist/components/pci-calculator/customElement.js +1 -1
  385. package/dist/components/pdf-download/customElement.js +1 -1
  386. package/dist/components/public-notification/customElement.js +1 -1
  387. package/dist/components/refine-selection/customElement.js +1 -1
  388. package/dist/components/selection-tool/customElement.js +1 -1
  389. package/dist/components/solution-configure-titles/customElement.js +1 -1
  390. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  391. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deployed-card/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  394. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  395. package/dist/components/solution-details-card/customElement.js +1 -1
  396. package/dist/components/solution-details-panel/customElement.js +1 -1
  397. package/dist/components/solution-item-accordion/customElement.js +1 -1
  398. package/dist/components/solution-item-diagram/customElement.js +1 -1
  399. package/dist/components/solution-item-icon/customElement.js +1 -1
  400. package/dist/components/solution-resource-card/customElement.js +1 -1
  401. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  402. package/dist/components/solution-social-share/customElement.js +1 -1
  403. package/dist/components/solutions-all-panel/customElement.js +1 -1
  404. package/dist/components/solutions-all-shell/customElement.js +1 -1
  405. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  406. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  407. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  408. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  409. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  410. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  411. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  412. package/dist/components/solutions-resources/customElement.js +1 -1
  413. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  414. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  415. package/dist/docs/api.json +1 -1
  416. package/dist/docs/docs.json +1 -1
  417. package/dist/docs/web-types.json +1 -1
  418. package/dist/index.js +1 -1
  419. package/dist/loader.js +1 -1
  420. package/package.json +1 -1
  421. package/dist/cdn/2ZAI2L2Z.js +0 -4
  422. package/dist/cdn/3Q7MPYBN.js +0 -4
  423. package/dist/cdn/3TTOX4BB.js +0 -4
  424. package/dist/cdn/4VTDE7WM.js +0 -4
  425. package/dist/cdn/7YYWVE2S.js +0 -4
  426. package/dist/cdn/CGZFXEML.js +0 -4
  427. package/dist/cdn/F2RRVGZ2.js +0 -4
  428. package/dist/cdn/FS4FOH3D.js +0 -4
  429. package/dist/cdn/GGIS4CC6.js +0 -4
  430. package/dist/cdn/HDKINGQW.js +0 -4
  431. package/dist/cdn/HM4AHTQA.js +0 -4
  432. package/dist/cdn/KST6M5H6.js +0 -4
  433. package/dist/cdn/OY6SET3T.js +0 -4
  434. package/dist/cdn/Q5VHOWDO.js +0 -4
  435. package/dist/cdn/U74L7VJM.js +0 -4
  436. package/dist/cdn/UTCZEP45.js +0 -4
  437. package/dist/cdn/UUIEPEEK.js +0 -4
  438. package/dist/cdn/WGEGKLDT.js +0 -4
  439. package/dist/cdn/WGRUBU2Y.js +0 -4
  440. package/dist/cdn/YXKSGCHP.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as n}from"./6KLBYZFM.js";import{a as o}from"./SBSDLWOC.js";import{a as m}from"./T2KFMS3E.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./GRW5JAFG.js";import{a as s}from"./X6UQRYBW.js";import{a as i}from"./OB4IBA7J.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import{b as r}from"./PKVTULHS.js";import"./YHKV4IMA.js";import"./C4C7KF52.js";import"./ZIBWJVYK.js";import"./K5GHIYOF.js";import"./N3WXY7EJ.js";import"./YCKVHLNK.js";import"./4N5CTUVM.js";import"./ENLS3ON7.js";import"./CTCPMABN.js";import"./6N5NPFCF.js";import"./JQQORYBM.js";import"./J6VXDYLB.js";import"./ZWBLEX27.js";import"./P5F6E4BB.js";import"./CFTL75CW.js";import"./WFIOSSYN.js";import"./KXCASIUR.js";import"./NKNXRQAV.js";import"./4B45SS3L.js";import"./FT22BE2Q.js";import"./RVQYDMMJ.js";import"./4MFPZMLB.js";import"./OBI4A4AA.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
3
+ v1.2.0-next.61 */
4
+ import{a as n}from"./W3S4KP2W.js";import{a as o}from"./KVYBYT6S.js";import{a as m}from"./LK7INEHZ.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./4B42RCTX.js";import{a as s}from"./QM6NH6VR.js";import{a as i}from"./IXQOFTAB.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import{b as r}from"./MVZ36ZHD.js";import"./U2IPPMM4.js";import"./S56TUI7H.js";import"./S63HTRIQ.js";import"./KKGQAK4H.js";import"./FFJAKABB.js";import"./QSCOANTT.js";import"./FOJIKFHL.js";import"./6OK4QGOG.js";import"./4BPWBJER.js";import"./LL2DC5FJ.js";import"./E5KFUJOK.js";import"./6MABMJPE.js";import"./XILQXDEB.js";import"./53QFE7JQ.js";import"./XLHDG4FM.js";import"./6LEKXV2O.js";import"./QBFLPL3H.js";import"./4RSHHJ4Y.js";import"./TTMLJD3R.js";import"./GP6DK5OL.js";import"./FRKMUBQW.js";import"./CEBTYHFA.js";import"./Z6SV4EJB.js";var p=(e,l)=>["myContent","organization"].map(d=>{let a=o("initiativeTemplate.fields.recommendedTemplates",d,"item",{user:e});return a.collections=[c(l)],a}),c=e=>({targetEntity:"item",key:"recommendedTemplates",label:`${e}.fields.recommendedTemplates.collection.label`,scope:{targetEntity:"item",filters:[{predicates:[{type:"Solution"}]},{predicates:[{typekeywords:["hubSolutionTemplate"]},{typekeywords:["Template"]}],operation:"OR"}]}});var k=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.error,keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.name.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...m(e,l.thumbnail,n(l),"initiativeTemplate",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{type:"Control",scope:"/properties/description",labelKey:`${e}.fields.description.label`,options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await s(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{type:"Control",scope:"/properties/recommendedTemplates",labelKey:`${e}.fields.recommendedTemplates.label`,options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser,e),facets:[{label:`{{${e}.fields.recommendedTemplates.facets.sharing:translate}}`,key:"access",field:"access",display:"multi-select",operation:"OR"}],canReorder:!1,linkTarget:"siteRelative",pickerTitle:{labelKey:`${e}.fields.recommendedTemplates.pickerTitle`}}}]}]});export{k as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{H as e}from"./VTTSGBR5.js";var t=e({defaultAssetPath:"https://jsdev.arcgis.com/1.2.0-next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
3
+ v1.2.0-next.61 */
4
+ import{H as e}from"./XRVUVLK7.js";var t=e({defaultAssetPath:"https://jsdev.arcgis.com/1.2.0-next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as b}from"./S2GLQ7ZY.js";import a from"./H4MLUVTV.js";import{b as u}from"./WYHW2ASX.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as y}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as f}from"./ZMOPA7LL.js";import{E as p,F as g,G as m,I as h,h as l,i as n,q as r,t as d}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([w,_,k,{k:o}])=>{var v=l`@layer{
3
+ v1.2.0-next.61 */
4
+ import{a as b}from"./UTSPKJHP.js";import a from"./LJ2SBS2G.js";import{b as u}from"./P4RFQ7SQ.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as y}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as f}from"./65Q2WFD6.js";import{E as p,F as g,G as m,I as h,h as l,i as n,q as r,t as d}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([w,_,k,{k:o}])=>{var v=l`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{b as o}from"./ZMOPA7LL.js";import{E as n,F as a,G as r,h as t,i as s}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([l])=>{var d=t`/**
3
+ v1.2.0-next.61 */
4
+ import{b as o}from"./65Q2WFD6.js";import{E as n,F as a,G as r,h as t,i as s}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([l])=>{var d=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import"./OBI4A4AA.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
3
+ v1.2.0-next.61 */
4
+ import"./Z6SV4EJB.js";var a="Nie masz wystarczaj\u0105cej liczby kredyt\xF3w do wykonania tej operacji. Skontaktuj si\u0119 z administratorem systemu ArcGIS, aby uzyska\u0107 pomoc.",e="To narz\u0119dzie zosta\u0142o opublikowane z poziomu notatnika. Dost\u0119p do aplikacji ArcGIS Notebooks jest zablokowany dla Twojej instytucji. Skontaktuj si\u0119 z administratorem w celu dostosowania ustawienia.",i="Element ${ dataPath } nie mo\u017Ce zawiera\u0107 ${ additionalProperty }.",o="Element ${ dataPath } musi by\u0107 zgodny z jednym z tych schemat\xF3w: ${ schemaOptions }.",r="Spr\xF3buj ponownie zapisa\u0107 map\u0119.",t="Oszacowanie kredyt\xF3w si\u0119 nie powiod\u0142o. Przewi\u0144 w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie oszacuj kredyty.",n="Podczas przeprowadzania analizy wyst\u0105pi\u0142 b\u0142\u0105d.",s="Element ${ dataPath } musi mie\u0107 warto\u015B\u0107 r\xF3wn\u0105 jednej z tych dozwolonych warto\u015Bci: ${ allowedValues }.",w="Nie powiod\u0142o si\u0119 zapisanie historii analiz",d="Pami\u0119\u0107 historii jest pe\u0142na. Usu\u0144 niekt\xF3re elementy z historii analiz i spr\xF3buj zapisa\u0107 ponownie.",l="Nazwa us\u0142ugi zawiera co najmniej jeden nieprawid\u0142owy znak.",c="Zapisanie warstwy tymczasowej jako hostowanej warstwy obiektowej nie powiod\u0142o si\u0119.",m="Nie uda\u0142o si\u0119 pobra\u0107 kluczowych w\u0142a\u015Bciwo\u015Bci.",y="Nie uda\u0142o si\u0119 wczyta\u0107 warstwy.",p="Warstwa jest niedost\u0119pna.",z="Element ${ dataPath } nie mo\u017Ce mie\u0107 wi\u0119cej element\xF3w ni\u017C ${ limit }.",u="Wyst\u0105pi\u0142 b\u0142\u0105d podczas zapisywania modelu. Spr\xF3buj ponownie zapisa\u0107.",j="Element ${ dataPath } nie mo\u017Ce mie\u0107 mniej element\xF3w ni\u017C ${ limit }.",k="Element ${ dataPath } nie mo\u017Ce by\u0107 kr\xF3tszy ni\u017C nast\u0119puj\u0105ca liczba znak\xF3w: ${ limit }.",h="Nie powiod\u0142o si\u0119 wczytywanie elementu modelu. Upewnij si\u0119, \u017Ce model istnieje i \u017Ce przyznano uprawnienia dost\u0119pu.",E="Nie powiod\u0142o si\u0119 wykonanie \u017C\u0105dania.",b="Nie masz uprawnie\u0144 do uruchomienia tego narz\u0119dzia. <calcite-link target='_blank' href='${ docLink }'>Dowiedz si\u0119 wi\u0119cej</calcite-link>",P="Nie mo\u017Cna zalogowa\u0107 si\u0119 w portalu.",N="Nie powi\xF3d\u0142 si\u0119 odczyt danych wej\u015Bciowych.",S="W elemencie ${ dataPath } brak w\u0142a\u015Bciwo\u015Bci o nazwie ${ missingProperty }.",$="Istnieje ju\u017C warstwa wynikowa o tej nazwie. Nazwy warstw wynikowych musz\u0105 by\u0107 niepowtarzalne w ca\u0142ej instytucji. U\u017Cyj innej nazwy.",v="Nazwa danych wynikowych zawiera co najmniej jeden nieprawid\u0142owy znak. <a href='${docLink}' target='_blank'>Dowiedz si\u0119 wi\u0119cej.</a>",f="Publikowanie warstwy tymczasowej jako warstwy hostowanej nie powiod\u0142o si\u0119 z powodu co najmniej jednego nieprawid\u0142owego pola. Uruchom ponownie narz\u0119dzie, aby utworzy\u0107 warstw\u0119 z prawid\u0142owymi polami.",I="Nie powiod\u0142o si\u0119 wys\u0142anie zadania. Przewi\u0144 widok w d\xF3\u0142, popraw b\u0142\u0119dy i ponownie uruchom analiz\u0119.",T="Element ${ dataPath } musi zawiera\u0107 co najmniej jeden znak inny ni\u017C bia\u0142y znak.",g={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:o,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:n,enumValues:s,failedToSaveHistory:w,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:l,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:p,maxItems:z,mbFailedToSave:u,minItems:j,minLength:k,modelNotFound:h,networkError:E,noPermissionToAccessTool:b,portalLoadError:P,queryFeaturesError:N,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:v,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,o as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,g as default,n as defaultError,s as enumValues,w as failedToSaveHistory,d as fullSessionStorage,l as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,z as maxItems,u as mbFailedToSave,j as minItems,k as minLength,h as modelNotFound,E as networkError,b as noPermissionToAccessTool,P as portalLoadError,N as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,v as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,T as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{b as e}from"./KXCASIUR.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
3
+ v1.2.0-next.61 */
4
+ import{b as e}from"./QBFLPL3H.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
3
+ v1.2.0-next.61 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as r}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as o}from"./ZMOPA7LL.js";import{G as n,h as l,i as a,q as i}from"./VTTSGBR5.js";import"./OBI4A4AA.js";var c=l`/** @license
3
+ v1.2.0-next.61 */
4
+ import{a as r}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as o}from"./65Q2WFD6.js";import{G as n,h as l,i as a,q as i}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import b from"./4WNXJSEW.js";import a from"./IJ245FDS.js";import{a as _}from"./NCOWGV7K.js";import{b as y}from"./7AEU6P43.js";import"./FC4NR45A.js";import{F as $,G as T,I as l,K as g,h as C,i as r,q as x,t as L}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
3
+ v1.2.0-next.61 */
4
+ import b from"./YIL2K7VK.js";import a from"./Y5Z6SQWV.js";import{a as _}from"./YUH4EAMP.js";import{b as y}from"./3NINBJYJ.js";import"./IDUQIZKF.js";import{F as $,G as T,I as l,K as g,h as C,i as r,q as x,t as L}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([,{a:d,b:v,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{.instant-apps-language-translator-item{display:flex}.instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}.instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}.instant-apps-language-translator-item__section--last-item{border-bottom:none}.instant-apps-language-translator-item__section--selected{background-color:#f1faff}.instant-apps-language-translator-item__section:first-child{margin-right:1%}.instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}.instant-apps-language-translator-item__ui-location-items{display:flex}.instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}.instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}.instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}.instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}.instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}.calcite-mode-dark .instant-apps-language-translator-item__section--selected{background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-action{--calcite-icon-color: var(--calcite-color-text-inverse)}.calcite-mode-dark .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},b=class extends T{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===v.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===v.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};y("instant-apps-language-translator-item",b);return b},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as e}from"./FT22BE2Q.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.2.0-next.61 */
4
+ import{a as e}from"./GP6DK5OL.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import f from"./JXNGGIST.js";import e from"./G6LTOZJF.js";import b from"./2KLTC6O5.js";import a from"./H4MLUVTV.js";import{b as _,d as g}from"./WYHW2ASX.js";import"./FNJ2SV5I.js";import"./RKIQ5DUF.js";import"./LC53SJ67.js";import"./N2EZQGSH.js";import"./AU6YGJUT.js";import"./UCYKJ3G4.js";import"./TZLKWPKE.js";import"./UYBRDZJB.js";import"./ZGSIGKHE.js";import"./PWZXYVX5.js";import"./T7D3VOZH.js";import"./NK5C67VR.js";import"./RJ4NCL2V.js";import"./GRW5JAFG.js";import"./V6P7MNAU.js";import"./WX2RTJ3T.js";import"./K6NKAZBD.js";import"./VGEFJTQ7.js";import"./F2O4WKM6.js";import"./C4C7KF52.js";import{a as p}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as u}from"./ZMOPA7LL.js";import{F as h,G as m,h as n,i,j as d,l as c,q as s}from"./VTTSGBR5.js";import"./OBI4A4AA.js";export default $arcgis.t(([{c:f,o:a,p:r},,,{a:o,b:y}])=>{var x=n`/** @license
3
+ v1.2.0-next.61 */
4
+ import f from"./5OOZELYI.js";import e from"./TEMZGRBD.js";import b from"./HKC4DOUE.js";import a from"./LJ2SBS2G.js";import{b as _,d as g}from"./P4RFQ7SQ.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as p}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as u}from"./65Q2WFD6.js";import{F as h,G as m,h as n,i,j as d,l as c,q as s}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([{c:f,o:a,p:r},,,{a:o,b:y}])=>{var x=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.60 */
4
- import{a as Lr}from"./JNZZAE7R.js";import"./45S22WSU.js";import"./FC4NR45A.js";import{b as Ur}from"./ZMOPA7LL.js";import{G as _r,h as Mr,q as $r}from"./VTTSGBR5.js";import"./OBI4A4AA.js";function wr(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Bn(e){return Object.keys(e).some(t=>{let r=e[t];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function qn(e){let t={};return Object.keys(e).forEach(r=>{var n,i;let a=e[r];if(a&&a.toParam&&(a=a.toParam()),!a&&a!==0&&typeof a!="boolean"&&typeof a!="string")return;let s=a.constructor.name,o;switch(s){case"Array":let u=(i=(n=a[0])===null||n===void 0?void 0:n.constructor)===null||i===void 0?void 0:i.name;o=u==="Array"?a:u==="Object"?JSON.stringify(a):a.join(",");break;case"Object":o=JSON.stringify(a);break;case"Date":o=a.valueOf();break;case"Function":o=null;break;case"Boolean":o=a+"";break;default:o=a;break}(o||o===0||typeof o=="string"||Array.isArray(o))&&(t[r]=o)}),t}function Yn(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(r=>Yn(e,r)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Ht(e){let t=qn(e);return Object.keys(t).map(r=>Yn(r,t[r])).join("&")}var Ji=globalThis.FormData;function Xi(e,t){let r=Bn(e)||t,n=qn(e);if(r){let i=new Ji;return Object.keys(n).forEach(a=>{if(typeof Blob<"u"&&n[a]instanceof Blob){let s=n.fileName||n[a].name||a;i.append(a,n[a],s)}else i.append(a,n[a])}),i}else return Ht(e)}var ye=class extends Error{constructor(t,r,n,i,a){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),t=t||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?t:`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=a}},Qi={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},Ft="ARCGIS_REST_JS_NO_CORS";globalThis[Ft]||(globalThis[Ft]=Object.assign({},Qi));var re=globalThis[Ft];function Zi(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let r=t.origin;return re.pendingNoCorsRequests[r]||(re.pendingNoCorsRequests[r]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{re.noCorsDomains.indexOf(r)===-1&&re.noCorsDomains.push(r),re.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete re.pendingNoCorsRequests[r]}).catch(n=>(delete re.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`))))),re.pendingNoCorsRequests[r]}function ea(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?Et(t):(Et("http://"+t),Et("https://"+t))})}function Et(e){let r=new URL(e).origin;re.noCorsDomains.indexOf(r)===-1&&re.noCorsDomains.push(r)}function Jn(e){let t=!1;if(re.noCorsDomains.length){let r=new URL(e).origin.toLowerCase();t=re.noCorsDomains.some(n=>r.includes(n))}return t}function ta(e){let t=!1;if(Jn(e)){let r=new URL(e).origin.toLowerCase(),n=re.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(t=!0)}return t}function ra(e){console&&console.warn&&console.warn.apply(console,[e])}function na(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ia(e,t){var r;if(!t&&!window||!e)return!1;{t=t||window;let n=(r=t.location)===null||r===void 0?void 0:r.origin;return e.startsWith(n)}}var aa="@esri/arcgis-rest-js";function sa(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var nt=class extends ye{constructor(t="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,i,a){super(t,r,n,i,a),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?t:`${r}: ${t}`;let s=new.target.prototype;Object.setPrototypeOf(this,s)}retry(t,r=1){let n=0,i=(a,s)=>{n=n+1,t(this.url,this.options).then(o=>{let u=Object.assign(Object.assign({},this.options),{authentication:o});return Xn(this.url,u)}).then(o=>{a(o)}).catch(o=>{o.name==="ArcGISAuthError"&&n<r?i(a,s):o.name===this.name&&o.message===this.message&&n>=r?s(this):s(o)})};return new Promise((a,s)=>{i(a,s)})}};function oa(e,t,r,n,i){if(e.code>=400){let{message:a,code:s}=e;throw new ye(a,s,e,t,n)}if(e.error){let{message:a,code:s,messageCode:o}=e.error,u=o||s||"UNKNOWN_ERROR_CODE";throw s===498||s===499?i||new nt(a,u,e,t,n):new ye(a,u,e,t,n)}if(e.status==="failed"||e.status==="failure"){let a,s="UNKNOWN_ERROR_CODE";try{a=JSON.parse(e.statusMessage).message,s=JSON.parse(e.statusMessage).code}catch{a=e.statusMessage||e.message}throw new ye(a,s,e,t,n)}return e}function Xn(e,t){let r=sa(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),t),{params:Object.assign(Object.assign({},r.params),t.params),headers:Object.assign(Object.assign({},r.headers),t.headers)}),{httpMethod:i,rawResponse:a}=n,s=Object.assign({f:"json"},n.params),o=null,u={method:i,signal:n.signal,credentials:n.credentials||"same-origin"};Jn(e)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let l;if(typeof n.authentication=="string"){let v=n.authentication;l={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(v)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(ra("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)}else l=n.authentication;let c=e,m=!1;typeof window<"u"&&(m=ia(e));let f=!m&&ta(e);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return f&&(u.credentials="include",S=Zi(e)),S.then(()=>l?l.getToken(e).catch(v=>(v.url=e,v.options=n,o=v,Promise.resolve(""))):Promise.resolve("")).then(v=>{v.length&&(s.token=v),l&&l.getDomainCredentials&&(u.credentials=l.getDomainCredentials(e));let O={};if(u.method==="GET"){s.token&&n.hideToken&&typeof window>"u"&&(O["X-Esri-Authorization"]=`Bearer ${s.token}`,delete s.token);let d=Ht(s)===""?e:e+"?"+Ht(s);n.maxUrlLength&&d.length>n.maxUrlLength||!n.maxUrlLength&&d.length>2e3||s.token&&n.hideToken?(u.method="POST",v.length&&n.hideToken&&(s.token=v,delete O["X-Esri-Authorization"])):e=d}let b=new RegExp("/items/.+/updateResources").test(e);return u.method==="POST"&&(u.body=Xi(s,b)),u.headers=Object.assign(Object.assign({},O),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=aa),!Bn(s)&&!b&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,u):na().then(({fetch:y})=>y(e,u))}).then(v=>{if(!v.ok)return v.json().then(O=>{let{status:b,statusText:y}=v,{message:d,details:P}=O.error,A=`${d}. ${P?P.join(" "):""}`.trim();throw new ye(A,`HTTP ${b} ${y}`,O,e,n)}).catch(O=>{if(O.name==="ArcGISRequestError")throw O;let{status:b,statusText:y}=v;throw new ye(y,`HTTP ${b}`,v,e,n)});if(a)return v;switch(s.f){case"json":return v.json();case"geojson":return v.json();case"html":return v.text();case"text":return v.text();default:return v.blob()}}).then(v=>{if((s.f==="json"||s.f==="geojson")&&!a){let O=oa(v,c,s,n,o);if(v&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(v.authorizedCrossOriginNoCorsDomains)&&ea(v.authorizedCrossOriginNoCorsDomains),o){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},o=null}return O}else return v})}function Qn(e,t={params:{f:"json"}}){let{request:r}=t,n=wr(t,["request"]);return r?r(e,n):Xn(e,n).catch(i=>i instanceof nt&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function ua(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function Le(e={}){return e.portal?ua(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function ca(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function la(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function fa(e){return e.join(",")}function Zn(e,t,r){if(!e)return e;let n=null;return typeof e.thumbnail=="string"&&(n=`${t}/content/items/${e.id}/info/${e.thumbnail}`,n&&e.access!=="public"&&r&&(n+=`?${r}`)),Object.assign(Object.assign({},e),n?{thumbnailUrl:n}:{})}function da(e){return ca(e).then(t=>{let r=e.folderId?`${Le(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${Le(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&la(e.params.extent)&&(e.params.extent=fa(e.params.extent));let n=Le(e),i=Zn(Object.assign(Object.assign({},e.item),{access:e.item.access}),n),a=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof a=="string"&&i.thumbnailUrl.split("?")[0]===a.split("?")[0]&&delete e.params.thumbnailUrl,Qn(r,e)})}function ei(e,t){let r=pa(e,t),n=Object.assign({httpMethod:"GET"},t);return Qn(r,n).then(async i=>{let a=t?.portal||Le(t),s;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(s=await t.authentication.getToken(r)),Zn(i,a,s)})}var pa=(e,t)=>`${typeof t=="string"?t:Le(t)}/content/items/${e}`;function ga(e={}){let{disabled:t,portal:r}=e;return t||r?.eueiEnabled===!1?!0:!(!r||ha(r)||ma(r)||va(r))}function ha(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function ma(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function va(e){return!e.user&&e.ipCntryCode==="US"}var ze={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let r=JSON.stringify(t);try{window.localStorage.setItem(e,r)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},ti="esri-telemetry";function ya(e){return new Promise((r,n)=>{e.onload=r,e.onerror=n,(!wa(e)||e.body)&&r()})}function ba(e){let{id:t,dataAttribute:r}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${ti}="${r}"]`)}function wa(e){let{body:t,src:r,id:n,dataAttribute:i,section:a="body",type:s="text/javascript",async:o=!1,defer:u=!1,onload:l,onerror:c}=e;if(typeof window>"u")throw new it("Window is undefined: Cannot add script element.");if(ba(e)){console.log(`script (${n||i}) is already present, skipping`);return}let m=Sa({id:n,dataAttribute:i,type:s,async:o,defer:u,body:t,src:r,onload:l,onerror:c});return a==="body"?document.body.appendChild(m):document.head.appendChild(m)}var it=class extends Error{};function Sa({id:e,dataAttribute:t,type:r,async:n,defer:i,body:a,src:s,onload:o,onerror:u}){let l=document.createElement("script");return e&&(l.id=e),t&&l.setAttribute(`data-${ti}`,t),s&&(l.src=s),a&&(l.innerText=a),l.type=r,l.async=n,l.defer=i,o&&(l.onload=o),u&&(l.onerror=u),l}function Ea(e){return e.map(t=>{let r=[];return["src","id","dataAttribute","type"].forEach(n=>{let i=n;n==="dataAttribute"&&(i="data-esri-telemetry"),t[n]&&r.push(`${i}="${t[n]}"`)}),["async","defer"].forEach(n=>{t[n]&&r.push(`${n}`)}),`<script ${r.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var Aa=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Kt=class{constructor(t){var r,n,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=ga(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let a=((r=t.portal)===null||r===void 0?void 0:r.user)||t.user;a&&this.setUser(a,(i=(n=t.portal)===null||n===void 0?void 0:n.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(r=>r.init());await Promise.all(t)}setUser(t={},r="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=r;let n;if(t.email&&t.email.split){let i=t.email.split("@")[1];n=Aa.filter(a=>i===a).length>0}(n||["In House","Demo and Marketing"].indexOf(r)>-1)&&(this.user.internalUser=!0)}logPageView(t,r={},n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:o,hasError:u})=>!o&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let a=this.preProcess(r,n);this.debug&&this.logger.info("Tracking page view",JSON.stringify(a));let s=i.map(o=>o.logPageView(t,a));return Promise.all(s).then(),!0}logEvent(t,r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let n=this.trackers.filter(({disabled:s,hasError:o})=>!s&&!o);if(!n.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,r);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let a=n.map(s=>s.logEvent(i));return Promise.all(a).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,r={}){let n={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(n);let i=Object.assign({name:t,step:"start"},r);return this.logWorkflow(i),n}stepWorkflow(t,r,n={}){let i=typeof n=="string"?n:n.details,a=Object.assign({name:t,step:r,details:i},n);this.logWorkflow(a)}endWorkflow(t,r={}){let n=Object.assign({name:t,step:"finish"},r);this.logWorkflow(n)}cancelWorkflow(t,r={}){let n=Object.assign({name:t,step:"cancel"},r);this.logWorkflow(n)}getWorkflow(t){let r=ze.get(`TELEMETRY-WORKFLOW:${t}`);if(r){let n=Date.now()-r.start,i=1800*1e3;if(n<i)return r;this.deleteWorkflow(r)}}saveWorkflow(t){ze.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){ze.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let r=this.getWorkflow(t.name);r||(this.startWorkflow(t.name),r=this.getWorkflow(t.name)),r.steps.push(t.step),r.duration=(Date.now()-r.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(r):this.saveWorkflow(r);let n=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:r.duration,workflowId:r.workflowId});this.logEvent(n)}preProcess(t={},r={}){let n={};return this.user&&(n={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),n)).reduce(Oa(r.omitComplexData,this.logger),{})}disableTracker(t){var r;let n=this.trackers.find(({name:i})=>i===t);n&&!n.hasError&&(n.disabled=!0,(r=n.disable)===null||r===void 0||r.call(n))}enableTracker(t){var r;let n=this.trackers.find(({name:i})=>i===t);n&&!n.hasError&&(n.disabled=!1,(r=n.enable)===null||r===void 0||r.call(n))}};function Oa(e,t){return function(r,[n,i]){return Ia(i)?r[n]=i:e||(t.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`),r[n]=i),r}}function Ia(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}var Bt=class{constructor(t){var r;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((r=t?.measurementIds)===null||r===void 0)&&r.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return Ea(this._getScripts())}async init(){if(typeof window>"u")throw new it("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>ya(t))),this.injectConfig()}logPageView(t,r={}){let n=this.buildCustomParams(r),i=Object.assign({page_title:t||window.location.pathname},n);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:r}=t,n=wr(t,["action"]),i=r||"other",a=this.buildCustomParams(n);return window.gtag("event",i,a),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(r=>{window.gtag("config",r,t)})}buildCustomParams(t){let r,{category:n,label:i}=t;return r=this.verifyCustomDimensionAndMetrics(t),n&&(r=Object.assign(Object.assign({},r),{event_category:n})),i&&(r=Object.assign(Object.assign({},r),{event_label:i})),r}verifyCustomDimensionAndMetrics(t){let r=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),n=Object.values(r);return Object.keys(t).filter(a=>n.includes(a)).reduce((a,s)=>Object.assign(a,{[s]:t[s]}),{})}createDimensionsAndMetricsCustomMap(t={},r={}){let n=this.createMetricCustomMap(r),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},n),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(r){return{key:`metric${t[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(r){return{key:`dimension${t[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}},zr="TELEMETRY_COGNITO_CREDENTIALS";function Pa(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,i=ze.get(zr);if(i&&Date.now()/1e3<i.Expiration)return Promise.resolve(i);let a={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,a).then(s=>{if(!s.ok)throw new Error(s.statusText);return s.json()}).then(s=>{let{IdentityId:o}=s,u={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:o})};return fetch(n,u)}).then(s=>{if(!s.ok)throw new Error(s.statusText);return s.json()}).then(({Credentials:s})=>(ze.set(zr,s),s))}function ri({telemetryData:e,dimensionLookup:t={},excludeKeys:r=[]}){return Object.keys(e).filter(n=>!r.includes(n)).map(n=>t[n]?{key:ja(t,n),value:e[n]}:{key:n,value:Ta(e,n)}).reduce((n,{key:i,value:a})=>(n[i]=a,n),{})}function Ta(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function ja(e,t){return`dimension${e[t]}`}var Na=["size","duration","position","number","count"];function ni(e,t={}){return Object.keys(e).filter(r=>t[r]||Na.includes(r)).map(r=>t[r]?{key:Ra(t,r),value:e[r]}:{key:r,value:e[r]}).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}function Ra(e,t){return`metric${e[t]}`}function ka({event:e={},dimensionLookup:t={},metricLookup:r={}}){var n,i;let{pathname:a,eventType:s="other"}=e,o=ni(e,r),u=ri({telemetryData:Object.assign({eventType:s},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(o),...Object.keys(r)]}),l=Object.assign(Object.assign({name:s},u),o);return typeof document<"u"&&document.referrer&&(l.referrer=document.referrer),typeof window<"u"&&!l.hostname&&(l.hostname=(n=window.location)===null||n===void 0?void 0:n.hostname),l.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:a,l}function Ca({page:e,previousPage:t={},options:r={},dimensionLookup:n={},metricLookup:i={}}){let a=ni(r,i),s=ri({telemetryData:r,dimensionLookup:n,excludeKeys:["workflow",...Object.keys(a),...Object.keys(i)]}),{referrer:o,title:u}=document||{},{hostname:l,pathname:c}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:o,hostname:l,path:e||c,pageUrl:e||c,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},s),a)}function Wr(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:i;return e===i?r:e}var xa="function",Da="string",ae="undefined",Ma="boolean",qt="object",$a="array",_a="number",Ua="symbol",La="null",za=function(){},Vr="__",Wa="form",Va="input",Ga="button",Ha="select",at=typeof process!==ae?process:{};at.env&&at.env.NODE_ENV;var Be=typeof document!==ae;at.versions!=null&&at.versions.node!=null;typeof Deno!==ae&&Deno.core;Be&&window.name==="nodejs"||typeof navigator!==ae&&typeof navigator.userAgent!==ae&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ii(e,t){return t.charAt(0)[e]()+t.slice(1)}var Fa=ii.bind(null,"toUpperCase"),Ka=ii.bind(null,"toLowerCase");function Ba(e){return ai(e)?Fa(La):typeof e===qt?Ja(e):Object.prototype.toString.call(e).slice(8,-1)}function st(e,t){t===void 0&&(t=!0);var r=Ba(e);return t?Ka(r):r}function qe(e,t){return typeof t===e}var Yt=qe.bind(null,xa),Jt=qe.bind(null,Da);qe.bind(null,ae);qe.bind(null,Ma);qe.bind(null,Ua);function ai(e){return e===null}function qa(e){return st(e)===_a&&!isNaN(e)}function Ya(e){return st(e)===$a}function Ja(e){return Yt(e.constructor)?e.constructor.name:null}function Xa(e){return e instanceof Error||Jt(e.message)&&e.constructor&&qa(e.constructor.stackTraceLimit)}function si(e,t){if(typeof t!="object"||ai(t))return!1;if(t instanceof e)return!0;var r=st(new e(""));if(Xa(t))for(;t;){if(st(t)===r)return!0;t=Object.getPrototypeOf(t)}return!1}si.bind(null,TypeError);si.bind(null,SyntaxError);function lt(e,t){var r=e instanceof Element||e instanceof HTMLDocument;return r&&t?Qa(e,t):r}function Qa(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function ft(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}ft(lt,Wa);ft(lt,Ga);ft(lt,Va);ft(lt,Ha);function Za(e){return e?Ya(e)?e:[e]:[]}function Gr(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function es(){if(Be){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function ts(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function rs(e){return(function(t){for(var r,n=Object.create(null),i=/([^&=]+)=?([^&]*)/g;r=i.exec(t);){var a=Gr(r[1]),s=Gr(r[2]);if(a)if(a.substring(a.length-2)==="[]"){var o=n[a=a.substring(0,a.length-2)]||(n[a]=[]);n[a]=Array.isArray(o)?o:[],n[a].push(s)}else n[a]=s===""||s}for(var u in n){var l=u.split("[");l.length>1&&(ns(n,l.map(function(c){return c.replace(/[?[\]\\ ]/g,"")}),n[u]),delete n[u])}return n})((function(t){return Be&&window.location.search.substring(1)})())}function ns(e,t,r){for(var n=t.length-1,i=0;i<n;++i){var a=t[i];if(a==="__proto__"||a==="constructor")break;a in e||(e[a]={}),e=e[a]}e[t[n]]=r}function Ie(){for(var e="",t=0,r=4294967295*Math.random()|0;t++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&r;e+=n=="-"||n=="4"?n:(n=="x"?i:3&i|8).toString(16),r=t%8==0?4294967295*Math.random()|0:r>>4}return e}var Se="global",Ce=Vr+Se+Vr,xe=typeof self===qt&&self.self===self&&self||typeof global===qt&&global[Se]===global&&global||void 0;function pe(e){return xe[Ce][e]}function fe(e,t){return xe[Ce][e]=t}function Pe(e){delete xe[Ce][e]}function ge(e,t,r){var n;try{if(dt(e)){var i=window[e];n=i[t].bind(i)}}catch{}return n||r}xe[Ce]||(xe[Ce]={});var Je={};function dt(e){if(typeof Je[e]!==ae)return Je[e];try{var t=window[e];t.setItem(ae,ae),t.removeItem(ae)}catch{return Je[e]=!1}return Je[e]=!0}var Hr,He="__",Xt=typeof process<"u"?process:{};(Hr=Xt.env)!=null&&Hr.NODE_ENV;var de=typeof window<"u";Xt.versions!=null&&Xt.versions.node!=null;typeof Deno<"u"&&Deno.core;de&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function pt(e,t){return typeof t===e}var oe=pt.bind(null,"function"),tt=pt.bind(null,"string");pt.bind(null,"undefined");var is=pt.bind(null,"boolean");function as(e){return Object.prototype.toString.call(e)==="[object Array]"}function ss(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!ss(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Qt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function os(e){if(Array.isArray(e))return Qt(e)}function us(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oi(e,t){if(e){if(typeof e=="string")return Qt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qt(e,t)}}function cs(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ v1.2.0-next.61 */
4
+ import{a as Lr}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as Ur}from"./65Q2WFD6.js";import{G as _r,h as Mr,q as $r}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";function wr(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Bn(e){return Object.keys(e).some(t=>{let r=e[t];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function qn(e){let t={};return Object.keys(e).forEach(r=>{var n,i;let a=e[r];if(a&&a.toParam&&(a=a.toParam()),!a&&a!==0&&typeof a!="boolean"&&typeof a!="string")return;let s=a.constructor.name,o;switch(s){case"Array":let u=(i=(n=a[0])===null||n===void 0?void 0:n.constructor)===null||i===void 0?void 0:i.name;o=u==="Array"?a:u==="Object"?JSON.stringify(a):a.join(",");break;case"Object":o=JSON.stringify(a);break;case"Date":o=a.valueOf();break;case"Function":o=null;break;case"Boolean":o=a+"";break;default:o=a;break}(o||o===0||typeof o=="string"||Array.isArray(o))&&(t[r]=o)}),t}function Yn(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(r=>Yn(e,r)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Ht(e){let t=qn(e);return Object.keys(t).map(r=>Yn(r,t[r])).join("&")}var Ji=globalThis.FormData;function Xi(e,t){let r=Bn(e)||t,n=qn(e);if(r){let i=new Ji;return Object.keys(n).forEach(a=>{if(typeof Blob<"u"&&n[a]instanceof Blob){let s=n.fileName||n[a].name||a;i.append(a,n[a],s)}else i.append(a,n[a])}),i}else return Ht(e)}var ye=class extends Error{constructor(t,r,n,i,a){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),t=t||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?t:`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=a}},Qi={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},Ft="ARCGIS_REST_JS_NO_CORS";globalThis[Ft]||(globalThis[Ft]=Object.assign({},Qi));var re=globalThis[Ft];function Zi(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let r=t.origin;return re.pendingNoCorsRequests[r]||(re.pendingNoCorsRequests[r]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{re.noCorsDomains.indexOf(r)===-1&&re.noCorsDomains.push(r),re.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete re.pendingNoCorsRequests[r]}).catch(n=>(delete re.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`))))),re.pendingNoCorsRequests[r]}function ea(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?Et(t):(Et("http://"+t),Et("https://"+t))})}function Et(e){let r=new URL(e).origin;re.noCorsDomains.indexOf(r)===-1&&re.noCorsDomains.push(r)}function Jn(e){let t=!1;if(re.noCorsDomains.length){let r=new URL(e).origin.toLowerCase();t=re.noCorsDomains.some(n=>r.includes(n))}return t}function ta(e){let t=!1;if(Jn(e)){let r=new URL(e).origin.toLowerCase(),n=re.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(t=!0)}return t}function ra(e){console&&console.warn&&console.warn.apply(console,[e])}function na(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ia(e,t){var r;if(!t&&!window||!e)return!1;{t=t||window;let n=(r=t.location)===null||r===void 0?void 0:r.origin;return e.startsWith(n)}}var aa="@esri/arcgis-rest-js";function sa(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var nt=class extends ye{constructor(t="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,i,a){super(t,r,n,i,a),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?t:`${r}: ${t}`;let s=new.target.prototype;Object.setPrototypeOf(this,s)}retry(t,r=1){let n=0,i=(a,s)=>{n=n+1,t(this.url,this.options).then(o=>{let u=Object.assign(Object.assign({},this.options),{authentication:o});return Xn(this.url,u)}).then(o=>{a(o)}).catch(o=>{o.name==="ArcGISAuthError"&&n<r?i(a,s):o.name===this.name&&o.message===this.message&&n>=r?s(this):s(o)})};return new Promise((a,s)=>{i(a,s)})}};function oa(e,t,r,n,i){if(e.code>=400){let{message:a,code:s}=e;throw new ye(a,s,e,t,n)}if(e.error){let{message:a,code:s,messageCode:o}=e.error,u=o||s||"UNKNOWN_ERROR_CODE";throw s===498||s===499?i||new nt(a,u,e,t,n):new ye(a,u,e,t,n)}if(e.status==="failed"||e.status==="failure"){let a,s="UNKNOWN_ERROR_CODE";try{a=JSON.parse(e.statusMessage).message,s=JSON.parse(e.statusMessage).code}catch{a=e.statusMessage||e.message}throw new ye(a,s,e,t,n)}return e}function Xn(e,t){let r=sa(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),t),{params:Object.assign(Object.assign({},r.params),t.params),headers:Object.assign(Object.assign({},r.headers),t.headers)}),{httpMethod:i,rawResponse:a}=n,s=Object.assign({f:"json"},n.params),o=null,u={method:i,signal:n.signal,credentials:n.credentials||"same-origin"};Jn(e)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let l;if(typeof n.authentication=="string"){let v=n.authentication;l={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(v)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(ra("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)}else l=n.authentication;let c=e,m=!1;typeof window<"u"&&(m=ia(e));let f=!m&&ta(e);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return f&&(u.credentials="include",S=Zi(e)),S.then(()=>l?l.getToken(e).catch(v=>(v.url=e,v.options=n,o=v,Promise.resolve(""))):Promise.resolve("")).then(v=>{v.length&&(s.token=v),l&&l.getDomainCredentials&&(u.credentials=l.getDomainCredentials(e));let O={};if(u.method==="GET"){s.token&&n.hideToken&&typeof window>"u"&&(O["X-Esri-Authorization"]=`Bearer ${s.token}`,delete s.token);let d=Ht(s)===""?e:e+"?"+Ht(s);n.maxUrlLength&&d.length>n.maxUrlLength||!n.maxUrlLength&&d.length>2e3||s.token&&n.hideToken?(u.method="POST",v.length&&n.hideToken&&(s.token=v,delete O["X-Esri-Authorization"])):e=d}let b=new RegExp("/items/.+/updateResources").test(e);return u.method==="POST"&&(u.body=Xi(s,b)),u.headers=Object.assign(Object.assign({},O),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=aa),!Bn(s)&&!b&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,u):na().then(({fetch:y})=>y(e,u))}).then(v=>{if(!v.ok)return v.json().then(O=>{let{status:b,statusText:y}=v,{message:d,details:P}=O.error,A=`${d}. ${P?P.join(" "):""}`.trim();throw new ye(A,`HTTP ${b} ${y}`,O,e,n)}).catch(O=>{if(O.name==="ArcGISRequestError")throw O;let{status:b,statusText:y}=v;throw new ye(y,`HTTP ${b}`,v,e,n)});if(a)return v;switch(s.f){case"json":return v.json();case"geojson":return v.json();case"html":return v.text();case"text":return v.text();default:return v.blob()}}).then(v=>{if((s.f==="json"||s.f==="geojson")&&!a){let O=oa(v,c,s,n,o);if(v&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(v.authorizedCrossOriginNoCorsDomains)&&ea(v.authorizedCrossOriginNoCorsDomains),o){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},o=null}return O}else return v})}function Qn(e,t={params:{f:"json"}}){let{request:r}=t,n=wr(t,["request"]);return r?r(e,n):Xn(e,n).catch(i=>i instanceof nt&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function ua(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function Le(e={}){return e.portal?ua(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function ca(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function la(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function fa(e){return e.join(",")}function Zn(e,t,r){if(!e)return e;let n=null;return typeof e.thumbnail=="string"&&(n=`${t}/content/items/${e.id}/info/${e.thumbnail}`,n&&e.access!=="public"&&r&&(n+=`?${r}`)),Object.assign(Object.assign({},e),n?{thumbnailUrl:n}:{})}function da(e){return ca(e).then(t=>{let r=e.folderId?`${Le(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${Le(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&la(e.params.extent)&&(e.params.extent=fa(e.params.extent));let n=Le(e),i=Zn(Object.assign(Object.assign({},e.item),{access:e.item.access}),n),a=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof a=="string"&&i.thumbnailUrl.split("?")[0]===a.split("?")[0]&&delete e.params.thumbnailUrl,Qn(r,e)})}function ei(e,t){let r=pa(e,t),n=Object.assign({httpMethod:"GET"},t);return Qn(r,n).then(async i=>{let a=t?.portal||Le(t),s;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(s=await t.authentication.getToken(r)),Zn(i,a,s)})}var pa=(e,t)=>`${typeof t=="string"?t:Le(t)}/content/items/${e}`;function ga(e={}){let{disabled:t,portal:r}=e;return t||r?.eueiEnabled===!1?!0:!(!r||ha(r)||ma(r)||va(r))}function ha(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function ma(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function va(e){return!e.user&&e.ipCntryCode==="US"}var ze={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let r=JSON.stringify(t);try{window.localStorage.setItem(e,r)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},ti="esri-telemetry";function ya(e){return new Promise((r,n)=>{e.onload=r,e.onerror=n,(!wa(e)||e.body)&&r()})}function ba(e){let{id:t,dataAttribute:r}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${ti}="${r}"]`)}function wa(e){let{body:t,src:r,id:n,dataAttribute:i,section:a="body",type:s="text/javascript",async:o=!1,defer:u=!1,onload:l,onerror:c}=e;if(typeof window>"u")throw new it("Window is undefined: Cannot add script element.");if(ba(e)){console.log(`script (${n||i}) is already present, skipping`);return}let m=Sa({id:n,dataAttribute:i,type:s,async:o,defer:u,body:t,src:r,onload:l,onerror:c});return a==="body"?document.body.appendChild(m):document.head.appendChild(m)}var it=class extends Error{};function Sa({id:e,dataAttribute:t,type:r,async:n,defer:i,body:a,src:s,onload:o,onerror:u}){let l=document.createElement("script");return e&&(l.id=e),t&&l.setAttribute(`data-${ti}`,t),s&&(l.src=s),a&&(l.innerText=a),l.type=r,l.async=n,l.defer=i,o&&(l.onload=o),u&&(l.onerror=u),l}function Ea(e){return e.map(t=>{let r=[];return["src","id","dataAttribute","type"].forEach(n=>{let i=n;n==="dataAttribute"&&(i="data-esri-telemetry"),t[n]&&r.push(`${i}="${t[n]}"`)}),["async","defer"].forEach(n=>{t[n]&&r.push(`${n}`)}),`<script ${r.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var Aa=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],Kt=class{constructor(t){var r,n,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=ga(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let a=((r=t.portal)===null||r===void 0?void 0:r.user)||t.user;a&&this.setUser(a,(i=(n=t.portal)===null||n===void 0?void 0:n.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(r=>r.init());await Promise.all(t)}setUser(t={},r="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=r;let n;if(t.email&&t.email.split){let i=t.email.split("@")[1];n=Aa.filter(a=>i===a).length>0}(n||["In House","Demo and Marketing"].indexOf(r)>-1)&&(this.user.internalUser=!0)}logPageView(t,r={},n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:o,hasError:u})=>!o&&!u);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let a=this.preProcess(r,n);this.debug&&this.logger.info("Tracking page view",JSON.stringify(a));let s=i.map(o=>o.logPageView(t,a));return Promise.all(s).then(),!0}logEvent(t,r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let n=this.trackers.filter(({disabled:s,hasError:o})=>!s&&!o);if(!n.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,r);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let a=n.map(s=>s.logEvent(i));return Promise.all(a).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,r={}){let n={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(n);let i=Object.assign({name:t,step:"start"},r);return this.logWorkflow(i),n}stepWorkflow(t,r,n={}){let i=typeof n=="string"?n:n.details,a=Object.assign({name:t,step:r,details:i},n);this.logWorkflow(a)}endWorkflow(t,r={}){let n=Object.assign({name:t,step:"finish"},r);this.logWorkflow(n)}cancelWorkflow(t,r={}){let n=Object.assign({name:t,step:"cancel"},r);this.logWorkflow(n)}getWorkflow(t){let r=ze.get(`TELEMETRY-WORKFLOW:${t}`);if(r){let n=Date.now()-r.start,i=1800*1e3;if(n<i)return r;this.deleteWorkflow(r)}}saveWorkflow(t){ze.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){ze.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let r=this.getWorkflow(t.name);r||(this.startWorkflow(t.name),r=this.getWorkflow(t.name)),r.steps.push(t.step),r.duration=(Date.now()-r.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(r):this.saveWorkflow(r);let n=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:r.duration,workflowId:r.workflowId});this.logEvent(n)}preProcess(t={},r={}){let n={};return this.user&&(n={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),n)).reduce(Oa(r.omitComplexData,this.logger),{})}disableTracker(t){var r;let n=this.trackers.find(({name:i})=>i===t);n&&!n.hasError&&(n.disabled=!0,(r=n.disable)===null||r===void 0||r.call(n))}enableTracker(t){var r;let n=this.trackers.find(({name:i})=>i===t);n&&!n.hasError&&(n.disabled=!1,(r=n.enable)===null||r===void 0||r.call(n))}};function Oa(e,t){return function(r,[n,i]){return Ia(i)?r[n]=i:e||(t.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`),r[n]=i),r}}function Ia(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}var Bt=class{constructor(t){var r;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((r=t?.measurementIds)===null||r===void 0)&&r.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return Ea(this._getScripts())}async init(){if(typeof window>"u")throw new it("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>ya(t))),this.injectConfig()}logPageView(t,r={}){let n=this.buildCustomParams(r),i=Object.assign({page_title:t||window.location.pathname},n);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:r}=t,n=wr(t,["action"]),i=r||"other",a=this.buildCustomParams(n);return window.gtag("event",i,a),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(r=>{window.gtag("config",r,t)})}buildCustomParams(t){let r,{category:n,label:i}=t;return r=this.verifyCustomDimensionAndMetrics(t),n&&(r=Object.assign(Object.assign({},r),{event_category:n})),i&&(r=Object.assign(Object.assign({},r),{event_label:i})),r}verifyCustomDimensionAndMetrics(t){let r=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),n=Object.values(r);return Object.keys(t).filter(a=>n.includes(a)).reduce((a,s)=>Object.assign(a,{[s]:t[s]}),{})}createDimensionsAndMetricsCustomMap(t={},r={}){let n=this.createMetricCustomMap(r),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},n),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(r){return{key:`metric${t[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(r){return{key:`dimension${t[r]}`,value:r}}).filter(r=>r).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}},zr="TELEMETRY_COGNITO_CREDENTIALS";function Pa(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,i=ze.get(zr);if(i&&Date.now()/1e3<i.Expiration)return Promise.resolve(i);let a={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,a).then(s=>{if(!s.ok)throw new Error(s.statusText);return s.json()}).then(s=>{let{IdentityId:o}=s,u={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:o})};return fetch(n,u)}).then(s=>{if(!s.ok)throw new Error(s.statusText);return s.json()}).then(({Credentials:s})=>(ze.set(zr,s),s))}function ri({telemetryData:e,dimensionLookup:t={},excludeKeys:r=[]}){return Object.keys(e).filter(n=>!r.includes(n)).map(n=>t[n]?{key:ja(t,n),value:e[n]}:{key:n,value:Ta(e,n)}).reduce((n,{key:i,value:a})=>(n[i]=a,n),{})}function Ta(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function ja(e,t){return`dimension${e[t]}`}var Na=["size","duration","position","number","count"];function ni(e,t={}){return Object.keys(e).filter(r=>t[r]||Na.includes(r)).map(r=>t[r]?{key:Ra(t,r),value:e[r]}:{key:r,value:e[r]}).reduce((r,{key:n,value:i})=>(r[n]=i,r),{})}function Ra(e,t){return`metric${e[t]}`}function ka({event:e={},dimensionLookup:t={},metricLookup:r={}}){var n,i;let{pathname:a,eventType:s="other"}=e,o=ni(e,r),u=ri({telemetryData:Object.assign({eventType:s},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(o),...Object.keys(r)]}),l=Object.assign(Object.assign({name:s},u),o);return typeof document<"u"&&document.referrer&&(l.referrer=document.referrer),typeof window<"u"&&!l.hostname&&(l.hostname=(n=window.location)===null||n===void 0?void 0:n.hostname),l.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:a,l}function Ca({page:e,previousPage:t={},options:r={},dimensionLookup:n={},metricLookup:i={}}){let a=ni(r,i),s=ri({telemetryData:r,dimensionLookup:n,excludeKeys:["workflow",...Object.keys(a),...Object.keys(i)]}),{referrer:o,title:u}=document||{},{hostname:l,pathname:c}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:o,hostname:l,path:e||c,pageUrl:e||c,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},s),a)}function Wr(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:i;return e===i?r:e}var xa="function",Da="string",ae="undefined",Ma="boolean",qt="object",$a="array",_a="number",Ua="symbol",La="null",za=function(){},Vr="__",Wa="form",Va="input",Ga="button",Ha="select",at=typeof process!==ae?process:{};at.env&&at.env.NODE_ENV;var Be=typeof document!==ae;at.versions!=null&&at.versions.node!=null;typeof Deno!==ae&&Deno.core;Be&&window.name==="nodejs"||typeof navigator!==ae&&typeof navigator.userAgent!==ae&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ii(e,t){return t.charAt(0)[e]()+t.slice(1)}var Fa=ii.bind(null,"toUpperCase"),Ka=ii.bind(null,"toLowerCase");function Ba(e){return ai(e)?Fa(La):typeof e===qt?Ja(e):Object.prototype.toString.call(e).slice(8,-1)}function st(e,t){t===void 0&&(t=!0);var r=Ba(e);return t?Ka(r):r}function qe(e,t){return typeof t===e}var Yt=qe.bind(null,xa),Jt=qe.bind(null,Da);qe.bind(null,ae);qe.bind(null,Ma);qe.bind(null,Ua);function ai(e){return e===null}function qa(e){return st(e)===_a&&!isNaN(e)}function Ya(e){return st(e)===$a}function Ja(e){return Yt(e.constructor)?e.constructor.name:null}function Xa(e){return e instanceof Error||Jt(e.message)&&e.constructor&&qa(e.constructor.stackTraceLimit)}function si(e,t){if(typeof t!="object"||ai(t))return!1;if(t instanceof e)return!0;var r=st(new e(""));if(Xa(t))for(;t;){if(st(t)===r)return!0;t=Object.getPrototypeOf(t)}return!1}si.bind(null,TypeError);si.bind(null,SyntaxError);function lt(e,t){var r=e instanceof Element||e instanceof HTMLDocument;return r&&t?Qa(e,t):r}function Qa(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function ft(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}ft(lt,Wa);ft(lt,Ga);ft(lt,Va);ft(lt,Ha);function Za(e){return e?Ya(e)?e:[e]:[]}function Gr(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function es(){if(Be){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function ts(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function rs(e){return(function(t){for(var r,n=Object.create(null),i=/([^&=]+)=?([^&]*)/g;r=i.exec(t);){var a=Gr(r[1]),s=Gr(r[2]);if(a)if(a.substring(a.length-2)==="[]"){var o=n[a=a.substring(0,a.length-2)]||(n[a]=[]);n[a]=Array.isArray(o)?o:[],n[a].push(s)}else n[a]=s===""||s}for(var u in n){var l=u.split("[");l.length>1&&(ns(n,l.map(function(c){return c.replace(/[?[\]\\ ]/g,"")}),n[u]),delete n[u])}return n})((function(t){return Be&&window.location.search.substring(1)})())}function ns(e,t,r){for(var n=t.length-1,i=0;i<n;++i){var a=t[i];if(a==="__proto__"||a==="constructor")break;a in e||(e[a]={}),e=e[a]}e[t[n]]=r}function Ie(){for(var e="",t=0,r=4294967295*Math.random()|0;t++<36;){var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&r;e+=n=="-"||n=="4"?n:(n=="x"?i:3&i|8).toString(16),r=t%8==0?4294967295*Math.random()|0:r>>4}return e}var Se="global",Ce=Vr+Se+Vr,xe=typeof self===qt&&self.self===self&&self||typeof global===qt&&global[Se]===global&&global||void 0;function pe(e){return xe[Ce][e]}function fe(e,t){return xe[Ce][e]=t}function Pe(e){delete xe[Ce][e]}function ge(e,t,r){var n;try{if(dt(e)){var i=window[e];n=i[t].bind(i)}}catch{}return n||r}xe[Ce]||(xe[Ce]={});var Je={};function dt(e){if(typeof Je[e]!==ae)return Je[e];try{var t=window[e];t.setItem(ae,ae),t.removeItem(ae)}catch{return Je[e]=!1}return Je[e]=!0}var Hr,He="__",Xt=typeof process<"u"?process:{};(Hr=Xt.env)!=null&&Hr.NODE_ENV;var de=typeof window<"u";Xt.versions!=null&&Xt.versions.node!=null;typeof Deno<"u"&&Deno.core;de&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function pt(e,t){return typeof t===e}var oe=pt.bind(null,"function"),tt=pt.bind(null,"string");pt.bind(null,"undefined");var is=pt.bind(null,"boolean");function as(e){return Object.prototype.toString.call(e)==="[object Array]"}function ss(e){return e&&(typeof e=="object"||e!==null)}function ne(e){if(!ss(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Qt(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function os(e){if(Array.isArray(e))return Qt(e)}function us(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function oi(e,t){if(e){if(typeof e=="string")return Qt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qt(e,t)}}function cs(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
5
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function We(e){return os(e)||us(e)||oi(e)||cs()}function Q(e){"@babel/helpers - typeof";return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function Fr(e,t,r,n,i,a,s){try{var o=e[a](s),u=o.value}catch(l){r(l);return}o.done?t(u):Promise.resolve(u).then(n,i)}function ue(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function s(u){Fr(a,n,i,s,o,"next",u)}function o(u){Fr(a,n,i,s,o,"throw",u)}s(void 0)})}}function me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Kr(Object(r),!0).forEach(function(n){me(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Kr(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ui={exports:{}};(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,a,s=typeof Symbol=="function"?Symbol:{},o=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function c(E,p,h){return Object.defineProperty(E,p,{value:h,enumerable:!0,configurable:!0,writable:!0}),E[p]}try{c({},"")}catch{c=function(p,h,g){return p[h]=g}}function m(E,p,h,g){var w=p&&p.prototype instanceof d?p:d,T=Object.create(w.prototype),D=new _(g||[]);return T._invoke=L(E,h,D),T}r.wrap=m;function f(E,p,h){try{return{type:"normal",arg:E.call(p,h)}}catch(g){return{type:"throw",arg:g}}}var S="suspendedStart",v="suspendedYield",O="executing",b="completed",y={};function d(){}function P(){}function A(){}var j={};c(j,o,function(){return this});var k=Object.getPrototypeOf,R=k&&k(k(F([])));R&&R!==n&&i.call(R,o)&&(j=R);var N=A.prototype=d.prototype=Object.create(j);P.prototype=A,c(N,"constructor",A),c(A,"constructor",P),P.displayName=c(A,l,"GeneratorFunction");function U(E){["next","throw","return"].forEach(function(p){c(E,p,function(h){return this._invoke(p,h)})})}r.isGeneratorFunction=function(E){var p=typeof E=="function"&&E.constructor;return p?p===P||(p.displayName||p.name)==="GeneratorFunction":!1},r.mark=function(E){return Object.setPrototypeOf?Object.setPrototypeOf(E,A):(E.__proto__=A,c(E,l,"GeneratorFunction")),E.prototype=Object.create(N),E},r.awrap=function(E){return{__await:E}};function M(E,p){function h(T,D,C,W){var V=f(E[T],E,D);if(V.type==="throw")W(V.arg);else{var q=V.arg,K=q.value;return K&&typeof K=="object"&&i.call(K,"__await")?p.resolve(K.__await).then(function(B){h("next",B,C,W)},function(B){h("throw",B,C,W)}):p.resolve(K).then(function(B){q.value=B,C(q)},function(B){return h("throw",B,C,W)})}}var g;function w(T,D){function C(){return new p(function(W,V){h(T,D,W,V)})}return g=g?g.then(C,C):C()}this._invoke=w}U(M.prototype),c(M.prototype,u,function(){return this}),r.AsyncIterator=M,r.async=function(E,p,h,g,w){w===void 0&&(w=Promise);var T=new M(m(E,p,h,g),w);return r.isGeneratorFunction(p)?T:T.next().then(function(D){return D.done?D.value:T.next()})};function L(E,p,h){var g=S;return function(T,D){if(g===O)throw new Error("Generator is already running");if(g===b){if(T==="throw")throw D;return G()}for(h.method=T,h.arg=D;;){var C=h.delegate;if(C){var W=z(C,h);if(W){if(W===y)continue;return W}}if(h.method==="next")h.sent=h._sent=h.arg;else if(h.method==="throw"){if(g===S)throw g=b,h.arg;h.dispatchException(h.arg)}else h.method==="return"&&h.abrupt("return",h.arg);g=O;var V=f(E,p,h);if(V.type==="normal"){if(g=h.done?b:v,V.arg===y)continue;return{value:V.arg,done:h.done}}else V.type==="throw"&&(g=b,h.method="throw",h.arg=V.arg)}}}function z(E,p){var h=E.iterator[p.method];if(h===a){if(p.delegate=null,p.method==="throw"){if(E.iterator.return&&(p.method="return",p.arg=a,z(E,p),p.method==="throw"))return y;p.method="throw",p.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var g=f(h,E.iterator,p.arg);if(g.type==="throw")return p.method="throw",p.arg=g.arg,p.delegate=null,y;var w=g.arg;if(!w)return p.method="throw",p.arg=new TypeError("iterator result is not an object"),p.delegate=null,y;if(w.done)p[E.resultName]=w.value,p.next=E.nextLoc,p.method!=="return"&&(p.method="next",p.arg=a);else return w;return p.delegate=null,y}U(N),c(N,l,"Generator"),c(N,o,function(){return this}),c(N,"toString",function(){return"[object Generator]"});function H(E){var p={tryLoc:E[0]};1 in E&&(p.catchLoc=E[1]),2 in E&&(p.finallyLoc=E[2],p.afterLoc=E[3]),this.tryEntries.push(p)}function x(E){var p=E.completion||{};p.type="normal",delete p.arg,E.completion=p}function _(E){this.tryEntries=[{tryLoc:"root"}],E.forEach(H,this),this.reset(!0)}r.keys=function(E){var p=[];for(var h in E)p.push(h);return p.reverse(),function g(){for(;p.length;){var w=p.pop();if(w in E)return g.value=w,g.done=!1,g}return g.done=!0,g}};function F(E){if(E){var p=E[o];if(p)return p.call(E);if(typeof E.next=="function")return E;if(!isNaN(E.length)){var h=-1,g=function w(){for(;++h<E.length;)if(i.call(E,h))return w.value=E[h],w.done=!1,w;return w.value=a,w.done=!0,w};return g.next=g}}return{next:G}}r.values=F;function G(){return{value:a,done:!0}}return _.prototype={constructor:_,reset:function(E){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(x),!E)for(var p in this)p.charAt(0)==="t"&&i.call(this,p)&&!isNaN(+p.slice(1))&&(this[p]=a)},stop:function(){this.done=!0;var E=this.tryEntries[0],p=E.completion;if(p.type==="throw")throw p.arg;return this.rval},dispatchException:function(E){if(this.done)throw E;var p=this;function h(W,V){return T.type="throw",T.arg=E,p.next=W,V&&(p.method="next",p.arg=a),!!V}for(var g=this.tryEntries.length-1;g>=0;--g){var w=this.tryEntries[g],T=w.completion;if(w.tryLoc==="root")return h("end");if(w.tryLoc<=this.prev){var D=i.call(w,"catchLoc"),C=i.call(w,"finallyLoc");if(D&&C){if(this.prev<w.catchLoc)return h(w.catchLoc,!0);if(this.prev<w.finallyLoc)return h(w.finallyLoc)}else if(D){if(this.prev<w.catchLoc)return h(w.catchLoc,!0)}else if(C){if(this.prev<w.finallyLoc)return h(w.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(E,p){for(var h=this.tryEntries.length-1;h>=0;--h){var g=this.tryEntries[h];if(g.tryLoc<=this.prev&&i.call(g,"finallyLoc")&&this.prev<g.finallyLoc){var w=g;break}}w&&(E==="break"||E==="continue")&&w.tryLoc<=p&&p<=w.finallyLoc&&(w=null);var T=w?w.completion:{};return T.type=E,T.arg=p,w?(this.method="next",this.next=w.finallyLoc,y):this.complete(T)},complete:function(E,p){if(E.type==="throw")throw E.arg;return E.type==="break"||E.type==="continue"?this.next=E.arg:E.type==="return"?(this.rval=this.arg=E.arg,this.method="return",this.next="end"):E.type==="normal"&&p&&(this.next=p),y},finish:function(E){for(var p=this.tryEntries.length-1;p>=0;--p){var h=this.tryEntries[p];if(h.finallyLoc===E)return this.complete(h.completion,h.afterLoc),x(h),y}},catch:function(E){for(var p=this.tryEntries.length-1;p>=0;--p){var h=this.tryEntries[p];if(h.tryLoc===E){var g=h.completion;if(g.type==="throw"){var w=g.arg;x(h)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(E,p,h){return this.delegate={iterator:F(E),resultName:p,nextLoc:h},this.method==="next"&&(this.arg=a),y}},r})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(ui);var X=ui.exports,ve="function",ce="undefined",Ve="reducer",ci="@@redux/",Zt=ci+"INIT",ls=ci+Math.random().toString(36),Br=(function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===ve&&Symbol.observable||"@@observable"})(),Xe=" != "+ve;function li(e,t,r){if(Q(t)===ve&&Q(r)===ce&&(r=t,t=void 0),Q(r)!==ce){if(Q(r)!==ve)throw new Error("enhancer"+Xe);return r(li)(e,t)}if(Q(e)!==ve)throw new Error(Ve+Xe);var n=e,i=t,a=[],s=a,o=!1;function u(){s===a&&(s=a.slice())}function l(){return i}function c(v){if(Q(v)!==ve)throw new Error("Listener"+Xe);var O=!0;return u(),s.push(v),function(){if(O){O=!1,u();var y=s.indexOf(v);s.splice(y,1)}}}function m(v){if(!ne(v))throw new Error("Act != obj");if(Q(v.type)===ce)throw new Error("ActType "+ce);if(o)throw new Error("Dispatch in "+Ve);try{o=!0,i=n(i,v)}finally{o=!1}for(var O=a=s,b=0;b<O.length;b++){var y=O[b];y()}return v}function f(v){if(Q(v)!==ve)throw new Error("next "+Ve+Xe);n=v,m({type:Zt})}function S(){var v=c;return me({subscribe:function(b){if(Q(b)!=="object")throw new TypeError("Observer != obj");function y(){b.next&&b.next(l())}y();var d=v(y);return{unsubscribe:d}}},Br,function(){return this})}return m({type:Zt}),me({dispatch:m,subscribe:c,getState:l,replaceReducer:f},Br,S)}function fs(e,t){var r=t&&t.type,n=r&&r.toString()||"?";return"action "+n+Ve+" "+e+" returns "+ce}function ds(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Zt});if(Q(n)===ce||Q(r(void 0,{type:ls}))===ce)throw new Error(Ve+" "+t+" "+ce)})}function ps(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];Q(e[i])===ve&&(r[i]=e[i])}var a=Object.keys(r),s;try{ds(r)}catch(o){s=o}return function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;if(s)throw s;for(var c=!1,m={},f=0;f<a.length;f++){var S=a[f],v=r[S],O=u[S],b=v(O,l);if(Q(b)===ce){var y=fs(S,l);throw new Error(y)}m[S]=b,c=c||b!==O}return c?m:u}}function De(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function gs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(i,a,s){var o=n(i,a,s),u=o.dispatch,l=[],c={getState:o.getState,dispatch:function(f){return u(f)}};return l=t.map(function(m){return m(c)}),u=De.apply(void 0,We(l))(o.dispatch),I(I({},o),{},{dispatch:u})}}}var be=He+"anon_id",Ee=He+"user_id",Re=He+"user_traits",er="analytics",he="userId",je="anonymousId",hs="https://lytics.dev/errors/",ot=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],tr=["name","EVENTS","config","loaded"],ms={registerPluginType:function(t){return"registerPlugin:".concat(t)},pluginReadyType:function(t){return"ready:".concat(t)}},vs=ot.reduce(function(e,t){return e[t]=t,e},ms),$=vs;function ys(e){return ot.includes(e)}var qr=/^utm_/,Yr=/^an_prop_/,Jr=/^an_trait_/;function bs(e){var t=e.storage.setItem;return function(r){return function(n){return function(i){if(i.type===$.bootstrap){var a=i.params,s=i.user,o=i.persistedUser,u=i.initialUser,l=o.userId===s.userId;o.anonymousId!==s.anonymousId&&t(be,s.anonymousId),l||t(Ee,s.userId),u.traits&&t(Re,I(I({},l&&o.traits?o.traits:{}),u.traits));var c=Object.keys(i.params);if(c.length){var m=a.an_uid,f=a.an_event,S=c.reduce(function(v,O){if(O.match(qr)||O.match(/^(d|g)clid/)){var b=O.replace(qr,""),y=b==="campaign"?"name":b;v.campaign[y]=a[O]}return O.match(Yr)&&(v.props[O.replace(Yr,"")]=a[O]),O.match(Jr)&&(v.traits[O.replace(Jr,"")]=a[O]),v},{campaign:{},props:{},traits:{}});r.dispatch(I(I({type:$.params,raw:a},S),m?{userId:m}:{})),m&&setTimeout(function(){return e.identify(m,S.traits)},0),f&&setTimeout(function(){return e.track(f,S.props)},0),Object.keys(S.campaign).length&&r.dispatch({type:$.campaign,campaign:S.campaign})}}return n(i)}}}}function ws(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===$.setItemEnd){if(n.key===be)return I(I({},r),{anonymousId:n.value});if(n.key===Ee)return I(I({},r),{userId:n.value})}switch(n.type){case $.identify:return Object.assign({},r,{userId:n.userId,traits:I(I({},r.traits),n.traits)});case $.reset:return[Ee,be,Re].forEach(function(i){e.removeItem(i)}),Object.assign({},r,{userId:null,anonymousId:null,traits:{}});default:return r}}}function fi(e){return{userId:e.getItem(Ee),anonymousId:e.getItem(be),traits:e.getItem(Re)}}var Sr=function(t){return He+"TEMP"+He+t};function Ss(e){return function(r,n,i){var a=n.getState("user")[r];if(a)return a;if(i&&ne(i)&&i[r])return i[r];var s=fi(e)[r];return s||pe(Sr(r))||null}}function Es(e){var t=e.storage,r=t.setItem,n=t.removeItem,i=t.getItem;return function(a){return function(s){return function(o){var u=o.userId,l=o.traits,c=o.options;if(o.type===$.reset&&([Ee,Re,be].forEach(function(S){n(S)}),[he,je,"traits"].forEach(function(S){Pe(Sr(S))})),o.type===$.identify){i(be)||r(be,Ie());var m=i(Ee),f=i(Re)||{};m&&m!==u&&a.dispatch({type:$.userIdChanged,old:{userId:m,traits:f},new:{userId:u,traits:l},options:c}),u&&r(Ee,u),l&&r(Re,I(I({},f),l))}return s(o)}}}}var Ue={};function di(e,t){Ue[e]&&oe(Ue[e])&&(Ue[e](t),delete Ue[e])}function pi(e,t,r){return new Promise(function(n,i){return t()?n(e):r<1?i(I(I({},e),{},{queue:!0})):As(10).then(function(a){return pi(e,t,r-10).then(n,i)})})}function As(e){return new Promise(function(t){return setTimeout(t,e)})}function gi(e,t,r){var n=t(),i=e.getState(),a=i.plugins,s=i.context,o=i.queue,u=i.user,l=!s.offline;if(l&&o&&o.actions&&o.actions.length){var c=o.actions.reduce(function(f,S,v){var O=a[S.plugin].loaded;return O?(f.process.push(S),f.processIndex.push(v)):(f.requeue.push(S),f.requeueIndex.push(v)),f},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(c.processIndex&&c.processIndex.length){c.processIndex.forEach(function(f){var S=o.actions[f],v=S.plugin,O=S.payload.type,b=n[v][O];if(b&&oe(b)){var y=Is(S.payload,u);b({payload:y,config:a[v].config,instance:r});var d="".concat(O,":").concat(v);e.dispatch(I(I({},y),{},{type:d,_:{called:d,from:"queueDrain"}}))}});var m=o.actions.filter(function(f,S){return!~c.processIndex.indexOf(S)});o.actions=m}}}function Os(e,t,r){return setInterval(function(){return gi(e,t,r)},3e3)}function Is(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[he,je].reduce(function(r,n){return e.hasOwnProperty(n)&&t[n]&&t[n]!==e[n]&&(r[n]=t[n]),r},e)}function Ps(e){if(Array.isArray(e))return e}function Ts(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,s,o;try{for(r=r.call(e);!(i=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));i=!0);}catch(u){a=!0,o=u}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw o}}return n}}function js(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ns(e,t){return Ps(e)||Ts(e,t)||oi(e,t)||js()}function Rs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(n){var i=r.plugins||{};return is(i[n])?i[n]:!(i.all===!1||t[n]&&t[n].enabled===!1)}).map(function(n){return e[n]})}var Me=/Start$/,Xr=/^bootstrap/,Qr=/^ready/;function ks(e,t,r,n,i){return rr.apply(this,arguments)}function rr(){return rr=ue(X.mark(function e(t,r,n,i,a){var s,o,u,l,c,m,f,S,v,O,b;return X.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(s=oe(r)?r():r,o=t.type,u=o.replace(Me,""),!(t._&&t._.called)){d.next=5;break}return d.abrupt("return",t);case 5:return l=n.getState(),c=Rs(s,l.plugins,t.options),o===$.initializeStart&&t.fromEnable&&(c=Object.keys(l.plugins).filter(function(P){var A=l.plugins[P];return t.plugins.includes(P)&&!A.initialized}).map(function(P){return s[P]})),m=c.map(function(P){return P.name}),f=xs(o,c),d.next=12,At({action:t,data:{exact:f.before,namespaced:f.beforeNS},state:l,allPlugins:s,allMatches:f,instance:n,store:i,EVENTS:a});case 12:if(S=d.sent,!hi(S,m.length)){d.next=15;break}return d.abrupt("return",S);case 15:if(o!==u){d.next=19;break}v=S,d.next=22;break;case 19:return d.next=21,At({action:I(I({},S),{},{type:u}),data:{exact:f.during,namespaced:f.duringNS},state:l,allPlugins:s,allMatches:f,instance:n,store:i,EVENTS:a});case 21:v=d.sent;case 22:if(!o.match(Me)){d.next=28;break}return O="".concat(u,"End"),d.next=26,At({action:I(I({},v),{},{type:O}),data:{exact:f.after,namespaced:f.afterNS},state:l,allPlugins:s,allMatches:f,instance:n,store:i,EVENTS:a});case 26:b=d.sent,b.meta&&b.meta.hasCallback&&di(b.meta.rid,{payload:b});case 28:return d.abrupt("return",S);case 29:case"end":return d.stop()}},e)})),rr.apply(this,arguments)}function At(e){return nr.apply(this,arguments)}function nr(){return nr=ue(X.mark(function e(t){var r,n,i,a,s,o,u,l,c,m,f,S,v,O,b,y,d,P;return X.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return r=t.data,n=t.action,i=t.instance,a=t.state,s=t.allPlugins,o=t.allMatches,u=t.store,l=t.EVENTS,c=a.plugins,m=a.context,f=n.type,S=f.match(Me),v=r.exact.map(function(k){return k.pluginName}),S&&(v=o.during.map(function(k){return k.pluginName})),O=Ds(i,v),b=r.exact.reduce(function(k,R){var N=R.pluginName,U=R.methodName,M=!1;return!U.match(/^initialize/)&&!U.match(/^reset/)&&(M=!c[N].loaded),m.offline&&U.match(/^(page|track|identify)/)&&(M=!0),k["".concat(N)]=M,k},{}),j.next=10,r.exact.reduce((function(){var k=ue(X.mark(function R(N,U,M){var L,z,H;return X.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return L=U.pluginName,_.next=3,N;case 3:if(z=_.sent,!(r.namespaced&&r.namespaced[L])){_.next=11;break}return _.next=7,r.namespaced[L].reduce((function(){var F=ue(X.mark(function G(E,p,h){var g,w,T,D;return X.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return w=function(q,K,B){return function(Y,Ye){var Te=B||K;return I(I({},q),{},{abort:{reason:Y,plugins:Ye||[K],caller:f,from:Te}})}},W.next=3,E;case 3:if(g=W.sent,!(!p.method||!oe(p.method))){W.next=6;break}return W.abrupt("return",g);case 6:return _s(p.methodName,p.pluginName),W.next=9,p.method({payload:g,instance:i,abort:w(g,L,p.pluginName),config:Zr(p.pluginName,c,s),plugins:c});case 9:return T=W.sent,D=ne(T)?T:{},W.abrupt("return",Promise.resolve(I(I({},g),D)));case 12:case"end":return W.stop()}},G)}));return function(G,E,p){return F.apply(this,arguments)}})(),Promise.resolve(n));case 7:H=_.sent,z[L]=H,_.next=12;break;case 11:z[L]=n;case 12:return _.abrupt("return",Promise.resolve(z));case 13:case"end":return _.stop()}},R)}));return function(R,N,U){return k.apply(this,arguments)}})(),Promise.resolve({}));case 10:return y=j.sent,j.next=13,r.exact.reduce((function(){var k=ue(X.mark(function R(N,U,M){var L,z,H,x,_,F,G,E,p,h,g,w,T;return X.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return L=r.exact.length===M+1,z=U.pluginName,H=s[z],C.next=5,N;case 5:if(x=C.sent,_=y[z]?y[z]:{},S&&(_=x),!It(_,z)){C.next=11;break}return Ot({data:_,method:f,instance:i,pluginName:z,store:u}),C.abrupt("return",Promise.resolve(x));case 11:if(!It(x,z)){C.next=14;break}return L&&Ot({data:x,method:f,instance:i,store:u}),C.abrupt("return",Promise.resolve(x));case 14:if(!(b.hasOwnProperty(z)&&b[z]===!0)){C.next=17;break}return u.dispatch({type:"queue",plugin:z,payload:_,_:{called:"queue",from:"queueMechanism"}}),C.abrupt("return",Promise.resolve(x));case 17:return F=O(y[z],s[z]),C.next=20,H[f]({abort:F.abort,payload:_,instance:i,config:Zr(z,c,s),plugins:c});case 20:return G=C.sent,E=ne(G)?G:{},p=I(I({},x),E),h=y[z],It(h,z)?Ot({data:h,method:f,instance:i,pluginName:z,store:u}):(g="".concat(f,":").concat(z),w=(g.match(/:/g)||[]).length,w<2&&!f.match(Xr)&&!f.match(Qr)&&(T=S?p:_,i.dispatch(I(I({},T),{},{type:g,_:{called:g,from:"submethod"}})))),C.abrupt("return",Promise.resolve(p));case 26:case"end":return C.stop()}},R)}));return function(R,N,U){return k.apply(this,arguments)}})(),Promise.resolve(n));case 13:if(d=j.sent,!(!f.match(Me)&&!f.match(/^registerPlugin/)&&!f.match(Qr)&&!f.match(Xr)&&!f.match(/^params/)&&!f.match(/^userIdChanged/))){j.next=21;break}if(l.plugins.includes(f),!(d._&&d._.originalAction===f)){j.next=18;break}return j.abrupt("return",d);case 18:P=I(I({},d),{_:{originalAction:d.type,called:d.type,from:"engineEnd"}}),hi(d,r.exact.length)&&!f.match(/End$/)&&(P=I(I({},P),{type:d.type+"Aborted"})),u.dispatch(P);case 21:return j.abrupt("return",d);case 22:case"end":return j.stop()}},e)})),nr.apply(this,arguments)}function Ot(e){var t=e.data,r=e.method;e.instance;var n=e.pluginName,i=e.store,a=n?":"+n:"",s=r+"Aborted"+a;i.dispatch(I(I({},t),{},{type:s,_:{called:s,from:"abort"}}))}function Zr(e,t,r){var n=t[e]||r[e];return n&&n.config?n.config:{}}function en(e,t){return t.reduce(function(r,n){return n[e]?r.concat({methodName:e,pluginName:n.name,method:n[e]}):r},[])}function Cs(e){return e.replace(Me,"")}function tn(e,t){var r=Cs(e),n=t?":".concat(t):"",i="".concat(e).concat(n),a="".concat(r).concat(n),s="".concat(r,"End").concat(n);return[i,a,s]}function xs(e,t,r){var n=tn(e),i=n.map(function(a){return en(a,t)});return t.reduce(function(a,s){var o=s.name,u=tn(e,o),l=u.map(function(v){return en(v,t)}),c=Ns(l,3),m=c[0],f=c[1],S=c[2];return m.length&&(a.beforeNS[o]=m),f.length&&(a.duringNS[o]=f),S.length&&(a.afterNS[o]=S),a},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function It(e,t){var r=e.abort;return r?r===!0?!0:rn(r,t)||r&&rn(r.plugins,t):!1}function hi(e,t){var r=e.abort;if(!r)return!1;if(r===!0||tt(r))return!0;var n=r.plugins;return Fe(r)&&r.length===t||Fe(n)&&n.length===t}function Fe(e){return Array.isArray(e)}function rn(e,t){return!e||!Fe(e)?!1:e.includes(t)}function Ds(e,t){return function(r,n,i){var a=n.config,s=n.name,o="".concat(s,".").concat(r.type);i&&(o=i.event);var u=r.type.match(Me)?Ms(s,o,t,i,r):$s(r,o);return{payload:Us(r),instance:e,config:a||{},abort:u}}}function Ms(e,t,r,n,i){return function(a,s){var o=n?n.name:e,u=s&&Fe(s)?s:r;if(n&&(u=s&&Fe(s)?s:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return I(I({},i),{},{abort:{reason:a,plugins:u,caller:t,_:o}})}}function $s(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function _s(e,t){var r=nn(e),n=r&&r.name===t;if(n){var i=nn(r.method),a=i?"or "+i.method:"";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(`
7
7
  `))}}function nn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function Us(e){return Object.keys(e).reduce(function(t,r){return r==="type"||(ne(e[r])?t[r]=Object.assign({},e[r]):t[r]=e[r]),t},{})}function Ls(e,t,r){var n={};return function(i){return function(a){return(function(){var s=ue(X.mark(function o(u){var l,c,m,f,S,v,O,b,y,d,P,A;return X.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(l=u.type,c=u.abort,m=u.plugins,f=u,!c){k.next=4;break}return k.abrupt("return",a(u));case 4:if(l===$.enablePlugin&&i.dispatch({type:$.initializeStart,plugins:m,disabled:[],fromEnable:!0,meta:u.meta}),l===$.disablePlugin&&setTimeout(function(){return di(u.meta.rid,{payload:u})},0),l===$.initializeEnd&&(S=t(),v=Object.keys(S),O=v.filter(function(R){return m.includes(R)}).map(function(R){return S[R]}),b=[],y=[],d=u.disabled,P=O.map(function(R){var N=R.loaded,U=R.name;return pi(R,N,1e4).then(function(M){return n[U]||(i.dispatch({type:$.pluginReadyType(U),name:U,events:Object.keys(R).filter(function(L){return!tr.includes(L)})}),n[U]=!0),b=b.concat(U),R}).catch(function(M){if(M instanceof Error)throw new Error(M);return y=y.concat(M.name),M})}),Promise.all(P).then(function(R){var N={plugins:b,failed:y,disabled:d};setTimeout(function(){v.length===P.length+d.length&&i.dispatch(I(I({},{type:$.ready}),N))},0)})),l===$.bootstrap){k.next=13;break}return/^ready:([^:]*)$/.test(l)&&setTimeout(function(){return gi(i,t,e)},0),k.next=11,ks(u,t,e,i,r);case 11:return A=k.sent,k.abrupt("return",a(A));case 13:return k.abrupt("return",a(f));case 14:case"end":return k.stop()}},o)}));return function(o){return s.apply(this,arguments)}})()}}}function zs(e){return function(t){return function(r){return function(n){var i=n.type,a=n.key,s=n.value,o=n.options;if(i===$.setItem||i===$.removeItem){if(n.abort)return r(n);i===$.setItem?e.setItem(a,s,o):e.removeItem(a,o)}return r(n)}}}}function Ws(e,t,r){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Vs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Gs=Ws(function e(){var t=this;Vs(this,e),me(this,"before",[]),me(this,"after",[]),me(this,"addMiddleware",function(r,n){t[n]=t[n].concat(r)}),me(this,"removeMiddleware",function(r,n){var i=t[n].findIndex(function(a){return a===r});i!==-1&&(t[n]=[].concat(We(t[n].slice(0,i)),We(t[n].slice(i+1))))}),me(this,"dynamicMiddlewares",function(r){return function(n){return function(i){return function(a){var s={getState:n.getState,dispatch:function(l){return n.dispatch(l)}},o=t[r].map(function(u){return u(s)});return De.apply(void 0,We(o))(i)(a)}}}})});function Hs(e){return function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i={};if(n.type==="initialize:aborted")return r;if(/^registerPlugin:([^:]*)$/.test(n.type)){var a=an(n.type,"registerPlugin"),s=e()[a];if(!s||!a)return r;var o=n.enabled;return i[a]={enabled:o,initialized:o?!s.initialize:!1,loaded:o?!!s.loaded():!1,config:s.config||{}},I(I({},r),i)}if(/^initialize:([^:]*)$/.test(n.type)){var u=an(n.type,$.initialize),l=e()[u];return!l||!u?r:(i[u]=I(I({},r[u]),{initialized:!0,loaded:!!l.loaded()}),I(I({},r),i))}if(/^ready:([^:]*)$/.test(n.type))return i[n.name]=I(I({},r[n.name]),{loaded:!0}),I(I({},r),i);switch(n.type){case $.disablePlugin:return I(I({},r),sn(n.plugins,!1,r));case $.enablePlugin:return I(I({},r),sn(n.plugins,!0,r));default:return r}}}function an(e,t){return e.substring(t.length+1,e.length)}function sn(e,t,r){return e.reduce(function(n,i){return n[i]=I(I({},r[i]),{enabled:t}),n},r)}function mi(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var Fs={last:{},history:[]};function Ks(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Fs,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.event,i=t.properties,a=t.options,s=t.meta;switch(r){case $.track:var o=mi(I(I({event:n,properties:i},Object.keys(a).length&&{options:a}),{},{meta:s}));return I(I({},e),{last:o,history:e.history.concat(o)});default:return e}}var Bs={actions:[]};function qs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Bs,t=arguments.length>1?arguments[1]:void 0,r=t.type,n=t.payload;switch(r){case"queue":var i;return n&&n.type&&n.type===$.identify?i=[t].concat(e.actions):i=e.actions.concat(t),I(I({},e),{},{actions:i});case"dequeue":return[];default:return e}}var vi=/#.*$/;function Ys(){if(de){for(var e=document.getElementsByTagName("link"),t=0,r;r=e[t];t++)if(r.getAttribute("rel")==="canonical")return r.getAttribute("href")}}function Js(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,r=t.exec(e),n=r&&r[3]?r[3].split("?")[0].replace(vi,""):"";return"/"+n}function Xs(e){var t=Ys();return t?t.match(/\?/)?t:t+e:window.location.href.replace(vi,"")}var Qs=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!de)return t;var r=document,n=r.title,i=r.referrer,a=window,s=a.location,o=a.innerWidth,u=a.innerHeight,l=s.hash,c=s.search,m=Xs(c),f={title:n,url:m,path:Js(m),hash:l,search:c,width:o,height:u};return i&&i!==""&&(f.referrer=i),I(I({},f),t)},Zs={last:{},history:[]};function eo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zs,t=arguments.length>1?arguments[1]:void 0,r=t.properties,n=t.options,i=t.meta;switch(t.type){case $.page:var a=mi(I({properties:r,meta:i},Object.keys(n).length&&{options:n}));return I(I({},e),{last:a,history:e.history.concat(a)});default:return e}}function to(){if(!de)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var yi,bi,wi,Si;yi=to(),bi=de?document.referrer:null,wi=es(),Si=ts();var on={initialized:!1,sessionId:Ie(),app:null,version:null,debug:!1,offline:de?!navigator.onLine:!1,os:{name:yi},userAgent:de?navigator.userAgent:"node",library:{name:er,version:"0.10.22"},timezone:Si,locale:wi,campaign:{},referrer:bi};function ro(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:on,t=arguments.length>1?arguments[1]:void 0,r=e.initialized,n=t.type,i=t.campaign;switch(n){case $.campaign:return I(I({},e),{campaign:i});case $.offline:return I(I({},e),{offline:!0});case $.online:return I(I({},e),{offline:!1});default:return r?e:I(I(I({},on),e),{initialized:!0})}}var no=["plugins","reducers","storage"];function io(e){return Object.keys(e).reduce(function(t,r){return no.includes(r)||(t[r]=e[r]),t},{})}function ao(e,t,r){if(de){var n=window[(r?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){n(i,t)})}}function so(){return Promise.resolve(!navigator.onLine)}function oo(e){var t=function(i){return so().then(e)},r=ao.bind(null,"online offline",t);return r(!0),function(n){return r(!1)}}function Ei(){return fe(er,[]),function(e){return function(t,r,n){var i=e(t,r,n),a=i.dispatch,s=function(u){var l=u.action||u;return xe[Ce][er].push(l),a(u)};return Object.assign(i,{dispatch:s})}}}function un(e){return function(){return De(De.apply(null,arguments),Ei())}}function Pt(e){return e?as(e)?e:[e]:[]}function uo(e){for(var t=e||Array.prototype.slice.call(arguments),r,n=0;n<t.length;n++)if(oe(t[n])){r=t[n];break}return r}function co(){return new Date().getTime()}function lo(e,t){return function(r){t&&t(r),e(r)}}function cn(){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=Ie();return t&&(Ue[n]=lo(t,uo(r))),I(I({},e),{},{rid:n,ts:co()},t?{hasCallback:!0}:{})}function fo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},r=e.initialUser||{},n=(e.plugins||[]).reduce(function(h,g){if(oe(g))return h.middlewares=h.middlewares.concat(g),h;if(g.NAMESPACE&&(g.name=g.NAMESPACE),!g.name)throw new Error(hs+"1");var w=g.EVENTS?Object.keys(g.EVENTS).map(function(q){return g.EVENTS[q]}):[],T=g.enabled!==!1,D=!(g.config&&g.config.enabled===!1);h.pluginEnabled[g.name]=T&&D,delete g.enabled,g.methods&&(h.methods[g.name]=Object.keys(g.methods).reduce(function(q,K){return q[K]=p(g.methods[K]),q},{}),delete g.methods);var C=Object.keys(g),W=C.concat(w),V=new Set(h.events.concat(W));if(h.events=Array.from(V),h.pluginsArray=h.pluginsArray.concat(g),h.plugins[g.name])throw new Error(g.name+"AlreadyLoaded");return h.plugins[g.name]=g,h.plugins[g.name].loaded||(h.plugins[g.name].loaded=function(){return!0}),h},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:pe,setItem:fe,removeItem:Pe},a=Ss(i),s=n.plugins,o=n.events.filter(function(h){return!tr.includes(h)}).sort(),u=new Set(o.concat(ot).filter(function(h){return!tr.includes(h)})),l=Array.from(u).sort(),c=function(){return s},m=new Gs,f=m.addMiddleware,S=m.removeMiddleware,v=m.dynamicMiddlewares,O=function(){throw new Error("Abort disabled inListener")},b=rs(),y=fi(i),d=I(I(I(I({},y),r),b.an_uid?{userId:b.an_uid}:{}),b.an_aid?{anonymousId:b.an_aid}:{});d.anonymousId||(d.anonymousId=Ie());var P=I({enable:function(g,w){return new Promise(function(T){x.dispatch({type:$.enablePlugin,plugins:Pt(g),_:{originalAction:$.enablePlugin}},T,[w])})},disable:function(g,w){return new Promise(function(T){x.dispatch({type:$.disablePlugin,plugins:Pt(g),_:{originalAction:$.disablePlugin}},T,[w])})}},n.methods),A={identify:(function(){var h=ue(X.mark(function w(T,D,C,W){var V,q,K,B,Y;return X.wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return V=tt(T)?T:null,q=ne(T)?T:D,K=C||{},B=A.user(),fe(Sr(he),V),Y=V||q.userId||a(he,A,q),Te.abrupt("return",new Promise(function(Yi){x.dispatch(I({type:$.identifyStart,userId:Y,traits:q||{},options:K,anonymousId:B.anonymousId},B.id&&B.id!==V&&{previousId:B.id}),Yi,[D,C,W])}));case 7:case"end":return Te.stop()}},w)}));function g(w,T,D,C){return h.apply(this,arguments)}return g})(),track:(function(){var h=ue(X.mark(function w(T,D,C,W){var V,q,K;return X.wrap(function(Y){for(;;)switch(Y.prev=Y.next){case 0:if(V=ne(T)?T.event:T,!(!V||!tt(V))){Y.next=3;break}throw new Error("EventMissing");case 3:return q=ne(T)?T:D||{},K=ne(C)?C:{},Y.abrupt("return",new Promise(function(Ye){x.dispatch({type:$.trackStart,event:V,properties:q,options:K,userId:a(he,A,D),anonymousId:a(je,A,D)},Ye,[D,C,W])}));case 6:case"end":return Y.stop()}},w)}));function g(w,T,D,C){return h.apply(this,arguments)}return g})(),page:(function(){var h=ue(X.mark(function w(T,D,C){var W,V;return X.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return W=ne(T)?T:{},V=ne(D)?D:{},K.abrupt("return",new Promise(function(B){x.dispatch({type:$.pageStart,properties:Qs(W),options:V,userId:a(he,A,W),anonymousId:a(je,A,W)},B,[T,D,C])}));case 3:case"end":return K.stop()}},w)}));function g(w,T,D){return h.apply(this,arguments)}return g})(),user:function(g){if(g===he||g==="id")return a(he,A);if(g===je||g==="anonId")return a(je,A);var w=A.getState("user");return g?Wr(w,g):w},reset:function(g){return new Promise(function(w){x.dispatch({type:$.resetStart},w,g)})},ready:function(g){return A.on($.ready,g)},on:function(g,w){if(!g||!oe(w))return!1;if(g===$.bootstrap)throw new Error(".on disabled for "+g);var T=/Start$|Start:/;if(g==="*"){var D=function(K){return function(B){return function(Y){return Y.type.match(T)&&w({payload:Y,instance:A,plugins:s}),B(Y)}}},C=function(K){return function(B){return function(Y){return Y.type.match(T)||w({payload:Y,instance:A,plugins:s}),B(Y)}}};return f(D,Qe),f(C,Ze),function(){S(D,Qe),S(C,Ze)}}var W=g.match(T)?Qe:Ze,V=function(K){return function(B){return function(Y){return Y.type===g&&w({payload:Y,instance:A,plugins:s,abort:O}),B(Y)}}};return f(V,W),function(){return S(V,W)}},once:function(g,w){if(!g||!oe(w))return!1;if(g===$.bootstrap)throw new Error(".once disabled for "+g);var T=A.on(g,function(D){var C=D.payload;w({payload:C,instance:A,plugins:s,abort:O}),T()});return T},getState:function(g){var w=x.getState();return g?Wr(w,g):Object.assign({},w)},dispatch:function(g){var w=tt(g)?{type:g}:g;if(ys(w.type))throw new Error("reserved action "+w.type);var T=g._||{},D=I(I({},w),{},{_:I({originalAction:w.type},T)});x.dispatch(D)},enablePlugin:P.enable,disablePlugin:P.disable,plugins:P,storage:{getItem:i.getItem,setItem:function(g,w,T){x.dispatch({type:$.setItemStart,key:g,value:w,options:T})},removeItem:function(g,w){x.dispatch({type:$.removeItemStart,key:g,options:w})}},setAnonymousId:function(g,w){A.storage.setItem(be,g,w)},events:{all:l,core:ot,plugins:o}},j=function(g){return function(w){return function(T){return T.meta||(T.meta=cn()),w(T)}}},k=n.middlewares.concat([j,v(Qe),Ls(A,c,{all:l,plugins:o}),zs(i),bs(A),Es(A),v(Ze)]),R={context:ro,user:ws(i),page:eo,track:Ks,plugins:Hs(c),queue:qs},N=De,U=De;if(de&&e.debug){var M=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;M&&(N=M({trace:!0,traceLimit:25})),U=function(){return arguments.length===0?Ei():ne(Q(arguments[0]))?un():un().apply(null,arguments)}}var L=io(e),z=n.pluginsArray.reduce(function(h,g){var w=g.name,T=g.config,D=g.loaded,C=n.pluginEnabled[w];return h[w]={enabled:C,initialized:C?!g.initialize:!1,loaded:!!D(),config:T||{}},h},{}),H={context:L,user:d,plugins:z},x=li(ps(I(I({},R),t)),H,U(N(gs.apply(void 0,We(k)))));function _(h){return function(g,w,T){var D=cn(g.meta,w,Pt(T)),C=I(I({},g),{meta:D});return h.apply(null,[C])}}x.dispatch=_(x.dispatch);var F=Object.keys(s);x.dispatch({type:$.bootstrap,plugins:F,config:L,params:b,user:d,initialUser:r,persistedUser:y});var G=F.filter(function(h){return n.pluginEnabled[h]}),E=F.filter(function(h){return!n.pluginEnabled[h]});x.dispatch({type:$.registerPlugins,plugins:F,enabled:n.pluginEnabled}),n.pluginsArray.map(function(h,g){var w=h.bootstrap,T=h.config,D=h.name;w&&oe(w)&&w({instance:A,config:T,payload:h}),x.dispatch({type:$.registerPluginType(D),name:D,enabled:n.pluginEnabled[D],plugin:h}),n.pluginsArray.length===g+1&&x.dispatch({type:$.initializeStart,plugins:G,disabled:E})}),oo(function(h){x.dispatch({type:h?$.offline:$.online})}),Os(x,c,A);function p(h){return function(){for(var g=Array.prototype.slice.call(arguments),w=new Array(h.length),T=0;T<g.length;T++)w[T]=g[T];return w[w.length]=A,h.apply({instance:A},w)}}return A}var Qe="before",Ze="after",Ae="cookie",we=Ii(),Er=gt,Ai=gt;function Oi(e){return we?gt(e,"",-1):Pe(e)}function Ii(){if(we!==void 0)return we;var e=Ae+Ae;try{gt(e,e),we=document.cookie.indexOf(e)!==-1,Oi(e)}catch{we=!1}return we}function gt(e,t,r,n,i,a){if(typeof window<"u"){var s=arguments.length>1;return we===!1&&(s?fe(e,t):pe(e)),s?document.cookie=e+"="+encodeURIComponent(t)+(r?"; expires="+new Date(+new Date+1e3*r).toUTCString()+(n?"; path="+n:"")+(i?"; domain="+i:"")+(a?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var le="localStorage",po=dt.bind(null,le),Ar=ge(le,"getItem",pe),go=ge(le,"setItem",fe),Pi=ge(le,"removeItem",Pe),Ge="sessionStorage",ho=dt.bind(null,"sessionStorage");ge("sessionStorage","getItem",pe);ge("sessionStorage","setItem",fe);ge("sessionStorage","removeItem",Pe);var ln,Ti="any",ji="*",ir=typeof process<"u"?process:{};(ln=ir.env)!=null&&ln.NODE_ENV;var mo=typeof window<"u";ir.versions!=null&&ir.versions.node!=null;typeof Deno<"u"&&Deno.core;mo&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ht(e,t){return typeof t===e}ht.bind(null,"function");var vo=ht.bind(null,"string"),Ne=ht.bind(null,"undefined");ht.bind(null,"boolean");function yo(e){return e&&(typeof e=="object"||e!==null)}function bo(e){if(!yo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ke(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(bo(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var wo=po(),So=ho(),Eo=Ii();function Ni(e,t){if(e){var r=Or(t),n=!jr(r),i=Ir(r)?ke(localStorage.getItem(e)):void 0;if(n&&!Ne(i))return i;var a=Pr(r)?ke(Er(e)):void 0;if(n&&a)return a;var s=Tr(r)?ke(sessionStorage.getItem(e)):void 0;if(n&&s)return s;var o=pe(e);return n?o:{localStorage:i,sessionStorage:s,cookie:a,global:o}}}function Ao(e,t,r){if(e&&!Ne(t)){var n={},i=Or(r),a=JSON.stringify(t),s=!jr(i);return Ir(i)&&(n[le]=et(le,t,ke(localStorage.getItem(e))),localStorage.setItem(e,a),s)?n[le]:Pr(i)&&(n[Ae]=et(Ae,t,ke(Er(e))),Ai(e,a),s)?n[Ae]:Tr(i)&&(n[Ge]=et(Ge,t,ke(sessionStorage.getItem(e))),sessionStorage.setItem(e,a),s)?n[Ge]:(n[Se]=et(Se,t,pe(e)),fe(e,t),s?n[Se]:n)}}function Oo(e,t){if(e){var r=Or(t),n=Ni(e,ji),i={};return!Ne(n.localStorage)&&Ir(r)&&(localStorage.removeItem(e),i[le]=n.localStorage),!Ne(n.cookie)&&Pr(r)&&(Oi(e),i[Ae]=n.cookie),!Ne(n.sessionStorage)&&Tr(r)&&(sessionStorage.removeItem(e),i[Ge]=n.sessionStorage),!Ne(n.global)&&mt(r,Se)&&(Pe(e),i[Se]=n.global),i}}function Or(e){return e?vo(e)?e:e.storage:Ti}function Ir(e){return wo&&mt(e,le)}function Pr(e){return Eo&&mt(e,Ae)}function Tr(e){return So&&mt(e,Ge)}function jr(e){return e===ji||e==="all"}function mt(e,t){return e===Ti||e===t||jr(e)}function et(e,t,r){return{location:e,current:t,previous:r}}var Io={setItem:Ao,getItem:Ni,removeItem:Oo};function Po(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function dn(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fn(Object(r),!0).forEach(function(n){Po(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function To(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:Io};return fo(dn(dn({},t),e))}function ie(e){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ie(e)}function jo(e,t){if(ie(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ie(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function No(e){var t=jo(e,"string");return ie(t)=="symbol"?t:t+""}function Nr(e,t,r){return(t=No(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Z(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pn(Object(r),!0).forEach(function(n){Nr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ri(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Tt={exports:{}},jt={exports:{}},gn;function ki(){return gn||(gn=1,(function(e){function t(r,n){this.v=r,this.k=n}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(jt)),jt.exports}var Nt={exports:{}},Rt={exports:{}},hn;function Ci(){return hn||(hn=1,(function(e){function t(r,n,i,a){var s=Object.defineProperty;try{s({},"",{})}catch{s=0}e.exports=t=function(u,l,c,m){function f(S,v){t(u,S,function(O){return this._invoke(S,v,O)})}l?s?s(u,l,{value:c,enumerable:!m,configurable:!m,writable:!m}):u[l]=c:(f("next",0),f("throw",1),f("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n,i,a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Rt)),Rt.exports}var mn;function xi(){return mn||(mn=1,(function(e){var t=Ci();function r(){var n,i,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",o=a.toStringTag||"@@toStringTag";function u(b,y,d,P){var A=y&&y.prototype instanceof c?y:c,j=Object.create(A.prototype);return t(j,"_invoke",(function(k,R,N){var U,M,L,z=0,H=N||[],x=!1,_={p:0,n:0,v:n,a:F,f:F.bind(n,4),d:function(E,p){return U=E,M=0,L=n,_.n=p,l}};function F(G,E){for(M=G,L=E,i=0;!x&&z&&!p&&i<H.length;i++){var p,h=H[i],g=_.p,w=h[2];G>3?(p=w===E)&&(L=h[(M=h[4])?5:(M=3,3)],h[4]=h[5]=n):h[0]<=g&&((p=G<2&&g<h[1])?(M=0,_.v=E,_.n=h[1]):g<w&&(p=G<3||h[0]>E||E>w)&&(h[4]=G,h[5]=E,_.n=w,M=0))}if(p||G>1)return l;throw x=!0,E}return function(G,E,p){if(z>1)throw TypeError("Generator is already running");for(x&&E===1&&F(E,p),M=E,L=p;(i=M<2?n:L)||!x;){U||(M?M<3?(M>1&&(_.n=-1),F(M,L)):_.n=L:_.v=L);try{if(z=2,U){if(M||(G="next"),i=U[G]){if(!(i=i.call(U,L)))throw TypeError("iterator result is not an object");if(!i.done)return i;L=i.value,M<2&&(M=0)}else M===1&&(i=U.return)&&i.call(U),M<2&&(L=TypeError("The iterator does not provide a '"+G+"' method"),M=1);U=n}else if((i=(x=_.n<0)?L:k.call(R,_))!==l)break}catch(h){U=n,M=1,L=h}finally{z=1}}return{value:i,done:x}}})(b,d,P),!0),j}var l={};function c(){}function m(){}function f(){}i=Object.getPrototypeOf;var S=[][s]?i(i([][s]())):(t(i={},s,function(){return this}),i),v=f.prototype=c.prototype=Object.create(S);function O(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,f):(b.__proto__=f,t(b,o,"GeneratorFunction")),b.prototype=Object.create(v),b}return m.prototype=f,t(v,"constructor",f),t(f,"constructor",m),m.displayName="GeneratorFunction",t(f,o,"GeneratorFunction"),t(v),t(v,o,"Generator"),t(v,s,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(e.exports=r=function(){return{w:u,m:O}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Nt)),Nt.exports}var kt={exports:{}},Ct={exports:{}},xt={exports:{}},vn;function Di(){return vn||(vn=1,(function(e){var t=ki(),r=Ci();function n(i,a){function s(u,l,c,m){try{var f=i[u](l),S=f.value;return S instanceof t?a.resolve(S.v).then(function(v){s("next",v,c,m)},function(v){s("throw",v,c,m)}):a.resolve(S).then(function(v){f.value=v,c(f)},function(v){return s("throw",v,c,m)})}catch(v){m(v)}}var o;this.next||(r(n.prototype),r(n.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),r(this,"_invoke",function(u,l,c){function m(){return new a(function(f,S){s(u,c,f,S)})}return o=o?o.then(m,m):m()},!0)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(xt)),xt.exports}var yn;function Mi(){return yn||(yn=1,(function(e){var t=xi(),r=Di();function n(i,a,s,o,u){return new r(t().w(i,a,s,o),u||Promise)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Ct)),Ct.exports}var bn;function Ro(){return bn||(bn=1,(function(e){var t=Mi();function r(n,i,a,s,o){var u=t(n,i,a,s,o);return u.next().then(function(l){return l.done?l.value:u.next()})}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(kt)),kt.exports}var Dt={exports:{}},wn;function ko(){return wn||(wn=1,(function(e){function t(r){var n=Object(r),i=[];for(var a in n)i.unshift(a);return function s(){for(;i.length;)if((a=i.pop())in n)return s.value=a,s.done=!1,s;return s.done=!0,s}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Dt)),Dt.exports}var Mt={exports:{}},$t={exports:{}},Sn;function Co(){return Sn||(Sn=1,(function(e){function t(r){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})($t)),$t.exports}var En;function xo(){return En||(En=1,(function(e){var t=Co().default;function r(n){if(n!=null){var i=n[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],a=0;if(i)return i.call(n);if(typeof n.next=="function")return n;if(!isNaN(n.length))return{next:function(){return n&&a>=n.length&&(n=void 0),{value:n&&n[a++],done:!n}}}}throw new TypeError(t(n)+" is not iterable")}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Mt)),Mt.exports}var An;function Do(){return An||(An=1,(function(e){var t=ki(),r=xi(),n=Ro(),i=Mi(),a=Di(),s=ko(),o=xo();function u(){var l=r(),c=l.m(u),m=(Object.getPrototypeOf?Object.getPrototypeOf(c):c.__proto__).constructor;function f(O){var b=typeof O=="function"&&O.constructor;return!!b&&(b===m||(b.displayName||b.name)==="GeneratorFunction")}var S={throw:1,return:2,break:3,continue:3};function v(O){var b,y;return function(d){b||(b={stop:function(){return y(d.a,2)},catch:function(){return d.v},abrupt:function(A,j){return y(d.a,S[A],j)},delegateYield:function(A,j,k){return b.resultName=j,y(d.d,o(A),k)},finish:function(A){return y(d.f,A)}},y=function(A,j,k){d.p=b.prev,d.n=b.next;try{return A(j,k)}finally{b.next=d.n}}),b.resultName&&(b[b.resultName]=d.v,b.resultName=void 0),b.sent=d.v,b.next=d.n;try{return O.call(this,b)}finally{d.p=b.prev,d.n=b.next}}}return(e.exports=u=function(){return{wrap:function(y,d,P,A){return l.w(v(y),d,P,A&&A.reverse())},isGeneratorFunction:f,mark:l.m,awrap:function(y,d){return new t(y,d)},AsyncIterator:a,async:function(y,d,P,A,j){return(f(d)?i:n)(v(y),d,P,A,j)},keys:s,values:o}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(Tt)),Tt.exports}var _t,On;function Mo(){if(On)return _t;On=1;var e=Do()();_t=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return _t}var $o=Mo(),J=Ri($o);function In(e,t,r,n,i,a,s){try{var o=e[a](s),u=o.value}catch(l){return void r(l)}o.done?t(u):Promise.resolve(u).then(n,i)}function se(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function s(u){In(a,n,i,s,o,"next",u)}function o(u){In(a,n,i,s,o,"throw",u)}s(void 0)})}}var Pn=function(){};function _o(e,t){var r,n,i,a=(t=t||{}).initial||[],s=t.max||1/0,o=t.interval||1e4,u=t.onEmpty||Pn,l=t.onPause||Pn;function c(f){clearInterval(r);var S=a.splice(0,s);return S.length&&e(S,a),a.length?f?c():m():(i=!1,u(a))}function m(){i=!0,r=setInterval(c,o)}return a.length&&m(),{flush:function(f){c(f)},resume:c,push:function(f){return(n=a.push(f))>=s&&!t.throttle&&c(),i||m(),n},size:function(){return a.length},pause:function(f){f&&c(),clearInterval(r),i=!1,l(a)}}}var vt="sessionStorage";dt.bind(null,vt);var Uo=ge(vt,"getItem",pe),Lo=ge(vt,"setItem",fe);ge(vt,"removeItem",Pe);var rt="__",yt="session",$i=rt+yt,_i="page",Tn=["id","createdAt","created"];function ar(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function Ui(){var e=ar(),t=e[0],r=e[1];return{id:Ie(),created:r,createdAt:t}}var zo={session:[Uo,Lo],page:[pe,fe]};function bt(e,t){for(var r=zo[e],n=r[0],i=r[1],a=Ui(),s=!1,o={},u=0;u<Tn.length;u++){var l=Tn[u],c=rt+e+rt+yt+rt+l,m=n(c);s=t||!m,(t||!t&&!m)&&i(c,a[l]);var f=m&&!t?m:a[l],S=l!=="created"?f:Number(f);o[l]=S}return Rr(o,s)}function Rr(e,t){var r=Date.now();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}function Ke(e,t){e===void 0&&(e=30);var r=Er($i),n=r?JSON.parse(r):ut(e);return t?n:Rr(n,!r)}function ut(e,t,r){e===void 0&&(e=30);var n=r?Ke(e,!0):Ui(),i=60*e,a=n.created;if(r){var s=ar(),o=s[0],u=s[1];n.modified=u,n.modifiedAt=o,a=u}var l=ar(a+1e3*i),c=l[0];return n.expires=l[1],n.expiresAt=c,n.duration=1e3*i,t&&(n=Object.assign(n,t)),Ai($i,JSON.stringify(n),i),Rr(n,!r)}var Wo=function(e,t){return ut(e,t,!0)},Li=bt.bind(null,yt),Vo=bt.bind(null,yt,!0),kr=bt.bind(null,_i),jn=bt.bind(null,_i,!0),Oe=typeof window<"u";function Go(e){return typeof e=="string"}function Nn(e){return typeof e=="boolean"}var Ut,Rn;function Ho(){if(Rn)return Ut;Rn=1;var e=function(d){return t(d)&&!r(d)};function t(y){return!!y&&typeof y=="object"}function r(y){var d=Object.prototype.toString.call(y);return d==="[object RegExp]"||d==="[object Date]"||a(y)}var n=typeof Symbol=="function"&&Symbol.for,i=n?Symbol.for("react.element"):60103;function a(y){return y.$$typeof===i}function s(y){return Array.isArray(y)?[]:{}}function o(y,d){return d.clone!==!1&&d.isMergeableObject(y)?O(s(y),y,d):y}function u(y,d,P){return y.concat(d).map(function(A){return o(A,P)})}function l(y,d){if(!d.customMerge)return O;var P=d.customMerge(y);return typeof P=="function"?P:O}function c(y){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(y).filter(function(d){return Object.propertyIsEnumerable.call(y,d)}):[]}function m(y){return Object.keys(y).concat(c(y))}function f(y,d){try{return d in y}catch{return!1}}function S(y,d){return f(y,d)&&!(Object.hasOwnProperty.call(y,d)&&Object.propertyIsEnumerable.call(y,d))}function v(y,d,P){var A={};return P.isMergeableObject(y)&&m(y).forEach(function(j){A[j]=o(y[j],P)}),m(d).forEach(function(j){S(y,j)||(f(y,j)&&P.isMergeableObject(d[j])?A[j]=l(j,P)(y[j],d[j],P):A[j]=o(d[j],P))}),A}function O(y,d,P){P=P||{},P.arrayMerge=P.arrayMerge||u,P.isMergeableObject=P.isMergeableObject||e,P.cloneUnlessOtherwiseSpecified=o;var A=Array.isArray(d),j=Array.isArray(y),k=A===j;return k?A?P.arrayMerge(y,d,P):v(y,d,P):o(d,P)}O.all=function(d,P){if(!Array.isArray(d))throw new Error("first argument should be an array");return d.reduce(function(A,j){return O(A,j,P)},{})};var b=O;return Ut=b,Ut}var Fo=Ho(),Ko=Ri(Fo);var sr=new TextEncoder,Bo={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},qo=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),or=class{constructor({accessKeyId:t,secretAccessKey:r,sessionToken:n,service:i,region:a,cache:s,retries:o,initRetryMs:u}){if(t==null)throw new TypeError("accessKeyId is a required option");if(r==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=r,this.sessionToken=n,this.service=i,this.region=a,this.cache=s||new Map,this.retries=o??10,this.initRetryMs=u||50}async sign(t,r){if(t instanceof Request){let{method:a,url:s,headers:o,body:u}=t;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}let n=new ur(Object.assign({url:t.toString()},r,this,r&&r.aws)),i=Object.assign({},r,await n.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(a){if(a instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw a}}async fetch(t,r){for(let n=0;n<=this.retries;n++){let i=fetch(await this.sign(t,r));if(n===this.retries)return i;let a=await i;if(a.status<500&&a.status!==429)return a;await new Promise(s=>setTimeout(s,Math.random()*this.initRetryMs*Math.pow(2,n)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},ur=class{constructor({method:t,url:r,headers:n,body:i,accessKeyId:a,secretAccessKey:s,sessionToken:o,service:u,region:l,cache:c,datetime:m,signQuery:f,appendSessionToken:S,allHeaders:v,singleEncode:O}){if(r==null)throw new TypeError("url is a required option");if(a==null)throw new TypeError("accessKeyId is a required option");if(s==null)throw new TypeError("secretAccessKey is a required option");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;let b,y;(!u||!l)&&([b,y]=Yo(this.url,this.headers)),this.service=u||b||"",this.region=l||y||"us-east-1",this.cache=c||new Map,this.datetime=m||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=f,this.appendSessionToken=S||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let d=this.signQuery?this.url.searchParams:this.headers;if(d.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&d.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(A=>v||!qo.has(A)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(A=>A+":"+(A==="host"?this.url.host:(this.headers.get(A)||"").replace(/\s+/g," "))).join(`