@clickview/streamable-learning 0.34.1-dev.1 → 0.35.0-rc.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/bundles.json +2 -2
  2. package/dist/css/103-streamable-learning-5060b6cda5.chunk.css +7 -0
  3. package/dist/css/1269-streamable-learning-a12c4ebc99.chunk.css +2 -0
  4. package/dist/css/1457-streamable-learning-c8c8b3b9b1.chunk.css +50 -0
  5. package/dist/css/2334-streamable-learning-de03ae073a.chunk.css +2 -0
  6. package/dist/css/3322-streamable-learning-510e1aa3f3.chunk.css +34 -0
  7. package/dist/css/3838-streamable-learning-da10685fe8.chunk.css +22 -0
  8. package/dist/css/4254-streamable-learning-e493f4a027.chunk.css +2 -0
  9. package/dist/css/4607-streamable-learning-2605302fc2.chunk.css +90 -0
  10. package/dist/css/4772-streamable-learning-f83b838d71.chunk.css +9 -0
  11. package/dist/css/5003-streamable-learning-b38d2ddbbe.chunk.css +98 -0
  12. package/dist/css/5565-streamable-learning-0caae3809b.chunk.css +13 -0
  13. package/dist/css/6017-streamable-learning-098a205d01.chunk.css +6 -0
  14. package/dist/css/6356-streamable-learning-8c5b220bf6.chunk.css +1 -0
  15. package/dist/css/6987-streamable-learning-8f682301c6.chunk.css +1 -0
  16. package/dist/css/7317-streamable-learning-b5d226bbb6.chunk.css +5 -0
  17. package/dist/css/8058-streamable-learning-539cf7be18.chunk.css +12 -0
  18. package/dist/css/8294-streamable-learning-c797263ac2.chunk.css +1 -0
  19. package/dist/css/8496-streamable-learning-ce19f6ca52.chunk.css +13 -0
  20. package/dist/css/8601-streamable-learning-f525210660.chunk.css +6 -0
  21. package/dist/css/9514-streamable-learning-251703c6d1.chunk.css +2 -0
  22. package/dist/css/9766-streamable-learning-31650ffe5d.chunk.css +8 -0
  23. package/dist/css/9842-streamable-learning-24729103f7.chunk.css +4 -0
  24. package/dist/css/9899-streamable-learning-0338f8d2dc.chunk.css +4 -0
  25. package/dist/css/streamable-learning-dd0c1095d5.css +23 -0
  26. package/dist/languages/en.json +1 -0
  27. package/dist/scripts/103-aceced8961-streamable-learning.chunk.js +1 -0
  28. package/dist/scripts/1097-680a971192-streamable-learning.chunk.js +2 -0
  29. package/dist/scripts/1097-680a971192-streamable-learning.chunk.js.LICENSE.txt +105 -0
  30. package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js +2 -0
  31. package/dist/scripts/1269-2d0b903343-streamable-learning.chunk.js.LICENSE.txt +1 -0
  32. package/dist/scripts/1457-899f40d09a-streamable-learning.chunk.js +1 -0
  33. package/dist/scripts/1482-b1dd75897c-streamable-learning.chunk.js +1 -0
  34. package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js +2 -0
  35. package/dist/scripts/1934-fc017df0da-streamable-learning.chunk.js.LICENSE.txt +9 -0
  36. package/dist/scripts/2042-d51622d63e-streamable-learning.chunk.js +1 -0
  37. package/dist/scripts/2087-eba9033b1c-streamable-learning.chunk.js +1 -0
  38. package/dist/scripts/2245-8cd3224e1b-streamable-learning.chunk.js +1 -0
  39. package/dist/scripts/2334-00b028191d-streamable-learning.chunk.js +1 -0
  40. package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js +2 -0
  41. package/dist/scripts/2676-c842ec7e8d-streamable-learning.chunk.js.LICENSE.txt +1 -0
  42. package/dist/scripts/2877-5ffc9711f6-streamable-learning.chunk.js +1 -0
  43. package/dist/scripts/2911-2ec3a6600a-streamable-learning.chunk.js +1 -0
  44. package/dist/scripts/3057-731a8ca978-streamable-learning.chunk.js +1 -0
  45. package/dist/scripts/3093-efbcc927ea-streamable-learning.chunk.js +1 -0
  46. package/dist/scripts/3186-d1a6ccffde-streamable-learning.chunk.js +1 -0
  47. package/dist/scripts/3322-33c015dec9-streamable-learning.chunk.js +1 -0
  48. package/dist/scripts/3472-50ca92bde3-streamable-learning.chunk.js +1 -0
  49. package/dist/scripts/3838-4a38f33dc2-streamable-learning.chunk.js +1 -0
  50. package/dist/scripts/3941-2ef15ca9ac-streamable-learning.chunk.js +1 -0
  51. package/dist/scripts/4254-ef581b8105-streamable-learning.chunk.js +1 -0
  52. package/dist/scripts/4607-a4edb06dba-streamable-learning.chunk.js +2 -0
  53. package/dist/scripts/4607-a4edb06dba-streamable-learning.chunk.js.LICENSE.txt +1 -0
  54. package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js +2 -0
  55. package/dist/scripts/4772-3cb280f959-streamable-learning.chunk.js.LICENSE.txt +1 -0
  56. package/dist/scripts/4951-df701c6a8d-streamable-learning.chunk.js +1 -0
  57. package/dist/scripts/5003-7468a75d64-streamable-learning.chunk.js +2 -0
  58. package/dist/scripts/5003-7468a75d64-streamable-learning.chunk.js.LICENSE.txt +1 -0
  59. package/dist/scripts/5088-2e09e1ba6e-streamable-learning.chunk.js +1 -0
  60. package/dist/scripts/5173-a800a17d0d-streamable-learning.chunk.js +1 -0
  61. package/dist/scripts/5446-2cbe9f9d1b-streamable-learning.chunk.js +1 -0
  62. package/dist/scripts/5543-205aaa36a6-streamable-learning.chunk.js +1 -0
  63. package/dist/scripts/5565-224d86dc1b-streamable-learning.chunk.js +1 -0
  64. package/dist/scripts/578-2cc99f46f7-streamable-learning.chunk.js +1 -0
  65. package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js +2 -0
  66. package/dist/scripts/6017-5bd6f9bf7a-streamable-learning.chunk.js.LICENSE.txt +1 -0
  67. package/dist/scripts/6356-eefa3ff22e-streamable-learning.chunk.js +1 -0
  68. package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js +2 -0
  69. package/dist/scripts/6979-ef9a3931a2-streamable-learning.chunk.js.LICENSE.txt +1 -0
  70. package/dist/scripts/6987-e58de31cfe-streamable-learning.chunk.js +1 -0
  71. package/dist/scripts/7317-6b7186c85d-streamable-learning.chunk.js +1 -0
  72. package/dist/scripts/7347-772848ba8a-streamable-learning.chunk.js +1 -0
  73. package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js +2 -0
  74. package/dist/scripts/7570-cd4f70ff52-streamable-learning.chunk.js.LICENSE.txt +1 -0
  75. package/dist/scripts/7904-96574373ca-streamable-learning.chunk.js +1 -0
  76. package/dist/scripts/7925-1e1cfa2a04-streamable-learning.chunk.js +1 -0
  77. package/dist/scripts/8058-51c4b442d6-streamable-learning.chunk.js +1 -0
  78. package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js +2 -0
  79. package/dist/scripts/8126-9d09959b28-streamable-learning.chunk.js.LICENSE.txt +60 -0
  80. package/dist/scripts/8397-39ce77876d-streamable-learning.chunk.js +1 -0
  81. package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js +2 -0
  82. package/dist/scripts/8496-1b2519f9fd-streamable-learning.chunk.js.LICENSE.txt +1 -0
  83. package/dist/scripts/8599-b74e1ab6e3-streamable-learning.chunk.js +1 -0
  84. package/dist/scripts/8601-37783cf18b-streamable-learning.chunk.js +1 -0
  85. package/dist/scripts/8819-2a50dd6a9b-streamable-learning.chunk.js +1 -0
  86. package/dist/scripts/8937-5103db88d8-streamable-learning.chunk.js +1 -0
  87. package/dist/scripts/9390-bbaf07ad0f-streamable-learning.chunk.js +1 -0
  88. package/dist/scripts/9514-a31ca9af06-streamable-learning.chunk.js +1 -0
  89. package/dist/scripts/9766-48d72d9285-streamable-learning.chunk.js +2 -0
  90. package/dist/scripts/9766-48d72d9285-streamable-learning.chunk.js.LICENSE.txt +1 -0
  91. package/dist/scripts/9842-36d830ee87-streamable-learning.chunk.js +1 -0
  92. package/dist/scripts/9899-f33e8f1d43-streamable-learning.chunk.js +2 -0
  93. package/dist/scripts/9899-f33e8f1d43-streamable-learning.chunk.js.LICENSE.txt +1 -0
  94. package/dist/scripts/bundle-7ea4deeaa8.min.js +2 -0
  95. package/dist/scripts/bundle-7ea4deeaa8.min.js.LICENSE.txt +108 -0
  96. package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js +2 -0
  97. package/dist/scripts/pdf.worker.entry-a2092a6670.min.worker.js.LICENSE.txt +21 -0
  98. package/package.json +3 -5
  99. package/typings/utils/imports.d.ts +1 -2
  100. package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  101. package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  102. package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  103. package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  104. package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  105. package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  106. package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  107. package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  108. package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  109. package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  110. package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  111. package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  112. package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  113. package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  114. package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  115. package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  116. package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  117. package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  118. package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  119. package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  120. package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  121. package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  122. package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  123. package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  124. package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  125. package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  126. package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  127. package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  128. package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  129. package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  130. package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  131. package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  132. package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  133. package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  134. package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  135. package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  136. package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  137. package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  138. package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  139. package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  140. package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  141. package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  142. package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  143. package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  144. package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  145. package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  146. package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  147. package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  148. package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  149. package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  150. package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  151. package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  152. package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  153. package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  154. package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  155. package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  156. package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  157. package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  158. package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  159. package/dist/css/B-attovs.chunk.css +0 -9
  160. package/dist/css/B1NucFMn.chunk.css +0 -1
  161. package/dist/css/BPdg7JW4.chunk.css +0 -1
  162. package/dist/css/BPrUSCaY.chunk.css +0 -1
  163. package/dist/css/BR0fUt9D.chunk.css +0 -1
  164. package/dist/css/BhYm6SRm.chunk.css +0 -1
  165. package/dist/css/BiRz4h1c.chunk.css +0 -1
  166. package/dist/css/Bq1ChJn4.chunk.css +0 -1
  167. package/dist/css/Bt85j9js.chunk.css +0 -1
  168. package/dist/css/BuYrqi9E.chunk.css +0 -1
  169. package/dist/css/BugV1Bpa.chunk.css +0 -1
  170. package/dist/css/BuuVPl7n.chunk.css +0 -1
  171. package/dist/css/C1NkrNqQ.chunk.css +0 -1
  172. package/dist/css/C1qv5jz5.chunk.css +0 -1
  173. package/dist/css/C7XoyEPr.chunk.css +0 -1
  174. package/dist/css/C7_MDu56.chunk.css +0 -1
  175. package/dist/css/CC5F5C8O.chunk.css +0 -1
  176. package/dist/css/CChSC6Ta.chunk.css +0 -1
  177. package/dist/css/CCsCPLDG.chunk.css +0 -1
  178. package/dist/css/CD1qrI1T.chunk.css +0 -1
  179. package/dist/css/CKqvCBj4.chunk.css +0 -1
  180. package/dist/css/CLZ0Ycds.chunk.css +0 -1
  181. package/dist/css/CO7M4rZW.chunk.css +0 -1
  182. package/dist/css/CY0yvCW4.chunk.css +0 -1
  183. package/dist/css/CYGsw8FT.chunk.css +0 -1
  184. package/dist/css/Cbi3KYBa.chunk.css +0 -1
  185. package/dist/css/CliS8Q8r.chunk.css +0 -1
  186. package/dist/css/D-kQKsZN.chunk.css +0 -1
  187. package/dist/css/D2NwUVrK.chunk.css +0 -1
  188. package/dist/css/D4g1IoUU.chunk.css +0 -1
  189. package/dist/css/DBgpcO3T.chunk.css +0 -1
  190. package/dist/css/DDnpOnVB.chunk.css +0 -1
  191. package/dist/css/DZJSONGP.chunk.css +0 -1
  192. package/dist/css/Dc0zNt2E.chunk.css +0 -1
  193. package/dist/css/DeAfaPiD.chunk.css +0 -1
  194. package/dist/css/Dj731zLm.chunk.css +0 -1
  195. package/dist/css/DjPPxa0A.chunk.css +0 -1
  196. package/dist/css/DlOtoSz0.chunk.css +0 -1
  197. package/dist/css/DwduQat7.chunk.css +0 -1
  198. package/dist/css/Dzuu2GTx.chunk.css +0 -1
  199. package/dist/css/JAvsJreH.chunk.css +0 -1
  200. package/dist/css/NKlFYVOc.chunk.css +0 -1
  201. package/dist/css/VZd8qGtK.chunk.css +0 -1
  202. package/dist/css/Y7U--2na.chunk.css +0 -1
  203. package/dist/css/ir3IcK_l.chunk.css +0 -1
  204. package/dist/css/jbMisi9r.chunk.css +0 -1
  205. package/dist/css/kS5aDtIJ.chunk.css +0 -1
  206. package/dist/css/mqCL1o7m.chunk.css +0 -1
  207. package/dist/css/qZzkUeZk.chunk.css +0 -1
  208. package/dist/css/sC_H3yXE.chunk.css +0 -1
  209. package/dist/css/wR_6C_NV.chunk.css +0 -1
  210. package/dist/en.json +0 -1
  211. package/dist/scripts/-Oi3rE3V.chunk.js +0 -5
  212. package/dist/scripts/-Oi3rE3V.chunk.js.map +0 -1
  213. package/dist/scripts/-cwk-1Iv.chunk.js +0 -2
  214. package/dist/scripts/-cwk-1Iv.chunk.js.map +0 -1
  215. package/dist/scripts/4oi1ldJ4.chunk.js +0 -3
  216. package/dist/scripts/4oi1ldJ4.chunk.js.map +0 -1
  217. package/dist/scripts/6UeJLeAd.chunk.js +0 -2
  218. package/dist/scripts/6UeJLeAd.chunk.js.map +0 -1
  219. package/dist/scripts/8zar0u1i.chunk.js +0 -2
  220. package/dist/scripts/8zar0u1i.chunk.js.map +0 -1
  221. package/dist/scripts/9NIa7Pi_.chunk.js +0 -2
  222. package/dist/scripts/9NIa7Pi_.chunk.js.map +0 -1
  223. package/dist/scripts/B5OOLcT3.chunk.js +0 -2
  224. package/dist/scripts/B5OOLcT3.chunk.js.map +0 -1
  225. package/dist/scripts/B8XJmK96.chunk.js +0 -8
  226. package/dist/scripts/B8XJmK96.chunk.js.map +0 -1
  227. package/dist/scripts/BA6k9XoA.chunk.js +0 -2
  228. package/dist/scripts/BA6k9XoA.chunk.js.map +0 -1
  229. package/dist/scripts/BBnDr_iy.chunk.js +0 -2
  230. package/dist/scripts/BBnDr_iy.chunk.js.map +0 -1
  231. package/dist/scripts/BEL0opwe.chunk.js +0 -2
  232. package/dist/scripts/BEL0opwe.chunk.js.map +0 -1
  233. package/dist/scripts/BHmtLW9C.chunk.js +0 -2
  234. package/dist/scripts/BHmtLW9C.chunk.js.map +0 -1
  235. package/dist/scripts/BJ0C6oH6.chunk.js +0 -2
  236. package/dist/scripts/BJ0C6oH6.chunk.js.map +0 -1
  237. package/dist/scripts/BPcJv8Nj.chunk.js +0 -2
  238. package/dist/scripts/BPcJv8Nj.chunk.js.map +0 -1
  239. package/dist/scripts/BQQ9SPei.chunk.js +0 -10
  240. package/dist/scripts/BQQ9SPei.chunk.js.map +0 -1
  241. package/dist/scripts/BQQZ0Zva.chunk.js +0 -2
  242. package/dist/scripts/BQQZ0Zva.chunk.js.map +0 -1
  243. package/dist/scripts/BRKKXF-k.chunk.js +0 -2
  244. package/dist/scripts/BRKKXF-k.chunk.js.map +0 -1
  245. package/dist/scripts/BUhbk0mt.chunk.js +0 -2
  246. package/dist/scripts/BUhbk0mt.chunk.js.map +0 -1
  247. package/dist/scripts/BXKrMYdw.chunk.js +0 -2
  248. package/dist/scripts/BXKrMYdw.chunk.js.map +0 -1
  249. package/dist/scripts/B_eK8A25.chunk.js +0 -2
  250. package/dist/scripts/B_eK8A25.chunk.js.map +0 -1
  251. package/dist/scripts/BbjveACT.chunk.js +0 -2
  252. package/dist/scripts/BbjveACT.chunk.js.map +0 -1
  253. package/dist/scripts/BdHxGaRy.chunk.js +0 -2
  254. package/dist/scripts/BdHxGaRy.chunk.js.map +0 -1
  255. package/dist/scripts/BeHz9c4V.chunk.js +0 -2
  256. package/dist/scripts/BeHz9c4V.chunk.js.map +0 -1
  257. package/dist/scripts/BexFb8rj.chunk.js +0 -2
  258. package/dist/scripts/BexFb8rj.chunk.js.map +0 -1
  259. package/dist/scripts/Bi8YRFeY.chunk.js +0 -2
  260. package/dist/scripts/Bi8YRFeY.chunk.js.map +0 -1
  261. package/dist/scripts/Bj3i6I7i.chunk.js +0 -2
  262. package/dist/scripts/Bj3i6I7i.chunk.js.map +0 -1
  263. package/dist/scripts/BktU87GA.chunk.js +0 -2
  264. package/dist/scripts/BktU87GA.chunk.js.map +0 -1
  265. package/dist/scripts/Bl1HvG0b.chunk.js +0 -2
  266. package/dist/scripts/Bl1HvG0b.chunk.js.map +0 -1
  267. package/dist/scripts/BnWlQ7-4.chunk.js +0 -2
  268. package/dist/scripts/BnWlQ7-4.chunk.js.map +0 -1
  269. package/dist/scripts/BoqzK1u7.chunk.js +0 -2
  270. package/dist/scripts/BoqzK1u7.chunk.js.map +0 -1
  271. package/dist/scripts/Bsa3zcW0.chunk.js +0 -2
  272. package/dist/scripts/Bsa3zcW0.chunk.js.map +0 -1
  273. package/dist/scripts/Bt3kaRtU.chunk.js +0 -6
  274. package/dist/scripts/Bt3kaRtU.chunk.js.map +0 -1
  275. package/dist/scripts/BtiKTu8r.chunk.js +0 -2
  276. package/dist/scripts/BtiKTu8r.chunk.js.map +0 -1
  277. package/dist/scripts/BwOoIPmc.chunk.js +0 -2
  278. package/dist/scripts/BwOoIPmc.chunk.js.map +0 -1
  279. package/dist/scripts/BwuSNwcs.chunk.js +0 -2
  280. package/dist/scripts/BwuSNwcs.chunk.js.map +0 -1
  281. package/dist/scripts/Byn8R7bs.chunk.js +0 -2
  282. package/dist/scripts/Byn8R7bs.chunk.js.map +0 -1
  283. package/dist/scripts/C2Zu5vKc.chunk.js +0 -2
  284. package/dist/scripts/C2Zu5vKc.chunk.js.map +0 -1
  285. package/dist/scripts/C2uxO8e2.chunk.js +0 -2
  286. package/dist/scripts/C2uxO8e2.chunk.js.map +0 -1
  287. package/dist/scripts/C35NlkUr.chunk.js +0 -2
  288. package/dist/scripts/C35NlkUr.chunk.js.map +0 -1
  289. package/dist/scripts/C5QPXJGU.chunk.js +0 -15
  290. package/dist/scripts/C5QPXJGU.chunk.js.map +0 -1
  291. package/dist/scripts/C6mGMCz4.chunk.js +0 -2
  292. package/dist/scripts/C6mGMCz4.chunk.js.map +0 -1
  293. package/dist/scripts/C8ZuWYfb.chunk.js +0 -2
  294. package/dist/scripts/C8ZuWYfb.chunk.js.map +0 -1
  295. package/dist/scripts/CEmtkty-.chunk.js +0 -2
  296. package/dist/scripts/CEmtkty-.chunk.js.map +0 -1
  297. package/dist/scripts/CICkmQW6.chunk.js +0 -2
  298. package/dist/scripts/CICkmQW6.chunk.js.map +0 -1
  299. package/dist/scripts/CLumRL-T.chunk.js +0 -2
  300. package/dist/scripts/CLumRL-T.chunk.js.map +0 -1
  301. package/dist/scripts/CO_D2O4I.chunk.js +0 -2
  302. package/dist/scripts/CO_D2O4I.chunk.js.map +0 -1
  303. package/dist/scripts/CPXlV0fg.chunk.js +0 -2
  304. package/dist/scripts/CPXlV0fg.chunk.js.map +0 -1
  305. package/dist/scripts/CQZOieOF.chunk.js +0 -2
  306. package/dist/scripts/CQZOieOF.chunk.js.map +0 -1
  307. package/dist/scripts/CQoWqq54.chunk.js +0 -2
  308. package/dist/scripts/CQoWqq54.chunk.js.map +0 -1
  309. package/dist/scripts/CRT9qru0.chunk.js +0 -2
  310. package/dist/scripts/CRT9qru0.chunk.js.map +0 -1
  311. package/dist/scripts/CU6iZ8MR.chunk.js +0 -2
  312. package/dist/scripts/CU6iZ8MR.chunk.js.map +0 -1
  313. package/dist/scripts/CUltMbyK.chunk.js +0 -2
  314. package/dist/scripts/CUltMbyK.chunk.js.map +0 -1
  315. package/dist/scripts/CW7x8M-z.chunk.js +0 -2
  316. package/dist/scripts/CW7x8M-z.chunk.js.map +0 -1
  317. package/dist/scripts/CYlwi5iC.chunk.js +0 -7
  318. package/dist/scripts/CYlwi5iC.chunk.js.map +0 -1
  319. package/dist/scripts/CgJckl-g.chunk.js +0 -2
  320. package/dist/scripts/CgJckl-g.chunk.js.map +0 -1
  321. package/dist/scripts/Cj5ETNHP.chunk.js +0 -2
  322. package/dist/scripts/Cj5ETNHP.chunk.js.map +0 -1
  323. package/dist/scripts/Cmu1J2M7.chunk.js +0 -262
  324. package/dist/scripts/Cmu1J2M7.chunk.js.map +0 -1
  325. package/dist/scripts/Cr8fUgj9.chunk.js +0 -2
  326. package/dist/scripts/Cr8fUgj9.chunk.js.map +0 -1
  327. package/dist/scripts/CtM_cXum.chunk.js +0 -2
  328. package/dist/scripts/CtM_cXum.chunk.js.map +0 -1
  329. package/dist/scripts/Cv1FGdNu.chunk.js +0 -2
  330. package/dist/scripts/Cv1FGdNu.chunk.js.map +0 -1
  331. package/dist/scripts/CvPDjx7y.chunk.js +0 -2
  332. package/dist/scripts/CvPDjx7y.chunk.js.map +0 -1
  333. package/dist/scripts/D0bydDVL.chunk.js +0 -2
  334. package/dist/scripts/D0bydDVL.chunk.js.map +0 -1
  335. package/dist/scripts/D1EE4AEz.chunk.js +0 -356
  336. package/dist/scripts/D1EE4AEz.chunk.js.map +0 -1
  337. package/dist/scripts/D84-WY3k.chunk.js +0 -2
  338. package/dist/scripts/D84-WY3k.chunk.js.map +0 -1
  339. package/dist/scripts/DAh7Ea13.chunk.js +0 -2
  340. package/dist/scripts/DAh7Ea13.chunk.js.map +0 -1
  341. package/dist/scripts/DBIkG3Bu.chunk.js +0 -2
  342. package/dist/scripts/DBIkG3Bu.chunk.js.map +0 -1
  343. package/dist/scripts/DCcI7sWt.chunk.js +0 -2
  344. package/dist/scripts/DCcI7sWt.chunk.js.map +0 -1
  345. package/dist/scripts/DEP24A-f.chunk.js +0 -2
  346. package/dist/scripts/DEP24A-f.chunk.js.map +0 -1
  347. package/dist/scripts/DGFORsAE.chunk.js +0 -2
  348. package/dist/scripts/DGFORsAE.chunk.js.map +0 -1
  349. package/dist/scripts/DGaf-Jy9.chunk.js +0 -2
  350. package/dist/scripts/DGaf-Jy9.chunk.js.map +0 -1
  351. package/dist/scripts/DJyZ6Hx7.chunk.js +0 -2
  352. package/dist/scripts/DJyZ6Hx7.chunk.js.map +0 -1
  353. package/dist/scripts/DOCam-GK.chunk.js +0 -2
  354. package/dist/scripts/DOCam-GK.chunk.js.map +0 -1
  355. package/dist/scripts/DSLX3H2r.chunk.js +0 -2
  356. package/dist/scripts/DSLX3H2r.chunk.js.map +0 -1
  357. package/dist/scripts/DSq4f4jm.chunk.js +0 -2
  358. package/dist/scripts/DSq4f4jm.chunk.js.map +0 -1
  359. package/dist/scripts/DXxBqeLg.chunk.js +0 -2
  360. package/dist/scripts/DXxBqeLg.chunk.js.map +0 -1
  361. package/dist/scripts/DZ6Jrm23.chunk.js +0 -2
  362. package/dist/scripts/DZ6Jrm23.chunk.js.map +0 -1
  363. package/dist/scripts/Daes5Wgy.chunk.js +0 -2
  364. package/dist/scripts/Daes5Wgy.chunk.js.map +0 -1
  365. package/dist/scripts/DeUbJqVo.chunk.js +0 -2
  366. package/dist/scripts/DeUbJqVo.chunk.js.map +0 -1
  367. package/dist/scripts/DgEqkZy0.chunk.js +0 -8
  368. package/dist/scripts/DgEqkZy0.chunk.js.map +0 -1
  369. package/dist/scripts/DhB-Uugx.chunk.js +0 -2
  370. package/dist/scripts/DhB-Uugx.chunk.js.map +0 -1
  371. package/dist/scripts/DhqAA1wT.chunk.js +0 -2
  372. package/dist/scripts/DhqAA1wT.chunk.js.map +0 -1
  373. package/dist/scripts/Di5-l4QJ.chunk.js +0 -2
  374. package/dist/scripts/Di5-l4QJ.chunk.js.map +0 -1
  375. package/dist/scripts/DiQkAtUx.chunk.js +0 -53
  376. package/dist/scripts/DiQkAtUx.chunk.js.map +0 -1
  377. package/dist/scripts/DireiQEp.chunk.js +0 -2
  378. package/dist/scripts/DireiQEp.chunk.js.map +0 -1
  379. package/dist/scripts/Dj66TI5y.chunk.js +0 -2
  380. package/dist/scripts/Dj66TI5y.chunk.js.map +0 -1
  381. package/dist/scripts/DkFkYS-j.chunk.js +0 -2
  382. package/dist/scripts/DkFkYS-j.chunk.js.map +0 -1
  383. package/dist/scripts/Dkq5GtOV.chunk.js +0 -2
  384. package/dist/scripts/Dkq5GtOV.chunk.js.map +0 -1
  385. package/dist/scripts/DmSSmUHZ.chunk.js +0 -2
  386. package/dist/scripts/DmSSmUHZ.chunk.js.map +0 -1
  387. package/dist/scripts/DoQU9vjn.chunk.js +0 -2
  388. package/dist/scripts/DoQU9vjn.chunk.js.map +0 -1
  389. package/dist/scripts/DtHh_hpg.chunk.js +0 -2
  390. package/dist/scripts/DtHh_hpg.chunk.js.map +0 -1
  391. package/dist/scripts/DvDdiDQN.chunk.js +0 -7
  392. package/dist/scripts/DvDdiDQN.chunk.js.map +0 -1
  393. package/dist/scripts/DwhG2uva.chunk.js +0 -2
  394. package/dist/scripts/DwhG2uva.chunk.js.map +0 -1
  395. package/dist/scripts/DxJlWHZr.chunk.js +0 -2
  396. package/dist/scripts/DxJlWHZr.chunk.js.map +0 -1
  397. package/dist/scripts/DxmeZ4C9.chunk.js +0 -2
  398. package/dist/scripts/DxmeZ4C9.chunk.js.map +0 -1
  399. package/dist/scripts/KuveJuNy.chunk.js +0 -2
  400. package/dist/scripts/KuveJuNy.chunk.js.map +0 -1
  401. package/dist/scripts/LKCLmV2A.chunk.js +0 -2
  402. package/dist/scripts/LKCLmV2A.chunk.js.map +0 -1
  403. package/dist/scripts/RnuR8yr3.chunk.js +0 -2
  404. package/dist/scripts/RnuR8yr3.chunk.js.map +0 -1
  405. package/dist/scripts/XxrnElSv.chunk.js +0 -2
  406. package/dist/scripts/XxrnElSv.chunk.js.map +0 -1
  407. package/dist/scripts/YF_QoXEj.chunk.js +0 -3
  408. package/dist/scripts/YF_QoXEj.chunk.js.map +0 -1
  409. package/dist/scripts/Z2sDSVPb.chunk.js +0 -2
  410. package/dist/scripts/Z2sDSVPb.chunk.js.map +0 -1
  411. package/dist/scripts/Zbze2j9b.chunk.js +0 -2
  412. package/dist/scripts/Zbze2j9b.chunk.js.map +0 -1
  413. package/dist/scripts/app-C56EnOMP.js +0 -216
  414. package/dist/scripts/app-C56EnOMP.js.map +0 -1
  415. package/dist/scripts/cvX-F_mx.chunk.js +0 -2
  416. package/dist/scripts/cvX-F_mx.chunk.js.map +0 -1
  417. package/dist/scripts/h34ZSRKe.chunk.js +0 -2
  418. package/dist/scripts/h34ZSRKe.chunk.js.map +0 -1
  419. package/dist/scripts/leubTuJo.chunk.js +0 -2
  420. package/dist/scripts/leubTuJo.chunk.js.map +0 -1
  421. package/dist/scripts/m5XtnRaH.chunk.js +0 -2
  422. package/dist/scripts/m5XtnRaH.chunk.js.map +0 -1
  423. package/dist/scripts/nay4aGaa.chunk.js +0 -2
  424. package/dist/scripts/nay4aGaa.chunk.js.map +0 -1
  425. package/dist/scripts/p61U8kXz.chunk.js +0 -2
  426. package/dist/scripts/p61U8kXz.chunk.js.map +0 -1
  427. package/dist/scripts/pkzD5BEm.chunk.js +0 -2
  428. package/dist/scripts/pkzD5BEm.chunk.js.map +0 -1
  429. package/dist/scripts/sc9-PV9Y.chunk.js +0 -2
  430. package/dist/scripts/sc9-PV9Y.chunk.js.map +0 -1
  431. package/dist/scripts/tAsRziXo.chunk.js +0 -8
  432. package/dist/scripts/tAsRziXo.chunk.js.map +0 -1
  433. package/dist/scripts/xrHhD6CF.chunk.js +0 -8
  434. package/dist/scripts/xrHhD6CF.chunk.js.map +0 -1
  435. package/dist/scripts/xxo027lm.chunk.js +0 -2
  436. package/dist/scripts/xxo027lm.chunk.js.map +0 -1
  437. package/vite.config.ts +0 -6
@@ -1,7 +0,0 @@
1
- var Qe={exports:{}};/*! For license information please see app.js.LICENSE.txt */var fn;function Jn(){return fn||(fn=1,(function(bn,Xn){(function(pe,Ce){bn.exports=Ce()})(self,(()=>(()=>{var pe,Ce,tn={8322:_=>{_.exports=(function(N){var h=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(r,e){var t=r[0],n=r[1],l=r[2],u=r[3];n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&l|~n&u)+e[0]-680876936|0)<<7|t>>>25)+n|0)&n|~t&l)+e[1]-389564586|0)<<12|u>>>20)+t|0)&t|~u&n)+e[2]+606105819|0)<<17|l>>>15)+u|0)&u|~l&t)+e[3]-1044525330|0)<<22|n>>>10)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&l|~n&u)+e[4]-176418897|0)<<7|t>>>25)+n|0)&n|~t&l)+e[5]+1200080426|0)<<12|u>>>20)+t|0)&t|~u&n)+e[6]-1473231341|0)<<17|l>>>15)+u|0)&u|~l&t)+e[7]-45705983|0)<<22|n>>>10)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&l|~n&u)+e[8]+1770035416|0)<<7|t>>>25)+n|0)&n|~t&l)+e[9]-1958414417|0)<<12|u>>>20)+t|0)&t|~u&n)+e[10]-42063|0)<<17|l>>>15)+u|0)&u|~l&t)+e[11]-1990404162|0)<<22|n>>>10)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&l|~n&u)+e[12]+1804603682|0)<<7|t>>>25)+n|0)&n|~t&l)+e[13]-40341101|0)<<12|u>>>20)+t|0)&t|~u&n)+e[14]-1502002290|0)<<17|l>>>15)+u|0)&u|~l&t)+e[15]+1236535329|0)<<22|n>>>10)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&u|l&~u)+e[1]-165796510|0)<<5|t>>>27)+n|0)&l|n&~l)+e[6]-1069501632|0)<<9|u>>>23)+t|0)&n|t&~n)+e[11]+643717713|0)<<14|l>>>18)+u|0)&t|u&~t)+e[0]-373897302|0)<<20|n>>>12)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&u|l&~u)+e[5]-701558691|0)<<5|t>>>27)+n|0)&l|n&~l)+e[10]+38016083|0)<<9|u>>>23)+t|0)&n|t&~n)+e[15]-660478335|0)<<14|l>>>18)+u|0)&t|u&~t)+e[4]-405537848|0)<<20|n>>>12)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&u|l&~u)+e[9]+568446438|0)<<5|t>>>27)+n|0)&l|n&~l)+e[14]-1019803690|0)<<9|u>>>23)+t|0)&n|t&~n)+e[3]-187363961|0)<<14|l>>>18)+u|0)&t|u&~t)+e[8]+1163531501|0)<<20|n>>>12)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n&u|l&~u)+e[13]-1444681467|0)<<5|t>>>27)+n|0)&l|n&~l)+e[2]-51403784|0)<<9|u>>>23)+t|0)&n|t&~n)+e[7]+1735328473|0)<<14|l>>>18)+u|0)&t|u&~t)+e[12]-1926607734|0)<<20|n>>>12)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n^l^u)+e[5]-378558|0)<<4|t>>>28)+n|0)^n^l)+e[8]-2022574463|0)<<11|u>>>21)+t|0)^t^n)+e[11]+1839030562|0)<<16|l>>>16)+u|0)^u^t)+e[14]-35309556|0)<<23|n>>>9)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n^l^u)+e[1]-1530992060|0)<<4|t>>>28)+n|0)^n^l)+e[4]+1272893353|0)<<11|u>>>21)+t|0)^t^n)+e[7]-155497632|0)<<16|l>>>16)+u|0)^u^t)+e[10]-1094730640|0)<<23|n>>>9)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n^l^u)+e[13]+681279174|0)<<4|t>>>28)+n|0)^n^l)+e[0]-358537222|0)<<11|u>>>21)+t|0)^t^n)+e[3]-722521979|0)<<16|l>>>16)+u|0)^u^t)+e[6]+76029189|0)<<23|n>>>9)+l|0,n=((n+=((l=((l+=((u=((u+=((t=((t+=(n^l^u)+e[9]-640364487|0)<<4|t>>>28)+n|0)^n^l)+e[12]-421815835|0)<<11|u>>>21)+t|0)^t^n)+e[15]+530742520|0)<<16|l>>>16)+u|0)^u^t)+e[2]-995338651|0)<<23|n>>>9)+l|0,n=((n+=((u=((u+=(n^((t=((t+=(l^(n|~u))+e[0]-198630844|0)<<6|t>>>26)+n|0)|~l))+e[7]+1126891415|0)<<10|u>>>22)+t|0)^((l=((l+=(t^(u|~n))+e[14]-1416354905|0)<<15|l>>>17)+u|0)|~t))+e[5]-57434055|0)<<21|n>>>11)+l|0,n=((n+=((u=((u+=(n^((t=((t+=(l^(n|~u))+e[12]+1700485571|0)<<6|t>>>26)+n|0)|~l))+e[3]-1894986606|0)<<10|u>>>22)+t|0)^((l=((l+=(t^(u|~n))+e[10]-1051523|0)<<15|l>>>17)+u|0)|~t))+e[1]-2054922799|0)<<21|n>>>11)+l|0,n=((n+=((u=((u+=(n^((t=((t+=(l^(n|~u))+e[8]+1873313359|0)<<6|t>>>26)+n|0)|~l))+e[15]-30611744|0)<<10|u>>>22)+t|0)^((l=((l+=(t^(u|~n))+e[6]-1560198380|0)<<15|l>>>17)+u|0)|~t))+e[13]+1309151649|0)<<21|n>>>11)+l|0,n=((n+=((u=((u+=(n^((t=((t+=(l^(n|~u))+e[4]-145523070|0)<<6|t>>>26)+n|0)|~l))+e[11]-1120210379|0)<<10|u>>>22)+t|0)^((l=((l+=(t^(u|~n))+e[2]+718787259|0)<<15|l>>>17)+u|0)|~t))+e[9]-343485551|0)<<21|n>>>11)+l|0,r[0]=t+r[0]|0,r[1]=n+r[1]|0,r[2]=l+r[2]|0,r[3]=u+r[3]|0}function g(r){var e,t=[];for(e=0;e<64;e+=4)t[e>>2]=r.charCodeAt(e)+(r.charCodeAt(e+1)<<8)+(r.charCodeAt(e+2)<<16)+(r.charCodeAt(e+3)<<24);return t}function b(r){var e,t=[];for(e=0;e<64;e+=4)t[e>>2]=r[e]+(r[e+1]<<8)+(r[e+2]<<16)+(r[e+3]<<24);return t}function f(r){var e,t,n,l,u,v,p=r.length,y=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=p;e+=64)i(y,g(r.substring(e-64,e)));for(t=(r=r.substring(e-64)).length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<t;e+=1)n[e>>2]|=r.charCodeAt(e)<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(i(y,n),e=0;e<16;e+=1)n[e]=0;return l=(l=8*p).toString(16).match(/(.*?)(.{0,8})$/),u=parseInt(l[2],16),v=parseInt(l[1],16)||0,n[14]=u,n[15]=v,i(y,n),y}function s(r){var e,t="";for(e=0;e<4;e+=1)t+=h[r>>8*e+4&15]+h[r>>8*e&15];return t}function k(r){var e;for(e=0;e<r.length;e+=1)r[e]=s(r[e]);return r.join("")}function a(r){return/[\u0080-\uFFFF]/.test(r)&&(r=unescape(encodeURIComponent(r))),r}function A(r){var e,t=[],n=r.length;for(e=0;e<n-1;e+=2)t.push(parseInt(r.substr(e,2),16));return String.fromCharCode.apply(String,t)}function c(){this.reset()}return k(f("hello")),typeof ArrayBuffer>"u"||ArrayBuffer.prototype.slice||(function(){function r(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(e,t){var n,l,u,v,p=this.byteLength,y=r(e,p),C=p;return t!==void 0&&(C=r(t,p)),y>C?new ArrayBuffer(0):(n=C-y,l=new ArrayBuffer(n),u=new Uint8Array(l),v=new Uint8Array(this,y,n),u.set(v),l)}})(),c.prototype.append=function(r){return this.appendBinary(a(r)),this},c.prototype.appendBinary=function(r){this._buff+=r,this._length+=r.length;var e,t=this._buff.length;for(e=64;e<=t;e+=64)i(this._hash,g(this._buff.substring(e-64,e)));return this._buff=this._buff.substring(e-64),this},c.prototype.end=function(r){var e,t,n=this._buff,l=n.length,u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<l;e+=1)u[e>>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(u,l),t=k(this._hash),r&&(t=A(t)),this.reset(),t},c.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},c.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},c.prototype.setState=function(r){return this._buff=r.buff,this._length=r.length,this._hash=r.hash,this},c.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},c.prototype._finish=function(r,e){var t,n,l,u=e;if(r[u>>2]|=128<<(u%4<<3),u>55)for(i(this._hash,r),u=0;u<16;u+=1)r[u]=0;t=(t=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(t[2],16),l=parseInt(t[1],16)||0,r[14]=n,r[15]=l,i(this._hash,r)},c.hash=function(r,e){return c.hashBinary(a(r),e)},c.hashBinary=function(r,e){var t=k(f(r));return e?A(t):t},c.ArrayBuffer=function(){this.reset()},c.ArrayBuffer.prototype.append=function(r){var e,t,n,l,u,v=(t=this._buff.buffer,n=r,l=!0,(u=new Uint8Array(t.byteLength+n.byteLength)).set(new Uint8Array(t)),u.set(new Uint8Array(n),t.byteLength),l?u:u.buffer),p=v.length;for(this._length+=r.byteLength,e=64;e<=p;e+=64)i(this._hash,b(v.subarray(e-64,e)));return this._buff=e-64<p?new Uint8Array(v.buffer.slice(e-64)):new Uint8Array(0),this},c.ArrayBuffer.prototype.end=function(r){var e,t,n=this._buff,l=n.length,u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<l;e+=1)u[e>>2]|=n[e]<<(e%4<<3);return this._finish(u,l),t=k(this._hash),r&&(t=A(t)),this.reset(),t},c.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},c.ArrayBuffer.prototype.getState=function(){var r,e=c.prototype.getState.call(this);return e.buff=(r=e.buff,String.fromCharCode.apply(null,new Uint8Array(r))),e},c.ArrayBuffer.prototype.setState=function(r){return r.buff=(function(e,t){var n,l=e.length,u=new ArrayBuffer(l),v=new Uint8Array(u);for(n=0;n<l;n+=1)v[n]=e.charCodeAt(n);return t?v:u})(r.buff,!0),c.prototype.setState.call(this,r)},c.ArrayBuffer.prototype.destroy=c.prototype.destroy,c.ArrayBuffer.prototype._finish=c.prototype._finish,c.ArrayBuffer.hash=function(r,e){var t=k((function(n){var l,u,v,p,y,C,P=n.length,R=[1732584193,-271733879,-1732584194,271733878];for(l=64;l<=P;l+=64)i(R,b(n.subarray(l-64,l)));for(u=(n=l-64<P?n.subarray(l-64):new Uint8Array(0)).length,v=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=0;l<u;l+=1)v[l>>2]|=n[l]<<(l%4<<3);if(v[l>>2]|=128<<(l%4<<3),l>55)for(i(R,v),l=0;l<16;l+=1)v[l]=0;return p=(p=8*P).toString(16).match(/(.*?)(.{0,8})$/),y=parseInt(p[2],16),C=parseInt(p[1],16)||0,v[14]=y,v[15]=C,i(R,v),R})(new Uint8Array(r)));return e?A(t):t},c})()},2730:(_,N,h)=>{h.d(N,{G:()=>i,r:()=>g});const i={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"},g={Ar:"feed_displayed",Ec:"content_cards_displayed"}},7070:(_,N,h)=>{h.d(N,{Z:()=>i});const i={W:function(){const g=(b=!1)=>{const f=(Math.random().toString(16)+"000000000").substr(2,8);return b?"-"+f.substr(0,4)+"-"+f.substr(4,4):f};return g()+g(!0)+g(!0)+g()}}},5522:(_,N,h)=>{h.d(N,{Z:()=>i});class i{constructor(b,f){this.database=b,this.vd=f,this.parent=typeof window>"u"?self:window,this.database=b,this.vd=f}Dd(){if("indexedDB"in this.parent)return this.parent.indexedDB}isSupported(){var b;try{if(this.Dd()==null)return!1;{const f=(b=this.Dd())===null||b===void 0?void 0:b.open("Braze IndexedDB Support Test");if(f&&(f.onupgradeneeded=()=>f.result.close(),f.onsuccess=()=>f.result.close()),typeof window<"u"){const s=window,k=s.chrome||s.browser||s.pd;if(k&&k.runtime&&k.runtime.id)return this.vd.info("Not using IndexedDB for storage because we are running inside an extension"),!1}return!0}}catch(f){return this.vd.info("Not using IndexedDB for storage due to following error: "+f),!1}}Bd(b,f){var s;const k=(s=this.Dd())===null||s===void 0?void 0:s.open(this.database.Sd,this.database.VERSION);if(k==null)return typeof f=="function"&&f(),!1;const a=this;return k.onupgradeneeded=A=>{var c;a.vd.info("Upgrading indexedDB "+a.database.Sd+" to v"+a.database.VERSION+"...");const r=(c=A.target)===null||c===void 0?void 0:c.result;for(const e in a.database.ss){const t=e;a.database.ss.hasOwnProperty(e)&&!r.objectStoreNames.contains(a.database.ss[t])&&r.createObjectStore(a.database.ss[t])}},k.onsuccess=A=>{var c;const r=(c=A.target)===null||c===void 0?void 0:c.result;r.onversionchange=()=>{r.close(),typeof f=="function"&&f(),a.vd.error("Needed to close the database unexpectedly because of an upgrade in another tab")},b(r)},k.onerror=A=>{var c;const r=A;return a.vd.info("Could not open indexedDB "+a.database.Sd+" v"+a.database.VERSION+": "+((c=r.target)===null||c===void 0?void 0:c.errorCode)),typeof f=="function"&&f(),!0},!0}setItem(b,f,s,k,a){if(!this.isSupported())return typeof a=="function"&&a(),!1;const A=this;return this.Bd((c=>{if(!c.objectStoreNames.contains(b))return A.vd.error("Could not store object "+f+" in "+b+" on indexedDB "+A.database.Sd+" - "+b+" is not a valid objectStore"),typeof a=="function"&&a(),void c.close();const r=c.transaction([b],"readwrite");r.oncomplete=()=>c.close();const e=r.objectStore(b).put(s,f);e.onerror=()=>{A.vd.error("Could not store object "+f+" in "+b+" on indexedDB "+A.database.Sd),typeof a=="function"&&a()},e.onsuccess=()=>{typeof k=="function"&&k()}}),a)}getItem(b,f,s){if(!this.isSupported())return!1;const k=this;return this.Bd((a=>{if(!a.objectStoreNames.contains(b))return k.vd.error("Could not retrieve object "+f+" in "+b+" on indexedDB "+k.database.Sd+" - "+b+" is not a valid objectStore"),void a.close();const A=a.transaction([b],"readonly");A.oncomplete=()=>a.close();const c=A.objectStore(b).get(f);c.onerror=()=>{k.vd.error("Could not retrieve object "+f+" in "+b+" on indexedDB "+k.database.Sd)},c.onsuccess=r=>{var e;const t=(e=r.target)===null||e===void 0?void 0:e.result;t!=null&&s(t)}}))}jr(b,f,s){if(!this.isSupported())return typeof s=="function"&&s(),!1;const k=this;return this.Bd((a=>{if(!a.objectStoreNames.contains(b))return k.vd.error("Could not retrieve last record from "+b+" on indexedDB "+k.database.Sd+" - "+b+" is not a valid objectStore"),typeof s=="function"&&s(),void a.close();const A=a.transaction([b],"readonly");A.oncomplete=()=>a.close();const c=A.objectStore(b).openCursor(null,"prev");c.onerror=()=>{k.vd.error("Could not open cursor for "+b+" on indexedDB "+k.database.Sd),typeof s=="function"&&s()},c.onsuccess=r=>{var e;const t=(e=r.target)===null||e===void 0?void 0:e.result;t!=null&&t.value!=null&&t.key!=null?f(t.key,t.value):typeof s=="function"&&s()}}),s)}re(b,f){if(!this.isSupported())return!1;const s=this;return this.Bd((k=>{if(!k.objectStoreNames.contains(b))return s.vd.error("Could not delete record "+f+" from "+b+" on indexedDB "+s.database.Sd+" - "+b+" is not a valid objectStore"),void k.close();const a=k.transaction([b],"readwrite");a.oncomplete=()=>k.close(),a.objectStore(b).delete(f).onerror=()=>{s.vd.error("Could not delete record "+f+" from "+b+" on indexedDB "+s.database.Sd)}}))}Zt(b,f){if(!this.isSupported())return!1;const s=this;return this.Bd((k=>{if(!k.objectStoreNames.contains(b))return s.vd.error("Could not retrieve objects from "+b+" on indexedDB "+s.database.Sd+" - "+b+" is not a valid objectStore"),void k.close();const a=k.transaction([b],"readwrite");a.oncomplete=()=>k.close();const A=a.objectStore(b),c=A.openCursor(),r=[];c.onerror=()=>{r.length>0?(s.vd.info("Cursor closed midway through for "+b+" on indexedDB "+s.database.Sd),f(r)):s.vd.error("Could not open cursor for "+b+" on indexedDB "+s.database.Sd)},c.onsuccess=e=>{var t;const n=(t=e.target)===null||t===void 0?void 0:t.result;n!=null?(n.value!=null&&n.key!=null&&(A.delete(n.key).onsuccess=()=>{r.push(n.value)}),typeof n.continue=="function"&&n.continue()):r.length>0&&f(r)}}))}clearData(){if(!this.isSupported())return!1;const b=[];for(const s in this.database.ss){const k=s;this.database.ss.hasOwnProperty(s)&&this.database.ss[k]!==this.database.ss.ae&&b.push(this.database.ss[k])}const f=this;return this.Bd((function(s){const k=s.transaction(b,"readwrite");k.oncomplete=()=>s.close();for(let a=0;a<b.length;a++){const A=b[a];k.objectStore(A).clear().onerror=function(){f.vd.error("Could not clear "+this.source.name+" on indexedDB "+f.database.Sd)}}k.onerror=function(){f.vd.error("Could not clear object stores on indexedDB "+f.database.Sd)}}))}}i.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:(_,N,h)=>{h.d(N,{Z:()=>g});const i={init:function(b){b===void 0&&i.zg!==void 0||(i.zg=!!b),i.t||(i.t=!0)},destroy:function(){i.t=!1,i.zg=void 0,i.vd=void 0},setLogger:function(b){typeof b=="function"?(i.init(),i.vd=b):i.info("Ignoring setLogger call since logger is not a function")},toggleLogging:function(){i.init(),i.zg?(console.log("Disabling Braze logging"),i.zg=!1):(console.log("Enabled Braze logging"),i.zg=!0)},info:function(b){if(i.zg){const f="Braze: "+b;i.vd!=null?i.vd(f):console.log(f)}},warn:function(b){if(i.zg){const f="Braze SDK Warning: "+b+" (v5.3.1)";i.vd!=null?i.vd(f):console.warn(f)}},error:function(b){if(i.zg){const f="Braze SDK Error: "+b+" (v5.3.1)";i.vd!=null?i.vd(f):console.error(f)}}},g=i},7529:(_,N,h)=>{h.d(N,{Z:()=>r});var i=h(5563),g=h(9179),b=h(4673),f=h(335),s=h(2730),k=h(5966);class a{constructor(t){this.u=t,this.u=t}h(t,n){const l=new b.Z;if(t.p(),t.url==null||t.url==="")return f.Z.info(`Card ${t.id} has no url. Not logging click to Braze servers.`),l;if(n&&t.id&&this.u){const p=this.u.j(k.I.C.v)||{};p[t.id]=!0,this.u.k(k.I.C.v,p)}const u=this.D([t]);if(u==null)return l;const v=n?s.G.I:s.G.$;return g.Z.q(v,u)}B(t){const n=new b.Z;if(!t.N())return f.Z.info(`Card ${t.id} refused this dismissal. Ignoring analytics event.`),n;if(t.id&&this.u){const u=this.u.j(k.I.C.A)||{};u[t.id]=!0,this.u.k(k.I.C.A,u)}const l=this.D([t]);return l==null?n:g.Z.q(s.G.F,l)}G(t,n){const l=new b.Z(!0),u=[],v=[];let p={};this.u&&(p=n?this.u.j(k.I.C.H)||{}:this.u.j(k.I.C.J)||{});for(const P of t)P.K(),P instanceof i.Z?v.push(P):u.push(P),P.id&&(p[P.id]=!0);const y=this.D(u),C=this.D(v);if(y==null&&C==null)return l.L=!1,l;if(this.u&&(n?this.u.k(k.I.C.H,p):this.u.k(k.I.C.J,p)),y!=null){const P=n?s.G.M:s.G.O,R=g.Z.q(P,y);l.P(R)}if(C!=null&&n){const P=g.Z.q(s.G.R,C);l.P(P)}return l}D(t){let n,l=null;for(let u=0;u<t.length;u++)n=t[u].id,n!=null&&n!==""&&(l=l||{},l.ids=l.ids||[],l.ids.push(n));return l}}var A=h(5825);const c={t:!1,i:null,m:()=>(c.o(),c.i||(c.i=new a(A.ZP.l())),c.i),o:()=>{c.t||(A.ZP.g(c),c.t=!0)},destroy:()=>{c.i=null,c.t=!1}},r=c},5608:(_,N,h)=>{h.d(N,{CG:()=>t,Dj:()=>n,Ji:()=>a,Zw:()=>c,pq:()=>r,ql:()=>k,rW:()=>A,sv:()=>e});var i=h(5242),g=h(1507),b=h(420),f=h(2080),s=h(7070);function k(l){return l!=null&&!!l.getAttribute("data-ab-had-top-impression")}function a(l){l!=null&&l.setAttribute("data-ab-had-top-impression","true")}function A(l){return l!=null&&!!l.getAttribute("data-ab-had-bottom-impression")}function c(l){l!=null&&l.setAttribute("data-ab-had-bottom-impression","true")}function r(l){if(l!=null){const u=l.querySelectorAll(".ab-unread-indicator")[0];u!=null&&(u.className+=" read")}}function e(l){return l.getAttribute("data-ab-card-id")}function t(l,u){const v=u.querySelectorAll(".ab-image-area");let p,y=0;v.length>0&&(y=v[0].offsetWidth);for(const C of l)if(p=C.T,p&&C.imageUrl&&typeof C.aspectRatio=="number"){const P=y/C.aspectRatio;P&&(p.style.height=`${P}px`)}}function n(l,u,v){const p=document.createElement("div");p.className="ab-card ab-effect-card "+l._,l.id&&(p.setAttribute("data-ab-card-id",l.id),p.setAttribute("id",l.id)),p.setAttribute("role","article"),p.setAttribute("tabindex","0");let y="",C=!1;l.url&&l.url!==""&&(y=l.url,C=!0);const P=F=>(r(p),C&&(u(l),(0,b.S)(y,v,F)),!1);if(l.pinned){const F=document.createElement("div");F.className="ab-pinned-indicator";const I=document.createElement("i");I.className="fa fa-star",F.appendChild(I),p.appendChild(F)}if(l.imageUrl&&l.imageUrl!==""){const F=document.createElement("div");F.className="ab-image-area";const I=document.createElement("img");if(I.setAttribute("src",l.imageUrl),I.onload=()=>{p.style.height="auto"},(function(U,tt){let H="";U.title||U.description||(H="Feed Image"),tt.setAttribute("alt",H)})(l,I),F.appendChild(I),p.className+=" with-image",C&&!l.S){const U=document.createElement("a");U.setAttribute("href",y),U.onclick=P,U.appendChild(F),p.appendChild(U)}else p.appendChild(F)}const R=document.createElement("div");if(R.className="ab-card-body",l.dismissible){l.logCardDismissal=()=>(0,f.K)(l);const F=(0,i.B)("Dismiss Card",void 0,l.dismissCard.bind(l));p.appendChild(F),(0,g.FZ)(R,g.mQ.U,(I=>{p.className+=" ab-swiped-left",F.onclick(I)})),(0,g.FZ)(R,g.mQ.V,(I=>{p.className+=" ab-swiped-right",F.onclick(I)}))}let B="",M=!1;if(l.title&&l.title!==""&&(B=l.title,M=!0),M){const F=document.createElement("h1");if(F.className="ab-title",F.id=s.Z.W(),p.setAttribute("aria-labelledby",F.id),C){const I=document.createElement("a");I.setAttribute("href",y),I.onclick=P,I.appendChild(document.createTextNode(B)),F.appendChild(I)}else F.appendChild(document.createTextNode(B));R.appendChild(F)}const j=document.createElement("div");if(j.className=M?"ab-description":"ab-description ab-no-title",j.id=s.Z.W(),p.setAttribute("aria-describedby",j.id),l.description&&j.appendChild(document.createTextNode(l.description)),C){const F=document.createElement("div");F.className="ab-url-area";const I=document.createElement("a");I.setAttribute("href",y),l.linkText&&I.appendChild(document.createTextNode(l.linkText)),I.onclick=P,F.appendChild(I),j.appendChild(F)}R.appendChild(j),p.appendChild(R);const G=document.createElement("div");return G.className="ab-unread-indicator",l.viewed&&(G.className+=" read"),p.appendChild(G),l.T=p,p}},1280:(_,N,h)=>{h.d(N,{d:()=>k});var i=h(2857),g=h(7529),b=h(7671),f=h(5825),s=h(335);function k(a,A){return!!f.ZP.X()&&(a instanceof i.Z?g.Z.m().h(a,A).L:(s.Z.error("card "+b.U4),!1))}},2080:(_,N,h)=>{h.d(N,{K:()=>k});var i=h(2857),g=h(7529),b=h(7671),f=h(5825),s=h(335);function k(a){return!!f.ZP.X()&&(a instanceof i.Z?g.Z.m().B(a).L:(s.Z.error("card "+b.U4),!1))}},1066:(_,N,h)=>{h.d(N,{p:()=>a});var i=h(2857),g=h(7529),b=h(5825),f=h(2893),s=h(7671),k=h(335);function a(A,c){if(!b.ZP.X())return!1;if(!(0,f.kJ)(A))return k.Z.error("cards must be an array"),!1;for(const r of A)if(!(r instanceof i.Z))return k.Z.error(`Each card in cards ${s.U4}`),!1;return g.Z.m().G(A,c).L}},2857:(_,N,h)=>{h.d(N,{Z:()=>s});var i=h(7750),g=h(7671),b=h(4663),f=h(335);class s{constructor(a,A,c,r,e,t,n,l,u,v,p,y,C,P,R,B){this.id=a,this.viewed=A,this.title=c,this.imageUrl=r,this.description=e,this.created=t,this.updated=n,this.categories=l,this.expiresAt=u,this.url=v,this.linkText=p,this.aspectRatio=y,this.extras=C,this.pinned=P,this.dismissible=R,this.clicked=B,this.id=a,this.viewed=A||!1,this.title=c||"",this.imageUrl=r,this.description=e||"",this.created=t||null,this.updated=n||null,this.categories=l||[],this.expiresAt=u||null,this.url=v,this.linkText=p,y==null?this.aspectRatio=null:(y=parseFloat(y.toString()),this.aspectRatio=isNaN(y)?null:y),this.extras=C||{},this.pinned=P||!1,this.dismissible=R||!1,this.dismissed=!1,this.clicked=B||!1,this.isControl=!1,this.test=!1,this.Et=null,this.Tt=null}subscribeToClickedEvent(a){return this.Nt().It(a)}subscribeToDismissedEvent(a){return this.St().It(a)}removeSubscription(a){this.Nt().removeSubscription(a),this.St().removeSubscription(a)}removeAllSubscriptions(){this.Nt().removeAllSubscriptions(),this.St().removeAllSubscriptions()}dismissCard(){if(!this.dismissible||this.dismissed)return;typeof this.logCardDismissal=="function"&&this.logCardDismissal();let a=this.T;!a&&this.id&&(a=document.getElementById(this.id)),a&&(a.style.height=a.offsetHeight+"px",a.className=a.className+" ab-hide",setTimeout((function(){a&&a.parentNode&&(a.style.height="0",a.style.margin="0",setTimeout((function(){a&&a.parentNode&&a.parentNode.removeChild(a)}),s.At))}),g.rF))}Nt(){return this.Et==null&&(this.Et=new b.Z),this.Et}St(){return this.Tt==null&&(this.Tt=new b.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(a){if(a==null||a[s.Rt.ht]!==this.id)return!0;if(a[s.Rt.Lt])return!1;if(a[s.Rt.nt]!=null&&this.updated!=null&&parseInt(a[s.Rt.nt])<(0,i.FX)(this.updated.valueOf()))return!0;if(a[s.Rt.et]&&!this.viewed&&(this.viewed=!0),a[s.Rt.zt]&&!this.clicked&&(this.clicked=a[s.Rt.zt]),a[s.Rt.rt]!=null&&(this.title=a[s.Rt.rt]),a[s.Rt.ot]!=null&&(this.imageUrl=a[s.Rt.ot]),a[s.Rt.ct]!=null&&(this.description=a[s.Rt.ct]),a[s.Rt.nt]!=null){const A=(0,i.X2)(a[s.Rt.nt]);A!=null&&(this.updated=A)}if(a[s.Rt.lt]!=null){let A;A=a[s.Rt.lt]===s._t?null:(0,i.X2)(a[s.Rt.lt]),this.expiresAt=A}if(a[s.Rt.URL]!=null&&(this.url=a[s.Rt.URL]),a[s.Rt.ft]!=null&&(this.linkText=a[s.Rt.ft]),a[s.Rt.xt]!=null){const A=parseFloat(a[s.Rt.xt].toString());this.aspectRatio=isNaN(A)?null:A}return a[s.Rt.bt]!=null&&(this.extras=a[s.Rt.bt]),a[s.Rt.gt]!=null&&(this.pinned=a[s.Rt.gt]),a[s.Rt.jt]!=null&&(this.dismissible=a[s.Rt.jt]),a[s.Rt.kt]!=null&&(this.test=a[s.Rt.kt]),!0}Y(){f.Z.error("Must be implemented in a subclass")}}s._t=-1,s.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"},s.it={st:"captioned_image",Ot:"text_announcement",Mt:"short_news",Pt:"banner_image",Ut:"control"},s.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"},s.Gt={Xt:"ADVERTISING",vt:"ANNOUNCEMENTS",Vt:"NEWS",Wt:"SOCIAL"},s.At=400},5563:(_,N,h)=>{h.d(N,{Z:()=>g});var i=h(2857);class g extends i.Z{constructor(f,s,k,a,A,c){super(f,s,null,null,null,null,k,null,a,null,null,null,A,c),this.isControl=!0,this._="ab-control-card",this.S=!1}Y(){const f={};return f[i.Z.tt.Z]=i.Z.it.Ut,f[i.Z.tt.ht]=this.id,f[i.Z.tt.et]=this.viewed,f[i.Z.tt.nt]=this.updated,f[i.Z.tt.lt]=this.expiresAt,f[i.Z.tt.bt]=this.extras,f[i.Z.tt.gt]=this.pinned,f[i.Z.tt.kt]=this.test,f}}},5899:(_,N,h)=>{h.d(N,{xA:()=>c,D5:()=>r,rN:()=>e});var i=h(2857);class g extends i.Z{constructor(n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U){super(n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U),this._="ab-classic-card",this.S=!0}Y(){const n={};return n[i.Z.tt.Z]=i.Z.it.Mt,n[i.Z.tt.ht]=this.id,n[i.Z.tt.et]=this.viewed,n[i.Z.tt.rt]=this.title,n[i.Z.tt.ot]=this.imageUrl,n[i.Z.tt.ct]=this.description,n[i.Z.tt.nt]=this.updated,n[i.Z.tt.dt]=this.created,n[i.Z.tt.ut]=this.categories,n[i.Z.tt.lt]=this.expiresAt,n[i.Z.tt.URL]=this.url,n[i.Z.tt.ft]=this.linkText,n[i.Z.tt.xt]=this.aspectRatio,n[i.Z.tt.bt]=this.extras,n[i.Z.tt.gt]=this.pinned,n[i.Z.tt.jt]=this.dismissible,n[i.Z.tt.zt]=this.clicked,n[i.Z.tt.kt]=this.test,n}}class b extends i.Z{constructor(n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U){super(n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U),this._="ab-captioned-image",this.S=!0,this.test=!1}Y(){const n={};return n[i.Z.tt.Z]=i.Z.it.st,n[i.Z.tt.ht]=this.id,n[i.Z.tt.et]=this.viewed,n[i.Z.tt.rt]=this.title,n[i.Z.tt.ot]=this.imageUrl,n[i.Z.tt.ct]=this.description,n[i.Z.tt.nt]=this.updated,n[i.Z.tt.dt]=this.created,n[i.Z.tt.ut]=this.categories,n[i.Z.tt.lt]=this.expiresAt,n[i.Z.tt.URL]=this.url,n[i.Z.tt.ft]=this.linkText,n[i.Z.tt.xt]=this.aspectRatio,n[i.Z.tt.bt]=this.extras,n[i.Z.tt.gt]=this.pinned,n[i.Z.tt.jt]=this.dismissible,n[i.Z.tt.zt]=this.clicked,n[i.Z.tt.kt]=this.test,n}}class f extends i.Z{constructor(n,l,u,v,p,y,C,P,R,B,M,j,G,F){super(n,l,null,u,null,v,p,y,C,P,R,B,M,j,G,F),this._="ab-image-only",this.S=!1,this.test=!1}Y(){const n={};return n[i.Z.tt.Z]=i.Z.it.Pt,n[i.Z.tt.ht]=this.id,n[i.Z.tt.et]=this.viewed,n[i.Z.tt.ot]=this.imageUrl,n[i.Z.tt.nt]=this.updated,n[i.Z.tt.dt]=this.created,n[i.Z.tt.ut]=this.categories,n[i.Z.tt.lt]=this.expiresAt,n[i.Z.tt.URL]=this.url,n[i.Z.tt.ft]=this.linkText,n[i.Z.tt.xt]=this.aspectRatio,n[i.Z.tt.bt]=this.extras,n[i.Z.tt.gt]=this.pinned,n[i.Z.tt.jt]=this.dismissible,n[i.Z.tt.zt]=this.clicked,n[i.Z.tt.kt]=this.test,n}}var s=h(5563),k=h(7750),a=h(335);function A(t,n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U,tt){let H;if(n===i.Z.it.Ot||n===i.Z.it.Mt)H=new g(t,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U);else if(n===i.Z.it.st)H=new b(t,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U);else if(n===i.Z.it.Pt)H=new f(t,l,v,y,C,P,R,B,M,j,G,F,I,U);else{if(n!==i.Z.it.Ut)return a.Z.error("Ignoring card with unknown type "+n),null;H=new s.Z(t,l,C,R,G,F)}return tt&&(H.test=tt),H}function c(t){if(t[i.Z.Rt.Lt])return null;const n=t[i.Z.Rt.ht],l=t[i.Z.Rt.Z],u=t[i.Z.Rt.et],v=t[i.Z.Rt.rt],p=t[i.Z.Rt.ot],y=t[i.Z.Rt.ct],C=(0,k.X2)(t[i.Z.Rt.nt]),P=C;let R;return R=t[i.Z.Rt.lt]===i.Z._t?null:(0,k.X2)(t[i.Z.Rt.lt]),A(n,l,u,v,p,y,P,C,null,R,t[i.Z.Rt.URL],t[i.Z.Rt.ft],t[i.Z.Rt.xt],t[i.Z.Rt.bt],t[i.Z.Rt.gt],t[i.Z.Rt.jt],t[i.Z.Rt.zt],t[i.Z.Rt.kt]||!1)}function r(t){return A(t.id,t.type,t.viewed,t.title,t.image,t.description,(0,k.X2)(t.created),(0,k.X2)(t.updated),t.categories,(0,k.X2)(t.expires_at),t.url,t.domain,t.aspect_ratio,t.extras,!1,!1)}function e(t){return A(t[i.Z.tt.ht],t[i.Z.tt.Z],t[i.Z.tt.et],t[i.Z.tt.rt],t[i.Z.tt.ot],t[i.Z.tt.ct],(0,k.Rd)(t[i.Z.tt.dt]),(0,k.Rd)(t[i.Z.tt.nt]),t[i.Z.tt.ut],(0,k.Rd)(t[i.Z.tt.lt]),t[i.Z.tt.URL],t[i.Z.tt.ft],t[i.Z.tt.xt],t[i.Z.tt.bt],t[i.Z.tt.gt],t[i.Z.tt.jt],t[i.Z.tt.zt],t[i.Z.tt.kt]||!1)||void 0}},4790:(_,N,h)=>{h.r(N),h.d(N,{changeUser:()=>k});var i=h(5825),g=h(8548),b=h(335),f=h(7615),s=h(3905);function k(a,A){if(!i.ZP.X())return;if(a==null||a.length===0||a!=a)return void b.Z.error("changeUser requires a non-empty userId.");if((0,g.E)(a)>f.Z.lr)return void b.Z.error(`Rejected user id "${a}" because it is longer than ${f.Z.lr} bytes.`);if(A!=null&&!(0,s.ro)(A,"set signature for new user","signature"))return;const c=i.ZP.cr();c&&c.changeUser(a.toString(),i.ZP.gr(),A)}},6243:(_,N,h)=>{h.d(N,{P:()=>g});var i=h(5825);function g(){if(i.ZP.X())return i.ZP.pr()}},420:(_,N,h)=>{h.d(N,{S:()=>r});var i=h(335),g=h(7671),b=h(5825),f=h(3046),s=h(3695),k=h(5806),a=h(3905),A=h(5319),c=h(6243);function r(e,t,n){if(b.ZP.X())if(a.y9.test(e)){const l=(0,f.OL)(e);if(!l)return;const u=v=>{if(!(0,a.zR)(v))return void i.Z.error(`Decoded Braze Action json is invalid: ${JSON.stringify(v,null,2)}`);const p=f.A9.properties.type,y=f.A9.properties.oo,C=f.A9.properties.eo,P=v[p];if(P===f.A9.types.ro){const R=v[y];for(const B of R)u(B)}else{const R=v[C];let B,M;switch(P){case f.A9.types.logCustomEvent:Promise.resolve().then(h.bind(h,1454)).then((({logCustomEvent:j})=>{b.ZP.so()?(M=Array.prototype.slice.call(R),j(...M)):i.Z.error(g.Go)}));break;case f.A9.types.requestPushPermission:Promise.resolve().then(h.bind(h,2261)).then((({requestPushPermission:j})=>{b.ZP.so()?s.Z.browser==="Safari"&&s.Z.OS===k.T.io?window.navigator.standalone&&j():j():i.Z.error(g.Go)}));break;case f.A9.types.setEmailNotificationSubscriptionType:case f.A9.types.setPushNotificationSubscriptionType:case f.A9.types.setCustomUserAttribute:case f.A9.types.addToSubscriptionGroup:case f.A9.types.removeFromSubscriptionGroup:case f.A9.types.addToCustomAttributeArray:case f.A9.types.removeFromCustomAttributeArray:B=(0,c.P)(),B&&B[P](...Array.prototype.slice.call(R));break;case f.A9.types.no:case f.A9.types.ao:M=Array.prototype.slice.call(R),A.SD.openUri(...M);break;default:i.Z.info(`Ignoring unknown Braze Action: ${P}`)}}};u(l)}else A.SD.openUri(e,t,n)}},1454:(_,N,h)=>{h.r(N),h.d(N,{logCustomEvent:()=>c});var i=h(5825),g=h(9179),b=h(335),f=h(2730),s=h(4365),k=h(9342),a=h(3905),A=h(7671);function c(r,e){if(!i.ZP.X())return!1;if(r==null||r.length<=0)return b.Z.error(`logCustomEvent requires a non-empty eventName, got "${r}". Ignoring event.`),!1;if(!(0,a.zM)(r,"log custom event","the event name"))return!1;const[t,n]=(0,a.lg)(e,A._P,"eventProperties",`log custom event "${r}"`,"event");if(!t)return!1;const l=i.ZP.ir();if(l&&l.me(r))return b.Z.info(`Custom Event "${r}" is blocklisted, ignoring.`),!1;const u=g.Z.q(f.G.CustomEvent,{n:r,p:n});if(u.L){b.Z.info(`Logged custom event "${r}".`);for(const v of u.ge)k.n.rr().fe(s.Z.ue,[r,e],v)}return u.L}},4650:(_,N,h)=>{h.r(N),h.d(N,{requestImmediateDataFlush:()=>g});var i=h(5825);function g(b){if(!i.ZP.X())return;const f=i.ZP.cr();f&&f.requestImmediateDataFlush(b)}},3340:(_,N,h)=>{h.d(N,{V:()=>r,q:()=>c});var i=h(1792),g=h(8376),b=h(4410),f=h(1090),s=h(4072),k=h(3811),a=h(6616),A=h(335);function c(e){if(!e)return null;if(e.is_control)return g.Z.fromJson(e);let t=e.type;t!=null&&(t=t.toUpperCase());const n=e.message,l=e.text_align_message,u=e.slide_from,v=e.extras,p=e.trigger_id,y=e.click_action,C=e.uri,P=e.open_target,R=e.message_close,B=e.duration,M=e.icon,j=e.image_url,G=e.image_style,F=e.icon_color,I=e.icon_bg_color,U=e.bg_color,tt=e.text_color,H=e.close_btn_color,rt=e.header,it=e.text_align_header,ut=e.header_text_color,yt=e.frame_color,Ot=[];let Pt=e.btns;Pt==null&&(Pt=[]);for(let m=0;m<Pt.length;m++)Ot.push(s.Z.fromJson(Pt[m]));const gt=e.crop_type,Gt=e.orientation,jt=e.animate_in,Qt=e.animate_out;let $t=e.html_id,_t=e.css;$t!=null&&$t!==""&&_t!=null&&_t!==""||($t=void 0,_t=void 0);const ae=e.message_extras;let ct;if(t===k.Z.it||t===i.Z.qe.Ve)ct=new k.Z(n,l,v,p,y,C,P,R,B,M,j,G,F,I,U,tt,H,jt,Qt,rt,it,ut,yt,Ot,gt,$t,_t,ae);else if(t===b.Z.it)ct=new b.Z(n,l,v,p,y,C,P,R,B,M,j,G,F,I,U,tt,H,jt,Qt,rt,it,ut,yt,Ot,gt,Gt,$t,_t,ae);else if(t===a.Z.it)ct=new a.Z(n,l,u,v,p,y,C,P,R,B,M,j,F,I,U,tt,H,jt,Qt,$t,_t,ae);else{if(t!==f.Z.it&&t!==i.Z.qe.$e&&t!==i.Z.qe.We)return void A.Z.error("Ignoring message with unknown type "+t);{const m=e.message_fields;ct=new f.Z(n,v,p,R,B,jt,Qt,yt,$t,_t,m,ae),ct.trusted=e.trusted||!1}}return ct.we=t,ct}function r(e){const t=[];for(const n of e)t.push(new s.Z(n.text,n.backgroundColor,n.textColor,n.borderColor,n.clickAction,n.uri,n.id));return t}},1087:(_,N,h)=>{h.d(N,{Z:()=>G});var i=h(1843),g=h(5825),b=h(8376),f=h(1090),s=h(1792),k=h(4072),a=h(9179),A=h(3340),c=h(6504),r=h(4673),e=h(2730),t=h(335),n=h(4663),l=h(2246),u=h(3905),v=h(3046),p=h(4556),y=h(6870),C=h(5966),P=h(4410),R=h(3811),B=h(6616);class M{constructor(I,U,tt,H){this.qt=I,this.ri=U,this.u=tt,this.wt=H,this.qt=I,this.ri=U,this.u=tt,this.wt=H,this._e=new n.Z,g.ZP.$t(this._e),this.Xe=1e3,this.Ye=6e4,this.Ze=null}Mi(){return this._e}_i(I){return this._e.It(I)}Pi(){return this.Ze}$i(I){this.Ze=I}q(I,U,tt,H){const rt=new r.Z;let it;if(I instanceof b.Z)it={trigger_ids:[I.triggerId]};else{if(U===e.G.Ei||I instanceof f.Z&&U===e.G.Gi){if(!I.p(H))return t.Z.info("This in-app message has already received a click. Ignoring analytics event."),rt}else if(U===e.G.Oi&&!I.K())return t.Z.info("This in-app message has already received an impression. Ignoring analytics event."),rt;it=this.Xi(I)}return it==null?rt:(I.messageExtras&&(it.message_extras=I.messageExtras),tt!=null&&(it.bid=tt),a.Z.q(U,it))}Hi(I,U){const tt=new r.Z;if(!I.p())return t.Z.info("This in-app message button has already received a click. Ignoring analytics event."),tt;const H=this.Xi(U);return H==null?tt:I.id===k.Z.Ji?(t.Z.info("This in-app message button does not have a tracking id. Not logging event to Braze servers."),tt):(I.id!=null&&(H.bid=I.id),a.Z.q(e.G.Gi,H))}Ki(I){const U=I.messageFields;return U!=null&&U.is_push_primer||!1}Li(I){if(!(I instanceof s.Z))return;const U=rt=>{if(!rt)return;const it=(0,v.OL)(rt);return(0,v.je)(it)?(0,v.Tu)(v.yi.Qi,"In-App Message"):(0,v.zA)(it)&&!p.Z.Vi()?(0,v.Tu)(v.yi.Wi,"In-App Message"):void 0};if(this.Ki(I)&&!p.Z.Vi())return"In-App Message contains a push prompt, but is not eligible for a push prompt. Ignoring.";const tt=I.buttons||[];let H;for(const rt of tt)if(rt.clickAction===s.Z.ClickAction.URI&&rt.uri&&u.y9.test(rt.uri)&&(H=U(rt.uri),H))return H;return I.clickAction===s.Z.ClickAction.URI&&I.uri&&u.y9.test(I.uri)?U(I.uri):void 0}Yi(I,U,tt,H){const rt=this.qt;if(!rt)return;const it=rt.Zi(!1,!1),ut=rt.Js(it);ut.template={trigger_id:I.triggerId,trigger_event_type:U},tt!=null&&(ut.template.data=tt.Ir());const yt=rt.$s(ut,y.Z.Ps.Mr);rt.Xs(ut,((Ot=-1)=>{if(!this.qt)return;const Pt=new Date().valueOf();y.Z._s(this.u,y.Z.Ps.Mr,Pt),Ot!==-1&&yt.push(["X-Braze-Req-Tokens-Remaining",Ot.toString()]),i.Z.Gs({url:`${this.qt.Hs()}/template/`,data:ut,headers:yt,L:gt=>{if(y.Z.Qs(this.u,y.Z.Ps.Mr,1),!this.qt.Ks(ut,gt,yt))return void(typeof I.Tr=="function"&&I.Tr());if(this.qt.Os(),gt==null||gt.templated_message==null)return;const Gt=gt.templated_message;if(Gt.type!==l.Z._r.Br)return;const jt=(0,A.q)(Gt.data);if(jt==null)return;const Qt=this.Li(jt);if(Qt)return t.Z.error(Qt),void(typeof I.Tr=="function"&&I.Tr());typeof I.Er=="function"&&I.Er(jt)},error:gt=>{let Gt=`getting user personalization for message ${I.triggerId}`;if(new Date().valueOf()-I.Gr<I.Nr){y.Z.Ys(this.u,y.Z.Ps.Mr);const jt=Math.min(I.Nr,this.Ye),Qt=this.Xe;H==null&&(H=Qt);const $t=Math.min(jt,(0,c.R)(Qt,3*H));Gt+=`. Retrying in ${$t} ms`,setTimeout((()=>{this.Yi(I,U,tt,$t)}),$t)}this.qt.Vs(gt,Gt)}})}),y.Z.Ps.Mr)}Xi(I){if(I.triggerId==null)return t.Z.info("The in-app message has no analytics id. Not logging event to Braze servers."),null;const U={};return I.triggerId!=null&&(U.trigger_ids=[I.triggerId]),U}je(I){return!!this.u&&!(!(I&&I instanceof s.Z&&I.constructor!==s.Z)||I instanceof b.Z)&&this.u.k(C.I.C.Cr,I.Y())}Ue(){if(!this.u)return null;const I=this.u.j(C.I.C.Cr);if(!I)return null;let U;switch(I.type){case s.Z.qe.Or:U=P.Z.Xr(I);break;case s.Z.qe.Hr:case s.Z.qe.$e:case s.Z.qe.We:U=f.Z.Xr(I);break;case s.Z.qe.Jr:case s.Z.qe.Ve:U=R.Z.Xr(I);break;case s.Z.qe.Kr:U=B.Z.Xr(I)}return U&&this.Lr(),U}Lr(){this.u&&this.u.ti(C.I.C.Cr)}}const j={i:null,t:!1,m:()=>(j.o(),j.i||(j.i=new M(g.ZP.nr(),g.ZP.zr(),g.ZP.l(),g.ZP.er())),j.i),o:()=>{j.t||(g.ZP.g(j),j.t=!0)},destroy:()=>{j.i=null,j.t=!1}},G=j},8376:(_,N,h)=>{h.d(N,{Z:()=>i});class i{constructor(b,f){this.triggerId=b,this.messageExtras=f,this.triggerId=b,this.messageExtras=f,this.extras={},this.isControl=!0}static fromJson(b){return new i(b.trigger_id,b.message_extras)}}},4410:(_,N,h)=>{h.d(N,{Z:()=>b});var i=h(3340),g=h(1792);class b extends g.Z{constructor(s,k,a,A,c,r,e,t,n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U,tt,H,rt,it,ut){t=t||g.Z.DismissType.MANUAL,H=H||g.Z.Orientation.PORTRAIT,super(s,k,void 0,a,A,c,r,e,t,n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U,tt=tt||g.Z.CropType.CENTER_CROP,H,rt,it,ut),this.De=g.Z.TextAlignment.CENTER}Y(){return super.Y(b.it)}static Xr(s){return new b(s[g.Z.tt.Vr],s[g.Z.tt.Wr],s[g.Z.tt.bt],s[g.Z.tt.Yr],s[g.Z.tt.Zr],s[g.Z.tt.URI],s[g.Z.tt.ea],s[g.Z.tt.ra],s[g.Z.tt.sa],s[g.Z.tt.ta],s[g.Z.tt.ot],s[g.Z.tt.ia],s[g.Z.tt.aa],s[g.Z.tt.oa],s[g.Z.tt.pa],s[g.Z.tt.ma],s[g.Z.tt.na],s[g.Z.tt.ua],s[g.Z.tt.ca],s[g.Z.tt.fa],s[g.Z.tt.da],s[g.Z.tt.la],s[g.Z.tt.ga],(0,i.V)(s[g.Z.tt.ja]),s[g.Z.tt.xa],s[g.Z.tt.za],s[g.Z.tt.ha],s[g.Z.tt.CSS],s[g.Z.tt.va])}}b.it=g.Z.qe.Or},1090:(_,N,h)=>{h.d(N,{Z:()=>g});var i=h(1792);class g extends i.Z{constructor(f,s,k,a,A,c,r,e,t,n,l,u){super(f,void 0,void 0,s,k,void 0,void 0,void 0,a=a||i.Z.DismissType.MANUAL,A,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,c,r,void 0,void 0,void 0,e,void 0,void 0,void 0,t,n,u),this.messageFields=l,this.messageFields=l}do(){return!1}p(f){if(this.we===i.Z.qe.Hr){if(this.vo)return!1;this.vo=!0}return this.Et.Dt(f),!0}Y(){const f=super.Y(g.it);return f[i.Z.tt.uo]=this.messageFields,f}static Xr(f){return new g(f[i.Z.tt.Vr],f[i.Z.tt.bt],f[i.Z.tt.Yr],f[i.Z.tt.ra],f[i.Z.tt.sa],f[i.Z.tt.ua],f[i.Z.tt.ca],f[i.Z.tt.ga],f[i.Z.tt.ha],f[i.Z.tt.CSS],f[i.Z.tt.uo],f[i.Z.tt.va])}}g.it=i.Z.qe.Hr},4072:(_,N,h)=>{h.d(N,{Z:()=>b});var i=h(1792),g=h(4663);class b{constructor(s,k,a,A,c,r,e){this.text=s,this.backgroundColor=k,this.textColor=a,this.borderColor=A,this.clickAction=c,this.uri=r,this.id=e,this.text=s||"",this.backgroundColor=k||i.Z.th.sh,this.textColor=a||i.Z.th.ih,this.borderColor=A||this.backgroundColor,this.clickAction=c||i.Z.ClickAction.NONE,this.uri=r,e==null&&(e=b.Ji),this.id=e,this.vo=!1,this.Et=new g.Z}subscribeToClickedEvent(s){return this.Et.It(s)}removeSubscription(s){this.Et.removeSubscription(s)}removeAllSubscriptions(){this.Et.removeAllSubscriptions()}p(){return!this.vo&&(this.vo=!0,this.Et.Dt(),!0)}static fromJson(s){return new b(s.text,s.bg_color,s.text_color,s.border_color,s.click_action,s.uri,s.id)}}b.Ji=-1},1792:(_,N,h)=>{h.d(N,{Z:()=>a});var i=h(5825),g=h(3695),b=h(1507),f=h(7429),s=h(4663),k=h(7048);class a{constructor(c,r,e,t,n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U,tt,H,rt,it,ut,yt,Ot,Pt,gt,Gt){this.message=c,this.messageAlignment=r,this.slideFrom=e,this.extras=t,this.triggerId=n,this.clickAction=l,this.uri=u,this.openTarget=v,this.dismissType=p,this.duration=y,this.icon=C,this.imageUrl=P,this.imageStyle=R,this.iconColor=B,this.iconBackgroundColor=M,this.backgroundColor=j,this.textColor=G,this.closeButtonColor=F,this.animateIn=I,this.animateOut=U,this.header=tt,this.headerAlignment=H,this.headerTextColor=rt,this.frameColor=it,this.buttons=ut,this.cropType=yt,this.orientation=Ot,this.htmlId=Pt,this.css=gt,this.messageExtras=Gt,this.message=c,this.messageAlignment=r||a.TextAlignment.CENTER,this.duration=y||5e3,this.slideFrom=e||a.SlideFrom.BOTTOM,this.extras=t||{},this.triggerId=n,this.clickAction=l||a.ClickAction.NONE,this.uri=u,this.openTarget=v||a.OpenTarget.NONE,this.dismissType=p||a.DismissType.AUTO_DISMISS,this.icon=C,this.imageUrl=P,this.imageStyle=R||a.ImageStyle.TOP,this.iconColor=B||a.th.ih,this.iconBackgroundColor=M||a.th.sh,this.backgroundColor=j||a.th.ih,this.textColor=G||a.th.hh,this.closeButtonColor=F||a.th.eh,this.animateIn=I,this.animateIn==null&&(this.animateIn=!0),this.animateOut=U,this.animateOut==null&&(this.animateOut=!0),this.header=tt,this.headerAlignment=H||a.TextAlignment.CENTER,this.headerTextColor=rt||a.th.hh,this.frameColor=it||a.th.Eh,this.buttons=ut||[],this.cropType=yt||a.CropType.FIT_CENTER,this.orientation=Ot,this.htmlId=Pt,this.css=gt,this.isControl=!1,this.messageExtras=Gt,this.nh=!1,this.Th=!1,this.vo=!1,this.oh=!1,this.Me=null,this.ke=null,this.Et=new s.Z,this.rh=new s.Z,this.De=a.TextAlignment.CENTER}subscribeToClickedEvent(c){return this.Et.It(c)}subscribeToDismissedEvent(c){return this.rh.It(c)}removeSubscription(c){this.Et.removeSubscription(c),this.rh.removeSubscription(c)}removeAllSubscriptions(){this.Et.removeAllSubscriptions(),this.rh.removeAllSubscriptions()}closeMessage(){this.Ae(this.Me)}ze(){return!0}do(){return this.ze()}xe(){return this.htmlId!=null&&this.htmlId.length>4}Ce(){return this.xe()&&this.css!=null&&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(c){return!this.vo&&(this.vo=!0,this.Et.Dt(),!0)}N(){return!this.oh&&(this.oh=!0,this.rh.Dt(),!0)}hide(c){if(c&&c.parentNode){let r=c.closest(".ab-iam-root");if(r==null&&(r=c),this.ze()&&r.parentNode!=null){const e=r.parentNode.classList;e&&e.contains(a.lh)&&e.remove(a.lh),document.body.removeEventListener("touchmove",a.uh)}r.className=r.className.replace(a.ah,a.Ih)}return this.animateOut||!1}Ae(c,r){if(c==null)return;let e;this.Me=null,e=c.className.indexOf("ab-in-app-message")===-1?c.getElementsByClassName("ab-in-app-message")[0]:c;let t=!1;e&&(t=this.hide(e));const n=document.body;let l;n!=null&&(l=n.scrollTop);const u=()=>{if(c&&c.parentNode){let p=c.closest(".ab-iam-root");p==null&&(p=c),p.parentNode&&p.parentNode.removeChild(p)}const v=this.ve();if(v!=null){const p=document.getElementById(v);p&&p.parentNode&&p.parentNode.removeChild(p)}n!=null&&g.Z.browser==="Safari"&&(n.scrollTop=l),r?r():this.N()};t?setTimeout(u,a.Ah):u(),this.ke&&this.ke.focus()}Je(){return document.createTextNode(this.message||"")}Ge(c){let r="";this.message||this.header||!this.ze()||(r="Modal Image"),c.setAttribute("alt",r)}static uh(c){if(c.targetTouches&&c.targetTouches.length>1)return;const r=c.target;r&&r.classList&&r.classList.contains("ab-message-text")&&r.scrollHeight>r.clientHeight||document.querySelector(`.${a.lh}`)&&c.cancelable&&c.preventDefault()}Oh(c){const r=c.parentNode;this.ze()&&r!=null&&this.orientation!==a.Orientation.LANDSCAPE&&(r.classList!=null&&r.classList.add(a.lh),document.body.addEventListener("touchmove",a.uh,!!(0,b.QZ)()&&{passive:!1})),c.className+=" "+a.ah}static _h(c){if(c.keyCode===f.m.mh&&!i.ZP.nn(i.JY.Lh)&&document.querySelectorAll(".ab-modal-interactions").length>0){const r=document.getElementsByClassName("ab-html-message");let e=!1;for(const t of r){let n=null;(0,k.f)(t)&&t.contentWindow&&(n=t.contentWindow.document.getElementsByClassName("ab-programmatic-close-button")[0]),n!=null&&((0,b.$j)(n),e=!0)}if(!e){const t=document.querySelectorAll(".ab-modal-interactions > .ab-close-button")[0];t!=null&&(0,b.$j)(t)}}}Nh(){this.nh||i.ZP.nn(i.JY.Lh)||(document.addEventListener("keydown",a._h,!1),i.ZP.Sh((()=>{document.removeEventListener("keydown",a._h)})),this.nh=!0)}Y(c){const r={};return c&&(r[a.tt.Vr]=this.message,r[a.tt.Wr]=this.messageAlignment,r[a.tt.Rh]=this.slideFrom,r[a.tt.bt]=this.extras,r[a.tt.Yr]=this.triggerId,r[a.tt.Zr]=this.clickAction,r[a.tt.URI]=this.uri,r[a.tt.ea]=this.openTarget,r[a.tt.ra]=this.dismissType,r[a.tt.sa]=this.duration,r[a.tt.ta]=this.icon,r[a.tt.ot]=this.imageUrl,r[a.tt.ia]=this.imageStyle,r[a.tt.aa]=this.iconColor,r[a.tt.oa]=this.iconBackgroundColor,r[a.tt.pa]=this.backgroundColor,r[a.tt.ma]=this.textColor,r[a.tt.na]=this.closeButtonColor,r[a.tt.ua]=this.animateIn,r[a.tt.ca]=this.animateOut,r[a.tt.fa]=this.header,r[a.tt.da]=this.headerAlignment,r[a.tt.la]=this.headerTextColor,r[a.tt.ga]=this.frameColor,r[a.tt.ja]=this.buttons,r[a.tt.xa]=this.cropType,r[a.tt.za]=this.orientation,r[a.tt.ha]=this.htmlId,r[a.tt.CSS]=this.css,r[a.tt.Z]=c,r[a.tt.va]=this.messageExtras),r}}a.th={hh:4281545523,ih:4294967295,sh:4278219733,Mh:4293914607,Dh:4283782485,Eh:3224580915,eh:4288387995},a.Be={Ch:"hd",Le:"ias",dh:"of",Uh:"do",bh:"umt",Ph:"tf",ph:"te"},a.SlideFrom={TOP:"TOP",BOTTOM:"BOTTOM"},a.ClickAction={NEWS_FEED:"NEWS_FEED",URI:"URI",NONE:"NONE"},a.DismissType={AUTO_DISMISS:"AUTO_DISMISS",MANUAL:"SWIPE"},a.OpenTarget={NONE:"NONE",BLANK:"BLANK"},a.ImageStyle={TOP:"TOP",GRAPHIC:"GRAPHIC"},a.Orientation={PORTRAIT:"PORTRAIT",LANDSCAPE:"LANDSCAPE"},a.TextAlignment={START:"START",CENTER:"CENTER",END:"END"},a.CropType={CENTER_CROP:"CENTER_CROP",FIT_CENTER:"FIT_CENTER"},a.qe={Kr:"SLIDEUP",Jr:"MODAL",Ve:"MODAL_STYLED",Or:"FULL",Hr:"WEB_HTML",$e:"HTML",We:"HTML_FULL"},a.Ah=500,a.fh=200,a.ah="ab-show",a.Ih="ab-hide",a.lh="ab-pause-scrolling",a.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:(_,N,h)=>{h.d(N,{Z:()=>b});var i=h(3340),g=h(1792);class b extends g.Z{constructor(s,k,a,A,c,r,e,t,n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U,tt,H,rt,it){super(s,k,void 0,a,A,c,r,e,t=t||g.Z.DismissType.MANUAL,n,l,u,v,p,y,C,P,R,B,M,j,G,F,I,U,tt=tt||g.Z.CropType.FIT_CENTER,void 0,H,rt,it),this.De=g.Z.TextAlignment.CENTER}Y(){return super.Y(b.it)}static Xr(s){return new b(s[g.Z.tt.Vr],s[g.Z.tt.Wr],s[g.Z.tt.bt],s[g.Z.tt.Yr],s[g.Z.tt.Zr],s[g.Z.tt.URI],s[g.Z.tt.ea],s[g.Z.tt.ra],s[g.Z.tt.sa],s[g.Z.tt.ta],s[g.Z.tt.ot],s[g.Z.tt.ia],s[g.Z.tt.aa],s[g.Z.tt.oa],s[g.Z.tt.pa],s[g.Z.tt.ma],s[g.Z.tt.na],s[g.Z.tt.ua],s[g.Z.tt.ca],s[g.Z.tt.fa],s[g.Z.tt.da],s[g.Z.tt.la],s[g.Z.tt.ga],(0,i.V)(s[g.Z.tt.ja]),s[g.Z.tt.xa],s[g.Z.tt.ha],s[g.Z.tt.CSS],s[g.Z.tt.va])}}b.it=g.Z.qe.Jr},6616:(_,N,h)=>{h.d(N,{Z:()=>b});var i=h(1792),g=h(1507);class b extends i.Z{constructor(s,k,a,A,c,r,e,t,n,l,u,v,p,y,C,P,R,B,M,j,G,F){P=P||i.Z.th.Dh,C=C||i.Z.th.Mh,super(s,k=k||i.Z.TextAlignment.START,a,A,c,r,e,t,n,l,u,v,void 0,p,y,C,P,R,B,M,void 0,void 0,void 0,void 0,void 0,void 0,void 0,j,G,F),this.De=i.Z.TextAlignment.START}ze(){return!1}Je(){const s=document.createElement("span");return s.appendChild(document.createTextNode(this.message||"")),s}Oh(s){const k=s.getElementsByClassName("ab-in-app-message")[0];g.lP.po(k,!0,!0)||(this.slideFrom===i.Z.SlideFrom.TOP?k.style.top="0px":k.style.bottom="0px"),super.Oh(s)}Y(){return super.Y(b.it)}static Xr(s){return new b(s[i.Z.tt.Vr],s[i.Z.tt.Wr],s[i.Z.tt.Rh],s[i.Z.tt.bt],s[i.Z.tt.Yr],s[i.Z.tt.Zr],s[i.Z.tt.URI],s[i.Z.tt.ea],s[i.Z.tt.ra],s[i.Z.tt.sa],s[i.Z.tt.ta],s[i.Z.tt.ot],s[i.Z.tt.aa],s[i.Z.tt.oa],s[i.Z.tt.pa],s[i.Z.tt.ma],s[i.Z.tt.na],s[i.Z.tt.ua],s[i.Z.tt.ca],s[i.Z.tt.ha],s[i.Z.tt.CSS],s[i.Z.tt.va])}}b.it=i.Z.qe.Kr},7048:(_,N,h)=>{h.d(N,{E:()=>g,f:()=>i});const i=b=>b!==null&&b.tagName==="IFRAME";function g(b){var f;if(b.tagName==="SCRIPT")(f=b.parentNode)===null||f===void 0||f.replaceChild((function(s){const k=document.createElement("script");k.text=s.innerHTML;for(const a of s.attributes)k.setAttribute(a.name,a.value);return k})(b),b);else for(const s of b.childNodes)g(s);return b}},4127:(_,N,h)=>{h.r(N),h.d(N,{default:()=>n});var i=h(5825),g=h(2893),b=h(3552),f=h(335);const s=function(l){const u=(l+"=".repeat((4-l.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),v=atob(u),p=new Uint8Array(v.length);for(let y=0;y<v.length;++y)p[y]=v.charCodeAt(y);return p};var k=h(5966),a=h(7615),A=h(5319),c=h(4556),r=h(8031);class e{constructor(u,v,p,y,C,P,R,B,M,j){this.sn=u,this.rn=v,this.on=p,this.un=C,this.an=P,this.yt=R,this.cn=B,this.hn=M,this.u=j,this.sn=u,this.rn=v,this.on=p,this.fn=y+"/safari/"+v,this.un=C||"/service-worker.js",this.an=P,this.yt=R,this.cn=B||!1,this.hn=M||!1,this.u=j,this.ln=c.Z.dn(),this.pn=c.Z.bn()}mn(){return this.hn}yn(u,v,p,y,C){u.unsubscribe().then((P=>{P?this.vn(v,p,y,C):(f.Z.error("Failed to unsubscribe device from push."),typeof C=="function"&&C(!1))})).catch((P=>{f.Z.error("Push unsubscription error: "+P),typeof C=="function"&&C(!1)}))}gn(u,v,p){var y;const C=(j=>{if(typeof j=="string")return j;if(j.endpoint.indexOf("https://android.googleapis.com/gcm/send")!==0)return j.endpoint;let G=j.endpoint;const F=j;return F.wn&&j.endpoint.indexOf(F.wn)===-1&&(G=j.endpoint+"/"+F.wn),G})(u);let P=null,R=null;const B=u;if(B.getKey!=null)try{const j=Array.from(new Uint8Array(B.getKey("p256dh"))),G=Array.from(new Uint8Array(B.getKey("auth")));P=btoa(String.fromCharCode.apply(null,j)),R=btoa(String.fromCharCode.apply(null,G))}catch(j){f.Z.error((0,r.e)(j))}const M=(j=>{let G;return j.options&&(G=j.options.applicationServerKey)&&G.byteLength&&G.byteLength>0?btoa(String.fromCharCode.apply(null,Array.from(new Uint8Array(G)))).replace(/\+/g,"-").replace(/\//g,"_"):null})(B);(y=this.sn)===null||y===void 0||y.kn(C,v,P,R,M),C&&typeof p=="function"&&p(C,P,R)}Pn(){var u;(u=this.sn)===null||u===void 0||u.Dn(!0)}Sn(u,v){var p;(p=this.sn)===null||p===void 0||p.Dn(!1),f.Z.info(u),typeof v=="function"&&v(!1)}An(u,v,p,y){var C;if(v.permission==="default")try{window.safari.pushNotification.requestPermission(this.fn,u,{api_key:this.rn,device_id:((C=this.on)===null||C===void 0?void 0:C.ce().id)||""},(P=>{P.permission==="granted"&&this.sn&&this.sn.setPushNotificationSubscriptionType(a.Z.NotificationSubscriptionTypes.OPTED_IN),this.An(u,P,p,y)}))}catch(P){this.Sn("Could not request permission for push: "+P,y)}else v.permission==="denied"?this.Sn("The user has blocked notifications from this site, or Safari push is not configured in the Braze dashboard.",y):v.permission==="granted"&&(f.Z.info("Device successfully subscribed to push."),this.gn(v.deviceToken,new Date,p))}requestPermission(u,v,p){const y=P=>{switch(P){case"granted":return void(typeof u=="function"&&u());case"default":return void(typeof v=="function"&&v());case"denied":return void(typeof p=="function"&&p());default:f.Z.error("Received unexpected permission result "+P)}};let C=!1;if(window.Notification.permission!=="default")y(Notification.permission);else{const P=window.Notification.requestPermission((R=>{C&&y(R)}));P?P.then((R=>{y(R)})):C=!0}}vn(u,v,p,y){const C={userVisibleOnly:!0};v!=null&&(C.applicationServerKey=v),u.pushManager.subscribe(C).then((P=>{f.Z.info("Device successfully subscribed to push."),this.gn(P,new Date,p)})).catch((P=>{c.Z.isPushBlocked()?(f.Z.info("Permission for push notifications was denied."),typeof y=="function"&&y(!1)):(f.Z.error("Push subscription failed: "+P),typeof y=="function"&&y(!0))}))}jn(){return this.cn?navigator.serviceWorker.getRegistration(this.un):navigator.serviceWorker.register(this.un).then((()=>navigator.serviceWorker.ready.then((u=>(u&&typeof u.update=="function"&&u.update().catch((v=>{f.Z.info("ServiceWorker update failed: "+v)})),u)))))}xn(u){this.cn||(u.unregister(),f.Z.info("Service worker successfully unregistered."))}subscribe(u,v){if(!c.Z.isPushSupported())return f.Z.info(e.Nn),void(typeof v=="function"&&v(!1));if(this.ln){if(!this.cn&&window.location!=null){let R=this.un;R.indexOf(window.location.host)===-1&&(R=window.location.host+R),R.indexOf(window.location.protocol)===-1&&(R=window.location.protocol+"//"+R);const B=R.substr(0,R.lastIndexOf("/")+1);if(A.SD.Un().indexOf(B)!==0)return f.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 "+R+")"),void(typeof v=="function"&&v(!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.",v);if(this.yt&&!this.yt.Wn()&&this.yt.ii()===0)return f.Z.info("Waiting for VAPID key from server config before subscribing to push."),void this.yt._n((()=>{this.subscribe(u,v)}));const p=()=>{f.Z.info("Permission for push notifications was denied."),typeof v=="function"&&v(!1)},y=()=>{let R="Permission for push notifications was ignored.";c.Z.isPushBlocked()&&(R+=" The browser has automatically blocked further permission requests for a period (probably 1 week)."),f.Z.info(R),typeof v=="function"&&v(!0)},C=c.Z.isPushPermissionGranted(),P=()=>{!C&&this.sn&&this.sn.setPushNotificationSubscriptionType(a.Z.NotificationSubscriptionTypes.OPTED_IN),this.jn().then((R=>{if(R==null)return f.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(typeof v=="function"&&v(!0));R.pushManager.getSubscription().then((B=>{var M;let j=null;if(((M=this.yt)===null||M===void 0?void 0:M.Wn())!=null&&(j=s(this.yt.Wn())),B){let G,F=null,I=null;if(this.u&&(G=this.u.j(k.I.C.In)),G&&!(0,g.kJ)(G)){let U;try{U=b.Z.qn(G).Vn}catch{U=null}U==null||isNaN(U.getTime())||U.getTime()===0||(F=U,I=new Date(F),I.setMonth(F.getMonth()+6))}j!=null&&B.options&&B.options.applicationServerKey&&B.options.applicationServerKey.byteLength&&B.options.applicationServerKey.byteLength>0&&!(0,g.Xy)(j,new Uint8Array(B.options.applicationServerKey))?(B.options.applicationServerKey.byteLength>12?f.Z.info("Device was already subscribed to push using a different VAPID provider, creating new subscription."):f.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(B,R,j,u,v)):B.expirationTime&&new Date(B.expirationTime).valueOf()<=new Date().valueOf()?(f.Z.info("Push subscription is expired, creating new subscription."),this.yn(B,R,j,u,v)):G&&(0,g.kJ)(G)?this.yn(B,R,j,u,v):I==null?(f.Z.info("No push subscription creation date found, creating new subscription."),this.yn(B,R,j,u,v)):I.valueOf()<=new Date().valueOf()?(f.Z.info("Push subscription older than 6 months, creating new subscription."),this.yn(B,R,j,u,v)):(f.Z.info("Device already subscribed to push, sending existing subscription to backend."),this.gn(B,F,u))}else this.vn(R,j,u,v)})).catch((B=>{f.Z.error("Error checking current push subscriptions: "+B)}))})).catch((R=>{f.Z.error("ServiceWorker registration failed: "+R)}))};this.requestPermission(P,y,p)}else if(this.pn){if(this.an==null||this.an==="")return f.Z.error("You must supply the safariWebsitePushId initialization option in order to use registerPush on Safari"),void(typeof v=="function"&&v(!0));const p=window.safari.pushNotification.permission(this.an);this.An(this.an,p,u,v)}}unsubscribe(u,v){if(!c.Z.isPushSupported())return f.Z.info(e.Nn),void(typeof v=="function"&&v());this.ln?navigator.serviceWorker.getRegistration(this.un).then((p=>{p?p.pushManager.getSubscription().then((y=>{y?(this.Pn(),y.unsubscribe().then((C=>{C?(f.Z.info("Device successfully unsubscribed from push."),typeof u=="function"&&u()):(f.Z.error("Failed to unsubscribe device from push."),typeof v=="function"&&v()),this.xn(p)})).catch((C=>{f.Z.error("Push unsubscription error: "+C),typeof v=="function"&&v()}))):(f.Z.info("Device already unsubscribed from push."),typeof u=="function"&&u())})).catch((y=>{f.Z.error("Error unsubscribing from push: "+y),typeof v=="function"&&v()})):(f.Z.info("Device already unsubscribed from push."),typeof u=="function"&&u())})):this.pn&&(this.Pn(),f.Z.info("Device unsubscribed from push."),typeof u=="function"&&u())}}e.Nn="Push notifications are not supported in this browser.";const t={t:!1,i:null,m:()=>(t.o(),t.i||(t.i=new e(i.ZP.pr(),i.ZP.ba(),i.ZP.te(),i.ZP.Hs(),i.ZP.nn(i.JY.wa),i.ZP.nn(i.JY.ya),i.ZP.ir(),i.ZP.nn(i.JY.Ma),i.ZP.nn(i.JY._a),i.ZP.l())),t.i),o:()=>{t.t||(i.ZP.g(t),t.t=!0)},destroy:()=>{t.i=null,t.t=!1}},n=t},2261:(_,N,h)=>{h.r(N),h.d(N,{requestPushPermission:()=>b});var i=h(5825),g=h(4127);function b(f,s){if(i.ZP.X())return g.default.m().subscribe(((k,a,A)=>{const c=i.ZP.cr();c&&c.requestImmediateDataFlush(),typeof f=="function"&&f(k,a,A)}),s)}},7824:(_,N,h)=>{h.r(N),h.d(N,{unregisterPush:()=>b});var i=h(5825),g=h(4127);function b(f,s){if(i.ZP.X())return g.default.m().unsubscribe(f,s)}},4556:(_,N,h)=>{h.d(N,{Z:()=>g});const i={dn:()=>"serviceWorker"in navigator&&typeof ServiceWorkerRegistration<"u"&&"showNotification"in ServiceWorkerRegistration.prototype&&"PushManager"in window,bn:()=>"safari"in window&&"pushNotification"in window.safari&&typeof window.safari.pushNotification.permission=="function"&&typeof window.safari.pushNotification.requestPermission=="function",isPushSupported:()=>i.dn()||i.bn(),isPushBlocked:()=>{const b=i.isPushSupported()&&"Notification"in window&&window.Notification!=null&&window.Notification.permission!=null&&window.Notification.permission==="denied",f=i.isPushSupported()&&(!("Notification"in window)||window.Notification==null);return b||f},isPushPermissionGranted:()=>i.isPushSupported()&&"Notification"in window&&window.Notification!=null&&window.Notification.permission!=null&&window.Notification.permission==="granted",Vi:()=>!i.isPushBlocked()&&i.isPushSupported()&&!i.isPushPermissionGranted()},g=i},7615:(_,N,h)=>{h.d(N,{Z:()=>a});var i=h(2893),g=h(335),b=h(2730),f=h(3905),s=h(7671),k=h(7750);class a{constructor(c,r){this.wt=c,this.zi=r,this.wt=c,this.zi=r}getUserId(c){const r=this.wt.getUserId();if(typeof c!="function")return r;g.Z.warn("The callback for getUserId is deprecated. You can access its return value directly instead (e.g. `const id = braze.getUser().getUserId()`)"),c(r)}addAlias(c,r){return!(0,f.ro)(c,"add alias","the alias",!1)||c.length<=0?(g.Z.error("addAlias requires a non-empty alias"),!1):!(0,f.ro)(r,"add alias","the label",!1)||r.length<=0?(g.Z.error("addAlias requires a non-empty label"),!1):this.zi.Cn(c,r).L}setFirstName(c){return!!(0,f.ro)(c,"set first name","the firstName",!0)&&this.wt.nu("first_name",c)}setLastName(c){return!!(0,f.ro)(c,"set last name","the lastName",!0)&&this.wt.nu("last_name",c)}setEmail(c){return c===null||(0,f.vV)(c)?this.wt.nu("email",c):(g.Z.error(`Cannot set email address - "${c}" did not pass RFC-5322 validation.`),!1)}setGender(c){return typeof c=="string"&&(c=c.toLowerCase()),!(c!==null&&!(0,i.fk)(a.Genders,c,`Gender "${c}" is not a valid gender.`,"User.Genders"))&&this.wt.nu("gender",c)}setDateOfBirth(c,r,e){return c===null&&r===null&&e===null?this.wt.nu("dob",null):(c=c!=null?parseInt(c.toString()):null,r=r!=null?parseInt(r.toString()):null,e=e!=null?parseInt(e.toString()):null,c==null||r==null||e==null||isNaN(c)||isNaN(r)||isNaN(e)||r>12||r<1||e>31||e<1?(g.Z.error("Cannot set date of birth - parameters should comprise a valid date e.g. setDateOfBirth(1776, 7, 4);"),!1):this.wt.nu("dob",`${c}-${r}-${e}`))}setCountry(c){return!!(0,f.ro)(c,"set country","the country",!0)&&this.wt.nu("country",c)}setHomeCity(c){return!!(0,f.ro)(c,"set home city","the homeCity",!0)&&this.wt.nu("home_city",c)}setLanguage(c){return!!(0,f.ro)(c,"set language","the language",!0)&&this.wt.nu("language",c)}setEmailNotificationSubscriptionType(c){return!!(0,i.fk)(a.NotificationSubscriptionTypes,c,`Email notification setting "${c}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.wt.nu("email_subscribe",c)}setPushNotificationSubscriptionType(c){return!!(0,i.fk)(a.NotificationSubscriptionTypes,c,`Push notification setting "${c}" is not a valid subscription type.`,"User.NotificationSubscriptionTypes")&&this.wt.nu("push_subscribe",c)}setPhoneNumber(c){return!!(0,f.ro)(c,"set phone number","the phoneNumber",!0)&&(c===null||c.match(a.En)?this.wt.nu("phone",c):(g.Z.error(`Cannot set phone number - "${c}" did not pass validation.`),!1))}setLastKnownLocation(c,r,e,t,n){return c==null||r==null?(g.Z.error("Cannot set last-known location - latitude and longitude are required."),!1):(c=parseFloat(c.toString()),r=parseFloat(r.toString()),e!=null&&(e=parseFloat(e.toString())),t!=null&&(t=parseFloat(t.toString())),n!=null&&(n=parseFloat(n.toString())),isNaN(c)||isNaN(r)||e!=null&&isNaN(e)||t!=null&&isNaN(t)||n!=null&&isNaN(n)?(g.Z.error("Cannot set last-known location - all supplied parameters must be numeric."),!1):c>90||c<-90||r>180||r<-180?(g.Z.error("Cannot set last-known location - latitude and longitude are bounded by ±90 and ±180 respectively."),!1):e!=null&&e<0||n!=null&&n<0?(g.Z.error("Cannot set last-known location - accuracy and altitudeAccuracy may not be negative."),!1):this.zi.setLastKnownLocation(this.wt.getUserId(),c,r,t,e,n).L)}setCustomUserAttribute(c,r,e){if(!(0,f.bj)(c))return!1;const t=n=>{const[l]=(0,f.lg)(n,s.db,"attribute value",`set custom user attribute "${c}"`,"custom user attribute");return l};if((0,i.kJ)(r)){const[n,l]=(0,f.$g)(c,r);if(!n&&!l&&r.length!==0)return!1;if(n||r.length===0)return this.zi.Fn(b.G.$n,c,r).L;for(const u of r)if(!t(u))return!1}else if((0,i.Kn)(r)){if(!t(r))return!1;if(e)return this.zi.Fn(b.G.Bn,c,r).L}else if(r===void 0||!(0,f.UO)(r)||((0,i.J_)(r)&&(r=(0,k.BT)(r)),typeof r=="string"&&!(0,f.zM)(r,`set custom user attribute "${c}"`,"the element in the given array")))return!1;return this.wt.setCustomUserAttribute(c,r)}addToCustomAttributeArray(c,r){return!!(0,f.zM)(c,"add to custom user attribute array","the given key")&&!(r!=null&&!(0,f.zM)(r,"add to custom user attribute array","the given value"))&&this.zi.Fn(b.G.Ln,c,r).L}removeFromCustomAttributeArray(c,r){return!!(0,f.zM)(c,"remove from custom user attribute array","the given key")&&!(r!=null&&!(0,f.zM)(r,"remove from custom user attribute array","the given value"))&&this.zi.Fn(b.G.Rn,c,r).L}incrementCustomUserAttribute(c,r){if(!(0,f.zM)(c,"increment custom user attribute","the given key"))return!1;r==null&&(r=1);const e=parseInt(r.toString());return isNaN(e)||e!==parseFloat(r.toString())?(g.Z.error(`Cannot increment custom user attribute because the given incrementValue "${r}" is not an integer.`),!1):this.zi.Fn(b.G.On,c,e).L}setCustomLocationAttribute(c,r,e){return!!(0,f.zM)(c,"set custom location attribute","the given key")&&((r!==null||e!==null)&&(r=r!=null?parseFloat(r.toString()):null,e=e!=null?parseFloat(e.toString()):null,r==null&&e!=null||r!=null&&e==null||r!=null&&(isNaN(r)||r>90||r<-90)||e!=null&&(isNaN(e)||e>180||e<-180))?(g.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(c,r,e).L)}addToSubscriptionGroup(c){return!(0,f.ro)(c,"add user to subscription group","subscription group ID",!1)||c.length<=0?(g.Z.error("addToSubscriptionGroup requires a non-empty subscription group ID"),!1):this.zi.Hn(c,a.Kn.SUBSCRIBED).L}removeFromSubscriptionGroup(c){return!(0,f.ro)(c,"remove user from subscription group","subscription group ID",!1)||c.length<=0?(g.Z.error("removeFromSubscriptionGroup requires a non-empty subscription group ID"),!1):this.zi.Hn(c,a.Kn.UNSUBSCRIBED).L}kn(c,r,e,t,n){this.wt.kn(c,r,e,t,n),this.zi.Mn()}Dn(c){this.wt.Dn(c)}}a.Genders={MALE:"m",FEMALE:"f",OTHER:"o",UNKNOWN:"u",NOT_APPLICABLE:"n",PREFER_NOT_TO_SAY:"p"},a.NotificationSubscriptionTypes={OPTED_IN:"opted_in",SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},a.En=/^[0-9 .\\(\\)\\+\\-]+$/,a.Kn={SUBSCRIBED:"subscribed",UNSUBSCRIBED:"unsubscribed"},a.Yn="user_id",a.lu="custom",a.lr=997},67:(_,N,h)=>{h.d(N,{Z:()=>b});var i=h(335),g=h(5563);class b{constructor(s,k){this.cards=s,this.lastUpdated=k,this.cards=s,this.lastUpdated=k}getUnreadCardCount(){let s=0;for(const k of this.cards)k.viewed||k instanceof g.Z||s++;return s}dr(){i.Z.error("Must be implemented in a subclass")}logCardImpressions(s){i.Z.error("Must be implemented in a subclass")}logCardClick(s){i.Z.error("Must be implemented in a subclass")}sr(){i.Z.error("Must be implemented in a subclass")}}b.ur=6e4,b.Ah=500,b.Co=1e4},158:(_,N,h)=>{h.d(N,{Z:()=>i});class i{constructor(){}Ns(b){}changeUser(b=!1){}clearData(b=!1){}}},7671:(_,N,h)=>{h.d(N,{De:()=>g,Fz:()=>i,Go:()=>a,S6:()=>t,Tt:()=>e,U4:()=>b,Up:()=>A,Y$:()=>c,_P:()=>s,dH:()=>r,db:()=>k,rF:()=>f});const i=100,g="inAppMessage must be an InAppMessage object",b="must be a Card object",f=500,s="logCustomEvent",k="setCustomUserAttribute",a="Braze must be initialized before calling methods.",A=30,c=30,r=72e5,e=3,t=1},9179:(_,N,h)=>{h.d(N,{Z:()=>s});var i=h(335),g=h(5825),b=h(7559),f=h(4673);const s={q:(k,a,A)=>{var c,r;const e=new f.Z,t=g.ZP.zr();if(!t)return i.Z.info(`Not logging event with type "${k}" because the current session ID could not be found.`),e;const n=t.wo();return e.ge.push(new b.Z(A||((c=g.ZP.er())===null||c===void 0?void 0:c.getUserId()),k,new Date().valueOf(),n,a)),e.L=((r=g.ZP.l())===null||r===void 0?void 0:r.xo(e.ge))||!1,e}}},1311:(_,N,h)=>{h.d(N,{cP:()=>y,tQ:()=>P,cz:()=>B,Yz:()=>j,cV:()=>M,GB:()=>F,Of:()=>G});var i=h(67),g=h(5608),b=h(1507),f=h(5563),s=h(2857),k=h(2893),a=h(7429),A=h(5825),c=h(3695),r=h(335);const e={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 t{constructor(U,tt=!1){if(this.language=U,U!=null&&(U=U.toLowerCase()),U!=null&&e[U]==null){const H=U.indexOf("-");H>0&&(U=U.substring(0,H))}if(e[U]==null){const H="Braze does not yet have a localization for language "+U+", defaulting to English. Please contact us if you are willing and able to help us translate our SDK into this language.";tt?r.Z.error(H):r.Z.info(H),U="en"}this.language=U}get(U){return e[this.language][U]}}const n={t:!1,i:null,m:()=>{if(n.o(),!n.i){let I=c.Z.language,U=!1;A.ZP.nn(A.JY.zn)&&(I=A.ZP.nn(A.JY.zn),U=!0),n.i=new t(I,U)}return n.i},o:()=>{n.t||(A.ZP.g(n),n.t=!0)},destroy:()=>{n.i=null,n.t=!1}},l=n;var u=h(7070),v=h(3905),p=h(3046);const y="data-last-requested-refresh",C={};function P(I){I&&(I.className=I.className.replace("ab-show","ab-hide"),setTimeout((()=>{I&&I.parentNode&&I.parentNode.removeChild(I)}),i.Z.Ah));const U=I.getAttribute("data-update-subscription-id");var tt;U!=null&&(tt=U,A.ZP.X()&&A.ZP.removeSubscription(tt));const H=I.getAttribute("data-listener-id");H!=null&&(window.removeEventListener("scroll",C[H]),delete C[H])}function R(I,U){const tt=document.createElement("div");if(tt.className="ab-feed-body",tt.setAttribute("aria-label","Feed"),tt.setAttribute("role","feed"),I.lastUpdated==null){const H=document.createElement("div");H.className="ab-no-cards-message";const rt=document.createElement("i");rt.className="fa fa-spinner fa-spin fa-4x ab-initial-spinner",H.appendChild(rt),tt.appendChild(H)}else{let H=!1;const rt=it=>I.logCardClick(it);for(const it of I.cards){const ut=it instanceof f.Z;!ut||I.dr()?(tt.appendChild((0,g.Dj)(it,rt,U)),H=H||!ut):r.Z.error("Received a control card for a legacy news feed. Control cards are only supported with content cards.")}if(!H){const it=document.createElement("div");it.className="ab-no-cards-message",it.innerHTML=l.m().get("NO_CARDS_MESSAGE")||"",it.setAttribute("role","article"),tt.appendChild(it)}}return tt}function B(I,U){if(I!=null&&U!=null){const tt=[],H=U.querySelectorAll(".ab-card");I.yo||(I.yo={});for(let rt=0;rt<H.length;rt++){const it=(0,g.sv)(H[rt]),ut=(0,b.rJ)(H[rt]),yt=(0,b.Fr)(H[rt]);if(I.yo[it]){ut||yt||(0,g.pq)(H[rt]);continue}let Ot=(0,g.ql)(H[rt]),Pt=(0,g.rW)(H[rt]);const gt=Ot,Gt=Pt;if(!Ot&&ut&&(Ot=!0,(0,g.Ji)(H[rt])),!Pt&&yt&&(Pt=!0,(0,g.Zw)(H[rt])),Ot&&Pt){if(gt&&Gt)continue;for(const jt of I.cards)if(jt.id===it){I.yo[jt.id]=!0,tt.push(jt);break}}}tt.length>0&&I.logCardImpressions(tt)}}function M(I,U){if(I==null||U==null)return;U.setAttribute("aria-busy","true");const tt=U.querySelectorAll(".ab-refresh-button")[0];tt!=null&&(tt.className+=" fa-spin");const H=new Date().valueOf().toString();U.setAttribute("data-last-requested-refresh",H),setTimeout((()=>{if(U.getAttribute("data-last-requested-refresh")===H){const rt=U.querySelectorAll(".fa-spin");for(let ut=0;ut<rt.length;ut++)rt[ut].className=rt[ut].className.replace(/fa-spin/g,"");const it=U.querySelectorAll(".ab-initial-spinner")[0];if(it!=null){const ut=document.createElement("span");ut.innerHTML=l.m().get("FEED_TIMEOUT_MESSAGE")||"",it.parentNode!=null&&(it.parentNode.appendChild(ut),it.parentNode.removeChild(it))}U.getAttribute("aria-busy")==="true"&&U.setAttribute("aria-busy","false")}}),i.Z.Co),I.sr()}function j(I,U,tt){const H=document.createElement("div");H.className="ab-feed ab-hide ab-effect-slide",H.setAttribute("role","dialog"),H.setAttribute("aria-label","Feed"),H.setAttribute("tabindex","-1");const rt=document.createElement("div");rt.className="ab-feed-buttons-wrapper",rt.setAttribute("role","group"),H.appendChild(rt);const it=document.createElement("i");it.className="fa fa-times ab-close-button",it.setAttribute("aria-label","Close Feed"),it.setAttribute("tabindex","0"),it.setAttribute("role","button");const ut=gt=>{P(H),gt.stopPropagation()};it.addEventListener("keydown",(gt=>{gt.keyCode!==a.m.Fo&&gt.keyCode!==a.m.To||ut(gt)})),it.onclick=ut;const yt=document.createElement("i");yt.className="fa fa-refresh ab-refresh-button",I&&I.lastUpdated==null&&(yt.className+=" fa-spin"),yt.setAttribute("aria-label","Refresh Feed"),yt.setAttribute("tabindex","0"),yt.setAttribute("role","button");const Ot=gt=>{M(I,H),gt.stopPropagation()};yt.addEventListener("keydown",(gt=>{gt.keyCode!==a.m.Fo&&gt.keyCode!==a.m.To||Ot(gt)})),yt.onclick=Ot,rt.appendChild(yt),rt.appendChild(it),H.appendChild(R(I,U));const Pt=()=>B(I,H);if(H.addEventListener("scroll",Pt),!tt){window.addEventListener("scroll",Pt);const gt=u.Z.W();C[gt]=Pt,H.setAttribute("data-listener-id",gt)}return H}function G(I,U,tt,H,rt){if(!(0,k.kJ)(U))return;const it=[];for(const ut of U)if(ut instanceof s.Z){if(ut.url&&v.y9.test(ut.url)){const yt=(0,p.OL)(ut.url);if((0,p.je)(yt)){r.Z.error((0,p.Tu)(p.yi.Qi,"Content Card"));continue}}it.push(ut)}if(I.cards=it,I.lastUpdated=tt,H!=null)if(H.setAttribute("aria-busy","false"),I.lastUpdated==null)P(H);else{const ut=H.querySelectorAll(".ab-feed-body")[0];if(ut!=null){const yt=R(I,rt);ut.parentNode&&ut.parentNode.replaceChild(yt,ut),B(I,yt.parentNode)}}}function F(I,U){I&&U.setAttribute("data-update-subscription-id",I)}},5825:(_,N,h)=>{h.d(N,{JY:()=>_t,ZP:()=>ae});var i=h(5966),g=h(4663),b=h(5522),f=h(335);class s{constructor(m,E,z){this.u=m,this.Jn=E,this.Qn=z,this.u=m,this.Jn=E||!1,this.Qn=z,this.Xn=new g.Z,this.Zn=0,this.gh=1}Fh(){return this.Jn}kh(){return this.u.j(i.I.C.wh)}setSdkAuthenticationSignature(m){const E=this.kh();this.u.k(i.I.C.wh,m);const z=b.Z.Yt.Qt;new b.Z(z,f.Z).setItem(z.ss.jh,this.gh,m),E!==m&&this.Os()}xh(){this.u.ti(i.I.C.wh);const m=b.Z.Yt.Qt;new b.Z(m,f.Z).re(m.ss.jh,this.gh)}subscribeToSdkAuthenticationFailures(m){return this.Qn.It(m)}qh(m){this.Qn.Dt(m)}yh(){this.Xn.removeAllSubscriptions()}Bh(){this.Zn+=1}Gh(){return this.Zn}Os(){this.Zn=0}}var k=h(158),a=h(3695);class A{constructor(m){this.id=m,this.id=m}Ir(){const m={};return this.browser!=null&&(m.browser=this.browser),this.Ia!=null&&(m.browser_version=this.Ia),this.os!=null&&(m.os_version=this.os),this.resolution!=null&&(m.resolution=this.resolution),this.language!=null&&(m.locale=this.language),this.timeZone!=null&&(m.time_zone=this.timeZone),this.userAgent!=null&&(m.user_agent=this.userAgent),m}}const c={BROWSER:"browser",BROWSER_VERSION:"browserVersion",OS:"os",RESOLUTION:"resolution",LANGUAGE:"language",TIME_ZONE:"timeZone",USER_AGENT:"userAgent"};var r=h(2308),e=h(7070),t=h(2893),n=h(8031);class l{constructor(m,E){this.u=m,this.ka=E,this.u=m,E==null&&(E=(0,t.VO)(c)),this.ka=E}ce(m=!0){let E=this.u.tu(i.I.iu.Uo);E==null&&(E=new r.Z(e.Z.W()),m&&this.u.uu(i.I.iu.Uo,E));const z=new A(E.eu);for(let D=0;D<this.ka.length;D++)switch(this.ka[D]){case c.BROWSER:z.browser=a.Z.browser;break;case c.BROWSER_VERSION:z.Ia=a.Z.version;break;case c.OS:z.os=this.Ta();break;case c.RESOLUTION:z.Da=screen.width+"x"+screen.height;break;case c.LANGUAGE:z.language=a.Z.language;break;case c.TIME_ZONE:z.timeZone=this.Sa(new Date);break;case c.USER_AGENT:z.userAgent=a.Z.userAgent}return z}Ta(){if(a.Z.Oa())return a.Z.Oa();const m=this.u.j(i.I.C.Ca);return m&&m.os_version?m.os_version:a.Z.Ta()}Sa(m){let E=!1;if(typeof Intl<"u"&&typeof Intl.DateTimeFormat=="function")try{if(typeof Intl.DateTimeFormat().resolvedOptions=="function"){const D=Intl.DateTimeFormat().resolvedOptions().timeZone;if(D!=null&&D!=="")return D}}catch(D){f.Z.info("Intl.DateTimeFormat threw an error, cannot detect user's time zone:"+(0,n.e)(D)),E=!0}if(E)return"";const z=m.getTimezoneOffset();return this.Fa(z)}Fa(m){const E=Math.trunc(m/60),z=Math.trunc(m%60);let D="GMT";return m!==0&&(D+=m<0?"+":"-",D+=("00"+Math.abs(E)).slice(-2)+":"+("00"+Math.abs(z)).slice(-2)),D}}var u=h(3826),v=h(7559),p=h(7750),y=h(9179),C=h(2730),P=h(6870),R=h(7671),B=h(8982);class M{constructor(m,E,z,D,K,Q,nt,X,ft,Ut,pt,Tt){this.on=m,this.u=E,this.zo=z,this.wt=D,this.ri=K,this.yt=Q,this.rn=nt,this.Go=X,this.Wo=ft,this.Vo=Ut,this.appVersion=pt,this.Xh=Tt,this.$h=St=>St==null?"":`${St} `,this.on=m,this.u=E,this.zo=z,this.wt=D,this.ri=K,this.yt=Q,this.rn=nt,this.Go=X,this.Wo=ft,this.Vo=Ut,this.appVersion=pt,this.Xh=Tt,this.Hh=["npm"]}Js(m,E=!1,z=!1){const D=this.on.ce(!z),K=D.Ir(),Q=this.u.j(i.I.C.Ca);(0,t.Xy)(Q,K)||(m.device=K),m.api_key=this.rn,m.time=(0,p.FX)(new Date().valueOf(),!0);const nt=this.u.j(i.I.C.Yh)||[],X=this.u.j(i.I.C.Jh)||"";if(this.Hh.length>0&&(!(0,t.Xy)(nt,this.Hh)||X!==this.ri.Si())&&(m.sdk_metadata=this.Hh),m.sdk_version=this.Wo,this.Vo&&(m.sdk_flavor=this.Vo),m.app_version=this.appVersion,m.app_version_code=this.Xh,m.device_id=D.id,E){const ft=this.wt.getUserId();ft!=null&&(m.user_id=ft)}if(!m.user_id&&!this.zo.Fh()){const ft=(0,B.q)(this.u);ft&&(m.alias=ft)}return m}Ks(m,E,z){const D=E.auth_error,K=E.error;if(!D&&!K)return!0;if(D){let Q;this.zo.Bh();const nt={errorCode:D.error_code};for(const ft of z)(0,t.kJ)(ft)&&ft[0]==="X-Braze-Auth-Signature"&&(nt.signature=ft[1]);m.respond_with&&m.respond_with.user_id?nt.userId=m.respond_with.user_id:m.user_id&&(nt.userId=m.user_id);const X=D.reason;return X?(nt.reason=X,Q=`due to ${X}`):Q=`with error code ${D.error_code}.`,this.zo.Fh()||(Q+=' Please use the "enableSdkAuthentication" initialization option to enable authentication.'),f.Z.error(`SDK Authentication failed ${Q}`),this.Qh(m.events||[],m.attributes||[]),this.zo.qh(nt),!1}if(K){let Q,nt=K;switch(nt){case u.Z.Zh:return Q="Received successful response with empty body.",y.Z.q(C.G.qs,{e:Q}),f.Z.info(Q),!1;case u.Z.Ra:return Q="Received successful response with invalid JSON",y.Z.q(C.G.qs,{e:Q+": "+E.response}),f.Z.info(Q),!1;case u.Z.qa:nt=`The API key "${m.api_key}" is invalid for the baseUrl ${this.Go}`;break;case u.Z.Aa:nt="Sorry, we are not currently accepting your requests. If you think this is in error, please contact us.";break;case u.Z.Ba:nt="No device identifier. Please contact support@braze.com"}f.Z.error("Backend error: "+nt)}return!1}Na(m,E,z,D){return!!(m&&m.length!==0||E&&E.length!==0||z||D)}Xa(m,E,z,D,K=!1){const Q=[],nt=Lt=>Lt||"",X=nt(this.wt.getUserId());let ft=this.Zi(m,E);const Ut=[],pt=[];let Tt,St=null;if(z.length>0){const Lt=[];for(const te of z){if(Tt=te.Ir(),this.zo.Fh()){if(X&&!Tt.user_id){St||(St={}),St.events||(St.events=[]),St.events.push(Tt);continue}if(nt(Tt.user_id)!==X){pt.push(Tt);continue}}Lt.push(Tt)}Lt.length>0&&(ft.events=Lt)}if(D.length>0){const Lt=[];for(const te of D)te&&(this.zo.Fh()&&nt(te.user_id)!==X?Ut.push(te):Lt.push(te));Lt.length>0&&(ft.attributes=Lt)}if(this.Qh(pt,Ut),ft=this.Js(ft,!0,K),St){St=this.Js(St,!1,K);const Lt={requestData:St,headers:this.$s(St,P.Z.Ps.$a)};Q.push(Lt)}if(ft&&!this.Na(ft.events,ft.attributes,m,E))return St?Q:null;const Mt={requestData:ft,headers:this.$s(ft,P.Z.Ps.$a)};return Q.push(Mt),Q}Qh(m,E){if(m){const z=[];for(const D of m){const K=v.Z.fromJson(D);K.time=(0,p.Pn)(K.time),z.push(K)}this.u.xo(z)}if(E)for(const z of E)this.u.La(z)}Vs(m,E){let z="HTTP error ";m!=null&&(z+=m+" "),z+=E,f.Z.error(z)}qr(m){return y.Z.q(C.G.Ea,{n:m})}Zi(m,E,z){const D={};m&&(D.feed=!0),E&&(D.triggers=!0);const K=z??this.wt.getUserId();if(K&&(D.user_id=K),!D.user_id&&!this.zo.Fh()){const Q=(0,B.q)(this.u);Q&&(D.alias=Q)}return D.config={config_time:this.yt.ii()},{respond_with:D}}Ka(m){const E=new Date().valueOf();let z=R.dH.toString();const D=P.Z.Pa(this.u,m);return D!==-1&&(z=(E-D).toString()),z}$s(m,E,z=!1){const D=[["X-Braze-Api-Key",this.rn]],K=this.Ka(E);D.push(["X-Braze-Last-Req-Ms-Ago",K]);const Q=P.Z.Ua(this.u,E).toString();D.push(["X-Braze-Req-Attempt",Q]);let nt=!1;if(m.respond_with!=null&&m.respond_with.triggers&&(D.push(["X-Braze-TriggersRequest","true"]),nt=!0),m.respond_with!=null&&m.respond_with.feed&&(D.push(["X-Braze-FeedRequest","true"]),nt=!0),E===P.Z.Ps.Bs){D.push(["X-Braze-ContentCardsRequest","true"]);let X=this.u.j(i.I.C.As);X&&z||(X=0,this.u.k(i.I.C.As,X)),D.push(["BRAZE-SYNC-RETRY-COUNT",X.toString()]),nt=!0}if(E===P.Z.Ps.bi&&(D.push(["X-Braze-FeatureFlagsRequest","true"]),nt=!0),nt&&D.push(["X-Braze-DataRequest","true"]),this.zo.Fh()){const X=this.zo.kh();X!=null&&D.push(["X-Braze-Auth-Signature",X])}return D}Ga(m,E,z,D){window.setTimeout((()=>{f.Z.info(`Retrying rate limited ${this.$h(D)}SDK request.`),this.Xs(E,z,D)}),m)}Xs(m,E,z,D){if(!this.Ha(z))return f.Z.info(`${this.$h(z)}SDK request being rate limited.`),void(typeof D=="function"&&D());const K=this.Wa();if(!K.Ya)return f.Z.info(`${this.$h(z)}SDK request being rate limited. Request will be retried in ${Math.trunc(K.Ja/1e3)} seconds.`),void this.Ga(K.Ja,m,E,z);this.u.k(i.I.C.Qa,new Date().valueOf());const Q=m.device;Q&&Q.os_version instanceof Promise?Q.os_version.then((nt=>{m.device.os_version=nt,E(K.Va)})):E(K.Va)}Za(m){var E;(E=this.u)===null||E===void 0||E.k(i.I.C.au,m)}du(m,E){let z=this.fu();z==null&&(z={}),z[m]=E,this.u.k(i.I.C.vu,z)}Ru(){var m;return(m=this.u)===null||m===void 0?void 0:m.j(i.I.C.au)}fu(){var m;return(m=this.u)===null||m===void 0?void 0:m.j(i.I.C.vu)}gu(m,E,z,D,K=""){let Q;if(K){const X=this.fu();Q=X==null||isNaN(X[K])?E:X[K]}else Q=this.Ru(),(Q==null||isNaN(Q))&&(Q=E);const nt=(m-D)/1e3;return Q=Math.min(Q+nt/z,E),Q}pu(m,E){return Math.max(0,(1-m)*E*1e3)}bu(m,E=""){var z,D,K,Q,nt;const X={Ya:!0,Va:-1,Ja:0};if(m==null&&(m=!0),!m&&!E)return X;let ft,Ut,pt=null;if(m)pt=(z=this.u)===null||z===void 0?void 0:z.j(i.I.C.Qa);else{const Mt=P.Z.qu(this.u);if(Mt==null||Mt[E]==null)return X;pt=Mt[E]}if(pt==null||isNaN(pt)||(m?(ft=((D=this.yt)===null||D===void 0?void 0:D.Au())||-1,Ut=((K=this.yt)===null||K===void 0?void 0:K.Du())||-1):(ft=((Q=this.yt)===null||Q===void 0?void 0:Q.Tu(E))||-1,Ut=((nt=this.yt)===null||nt===void 0?void 0:nt.ku(E))||-1),ft===-1||Ut===-1))return X;const Tt=new Date().valueOf();let St=this.gu(Tt,ft,Ut,pt,E);return St<1?(X.Ya=!1,X.Ja=this.pu(St,Ut),X):(St=Math.trunc(St)-1,X.Va=St,m?this.Za(St):this.du(E,St),X)}Wa(){return this.bu(!0)}Ha(m){const E=this.bu(!1,m);return!(E&&!E.Ya)}Os(){this.zo.Os()}Hs(){return this.Go}addSdkMetadata(m){for(const E of m)this.Hh.indexOf(E)===-1&&this.Hh.push(E)}}var j=h(1843),G=h(6504),F=h(4673),I=h(4556);class U{constructor(m,E,z,D,K,Q,nt,X,ft,Ut){this.rn=m,this.baseUrl=E,this.ri=z,this.on=D,this.wt=K,this.yt=Q,this.u=nt,this.wu=X,this.zo=ft,this.qt=Ut,this.rn=m,this.baseUrl=E,this.yu=0,this.fE=nt.dE()||0,this.ju=null,this.ri=z,this.on=D,this.wt=K,this.yt=Q,this.u=nt,this.zo=ft,this.qt=Ut,this.wu=X,this.Su=new g.Z,this.$u=null,this.Cu=50,this.Fu=!1}Lu(m,E){return!m&&!E&&this.zo.Gh()>=this.Cu}Mu(m){let E=this.ri.Gl();if(m.length>0){const z=this.wt.getUserId();for(const D of m){const K=!D.userId&&!z||D.userId===z;D.type===C.G.ql&&K&&(E=!0)}}return E}Pu(m=!1,E=!1,z=!0,D,K,Q,nt=!1,X=!1){z&&this.xu();const ft=this.u.AE(),Ut=this.u.OE();let pt=!1;const Tt=(Et,fe,Ne=-1)=>{let Ae=!1;const Ue=new Date().valueOf();P.Z._s(this.u,P.Z.Ps.$a,Ue),Ne!==-1&&fe.push(["X-Braze-Req-Tokens-Remaining",Ne.toString()]),j.Z.Gs({url:this.baseUrl+"/data/",data:Et,headers:fe,L:ie=>{Et.respond_with!=null&&Et.respond_with.triggers&&(this.yu=Math.max(this.yu-1,0)),this.qt.Ks(Et,ie,fe)?(this.zo.Os(),this.yt.al(ie),Et.respond_with!=null&&Et.respond_with.user_id!=this.wt.getUserId()||(Et.device!=null&&this.u.k(i.I.C.Ca,Et.device),Et.sdk_metadata!=null&&(this.u.k(i.I.C.Yh,Et.sdk_metadata),this.u.k(i.I.C.Jh,this.ri.Si())),this.wu(ie),P.Z.Qs(this.u,P.Z.Ps.$a,1),typeof D=="function"&&D())):ie.auth_error&&(Ae=!0)},error:()=>{Et.respond_with!=null&&Et.respond_with.triggers&&(this.yu=Math.max(this.yu-1,0)),this.qt.Qh(Et.events,Et.attributes),typeof K=="function"&&K()},Ws:ie=>{if(typeof Q=="function"&&Q(ie),z&&!pt){if(ie&&!Ae)this.Iu();else{P.Z.Ys(this.u,P.Z.Ps.$a);let le=this.ju;(le==null||le<1e3*this.fE)&&(le=1e3*this.fE),this.Iu(Math.min(3e5,(0,G.R)(1e3*this.fE,3*le)))}pt=!0}}})},St=this.Mu(ft),Mt=E||St;if(this.Lu(nt,St))return void f.Z.info("Declining to flush data due to 50 consecutive authentication failures");if(z&&!this.qt.Na(ft,Ut,m,Mt))return this.Iu(),void(typeof Q=="function"&&Q(!0));const Lt=this.qt.Xa(m,Mt,ft,Ut,X);Mt&&this.yu++;let te=!1;if(Lt)for(const Et of Lt)this.qt.Xs(Et.requestData,(fe=>Tt(Et.requestData,Et.headers,fe)),P.Z.Ps.$a,K),te=!0;this.zo.Fh()&&z&&!te?this.Iu():St&&(f.Z.info("Invoking new session subscriptions"),this.Su.Dt())}Nu(){return this.yu>0}Iu(m=1e3*this.fE){this.Fu||(this.xu(),this.$u=window.setTimeout((()=>{if(document.hidden){const E="visibilitychange",z=()=>{document.hidden||(document.removeEventListener(E,z,!1),this.Pu())};document.addEventListener(E,z,!1)}else this.Pu()}),m),this.ju=m)}xu(){this.$u!=null&&(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(m){return this.Su.It(m)}openSession(){const m=this.ri.Si()!==this.ri.wo();m&&(this.u.cE(i.I.iu.Uo),this.u.cE(i.I.iu.su)),this.Pu(void 0,!1,void 0,(()=>{this.u.ti(i.I.C.vi)})),this.Mn(),m&&Promise.resolve().then(h.bind(h,4127)).then((E=>{if(this.Fu)return;const z=E.default.m();if(z!=null&&(I.Z.isPushPermissionGranted()||I.Z.isPushBlocked())){const D=()=>{z.mn()?f.Z.info("Push token maintenance is disabled, not refreshing token for backend."):z.subscribe()},K=(X,ft)=>{ft&&D()},Q=()=>{const X=this.u.j(i.I.C.In);(X==null||X)&&D()},nt=b.Z.Yt.Qt;new b.Z(nt,f.Z).jr(nt.ss.cu,K,Q)}}))}Ou(){this.u.ti(i.I.C.gi),this.u.ti(i.I.C.ws),this.u.ti(i.I.C.Cr)}changeUser(m,E,z){const D=this.wt.getUserId();if(D!==m){this.ri.yl(),this.Ou(),D!=null&&this.Pu(void 0,!1,void 0,void 0,void 0),this.wt.ou(m),z?this.zo.setSdkAuthenticationSignature(z):this.zo.xh();for(let K=0;K<E.length;K++)E[K].changeUser(D==null);D!=null&&this.u.ti(i.I.C.J),this.u.ti(i.I.C.Ca),this.u.ti(i.I.C.nE),this.u.ti(i.I.C._E),this.openSession(),f.Z.info('Changed user to "'+m+'".')}else{let K="Doing nothing.";z&&this.zo.kh()!==z&&(this.zo.setSdkAuthenticationSignature(z),K="Updated SDK authentication signature"),f.Z.info(`Current user is already ${m}. ${K}`)}}requestImmediateDataFlush(m){this.xu(),this.ri.wo(),this.Pu(void 0,void 0,void 0,void 0,(()=>{f.Z.error("Failed to flush data, request will be retried automatically.")}),m,!0)}requestFeedRefresh(){this.ri.wo(),this.Pu(!0)}$r(m,E){this.ri.wo(),f.Z.info("Requesting explicit trigger refresh."),this.Pu(void 0,!0,void 0,m,E)}Cn(m,E){const z=C.G.zu,D={a:m,l:E},K=y.Z.q(z,D);return K&&(f.Z.info(`Logged alias ${m} with label ${E}`),this.u.k(i.I.C._E,D)),K}Fn(m,E,z){if(this.yt.hu(E))return f.Z.info(`Custom Attribute "${E}" is blocklisted, ignoring.`),new F.Z;const D={key:E,value:z},K=y.Z.q(m,D);if(K){const Q=typeof z=="object"?JSON.stringify(z,null,2):z;f.Z.info(`Logged custom attribute: ${E} with value: ${Q}`)}return K}setLastKnownLocation(m,E,z,D,K,Q){const nt={latitude:E,longitude:z};D!=null&&(nt.altitude=D),K!=null&&(nt.ll_accuracy=K),Q!=null&&(nt.alt_accuracy=Q);const X=y.Z.q(C.G.Uu,nt,m||void 0);return X&&f.Z.info(`Set user last known location as ${JSON.stringify(nt,null,2)}`),X}kr(m,E){const z=this.ri.wo();return new v.Z(this.wt.getUserId(),C.G._u,m,z,{cid:E})}Bu(m,E){return new b.Z(m,E)}Mn(){const m=b.Z.Yt.Qt;this.Bu(m,f.Z).setItem(m.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(m){for(const E of m)if(E.api_key===this.rn)this.qt.Qh(E.events,E.attributes);else{const z=b.Z.Yt.Qt;new b.Z(z,f.Z).setItem(z.ss.wr,e.Z.W(),E)}}Gn(m,E,z){if(this.yt.hu(m))return f.Z.info(`Custom Attribute "${m}" is blocklisted, ignoring.`),new F.Z;let D,K;return E===null&&z===null?(D=C.G.Eu,K={key:m}):(D=C.G.Ju,K={key:m,latitude:E,longitude:z}),y.Z.q(D,K)}Hn(m,E){const z={group_id:m,status:E};return y.Z.q(C.G.Ku,z)}}class tt{constructor(m=0,E=[],z=[],D=[],K=null,Q=null,nt={enabled:!1},X={enabled:!1,refresh_rate_limit:void 0},ft={enabled:!0,capacity:R.Up,refill_rate:R.Y$,endpoint_overrides:{}}){this.hl=m,this.gl=E,this.fl=z,this.bl=D,this.Rl=K,this.cl=Q,this.ml=nt,this.hi=X,this.ol=ft,this.hl=m,this.gl=E,this.fl=z,this.bl=D,this.Rl=K,this.cl=Q,this.ml=nt,this.hi=X,this.ol=ft}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(m){let E=m.l;return m.s!=="5.3.1"&&(E=0),new tt(E,m.e,m.a,m.p,m.m,m.v,m.c,m.f,m.grl)}}class H{constructor(m){this.u=m,this.u=m,this.tl=new g.Z,this.el=new g.Z,this.il=new g.Z,this.sl=null,this.rl=null}ll(){if(this.rl==null){const m=this.u.j(i.I.C.ul);this.rl=m!=null?tt.qn(m):new tt}return this.rl}ii(){return this.ll().hl}al(m){if(m!=null&&m.config!=null){const E=m.config;if(E.time>this.ll().hl){const z=X=>X??this.ll().ol,D=new tt(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,z(E.global_request_rate_limit));let K=!1;D.cl!=null&&this.Wn()!==D.cl&&(K=!0);let Q=!1;D.ml.enabled!=null&&this.si()!==D.ml.enabled&&(Q=!0);let nt=!1;D.hi.enabled!=null&&this.ci()!==D.hi.enabled&&(nt=!0),this.rl=D,this.u.k(i.I.C.ul,D.Y()),K&&this.tl.Dt(),Q&&this.el.Dt(),nt&&this.il.Dt()}}}_n(m){const E=this.tl.It(m);return this.sl&&this.tl.removeSubscription(this.sl),this.sl=E,E}Is(m){return this.el.It(m)}ji(m){return this.il.It(m)}me(m){return this.ll().gl.indexOf(m)!==-1}hu(m){return this.ll().fl.indexOf(m)!==-1}Dr(m){return this.ll().bl.indexOf(m)!==-1}dl(){return this.ll().Rl}Wn(){return this.ll().cl}si(){return this.ll().ml.enabled||!1}Cl(){const m=this.ll().ol;return!(!m||m.enabled==null)&&m.enabled}Au(){if(!this.Cl())return-1;const m=this.ll().ol;return m.capacity==null||m.capacity<10?-1:m.capacity}Du(){if(!this.Cl())return-1;const m=this.ll().ol;return m.refill_rate==null||m.refill_rate<=0?-1:m.refill_rate}vl(m){const E=this.ll().ol.endpoint_overrides;return E==null?null:E[m]}Tu(m){const E=this.vl(m);return E==null||isNaN(E.capacity)||E.capacity<=0?-1:E.capacity}ku(m){const E=this.vl(m);return E==null||isNaN(E.refill_rate)||E.refill_rate<=0?-1:E.refill_rate}ci(){return this.ll().hi.enabled&&this.Ri()==null?(y.Z.q(C.G.qs,{e:"Missing feature flag refresh_rate_limit."}),!1):this.ll().hi.enabled||!1}Ri(){return this.ll().hi.refresh_rate_limit}}class rt{constructor(m,E,z,D){this.u=m,this.wt=E,this.yt=z,this.wl=D,this.u=m,this.wt=E,this.yt=z,this.Sl=1e3,(D==null||isNaN(D))&&(D=1800),D<this.Sl/1e3&&(f.Z.info("Specified session timeout of "+D+"s is too small, using the minimum session timeout of "+this.Sl/1e3+"s instead."),D=this.Sl/1e3),this.wl=D}jl(m,E){return new v.Z(this.wt.getUserId(),C.G.xl,m,E.eu,{d:(0,p.FX)(m-E.Dl)})}Si(){const m=this.u.tu(i.I.iu.El);return m==null?null:m.eu}Gl(){const m=new Date().valueOf(),E=this.yt.dl(),z=this.u.j(i.I.C.Nl);if(z!=null&&E==null)return!1;let D=!1;return z==null?D=!0:E!=null&&(D=m-z>1e3*E),D&&this.u.k(i.I.C.Nl,m),D}zl(m,E){return E==null||E.Hl==null||!(m-E.Dl<this.Sl)&&E.Hl<m}wo(){const m=new Date().valueOf(),E=m+1e3*this.wl,z=this.u.tu(i.I.iu.El);if(this.zl(m,z)){let D="Generating session start event with time "+m;if(z!=null){let Q=z.Wl;Q-z.Dl<this.Sl&&(Q=z.Dl+this.Sl),this.u.kl(this.jl(Q,z)),D+=" (old session ended "+Q+")"}D+=". Will expire "+E.valueOf(),f.Z.info(D);const K=new r.Z(e.Z.W(),E);return this.u.kl(new v.Z(this.wt.getUserId(),C.G.ql,m,K.eu)),this.u.uu(i.I.iu.El,K),this.u.j(i.I.C.Nl)==null&&this.u.k(i.I.C.Nl,m),K.eu}if(z!=null)return z.Wl=m,z.Hl=E,this.u.uu(i.I.iu.El,z),z.eu}yl(){const m=this.u.tu(i.I.iu.El);m!=null&&(this.u.Al(i.I.iu.El),this.u.kl(this.jl(new Date().valueOf(),m)))}}const it={Qo:function(ct,m=!1){let E=!1;try{if(localStorage&&localStorage.getItem)try{localStorage.setItem(i.I.C.ec,"true"),localStorage.getItem(i.I.C.ec)&&(localStorage.removeItem(i.I.C.ec),E=!0)}catch(Q){if(!(Q instanceof Error&&(Q.name==="QuotaExceededError"||Q.name==="NS_ERROR_DOM_QUOTA_REACHED")&&localStorage.length>0))throw Q;E=!0}}catch{f.Z.info("Local Storage not supported!")}const z=it.oc(),D=new i.Z.tc(ct,z&&!m,E);let K;return K=E?new i.Z.rc(ct):new i.Z.ac,new i.Z(D,K)},oc:function(){return navigator.cookieEnabled||"cookie"in document&&(document.cookie.length>0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)}},ut=it;var yt=h(9342),Ot=h(8548),Pt=h(3552),gt=h(7615);class Gt{constructor(m,E){this.yt=m,this.u=E,this.yt=m,this.u=E}getUserId(){const m=this.u.tu(i.I.iu.su);if(m==null)return null;let E=m.eu,z=(0,Ot.E)(E);if(z>gt.Z.lr){for(;z>gt.Z.lr;)E=E.slice(0,E.length-1),z=(0,Ot.E)(E);m.eu=E,this.u.uu(i.I.iu.su,m)}return E}ou(m){const E=this.getUserId()==null;this.u.uu(i.I.iu.su,new r.Z(m)),E&&this.u.ru(m)}setCustomUserAttribute(m,E){if(this.yt.hu(m))return f.Z.info('Custom Attribute "'+m+'" is blocklisted, ignoring.'),!1;const z={};return z[m]=E,this.nu(gt.Z.lu,z,!0)}nu(m,E,z=!1,D=!1){const K=this.u.mu(this.getUserId(),m,E);let Q="",nt=m,X=E;return z&&(Q=" custom",typeof E=="object"&&(nt=Object.keys(E)[0],X=E[nt],typeof X=="object"&&(X=JSON.stringify(X,null,2)))),!D&&K&&f.Z.info(`Logged${Q} attribute ${nt} with value ${X}`),K}kn(m,E,z,D,K){this.nu("push_token",m,!1,!0),this.nu("custom_push_public_key",z,!1,!0),this.nu("custom_push_user_auth",D,!1,!0),this.nu("custom_push_vapid_public_key",K,!1,!0);const Q=b.Z.Yt.Qt,nt=new b.Z(Q,f.Z),X=new Pt.Z(m,E,z,D,K);this.u.k(i.I.C.In,X.Y()),nt.setItem(Q.ss.cu,Q.ie,!0)}Dn(m){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),m){const E=b.Z.Yt.Qt,z=new b.Z(E,f.Z);this.u.k(i.I.C.In,!1),z.setItem(E.ss.cu,E.ie,!1)}}}var jt=h(1148),Qt=h(5319);const $t={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"},_t={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"},ae=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 g.Z,this.Jo=new g.Z,this.options={},this.Yo=[],this.Ho=[],this._e=[],this.Wo="5.3.1"}Xo(ct){this.qo.It(ct)}Sh(ct){this.Jo.It(ct)}initialize(ct,m){if(this.so())return f.Z.info("Braze has already been initialized with an API key."),!0;this.options=m||{};let E=this.nn(_t.So);const z=(0,jt.L)(Qt.SD.Un());if(z&&z.brazeLogging==="true"&&(E=!0),f.Z.init(E),f.Z.info(`Initialization Options: ${JSON.stringify(this.options,null,2)}`),ct==null||ct===""||typeof ct!="string")return f.Z.error("Braze requires a valid API key to be initialized."),!1;this.rn=ct;let D=this.nn(_t._o);if(D==null||D===""||typeof D!="string")return f.Z.error("Braze requires a valid baseUrl to be initialized."),!1;/^https?:/.test(D)===!1&&(D=`https://${D}`);const K=D;if(D=document.createElement("a"),D.href=K,D.pathname==="/"&&(D=`${D}api/v3`),this.Go=D.toString(),a.Z.Zo&&!this.nn(_t.Eo))return f.Z.info("Ignoring activity from crawler bot "+navigator.userAgent),this.$o=!0,!1;const Q=this.nn(_t.Io)||!1;if(this.u=ut.Qo(ct,Q),Q&&this.u.Wh(ct),new i.Z.ee(null,!0).br(i.I.se))return f.Z.info("Ignoring all activity due to previous opt out"),this.$o=!0,!1;for(const pt of(0,t.XP)(this.options))(0,t.VO)($t).indexOf(pt)===-1&&f.Z.warn(`Ignoring unknown initialization option '${pt}'.`);const nt=["mparticle","wordpress","tealium"];if(this.nn(_t.Bo)!=null){const pt=this.nn(_t.Bo);nt.indexOf(pt)!==-1?this.Vo=pt:f.Z.error("Invalid sdk flavor passed: "+pt)}let X=this.nn($t.Ao);if(X!=null)if((0,t.kJ)(X)){const pt=[];for(let Tt=0;Tt<X.length;Tt++)(0,t.fk)(c,X[Tt],"devicePropertyAllowlist contained an invalid value.","DeviceProperties")&&pt.push(X[Tt]);X=pt}else f.Z.error("devicePropertyAllowlist must be an array. Defaulting to all properties."),X=null;const ft=this.nn(_t.Uo);if(ft){const pt=new r.Z(ft);this.u.uu(i.I.iu.Uo,pt)}this.on=new l(this.u,X),this.yt=new H(this.u),this.wt=new Gt(this.yt,this.u),this.ri=new rt(this.u,this.wt,this.yt,this.nn(_t.Po));const Ut=new g.Z;return this.zo=new s(this.u,this.nn(_t.No),Ut),this.$t(Ut),this.qt=new M(this.on,this.u,this.zo,this.wt,this.ri,this.yt,this.rn,this.Go,this.Wo,this.Vo||"",this.nn(_t.Ro),this.nn(_t.Lo)),this.zi=new U(this.rn,this.Go,this.ri,this.on,this.wt,this.yt,this.u,(pt=>{if(this.so())for(const Tt of this.gr())Tt.Ns(pt)}),this.zo,this.qt),this.zi.initialize(),Q||this.u.Vh(),f.Z.info(`Initialized for the Braze backend at "${this.nn(_t._o)}" with API key "${this.rn}".`),yt.n.o(),this.yt.ji((()=>{var pt;this.Ko&&(!((pt=this.yt)===null||pt===void 0)&&pt.ci())&&h.e(787).then(h.bind(h,9787)).then((Tt=>{this.Ko&&(0,Tt.default)()}))})),this.zi.mr((()=>{var pt;this.Ko&&(!((pt=this.yt)===null||pt===void 0)&&pt.ci())&&h.e(787).then(h.bind(h,9787)).then((Tt=>{this.Ko&&(0,Tt.default)(void 0,void 0,!0)}))})),this.qo.Dt(this.options),this.Ko=!0,!0}destroy(ct){if(f.Z.destroy(),this.so()){this.Jo.Dt(),this.Jo.removeAllSubscriptions();for(const m of this.Yo)m.destroy();this.Yo=[];for(const m of this.Ho)m.clearData(!1);this.Ho=[],this.removeAllSubscriptions(),this._e=[],this.zi!=null&&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,ct&&(this.u=null)}}X(){return!(this.Kh()||!this.so()&&(console.warn(R.Go),1))}ba(){return this.rn}Sr(){return this.zo}Hs(){return this.Go}te(){return this.on}nr(){return this.qt}nn(ct){return this.options[ct]}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 gt.Z(this.wt,this.zi)}er(){return this.wt}tr(){return this.nn(_t.Do)===!0}g(ct){let m=!1;for(const E of this.Yo)E===ct&&(m=!0);m||this.Yo.push(ct)}ar(ct){let m=!1;for(const E of this.Ho)E.constructor===ct.constructor&&(m=!0);ct instanceof k.Z&&!m&&this.Ho.push(ct)}$t(ct){ct instanceof g.Z&&this._e.push(ct)}removeAllSubscriptions(){if(this.X())for(const ct of this._e)ct.removeAllSubscriptions()}removeSubscription(ct){if(this.X())for(const m of this._e)m.removeSubscription(ct)}oe(ct){this.$o=ct}so(){return this.Ko}Kh(){return this.$o}Ds(){return this.Wo}}},5966:(_,N,h)=>{h.d(N,{I:()=>c,Z:()=>r});var i=h(7559),g=h(2308),b=h(2893),f=h(2730),s=h(335),k=h(7615),a=h(3695),A=h(8031);const c={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 r{constructor(t,n){this.uE=t,this.TE=n,this.uE=t,this.TE=n}Wh(t){const n=(0,b.XP)(c.iu),l=new r.ee(t);for(const u of n)l.remove(c.iu[u])}uu(t,n){let l=null;n!=null&&n instanceof g.Z&&(l=n.Y()),this.uE.store(t,l)}cE(t){const n=this.tu(t);n!=null&&(n.Wl=new Date().valueOf(),this.uu(t,n))}tu(t){const n=this.uE.br(t),l=(v=>{let p;try{p=JSON.parse(v)}catch{p=null}return p})(n);let u;if(l)u=g.Z.qn(l)||null,u&&this.uu(t,u);else{const v=g.Z.hE(n);u=g.Z.qn(v)||null,v!==n&&u&&this.uu(t,u)}return u}Al(t){this.uE.remove(t)}Vh(){const t=(0,b.XP)(c.iu);let n;for(const l of t)n=this.tu(c.iu[l]),n!=null&&this.uu(c.iu[l],n)}xo(t){let n;if(t==null||t.length===0)return!1;n=(0,b.kJ)(t)?t:[t];let l=this.TE.br(c.C.tE);l!=null&&(0,b.kJ)(l)||(l=[]);for(let u=0;u<n.length;u++)l.push(n[u].Y());return this.TE.store(c.C.tE,l)}kl(t){return t!=null&&this.xo([t])}AE(){let t=this.TE.br(c.C.tE);this.TE.remove(c.C.tE),t==null&&(t=[]);const n=[];let l=!1,u=null;if((0,b.kJ)(t))for(let v=0;v<t.length;v++)i.Z.RE(t[v])?n.push(i.Z.qn(t[v])):u=v;else l=!0;if(l||u!=null){let v="Stored events could not be deserialized as Events";l&&(v+=", was "+Object.prototype.toString.call(t)+" not an array"),u!=null&&(v+=", value at index "+u+" does not look like an event"),v+=", serialized values were of type "+typeof t+": "+JSON.stringify(t),n.push(new i.Z(null,f.G.qs,new Date().valueOf(),null,{e:v}))}return n}k(t,n){return!!(0,b.fk)(c.C,t,"StorageManager cannot store object.","STORAGE_KEYS.OBJECTS")&&this.TE.store(t,n)}j(t){return!!(0,b.fk)(c.C,t,"StorageManager cannot retrieve object.","STORAGE_KEYS.OBJECTS")&&this.TE.br(t)}ti(t){return!!(0,b.fk)(c.C,t,"StorageManager cannot remove object.","STORAGE_KEYS.OBJECTS")&&(this.TE.remove(t),!0)}clearData(){const t=(0,b.XP)(c.iu),n=(0,b.XP)(c.C);for(let l=0;l<t.length;l++){const u=t[l];this.uE.remove(c.iu[u])}for(let l=0;l<n.length;l++){const u=n[l];this.TE.remove(c.C[u])}}gE(t){return t||c.C.sE}La(t){let n=this.TE.br(c.C.eE);n==null&&(n={});const l=this.gE(t[k.Z.Yn]),u=n[l];for(const v in t)v!==k.Z.Yn&&(n[l]==null||u&&u[v]==null)&&this.mu(t[k.Z.Yn],v,t[v])}mu(t,n,l){let u=this.TE.br(c.C.eE);u==null&&(u={});const v=this.gE(t);let p=u[v];if(p==null&&(p={},t!=null&&(p[k.Z.Yn]=t)),n===k.Z.lu){p[n]==null&&(p[n]={});for(const y in l)p[n][y]=l[y]}else p[n]=l;return u[v]=p,this.TE.store(c.C.eE,u)}OE(){const t=this.TE.br(c.C.eE);this.TE.remove(c.C.eE);const n=[];for(const l in t)t[l]!=null&&n.push(t[l]);return n}ru(t){const n=this.TE.br(c.C.eE);if(n!=null){const p=this.gE(null),y=n[p];y!=null&&(n[p]=void 0,this.TE.store(c.C.eE,n),y[k.Z.Yn]=t,this.La(y))}const l=this.tu(c.iu.El);let u=null;l!=null&&(u=l.eu);const v=this.AE();if(v!=null)for(let p=0;p<v.length;p++){const y=v[p];y.userId==null&&y.sessionId==u&&(y.userId=t),this.kl(y)}}dE(){return this.TE.fE}}r.rc=class{constructor(e){this.rn=e,this.rn=e,this.fE=a.Z.IE()?3:10}bE(e){return e+"."+this.rn}store(e,t){const n={v:t};try{return localStorage.setItem(this.bE(e),JSON.stringify(n)),!0}catch(l){return s.Z.info("Storage failure: "+(0,A.e)(l)),!1}}br(e){try{let t=null;const n=localStorage.getItem(this.bE(e));return n!=null&&(t=JSON.parse(n)),t==null?null:t.v}catch(t){return s.Z.info("Storage retrieval failure: "+(0,A.e)(t)),null}}remove(e){try{localStorage.removeItem(this.bE(e))}catch(t){return s.Z.info("Storage removal failure: "+(0,A.e)(t)),!1}}},r.ac=class{constructor(){this.mE={},this.KE=5242880,this.fE=3}store(e,t){const n={value:t},l=this.YE(t);return l>this.KE?(s.Z.info("Storage failure: object is ≈"+l+" bytes which is greater than the max of "+this.KE),!1):(this.mE[e]=n,!0)}YE(e){const t=[],n=[e];let l=0;for(;n.length;){const u=n.pop();if(typeof u=="boolean")l+=4;else if(typeof u=="string")l+=2*u.length;else if(typeof u=="number")l+=8;else if(typeof u=="object"&&t.indexOf(u)===-1){let v,p;t.push(u);for(const y in u)p=u,v=y,n.push(p[v])}}return l}br(e){const t=this.mE[e];return t==null?null:t.value}remove(e){this.mE[e]=null}},r.ee=class{constructor(e,t){this.rn=e,this.NE=t,this.rn=e,this.CE=this.GE(),this.DE=576e3,this.NE=!!t}bE(e){return this.rn!=null?e+"."+this.rn:e}GE(){let e=0,t=document.location.hostname;const n=t.split("."),l="ab._gd";for(;e<n.length-1&&document.cookie.indexOf(l+"="+l)===-1;)e++,t="."+n.slice(-1-e).join("."),document.cookie=l+"="+l+";domain="+t+";";return document.cookie=l+"=;expires="+new Date(0).toUTCString()+";domain="+t+";",t}ne(){const e=new Date;return e.setTime(e.getTime()+60*this.DE*1e3),e.getFullYear()}ME(){const e=(0,b.VO)(c.iu),t=document.cookie.split(";");for(let n=0;n<t.length;n++){let l=t[n];for(;l.charAt(0)===" ";)l=l.substring(1);let u=!1;for(let v=0;v<e.length;v++)if(l.indexOf(e[v])===0){u=!0;break}if(u){const v=l.split("=")[0];v.indexOf("."+this.rn)===-1&&this.pE(v)}}}store(e,t){this.ME();const n=new Date;n.setTime(n.getTime()+60*this.DE*1e3);const l="expires="+n.toUTCString(),u="domain="+this.CE;let v;v=this.NE?t:encodeURIComponent(t);const p=this.bE(e)+"="+v+";"+l+";"+u+";path=/";return p.length>=4093?(s.Z.info("Storage failure: string is "+p.length+" chars which is too large to store as a cookie."),!1):(document.cookie=p,!0)}br(e){const t=[],n=this.bE(e)+"=",l=document.cookie.split(";");for(let u=0;u<l.length;u++){let v=l[u];for(;v.charAt(0)===" ";)v=v.substring(1);if(v.indexOf(n)===0)try{let p;p=this.NE?v.substring(n.length,v.length):decodeURIComponent(v.substring(n.length,v.length)),t.push(p)}catch(p){return s.Z.info("Storage retrieval failure: "+(0,A.e)(p)),this.remove(e),null}}return t.length>0?t[t.length-1]:null}remove(e){this.pE(this.bE(e))}pE(e){const t=e+"=;expires="+new Date(0).toUTCString();document.cookie=t,document.cookie=t+";path=/";const n=t+";domain="+this.CE;document.cookie=n,document.cookie=n+";path=/"}},r.tc=class{constructor(e,t,n){this.rn=e,this.vE=[],t&&this.vE.push(new r.ee(e)),n&&this.vE.push(new r.rc(e)),this.vE.push(new r.ac)}store(e,t){let n=!0;for(let l=0;l<this.vE.length;l++)n=this.vE[l].store(e,t)&&n;return n}br(e){for(let t=0;t<this.vE.length;t++){const n=this.vE[t].br(e);if(n!=null)return n}return null}remove(e){new r.ee(this.rn).remove(e);for(let t=0;t<this.vE.length;t++)this.vE[t].remove(e)}}},4663:(_,N,h)=>{h.d(N,{Z:()=>g});var i=h(7070);class g{constructor(){this._e={}}It(f){if(typeof f!="function")return null;const s=i.Z.W();return this._e[s]=f,s}removeSubscription(f){delete this._e[f]}removeAllSubscriptions(){this._e={}}ic(){return Object.keys(this._e).length}Dt(f){const s=[];for(const k in this._e){const a=this._e[k];s.push(a(f))}return s}}},8982:(_,N,h)=>{h.d(N,{q:()=>g});var i=h(5966);function g(b){const f=b==null?void 0:b.j(i.I.C._E);let s;return f&&(s={label:f.l,name:f.a}),s}},3826:(_,N,h)=>{h.d(N,{Z:()=>i});const i={qa:"invalid_api_key",Aa:"blacklisted",Ba:"no_device_identifier",Ra:"invalid_json_response",Zh:"empty_response",__:"sdk_auth_error"}},7559:(_,N,h)=>{h.d(N,{Z:()=>s});var i=h(5825),g=h(8982),b=h(2893),f=h(7750);class s{constructor(a,A,c,r,e){this.userId=a,this.type=A,this.time=c,this.sessionId=r,this.data=e,this.userId=a,this.type=A,this.time=(0,f._0)(c),this.sessionId=r,this.data=e}Ir(){var a;const A={name:this.type,time:(0,f.FX)(this.time),data:this.data||{},session_id:this.sessionId};this.userId!=null&&(A.user_id=this.userId);const c=((a=i.ZP.Sr())===null||a===void 0?void 0:a.Fh())||!1;if(!A.user_id&&!c){const r=(0,g.q)(i.ZP.l());r&&(A.alias=r)}return A}Y(){return{u:this.userId,t:this.type,ts:this.time,s:this.sessionId,d:this.data}}static fromJson(a){return new s(a.user_id,a.name,a.time,a.session_id,a.data)}static RE(a){return a!=null&&(0,b.Kn)(a)&&a.t!=null&&a.t!==""}static qn(a){return new s(a.u,a.t,a.ts,a.s,a.d)}}},2308:(_,N,h)=>{h.d(N,{Z:()=>s});var i=h(7070),g=h(335),b=h(2893),f=h(8031);class s{constructor(a,A,c){this.eu=a,a==null&&(a=i.Z.W()),!c||isNaN(c)?this.Dl=new Date().valueOf():this.Dl=c,this.eu=a,this.Wl=new Date().valueOf(),this.Hl=A}Y(){return`g:${encodeURIComponent(this.eu)}|e:${this.Hl}|c:${this.Dl}|l:${this.Wl}`}static hE(a){if(typeof a!="string")return null;const A=a.lastIndexOf("|e:"),c=a.substring(0,A),r=c.split("g:")[1];let e;return e=/[|:]/.test(r)?encodeURIComponent(r):r,a.replace(c,`g:${e}`)}static qn(a){let A;if(typeof a=="string")try{const c=a.split("|");if(!(0,b.kJ)(c)||c.length!==4)return null;const r=t=>t.split(":")[1],e=t=>{const n=parseInt(r(t));if(!isNaN(n))return n};A=new s(decodeURIComponent(r(c[0])),e(c[1]),e(c[2])),A.Wl=e(c[3])}catch(c){g.Z.info(`Unable to parse cookie string ${a}, failed with error: ${(0,f.e)(c)}`)}else{if(a==null||a.g==null)return null;A=new s(a.g,a.e,a.c),A.Wl=a.l}return A}}},3552:(_,N,h)=>{h.d(N,{Z:()=>g});var i=h(7750);class g{constructor(f,s,k,a,A){this.endpoint=f,this.Vn=s,this.publicKey=k,this.Vl=a,this.cl=A,this.endpoint=f||null,this.Vn=s||null,this.publicKey=k||null,this.Vl=a||null,this.cl=A||null}Y(){return{e:this.endpoint,c:this.Vn,p:this.publicKey,u:this.Vl,v:this.cl}}static qn(f){return new g(f.e,(0,i.Rd)(f.c),f.p,f.u,f.v)}}},4673:(_,N,h)=>{h.d(N,{Z:()=>i});class i{constructor(b=!1,f=[]){this.L=b,this.ge=f,this.L=b,this.ge=f}P(b){this.L=this.L&&b.L,this.ge.push(...b.ge)}}},4365:(_,N,h)=>{h.d(N,{Z:()=>i});const i={OPEN:"open",Rr:"purchase",vr:"push_click",ue:"custom_event",Qr:"iam_click",kt:"test"}},2246:(_,N,h)=>{h.d(N,{Z:()=>u});var i=h(7750),g=h(335);class b{constructor(p){this.Bl=p,this.Bl=p}Jl(p){return this.Bl==null||this.Bl===p[0]}static fromJson(p){return new b(p?p.event_name:null)}Y(){return this.Bl}}var f=h(2893);class s{constructor(p,y,C,P){this.Tl=p,this._l=y,this.comparator=C,this.Ll=P,this.Tl=p,this._l=y,this.comparator=C,this.Ll=P,this._l===s.Ol.Il&&this.comparator!==s.Ql.Ul&&this.comparator!==s.Ql.Xl&&this.comparator!==s.Ql.Fl&&this.comparator!==s.Ql.Kl&&(this.Ll=(0,i.X2)(this.Ll))}Jl(p){let y=null;switch(p!=null&&(y=p[this.Tl]),this.comparator){case s.Ql.Pl:return y!=null&&y.valueOf()===this.Ll.valueOf();case s.Ql.Yl:return y==null||y.valueOf()!==this.Ll.valueOf();case s.Ql.Zl:return y!=null&&typeof y==typeof this.Ll&&y>this.Ll;case s.Ql.Ul:return this._l===s.Ol.Il?y!=null&&(0,f.J_)(y)&&(0,i.$N)(y)<=this.Ll.valueOf():y!=null&&typeof y==typeof this.Ll&&y>=this.Ll;case s.Ql.$l:return y!=null&&typeof y==typeof this.Ll&&y<this.Ll;case s.Ql.Xl:return this._l===s.Ol.Il?y!=null&&(0,f.J_)(y)&&(0,i.$N)(y)>=this.Ll.valueOf():y!=null&&typeof y==typeof this.Ll&&y<=this.Ll;case s.Ql.Hu:return y!=null&&typeof y=="string"&&typeof y==typeof this.Ll&&y.match(this.Ll)!=null;case s.Ql.Qu:return y!=null;case s.Ql.Xu:return y==null;case s.Ql.Fl:return y!=null&&(0,f.J_)(y)&&(0,i.yo)(y)<this.Ll;case s.Ql.Kl:return y!=null&&(0,f.J_)(y)&&(0,i.yo)(y)>this.Ll;case s.Ql.Gu:return y==null||typeof y!=typeof this.Ll||typeof y!="string"||y.match(this.Ll)==null}return!1}static fromJson(p){return new s(p.property_key,p.property_type,p.comparator,p.property_value)}Y(){let p=this.Ll;return(0,f.J_)(this.Ll)&&(p=(0,i.FX)(p.valueOf())),{k:this.Tl,t:this._l,c:this.comparator,v:p}}static qn(p){return new s(p.k,p.t,p.c,p.v)}}s.Ol={Vu:"boolean",Wu:"number",Yu:"string",Il:"date"},s.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 k{constructor(p){this.filters=p,this.filters=p}Jl(p){let y=!0;for(let C=0;C<this.filters.length;C++){const P=this.filters[C];let R=!1;for(let B=0;B<P.length;B++)if(P[B].Jl(p)){R=!0;break}if(!R){y=!1;break}}return y}static fromJson(p){if(p==null||!(0,f.kJ)(p))return null;const y=[];for(let C=0;C<p.length;C++){const P=[],R=p[C];for(let B=0;B<R.length;B++)P.push(s.fromJson(R[B]));y.push(P)}return new k(y)}Y(){const p=[];for(let y=0;y<this.filters.length;y++){const C=this.filters[y],P=[];for(let R=0;R<C.length;R++)P.push(C[R].Y());p.push(P)}return p}static qn(p){const y=[];for(let C=0;C<p.length;C++){const P=[],R=p[C];for(let B=0;B<R.length;B++)P.push(s.qn(R[B]));y.push(P)}return new k(y)}}class a{constructor(p,y){this.Bl=p,this.Ml=y,this.Bl=p,this.Ml=y}Jl(p){if(this.Bl==null||this.Ml==null)return!1;const y=p[0],C=p[1];return y===this.Bl&&this.Ml.Jl(C)}static fromJson(p){return new a(p?p.event_name:null,p?k.fromJson(p.property_filters):null)}Y(){return{e:this.Bl,pf:this.Ml?this.Ml.Y():null}}}class A{constructor(p,y){this.Zu=p,this.tf=y,this.Zu=p,this.tf=y}Jl(p){if(this.Zu==null)return!1;const y=l.if(p[0],this.Zu);if(!y)return!1;let C=this.tf==null||this.tf.length===0;if(this.tf!=null){for(let P=0;P<this.tf.length;P++)if(this.tf[P]===p[1]){C=!0;break}}return y&&C}static fromJson(p){return new A(p?p.id:null,p?p.buttons:null)}Y(){return this.Zu}}class c{constructor(p){this.productId=p,this.productId=p}Jl(p){return this.productId==null||p[0]===this.productId}static fromJson(p){return new c(p?p.product_id:null)}Y(){return this.productId}}class r{constructor(p,y){this.productId=p,this.Ml=y,this.productId=p,this.Ml=y}Jl(p){if(this.productId==null||this.Ml==null)return!1;const y=p[0],C=p[1];return y===this.productId&&this.Ml.Jl(C)}static fromJson(p){return new r(p?p.product_id:null,p?k.fromJson(p.property_filters):null)}Y(){return{id:this.productId,pf:this.Ml?this.Ml.Y():null}}}class e{constructor(p){this.Zu=p,this.Zu=p}Jl(p){return this.Zu==null||l.if(p[0],this.Zu)}static fromJson(p){return new e(p?p.campaign_id:null)}Y(){return this.Zu}}var t=h(4365),n=h(8031);class l{constructor(p,y){this.type=p,this.data=y,this.type=p,this.data=y}sc(p,y){return l.cc[this.type]===p&&(this.data==null||this.data.Jl(y))}static if(p,y){let C=null;try{C=window.atob(p)}catch(P){return g.Z.info("Failed to unencode analytics id "+p+": "+(0,n.e)(P)),!1}return y===C.split("_")[0]}static fromJson(p){const y=p.type;let C=null;switch(y){case l._r.OPEN:case l._r.kt:break;case l._r.Rr:C=c.fromJson(p.data);break;case l._r.nc:C=r.fromJson(p.data);break;case l._r.vr:C=e.fromJson(p.data);break;case l._r.ue:C=b.fromJson(p.data);break;case l._r.lc:C=a.fromJson(p.data);break;case l._r.Qr:C=A.fromJson(p.data)}return new l(y,C)}Y(){return{t:this.type,d:this.data?this.data.Y():null}}static qn(p){let y,C=null;switch(p.t){case l._r.OPEN:case l._r.kt:break;case l._r.Rr:C=new c(p.d);break;case l._r.nc:y=p.d||{},C=new r(y.id,k.qn(y.pf||[]));break;case l._r.vr:C=new e(p.d);break;case l._r.ue:C=new b(p.d);break;case l._r.lc:y=p.d||{},C=new a(y.e,k.qn(y.pf||[]));break;case l._r.Qr:C=new A(p.d)}return new l(p.t,C)}}l._r={OPEN:"open",Rr:"purchase",nc:"purchase_property",vr:"push_click",ue:"custom_event",lc:"custom_event_property",Qr:"iam_click",kt:"test"},l.cc={},l.cc[l._r.OPEN]=t.Z.OPEN,l.cc[l._r.Rr]=t.Z.Rr,l.cc[l._r.nc]=t.Z.Rr,l.cc[l._r.vr]=t.Z.vr,l.cc[l._r.ue]=t.Z.ue,l.cc[l._r.lc]=t.Z.ue,l.cc[l._r.Qr]=t.Z.Qr,l.cc[l._r.kt]=t.Z.kt;class u{constructor(p,y=[],C,P,R=0,B,M,j=0,G=u.td,F,I,U){this.id=p,this.sd=y,this.startTime=C,this.endTime=P,this.priority=R,this.type=B,this.data=M,this.ed=j,this.rd=G,this.Nr=F,this.hd=I,this.od=U,this.id=p,this.sd=y||[],C===void 0&&(C=null),this.startTime=C,P===void 0&&(P=null),this.endTime=P,this.priority=R||0,this.type=B,this.ed=j||0,F==null&&(F=1e3*(this.ed+30)),this.Nr=F,this.data=M,G!=null&&(this.rd=G),this.hd=I,this.od=U||null}nd(p){return this.od==null||this.rd!==u.td&&p-this.od>=1e3*this.rd}ad(p){this.od=p}ud(p){const y=p+1e3*this.ed;return Math.max(y-new Date().valueOf(),0)}dd(p){const y=new Date().valueOf()-p,C=p==null||isNaN(y)||this.Nr==null||y<this.Nr;return C||g.Z.info(`Trigger action ${this.type} is no longer eligible for display - fired ${y}ms ago and has a timeout of ${this.Nr}ms.`),!C}static fromJson(p){const y=p.id,C=[];for(let tt=0;tt<p.trigger_condition.length;tt++)C.push(l.fromJson(p.trigger_condition[tt]));const P=(0,i.X2)(p.start_time),R=(0,i.X2)(p.end_time),B=p.priority,M=p.type,j=p.delay,G=p.re_eligibility,F=p.timeout,I=p.data,U=p.min_seconds_since_last_trigger;return(0,f.fk)(u._r,M,"Could not construct Trigger from server data","Trigger.Types")?new u(y,C,P,R,B,M,I,j,G,F,U):null}Y(){const p=[];for(let y=0;y<this.sd.length;y++)p.push(this.sd[y].Y());return{i:this.id,c:p,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(p){const y=[],C=p.c||[];for(let P=0;P<C.length;P++)y.push(l.qn(C[P]));return new u(p.i,y,(0,i.Rd)(p.s),(0,i.Rd)(p.e),p.p,p.t,p.da,p.d,p.r,p.tm,p.ss,p.ld)}}u._r={Br:"inapp",md:"templated_iam"},u.td=-1},9342:(_,N,h)=>{h.d(N,{n:()=>n});var i=h(1087),g=h(5825),b=h(158),f=h(3340),s=h(7559),k=h(2893),a=h(5966);class A{constructor(u,v,p,y,C){this.triggerId=u,this.Er=v,this.Tr=p,this.Gr=y,this.Nr=C,this.triggerId=u,this.Er=v,this.Tr=p,this.Gr=y,this.Nr=C}static fromJson(u,v,p,y,C){return u==null||u.trigger_id==null?null:new A(u.trigger_id,v,p,y,C)}}var c=h(2246),r=h(4365),e=h(335);class t extends b.Z{constructor(u,v,p,y,C){super(),this.tg=u,this.Jt=v,this.u=p,this.zi=y,this.ig=C,this.tg=u,this.Jt=v,this.u=p,this.zi=y,this.ig=C,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(a.I.C.iE)||this.hg,this.ng=this.u.j(a.I.C.EE)||this.ng,this.og=this.u.j(a.I.C.aE)||this.og;for(let u=0;u<this.triggers.length;u++){const v=this.triggers[u];v.id&&this.og[v.id]!=null&&v.ad(this.og[v.id])}}}ag(){if(!this.u)return;this.lg=this.u.j(a.I.C.oE)||0;const u=this.u.j(a.I.C.rE)||[],v=[];for(let p=0;p<u.length;p++)v.push(c.Z.qn(u[p]));this.triggers=v,this.fg()}gg(){const u=this,v=function(C,P,R,B,M){return function(){u.cg(C,P,R,B,M)}},p={};for(const C of this.triggers)C.id&&(p[C.id]=C);let y=!1;for(let C=0;C<this.triggers.length;C++){const P=this.triggers[C];if(P.id&&this.ng[P.id]!=null){const R=this.ng[P.id],B=[];for(let M=0;M<R.length;M++){const j=R[M],G=P.ud(j.Gr||0);if(G>0){let F,I;B.push(j),j.ug!=null&&(F=j.ug),j.dg!=null&&s.Z.RE(j.dg)&&(I=s.Z.qn(j.dg));const U=[];if(j.pg&&(0,k.kJ)(j.pg))for(let tt=0;tt<j.pg.length;tt++){const H=p[j.pg[tt]];H!=null&&U.push(H)}this.eg.push(window.setTimeout(v(P,j.Gr||0,F,I,U),G))}}this.ng[P.id].length>B.length&&(this.ng[P.id]=B,y=!0,this.ng[P.id].length===0&&delete this.ng[P.id])}}y&&this.u&&this.u.k(a.I.C.EE,this.ng)}mg(){if(!this.u)return;const u=[];for(let v=0;v<this.triggers.length;v++)u.push(this.triggers[v].Y());this.lg=new Date().valueOf(),this.u.k(a.I.C.rE,u),this.u.k(a.I.C.oE,this.lg)}bg(){this.u&&((this.u.j(a.I.C.oE)||0)>this.lg?this.ag():this.fg())}Ns(u){let v=!1;if(u!=null&&u.triggers){this.ig.Lr(),this.fg();const p={},y={};this.triggers=[];for(let R=0;R<u.triggers.length;R++){const B=c.Z.fromJson(u.triggers[R]);if(B){B.id&&this.og[B.id]!=null&&(B.ad(this.og[B.id]),p[B.id]=this.og[B.id]),B.id&&this.ng[B.id]!=null&&(y[B.id]=this.ng[B.id]);for(let M=0;M<B.sd.length;M++)if(B.sd[M].sc(r.Z.kt,null)){v=!0;break}this.triggers.push(B)}}(0,k.Xy)(this.og,p)||(this.og=p,this.u&&this.u.k(a.I.C.aE,this.og)),(0,k.Xy)(this.ng,y)||(this.ng=y,this.u&&this.u.k(a.I.C.EE,this.ng)),this.mg(),v&&(e.Z.info("Trigger with test condition found, firing test."),this.fe(r.Z.kt)),this.fe(r.Z.OPEN);const C=this.sg;let P;this.sg=[];for(let R=0;R<C.length;R++)P=Array.prototype.slice.call(C[R]),this.fe(...P)}}cg(u,v,p,y,C){const P=G=>{this.fg();const F=new Date().valueOf();u.dd(v)||(navigator.onLine===!1&&u.type===c.Z._r.Br&&G.imageUrl?e.Z.info(`Not showing ${u.type} trigger action ${u.id} due to offline state.`):u.nd(F)&&this.wg(u,F,p)?this.Jt.ic()===0?e.Z.info(`Not displaying trigger ${u.id} because neither automaticallyShowInAppMessages() nor subscribeToInAppMessage() were called.`):(this.Jt.Dt([G]),this.yg(u,F)):e.Z.info(`Not displaying trigger ${u.id} because display time fell outside of the acceptable time window.`))},R=()=>{this.fg();const G=C.pop();if(G!=null)if(this.Tg(G,v,p,y,C),G.dd(v)){let F=`Server aborted in-app message display, but the timeout on fallback trigger ${G.id} has already elapsed.`;C.length>0&&(F+=" Continuing to fall back."),e.Z.info(F),R()}else{e.Z.info(`Server aborted in-app message display. Falling back to lower priority ${G.type} trigger action ${u.id}.`);const F=1e3*G.ed-(new Date().valueOf()-v);F>0?this.eg.push(window.setTimeout((()=>{this.cg(G,v,p,y,C)}),F)):this.cg(G,v,p,y,C)}};let B,M,j;switch(u.type){case c.Z._r.Br:if(B=(0,f.q)(u.data),B==null){e.Z.error(`Could not parse trigger data for trigger ${u.id}, ignoring.`);break}if(M=this.ig.Li(B),M){e.Z.error(M),R();break}P(B);break;case c.Z._r.md:if(j=A.fromJson(u.data,P,R,v,u.Nr||0),j==null){e.Z.error(`Could not parse trigger data for trigger ${u.id}, ignoring.`);break}this.ig.Yi(j,p,y);break;default:e.Z.error(`Trigger ${u.id} was of unexpected type ${u.type}, ignoring.`)}}fe(u,v=null,p){if(!(0,k.fk)(r.Z,u,"Cannot fire trigger action.","TriggerEvents"))return;if(this.zi&&this.zi.Nu())return e.Z.info("Trigger sync is currently in progress, awaiting sync completion before firing trigger event."),void this.sg.push(arguments);this.bg();const y=new Date().valueOf(),C=y-(this.hg||0);let P=!0,R=!0;const B=[];for(let j=0;j<this.triggers.length;j++){const G=this.triggers[j],F=y+1e3*G.ed;if(G.nd(F)&&(G.startTime==null||G.startTime.valueOf()<=y)&&(G.endTime==null||G.endTime.valueOf()>=y)){let I=!1;for(let U=0;U<G.sd.length;U++)if(G.sd[U].sc(u,v)){I=!0;break}I&&(P=!1,this.wg(G,F,u)&&(R=!1,B.push(G)))}}if(P)return void e.Z.info(`Trigger event ${u} did not match any trigger conditions.`);if(R)return void e.Z.info(`Ignoring ${u} trigger event because a trigger was displayed ${C/1e3}s ago.`);B.sort(((j,G)=>j.priority-G.priority));const M=B.pop();M!=null&&(e.Z.info(`Firing ${M.type} trigger action ${M.id} from trigger event ${u}.`),this.Tg(M,y,u,p,B),M.ed===0?this.cg(M,y,u,p,B):this.eg.push(window.setTimeout((()=>{this.cg(M,y,u,p,B)}),1e3*M.ed)))}changeUser(u=!1){if(this.triggers=[],this.u&&this.u.ti(a.I.C.rE),!u){this.sg=[],this.hg=null,this.og={},this.ng={};for(let v=0;v<this.eg.length;v++)clearTimeout(this.eg[v]);this.eg=[],this.u&&(this.u.ti(a.I.C.iE),this.u.ti(a.I.C.aE),this.u.ti(a.I.C.EE))}}clearData(){this.triggers=[],this.hg=null,this.og={},this.ng={};for(let u=0;u<this.eg.length;u++)clearTimeout(this.eg[u]);this.eg=[]}wg(u,v,p){if(this.hg==null)return!0;if(p===r.Z.kt)return e.Z.info("Ignoring minimum interval between trigger because it is a test type."),!0;let y=u.hd;return y==null&&(y=this.tg),v-this.hg>=1e3*y}Tg(u,v,p,y,C){this.fg(),u.id&&(this.ng[u.id]=this.ng[u.id]||[]);const P={};let R;P.Gr=v,P.ug=p,y!=null&&(R=y.Y()),P.dg=R;const B=[];for(const M of C)M.id&&B.push(M.id);P.pg=B,u.id&&this.ng[u.id].push(P),this.u&&this.u.k(a.I.C.EE,this.ng)}yg(u,v){this.fg(),u.ad(v),this.hg=v,u.id&&(this.og[u.id]=v),this.u&&(this.u.k(a.I.C.iE,v),this.u.k(a.I.C.aE,this.og))}}const n={t:!1,provider:null,rr:()=>(n.o(),n.provider||n.rg(),n.provider),rg:()=>{if(!n.provider){const l=g.ZP.nn(g.JY.Oo);n.provider=new t(l??30,i.Z.m().Mi(),g.ZP.l(),g.ZP.cr(),i.Z.m()),g.ZP.ar(n.provider)}},o:()=>{n.t||(n.rg(),g.ZP.g(n),n.t=!0)},destroy:()=>{n.provider=null,n.t=!1}}},5333:(_,N,h)=>{h.d(N,{e:()=>g});var i=h(5825);function g(b,f,s){const k=b||document.querySelector("head"),a=`ab-${f}-css-definitions-${"5.3.1".replace(/\./g,"-")}`;if(!k)return;const A=k.ownerDocument||document;if(A.getElementById(a)==null){const c=A.createElement("style");c.innerHTML=s||"",c.id=a;const r=i.ZP.nn(i.JY.bo);r!=null&&c.setAttribute("nonce",r),k.appendChild(c)}}},6959:(_,N,h)=>{h.d(N,{B:()=>b});var i=h(5333),g=h(6524);function b(){(0,i.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,g.N)()}},6524:(_,N,h)=>{h.d(N,{N:()=>g});var i=h(5825);function g(){if(i.ZP.nn(i.JY.Mo))return;const b="https://use.fontawesome.com/7f85a56ba4.css";if(document.querySelector('link[rel=stylesheet][href="'+b+'"]')===null){const f=document.createElement("link");f.setAttribute("rel","stylesheet"),f.setAttribute("href",b),document.getElementsByTagName("head")[0].appendChild(f)}}},3046:(_,N,h)=>{h.d(N,{A9:()=>s,OL:()=>A,Tu:()=>a,je:()=>r,yi:()=>k,zA:()=>e});var i=h(335),g=h(8031),b=h(8548),f=h(3905);const s={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"}},k={Qi:"unknownBrazeAction",Wi:"noPushPrompt"},a=(t,n)=>{switch(t){case k.Qi:return`${n} contains an unknown braze action type and will not be displayed.`;case k.Wi:return`${n} contains a push prompt braze action, but is not eligible for a push prompt. Ignoring.`;default:return""}};function A(t){try{const n=t.match(f.y9),l=n?n[0].length:null,u=l?t.substring(l):null;if(l==null||l>t.length-1||!u)return void i.Z.error(`Did not find base64 encoded brazeAction in url to process : ${t}`);const v=(0,b.T)(u);return v?JSON.parse(v):void i.Z.error(`Failed to decode base64 encoded brazeAction: ${u}`)}catch(n){return void i.Z.error(`Failed to process brazeAction URL ${t} : ${(0,g.e)(n)}`)}}function c(t,n){let l=!1;if(n){for(const u of n)if(l=l||t(u),l)return!0}return!1}function r(t){const n=s.properties.type,l=s.properties.oo;try{if(t==null)return!0;const u=t[n];return u===s.types.ro?c(r,t[l]):!(0,f.OM)(u)}catch{return!0}}function e(t){if(!t||!(0,f.zR)(t))return!1;const n=s.properties.type,l=s.properties.oo,u=t[n];return u===s.types.ro?c(e,t[l]):u===s.types.requestPushPermission}},3695:(_,N,h)=>{h.d(N,{Z:()=>a});var i=h(2893);class g{constructor(){}ef(){}rf(){}Ta(c){}static sf(c,r){if(c&&r){if(c=c.toLowerCase(),(0,i.kJ)(r.ff)){for(let e=0;e<r.ff.length;e++)if(c.indexOf(r.ff[e].toLowerCase())!==-1)return r.identity}else if(c.indexOf(r.ff.toLowerCase())!==-1)return r.identity}}}var b=h(5806);class f extends g{constructor(){if(super(),this.userAgentData=navigator.userAgentData,this.browser=null,this.version=null,this.userAgentData){const c=this.hc();this.browser=c.browser||"Unknown Browser",this.version=c.version||"Unknown Version"}this.OS=null}ef(){return this.browser}rf(){return this.version}Ta(c){if(this.OS)return Promise.resolve(this.OS);const r=e=>{for(let t=0;t<c.length;t++){const n=f.sf(e,c[t]);if(n)return this.OS=n,this.OS}return e};return this.userAgentData.platform?Promise.resolve(r(this.userAgentData.platform)):this.getHighEntropyValues().then((e=>e.platform?r(e.platform):navigator.platform)).catch((()=>navigator.platform))}hc(){const c={},r=this.userAgentData.brands;if(r&&r.length)for(const e of r){const t=this.uc(b.s),n=e.brand.match(t);if(n&&n.length>0){c.browser=n[0],c.version=e.version;break}}return c}uc(c){const r=[];for(const e in c){const t=e;r.push(c[t])}return new RegExp("("+r.join("|")+")","i")}getHighEntropyValues(){return this.userAgentData.getHighEntropyValues?this.userAgentData.getHighEntropyValues(["platform"]):Promise.reject()}}class s extends g{constructor(){super(),this.fd=s.hc(navigator.userAgent||"")}ef(){return this.fd[0]||"Unknown Browser"}rf(){return this.fd[1]||"Unknown Version"}Ta(c){for(let r=0;r<c.length;r++){const e=c[r].string;let t=s.sf(e,c[r]);if(t)return t===b.T.Pg&&navigator.maxTouchPoints>1&&(t=b.T.io),Promise.resolve(t)}return Promise.resolve(navigator.platform)}static hc(c){let r,e=c.match(/(samsungbrowser|tizen|roku|konqueror|icab|crios|opera|ucbrowser|chrome|safari|firefox|camino|msie|trident(?=\/))\/?\s*(\.?\d+(\.\d+)*)/i)||[];if(c.indexOf("(Web0S; Linux/SmartTV)")!==-1)return["LG Smart TV",null];if(c.indexOf("CrKey")!==-1)return["Chromecast",null];if(c.indexOf("BRAVIA")!==-1||c.indexOf("SonyCEBrowser")!==-1||c.indexOf("SonyDTV")!==-1)return["Sony Smart TV",null];if(c.indexOf("PhilipsTV")!==-1)return["Philips Smart TV",null];if(c.match(/\b(Roku)\b/))return["Roku",null];if(c.match(/\bAFTM\b/))return["Amazon Fire Stick",null];if(e[1]===b.s.rO&&(r=c.match(/\b(OPR|Edge|EdgA|Edg|UCBrowser)\/(\.?\d+(\.\d+)*)/),r!=null))return r=r.slice(1),r[0]=r[0].replace("OPR",b.s.oO),r[0]=r[0].replace("EdgA",b.s.eO),r[0]==="Edg"&&(r[0]=b.s.eO),[r[0],r[1]];if(e[1]===b.s.Bg&&(r=c.match(/\b(EdgiOS)\/(\.?\d+(\.\d+)*)/),r!=null))return r=r.slice(1),r[0]=r[0].replace("EdgiOS",b.s.eO),[r[0],r[1]];if(e=e[2]?[e[1],e[2]]:[null,null],e[0]===b.s.Bg&&(r=c.match(/version\/(\.?\d+(\.\d+)*)/i))!=null&&e.splice(1,1,r[1]),(r=c.match(/\b(UCBrowser)\/(\.?\d+(\.\d+)*)/))!=null&&e.splice(1,1,r[2]),e[0]===b.s.oO&&(r=c.match(/mini\/(\.?\d+(\.\d+)*)/i))!=null)return["Opera Mini",r[1]||""];if(e[0]){const t=e[0].toLowerCase();t==="crios"&&(e[0]=b.s.rO),t==="tizen"&&(e[0]="Samsung Smart TV",e[1]=null),t==="samsungbrowser"&&(e[0]="Samsung Browser")}return e}}class k{constructor(){const c=navigator.userAgentData?f:s;this.Sg=new c,this.userAgent=navigator.userAgent,this.browser=this.Sg.ef(),this.version=this.Sg.rf(),this.OS=null,this.Ta().then((e=>this.OS=e));const r=navigator;this.language=(r.userLanguage||r.language||r.browserLanguage||r.systemLanguage||"").toLowerCase(),this.Zo=k.vg(this.userAgent)}IE(){return this.browser===b.s.Bg}Oa(){return this.OS||null}Ta(){return this.OS?Promise.resolve(this.OS):this.Sg.Ta(k.kg).then((c=>(this.OS=c,c)))}static vg(c){c=c.toLowerCase();const r=["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 e=0;e<r.length;e++)if(c.indexOf(r[e])!==-1)return!0;return!1}}k.kg=[{string:navigator.platform,ff:"Win",identity:b.T.Og},{string:navigator.platform,ff:"Mac",identity:b.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:b.T.io},{string:navigator.platform,ff:"Pike v",identity:b.T.io},{string:navigator.userAgent,ff:["Web0S"],identity:"WebOS"},{string:navigator.platform,ff:["Linux armv7l","Android"],identity:b.T.xg},{string:navigator.userAgent,ff:["Android"],identity:b.T.xg},{string:navigator.platform,ff:"Linux",identity:"Linux"}];const a=new k},2893:(_,N,h)=>{h.d(N,{J_:()=>s,Kn:()=>k,VO:()=>g,XP:()=>A,Xy:()=>c,fk:()=>b,jV:()=>a,kJ:()=>f});var i=h(335);function g(r){const e=[];let t;for(const n in r)t=n,Object.prototype.hasOwnProperty.call(r,t)&&r[t]!==void 0&&e.push(r[t]);return e}function b(r,e,t,n){const l=g(r);return l.indexOf(e)!==-1||(i.Z.error(`${t} Valid values from ${n} are "${l.join('"/"')}".`),!1)}function f(r){return Array.isArray?Array.isArray(r):Object.prototype.toString.call(r)==="[object Array]"}function s(r){return Object.prototype.toString.call(r)==="[object Date]"}function k(r){return Object.prototype.toString.call(r)==="[object Object]"}function a(r,...e){r==null&&(r=[]);const t=[],n=arguments.length;for(let l=0,u=r.length;l<u;l++){const v=r[l];if(t.indexOf(v)!==-1)continue;let p=1;for(p=1;p<n&&arguments[p].indexOf(v)!==-1;p++);p===n&&t.push(v)}return t}function A(r){const e=[];for(const t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e}function c(r,e){if(r===e)return r!==0||1/r==1/e;if(r==null||e==null)return r===e;const t=r.toString();if(t!==e.toString())return!1;switch(t){case"[object RegExp]":case"[object String]":return""+r==""+e;case"[object Number]":return+r!=+r?+e!=+e:+r==0?1/+r==1/e:+r==+e;case"[object Date]":case"[object Boolean]":return+r==+e}const n=t==="[object Array]";if(!n){if(typeof r!="object"||typeof e!="object")return!1;const p=r.constructor,y=e.constructor;if(p!==y&&!(typeof p=="function"&&p instanceof p&&typeof y=="function"&&y instanceof y)&&"constructor"in r&&"constructor"in e)return!1}const l=[],u=[];let v=l.length;for(;v--;)if(l[v]===r)return u[v]===e;if(l.push(r),u.push(e),n){if(v=r.length,v!==e.length)return!1;for(;v--;)if(!c(r[v],e[v]))return!1}else{const p=A(r);let y;if(v=p.length,A(e).length!==v)return!1;for(;v--;)if(y=p[v],!Object.prototype.hasOwnProperty.call(e,y)||!c(r[y],e[y]))return!1}return l.pop(),u.pop(),!0}},5242:(_,N,h)=>{h.d(N,{B:()=>b});var i=h(1507),g=h(7429);function b(f,s,k){const a=document.createElement("button");a.setAttribute("aria-label",f),a.setAttribute("tabindex","0"),a.setAttribute("role","button"),(0,i.lj)(a,"touchstart"),a.className="ab-close-button";const A=(0,i.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",s);return a.appendChild(A),a.addEventListener("keydown",(c=>{c.keyCode!==g.m.Fo&&c.keyCode!==g.m.To||(k(),c.stopPropagation())})),a.onclick=c=>{k(),c.stopPropagation()},a}},7750:(_,N,h)=>{h.d(N,{$N:()=>A,BT:()=>s,FX:()=>g,Pn:()=>b,Rd:()=>k,X2:()=>f,_0:()=>a,yo:()=>c});var i=h(2893);function g(r,e=!1){let t=r/1e3;return e&&(t=Math.floor(t)),t}function b(r){return 1e3*r}function f(r){if(r==null)return null;const e=parseInt(r.toString());return isNaN(e)?null:new Date(1e3*e)}function s(r){return r!=null&&(0,i.J_)(r)?r.toISOString().replace(/\.[0-9]{3}Z$/,""):r}function k(r){return r==null||r===""?null:new Date(r)}function a(r){return r==null||r===""?new Date().valueOf():r}function A(r){return(new Date().valueOf()-r.valueOf())/1e3}function c(r){return(r.valueOf()-new Date().valueOf())/1e3}},5806:(_,N,h)=>{h.d(N,{T:()=>g,s:()=>i});const i={rO:"Chrome",eO:"Edge",oO:"Opera",Bg:"Safari",OO:"Firefox"},g={xg:"Android",io:"iOS",Pg:"Mac",Og:"Windows"}},1507:(_,N,h)=>{h.d(N,{$j:()=>c,FZ:()=>r,Fr:()=>A,MK:()=>e,QZ:()=>s,lP:()=>b,lj:()=>k,mQ:()=>f,rJ:()=>a});var i=h(335),g=h(8031);const b={dc:null,po:function(t,n=!1,l=!1,u=!1){if(t==null)return!1;n=n||!1,l=l||!1;const v=t.getBoundingClientRect();return v!=null&&(v.top>=0&&v.top<=(window.innerHeight||document.documentElement.clientHeight)||!n)&&(v.left>=0||!u)&&(v.bottom>=0&&v.bottom<=(window.innerHeight||document.documentElement.clientHeight)||!l)&&(v.right<=(window.innerWidth||document.documentElement.clientWidth)||!u)}},f={Re:"up",Se:"down",U:"left",V:"right"};function s(){if(b.dc==null){b.dc=!1;try{const t=Object.defineProperty({},"passive",{get:()=>{b.dc=!0}});window.addEventListener("testPassive",(()=>{}),t),window.removeEventListener("testPassive",(()=>{}),t)}catch(t){i.Z.error((0,g.e)(t))}}return b.dc}function k(t,n,l=(()=>{})){t.addEventListener(n,l,!!s()&&{passive:!0})}function a(t){return b.po(t,!0,!1,!1)}function A(t){return b.po(t,!1,!0,!1)}function c(t){if(t.onclick){const n=document.createEvent("MouseEvents");n.initEvent("click",!0,!0),t.onclick.apply(t,[n])}}function r(t,n,l){let u=null,v=null;k(t,"touchstart",(p=>{u=p.touches[0].clientX,v=p.touches[0].clientY})),k(t,"touchmove",(p=>{if(u==null||v==null)return;const y=u-p.touches[0].clientX,C=v-p.touches[0].clientY;Math.abs(y)>Math.abs(C)&&Math.abs(y)>=25?((y>0&&n===f.U||y<0&&n===f.V)&&l(p),u=null,v=null):Math.abs(C)>=25&&((C>0&&n===f.Re&&t.scrollTop===t.scrollHeight-t.offsetHeight||C<0&&n===f.Se&&t.scrollTop===0)&&l(p),u=null,v=null)}))}function e(t,n,l){const u="http://www.w3.org/2000/svg",v=document.createElementNS(u,"svg");v.setAttribute("viewBox",t),v.setAttribute("xmlns",u);const p=document.createElementNS(u,"path");return p.setAttribute("d",n),l!=null&&p.setAttribute("fill",l),v.appendChild(p),v}},8031:(_,N,h)=>{h.d(N,{e:()=>i});const i=g=>g instanceof Error?g.message:String(g)},7429:(_,N,h)=>{h.d(N,{m:()=>i});const i={Fo:32,lo:9,To:13,mh:27}},6504:(_,N,h)=>{h.d(N,{R:()=>i});const i=(g,b)=>(g=Math.ceil(g),b=Math.floor(b),Math.floor(Math.random()*(b-g+1))+g)},1843:(_,N,h)=>{h.d(N,{D:()=>f,Z:()=>s});var i=h(335),g=h(3826),b=h(8031);const f=k=>{const a={},A=k.toString().split(`\r
2
- `);if(!A)return a;let c,r;for(const e of A)e&&(c=e.slice(0,e.indexOf(":")).toLowerCase().trim(),r=e.slice(e.indexOf(":")+1).trim(),a[c]=r);return a},s={Gs:k=>{let a,A;try{const c=()=>{i.Z.error("This browser does not have any supported ajax options!")};let r=!1;if(window.XMLHttpRequest&&(r=!0),!r)return void c();a=new XMLHttpRequest;const e=()=>{typeof k.error=="function"&&k.error(a.status),typeof k.Ws=="function"&&k.Ws(!1)};a.onload=()=>{let n=!1;if(a.readyState===4)if(n=a.status>=200&&a.status<300||a.status===304,n){if(typeof k.L=="function"){let l,u;try{l=JSON.parse(a.responseText),u=a.getAllResponseHeaders()}catch{const p={error:a.responseText===""?g.Z.Zh:g.Z.Ra,response:a.responseText};(0,k.L)(p,u)}l&&k.L(l,u)}typeof k.Ws=="function"&&k.Ws(!0)}else e()},a.onerror=()=>{e()},a.ontimeout=()=>{e()},A=JSON.stringify(k.data),a.open("POST",k.url,!0),a.setRequestHeader("Content-type","application/json"),a.setRequestHeader("X-Requested-With","XMLHttpRequest");const t=k.headers||[];for(const n of t)a.setRequestHeader(n[0],n[1]);a.send(A)}catch(c){i.Z.error(`Network request error: ${(0,b.e)(c)}`)}}}},6870:(_,N,h)=>{h.d(N,{Z:()=>f});var i=h(7671),g=h(5966);const b={Ps:{$a:"data",Bs:"content_cards/sync",bi:"feature_flags/sync",Mr:"template"},qu:s=>s==null?void 0:s.j(g.I.C.lE),sm:s=>s==null?void 0:s.j(g.I.C.SE),nm:(s,k)=>{s==null||s.k(g.I.C.lE,k)},um:(s,k)=>{s==null||s.k(g.I.C.SE,k)},Pa:(s,k)=>{if(!s||!k)return-1;const a=b.qu(s);if(a==null)return-1;const A=a[k];return A==null||isNaN(A)?-1:A},Ua:(s,k)=>{let a=i.S6;if(!s||!k)return a;const A=b.sm(s);return A==null?a:(a=A[k],a==null||isNaN(a)?i.S6:a)},_s:(s,k,a)=>{if(!s||!k)return;let A=b.qu(s);A==null&&(A={}),A[k]=a,b.nm(s,A)},Qs:(s,k,a)=>{if(!s||!k)return;let A=b.sm(s);A==null&&(A={}),A[k]=a,b.um(s,A)},Ys:(s,k)=>{if(!s||!k)return;const a=b.Ua(s,k);b.Qs(s,k,a+1)}},f=b},8548:(_,N,h)=>{h.d(N,{E:()=>g,T:()=>b});var i=h(335);function g(f){let s=f.length;for(let k=f.length-1;k>=0;k--){const a=f.charCodeAt(k);a>127&&a<=2047?s++:a>2047&&a<=65535&&(s+=2),a>=56320&&a<=57343&&k--}return s}function b(f){try{f=f.replace(/-/g,"+").replace(/_/g,"/");const s=window.atob(f),k=new Uint8Array(s.length);for(let A=0;A<s.length;A++)k[A]=s.charCodeAt(A);const a=new Uint16Array(k.buffer);return String.fromCharCode(...a)}catch(s){return i.Z.error("Unable to decode Base64: "+s),null}}},1148:(_,N,h)=>{function i(b){b==null&&(b="");const f=b.split("?").slice(1).join("?"),s={};if(f!=null){const k=f.split("&");for(let a=0;a<k.length;a++){const A=k[a].split("=");A[0]!==""&&(s[A[0]]=A[1])}}return s}function g(b){return!(!b||(b=b.toString().toLowerCase()).lastIndexOf("javascript:",0)!==0&&b.lastIndexOf("data:",0)!==0)}h.d(N,{L:()=>i,o:()=>g})},3905:(_,N,h)=>{h.d(N,{$g:()=>C,OM:()=>B,UO:()=>l,bj:()=>n,lg:()=>y,ro:()=>p,vV:()=>P,y9:()=>e,zM:()=>t,zR:()=>R});var i=h(2893),g=h(8548),b=h(335),f=h(7750),s=h(3046),k=h(7671);const a=/^[^\x00-\x1F\x22]+$/,A=/[$.]/,c=["$add","$update","$remove","$identifier_key","$identifier_value","$new_object","$time","$google_ad_personalization","$google_ad_user_data"],r=new RegExp(/^.+@.+\..+$/),e=/^brazeActions:\/\/v\d+\//;function t(M,j,G){const F=M!=null&&typeof M=="string"&&(M===""||M.match(a)!=null);return F||b.Z.error(`Cannot ${j} because ${G} "${M}" is invalid.`),F}function n(M){return M!=null&&M.match(A)&&c.indexOf(M)===-1&&b.Z.warn("Custom attribute keys cannot contain '$' or '.'"),t(M,"set custom user attribute","the given key")}function l(M){const j=typeof M;return M==null||j==="number"||j==="boolean"||(0,i.J_)(M)||j==="string"}function u(M,j,G){const F=G!==-1;if(F&&G>50)return b.Z.error("Nested attributes cannot be more than 50 levels deep."),!1;const I=F?G+1:-1;if((0,i.kJ)(M)&&(0,i.kJ)(j)){for(let U=0;U<M.length&&U<j.length;U++)if((0,i.J_)(M[U])&&(j[U]=(0,f.BT)(M[U])),!u(M[U],j[U],I))return!1}else{if(!(0,i.Kn)(M))return l(M);for(const U of(0,i.XP)(M)){const tt=M[U];if(F&&!n(U)||((0,i.J_)(tt)&&(j[U]=(0,f.BT)(tt)),!u(tt,j[U],I)))return!1}}return!0}function v(M,j,G,F,I){let U;return U=(0,i.Kn)(M)||(0,i.kJ)(M)?u(M,j,I?1:-1):l(M),U||b.Z.error(`Cannot ${G} because ${F} "${M}" is invalid.`),U}function p(M,j,G,F=!1){const I=typeof M=="string"||M===null&&F;return I||b.Z.error(`Cannot ${j} because ${G} "${M}" is invalid.`),I}function y(M,j,G,F,I){if(M==null&&(M={}),typeof M!="object"||(0,i.kJ)(M))return b.Z.error(`${j} requires that ${G} be an object. Ignoring ${I}.`),[!1,null];let U,tt;j===k.db?(U=76800,tt="75KB"):(U=51200,tt="50KB");const H=JSON.stringify(M);if((0,g.E)(H)>U)return b.Z.error(`Could not ${F} because ${G} was greater than the max size of ${tt}.`),[!1,null];let rt;try{rt=JSON.parse(H)}catch{return b.Z.error(`Could not ${F} because ${G} did not contain valid JSON.`),[!1,null]}for(const it in M){if(j===k.db&&!n(it))return[!1,null];if(!t(it,F,`the ${I} property name`))return[!1,null];const ut=M[it];if(j===k.db||ut!=null){if((0,i.J_)(ut)&&(rt[it]=(0,f.BT)(ut)),!v(ut,rt[it],F,`the ${I} property "${it}"`,j===k.db))return[!1,null]}else delete M[it],delete rt[it]}return[!0,rt]}function C(M,j){let G=!1,F=!1;const I=()=>{b.Z.error("Custom attribute arrays must be either string arrays or object arrays.")};for(const U of j)if(typeof U=="string"){if(F)return I(),[!1,!1];if(!t(U,`set custom user attribute "${M}"`,"the element in the given array"))return[!1,!1];G=!0}else{if(!(0,i.Kn)(U))return I(),[!1,!1];if(G)return I(),[!1,!1];if(!y(U,k.db,"attribute value",`set custom user attribute "${M}"`,"custom user attribute"))return[!1,!1];F=!0}return[G,F]}function P(M){return typeof M=="string"&&M.toLowerCase().match(r)!=null}function R(M){if(!(s.A9.properties.type in M))return!1;switch(M[s.A9.properties.type]){case s.A9.types.ro:if(s.A9.properties.oo in M)return!0;break;case s.A9.types.logCustomEvent:case s.A9.types.setEmailNotificationSubscriptionType:case s.A9.types.setPushNotificationSubscriptionType:case s.A9.types.setCustomUserAttribute:case s.A9.types.addToSubscriptionGroup:case s.A9.types.removeFromSubscriptionGroup:case s.A9.types.addToCustomAttributeArray:case s.A9.types.removeFromCustomAttributeArray:case s.A9.types.no:case s.A9.types.ao:if(s.A9.properties.eo in M)return!0;break;case s.A9.types.requestPushPermission:return!0;default:return!1}return!1}function B(M){let j=!1;return Object.keys(s.A9.types).forEach((G=>{s.A9.types[G]!==M.toString()||(j=!0)})),j}},5319:(_,N,h)=>{h.d(N,{SD:()=>g,eh:()=>i});const i={PORTRAIT:0,LANDSCAPE:1},g={openUri:function(b,f,s){b&&(f||s!=null&&s.metaKey?window.open(b):window.location=b)},fo:function(){return screen.width<=600},co:function(){if("orientation"in window)return Math.abs(window.orientation)===90||window.orientation===270?i.LANDSCAPE:i.PORTRAIT;const b=window;if("screen"in b){let f=b.screen.orientation||screen.mozOrientation||screen.msOrientation;return f!=null&&typeof f=="object"&&(f=f.type),f==="landscape-primary"||f==="landscape-secondary"?i.LANDSCAPE:i.PORTRAIT}return i.PORTRAIT},Un:function(){return window.location.href}}}},en={};function V(_){var N=en[_];if(N!==void 0)return N.exports;var h=en[_]={exports:{}};return tn[_](h,h.exports,V),h.exports}V.m=tn,V.n=_=>{var N=_&&_.__esModule?()=>_.default:()=>_;return V.d(N,{a:N}),N},V.d=(_,N)=>{for(var h in N)V.o(N,h)&&!V.o(_,h)&&Object.defineProperty(_,h,{enumerable:!0,get:N[h]})},V.f={},V.e=_=>Promise.all(Object.keys(V.f).reduce(((N,h)=>(V.f[h](_,N),N)),[])),V.u=_=>_+".js",V.o=(_,N)=>Object.prototype.hasOwnProperty.call(_,N),pe={},Ce="@clickview/braze-client:",V.l=(_,N,h,i)=>{if(pe[_])pe[_].push(N);else{var g,b;if(h!==void 0)for(var f=document.getElementsByTagName("script"),s=0;s<f.length;s++){var k=f[s];if(k.getAttribute("src")==_||k.getAttribute("data-webpack")==Ce+h){g=k;break}}g||(b=!0,(g=document.createElement("script")).charset="utf-8",g.timeout=120,V.nc&&g.setAttribute("nonce",V.nc),g.setAttribute("data-webpack",Ce+h),g.src=_),pe[_]=[N];var a=(c,r)=>{g.onerror=g.onload=null,clearTimeout(A);var e=pe[_];if(delete pe[_],g.parentNode&&g.parentNode.removeChild(g),e&&e.forEach((t=>t(r))),c)return c(r)},A=setTimeout(a.bind(null,void 0,{type:"timeout",target:g}),12e4);g.onerror=a.bind(null,g.onerror),g.onload=a.bind(null,g.onload),b&&document.head.appendChild(g)}},V.r=_=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})},V.p="",(()=>{var _={143:0};V.f.j=(i,g)=>{var b=V.o(_,i)?_[i]:void 0;if(b!==0)if(b)g.push(b[2]);else{var f=new Promise(((a,A)=>b=_[i]=[a,A]));g.push(b[2]=f);var s=V.p+V.u(i),k=new Error;V.l(s,(a=>{if(V.o(_,i)&&((b=_[i])!==0&&(_[i]=void 0),b)){var A=a&&(a.type==="load"?"missing":a.type),c=a&&a.target&&a.target.src;k.message="Loading chunk "+i+` failed.
3
- (`+A+": "+c+")",k.name="ChunkLoadError",k.type=A,k.request=c,b[1](k)}}),"chunk-"+i,i)}};var N=(i,g)=>{var b,f,[s,k,a]=g,A=0;if(s.some((c=>_[c]!==0))){for(b in k)V.o(k,b)&&(V.m[b]=k[b]);a&&a(V)}for(i&&i(g);A<s.length;A++)f=s[A],V.o(_,f)&&_[f]&&_[f][0](),_[f]=0},h=self.webpackChunk_clickview_braze_client=self.webpackChunk_clickview_braze_client||[];h.forEach(N.bind(null,0)),h.push=N.bind(null,h.push.bind(h))})();var De={};return(()=>{V.r(De),V.d(De,{BrazeClient:()=>Gn,ClassHookMarketingFormEvent:()=>Ye,CountryCode:()=>Be,CustomUserAttributes:()=>Yt,DefaultUserAttributes:()=>ge,EventUserAttributes:()=>ne,MarketingFormEvent:()=>Ge,MarketingUserEvent:()=>Fe,PageEvent:()=>qe,ProductEvent:()=>He,ProductFormEvent:()=>$e,StreamableFormEvent:()=>Je,StreamableMarketingFormEvent:()=>Xe,getInstance:()=>$n});var _=V(5825),N=V(1087),h=V(5333),i=V(6524);function g(){(0,h.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,i.N)()}var b=V(8376),f=V(1090),s=V(1792),k=V(6616),a=V(4410),A=V(3811),c=V(1507),r=V(5242);function e(o,d){return o==null?"":(o=parseInt(o.toString()),isNaN(o)?"":(d&&!isNaN(parseFloat(d.toString()))||(d=1),"rgba("+[(16711680&(o>>>=0))>>>16,(65280&o)>>>8,255&o,((4278190080&o)>>>24)/255*d].join(",")+")"))}var t=V(7671),n=V(335),l=V(2730);function u(o){if(!_.ZP.X())return!1;if(!(o instanceof s.Z||o instanceof b.Z))return n.Z.error(t.De),!1;const d=o instanceof b.Z?l.G.mo:l.G.Oi;return N.Z.m().q(o,d).L}var v=V(4365),p=V(9342);function y(o){if(!_.ZP.X())return!1;if(!(o instanceof s.Z))return n.Z.error(t.De),!1;const d=N.Z.m().q(o,l.G.Ei);if(d){o.Ur()||u(o);for(let x=0;x<d.ge.length;x++)p.n.rr().fe(v.Z.Qr,[o.triggerId],d.ge[x])}return d.L}var C=V(420),P=V(3695);function R(o,d,x){if(!_.ZP.X())return!1;if(!(o instanceof f.Z))return n.Z.error("inAppMessage argument to logInAppMessageHtmlClick must be an HtmlMessage object."),!1;let Z=l.G.Ei;d!=null&&(Z=l.G.Gi);const w=N.Z.m().q(o,Z,d,x);if(w.L)for(let S=0;S<w.ge.length;S++)p.n.rr().fe(v.Z.Qr,[o.triggerId,d],w.ge[S]);return w.L}var B=V(6243),M=V(2893),j=V(5806),G=V(1148),F=V(5319),I=V(7048),U=V(4072);function tt(o,d){var x;if(!_.ZP.X())return!1;if(!(o instanceof U.Z))return n.Z.error("button must be an InAppMessageButton object"),!1;if(!(d instanceof s.Z))return n.Z.error(t.De),!1;const Z=N.Z.m().Hi(o,d);if(Z.L)for(let w=0;w<Z.ge.length;w++)p.n.rr().fe(v.Z.Qr,[d.triggerId,(x=o.id)===null||x===void 0?void 0:x.toString()],Z.ge[w]);return Z.L}var H=V(7429);const rt=o=>{const d=o.querySelectorAll(".ab-close-button, .ab-message-text, .ab-message-button");let x;for(let Z=0;Z<d.length;Z++)x=d[Z],x.tabIndex=0;if(d.length>0){const Z=d[0],w=d[d.length-1];o.addEventListener("keydown",(S=>{const T=document.activeElement;S.keyCode===H.m.lo&&(S.shiftKey||T!==w&&T!==o?!S.shiftKey||T!==Z&&T!==o||(S.preventDefault(),w.focus()):(S.preventDefault(),Z.focus()))}))}},it=(o,d)=>{d.setAttribute("role","dialog"),d.setAttribute("aria-modal","true"),d.setAttribute("aria-label","Modal Message"),o&&d.setAttribute("aria-labelledby",o)},ut=(o,d,x,Z)=>{if(o.buttons&&o.buttons.length>0){const w=document.createElement("div");w.className="ab-message-buttons",x.appendChild(w);const S=x.getElementsByClassName("ab-message-text")[0];S!=null&&(S.className+=" ab-with-buttons");const T=O=>L=>(o.Ae(x,(()=>{tt(O,o),O.clickAction===s.Z.ClickAction.URI?(0,C.S)(O.uri||"",Z||o.openTarget===s.Z.OpenTarget.BLANK,L):O.clickAction===s.Z.ClickAction.NEWS_FEED&&d()})),L.stopPropagation(),!1);for(let O=0;O<o.buttons.length;O++){const L=o.buttons[O],q=document.createElement("button");q.className="ab-message-button",q.setAttribute("type","button"),(0,c.lj)(q,"touchstart");let et=L.text;L.text===""&&(et=" "),q.appendChild(document.createTextNode(et)),o.Ce()||(q.style.backgroundColor=e(L.backgroundColor),q.style.color=e(L.textColor),q.style.borderColor=e(L.borderColor)),q.onclick=T(L),w.appendChild(q)}}};var yt=V(7070);function Ot(o,d,x){if(!_.ZP.X())return;if(g(),o==null)return!1;if(o instanceof b.Z)return n.Z.info("User received control for a multivariate test, logging to Braze servers."),u(o),!0;if(!(o instanceof s.Z)||o.constructor===s.Z)return!1;o.Nh();const Z=o instanceof f.Z;if(Z&&!o.trusted&&!_.ZP.tr())return n.Z.error('HTML in-app messages are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these messages.'),!1;if(d==null&&(d=document.body),o.ze()&&d.querySelectorAll(".ab-modal-interactions").length>0)return n.Z.info(`Cannot show in-app message ${o.message} because another message is being shown.`),!1;if(F.SD.fo()){const O=F.SD.co();if(O===F.eh.PORTRAIT&&o.orientation===s.Z.Orientation.LANDSCAPE||O===F.eh.LANDSCAPE&&o.orientation===s.Z.Orientation.PORTRAIT){const L=O===F.eh.PORTRAIT?"portrait":"landscape",q=o.orientation===s.Z.Orientation.PORTRAIT?"portrait":"landscape";return n.Z.info(`Not showing ${q} in-app message ${o.message} because the screen is currently ${L}`),!1}}if(!_.ZP.tr()){let O=!1;if(o.buttons&&o.buttons.length>0){const L=o.buttons;for(let q=0;q<L.length;q++)if(L[q].clickAction===s.Z.ClickAction.URI){const et=L[q].uri;O=(0,G.o)(et)}}else o.clickAction===s.Z.ClickAction.URI&&(O=(0,G.o)(o.uri));if(O)return n.Z.error('Javascript click actions are disabled. Use the "allowUserSuppliedJavascript" option for braze.initialize to enable these actions.'),!1}const w=document.createElement("div");if(w.className="ab-iam-root v3",w.className+=(function(O){let L="";return O.animateIn&&(L+=" ab-animate-in"),O.animateOut&&(L+=" ab-animate-out"),O instanceof a.Z?L+=" ab-effect-fullscreen":O instanceof f.Z?L+=" ab-effect-html":O instanceof A.Z?L+=" ab-effect-modal":O instanceof k.Z&&(L+=" ab-effect-slide"),L})(o),w.setAttribute("role","complementary"),o.xe()&&(w.id=o.htmlId),_.ZP.nn(_.JY.jo)&&(w.style.zIndex=(_.ZP.nn(_.JY.jo)+1).toString()),d.appendChild(w),o.Ce()){const O=document.createElement("style");O.innerHTML=o.css,O.id=o.ve(),_.ZP.nn(_.JY.bo)!=null&&O.setAttribute("nonce",_.ZP.nn(_.JY.bo)),document.getElementsByTagName("head")[0].appendChild(O)}const S=o instanceof k.Z,T=(function(O,L,q,et,bt,at,mt,ht=document.body){if(O.ke=document.activeElement,O instanceof f.Z)return(function(Y,Nt,Ht,Jt,de,Bt){const At=document.createElement("iframe");At.setAttribute("title","Modal Message"),de&&(At.style.zIndex=(de+1).toString());const oe=Zt=>{const It=Zt.getAttribute("href"),Vt=Zt.onclick;return Xt=>{if(Vt!=null&&typeof Vt=="function"&&Vt.bind(Zt)(Xt)===!1)return;let kt=(0,G.L)(It).abButtonId;if(kt!=null&&kt!==""||(kt=Zt.getAttribute("id")||void 0),It!=null&&It!==""&&It.indexOf("#")!==0){const Ft=(Zt.getAttribute("target")||"").toLowerCase().replace("_","")==="blank",W=Jt||Y.openTarget===s.Z.OpenTarget.BLANK||Ft,J=()=>{R(Y,kt,It),F.SD.openUri(It,W,Xt)};W?J():Y.Ae(At,J)}else R(Y,kt,It||void 0);return Xt.stopPropagation(),!1}},wt=(Zt,It,Vt)=>{const Xt=`([\\w]+)\\s*=\\s*document.createElement\\(['"]${Vt}['"]\\)`,kt=Zt.match(new RegExp(Xt));if(kt){const Ft=`${kt[1]}.setAttribute("nonce", "${It}")`;return`${Zt.slice(0,kt.index+kt[0].length)};${Ft};${Zt.slice(kt.index+kt[0].length)}`}return null};if(At.onload=()=>{let Zt=null;if(Bt!=null){Zt=document.createElement("html"),Zt.innerHTML=Y.message||"";const dt=Zt.getElementsByTagName("style");for(let Dt=0;Dt<dt.length;Dt++)dt[Dt].setAttribute("nonce",Bt);const vt=Zt.getElementsByTagName("script");for(let Dt=0;Dt<vt.length;Dt++){vt[Dt].setAttribute("nonce",Bt),vt[Dt].innerHTML=vt[Dt].innerHTML.replace(/<style>/g,`<style nonce='${Bt}'>`);const dn=wt(vt[Dt].innerHTML,Bt,"script");dn&&(vt[Dt].innerHTML=dn);const pn=wt(vt[Dt].innerHTML,Bt,"style");pn&&(vt[Dt].innerHTML=pn)}}const It=At.contentWindow;It.focus();const Vt=It.document.querySelector("html");Vt&&(Vt.innerHTML=Zt?Zt.innerHTML:Y.message||"",(0,I.E)(Vt));const Xt=It.document.getElementsByTagName("head")[0];if(Xt!=null){if(Y.Ce()){const vt=document.createElement("style");vt.innerHTML=Y.css||"",vt.id=Y.ve()||"",Bt!=null&&vt.setAttribute("nonce",Bt),Xt.appendChild(vt)}const dt=It.document.createElement("base");dt!=null&&(dt.setAttribute("target","_parent"),Xt.appendChild(dt))}const kt=It.document.getElementsByTagName("title");kt&&kt.length>0&&At.setAttribute("title",kt[0].textContent||"");const Ft={closeMessage:function(){Y.Ae(At)},logClick:function(){R(Y,...arguments)},display:{},web:{}},W=function(){return function(){const dt=arguments;Promise.resolve().then(V.bind(V,2261)).then((vt=>{_.ZP.so()?vt.requestPushPermission(...Array.prototype.slice.call(dt)):n.Z.error(t.Go)}))}},J={requestImmediateDataFlush:function(){const dt=arguments;Promise.resolve().then(V.bind(V,4650)).then((({requestImmediateDataFlush:vt})=>{_.ZP.so()?vt(...Array.prototype.slice.call(dt)):n.Z.error(t.Go)}))},logCustomEvent:function(){const dt=arguments;Promise.resolve().then(V.bind(V,1454)).then((({logCustomEvent:vt})=>{_.ZP.so()?vt(...Array.prototype.slice.call(dt)):n.Z.error(t.Go)}))},logPurchase:function(){const dt=arguments;V.e(364).then(V.bind(V,1364)).then((({logPurchase:vt})=>{_.ZP.so()?vt(...Array.prototype.slice.call(dt)):n.Z.error(t.Go)}))},unregisterPush:function(){const dt=arguments;Promise.resolve().then(V.bind(V,7824)).then((({unregisterPush:vt})=>{_.ZP.so()?vt(...Array.prototype.slice.call(dt)):n.Z.error(t.Go)}))},requestPushPermission:W(),changeUser:function(){const dt=arguments;Promise.resolve().then(V.bind(V,4790)).then((({changeUser:vt})=>{_.ZP.so()?vt(...Array.prototype.slice.call(dt)):n.Z.error(t.Go)}))}},$=function(dt){return function(){J[dt](...Array.prototype.slice.call(arguments))}};for(const dt of(0,M.XP)(J))Ft[dt]=$(dt);const ot=["setFirstName","setLastName","setEmail","setGender","setDateOfBirth","setCountry","setHomeCity","setEmailNotificationSubscriptionType","setLanguage","addAlias","setPushNotificationSubscriptionType","setPhoneNumber","setCustomUserAttribute","addToCustomAttributeArray","removeFromCustomAttributeArray","incrementCustomUserAttribute","setCustomLocationAttribute","addToSubscriptionGroup","removeFromSubscriptionGroup"],lt=function(dt){return function(){const vt=(0,B.P)();vt&&vt[dt](...Array.prototype.slice.call(arguments))}},xt={};for(let dt=0;dt<ot.length;dt++)xt[ot[dt]]=lt(ot[dt]);Ft.getUser=function(){return xt};const Rt={showFeed:Nt},Wt=function(dt){return function(){const vt=arguments;Y.Ae(At,(function(){Rt[dt](...Array.prototype.slice.call(vt))}))}},Kt=Ft.display;for(const dt of(0,M.XP)(Rt))Kt[dt]=Wt(dt);const ce={registerAppboyPushMessages:W()},ve=function(dt){return function(){ce[dt](...Array.prototype.slice.call(arguments))}},he=Ft.web;for(const dt of(0,M.XP)(ce))he[dt]=ve(dt);if(It.appboyBridge=Ft,It.brazeBridge=Ft,Y.we!==s.Z.qe.$e){const dt=It.document.getElementsByTagName("a");for(let Dt=0;Dt<dt.length;Dt++)dt[Dt].onclick=oe(dt[Dt]);const vt=It.document.getElementsByTagName("button");for(let Dt=0;Dt<vt.length;Dt++)vt[Dt].onclick=oe(vt[Dt])}const Ke=It.document.body;if(Ke!=null){Y.xe()&&(Ke.id=Y.htmlId||"");const dt=document.createElement("hidden");dt.onclick=Ft.closeMessage,dt.className="ab-programmatic-close-button",Ke.appendChild(dt)}It.dispatchEvent(new CustomEvent("ab.BridgeReady")),At.className.indexOf("ab-start-hidden")!==-1&&(At.className=At.className.replace("ab-start-hidden",""),Ht(At)),document.activeElement!==At&&At.focus()},At.className="ab-in-app-message ab-start-hidden ab-html-message ab-modal-interactions",P.Z.OS===j.T.io){const Zt=document.createElement("div");return Zt.className="ab-ios-scroll-wrapper",Zt.appendChild(At),Y.Me=Zt,Zt}return Y.Me=At,At})(O,L,q,bt,at,mt);const st=(function(Y,Nt,Ht,Jt,de,Bt,At=document.body){let oe=null;const wt=document.createElement("div");var Zt;wt.className="ab-in-app-message ab-start-hidden ab-background",Bt&&(wt.style.zIndex=(Bt+1).toString()),Y.ze()&&(wt.className+=" ab-modal-interactions",wt.setAttribute("tabindex","-1")),Y.Ce()||(wt.style.color=e(Y.textColor),wt.style.backgroundColor=e(Y.backgroundColor),(Zt=Y.backgroundColor)!=null&&(Zt=parseInt(Zt.toString()),!isNaN(Zt)&&(4278190080&Zt)>>>24==0)&&(wt.className+=" ab-no-shadow"));const It=()=>{wt.className.indexOf("ab-start-hidden")!==-1&&(wt.className=wt.className.replace("ab-start-hidden",""),document.querySelectorAll(".ab-iam-img-loading").length>0?Jt(`Cannot show in-app message ${Y.message} because another message is being shown.`,s.Z.Be.Le):Ht(wt))},Vt=($=!0)=>{let ot=document.querySelectorAll(".ab-iam-root");ot&&ot.length!==0||(ot=At.querySelectorAll(".ab-iam-root")),ot&&ot.length>0&&(ot[0].classList.remove("ab-iam-img-loading"),oe&&(clearTimeout(oe),oe=null),$?It():n.Z.error(`Cannot show in-app message ${Y.message} because the image failed to load.`))};Y.imageStyle===s.Z.ImageStyle.GRAPHIC&&(wt.className+=" graphic"),Y.orientation===s.Z.Orientation.LANDSCAPE&&(wt.className+=" landscape"),Y.buttons!=null&&Y.buttons.length===0&&(Y.clickAction!==s.Z.ClickAction.NONE&&(wt.className+=" ab-clickable"),wt.onclick=$=>(Y.Ae(wt,(()=>{y(Y),Y.clickAction===s.Z.ClickAction.URI?(0,C.S)(Y.uri||"",de||Y.openTarget===s.Z.OpenTarget.BLANK,$):Y.clickAction===s.Z.ClickAction.NEWS_FEED&&Nt()})),$.stopPropagation(),!1));const Xt=(0,r.B)("Close Message",Y.Ce()?void 0:e(Y.closeButtonColor),(()=>{Y.Ae(wt)}));wt.appendChild(Xt),Bt&&(Xt.style.zIndex=(Bt+2).toString());const kt=document.createElement("div");kt.className="ab-message-text";const Ft=(Y.messageAlignment||Y.De).toLowerCase();kt.className+=" "+Ft+"-aligned";let W=!1;const J=document.createElement("div");if(J.className="ab-image-area",Y.imageUrl){if(Y.cropType===s.Z.CropType.CENTER_CROP){const $=document.createElement("span");$.className="ab-center-cropped-img",$.style.backgroundImage="url("+Y.imageUrl+")",$.setAttribute("role","img"),$.setAttribute("aria-label","Modal Image"),Y.Ge($),J.appendChild($)}else{const $=document.createElement("img");if($.setAttribute("src",Y.imageUrl),Y.Ge($),document.querySelectorAll(".ab-iam-img-loading").length===0){W=!0;const ot=document.querySelectorAll(".ab-iam-root");ot&&ot.length>0&&ot[0].classList.add("ab-iam-img-loading"),oe=window.setTimeout((()=>{Vt(!1)}),6e4),$.onload=()=>{Vt()},$.onerror=()=>{Vt(!1)}}J.appendChild($)}wt.appendChild(J),kt.className+=" ab-with-image"}else if(Y.icon){J.className+=" ab-icon-area";const $=document.createElement("span");$.className="ab-icon",Y.Ce()||($.style.backgroundColor=e(Y.iconBackgroundColor),$.style.color=e(Y.iconColor));const ot=document.createElement("i");ot.className="fa",ot.appendChild(document.createTextNode(Y.icon)),ot.setAttribute("aria-hidden","true"),$.appendChild(ot),J.appendChild($),wt.appendChild(J),kt.className+=" ab-with-icon"}if((0,c.lj)(kt,"touchstart"),Y.header&&Y.header.length>0){const $=document.createElement("h1");$.className="ab-message-header",Y.He=yt.Z.W(),$.id=Y.He;const ot=(Y.headerAlignment||s.Z.TextAlignment.CENTER).toLowerCase();$.className+=" "+ot+"-aligned",Y.Ce()||($.style.color=e(Y.headerTextColor)),$.appendChild(document.createTextNode(Y.header)),kt.appendChild($)}return kt.appendChild(Y.Je()),wt.appendChild(kt),W||It(),Y.Me=wt,wt})(O,L,q,et,bt,at,ht);if(O instanceof a.Z||O instanceof A.Z){const Y=O instanceof a.Z?"ab-fullscreen":"ab-modal";st.className+=` ${Y} ab-centered`,ut(O,L,st,bt),rt(st),it(O.He,st)}else if(O instanceof k.Z){st.className+=" ab-slideup";const Y=st.getElementsByClassName("ab-close-button")[0];if(Y!=null){const Jt=(0,c.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",O.Ce()?void 0:e(O.closeButtonColor));Jt.setAttribute("class","ab-chevron"),Y.appendChild(Jt)}let Nt,Ht;(0,c.FZ)(st,c.mQ.U,(Jt=>{st.className+=" ab-swiped-left",Y!=null&&Y.onclick!=null&&Y.onclick(Jt)})),(0,c.FZ)(st,c.mQ.V,(Jt=>{st.className+=" ab-swiped-right",Y!=null&&Y.onclick!=null&&Y.onclick(Jt)})),O.slideFrom===s.Z.SlideFrom.TOP?(Nt=c.mQ.Re,Ht=" ab-swiped-up"):(Nt=c.mQ.Se,Ht=" ab-swiped-down"),(0,c.FZ)(st,Nt,(Jt=>{st.className+=Ht,Y!=null&&Y.onclick!=null&&Y.onclick(Jt)}))}return st})(o,(()=>{V.e(864).then(V.bind(V,4864)).then((O=>{_.ZP.so()?O.showFeed():n.Z.error(t.Go)}))}),(O=>{if(o.ze()&&o.do()){const L=document.createElement("div");if(L.className="ab-page-blocker",o.Ce()||(L.style.backgroundColor=e(o.frameColor)),_.ZP.nn(_.JY.jo)&&(L.style.zIndex=_.ZP.nn(_.JY.jo).toString()),w.appendChild(L),!_.ZP.nn(_.JY.Lh)){const q=new Date().valueOf();L.onclick=et=>{new Date().valueOf()-q>s.Z.fh&&(o.Ae(O),et.stopPropagation())}}w.appendChild(O),O.focus(),o.Oh(w)}else if(S){const L=document.querySelectorAll(".ab-slideup");let q=null;for(let et=L.length-1;et>=0;et--)if(L[et]!==O){q=L[et];break}if(o.slideFrom===s.Z.SlideFrom.TOP){let et=0;q!=null&&(et=q.offsetTop+q.offsetHeight),O.style.top=Math.max(et,0)+"px"}else{let et=0;q!=null&&(et=(window.innerHeight||document.documentElement.clientHeight)-q.offsetTop),O.style.bottom=Math.max(et,0)+"px"}}else if(Z&&!_.ZP.nn(_.JY.Lh)){const L=o;(0,I.f)(O)&&O.contentWindow&&O.contentWindow.addEventListener("keydown",(function(q){q.keyCode===H.m.mh&&L.closeMessage()}))}u(o),o.dismissType===s.Z.DismissType.AUTO_DISMISS&&setTimeout((()=>{w.contains(O)&&o.Ae(O)}),o.duration),typeof x=="function"&&x()}),(O=>{n.Z.info(O)}),_.ZP.nn(_.JY.ho),_.ZP.nn(_.JY.jo),_.ZP.nn(_.JY.bo),d);return(Z||S)&&(w.appendChild(T),o.Oh(w)),!0}function Pt(o){if(_.ZP.X())return typeof o!="function"?null:N.Z.m()._i((function(d){return o(d[0]),d.slice(1)}))}var gt=V(5522),Gt=V(1454),jt=V(2261),Qt=V(7824),$t=V(4790),_t=V(4650),ae=V(1843),ct=V(158),m=V(67),E=V(1066),z=V(1280);function D(o,d){if(_.ZP.X())return Lt.rr().xs(o,d)}class K extends m.Z{constructor(d,x){super(d,x)}getUnviewedCardCount(){return super.getUnreadCardCount()}logCardImpressions(d){(0,E.p)(d,!0)}logCardClick(d){return(0,z.d)(d,!0)}sr(){D()}dr(){return!0}}K.ur=6e4;var Q=V(7750),nt=V(5899),X=V(5966),ft=V(4663),Ut=V(9179),pt=V(6870),Tt=V(6504);class St extends ct.Z{constructor(d,x,Z,w,S){super(),this.wt=d,this.u=x,this.yt=Z,this.Ft=w,this.qt=S,this.wt=d,this.u=x,this.yt=Z,this.Ft=w,this.qt=S,this.Jt=new ft.Z,_.ZP.$t(this.Jt),this.Bt=0,this.Ht=0,this.cards=[],this.Kt();const T=gt.Z.Yt.Qt;new gt.Z(T,n.Z).Zt(T.ss.ts,(O=>{this.es(O)})),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(d){this.hs=d}ps(){return this.rs}vs(d){this.rs=d}Kt(){if(!this.u)return;const d=this.u.j(X.I.C.ws)||[],x=[];for(let Z=0;Z<d.length;Z++){const w=(0,nt.rN)(d[Z]);w!=null&&x.push(w)}this.cards=this.Cs(this.bs(x,!1)),this.Bt=this.u.j(X.I.C.gs)||this.Bt,this.Ht=this.u.j(X.I.C.ys)||this.Ht}js(d,x=!1,Z=0,w=0){let S;if(x){S=[];for(const T of this.cards)T.test&&S.push(T)}else S=this.cards.slice();for(let T=0;T<d.length;T++){const O=d[T];let L=null;for(let q=0;q<this.cards.length;q++)if(O.id===this.cards[q].id){L=this.cards[q];break}if(x){const q=(0,nt.xA)(O);L!=null&&L.viewed&&q&&(q.viewed=!0),q!=null&&S.push(q)}else if(L==null){const q=(0,nt.xA)(O);q!=null&&S.push(q)}else if(!L.Ct(O)){for(let q=0;q<S.length;q++)if(O.id===S[q].id){S.splice(q,1);break}}}this.cards=this.Cs(this.bs(S,x)),this.Rs(),this.Bt=Z,this.Ht=w,this.u&&(this.u.k(X.I.C.gs,this.Bt),this.u.k(X.I.C.ys,this.Ht))}Ns(d){if(this.Ts()&&d!=null&&d.cards){this.u&&this.u.k(X.I.C.Ss,_.ZP.Ds());const x=d.full_sync;x||this.Kt(),this.js(d.cards,x,d.last_full_sync_at,d.last_card_updated_at),this.Jt.Dt(this.Us(!0))}}ks(d){this.u&&this.u.k(X.I.C.As,d)}Fs(d,x,Z){const w=()=>{this.xs(x,Z,!0)},S=d?(0,ae.D)(d):null;let T;if(this.zs(),!S||!S["retry-after"])return void this.ks(0);const O=S["retry-after"];if(isNaN(O)&&!isNaN(Date.parse(O)))T=Date.parse(O)-new Date().getTime(),T<0&&w();else{if(isNaN(parseFloat(O.toString())))return Ut.Z.q(l.G.qs,{e:"Received unexpected value for retry-after header in /sync response"+": "+O}),void this.ks(0);T=1e3*parseFloat(O.toString())}this.ns=window.setTimeout((()=>{w()}),T);let L=0;this.u&&(L=this.u.j(X.I.C.As)),(L==null||isNaN(parseInt(L.toString())))&&(L=0),this.ks(parseInt(L.toString())+1)}es(d){var x;if(!this.Ts())return;this.Kt();const Z=this.cards.slice();let w=null;w=(x=this.wt)===null||x===void 0?void 0:x.getUserId();for(let S=0;S<d.length;S++)if(w===d[S].userId||w==null&&d[S].userId==null){const T=d[S].card;let O=null;for(let L=0;L<this.cards.length;L++)if(T.id===this.cards[L].id){O=this.cards[L];break}if(O==null){const L=(0,nt.xA)(T);L!=null&&Z.push(L)}else if(!O.Ct(T)){for(let L=0;L<Z.length;L++)if(T.id===Z[L].id){Z.splice(L,1);break}}}this.cards=this.Cs(this.bs(Z,!1)),this.Rs(),this.Jt.Dt(this.Us(!0))}bs(d,x){let Z={},w={},S={};this.u&&(Z=this.u.j(X.I.C.v)||{},w=this.u.j(X.I.C.H)||{},S=this.u.j(X.I.C.A)||{});const T={},O={},L={};for(let q=0;q<d.length;q++){const et=d[q].id;et&&(Z[et]&&(d[q].clicked=!0,T[et]=!0),w[et]&&(d[q].viewed=!0,O[et]=!0),S[et]&&(d[q].dismissed=!0,L[et]=!0))}return x&&this.u&&(this.u.k(X.I.C.v,T),this.u.k(X.I.C.H,O),this.u.k(X.I.C.A,L)),d}Cs(d){const x=[],Z=new Date;let w={};this.u&&(w=this.u.j(X.I.C.A)||{});let S=!1;for(let T=0;T<d.length;T++){const O=d[T].url;if(!this.Ft&&O&&(0,G.o)(O)){n.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 L=d[T].expiresAt;let q=!0;if(L!=null&&(q=L>=Z),q=q&&!d[T].dismissed,q)x.push(d[T]);else{const et=d[T].id;et&&(w[et]=!0),S=!0}}return S&&this.u&&this.u.k(X.I.C.A,w),x}Rs(){var d;const x=[];for(let Z=0;Z<this.cards.length;Z++)x.push(this.cards[Z].Y());(d=this.u)===null||d===void 0||d.k(X.I.C.ws,x)}zs(){this.ns&&(clearTimeout(this.ns),this.ns=null)}Es(){this.os!=null&&(clearTimeout(this.os),this.os=null)}Ls(d=1e3*this.us,x,Z){this.Es(),this.os=window.setTimeout((()=>{this.xs(x,Z,!0)}),d),this.ls=d}xs(d,x,Z=!1,w=!0){var S;const T=this.qt,O=this.u;if(!T||!O)return void(typeof x=="function"&&x());if(!Z&&(this.zs(),this.ks(0)),!this.Ts())return void((S=this.yt)===null||S===void 0||S.Is((()=>{this.xs(d,x)})));w&&this.Es();const L=T.Js({},!0);O.j(X.I.C.Ss)!==_.ZP.Ds()&&this.Ms(),L.last_full_sync_at=this.Bt,L.last_card_updated_at=this.Ht;const q=T.$s(L,pt.Z.Ps.Bs,Z);let et=!1;T.Xs(L,((bt=-1)=>{if(this.u){const at=new Date().valueOf();pt.Z._s(this.u,pt.Z.Ps.Bs,at)}bt!==-1&&q.push(["X-Braze-Req-Tokens-Remaining",bt.toString()]),ae.Z.Gs({url:`${T.Hs()}/content_cards/sync`,data:L,headers:q,L:(at,mt)=>{if(!T.Ks(L,at,q))return et=!0,void(typeof x=="function"&&x());T.Os(),this.Fs(mt,d,x),this.Ns(at),et=!1,pt.Z.Qs(this.u,pt.Z.Ps.Bs,1),typeof d=="function"&&d()},error:at=>{T.Vs(at,"retrieving content cards"),et=!0,typeof x=="function"&&x()},Ws:()=>{if(et&&w&&!this.os&&this.cs+1<t.Tt){pt.Z.Ys(this.u,pt.Z.Ps.Bs);let at=this.ls;(at==null||at<1e3*this.us)&&(at=1e3*this.us),this.Ls(Math.min(3e5,(0,Tt.R)(1e3*this.us,3*at)),d,x),this.cs=this.cs+1}}})}),pt.Z.Ps.Bs,x)}Us(d){d||this.Kt();const x=this.Cs(this.cards);x.sort(((w,S)=>w.pinned&&!S.pinned?-1:S.pinned&&!w.pinned?1:w.updated&&S.updated&&w.updated>S.updated?-1:w.updated&&S.updated&&S.updated>w.updated?1:0));let Z=Math.max(this.Ht||0,this.Bt||0);return Z===0&&(Z=void 0),this.u&&this.u.j(X.I.C.ys)===this.Ht&&Z===void 0&&(Z=this.Ht),new K(x,(0,Q.X2)(Z))}Zs(d){return this.Jt.It(d)}Ms(){this.Bt=0,this.Ht=0,this.u&&(this.u.ti(X.I.C.gs),this.u.ti(X.I.C.ys))}changeUser(d){d||(this.cards=[],this.Jt.Dt(new K(this.cards.slice(),null)),this.u&&(this.u.ti(X.I.C.ws),this.u.ti(X.I.C.v),this.u.ti(X.I.C.H),this.u.ti(X.I.C.A))),this.Ms()}clearData(d){this.Bt=0,this.Ht=0,this.cards=[],this.Jt.Dt(new K(this.cards.slice(),null)),d&&this.u&&(this.u.ti(X.I.C.ws),this.u.ti(X.I.C.v),this.u.ti(X.I.C.H),this.u.ti(X.I.C.A),this.u.ti(X.I.C.gs),this.u.ti(X.I.C.ys))}Ts(){return!(!this.yt||!this.yt.si()&&(this.yt.ii()!==0&&this.ei(),1))}ei(){this.Jt.Dt(new K([],new Date)),this.u&&this.u.ti(X.I.C.ws)}}const Mt={t:!1,provider:null,rr:()=>(Mt.o(),Mt.provider||(Mt.provider=new St(_.ZP.er(),_.ZP.l(),_.ZP.ir(),_.ZP.tr(),_.ZP.nr()),_.ZP.ar(Mt.provider)),Mt.provider),o:()=>{Mt.t||(_.ZP.g(Mt),Mt.t=!0)},destroy:()=>{Mt.provider=null,Mt.t=!1}},Lt=Mt;function te(o){if(!_.ZP.X())return;const d=Lt.rr(),x=d.Zs(o);if(!d.ps()){const Z=_.ZP.cr();if(Z){const w=Z.mr((()=>{d.xs()}));w&&d.vs(w)}}return x}var Et=V(1311),fe=V(5608),Ne=V(6959);function Ae(o,d){if(!_.ZP.X())return;(0,Ne.B)();let x=!1;o==null&&(o=document.body,x=!0);const Z=_.ZP.nn(_.JY.tn)||_.ZP.nn(_.JY.en)||!1,w=Lt.rr().Us(!1);typeof d=="function"&&(0,Et.Of)(w,d(w.cards.slice()),w.lastUpdated,null,Z);const S=(0,Et.Yz)(w,Z,x),T=Lt.rr(),O=T.fs();(w.lastUpdated==null||new Date().valueOf()-w.lastUpdated.valueOf()>K.ur)&&(O==null||new Date().valueOf()-O>K.ur)&&(n.Z.info(`Cached content cards were older than max TTL of ${K.ur} ms, requesting an update from the server.`),(0,Et.cV)(w,S),T.ds(new Date().valueOf()));const L=new Date().valueOf(),q=te((function(at){const mt=S.querySelectorAll(".ab-refresh-button")[0];if(mt!=null){let st=500,Y=st-=new Date().valueOf()-L;const Nt=S.getAttribute(Et.cP);Nt&&(Y=parseInt(Nt),isNaN(Y)||(st-=new Date().valueOf()-Y)),setTimeout((function(){mt.className=mt.className.replace(/fa-spin/g,"")}),Math.max(st,0))}let ht=at.cards;typeof d=="function"&&(ht=d(ht.slice())),(0,Et.Of)(w,ht,at.lastUpdated,S,Z)}));(0,Et.GB)(q,S);const et=function(at){const mt=at.querySelectorAll(".ab-feed");let ht=null;for(let st=0;st<mt.length;st++)mt[st].parentNode===at&&(ht=mt[st]);ht!=null?((0,Et.tQ)(ht),ht.parentNode!=null&&ht.parentNode.replaceChild(S,ht)):at.appendChild(S),setTimeout((function(){S.className=S.className.replace("ab-hide","ab-show")}),0),x&&S.focus(),(0,Et.cz)(w,S),(0,fe.CG)(w.cards,at)};var bt;o!=null?et(o):window.onload=(bt=window.onload,function(){typeof bt=="function"&&bt(new Event("oldLoad")),et(document.body)})}var Ue=V(2080);function ie(o,d){(d==null||d>o.length)&&(d=o.length);for(var x=0,Z=Array(d);x<d;x++)Z[x]=o[x];return Z}var le={get screenWidth(){return window.screen.width},get screenHeight(){return window.screen.height},get queryString(){return window.location.search},get queryParams(){var o,d=le.queryString,x=new URLSearchParams(d),Z={},w=(function(O,L){var q=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(!q){if(Array.isArray(O)||(q=(function(st,Y){if(st){if(typeof st=="string")return ie(st,Y);var Nt={}.toString.call(st).slice(8,-1);return Nt==="Object"&&st.constructor&&(Nt=st.constructor.name),Nt==="Map"||Nt==="Set"?Array.from(st):Nt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Nt)?ie(st,Y):void 0}})(O))||L){q&&(O=q);var et=0,bt=function(){};return{s:bt,n:function(){return et>=O.length?{done:!0}:{done:!1,value:O[et++]}},e:function(st){throw st},f:bt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var at,mt=!0,ht=!1;return{s:function(){q=q.call(O)},n:function(){var st=q.next();return mt=st.done,st},e:function(st){ht=!0,at=st},f:function(){try{mt||q.return==null||q.return()}finally{if(ht)throw at}}}})(x.keys());try{for(w.s();!(o=w.n()).done;){var S=o.value;if(!(S in Z)){var T=x.getAll(S);T.length>1?Z[S]=T:Z[S]=T[0]}}}catch(O){w.e(O)}finally{w.f()}return Z&&Object.keys(Z).length?JSON.stringify(Z):d},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 le.hostname+le.pathname},decodeURIComponent:function(o){return window.decodeURIComponent(o)}},re=le,Ct={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},ye="Unknown";function be(o,d,x){if(!d)return{name:o,version:ye};var Z=d.exec(x);return{name:o,version:Z&&Z.length?Z[0].trim():ye}}var mn=function(){var o=window.navigator.userAgent;return Ct.mobileDevice.test(o)?Ct.iphone.test(o)?"iPhone":Ct.ipad.test(o)?"iPad":Ct.android.test(o)?"Android":Ct.blackberry.test(o)?"Blackberry":Ct.windowsPhone.test(o)?"Windows Phone":ye:"Desktop"},gn={getEventDataPayload:function(o,d){var x={product:this.getProductData(d),client:this.getClientData(),request:this.getRequestData()};o.data&&Object.keys(o.data).length&&(x.data=o.data),o.actionType&&(x.action_type=o.actionType);var Z=re.requestUrl;return Z&&(x.request_url=Z),x},getProductData:function(o){var d={name:o.name,version:o.version};return o.locale&&(d.locale=o.locale),d},getClientData:function(){return{os:(o=window.navigator.userAgent,Ct.android.test(o)?be("Android",Ct.androidVersion,o):Ct.iphone.test(o)||Ct.ipad.test(o)?be("iOS",Ct.iosVersion,o):Ct.linux.test(o)?be("Linux",null,o):Ct.unix.test(o)?be("Unix",null,o):Ct.mac.test(o)?be("Macintosh",Ct.osxVersion,o):Ct.windows.test(o)?(function(d,x){var Z={name:"Windows",version:null};return Ct.win2000.test(x)&&(Z.version="2000"),Ct.winXP.test(x)&&(Z.version="XP"),Ct.winVista.test(x)&&(Z.version="Vista"),Ct.win7.test(x)&&(Z.version="7"),Ct.win8.test(x)&&(Z.version="8"),Ct.win81.test(x)&&(Z.version="8.1"),Ct.win10.test(x)&&(Z.version="10"),Z.version||(Z.version=ye),Z})(0,o):Ct.blackberry.test(o)?be("BlackBerry",Ct.blackberryVersion,o):Ct.windowsPhone.test(o)?be("Windows Phone",Ct.windowsPhoneVersion,o):{name:ye,version:ye}),device:{type:mn(),resolution:"".concat(re.screenWidth,"x").concat(re.screenHeight)}};var o},getRequestData:function(){var o=re.queryParams,d=re.referrer,x=(function(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"&",S=re.queryString;if(S.length){var T=re.decodeURIComponent(S.substring(1)),O=new RegExp("((utm_[^=]+)=([^\\"+w+"]+))","gi"),L=T.match(O);if(L&&L.length){var q=L.reduce((function(et,bt){var at=bt.split("=");return et[at[0].split("_")[1]]=at[1],et}),{});if(Object.keys(q).length)return q}}})(),Z={page_name:re.title,host_name:re.hostname,path_name:re.pathname};return o.length&&(Z.query_params=o),d.length&&(Z.referrer=d),x&&(Z.utms=x),Z}},qt=function(o){throw new Error(o)},ee=function(o){for(var d=arguments.length,x=new Array(d>1?d-1:0),Z=1;Z<d;Z++)x[Z-1]=arguments[Z];console.error(o,x)};function nn(o,d){(d==null||d>o.length)&&(d=o.length);for(var x=0,Z=Array(d);x<d;x++)Z[x]=o[x];return Z}function Ie(o){return Ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Ie(o)}var vn=new RegExp(`[A-Za-z0-9 _.,!"'/$]*`),yn=new RegExp("^[a-z]+(?:_[a-z]+)*$"),wn=["productName","productVersion","apiKey","baseUrl"],ue={clientUserAttributeValue:function(o){return typeof o=="boolean"?!0:!(!o||typeof o=="string"&&(!o.length||!(o.length<=255)||o[0]==="$"||!vn.test(o)))},isSnakeCase:function(o){return yn.test(o)},additionalData:function(o){if(Ie(o)!=="object"||o===null)return!0;if(Array.isArray(o)){var d,x=(function(T,O){var L=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!L){if(Array.isArray(T)||(L=(function(ht,st){if(ht){if(typeof ht=="string")return nn(ht,st);var Y={}.toString.call(ht).slice(8,-1);return Y==="Object"&&ht.constructor&&(Y=ht.constructor.name),Y==="Map"||Y==="Set"?Array.from(ht):Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y)?nn(ht,st):void 0}})(T))||O){L&&(T=L);var q=0,et=function(){};return{s:et,n:function(){return q>=T.length?{done:!0}:{done:!1,value:T[q++]}},e:function(ht){throw ht},f:et}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var bt,at=!0,mt=!1;return{s:function(){L=L.call(T)},n:function(){var ht=L.next();return at=ht.done,ht},e:function(ht){mt=!0,bt=ht},f:function(){try{at||L.return==null||L.return()}finally{if(mt)throw bt}}}})(o);try{for(x.s();!(d=x.n()).done;){var Z=d.value;if(!ue.additionalData(Z))return!1}}catch(T){x.e(T)}finally{x.f()}}else for(var w in o){if(!ue.isSnakeCase(w))return ee("'".concat(w,"' in additional data provided does not follow 'snake_case' naming convention.")),!1;var S=o[w];if(Ie(S)==="object"&&S!==null&&!ue.additionalData(S))return!1}return!0},accountAddress:function(o){if(!o||Ie(o)!=="object")return!1;var d=Object.keys(o);return!(d.length===0||d.length>2||d.length===1&&!d.includes("country_code")||d.length===2&&!d.includes("country_code")&&!d.includes("province")||typeof o.country_code!="string"||d.includes("province")&&typeof o.province!="string")},brazeClientOptions:function(o){o||qt("No Client options provided."),wn.forEach((function(d){o.hasOwnProperty(d)||qt('Cannot find the required "'.concat(d,'" attribute in client options.'))}))}};function me(o){return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},me(o)}function Re(){Re=function(){return d};var o,d={},x=Object.prototype,Z=x.hasOwnProperty,w=Object.defineProperty||function(W,J,$){W[J]=$.value},S=typeof Symbol=="function"?Symbol:{},T=S.iterator||"@@iterator",O=S.asyncIterator||"@@asyncIterator",L=S.toStringTag||"@@toStringTag";function q(W,J,$){return Object.defineProperty(W,J,{value:$,enumerable:!0,configurable:!0,writable:!0}),W[J]}try{q({},"")}catch{q=function(J,$,ot){return J[$]=ot}}function et(W,J,$,ot){var lt=J&&J.prototype instanceof Y?J:Y,xt=Object.create(lt.prototype),Rt=new kt(ot||[]);return w(xt,"_invoke",{value:Zt(W,$,Rt)}),xt}function bt(W,J,$){try{return{type:"normal",arg:W.call(J,$)}}catch(ot){return{type:"throw",arg:ot}}}d.wrap=et;var at="suspendedStart",mt="executing",ht="completed",st={};function Y(){}function Nt(){}function Ht(){}var Jt={};q(Jt,T,(function(){return this}));var de=Object.getPrototypeOf,Bt=de&&de(de(Ft([])));Bt&&Bt!==x&&Z.call(Bt,T)&&(Jt=Bt);var At=Ht.prototype=Y.prototype=Object.create(Jt);function oe(W){["next","throw","return"].forEach((function(J){q(W,J,(function($){return this._invoke(J,$)}))}))}function wt(W,J){function $(lt,xt,Rt,Wt){var Kt=bt(W[lt],W,xt);if(Kt.type!=="throw"){var ce=Kt.arg,ve=ce.value;return ve&&me(ve)=="object"&&Z.call(ve,"__await")?J.resolve(ve.__await).then((function(he){$("next",he,Rt,Wt)}),(function(he){$("throw",he,Rt,Wt)})):J.resolve(ve).then((function(he){ce.value=he,Rt(ce)}),(function(he){return $("throw",he,Rt,Wt)}))}Wt(Kt.arg)}var ot;w(this,"_invoke",{value:function(lt,xt){function Rt(){return new J((function(Wt,Kt){$(lt,xt,Wt,Kt)}))}return ot=ot?ot.then(Rt,Rt):Rt()}})}function Zt(W,J,$){var ot=at;return function(lt,xt){if(ot===mt)throw Error("Generator is already running");if(ot===ht){if(lt==="throw")throw xt;return{value:o,done:!0}}for($.method=lt,$.arg=xt;;){var Rt=$.delegate;if(Rt){var Wt=It(Rt,$);if(Wt){if(Wt===st)continue;return Wt}}if($.method==="next")$.sent=$._sent=$.arg;else if($.method==="throw"){if(ot===at)throw ot=ht,$.arg;$.dispatchException($.arg)}else $.method==="return"&&$.abrupt("return",$.arg);ot=mt;var Kt=bt(W,J,$);if(Kt.type==="normal"){if(ot=$.done?ht:"suspendedYield",Kt.arg===st)continue;return{value:Kt.arg,done:$.done}}Kt.type==="throw"&&(ot=ht,$.method="throw",$.arg=Kt.arg)}}}function It(W,J){var $=J.method,ot=W.iterator[$];if(ot===o)return J.delegate=null,$==="throw"&&W.iterator.return&&(J.method="return",J.arg=o,It(W,J),J.method==="throw")||$!=="return"&&(J.method="throw",J.arg=new TypeError("The iterator does not provide a '"+$+"' method")),st;var lt=bt(ot,W.iterator,J.arg);if(lt.type==="throw")return J.method="throw",J.arg=lt.arg,J.delegate=null,st;var xt=lt.arg;return xt?xt.done?(J[W.resultName]=xt.value,J.next=W.nextLoc,J.method!=="return"&&(J.method="next",J.arg=o),J.delegate=null,st):xt:(J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,st)}function Vt(W){var J={tryLoc:W[0]};1 in W&&(J.catchLoc=W[1]),2 in W&&(J.finallyLoc=W[2],J.afterLoc=W[3]),this.tryEntries.push(J)}function Xt(W){var J=W.completion||{};J.type="normal",delete J.arg,W.completion=J}function kt(W){this.tryEntries=[{tryLoc:"root"}],W.forEach(Vt,this),this.reset(!0)}function Ft(W){if(W||W===""){var J=W[T];if(J)return J.call(W);if(typeof W.next=="function")return W;if(!isNaN(W.length)){var $=-1,ot=function lt(){for(;++$<W.length;)if(Z.call(W,$))return lt.value=W[$],lt.done=!1,lt;return lt.value=o,lt.done=!0,lt};return ot.next=ot}}throw new TypeError(me(W)+" is not iterable")}return Nt.prototype=Ht,w(At,"constructor",{value:Ht,configurable:!0}),w(Ht,"constructor",{value:Nt,configurable:!0}),Nt.displayName=q(Ht,L,"GeneratorFunction"),d.isGeneratorFunction=function(W){var J=typeof W=="function"&&W.constructor;return!!J&&(J===Nt||(J.displayName||J.name)==="GeneratorFunction")},d.mark=function(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,Ht):(W.__proto__=Ht,q(W,L,"GeneratorFunction")),W.prototype=Object.create(At),W},d.awrap=function(W){return{__await:W}},oe(wt.prototype),q(wt.prototype,O,(function(){return this})),d.AsyncIterator=wt,d.async=function(W,J,$,ot,lt){lt===void 0&&(lt=Promise);var xt=new wt(et(W,J,$,ot),lt);return d.isGeneratorFunction(J)?xt:xt.next().then((function(Rt){return Rt.done?Rt.value:xt.next()}))},oe(At),q(At,L,"Generator"),q(At,T,(function(){return this})),q(At,"toString",(function(){return"[object Generator]"})),d.keys=function(W){var J=Object(W),$=[];for(var ot in J)$.push(ot);return $.reverse(),function lt(){for(;$.length;){var xt=$.pop();if(xt in J)return lt.value=xt,lt.done=!1,lt}return lt.done=!0,lt}},d.values=Ft,kt.prototype={constructor:kt,reset:function(W){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(Xt),!W)for(var J in this)J.charAt(0)==="t"&&Z.call(this,J)&&!isNaN(+J.slice(1))&&(this[J]=o)},stop:function(){this.done=!0;var W=this.tryEntries[0].completion;if(W.type==="throw")throw W.arg;return this.rval},dispatchException:function(W){if(this.done)throw W;var J=this;function $(Kt,ce){return xt.type="throw",xt.arg=W,J.next=Kt,ce&&(J.method="next",J.arg=o),!!ce}for(var ot=this.tryEntries.length-1;ot>=0;--ot){var lt=this.tryEntries[ot],xt=lt.completion;if(lt.tryLoc==="root")return $("end");if(lt.tryLoc<=this.prev){var Rt=Z.call(lt,"catchLoc"),Wt=Z.call(lt,"finallyLoc");if(Rt&&Wt){if(this.prev<lt.catchLoc)return $(lt.catchLoc,!0);if(this.prev<lt.finallyLoc)return $(lt.finallyLoc)}else if(Rt){if(this.prev<lt.catchLoc)return $(lt.catchLoc,!0)}else{if(!Wt)throw Error("try statement without catch or finally");if(this.prev<lt.finallyLoc)return $(lt.finallyLoc)}}}},abrupt:function(W,J){for(var $=this.tryEntries.length-1;$>=0;--$){var ot=this.tryEntries[$];if(ot.tryLoc<=this.prev&&Z.call(ot,"finallyLoc")&&this.prev<ot.finallyLoc){var lt=ot;break}}lt&&(W==="break"||W==="continue")&&lt.tryLoc<=J&&J<=lt.finallyLoc&&(lt=null);var xt=lt?lt.completion:{};return xt.type=W,xt.arg=J,lt?(this.method="next",this.next=lt.finallyLoc,st):this.complete(xt)},complete:function(W,J){if(W.type==="throw")throw W.arg;return W.type==="break"||W.type==="continue"?this.next=W.arg:W.type==="return"?(this.rval=this.arg=W.arg,this.method="return",this.next="end"):W.type==="normal"&&J&&(this.next=J),st},finish:function(W){for(var J=this.tryEntries.length-1;J>=0;--J){var $=this.tryEntries[J];if($.finallyLoc===W)return this.complete($.completion,$.afterLoc),Xt($),st}},catch:function(W){for(var J=this.tryEntries.length-1;J>=0;--J){var $=this.tryEntries[J];if($.tryLoc===W){var ot=$.completion;if(ot.type==="throw"){var lt=ot.arg;Xt($)}return lt}}throw Error("illegal catch attempt")},delegateYield:function(W,J,$){return this.delegate={iterator:Ft(W),resultName:J,nextLoc:$},this.method==="next"&&(this.arg=o),st}},d}function rn(o,d){for(var x=0;x<d.length;x++){var Z=d[x];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(o,xn(Z.key),Z)}}function xn(o){var d=(function(x,Z){if(me(x)!="object"||!x)return x;var w=x[Symbol.toPrimitive];if(w!==void 0){var S=w.call(x,"string");if(me(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(x)})(o);return me(d)=="symbol"?d:d+""}var sn=(function(){function o(w){(function(S,T){if(!(S instanceof T))throw new TypeError("Cannot call a class as a function")})(this,o),ue.brazeClientOptions(w),this.options=w,this.initialize()}var d,x,Z;return d=o,x=[{key:"initialize",value:function(){var w,S;w=this.options.apiKey,S={baseUrl:this.options.baseUrl,enableLogging:this.options.enableLogging,allowUserSuppliedJavascript:this.options.allowUserSuppliedJavascript,minimumIntervalBetweenTriggerActionsInSeconds:this.options.minimumIntervalBetweenTriggerActionsInSeconds,doNotLoadFontAwesome:!0},_.ZP.initialize(w,S)||qt('Cannot initialize client. Please make sure your "apiKey" and "baseUrl" is valid.'),this.options.automaticallyShowInAppMessages&&(function(){if(!_.ZP.X())return;g();const T=N.Z.m();if(T.Pi()==null){const O=Pt((L=>Ot(L)));T.$i(O)}T.Pi()})()}},{key:"openSession",value:function(){(function(){if(!_.ZP.X())return;const w=_.ZP.cr();if(!w)return;w.openSession();const S=gt.Z.Yt.Qt,T=new gt.Z(S,n.Z);T.jr(S.ss.hr,((O,L)=>{const q=L.lastClick,et=L.trackingString;n.Z.info(`Firing push click trigger from ${et} push click at ${q}`);const bt=w.kr(q,et),at=function(){p.n.rr().fe(v.Z.vr,[et],bt)};w.$r(at,at),T.re(S.ss.hr,O)})),T.Zt(S.ss.wr,(function(O){w.yr(O)}))})()}},{key:"logEvent",value:function(w){var S,T=gn.getEventDataPayload(w,{name:this.options.productName,version:this.options.productVersion,locale:(S=this.options)===null||S===void 0?void 0:S.locale});return Gt.logCustomEvent(w.type,T)}},{key:"getUserId",value:function(){return this.getBrazeUser().getUserId()}},{key:"setCustomUserAttribute",value:function(w,S){var T=this.getBrazeUser();return ue.clientUserAttributeValue(S)||qt("Invalid custom user attribute value: '".concat(S,"' for key: '").concat(w,"'")),T.setCustomUserAttribute(w,S)}},{key:"bulkSetCustomUserAttributes",value:function(w){var S=this;Object.keys(w).length||qt("Cannot bulk set emptry object for custom user attributes"),Object.keys(w).forEach((function(T){var O=w[T];S.setCustomUserAttribute(T,O)}))}},{key:"requestPushPermission",value:function(w,S){jt.requestPushPermission(w,S)}},{key:"unregisterPush",value:function(w,S){Qt.unregisterPush(w,S)}},{key:"setAlias",value:function(w,S){this.getBrazeUser().addAlias(S,w)}},{key:"setUser",value:function(w){$t.changeUser(w)}},{key:"setUserFirstName",value:function(w){this.getBrazeUser().setFirstName(w)}},{key:"setUserLastName",value:function(w){this.getBrazeUser().setLastName(w)}},{key:"setUserEmail",value:function(w){this.getBrazeUser().setEmail(w)}},{key:"setUserCountry",value:function(w){this.getBrazeUser().setCountry(w)}},{key:"setUserPhone",value:function(w){this.getBrazeUser().setPhoneNumber(w)}},{key:"setUserGender",value:function(w){this.getBrazeUser().setGender(w)}},{key:"setUserEmailNotificationSubscriptionType",value:function(w){return this.getBrazeUser().setEmailNotificationSubscriptionType(w)}},{key:"sendData",value:function(w){w&&typeof w=="function"?_t.requestImmediateDataFlush(w):_t.requestImmediateDataFlush()}},{key:"hasUser",value:function(){try{if(this.getBrazeUser())return!0}catch{return!1}finally{return!1}}},{key:"getBrazeUser",value:function(){var w=B.P();return w||qt("No valid user found!"),w}},{key:"getContentCardsV2",value:function(){return(function(){if(_.ZP.X())return Lt.rr().Us(!1)})()}},{key:"showContentCards",value:function(w,S){return Ae(w,S)}},{key:"getContentCards",value:function(){return w=this,S=void 0,T=void 0,O=Re().mark((function L(){return Re().wrap((function(q){for(;;)switch(q.prev=q.next){case 0:return q.abrupt("return",new Promise((function(et,bt){Ae(null,(function(at){return at?et(at):bt(new Error("No content cards found.")),at}))})));case 1:case"end":return q.stop()}}),L)})),new(T||(T=Promise))((function(L,q){function et(mt){try{at(O.next(mt))}catch(ht){q(ht)}}function bt(mt){try{at(O.throw(mt))}catch(ht){q(ht)}}function at(mt){var ht;mt.done?L(mt.value):(ht=mt.value,ht instanceof T?ht:new T((function(st){st(ht)}))).then(et,bt)}at((O=O.apply(w,S||[])).next())}));var w,S,T,O}},{key:"hideCards",value:function(w){(function(S){if(!_.ZP.X())return;const T=document.querySelectorAll(".ab-feed");for(let O=0;O<T.length;O++)(S==null||S!=null&&T[O].parentNode===S)&&(0,Et.tQ)(T[O])})(w)}},{key:"logContentCardDismissal",value:function(w){w||qt('No "card" provided in "logContentCardDismissal"'),Ue.K(w)}},{key:"logContentCardClick",value:function(w){w||qt('No "card" provided in "logContentCardClick"'),z.d(w,!0)}},{key:"logContentCardImpressions",value:function(w){var S;w&&w.length||qt('No "cards" provided in "logContentCardImpressions"'),S=w,(0,E.p)(S,!0)}},{key:"requestContentCardRefresh",value:function(w,S){return D(w,S)}},{key:"subscribeToContentCardUpdate",value:function(w){return w||qt('No "subscriber" provided in "subscribeToContentCardUpdate"'),te(w)}},{key:"subscribeToInAppMessage",value:function(w){return w||qt('No "callback" provided in "subscribeToInAppMessage".'),Pt(w)}},{key:"showInAppMessage",value:function(w,S,T){return w||qt('Invalid "inAppMessage" provided in "showInAppMessage".'),Ot(w,S,T)}},{key:"logInAppMessageClick",value:function(w){return w||qt('Invalid "inAppMessage" provided in "logInAppMessageClick".'),y(w)}},{key:"logInAppMessageButtonClick",value:function(w,S){return w&&S||qt('Invalid params supplied in "logInAppMessageButtonClick".'),tt(w,S)}},{key:"logInAppMessageHtmlClick",value:function(w,S,T){return w||qt('Invalid "inAppMessage" provided in "logInAppMessageHtmlClick".'),R(w,S,T)}},{key:"logInAppMessageImpression",value:function(w){return w||qt('Invalid "inAppMessage" provided in "logInAppMessageImpression".'),u(w)}}],Z=[{key:"getInstance",value:function(w){return this._instance||(this._instance=new this(w))}}],x&&rn(d.prototype,x),Z&&rn(d,Z),Object.defineProperty(d,"prototype",{writable:!1}),o})();function Te(o){return Te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Te(o)}function Zn(o,d){for(var x=0;x<d.length;x++){var Z=d[x];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(o,kn(Z.key),Z)}}function kn(o){var d=(function(x,Z){if(Te(x)!="object"||!x)return x;var w=x[Symbol.toPrimitive];if(w!==void 0){var S=w.call(x,"string");if(Te(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(x)})(o);return Te(d)=="symbol"?d:d+""}var Me=(function(){function o(Z){(function(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")})(this,o),this.options=Z,this.apiClient=Z.apiClient}var d,x;return d=o,(x=[{key:"safelyExecute",value:function(Z){try{return Z()}catch(w){w instanceof Error&&ee(w.message),typeof w=="string"&&ee(w)}}}])&&Zn(d.prototype,x),Object.defineProperty(d,"prototype",{writable:!1}),o})();function we(o){return we=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},we(o)}function Sn(o,d){for(var x=0;x<d.length;x++){var Z=d[x];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(o,En(Z.key),Z)}}function En(o){var d=(function(x,Z){if(we(x)!="object"||!x)return x;var w=x[Symbol.toPrimitive];if(w!==void 0){var S=w.call(x,"string");if(we(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(x)})(o);return we(d)=="symbol"?d:d+""}function Le(o,d){return Le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,Z){return x.__proto__=Z,x},Le(o,d)}function Cn(o){var d=on();return function(){var x,Z=Oe(o);if(d){var w=Oe(this).constructor;x=Reflect.construct(Z,arguments,w)}else x=Z.apply(this,arguments);return An(this,x)}}function An(o,d){if(d&&(we(d)=="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x})(o)}function on(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(on=function(){return!!o})()}function Oe(o){return Oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},Oe(o)}var In=(function(o){(function(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),Object.defineProperty(S,"prototype",{writable:!1}),T&&Le(S,T)})(w,o);var d,x,Z=Cn(w);function w(S){return(function(T,O){if(!(T instanceof O))throw new TypeError("Cannot call a class as a function")})(this,w),Z.call(this,S)}return d=w,(x=[{key:"getAll",value:function(){return this.apiClient.getContentCardsV2()}},{key:"getContentCards",value:function(){return this.apiClient.getContentCards()}},{key:"show",value:function(S,T){return this.apiClient.showContentCards(S,T)}},{key:"hide",value:function(S){return this.apiClient.hideCards(S)}},{key:"logDismissal",value:function(S){return this.apiClient.logContentCardDismissal(S)}},{key:"logClick",value:function(S){return this.apiClient.logContentCardClick(S)}},{key:"logImpressions",value:function(S){return this.apiClient.logContentCardImpressions(S)}},{key:"requestRefresh",value:function(S,T){return this.apiClient.requestContentCardRefresh(S,T)}},{key:"subscribe",value:function(S){return this.apiClient.subscribeToContentCardUpdate(S)}}])&&Sn(d.prototype,x),Object.defineProperty(d,"prototype",{writable:!1}),w})(Me);function xe(o){return xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},xe(o)}function Tn(o,d){for(var x=0;x<d.length;x++){var Z=d[x];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(o,_n(Z.key),Z)}}function _n(o){var d=(function(x,Z){if(xe(x)!="object"||!x)return x;var w=x[Symbol.toPrimitive];if(w!==void 0){var S=w.call(x,"string");if(xe(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(x)})(o);return xe(d)=="symbol"?d:d+""}function je(o,d){return je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,Z){return x.__proto__=Z,x},je(o,d)}function Nn(o){var d=an();return function(){var x,Z=Pe(o);if(d){var w=Pe(this).constructor;x=Reflect.construct(Z,arguments,w)}else x=Z.apply(this,arguments);return On(this,x)}}function On(o,d){if(d&&(xe(d)=="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x})(o)}function an(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(an=function(){return!!o})()}function Pe(o){return Pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},Pe(o)}var Be,qe,Fe,Ge,$e,Je,Xe,Ye,He,Ve,ge,Yt,ne,ln,Pn=(function(o){(function(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),Object.defineProperty(S,"prototype",{writable:!1}),T&&je(S,T)})(w,o);var d,x,Z=Nn(w);function w(S){return(function(T,O){if(!(T instanceof O))throw new TypeError("Cannot call a class as a function")})(this,w),Z.call(this,S)}return d=w,(x=[{key:"show",value:function(S,T,O){return this.apiClient.showInAppMessage(S,T,O)}},{key:"logMessageClick",value:function(S){return this.apiClient.logInAppMessageClick(S)}},{key:"logButtonClick",value:function(S,T){return this.apiClient.logInAppMessageButtonClick(S,T)}},{key:"logHtmlMessageClick",value:function(S,T,O){return this.apiClient.logInAppMessageHtmlClick(S,T,O)}},{key:"logImpression",value:function(S){return this.apiClient.logInAppMessageImpression(S)}},{key:"subscribe",value:function(S){return this.apiClient.subscribeToInAppMessage(S)}}])&&Tn(d.prototype,x),Object.defineProperty(d,"prototype",{writable:!1}),w})(Me),zn={all:["streamable","clickview"],cv:["clickview"],sl:["streamable"],none:[]};(function(o){o.AU="au",o.NZ="nz",o.UK="uk",o.US="us"})(Be||(Be={})),(function(o){o.PageView="page_view"})(qe||(qe={})),(function(o){o.ButtonClick="marketing_button_click",o.LinkClick="marketing_link_click"})(Fe||(Fe={})),(function(o){o.FreeTrialSignup="marketing_free_trial_signup",o.DemoSignup="marketing_demo_signup",o.PostFreeTrialSubmission="marketing_post_free_trial_submission",o.FormSubmission="marketing_form_submission",o.ContactFormSubmission="marketing_contact_us_submission",o.CallBooked="marketing_call_booked",o.NewsletterSignup="cv_marketing_newsletter_sign_up",o.MarketingTradeshowSubmission="marketing_tradeshow_submission",o.LandingPageFormSubmission="cv_marketing_lp_form_submission"})(Ge||(Ge={})),(function(o){o.ProductTrailRequested="product_trial_requested",o.FormSubmission="product_form_submission",o.TrialUpgradeRequested="product_trial_upgrade_requested",o.OlympicsOfferSubmission="product_olympics_offer_submission",o.BdmTrialRequested="cv_product_bdm_trial_requested"})($e||($e={})),(function(o){o.ContactUsFormSubmit="streamable_contact_us_submission",o.LivestreamBookingFormSubmit="streamable_livestream_booking_submission"})(Je||(Je={})),(function(o){o.TrialRequested="sl_marketing_trial_requested",o.HalloweenFormSubmission="sl_marketing_halloween_submission",o.NewsletterSignup="sl_marketing_newsletter_sign_up",o.RequestPricing="sl_marketing_pricing_requested",o.LandingPageFormSubmission="sl_marketing_lp_form_submission",o.ContactUsFormSubmit="sl_marketing_contact_us_submission"})(Xe||(Xe={})),(function(o){o.ContactUsFormSubmit="ch_marketing_contact_us_submission"})(Ye||(Ye={})),(function(o){o.ExploreTopics="product_explore_topics",o.Stream="product_stream",o.Search="product_search",o.SearchClickthrough="product_search_clickthrough",o.ClickBookACall="product_book_a_call_clicked",o.Share="product_share",o.DownloadResource="product_download_resource",o.Invite="product_invite_send",o.PlayerDeviceCta="product_player_devices_cta",o.SettingsIntegrations="product_settings_integrations"})(He||(He={})),(function(o){o.AddToSubscriptionGroups="add_to_subscription_groups"})(Ve||(Ve={})),(function(o){o.FirstName="first_name",o.LastName="last_name",o.Email="email",o.Phone="phone_number"})(ge||(ge={})),(function(o){o.CrmId="cvc_id",o.JobTitle="job_title",o.AccountOwner="account_owner",o.Department="department",o.AccountName="account_name",o.AccountType="account_type",o.OrgType="organisation_type",o.OrgSubType="organisation_sub_type",o.SyncToCrm="sync_to_crm",o.MasterId="master_id",o.AccountAddress="account_address",o.Topic="topic",o.Source="source"})(Yt||(Yt={})),(function(o){o.AccountCity="account_city",o.AccountState="account_state",o.AccountPostCode="account_post_code",o.AccountCountry="account_country",o.HowCanWeHelp="how_can_we_help",o.ReasonForInterest="reason_for_interest",o.EventTopic="event_topic",o.ContactUsComment="contact_us_comment"})(ne||(ne={})),(function(o){o.Marketing="marketing_id",o.Product="master_id",o.Email="email"})(ln||(ln={}));function Ze(o){return Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Ze(o)}function Dn(o,d){for(var x=0;x<d.length;x++){var Z=d[x];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(o,Un(Z.key),Z)}}function Un(o){var d=(function(x,Z){if(Ze(x)!="object"||!x)return x;var w=x[Symbol.toPrimitive];if(w!==void 0){var S=w.call(x,"string");if(Ze(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(x)})(o);return Ze(d)=="symbol"?d:d+""}function We(o,d){return We=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(x,Z){return x.__proto__=Z,x},We(o,d)}function Rn(o){var d=un();return function(){var x,Z=ze(o);if(d){var w=ze(this).constructor;x=Reflect.construct(Z,arguments,w)}else x=Z.apply(this,arguments);return Mn(this,x)}}function Mn(o,d){if(d&&(Ze(d)=="object"||typeof d=="function"))return d;if(d!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(function(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x})(o)}function un(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(un=function(){return!!o})()}function ze(o){return ze=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},ze(o)}var Ln=(function(o){(function(S,T){if(typeof T!="function"&&T!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(T&&T.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),Object.defineProperty(S,"prototype",{writable:!1}),T&&We(S,T)})(w,o);var d,x,Z=Rn(w);function w(S){return(function(T,O){if(!(T instanceof O))throw new TypeError("Cannot call a class as a function")})(this,w),Z.call(this,S)}return d=w,x=[{key:"logForm",value:function(S){var T;this.log(S),(function(O){var L;switch((L=O==null?void 0:O.internalOptions)===null||L===void 0?void 0:L.subscriptionGroups){case"all":case"cv":case"sl":return!0;default:return!1}})(S)&&this.logInternal({eventType:Ve.AddToSubscriptionGroups,additionalData:{products:zn[(T=S.internalOptions)===null||T===void 0?void 0:T.subscriptionGroups]}})}},{key:"logAnalytics",value:function(S){this.log(S,!1)}},{key:"logInternal",value:function(S){var T=S.eventType,O=S.additionalData,L={type:T,data:{}};ue.additionalData(O)&&(L.data=Object.assign({},O)),this.apiClient.logEvent(L),this.apiClient.sendData()}},{key:"log",value:function(S){var T=S.eventType,O=S.actionType,L=S.additionalData,q=S.callback,et=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],bt=this.options.getPayload();ue.additionalData(L)&&(bt=Object.assign(Object.assign({},bt),L));var at={type:T,data:bt};O&&(at.actionType=O);var mt=this.apiClient.logEvent(at);et?this.apiClient.sendData(q):typeof q!="function"||q(mt)}}],x&&Dn(d.prototype,x),Object.defineProperty(d,"prototype",{writable:!1}),w})(Me),jn=V(8322),Bn=V.n(jn);function ke(o){return ke=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},ke(o)}function cn(o,d){return(function(x){if(Array.isArray(x))return x})(o)||(function(x,Z){var w=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(w!=null){var S,T,O,L,q=[],et=!0,bt=!1;try{if(O=(w=w.call(x)).next,Z!==0)for(;!(et=(S=O.call(w)).done)&&(q.push(S.value),q.length!==Z);et=!0);}catch(at){bt=!0,T=at}finally{try{if(!et&&w.return!=null&&(L=w.return(),Object(L)!==L))return}finally{if(bt)throw T}}return q}})(o,d)||(function(x,Z){if(x){if(typeof x=="string")return hn(x,Z);var w={}.toString.call(x).slice(8,-1);return w==="Object"&&x.constructor&&(w=x.constructor.name),w==="Map"||w==="Set"?Array.from(x):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?hn(x,Z):void 0}})(o,d)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function hn(o,d){(d==null||d>o.length)&&(d=o.length);for(var x=0,Z=Array(d);x<d;x++)Z[x]=o[x];return Z}var Se={removeEmptyKeys:function(o){var d=this;if(Array.isArray(o))return o;var x=Object.assign({},o);return Object.entries(x).filter((function(Z){var w=cn(Z,2)[1];return!(w==null||typeof w=="string"&&!w.length||ke(w)==="object"&&Object.keys(w).length===0)})).reduce((function(Z,w){var S,T,O,L=cn(w,2),q=L[0],et=L[1];return Object.assign(Object.assign({},Z),(S={},T=q,O=et===Object(et)?d.removeEmptyKeys(et):et,(T=(function(bt){var at=(function(mt,ht){if(ke(mt)!="object"||!mt)return mt;var st=mt[Symbol.toPrimitive];if(st!==void 0){var Y=st.call(mt,"string");if(ke(Y)!="object")return Y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(mt)})(bt);return ke(at)=="symbol"?at:at+""})(T))in S?Object.defineProperty(S,T,{value:O,enumerable:!0,configurable:!0,writable:!0}):S[T]=O,S))}),{})}};function Ee(o){return Ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},Ee(o)}function zt(o,d,x){return(d=(function(Z){var w=(function(S,T){if(Ee(S)!="object"||!S)return S;var O=S[Symbol.toPrimitive];if(O!==void 0){var L=O.call(S,"string");if(Ee(L)!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(S)})(Z);return Ee(w)=="symbol"?w:w+""})(d))in o?Object.defineProperty(o,d,{value:x,enumerable:!0,configurable:!0,writable:!0}):o[d]=x,o}var se={getDefaultUserAttributes:function(o){var d;return Se.removeEmptyKeys((zt(d={},ge.Email,o.email),zt(d,ge.FirstName,o==null?void 0:o.firstName),zt(d,ge.LastName,o==null?void 0:o.lastName),zt(d,ge.Phone,o==null?void 0:o.phone),d))},getCustomUserAttributesWithoutSource:function(o){var d,x,Z,w,S,T,O,L,q,et,bt,at,mt,ht,st,Y=Se.removeEmptyKeys({province:(Z=(x=o==null?void 0:o.custom)===null||x===void 0?void 0:x.accountAddress)===null||Z===void 0?void 0:Z.province,country_code:(S=(w=o==null?void 0:o.custom)===null||w===void 0?void 0:w.accountAddress)===null||S===void 0?void 0:S.countryCode}),Nt=(zt(d={},Yt.AccountName,(T=o==null?void 0:o.custom)===null||T===void 0?void 0:T.accountName),zt(d,Yt.AccountType,(O=o==null?void 0:o.custom)===null||O===void 0?void 0:O.accountType),zt(d,Yt.CrmId,(L=o==null?void 0:o.custom)===null||L===void 0?void 0:L.crmId),zt(d,Yt.Department,(q=o==null?void 0:o.custom)===null||q===void 0?void 0:q.department),zt(d,Yt.JobTitle,(et=o==null?void 0:o.custom)===null||et===void 0?void 0:et.jobTitle),zt(d,Yt.MasterId,(bt=o==null?void 0:o.custom)===null||bt===void 0?void 0:bt.masterId),zt(d,Yt.OrgSubType,(at=o==null?void 0:o.custom)===null||at===void 0?void 0:at.orgSubType),zt(d,Yt.OrgType,(mt=o==null?void 0:o.custom)===null||mt===void 0?void 0:mt.orgType),zt(d,Yt.SyncToCrm,(ht=o==null?void 0:o.custom)===null||ht===void 0?void 0:ht.syncToCrm),zt(d,Yt.Topic,(st=o==null?void 0:o.custom)===null||st===void 0?void 0:st.topic),d);return ue.accountAddress(Y)&&(Nt[Yt.AccountAddress]=Y),Se.removeEmptyKeys(Nt)},getCustomUserAttributes:function(o){var d=se.getCustomUserAttributesWithoutSource(o),x=Se.removeEmptyKeys(Object.assign(Object.assign({},d),zt({},Yt.Source,(function(Z){var w;if(!((w=Z.custom)===null||w===void 0)&&w.source&&Z.custom.source.length){var S=Object.keys(se.getDefaultUserAttributes(Z)),T=Object.keys(se.getCustomUserAttributesWithoutSource(Z));return{$add:[{name:Z.custom.source,attributes:[].concat(S,T)}]}}qt("No source provided for braze user.")})(o))));return x},getEventUserAttributes:function(o){var d,x,Z,w,S,T,O,L,q;return Se.removeEmptyKeys((zt(d={},ne.AccountCity,(x=o==null?void 0:o.event)===null||x===void 0?void 0:x.accountCity),zt(d,ne.AccountCountry,(Z=o==null?void 0:o.event)===null||Z===void 0?void 0:Z.accountCity),zt(d,ne.AccountPostCode,(w=o==null?void 0:o.event)===null||w===void 0?void 0:w.accountPostCode),zt(d,ne.AccountState,(S=o==null?void 0:o.event)===null||S===void 0?void 0:S.accountState),zt(d,ne.ContactUsComment,(T=o==null?void 0:o.event)===null||T===void 0?void 0:T.contactUsComment),zt(d,ne.EventTopic,(O=o==null?void 0:o.event)===null||O===void 0?void 0:O.eventTopic),zt(d,ne.HowCanWeHelp,(L=o==null?void 0:o.event)===null||L===void 0?void 0:L.howCanWeHelp),zt(d,ne.ReasonForInterest,(q=o==null?void 0:o.event)===null||q===void 0?void 0:q.reasonForInterest),d))},getExtraUserAttributes:function(o){return Ee(o.extra)!=="object"?{}:Se.removeEmptyKeys(o.extra)},getPayload:function(o){if(!o)return{};var d=se.getDefaultUserAttributes(o),x=se.getCustomUserAttributes(o),Z=se.getEventUserAttributes(o),w=se.getExtraUserAttributes(o),S=ue.additionalData(w),T=Object.assign(Object.assign(Object.assign({},d),x),Z);return S?Object.assign(Object.assign({},T),w):T},getEmailHash:function(o){var d=o.trim().toLowerCase();return Bn().hash(d)}};function _e(o){return _e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},_e(o)}function qn(o,d){for(var x=0;x<d.length;x++){var Z=d[x];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(o,Fn(Z.key),Z)}}function Fn(o){var d=(function(x,Z){if(_e(x)!="object"||!x)return x;var w=x[Symbol.toPrimitive];if(w!==void 0){var S=w.call(x,"string");if(_e(S)!="object")return S;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(x)})(o);return _e(d)=="symbol"?d:d+""}var Gn=(function(){function o(Z){var w=Z.apiOptions,S=Z.shouldInitialize,T=S===void 0||S,O=Z.allowAnonymous,L=O!==void 0&&O,q=Z.subscriptions;(function(et,bt){if(!(et instanceof bt))throw new TypeError("Cannot call a class as a function")})(this,o),this.initialized=!1,this.apiOptions=w,this.subscriptions=q,this.allowAnonymous=L,T&&this.initialize()}var d,x;return d=o,(x=[{key:"initialize",value:function(){var Z=this;this.isInitialized()?(function(w){for(var S=arguments.length,T=new Array(S>1?S-1:0),O=1;O<S;O++)T[O-1]=arguments[O];console.warn(w,T)})("BrazeClient has already been initialized!"):(this.apiClient=sn.getInstance(this.apiOptions),this.cardsModule=new In({apiClient:this.apiClient}),this.bamModule=new Pn({apiClient:this.apiClient}),this.eventModule=new Ln({apiClient:this.apiClient,getPayload:function(){return se.getPayload(Z.user)}}),this.initialized=!0)}},{key:"isInitialized",value:function(){return this.initialized}},{key:"getUser",value:function(){return this.isInitialized()?this.validateUser()?this.user:null:(ee("BrazeClient has not been initialized."),null)}},{key:"card",get:function(){return this.isInitialized()?this.cardsModule:(ee("BrazeClient has not been initialized."),null)}},{key:"bam",get:function(){return this.isInitialized()?this.bamModule:(ee("BrazeClient has not been initialized."),null)}},{key:"event",get:function(){return this.isInitialized()?this.allowAnonymous||this.validateUser()?this.eventModule:(ee("Anon events are disabled! Please invoke `setUser` before logging events!"),null):(ee("BrazeClient has not been initialized."),null)}},{key:"setUser",value:function(Z){this.isInitialized()?(this.user=Z,this.startSession(),this.logUserAttributes()):ee("Trying to `setUser` but the client has not been initialized")}},{key:"setUserInit",value:function(Z){this.isInitialized()||this.initialize(),this.setUser(Z)}},{key:"allowAnonymousSessions",value:function(){this.allowAnonymous=!0}},{key:"api",value:function(){return this.isInitialized()?this.apiClient:null}},{key:"setEmailNotificationSubscriptionType",value:function(Z){return this.isInitialized()&&this.validateUser()?this.apiClient.setUserEmailNotificationSubscriptionType(Z):null}},{key:"validateUser",value:function(){return!!this.user||(ee("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()):ee("No user provided and cannot start anonymous sessions!")}},{key:"enableSubscriptions",value:function(){var Z,w;!((Z=this.subscriptions)===null||Z===void 0)&&Z.subscribeToInAppMessage&&typeof this.subscriptions.subscribeToInAppMessage=="function"&&this.apiClient.subscribeToInAppMessage(this.subscriptions.subscribeToInAppMessage),!((w=this.subscriptions)===null||w===void 0)&&w.subscribeToContentCards&&typeof this.subscriptions.subscribeToContentCards=="function"&&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 Z=se.getCustomUserAttributes(this.user);this.apiClient.bulkSetCustomUserAttributes(Z)}}}])&&qn(d.prototype,x),Object.defineProperty(d,"prototype",{writable:!1}),o})();function $n(o){return sn.getInstance(o)}})(),De})()))})(Qe)),Qe.exports}var Yn=Jn();export{Yn as a};
7
- //# sourceMappingURL=DvDdiDQN.chunk.js.map