@mjhls/mjh-framework 1.0.850-affiliatefix-v1 → 1.0.850-beta.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 (318) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +9 -10
  3. package/dist/cjs/AD300x250.js +30 -31
  4. package/dist/cjs/AD300x250x600.js +30 -31
  5. package/dist/cjs/AD728x90.js +33 -34
  6. package/dist/cjs/ADFloatingFooter.js +32 -33
  7. package/dist/cjs/ADFooter.js +14 -15
  8. package/dist/cjs/ADGutter.js +32 -33
  9. package/dist/cjs/{ADInfeed-859820d9.js → ADInfeed-98c71bcd.js} +13 -15
  10. package/dist/cjs/ADSkyscraper.js +32 -33
  11. package/dist/cjs/ADSponsoredResources.js +32 -33
  12. package/dist/cjs/ADWebcast.js +32 -33
  13. package/dist/cjs/ADWelcome.js +33 -34
  14. package/dist/cjs/{ADlgInfeed-da3a36a6.js → ADlgInfeed-9de32585.js} +10 -11
  15. package/dist/cjs/AccordionPanel.js +29 -31
  16. package/dist/cjs/AdSlot.js +101 -34
  17. package/dist/cjs/AdSlotsProvider.js +925 -24
  18. package/dist/cjs/AlgoliaSearch.js +1276 -1371
  19. package/dist/cjs/AlphabeticList.js +25 -26
  20. package/dist/cjs/ArticleCarousel.js +23 -24
  21. package/dist/cjs/ArticleProgramLandingPage.js +59 -60
  22. package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
  23. package/dist/cjs/ArticleSeriesListing.js +61 -62
  24. package/dist/cjs/Auth.js +462 -686
  25. package/dist/cjs/AuthWrapper.js +423 -1739
  26. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
  29. package/dist/cjs/Breadcrumbs.js +27 -29
  30. package/dist/cjs/CMEDeck.js +83 -83
  31. package/dist/cjs/Column1.js +11 -14
  32. package/dist/cjs/Column2.js +33 -36
  33. package/dist/cjs/Column3.js +59 -62
  34. package/dist/cjs/ConferenceArticleCard.js +37 -38
  35. package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
  36. package/dist/cjs/DeckContent.js +103 -107
  37. package/dist/cjs/DeckQueue.js +90 -94
  38. package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
  39. package/dist/cjs/EventsDeck.js +152 -159
  40. package/dist/cjs/ExternalResources.js +80 -81
  41. package/dist/cjs/Feature.js +24 -26
  42. package/dist/cjs/ForbesHero.js +42 -43
  43. package/dist/cjs/GridContent.js +304 -190
  44. package/dist/cjs/GridHero.js +44 -45
  45. package/dist/cjs/GroupDeck.js +59 -60
  46. package/dist/cjs/HamMagazine.js +141 -146
  47. package/dist/cjs/Header.js +12 -14
  48. package/dist/cjs/Hero.js +12 -13
  49. package/dist/cjs/HighlightenVideo.js +17 -18
  50. package/dist/cjs/HorizontalArticleListing.js +72 -73
  51. package/dist/cjs/HorizontalHero.js +25 -26
  52. package/dist/cjs/IssueContentDeck.js +73 -78
  53. package/dist/cjs/IssueDeck.js +72 -77
  54. package/dist/cjs/IssueLanding.js +93 -96
  55. package/dist/cjs/KMTracker.js +15 -15
  56. package/dist/cjs/LeftNav.js +39 -41
  57. package/dist/cjs/MasterDeck.js +80 -81
  58. package/dist/cjs/MediaSeriesLanding.js +1137 -1228
  59. package/dist/cjs/NavDvm.js +74 -79
  60. package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
  61. package/dist/cjs/NavMagazine.js +148 -153
  62. package/dist/cjs/NavNative.js +145 -153
  63. package/dist/cjs/OncliveHero.js +19 -19
  64. package/dist/cjs/OncliveLargeHero.js +72 -73
  65. package/dist/cjs/PageFilter.js +14 -15
  66. package/dist/cjs/PartnerDetailListing.js +1205 -115
  67. package/dist/cjs/PdfDownload.js +9 -10
  68. package/dist/cjs/PopUpModal.js +19 -21
  69. package/dist/cjs/PubSection.js +40 -43
  70. package/dist/cjs/PubToc.js +15 -16
  71. package/dist/cjs/PublicationDeck.js +62 -67
  72. package/dist/cjs/PublicationLanding.js +135 -139
  73. package/dist/cjs/QueueDeckExpanded.js +1150 -1131
  74. package/dist/cjs/RecentNews.js +22 -23
  75. package/dist/cjs/RelatedContent.js +54 -55
  76. package/dist/cjs/RelatedTopicsDropdown.js +29 -32
  77. package/dist/cjs/RolesDeck.js +27 -32
  78. package/dist/cjs/Search.js +18 -22
  79. package/dist/cjs/Segment.js +368 -343
  80. package/dist/cjs/SeriesListingDeck.js +38 -38
  81. package/dist/cjs/{SeriesSlider-34c6cc2b.js → SeriesSlider-8bbc989f.js} +39 -40
  82. package/dist/cjs/SetCookie.js +1 -1
  83. package/dist/cjs/SideFooter.js +38 -39
  84. package/dist/cjs/SocialIcons.js +9 -10
  85. package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
  86. package/dist/cjs/SocialShare.js +29 -31
  87. package/dist/cjs/TaxonomyCard.js +59 -64
  88. package/dist/cjs/TaxonomyDescription.js +55 -56
  89. package/dist/cjs/TemplateNormal.js +74 -75
  90. package/dist/cjs/ThumbnailCard.js +21 -23
  91. package/dist/cjs/Ustream.js +30 -31
  92. package/dist/cjs/VerticalHero.js +16 -17
  93. package/dist/cjs/VideoProgramLandingPage.js +74 -78
  94. package/dist/cjs/VideoSeriesCard.js +32 -33
  95. package/dist/cjs/VideoSeriesFilter.js +18 -18
  96. package/dist/cjs/VideoSeriesLandingPage.js +49 -50
  97. package/dist/cjs/VideoSeriesListing.js +82 -81
  98. package/dist/cjs/View.js +342 -264
  99. package/dist/cjs/YahooHero.js +41 -42
  100. package/dist/cjs/YoutubeGroup.js +66 -67
  101. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  102. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  103. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  104. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  105. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  106. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  107. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  108. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
  109. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  110. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  111. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  112. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  113. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  114. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  115. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  116. package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
  117. package/dist/cjs/faundadb.js +7 -7
  118. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  119. package/dist/cjs/getQuery.js +2 -2
  120. package/dist/cjs/getRelatedArticle.js +20 -20
  121. package/dist/cjs/getRootDocGroup.js +6 -6
  122. package/dist/cjs/getSerializers.js +45 -45
  123. package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-f1821260.js} +26 -17
  124. package/dist/cjs/getTargeting.js +8 -8
  125. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
  126. package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
  127. package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
  128. package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
  129. package/dist/cjs/{index-060c5d65.js → index-bc88f898.js} +1039 -1005
  130. package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
  131. package/dist/cjs/{index-50be6759.js → index-e2e62963.js} +10 -26
  132. package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
  133. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
  134. package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
  135. package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
  136. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
  137. package/dist/cjs/index.js +164 -169
  138. package/dist/cjs/{inherits-c2065b95.js → inherits-452ff02c.js} +19 -19
  139. package/dist/cjs/inherits-8d29278d.js +110 -0
  140. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  141. package/dist/cjs/keys-a586b7a0.js +25 -0
  142. package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
  143. package/dist/cjs/main-02daeefe.js +862 -0
  144. package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
  145. package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
  146. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
  147. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  148. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  149. package/dist/cjs/stringify-7c5aff47.js +17 -0
  150. package/dist/cjs/timeDifferenceCalc.js +1 -1
  151. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  152. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  153. package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
  154. package/dist/cjs/urlFor.js +3 -3
  155. package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
  156. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  157. package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
  158. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  159. package/dist/esm/AD.js +1 -1
  160. package/dist/esm/AD300x250.js +24 -24
  161. package/dist/esm/AD300x250x600.js +24 -24
  162. package/dist/esm/AD728x90.js +27 -27
  163. package/dist/esm/ADFloatingFooter.js +23 -23
  164. package/dist/esm/ADFooter.js +6 -6
  165. package/dist/esm/ADGutter.js +23 -23
  166. package/dist/esm/{ADInfeed-4bf3b2f9.js → ADInfeed-bbdd5398.js} +6 -6
  167. package/dist/esm/ADSkyscraper.js +23 -23
  168. package/dist/esm/ADSponsoredResources.js +23 -23
  169. package/dist/esm/ADWebcast.js +23 -23
  170. package/dist/esm/ADWelcome.js +20 -20
  171. package/dist/esm/{ADlgInfeed-a3377c4a.js → ADlgInfeed-4473ee3b.js} +4 -4
  172. package/dist/esm/AccordionPanel.js +8 -8
  173. package/dist/esm/AdSlot.js +92 -24
  174. package/dist/esm/AdSlotsProvider.js +922 -20
  175. package/dist/esm/AlgoliaSearch.js +505 -599
  176. package/dist/esm/AlphabeticList.js +10 -10
  177. package/dist/esm/ArticleCarousel.js +17 -17
  178. package/dist/esm/ArticleProgramLandingPage.js +50 -50
  179. package/dist/esm/ArticleSeriesLandingPage.js +32 -32
  180. package/dist/esm/ArticleSeriesListing.js +34 -34
  181. package/dist/esm/Auth.js +375 -595
  182. package/dist/esm/AuthWrapper.js +396 -1711
  183. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
  184. package/dist/esm/Beam.js +8 -8
  185. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
  186. package/dist/esm/Breadcrumbs.js +7 -7
  187. package/dist/esm/CMEDeck.js +24 -24
  188. package/dist/esm/Column1.js +4 -4
  189. package/dist/esm/Column2.js +21 -21
  190. package/dist/esm/Column3.js +39 -39
  191. package/dist/esm/ConferenceArticleCard.js +22 -22
  192. package/dist/esm/DeckContent.js +57 -57
  193. package/dist/esm/DeckQueue.js +50 -50
  194. package/dist/esm/{Dfp-2c43d2a0.js → Dfp-b7236041.js} +15 -15
  195. package/dist/esm/EventsDeck.js +67 -67
  196. package/dist/esm/ExternalResources.js +48 -48
  197. package/dist/esm/Feature.js +4 -4
  198. package/dist/esm/ForbesHero.js +12 -12
  199. package/dist/esm/GridContent.js +200 -82
  200. package/dist/esm/GridHero.js +13 -13
  201. package/dist/esm/GroupDeck.js +14 -14
  202. package/dist/esm/HamMagazine.js +39 -39
  203. package/dist/esm/Hero.js +4 -4
  204. package/dist/esm/HighlightenVideo.js +2 -2
  205. package/dist/esm/HorizontalArticleListing.js +47 -47
  206. package/dist/esm/HorizontalHero.js +5 -5
  207. package/dist/esm/IssueContentDeck.js +27 -27
  208. package/dist/esm/IssueDeck.js +37 -37
  209. package/dist/esm/IssueLanding.js +82 -84
  210. package/dist/esm/KMTracker.js +15 -15
  211. package/dist/esm/LeftNav.js +22 -22
  212. package/dist/esm/MasterDeck.js +45 -45
  213. package/dist/esm/MediaSeriesLanding.js +663 -751
  214. package/dist/esm/NavDvm.js +16 -16
  215. package/dist/esm/NavMagazine.js +44 -44
  216. package/dist/esm/NavNative.js +49 -49
  217. package/dist/esm/OncliveHero.js +5 -4
  218. package/dist/esm/OncliveLargeHero.js +13 -13
  219. package/dist/esm/PageFilter.js +6 -6
  220. package/dist/esm/PartnerDetailListing.js +1155 -65
  221. package/dist/esm/PdfDownload.js +2 -2
  222. package/dist/esm/PopUpModal.js +6 -6
  223. package/dist/esm/PubSection.js +32 -34
  224. package/dist/esm/PubToc.js +8 -8
  225. package/dist/esm/PublicationDeck.js +24 -24
  226. package/dist/esm/PublicationLanding.js +76 -76
  227. package/dist/esm/QueueDeckExpanded.js +1103 -1084
  228. package/dist/esm/RecentNews.js +4 -4
  229. package/dist/esm/RelatedContent.js +35 -35
  230. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  231. package/dist/esm/RolesDeck.js +12 -12
  232. package/dist/esm/Search.js +8 -8
  233. package/dist/esm/Segment.js +368 -343
  234. package/dist/esm/SeriesListingDeck.js +20 -20
  235. package/dist/esm/{SeriesSlider-5d5c08f4.js → SeriesSlider-a866bb21.js} +14 -14
  236. package/dist/esm/SetCookie.js +1 -1
  237. package/dist/esm/SideFooter.js +17 -17
  238. package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
  239. package/dist/esm/TaxonomyCard.js +25 -25
  240. package/dist/esm/TaxonomyDescription.js +46 -46
  241. package/dist/esm/TemplateNormal.js +50 -50
  242. package/dist/esm/ThumbnailCard.js +7 -7
  243. package/dist/esm/Ustream.js +14 -14
  244. package/dist/esm/VerticalHero.js +3 -3
  245. package/dist/esm/VideoProgramLandingPage.js +54 -54
  246. package/dist/esm/VideoSeriesCard.js +14 -14
  247. package/dist/esm/VideoSeriesFilter.js +9 -9
  248. package/dist/esm/VideoSeriesLandingPage.js +38 -38
  249. package/dist/esm/VideoSeriesListing.js +39 -37
  250. package/dist/esm/View.js +174 -92
  251. package/dist/esm/YahooHero.js +15 -15
  252. package/dist/esm/YoutubeGroup.js +26 -26
  253. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  254. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  255. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  256. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  257. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  258. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  259. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-4877b617.js} +33 -33
  260. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
  261. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  262. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  263. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  264. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  265. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  266. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  267. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  268. package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
  269. package/dist/esm/faundadb.js +7 -7
  270. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  271. package/dist/esm/getQuery.js +2 -2
  272. package/dist/esm/getRelatedArticle.js +14 -14
  273. package/dist/esm/getRootDocGroup.js +6 -6
  274. package/dist/esm/getSerializers.js +45 -45
  275. package/dist/esm/{getTargeting-68291ce9.js → getTargeting-bd800589.js} +25 -16
  276. package/dist/esm/getTargeting.js +8 -8
  277. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  278. package/dist/esm/{index-f0fc23eb.js → index-41a678ea.js} +4 -4
  279. package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
  280. package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
  281. package/dist/esm/{index-98ca9cec.js → index-aaa2dae0.js} +11 -26
  282. package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
  283. package/dist/esm/{index-01d53c17.js → index-f2a0d400.js} +688 -647
  284. package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
  285. package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
  286. package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
  287. package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
  288. package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
  289. package/dist/esm/index.js +122 -124
  290. package/dist/esm/inherits-77d5e4fc.js +101 -0
  291. package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
  292. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  293. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  294. package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
  295. package/dist/esm/main-e4a934b2.js +851 -0
  296. package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
  297. package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
  298. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
  299. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  300. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  301. package/dist/esm/stringify-4330ccdc.js +15 -0
  302. package/dist/esm/timeDifferenceCalc.js +1 -1
  303. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  304. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  305. package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
  306. package/dist/esm/urlFor.js +1 -1
  307. package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
  308. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  309. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  310. package/package.json +111 -110
  311. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  312. package/dist/cjs/keys-7f2c2108.js +0 -25
  313. package/dist/cjs/main-f1c77adb.js +0 -973
  314. package/dist/cjs/stringify-c9ac1214.js +0 -17
  315. package/dist/cjs/typeof-1358762e.js +0 -33
  316. package/dist/esm/main-d4165069.js +0 -961
  317. package/dist/esm/stringify-59c8f690.js +0 -15
  318. package/dist/esm/typeof-2f07d0e8.js +0 -30
@@ -1,361 +1,386 @@
1
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
2
1
  import './_commonjsHelpers-0c4b6f40.js';
3
- import './es6.string.iterator-bc33758b.js';
4
- import './_to-object-b50e61c3.js';
5
- import './web.dom.iterable-4109ff68.js';
2
+ import './_to-object-a4107da3.js';
3
+ import './es6.string.iterator-c990c18c.js';
6
4
  import './_library-528f1934.js';
7
- import './core.get-iterator-method-133dfacd.js';
8
- import './_iter-detect-7e5e5ce2.js';
5
+ import './_iter-detect-5d49a330.js';
6
+ import './core.get-iterator-method-e1de7503.js';
7
+ import './web.dom.iterable-4439f05a.js';
8
+ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
9
9
 
10
- require("babel-polyfill");
10
+ require('babel-polyfill');
11
11
 
12
12
  var Segment = {
13
- identify: function identify(eKey) {
14
- if (!eKey) {
15
- throw new Error('eKey is not present');
16
- }
13
+ identify: function identify(eKey) {
14
+ if (!eKey) {
15
+ throw new Error('eKey is not present');
16
+ }
17
17
 
18
- if (typeof analytics === 'undefined') {
19
- console.error('Segment not initialized', analytics);
20
- return;
21
- }
18
+ if (typeof analytics === 'undefined') {
19
+ console.error('Segment not initialized', analytics);
20
+ return;
21
+ }
22
22
 
23
- var buff = Buffer.from(eKey, 'base64');
24
- var email = buff.toString('ascii');
23
+ var buff = Buffer.from(eKey, 'base64');
24
+ var email = buff.toString('ascii');
25
25
 
26
- analytics.identify(eKey, {
27
- email: email
28
- });
29
- },
30
- getURL: function getURL(url) {
31
- var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
26
+ analytics.identify(eKey, {
27
+ email: email
28
+ });
29
+ },
30
+ getURL: function getURL(url) {
31
+ var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
32
32
 
33
- if (!data || !data.needSegmentSupport) {
34
- return url;
35
- }
33
+ if (!data || !data.needSegmentSupport) {
34
+ return url;
35
+ }
36
36
 
37
- if (typeof analytics === 'undefined') {
38
- console.error('segment not defined');
39
- return url;
40
- }
37
+ if (typeof analytics === 'undefined') {
38
+ console.error('segment not defined');
39
+ return url;
40
+ }
41
41
 
42
- if (!analytics || typeof analytics.user !== 'function') {
43
- console.error('segment not defined: user function');
44
- return url;
45
- }
42
+ if (!analytics || typeof analytics.user !== 'function') {
43
+ console.error('segment not defined: user function');
44
+ return url;
45
+ }
46
46
 
47
- var user = analytics.user();
48
- if (!user) {
49
- console.log('segment user not defined');
50
- return url;
51
- }
47
+ var user = analytics.user();
48
+ if (!user) {
49
+ console.log('segment user not defined');
50
+ return url;
51
+ }
52
52
 
53
- var anonymouseId = user.anonymousId();
54
- //const eKey = Beam.proc_eKey(Beam.proc_url())
55
- var eKey = user._getId();
56
- if (eKey) {
57
- url += (url.includes('?') ? '&' : '?') + 'ekey=' + eKey;
58
- } else {
59
- url += (url.includes('?') ? '&' : '?') + 'anonymousid=' + anonymouseId;
60
- }
53
+ var anonymouseId = user.anonymousId();
54
+ //const eKey = Beam.proc_eKey(Beam.proc_url())
55
+ var eKey = user._getId();
56
+ if (eKey) {
57
+ url += (url.includes('?') ? '&' : '?') + 'ekey=' + eKey;
58
+ } else {
59
+ url += (url.includes('?') ? '&' : '?') + 'anonymousid=' + anonymouseId;
60
+ }
61
61
 
62
- return url;
63
- },
64
- getIDs: function getIDs() {
65
- var _this = this;
66
-
67
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
68
- var res, json;
69
- return regenerator.wrap(function _callee$(_context) {
70
- while (1) {
71
- switch (_context.prev = _context.next) {
72
- case 0:
73
- _context.next = 2;
74
- return fetch('https://beam.mjhlifesciences.com/api/beam/id', {
75
- headers: {
76
- 'Content-Type': 'application/json',
77
- Accept: 'application/json'
78
- },
79
- method: 'post',
80
- credentials: 'include'
81
- });
82
-
83
- case 2:
84
- res = _context.sent;
85
- _context.next = 5;
86
- return res.json();
87
-
88
- case 5:
89
- json = _context.sent;
90
- return _context.abrupt('return', json);
91
-
92
- case 7:
93
- case 'end':
94
- return _context.stop();
95
- }
96
- }
97
- }, _callee, _this);
98
- }))();
99
- },
100
- pageview: function pageview(domain) {
101
- var _this2 = this;
102
-
103
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
104
- var result, beam_id, session_id;
105
- return regenerator.wrap(function _callee2$(_context2) {
106
- while (1) {
107
- switch (_context2.prev = _context2.next) {
108
- case 0:
109
- if (!(typeof analytics === 'undefined')) {
110
- _context2.next = 3;
111
- break;
112
- }
113
-
114
- console.error('Segment not initialized', window);
115
- return _context2.abrupt('return');
116
-
117
- case 3:
118
- _context2.next = 5;
119
- return _this2.getIDs();
120
-
121
- case 5:
122
- result = _context2.sent;
123
- beam_id = result.beam_id ? result.beam_id : '';
124
- session_id = result.session_id ? result.session_id : '';
125
-
126
-
127
- analytics.track('pageviews', {
128
- beamid: beam_id,
129
- sessionid: session_id,
130
- category: '',
131
- domain: domain
132
- });
133
-
134
- case 9:
135
- case 'end':
136
- return _context2.stop();
137
- }
138
- }
139
- }, _callee2, _this2);
140
- }))();
141
- },
142
- report_video_event: function report_video_event(action, deviceType, duration, current, segmentData) {
143
- var videoType = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 'Youtube';
144
- var brightCovePlayerID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
145
-
146
- var _this3 = this;
147
-
148
- var brightCoveAccountID = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
149
- var brightCoveVideoID = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : '';
150
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3() {
151
- var result, beam_id, session_id, domain, data;
152
- return regenerator.wrap(function _callee3$(_context3) {
153
- while (1) {
154
- switch (_context3.prev = _context3.next) {
155
- case 0:
156
- if (!(typeof analytics === 'undefined')) {
157
- _context3.next = 3;
158
- break;
159
- }
160
-
161
- console.error('Segment not initialized');
162
- return _context3.abrupt('return');
163
-
164
- case 3:
165
- _context3.next = 5;
166
- return _this3.getIDs();
167
-
168
- case 5:
169
- result = _context3.sent;
170
- beam_id = result.beam_id ? result.beam_id : '';
171
- session_id = result.session_id ? result.session_id : '';
172
- domain = typeof window !== 'undefined' && window.location ? window.location.hostname : '';
173
- data = {
174
- beamid: beam_id,
175
- sessionid: session_id,
176
- domain: domain,
177
- Devicetype: deviceType,
178
- videoid: brightCoveVideoID,
179
- title: '',
180
- category: '',
181
- videoplayer: videoType,
182
- totalduration: duration,
183
- currentduration: current,
184
- segment: segmentData,
185
- queue: Math.floor(duration / 10),
186
- brightCovePlayerID: brightCovePlayerID,
187
- brightCoveAccountID: brightCoveAccountID
188
- };
189
-
190
-
191
- console.log('Segment ' + videoType, action, data);
192
-
193
- analytics.track(action, data);
194
-
195
- case 12:
196
- case 'end':
197
- return _context3.stop();
198
- }
199
- }
200
- }, _callee3, _this3);
201
- }))();
202
- },
203
- report_ad_event: function report_ad_event(action, deviceType, duration) {
204
- var adType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'brightcove';
205
- var adId = arguments[4];
206
-
207
- var _this4 = this;
208
-
209
- var brightCovePlayerID = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : '';
210
- var brightCoveAccountID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
211
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4() {
212
- var result, beam_id, session_id, domain, data;
213
- return regenerator.wrap(function _callee4$(_context4) {
214
- while (1) {
215
- switch (_context4.prev = _context4.next) {
216
- case 0:
217
- if (!(typeof analytics === 'undefined')) {
218
- _context4.next = 3;
219
- break;
220
- }
221
-
222
- console.error('Segment not initialized');
223
- return _context4.abrupt('return');
224
-
225
- case 3:
226
- _context4.next = 5;
227
- return _this4.getIDs();
228
-
229
- case 5:
230
- result = _context4.sent;
231
- beam_id = result.beam_id ? result.beam_id : '';
232
- session_id = result.session_id ? result.session_id : '';
233
- domain = typeof window !== 'undefined' && window.location ? window.location.hostname : '';
234
- data = {
235
- beamid: beam_id,
236
- sessionid: session_id,
237
- domain: domain,
238
- Devicetype: deviceType,
239
- title: '',
240
- category: '',
241
- adType: adType,
242
- totalduration: duration,
243
- adId: adId,
244
- brightCovePlayerID: brightCovePlayerID,
245
- brightCoveAccountID: brightCoveAccountID
246
- };
247
-
248
-
249
- console.log('Segment ' + adType, action, data);
250
-
251
- analytics.track(action, data);
252
-
253
- case 12:
254
- case 'end':
255
- return _context4.stop();
256
- }
257
- }
258
- }, _callee4, _this4);
259
- }))();
260
- },
261
- adClicked: function adClicked(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
262
- var _this5 = this;
263
-
264
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5() {
265
- var result, beam_id, session_id;
266
- return regenerator.wrap(function _callee5$(_context5) {
267
- while (1) {
268
- switch (_context5.prev = _context5.next) {
269
- case 0:
270
- if (!(typeof analytics === 'undefined')) {
271
- _context5.next = 3;
272
- break;
273
- }
274
-
275
- console.error('Segment not initialized');
276
- return _context5.abrupt('return');
277
-
278
- case 3:
279
- _context5.next = 5;
280
- return _this5.getIDs();
281
-
282
- case 5:
283
- result = _context5.sent;
284
- beam_id = result.beam_id ? result.beam_id : '';
285
- session_id = result.session_id ? result.session_id : '';
286
-
287
-
288
- analytics.track('Ad Clicked', {
289
- beamid: beam_id,
290
- sessionid: session_id,
291
- advertiserid: advertiserid,
292
- campaignid: campaignid,
293
- creativeid: creativeid,
294
- itemid: itemid,
295
- size: size,
296
- isemptyline: isemptyline,
297
- sourceAgnosticCreativeId: sourceAgnosticCreativeId,
298
- sourceAgnosticlineId: sourceAgnosticlineId,
299
- domain: domain
300
- });
301
-
302
- case 9:
303
- case 'end':
304
- return _context5.stop();
305
- }
306
- }
307
- }, _callee5, _this5);
308
- }))();
309
- },
310
- adViewed: function adViewed(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
311
- var _this6 = this;
312
-
313
- return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee6() {
314
- var result, beam_id, session_id;
315
- return regenerator.wrap(function _callee6$(_context6) {
316
- while (1) {
317
- switch (_context6.prev = _context6.next) {
318
- case 0:
319
- if (!(typeof analytics === 'undefined')) {
320
- _context6.next = 3;
321
- break;
322
- }
323
-
324
- console.error('Segment not initialized');
325
- return _context6.abrupt('return');
326
-
327
- case 3:
328
- _context6.next = 5;
329
- return _this6.getIDs();
330
-
331
- case 5:
332
- result = _context6.sent;
333
- beam_id = result.beam_id ? result.beam_id : '';
334
- session_id = result.session_id ? result.session_id : '';
335
-
336
-
337
- analytics.track('Impression Viewed', {
338
- beamid: beam_id,
339
- sessionid: session_id,
340
- advertiserid: advertiserid,
341
- campaignid: campaignid,
342
- creativeid: creativeid,
343
- itemid: itemid,
344
- size: size,
345
- isemptyline: isemptyline,
346
- sourceAgnosticCreativeId: sourceAgnosticCreativeId,
347
- sourceAgnosticlineId: sourceAgnosticlineId,
348
- domain: domain
349
- });
350
-
351
- case 9:
352
- case 'end':
353
- return _context6.stop();
354
- }
355
- }
356
- }, _callee6, _this6);
357
- }))();
62
+ return url;
63
+ },
64
+ getIDs: function getIDs() {
65
+ var _this = this;
66
+
67
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
68
+ var res, json;
69
+ return regenerator.wrap(function _callee$(_context) {
70
+ while (1) {
71
+ switch (_context.prev = _context.next) {
72
+ case 0:
73
+ _context.next = 2;
74
+ return fetch('https://beam.mjhlifesciences.com/api/beam/id', {
75
+ headers: {
76
+ 'Content-Type': 'application/json',
77
+ Accept: 'application/json'
78
+ },
79
+ method: 'post',
80
+ credentials: 'include'
81
+ });
82
+
83
+ case 2:
84
+ res = _context.sent;
85
+ _context.next = 5;
86
+ return res.json();
87
+
88
+ case 5:
89
+ json = _context.sent;
90
+ return _context.abrupt('return', json);
91
+
92
+ case 7:
93
+ case 'end':
94
+ return _context.stop();
95
+ }
96
+ }
97
+ }, _callee, _this);
98
+ }))();
99
+ },
100
+ getMeta: function getMeta(metaName) {
101
+ var metas = document.getElementsByTagName('meta');
102
+ for (var i = 0; i < metas.length; i++) {
103
+ if (metas[i].getAttribute('name') === metaName) {
104
+ return metas[i].getAttribute('content');
105
+ }
358
106
  }
107
+
108
+ return '';
109
+ },
110
+ pageview: function pageview(domain) {
111
+ var _this2 = this;
112
+
113
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
114
+ var result, beam_id, session_id;
115
+ return regenerator.wrap(function _callee2$(_context2) {
116
+ while (1) {
117
+ switch (_context2.prev = _context2.next) {
118
+ case 0:
119
+ if (!(typeof analytics === 'undefined')) {
120
+ _context2.next = 3;
121
+ break;
122
+ }
123
+
124
+ console.error('Segment not initialized', window);
125
+ return _context2.abrupt('return');
126
+
127
+ case 3:
128
+ _context2.next = 5;
129
+ return _this2.getIDs();
130
+
131
+ case 5:
132
+ result = _context2.sent;
133
+ beam_id = result.beam_id ? result.beam_id : '';
134
+ session_id = result.session_id ? result.session_id : '';
135
+
136
+ analytics.page({
137
+ keywords: _this2.getMeta('keywords')
138
+ });
139
+ analytics.track('pageviews', {
140
+ beamid: beam_id,
141
+ sessionid: session_id,
142
+ category: '',
143
+ domain: domain,
144
+ keywords: _this2.getMeta('keywords')
145
+ });
146
+
147
+ case 10:
148
+ case 'end':
149
+ return _context2.stop();
150
+ }
151
+ }
152
+ }, _callee2, _this2);
153
+ }))();
154
+ },
155
+ report_video_event: function report_video_event(action, deviceType, duration, current, segmentData) {
156
+ var videoType = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 'Youtube';
157
+ var brightCovePlayerID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
158
+
159
+ var _this3 = this;
160
+
161
+ var brightCoveAccountID = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : '';
162
+ var brightCoveVideoID = arguments.length > 8 && arguments[8] !== undefined ? arguments[8] : '';
163
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3() {
164
+ var result, beam_id, session_id, domain, data;
165
+ return regenerator.wrap(function _callee3$(_context3) {
166
+ while (1) {
167
+ switch (_context3.prev = _context3.next) {
168
+ case 0:
169
+ if (!(typeof analytics === 'undefined')) {
170
+ _context3.next = 3;
171
+ break;
172
+ }
173
+
174
+ console.error('Segment not initialized');
175
+ return _context3.abrupt('return');
176
+
177
+ case 3:
178
+ _context3.next = 5;
179
+ return _this3.getIDs();
180
+
181
+ case 5:
182
+ result = _context3.sent;
183
+ beam_id = result.beam_id ? result.beam_id : '';
184
+ session_id = result.session_id ? result.session_id : '';
185
+ domain = typeof window !== 'undefined' && window.location ? window.location.hostname : '';
186
+ data = {
187
+ beamid: beam_id,
188
+ sessionid: session_id,
189
+ domain: domain,
190
+ Devicetype: deviceType,
191
+ videoid: brightCoveVideoID,
192
+ title: '',
193
+ category: '',
194
+ videoplayer: videoType,
195
+ totalduration: duration,
196
+ currentduration: current,
197
+ segment: segmentData,
198
+ queue: Math.floor(duration / 10),
199
+ brightCovePlayerID: brightCovePlayerID,
200
+ brightCoveAccountID: brightCoveAccountID,
201
+ keywords: _this3.getMeta('keywords')
202
+ };
203
+
204
+
205
+ console.log('Segment ' + videoType, action, data);
206
+ analytics.page({
207
+ keywords: _this3.getMeta('keywords')
208
+ });
209
+ analytics.track(action, data);
210
+
211
+ case 13:
212
+ case 'end':
213
+ return _context3.stop();
214
+ }
215
+ }
216
+ }, _callee3, _this3);
217
+ }))();
218
+ },
219
+ report_ad_event: function report_ad_event(action, deviceType, duration) {
220
+ var adType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'brightcove';
221
+ var adId = arguments[4];
222
+
223
+ var _this4 = this;
224
+
225
+ var brightCovePlayerID = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : '';
226
+ var brightCoveAccountID = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : '';
227
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4() {
228
+ var result, beam_id, session_id, domain, data;
229
+ return regenerator.wrap(function _callee4$(_context4) {
230
+ while (1) {
231
+ switch (_context4.prev = _context4.next) {
232
+ case 0:
233
+ if (!(typeof analytics === 'undefined')) {
234
+ _context4.next = 3;
235
+ break;
236
+ }
237
+
238
+ console.error('Segment not initialized');
239
+ return _context4.abrupt('return');
240
+
241
+ case 3:
242
+ _context4.next = 5;
243
+ return _this4.getIDs();
244
+
245
+ case 5:
246
+ result = _context4.sent;
247
+ beam_id = result.beam_id ? result.beam_id : '';
248
+ session_id = result.session_id ? result.session_id : '';
249
+ domain = typeof window !== 'undefined' && window.location ? window.location.hostname : '';
250
+ data = {
251
+ beamid: beam_id,
252
+ sessionid: session_id,
253
+ domain: domain,
254
+ Devicetype: deviceType,
255
+ title: '',
256
+ category: '',
257
+ adType: adType,
258
+ totalduration: duration,
259
+ adId: adId,
260
+ brightCovePlayerID: brightCovePlayerID,
261
+ brightCoveAccountID: brightCoveAccountID,
262
+ keywords: _this4.getMeta('keywords')
263
+ };
264
+
265
+
266
+ console.log('Segment ' + adType, action, data);
267
+ analytics.page({
268
+ keywords: _this4.getMeta('keywords')
269
+ });
270
+ analytics.track(action, data);
271
+
272
+ case 13:
273
+ case 'end':
274
+ return _context4.stop();
275
+ }
276
+ }
277
+ }, _callee4, _this4);
278
+ }))();
279
+ },
280
+ adClicked: function adClicked(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
281
+ var _this5 = this;
282
+
283
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5() {
284
+ var result, beam_id, session_id;
285
+ return regenerator.wrap(function _callee5$(_context5) {
286
+ while (1) {
287
+ switch (_context5.prev = _context5.next) {
288
+ case 0:
289
+ if (!(typeof analytics === 'undefined')) {
290
+ _context5.next = 3;
291
+ break;
292
+ }
293
+
294
+ console.error('Segment not initialized');
295
+ return _context5.abrupt('return');
296
+
297
+ case 3:
298
+ _context5.next = 5;
299
+ return _this5.getIDs();
300
+
301
+ case 5:
302
+ result = _context5.sent;
303
+ beam_id = result.beam_id ? result.beam_id : '';
304
+ session_id = result.session_id ? result.session_id : '';
305
+
306
+ analytics.page({
307
+ keywords: _this5.getMeta('keywords')
308
+ });
309
+ analytics.track('Ad Clicked', {
310
+ beamid: beam_id,
311
+ sessionid: session_id,
312
+ advertiserid: advertiserid,
313
+ campaignid: campaignid,
314
+ creativeid: creativeid,
315
+ itemid: itemid,
316
+ size: size,
317
+ isemptyline: isemptyline,
318
+ sourceAgnosticCreativeId: sourceAgnosticCreativeId,
319
+ sourceAgnosticlineId: sourceAgnosticlineId,
320
+ domain: domain,
321
+ keywords: _this5.getMeta('keywords')
322
+ });
323
+
324
+ case 10:
325
+ case 'end':
326
+ return _context5.stop();
327
+ }
328
+ }
329
+ }, _callee5, _this5);
330
+ }))();
331
+ },
332
+ adViewed: function adViewed(domain, advertiserid, campaignid, creativeid, itemid, size, isemptyline, sourceAgnosticCreativeId, sourceAgnosticlineId) {
333
+ var _this6 = this;
334
+
335
+ return _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee6() {
336
+ var result, beam_id, session_id;
337
+ return regenerator.wrap(function _callee6$(_context6) {
338
+ while (1) {
339
+ switch (_context6.prev = _context6.next) {
340
+ case 0:
341
+ if (!(typeof analytics === 'undefined')) {
342
+ _context6.next = 3;
343
+ break;
344
+ }
345
+
346
+ console.error('Segment not initialized');
347
+ return _context6.abrupt('return');
348
+
349
+ case 3:
350
+ _context6.next = 5;
351
+ return _this6.getIDs();
352
+
353
+ case 5:
354
+ result = _context6.sent;
355
+ beam_id = result.beam_id ? result.beam_id : '';
356
+ session_id = result.session_id ? result.session_id : '';
357
+
358
+ analytics.page({
359
+ keywords: _this6.getMeta('keywords')
360
+ });
361
+ analytics.track('Impression Viewed', {
362
+ beamid: beam_id,
363
+ sessionid: session_id,
364
+ advertiserid: advertiserid,
365
+ campaignid: campaignid,
366
+ creativeid: creativeid,
367
+ itemid: itemid,
368
+ size: size,
369
+ isemptyline: isemptyline,
370
+ sourceAgnosticCreativeId: sourceAgnosticCreativeId,
371
+ sourceAgnosticlineId: sourceAgnosticlineId,
372
+ domain: domain,
373
+ keywords: _this6.getMeta('keywords')
374
+ });
375
+
376
+ case 10:
377
+ case 'end':
378
+ return _context6.stop();
379
+ }
380
+ }
381
+ }, _callee6, _this6);
382
+ }))();
383
+ }
359
384
  };
360
385
 
361
386
  export default Segment;