@clickview/streamable-learning 0.35.0 → 0.36.1-dev.0

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 (437) hide show
  1. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  2. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  3. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  4. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  5. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  6. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  7. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  8. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  9. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  10. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  11. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  12. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  13. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  14. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  15. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  16. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  17. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  18. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  19. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  20. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  21. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  22. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  23. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  24. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  25. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  26. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  27. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  28. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  29. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  30. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  31. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  32. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  33. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  34. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  35. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  36. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  37. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  38. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  39. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  40. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  41. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  42. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  43. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  44. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  45. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  46. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  47. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  48. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  49. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  50. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  51. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  52. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  53. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  54. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  55. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  56. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  57. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  58. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  59. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  60. package/dist/bundles.json +2 -2
  61. package/dist/css/B-attovs.chunk.css +9 -0
  62. package/dist/css/B1NucFMn.chunk.css +1 -0
  63. package/dist/css/BPdg7JW4.chunk.css +1 -0
  64. package/dist/css/BPrUSCaY.chunk.css +1 -0
  65. package/dist/css/BR0fUt9D.chunk.css +1 -0
  66. package/dist/css/BhYm6SRm.chunk.css +1 -0
  67. package/dist/css/BiRz4h1c.chunk.css +1 -0
  68. package/dist/css/Bq1ChJn4.chunk.css +1 -0
  69. package/dist/css/Bt85j9js.chunk.css +1 -0
  70. package/dist/css/BuYrqi9E.chunk.css +1 -0
  71. package/dist/css/BugV1Bpa.chunk.css +1 -0
  72. package/dist/css/BuuVPl7n.chunk.css +1 -0
  73. package/dist/css/C1NkrNqQ.chunk.css +1 -0
  74. package/dist/css/C1qv5jz5.chunk.css +1 -0
  75. package/dist/css/C7XoyEPr.chunk.css +1 -0
  76. package/dist/css/C7_MDu56.chunk.css +1 -0
  77. package/dist/css/CC5F5C8O.chunk.css +1 -0
  78. package/dist/css/CChSC6Ta.chunk.css +1 -0
  79. package/dist/css/CCsCPLDG.chunk.css +1 -0
  80. package/dist/css/CD1qrI1T.chunk.css +1 -0
  81. package/dist/css/CKqvCBj4.chunk.css +1 -0
  82. package/dist/css/CLZ0Ycds.chunk.css +1 -0
  83. package/dist/css/CO7M4rZW.chunk.css +1 -0
  84. package/dist/css/CY0yvCW4.chunk.css +1 -0
  85. package/dist/css/CYGsw8FT.chunk.css +1 -0
  86. package/dist/css/Cbi3KYBa.chunk.css +1 -0
  87. package/dist/css/CgWQu_Ss.chunk.css +1 -0
  88. package/dist/css/CliS8Q8r.chunk.css +1 -0
  89. package/dist/css/D-kQKsZN.chunk.css +1 -0
  90. package/dist/css/D2NwUVrK.chunk.css +1 -0
  91. package/dist/css/D4g1IoUU.chunk.css +1 -0
  92. package/dist/css/DBgpcO3T.chunk.css +1 -0
  93. package/dist/css/DDnpOnVB.chunk.css +1 -0
  94. package/dist/css/DZJSONGP.chunk.css +1 -0
  95. package/dist/css/DeAfaPiD.chunk.css +1 -0
  96. package/dist/css/Dj731zLm.chunk.css +1 -0
  97. package/dist/css/DjPPxa0A.chunk.css +1 -0
  98. package/dist/css/DlOtoSz0.chunk.css +1 -0
  99. package/dist/css/DwduQat7.chunk.css +1 -0
  100. package/dist/css/Dzuu2GTx.chunk.css +1 -0
  101. package/dist/css/JAvsJreH.chunk.css +1 -0
  102. package/dist/css/NKlFYVOc.chunk.css +1 -0
  103. package/dist/css/VZd8qGtK.chunk.css +1 -0
  104. package/dist/css/Y7U--2na.chunk.css +1 -0
  105. package/dist/css/ir3IcK_l.chunk.css +1 -0
  106. package/dist/css/jbMisi9r.chunk.css +1 -0
  107. package/dist/css/kS5aDtIJ.chunk.css +1 -0
  108. package/dist/css/mqCL1o7m.chunk.css +1 -0
  109. package/dist/css/qZzkUeZk.chunk.css +1 -0
  110. package/dist/css/sC_H3yXE.chunk.css +1 -0
  111. package/dist/css/wR_6C_NV.chunk.css +1 -0
  112. package/dist/en.json +1 -0
  113. package/dist/scripts/38Gc6FvJ.chunk.js +2 -0
  114. package/dist/scripts/38Gc6FvJ.chunk.js.map +1 -0
  115. package/dist/scripts/9vP26Hjl.chunk.js +2 -0
  116. package/dist/scripts/9vP26Hjl.chunk.js.map +1 -0
  117. package/dist/scripts/B-YTLo4E.chunk.js +2 -0
  118. package/dist/scripts/B-YTLo4E.chunk.js.map +1 -0
  119. package/dist/scripts/B2rqAGbQ.chunk.js +2 -0
  120. package/dist/scripts/B2rqAGbQ.chunk.js.map +1 -0
  121. package/dist/scripts/B46nd_gM.chunk.js +2 -0
  122. package/dist/scripts/B46nd_gM.chunk.js.map +1 -0
  123. package/dist/scripts/B61dxODs.chunk.js +2 -0
  124. package/dist/scripts/B61dxODs.chunk.js.map +1 -0
  125. package/dist/scripts/B928Y1m-.chunk.js +2 -0
  126. package/dist/scripts/B928Y1m-.chunk.js.map +1 -0
  127. package/dist/scripts/BBnDr_iy.chunk.js +2 -0
  128. package/dist/scripts/BBnDr_iy.chunk.js.map +1 -0
  129. package/dist/scripts/BDwX0xO5.chunk.js +7 -0
  130. package/dist/scripts/BDwX0xO5.chunk.js.map +1 -0
  131. package/dist/scripts/BFcg4phV.chunk.js +15 -0
  132. package/dist/scripts/BFcg4phV.chunk.js.map +1 -0
  133. package/dist/scripts/BOH3SvVi.chunk.js +2 -0
  134. package/dist/scripts/BOH3SvVi.chunk.js.map +1 -0
  135. package/dist/scripts/BPzvNgkA.chunk.js +10 -0
  136. package/dist/scripts/BPzvNgkA.chunk.js.map +1 -0
  137. package/dist/scripts/BWkYFXR0.chunk.js +2 -0
  138. package/dist/scripts/BWkYFXR0.chunk.js.map +1 -0
  139. package/dist/scripts/BYrL8Bl0.chunk.js +2 -0
  140. package/dist/scripts/BYrL8Bl0.chunk.js.map +1 -0
  141. package/dist/scripts/BaMuTXqa.chunk.js +2 -0
  142. package/dist/scripts/BaMuTXqa.chunk.js.map +1 -0
  143. package/dist/scripts/Bbj3u3zY.chunk.js +2 -0
  144. package/dist/scripts/Bbj3u3zY.chunk.js.map +1 -0
  145. package/dist/scripts/Bd-gJLT1.chunk.js +2 -0
  146. package/dist/scripts/Bd-gJLT1.chunk.js.map +1 -0
  147. package/dist/scripts/BdHxGaRy.chunk.js +2 -0
  148. package/dist/scripts/BdHxGaRy.chunk.js.map +1 -0
  149. package/dist/scripts/BdPgUz8g.chunk.js +2 -0
  150. package/dist/scripts/BdPgUz8g.chunk.js.map +1 -0
  151. package/dist/scripts/Be6BKGLG.chunk.js +356 -0
  152. package/dist/scripts/Be6BKGLG.chunk.js.map +1 -0
  153. package/dist/scripts/BfK6q73t.chunk.js +8 -0
  154. package/dist/scripts/BfK6q73t.chunk.js.map +1 -0
  155. package/dist/scripts/Bg1w511R.chunk.js +2 -0
  156. package/dist/scripts/Bg1w511R.chunk.js.map +1 -0
  157. package/dist/scripts/Bg6K2hsA.chunk.js +3 -0
  158. package/dist/scripts/Bg6K2hsA.chunk.js.map +1 -0
  159. package/dist/scripts/BiLpxxSD.chunk.js +2 -0
  160. package/dist/scripts/BiLpxxSD.chunk.js.map +1 -0
  161. package/dist/scripts/BmN5JsPi.chunk.js +5 -0
  162. package/dist/scripts/BmN5JsPi.chunk.js.map +1 -0
  163. package/dist/scripts/BnSh6tRF.chunk.js +2 -0
  164. package/dist/scripts/BnSh6tRF.chunk.js.map +1 -0
  165. package/dist/scripts/Bnt14Hw8.chunk.js +2 -0
  166. package/dist/scripts/Bnt14Hw8.chunk.js.map +1 -0
  167. package/dist/scripts/BpRVTpnA.chunk.js +8 -0
  168. package/dist/scripts/BpRVTpnA.chunk.js.map +1 -0
  169. package/dist/scripts/BsoISj2P.chunk.js +2 -0
  170. package/dist/scripts/BsoISj2P.chunk.js.map +1 -0
  171. package/dist/scripts/BuNZOfIz.chunk.js +2 -0
  172. package/dist/scripts/BuNZOfIz.chunk.js.map +1 -0
  173. package/dist/scripts/BvQxdtl3.chunk.js +2 -0
  174. package/dist/scripts/BvQxdtl3.chunk.js.map +1 -0
  175. package/dist/scripts/C2zcSUEr.chunk.js +2 -0
  176. package/dist/scripts/C2zcSUEr.chunk.js.map +1 -0
  177. package/dist/scripts/C35NlkUr.chunk.js +2 -0
  178. package/dist/scripts/C35NlkUr.chunk.js.map +1 -0
  179. package/dist/scripts/C5Fq7Tf-.chunk.js +2 -0
  180. package/dist/scripts/C5Fq7Tf-.chunk.js.map +1 -0
  181. package/dist/scripts/CD-ZU1Sa.chunk.js +2 -0
  182. package/dist/scripts/CD-ZU1Sa.chunk.js.map +1 -0
  183. package/dist/scripts/CEmtkty-.chunk.js +2 -0
  184. package/dist/scripts/CEmtkty-.chunk.js.map +1 -0
  185. package/dist/scripts/CO1Up6zQ.chunk.js +2 -0
  186. package/dist/scripts/CO1Up6zQ.chunk.js.map +1 -0
  187. package/dist/scripts/CPNjAJN5.chunk.js +2 -0
  188. package/dist/scripts/CPNjAJN5.chunk.js.map +1 -0
  189. package/dist/scripts/CPXlV0fg.chunk.js +2 -0
  190. package/dist/scripts/CPXlV0fg.chunk.js.map +1 -0
  191. package/dist/scripts/CQJIB_e-.chunk.js +2 -0
  192. package/dist/scripts/CQJIB_e-.chunk.js.map +1 -0
  193. package/dist/scripts/CRusuLqR.chunk.js +2 -0
  194. package/dist/scripts/CRusuLqR.chunk.js.map +1 -0
  195. package/dist/scripts/CTWahyAB.chunk.js +2 -0
  196. package/dist/scripts/CTWahyAB.chunk.js.map +1 -0
  197. package/dist/scripts/CU5Dd7rS.chunk.js +2 -0
  198. package/dist/scripts/CU5Dd7rS.chunk.js.map +1 -0
  199. package/dist/scripts/CW7x8M-z.chunk.js +2 -0
  200. package/dist/scripts/CW7x8M-z.chunk.js.map +1 -0
  201. package/dist/scripts/CX-Bc0hf.chunk.js +2 -0
  202. package/dist/scripts/CX-Bc0hf.chunk.js.map +1 -0
  203. package/dist/scripts/CY1om5lx.chunk.js +2 -0
  204. package/dist/scripts/CY1om5lx.chunk.js.map +1 -0
  205. package/dist/scripts/C_79jeAr.chunk.js +2 -0
  206. package/dist/scripts/C_79jeAr.chunk.js.map +1 -0
  207. package/dist/scripts/C_pobyVf.chunk.js +3 -0
  208. package/dist/scripts/C_pobyVf.chunk.js.map +1 -0
  209. package/dist/scripts/Cgf5lDwO.chunk.js +2 -0
  210. package/dist/scripts/Cgf5lDwO.chunk.js.map +1 -0
  211. package/dist/scripts/Ci9wGu6N.chunk.js +2 -0
  212. package/dist/scripts/Ci9wGu6N.chunk.js.map +1 -0
  213. package/dist/scripts/Cmu1J2M7.chunk.js +262 -0
  214. package/dist/scripts/Cmu1J2M7.chunk.js.map +1 -0
  215. package/dist/scripts/Cp-yDIHE.chunk.js +2 -0
  216. package/dist/scripts/Cp-yDIHE.chunk.js.map +1 -0
  217. package/dist/scripts/CqWRz_Vd.chunk.js +2 -0
  218. package/dist/scripts/CqWRz_Vd.chunk.js.map +1 -0
  219. package/dist/scripts/Cs-XAmfP.chunk.js +2 -0
  220. package/dist/scripts/Cs-XAmfP.chunk.js.map +1 -0
  221. package/dist/scripts/CsxsnXoH.chunk.js +2 -0
  222. package/dist/scripts/CsxsnXoH.chunk.js.map +1 -0
  223. package/dist/scripts/CvuMDF0y.chunk.js +2 -0
  224. package/dist/scripts/CvuMDF0y.chunk.js.map +1 -0
  225. package/dist/scripts/CwRpHtAf.chunk.js +2 -0
  226. package/dist/scripts/CwRpHtAf.chunk.js.map +1 -0
  227. package/dist/scripts/D4OCofAF.chunk.js +2 -0
  228. package/dist/scripts/D4OCofAF.chunk.js.map +1 -0
  229. package/dist/scripts/D4x4hAdA.chunk.js +2 -0
  230. package/dist/scripts/D4x4hAdA.chunk.js.map +1 -0
  231. package/dist/scripts/DBaknZA7.chunk.js +2 -0
  232. package/dist/scripts/DBaknZA7.chunk.js.map +1 -0
  233. package/dist/scripts/DBdD19pY.chunk.js +53 -0
  234. package/dist/scripts/DBdD19pY.chunk.js.map +1 -0
  235. package/dist/scripts/DELBynwO.chunk.js +2 -0
  236. package/dist/scripts/DELBynwO.chunk.js.map +1 -0
  237. package/dist/scripts/DEixuHfi.chunk.js +2 -0
  238. package/dist/scripts/DEixuHfi.chunk.js.map +1 -0
  239. package/dist/scripts/DFhkO_lZ.chunk.js +2 -0
  240. package/dist/scripts/DFhkO_lZ.chunk.js.map +1 -0
  241. package/dist/scripts/DIIFVn0p.chunk.js +2 -0
  242. package/dist/scripts/DIIFVn0p.chunk.js.map +1 -0
  243. package/dist/scripts/DIhfGjAK.chunk.js +2 -0
  244. package/dist/scripts/DIhfGjAK.chunk.js.map +1 -0
  245. package/dist/scripts/DK1p1ffZ.chunk.js +2 -0
  246. package/dist/scripts/DK1p1ffZ.chunk.js.map +1 -0
  247. package/dist/scripts/DK6BRHnl.chunk.js +2 -0
  248. package/dist/scripts/DK6BRHnl.chunk.js.map +1 -0
  249. package/dist/scripts/DNbkIXc2.chunk.js +2 -0
  250. package/dist/scripts/DNbkIXc2.chunk.js.map +1 -0
  251. package/dist/scripts/DRmZj7Fw.chunk.js +2 -0
  252. package/dist/scripts/DRmZj7Fw.chunk.js.map +1 -0
  253. package/dist/scripts/DTcDjqUi.chunk.js +8 -0
  254. package/dist/scripts/DTcDjqUi.chunk.js.map +1 -0
  255. package/dist/scripts/DVmtgkhY.chunk.js +2 -0
  256. package/dist/scripts/DVmtgkhY.chunk.js.map +1 -0
  257. package/dist/scripts/DWkg1qc2.chunk.js +2 -0
  258. package/dist/scripts/DWkg1qc2.chunk.js.map +1 -0
  259. package/dist/scripts/D_nzH8Cw.chunk.js +2 -0
  260. package/dist/scripts/D_nzH8Cw.chunk.js.map +1 -0
  261. package/dist/scripts/DaJTPRJr.chunk.js +2 -0
  262. package/dist/scripts/DaJTPRJr.chunk.js.map +1 -0
  263. package/dist/scripts/Dal4C0kV.chunk.js +2 -0
  264. package/dist/scripts/Dal4C0kV.chunk.js.map +1 -0
  265. package/dist/scripts/DecSY6Xq.chunk.js +2 -0
  266. package/dist/scripts/DecSY6Xq.chunk.js.map +1 -0
  267. package/dist/scripts/DgL-ti6b.chunk.js +2 -0
  268. package/dist/scripts/DgL-ti6b.chunk.js.map +1 -0
  269. package/dist/scripts/Dhn0D6IV.chunk.js +2 -0
  270. package/dist/scripts/Dhn0D6IV.chunk.js.map +1 -0
  271. package/dist/scripts/DuidBpWd.chunk.js +2 -0
  272. package/dist/scripts/DuidBpWd.chunk.js.map +1 -0
  273. package/dist/scripts/DvDdiDQN.chunk.js +7 -0
  274. package/dist/scripts/DvDdiDQN.chunk.js.map +1 -0
  275. package/dist/scripts/Dx9ncX-C.chunk.js +2 -0
  276. package/dist/scripts/Dx9ncX-C.chunk.js.map +1 -0
  277. package/dist/scripts/Dxt3JwJz.chunk.js +2 -0
  278. package/dist/scripts/Dxt3JwJz.chunk.js.map +1 -0
  279. package/dist/scripts/Dy57waqb.chunk.js +2 -0
  280. package/dist/scripts/Dy57waqb.chunk.js.map +1 -0
  281. package/dist/scripts/DzLh2mnb.chunk.js +2 -0
  282. package/dist/scripts/DzLh2mnb.chunk.js.map +1 -0
  283. package/dist/scripts/F-K8Bwdk.chunk.js +2 -0
  284. package/dist/scripts/F-K8Bwdk.chunk.js.map +1 -0
  285. package/dist/scripts/G4u5okSS.chunk.js +2 -0
  286. package/dist/scripts/G4u5okSS.chunk.js.map +1 -0
  287. package/dist/scripts/KAizYpNf.chunk.js +2 -0
  288. package/dist/scripts/KAizYpNf.chunk.js.map +1 -0
  289. package/dist/scripts/LIBRZSqN.chunk.js +8 -0
  290. package/dist/scripts/LIBRZSqN.chunk.js.map +1 -0
  291. package/dist/scripts/LgZBXsgq.chunk.js +2 -0
  292. package/dist/scripts/LgZBXsgq.chunk.js.map +1 -0
  293. package/dist/scripts/QlJI4d4R.chunk.js +2 -0
  294. package/dist/scripts/QlJI4d4R.chunk.js.map +1 -0
  295. package/dist/scripts/ShERxFU5.chunk.js +2 -0
  296. package/dist/scripts/ShERxFU5.chunk.js.map +1 -0
  297. package/dist/scripts/Ynb9IAgu.chunk.js +2 -0
  298. package/dist/scripts/Ynb9IAgu.chunk.js.map +1 -0
  299. package/dist/scripts/_8CvUiOV.chunk.js +2 -0
  300. package/dist/scripts/_8CvUiOV.chunk.js.map +1 -0
  301. package/dist/scripts/aXDrx9_z.chunk.js +6 -0
  302. package/dist/scripts/aXDrx9_z.chunk.js.map +1 -0
  303. package/dist/scripts/app-DiXzpOyg.js +220 -0
  304. package/dist/scripts/app-DiXzpOyg.js.map +1 -0
  305. package/dist/scripts/bww2eGbI.chunk.js +2 -0
  306. package/dist/scripts/bww2eGbI.chunk.js.map +1 -0
  307. package/dist/scripts/cvX-F_mx.chunk.js +2 -0
  308. package/dist/scripts/cvX-F_mx.chunk.js.map +1 -0
  309. package/dist/scripts/gtdeja1H.chunk.js +2 -0
  310. package/dist/scripts/gtdeja1H.chunk.js.map +1 -0
  311. package/dist/scripts/m9wd_474.chunk.js +2 -0
  312. package/dist/scripts/m9wd_474.chunk.js.map +1 -0
  313. package/dist/scripts/nay4aGaa.chunk.js +2 -0
  314. package/dist/scripts/nay4aGaa.chunk.js.map +1 -0
  315. package/dist/scripts/pkzD5BEm.chunk.js +2 -0
  316. package/dist/scripts/pkzD5BEm.chunk.js.map +1 -0
  317. package/dist/scripts/qO6ZefON.chunk.js +2 -0
  318. package/dist/scripts/qO6ZefON.chunk.js.map +1 -0
  319. package/dist/scripts/s4utqqzH.chunk.js +2 -0
  320. package/dist/scripts/s4utqqzH.chunk.js.map +1 -0
  321. package/dist/scripts/sxyRyCzh.chunk.js +2 -0
  322. package/dist/scripts/sxyRyCzh.chunk.js.map +1 -0
  323. package/dist/scripts/tzNty_oG.chunk.js +2 -0
  324. package/dist/scripts/tzNty_oG.chunk.js.map +1 -0
  325. package/dist/scripts/vjyJbQe4.chunk.js +2 -0
  326. package/dist/scripts/vjyJbQe4.chunk.js.map +1 -0
  327. package/dist/scripts/vuoBilPQ.chunk.js +2 -0
  328. package/dist/scripts/vuoBilPQ.chunk.js.map +1 -0
  329. package/dist/scripts/vwgUbn2Z.chunk.js +2 -0
  330. package/dist/scripts/vwgUbn2Z.chunk.js.map +1 -0
  331. package/dist/scripts/wOGv44_K.chunk.js +2 -0
  332. package/dist/scripts/wOGv44_K.chunk.js.map +1 -0
  333. package/dist/scripts/xbvkqJGe.chunk.js +2 -0
  334. package/dist/scripts/xbvkqJGe.chunk.js.map +1 -0
  335. package/dist/scripts/xywWSa0t.chunk.js +2 -0
  336. package/dist/scripts/xywWSa0t.chunk.js.map +1 -0
  337. package/dist/scripts/zUz4ZfV2.chunk.js +2 -0
  338. package/dist/scripts/zUz4ZfV2.chunk.js.map +1 -0
  339. package/package.json +5 -3
  340. package/typings/utils/imports.d.ts +2 -1
  341. package/vite.config.ts +6 -0
  342. package/dist/css/103-streamable-learning-5060b6cda5.chunk.css +0 -7
  343. package/dist/css/1269-streamable-learning-a12c4ebc99.chunk.css +0 -2
  344. package/dist/css/1457-streamable-learning-c8c8b3b9b1.chunk.css +0 -50
  345. package/dist/css/2334-streamable-learning-de03ae073a.chunk.css +0 -2
  346. package/dist/css/3322-streamable-learning-510e1aa3f3.chunk.css +0 -34
  347. package/dist/css/3838-streamable-learning-da10685fe8.chunk.css +0 -22
  348. package/dist/css/4254-streamable-learning-e493f4a027.chunk.css +0 -2
  349. package/dist/css/4607-streamable-learning-2605302fc2.chunk.css +0 -90
  350. package/dist/css/4772-streamable-learning-f83b838d71.chunk.css +0 -9
  351. package/dist/css/5003-streamable-learning-b38d2ddbbe.chunk.css +0 -98
  352. package/dist/css/5565-streamable-learning-0caae3809b.chunk.css +0 -13
  353. package/dist/css/6017-streamable-learning-098a205d01.chunk.css +0 -6
  354. package/dist/css/6356-streamable-learning-8c5b220bf6.chunk.css +0 -1
  355. package/dist/css/6987-streamable-learning-8f682301c6.chunk.css +0 -1
  356. package/dist/css/7317-streamable-learning-b5d226bbb6.chunk.css +0 -5
  357. package/dist/css/8058-streamable-learning-539cf7be18.chunk.css +0 -12
  358. package/dist/css/8294-streamable-learning-c797263ac2.chunk.css +0 -1
  359. package/dist/css/8496-streamable-learning-ce19f6ca52.chunk.css +0 -13
  360. package/dist/css/8601-streamable-learning-f525210660.chunk.css +0 -6
  361. package/dist/css/9514-streamable-learning-251703c6d1.chunk.css +0 -2
  362. package/dist/css/9766-streamable-learning-31650ffe5d.chunk.css +0 -8
  363. package/dist/css/9842-streamable-learning-24729103f7.chunk.css +0 -4
  364. package/dist/css/9899-streamable-learning-0338f8d2dc.chunk.css +0 -4
  365. package/dist/css/streamable-learning-dd0c1095d5.css +0 -23
  366. package/dist/languages/en.json +0 -1
  367. package/dist/scripts/103-aceced8961-streamable-learning.chunk.js +0 -1
  368. package/dist/scripts/1097-680a971192-streamable-learning.chunk.js +0 -2
  369. package/dist/scripts/1097-680a971192-streamable-learning.chunk.js.LICENSE.txt +0 -105
  370. package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js +0 -2
  371. package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js.LICENSE.txt +0 -1
  372. package/dist/scripts/1457-899f40d09a-streamable-learning.chunk.js +0 -1
  373. package/dist/scripts/1482-b1dd75897c-streamable-learning.chunk.js +0 -1
  374. package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js +0 -2
  375. package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js.LICENSE.txt +0 -9
  376. package/dist/scripts/2042-d51622d63e-streamable-learning.chunk.js +0 -1
  377. package/dist/scripts/2087-eba9033b1c-streamable-learning.chunk.js +0 -1
  378. package/dist/scripts/2245-8cd3224e1b-streamable-learning.chunk.js +0 -1
  379. package/dist/scripts/2334-00b028191d-streamable-learning.chunk.js +0 -1
  380. package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js +0 -2
  381. package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js.LICENSE.txt +0 -1
  382. package/dist/scripts/2877-5ffc9711f6-streamable-learning.chunk.js +0 -1
  383. package/dist/scripts/2911-2ec3a6600a-streamable-learning.chunk.js +0 -1
  384. package/dist/scripts/3057-731a8ca978-streamable-learning.chunk.js +0 -1
  385. package/dist/scripts/3093-efbcc927ea-streamable-learning.chunk.js +0 -1
  386. package/dist/scripts/3186-d1a6ccffde-streamable-learning.chunk.js +0 -1
  387. package/dist/scripts/3322-33c015dec9-streamable-learning.chunk.js +0 -1
  388. package/dist/scripts/3472-50ca92bde3-streamable-learning.chunk.js +0 -1
  389. package/dist/scripts/3838-4a38f33dc2-streamable-learning.chunk.js +0 -1
  390. package/dist/scripts/3941-2ef15ca9ac-streamable-learning.chunk.js +0 -1
  391. package/dist/scripts/4254-ef581b8105-streamable-learning.chunk.js +0 -1
  392. package/dist/scripts/4607-a4edb06dba-streamable-learning.chunk.js +0 -2
  393. package/dist/scripts/4607-a4edb06dba-streamable-learning.chunk.js.LICENSE.txt +0 -1
  394. package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js +0 -2
  395. package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js.LICENSE.txt +0 -1
  396. package/dist/scripts/4951-df701c6a8d-streamable-learning.chunk.js +0 -1
  397. package/dist/scripts/5003-7468a75d64-streamable-learning.chunk.js +0 -2
  398. package/dist/scripts/5003-7468a75d64-streamable-learning.chunk.js.LICENSE.txt +0 -1
  399. package/dist/scripts/5088-2e09e1ba6e-streamable-learning.chunk.js +0 -1
  400. package/dist/scripts/5173-a800a17d0d-streamable-learning.chunk.js +0 -1
  401. package/dist/scripts/5446-2cbe9f9d1b-streamable-learning.chunk.js +0 -1
  402. package/dist/scripts/5543-205aaa36a6-streamable-learning.chunk.js +0 -1
  403. package/dist/scripts/5565-224d86dc1b-streamable-learning.chunk.js +0 -1
  404. package/dist/scripts/578-2cc99f46f7-streamable-learning.chunk.js +0 -1
  405. package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js +0 -2
  406. package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js.LICENSE.txt +0 -1
  407. package/dist/scripts/6356-eefa3ff22e-streamable-learning.chunk.js +0 -1
  408. package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js +0 -2
  409. package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js.LICENSE.txt +0 -1
  410. package/dist/scripts/6987-e58de31cfe-streamable-learning.chunk.js +0 -1
  411. package/dist/scripts/7317-6b7186c85d-streamable-learning.chunk.js +0 -1
  412. package/dist/scripts/7347-772848ba8a-streamable-learning.chunk.js +0 -1
  413. package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js +0 -2
  414. package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js.LICENSE.txt +0 -1
  415. package/dist/scripts/7904-96574373ca-streamable-learning.chunk.js +0 -1
  416. package/dist/scripts/7925-1e1cfa2a04-streamable-learning.chunk.js +0 -1
  417. package/dist/scripts/8058-51c4b442d6-streamable-learning.chunk.js +0 -1
  418. package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js +0 -2
  419. package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js.LICENSE.txt +0 -60
  420. package/dist/scripts/8397-39ce77876d-streamable-learning.chunk.js +0 -1
  421. package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js +0 -2
  422. package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js.LICENSE.txt +0 -1
  423. package/dist/scripts/8599-b74e1ab6e3-streamable-learning.chunk.js +0 -1
  424. package/dist/scripts/8601-37783cf18b-streamable-learning.chunk.js +0 -1
  425. package/dist/scripts/8819-2a50dd6a9b-streamable-learning.chunk.js +0 -1
  426. package/dist/scripts/8937-5103db88d8-streamable-learning.chunk.js +0 -1
  427. package/dist/scripts/9390-bbaf07ad0f-streamable-learning.chunk.js +0 -1
  428. package/dist/scripts/9514-a31ca9af06-streamable-learning.chunk.js +0 -1
  429. package/dist/scripts/9766-48d72d9285-streamable-learning.chunk.js +0 -2
  430. package/dist/scripts/9766-48d72d9285-streamable-learning.chunk.js.LICENSE.txt +0 -1
  431. package/dist/scripts/9842-36d830ee87-streamable-learning.chunk.js +0 -1
  432. package/dist/scripts/9899-f33e8f1d43-streamable-learning.chunk.js +0 -2
  433. package/dist/scripts/9899-f33e8f1d43-streamable-learning.chunk.js.LICENSE.txt +0 -1
  434. package/dist/scripts/bundle-de4d0d4897.min.js +0 -2
  435. package/dist/scripts/bundle-de4d0d4897.min.js.LICENSE.txt +0 -108
  436. package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js +0 -2
  437. package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js.LICENSE.txt +0 -21
@@ -1 +0,0 @@
1
- (self.webpackChunk_clickview_streamable_learning=self.webpackChunk_clickview_streamable_learning||[]).push([[3093],{63093:t=>{var e;self,e=()=>(()=>{var t,e,i={8322:t=>{t.exports=function(){"use strict";var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function e(t,e){var i=t[0],n=t[1],r=t[2],s=t[3];n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&r|~n&s)+e[0]-680876936|0)<<7|i>>>25)+n|0)&n|~i&r)+e[1]-389564586|0)<<12|s>>>20)+i|0)&i|~s&n)+e[2]+606105819|0)<<17|r>>>15)+s|0)&s|~r&i)+e[3]-1044525330|0)<<22|n>>>10)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&r|~n&s)+e[4]-176418897|0)<<7|i>>>25)+n|0)&n|~i&r)+e[5]+1200080426|0)<<12|s>>>20)+i|0)&i|~s&n)+e[6]-1473231341|0)<<17|r>>>15)+s|0)&s|~r&i)+e[7]-45705983|0)<<22|n>>>10)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&r|~n&s)+e[8]+1770035416|0)<<7|i>>>25)+n|0)&n|~i&r)+e[9]-1958414417|0)<<12|s>>>20)+i|0)&i|~s&n)+e[10]-42063|0)<<17|r>>>15)+s|0)&s|~r&i)+e[11]-1990404162|0)<<22|n>>>10)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&r|~n&s)+e[12]+1804603682|0)<<7|i>>>25)+n|0)&n|~i&r)+e[13]-40341101|0)<<12|s>>>20)+i|0)&i|~s&n)+e[14]-1502002290|0)<<17|r>>>15)+s|0)&s|~r&i)+e[15]+1236535329|0)<<22|n>>>10)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&s|r&~s)+e[1]-165796510|0)<<5|i>>>27)+n|0)&r|n&~r)+e[6]-1069501632|0)<<9|s>>>23)+i|0)&n|i&~n)+e[11]+643717713|0)<<14|r>>>18)+s|0)&i|s&~i)+e[0]-373897302|0)<<20|n>>>12)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&s|r&~s)+e[5]-701558691|0)<<5|i>>>27)+n|0)&r|n&~r)+e[10]+38016083|0)<<9|s>>>23)+i|0)&n|i&~n)+e[15]-660478335|0)<<14|r>>>18)+s|0)&i|s&~i)+e[4]-405537848|0)<<20|n>>>12)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&s|r&~s)+e[9]+568446438|0)<<5|i>>>27)+n|0)&r|n&~r)+e[14]-1019803690|0)<<9|s>>>23)+i|0)&n|i&~n)+e[3]-187363961|0)<<14|r>>>18)+s|0)&i|s&~i)+e[8]+1163531501|0)<<20|n>>>12)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n&s|r&~s)+e[13]-1444681467|0)<<5|i>>>27)+n|0)&r|n&~r)+e[2]-51403784|0)<<9|s>>>23)+i|0)&n|i&~n)+e[7]+1735328473|0)<<14|r>>>18)+s|0)&i|s&~i)+e[12]-1926607734|0)<<20|n>>>12)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n^r^s)+e[5]-378558|0)<<4|i>>>28)+n|0)^n^r)+e[8]-2022574463|0)<<11|s>>>21)+i|0)^i^n)+e[11]+1839030562|0)<<16|r>>>16)+s|0)^s^i)+e[14]-35309556|0)<<23|n>>>9)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n^r^s)+e[1]-1530992060|0)<<4|i>>>28)+n|0)^n^r)+e[4]+1272893353|0)<<11|s>>>21)+i|0)^i^n)+e[7]-155497632|0)<<16|r>>>16)+s|0)^s^i)+e[10]-1094730640|0)<<23|n>>>9)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n^r^s)+e[13]+681279174|0)<<4|i>>>28)+n|0)^n^r)+e[0]-358537222|0)<<11|s>>>21)+i|0)^i^n)+e[3]-722521979|0)<<16|r>>>16)+s|0)^s^i)+e[6]+76029189|0)<<23|n>>>9)+r|0,n=((n+=((r=((r+=((s=((s+=((i=((i+=(n^r^s)+e[9]-640364487|0)<<4|i>>>28)+n|0)^n^r)+e[12]-421815835|0)<<11|s>>>21)+i|0)^i^n)+e[15]+530742520|0)<<16|r>>>16)+s|0)^s^i)+e[2]-995338651|0)<<23|n>>>9)+r|0,n=((n+=((s=((s+=(n^((i=((i+=(r^(n|~s))+e[0]-198630844|0)<<6|i>>>26)+n|0)|~r))+e[7]+1126891415|0)<<10|s>>>22)+i|0)^((r=((r+=(i^(s|~n))+e[14]-1416354905|0)<<15|r>>>17)+s|0)|~i))+e[5]-57434055|0)<<21|n>>>11)+r|0,n=((n+=((s=((s+=(n^((i=((i+=(r^(n|~s))+e[12]+1700485571|0)<<6|i>>>26)+n|0)|~r))+e[3]-1894986606|0)<<10|s>>>22)+i|0)^((r=((r+=(i^(s|~n))+e[10]-1051523|0)<<15|r>>>17)+s|0)|~i))+e[1]-2054922799|0)<<21|n>>>11)+r|0,n=((n+=((s=((s+=(n^((i=((i+=(r^(n|~s))+e[8]+1873313359|0)<<6|i>>>26)+n|0)|~r))+e[15]-30611744|0)<<10|s>>>22)+i|0)^((r=((r+=(i^(s|~n))+e[6]-1560198380|0)<<15|r>>>17)+s|0)|~i))+e[13]+1309151649|0)<<21|n>>>11)+r|0,n=((n+=((s=((s+=(n^((i=((i+=(r^(n|~s))+e[4]-145523070|0)<<6|i>>>26)+n|0)|~r))+e[11]-1120210379|0)<<10|s>>>22)+i|0)^((r=((r+=(i^(s|~n))+e[2]+718787259|0)<<15|r>>>17)+s|0)|~i))+e[9]-343485551|0)<<21|n>>>11)+r|0,t[0]=i+t[0]|0,t[1]=n+t[1]|0,t[2]=r+t[2]|0,t[3]=s+t[3]|0}function i(t){var e,i=[];for(e=0;e<64;e+=4)i[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return i}function n(t){var e,i=[];for(e=0;e<64;e+=4)i[e>>2]=t[e]+(t[e+1]<<8)+(t[e+2]<<16)+(t[e+3]<<24);return i}function r(t){var n,r,s,o,a,l,u=t.length,c=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=u;n+=64)e(c,i(t.substring(n-64,n)));for(r=(t=t.substring(n-64)).length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],n=0;n<r;n+=1)s[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(s[n>>2]|=128<<(n%4<<3),n>55)for(e(c,s),n=0;n<16;n+=1)s[n]=0;return o=(o=8*u).toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(o[2],16),l=parseInt(o[1],16)||0,s[14]=a,s[15]=l,e(c,s),c}function s(e){var i,n="";for(i=0;i<4;i+=1)n+=t[e>>8*i+4&15]+t[e>>8*i&15];return n}function o(t){var e;for(e=0;e<t.length;e+=1)t[e]=s(t[e]);return t.join("")}function a(t){return/[\u0080-\uFFFF]/.test(t)&&(t=unescape(encodeURIComponent(t))),t}function l(t){var e,i=[],n=t.length;for(e=0;e<n-1;e+=2)i.push(parseInt(t.substr(e,2),16));return String.fromCharCode.apply(String,i)}function u(){this.reset()}return o(r("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(t,e){return(t=0|t||0)<0?Math.max(t+e,0):Math.min(t,e)}ArrayBuffer.prototype.slice=function(e,i){var n,r,s,o,a=this.byteLength,l=t(e,a),u=a;return void 0!==i&&(u=t(i,a)),l>u?new ArrayBuffer(0):(n=u-l,r=new ArrayBuffer(n),s=new Uint8Array(r),o=new Uint8Array(this,l,n),s.set(o),r)}}(),u.prototype.append=function(t){return this.appendBinary(a(t)),this},u.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var n,r=this._buff.length;for(n=64;n<=r;n+=64)e(this._hash,i(this._buff.substring(n-64,n)));return this._buff=this._buff.substring(n-64),this},u.prototype.end=function(t){var e,i,n=this._buff,r=n.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<r;e+=1)s[e>>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(s,r),i=o(this._hash),t&&(i=l(i)),this.reset(),i},u.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},u.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},u.prototype.setState=function(t){return this._buff=t.buff,this._length=t.length,this._hash=t.hash,this},u.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},u.prototype._finish=function(t,i){var n,r,s,o=i;if(t[o>>2]|=128<<(o%4<<3),o>55)for(e(this._hash,t),o=0;o<16;o+=1)t[o]=0;n=(n=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),r=parseInt(n[2],16),s=parseInt(n[1],16)||0,t[14]=r,t[15]=s,e(this._hash,t)},u.hash=function(t,e){return u.hashBinary(a(t),e)},u.hashBinary=function(t,e){var i=o(r(t));return e?l(i):i},u.ArrayBuffer=function(){this.reset()},u.ArrayBuffer.prototype.append=function(t){var i,r,s,o,a=(r=this._buff.buffer,s=t,(o=new Uint8Array(r.byteLength+s.byteLength)).set(new Uint8Array(r)),o.set(new Uint8Array(s),r.byteLength),o),l=a.length;for(this._length+=t.byteLength,i=64;i<=l;i+=64)e(this._hash,n(a.subarray(i-64,i)));return this._buff=i-64<l?new Uint8Array(a.buffer.slice(i-64)):new Uint8Array(0),this},u.ArrayBuffer.prototype.end=function(t){var e,i,n=this._buff,r=n.length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<r;e+=1)s[e>>2]|=n[e]<<(e%4<<3);return this._finish(s,r),i=o(this._hash),t&&(i=l(i)),this.reset(),i},u.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},u.ArrayBuffer.prototype.getState=function(){var t,e=u.prototype.getState.call(this);return e.buff=(t=e.buff,String.fromCharCode.apply(null,new Uint8Array(t))),e},u.ArrayBuffer.prototype.setState=function(t){return t.buff=function(t){var e,i=t.length,n=new ArrayBuffer(i),r=new Uint8Array(n);for(e=0;e<i;e+=1)r[e]=t.charCodeAt(e);return r}(t.buff),u.prototype.setState.call(this,t)},u.ArrayBuffer.prototype.destroy=u.prototype.destroy,u.ArrayBuffer.prototype._finish=u.prototype._finish,u.ArrayBuffer.hash=function(t,i){var r=o(function(t){var i,r,s,o,a,l,u=t.length,c=[1732584193,-271733879,-1732584194,271733878];for(i=64;i<=u;i+=64)e(c,n(t.subarray(i-64,i)));for(r=(t=i-64<u?t.subarray(i-64):new Uint8Array(0)).length,s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i=0;i<r;i+=1)s[i>>2]|=t[i]<<(i%4<<3);if(s[i>>2]|=128<<(i%4<<3),i>55)for(e(c,s),i=0;i<16;i+=1)s[i]=0;return o=(o=8*u).toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(o[2],16),l=parseInt(o[1],16)||0,s[14]=a,s[15]=l,e(c,s),c}(new Uint8Array(t)));return i?l(r):r},u}()},2730:(t,e,i)=>{"use strict";i.d(e,{G:()=>n,r:()=>r});const n={CustomEvent:"ce",Pr:"p",_u:"pc",vc:"ca",Ea:"i",qs:"ie",M:"cci",R:"ccic",I:"ccc",F:"ccd",ql:"ss",xl:"se",Oi:"si",Ei:"sc",Gi:"sbc",Cc:"sfe",mo:"iec",Uu:"lr",zu:"uae",O:"ci",$:"cc",Ju:"lcaa",Eu:"lcar",On:"inc",Ln:"add",Rn:"rem",$n:"set",Bn:"ncam",Ku:"sgu",Fr:"ffi"},r={Ar:"feed_displayed",Ec:"content_cards_displayed"}},7070:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});const n={W:function(){const t=(t=!1)=>{const e=(Math.random().toString(16)+"000000000").substr(2,8);return t?"-"+e.substr(0,4)+"-"+e.substr(4,4):e};return t()+t(!0)+t(!0)+t()}}},5522:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});class n{constructor(t,e){this.database=t,this.vd=e,this.parent="undefined"==typeof window?self:window,this.database=t,this.vd=e}Dd(){if("indexedDB"in this.parent)return this.parent.indexedDB}isSupported(){var t;try{if(null==this.Dd())return!1;{const e=null===(t=this.Dd())||void 0===t?void 0:t.open("Braze IndexedDB Support Test");if(e&&(e.onupgradeneeded=()=>e.result.close(),e.onsuccess=()=>e.result.close()),"undefined"!=typeof window){const t=window,e=t.chrome||t.browser||t.pd;if(e&&e.runtime&&e.runtime.id)return this.vd.info("Not using IndexedDB for storage because we are running inside an extension"),!1}return!0}}catch(t){return this.vd.info("Not using IndexedDB for storage due to following error: "+t),!1}}Bd(t,e){var i;const n=null===(i=this.Dd())||void 0===i?void 0:i.open(this.database.Sd,this.database.VERSION);if(null==n)return"function"==typeof e&&e(),!1;const r=this;return n.onupgradeneeded=t=>{var e;r.vd.info("Upgrading indexedDB "+r.database.Sd+" to v"+r.database.VERSION+"...");const i=null===(e=t.target)||void 0===e?void 0:e.result;for(const t in r.database.ss){const e=t;r.database.ss.hasOwnProperty(t)&&!i.objectStoreNames.contains(r.database.ss[e])&&i.createObjectStore(r.database.ss[e])}},n.onsuccess=i=>{var n;const s=null===(n=i.target)||void 0===n?void 0:n.result;s.onversionchange=()=>{s.close(),"function"==typeof e&&e(),r.vd.error("Needed to close the database unexpectedly because of an upgrade in another tab")},t(s)},n.onerror=t=>{var i;const n=t;return r.vd.info("Could not open indexedDB "+r.database.Sd+" v"+r.database.VERSION+": "+(null===(i=n.target)||void 0===i?void 0:i.errorCode)),"function"==typeof e&&e(),!0},!0}setItem(t,e,i,n,r){if(!this.isSupported())return"function"==typeof r&&r(),!1;const s=this;return this.Bd(o=>{if(!o.objectStoreNames.contains(t))return s.vd.error("Could not store object "+e+" in "+t+" on indexedDB "+s.database.Sd+" - "+t+" is not a valid objectStore"),"function"==typeof r&&r(),void o.close();const a=o.transaction([t],"readwrite");a.oncomplete=()=>o.close();const l=a.objectStore(t).put(i,e);l.onerror=()=>{s.vd.error("Could not store object "+e+" in "+t+" on indexedDB "+s.database.Sd),"function"==typeof r&&r()},l.onsuccess=()=>{"function"==typeof n&&n()}},r)}getItem(t,e,i){if(!this.isSupported())return!1;const n=this;return this.Bd(r=>{if(!r.objectStoreNames.contains(t))return n.vd.error("Could not retrieve object "+e+" in "+t+" on indexedDB "+n.database.Sd+" - "+t+" is not a valid objectStore"),void r.close();const s=r.transaction([t],"readonly");s.oncomplete=()=>r.close();const o=s.objectStore(t).get(e);o.onerror=()=>{n.vd.error("Could not retrieve object "+e+" in "+t+" on indexedDB "+n.database.Sd)},o.onsuccess=t=>{var e;const n=null===(e=t.target)||void 0===e?void 0:e.result;null!=n&&i(n)}})}jr(t,e,i){if(!this.isSupported())return"function"==typeof i&&i(),!1;const n=this;return this.Bd(r=>{if(!r.objectStoreNames.contains(t))return n.vd.error("Could not retrieve last record from "+t+" on indexedDB "+n.database.Sd+" - "+t+" is not a valid objectStore"),"function"==typeof i&&i(),void r.close();const s=r.transaction([t],"readonly");s.oncomplete=()=>r.close();const o=s.objectStore(t).openCursor(null,"prev");o.onerror=()=>{n.vd.error("Could not open cursor for "+t+" on indexedDB "+n.database.Sd),"function"==typeof i&&i()},o.onsuccess=t=>{var n;const r=null===(n=t.target)||void 0===n?void 0:n.result;null!=r&&null!=r.value&&null!=r.key?e(r.key,r.value):"function"==typeof i&&i()}},i)}re(t,e){if(!this.isSupported())return!1;const i=this;return this.Bd(n=>{if(!n.objectStoreNames.contains(t))return i.vd.error("Could not delete record "+e+" from "+t+" on indexedDB "+i.database.Sd+" - "+t+" is not a valid objectStore"),void n.close();const r=n.transaction([t],"readwrite");r.oncomplete=()=>n.close(),r.objectStore(t).delete(e).onerror=()=>{i.vd.error("Could not delete record "+e+" from "+t+" on indexedDB "+i.database.Sd)}})}Zt(t,e){if(!this.isSupported())return!1;const i=this;return this.Bd(n=>{if(!n.objectStoreNames.contains(t))return i.vd.error("Could not retrieve objects from "+t+" on indexedDB "+i.database.Sd+" - "+t+" is not a valid objectStore"),void n.close();const r=n.transaction([t],"readwrite");r.oncomplete=()=>n.close();const s=r.objectStore(t),o=s.openCursor(),a=[];o.onerror=()=>{a.length>0?(i.vd.info("Cursor closed midway through for "+t+" on indexedDB "+i.database.Sd),e(a)):i.vd.error("Could not open cursor for "+t+" on indexedDB "+i.database.Sd)},o.onsuccess=t=>{var i;const n=null===(i=t.target)||void 0===i?void 0:i.result;null!=n?(null!=n.value&&null!=n.key&&(s.delete(n.key).onsuccess=()=>{a.push(n.value)}),"function"==typeof n.continue&&n.continue()):a.length>0&&e(a)}})}clearData(){if(!this.isSupported())return!1;const t=[];for(const e in this.database.ss){const i=e;this.database.ss.hasOwnProperty(e)&&this.database.ss[i]!==this.database.ss.ae&&t.push(this.database.ss[i])}const e=this;return this.Bd(function(i){const n=i.transaction(t,"readwrite");n.oncomplete=()=>i.close();for(let i=0;i<t.length;i++){const r=t[i];n.objectStore(r).clear().onerror=function(){e.vd.error("Could not clear "+this.source.name+" on indexedDB "+e.database.Sd)}}n.onerror=function(){e.vd.error("Could not clear object stores on indexedDB "+e.database.Sd)}})}}n.Yt={Qt:{Sd:"AppboyServiceWorkerAsyncStorage",VERSION:6,ss:{$a:"data",hr:"pushClicks",cu:"pushSubscribed",Cd:"fallbackDevice",ts:"cardUpdates",ae:"optOut",wr:"pendingData",jh:"sdkAuthenticationSignature"},ie:1}}},335:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});const n={init:function(t){void 0===t&&void 0!==n.zg||(n.zg=!!t),n.t||(n.t=!0)},destroy:function(){n.t=!1,n.zg=void 0,n.vd=void 0},setLogger:function(t){"function"==typeof t?(n.init(),n.vd=t):n.info("Ignoring setLogger call since logger is not a function")},toggleLogging:function(){n.init(),n.zg?(console.log("Disabling Braze logging"),n.zg=!1):(console.log("Enabled Braze logging"),n.zg=!0)},info:function(t){if(n.zg){const e="Braze: "+t;null!=n.vd?n.vd(e):console.log(e)}},warn:function(t){if(n.zg){const e="Braze SDK Warning: "+t+" (v5.3.1)";null!=n.vd?n.vd(e):console.warn(e)}},error:function(t){if(n.zg){const e="Braze SDK Error: "+t+" (v5.3.1)";null!=n.vd?n.vd(e):console.error(e)}}},r=n},7529:(t,e,i)=>{"use strict";i.d(e,{Z:()=>d});var n=i(5563),r=i(9179),s=i(4673),o=i(335),a=i(2730),l=i(5966);class u{constructor(t){this.u=t,this.u=t}h(t,e){const i=new s.Z;if(t.p(),null==t.url||""===t.url)return o.Z.info(`Card ${t.id} has no url. Not logging click to Braze servers.`),i;if(e&&t.id&&this.u){const e=this.u.j(l.I.C.v)||{};e[t.id]=!0,this.u.k(l.I.C.v,e)}const n=this.D([t]);if(null==n)return i;const u=e?a.G.I:a.G.$;return r.Z.q(u,n)}B(t){const e=new s.Z;if(!t.N())return o.Z.info(`Card ${t.id} refused this dismissal. Ignoring analytics event.`),e;if(t.id&&this.u){const e=this.u.j(l.I.C.A)||{};e[t.id]=!0,this.u.k(l.I.C.A,e)}const i=this.D([t]);return null==i?e:r.Z.q(a.G.F,i)}G(t,e){const i=new s.Z(!0),o=[],u=[];let c={};this.u&&(c=e?this.u.j(l.I.C.H)||{}:this.u.j(l.I.C.J)||{});for(const e of t)e.K(),e instanceof n.Z?u.push(e):o.push(e),e.id&&(c[e.id]=!0);const h=this.D(o),d=this.D(u);if(null==h&&null==d)return i.L=!1,i;if(this.u&&(e?this.u.k(l.I.C.H,c):this.u.k(l.I.C.J,c)),null!=h){const t=e?a.G.M:a.G.O,n=r.Z.q(t,h);i.P(n)}if(null!=d&&e){const t=r.Z.q(a.G.R,d);i.P(t)}return i}D(t){let e,i=null;for(let n=0;n<t.length;n++)e=t[n].id,null!=e&&""!==e&&(i=i||{},i.ids=i.ids||[],i.ids.push(e));return i}}var c=i(5825);const h={t:!1,i:null,m:()=>(h.o(),h.i||(h.i=new u(c.ZP.l())),h.i),o:()=>{h.t||(c.ZP.g(h),h.t=!0)},destroy:()=>{h.i=null,h.t=!1}},d=h},5608:(t,e,i)=>{"use strict";i.d(e,{CG:()=>b,Dj:()=>f,Ji:()=>u,Zw:()=>h,pq:()=>d,ql:()=>l,rW:()=>c,sv:()=>p});var n=i(5242),r=i(1507),s=i(420),o=i(2080),a=i(7070);function l(t){return null!=t&&!!t.getAttribute("data-ab-had-top-impression")}function u(t){null!=t&&t.setAttribute("data-ab-had-top-impression","true")}function c(t){return null!=t&&!!t.getAttribute("data-ab-had-bottom-impression")}function h(t){null!=t&&t.setAttribute("data-ab-had-bottom-impression","true")}function d(t){if(null!=t){const e=t.querySelectorAll(".ab-unread-indicator")[0];null!=e&&(e.className+=" read")}}function p(t){return t.getAttribute("data-ab-card-id")}function b(t,e){const i=e.querySelectorAll(".ab-image-area");let n,r=0;i.length>0&&(r=i[0].offsetWidth);for(const e of t)if(n=e.T,n&&e.imageUrl&&"number"==typeof e.aspectRatio){const t=r/e.aspectRatio;t&&(n.style.height=`${t}px`)}}function f(t,e,i){const l=document.createElement("div");l.className="ab-card ab-effect-card "+t._,t.id&&(l.setAttribute("data-ab-card-id",t.id),l.setAttribute("id",t.id)),l.setAttribute("role","article"),l.setAttribute("tabindex","0");let u="",c=!1;t.url&&""!==t.url&&(u=t.url,c=!0);const h=n=>(d(l),c&&(e(t),(0,s.S)(u,i,n)),!1);if(t.pinned){const t=document.createElement("div");t.className="ab-pinned-indicator";const e=document.createElement("i");e.className="fa fa-star",t.appendChild(e),l.appendChild(t)}if(t.imageUrl&&""!==t.imageUrl){const e=document.createElement("div");e.className="ab-image-area";const i=document.createElement("img");if(i.setAttribute("src",t.imageUrl),i.onload=()=>{l.style.height="auto"},function(t,e){let i="";t.title||t.description||(i="Feed Image"),e.setAttribute("alt",i)}(t,i),e.appendChild(i),l.className+=" with-image",c&&!t.S){const t=document.createElement("a");t.setAttribute("href",u),t.onclick=h,t.appendChild(e),l.appendChild(t)}else l.appendChild(e)}const p=document.createElement("div");if(p.className="ab-card-body",t.dismissible){t.logCardDismissal=()=>(0,o.K)(t);const e=(0,n.B)("Dismiss Card",void 0,t.dismissCard.bind(t));l.appendChild(e),(0,r.FZ)(p,r.mQ.U,t=>{l.className+=" ab-swiped-left",e.onclick(t)}),(0,r.FZ)(p,r.mQ.V,t=>{l.className+=" ab-swiped-right",e.onclick(t)})}let b="",f=!1;if(t.title&&""!==t.title&&(b=t.title,f=!0),f){const t=document.createElement("h1");if(t.className="ab-title",t.id=a.Z.W(),l.setAttribute("aria-labelledby",t.id),c){const e=document.createElement("a");e.setAttribute("href",u),e.onclick=h,e.appendChild(document.createTextNode(b)),t.appendChild(e)}else t.appendChild(document.createTextNode(b));p.appendChild(t)}const m=document.createElement("div");if(m.className=f?"ab-description":"ab-description ab-no-title",m.id=a.Z.W(),l.setAttribute("aria-describedby",m.id),t.description&&m.appendChild(document.createTextNode(t.description)),c){const e=document.createElement("div");e.className="ab-url-area";const i=document.createElement("a");i.setAttribute("href",u),t.linkText&&i.appendChild(document.createTextNode(t.linkText)),i.onclick=h,e.appendChild(i),m.appendChild(e)}p.appendChild(m),l.appendChild(p);const g=document.createElement("div");return g.className="ab-unread-indicator",t.viewed&&(g.className+=" read"),l.appendChild(g),t.T=l,l}},1280:(t,e,i)=>{"use strict";i.d(e,{d:()=>l});var n=i(2857),r=i(7529),s=i(7671),o=i(5825),a=i(335);function l(t,e){return!!o.ZP.X()&&(t instanceof n.Z?r.Z.m().h(t,e).L:(a.Z.error("card "+s.U4),!1))}},2080:(t,e,i)=>{"use strict";i.d(e,{K:()=>l});var n=i(2857),r=i(7529),s=i(7671),o=i(5825),a=i(335);function l(t){return!!o.ZP.X()&&(t instanceof n.Z?r.Z.m().B(t).L:(a.Z.error("card "+s.U4),!1))}},1066:(t,e,i)=>{"use strict";i.d(e,{p:()=>u});var n=i(2857),r=i(7529),s=i(5825),o=i(2893),a=i(7671),l=i(335);function u(t,e){if(!s.ZP.X())return!1;if(!(0,o.kJ)(t))return l.Z.error("cards must be an array"),!1;for(const e of t)if(!(e instanceof n.Z))return l.Z.error(`Each card in cards ${a.U4}`),!1;return r.Z.m().G(t,e).L}},2857:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(7750),r=i(7671),s=i(4663),o=i(335);class a{constructor(t,e,i,n,r,s,o,a,l,u,c,h,d,p,b,f){this.id=t,this.viewed=e,this.title=i,this.imageUrl=n,this.description=r,this.created=s,this.updated=o,this.categories=a,this.expiresAt=l,this.url=u,this.linkText=c,this.aspectRatio=h,this.extras=d,this.pinned=p,this.dismissible=b,this.clicked=f,this.id=t,this.viewed=e||!1,this.title=i||"",this.imageUrl=n,this.description=r||"",this.created=s||null,this.updated=o||null,this.categories=a||[],this.expiresAt=l||null,this.url=u,this.linkText=c,null==h?this.aspectRatio=null:(h=parseFloat(h.toString()),this.aspectRatio=isNaN(h)?null:h),this.extras=d||{},this.pinned=p||!1,this.dismissible=b||!1,this.dismissed=!1,this.clicked=f||!1,this.isControl=!1,this.test=!1,this.Et=null,this.Tt=null}subscribeToClickedEvent(t){return this.Nt().It(t)}subscribeToDismissedEvent(t){return this.St().It(t)}removeSubscription(t){this.Nt().removeSubscription(t),this.St().removeSubscription(t)}removeAllSubscriptions(){this.Nt().removeAllSubscriptions(),this.St().removeAllSubscriptions()}dismissCard(){if(!this.dismissible||this.dismissed)return;"function"==typeof this.logCardDismissal&&this.logCardDismissal();let t=this.T;!t&&this.id&&(t=document.getElementById(this.id)),t&&(t.style.height=t.offsetHeight+"px",t.className=t.className+" ab-hide",setTimeout(function(){t&&t.parentNode&&(t.style.height="0",t.style.margin="0",setTimeout(function(){t&&t.parentNode&&t.parentNode.removeChild(t)},a.At))},r.rF))}Nt(){return null==this.Et&&(this.Et=new s.Z),this.Et}St(){return null==this.Tt&&(this.Tt=new s.Z),this.Tt}K(){this.viewed=!0}p(){this.viewed=!0,this.clicked=!0,this.Nt().Dt()}N(){return!(!this.dismissible||this.dismissed||(this.dismissed=!0,this.St().Dt(),0))}Ct(t){if(null==t||t[a.Rt.ht]!==this.id)return!0;if(t[a.Rt.Lt])return!1;if(null!=t[a.Rt.nt]&&null!=this.updated&&parseInt(t[a.Rt.nt])<(0,n.FX)(this.updated.valueOf()))return!0;if(t[a.Rt.et]&&!this.viewed&&(this.viewed=!0),t[a.Rt.zt]&&!this.clicked&&(this.clicked=t[a.Rt.zt]),null!=t[a.Rt.rt]&&(this.title=t[a.Rt.rt]),null!=t[a.Rt.ot]&&(this.imageUrl=t[a.Rt.ot]),null!=t[a.Rt.ct]&&(this.description=t[a.Rt.ct]),null!=t[a.Rt.nt]){const e=(0,n.X2)(t[a.Rt.nt]);null!=e&&(this.updated=e)}if(null!=t[a.Rt.lt]){let e;e=t[a.Rt.lt]===a._t?null:(0,n.X2)(t[a.Rt.lt]),this.expiresAt=e}if(null!=t[a.Rt.URL]&&(this.url=t[a.Rt.URL]),null!=t[a.Rt.ft]&&(this.linkText=t[a.Rt.ft]),null!=t[a.Rt.xt]){const e=parseFloat(t[a.Rt.xt].toString());this.aspectRatio=isNaN(e)?null:e}return null!=t[a.Rt.bt]&&(this.extras=t[a.Rt.bt]),null!=t[a.Rt.gt]&&(this.pinned=t[a.Rt.gt]),null!=t[a.Rt.jt]&&(this.dismissible=t[a.Rt.jt]),null!=t[a.Rt.kt]&&(this.test=t[a.Rt.kt]),!0}Y(){o.Z.error("Must be implemented in a subclass")}}a._t=-1,a.Rt={ht:"id",et:"v",jt:"db",Lt:"r",nt:"ca",gt:"p",lt:"ea",bt:"e",Z:"tp",ot:"i",rt:"tt",ct:"ds",URL:"u",ft:"dm",xt:"ar",zt:"cl",kt:"t"},a.it={st:"captioned_image",Ot:"text_announcement",Mt:"short_news",Pt:"banner_image",Ut:"control"},a.tt={ht:"id",et:"v",jt:"db",dt:"cr",nt:"ca",gt:"p",ut:"t",lt:"ea",bt:"e",Z:"tp",ot:"i",rt:"tt",ct:"ds",URL:"u",ft:"dm",xt:"ar",zt:"cl",kt:"s"},a.Gt={Xt:"ADVERTISING",vt:"ANNOUNCEMENTS",Vt:"NEWS",Wt:"SOCIAL"},a.At=400},5563:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(2857);class r extends n.Z{constructor(t,e,i,n,r,s){super(t,e,null,null,null,null,i,null,n,null,null,null,r,s),this.isControl=!0,this._="ab-control-card",this.S=!1}Y(){const t={};return t[n.Z.tt.Z]=n.Z.it.Ut,t[n.Z.tt.ht]=this.id,t[n.Z.tt.et]=this.viewed,t[n.Z.tt.nt]=this.updated,t[n.Z.tt.lt]=this.expiresAt,t[n.Z.tt.bt]=this.extras,t[n.Z.tt.gt]=this.pinned,t[n.Z.tt.kt]=this.test,t}}},5899:(t,e,i)=>{"use strict";i.d(e,{xA:()=>h,D5:()=>d,rN:()=>p});var n=i(2857);class r extends n.Z{constructor(t,e,i,n,r,s,o,a,l,u,c,h,d,p,b,f){super(t,e,i,n,r,s,o,a,l,u,c,h,d,p,b,f),this._="ab-classic-card",this.S=!0}Y(){const t={};return t[n.Z.tt.Z]=n.Z.it.Mt,t[n.Z.tt.ht]=this.id,t[n.Z.tt.et]=this.viewed,t[n.Z.tt.rt]=this.title,t[n.Z.tt.ot]=this.imageUrl,t[n.Z.tt.ct]=this.description,t[n.Z.tt.nt]=this.updated,t[n.Z.tt.dt]=this.created,t[n.Z.tt.ut]=this.categories,t[n.Z.tt.lt]=this.expiresAt,t[n.Z.tt.URL]=this.url,t[n.Z.tt.ft]=this.linkText,t[n.Z.tt.xt]=this.aspectRatio,t[n.Z.tt.bt]=this.extras,t[n.Z.tt.gt]=this.pinned,t[n.Z.tt.jt]=this.dismissible,t[n.Z.tt.zt]=this.clicked,t[n.Z.tt.kt]=this.test,t}}class s extends n.Z{constructor(t,e,i,n,r,s,o,a,l,u,c,h,d,p,b,f){super(t,e,i,n,r,s,o,a,l,u,c,h,d,p,b,f),this._="ab-captioned-image",this.S=!0,this.test=!1}Y(){const t={};return t[n.Z.tt.Z]=n.Z.it.st,t[n.Z.tt.ht]=this.id,t[n.Z.tt.et]=this.viewed,t[n.Z.tt.rt]=this.title,t[n.Z.tt.ot]=this.imageUrl,t[n.Z.tt.ct]=this.description,t[n.Z.tt.nt]=this.updated,t[n.Z.tt.dt]=this.created,t[n.Z.tt.ut]=this.categories,t[n.Z.tt.lt]=this.expiresAt,t[n.Z.tt.URL]=this.url,t[n.Z.tt.ft]=this.linkText,t[n.Z.tt.xt]=this.aspectRatio,t[n.Z.tt.bt]=this.extras,t[n.Z.tt.gt]=this.pinned,t[n.Z.tt.jt]=this.dismissible,t[n.Z.tt.zt]=this.clicked,t[n.Z.tt.kt]=this.test,t}}class o extends n.Z{constructor(t,e,i,n,r,s,o,a,l,u,c,h,d,p){super(t,e,null,i,null,n,r,s,o,a,l,u,c,h,d,p),this._="ab-image-only",this.S=!1,this.test=!1}Y(){const t={};return t[n.Z.tt.Z]=n.Z.it.Pt,t[n.Z.tt.ht]=this.id,t[n.Z.tt.et]=this.viewed,t[n.Z.tt.ot]=this.imageUrl,t[n.Z.tt.nt]=this.updated,t[n.Z.tt.dt]=this.created,t[n.Z.tt.ut]=this.categories,t[n.Z.tt.lt]=this.expiresAt,t[n.Z.tt.URL]=this.url,t[n.Z.tt.ft]=this.linkText,t[n.Z.tt.xt]=this.aspectRatio,t[n.Z.tt.bt]=this.extras,t[n.Z.tt.gt]=this.pinned,t[n.Z.tt.jt]=this.dismissible,t[n.Z.tt.zt]=this.clicked,t[n.Z.tt.kt]=this.test,t}}var a=i(5563),l=i(7750),u=i(335);function c(t,e,i,l,c,h,d,p,b,f,m,g,v,y,w,x,Z,k){let S;if(e===n.Z.it.Ot||e===n.Z.it.Mt)S=new r(t,i,l,c,h,d,p,b,f,m,g,v,y,w,x,Z);else if(e===n.Z.it.st)S=new s(t,i,l,c,h,d,p,b,f,m,g,v,y,w,x,Z);else if(e===n.Z.it.Pt)S=new o(t,i,c,d,p,b,f,m,g,v,y,w,x,Z);else{if(e!==n.Z.it.Ut)return u.Z.error("Ignoring card with unknown type "+e),null;S=new a.Z(t,i,p,f,y,w)}return k&&(S.test=k),S}function h(t){if(t[n.Z.Rt.Lt])return null;const e=t[n.Z.Rt.ht],i=t[n.Z.Rt.Z],r=t[n.Z.Rt.et],s=t[n.Z.Rt.rt],o=t[n.Z.Rt.ot],a=t[n.Z.Rt.ct],u=(0,l.X2)(t[n.Z.Rt.nt]),h=u;let d;return d=t[n.Z.Rt.lt]===n.Z._t?null:(0,l.X2)(t[n.Z.Rt.lt]),c(e,i,r,s,o,a,h,u,null,d,t[n.Z.Rt.URL],t[n.Z.Rt.ft],t[n.Z.Rt.xt],t[n.Z.Rt.bt],t[n.Z.Rt.gt],t[n.Z.Rt.jt],t[n.Z.Rt.zt],t[n.Z.Rt.kt]||!1)}function d(t){return c(t.id,t.type,t.viewed,t.title,t.image,t.description,(0,l.X2)(t.created),(0,l.X2)(t.updated),t.categories,(0,l.X2)(t.expires_at),t.url,t.domain,t.aspect_ratio,t.extras,!1,!1)}function p(t){return c(t[n.Z.tt.ht],t[n.Z.tt.Z],t[n.Z.tt.et],t[n.Z.tt.rt],t[n.Z.tt.ot],t[n.Z.tt.ct],(0,l.Rd)(t[n.Z.tt.dt]),(0,l.Rd)(t[n.Z.tt.nt]),t[n.Z.tt.ut],(0,l.Rd)(t[n.Z.tt.lt]),t[n.Z.tt.URL],t[n.Z.tt.ft],t[n.Z.tt.xt],t[n.Z.tt.bt],t[n.Z.tt.gt],t[n.Z.tt.jt],t[n.Z.tt.zt],t[n.Z.tt.kt]||!1)||void 0}},4790:(t,e,i)=>{"use strict";i.r(e),i.d(e,{changeUser:()=>l});var n=i(5825),r=i(8548),s=i(335),o=i(7615),a=i(3905);function l(t,e){if(!n.ZP.X())return;if(null==t||0===t.length||t!=t)return void s.Z.error("changeUser requires a non-empty userId.");if((0,r.E)(t)>o.Z.lr)return void s.Z.error(`Rejected user id "${t}" because it is longer than ${o.Z.lr} bytes.`);if(null!=e&&!(0,a.ro)(e,"set signature for new user","signature"))return;const i=n.ZP.cr();i&&i.changeUser(t.toString(),n.ZP.gr(),e)}},6243:(t,e,i)=>{"use strict";i.d(e,{P:()=>r});var n=i(5825);function r(){if(n.ZP.X())return n.ZP.pr()}},420:(t,e,i)=>{"use strict";i.d(e,{S:()=>d});var n=i(335),r=i(7671),s=i(5825),o=i(3046),a=i(3695),l=i(5806),u=i(3905),c=i(5319),h=i(6243);function d(t,e,d){if(s.ZP.X())if(u.y9.test(t)){const e=(0,o.OL)(t);if(!e)return;const d=t=>{if(!(0,u.zR)(t))return void n.Z.error(`Decoded Braze Action json is invalid: ${JSON.stringify(t,null,2)}`);const e=o.A9.properties.type,p=o.A9.properties.oo,b=o.A9.properties.eo,f=t[e];if(f===o.A9.types.ro){const e=t[p];for(const t of e)d(t)}else{const e=t[b];let u,d;switch(f){case o.A9.types.logCustomEvent:Promise.resolve().then(i.bind(i,1454)).then(({logCustomEvent:t})=>{s.ZP.so()?(d=Array.prototype.slice.call(e),t(...d)):n.Z.error(r.Go)});break;case o.A9.types.requestPushPermission:Promise.resolve().then(i.bind(i,2261)).then(({requestPushPermission:t})=>{s.ZP.so()?"Safari"===a.Z.browser&&a.Z.OS===l.T.io?window.navigator.standalone&&t():t():n.Z.error(r.Go)});break;case o.A9.types.setEmailNotificationSubscriptionType:case o.A9.types.setPushNotificationSubscriptionType:case o.A9.types.setCustomUserAttribute:case o.A9.types.addToSubscriptionGroup:case o.A9.types.removeFromSubscriptionGroup:case o.A9.types.addToCustomAttributeArray:case o.A9.types.removeFromCustomAttributeArray:u=(0,h.P)(),u&&u[f](...Array.prototype.slice.call(e));break;case o.A9.types.no:case o.A9.types.ao:d=Array.prototype.slice.call(e),c.SD.openUri(...d);break;default:n.Z.info(`Ignoring unknown Braze Action: ${f}`)}}};d(e)}else c.SD.openUri(t,e,d)}},1454:(t,e,i)=>{"use strict";i.r(e),i.d(e,{logCustomEvent:()=>h});var n=i(5825),r=i(9179),s=i(335),o=i(2730),a=i(4365),l=i(9342),u=i(3905),c=i(7671);function h(t,e){if(!n.ZP.X())return!1;if(null==t||t.length<=0)return s.Z.error(`logCustomEvent requires a non-empty eventName, got "${t}". Ignoring event.`),!1;if(!(0,u.zM)(t,"log custom event","the event name"))return!1;const[i,h]=(0,u.lg)(e,c._P,"eventProperties",`log custom event "${t}"`,"event");if(!i)return!1;const d=n.ZP.ir();if(d&&d.me(t))return s.Z.info(`Custom Event "${t}" is blocklisted, ignoring.`),!1;const p=r.Z.q(o.G.CustomEvent,{n:t,p:h});if(p.L){s.Z.info(`Logged custom event "${t}".`);for(const i of p.ge)l.n.rr().fe(a.Z.ue,[t,e],i)}return p.L}},4650:(t,e,i)=>{"use strict";i.r(e),i.d(e,{requestImmediateDataFlush:()=>r});var n=i(5825);function r(t){if(!n.ZP.X())return;const e=n.ZP.cr();e&&e.requestImmediateDataFlush(t)}},3340:(t,e,i)=>{"use strict";i.d(e,{V:()=>d,q:()=>h});var n=i(1792),r=i(8376),s=i(4410),o=i(1090),a=i(4072),l=i(3811),u=i(6616),c=i(335);function h(t){if(!t)return null;if(t.is_control)return r.Z.fromJson(t);let e=t.type;null!=e&&(e=e.toUpperCase());const i=t.message,h=t.text_align_message,d=t.slide_from,p=t.extras,b=t.trigger_id,f=t.click_action,m=t.uri,g=t.open_target,v=t.message_close,y=t.duration,w=t.icon,x=t.image_url,Z=t.image_style,k=t.icon_color,S=t.icon_bg_color,E=t.bg_color,C=t.text_color,A=t.close_btn_color,_=t.header,I=t.text_align_header,T=t.header_text_color,N=t.frame_color,O=[];let P=t.btns;null==P&&(P=[]);for(let t=0;t<P.length;t++)O.push(a.Z.fromJson(P[t]));const z=t.crop_type,D=t.orientation,U=t.animate_in,R=t.animate_out;let M=t.html_id,L=t.css;null!=M&&""!==M&&null!=L&&""!==L||(M=void 0,L=void 0);const j=t.message_extras;let B;if(e===l.Z.it||e===n.Z.qe.Ve)B=new l.Z(i,h,p,b,f,m,g,v,y,w,x,Z,k,S,E,C,A,U,R,_,I,T,N,O,z,M,L,j);else if(e===s.Z.it)B=new s.Z(i,h,p,b,f,m,g,v,y,w,x,Z,k,S,E,C,A,U,R,_,I,T,N,O,z,D,M,L,j);else if(e===u.Z.it)B=new u.Z(i,h,d,p,b,f,m,g,v,y,w,x,k,S,E,C,A,U,R,M,L,j);else{if(e!==o.Z.it&&e!==n.Z.qe.$e&&e!==n.Z.qe.We)return void c.Z.error("Ignoring message with unknown type "+e);{const e=t.message_fields;B=new o.Z(i,p,b,v,y,U,R,N,M,L,e,j),B.trusted=t.trusted||!1}}return B.we=e,B}function d(t){const e=[];for(const i of t)e.push(new a.Z(i.text,i.backgroundColor,i.textColor,i.borderColor,i.clickAction,i.uri,i.id));return e}},1087:(t,e,i)=>{"use strict";i.d(e,{Z:()=>A});var n=i(1843),r=i(5825),s=i(8376),o=i(1090),a=i(1792),l=i(4072),u=i(9179),c=i(3340),h=i(6504),d=i(4673),p=i(2730),b=i(335),f=i(4663),m=i(2246),g=i(3905),v=i(3046),y=i(4556),w=i(6870),x=i(5966),Z=i(4410),k=i(3811),S=i(6616);class E{constructor(t,e,i,n){this.qt=t,this.ri=e,this.u=i,this.wt=n,this.qt=t,this.ri=e,this.u=i,this.wt=n,this._e=new f.Z,r.ZP.$t(this._e),this.Xe=1e3,this.Ye=6e4,this.Ze=null}Mi(){return this._e}_i(t){return this._e.It(t)}Pi(){return this.Ze}$i(t){this.Ze=t}q(t,e,i,n){const r=new d.Z;let a;if(t instanceof s.Z)a={trigger_ids:[t.triggerId]};else{if(e===p.G.Ei||t instanceof o.Z&&e===p.G.Gi){if(!t.p(n))return b.Z.info("This in-app message has already received a click. Ignoring analytics event."),r}else if(e===p.G.Oi&&!t.K())return b.Z.info("This in-app message has already received an impression. Ignoring analytics event."),r;a=this.Xi(t)}return null==a?r:(t.messageExtras&&(a.message_extras=t.messageExtras),null!=i&&(a.bid=i),u.Z.q(e,a))}Hi(t,e){const i=new d.Z;if(!t.p())return b.Z.info("This in-app message button has already received a click. Ignoring analytics event."),i;const n=this.Xi(e);return null==n?i:t.id===l.Z.Ji?(b.Z.info("This in-app message button does not have a tracking id. Not logging event to Braze servers."),i):(null!=t.id&&(n.bid=t.id),u.Z.q(p.G.Gi,n))}Ki(t){const e=t.messageFields;return null!=e&&e.is_push_primer||!1}Li(t){if(!(t instanceof a.Z))return;const e=t=>{if(!t)return;const e=(0,v.OL)(t);return(0,v.je)(e)?(0,v.Tu)(v.yi.Qi,"In-App Message"):(0,v.zA)(e)&&!y.Z.Vi()?(0,v.Tu)(v.yi.Wi,"In-App Message"):void 0};if(this.Ki(t)&&!y.Z.Vi())return"In-App Message contains a push prompt, but is not eligible for a push prompt. Ignoring.";const i=t.buttons||[];let n;for(const t of i)if(t.clickAction===a.Z.ClickAction.URI&&t.uri&&g.y9.test(t.uri)&&(n=e(t.uri),n))return n;return t.clickAction===a.Z.ClickAction.URI&&t.uri&&g.y9.test(t.uri)?e(t.uri):void 0}Yi(t,e,i,r){const s=this.qt;if(!s)return;const o=s.Zi(!1,!1),a=s.Js(o);a.template={trigger_id:t.triggerId,trigger_event_type:e},null!=i&&(a.template.data=i.Ir());const l=s.$s(a,w.Z.Ps.Mr);s.Xs(a,(s=-1)=>{if(!this.qt)return;const o=(new Date).valueOf();w.Z._s(this.u,w.Z.Ps.Mr,o),-1!==s&&l.push(["X-Braze-Req-Tokens-Remaining",s.toString()]),n.Z.Gs({url:`${this.qt.Hs()}/template/`,data:a,headers:l,L:e=>{if(w.Z.Qs(this.u,w.Z.Ps.Mr,1),!this.qt.Ks(a,e,l))return void("function"==typeof t.Tr&&t.Tr());if(this.qt.Os(),null==e||null==e.templated_message)return;const i=e.templated_message;if(i.type!==m.Z._r.Br)return;const n=(0,c.q)(i.data);if(null==n)return;const r=this.Li(n);if(r)return b.Z.error(r),void("function"==typeof t.Tr&&t.Tr());"function"==typeof t.Er&&t.Er(n)},error:n=>{let s=`getting user personalization for message ${t.triggerId}`;if((new Date).valueOf()-t.Gr<t.Nr){w.Z.Ys(this.u,w.Z.Ps.Mr);const n=Math.min(t.Nr,this.Ye),o=this.Xe;null==r&&(r=o);const a=Math.min(n,(0,h.R)(o,3*r));s+=`. Retrying in ${a} ms`,setTimeout(()=>{this.Yi(t,e,i,a)},a)}this.qt.Vs(n,s)}})},w.Z.Ps.Mr)}Xi(t){if(null==t.triggerId)return b.Z.info("The in-app message has no analytics id. Not logging event to Braze servers."),null;const e={};return null!=t.triggerId&&(e.trigger_ids=[t.triggerId]),e}je(t){return!!this.u&&!(!(t&&t instanceof a.Z&&t.constructor!==a.Z)||t instanceof s.Z)&&this.u.k(x.I.C.Cr,t.Y())}Ue(){if(!this.u)return null;const t=this.u.j(x.I.C.Cr);if(!t)return null;let e;switch(t.type){case a.Z.qe.Or:e=Z.Z.Xr(t);break;case a.Z.qe.Hr:case a.Z.qe.$e:case a.Z.qe.We:e=o.Z.Xr(t);break;case a.Z.qe.Jr:case a.Z.qe.Ve:e=k.Z.Xr(t);break;case a.Z.qe.Kr:e=S.Z.Xr(t)}return e&&this.Lr(),e}Lr(){this.u&&this.u.ti(x.I.C.Cr)}}const C={i:null,t:!1,m:()=>(C.o(),C.i||(C.i=new E(r.ZP.nr(),r.ZP.zr(),r.ZP.l(),r.ZP.er())),C.i),o:()=>{C.t||(r.ZP.g(C),C.t=!0)},destroy:()=>{C.i=null,C.t=!1}},A=C},8376:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});class n{constructor(t,e){this.triggerId=t,this.messageExtras=e,this.triggerId=t,this.messageExtras=e,this.extras={},this.isControl=!0}static fromJson(t){return new n(t.trigger_id,t.message_extras)}}},4410:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(3340),r=i(1792);class s extends r.Z{constructor(t,e,i,n,s,o,a,l,u,c,h,d,p,b,f,m,g,v,y,w,x,Z,k,S,E,C,A,_,I){l=l||r.Z.DismissType.MANUAL,C=C||r.Z.Orientation.PORTRAIT,super(t,e,void 0,i,n,s,o,a,l,u,c,h,d,p,b,f,m,g,v,y,w,x,Z,k,S,E=E||r.Z.CropType.CENTER_CROP,C,A,_,I),this.De=r.Z.TextAlignment.CENTER}Y(){return super.Y(s.it)}static Xr(t){return new s(t[r.Z.tt.Vr],t[r.Z.tt.Wr],t[r.Z.tt.bt],t[r.Z.tt.Yr],t[r.Z.tt.Zr],t[r.Z.tt.URI],t[r.Z.tt.ea],t[r.Z.tt.ra],t[r.Z.tt.sa],t[r.Z.tt.ta],t[r.Z.tt.ot],t[r.Z.tt.ia],t[r.Z.tt.aa],t[r.Z.tt.oa],t[r.Z.tt.pa],t[r.Z.tt.ma],t[r.Z.tt.na],t[r.Z.tt.ua],t[r.Z.tt.ca],t[r.Z.tt.fa],t[r.Z.tt.da],t[r.Z.tt.la],t[r.Z.tt.ga],(0,n.V)(t[r.Z.tt.ja]),t[r.Z.tt.xa],t[r.Z.tt.za],t[r.Z.tt.ha],t[r.Z.tt.CSS],t[r.Z.tt.va])}}s.it=r.Z.qe.Or},1090:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(1792);class r extends n.Z{constructor(t,e,i,r,s,o,a,l,u,c,h,d){super(t,void 0,void 0,e,i,void 0,void 0,void 0,r=r||n.Z.DismissType.MANUAL,s,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,o,a,void 0,void 0,void 0,l,void 0,void 0,void 0,u,c,d),this.messageFields=h,this.messageFields=h}do(){return!1}p(t){if(this.we===n.Z.qe.Hr){if(this.vo)return!1;this.vo=!0}return this.Et.Dt(t),!0}Y(){const t=super.Y(r.it);return t[n.Z.tt.uo]=this.messageFields,t}static Xr(t){return new r(t[n.Z.tt.Vr],t[n.Z.tt.bt],t[n.Z.tt.Yr],t[n.Z.tt.ra],t[n.Z.tt.sa],t[n.Z.tt.ua],t[n.Z.tt.ca],t[n.Z.tt.ga],t[n.Z.tt.ha],t[n.Z.tt.CSS],t[n.Z.tt.uo],t[n.Z.tt.va])}}r.it=n.Z.qe.Hr},4072:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(1792),r=i(4663);class s{constructor(t,e,i,o,a,l,u){this.text=t,this.backgroundColor=e,this.textColor=i,this.borderColor=o,this.clickAction=a,this.uri=l,this.id=u,this.text=t||"",this.backgroundColor=e||n.Z.th.sh,this.textColor=i||n.Z.th.ih,this.borderColor=o||this.backgroundColor,this.clickAction=a||n.Z.ClickAction.NONE,this.uri=l,null==u&&(u=s.Ji),this.id=u,this.vo=!1,this.Et=new r.Z}subscribeToClickedEvent(t){return this.Et.It(t)}removeSubscription(t){this.Et.removeSubscription(t)}removeAllSubscriptions(){this.Et.removeAllSubscriptions()}p(){return!this.vo&&(this.vo=!0,this.Et.Dt(),!0)}static fromJson(t){return new s(t.text,t.bg_color,t.text_color,t.border_color,t.click_action,t.uri,t.id)}}s.Ji=-1},1792:(t,e,i)=>{"use strict";i.d(e,{Z:()=>u});var n=i(5825),r=i(3695),s=i(1507),o=i(7429),a=i(4663),l=i(7048);class u{constructor(t,e,i,n,r,s,o,l,c,h,d,p,b,f,m,g,v,y,w,x,Z,k,S,E,C,A,_,I,T,N){this.message=t,this.messageAlignment=e,this.slideFrom=i,this.extras=n,this.triggerId=r,this.clickAction=s,this.uri=o,this.openTarget=l,this.dismissType=c,this.duration=h,this.icon=d,this.imageUrl=p,this.imageStyle=b,this.iconColor=f,this.iconBackgroundColor=m,this.backgroundColor=g,this.textColor=v,this.closeButtonColor=y,this.animateIn=w,this.animateOut=x,this.header=Z,this.headerAlignment=k,this.headerTextColor=S,this.frameColor=E,this.buttons=C,this.cropType=A,this.orientation=_,this.htmlId=I,this.css=T,this.messageExtras=N,this.message=t,this.messageAlignment=e||u.TextAlignment.CENTER,this.duration=h||5e3,this.slideFrom=i||u.SlideFrom.BOTTOM,this.extras=n||{},this.triggerId=r,this.clickAction=s||u.ClickAction.NONE,this.uri=o,this.openTarget=l||u.OpenTarget.NONE,this.dismissType=c||u.DismissType.AUTO_DISMISS,this.icon=d,this.imageUrl=p,this.imageStyle=b||u.ImageStyle.TOP,this.iconColor=f||u.th.ih,this.iconBackgroundColor=m||u.th.sh,this.backgroundColor=g||u.th.ih,this.textColor=v||u.th.hh,this.closeButtonColor=y||u.th.eh,this.animateIn=w,null==this.animateIn&&(this.animateIn=!0),this.animateOut=x,null==this.animateOut&&(this.animateOut=!0),this.header=Z,this.headerAlignment=k||u.TextAlignment.CENTER,this.headerTextColor=S||u.th.hh,this.frameColor=E||u.th.Eh,this.buttons=C||[],this.cropType=A||u.CropType.FIT_CENTER,this.orientation=_,this.htmlId=I,this.css=T,this.isControl=!1,this.messageExtras=N,this.nh=!1,this.Th=!1,this.vo=!1,this.oh=!1,this.Me=null,this.ke=null,this.Et=new a.Z,this.rh=new a.Z,this.De=u.TextAlignment.CENTER}subscribeToClickedEvent(t){return this.Et.It(t)}subscribeToDismissedEvent(t){return this.rh.It(t)}removeSubscription(t){this.Et.removeSubscription(t),this.rh.removeSubscription(t)}removeAllSubscriptions(){this.Et.removeAllSubscriptions(),this.rh.removeAllSubscriptions()}closeMessage(){this.Ae(this.Me)}ze(){return!0}do(){return this.ze()}xe(){return null!=this.htmlId&&this.htmlId.length>4}Ce(){return this.xe()&&null!=this.css&&this.css.length>0}ve(){if(this.xe()&&this.Ce())return this.htmlId+"-css"}K(){return!this.Th&&(this.Th=!0,!0)}Ur(){return this.Th}p(t){return!this.vo&&(this.vo=!0,this.Et.Dt(),!0)}N(){return!this.oh&&(this.oh=!0,this.rh.Dt(),!0)}hide(t){if(t&&t.parentNode){let e=t.closest(".ab-iam-root");if(null==e&&(e=t),this.ze()&&null!=e.parentNode){const t=e.parentNode.classList;t&&t.contains(u.lh)&&t.remove(u.lh),document.body.removeEventListener("touchmove",u.uh)}e.className=e.className.replace(u.ah,u.Ih)}return this.animateOut||!1}Ae(t,e){if(null==t)return;let i;this.Me=null,i=-1===t.className.indexOf("ab-in-app-message")?t.getElementsByClassName("ab-in-app-message")[0]:t;let n=!1;i&&(n=this.hide(i));const s=document.body;let o;null!=s&&(o=s.scrollTop);const a=()=>{if(t&&t.parentNode){let e=t.closest(".ab-iam-root");null==e&&(e=t),e.parentNode&&e.parentNode.removeChild(e)}const i=this.ve();if(null!=i){const t=document.getElementById(i);t&&t.parentNode&&t.parentNode.removeChild(t)}null!=s&&"Safari"===r.Z.browser&&(s.scrollTop=o),e?e():this.N()};n?setTimeout(a,u.Ah):a(),this.ke&&this.ke.focus()}Je(){return document.createTextNode(this.message||"")}Ge(t){let e="";this.message||this.header||!this.ze()||(e="Modal Image"),t.setAttribute("alt",e)}static uh(t){if(t.targetTouches&&t.targetTouches.length>1)return;const e=t.target;e&&e.classList&&e.classList.contains("ab-message-text")&&e.scrollHeight>e.clientHeight||document.querySelector(`.${u.lh}`)&&t.cancelable&&t.preventDefault()}Oh(t){const e=t.parentNode;this.ze()&&null!=e&&this.orientation!==u.Orientation.LANDSCAPE&&(null!=e.classList&&e.classList.add(u.lh),document.body.addEventListener("touchmove",u.uh,!!(0,s.QZ)()&&{passive:!1})),t.className+=" "+u.ah}static _h(t){if(t.keyCode===o.m.mh&&!n.ZP.nn(n.JY.Lh)&&document.querySelectorAll(".ab-modal-interactions").length>0){const t=document.getElementsByClassName("ab-html-message");let e=!1;for(const i of t){let t=null;(0,l.f)(i)&&i.contentWindow&&(t=i.contentWindow.document.getElementsByClassName("ab-programmatic-close-button")[0]),null!=t&&((0,s.$j)(t),e=!0)}if(!e){const t=document.querySelectorAll(".ab-modal-interactions > .ab-close-button")[0];null!=t&&(0,s.$j)(t)}}}Nh(){this.nh||n.ZP.nn(n.JY.Lh)||(document.addEventListener("keydown",u._h,!1),n.ZP.Sh(()=>{document.removeEventListener("keydown",u._h)}),this.nh=!0)}Y(t){const e={};return t?(e[u.tt.Vr]=this.message,e[u.tt.Wr]=this.messageAlignment,e[u.tt.Rh]=this.slideFrom,e[u.tt.bt]=this.extras,e[u.tt.Yr]=this.triggerId,e[u.tt.Zr]=this.clickAction,e[u.tt.URI]=this.uri,e[u.tt.ea]=this.openTarget,e[u.tt.ra]=this.dismissType,e[u.tt.sa]=this.duration,e[u.tt.ta]=this.icon,e[u.tt.ot]=this.imageUrl,e[u.tt.ia]=this.imageStyle,e[u.tt.aa]=this.iconColor,e[u.tt.oa]=this.iconBackgroundColor,e[u.tt.pa]=this.backgroundColor,e[u.tt.ma]=this.textColor,e[u.tt.na]=this.closeButtonColor,e[u.tt.ua]=this.animateIn,e[u.tt.ca]=this.animateOut,e[u.tt.fa]=this.header,e[u.tt.da]=this.headerAlignment,e[u.tt.la]=this.headerTextColor,e[u.tt.ga]=this.frameColor,e[u.tt.ja]=this.buttons,e[u.tt.xa]=this.cropType,e[u.tt.za]=this.orientation,e[u.tt.ha]=this.htmlId,e[u.tt.CSS]=this.css,e[u.tt.Z]=t,e[u.tt.va]=this.messageExtras,e):e}}u.th={hh:4281545523,ih:4294967295,sh:4278219733,Mh:4293914607,Dh:4283782485,Eh:3224580915,eh:4288387995},u.Be={Ch:"hd",Le:"ias",dh:"of",Uh:"do",bh:"umt",Ph:"tf",ph:"te"},u.SlideFrom={TOP:"TOP",BOTTOM:"BOTTOM"},u.ClickAction={NEWS_FEED:"NEWS_FEED",URI:"URI",NONE:"NONE"},u.DismissType={AUTO_DISMISS:"AUTO_DISMISS",MANUAL:"SWIPE"},u.OpenTarget={NONE:"NONE",BLANK:"BLANK"},u.ImageStyle={TOP:"TOP",GRAPHIC:"GRAPHIC"},u.Orientation={PORTRAIT:"PORTRAIT",LANDSCAPE:"LANDSCAPE"},u.TextAlignment={START:"START",CENTER:"CENTER",END:"END"},u.CropType={CENTER_CROP:"CENTER_CROP",FIT_CENTER:"FIT_CENTER"},u.qe={Kr:"SLIDEUP",Jr:"MODAL",Ve:"MODAL_STYLED",Or:"FULL",Hr:"WEB_HTML",$e:"HTML",We:"HTML_FULL"},u.Ah=500,u.fh=200,u.ah="ab-show",u.Ih="ab-hide",u.lh="ab-pause-scrolling",u.tt={Vr:"m",Wr:"ma",Rh:"sf",bt:"e",Yr:"ti",Zr:"ca",URI:"u",ea:"oa",ra:"dt",sa:"d",ta:"i",ot:"iu",ia:"is",aa:"ic",oa:"ibc",pa:"bc",ma:"tc",na:"cbc",ua:"ai",ca:"ao",fa:"h",da:"ha",la:"htc",ga:"fc",ja:"b",xa:"ct",za:"o",ha:"hi",CSS:"css",Z:"type",uo:"messageFields",va:"me"}},3811:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(3340),r=i(1792);class s extends r.Z{constructor(t,e,i,n,s,o,a,l,u,c,h,d,p,b,f,m,g,v,y,w,x,Z,k,S,E,C,A,_){super(t,e,void 0,i,n,s,o,a,l=l||r.Z.DismissType.MANUAL,u,c,h,d,p,b,f,m,g,v,y,w,x,Z,k,S,E=E||r.Z.CropType.FIT_CENTER,void 0,C,A,_),this.De=r.Z.TextAlignment.CENTER}Y(){return super.Y(s.it)}static Xr(t){return new s(t[r.Z.tt.Vr],t[r.Z.tt.Wr],t[r.Z.tt.bt],t[r.Z.tt.Yr],t[r.Z.tt.Zr],t[r.Z.tt.URI],t[r.Z.tt.ea],t[r.Z.tt.ra],t[r.Z.tt.sa],t[r.Z.tt.ta],t[r.Z.tt.ot],t[r.Z.tt.ia],t[r.Z.tt.aa],t[r.Z.tt.oa],t[r.Z.tt.pa],t[r.Z.tt.ma],t[r.Z.tt.na],t[r.Z.tt.ua],t[r.Z.tt.ca],t[r.Z.tt.fa],t[r.Z.tt.da],t[r.Z.tt.la],t[r.Z.tt.ga],(0,n.V)(t[r.Z.tt.ja]),t[r.Z.tt.xa],t[r.Z.tt.ha],t[r.Z.tt.CSS],t[r.Z.tt.va])}}s.it=r.Z.qe.Jr},6616:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(1792),r=i(1507);class s extends n.Z{constructor(t,e,i,r,s,o,a,l,u,c,h,d,p,b,f,m,g,v,y,w,x,Z){m=m||n.Z.th.Dh,f=f||n.Z.th.Mh,super(t,e=e||n.Z.TextAlignment.START,i,r,s,o,a,l,u,c,h,d,void 0,p,b,f,m,g,v,y,void 0,void 0,void 0,void 0,void 0,void 0,void 0,w,x,Z),this.De=n.Z.TextAlignment.START}ze(){return!1}Je(){const t=document.createElement("span");return t.appendChild(document.createTextNode(this.message||"")),t}Oh(t){const e=t.getElementsByClassName("ab-in-app-message")[0];r.lP.po(e,!0,!0)||(this.slideFrom===n.Z.SlideFrom.TOP?e.style.top="0px":e.style.bottom="0px"),super.Oh(t)}Y(){return super.Y(s.it)}static Xr(t){return new s(t[n.Z.tt.Vr],t[n.Z.tt.Wr],t[n.Z.tt.Rh],t[n.Z.tt.bt],t[n.Z.tt.Yr],t[n.Z.tt.Zr],t[n.Z.tt.URI],t[n.Z.tt.ea],t[n.Z.tt.ra],t[n.Z.tt.sa],t[n.Z.tt.ta],t[n.Z.tt.ot],t[n.Z.tt.aa],t[n.Z.tt.oa],t[n.Z.tt.pa],t[n.Z.tt.ma],t[n.Z.tt.na],t[n.Z.tt.ua],t[n.Z.tt.ca],t[n.Z.tt.ha],t[n.Z.tt.CSS],t[n.Z.tt.va])}}s.it=n.Z.qe.Kr},7048:(t,e,i)=>{"use strict";i.d(e,{E:()=>r,f:()=>n});const n=t=>null!==t&&"IFRAME"===t.tagName;function r(t){var e;if("SCRIPT"===t.tagName)null===(e=t.parentNode)||void 0===e||e.replaceChild(function(t){const e=document.createElement("script");e.text=t.innerHTML;for(const i of t.attributes)e.setAttribute(i.name,i.value);return e}(t),t);else for(const e of t.childNodes)r(e);return t}},4127:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>b});var n=i(5825),r=i(2893),s=i(3552),o=i(335),a=i(5966),l=i(7615),u=i(5319),c=i(4556),h=i(8031);class d{constructor(t,e,i,n,r,s,o,a,l,u){this.sn=t,this.rn=e,this.on=i,this.un=r,this.an=s,this.yt=o,this.cn=a,this.hn=l,this.u=u,this.sn=t,this.rn=e,this.on=i,this.fn=n+"/safari/"+e,this.un=r||"/service-worker.js",this.an=s,this.yt=o,this.cn=a||!1,this.hn=l||!1,this.u=u,this.ln=c.Z.dn(),this.pn=c.Z.bn()}mn(){return this.hn}yn(t,e,i,n,r){t.unsubscribe().then(t=>{t?this.vn(e,i,n,r):(o.Z.error("Failed to unsubscribe device from push."),"function"==typeof r&&r(!1))}).catch(t=>{o.Z.error("Push unsubscription error: "+t),"function"==typeof r&&r(!1)})}gn(t,e,i){var n;const r=(t=>{if("string"==typeof t)return t;if(0!==t.endpoint.indexOf("https://android.googleapis.com/gcm/send"))return t.endpoint;let e=t.endpoint;const i=t;return i.wn&&-1===t.endpoint.indexOf(i.wn)&&(e=t.endpoint+"/"+i.wn),e})(t);let s=null,a=null;const l=t;if(null!=l.getKey)try{const t=Array.from(new Uint8Array(l.getKey("p256dh"))),e=Array.from(new Uint8Array(l.getKey("auth")));s=btoa(String.fromCharCode.apply(null,t)),a=btoa(String.fromCharCode.apply(null,e))}catch(t){o.Z.error((0,h.e)(t))}const u=(t=>{let e;return t.options&&(e=t.options.applicationServerKey)&&e.byteLength&&e.byteLength>0?btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(e)))).replace(/\+/g,"-").replace(/\//g,"_"):null})(l);null===(n=this.sn)||void 0===n||n.kn(r,e,s,a,u),r&&"function"==typeof i&&i(r,s,a)}Pn(){var t;null===(t=this.sn)||void 0===t||t.Dn(!0)}Sn(t,e){var i;null===(i=this.sn)||void 0===i||i.Dn(!1),o.Z.info(t),"function"==typeof e&&e(!1)}An(t,e,i,n){var r;if("default"===e.permission)try{window.safari.pushNotification.requestPermission(this.fn,t,{api_key:this.rn,device_id:(null===(r=this.on)||void 0===r?void 0:r.ce().id)||""},e=>{"granted"===e.permission&&this.sn&&this.sn.setPushNotificationSubscriptionType(l.Z.NotificationSubscriptionTypes.OPTED_IN),this.An(t,e,i,n)})}catch(t){this.Sn("Could not request permission for push: "+t,n)}else"denied"===e.permission?this.Sn("The user has blocked notifications from this site, or Safari push is not configured in the Braze dashboard.",n):"granted"===e.permission&&(o.Z.info("Device successfully subscribed to push."),this.gn(e.deviceToken,new Date,i))}requestPermission(t,e,i){const n=n=>{switch(n){case"granted":return void("function"==typeof t&&t());case"default":return void("function"==typeof e&&e());case"denied":return void("function"==typeof i&&i());default:o.Z.error("Received unexpected permission result "+n)}};let r=!1;if("default"!==window.Notification.permission)n(Notification.permission);else{const t=window.Notification.requestPermission(t=>{r&&n(t)});t?t.then(t=>{n(t)}):r=!0}}vn(t,e,i,n){const r={userVisibleOnly:!0};null!=e&&(r.applicationServerKey=e),t.pushManager.subscribe(r).then(t=>{o.Z.info("Device successfully subscribed to push."),this.gn(t,new Date,i)}).catch(t=>{c.Z.isPushBlocked()?(o.Z.info("Permission for push notifications was denied."),"function"==typeof n&&n(!1)):(o.Z.error("Push subscription failed: "+t),"function"==typeof n&&n(!0))})}jn(){return this.cn?navigator.serviceWorker.getRegistration(this.un):navigator.serviceWorker.register(this.un).then(()=>navigator.serviceWorker.ready.then(t=>(t&&"function"==typeof t.update&&t.update().catch(t=>{o.Z.info("ServiceWorker update failed: "+t)}),t)))}xn(t){this.cn||(t.unregister(),o.Z.info("Service worker successfully unregistered."))}subscribe(t,e){if(!c.Z.isPushSupported())return o.Z.info(d.Nn),void("function"==typeof e&&e(!1));if(this.ln){if(!this.cn&&null!=window.location){let t=this.un;-1===t.indexOf(window.location.host)&&(t=window.location.host+t),-1===t.indexOf(window.location.protocol)&&(t=window.location.protocol+"//"+t);const i=t.substr(0,t.lastIndexOf("/")+1);if(0!==u.SD.Un().indexOf(i))return o.Z.error("Cannot subscribe to push from a path higher than the service worker location (tried to subscribe from "+window.location.pathname+" but service worker is at "+t+")"),void("function"==typeof e&&e(!0))}if(c.Z.isPushBlocked())return void this.Sn("Notifications from this site are blocked. This may be a temporary embargo or a permanent denial.",e);if(this.yt&&!this.yt.Wn()&&0===this.yt.ii())return o.Z.info("Waiting for VAPID key from server config before subscribing to push."),void this.yt._n(()=>{this.subscribe(t,e)});const i=()=>{o.Z.info("Permission for push notifications was denied."),"function"==typeof e&&e(!1)},n=()=>{let t="Permission for push notifications was ignored.";c.Z.isPushBlocked()&&(t+=" The browser has automatically blocked further permission requests for a period (probably 1 week)."),o.Z.info(t),"function"==typeof e&&e(!0)},h=c.Z.isPushPermissionGranted(),d=()=>{!h&&this.sn&&this.sn.setPushNotificationSubscriptionType(l.Z.NotificationSubscriptionTypes.OPTED_IN),this.jn().then(i=>{if(null==i)return o.Z.error("No service worker registration. Set the `manageServiceWorkerExternally` initialization option to false or ensure that your service worker is registered before calling registerPush."),void("function"==typeof e&&e(!0));i.pushManager.getSubscription().then(n=>{var l;let u=null;if(null!=(null===(l=this.yt)||void 0===l?void 0:l.Wn())&&(u=function(t){const e=(t+"=".repeat((4-t.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),i=atob(e),n=new Uint8Array(i.length);for(let t=0;t<i.length;++t)n[t]=i.charCodeAt(t);return n}(this.yt.Wn())),n){let l,c=null,h=null;if(this.u&&(l=this.u.j(a.I.C.In)),l&&!(0,r.kJ)(l)){let t;try{t=s.Z.qn(l).Vn}catch(e){t=null}null==t||isNaN(t.getTime())||0===t.getTime()||(c=t,h=new Date(c),h.setMonth(c.getMonth()+6))}null!=u&&n.options&&n.options.applicationServerKey&&n.options.applicationServerKey.byteLength&&n.options.applicationServerKey.byteLength>0&&!(0,r.Xy)(u,new Uint8Array(n.options.applicationServerKey))?(n.options.applicationServerKey.byteLength>12?o.Z.info("Device was already subscribed to push using a different VAPID provider, creating new subscription."):o.Z.info("Attempting to upgrade a gcm_sender_id-based push registration to VAPID - depending on the browser this may or may not result in the same gcm_sender_id-based subscription."),this.yn(n,i,u,t,e)):n.expirationTime&&new Date(n.expirationTime).valueOf()<=(new Date).valueOf()?(o.Z.info("Push subscription is expired, creating new subscription."),this.yn(n,i,u,t,e)):l&&(0,r.kJ)(l)?this.yn(n,i,u,t,e):null==h?(o.Z.info("No push subscription creation date found, creating new subscription."),this.yn(n,i,u,t,e)):h.valueOf()<=(new Date).valueOf()?(o.Z.info("Push subscription older than 6 months, creating new subscription."),this.yn(n,i,u,t,e)):(o.Z.info("Device already subscribed to push, sending existing subscription to backend."),this.gn(n,c,t))}else this.vn(i,u,t,e)}).catch(t=>{o.Z.error("Error checking current push subscriptions: "+t)})}).catch(t=>{o.Z.error("ServiceWorker registration failed: "+t)})};this.requestPermission(d,n,i)}else if(this.pn){if(null==this.an||""===this.an)return o.Z.error("You must supply the safariWebsitePushId initialization option in order to use registerPush on Safari"),void("function"==typeof e&&e(!0));const i=window.safari.pushNotification.permission(this.an);this.An(this.an,i,t,e)}}unsubscribe(t,e){if(!c.Z.isPushSupported())return o.Z.info(d.Nn),void("function"==typeof e&&e());this.ln?navigator.serviceWorker.getRegistration(this.un).then(i=>{i?i.pushManager.getSubscription().then(n=>{n?(this.Pn(),n.unsubscribe().then(n=>{n?(o.Z.info("Device successfully unsubscribed from push."),"function"==typeof t&&t()):(o.Z.error("Failed to unsubscribe device from push."),"function"==typeof e&&e()),this.xn(i)}).catch(t=>{o.Z.error("Push unsubscription error: "+t),"function"==typeof e&&e()})):(o.Z.info("Device already unsubscribed from push."),"function"==typeof t&&t())}).catch(t=>{o.Z.error("Error unsubscribing from push: "+t),"function"==typeof e&&e()}):(o.Z.info("Device already unsubscribed from push."),"function"==typeof t&&t())}):this.pn&&(this.Pn(),o.Z.info("Device unsubscribed from push."),"function"==typeof t&&t())}}d.Nn="Push notifications are not supported in this browser.";const p={t:!1,i:null,m:()=>(p.o(),p.i||(p.i=new d(n.ZP.pr(),n.ZP.ba(),n.ZP.te(),n.ZP.Hs(),n.ZP.nn(n.JY.wa),n.ZP.nn(n.JY.ya),n.ZP.ir(),n.ZP.nn(n.JY.Ma),n.ZP.nn(n.JY._a),n.ZP.l())),p.i),o:()=>{p.t||(n.ZP.g(p),p.t=!0)},destroy:()=>{p.i=null,p.t=!1}},b=p},2261:(t,e,i)=>{"use strict";i.r(e),i.d(e,{requestPushPermission:()=>s});var n=i(5825),r=i(4127);function s(t,e){if(n.ZP.X())return r.default.m().subscribe((e,i,r)=>{const s=n.ZP.cr();s&&s.requestImmediateDataFlush(),"function"==typeof t&&t(e,i,r)},e)}},7824:(t,e,i)=>{"use strict";i.r(e),i.d(e,{unregisterPush:()=>s});var n=i(5825),r=i(4127);function s(t,e){if(n.ZP.X())return r.default.m().unsubscribe(t,e)}},4556:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});const n={dn:()=>"serviceWorker"in navigator&&"undefined"!=typeof ServiceWorkerRegistration&&"showNotification"in ServiceWorkerRegistration.prototype&&"PushManager"in window,bn:()=>"safari"in window&&"pushNotification"in window.safari&&"function"==typeof window.safari.pushNotification.permission&&"function"==typeof window.safari.pushNotification.requestPermission,isPushSupported:()=>n.dn()||n.bn(),isPushBlocked:()=>{const t=n.isPushSupported()&&"Notification"in window&&null!=window.Notification&&null!=window.Notification.permission&&"denied"===window.Notification.permission,e=n.isPushSupported()&&(!("Notification"in window)||null==window.Notification);return t||e},isPushPermissionGranted:()=>n.isPushSupported()&&"Notification"in window&&null!=window.Notification&&null!=window.Notification.permission&&"granted"===window.Notification.permission,Vi:()=>!n.isPushBlocked()&&n.isPushSupported()&&!n.isPushPermissionGranted()},r=n},7615:(t,e,i)=>{"use strict";i.d(e,{Z:()=>u});var n=i(2893),r=i(335),s=i(2730),o=i(3905),a=i(7671),l=i(7750);class u{constructor(t,e){this.wt=t,this.zi=e,this.wt=t,this.zi=e}getUserId(t){const e=this.wt.getUserId();if("function"!=typeof t)return e;r.Z.warn("The callback for getUserId is deprecated. You can access its return value directly instead (e.g. `const id = braze.getUser().getUserId()`)"),t(e)}addAlias(t,e){return!(0,o.ro)(t,"add alias","the alias",!1)||t.length<=0?(r.Z.error("addAlias requires a non-empty alias"),!1):!(0,o.ro)(e,"add alias","the label",!1)||e.length<=0?(r.Z.error("addAlias requires a non-empty label"),!1):this.zi.Cn(t,e).L}setFirstName(t){return!!(0,o.ro)(t,"set first name","the firstName",!0)&&this.wt.nu("first_name",t)}setLastName(t){return!!(0,o.ro)(t,"set last name","the lastName",!0)&&this.wt.nu("last_name",t)}setEmail(t){return null===t||(0,o.vV)(t)?this.wt.nu("email",t):(r.Z.error(`Cannot set email address - "${t}" did not pass RFC-5322 validation.`),!1)}setGender(t){return"string"==typeof t&&(t=t.toLowerCase()),!(null!==t&&!(0,n.fk)(u.Genders,t,`Gender "${t}" is not a valid gender.`,"User.Genders"))&&this.wt.nu("gender",t)}setDateOfBirth(t,e,i){return null===t&&null===e&&null===i?this.wt.nu("dob",null):(t=null!=t?parseInt(t.toString()):null,e=null!=e?parseInt(e.toString()):null,i=null!=i?parseInt(i.toString()):null,null==t||null==e||null==i||isNaN(t)||isNaN(e)||isNaN(i)||e>12||e<1||i>31||i<1?(r.Z.error("Cannot set date of birth - parameters should comprise a valid date e.g. setDateOfBirth(1776, 7, 4);"),!1):this.wt.nu("dob",`${t}-${e}-${i}`))}setCountry(t){return!!(0,o.ro)(t,"set country","the country",!0)&&this.wt.nu("country",t)}setHomeCity(t){return!!(0,o.ro)(t,"set home city","the homeCity",!0)&&this.wt.nu("home_city",t)}setLanguage(t){return!!(0,o.ro)(t,"set language","the language",!0)&&this.wt.nu("language",t)}setEmailNotificationSubscriptionType(t){return!!(0,n.fk)(u.NotificationSubscriptionTypes,t,`Email notification setting "${t}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.wt.nu("email_subscribe",t)}setPushNotificationSubscriptionType(t){return!!(0,n.fk)(u.NotificationSubscriptionTypes,t,`Push notification setting "${t}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.wt.nu("push_subscribe",t)}setPhoneNumber(t){return!!(0,o.ro)(t,"set phone number","the phoneNumber",!0)&&(null===t||t.match(u.En)?this.wt.nu("phone",t):(r.Z.error(`Cannot set phone number - "${t}" did not pass validation.`),!1))}setLastKnownLocation(t,e,i,n,s){return null==t||null==e?(r.Z.error("Cannot set last-known location - latitude and longitude are required."),!1):(t=parseFloat(t.toString()),e=parseFloat(e.toString()),null!=i&&(i=parseFloat(i.toString())),null!=n&&(n=parseFloat(n.toString())),null!=s&&(s=parseFloat(s.toString())),isNaN(t)||isNaN(e)||null!=i&&isNaN(i)||null!=n&&isNaN(n)||null!=s&&isNaN(s)?(r.Z.error("Cannot set last-known location - all supplied parameters must be numeric."),!1):t>90||t<-90||e>180||e<-180?(r.Z.error("Cannot set last-known location - latitude and longitude are bounded by ±90 and ±180 respectively."),!1):null!=i&&i<0||null!=s&&s<0?(r.Z.error("Cannot set last-known location - accuracy and altitudeAccuracy may not be negative."),!1):this.zi.setLastKnownLocation(this.wt.getUserId(),t,e,n,i,s).L)}setCustomUserAttribute(t,e,i){if(!(0,o.bj)(t))return!1;const r=e=>{const[i]=(0,o.lg)(e,a.db,"attribute value",`set custom user attribute "${t}"`,"custom user attribute");return i};if((0,n.kJ)(e)){const[i,n]=(0,o.$g)(t,e);if(!i&&!n&&0!==e.length)return!1;if(i||0===e.length)return this.zi.Fn(s.G.$n,t,e).L;for(const t of e)if(!r(t))return!1}else if((0,n.Kn)(e)){if(!r(e))return!1;if(i)return this.zi.Fn(s.G.Bn,t,e).L}else{if(void 0===e||!(0,o.UO)(e))return!1;if((0,n.J_)(e)&&(e=(0,l.BT)(e)),"string"==typeof e&&!(0,o.zM)(e,`set custom user attribute "${t}"`,"the element in the given array"))return!1}return this.wt.setCustomUserAttribute(t,e)}addToCustomAttributeArray(t,e){return!!(0,o.zM)(t,"add to custom user attribute array","the given key")&&!(null!=e&&!(0,o.zM)(e,"add to custom user attribute array","the given value"))&&this.zi.Fn(s.G.Ln,t,e).L}removeFromCustomAttributeArray(t,e){return!!(0,o.zM)(t,"remove from custom user attribute array","the given key")&&!(null!=e&&!(0,o.zM)(e,"remove from custom user attribute array","the given value"))&&this.zi.Fn(s.G.Rn,t,e).L}incrementCustomUserAttribute(t,e){if(!(0,o.zM)(t,"increment custom user attribute","the given key"))return!1;null==e&&(e=1);const i=parseInt(e.toString());return isNaN(i)||i!==parseFloat(e.toString())?(r.Z.error(`Cannot increment custom user attribute because the given incrementValue "${e}" is not an integer.`),!1):this.zi.Fn(s.G.On,t,i).L}setCustomLocationAttribute(t,e,i){return!!(0,o.zM)(t,"set custom location attribute","the given key")&&((null!==e||null!==i)&&(e=null!=e?parseFloat(e.toString()):null,i=null!=i?parseFloat(i.toString()):null,null==e&&null!=i||null!=e&&null==i||null!=e&&(isNaN(e)||e>90||e<-90)||null!=i&&(isNaN(i)||i>180||i<-180))?(r.Z.error("Received invalid values for latitude and/or longitude. Latitude and longitude are bounded by ±90 and ±180 respectively, or must both be null for removal."),!1):this.zi.Gn(t,e,i).L)}addToSubscriptionGroup(t){return!(0,o.ro)(t,"add user to subscription group","subscription group ID",!1)||t.length<=0?(r.Z.error("addToSubscriptionGroup requires a non-empty subscription group ID"),!1):this.zi.Hn(t,u.Kn.SUBSCRIBED).L}removeFromSubscriptionGroup(t){return!(0,o.ro)(t,"remove user from subscription group","subscription group ID",!1)||t.length<=0?(r.Z.error("removeFromSubscriptionGroup requires a non-empty subscription group ID"),!1):this.zi.Hn(t,u.Kn.UNSUBSCRIBED).L}kn(t,e,i,n,r){this.wt.kn(t,e,i,n,r),this.zi.Mn()}Dn(t){this.wt.Dn(t)}}u.Genders={MALE:"m",FEMALE:"f",OTHER:"o",UNKNOWN:"u",NOT_APPLICABLE:"n",PREFER_NOT_TO_SAY:"p"},u.NotificationSubscriptionTypes={OPTED_IN:"opted_in",SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},u.En=/^[0-9 .\\(\\)\\+\\-]+$/,u.Kn={SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},u.Yn="user_id",u.lu="custom",u.lr=997},67:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var n=i(335),r=i(5563);class s{constructor(t,e){this.cards=t,this.lastUpdated=e,this.cards=t,this.lastUpdated=e}getUnreadCardCount(){let t=0;for(const e of this.cards)e.viewed||e instanceof r.Z||t++;return t}dr(){n.Z.error("Must be implemented in a subclass")}logCardImpressions(t){n.Z.error("Must be implemented in a subclass")}logCardClick(t){n.Z.error("Must be implemented in a subclass")}sr(){n.Z.error("Must be implemented in a subclass")}}s.ur=6e4,s.Ah=500,s.Co=1e4},158:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});class n{constructor(){}Ns(t){}changeUser(t=!1){}clearData(t=!1){}}},7671:(t,e,i)=>{"use strict";i.d(e,{De:()=>r,Fz:()=>n,Go:()=>u,S6:()=>b,Tt:()=>p,U4:()=>s,Up:()=>c,Y$:()=>h,_P:()=>a,dH:()=>d,db:()=>l,rF:()=>o});const n=100,r="inAppMessage must be an InAppMessage object",s="must be a Card object",o=500,a="logCustomEvent",l="setCustomUserAttribute",u="Braze must be initialized before calling methods.",c=30,h=30,d=72e5,p=3,b=1},9179:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(335),r=i(5825),s=i(7559),o=i(4673);const a={q:(t,e,i)=>{var a,l;const u=new o.Z,c=r.ZP.zr();if(!c)return n.Z.info(`Not logging event with type "${t}" because the current session ID could not be found.`),u;const h=c.wo();return u.ge.push(new s.Z(i||(null===(a=r.ZP.er())||void 0===a?void 0:a.getUserId()),t,(new Date).valueOf(),h,e)),u.L=(null===(l=r.ZP.l())||void 0===l?void 0:l.xo(u.ge))||!1,u}}},1311:(t,e,i)=>{"use strict";i.d(e,{cP:()=>w,tQ:()=>Z,cz:()=>S,Yz:()=>C,cV:()=>E,GB:()=>_,Of:()=>A});var n=i(67),r=i(5608),s=i(1507),o=i(5563),a=i(2857),l=i(2893),u=i(7429),c=i(5825),h=i(3695),d=i(335);const p={en:{NO_CARDS_MESSAGE:"We have no updates for you at this time.<br/>Please check again later.",FEED_TIMEOUT_MESSAGE:"Sorry, this refresh timed out.<br/>Please try again later."},ar:{NO_CARDS_MESSAGE:"ليس لدينا أي تحديث. يرجى التحقق مرة أخرى لاحقاً",FEED_TIMEOUT_MESSAGE:"يرجى تكرار المحاولة لاحقا"},cs:{NO_CARDS_MESSAGE:"V tuto chvíli pro vás nemáme žádné aktualizace.<br/>Zkontrolujte prosím znovu později.",FEED_TIMEOUT_MESSAGE:"Prosím zkuste to znovu později."},da:{NO_CARDS_MESSAGE:"Vi har ingen updates.<br/>Prøv venligst senere.",FEED_TIMEOUT_MESSAGE:"Prøv venligst senere."},de:{NO_CARDS_MESSAGE:"Derzeit sind keine Updates verfügbar.<br/>Bitte später noch einmal versuchen.",FEED_TIMEOUT_MESSAGE:"Bitte später noch einmal versuchen."},es:{NO_CARDS_MESSAGE:"No tenemos actualizaciones.<br/>Por favor compruébelo más tarde.",FEED_TIMEOUT_MESSAGE:"Por favor inténtelo más tarde."},"es-mx":{NO_CARDS_MESSAGE:"No tenemos ninguna actualización.<br/>Vuelva a verificar más tarde.",FEED_TIMEOUT_MESSAGE:"Por favor, vuelva a intentarlo más tarde."},et:{NO_CARDS_MESSAGE:"Uuendusi pole praegu saadaval.<br/>Proovige hiljem uuesti.",FEED_TIMEOUT_MESSAGE:"Palun proovige hiljem uuesti."},fi:{NO_CARDS_MESSAGE:"Päivityksiä ei ole saatavilla.<br/>Tarkista myöhemmin uudelleen.",FEED_TIMEOUT_MESSAGE:"Yritä myöhemmin uudelleen."},fr:{NO_CARDS_MESSAGE:"Aucune mise à jour disponible.<br/>Veuillez vérifier ultérieurement.",FEED_TIMEOUT_MESSAGE:"Veuillez réessayer ultérieurement."},he:{NO_CARDS_MESSAGE:".אין לנו עדכונים. בבקשה בדוק שוב בקרוב",FEED_TIMEOUT_MESSAGE:".בבקשה נסה שוב בקרוב"},hi:{NO_CARDS_MESSAGE:"हमारे पास कोई अपडेट नहीं हैं। कृपया बाद में फिर से जाँच करें.।",FEED_TIMEOUT_MESSAGE:"कृपया बाद में दोबारा प्रयास करें।."},id:{NO_CARDS_MESSAGE:"Kami tidak memiliki pembaruan. Coba lagi nanti.",FEED_TIMEOUT_MESSAGE:"Coba lagi nanti."},it:{NO_CARDS_MESSAGE:"Non ci sono aggiornamenti.<br/>Ricontrollare più tardi.",FEED_TIMEOUT_MESSAGE:"Riprovare più tardi."},ja:{NO_CARDS_MESSAGE:"アップデートはありません。<br/>後でもう一度確認してください。",FEED_TIMEOUT_MESSAGE:"後でもう一度試してください。"},ko:{NO_CARDS_MESSAGE:"업데이트가 없습니다. 다음에 다시 확인해 주십시오.",FEED_TIMEOUT_MESSAGE:"나중에 다시 시도해 주십시오."},ms:{NO_CARDS_MESSAGE:"Tiada kemas kini. Sila periksa kemudian.",FEED_TIMEOUT_MESSAGE:"Sila cuba kemudian."},nl:{NO_CARDS_MESSAGE:"Er zijn geen updates.<br/>Probeer het later opnieuw.",FEED_TIMEOUT_MESSAGE:"Probeer het later opnieuw."},no:{NO_CARDS_MESSAGE:"Vi har ingen oppdateringer.<br/>Vennligst sjekk igjen senere.",FEED_TIMEOUT_MESSAGE:"Vennligst prøv igjen senere."},pl:{NO_CARDS_MESSAGE:"Brak aktualizacji.<br/>Proszę sprawdzić ponownie później.",FEED_TIMEOUT_MESSAGE:"Proszę spróbować ponownie później."},pt:{NO_CARDS_MESSAGE:"Não temos atualizações.<br/>Por favor, verifique mais tarde.",FEED_TIMEOUT_MESSAGE:"Por favor, tente mais tarde."},"pt-br":{NO_CARDS_MESSAGE:"Não temos nenhuma atualização.<br/>Verifique novamente mais tarde.",FEED_TIMEOUT_MESSAGE:"Tente novamente mais tarde."},ru:{NO_CARDS_MESSAGE:"Обновления недоступны.<br/>Пожалуйста, проверьте снова позже.",FEED_TIMEOUT_MESSAGE:"Пожалуйста, повторите попытку позже."},sv:{NO_CARDS_MESSAGE:"Det finns inga uppdateringar.<br/>Försök igen senare.",FEED_TIMEOUT_MESSAGE:"Försök igen senare."},th:{NO_CARDS_MESSAGE:"เราไม่มีการอัพเดต กรุณาตรวจสอบภายหลัง.",FEED_TIMEOUT_MESSAGE:"กรุณาลองใหม่ภายหลัง."},uk:{NO_CARDS_MESSAGE:"Оновлення недоступні.<br/>ласка, перевірте знову пізніше.",FEED_TIMEOUT_MESSAGE:"Будь ласка, спробуйте ще раз пізніше."},vi:{NO_CARDS_MESSAGE:"Chúng tôi không có cập nhật nào.<br/>Vui lòng kiểm tra lại sau.",FEED_TIMEOUT_MESSAGE:"Vui lòng thử lại sau."},"zh-hk":{NO_CARDS_MESSAGE:"暫時沒有更新.<br/>請稍候再試.",FEED_TIMEOUT_MESSAGE:"請稍候再試."},"zh-hans":{NO_CARDS_MESSAGE:"暂时没有更新.<br/>请稍后再试.",FEED_TIMEOUT_MESSAGE:"请稍候再试."},"zh-hant":{NO_CARDS_MESSAGE:"暫時沒有更新.<br/>請稍候再試.",FEED_TIMEOUT_MESSAGE:"請稍候再試."},"zh-tw":{NO_CARDS_MESSAGE:"暫時沒有更新.<br/>請稍候再試.",FEED_TIMEOUT_MESSAGE:"請稍候再試."},zh:{NO_CARDS_MESSAGE:"暂时没有更新.<br/>请稍后再试.",FEED_TIMEOUT_MESSAGE:"请稍候再试."}};class b{constructor(t,e=!1){if(this.language=t,null!=t&&(t=t.toLowerCase()),null!=t&&null==p[t]){const e=t.indexOf("-");e>0&&(t=t.substring(0,e))}if(null==p[t]){const i="Braze does not yet have a localization for language "+t+", defaulting to English. Please contact us if you are willing and able to help us translate our SDK into this language.";e?d.Z.error(i):d.Z.info(i),t="en"}this.language=t}get(t){return p[this.language][t]}}const f={t:!1,i:null,m:()=>{if(f.o(),!f.i){let t=h.Z.language,e=!1;c.ZP.nn(c.JY.zn)&&(t=c.ZP.nn(c.JY.zn),e=!0),f.i=new b(t,e)}return f.i},o:()=>{f.t||(c.ZP.g(f),f.t=!0)},destroy:()=>{f.i=null,f.t=!1}},m=f;var g=i(7070),v=i(3905),y=i(3046);const w="data-last-requested-refresh",x={};function Z(t){t&&(t.className=t.className.replace("ab-show","ab-hide"),setTimeout(()=>{t&&t.parentNode&&t.parentNode.removeChild(t)},n.Z.Ah));const e=t.getAttribute("data-update-subscription-id");var i;null!=e&&(i=e,c.ZP.X()&&c.ZP.removeSubscription(i));const r=t.getAttribute("data-listener-id");null!=r&&(window.removeEventListener("scroll",x[r]),delete x[r])}function k(t,e){const i=document.createElement("div");if(i.className="ab-feed-body",i.setAttribute("aria-label","Feed"),i.setAttribute("role","feed"),null==t.lastUpdated){const t=document.createElement("div");t.className="ab-no-cards-message";const e=document.createElement("i");e.className="fa fa-spinner fa-spin fa-4x ab-initial-spinner",t.appendChild(e),i.appendChild(t)}else{let n=!1;const s=e=>t.logCardClick(e);for(const a of t.cards){const l=a instanceof o.Z;!l||t.dr()?(i.appendChild((0,r.Dj)(a,s,e)),n=n||!l):d.Z.error("Received a control card for a legacy news feed. Control cards are only supported with content cards.")}if(!n){const t=document.createElement("div");t.className="ab-no-cards-message",t.innerHTML=m.m().get("NO_CARDS_MESSAGE")||"",t.setAttribute("role","article"),i.appendChild(t)}}return i}function S(t,e){if(null!=t&&null!=e){const i=[],n=e.querySelectorAll(".ab-card");t.yo||(t.yo={});for(let e=0;e<n.length;e++){const o=(0,r.sv)(n[e]),a=(0,s.rJ)(n[e]),l=(0,s.Fr)(n[e]);if(t.yo[o]){a||l||(0,r.pq)(n[e]);continue}let u=(0,r.ql)(n[e]),c=(0,r.rW)(n[e]);const h=u,d=c;if(!u&&a&&(u=!0,(0,r.Ji)(n[e])),!c&&l&&(c=!0,(0,r.Zw)(n[e])),u&&c){if(h&&d)continue;for(const e of t.cards)if(e.id===o){t.yo[e.id]=!0,i.push(e);break}}}i.length>0&&t.logCardImpressions(i)}}function E(t,e){if(null==t||null==e)return;e.setAttribute("aria-busy","true");const i=e.querySelectorAll(".ab-refresh-button")[0];null!=i&&(i.className+=" fa-spin");const r=(new Date).valueOf().toString();e.setAttribute("data-last-requested-refresh",r),setTimeout(()=>{if(e.getAttribute("data-last-requested-refresh")===r){const t=e.querySelectorAll(".fa-spin");for(let e=0;e<t.length;e++)t[e].className=t[e].className.replace(/fa-spin/g,"");const i=e.querySelectorAll(".ab-initial-spinner")[0];if(null!=i){const t=document.createElement("span");t.innerHTML=m.m().get("FEED_TIMEOUT_MESSAGE")||"",null!=i.parentNode&&(i.parentNode.appendChild(t),i.parentNode.removeChild(i))}"true"===e.getAttribute("aria-busy")&&e.setAttribute("aria-busy","false")}},n.Z.Co),t.sr()}function C(t,e,i){const n=document.createElement("div");n.className="ab-feed ab-hide ab-effect-slide",n.setAttribute("role","dialog"),n.setAttribute("aria-label","Feed"),n.setAttribute("tabindex","-1");const r=document.createElement("div");r.className="ab-feed-buttons-wrapper",r.setAttribute("role","group"),n.appendChild(r);const s=document.createElement("i");s.className="fa fa-times ab-close-button",s.setAttribute("aria-label","Close Feed"),s.setAttribute("tabindex","0"),s.setAttribute("role","button");const o=t=>{Z(n),t.stopPropagation()};s.addEventListener("keydown",t=>{t.keyCode!==u.m.Fo&&t.keyCode!==u.m.To||o(t)}),s.onclick=o;const a=document.createElement("i");a.className="fa fa-refresh ab-refresh-button",t&&null==t.lastUpdated&&(a.className+=" fa-spin"),a.setAttribute("aria-label","Refresh Feed"),a.setAttribute("tabindex","0"),a.setAttribute("role","button");const l=e=>{E(t,n),e.stopPropagation()};a.addEventListener("keydown",t=>{t.keyCode!==u.m.Fo&&t.keyCode!==u.m.To||l(t)}),a.onclick=l,r.appendChild(a),r.appendChild(s),n.appendChild(k(t,e));const c=()=>S(t,n);if(n.addEventListener("scroll",c),!i){window.addEventListener("scroll",c);const t=g.Z.W();x[t]=c,n.setAttribute("data-listener-id",t)}return n}function A(t,e,i,n,r){if(!(0,l.kJ)(e))return;const s=[];for(const t of e)if(t instanceof a.Z){if(t.url&&v.y9.test(t.url)){const e=(0,y.OL)(t.url);if((0,y.je)(e)){d.Z.error((0,y.Tu)(y.yi.Qi,"Content Card"));continue}}s.push(t)}if(t.cards=s,t.lastUpdated=i,null!=n)if(n.setAttribute("aria-busy","false"),null==t.lastUpdated)Z(n);else{const e=n.querySelectorAll(".ab-feed-body")[0];if(null!=e){const i=k(t,r);e.parentNode&&e.parentNode.replaceChild(i,e),S(t,i.parentNode)}}}function _(t,e){t&&e.setAttribute("data-update-subscription-id",t)}},5825:(t,e,i)=>{"use strict";i.d(e,{JY:()=>$,ZP:()=>G});var n=i(5966),r=i(4663),s=i(5522),o=i(335);class a{constructor(t,e,i){this.u=t,this.Jn=e,this.Qn=i,this.u=t,this.Jn=e||!1,this.Qn=i,this.Xn=new r.Z,this.Zn=0,this.gh=1}Fh(){return this.Jn}kh(){return this.u.j(n.I.C.wh)}setSdkAuthenticationSignature(t){const e=this.kh();this.u.k(n.I.C.wh,t);const i=s.Z.Yt.Qt;new s.Z(i,o.Z).setItem(i.ss.jh,this.gh,t),e!==t&&this.Os()}xh(){this.u.ti(n.I.C.wh);const t=s.Z.Yt.Qt;new s.Z(t,o.Z).re(t.ss.jh,this.gh)}subscribeToSdkAuthenticationFailures(t){return this.Qn.It(t)}qh(t){this.Qn.Dt(t)}yh(){this.Xn.removeAllSubscriptions()}Bh(){this.Zn+=1}Gh(){return this.Zn}Os(){this.Zn=0}}var l=i(158),u=i(3695);class c{constructor(t){this.id=t,this.id=t}Ir(){const t={};return null!=this.browser&&(t.browser=this.browser),null!=this.Ia&&(t.browser_version=this.Ia),null!=this.os&&(t.os_version=this.os),null!=this.resolution&&(t.resolution=this.resolution),null!=this.language&&(t.locale=this.language),null!=this.timeZone&&(t.time_zone=this.timeZone),null!=this.userAgent&&(t.user_agent=this.userAgent),t}}const h={BROWSER:"browser",BROWSER_VERSION:"browserVersion",OS:"os",RESOLUTION:"resolution",LANGUAGE:"language",TIME_ZONE:"timeZone",USER_AGENT:"userAgent"};var d=i(2308),p=i(7070),b=i(2893),f=i(8031);class m{constructor(t,e){this.u=t,this.ka=e,this.u=t,null==e&&(e=(0,b.VO)(h)),this.ka=e}ce(t=!0){let e=this.u.tu(n.I.iu.Uo);null==e&&(e=new d.Z(p.Z.W()),t&&this.u.uu(n.I.iu.Uo,e));const i=new c(e.eu);for(let t=0;t<this.ka.length;t++)switch(this.ka[t]){case h.BROWSER:i.browser=u.Z.browser;break;case h.BROWSER_VERSION:i.Ia=u.Z.version;break;case h.OS:i.os=this.Ta();break;case h.RESOLUTION:i.Da=screen.width+"x"+screen.height;break;case h.LANGUAGE:i.language=u.Z.language;break;case h.TIME_ZONE:i.timeZone=this.Sa(new Date);break;case h.USER_AGENT:i.userAgent=u.Z.userAgent}return i}Ta(){if(u.Z.Oa())return u.Z.Oa();const t=this.u.j(n.I.C.Ca);return t&&t.os_version?t.os_version:u.Z.Ta()}Sa(t){let e=!1;if("undefined"!=typeof Intl&&"function"==typeof Intl.DateTimeFormat)try{if("function"==typeof Intl.DateTimeFormat().resolvedOptions){const t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(null!=t&&""!==t)return t}}catch(t){o.Z.info("Intl.DateTimeFormat threw an error, cannot detect user's time zone:"+(0,f.e)(t)),e=!0}if(e)return"";const i=t.getTimezoneOffset();return this.Fa(i)}Fa(t){const e=Math.trunc(t/60),i=Math.trunc(t%60);let n="GMT";return 0!==t&&(n+=t<0?"+":"-",n+=("00"+Math.abs(e)).slice(-2)+":"+("00"+Math.abs(i)).slice(-2)),n}}var g=i(3826),v=i(7559),y=i(7750),w=i(9179),x=i(2730),Z=i(6870),k=i(7671),S=i(8982);class E{constructor(t,e,i,n,r,s,o,a,l,u,c,h){this.on=t,this.u=e,this.zo=i,this.wt=n,this.ri=r,this.yt=s,this.rn=o,this.Go=a,this.Wo=l,this.Vo=u,this.appVersion=c,this.Xh=h,this.$h=t=>null==t?"":`${t} `,this.on=t,this.u=e,this.zo=i,this.wt=n,this.ri=r,this.yt=s,this.rn=o,this.Go=a,this.Wo=l,this.Vo=u,this.appVersion=c,this.Xh=h,this.Hh=["npm"]}Js(t,e=!1,i=!1){const r=this.on.ce(!i),s=r.Ir(),o=this.u.j(n.I.C.Ca);(0,b.Xy)(o,s)||(t.device=s),t.api_key=this.rn,t.time=(0,y.FX)((new Date).valueOf(),!0);const a=this.u.j(n.I.C.Yh)||[],l=this.u.j(n.I.C.Jh)||"";if(this.Hh.length>0&&(!(0,b.Xy)(a,this.Hh)||l!==this.ri.Si())&&(t.sdk_metadata=this.Hh),t.sdk_version=this.Wo,this.Vo&&(t.sdk_flavor=this.Vo),t.app_version=this.appVersion,t.app_version_code=this.Xh,t.device_id=r.id,e){const e=this.wt.getUserId();null!=e&&(t.user_id=e)}if(!t.user_id&&!this.zo.Fh()){const e=(0,S.q)(this.u);e&&(t.alias=e)}return t}Ks(t,e,i){const n=e.auth_error,r=e.error;if(!n&&!r)return!0;if(n){let e;this.zo.Bh();const r={errorCode:n.error_code};for(const t of i)(0,b.kJ)(t)&&"X-Braze-Auth-Signature"===t[0]&&(r.signature=t[1]);t.respond_with&&t.respond_with.user_id?r.userId=t.respond_with.user_id:t.user_id&&(r.userId=t.user_id);const s=n.reason;return s?(r.reason=s,e=`due to ${s}`):e=`with error code ${n.error_code}.`,this.zo.Fh()||(e+=' Please use the "enableSdkAuthentication" initialization option to enable authentication.'),o.Z.error(`SDK Authentication failed ${e}`),this.Qh(t.events||[],t.attributes||[]),this.zo.qh(r),!1}if(r){let i,n=r;switch(n){case g.Z.Zh:return i="Received successful response with empty body.",w.Z.q(x.G.qs,{e:i}),o.Z.info(i),!1;case g.Z.Ra:return i="Received successful response with invalid JSON",w.Z.q(x.G.qs,{e:i+": "+e.response}),o.Z.info(i),!1;case g.Z.qa:n=`The API key "${t.api_key}" is invalid for the baseUrl ${this.Go}`;break;case g.Z.Aa:n="Sorry, we are not currently accepting your requests. If you think this is in error, please contact us.";break;case g.Z.Ba:n="No device identifier. Please contact support@braze.com"}o.Z.error("Backend error: "+n)}return!1}Na(t,e,i,n){return!!(t&&0!==t.length||e&&0!==e.length||i||n)}Xa(t,e,i,n,r=!1){const s=[],o=t=>t||"",a=o(this.wt.getUserId());let l=this.Zi(t,e);const u=[],c=[];let h,d=null;if(i.length>0){const t=[];for(const e of i){if(h=e.Ir(),this.zo.Fh()){if(a&&!h.user_id){d||(d={}),d.events||(d.events=[]),d.events.push(h);continue}if(o(h.user_id)!==a){c.push(h);continue}}t.push(h)}t.length>0&&(l.events=t)}if(n.length>0){const t=[];for(const e of n)e&&(this.zo.Fh()&&o(e.user_id)!==a?u.push(e):t.push(e));t.length>0&&(l.attributes=t)}if(this.Qh(c,u),l=this.Js(l,!0,r),d){d=this.Js(d,!1,r);const t={requestData:d,headers:this.$s(d,Z.Z.Ps.$a)};s.push(t)}if(l&&!this.Na(l.events,l.attributes,t,e))return d?s:null;const p={requestData:l,headers:this.$s(l,Z.Z.Ps.$a)};return s.push(p),s}Qh(t,e){if(t){const e=[];for(const i of t){const t=v.Z.fromJson(i);t.time=(0,y.Pn)(t.time),e.push(t)}this.u.xo(e)}if(e)for(const t of e)this.u.La(t)}Vs(t,e){let i="HTTP error ";null!=t&&(i+=t+" "),i+=e,o.Z.error(i)}qr(t){return w.Z.q(x.G.Ea,{n:t})}Zi(t,e,i){const n={};t&&(n.feed=!0),e&&(n.triggers=!0);const r=null!=i?i:this.wt.getUserId();if(r&&(n.user_id=r),!n.user_id&&!this.zo.Fh()){const t=(0,S.q)(this.u);t&&(n.alias=t)}return n.config={config_time:this.yt.ii()},{respond_with:n}}Ka(t){const e=(new Date).valueOf();let i=k.dH.toString();const n=Z.Z.Pa(this.u,t);return-1!==n&&(i=(e-n).toString()),i}$s(t,e,i=!1){const r=[["X-Braze-Api-Key",this.rn]],s=this.Ka(e);r.push(["X-Braze-Last-Req-Ms-Ago",s]);const o=Z.Z.Ua(this.u,e).toString();r.push(["X-Braze-Req-Attempt",o]);let a=!1;if(null!=t.respond_with&&t.respond_with.triggers&&(r.push(["X-Braze-TriggersRequest","true"]),a=!0),null!=t.respond_with&&t.respond_with.feed&&(r.push(["X-Braze-FeedRequest","true"]),a=!0),e===Z.Z.Ps.Bs){r.push(["X-Braze-ContentCardsRequest","true"]);let t=this.u.j(n.I.C.As);t&&i||(t=0,this.u.k(n.I.C.As,t)),r.push(["BRAZE-SYNC-RETRY-COUNT",t.toString()]),a=!0}if(e===Z.Z.Ps.bi&&(r.push(["X-Braze-FeatureFlagsRequest","true"]),a=!0),a&&r.push(["X-Braze-DataRequest","true"]),this.zo.Fh()){const t=this.zo.kh();null!=t&&r.push(["X-Braze-Auth-Signature",t])}return r}Ga(t,e,i,n){window.setTimeout(()=>{o.Z.info(`Retrying rate limited ${this.$h(n)}SDK request.`),this.Xs(e,i,n)},t)}Xs(t,e,i,r){if(!this.Ha(i))return o.Z.info(`${this.$h(i)}SDK request being rate limited.`),void("function"==typeof r&&r());const s=this.Wa();if(!s.Ya)return o.Z.info(`${this.$h(i)}SDK request being rate limited. Request will be retried in ${Math.trunc(s.Ja/1e3)} seconds.`),void this.Ga(s.Ja,t,e,i);this.u.k(n.I.C.Qa,(new Date).valueOf());const a=t.device;a&&a.os_version instanceof Promise?a.os_version.then(i=>{t.device.os_version=i,e(s.Va)}):e(s.Va)}Za(t){var e;null===(e=this.u)||void 0===e||e.k(n.I.C.au,t)}du(t,e){let i=this.fu();null==i&&(i={}),i[t]=e,this.u.k(n.I.C.vu,i)}Ru(){var t;return null===(t=this.u)||void 0===t?void 0:t.j(n.I.C.au)}fu(){var t;return null===(t=this.u)||void 0===t?void 0:t.j(n.I.C.vu)}gu(t,e,i,n,r=""){let s;if(r){const t=this.fu();s=null==t||isNaN(t[r])?e:t[r]}else s=this.Ru(),(null==s||isNaN(s))&&(s=e);const o=(t-n)/1e3;return s=Math.min(s+o/i,e),s}pu(t,e){return Math.max(0,(1-t)*e*1e3)}bu(t,e=""){var i,r,s,o,a;const l={Ya:!0,Va:-1,Ja:0};if(null==t&&(t=!0),!t&&!e)return l;let u,c,h=null;if(t)h=null===(i=this.u)||void 0===i?void 0:i.j(n.I.C.Qa);else{const t=Z.Z.qu(this.u);if(null==t||null==t[e])return l;h=t[e]}if(null==h||isNaN(h))return l;if(t?(u=(null===(r=this.yt)||void 0===r?void 0:r.Au())||-1,c=(null===(s=this.yt)||void 0===s?void 0:s.Du())||-1):(u=(null===(o=this.yt)||void 0===o?void 0:o.Tu(e))||-1,c=(null===(a=this.yt)||void 0===a?void 0:a.ku(e))||-1),-1===u||-1===c)return l;const d=(new Date).valueOf();let p=this.gu(d,u,c,h,e);return p<1?(l.Ya=!1,l.Ja=this.pu(p,c),l):(p=Math.trunc(p)-1,l.Va=p,t?this.Za(p):this.du(e,p),l)}Wa(){return this.bu(!0)}Ha(t){const e=this.bu(!1,t);return!(e&&!e.Ya)}Os(){this.zo.Os()}Hs(){return this.Go}addSdkMetadata(t){for(const e of t)-1===this.Hh.indexOf(e)&&this.Hh.push(e)}}var C=i(1843),A=i(6504),_=i(4673),I=i(4556);class T{constructor(t,e,i,n,s,o,a,l,u,c){this.rn=t,this.baseUrl=e,this.ri=i,this.on=n,this.wt=s,this.yt=o,this.u=a,this.wu=l,this.zo=u,this.qt=c,this.rn=t,this.baseUrl=e,this.yu=0,this.fE=a.dE()||0,this.ju=null,this.ri=i,this.on=n,this.wt=s,this.yt=o,this.u=a,this.zo=u,this.qt=c,this.wu=l,this.Su=new r.Z,this.$u=null,this.Cu=50,this.Fu=!1}Lu(t,e){return!t&&!e&&this.zo.Gh()>=this.Cu}Mu(t){let e=this.ri.Gl();if(t.length>0){const i=this.wt.getUserId();for(const n of t){const t=!n.userId&&!i||n.userId===i;n.type===x.G.ql&&t&&(e=!0)}}return e}Pu(t=!1,e=!1,i=!0,r,s,a,l=!1,u=!1){i&&this.xu();const c=this.u.AE(),h=this.u.OE();let d=!1;const p=(t,e,o=-1)=>{let l=!1;const u=(new Date).valueOf();Z.Z._s(this.u,Z.Z.Ps.$a,u),-1!==o&&e.push(["X-Braze-Req-Tokens-Remaining",o.toString()]),C.Z.Gs({url:this.baseUrl+"/data/",data:t,headers:e,L:i=>{null!=t.respond_with&&t.respond_with.triggers&&(this.yu=Math.max(this.yu-1,0)),this.qt.Ks(t,i,e)?(this.zo.Os(),this.yt.al(i),null!=t.respond_with&&t.respond_with.user_id!=this.wt.getUserId()||(null!=t.device&&this.u.k(n.I.C.Ca,t.device),null!=t.sdk_metadata&&(this.u.k(n.I.C.Yh,t.sdk_metadata),this.u.k(n.I.C.Jh,this.ri.Si())),this.wu(i),Z.Z.Qs(this.u,Z.Z.Ps.$a,1),"function"==typeof r&&r())):i.auth_error&&(l=!0)},error:()=>{null!=t.respond_with&&t.respond_with.triggers&&(this.yu=Math.max(this.yu-1,0)),this.qt.Qh(t.events,t.attributes),"function"==typeof s&&s()},Ws:t=>{if("function"==typeof a&&a(t),i&&!d){if(t&&!l)this.Iu();else{Z.Z.Ys(this.u,Z.Z.Ps.$a);let t=this.ju;(null==t||t<1e3*this.fE)&&(t=1e3*this.fE),this.Iu(Math.min(3e5,(0,A.R)(1e3*this.fE,3*t)))}d=!0}}})},b=this.Mu(c),f=e||b;if(this.Lu(l,b))return void o.Z.info("Declining to flush data due to 50 consecutive authentication failures");if(i&&!this.qt.Na(c,h,t,f))return this.Iu(),void("function"==typeof a&&a(!0));const m=this.qt.Xa(t,f,c,h,u);f&&this.yu++;let g=!1;if(m)for(const t of m)this.qt.Xs(t.requestData,e=>p(t.requestData,t.headers,e),Z.Z.Ps.$a,s),g=!0;this.zo.Fh()&&i&&!g?this.Iu():b&&(o.Z.info("Invoking new session subscriptions"),this.Su.Dt())}Nu(){return this.yu>0}Iu(t=1e3*this.fE){this.Fu||(this.xu(),this.$u=window.setTimeout(()=>{if(document.hidden){const t="visibilitychange",e=()=>{document.hidden||(document.removeEventListener(t,e,!1),this.Pu())};document.addEventListener(t,e,!1)}else this.Pu()},t),this.ju=t)}xu(){null!=this.$u&&(clearTimeout(this.$u),this.$u=null)}initialize(){this.Fu=!1,this.Iu()}destroy(){this.Su.removeAllSubscriptions(),this.zo.yh(),this.xu(),this.Fu=!0,this.Pu(void 0,void 0,!1,void 0,void 0,void 0,void 0,!0),this.$u=null}mr(t){return this.Su.It(t)}openSession(){const t=this.ri.Si()!==this.ri.wo();t&&(this.u.cE(n.I.iu.Uo),this.u.cE(n.I.iu.su)),this.Pu(void 0,!1,void 0,()=>{this.u.ti(n.I.C.vi)}),this.Mn(),t&&Promise.resolve().then(i.bind(i,4127)).then(t=>{if(this.Fu)return;const e=t.default.m();if(null!=e&&(I.Z.isPushPermissionGranted()||I.Z.isPushBlocked())){const t=()=>{e.mn()?o.Z.info("Push token maintenance is disabled, not refreshing token for backend."):e.subscribe()},i=(e,i)=>{i&&t()},r=()=>{const e=this.u.j(n.I.C.In);(null==e||e)&&t()},a=s.Z.Yt.Qt;new s.Z(a,o.Z).jr(a.ss.cu,i,r)}})}Ou(){this.u.ti(n.I.C.gi),this.u.ti(n.I.C.ws),this.u.ti(n.I.C.Cr)}changeUser(t,e,i){const r=this.wt.getUserId();if(r!==t){this.ri.yl(),this.Ou(),null!=r&&this.Pu(void 0,!1,void 0,void 0,void 0),this.wt.ou(t),i?this.zo.setSdkAuthenticationSignature(i):this.zo.xh();for(let t=0;t<e.length;t++)e[t].changeUser(null==r);null!=r&&this.u.ti(n.I.C.J),this.u.ti(n.I.C.Ca),this.u.ti(n.I.C.nE),this.u.ti(n.I.C._E),this.openSession(),o.Z.info('Changed user to "'+t+'".')}else{let e="Doing nothing.";i&&this.zo.kh()!==i&&(this.zo.setSdkAuthenticationSignature(i),e="Updated SDK authentication signature"),o.Z.info(`Current user is already ${t}. ${e}`)}}requestImmediateDataFlush(t){this.xu(),this.ri.wo(),this.Pu(void 0,void 0,void 0,void 0,()=>{o.Z.error("Failed to flush data, request will be retried automatically.")},t,!0)}requestFeedRefresh(){this.ri.wo(),this.Pu(!0)}$r(t,e){this.ri.wo(),o.Z.info("Requesting explicit trigger refresh."),this.Pu(void 0,!0,void 0,t,e)}Cn(t,e){const i=x.G.zu,r={a:t,l:e},s=w.Z.q(i,r);return s&&(o.Z.info(`Logged alias ${t} with label ${e}`),this.u.k(n.I.C._E,r)),s}Fn(t,e,i){if(this.yt.hu(e))return o.Z.info(`Custom Attribute "${e}" is blocklisted, ignoring.`),new _.Z;const n={key:e,value:i},r=w.Z.q(t,n);if(r){const t="object"==typeof i?JSON.stringify(i,null,2):i;o.Z.info(`Logged custom attribute: ${e} with value: ${t}`)}return r}setLastKnownLocation(t,e,i,n,r,s){const a={latitude:e,longitude:i};null!=n&&(a.altitude=n),null!=r&&(a.ll_accuracy=r),null!=s&&(a.alt_accuracy=s);const l=w.Z.q(x.G.Uu,a,t||void 0);return l&&o.Z.info(`Set user last known location as ${JSON.stringify(a,null,2)}`),l}kr(t,e){const i=this.ri.wo();return new v.Z(this.wt.getUserId(),x.G._u,t,i,{cid:e})}Bu(t,e){return new s.Z(t,e)}Mn(){const t=s.Z.Yt.Qt;this.Bu(t,o.Z).setItem(t.ss.$a,1,{baseUrl:this.baseUrl,data:{api_key:this.rn,device_id:this.on.ce().id},userId:this.wt.getUserId(),sdkAuthEnabled:this.zo.Fh()})}yr(t){for(const e of t)if(e.api_key===this.rn)this.qt.Qh(e.events,e.attributes);else{const t=s.Z.Yt.Qt;new s.Z(t,o.Z).setItem(t.ss.wr,p.Z.W(),e)}}Gn(t,e,i){if(this.yt.hu(t))return o.Z.info(`Custom Attribute "${t}" is blocklisted, ignoring.`),new _.Z;let n,r;return null===e&&null===i?(n=x.G.Eu,r={key:t}):(n=x.G.Ju,r={key:t,latitude:e,longitude:i}),w.Z.q(n,r)}Hn(t,e){const i={group_id:t,status:e};return w.Z.q(x.G.Ku,i)}}class N{constructor(t=0,e=[],i=[],n=[],r=null,s=null,o={enabled:!1},a={enabled:!1,refresh_rate_limit:void 0},l={enabled:!0,capacity:k.Up,refill_rate:k.Y$,endpoint_overrides:{}}){this.hl=t,this.gl=e,this.fl=i,this.bl=n,this.Rl=r,this.cl=s,this.ml=o,this.hi=a,this.ol=l,this.hl=t,this.gl=e,this.fl=i,this.bl=n,this.Rl=r,this.cl=s,this.ml=o,this.hi=a,this.ol=l}Y(){return{s:"5.3.1",l:this.hl,e:this.gl,a:this.fl,p:this.bl,m:this.Rl,v:this.cl,c:this.ml,f:this.hi,grl:this.ol}}static qn(t){let e=t.l;return"5.3.1"!==t.s&&(e=0),new N(e,t.e,t.a,t.p,t.m,t.v,t.c,t.f,t.grl)}}class O{constructor(t){this.u=t,this.u=t,this.tl=new r.Z,this.el=new r.Z,this.il=new r.Z,this.sl=null,this.rl=null}ll(){if(null==this.rl){const t=this.u.j(n.I.C.ul);this.rl=null!=t?N.qn(t):new N}return this.rl}ii(){return this.ll().hl}al(t){if(null!=t&&null!=t.config){const e=t.config;if(e.time>this.ll().hl){const t=t=>null==t?this.ll().ol:t,i=new N(e.time,e.events_blacklist,e.attributes_blacklist,e.purchases_blacklist,e.messaging_session_timeout,e.vapid_public_key,e.content_cards,e.feature_flags,t(e.global_request_rate_limit));let r=!1;null!=i.cl&&this.Wn()!==i.cl&&(r=!0);let s=!1;null!=i.ml.enabled&&this.si()!==i.ml.enabled&&(s=!0);let o=!1;null!=i.hi.enabled&&this.ci()!==i.hi.enabled&&(o=!0),this.rl=i,this.u.k(n.I.C.ul,i.Y()),r&&this.tl.Dt(),s&&this.el.Dt(),o&&this.il.Dt()}}}_n(t){const e=this.tl.It(t);return this.sl&&this.tl.removeSubscription(this.sl),this.sl=e,e}Is(t){return this.el.It(t)}ji(t){return this.il.It(t)}me(t){return-1!==this.ll().gl.indexOf(t)}hu(t){return-1!==this.ll().fl.indexOf(t)}Dr(t){return-1!==this.ll().bl.indexOf(t)}dl(){return this.ll().Rl}Wn(){return this.ll().cl}si(){return this.ll().ml.enabled||!1}Cl(){const t=this.ll().ol;return!(!t||null==t.enabled)&&t.enabled}Au(){if(!this.Cl())return-1;const t=this.ll().ol;return null==t.capacity||t.capacity<10?-1:t.capacity}Du(){if(!this.Cl())return-1;const t=this.ll().ol;return null==t.refill_rate||t.refill_rate<=0?-1:t.refill_rate}vl(t){const e=this.ll().ol.endpoint_overrides;return null==e?null:e[t]}Tu(t){const e=this.vl(t);return null==e||isNaN(e.capacity)||e.capacity<=0?-1:e.capacity}ku(t){const e=this.vl(t);return null==e||isNaN(e.refill_rate)||e.refill_rate<=0?-1:e.refill_rate}ci(){return this.ll().hi.enabled&&null==this.Ri()?(w.Z.q(x.G.qs,{e:"Missing feature flag refresh_rate_limit."}),!1):this.ll().hi.enabled||!1}Ri(){return this.ll().hi.refresh_rate_limit}}class P{constructor(t,e,i,n){this.u=t,this.wt=e,this.yt=i,this.wl=n,this.u=t,this.wt=e,this.yt=i,this.Sl=1e3,(null==n||isNaN(n))&&(n=1800),n<this.Sl/1e3&&(o.Z.info("Specified session timeout of "+n+"s is too small, using the minimum session timeout of "+this.Sl/1e3+"s instead."),n=this.Sl/1e3),this.wl=n}jl(t,e){return new v.Z(this.wt.getUserId(),x.G.xl,t,e.eu,{d:(0,y.FX)(t-e.Dl)})}Si(){const t=this.u.tu(n.I.iu.El);return null==t?null:t.eu}Gl(){const t=(new Date).valueOf(),e=this.yt.dl(),i=this.u.j(n.I.C.Nl);if(null!=i&&null==e)return!1;let r=!1;return null==i?r=!0:null!=e&&(r=t-i>1e3*e),r&&this.u.k(n.I.C.Nl,t),r}zl(t,e){return null==e||null==e.Hl||!(t-e.Dl<this.Sl)&&e.Hl<t}wo(){const t=(new Date).valueOf(),e=t+1e3*this.wl,i=this.u.tu(n.I.iu.El);if(this.zl(t,i)){let r="Generating session start event with time "+t;if(null!=i){let t=i.Wl;t-i.Dl<this.Sl&&(t=i.Dl+this.Sl),this.u.kl(this.jl(t,i)),r+=" (old session ended "+t+")"}r+=". Will expire "+e.valueOf(),o.Z.info(r);const s=new d.Z(p.Z.W(),e);return this.u.kl(new v.Z(this.wt.getUserId(),x.G.ql,t,s.eu)),this.u.uu(n.I.iu.El,s),null==this.u.j(n.I.C.Nl)&&this.u.k(n.I.C.Nl,t),s.eu}if(null!=i)return i.Wl=t,i.Hl=e,this.u.uu(n.I.iu.El,i),i.eu}yl(){const t=this.u.tu(n.I.iu.El);null!=t&&(this.u.Al(n.I.iu.El),this.u.kl(this.jl((new Date).valueOf(),t)))}}const z={Qo:function(t,e=!1){let i=!1;try{if(localStorage&&localStorage.getItem)try{localStorage.setItem(n.I.C.ec,"true"),localStorage.getItem(n.I.C.ec)&&(localStorage.removeItem(n.I.C.ec),i=!0)}catch(t){if(!(t instanceof Error&&("QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&localStorage.length>0))throw t;i=!0}}catch(t){o.Z.info("Local Storage not supported!")}const r=z.oc(),s=new n.Z.tc(t,r&&!e,i);let a;return a=i?new n.Z.rc(t):new n.Z.ac,new n.Z(s,a)},oc:function(){return navigator.cookieEnabled||"cookie"in document&&(document.cookie.length>0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)}},D=z;var U=i(9342),R=i(8548),M=i(3552),L=i(7615);class j{constructor(t,e){this.yt=t,this.u=e,this.yt=t,this.u=e}getUserId(){const t=this.u.tu(n.I.iu.su);if(null==t)return null;let e=t.eu,i=(0,R.E)(e);if(i>L.Z.lr){for(;i>L.Z.lr;)e=e.slice(0,e.length-1),i=(0,R.E)(e);t.eu=e,this.u.uu(n.I.iu.su,t)}return e}ou(t){const e=null==this.getUserId();this.u.uu(n.I.iu.su,new d.Z(t)),e&&this.u.ru(t)}setCustomUserAttribute(t,e){if(this.yt.hu(t))return o.Z.info('Custom Attribute "'+t+'" is blocklisted, ignoring.'),!1;const i={};return i[t]=e,this.nu(L.Z.lu,i,!0)}nu(t,e,i=!1,n=!1){const r=this.u.mu(this.getUserId(),t,e);let s="",a=t,l=e;return i&&(s=" custom","object"==typeof e&&(a=Object.keys(e)[0],l=e[a],"object"==typeof l&&(l=JSON.stringify(l,null,2)))),!n&&r&&o.Z.info(`Logged${s} attribute ${a} with value ${l}`),r}kn(t,e,i,r,a){this.nu("push_token",t,!1,!0),this.nu("custom_push_public_key",i,!1,!0),this.nu("custom_push_user_auth",r,!1,!0),this.nu("custom_push_vapid_public_key",a,!1,!0);const l=s.Z.Yt.Qt,u=new s.Z(l,o.Z),c=new M.Z(t,e,i,r,a);this.u.k(n.I.C.In,c.Y()),u.setItem(l.ss.cu,l.ie,!0)}Dn(t){if(this.nu("push_token",null,!1,!0),this.nu("custom_push_public_key",null,!1,!0),this.nu("custom_push_user_auth",null,!1,!0),this.nu("custom_push_vapid_public_key",null,!1,!0),t){const t=s.Z.Yt.Qt,e=new s.Z(t,o.Z);this.u.k(n.I.C.In,!1),e.setItem(t.ss.cu,t.ie,!1)}}}var B=i(1148),q=i(5319);const F={Eo:"allowCrawlerActivity",_o:"baseUrl",Io:"noCookies",Ao:"devicePropertyAllowlist",_a:"disablePushTokenMaintenance",So:"enableLogging",No:"enableSdkAuthentication",Ma:"manageServiceWorkerExternally",Oo:"minimumIntervalBetweenTriggerActionsInSeconds",Po:"sessionTimeoutInSeconds",Ro:"appVersion",Lo:"appVersionNumber",wa:"serviceWorkerLocation",ya:"safariWebsitePushId",zn:"localization",bo:"contentSecurityNonce",Do:"allowUserSuppliedJavascript",jo:"inAppMessageZIndex",ho:"openInAppMessagesInNewTab",en:"openNewsFeedCardsInNewTab",Lh:"requireExplicitInAppMessageDismissal",Mo:"doNotLoadFontAwesome",Uo:"deviceId",Bo:"sdkFlavor",tn:"openCardsInNewTab"},$={Eo:"allowCrawlerActivity",_o:"baseUrl",Io:"noCookies",Ao:"devicePropertyAllowlist",_a:"disablePushTokenMaintenance",So:"enableLogging",No:"enableSdkAuthentication",Ma:"manageServiceWorkerExternally",Oo:"minimumIntervalBetweenTriggerActionsInSeconds",Po:"sessionTimeoutInSeconds",Ro:"appVersion",Lo:"appVersionNumber",wa:"serviceWorkerLocation",ya:"safariWebsitePushId",zn:"localization",bo:"contentSecurityNonce",Do:"allowUserSuppliedJavascript",jo:"inAppMessageZIndex",ho:"openInAppMessagesInNewTab",tn:"openCardsInNewTab",en:"openNewsFeedCardsInNewTab",Lh:"requireExplicitInAppMessageDismissal",Mo:"doNotLoadFontAwesome",Uo:"deviceId",Bo:"sdkFlavor"},G=new class{constructor(){this.rn="",this.Wo="",this.Vo=void 0,this.zo=null,this.on=null,this.qt=null,this.zi=null,this.yt=null,this.ri=null,this.u=null,this.wt=null,this.Go="",this.Ko=!1,this.$o=!1,this.qo=new r.Z,this.Jo=new r.Z,this.options={},this.Yo=[],this.Ho=[],this._e=[],this.Wo="5.3.1"}Xo(t){this.qo.It(t)}Sh(t){this.Jo.It(t)}initialize(t,e){if(this.so())return o.Z.info("Braze has already been initialized with an API key."),!0;this.options=e||{};let s=this.nn($.So);const l=(0,B.L)(q.SD.Un());if(l&&"true"===l.brazeLogging&&(s=!0),o.Z.init(s),o.Z.info(`Initialization Options: ${JSON.stringify(this.options,null,2)}`),null==t||""===t||"string"!=typeof t)return o.Z.error("Braze requires a valid API key to be initialized."),!1;this.rn=t;let c=this.nn($._o);if(null==c||""===c||"string"!=typeof c)return o.Z.error("Braze requires a valid baseUrl to be initialized."),!1;!1===/^https?:/.test(c)&&(c=`https://${c}`);const p=c;if(c=document.createElement("a"),c.href=p,"/"===c.pathname&&(c=`${c}api/v3`),this.Go=c.toString(),u.Z.Zo&&!this.nn($.Eo))return o.Z.info("Ignoring activity from crawler bot "+navigator.userAgent),this.$o=!0,!1;const f=this.nn($.Io)||!1;if(this.u=D.Qo(t,f),f&&this.u.Wh(t),new n.Z.ee(null,!0).br(n.I.se))return o.Z.info("Ignoring all activity due to previous opt out"),this.$o=!0,!1;for(const t of(0,b.XP)(this.options))-1===(0,b.VO)(F).indexOf(t)&&o.Z.warn(`Ignoring unknown initialization option '${t}'.`);const g=["mparticle","wordpress","tealium"];if(null!=this.nn($.Bo)){const t=this.nn($.Bo);-1!==g.indexOf(t)?this.Vo=t:o.Z.error("Invalid sdk flavor passed: "+t)}let v=this.nn(F.Ao);if(null!=v)if((0,b.kJ)(v)){const t=[];for(let e=0;e<v.length;e++)(0,b.fk)(h,v[e],"devicePropertyAllowlist contained an invalid value.","DeviceProperties")&&t.push(v[e]);v=t}else o.Z.error("devicePropertyAllowlist must be an array. Defaulting to all properties."),v=null;const y=this.nn($.Uo);if(y){const t=new d.Z(y);this.u.uu(n.I.iu.Uo,t)}this.on=new m(this.u,v),this.yt=new O(this.u),this.wt=new j(this.yt,this.u),this.ri=new P(this.u,this.wt,this.yt,this.nn($.Po));const w=new r.Z;return this.zo=new a(this.u,this.nn($.No),w),this.$t(w),this.qt=new E(this.on,this.u,this.zo,this.wt,this.ri,this.yt,this.rn,this.Go,this.Wo,this.Vo||"",this.nn($.Ro),this.nn($.Lo)),this.zi=new T(this.rn,this.Go,this.ri,this.on,this.wt,this.yt,this.u,t=>{if(this.so())for(const e of this.gr())e.Ns(t)},this.zo,this.qt),this.zi.initialize(),f||this.u.Vh(),o.Z.info(`Initialized for the Braze backend at "${this.nn($._o)}" with API key "${this.rn}".`),U.n.o(),this.yt.ji(()=>{var t;this.Ko&&(null===(t=this.yt)||void 0===t?void 0:t.ci())&&i.e(787).then(i.bind(i,9787)).then(t=>{this.Ko&&(0,t.default)()})}),this.zi.mr(()=>{var t;this.Ko&&(null===(t=this.yt)||void 0===t?void 0:t.ci())&&i.e(787).then(i.bind(i,9787)).then(t=>{this.Ko&&(0,t.default)(void 0,void 0,!0)})}),this.qo.Dt(this.options),this.Ko=!0,!0}destroy(t){if(o.Z.destroy(),this.so()){this.Jo.Dt(),this.Jo.removeAllSubscriptions();for(const t of this.Yo)t.destroy();this.Yo=[];for(const t of this.Ho)t.clearData(!1);this.Ho=[],this.removeAllSubscriptions(),this._e=[],null!=this.zi&&this.zi.destroy(),this.zi=null,this.zo=null,this.on=null,this.qt=null,this.yt=null,this.ri=null,this.wt=null,this.options={},this.Vo=void 0,this.Ko=!1,this.$o=!1,t&&(this.u=null)}}X(){return!(this.Kh()||!this.so()&&(console.warn(k.Go),1))}ba(){return this.rn}Sr(){return this.zo}Hs(){return this.Go}te(){return this.on}nr(){return this.qt}nn(t){return this.options[t]}gr(){return this.Ho}cr(){return this.zi}ir(){return this.yt}zr(){return this.ri}l(){return this.u}pr(){if(this.wt&&this.zi)return new L.Z(this.wt,this.zi)}er(){return this.wt}tr(){return!0===this.nn($.Do)}g(t){let e=!1;for(const i of this.Yo)i===t&&(e=!0);e||this.Yo.push(t)}ar(t){let e=!1;for(const i of this.Ho)i.constructor===t.constructor&&(e=!0);t instanceof l.Z&&!e&&this.Ho.push(t)}$t(t){t instanceof r.Z&&this._e.push(t)}removeAllSubscriptions(){if(this.X())for(const t of this._e)t.removeAllSubscriptions()}removeSubscription(t){if(this.X())for(const e of this._e)e.removeSubscription(t)}oe(t){this.$o=t}so(){return this.Ko}Kh(){return this.$o}Ds(){return this.Wo}}},5966:(t,e,i)=>{"use strict";i.d(e,{I:()=>h,Z:()=>d});var n=i(7559),r=i(2308),s=i(2893),o=i(2730),a=i(335),l=i(7615),u=i(3695),c=i(8031);const h={iu:{su:"ab.storage.userId",Uo:"ab.storage.deviceId",El:"ab.storage.sessionId"},C:{ec:"ab.test",tE:"ab.storage.events",eE:"ab.storage.attributes",sE:"ab.storage.attributes.anonymous_user",Ca:"ab.storage.device",Yh:"ab.storage.sdk_metadata",Jh:"ab.storage.session_id_for_cached_metadata",In:"ab.storage.pushToken",Ui:"ab.storage.newsFeed",ki:"ab.storage.lastNewsFeedRefresh",J:"ab.storage.cardImpressions",ul:"ab.storage.serverConfig",rE:"ab.storage.triggers",oE:"ab.storage.triggers.ts",Nl:"ab.storage.messagingSessionStart",ws:"ab.storage.cc",gs:"ab.storage.ccLastFullSync",ys:"ab.storage.ccLastCardUpdated",nE:"ab.storage.ccRateLimitCurrentTokenCount",au:"ab.storage.globalRateLimitCurrentTokenCount",vu:"ab.storage.dynamicRateLimitCurrentTokenCount",v:"ab.storage.ccClicks",H:"ab.storage.ccImpressions",A:"ab.storage.ccDismissals",aE:"ab.storage.lastDisplayedTriggerTimesById",iE:"ab.storage.lastDisplayedTriggerTime",EE:"ab.storage.triggerFireInstancesById",wh:"ab.storage.signature",As:"ab.storage.brazeSyncRetryCount",Ss:"ab.storage.sdkVersion",gi:"ab.storage.ff",vi:"ab.storage.ffImpressions",xi:"ab.storage.ffLastRefreshAt",Di:"ab.storage.ff.sessionId",lE:"ab.storage.lastReqToEndpoint",SE:"ab.storage.requestAttempts",Cr:"ab.storage.deferredIam",Qa:"ab.storage.lastSdkReq",_E:"ab.storage.alias"},se:"ab.optOut"};class d{constructor(t,e){this.uE=t,this.TE=e,this.uE=t,this.TE=e}Wh(t){const e=(0,s.XP)(h.iu),i=new d.ee(t);for(const t of e)i.remove(h.iu[t])}uu(t,e){let i=null;null!=e&&e instanceof r.Z&&(i=e.Y()),this.uE.store(t,i)}cE(t){const e=this.tu(t);null!=e&&(e.Wl=(new Date).valueOf(),this.uu(t,e))}tu(t){const e=this.uE.br(t),i=(t=>{let e;try{e=JSON.parse(t)}catch(t){e=null}return e})(e);let n;if(i)n=r.Z.qn(i)||null,n&&this.uu(t,n);else{const i=r.Z.hE(e);n=r.Z.qn(i)||null,i!==e&&n&&this.uu(t,n)}return n}Al(t){this.uE.remove(t)}Vh(){const t=(0,s.XP)(h.iu);let e;for(const i of t)e=this.tu(h.iu[i]),null!=e&&this.uu(h.iu[i],e)}xo(t){let e;if(null==t||0===t.length)return!1;e=(0,s.kJ)(t)?t:[t];let i=this.TE.br(h.C.tE);null!=i&&(0,s.kJ)(i)||(i=[]);for(let t=0;t<e.length;t++)i.push(e[t].Y());return this.TE.store(h.C.tE,i)}kl(t){return null!=t&&this.xo([t])}AE(){let t=this.TE.br(h.C.tE);this.TE.remove(h.C.tE),null==t&&(t=[]);const e=[];let i=!1,r=null;if((0,s.kJ)(t))for(let i=0;i<t.length;i++)n.Z.RE(t[i])?e.push(n.Z.qn(t[i])):r=i;else i=!0;if(i||null!=r){let s="Stored events could not be deserialized as Events";i&&(s+=", was "+Object.prototype.toString.call(t)+" not an array"),null!=r&&(s+=", value at index "+r+" does not look like an event"),s+=", serialized values were of type "+typeof t+": "+JSON.stringify(t),e.push(new n.Z(null,o.G.qs,(new Date).valueOf(),null,{e:s}))}return e}k(t,e){return!!(0,s.fk)(h.C,t,"StorageManager cannot store object.","STORAGE_KEYS.OBJECTS")&&this.TE.store(t,e)}j(t){return!!(0,s.fk)(h.C,t,"StorageManager cannot retrieve object.","STORAGE_KEYS.OBJECTS")&&this.TE.br(t)}ti(t){return!!(0,s.fk)(h.C,t,"StorageManager cannot remove object.","STORAGE_KEYS.OBJECTS")&&(this.TE.remove(t),!0)}clearData(){const t=(0,s.XP)(h.iu),e=(0,s.XP)(h.C);for(let e=0;e<t.length;e++){const i=t[e];this.uE.remove(h.iu[i])}for(let t=0;t<e.length;t++){const i=e[t];this.TE.remove(h.C[i])}}gE(t){return t||h.C.sE}La(t){let e=this.TE.br(h.C.eE);null==e&&(e={});const i=this.gE(t[l.Z.Yn]),n=e[i];for(const r in t)r!==l.Z.Yn&&(null==e[i]||n&&null==n[r])&&this.mu(t[l.Z.Yn],r,t[r])}mu(t,e,i){let n=this.TE.br(h.C.eE);null==n&&(n={});const r=this.gE(t);let s=n[r];if(null==s&&(s={},null!=t&&(s[l.Z.Yn]=t)),e===l.Z.lu){null==s[e]&&(s[e]={});for(const t in i)s[e][t]=i[t]}else s[e]=i;return n[r]=s,this.TE.store(h.C.eE,n)}OE(){const t=this.TE.br(h.C.eE);this.TE.remove(h.C.eE);const e=[];for(const i in t)null!=t[i]&&e.push(t[i]);return e}ru(t){const e=this.TE.br(h.C.eE);if(null!=e){const i=this.gE(null),n=e[i];null!=n&&(e[i]=void 0,this.TE.store(h.C.eE,e),n[l.Z.Yn]=t,this.La(n))}const i=this.tu(h.iu.El);let n=null;null!=i&&(n=i.eu);const r=this.AE();if(null!=r)for(let e=0;e<r.length;e++){const i=r[e];null==i.userId&&i.sessionId==n&&(i.userId=t),this.kl(i)}}dE(){return this.TE.fE}}d.rc=class{constructor(t){this.rn=t,this.rn=t,this.fE=u.Z.IE()?3:10}bE(t){return t+"."+this.rn}store(t,e){const i={v:e};try{return localStorage.setItem(this.bE(t),JSON.stringify(i)),!0}catch(t){return a.Z.info("Storage failure: "+(0,c.e)(t)),!1}}br(t){try{let e=null;const i=localStorage.getItem(this.bE(t));return null!=i&&(e=JSON.parse(i)),null==e?null:e.v}catch(t){return a.Z.info("Storage retrieval failure: "+(0,c.e)(t)),null}}remove(t){try{localStorage.removeItem(this.bE(t))}catch(t){return a.Z.info("Storage removal failure: "+(0,c.e)(t)),!1}}},d.ac=class{constructor(){this.mE={},this.KE=5242880,this.fE=3}store(t,e){const i={value:e},n=this.YE(e);return n>this.KE?(a.Z.info("Storage failure: object is ≈"+n+" bytes which is greater than the max of "+this.KE),!1):(this.mE[t]=i,!0)}YE(t){const e=[],i=[t];let n=0;for(;i.length;){const t=i.pop();if("boolean"==typeof t)n+=4;else if("string"==typeof t)n+=2*t.length;else if("number"==typeof t)n+=8;else if("object"==typeof t&&-1===e.indexOf(t)){let n,r;e.push(t);for(const e in t)r=t,n=e,i.push(r[n])}}return n}br(t){const e=this.mE[t];return null==e?null:e.value}remove(t){this.mE[t]=null}},d.ee=class{constructor(t,e){this.rn=t,this.NE=e,this.rn=t,this.CE=this.GE(),this.DE=576e3,this.NE=!!e}bE(t){return null!=this.rn?t+"."+this.rn:t}GE(){let t=0,e=document.location.hostname;const i=e.split("."),n="ab._gd";for(;t<i.length-1&&-1===document.cookie.indexOf(n+"="+n);)t++,e="."+i.slice(-1-t).join("."),document.cookie=n+"="+n+";domain="+e+";";return document.cookie=n+"=;expires="+new Date(0).toUTCString()+";domain="+e+";",e}ne(){const t=new Date;return t.setTime(t.getTime()+60*this.DE*1e3),t.getFullYear()}ME(){const t=(0,s.VO)(h.iu),e=document.cookie.split(";");for(let i=0;i<e.length;i++){let n=e[i];for(;" "===n.charAt(0);)n=n.substring(1);let r=!1;for(let e=0;e<t.length;e++)if(0===n.indexOf(t[e])){r=!0;break}if(r){const t=n.split("=")[0];-1===t.indexOf("."+this.rn)&&this.pE(t)}}}store(t,e){this.ME();const i=new Date;i.setTime(i.getTime()+60*this.DE*1e3);const n="expires="+i.toUTCString(),r="domain="+this.CE;let s;s=this.NE?e:encodeURIComponent(e);const o=this.bE(t)+"="+s+";"+n+";"+r+";path=/";return o.length>=4093?(a.Z.info("Storage failure: string is "+o.length+" chars which is too large to store as a cookie."),!1):(document.cookie=o,!0)}br(t){const e=[],i=this.bE(t)+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let s=n[r];for(;" "===s.charAt(0);)s=s.substring(1);if(0===s.indexOf(i))try{let t;t=this.NE?s.substring(i.length,s.length):decodeURIComponent(s.substring(i.length,s.length)),e.push(t)}catch(e){return a.Z.info("Storage retrieval failure: "+(0,c.e)(e)),this.remove(t),null}}return e.length>0?e[e.length-1]:null}remove(t){this.pE(this.bE(t))}pE(t){const e=t+"=;expires="+new Date(0).toUTCString();document.cookie=e,document.cookie=e+";path=/";const i=e+";domain="+this.CE;document.cookie=i,document.cookie=i+";path=/"}},d.tc=class{constructor(t,e,i){this.rn=t,this.vE=[],e&&this.vE.push(new d.ee(t)),i&&this.vE.push(new d.rc(t)),this.vE.push(new d.ac)}store(t,e){let i=!0;for(let n=0;n<this.vE.length;n++)i=this.vE[n].store(t,e)&&i;return i}br(t){for(let e=0;e<this.vE.length;e++){const i=this.vE[e].br(t);if(null!=i)return i}return null}remove(t){new d.ee(this.rn).remove(t);for(let e=0;e<this.vE.length;e++)this.vE[e].remove(t)}}},4663:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(7070);class r{constructor(){this._e={}}It(t){if("function"!=typeof t)return null;const e=n.Z.W();return this._e[e]=t,e}removeSubscription(t){delete this._e[t]}removeAllSubscriptions(){this._e={}}ic(){return Object.keys(this._e).length}Dt(t){const e=[];for(const i in this._e){const n=this._e[i];e.push(n(t))}return e}}},8982:(t,e,i)=>{"use strict";i.d(e,{q:()=>r});var n=i(5966);function r(t){const e=null==t?void 0:t.j(n.I.C._E);let i;return e&&(i={label:e.l,name:e.a}),i}},3826:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});const n={qa:"invalid_api_key",Aa:"blacklisted",Ba:"no_device_identifier",Ra:"invalid_json_response",Zh:"empty_response",__:"sdk_auth_error"}},7559:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(5825),r=i(8982),s=i(2893),o=i(7750);class a{constructor(t,e,i,n,r){this.userId=t,this.type=e,this.time=i,this.sessionId=n,this.data=r,this.userId=t,this.type=e,this.time=(0,o._0)(i),this.sessionId=n,this.data=r}Ir(){var t;const e={name:this.type,time:(0,o.FX)(this.time),data:this.data||{},session_id:this.sessionId};null!=this.userId&&(e.user_id=this.userId);const i=(null===(t=n.ZP.Sr())||void 0===t?void 0:t.Fh())||!1;if(!e.user_id&&!i){const t=(0,r.q)(n.ZP.l());t&&(e.alias=t)}return e}Y(){return{u:this.userId,t:this.type,ts:this.time,s:this.sessionId,d:this.data}}static fromJson(t){return new a(t.user_id,t.name,t.time,t.session_id,t.data)}static RE(t){return null!=t&&(0,s.Kn)(t)&&null!=t.t&&""!==t.t}static qn(t){return new a(t.u,t.t,t.ts,t.s,t.d)}}},2308:(t,e,i)=>{"use strict";i.d(e,{Z:()=>a});var n=i(7070),r=i(335),s=i(2893),o=i(8031);class a{constructor(t,e,i){this.eu=t,null==t&&(t=n.Z.W()),!i||isNaN(i)?this.Dl=(new Date).valueOf():this.Dl=i,this.eu=t,this.Wl=(new Date).valueOf(),this.Hl=e}Y(){return`g:${encodeURIComponent(this.eu)}|e:${this.Hl}|c:${this.Dl}|l:${this.Wl}`}static hE(t){if("string"!=typeof t)return null;const e=t.lastIndexOf("|e:"),i=t.substring(0,e),n=i.split("g:")[1];let r;return r=/[|:]/.test(n)?encodeURIComponent(n):n,t.replace(i,`g:${r}`)}static qn(t){let e;if("string"==typeof t)try{const i=t.split("|");if(!(0,s.kJ)(i)||4!==i.length)return null;const n=t=>t.split(":")[1],r=t=>{const e=parseInt(n(t));if(!isNaN(e))return e};e=new a(decodeURIComponent(n(i[0])),r(i[1]),r(i[2])),e.Wl=r(i[3])}catch(e){r.Z.info(`Unable to parse cookie string ${t}, failed with error: ${(0,o.e)(e)}`)}else{if(null==t||null==t.g)return null;e=new a(t.g,t.e,t.c),e.Wl=t.l}return e}}},3552:(t,e,i)=>{"use strict";i.d(e,{Z:()=>r});var n=i(7750);class r{constructor(t,e,i,n,r){this.endpoint=t,this.Vn=e,this.publicKey=i,this.Vl=n,this.cl=r,this.endpoint=t||null,this.Vn=e||null,this.publicKey=i||null,this.Vl=n||null,this.cl=r||null}Y(){return{e:this.endpoint,c:this.Vn,p:this.publicKey,u:this.Vl,v:this.cl}}static qn(t){return new r(t.e,(0,n.Rd)(t.c),t.p,t.u,t.v)}}},4673:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});class n{constructor(t=!1,e=[]){this.L=t,this.ge=e,this.L=t,this.ge=e}P(t){this.L=this.L&&t.L,this.ge.push(...t.ge)}}},4365:(t,e,i)=>{"use strict";i.d(e,{Z:()=>n});const n={OPEN:"open",Rr:"purchase",vr:"push_click",ue:"custom_event",Qr:"iam_click",kt:"test"}},2246:(t,e,i)=>{"use strict";i.d(e,{Z:()=>g});var n=i(7750),r=i(335);class s{constructor(t){this.Bl=t,this.Bl=t}Jl(t){return null==this.Bl||this.Bl===t[0]}static fromJson(t){return new s(t?t.event_name:null)}Y(){return this.Bl}}var o=i(2893);class a{constructor(t,e,i,r){this.Tl=t,this._l=e,this.comparator=i,this.Ll=r,this.Tl=t,this._l=e,this.comparator=i,this.Ll=r,this._l===a.Ol.Il&&this.comparator!==a.Ql.Ul&&this.comparator!==a.Ql.Xl&&this.comparator!==a.Ql.Fl&&this.comparator!==a.Ql.Kl&&(this.Ll=(0,n.X2)(this.Ll))}Jl(t){let e=null;switch(null!=t&&(e=t[this.Tl]),this.comparator){case a.Ql.Pl:return null!=e&&e.valueOf()===this.Ll.valueOf();case a.Ql.Yl:return null==e||e.valueOf()!==this.Ll.valueOf();case a.Ql.Zl:return null!=e&&typeof e==typeof this.Ll&&e>this.Ll;case a.Ql.Ul:return this._l===a.Ol.Il?null!=e&&(0,o.J_)(e)&&(0,n.$N)(e)<=this.Ll.valueOf():null!=e&&typeof e==typeof this.Ll&&e>=this.Ll;case a.Ql.$l:return null!=e&&typeof e==typeof this.Ll&&e<this.Ll;case a.Ql.Xl:return this._l===a.Ol.Il?null!=e&&(0,o.J_)(e)&&(0,n.$N)(e)>=this.Ll.valueOf():null!=e&&typeof e==typeof this.Ll&&e<=this.Ll;case a.Ql.Hu:return null!=e&&"string"==typeof e&&typeof e==typeof this.Ll&&null!=e.match(this.Ll);case a.Ql.Qu:return null!=e;case a.Ql.Xu:return null==e;case a.Ql.Fl:return null!=e&&(0,o.J_)(e)&&(0,n.yo)(e)<this.Ll;case a.Ql.Kl:return null!=e&&(0,o.J_)(e)&&(0,n.yo)(e)>this.Ll;case a.Ql.Gu:return null==e||typeof e!=typeof this.Ll||"string"!=typeof e||null==e.match(this.Ll)}return!1}static fromJson(t){return new a(t.property_key,t.property_type,t.comparator,t.property_value)}Y(){let t=this.Ll;return(0,o.J_)(this.Ll)&&(t=(0,n.FX)(t.valueOf())),{k:this.Tl,t:this._l,c:this.comparator,v:t}}static qn(t){return new a(t.k,t.t,t.c,t.v)}}a.Ol={Vu:"boolean",Wu:"number",Yu:"string",Il:"date"},a.Ql={Pl:1,Yl:2,Zl:3,Ul:4,$l:5,Xl:6,Hu:10,Qu:11,Xu:12,Fl:15,Kl:16,Gu:17};class l{constructor(t){this.filters=t,this.filters=t}Jl(t){let e=!0;for(let i=0;i<this.filters.length;i++){const n=this.filters[i];let r=!1;for(let e=0;e<n.length;e++)if(n[e].Jl(t)){r=!0;break}if(!r){e=!1;break}}return e}static fromJson(t){if(null==t||!(0,o.kJ)(t))return null;const e=[];for(let i=0;i<t.length;i++){const n=[],r=t[i];for(let t=0;t<r.length;t++)n.push(a.fromJson(r[t]));e.push(n)}return new l(e)}Y(){const t=[];for(let e=0;e<this.filters.length;e++){const i=this.filters[e],n=[];for(let t=0;t<i.length;t++)n.push(i[t].Y());t.push(n)}return t}static qn(t){const e=[];for(let i=0;i<t.length;i++){const n=[],r=t[i];for(let t=0;t<r.length;t++)n.push(a.qn(r[t]));e.push(n)}return new l(e)}}class u{constructor(t,e){this.Bl=t,this.Ml=e,this.Bl=t,this.Ml=e}Jl(t){if(null==this.Bl||null==this.Ml)return!1;const e=t[0],i=t[1];return e===this.Bl&&this.Ml.Jl(i)}static fromJson(t){return new u(t?t.event_name:null,t?l.fromJson(t.property_filters):null)}Y(){return{e:this.Bl,pf:this.Ml?this.Ml.Y():null}}}class c{constructor(t,e){this.Zu=t,this.tf=e,this.Zu=t,this.tf=e}Jl(t){if(null==this.Zu)return!1;const e=m.if(t[0],this.Zu);if(!e)return!1;let i=null==this.tf||0===this.tf.length;if(null!=this.tf)for(let e=0;e<this.tf.length;e++)if(this.tf[e]===t[1]){i=!0;break}return e&&i}static fromJson(t){return new c(t?t.id:null,t?t.buttons:null)}Y(){return this.Zu}}class h{constructor(t){this.productId=t,this.productId=t}Jl(t){return null==this.productId||t[0]===this.productId}static fromJson(t){return new h(t?t.product_id:null)}Y(){return this.productId}}class d{constructor(t,e){this.productId=t,this.Ml=e,this.productId=t,this.Ml=e}Jl(t){if(null==this.productId||null==this.Ml)return!1;const e=t[0],i=t[1];return e===this.productId&&this.Ml.Jl(i)}static fromJson(t){return new d(t?t.product_id:null,t?l.fromJson(t.property_filters):null)}Y(){return{id:this.productId,pf:this.Ml?this.Ml.Y():null}}}class p{constructor(t){this.Zu=t,this.Zu=t}Jl(t){return null==this.Zu||m.if(t[0],this.Zu)}static fromJson(t){return new p(t?t.campaign_id:null)}Y(){return this.Zu}}var b=i(4365),f=i(8031);class m{constructor(t,e){this.type=t,this.data=e,this.type=t,this.data=e}sc(t,e){return m.cc[this.type]===t&&(null==this.data||this.data.Jl(e))}static if(t,e){let i=null;try{i=window.atob(t)}catch(e){return r.Z.info("Failed to unencode analytics id "+t+": "+(0,f.e)(e)),!1}return e===i.split("_")[0]}static fromJson(t){const e=t.type;let i=null;switch(e){case m._r.OPEN:case m._r.kt:break;case m._r.Rr:i=h.fromJson(t.data);break;case m._r.nc:i=d.fromJson(t.data);break;case m._r.vr:i=p.fromJson(t.data);break;case m._r.ue:i=s.fromJson(t.data);break;case m._r.lc:i=u.fromJson(t.data);break;case m._r.Qr:i=c.fromJson(t.data)}return new m(e,i)}Y(){return{t:this.type,d:this.data?this.data.Y():null}}static qn(t){let e,i=null;switch(t.t){case m._r.OPEN:case m._r.kt:break;case m._r.Rr:i=new h(t.d);break;case m._r.nc:e=t.d||{},i=new d(e.id,l.qn(e.pf||[]));break;case m._r.vr:i=new p(t.d);break;case m._r.ue:i=new s(t.d);break;case m._r.lc:e=t.d||{},i=new u(e.e,l.qn(e.pf||[]));break;case m._r.Qr:i=new c(t.d)}return new m(t.t,i)}}m._r={OPEN:"open",Rr:"purchase",nc:"purchase_property",vr:"push_click",ue:"custom_event",lc:"custom_event_property",Qr:"iam_click",kt:"test"},m.cc={},m.cc[m._r.OPEN]=b.Z.OPEN,m.cc[m._r.Rr]=b.Z.Rr,m.cc[m._r.nc]=b.Z.Rr,m.cc[m._r.vr]=b.Z.vr,m.cc[m._r.ue]=b.Z.ue,m.cc[m._r.lc]=b.Z.ue,m.cc[m._r.Qr]=b.Z.Qr,m.cc[m._r.kt]=b.Z.kt;class g{constructor(t,e=[],i,n,r=0,s,o,a=0,l=g.td,u,c,h){this.id=t,this.sd=e,this.startTime=i,this.endTime=n,this.priority=r,this.type=s,this.data=o,this.ed=a,this.rd=l,this.Nr=u,this.hd=c,this.od=h,this.id=t,this.sd=e||[],void 0===i&&(i=null),this.startTime=i,void 0===n&&(n=null),this.endTime=n,this.priority=r||0,this.type=s,this.ed=a||0,null==u&&(u=1e3*(this.ed+30)),this.Nr=u,this.data=o,null!=l&&(this.rd=l),this.hd=c,this.od=h||null}nd(t){return null==this.od||this.rd!==g.td&&t-this.od>=1e3*this.rd}ad(t){this.od=t}ud(t){const e=t+1e3*this.ed;return Math.max(e-(new Date).valueOf(),0)}dd(t){const e=(new Date).valueOf()-t,i=null==t||isNaN(e)||null==this.Nr||e<this.Nr;return i||r.Z.info(`Trigger action ${this.type} is no longer eligible for display - fired ${e}ms ago and has a timeout of ${this.Nr}ms.`),!i}static fromJson(t){const e=t.id,i=[];for(let e=0;e<t.trigger_condition.length;e++)i.push(m.fromJson(t.trigger_condition[e]));const r=(0,n.X2)(t.start_time),s=(0,n.X2)(t.end_time),a=t.priority,l=t.type,u=t.delay,c=t.re_eligibility,h=t.timeout,d=t.data,p=t.min_seconds_since_last_trigger;return(0,o.fk)(g._r,l,"Could not construct Trigger from server data","Trigger.Types")?new g(e,i,r,s,a,l,d,u,c,h,p):null}Y(){const t=[];for(let e=0;e<this.sd.length;e++)t.push(this.sd[e].Y());return{i:this.id,c:t,s:this.startTime,e:this.endTime,p:this.priority,t:this.type,da:this.data,d:this.ed,r:this.rd,tm:this.Nr,ss:this.hd,ld:this.od}}static qn(t){const e=[],i=t.c||[];for(let t=0;t<i.length;t++)e.push(m.qn(i[t]));return new g(t.i,e,(0,n.Rd)(t.s),(0,n.Rd)(t.e),t.p,t.t,t.da,t.d,t.r,t.tm,t.ss,t.ld)}}g._r={Br:"inapp",md:"templated_iam"},g.td=-1},9342:(t,e,i)=>{"use strict";i.d(e,{n:()=>f});var n=i(1087),r=i(5825),s=i(158),o=i(3340),a=i(7559),l=i(2893),u=i(5966);class c{constructor(t,e,i,n,r){this.triggerId=t,this.Er=e,this.Tr=i,this.Gr=n,this.Nr=r,this.triggerId=t,this.Er=e,this.Tr=i,this.Gr=n,this.Nr=r}static fromJson(t,e,i,n,r){return null==t||null==t.trigger_id?null:new c(t.trigger_id,e,i,n,r)}}var h=i(2246),d=i(4365),p=i(335);class b extends s.Z{constructor(t,e,i,n,r){super(),this.tg=t,this.Jt=e,this.u=i,this.zi=n,this.ig=r,this.tg=t,this.Jt=e,this.u=i,this.zi=n,this.ig=r,this.sg=[],this.eg=[],this.hg=null,this.ng={},this.og={},this.triggers=[],this.lg=0,this.ag(),this.gg()}fg(){if(this.u){this.hg=this.u.j(u.I.C.iE)||this.hg,this.ng=this.u.j(u.I.C.EE)||this.ng,this.og=this.u.j(u.I.C.aE)||this.og;for(let t=0;t<this.triggers.length;t++){const e=this.triggers[t];e.id&&null!=this.og[e.id]&&e.ad(this.og[e.id])}}}ag(){if(!this.u)return;this.lg=this.u.j(u.I.C.oE)||0;const t=this.u.j(u.I.C.rE)||[],e=[];for(let i=0;i<t.length;i++)e.push(h.Z.qn(t[i]));this.triggers=e,this.fg()}gg(){const t=this,e=function(e,i,n,r,s){return function(){t.cg(e,i,n,r,s)}},i={};for(const t of this.triggers)t.id&&(i[t.id]=t);let n=!1;for(let t=0;t<this.triggers.length;t++){const r=this.triggers[t];if(r.id&&null!=this.ng[r.id]){const t=this.ng[r.id],s=[];for(let n=0;n<t.length;n++){const o=t[n],u=r.ud(o.Gr||0);if(u>0){let t,n;s.push(o),null!=o.ug&&(t=o.ug),null!=o.dg&&a.Z.RE(o.dg)&&(n=a.Z.qn(o.dg));const c=[];if(o.pg&&(0,l.kJ)(o.pg))for(let t=0;t<o.pg.length;t++){const e=i[o.pg[t]];null!=e&&c.push(e)}this.eg.push(window.setTimeout(e(r,o.Gr||0,t,n,c),u))}}this.ng[r.id].length>s.length&&(this.ng[r.id]=s,n=!0,0===this.ng[r.id].length&&delete this.ng[r.id])}}n&&this.u&&this.u.k(u.I.C.EE,this.ng)}mg(){if(!this.u)return;const t=[];for(let e=0;e<this.triggers.length;e++)t.push(this.triggers[e].Y());this.lg=(new Date).valueOf(),this.u.k(u.I.C.rE,t),this.u.k(u.I.C.oE,this.lg)}bg(){this.u&&((this.u.j(u.I.C.oE)||0)>this.lg?this.ag():this.fg())}Ns(t){let e=!1;if(null!=t&&t.triggers){this.ig.Lr(),this.fg();const i={},n={};this.triggers=[];for(let r=0;r<t.triggers.length;r++){const s=h.Z.fromJson(t.triggers[r]);if(s){s.id&&null!=this.og[s.id]&&(s.ad(this.og[s.id]),i[s.id]=this.og[s.id]),s.id&&null!=this.ng[s.id]&&(n[s.id]=this.ng[s.id]);for(let t=0;t<s.sd.length;t++)if(s.sd[t].sc(d.Z.kt,null)){e=!0;break}this.triggers.push(s)}}(0,l.Xy)(this.og,i)||(this.og=i,this.u&&this.u.k(u.I.C.aE,this.og)),(0,l.Xy)(this.ng,n)||(this.ng=n,this.u&&this.u.k(u.I.C.EE,this.ng)),this.mg(),e&&(p.Z.info("Trigger with test condition found, firing test."),this.fe(d.Z.kt)),this.fe(d.Z.OPEN);const r=this.sg;let s;this.sg=[];for(let t=0;t<r.length;t++)s=Array.prototype.slice.call(r[t]),this.fe(...s)}}cg(t,e,i,n,r){const s=n=>{this.fg();const r=(new Date).valueOf();t.dd(e)||(!1===navigator.onLine&&t.type===h.Z._r.Br&&n.imageUrl?p.Z.info(`Not showing ${t.type} trigger action ${t.id} due to offline state.`):t.nd(r)&&this.wg(t,r,i)?0===this.Jt.ic()?p.Z.info(`Not displaying trigger ${t.id} because neither automaticallyShowInAppMessages() nor subscribeToInAppMessage() were called.`):(this.Jt.Dt([n]),this.yg(t,r)):p.Z.info(`Not displaying trigger ${t.id} because display time fell outside of the acceptable time window.`))},a=()=>{this.fg();const s=r.pop();if(null!=s)if(this.Tg(s,e,i,n,r),s.dd(e)){let t=`Server aborted in-app message display, but the timeout on fallback trigger ${s.id} has already elapsed.`;r.length>0&&(t+=" Continuing to fall back."),p.Z.info(t),a()}else{p.Z.info(`Server aborted in-app message display. Falling back to lower priority ${s.type} trigger action ${t.id}.`);const o=1e3*s.ed-((new Date).valueOf()-e);o>0?this.eg.push(window.setTimeout(()=>{this.cg(s,e,i,n,r)},o)):this.cg(s,e,i,n,r)}};let l,u,d;switch(t.type){case h.Z._r.Br:if(l=(0,o.q)(t.data),null==l){p.Z.error(`Could not parse trigger data for trigger ${t.id}, ignoring.`);break}if(u=this.ig.Li(l),u){p.Z.error(u),a();break}s(l);break;case h.Z._r.md:if(d=c.fromJson(t.data,s,a,e,t.Nr||0),null==d){p.Z.error(`Could not parse trigger data for trigger ${t.id}, ignoring.`);break}this.ig.Yi(d,i,n);break;default:p.Z.error(`Trigger ${t.id} was of unexpected type ${t.type}, ignoring.`)}}fe(t,e=null,i){if(!(0,l.fk)(d.Z,t,"Cannot fire trigger action.","TriggerEvents"))return;if(this.zi&&this.zi.Nu())return p.Z.info("Trigger sync is currently in progress, awaiting sync completion before firing trigger event."),void this.sg.push(arguments);this.bg();const n=(new Date).valueOf(),r=n-(this.hg||0);let s=!0,o=!0;const a=[];for(let i=0;i<this.triggers.length;i++){const r=this.triggers[i],l=n+1e3*r.ed;if(r.nd(l)&&(null==r.startTime||r.startTime.valueOf()<=n)&&(null==r.endTime||r.endTime.valueOf()>=n)){let i=!1;for(let n=0;n<r.sd.length;n++)if(r.sd[n].sc(t,e)){i=!0;break}i&&(s=!1,this.wg(r,l,t)&&(o=!1,a.push(r)))}}if(s)return void p.Z.info(`Trigger event ${t} did not match any trigger conditions.`);if(o)return void p.Z.info(`Ignoring ${t} trigger event because a trigger was displayed ${r/1e3}s ago.`);a.sort((t,e)=>t.priority-e.priority);const u=a.pop();null!=u&&(p.Z.info(`Firing ${u.type} trigger action ${u.id} from trigger event ${t}.`),this.Tg(u,n,t,i,a),0===u.ed?this.cg(u,n,t,i,a):this.eg.push(window.setTimeout(()=>{this.cg(u,n,t,i,a)},1e3*u.ed)))}changeUser(t=!1){if(this.triggers=[],this.u&&this.u.ti(u.I.C.rE),!t){this.sg=[],this.hg=null,this.og={},this.ng={};for(let t=0;t<this.eg.length;t++)clearTimeout(this.eg[t]);this.eg=[],this.u&&(this.u.ti(u.I.C.iE),this.u.ti(u.I.C.aE),this.u.ti(u.I.C.EE))}}clearData(){this.triggers=[],this.hg=null,this.og={},this.ng={};for(let t=0;t<this.eg.length;t++)clearTimeout(this.eg[t]);this.eg=[]}wg(t,e,i){if(null==this.hg)return!0;if(i===d.Z.kt)return p.Z.info("Ignoring minimum interval between trigger because it is a test type."),!0;let n=t.hd;return null==n&&(n=this.tg),e-this.hg>=1e3*n}Tg(t,e,i,n,r){this.fg(),t.id&&(this.ng[t.id]=this.ng[t.id]||[]);const s={};let o;s.Gr=e,s.ug=i,null!=n&&(o=n.Y()),s.dg=o;const a=[];for(const t of r)t.id&&a.push(t.id);s.pg=a,t.id&&this.ng[t.id].push(s),this.u&&this.u.k(u.I.C.EE,this.ng)}yg(t,e){this.fg(),t.ad(e),this.hg=e,t.id&&(this.og[t.id]=e),this.u&&(this.u.k(u.I.C.iE,e),this.u.k(u.I.C.aE,this.og))}}const f={t:!1,provider:null,rr:()=>(f.o(),f.provider||f.rg(),f.provider),rg:()=>{if(!f.provider){const t=r.ZP.nn(r.JY.Oo);f.provider=new b(null!=t?t:30,n.Z.m().Mi(),r.ZP.l(),r.ZP.cr(),n.Z.m()),r.ZP.ar(f.provider)}},o:()=>{f.t||(f.rg(),r.ZP.g(f),f.t=!0)},destroy:()=>{f.provider=null,f.t=!1}}},5333:(t,e,i)=>{"use strict";i.d(e,{e:()=>r});var n=i(5825);function r(t,e,i){const r=t||document.querySelector("head"),s=`ab-${e}-css-definitions-${"5.3.1".replace(/\./g,"-")}`;if(!r)return;const o=r.ownerDocument||document;if(null==o.getElementById(s)){const t=o.createElement("style");t.innerHTML=i||"",t.id=s;const e=n.ZP.nn(n.JY.bo);null!=e&&t.setAttribute("nonce",e),r.appendChild(t)}}},6959:(t,e,i)=>{"use strict";i.d(e,{B:()=>s});var n=i(5333),r=i(6524);function s(){(0,n.e)(void 0,"feed","body>.ab-feed{position:fixed;top:0;right:0;bottom:0;width:421px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}body>.ab-feed .ab-feed-body{position:absolute;top:0;left:0;right:0;border:none;border-left:1px solid #d0d0d0;padding-top:70px;min-height:100%}body>.ab-feed .ab-initial-spinner{float:none}body>.ab-feed .ab-no-cards-message{position:absolute;width:100%;margin-left:-20px;top:40%}.ab-feed{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0 1px 7px 1px rgba(66,82,113,.15);-moz-box-shadow:0 1px 7px 1px rgba(66,82,113,.15);box-shadow:0 1px 7px 1px rgba(66,82,113,.15);width:402px;background-color:#eee;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:13px;line-height:130%;letter-spacing:normal;overflow-y:auto;overflow-x:visible;z-index:9011;-webkit-overflow-scrolling:touch}.ab-feed :focus,.ab-feed:focus{outline:0}.ab-feed .ab-feed-body{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #d0d0d0;border-top:none;padding:20px 20px 0 20px}.ab-feed.ab-effect-slide{-webkit-transform:translateX(450px);-moz-transform:translateX(450px);-ms-transform:translateX(450px);transform:translateX(450px);-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-feed.ab-effect-slide.ab-show{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.ab-feed.ab-effect-slide.ab-hide{-webkit-transform:translateX(450px);-moz-transform:translateX(450px);-ms-transform:translateX(450px);transform:translateX(450px)}.ab-feed .ab-card{position:relative;-webkit-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);-moz-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);box-shadow:0 2px 3px 0 rgba(178,178,178,.5);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;width:100%;border:1px solid #d0d0d0;margin-bottom:20px;overflow:hidden;background-color:#fff;-webkit-transition:height .4s ease-in-out,margin .4s ease-in-out;-moz-transition:height .4s ease-in-out,margin .4s ease-in-out;-o-transition:height .4s ease-in-out,margin .4s ease-in-out;transition:height .4s ease-in-out,margin .4s ease-in-out}.ab-feed .ab-card .ab-pinned-indicator{position:absolute;right:0;top:0;margin-right:-1px;width:0;height:0;border-style:solid;border-width:0 24px 24px 0;border-color:transparent #1676d0 transparent transparent}.ab-feed .ab-card .ab-pinned-indicator .fa-star{position:absolute;right:-21px;top:2px;font-size:9px;color:#fff}.ab-feed .ab-card.ab-effect-card.ab-hide{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.ab-feed .ab-card.ab-effect-card.ab-hide.ab-swiped-left{-webkit-transform:translateX(-450px);-moz-transform:translateX(-450px);-ms-transform:translateX(-450px);transform:translateX(-450px)}.ab-feed .ab-card.ab-effect-card.ab-hide.ab-swiped-right{-webkit-transform:translateX(450px);-moz-transform:translateX(450px);-ms-transform:translateX(450px);transform:translateX(450px)}.ab-feed .ab-card.ab-effect-card.ab-hide:not(.ab-swiped-left):not(.ab-swiped-right){opacity:0}.ab-feed .ab-card .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;right:0;top:0;z-index:9021;opacity:0;-webkit-transition:.5s;-moz-transition:.5s;-o-transition:.5s;transition:.5s}.ab-feed .ab-card .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-feed .ab-card .ab-close-button svg.ab-chevron{display:none}.ab-feed .ab-card .ab-close-button:active{background-color:transparent}.ab-feed .ab-card .ab-close-button:focus{background-color:transparent}.ab-feed .ab-card .ab-close-button:hover{background-color:transparent}.ab-feed .ab-card .ab-close-button:hover svg{fill-opacity:.8}.ab-feed .ab-card .ab-close-button:hover{opacity:1}.ab-feed .ab-card .ab-close-button:focus{opacity:1}.ab-feed .ab-card a{float:none;color:inherit;text-decoration:none}.ab-feed .ab-card a:hover{text-decoration:underline}.ab-feed .ab-card .ab-image-area{float:none;display:inline-block;vertical-align:top;line-height:0;overflow:hidden;width:100%;-webkit-box-sizing:initial;-moz-box-sizing:initial;box-sizing:initial}.ab-feed .ab-card .ab-image-area img{float:none;height:auto;width:100%}.ab-feed .ab-card.ab-image-only .ab-card-body{display:none}.ab-feed .ab-card .ab-card-body{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:100%;position:relative}.ab-feed .ab-card .ab-unread-indicator{position:absolute;bottom:0;margin-right:-1px;width:100%;height:5px;background-color:#1676d0}.ab-feed .ab-card .ab-unread-indicator.read{background-color:transparent}.ab-feed .ab-card .ab-title{float:none;letter-spacing:0;margin:0;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;display:block;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;font-size:18px;line-height:130%;padding:20px 25px 0 25px}.ab-feed .ab-card .ab-description{float:none;color:#545454;padding:15px 25px 20px 25px;word-wrap:break-word;white-space:pre-wrap}.ab-feed .ab-card .ab-description.ab-no-title{padding-top:20px}.ab-feed .ab-card .ab-url-area{float:none;color:#1676d0;margin-top:12px;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif}.ab-feed .ab-card.ab-classic-card .ab-card-body{min-height:40px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.ab-feed .ab-card.ab-classic-card.with-image .ab-card-body{min-height:100px;padding-left:72px}.ab-feed .ab-card.ab-classic-card.with-image .ab-image-area{width:60px;height:60px;padding:20px 0 25px 25px;position:absolute}.ab-feed .ab-card.ab-classic-card.with-image .ab-image-area img{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;max-width:100%;max-height:100%;width:auto;height:auto}.ab-feed .ab-card.ab-classic-card.with-image .ab-title{background-color:transparent;font-size:16px}.ab-feed .ab-card.ab-classic-card.with-image .ab-description{padding-top:10px}.ab-feed .ab-card.ab-control-card{height:0;width:0;margin:0;border:0}.ab-feed .ab-feed-buttons-wrapper{float:none;position:relative;background-color:#282828;height:50px;-webkit-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);-moz-box-shadow:0 2px 3px 0 rgba(178,178,178,.5);box-shadow:0 2px 3px 0 rgba(178,178,178,.5);z-index:1}.ab-feed .ab-feed-buttons-wrapper .ab-close-button,.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button{float:none;cursor:pointer;color:#fff;font-size:18px;padding:16px;-webkit-transition:.2s;-moz-transition:.2s;-o-transition:.2s;transition:.2s}.ab-feed .ab-feed-buttons-wrapper .ab-close-button:hover,.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button:hover{font-size:22px}.ab-feed .ab-feed-buttons-wrapper .ab-close-button{float:right}.ab-feed .ab-feed-buttons-wrapper .ab-close-button:hover{padding-top:12px;padding-right:14px}.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button{padding-left:17px}.ab-feed .ab-feed-buttons-wrapper .ab-refresh-button:hover{padding-top:13px;padding-left:14px}.ab-feed .ab-no-cards-message{text-align:center;margin-bottom:20px}@media (max-width:600px){body>.ab-feed{width:100%}}"),(0,r.N)()}},6524:(t,e,i)=>{"use strict";i.d(e,{N:()=>r});var n=i(5825);function r(){if(n.ZP.nn(n.JY.Mo))return;const t="https://use.fontawesome.com/7f85a56ba4.css";if(null===document.querySelector('link[rel=stylesheet][href="'+t+'"]')){const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e)}}},3046:(t,e,i)=>{"use strict";i.d(e,{A9:()=>a,OL:()=>c,Tu:()=>u,je:()=>d,yi:()=>l,zA:()=>p});var n=i(335),r=i(8031),s=i(8548),o=i(3905);const a={types:{ro:"container",logCustomEvent:"logCustomEvent",setEmailNotificationSubscriptionType:"setEmailNotificationSubscriptionType",setPushNotificationSubscriptionType:"setPushNotificationSubscriptionType",setCustomUserAttribute:"setCustomUserAttribute",requestPushPermission:"requestPushPermission",addToSubscriptionGroup:"addToSubscriptionGroup",removeFromSubscriptionGroup:"removeFromSubscriptionGroup",addToCustomAttributeArray:"addToCustomAttributeArray",removeFromCustomAttributeArray:"removeFromCustomAttributeArray",no:"openLink",ao:"openLinkInWebView"},properties:{type:"type",oo:"steps",eo:"args"}},l={Qi:"unknownBrazeAction",Wi:"noPushPrompt"},u=(t,e)=>{switch(t){case l.Qi:return`${e} contains an unknown braze action type and will not be displayed.`;case l.Wi:return`${e} contains a push prompt braze action, but is not eligible for a push prompt. Ignoring.`;default:return""}};function c(t){try{const e=t.match(o.y9),i=e?e[0].length:null,r=i?t.substring(i):null;if(null==i||i>t.length-1||!r)return void n.Z.error(`Did not find base64 encoded brazeAction in url to process : ${t}`);const a=(0,s.T)(r);return a?JSON.parse(a):void n.Z.error(`Failed to decode base64 encoded brazeAction: ${r}`)}catch(e){return void n.Z.error(`Failed to process brazeAction URL ${t} : ${(0,r.e)(e)}`)}}function h(t,e){let i=!1;if(e)for(const n of e)if(i=i||t(n),i)return!0;return!1}function d(t){const e=a.properties.type,i=a.properties.oo;try{if(null==t)return!0;const n=t[e];return n===a.types.ro?h(d,t[i]):!(0,o.OM)(n)}catch(t){return!0}}function p(t){if(!t||!(0,o.zR)(t))return!1;const e=a.properties.type,i=a.properties.oo,n=t[e];return n===a.types.ro?h(p,t[i]):n===a.types.requestPushPermission}},3695:(t,e,i)=>{"use strict";i.d(e,{Z:()=>u});var n=i(2893);class r{constructor(){}ef(){}rf(){}Ta(t){}static sf(t,e){if(t&&e)if(t=t.toLowerCase(),(0,n.kJ)(e.ff)){for(let i=0;i<e.ff.length;i++)if(-1!==t.indexOf(e.ff[i].toLowerCase()))return e.identity}else if(-1!==t.indexOf(e.ff.toLowerCase()))return e.identity}}var s=i(5806);class o extends r{constructor(){if(super(),this.userAgentData=navigator.userAgentData,this.browser=null,this.version=null,this.userAgentData){const t=this.hc();this.browser=t.browser||"Unknown Browser",this.version=t.version||"Unknown Version"}this.OS=null}ef(){return this.browser}rf(){return this.version}Ta(t){if(this.OS)return Promise.resolve(this.OS);const e=e=>{for(let i=0;i<t.length;i++){const n=o.sf(e,t[i]);if(n)return this.OS=n,this.OS}return e};return this.userAgentData.platform?Promise.resolve(e(this.userAgentData.platform)):this.getHighEntropyValues().then(t=>t.platform?e(t.platform):navigator.platform).catch(()=>navigator.platform)}hc(){const t={},e=this.userAgentData.brands;if(e&&e.length)for(const i of e){const e=this.uc(s.s),n=i.brand.match(e);if(n&&n.length>0){t.browser=n[0],t.version=i.version;break}}return t}uc(t){const e=[];for(const i in t){const n=i;e.push(t[n])}return new RegExp("("+e.join("|")+")","i")}getHighEntropyValues(){return this.userAgentData.getHighEntropyValues?this.userAgentData.getHighEntropyValues(["platform"]):Promise.reject()}}class a extends r{constructor(){super(),this.fd=a.hc(navigator.userAgent||"")}ef(){return this.fd[0]||"Unknown Browser"}rf(){return this.fd[1]||"Unknown Version"}Ta(t){for(let e=0;e<t.length;e++){const i=t[e].string;let n=a.sf(i,t[e]);if(n)return n===s.T.Pg&&navigator.maxTouchPoints>1&&(n=s.T.io),Promise.resolve(n)}return Promise.resolve(navigator.platform)}static hc(t){let e,i=t.match(/(samsungbrowser|tizen|roku|konqueror|icab|crios|opera|ucbrowser|chrome|safari|firefox|camino|msie|trident(?=\/))\/?\s*(\.?\d+(\.\d+)*)/i)||[];if(-1!==t.indexOf("(Web0S; Linux/SmartTV)"))return["LG Smart TV",null];if(-1!==t.indexOf("CrKey"))return["Chromecast",null];if(-1!==t.indexOf("BRAVIA")||-1!==t.indexOf("SonyCEBrowser")||-1!==t.indexOf("SonyDTV"))return["Sony Smart TV",null];if(-1!==t.indexOf("PhilipsTV"))return["Philips Smart TV",null];if(t.match(/\b(Roku)\b/))return["Roku",null];if(t.match(/\bAFTM\b/))return["Amazon Fire Stick",null];if(i[1]===s.s.rO&&(e=t.match(/\b(OPR|Edge|EdgA|Edg|UCBrowser)\/(\.?\d+(\.\d+)*)/),null!=e))return e=e.slice(1),e[0]=e[0].replace("OPR",s.s.oO),e[0]=e[0].replace("EdgA",s.s.eO),"Edg"===e[0]&&(e[0]=s.s.eO),[e[0],e[1]];if(i[1]===s.s.Bg&&(e=t.match(/\b(EdgiOS)\/(\.?\d+(\.\d+)*)/),null!=e))return e=e.slice(1),e[0]=e[0].replace("EdgiOS",s.s.eO),[e[0],e[1]];if(i=i[2]?[i[1],i[2]]:[null,null],i[0]===s.s.Bg&&null!=(e=t.match(/version\/(\.?\d+(\.\d+)*)/i))&&i.splice(1,1,e[1]),null!=(e=t.match(/\b(UCBrowser)\/(\.?\d+(\.\d+)*)/))&&i.splice(1,1,e[2]),i[0]===s.s.oO&&null!=(e=t.match(/mini\/(\.?\d+(\.\d+)*)/i)))return["Opera Mini",e[1]||""];if(i[0]){const t=i[0].toLowerCase();"crios"===t&&(i[0]=s.s.rO),"tizen"===t&&(i[0]="Samsung Smart TV",i[1]=null),"samsungbrowser"===t&&(i[0]="Samsung Browser")}return i}}class l{constructor(){const t=navigator.userAgentData?o:a;this.Sg=new t,this.userAgent=navigator.userAgent,this.browser=this.Sg.ef(),this.version=this.Sg.rf(),this.OS=null,this.Ta().then(t=>this.OS=t);const e=navigator;this.language=(e.userLanguage||e.language||e.browserLanguage||e.systemLanguage||"").toLowerCase(),this.Zo=l.vg(this.userAgent)}IE(){return this.browser===s.s.Bg}Oa(){return this.OS||null}Ta(){return this.OS?Promise.resolve(this.OS):this.Sg.Ta(l.kg).then(t=>(this.OS=t,t))}static vg(t){t=t.toLowerCase();const e=["googlebot","bingbot","slurp","duckduckbot","baiduspider","yandex","facebookexternalhit","sogou","ia_archiver","https://github.com/prerender/prerender","aolbuild","bingpreview","msnbot","adsbot","mediapartners-google","teoma","taiko"];for(let i=0;i<e.length;i++)if(-1!==t.indexOf(e[i]))return!0;return!1}}l.kg=[{string:navigator.platform,ff:"Win",identity:s.T.Og},{string:navigator.platform,ff:"Mac",identity:s.T.Pg},{string:navigator.platform,ff:"BlackBerry",identity:"BlackBerry"},{string:navigator.platform,ff:"FreeBSD",identity:"FreeBSD"},{string:navigator.platform,ff:"OpenBSD",identity:"OpenBSD"},{string:navigator.platform,ff:"Nintendo",identity:"Nintendo"},{string:navigator.platform,ff:"SunOS",identity:"SunOS"},{string:navigator.platform,ff:"PlayStation",identity:"PlayStation"},{string:navigator.platform,ff:"X11",identity:"X11"},{string:navigator.userAgent,ff:["iPhone","iPad","iPod"],identity:s.T.io},{string:navigator.platform,ff:"Pike v",identity:s.T.io},{string:navigator.userAgent,ff:["Web0S"],identity:"WebOS"},{string:navigator.platform,ff:["Linux armv7l","Android"],identity:s.T.xg},{string:navigator.userAgent,ff:["Android"],identity:s.T.xg},{string:navigator.platform,ff:"Linux",identity:"Linux"}];const u=new l},2893:(t,e,i)=>{"use strict";i.d(e,{J_:()=>a,Kn:()=>l,VO:()=>r,XP:()=>c,Xy:()=>h,fk:()=>s,jV:()=>u,kJ:()=>o});var n=i(335);function r(t){const e=[];let i;for(const n in t)i=n,Object.prototype.hasOwnProperty.call(t,i)&&void 0!==t[i]&&e.push(t[i]);return e}function s(t,e,i,s){const o=r(t);return-1!==o.indexOf(e)||(n.Z.error(`${i} Valid values from ${s} are "${o.join('"/"')}".`),!1)}function o(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}function a(t){return"[object Date]"===Object.prototype.toString.call(t)}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function u(t,...e){null==t&&(t=[]);const i=[],n=arguments.length;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(-1!==i.indexOf(r))continue;let s=1;for(s=1;s<n&&-1!==arguments[s].indexOf(r);s++);s===n&&i.push(r)}return i}function c(t){const e=[];for(const i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e}function h(t,e){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;const i=t.toString();if(i!==e.toString())return!1;switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}const n="[object Array]"===i;if(!n){if("object"!=typeof t||"object"!=typeof e)return!1;const i=t.constructor,n=e.constructor;if(i!==n&&!("function"==typeof i&&i instanceof i&&"function"==typeof n&&n instanceof n)&&"constructor"in t&&"constructor"in e)return!1}const r=[],s=[];let o=r.length;for(;o--;)if(r[o]===t)return s[o]===e;if(r.push(t),s.push(e),n){if(o=t.length,o!==e.length)return!1;for(;o--;)if(!h(t[o],e[o]))return!1}else{const i=c(t);let n;if(o=i.length,c(e).length!==o)return!1;for(;o--;)if(n=i[o],!Object.prototype.hasOwnProperty.call(e,n)||!h(t[n],e[n]))return!1}return r.pop(),s.pop(),!0}},5242:(t,e,i)=>{"use strict";i.d(e,{B:()=>s});var n=i(1507),r=i(7429);function s(t,e,i){const s=document.createElement("button");s.setAttribute("aria-label",t),s.setAttribute("tabindex","0"),s.setAttribute("role","button"),(0,n.lj)(s,"touchstart"),s.className="ab-close-button";const o=(0,n.MK)("0 0 15 15","M15 1.5L13.5 0l-6 6-6-6L0 1.5l6 6-6 6L1.5 15l6-6 6 6 1.5-1.5-6-6 6-6z",e);return s.appendChild(o),s.addEventListener("keydown",t=>{t.keyCode!==r.m.Fo&&t.keyCode!==r.m.To||(i(),t.stopPropagation())}),s.onclick=t=>{i(),t.stopPropagation()},s}},7750:(t,e,i)=>{"use strict";i.d(e,{$N:()=>c,BT:()=>a,FX:()=>r,Pn:()=>s,Rd:()=>l,X2:()=>o,_0:()=>u,yo:()=>h});var n=i(2893);function r(t,e=!1){let i=t/1e3;return e&&(i=Math.floor(i)),i}function s(t){return 1e3*t}function o(t){if(null==t)return null;const e=parseInt(t.toString());return isNaN(e)?null:new Date(1e3*e)}function a(t){return null!=t&&(0,n.J_)(t)?t.toISOString().replace(/\.[0-9]{3}Z$/,""):t}function l(t){return null==t||""===t?null:new Date(t)}function u(t){return null==t||""===t?(new Date).valueOf():t}function c(t){return((new Date).valueOf()-t.valueOf())/1e3}function h(t){return(t.valueOf()-(new Date).valueOf())/1e3}},5806:(t,e,i)=>{"use strict";i.d(e,{T:()=>r,s:()=>n});const n={rO:"Chrome",eO:"Edge",oO:"Opera",Bg:"Safari",OO:"Firefox"},r={xg:"Android",io:"iOS",Pg:"Mac",Og:"Windows"}},1507:(t,e,i)=>{"use strict";i.d(e,{$j:()=>h,FZ:()=>d,Fr:()=>c,MK:()=>p,QZ:()=>a,lP:()=>s,lj:()=>l,mQ:()=>o,rJ:()=>u});var n=i(335),r=i(8031);const s={dc:null,po:function(t,e=!1,i=!1,n=!1){if(null==t)return!1;e=e||!1,i=i||!1;const r=t.getBoundingClientRect();return null!=r&&(r.top>=0&&r.top<=(window.innerHeight||document.documentElement.clientHeight)||!e)&&(r.left>=0||!n)&&(r.bottom>=0&&r.bottom<=(window.innerHeight||document.documentElement.clientHeight)||!i)&&(r.right<=(window.innerWidth||document.documentElement.clientWidth)||!n)}},o={Re:"up",Se:"down",U:"left",V:"right"};function a(){if(null==s.dc){s.dc=!1;try{const t=Object.defineProperty({},"passive",{get:()=>{s.dc=!0}});window.addEventListener("testPassive",()=>{},t),window.removeEventListener("testPassive",()=>{},t)}catch(t){n.Z.error((0,r.e)(t))}}return s.dc}function l(t,e,i=()=>{}){t.addEventListener(e,i,!!a()&&{passive:!0})}function u(t){return s.po(t,!0,!1,!1)}function c(t){return s.po(t,!1,!0,!1)}function h(t){if(t.onclick){const e=document.createEvent("MouseEvents");e.initEvent("click",!0,!0),t.onclick.apply(t,[e])}}function d(t,e,i){let n=null,r=null;l(t,"touchstart",t=>{n=t.touches[0].clientX,r=t.touches[0].clientY}),l(t,"touchmove",s=>{if(null==n||null==r)return;const a=n-s.touches[0].clientX,l=r-s.touches[0].clientY;Math.abs(a)>Math.abs(l)&&Math.abs(a)>=25?((a>0&&e===o.U||a<0&&e===o.V)&&i(s),n=null,r=null):Math.abs(l)>=25&&((l>0&&e===o.Re&&t.scrollTop===t.scrollHeight-t.offsetHeight||l<0&&e===o.Se&&0===t.scrollTop)&&i(s),n=null,r=null)})}function p(t,e,i){const n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg");r.setAttribute("viewBox",t),r.setAttribute("xmlns",n);const s=document.createElementNS(n,"path");return s.setAttribute("d",e),null!=i&&s.setAttribute("fill",i),r.appendChild(s),r}},8031:(t,e,i)=>{"use strict";i.d(e,{e:()=>n});const n=t=>t instanceof Error?t.message:String(t)},7429:(t,e,i)=>{"use strict";i.d(e,{m:()=>n});const n={Fo:32,lo:9,To:13,mh:27}},6504:(t,e,i)=>{"use strict";i.d(e,{R:()=>n});const n=(t,e)=>(t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t)},1843:(t,e,i)=>{"use strict";i.d(e,{D:()=>o,Z:()=>a});var n=i(335),r=i(3826),s=i(8031);const o=t=>{const e={},i=t.toString().split("\r\n");if(!i)return e;let n,r;for(const t of i)t&&(n=t.slice(0,t.indexOf(":")).toLowerCase().trim(),r=t.slice(t.indexOf(":")+1).trim(),e[n]=r);return e},a={Gs:t=>{let e,i;try{const s=()=>{n.Z.error("This browser does not have any supported ajax options!")};let o=!1;if(window.XMLHttpRequest&&(o=!0),!o)return void s();e=new XMLHttpRequest;const a=()=>{"function"==typeof t.error&&t.error(e.status),"function"==typeof t.Ws&&t.Ws(!1)};e.onload=()=>{let i=!1;if(4===e.readyState)if(i=e.status>=200&&e.status<300||304===e.status,i){if("function"==typeof t.L){let n,s;try{n=JSON.parse(e.responseText),s=e.getAllResponseHeaders()}catch(i){const n={error:""===e.responseText?r.Z.Zh:r.Z.Ra,response:e.responseText};(0,t.L)(n,s)}n&&t.L(n,s)}"function"==typeof t.Ws&&t.Ws(!0)}else a()},e.onerror=()=>{a()},e.ontimeout=()=>{a()},i=JSON.stringify(t.data),e.open("POST",t.url,!0),e.setRequestHeader("Content-type","application/json"),e.setRequestHeader("X-Requested-With","XMLHttpRequest");const l=t.headers||[];for(const t of l)e.setRequestHeader(t[0],t[1]);e.send(i)}catch(t){n.Z.error(`Network request error: ${(0,s.e)(t)}`)}}}},6870:(t,e,i)=>{"use strict";i.d(e,{Z:()=>o});var n=i(7671),r=i(5966);const s={Ps:{$a:"data",Bs:"content_cards/sync",bi:"feature_flags/sync",Mr:"template"},qu:t=>null==t?void 0:t.j(r.I.C.lE),sm:t=>null==t?void 0:t.j(r.I.C.SE),nm:(t,e)=>{null==t||t.k(r.I.C.lE,e)},um:(t,e)=>{null==t||t.k(r.I.C.SE,e)},Pa:(t,e)=>{if(!t||!e)return-1;const i=s.qu(t);if(null==i)return-1;const n=i[e];return null==n||isNaN(n)?-1:n},Ua:(t,e)=>{let i=n.S6;if(!t||!e)return i;const r=s.sm(t);return null==r?i:(i=r[e],null==i||isNaN(i)?n.S6:i)},_s:(t,e,i)=>{if(!t||!e)return;let n=s.qu(t);null==n&&(n={}),n[e]=i,s.nm(t,n)},Qs:(t,e,i)=>{if(!t||!e)return;let n=s.sm(t);null==n&&(n={}),n[e]=i,s.um(t,n)},Ys:(t,e)=>{if(!t||!e)return;const i=s.Ua(t,e);s.Qs(t,e,i+1)}},o=s},8548:(t,e,i)=>{"use strict";i.d(e,{E:()=>r,T:()=>s});var n=i(335);function r(t){let e=t.length;for(let i=t.length-1;i>=0;i--){const n=t.charCodeAt(i);n>127&&n<=2047?e++:n>2047&&n<=65535&&(e+=2),n>=56320&&n<=57343&&i--}return e}function s(t){try{t=t.replace(/-/g,"+").replace(/_/g,"/");const e=window.atob(t),i=new Uint8Array(e.length);for(let t=0;t<e.length;t++)i[t]=e.charCodeAt(t);const n=new Uint16Array(i.buffer);return String.fromCharCode(...n)}catch(t){return n.Z.error("Unable to decode Base64: "+t),null}}},1148:(t,e,i)=>{"use strict";function n(t){null==t&&(t="");const e=t.split("?").slice(1).join("?"),i={};if(null!=e){const t=e.split("&");for(let e=0;e<t.length;e++){const n=t[e].split("=");""!==n[0]&&(i[n[0]]=n[1])}}return i}function r(t){return!(!t||0!==(t=t.toString().toLowerCase()).lastIndexOf("javascript:",0)&&0!==t.lastIndexOf("data:",0))}i.d(e,{L:()=>n,o:()=>r})},3905:(t,e,i)=>{"use strict";i.d(e,{$g:()=>x,OM:()=>S,UO:()=>m,bj:()=>f,lg:()=>w,ro:()=>y,vV:()=>Z,y9:()=>p,zM:()=>b,zR:()=>k});var n=i(2893),r=i(8548),s=i(335),o=i(7750),a=i(3046),l=i(7671);const u=/^[^\x00-\x1F\x22]+$/,c=/[$.]/,h=["$add","$update","$remove","$identifier_key","$identifier_value","$new_object","$time","$google_ad_personalization","$google_ad_user_data"],d=new RegExp(/^.+@.+\..+$/),p=/^brazeActions:\/\/v\d+\//;function b(t,e,i){const n=null!=t&&"string"==typeof t&&(""===t||null!=t.match(u));return n||s.Z.error(`Cannot ${e} because ${i} "${t}" is invalid.`),n}function f(t){return null!=t&&t.match(c)&&-1===h.indexOf(t)&&s.Z.warn("Custom attribute keys cannot contain '$' or '.'"),b(t,"set custom user attribute","the given key")}function m(t){const e=typeof t;return null==t||"number"===e||"boolean"===e||(0,n.J_)(t)||"string"===e}function g(t,e,i){const r=-1!==i;if(r&&i>50)return s.Z.error("Nested attributes cannot be more than 50 levels deep."),!1;const a=r?i+1:-1;if((0,n.kJ)(t)&&(0,n.kJ)(e)){for(let i=0;i<t.length&&i<e.length;i++)if((0,n.J_)(t[i])&&(e[i]=(0,o.BT)(t[i])),!g(t[i],e[i],a))return!1}else{if(!(0,n.Kn)(t))return m(t);for(const i of(0,n.XP)(t)){const s=t[i];if(r&&!f(i))return!1;if((0,n.J_)(s)&&(e[i]=(0,o.BT)(s)),!g(s,e[i],a))return!1}}return!0}function v(t,e,i,r,o){let a;return a=(0,n.Kn)(t)||(0,n.kJ)(t)?g(t,e,o?1:-1):m(t),a||s.Z.error(`Cannot ${i} because ${r} "${t}" is invalid.`),a}function y(t,e,i,n=!1){const r="string"==typeof t||null===t&&n;return r||s.Z.error(`Cannot ${e} because ${i} "${t}" is invalid.`),r}function w(t,e,i,a,u){if(null==t&&(t={}),"object"!=typeof t||(0,n.kJ)(t))return s.Z.error(`${e} requires that ${i} be an object. Ignoring ${u}.`),[!1,null];let c,h;e===l.db?(c=76800,h="75KB"):(c=51200,h="50KB");const d=JSON.stringify(t);if((0,r.E)(d)>c)return s.Z.error(`Could not ${a} because ${i} was greater than the max size of ${h}.`),[!1,null];let p;try{p=JSON.parse(d)}catch(t){return s.Z.error(`Could not ${a} because ${i} did not contain valid JSON.`),[!1,null]}for(const i in t){if(e===l.db&&!f(i))return[!1,null];if(!b(i,a,`the ${u} property name`))return[!1,null];const r=t[i];if(e===l.db||null!=r){if((0,n.J_)(r)&&(p[i]=(0,o.BT)(r)),!v(r,p[i],a,`the ${u} property "${i}"`,e===l.db))return[!1,null]}else delete t[i],delete p[i]}return[!0,p]}function x(t,e){let i=!1,r=!1;const o=()=>{s.Z.error("Custom attribute arrays must be either string arrays or object arrays.")};for(const s of e)if("string"==typeof s){if(r)return o(),[!1,!1];if(!b(s,`set custom user attribute "${t}"`,"the element in the given array"))return[!1,!1];i=!0}else{if(!(0,n.Kn)(s))return o(),[!1,!1];if(i)return o(),[!1,!1];if(!w(s,l.db,"attribute value",`set custom user attribute "${t}"`,"custom user attribute"))return[!1,!1];r=!0}return[i,r]}function Z(t){return"string"==typeof t&&null!=t.toLowerCase().match(d)}function k(t){if(!(a.A9.properties.type in t))return!1;switch(t[a.A9.properties.type]){case a.A9.types.ro:if(a.A9.properties.oo in t)return!0;break;case a.A9.types.logCustomEvent:case a.A9.types.setEmailNotificationSubscriptionType:case a.A9.types.setPushNotificationSubscriptionType:case a.A9.types.setCustomUserAttribute:case a.A9.types.addToSubscriptionGroup:case a.A9.types.removeFromSubscriptionGroup:case a.A9.types.addToCustomAttributeArray:case a.A9.types.removeFromCustomAttributeArray:case a.A9.types.no:case a.A9.types.ao:if(a.A9.properties.eo in t)return!0;break;case a.A9.types.requestPushPermission:return!0;default:return!1}return!1}function S(t){let e=!1;return Object.keys(a.A9.types).forEach(i=>{a.A9.types[i]!==t.toString()||(e=!0)}),e}},5319:(t,e,i)=>{"use strict";i.d(e,{SD:()=>r,eh:()=>n});const n={PORTRAIT:0,LANDSCAPE:1},r={openUri:function(t,e,i){t&&(e||null!=i&&i.metaKey?window.open(t):window.location=t)},fo:function(){return screen.width<=600},co:function(){if("orientation"in window)return 90===Math.abs(window.orientation)||270===window.orientation?n.LANDSCAPE:n.PORTRAIT;const t=window;if("screen"in t){let e=t.screen.orientation||screen.mozOrientation||screen.msOrientation;return null!=e&&"object"==typeof e&&(e=e.type),"landscape-primary"===e||"landscape-secondary"===e?n.LANDSCAPE:n.PORTRAIT}return n.PORTRAIT},Un:function(){return window.location.href}}}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var s=n[t]={exports:{}};return i[t](s,s.exports,r),s.exports}r.m=i,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.f={},r.e=t=>Promise.all(Object.keys(r.f).reduce((e,i)=>(r.f[i](t,e),e),[])),r.u=t=>t+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="@clickview/braze-client:",r.l=(i,n,s,o)=>{if(t[i])t[i].push(n);else{var a,l;if(void 0!==s)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var h=u[c];if(h.getAttribute("src")==i||h.getAttribute("data-webpack")==e+s){a=h;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,r.nc&&a.setAttribute("nonce",r.nc),a.setAttribute("data-webpack",e+s),a.src=i),t[i]=[n];var d=(e,n)=>{a.onerror=a.onload=null,clearTimeout(p);var r=t[i];if(delete t[i],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach(t=>t(n)),e)return e(n)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=d.bind(null,a.onerror),a.onload=d.bind(null,a.onload),l&&document.head.appendChild(a)}},r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var i=e.getElementsByTagName("script");i.length&&(t=i[i.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t})(),(()=>{var t={143:0};r.f.j=(e,i)=>{var n=r.o(t,e)?t[e]:void 0;if(0!==n)if(n)i.push(n[2]);else{var s=new Promise((i,r)=>n=t[e]=[i,r]);i.push(n[2]=s);var o=r.p+r.u(e),a=new Error;r.l(o,i=>{if(r.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var s=i&&("load"===i.type?"missing":i.type),o=i&&i.target&&i.target.src;a.message="Loading chunk "+e+" failed.\n("+s+": "+o+")",a.name="ChunkLoadError",a.type=s,a.request=o,n[1](a)}},"chunk-"+e,e)}};var e=(e,i)=>{var n,s,[o,a,l]=i,u=0;if(o.some(e=>0!==t[e])){for(n in a)r.o(a,n)&&(r.m[n]=a[n]);l&&l(r)}for(e&&e(i);u<o.length;u++)s=o[u],r.o(t,s)&&t[s]&&t[s][0](),t[s]=0},i=self.webpackChunk_clickview_braze_client=self.webpackChunk_clickview_braze_client||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var s={};return(()=>{"use strict";r.r(s),r.d(s,{BrazeClient:()=>Ae,ClassHookMarketingFormEvent:()=>ee,CountryCode:()=>Yt,CustomUserAttributes:()=>se,DefaultUserAttributes:()=>re,EventUserAttributes:()=>oe,MarketingFormEvent:()=>Wt,MarketingUserEvent:()=>Vt,PageEvent:()=>Ht,ProductEvent:()=>ie,ProductFormEvent:()=>Kt,StreamableFormEvent:()=>Qt,StreamableMarketingFormEvent:()=>te,getInstance:()=>_e});var t=r(5825),e=r(1087),i=r(5333),n=r(6524);function o(){(0,i.e)(void 0,"iam",".ab-pause-scrolling,body.ab-pause-scrolling,html.ab-pause-scrolling{overflow:hidden;touch-action:none}.ab-iam-root.v3{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:9011;-webkit-tap-highlight-color:transparent}.ab-iam-root.v3:focus{outline:0}.ab-iam-root.v3.ab-effect-fullscreen,.ab-iam-root.v3.ab-effect-html,.ab-iam-root.v3.ab-effect-modal{opacity:0}.ab-iam-root.v3.ab-effect-fullscreen.ab-show,.ab-iam-root.v3.ab-effect-html.ab-show,.ab-iam-root.v3.ab-effect-modal.ab-show{opacity:1}.ab-iam-root.v3.ab-effect-fullscreen.ab-show.ab-animate-in,.ab-iam-root.v3.ab-effect-html.ab-show.ab-animate-in,.ab-iam-root.v3.ab-effect-modal.ab-show.ab-animate-in{-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ab-iam-root.v3.ab-effect-fullscreen.ab-hide,.ab-iam-root.v3.ab-effect-html.ab-hide,.ab-iam-root.v3.ab-effect-modal.ab-hide{opacity:0}.ab-iam-root.v3.ab-effect-fullscreen.ab-hide.ab-animate-out,.ab-iam-root.v3.ab-effect-html.ab-hide.ab-animate-out,.ab-iam-root.v3.ab-effect-modal.ab-hide.ab-animate-out{-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.ab-iam-root.v3.ab-effect-slide .ab-in-app-message{-webkit-transform:translateX(535px);-moz-transform:translateX(535px);-ms-transform:translateX(535px);transform:translateX(535px)}.ab-iam-root.v3.ab-effect-slide.ab-show .ab-in-app-message{-webkit-transform:translateX(0);-moz-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.ab-iam-root.v3.ab-effect-slide.ab-show.ab-animate-in .ab-in-app-message{-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message{-webkit-transform:translateX(535px);-moz-transform:translateX(535px);-ms-transform:translateX(535px);transform:translateX(535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-left{-webkit-transform:translateX(-535px);-moz-transform:translateX(-535px);-ms-transform:translateX(-535px);transform:translateX(-535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-up{-webkit-transform:translateY(-535px);-moz-transform:translateY(-535px);-ms-transform:translateY(-535px);transform:translateY(-535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide .ab-in-app-message.ab-swiped-down{-webkit-transform:translateY(535px);-moz-transform:translateY(535px);-ms-transform:translateY(535px);transform:translateY(535px)}.ab-iam-root.v3.ab-effect-slide.ab-hide.ab-animate-out .ab-in-app-message{-webkit-transition:transform .5s ease-in-out;-moz-transition:transform .5s ease-in-out;-o-transition:transform .5s ease-in-out;transition:transform .5s ease-in-out}.ab-iam-root.v3 .ab-ios-scroll-wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;pointer-events:all;touch-action:auto;-webkit-overflow-scrolling:touch}.ab-iam-root.v3 .ab-in-app-message{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:fixed;text-align:center;-webkit-box-shadow:0 0 4px rgba(0,0,0,.3);-moz-box-shadow:0 0 4px rgba(0,0,0,.3);box-shadow:0 0 4px rgba(0,0,0,.3);line-height:normal;letter-spacing:normal;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;z-index:9011;max-width:100%;overflow:hidden;display:inline-block;pointer-events:all;color:#333;color-scheme:normal}.ab-iam-root.v3 .ab-in-app-message.ab-no-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.ab-iam-root.v3 .ab-in-app-message :focus,.ab-iam-root.v3 .ab-in-app-message:focus{outline:0}.ab-iam-root.v3 .ab-in-app-message.ab-clickable{cursor:pointer}.ab-iam-root.v3 .ab-in-app-message.ab-background{background-color:#fff}.ab-iam-root.v3 .ab-in-app-message .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;right:0;top:0;z-index:9021}.ab-iam-root.v3 .ab-in-app-message .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message .ab-close-button svg.ab-chevron{display:none}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:active{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:focus{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:hover{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-close-button:hover svg{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message .ab-message-text{float:none;line-height:1.5;margin:20px 25px;max-width:100%;overflow:hidden;overflow-y:auto;vertical-align:text-bottom;word-wrap:break-word;white-space:pre-wrap;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.start-aligned{text-align:start}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.end-aligned{text-align:end}.ab-iam-root.v3 .ab-in-app-message .ab-message-text.center-aligned{text-align:center}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar{-webkit-appearance:none;width:14px}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-thumb{-webkit-appearance:none;border:4px solid transparent;background-clip:padding-box;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;background-color:rgba(0,0,0,.2)}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-button{width:0;height:0;display:none}.ab-iam-root.v3 .ab-in-app-message .ab-message-text::-webkit-scrollbar-corner{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-message-header{float:none;letter-spacing:0;margin:0;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;display:block;font-size:20px;margin-bottom:10px;line-height:1.3}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.start-aligned{text-align:start}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.end-aligned{text-align:end}.ab-iam-root.v3 .ab-in-app-message .ab-message-header.center-aligned{text-align:center}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message.ab-modal,.ab-iam-root.v3 .ab-in-app-message.ab-slideup{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;cursor:pointer;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;font-size:14px;font-weight:700;margin:20px;margin-top:calc(constant(safe-area-inset-top,0) + 20px);margin-right:calc(constant(safe-area-inset-right,0) + 20px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 20px);margin-left:calc(constant(safe-area-inset-left,0) + 20px);margin-top:calc(env(safe-area-inset-top,0) + 20px);margin-right:calc(env(safe-area-inset-right,0) + 20px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 20px);margin-left:calc(env(safe-area-inset-left,0) + 20px);max-height:150px;padding:10px;right:0;background-color:#efefef}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone{max-height:66px;margin:10px;margin-top:calc(constant(safe-area-inset-top,0) + 10px);margin-right:calc(constant(safe-area-inset-right,0) + 10px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 10px);margin-left:calc(constant(safe-area-inset-left,0) + 10px);margin-top:calc(env(safe-area-inset-top,0) + 10px);margin-right:calc(env(safe-area-inset-right,0) + 10px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 10px);margin-left:calc(env(safe-area-inset-left,0) + 10px);max-width:90%;max-width:calc(100% - 40px);min-width:90%;min-width:calc(100% - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-close-button{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-close-button svg:not(.ab-chevron){display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button{display:block;height:20px;padding:0 20px 0 18px;pointer-events:none;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:12px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-close-button svg.ab-chevron{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone.ab-clickable .ab-message-text{border-right-width:40px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text{max-width:100%;border-right-width:10px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text span{max-height:66px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-message-text.ab-with-image{max-width:80%;max-width:calc(100% - 50px - 5px - 10px - 25px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-image-area{width:50px;height:50px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.simulate-phone .ab-image-area img{max-width:100%;max-height:100%;width:auto;height:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:active .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:focus .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:hover .ab-message-text{opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:active .ab-close-button svg.ab-chevron,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:focus .ab-close-button svg.ab-chevron,.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable:hover .ab-close-button svg.ab-chevron{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:table-cell;border-color:transparent;border-style:solid;border-width:5px 25px 5px 10px;max-width:430px;vertical-align:middle;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text span{display:block;max-height:150px;overflow:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-image{max-width:365px;border-top:0;border-bottom:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:transparent;background-size:15px;border:none;width:15px;min-width:15px;height:15px;cursor:pointer;display:block;font-size:15px;line-height:0;padding-top:15px;padding-right:15px;padding-left:15px;padding-bottom:15px;position:absolute;right:0;top:0;z-index:9021}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;fill:#9b9b9b;height:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg.ab-chevron{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:active{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:focus{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:hover{background-color:transparent}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button:hover svg{fill-opacity:.8}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area{float:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:table-cell;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;vertical-align:top;width:60px;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area.ab-icon-area{width:auto}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area img{float:none;width:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message.ab-modal{font-size:14px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area{float:none;position:relative;display:block;overflow:hidden}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area .ab-center-cropped-img,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area .ab-center-cropped-img{background-size:cover;background-repeat:no-repeat;background-position:50% 50%;position:absolute;top:0;right:0;bottom:0;left:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-icon,.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-icon{margin-top:20px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic{padding:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-message-text,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-message-text{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-message-buttons,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-message-buttons{bottom:0;left:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area{float:none;height:auto;margin:0}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area img,.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area img{display:block;top:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none}.ab-iam-root.v3 .ab-in-app-message.ab-modal{padding-top:20px;width:450px;max-width:450px;max-height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-modal.simulate-phone{max-width:91%;max-width:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal.simulate-phone.graphic .ab-image-area img{max-width:91vw;max-width:calc(100vw - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text{max-height:660px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-image{max-height:524.82758621px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-icon{max-height:610px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons{margin-bottom:93px;max-height:587px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons.ab-with-image{max-height:451.82758621px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-message-text.ab-with-buttons.ab-with-icon{max-height:537px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area{margin-top:-20px;max-height:155.17241379px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area img{max-width:100%;max-height:155.17241379px}.ab-iam-root.v3 .ab-in-app-message.ab-modal .ab-image-area.ab-icon-area{height:auto}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic{width:auto;overflow:hidden}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-modal.graphic .ab-image-area img{width:auto;max-height:720px;max-width:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen{width:450px;max-height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape{width:720px;max-height:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape .ab-image-area{height:225px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape.graphic .ab-image-area{height:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape .ab-message-text{max-height:112px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-message-text{max-height:247px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-message-text.ab-with-buttons{margin-bottom:93px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area{height:360px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.graphic .ab-image-area{height:720px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone{-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone:not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone:not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.simulate-phone.graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-html-message{background-color:transparent;border:none;height:100%;overflow:auto;position:relative;touch-action:auto;width:100%}.ab-iam-root.v3 .ab-in-app-message .ab-message-buttons{position:absolute;bottom:0;width:100%;padding:17px 25px 30px 25px;z-index:inherit;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ab-iam-root.v3 .ab-in-app-message .ab-message-button{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;cursor:pointer;display:inline-block;font-size:14px;font-weight:700;font-family:'Helvetica Neue Light','Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;height:44px;line-height:normal;letter-spacing:normal;margin:0;max-width:100%;min-width:80px;padding:0 12px;position:relative;text-transform:none;width:48%;width:calc(50% - 5px);border:1px solid #1b78cf;-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease;overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;word-wrap:normal;white-space:nowrap}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:first-of-type{float:left;background-color:#fff;color:#1b78cf}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:last-of-type{float:right;background-color:#1b78cf;color:#fff}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:first-of-type:last-of-type{float:none;width:auto}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:after{-webkit-transition:.2s ease;-moz-transition:.2s ease;-o-transition:.2s ease;transition:.2s ease}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:hover{opacity:.8}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:active:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.08)}.ab-iam-root.v3 .ab-in-app-message .ab-message-button:focus:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.15)}.ab-iam-root.v3 .ab-in-app-message .ab-message-button a{color:inherit;text-decoration:inherit}.ab-iam-root.v3 .ab-in-app-message img{float:none;display:inline-block}.ab-iam-root.v3 .ab-in-app-message .ab-icon{float:none;display:inline-block;padding:10px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}.ab-iam-root.v3 .ab-in-app-message .ab-icon .fa{float:none;font-size:30px;width:30px}.ab-iam-root.v3 .ab-start-hidden{visibility:hidden}.ab-iam-root.v3 .ab-centered{margin:auto;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ab-iam-root.v3{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ab-iam-root.v3 .ab-page-blocker{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9001;pointer-events:all;background-color:rgba(51,51,51,.75)}@media (max-width:600px){.ab-iam-root.v3 .ab-in-app-message.ab-slideup{max-height:66px;margin:10px;margin-top:calc(constant(safe-area-inset-top,0) + 10px);margin-right:calc(constant(safe-area-inset-right,0) + 10px);margin-bottom:calc(constant(safe-area-inset-bottom,0) + 10px);margin-left:calc(constant(safe-area-inset-left,0) + 10px);margin-top:calc(env(safe-area-inset-top,0) + 10px);margin-right:calc(env(safe-area-inset-right,0) + 10px);margin-bottom:calc(env(safe-area-inset-bottom,0) + 10px);margin-left:calc(env(safe-area-inset-left,0) + 10px);max-width:90%;max-width:calc(100% - 40px);min-width:90%;min-width:calc(100% - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button{display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-close-button svg:not(.ab-chevron){display:none}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button{display:block;height:20px;padding:0 20px 0 18px;pointer-events:none;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:12px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-close-button svg.ab-chevron{display:inline}.ab-iam-root.v3 .ab-in-app-message.ab-slideup.ab-clickable .ab-message-text{border-right-width:40px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text{max-width:100%;border-right-width:10px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text span{max-height:66px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-icon,.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-message-text.ab-with-image{max-width:80%;max-width:calc(100% - 50px - 5px - 10px - 25px)}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area{width:50px;height:50px}.ab-iam-root.v3 .ab-in-app-message.ab-slideup .ab-image-area img{max-width:100%;max-height:100%;width:auto;height:auto}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape{-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-close-button,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-message-text,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen .ab-message-text.ab-with-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape .ab-message-text.ab-with-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape:not(.graphic),.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen:not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape:not(.graphic) .ab-message-buttons,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen:not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic{display:block}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic .ab-image-area,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.graphic .ab-message-button,.ab-iam-root.v3 .ab-in-app-message:not(.force-desktop).ab-fullscreen.landscape.graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:480px){.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop){max-width:91%;max-width:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop).graphic .ab-image-area img{max-width:91vw;max-width:calc(100vw - 30px)}}@media (max-height:750px){.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop){max-height:91%;max-height:calc(100% - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop).graphic .ab-image-area img{max-height:91vh;max-height:calc(100vh - 30px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text{max-height:65vh;max-height:calc(100vh - 30px - 60px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-image{max-height:45vh;max-height:calc(100vh - 30px - 155.17241379310346px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-icon{max-height:45vh;max-height:calc(100vh - 30px - 70px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons{max-height:50vh;max-height:calc(100vh - 30px - 93px - 40px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons.ab-with-image{max-height:30vh;max-height:calc(100vh - 30px - 155.17241379310346px - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-modal:not(.force-desktop) .ab-message-text.ab-with-buttons.ab-with-icon{max-height:30vh;max-height:calc(100vh - 30px - 70px - 93px - 20px)}}@media (min-width:601px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen .ab-image-area img{max-height:100%;max-width:100%}}@media (max-height:750px) and (min-width:601px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important;width:450px}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen:not(.landscape):not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-height:480px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}@media (max-width:750px){.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop){-webkit-transition:top none;-moz-transition:top none;-o-transition:top none;transition:top none;top:0;right:0;bottom:0;left:0;height:100%;width:100%;max-height:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;transform:none;height:auto!important}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-close-button{margin-right:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-right:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0));margin-left:calc(constant(safe-area-inset-bottom,0) + constant(safe-area-inset-top,0));margin-left:calc(env(safe-area-inset-bottom,0) + env(safe-area-inset-top,0))}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-image-area,.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-image-area{height:50%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text{max-height:48%;max-height:calc(50% - 20px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop) .ab-message-text.ab-with-buttons{margin-bottom:20px;max-height:30%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).landscape .ab-message-text.ab-with-buttons{max-height:20%;max-height:calc(50% - 93px - 20px)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic){padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom,0);padding-bottom:env(safe-area-inset-bottom,0)}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop):not(.graphic) .ab-message-buttons{padding-top:0;position:relative}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic{display:block}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-image-area{height:100%}.ab-iam-root.v3 .ab-in-app-message.ab-fullscreen.landscape:not(.force-desktop).graphic .ab-message-button{margin-bottom:0;margin-bottom:constant(safe-area-inset-bottom,0);margin-bottom:env(safe-area-inset-bottom,0)}}"),(0,n.N)()}var a=r(8376),l=r(1090),u=r(1792),c=r(6616),h=r(4410),d=r(3811),p=r(1507),b=r(5242);function f(t,e){return null==t?"":(t=parseInt(t.toString()),isNaN(t)?"":(e&&!isNaN(parseFloat(e.toString()))||(e=1),"rgba("+[(16711680&(t>>>=0))>>>16,(65280&t)>>>8,255&t,((4278190080&t)>>>24)/255*e].join(",")+")"))}var m=r(7671),g=r(335),v=r(2730);function y(i){if(!t.ZP.X())return!1;if(!(i instanceof u.Z||i instanceof a.Z))return g.Z.error(m.De),!1;const n=i instanceof a.Z?v.G.mo:v.G.Oi;return e.Z.m().q(i,n).L}var w=r(4365),x=r(9342);function Z(i){if(!t.ZP.X())return!1;if(!(i instanceof u.Z))return g.Z.error(m.De),!1;const n=e.Z.m().q(i,v.G.Ei);if(n){i.Ur()||y(i);for(let t=0;t<n.ge.length;t++)x.n.rr().fe(w.Z.Qr,[i.triggerId],n.ge[t])}return n.L}var k=r(420),S=r(3695);function E(i,n,r){if(!t.ZP.X())return!1;if(!(i instanceof l.Z))return g.Z.error("inAppMessage argument to logInAppMessageHtmlClick must be an HtmlMessage object."),!1;let s=v.G.Ei;null!=n&&(s=v.G.Gi);const o=e.Z.m().q(i,s,n,r);if(o.L)for(let t=0;t<o.ge.length;t++)x.n.rr().fe(w.Z.Qr,[i.triggerId,n],o.ge[t]);return o.L}var C=r(6243),A=r(2893),_=r(5806),I=r(1148),T=r(5319),N=r(7048),O=r(4072);function P(i,n){var r;if(!t.ZP.X())return!1;if(!(i instanceof O.Z))return g.Z.error("button must be an InAppMessageButton object"),!1;if(!(n instanceof u.Z))return g.Z.error(m.De),!1;const s=e.Z.m().Hi(i,n);if(s.L)for(let t=0;t<s.ge.length;t++)x.n.rr().fe(w.Z.Qr,[n.triggerId,null===(r=i.id)||void 0===r?void 0:r.toString()],s.ge[t]);return s.L}var z=r(7429),D=r(7070);function U(e,i,n){if(!t.ZP.X())return;if(o(),null==e)return!1;if(e instanceof a.Z)return g.Z.info("User received control for a multivariate test, logging to Braze servers."),y(e),!0;if(!(e instanceof u.Z))return!1;if(e.constructor===u.Z)return!1;e.Nh();const s=e instanceof l.Z;if(s&&!e.trusted&&!t.ZP.tr())return g.Z.error('HTML in-app messages are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these messages.'),!1;if(null==i&&(i=document.body),e.ze()&&i.querySelectorAll(".ab-modal-interactions").length>0)return g.Z.info(`Cannot show in-app message ${e.message} because another message is being shown.`),!1;if(T.SD.fo()){const t=T.SD.co();if(t===T.eh.PORTRAIT&&e.orientation===u.Z.Orientation.LANDSCAPE||t===T.eh.LANDSCAPE&&e.orientation===u.Z.Orientation.PORTRAIT){const i=t===T.eh.PORTRAIT?"portrait":"landscape",n=e.orientation===u.Z.Orientation.PORTRAIT?"portrait":"landscape";return g.Z.info(`Not showing ${n} in-app message ${e.message} because the screen is currently ${i}`),!1}}if(!t.ZP.tr()){let t=!1;if(e.buttons&&e.buttons.length>0){const i=e.buttons;for(let e=0;e<i.length;e++)if(i[e].clickAction===u.Z.ClickAction.URI){const n=i[e].uri;t=(0,I.o)(n)}}else e.clickAction===u.Z.ClickAction.URI&&(t=(0,I.o)(e.uri));if(t)return g.Z.error('Javascript click actions are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these actions.'),!1}const v=document.createElement("div");if(v.className="ab-iam-root v3",v.className+=function(t){let e="";return t.animateIn&&(e+=" ab-animate-in"),t.animateOut&&(e+=" ab-animate-out"),t instanceof h.Z?e+=" ab-effect-fullscreen":t instanceof l.Z?e+=" ab-effect-html":t instanceof d.Z?e+=" ab-effect-modal":t instanceof c.Z&&(e+=" ab-effect-slide"),e}(e),v.setAttribute("role","complementary"),e.xe()&&(v.id=e.htmlId),t.ZP.nn(t.JY.jo)&&(v.style.zIndex=(t.ZP.nn(t.JY.jo)+1).toString()),i.appendChild(v),e.Ce()){const i=document.createElement("style");i.innerHTML=e.css,i.id=e.ve(),null!=t.ZP.nn(t.JY.bo)&&i.setAttribute("nonce",t.ZP.nn(t.JY.bo)),document.getElementsByTagName("head")[0].appendChild(i)}const w=e instanceof c.Z,x=function(e,i,n,s,o,a,v,y=document.body){if(e.ke=document.activeElement,e instanceof l.Z)return function(e,i,n,s,o,a){const l=document.createElement("iframe");l.setAttribute("title","Modal Message"),o&&(l.style.zIndex=(o+1).toString());const c=t=>{const i=t.getAttribute("href"),n=t.onclick;return r=>{if(null!=n&&"function"==typeof n&&!1===n.bind(t)(r))return;let o=(0,I.L)(i).abButtonId;if(null!=o&&""!==o||(o=t.getAttribute("id")||void 0),null!=i&&""!==i&&0!==i.indexOf("#")){const n="blank"===(t.getAttribute("target")||"").toLowerCase().replace("_",""),a=s||e.openTarget===u.Z.OpenTarget.BLANK||n,c=()=>{E(e,o,i),T.SD.openUri(i,a,r)};a?c():e.Ae(l,c)}else E(e,o,i||void 0);return r.stopPropagation(),!1}},h=(t,e,i)=>{const n=`([\\w]+)\\s*=\\s*document.createElement\\(['"]${i}['"]\\)`,r=t.match(new RegExp(n));if(r){const i=`${r[1]}.setAttribute("nonce", "${e}")`;return`${t.slice(0,r.index+r[0].length)};${i};${t.slice(r.index+r[0].length)}`}return null};if(l.onload=()=>{let s=null;if(null!=a){s=document.createElement("html"),s.innerHTML=e.message||"";const t=s.getElementsByTagName("style");for(let e=0;e<t.length;e++)t[e].setAttribute("nonce",a);const i=s.getElementsByTagName("script");for(let t=0;t<i.length;t++){i[t].setAttribute("nonce",a),i[t].innerHTML=i[t].innerHTML.replace(/<style>/g,`<style nonce='${a}'>`);const e=h(i[t].innerHTML,a,"script");e&&(i[t].innerHTML=e);const n=h(i[t].innerHTML,a,"style");n&&(i[t].innerHTML=n)}}const o=l.contentWindow;o.focus();const d=o.document.querySelector("html");d&&(d.innerHTML=s?s.innerHTML:e.message||"",(0,N.E)(d));const p=o.document.getElementsByTagName("head")[0];if(null!=p){if(e.Ce()){const t=document.createElement("style");t.innerHTML=e.css||"",t.id=e.ve()||"",null!=a&&t.setAttribute("nonce",a),p.appendChild(t)}const t=o.document.createElement("base");null!=t&&(t.setAttribute("target","_parent"),p.appendChild(t))}const b=o.document.getElementsByTagName("title");b&&b.length>0&&l.setAttribute("title",b[0].textContent||"");const f={closeMessage:function(){e.Ae(l)},logClick:function(){E(e,...arguments)},display:{},web:{}},v=function(){return function(){const e=arguments;Promise.resolve().then(r.bind(r,2261)).then(i=>{t.ZP.so()?i.requestPushPermission(...Array.prototype.slice.call(e)):g.Z.error(m.Go)})}},y={requestImmediateDataFlush:function(){const e=arguments;Promise.resolve().then(r.bind(r,4650)).then(({requestImmediateDataFlush:i})=>{t.ZP.so()?i(...Array.prototype.slice.call(e)):g.Z.error(m.Go)})},logCustomEvent:function(){const e=arguments;Promise.resolve().then(r.bind(r,1454)).then(({logCustomEvent:i})=>{t.ZP.so()?i(...Array.prototype.slice.call(e)):g.Z.error(m.Go)})},logPurchase:function(){const e=arguments;r.e(364).then(r.bind(r,1364)).then(({logPurchase:i})=>{t.ZP.so()?i(...Array.prototype.slice.call(e)):g.Z.error(m.Go)})},unregisterPush:function(){const e=arguments;Promise.resolve().then(r.bind(r,7824)).then(({unregisterPush:i})=>{t.ZP.so()?i(...Array.prototype.slice.call(e)):g.Z.error(m.Go)})},requestPushPermission:v(),changeUser:function(){const e=arguments;Promise.resolve().then(r.bind(r,4790)).then(({changeUser:i})=>{t.ZP.so()?i(...Array.prototype.slice.call(e)):g.Z.error(m.Go)})}},w=function(t){return function(){y[t](...Array.prototype.slice.call(arguments))}};for(const t of(0,A.XP)(y))f[t]=w(t);const x=["setFirstName","setLastName","setEmail","setGender","setDateOfBirth","setCountry","setHomeCity","setEmailNotificationSubscriptionType","setLanguage","addAlias","setPushNotificationSubscriptionType","setPhoneNumber","setCustomUserAttribute","addToCustomAttributeArray","removeFromCustomAttributeArray","incrementCustomUserAttribute","setCustomLocationAttribute","addToSubscriptionGroup","removeFromSubscriptionGroup"],Z=function(t){return function(){const e=(0,C.P)();e&&e[t](...Array.prototype.slice.call(arguments))}},k={};for(let t=0;t<x.length;t++)k[x[t]]=Z(x[t]);f.getUser=function(){return k};const S={showFeed:i},_=function(t){return function(){const i=arguments;e.Ae(l,function(){S[t](...Array.prototype.slice.call(i))})}},I=f.display;for(const t of(0,A.XP)(S))I[t]=_(t);const T={registerAppboyPushMessages:v()},O=function(t){return function(){T[t](...Array.prototype.slice.call(arguments))}},P=f.web;for(const t of(0,A.XP)(T))P[t]=O(t);if(o.appboyBridge=f,o.brazeBridge=f,e.we!==u.Z.qe.$e){const t=o.document.getElementsByTagName("a");for(let e=0;e<t.length;e++)t[e].onclick=c(t[e]);const e=o.document.getElementsByTagName("button");for(let t=0;t<e.length;t++)e[t].onclick=c(e[t])}const z=o.document.body;if(null!=z){e.xe()&&(z.id=e.htmlId||"");const t=document.createElement("hidden");t.onclick=f.closeMessage,t.className="ab-programmatic-close-button",z.appendChild(t)}o.dispatchEvent(new CustomEvent("ab.BridgeReady")),-1!==l.className.indexOf("ab-start-hidden")&&(l.className=l.className.replace("ab-start-hidden",""),n(l)),document.activeElement!==l&&l.focus()},l.className="ab-in-app-message ab-start-hidden ab-html-message ab-modal-interactions",S.Z.OS===_.T.io){const t=document.createElement("div");return t.className="ab-ios-scroll-wrapper",t.appendChild(l),e.Me=t,t}return e.Me=l,l}(e,i,n,o,a,v);const w=function(t,e,i,n,r,s,o=document.body){let a=null;const l=document.createElement("div");var c;l.className="ab-in-app-message ab-start-hidden ab-background",s&&(l.style.zIndex=(s+1).toString()),t.ze()&&(l.className+=" ab-modal-interactions",l.setAttribute("tabindex","-1")),t.Ce()||(l.style.color=f(t.textColor),l.style.backgroundColor=f(t.backgroundColor),null!=(c=t.backgroundColor)&&(c=parseInt(c.toString()),!isNaN(c)&&(4278190080&c)>>>24==0)&&(l.className+=" ab-no-shadow"));const h=()=>{-1!==l.className.indexOf("ab-start-hidden")&&(l.className=l.className.replace("ab-start-hidden",""),document.querySelectorAll(".ab-iam-img-loading").length>0?n(`Cannot show in-app message ${t.message} because another message is being shown.`,u.Z.Be.Le):i(l))},d=(e=!0)=>{let i=document.querySelectorAll(".ab-iam-root");i&&0!==i.length||(i=o.querySelectorAll(".ab-iam-root")),i&&i.length>0&&(i[0].classList.remove("ab-iam-img-loading"),a&&(clearTimeout(a),a=null),e?h():g.Z.error(`Cannot show in-app message ${t.message} because the image failed to load.`))};t.imageStyle===u.Z.ImageStyle.GRAPHIC&&(l.className+=" graphic"),t.orientation===u.Z.Orientation.LANDSCAPE&&(l.className+=" landscape"),null!=t.buttons&&0===t.buttons.length&&(t.clickAction!==u.Z.ClickAction.NONE&&(l.className+=" ab-clickable"),l.onclick=i=>(t.Ae(l,()=>{Z(t),t.clickAction===u.Z.ClickAction.URI?(0,k.S)(t.uri||"",r||t.openTarget===u.Z.OpenTarget.BLANK,i):t.clickAction===u.Z.ClickAction.NEWS_FEED&&e()}),i.stopPropagation(),!1));const m=(0,b.B)("Close Message",t.Ce()?void 0:f(t.closeButtonColor),()=>{t.Ae(l)});l.appendChild(m),s&&(m.style.zIndex=(s+2).toString());const v=document.createElement("div");v.className="ab-message-text";const y=(t.messageAlignment||t.De).toLowerCase();v.className+=" "+y+"-aligned";let w=!1;const x=document.createElement("div");if(x.className="ab-image-area",t.imageUrl){if(t.cropType===u.Z.CropType.CENTER_CROP){const e=document.createElement("span");e.className="ab-center-cropped-img",e.style.backgroundImage="url("+t.imageUrl+")",e.setAttribute("role","img"),e.setAttribute("aria-label","Modal Image"),t.Ge(e),x.appendChild(e)}else{const e=document.createElement("img");if(e.setAttribute("src",t.imageUrl),t.Ge(e),0===document.querySelectorAll(".ab-iam-img-loading").length){w=!0;const t=document.querySelectorAll(".ab-iam-root");t&&t.length>0&&t[0].classList.add("ab-iam-img-loading"),a=window.setTimeout(()=>{d(!1)},6e4),e.onload=()=>{d()},e.onerror=()=>{d(!1)}}x.appendChild(e)}l.appendChild(x),v.className+=" ab-with-image"}else if(t.icon){x.className+=" ab-icon-area";const e=document.createElement("span");e.className="ab-icon",t.Ce()||(e.style.backgroundColor=f(t.iconBackgroundColor),e.style.color=f(t.iconColor));const i=document.createElement("i");i.className="fa",i.appendChild(document.createTextNode(t.icon)),i.setAttribute("aria-hidden","true"),e.appendChild(i),x.appendChild(e),l.appendChild(x),v.className+=" ab-with-icon"}if((0,p.lj)(v,"touchstart"),t.header&&t.header.length>0){const e=document.createElement("h1");e.className="ab-message-header",t.He=D.Z.W(),e.id=t.He;const i=(t.headerAlignment||u.Z.TextAlignment.CENTER).toLowerCase();e.className+=" "+i+"-aligned",t.Ce()||(e.style.color=f(t.headerTextColor)),e.appendChild(document.createTextNode(t.header)),v.appendChild(e)}return v.appendChild(t.Je()),l.appendChild(v),w||h(),t.Me=l,l}(e,i,n,s,o,a,y);if(e instanceof h.Z||e instanceof d.Z){const t=e instanceof h.Z?"ab-fullscreen":"ab-modal";w.className+=` ${t} ab-centered`,((t,e,i,n)=>{if(t.buttons&&t.buttons.length>0){const r=document.createElement("div");r.className="ab-message-buttons",i.appendChild(r);const s=i.getElementsByClassName("ab-message-text")[0];null!=s&&(s.className+=" ab-with-buttons");const o=r=>s=>(t.Ae(i,()=>{P(r,t),r.clickAction===u.Z.ClickAction.URI?(0,k.S)(r.uri||"",n||t.openTarget===u.Z.OpenTarget.BLANK,s):r.clickAction===u.Z.ClickAction.NEWS_FEED&&e()}),s.stopPropagation(),!1);for(let e=0;e<t.buttons.length;e++){const i=t.buttons[e],n=document.createElement("button");n.className="ab-message-button",n.setAttribute("type","button"),(0,p.lj)(n,"touchstart");let s=i.text;""===i.text&&(s=" "),n.appendChild(document.createTextNode(s)),t.Ce()||(n.style.backgroundColor=f(i.backgroundColor),n.style.color=f(i.textColor),n.style.borderColor=f(i.borderColor)),n.onclick=o(i),r.appendChild(n)}}})(e,i,w,o),(t=>{const e=t.querySelectorAll(".ab-close-button, .ab-message-text, .ab-message-button");let i;for(let t=0;t<e.length;t++)i=e[t],i.tabIndex=0;if(e.length>0){const i=e[0],n=e[e.length-1];t.addEventListener("keydown",e=>{const r=document.activeElement;e.keyCode===z.m.lo&&(e.shiftKey||r!==n&&r!==t?!e.shiftKey||r!==i&&r!==t||(e.preventDefault(),n.focus()):(e.preventDefault(),i.focus()))})}})(w),((t,e)=>{e.setAttribute("role","dialog"),e.setAttribute("aria-modal","true"),e.setAttribute("aria-label","Modal Message"),t&&e.setAttribute("aria-labelledby",t)})(e.He,w)}else if(e instanceof c.Z){w.className+=" ab-slideup";const t=w.getElementsByClassName("ab-close-button")[0];if(null!=t){const i=(0,p.MK)("0 0 11.38 19.44","M11.38 9.72l-9.33 9.72L0 17.3l7.27-7.58L0 2.14 2.05 0l9.33 9.72z",e.Ce()?void 0:f(e.closeButtonColor));i.setAttribute("class","ab-chevron"),t.appendChild(i)}let i,n;(0,p.FZ)(w,p.mQ.U,e=>{w.className+=" ab-swiped-left",null!=t&&null!=t.onclick&&t.onclick(e)}),(0,p.FZ)(w,p.mQ.V,e=>{w.className+=" ab-swiped-right",null!=t&&null!=t.onclick&&t.onclick(e)}),e.slideFrom===u.Z.SlideFrom.TOP?(i=p.mQ.Re,n=" ab-swiped-up"):(i=p.mQ.Se,n=" ab-swiped-down"),(0,p.FZ)(w,i,e=>{w.className+=n,null!=t&&null!=t.onclick&&t.onclick(e)})}return w}(e,()=>{r.e(864).then(r.bind(r,4864)).then(e=>{t.ZP.so()?e.showFeed():g.Z.error(m.Go)})},i=>{if(e.ze()&&e.do()){const n=document.createElement("div");if(n.className="ab-page-blocker",e.Ce()||(n.style.backgroundColor=f(e.frameColor)),t.ZP.nn(t.JY.jo)&&(n.style.zIndex=t.ZP.nn(t.JY.jo).toString()),v.appendChild(n),!t.ZP.nn(t.JY.Lh)){const t=(new Date).valueOf();n.onclick=n=>{(new Date).valueOf()-t>u.Z.fh&&(e.Ae(i),n.stopPropagation())}}v.appendChild(i),i.focus(),e.Oh(v)}else if(w){const t=document.querySelectorAll(".ab-slideup");let n=null;for(let e=t.length-1;e>=0;e--)if(t[e]!==i){n=t[e];break}if(e.slideFrom===u.Z.SlideFrom.TOP){let t=0;null!=n&&(t=n.offsetTop+n.offsetHeight),i.style.top=Math.max(t,0)+"px"}else{let t=0;null!=n&&(t=(window.innerHeight||document.documentElement.clientHeight)-n.offsetTop),i.style.bottom=Math.max(t,0)+"px"}}else if(s&&!t.ZP.nn(t.JY.Lh)){const t=e;(0,N.f)(i)&&i.contentWindow&&i.contentWindow.addEventListener("keydown",function(e){e.keyCode===z.m.mh&&t.closeMessage()})}y(e),e.dismissType===u.Z.DismissType.AUTO_DISMISS&&setTimeout(()=>{v.contains(i)&&e.Ae(i)},e.duration),"function"==typeof n&&n()},t=>{g.Z.info(t)},t.ZP.nn(t.JY.ho),t.ZP.nn(t.JY.jo),t.ZP.nn(t.JY.bo),i);return(s||w)&&(v.appendChild(x),e.Oh(v)),!0}function R(i){if(t.ZP.X())return"function"!=typeof i?null:e.Z.m()._i(function(t){return i(t[0]),t.slice(1)})}var M=r(5522),L=r(1454),j=r(2261),B=r(7824),q=r(4790),F=r(4650),$=r(1843),G=r(158),J=r(67),X=r(1066),Y=r(1280);function H(e,i){if(t.ZP.X())return ot.rr().xs(e,i)}class V extends J.Z{constructor(t,e){super(t,e)}getUnviewedCardCount(){return super.getUnreadCardCount()}logCardImpressions(t){(0,X.p)(t,!0)}logCardClick(t){return(0,Y.d)(t,!0)}sr(){H()}dr(){return!0}}V.ur=6e4;var W=r(7750),K=r(5899),Q=r(5966),tt=r(4663),et=r(9179),it=r(6870),nt=r(6504);class rt extends G.Z{constructor(e,i,n,r,s){super(),this.wt=e,this.u=i,this.yt=n,this.Ft=r,this.qt=s,this.wt=e,this.u=i,this.yt=n,this.Ft=r,this.qt=s,this.Jt=new tt.Z,t.ZP.$t(this.Jt),this.Bt=0,this.Ht=0,this.cards=[],this.Kt();const o=M.Z.Yt.Qt;new M.Z(o,g.Z).Zt(o.ss.ts,t=>{this.es(t)}),this.hs=null,this.rs=null,this.ns=null,this.os=null,this.ls=null,this.us=10,this.cs=0}fs(){return this.hs}ds(t){this.hs=t}ps(){return this.rs}vs(t){this.rs=t}Kt(){if(!this.u)return;const t=this.u.j(Q.I.C.ws)||[],e=[];for(let i=0;i<t.length;i++){const n=(0,K.rN)(t[i]);null!=n&&e.push(n)}this.cards=this.Cs(this.bs(e,!1)),this.Bt=this.u.j(Q.I.C.gs)||this.Bt,this.Ht=this.u.j(Q.I.C.ys)||this.Ht}js(t,e=!1,i=0,n=0){let r;if(e){r=[];for(const t of this.cards)t.test&&r.push(t)}else r=this.cards.slice();for(let i=0;i<t.length;i++){const n=t[i];let s=null;for(let t=0;t<this.cards.length;t++)if(n.id===this.cards[t].id){s=this.cards[t];break}if(e){const t=(0,K.xA)(n);null!=s&&s.viewed&&t&&(t.viewed=!0),null!=t&&r.push(t)}else if(null==s){const t=(0,K.xA)(n);null!=t&&r.push(t)}else if(!s.Ct(n))for(let t=0;t<r.length;t++)if(n.id===r[t].id){r.splice(t,1);break}}this.cards=this.Cs(this.bs(r,e)),this.Rs(),this.Bt=i,this.Ht=n,this.u&&(this.u.k(Q.I.C.gs,this.Bt),this.u.k(Q.I.C.ys,this.Ht))}Ns(e){if(this.Ts()&&null!=e&&e.cards){this.u&&this.u.k(Q.I.C.Ss,t.ZP.Ds());const i=e.full_sync;i||this.Kt(),this.js(e.cards,i,e.last_full_sync_at,e.last_card_updated_at),this.Jt.Dt(this.Us(!0))}}ks(t){this.u&&this.u.k(Q.I.C.As,t)}Fs(t,e,i){const n=()=>{this.xs(e,i,!0)},r=t?(0,$.D)(t):null;let s;if(this.zs(),!r||!r["retry-after"])return void this.ks(0);const o=r["retry-after"];if(isNaN(o)&&!isNaN(Date.parse(o)))s=Date.parse(o)-(new Date).getTime(),s<0&&n();else{if(isNaN(parseFloat(o.toString()))){const t="Received unexpected value for retry-after header in /sync response";return et.Z.q(v.G.qs,{e:t+": "+o}),void this.ks(0)}s=1e3*parseFloat(o.toString())}this.ns=window.setTimeout(()=>{n()},s);let a=0;this.u&&(a=this.u.j(Q.I.C.As)),(null==a||isNaN(parseInt(a.toString())))&&(a=0),this.ks(parseInt(a.toString())+1)}es(t){var e;if(!this.Ts())return;this.Kt();const i=this.cards.slice();let n=null;n=null===(e=this.wt)||void 0===e?void 0:e.getUserId();for(let e=0;e<t.length;e++)if(n===t[e].userId||null==n&&null==t[e].userId){const n=t[e].card;let r=null;for(let t=0;t<this.cards.length;t++)if(n.id===this.cards[t].id){r=this.cards[t];break}if(null==r){const t=(0,K.xA)(n);null!=t&&i.push(t)}else if(!r.Ct(n))for(let t=0;t<i.length;t++)if(n.id===i[t].id){i.splice(t,1);break}}this.cards=this.Cs(this.bs(i,!1)),this.Rs(),this.Jt.Dt(this.Us(!0))}bs(t,e){let i={},n={},r={};this.u&&(i=this.u.j(Q.I.C.v)||{},n=this.u.j(Q.I.C.H)||{},r=this.u.j(Q.I.C.A)||{});const s={},o={},a={};for(let e=0;e<t.length;e++){const l=t[e].id;l&&(i[l]&&(t[e].clicked=!0,s[l]=!0),n[l]&&(t[e].viewed=!0,o[l]=!0),r[l]&&(t[e].dismissed=!0,a[l]=!0))}return e&&this.u&&(this.u.k(Q.I.C.v,s),this.u.k(Q.I.C.H,o),this.u.k(Q.I.C.A,a)),t}Cs(t){const e=[],i=new Date;let n={};this.u&&(n=this.u.j(Q.I.C.A)||{});let r=!1;for(let s=0;s<t.length;s++){const o=t[s].url;if(!this.Ft&&o&&(0,I.o)(o)){g.Z.error(`Card with url ${o} will not be displayed because Javascript URLs are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable this card.`);continue}const a=t[s].expiresAt;let l=!0;if(null!=a&&(l=a>=i),l=l&&!t[s].dismissed,l)e.push(t[s]);else{const e=t[s].id;e&&(n[e]=!0),r=!0}}return r&&this.u&&this.u.k(Q.I.C.A,n),e}Rs(){var t;const e=[];for(let t=0;t<this.cards.length;t++)e.push(this.cards[t].Y());null===(t=this.u)||void 0===t||t.k(Q.I.C.ws,e)}zs(){this.ns&&(clearTimeout(this.ns),this.ns=null)}Es(){null!=this.os&&(clearTimeout(this.os),this.os=null)}Ls(t=1e3*this.us,e,i){this.Es(),this.os=window.setTimeout(()=>{this.xs(e,i,!0)},t),this.ls=t}xs(e,i,n=!1,r=!0){var s;const o=this.qt,a=this.u;if(!o||!a)return void("function"==typeof i&&i());if(!n&&(this.zs(),this.ks(0)),!this.Ts())return void(null===(s=this.yt)||void 0===s||s.Is(()=>{this.xs(e,i)}));r&&this.Es();const l=o.Js({},!0);a.j(Q.I.C.Ss)!==t.ZP.Ds()&&this.Ms(),l.last_full_sync_at=this.Bt,l.last_card_updated_at=this.Ht;const u=o.$s(l,it.Z.Ps.Bs,n);let c=!1;o.Xs(l,(t=-1)=>{if(this.u){const t=(new Date).valueOf();it.Z._s(this.u,it.Z.Ps.Bs,t)}-1!==t&&u.push(["X-Braze-Req-Tokens-Remaining",t.toString()]),$.Z.Gs({url:`${o.Hs()}/content_cards/sync`,data:l,headers:u,L:(t,n)=>{if(!o.Ks(l,t,u))return c=!0,void("function"==typeof i&&i());o.Os(),this.Fs(n,e,i),this.Ns(t),c=!1,it.Z.Qs(this.u,it.Z.Ps.Bs,1),"function"==typeof e&&e()},error:t=>{o.Vs(t,"retrieving content cards"),c=!0,"function"==typeof i&&i()},Ws:()=>{if(c&&r&&!this.os&&this.cs+1<m.Tt){it.Z.Ys(this.u,it.Z.Ps.Bs);let t=this.ls;(null==t||t<1e3*this.us)&&(t=1e3*this.us),this.Ls(Math.min(3e5,(0,nt.R)(1e3*this.us,3*t)),e,i),this.cs=this.cs+1}}})},it.Z.Ps.Bs,i)}Us(t){t||this.Kt();const e=this.Cs(this.cards);e.sort((t,e)=>t.pinned&&!e.pinned?-1:e.pinned&&!t.pinned?1:t.updated&&e.updated&&t.updated>e.updated?-1:t.updated&&e.updated&&e.updated>t.updated?1:0);let i=Math.max(this.Ht||0,this.Bt||0);return 0===i&&(i=void 0),this.u&&this.u.j(Q.I.C.ys)===this.Ht&&void 0===i&&(i=this.Ht),new V(e,(0,W.X2)(i))}Zs(t){return this.Jt.It(t)}Ms(){this.Bt=0,this.Ht=0,this.u&&(this.u.ti(Q.I.C.gs),this.u.ti(Q.I.C.ys))}changeUser(t){t||(this.cards=[],this.Jt.Dt(new V(this.cards.slice(),null)),this.u&&(this.u.ti(Q.I.C.ws),this.u.ti(Q.I.C.v),this.u.ti(Q.I.C.H),this.u.ti(Q.I.C.A))),this.Ms()}clearData(t){this.Bt=0,this.Ht=0,this.cards=[],this.Jt.Dt(new V(this.cards.slice(),null)),t&&this.u&&(this.u.ti(Q.I.C.ws),this.u.ti(Q.I.C.v),this.u.ti(Q.I.C.H),this.u.ti(Q.I.C.A),this.u.ti(Q.I.C.gs),this.u.ti(Q.I.C.ys))}Ts(){return!(!this.yt||!this.yt.si()&&(0!==this.yt.ii()&&this.ei(),1))}ei(){this.Jt.Dt(new V([],new Date)),this.u&&this.u.ti(Q.I.C.ws)}}const st={t:!1,provider:null,rr:()=>(st.o(),st.provider||(st.provider=new rt(t.ZP.er(),t.ZP.l(),t.ZP.ir(),t.ZP.tr(),t.ZP.nr()),t.ZP.ar(st.provider)),st.provider),o:()=>{st.t||(t.ZP.g(st),st.t=!0)},destroy:()=>{st.provider=null,st.t=!1}},ot=st;function at(e){if(!t.ZP.X())return;const i=ot.rr(),n=i.Zs(e);if(!i.ps()){const e=t.ZP.cr();if(e){const t=e.mr(()=>{i.xs()});t&&i.vs(t)}}return n}var lt=r(1311),ut=r(5608),ct=r(6959);function ht(e,i){if(!t.ZP.X())return;(0,ct.B)();let n=!1;null==e&&(e=document.body,n=!0);const r=t.ZP.nn(t.JY.tn)||t.ZP.nn(t.JY.en)||!1,s=ot.rr().Us(!1);"function"==typeof i&&(0,lt.Of)(s,i(s.cards.slice()),s.lastUpdated,null,r);const o=(0,lt.Yz)(s,r,n),a=ot.rr(),l=a.fs();(null==s.lastUpdated||(new Date).valueOf()-s.lastUpdated.valueOf()>V.ur)&&(null==l||(new Date).valueOf()-l>V.ur)&&(g.Z.info(`Cached content cards were older than max TTL of ${V.ur} ms, requesting an update from the server.`),(0,lt.cV)(s,o),a.ds((new Date).valueOf()));const u=(new Date).valueOf(),c=at(function(t){const e=o.querySelectorAll(".ab-refresh-button")[0];if(null!=e){let t=500,i=t-=(new Date).valueOf()-u;const n=o.getAttribute(lt.cP);n&&(i=parseInt(n),isNaN(i)||(t-=(new Date).valueOf()-i)),setTimeout(function(){e.className=e.className.replace(/fa-spin/g,"")},Math.max(t,0))}let n=t.cards;"function"==typeof i&&(n=i(n.slice())),(0,lt.Of)(s,n,t.lastUpdated,o,r)});(0,lt.GB)(c,o);const h=function(t){const e=t.querySelectorAll(".ab-feed");let i=null;for(let n=0;n<e.length;n++)e[n].parentNode===t&&(i=e[n]);null!=i?((0,lt.tQ)(i),null!=i.parentNode&&i.parentNode.replaceChild(o,i)):t.appendChild(o),setTimeout(function(){o.className=o.className.replace("ab-hide","ab-show")},0),n&&o.focus(),(0,lt.cz)(s,o),(0,ut.CG)(s.cards,t)};var d;null!=e?h(e):window.onload=(d=window.onload,function(){"function"==typeof d&&d(new Event("oldLoad")),h(document.body)})}var dt=r(2080);function pt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var bt={get screenWidth(){return window.screen.width},get screenHeight(){return window.screen.height},get queryString(){return window.location.search},get queryParams(){var t,e=bt.queryString,i=new URLSearchParams(e),n={},r=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return pt(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?pt(t,e):void 0}}(t))){e&&(t=e);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,o=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return s=t.done,t},e:function(t){o=!0,r=t},f:function(){try{s||null==e.return||e.return()}finally{if(o)throw r}}}}(i.keys());try{for(r.s();!(t=r.n()).done;){var s=t.value;if(!(s in n)){var o=i.getAll(s);o.length>1?n[s]=o:n[s]=o[0]}}}catch(t){r.e(t)}finally{r.f()}return n&&Object.keys(n).length?JSON.stringify(n):e},get referrer(){return window.document.referrer},get title(){return window.document.title},get pathname(){return window.location.pathname},get hostname(){return window.location.hostname},get requestUrl(){return bt.hostname+bt.pathname},decodeURIComponent:function(t){return window.decodeURIComponent(t)}},ft=bt,mt={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i},gt="Unknown";function vt(t,e,i){if(!e)return{name:t,version:gt};var n=e.exec(i);return{name:t,version:n&&n.length?n[0].trim():gt}}var yt=function(){var t=window.navigator.userAgent;return mt.mobileDevice.test(t)?mt.iphone.test(t)?"iPhone":mt.ipad.test(t)?"iPad":mt.android.test(t)?"Android":mt.blackberry.test(t)?"Blackberry":mt.windowsPhone.test(t)?"Windows Phone":gt:"Desktop"},wt={getEventDataPayload:function(t,e){var i={product:this.getProductData(e),client:this.getClientData(),request:this.getRequestData()};t.data&&Object.keys(t.data).length&&(i.data=t.data),t.actionType&&(i.action_type=t.actionType);var n=ft.requestUrl;return n&&(i.request_url=n),i},getProductData:function(t){var e={name:t.name,version:t.version};return t.locale&&(e.locale=t.locale),e},getClientData:function(){return{os:(t=window.navigator.userAgent,mt.android.test(t)?vt("Android",mt.androidVersion,t):mt.iphone.test(t)||mt.ipad.test(t)?vt("iOS",mt.iosVersion,t):mt.linux.test(t)?vt("Linux",null,t):mt.unix.test(t)?vt("Unix",null,t):mt.mac.test(t)?vt("Macintosh",mt.osxVersion,t):mt.windows.test(t)?function(t,e){var i={name:"Windows",version:null};return mt.win2000.test(e)&&(i.version="2000"),mt.winXP.test(e)&&(i.version="XP"),mt.winVista.test(e)&&(i.version="Vista"),mt.win7.test(e)&&(i.version="7"),mt.win8.test(e)&&(i.version="8"),mt.win81.test(e)&&(i.version="8.1"),mt.win10.test(e)&&(i.version="10"),i.version||(i.version=gt),i}(0,t):mt.blackberry.test(t)?vt("BlackBerry",mt.blackberryVersion,t):mt.windowsPhone.test(t)?vt("Windows Phone",mt.windowsPhoneVersion,t):{name:gt,version:gt}),device:{type:yt(),resolution:"".concat(ft.screenWidth,"x").concat(ft.screenHeight)}};var t},getRequestData:function(){var t=ft.queryParams,e=ft.referrer,i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&",e=ft.queryString;if(e.length){var i=ft.decodeURIComponent(e.substring(1)),n=new RegExp("((utm_[^=]+)=([^\\"+t+"]+))","gi"),r=i.match(n);if(r&&r.length){var s=r.reduce(function(t,e){var i=e.split("=");return t[i[0].split("_")[1]]=i[1],t},{});if(Object.keys(s).length)return s}}}(),n={page_name:ft.title,host_name:ft.hostname,path_name:ft.pathname};return t.length&&(n.query_params=t),e.length&&(n.referrer=e),i&&(n.utms=i),n}},xt=function(t){throw new Error(t)},Zt=function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console.error(t,i)};function kt(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function St(t){return St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},St(t)}var Et=new RegExp("[A-Za-z0-9 _.,!\"'/$]*"),Ct=new RegExp("^[a-z]+(?:_[a-z]+)*$"),At=["productName","productVersion","apiKey","baseUrl"],_t={clientUserAttributeValue:function(t){if("boolean"==typeof t)return!0;if(!t)return!1;if("string"==typeof t){if(!t.length)return!1;if(!(t.length<=255))return!1;if("$"===t[0])return!1;if(!Et.test(t))return!1}return!0},isSnakeCase:function(t){return Ct.test(t)},additionalData:function(t){if("object"!==St(t)||null===t)return!0;if(Array.isArray(t)){var e,i=function(t){var e="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,e){if(t){if("string"==typeof t)return kt(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?kt(t,e):void 0}}(t))){e&&(t=e);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,o=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return s=t.done,t},e:function(t){o=!0,r=t},f:function(){try{s||null==e.return||e.return()}finally{if(o)throw r}}}}(t);try{for(i.s();!(e=i.n()).done;){var n=e.value;if(!_t.additionalData(n))return!1}}catch(t){i.e(t)}finally{i.f()}}else for(var r in t){if(!_t.isSnakeCase(r))return Zt("'".concat(r,"' in additional data provided does not follow 'snake_case' naming convention.")),!1;var s=t[r];if("object"===St(s)&&null!==s&&!_t.additionalData(s))return!1}return!0},brazeClientOptions:function(t){t||xt("No Client options provided."),At.forEach(function(e){t.hasOwnProperty(e)||xt('Cannot find the required "'.concat(e,'" attribute in client options.'))})}};function It(t){return It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},It(t)}function Tt(){Tt=function(){return e};var t,e={},i=Object.prototype,n=i.hasOwnProperty,r=Object.defineProperty||function(t,e,i){t[e]=i.value},s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",l=s.toStringTag||"@@toStringTag";function u(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,i){return t[e]=i}}function c(t,e,i,n){var s=e&&e.prototype instanceof m?e:m,o=Object.create(s.prototype),a=new I(n||[]);return r(o,"_invoke",{value:E(t,i,a)}),o}function h(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var d="suspendedStart",p="executing",b="completed",f={};function m(){}function g(){}function v(){}var y={};u(y,o,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(T([])));x&&x!==i&&n.call(x,o)&&(y=x);var Z=v.prototype=m.prototype=Object.create(y);function k(t){["next","throw","return"].forEach(function(e){u(t,e,function(t){return this._invoke(e,t)})})}function S(t,e){function i(r,s,o,a){var l=h(t[r],t,s);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==It(c)&&n.call(c,"__await")?e.resolve(c.__await).then(function(t){i("next",t,o,a)},function(t){i("throw",t,o,a)}):e.resolve(c).then(function(t){u.value=t,o(u)},function(t){return i("throw",t,o,a)})}a(l.arg)}var s;r(this,"_invoke",{value:function(t,n){function r(){return new e(function(e,r){i(t,n,e,r)})}return s=s?s.then(r,r):r()}})}function E(e,i,n){var r=d;return function(s,o){if(r===p)throw Error("Generator is already running");if(r===b){if("throw"===s)throw o;return{value:t,done:!0}}for(n.method=s,n.arg=o;;){var a=n.delegate;if(a){var l=C(a,n);if(l){if(l===f)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=h(e,i,n);if("normal"===u.type){if(r=n.done?b:"suspendedYield",u.arg===f)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=b,n.method="throw",n.arg=u.arg)}}}function C(e,i){var n=i.method,r=e.iterator[n];if(r===t)return i.delegate=null,"throw"===n&&e.iterator.return&&(i.method="return",i.arg=t,C(e,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var s=h(r,e.iterator,i.arg);if("throw"===s.type)return i.method="throw",i.arg=s.arg,i.delegate=null,f;var o=s.arg;return o?o.done?(i[e.resultName]=o.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,f):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,f)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function T(e){if(e||""===e){var i=e[o];if(i)return i.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,s=function i(){for(;++r<e.length;)if(n.call(e,r))return i.value=e[r],i.done=!1,i;return i.value=t,i.done=!0,i};return s.next=s}}throw new TypeError(It(e)+" is not iterable")}return g.prototype=v,r(Z,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:g,configurable:!0}),g.displayName=u(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,l,"GeneratorFunction")),t.prototype=Object.create(Z),t},e.awrap=function(t){return{__await:t}},k(S.prototype),u(S.prototype,a,function(){return this}),e.AsyncIterator=S,e.async=function(t,i,n,r,s){void 0===s&&(s=Promise);var o=new S(c(t,i,n,r),s);return e.isGeneratorFunction(i)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(Z),u(Z,l,"Generator"),u(Z,o,function(){return this}),u(Z,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),i=[];for(var n in e)i.push(n);return i.reverse(),function t(){for(;i.length;){var n=i.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var i in this)"t"===i.charAt(0)&&n.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var i=this;function r(n,r){return a.type="throw",a.arg=e,i.next=n,r&&(i.method="next",i.arg=t),!!r}for(var s=this.tryEntries.length-1;s>=0;--s){var o=this.tryEntries[s],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var s=r;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var o=s?s.completion:{};return o.type=t,o.arg=e,s?(this.method="next",this.next=s.finallyLoc,f):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),_(i),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;_(i)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,i,n){return this.delegate={iterator:T(e),resultName:i,nextLoc:n},"next"===this.method&&(this.arg=t),f}},e}function Nt(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ot(n.key),n)}}function Ot(t){var e=function(t){if("object"!=It(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=It(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==It(e)?e:e+""}var Pt=function(){function i(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),_t.brazeClientOptions(t),this.options=t,this.initialize()}var n,r,s;return n=i,r=[{key:"initialize",value:function(){var i,n;i=this.options.apiKey,n={baseUrl:this.options.baseUrl,enableLogging:this.options.enableLogging,allowUserSuppliedJavascript:this.options.allowUserSuppliedJavascript,minimumIntervalBetweenTriggerActionsInSeconds:this.options.minimumIntervalBetweenTriggerActionsInSeconds,doNotLoadFontAwesome:!0},t.ZP.initialize(i,n)||xt('Cannot initialize client. Please make sure your "apiKey" and "baseUrl" is valid.'),this.options.automaticallyShowInAppMessages&&function(){if(!t.ZP.X())return;o();const i=e.Z.m();if(null==i.Pi()){const t=R(t=>U(t));i.$i(t)}i.Pi()}()}},{key:"openSession",value:function(){!function(){if(!t.ZP.X())return;const e=t.ZP.cr();if(!e)return;e.openSession();const i=M.Z.Yt.Qt,n=new M.Z(i,g.Z);n.jr(i.ss.hr,(t,r)=>{const s=r.lastClick,o=r.trackingString;g.Z.info(`Firing push click trigger from ${o} push click at ${s}`);const a=e.kr(s,o),l=function(){x.n.rr().fe(w.Z.vr,[o],a)};e.$r(l,l),n.re(i.ss.hr,t)}),n.Zt(i.ss.wr,function(t){e.yr(t)})}()}},{key:"logEvent",value:function(t){var e,i=wt.getEventDataPayload(t,{name:this.options.productName,version:this.options.productVersion,locale:null===(e=this.options)||void 0===e?void 0:e.locale});return L.logCustomEvent(t.type,i)}},{key:"getUserId",value:function(){return this.getBrazeUser().getUserId()}},{key:"setCustomUserAttribute",value:function(t,e){var i=this.getBrazeUser();return _t.clientUserAttributeValue(e)||xt("Invalid custom user attribute value: '".concat(e,"' for key: '").concat(t,"'")),i.setCustomUserAttribute(t,e)}},{key:"bulkSetCustomUserAttributes",value:function(t){var e=this;Object.keys(t).length||xt("Cannot bulk set emptry object for custom user attributes"),Object.keys(t).forEach(function(i){var n=t[i];e.setCustomUserAttribute(i,n)})}},{key:"requestPushPermission",value:function(t,e){j.requestPushPermission(t,e)}},{key:"unregisterPush",value:function(t,e){B.unregisterPush(t,e)}},{key:"setAlias",value:function(t,e){this.getBrazeUser().addAlias(e,t)}},{key:"setUser",value:function(t){q.changeUser(t)}},{key:"setUserFirstName",value:function(t){this.getBrazeUser().setFirstName(t)}},{key:"setUserLastName",value:function(t){this.getBrazeUser().setLastName(t)}},{key:"setUserEmail",value:function(t){this.getBrazeUser().setEmail(t)}},{key:"setUserCountry",value:function(t){this.getBrazeUser().setCountry(t)}},{key:"setUserPhone",value:function(t){this.getBrazeUser().setPhoneNumber(t)}},{key:"setUserGender",value:function(t){this.getBrazeUser().setGender(t)}},{key:"setUserEmailNotificationSubscriptionType",value:function(t){return this.getBrazeUser().setEmailNotificationSubscriptionType(t)}},{key:"sendData",value:function(t){t&&"function"==typeof t?F.requestImmediateDataFlush(t):F.requestImmediateDataFlush()}},{key:"hasUser",value:function(){try{if(this.getBrazeUser())return!0}catch(t){return!1}finally{return!1}}},{key:"getBrazeUser",value:function(){var t=C.P();return t||xt("No valid user found!"),t}},{key:"getContentCardsV2",value:function(){return function(){if(t.ZP.X())return ot.rr().Us(!1)}()}},{key:"showContentCards",value:function(t,e){return ht(t,e)}},{key:"getContentCards",value:function(){return t=this,e=void 0,i=Tt().mark(function t(){return Tt().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,e){ht(null,function(i){return i?t(i):e(new Error("No content cards found.")),i})}));case 1:case"end":return t.stop()}},t)}),new(e||(e=Promise))(function(n,r){function s(t){try{a(i.next(t))}catch(t){r(t)}}function o(t){try{a(i.throw(t))}catch(t){r(t)}}function a(t){var i;t.done?n(t.value):(i=t.value,i instanceof e?i:new e(function(t){t(i)})).then(s,o)}a((i=i.apply(t,[])).next())});var t,e,i}},{key:"hideCards",value:function(e){!function(e){if(!t.ZP.X())return;const i=document.querySelectorAll(".ab-feed");for(let t=0;t<i.length;t++)(null==e||null!=e&&i[t].parentNode===e)&&(0,lt.tQ)(i[t])}(e)}},{key:"logContentCardDismissal",value:function(t){t||xt('No "card" provided in "logContentCardDismissal"'),dt.K(t)}},{key:"logContentCardClick",value:function(t){t||xt('No "card" provided in "logContentCardClick"'),Y.d(t,!0)}},{key:"logContentCardImpressions",value:function(t){var e;t&&t.length||xt('No "cards" provided in "logContentCardImpressions"'),e=t,(0,X.p)(e,!0)}},{key:"requestContentCardRefresh",value:function(t,e){return H(t,e)}},{key:"subscribeToContentCardUpdate",value:function(t){return t||xt('No "subscriber" provided in "subscribeToContentCardUpdate"'),at(t)}},{key:"subscribeToInAppMessage",value:function(t){return t||xt('No "callback" provided in "subscribeToInAppMessage".'),R(t)}},{key:"showInAppMessage",value:function(t,e,i){return t||xt('Invalid "inAppMessage" provided in "showInAppMessage".'),U(t,e,i)}},{key:"logInAppMessageClick",value:function(t){return t||xt('Invalid "inAppMessage" provided in "logInAppMessageClick".'),Z(t)}},{key:"logInAppMessageButtonClick",value:function(t,e){return t&&e||xt('Invalid params supplied in "logInAppMessageButtonClick".'),P(t,e)}},{key:"logInAppMessageHtmlClick",value:function(t,e,i){return t||xt('Invalid "inAppMessage" provided in "logInAppMessageHtmlClick".'),E(t,e,i)}},{key:"logInAppMessageImpression",value:function(t){return t||xt('Invalid "inAppMessage" provided in "logInAppMessageImpression".'),y(t)}}],s=[{key:"getInstance",value:function(t){return this._instance||(this._instance=new this(t))}}],r&&Nt(n.prototype,r),s&&Nt(n,s),Object.defineProperty(n,"prototype",{writable:!1}),i}();function zt(t){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(t)}function Dt(t){var e=function(t){if("object"!=zt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=zt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==zt(e)?e:e+""}var Ut=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=e,this.apiClient=e.apiClient}var e,i;return e=t,(i=[{key:"safelyExecute",value:function(t){try{return t()}catch(t){t instanceof Error&&Zt(t.message),"string"==typeof t&&Zt(t)}}}])&&function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Dt(n.key),n)}}(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Rt(t){return Rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rt(t)}function Mt(t){var e=function(t){if("object"!=Rt(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=Rt(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Rt(e)?e:e+""}function Lt(t,e){return Lt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Lt(t,e)}function jt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(jt=function(){return!!t})()}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Bt(t)}var qt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Lt(t,e)}(r,t);var e,i,n=function(t){var e=jt();return function(){var i,n=Bt(t);if(e){var r=Bt(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return function(t,e){if(e&&("object"==Rt(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,i)}}(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),n.call(this,t)}return e=r,(i=[{key:"getAll",value:function(){return this.apiClient.getContentCardsV2()}},{key:"getContentCards",value:function(){return this.apiClient.getContentCards()}},{key:"show",value:function(t,e){return this.apiClient.showContentCards(t,e)}},{key:"hide",value:function(t){return this.apiClient.hideCards(t)}},{key:"logDismissal",value:function(t){return this.apiClient.logContentCardDismissal(t)}},{key:"logClick",value:function(t){return this.apiClient.logContentCardClick(t)}},{key:"logImpressions",value:function(t){return this.apiClient.logContentCardImpressions(t)}},{key:"requestRefresh",value:function(t,e){return this.apiClient.requestContentCardRefresh(t,e)}},{key:"subscribe",value:function(t){return this.apiClient.subscribeToContentCardUpdate(t)}}])&&function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mt(n.key),n)}}(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),r}(Ut);function Ft(t){return Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(t)}function $t(t){var e=function(t){if("object"!=Ft(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=Ft(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ft(e)?e:e+""}function Gt(t,e){return Gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Gt(t,e)}function Jt(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Jt=function(){return!!t})()}function Xt(t){return Xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xt(t)}var Yt,Ht,Vt,Wt,Kt,Qt,te,ee,ie,ne,re,se,oe,ae,le=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Gt(t,e)}(r,t);var e,i,n=function(t){var e=Jt();return function(){var i,n=Xt(t);if(e){var r=Xt(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return function(t,e){if(e&&("object"==Ft(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,i)}}(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),n.call(this,t)}return e=r,(i=[{key:"show",value:function(t,e,i){return this.apiClient.showInAppMessage(t,e,i)}},{key:"logMessageClick",value:function(t){return this.apiClient.logInAppMessageClick(t)}},{key:"logButtonClick",value:function(t,e){return this.apiClient.logInAppMessageButtonClick(t,e)}},{key:"logHtmlMessageClick",value:function(t,e,i){return this.apiClient.logInAppMessageHtmlClick(t,e,i)}},{key:"logImpression",value:function(t){return this.apiClient.logInAppMessageImpression(t)}},{key:"subscribe",value:function(t){return this.apiClient.subscribeToInAppMessage(t)}}])&&function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,$t(n.key),n)}}(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),r}(Ut),ue={all:["streamable","clickview"],cv:["clickview"],sl:["streamable"],none:[]};function ce(t){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ce(t)}function he(t){var e=function(t){if("object"!=ce(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=ce(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ce(e)?e:e+""}function de(t,e){return de=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},de(t,e)}function pe(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(pe=function(){return!!t})()}function be(t){return be=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},be(t)}!function(t){t.AU="au",t.NZ="nz",t.UK="uk",t.US="us"}(Yt||(Yt={})),function(t){t.PageView="page_view"}(Ht||(Ht={})),function(t){t.ButtonClick="marketing_button_click",t.LinkClick="marketing_link_click"}(Vt||(Vt={})),function(t){t.FreeTrialSignup="marketing_free_trial_signup",t.DemoSignup="marketing_demo_signup",t.PostFreeTrialSubmission="marketing_post_free_trial_submission",t.FormSubmission="marketing_form_submission",t.ContactFormSubmission="marketing_contact_us_submission",t.CallBooked="marketing_call_booked",t.NewsletterSignup="cv_marketing_newsletter_sign_up"}(Wt||(Wt={})),function(t){t.ProductTrailRequested="product_trial_requested",t.FormSubmission="product_form_submission",t.TrialUpgradeRequested="product_trial_upgrade_requested",t.OlympicsOfferSubmission="product_olympics_offer_submission",t.BdmTrialRequested="cv_product_bdm_trial_requested"}(Kt||(Kt={})),function(t){t.ContactUsFormSubmit="streamable_contact_us_submission",t.LivestreamBookingFormSubmit="streamable_livestream_booking_submission"}(Qt||(Qt={})),function(t){t.TrialRequested="sl_marketing_trial_requested",t.HalloweenFormSubmission="sl_marketing_halloween_submission",t.NewsletterSignup="sl_marketing_newsletter_sign_up",t.RequestPricing="sl_marketing_pricing_requested"}(te||(te={})),function(t){t.ContactUsFormSubmit="ch_marketing_contact_us_submission"}(ee||(ee={})),function(t){t.ExploreTopics="product_explore_topics",t.Stream="product_stream",t.Search="product_search",t.SearchClickthrough="product_search_clickthrough",t.ClickBookACall="product_book_a_call_clicked",t.Share="product_share",t.DownloadResource="product_download_resource",t.Invite="product_invite_send",t.PlayerDeviceCta="product_player_devices_cta",t.SettingsIntegrations="product_settings_integrations"}(ie||(ie={})),function(t){t.AddToSubscriptionGroups="add_to_subscription_groups"}(ne||(ne={})),function(t){t.FirstName="first_name",t.LastName="last_name",t.Email="email",t.Phone="phone_number"}(re||(re={})),function(t){t.CrmId="cvc_id",t.JobTitle="job_title",t.AccountOwner="account_owner",t.Department="department",t.AccountName="account_name",t.AccountType="account_type",t.OrgType="organisation_type",t.OrgSubType="organisation_sub_type",t.SyncToCrm="sync_to_crm",t.MasterId="master_id",t.AccountAddress="account_address",t.Topic="topic",t.Source="source"}(se||(se={})),function(t){t.AccountCity="account_city",t.AccountState="account_state",t.AccountPostCode="account_post_code",t.AccountCountry="account_country",t.HowCanWeHelp="how_can_we_help",t.ReasonForInterest="reason_for_interest",t.EventTopic="event_topic",t.ContactUsComment="contact_us_comment"}(oe||(oe={})),function(t){t.Marketing="marketing_id",t.Product="master_id",t.Email="email"}(ae||(ae={}));var fe=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&de(t,e)}(r,t);var e,i,n=function(t){var e=pe();return function(){var i,n=be(t);if(e){var r=be(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return function(t,e){if(e&&("object"==ce(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,i)}}(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),n.call(this,t)}return e=r,i=[{key:"logForm",value:function(t){var e;this.log(t),function(t){var e;switch(null===(e=null==t?void 0:t.internalOptions)||void 0===e?void 0:e.subscriptionGroups){case"all":case"cv":case"sl":return!0;default:return!1}}(t)&&this.logInternal({eventType:ne.AddToSubscriptionGroups,additionalData:{products:ue[null===(e=t.internalOptions)||void 0===e?void 0:e.subscriptionGroups]}})}},{key:"logAnalytics",value:function(t){this.log(t,!1)}},{key:"logInternal",value:function(t){var e=t.eventType,i=t.additionalData,n={type:e,data:{}};_t.additionalData(i)&&(n.data=Object.assign({},i)),this.apiClient.logEvent(n),this.apiClient.sendData()}},{key:"log",value:function(t){var e=t.eventType,i=t.actionType,n=t.additionalData,r=t.callback,s=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this.options.getPayload();_t.additionalData(n)&&(o=Object.assign(Object.assign({},o),n));var a={type:e,data:o};i&&(a.actionType=i);var l=this.apiClient.logEvent(a);s?this.apiClient.sendData(r):"function"!=typeof r||r(l)}}],i&&function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,he(n.key),n)}}(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),r}(Ut),me=r(8322),ge=r.n(me);function ve(t){return ve="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ve(t)}function ye(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,s,o,a=[],l=!0,u=!1;try{if(s=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=s.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=i.return&&(o=i.return(),Object(o)!==o))return}finally{if(u)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return we(t,e);var i={}.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?we(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var xe={removeEmptyKeys:function(t){var e=this;if(Array.isArray(t))return t;var i=Object.assign({},t);return Object.entries(i).filter(function(t){var e=ye(t,2)[1];return!(null==e||"string"==typeof e&&!e.length||"object"===ve(e)&&0===Object.keys(e).length)}).reduce(function(t,i){var n,r,s,o=ye(i,2),a=o[0],l=o[1];return Object.assign(Object.assign({},t),(n={},r=a,s=l===Object(l)?e.removeEmptyKeys(l):l,(r=function(t){var e=function(t){if("object"!=ve(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=ve(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==ve(e)?e:e+""}(r))in n?Object.defineProperty(n,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[r]=s,n))},{})}};function Ze(t){return Ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ze(t)}function ke(t,e,i){return(e=function(t){var e=function(t){if("object"!=Ze(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=Ze(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ze(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var Se={getDefaultUserAttributes:function(t){var e;return xe.removeEmptyKeys((ke(e={},re.Email,t.email),ke(e,re.FirstName,null==t?void 0:t.firstName),ke(e,re.LastName,null==t?void 0:t.lastName),ke(e,re.Phone,null==t?void 0:t.phone),e))},getCustomUserAttributesWithoutSource:function(t){var e,i,n,r,s,o,a,l,u,c,h,d,p,b,f,m=xe.removeEmptyKeys({province:null===(n=null===(i=null==t?void 0:t.custom)||void 0===i?void 0:i.accountAddress)||void 0===n?void 0:n.province,country_code:null===(s=null===(r=null==t?void 0:t.custom)||void 0===r?void 0:r.accountAddress)||void 0===s?void 0:s.countryCode});return xe.removeEmptyKeys((ke(e={},se.AccountAddress,m),ke(e,se.AccountName,null===(o=null==t?void 0:t.custom)||void 0===o?void 0:o.accountName),ke(e,se.AccountType,null===(a=null==t?void 0:t.custom)||void 0===a?void 0:a.accountType),ke(e,se.CrmId,null===(l=null==t?void 0:t.custom)||void 0===l?void 0:l.crmId),ke(e,se.Department,null===(u=null==t?void 0:t.custom)||void 0===u?void 0:u.department),ke(e,se.JobTitle,null===(c=null==t?void 0:t.custom)||void 0===c?void 0:c.jobTitle),ke(e,se.MasterId,null===(h=null==t?void 0:t.custom)||void 0===h?void 0:h.masterId),ke(e,se.OrgSubType,null===(d=null==t?void 0:t.custom)||void 0===d?void 0:d.orgSubType),ke(e,se.OrgType,null===(p=null==t?void 0:t.custom)||void 0===p?void 0:p.orgType),ke(e,se.SyncToCrm,null===(b=null==t?void 0:t.custom)||void 0===b?void 0:b.syncToCrm),ke(e,se.Topic,null===(f=null==t?void 0:t.custom)||void 0===f?void 0:f.topic),e))},getCustomUserAttributes:function(t){var e=Se.getCustomUserAttributesWithoutSource(t),i=xe.removeEmptyKeys(Object.assign(Object.assign({},e),ke({},se.Source,function(t){var e;if((null===(e=t.custom)||void 0===e?void 0:e.source)&&t.custom.source.length){var i=Object.keys(Se.getDefaultUserAttributes(t)),n=Object.keys(Se.getCustomUserAttributesWithoutSource(t));return{$add:[{name:t.custom.source,attributes:[].concat(i,n)}]}}}(t))));return i},getEventUserAttributes:function(t){var e,i,n,r,s,o,a,l,u;return xe.removeEmptyKeys((ke(e={},oe.AccountCity,null===(i=null==t?void 0:t.event)||void 0===i?void 0:i.accountCity),ke(e,oe.AccountCountry,null===(n=null==t?void 0:t.event)||void 0===n?void 0:n.accountCity),ke(e,oe.AccountPostCode,null===(r=null==t?void 0:t.event)||void 0===r?void 0:r.accountPostCode),ke(e,oe.AccountState,null===(s=null==t?void 0:t.event)||void 0===s?void 0:s.accountState),ke(e,oe.ContactUsComment,null===(o=null==t?void 0:t.event)||void 0===o?void 0:o.contactUsComment),ke(e,oe.EventTopic,null===(a=null==t?void 0:t.event)||void 0===a?void 0:a.eventTopic),ke(e,oe.HowCanWeHelp,null===(l=null==t?void 0:t.event)||void 0===l?void 0:l.howCanWeHelp),ke(e,oe.ReasonForInterest,null===(u=null==t?void 0:t.event)||void 0===u?void 0:u.reasonForInterest),e))},getExtraUserAttributes:function(t){return"object"!==Ze(t.extra)?{}:xe.removeEmptyKeys(t.extra)},getPayload:function(t){if(!t)return{};var e=Se.getDefaultUserAttributes(t),i=Se.getCustomUserAttributes(t),n=Se.getEventUserAttributes(t),r=Se.getExtraUserAttributes(t),s=_t.additionalData(r),o=Object.assign(Object.assign(Object.assign({},e),i),n);return s?Object.assign(Object.assign({},o),r):o},getEmailHash:function(t){var e=t.trim().toLowerCase();return ge().hash(e)}};function Ee(t){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(t)}function Ce(t){var e=function(t){if("object"!=Ee(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=Ee(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ee(e)?e:e+""}var Ae=function(){function t(e){var i=e.apiOptions,n=e.shouldInitialize,r=void 0===n||n,s=e.allowAnonymous,o=void 0!==s&&s,a=e.subscriptions;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.initialized=!1,this.apiOptions=i,this.subscriptions=a,this.allowAnonymous=o,r&&this.initialize()}var e,i;return e=t,(i=[{key:"initialize",value:function(){var t=this;this.isInitialized()?function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];console.warn(t,i)}("BrazeClient has already been initialized!"):(this.apiClient=Pt.getInstance(this.apiOptions),this.cardsModule=new qt({apiClient:this.apiClient}),this.bamModule=new le({apiClient:this.apiClient}),this.eventModule=new fe({apiClient:this.apiClient,getPayload:function(){return Se.getPayload(t.user)}}),this.initialized=!0)}},{key:"isInitialized",value:function(){return this.initialized}},{key:"getUser",value:function(){return this.isInitialized()?this.validateUser()?this.user:null:(Zt("BrazeClient has not been initialized."),null)}},{key:"card",get:function(){return this.isInitialized()?this.cardsModule:(Zt("BrazeClient has not been initialized."),null)}},{key:"bam",get:function(){return this.isInitialized()?this.bamModule:(Zt("BrazeClient has not been initialized."),null)}},{key:"event",get:function(){return this.isInitialized()?this.allowAnonymous||this.validateUser()?this.eventModule:(Zt("Anon events are disabled! Please invoke `setUser` before logging events!"),null):(Zt("BrazeClient has not been initialized."),null)}},{key:"setUser",value:function(t){this.isInitialized()?(this.user=t,this.startSession(),this.logUserAttributes()):Zt("Trying to `setUser` but the client has not been initialized")}},{key:"setUserInit",value:function(t){this.isInitialized()||this.initialize(),this.setUser(t)}},{key:"allowAnonymousSessions",value:function(){this.allowAnonymous=!0}},{key:"api",value:function(){return this.isInitialized()?this.apiClient:null}},{key:"setEmailNotificationSubscriptionType",value:function(t){return this.isInitialized()&&this.validateUser()?this.apiClient.setUserEmailNotificationSubscriptionType(t):null}},{key:"validateUser",value:function(){return!!this.user||(Zt("No user has been set!"),!1)}},{key:"startSession",value:function(){this.allowAnonymous||this.validateUser()?(this.enableSubscriptions(),this.user?(this.apiClient.setUser(Se.getEmailHash(this.user.email)),this.apiClient.openSession()):this.apiClient.openSession()):Zt("No user provided and cannot start anonymous sessions!")}},{key:"enableSubscriptions",value:function(){var t,e;(null===(t=this.subscriptions)||void 0===t?void 0:t.subscribeToInAppMessage)&&"function"==typeof this.subscriptions.subscribeToInAppMessage&&this.apiClient.subscribeToInAppMessage(this.subscriptions.subscribeToInAppMessage),(null===(e=this.subscriptions)||void 0===e?void 0:e.subscribeToContentCards)&&"function"==typeof this.subscriptions.subscribeToContentCards&&this.apiClient.subscribeToContentCardUpdate(this.subscriptions.subscribeToContentCards)}},{key:"logUserAttributes",value:function(){if(this.validateUser()){this.apiClient.setUserEmail(this.user.email),this.user.firstName&&this.apiClient.setUserFirstName(this.user.firstName),this.user.lastName&&this.apiClient.setUserLastName(this.user.lastName),this.user.phone&&this.apiClient.setUserPhone(this.user.phone),this.user.country&&this.apiClient.setUserCountry(this.user.country);var t=Se.getCustomUserAttributes(this.user);this.apiClient.bulkSetCustomUserAttributes(t)}}}])&&function(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ce(n.key),n)}}(e.prototype,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function _e(t){return Pt.getInstance(t)}})(),s})(),t.exports=e()}}]);