@schibsted/advertory 3.0.5 → 3.0.8

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 (336) hide show
  1. package/ad-native/es/index.d.ts +630 -0
  2. package/aftenposten/cjs/index.js +1 -1
  3. package/aftenposten/es/{_auto-entry_aftenposten-DXDCz53S.js → _auto-entry_aftenposten-8LeCoK5C.js} +1 -1
  4. package/aftenposten/es/{events-BXekq4-Y.js → events-CQ2qhSo7.js} +1 -1
  5. package/aftenposten/es/{index-DwwyeytC.js → index-93yDjesK.js} +1 -1
  6. package/aftenposten/es/{index-DMJaVnDY.js → index-BfZWGbeh.js} +1 -1
  7. package/aftenposten/es/{index-CUdT2aBg.js → index-CYJNgaCL.js} +1 -1
  8. package/aftenposten/es/{index-Dr6qDL6y.js → index-Cc0f8qLs.js} +1 -1
  9. package/aftenposten/es/{index-CdJS1rz5.js → index-DPxa6qXq.js} +1 -1
  10. package/aftenposten/es/{index-B_BJ-GZa.js → index-Dm0jLhZ7.js} +1 -1
  11. package/aftenposten/es/{index-U0ZfOVUM.js → index-DyJ74iuv.js} +1 -1
  12. package/{aftonbladet/es/index-BHOn33gV.js → aftenposten/es/index-qpT7aMMJ.js} +1 -1
  13. package/aftenposten/es/index.js +1 -1
  14. package/aftenposten/es/{scale-ad-hvkfHClG.js → scale-ad-BrcTJTxv.js} +1 -1
  15. package/aftenposten/es/{styles-Sfx4JrHY.js → styles-BDNscpZR.js} +1 -1
  16. package/aftenposten/es/{styles-CyFIlex_.js → styles-BFj5N8bQ.js} +1 -1
  17. package/aftenposten/es/{styles-Bo8aqlRJ.js → styles-BIqCKczq.js} +1 -1
  18. package/aftenposten/es/{styles-BiPPLnYw.js → styles-BWL2HZCk.js} +1 -1
  19. package/aftenposten/es/{styles-vptdy3-W.js → styles-DEdRbGOk.js} +1 -1
  20. package/aftenposten/es/{styles-Cg52cJBf.js → styles-DFwvPOlB.js} +1 -1
  21. package/aftenposten/es/{styles-CW0P1h54.js → styles-DROPiKRC.js} +1 -1
  22. package/aftenposten/es/{styles-3-ugSt2o.js → styles-DpowpW4E.js} +1 -1
  23. package/aftenposten/es/{styles-CaLkddSM.js → styles-KyWcOufP.js} +1 -1
  24. package/aftenposten/es/{styles-Dpf5ewCv.js → styles-_zuqMRxO.js} +1 -1
  25. package/aftenpostenv2/es/{_auto-entry_aftenpostenv2-DU4PTo-Z.js → _auto-entry_aftenpostenv2-BeMs8ob2.js} +1 -1
  26. package/aftenpostenv2/es/{events-Cl84NepQ.js → events-ChRZTUCx.js} +1 -1
  27. package/aftenpostenv2/es/{index-CLPU64GR.js → index-C6vf28ds.js} +1 -1
  28. package/aftenpostenv2/es/{index-CyPxj7tz.js → index-CJygXyRU.js} +1 -1
  29. package/aftenpostenv2/es/{index-CGH8wQRK.js → index-CR0I34um.js} +1 -1
  30. package/aftenpostenv2/es/{index-CrlFhPSH.js → index-CY608gTF.js} +1 -1
  31. package/aftenpostenv2/es/{index-DXBb3fo5.js → index-DZ_Rn0Ay.js} +1 -1
  32. package/aftenpostenv2/es/{index-leHf1oQP.js → index-Dr92H44B.js} +1 -1
  33. package/aftenpostenv2/es/{index-LUZuiwye.js → index-Dx5ChNOu.js} +1 -1
  34. package/aftenpostenv2/es/{index-BnFeuIc4.js → index-RX6rMExy.js} +1 -1
  35. package/aftenpostenv2/es/index.js +1 -1
  36. package/aftenpostenv2/es/{scale-ad-oghrje8i.js → scale-ad-C49Ut9zr.js} +1 -1
  37. package/aftenpostenv2/es/{styles-D-VfBgOu.js → styles-Ac46g-YW.js} +1 -1
  38. package/aftenpostenv2/es/{styles-fzT9EwC5.js → styles-BJpYKa8M.js} +1 -1
  39. package/aftenpostenv2/es/{styles-CoMJR6g_.js → styles-BchRMhbH.js} +1 -1
  40. package/aftenpostenv2/es/{styles-Cl0DDnnQ.js → styles-CjwVJpYX.js} +1 -1
  41. package/aftenpostenv2/es/{styles-DB7US7Zo.js → styles-CzukL4zG.js} +1 -1
  42. package/aftenpostenv2/es/{styles-DVg5jDcH.js → styles-D7cNxIam.js} +1 -1
  43. package/aftenpostenv2/es/{styles-CZR9iBvp.js → styles-DUsUff50.js} +1 -1
  44. package/aftenpostenv2/es/{styles-CX9rG6J8.js → styles-Dsiga4Vz.js} +1 -1
  45. package/aftenpostenv2/es/{styles-qWPEE_zq.js → styles-Dw1Si2ah.js} +1 -1
  46. package/aftenpostenv2/es/{styles-Ck9le9Vw.js → styles-asujvz27.js} +1 -1
  47. package/aftonbladet/cjs/index.js +1 -1
  48. package/aftonbladet/es/{_auto-entry_aftonbladet-BWfzMHpu.js → _auto-entry_aftonbladet-h6DNckwN.js} +1 -1
  49. package/aftonbladet/es/{events-DadZOnBd.js → events-DulRyicm.js} +1 -1
  50. package/{aftenposten/es/index-Brf5poal.js → aftonbladet/es/index--QVpi0TR.js} +1 -1
  51. package/aftonbladet/es/{index-D9xGimq2.js → index-4xPmUl3_.js} +1 -1
  52. package/aftonbladet/es/{index-DZJcmYKp.js → index-C6Eb1Qrn.js} +1 -1
  53. package/aftonbladet/es/{index-ComEFzA9.js → index-CQvQu7pz.js} +1 -1
  54. package/aftonbladet/es/{index-BywtD31R.js → index-DXezzjPp.js} +1 -1
  55. package/aftonbladet/es/{index-CqmYRujq.js → index-DZmjXNQE.js} +1 -1
  56. package/aftonbladet/es/{index-BvdJA_YE.js → index-DdgHRBkn.js} +1 -1
  57. package/aftonbladet/es/{index-CeQROqCL.js → index-e-_eRuQL.js} +1 -1
  58. package/aftonbladet/es/index.js +1 -1
  59. package/aftonbladet/es/{styles-7j0Hc6sp.js → styles-BVbUvZTY.js} +1 -1
  60. package/aftonbladet/es/{styles-D67vj7n3.js → styles-C1aQAT3Q.js} +1 -1
  61. package/aftonbladet/es/{styles-Bg0CiD5K.js → styles-C7uVXh9Y.js} +1 -1
  62. package/aftonbladet/es/{styles-B9zblQhj.js → styles-Dfkn_-JH.js} +1 -1
  63. package/aftonbladet/es/{styles-B9Yki73M.js → styles-Dz356ikP.js} +1 -1
  64. package/aftonbladetv2/es/{_auto-entry_aftonbladetv2-xbITPy5Y.js → _auto-entry_aftonbladetv2-CFy02vTE.js} +1 -1
  65. package/aftonbladetv2/es/{events-CrsrvV91.js → events-QZSgTQvz.js} +1 -1
  66. package/aftonbladetv2/es/{index-kJpbM8Cw.js → index-3roYJ2-8.js} +1 -1
  67. package/aftonbladetv2/es/{index-CUiUk3xX.js → index-B4EltwuC.js} +1 -1
  68. package/aftonbladetv2/es/{index-Bd8T8x2v.js → index-B7FfXrVQ.js} +1 -1
  69. package/aftonbladetv2/es/{index-Bv_S5RiU.js → index-BXrylY2M.js} +1 -1
  70. package/aftonbladetv2/es/{index-BTtVnP-a.js → index-CQSf8i1k.js} +1 -1
  71. package/aftonbladetv2/es/{index-TKW3AIT5.js → index-CbFLREUA.js} +1 -1
  72. package/aftonbladetv2/es/{index-XtxyezH-.js → index-DXcxJZTo.js} +1 -1
  73. package/aftonbladetv2/es/{index-4oJJGLpZ.js → index-DqrD8sjH.js} +1 -1
  74. package/aftonbladetv2/es/index.js +1 -1
  75. package/aftonbladetv2/es/{scale-ad-Bu-OTusW.js → scale-ad-BtTUIhz2.js} +1 -1
  76. package/aftonbladetv2/es/{styles-Cq35TYnJ.js → styles-BIc-TX-O.js} +1 -1
  77. package/aftonbladetv2/es/{styles-BAMVUVBT.js → styles-BTMcF6oN.js} +1 -1
  78. package/aftonbladetv2/es/{styles-B68GU9Br.js → styles-Cb8nIkZt.js} +1 -1
  79. package/aftonbladetv2/es/{styles-BsKBZcpP.js → styles-DZn1yBKx.js} +1 -1
  80. package/aftonbladetv2/es/{styles-BdfNSbzW.js → styles-wvFTYFae.js} +1 -1
  81. package/aftonbladetv2/styles.css +1 -1
  82. package/bt/cjs/index.js +1 -1
  83. package/bt/es/{_auto-entry_bt-MoyUxChE.js → _auto-entry_bt-CVnGKgwu.js} +1 -1
  84. package/bt/es/{events-BO2Jqccj.js → events-DmwmGNZZ.js} +1 -1
  85. package/bt/es/{index-_ctMXfR3.js → index-B4ZR_9mq.js} +1 -1
  86. package/bt/es/{index-ulnsaUpK.js → index-BLDEN_N8.js} +1 -1
  87. package/{sa/es/index-DZ42Nt-2.js → bt/es/index-BWLct5Rx.js} +1 -1
  88. package/bt/es/{index-7ZTN81IP.js → index-DJRwSKF4.js} +1 -1
  89. package/bt/es/{index-C2-eU0UF.js → index-DMmit_Nd.js} +1 -1
  90. package/bt/es/{index-C9XPxBPH.js → index-DS-6JwaH.js} +1 -1
  91. package/bt/es/{index-DrQCHk53.js → index-M7bAjRom.js} +1 -1
  92. package/bt/es/{index-D1TkSQcB.js → index-ucdoy1FS.js} +1 -1
  93. package/bt/es/index.js +1 -1
  94. package/bt/es/{scale-ad-D4t8YNyo.js → scale-ad-BhMKICgu.js} +1 -1
  95. package/{sa/es/styles-BH0a_nht.js → bt/es/styles-BmOoJzIc.js} +1 -1
  96. package/bt/es/{styles-ByGsZF2k.js → styles-BuiZ6rBo.js} +1 -1
  97. package/{vg/es/styles-D_bbqZrI.js → bt/es/styles-Ce4tjJL8.js} +1 -1
  98. package/{sa/es/styles-C5AHLOi7.js → bt/es/styles-D3YDhfhr.js} +1 -1
  99. package/{sa/es/styles-2UcWuwkn.js → bt/es/styles-D487j0TU.js} +1 -1
  100. package/bt/es/{styles-DRy8afqL.js → styles-DQ98jhRR.js} +1 -1
  101. package/bt/es/{styles-n7bkuYjq.js → styles-DQuKQudE.js} +1 -1
  102. package/bt/es/{styles-BdjHNh8j.js → styles-Dqjrqoue.js} +1 -1
  103. package/{vg/es/styles-bAVWxP8P.js → bt/es/styles-HfykBcnL.js} +1 -1
  104. package/btv2/es/{_auto-entry_btv2-Dxtv2akG.js → _auto-entry_btv2-B5wex4b7.js} +1 -1
  105. package/btv2/es/{events-j67JLQ2H.js → events-BDnXa22g.js} +1 -1
  106. package/btv2/es/{index-CFZe5uVP.js → index-580-VT45.js} +1 -1
  107. package/btv2/es/{index-Cq0lapvk.js → index-B-ip_4Xw.js} +1 -1
  108. package/btv2/es/{index-xGxoLsR2.js → index-B6-URY6y.js} +1 -1
  109. package/btv2/es/{index-BsQp7LQQ.js → index-DTTWPaZP.js} +1 -1
  110. package/btv2/es/{index-6L0eLvqi.js → index-KoMB7ZZe.js} +1 -1
  111. package/btv2/es/{index-Dca95pIk.js → index-SvVanoA-.js} +1 -1
  112. package/btv2/es/{index-Ds248THS.js → index-jULwe8iC.js} +1 -1
  113. package/btv2/es/{index-mnRm12-k.js → index-mIzhU5BX.js} +1 -1
  114. package/btv2/es/index.js +1 -1
  115. package/btv2/es/{scale-ad-ZiyaqpZY.js → scale-ad-DZcrVDNy.js} +1 -1
  116. package/{sav2/es/styles-D2HQJIvz.js → btv2/es/styles-BaCDxRra.js} +1 -1
  117. package/{vgv2/es/styles-DSXco1bB.js → btv2/es/styles-BfFTEGeK.js} +1 -1
  118. package/{vgv2/es/styles-Do1uCNYS.js → btv2/es/styles-Byy0S5HC.js} +1 -1
  119. package/{sav2/es/styles-CQDTd7Yn.js → btv2/es/styles-CXXGphfu.js} +1 -1
  120. package/btv2/es/{styles-u0pKEnRr.js → styles-Cb0LqBSI.js} +1 -1
  121. package/{sav2/es/styles-BHMb0lFS.js → btv2/es/styles-Dy4LlV-j.js} +1 -1
  122. package/btv2/es/{styles-D33CY1B0.js → styles-VHa9npvf.js} +1 -1
  123. package/btv2/es/{styles-BMat4ntk.js → styles-VLuGkKhJ.js} +1 -1
  124. package/e24/es/{_auto-entry_e24-BZ-Y0wfw.js → _auto-entry_e24-BHYSGq6v.js} +1 -1
  125. package/e24/es/{events-BufTLFvD.js → events-FxBnV0vA.js} +1 -1
  126. package/e24/es/{index-VSYazOOP.js → index-B04EMmtI.js} +1 -1
  127. package/e24/es/{index-a27bOqcM.js → index-BXVP_eQl.js} +1 -1
  128. package/e24/es/{index-BeKuz8kl.js → index-CLcI0vSZ.js} +1 -1
  129. package/e24/es/{index-CdXeC1XR.js → index-Cl2Ebr4M.js} +1 -1
  130. package/e24/es/{index-D2hsKd_j.js → index-D5iJu4s2.js} +1 -1
  131. package/e24/es/{index-BoX_Ms3q.js → index-DBU_07W5.js} +1 -1
  132. package/e24/es/{index-xMcYW3T_.js → index-DMjxW8TA.js} +1 -1
  133. package/e24/es/{index-Ds3LzWiF.js → index-qk4MHvP6.js} +1 -1
  134. package/e24/es/index.js +1 -1
  135. package/e24/es/{scale-ad-BNf4Fsqm.js → scale-ad-DA4lceUY.js} +1 -1
  136. package/e24/es/{styles-C7yJ56lw.js → styles-B5VfCsHU.js} +1 -1
  137. package/e24/es/{styles-DZuVpLJ7.js → styles-BDVl0wXV.js} +1 -1
  138. package/{tv4/es/styles-B2VSV977.js → e24/es/styles-BSWi5Y15.js} +1 -1
  139. package/e24/es/{styles-Ddde3ZOq.js → styles-BUi7dSQv.js} +1 -1
  140. package/e24/es/{styles-BFFQPUWj.js → styles-Cl9M0Qcl.js} +1 -1
  141. package/e24/es/{styles-B-CEI8Wp.js → styles-CtIdf26M.js} +1 -1
  142. package/e24/es/{styles-CoHTfZq0.js → styles-CxnKS6og.js} +1 -1
  143. package/e24/es/{styles-KRjAedia.js → styles-PowW6fOJ.js} +1 -1
  144. package/e24/es/{styles-BSOMBwHE.js → styles-hcbL_iuy.js} +1 -1
  145. package/e24/es/{styles-BfBG0BOv.js → styles-s18EwT96.js} +1 -1
  146. package/e24/es/{styles-CEn4rxLe.js → styles-z2iVwP4v.js} +1 -1
  147. package/fotbollskanalen/cjs/index.js +1 -1
  148. package/fotbollskanalen/es/{_auto-entry_fotbollskanalen-tf5B8Ird.js → _auto-entry_fotbollskanalen-BL4ZlKfU.js} +1 -1
  149. package/fotbollskanalen/es/{events-DEDuFlTj.js → events-BYqbWgGb.js} +1 -1
  150. package/fotbollskanalen/es/{index-PByAFKys.js → index-9OxIIf9T.js} +1 -1
  151. package/fotbollskanalen/es/{index-Bk50Iqqu.js → index-BmmKMZts.js} +1 -1
  152. package/fotbollskanalen/es/{index-CT8A110M.js → index-BvtE8Lzw.js} +1 -1
  153. package/fotbollskanalen/es/{index-DJxrgsR5.js → index-CDDeUDoz.js} +1 -1
  154. package/fotbollskanalen/es/{index-BZfYNCDy.js → index-Coeggf4K.js} +1 -1
  155. package/fotbollskanalen/es/{index--b2Lev8c.js → index-D660_6ei.js} +1 -1
  156. package/fotbollskanalen/es/{index-CpE_tcqA.js → index-TqFwOfDz.js} +1 -1
  157. package/fotbollskanalen/es/{index-CEkeM4Tv.js → index-qOPfgavz.js} +1 -1
  158. package/fotbollskanalen/es/index.js +1 -1
  159. package/fotbollskanalen/es/{scale-ad-arh_rlli.js → scale-ad-nDIVtUO1.js} +1 -1
  160. package/fotbollskanalen/es/{styles-C2m2x191.js → styles-Jry3BR-b.js} +1 -1
  161. package/glimr/es/glimr-Crymyq4O.js +1 -0
  162. package/glimr/es/glimr-sdk-B7FY2YN8.js +1 -0
  163. package/glimr/es/index.js +1 -0
  164. package/godare/cjs/index.js +1 -1
  165. package/godt/cjs/index.js +1 -1
  166. package/klart/cjs/index.js +1 -1
  167. package/koket/cjs/index.js +1 -1
  168. package/koket/es/{_auto-entry_koket-C6PBxlyW.js → _auto-entry_koket-DakE_7Xi.js} +1 -1
  169. package/koket/es/{events-yHVpiPae.js → events-DtqaojTG.js} +1 -1
  170. package/koket/es/{index-o8BzRnXh.js → index-B40eR0N8.js} +1 -1
  171. package/koket/es/{index-BXF-kmve.js → index-BQHK7ypj.js} +1 -1
  172. package/koket/es/{index-Dn-9hHv-.js → index-C61ghlBf.js} +1 -1
  173. package/koket/es/{index-CPjnqI-6.js → index-CFdDHyVM.js} +1 -1
  174. package/koket/es/{index-CepWIdyH.js → index-C_iCGQN2.js} +1 -1
  175. package/koket/es/{index-DGby1mGx.js → index-DVy_5oMo.js} +1 -1
  176. package/koket/es/{index-CptjGiXd.js → index-_XaJmxZM.js} +1 -1
  177. package/koket/es/{index-DM1E_NEw.js → index-vAxeDLuQ.js} +1 -1
  178. package/koket/es/index.js +1 -1
  179. package/koket/es/{scale-ad-CXRkaPI0.js → scale-ad-C7R8hi1i.js} +1 -1
  180. package/{svdv2/es/styles-Drb79iBV.js → koket/es/styles-tGbE1hqF.js} +1 -1
  181. package/minmote/cjs/index.js +1 -1
  182. package/package.json +13 -1
  183. package/pent/cjs/index.js +1 -1
  184. package/sa/cjs/index.js +1 -1
  185. package/sa/es/{_auto-entry_sa-tDG8xSe9.js → _auto-entry_sa-C0Dx2e-d.js} +1 -1
  186. package/sa/es/{events-DY7jCT_z.js → events-D6c51YDh.js} +1 -1
  187. package/sa/es/{index-C4xBbb_y.js → index-B1SWtRHX.js} +1 -1
  188. package/sa/es/{index-C6mIccES.js → index-B1naQzjL.js} +1 -1
  189. package/sa/es/{index-Dn_ueExa.js → index-BJAIVL1n.js} +1 -1
  190. package/sa/es/{index-ByzW6XX4.js → index-BlBGCBF7.js} +1 -1
  191. package/sa/es/{index-CaLMOCfR.js → index-D9eEw02Y.js} +1 -1
  192. package/sa/es/{index-ywQdUehK.js → index-DKaOv8LR.js} +1 -1
  193. package/{bt/es/index-CA2l4HZM.js → sa/es/index-J36en3WL.js} +1 -1
  194. package/sa/es/{index-KiIGwmbz.js → index-cuFmm3Ar.js} +1 -1
  195. package/sa/es/index.js +1 -1
  196. package/sa/es/{scale-ad-kzGa7O13.js → scale-ad-BMxBnCtW.js} +1 -1
  197. package/sa/es/{styles-DwkmOcN3.js → styles-BB4p2QI7.js} +1 -1
  198. package/{vg/es/styles-j05WSgqs.js → sa/es/styles-BIhpRBaL.js} +1 -1
  199. package/sa/es/{styles-CA-4Zkmi.js → styles-BfPSZ9f0.js} +1 -1
  200. package/{bt/es/styles-BY2rGG3H.js → sa/es/styles-CCslSLTo.js} +1 -1
  201. package/{bt/es/styles-DZyHXHg2.js → sa/es/styles-CTC82xOV.js} +1 -1
  202. package/sa/es/{styles-DWsY_8Gt.js → styles-CcPT8kgm.js} +1 -1
  203. package/sa/es/{styles-Cvd0m7Wj.js → styles-CgwCZL5Y.js} +1 -1
  204. package/{bt/es/styles-39x-Nijs.js → sa/es/styles-DzI_6t0a.js} +1 -1
  205. package/{vg/es/styles-ffxnjS1s.js → sa/es/styles-lbsFxb42.js} +1 -1
  206. package/sav2/es/{_auto-entry_sav2-CY0kYMlP.js → _auto-entry_sav2-DYjPqZ0-.js} +1 -1
  207. package/sav2/es/{events-Cl5_-LxE.js → events-BfXen0Z2.js} +1 -1
  208. package/sav2/es/{index-CKrldH2y.js → index-BkM3cMtv.js} +1 -1
  209. package/sav2/es/{index-CfEUqa5g.js → index-BmR8vbZQ.js} +1 -1
  210. package/sav2/es/{index-CxogNI4h.js → index-BzDAtr11.js} +1 -1
  211. package/sav2/es/{index-BsNfAXFB.js → index-ChvYwZI0.js} +1 -1
  212. package/sav2/es/{index-BQpx1HFa.js → index-D1km7EaV.js} +1 -1
  213. package/sav2/es/{index-DxtM0Z6Y.js → index-DHShJOx5.js} +1 -1
  214. package/sav2/es/{index-_Ejzv04C.js → index-d0gyjucc.js} +1 -1
  215. package/sav2/es/{index-CJN3SngB.js → index-n6mKEw8M.js} +1 -1
  216. package/sav2/es/index.js +1 -1
  217. package/sav2/es/{scale-ad-i1hUVl_0.js → scale-ad-B1NlJOsE.js} +1 -1
  218. package/{vgv2/es/styles-G1HvqhV7.js → sav2/es/styles-BkzVSC5G.js} +1 -1
  219. package/{btv2/es/styles-DavpS2Qo.js → sav2/es/styles-CP_kmZ2u.js} +1 -1
  220. package/sav2/es/{styles-CClYWKKX.js → styles-CojijyKn.js} +1 -1
  221. package/{btv2/es/styles-Hp2gvvov.js → sav2/es/styles-CsI7Limr.js} +1 -1
  222. package/{vgv2/es/styles-8TOXRYKV.js → sav2/es/styles-DEGFrKoF.js} +1 -1
  223. package/sav2/es/{styles-C7W5NtfH.js → styles-OsqEAqBL.js} +1 -1
  224. package/sav2/es/{styles-DTguZBdK.js → styles-gn7zE9Se.js} +1 -1
  225. package/sav2/es/{styles-O5kf_SS2.js → styles-peqAjv4h.js} +1 -1
  226. package/svd/cjs/index.js +1 -1
  227. package/svd/es/{_auto-entry_svd-DH7LO3Q1.js → _auto-entry_svd-Bf75Pfnc.js} +1 -1
  228. package/svd/es/{events-BfHDXvEa.js → events-5RTCbRHl.js} +1 -1
  229. package/svd/es/{index-DTLUbVca.js → index-B9-ca4FP.js} +1 -1
  230. package/svd/es/{index-Boy6aZPe.js → index-BQ85ML9G.js} +1 -1
  231. package/svd/es/{index-ICodhL23.js → index-BU6sbUPU.js} +1 -1
  232. package/svd/es/{index-CYGUdY_V.js → index-C7eicIGr.js} +1 -1
  233. package/svd/es/{index-ek7rIfUG.js → index-CCOVmsc_.js} +1 -1
  234. package/{tv4/es/index-DRh-stB1.js → svd/es/index-DeuZGhY7.js} +1 -1
  235. package/svd/es/{index-Z0qXlpGo.js → index-DurvxLS0.js} +1 -1
  236. package/svd/es/{index-up5aSvfa.js → index-OBw-ZSKZ.js} +1 -1
  237. package/svd/es/index.js +1 -1
  238. package/svd/es/{styles-DkkxsDP5.js → styles-B-sLxRxB.js} +1 -1
  239. package/svd/es/{styles-Bt9ckY6n.js → styles-BSMPr9mI.js} +1 -1
  240. package/svd/es/{styles-DxkUSfPu.js → styles-CGQXuXdY.js} +1 -1
  241. package/svd/es/{styles-DTVFdha1.js → styles-D2eg6SEI.js} +1 -1
  242. package/svd/es/{styles-BffkOL2w.js → styles-Dg7-Dpfd.js} +1 -1
  243. package/svd/es/{styles-faaQZ_nf.js → styles-xPPOTmyw.js} +1 -1
  244. package/svdv2/es/{_auto-entry_svdv2-5_0fDkQj.js → _auto-entry_svdv2-CpeREFmY.js} +1 -1
  245. package/svdv2/es/{events-B-DOY_45.js → events-DziTGi0V.js} +1 -1
  246. package/svdv2/es/{index-DDOvDflQ.js → index-Bu5orNk7.js} +1 -1
  247. package/svdv2/es/{index-TR56622L.js → index-Ch0Imx-a.js} +1 -1
  248. package/svdv2/es/{index-BpaHWEgs.js → index-Cl1DPmvk.js} +1 -1
  249. package/svdv2/es/{index-DPxr83aM.js → index-D2B5G3sz.js} +1 -1
  250. package/svdv2/es/{index-CNpgbjRq.js → index-DKgDkLec.js} +1 -1
  251. package/svdv2/es/{index-CF9qRNqV.js → index-ZxTqC-BV.js} +1 -1
  252. package/svdv2/es/{index-Dn2iRhTI.js → index-hGs3eVJY.js} +1 -1
  253. package/svdv2/es/{index-CUJxDT20.js → index-y1UcqKNM.js} +1 -1
  254. package/svdv2/es/index.js +1 -1
  255. package/svdv2/es/{scale-ad-Dw2tlFek.js → scale-ad-BcI91SqW.js} +1 -1
  256. package/svdv2/es/{styles-BTxEe9wU.js → styles-BBapv3K3.js} +1 -1
  257. package/{koket/es/styles-Bt_3EPbc.js → svdv2/es/styles-BziheQO-.js} +1 -1
  258. package/svdv2/es/{styles-c7nyBNHO.js → styles-ChqHE6jR.js} +1 -1
  259. package/svdv2/es/{styles-C2RyMm7p.js → styles-CmiSKYil.js} +1 -1
  260. package/svdv2/es/{styles-xMSj5PRm.js → styles-DboLIjdM.js} +1 -1
  261. package/svdv2/es/{styles-BvIm9y9U.js → styles-DcKmy-aT.js} +1 -1
  262. package/tek/cjs/index.js +1 -1
  263. package/tracker/es/index.d.ts +591 -0
  264. package/tracker/es/index.js +1 -0
  265. package/tv4/cjs/index.js +1 -1
  266. package/tv4/es/{_auto-entry_tv4-B79FIPDF.js → _auto-entry_tv4-D0e2DKOy.js} +1 -1
  267. package/tv4/es/{events-BuFrBsPO.js → events-BGAhmaGY.js} +1 -1
  268. package/tv4/es/{index-N-PjTVe1.js → index-B1edPt_R.js} +1 -1
  269. package/tv4/es/{index-C1OXwwaM.js → index-B6tYV35h.js} +1 -1
  270. package/tv4/es/{index-CyEZoHB-.js → index-BC4TdCkj.js} +1 -1
  271. package/tv4/es/{index-DkkS72Wv.js → index-BXQX7bvh.js} +1 -1
  272. package/tv4/es/{index-CcXrk4xW.js → index-Br7pKGbc.js} +1 -1
  273. package/tv4/es/{index-D_bpF7kQ.js → index-DNTCFvSS.js} +1 -1
  274. package/{svd/es/index-Doytip_-.js → tv4/es/index-DgwjP7Qh.js} +1 -1
  275. package/tv4/es/{index-BgfmMXAp.js → index-DhNaqk_h.js} +1 -1
  276. package/tv4/es/index.js +1 -1
  277. package/tv4/es/{scale-ad-DymzQm0Y.js → scale-ad-BCX16JTW.js} +1 -1
  278. package/{e24/es/styles-Bb-2COMN.js → tv4/es/styles-B0-w9Sb4.js} +1 -1
  279. package/tvnu/cjs/index.js +1 -1
  280. package/vg/cjs/index.js +1 -1
  281. package/vg/es/{_auto-entry_vg-BHaK2bY9.js → _auto-entry_vg-CESCVcqF.js} +1 -1
  282. package/vg/es/{events-f1pWmpgv.js → events-CE5TpBmP.js} +1 -1
  283. package/vg/es/{index-MPio3Vap.js → index-B-B_rG8Y.js} +1 -1
  284. package/vg/es/{index-DnDsATHZ.js → index-B0xA2grA.js} +1 -1
  285. package/vg/es/{index-CdvCGDKf.js → index-BBRlxR4N.js} +1 -1
  286. package/vg/es/{index-CzTDmfbs.js → index-BKp7XMKQ.js} +1 -1
  287. package/vg/es/{index-DFVoEfzv.js → index-CxKMoVjO.js} +1 -1
  288. package/vg/es/{index-C9bhDLlf.js → index-DsYey_4K.js} +1 -1
  289. package/vg/es/{index-T8CVkFwi.js → index-ZEeaxvFn.js} +1 -1
  290. package/vg/es/{index-Cu8fOT27.js → index-Zz8BsFor.js} +1 -1
  291. package/vg/es/index.js +1 -1
  292. package/vg/es/{scale-ad-PC7wP59i.js → scale-ad-B8zVRA_q.js} +1 -1
  293. package/{sa/es/styles-B9b-tQBe.js → vg/es/styles-BBH1tiV9.js} +1 -1
  294. package/vg/es/{styles-PeGgCF8H.js → styles-BI4vAe4o.js} +1 -1
  295. package/vg/es/{styles-EfZsLCIV.js → styles-BO0Zkzbl.js} +1 -1
  296. package/vg/es/{styles-B_JWmkJG.js → styles-BYOYoTG-.js} +1 -1
  297. package/{bt/es/styles-aKU-xgzP.js → vg/es/styles-BaL0R31f.js} +1 -1
  298. package/vg/es/{styles-CyQVwQ3u.js → styles-BpJZXTPG.js} +1 -1
  299. package/vg/es/{styles-CracV5XI.js → styles-C4Xps43V.js} +1 -1
  300. package/vg/es/{styles-DMICEpSy.js → styles-Cr-Lu10Z.js} +1 -1
  301. package/vg/es/{styles-DJ4rsvOC.js → styles-CrKFASKe.js} +1 -1
  302. package/vg/es/{styles-U_xyVoRe.js → styles-DDNKkEzd.js} +1 -1
  303. package/{bt/es/styles-CPlYciF9.js → vg/es/styles-DPxr1rvG.js} +1 -1
  304. package/{sa/es/styles-DiKIHYk8.js → vg/es/styles-DWVf_5i5.js} +1 -1
  305. package/vg/es/{styles-1JIUF_E8.js → styles-DYenIxMV.js} +1 -1
  306. package/vg/es/{styles-96foOY6e.js → styles-Dh-KGVLB.js} +1 -1
  307. package/vg/es/{styles-F9geefdO.js → styles-EyAdkrFJ.js} +1 -1
  308. package/vgv2/es/{_auto-entry_vgv2-DI5G8ObB.js → _auto-entry_vgv2-RZ38lnR0.js} +1 -1
  309. package/vgv2/es/{events-DPEFkQ--.js → events-Dlw5UgN6.js} +1 -1
  310. package/vgv2/es/{index-DK6bfeGg.js → index-B4bKS3eF.js} +1 -1
  311. package/vgv2/es/{index-BmvOC5lR.js → index-C4a6tTwa.js} +1 -1
  312. package/vgv2/es/{index-smm5ZyVj.js → index-CuiZBleO.js} +1 -1
  313. package/vgv2/es/{index-BbxhQxDr.js → index-CyymqJnx.js} +1 -1
  314. package/vgv2/es/{index-CQJhC0Kc.js → index-D6ZZZe6V.js} +1 -1
  315. package/vgv2/es/{index-DZx9Ssyx.js → index-DFbQx1p5.js} +1 -1
  316. package/vgv2/es/{index-DL2cnwgP.js → index-azIt2Y0H.js} +1 -1
  317. package/vgv2/es/{index-Qmo9Nan-.js → index-tYZjVN8z.js} +1 -1
  318. package/vgv2/es/index.js +1 -1
  319. package/vgv2/es/{scale-ad-Pwah6lar.js → scale-ad-CMimq6Of.js} +1 -1
  320. package/vgv2/es/{styles-BdbJiPyJ.js → styles-BEnFRSZQ.js} +1 -1
  321. package/vgv2/es/{styles-Bkay-zKq.js → styles-BYeumSRu.js} +1 -1
  322. package/vgv2/es/{styles-Cs_0DRMW.js → styles-BwlWUr3V.js} +1 -1
  323. package/vgv2/es/{styles-HjkY3I3R.js → styles-C2Vo-soL.js} +1 -1
  324. package/{sav2/es/styles-B6vJg0Xr.js → vgv2/es/styles-C5iKe9f9.js} +1 -1
  325. package/{btv2/es/styles-DiXpAeoP.js → vgv2/es/styles-C8W7GC5E.js} +1 -1
  326. package/vgv2/es/{styles-Cz9QEV6B.js → styles-CLivlydP.js} +1 -1
  327. package/vgv2/es/{styles-CcCqhkYD.js → styles-ChwcrMcl.js} +1 -1
  328. package/vgv2/es/{styles-DeCv4Yvp.js → styles-Cu4tRH6t.js} +1 -1
  329. package/vgv2/es/{styles-DN6PbtF3.js → styles-DG3nbsdh.js} +1 -1
  330. package/vgv2/es/{styles-BRYOzfcc.js → styles-DI1U5ZgF.js} +1 -1
  331. package/{btv2/es/styles-DiYQ1TzQ.js → vgv2/es/styles-Dymwy8vi.js} +1 -1
  332. package/{btv2/es/styles-B4Ahi4ph.js → vgv2/es/styles-ITcDtgO1.js} +1 -1
  333. package/vgv2/es/{styles-4VdivQOu.js → styles-oG4sTy6B.js} +1 -1
  334. package/vgv2/es/{styles-uXZLq50U.js → styles-w5xrejWS.js} +1 -1
  335. package/vgv2/styles.css +1 -1
  336. package/video/es/index.js +1 -0
@@ -1 +1 @@
1
- import{c as e,x as t,m as r,A as s,y as n,z as a,B as i,C as o}from"./_auto-entry_tv4-B79FIPDF.js";import"react/jsx-runtime";const l=(a,i)=>{const{siteSpecificConfig:{publisherClassName:o}={},pageContext:{pageType:l}}=e.get(),c=document.querySelector(`#${a}`);if(!c)return;if(c.classList.add(t),!o)return;r(o,c,s.FINN_BLINK,null!=i?i:l);n({preferredTestIdData:{targetId:a,testId:"finn"}})},c=t=>{const{fullscreenScroll:r}=e.get(),{initNativeAd:s}=e.getHandlers();a(t)&&i(t,r),o(t)&&(null==s||s(t,e.get()))},u=t=>{const{pageContext:{publisher:r=""}}=e.get(),s=document.querySelector(`#${t}`);if(!s)return;const n=`-${r}`;s.classList.remove(`advertory${n}-finn-blink`),s.classList.remove(`advertory${n}-finn-blink-wrapper`)};export{c as displaySpecialFormatsForFinnFallback,l as finnBlinkLoaded,u as xandrAdLoaded};
1
+ import{c as e,x as t,m as r,A as s,y as n,z as a,B as i,C as o}from"./_auto-entry_tv4-D0e2DKOy.js";import"react/jsx-runtime";const l=(a,i)=>{const{siteSpecificConfig:{publisherClassName:o}={},pageContext:{pageType:l}}=e.get(),c=document.querySelector(`#${a}`);if(!c)return;if(c.classList.add(t),!o)return;r(o,c,s.FINN_BLINK,null!=i?i:l);n({preferredTestIdData:{targetId:a,testId:"finn"}})},c=t=>{const{fullscreenScroll:r}=e.get(),{initNativeAd:s}=e.getHandlers();a(t)&&i(t,r),o(t)&&(null==s||s(t,e.get()))},u=t=>{const{pageContext:{publisher:r=""}}=e.get(),s=document.querySelector(`#${t}`);if(!s)return;const n=`-${r}`;s.classList.remove(`advertory${n}-finn-blink`),s.classList.remove(`advertory${n}-finn-blink-wrapper`)};export{c as displaySpecialFormatsForFinnFallback,l as finnBlinkLoaded,u as xandrAdLoaded};
@@ -1 +1 @@
1
- import{c as t}from"./_auto-entry_tv4-B79FIPDF.js";import{c as e}from"./scale-ad-DymzQm0Y.js";import"react/jsx-runtime";const r=e=>{const r=document.querySelector(`#${e.targetId}`),{siteSpecificConfig:{publisherClassName:a,fullWidthFormatClassName:l}={}}=t.get();if(!r||!a||!l)return;const s=r.parentElement;s&&(r.classList.add(`advertory-${a}-${l}__full-width-ad`),s.classList.add(`advertory-${a}-${l}-wrapper__full-width-ad`))},a=r=>{var a;const l=document.querySelector(`#${r.targetId}`),s=null===(a=document.querySelector(`#${r.targetId}`))||void 0===a?void 0:a.parentElement,i=null==l?void 0:l.querySelector("iframe"),d=null==i?void 0:i.parentElement,{siteSpecificConfig:{publisherClassName:o,fullWidthFormatClassName:n}={}}=t.get();if(!(l&&i&&d&&s))return;s.classList.add(`advertory-${o}-${n}__vertical-full-width-ad-wrapper`);const c=window.innerWidth,u=Math.round(c/1080*1920);l.style.width="100%",l.style.height=`${u}px`,l.classList.add(`advertory-${o}-${n}__vertical-full-width-ad`);const m=e(r,l.offsetWidth);d.style.transform=`scale(${m})`,d.style.transformOrigin="left top"};export{r as prepareContainerForFullWidthFormat,a as scaleVerticalFullWidthAd};
1
+ import{c as t}from"./_auto-entry_tv4-D0e2DKOy.js";import{c as e}from"./scale-ad-BCX16JTW.js";import"react/jsx-runtime";const r=e=>{const r=document.querySelector(`#${e.targetId}`),{siteSpecificConfig:{publisherClassName:a,fullWidthFormatClassName:l}={}}=t.get();if(!r||!a||!l)return;const s=r.parentElement;s&&(r.classList.add(`advertory-${a}-${l}__full-width-ad`),s.classList.add(`advertory-${a}-${l}-wrapper__full-width-ad`))},a=r=>{var a;const l=document.querySelector(`#${r.targetId}`),s=null===(a=document.querySelector(`#${r.targetId}`))||void 0===a?void 0:a.parentElement,i=null==l?void 0:l.querySelector("iframe"),d=null==i?void 0:i.parentElement,{siteSpecificConfig:{publisherClassName:o,fullWidthFormatClassName:n}={}}=t.get();if(!(l&&i&&d&&s))return;s.classList.add(`advertory-${o}-${n}__vertical-full-width-ad-wrapper`);const c=window.innerWidth,u=Math.round(c/1080*1920);l.style.width="100%",l.style.height=`${u}px`,l.classList.add(`advertory-${o}-${n}__vertical-full-width-ad`);const m=e(r,l.offsetWidth);d.style.transform=`scale(${m})`,d.style.transformOrigin="left top"};export{r as prepareContainerForFullWidthFormat,a as scaleVerticalFullWidthAd};
@@ -1 +1 @@
1
- export{K as getDrEditionManager,L as handleDrEdition,M as handleDrEditionBackfill,N as handleDrEditionBackfillOnAdblock}from"./_auto-entry_tv4-B79FIPDF.js";import{jsxs as a,jsx as t}from"react/jsx-runtime";const e=({editionName:e,fallbackTargetId:i,children:n,pulseData:r,htmlAttributes:d})=>{const l=(a,t)=>{const e={};if(!a)return e;for(const[i,n]of Object.entries(a)){e[t?`${t}-${i}`:i]=String(n)}return e},s=l(r,"data-pulse"),o=l(d,"data");return a("div",Object.assign({className:"dr-edition-wrapper dr-edition-lock-height","data-edition-name":e},s,o,{children:[t("div",{className:"inscreen-target"}),t("div",{className:"container"}),t("div",{className:"fallback","data-fallback-target-id":i,style:{display:"none"},children:n})]}))};export{e as DrEdition};
1
+ export{K as getDrEditionManager,L as handleDrEdition,M as handleDrEditionBackfill,N as handleDrEditionBackfillOnAdblock}from"./_auto-entry_tv4-D0e2DKOy.js";import{jsxs as a,jsx as t}from"react/jsx-runtime";const e=({editionName:e,fallbackTargetId:i,children:n,pulseData:r,htmlAttributes:d})=>{const l=(a,t)=>{const e={};if(!a)return e;for(const[i,n]of Object.entries(a)){e[t?`${t}-${i}`:i]=String(n)}return e},s=l(r,"data-pulse"),o=l(d,"data");return a("div",Object.assign({className:"dr-edition-wrapper dr-edition-lock-height","data-edition-name":e},s,o,{children:[t("div",{className:"inscreen-target"}),t("div",{className:"container"}),t("div",{className:"fallback","data-fallback-target-id":i,style:{display:"none"},children:n})]}))};export{e as DrEdition};
@@ -1 +1 @@
1
- import{_ as t,l as e,Q as a,R as n,j as i,U as l}from"./_auto-entry_tv4-B79FIPDF.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t} };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
1
+ import{_ as t,l as e,Q as a,R as n,j as i,U as l}from"./_auto-entry_tv4-D0e2DKOy.js";import{jsxs as r,jsx as s}from"react/jsx-runtime";class o{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let a;if(a=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!a)return[];const{host:n,pathname:i}=new URL(a);if(!n.includes("www.vg.no")&&!i.includes("annonsorinnhold"))return[a];const l=i.split("/");return l.length?[...l.filter(Boolean).slice(1).map(t=>t),a]:[a]}}class c{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class d{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const a=e.dataset.k5aTeaserAnalytics;try{return a?JSON.parse(a):{}}catch(t){return{}}}mapPageType(t){return{front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[t||"front"]||"Frontpage"}getArticleId(){return location.pathname.split("/").slice(-2,-1).pop()||""}getEventTarget(t){const{url:e,title:a,itemId:n}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}trackContentView(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r,s,o,c;const d=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(d),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)?null===(i=null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)||void 0===i||i.call(n,u):(null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)?null===(s=null===(r=this.pulse)||void 0===r?void 0:r.trackViewUIElement)||void 0===s||s.call(r,u):null===(c=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===c||c.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,a,n,i,l,r;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(a=(t=this.pulse).trackLegacyClickUIElement)||void 0===a||a.call(t,s):this.pulse.trackClickUIElement?null===(i=(n=this.pulse).trackClickUIElement)||void 0===i||i.call(n,s):null===(r=(l=this.pulse).trackElementClick)||void 0===r||r.call(l,s)})}}class u extends d{constructor(t,e,a){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=a}getEventBaseData(t){var e,a,n,i,l,r;const{clientName:s,creativeId:o,itemId:c,placement:d}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),v=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(i=null===(n=null===(a=this.newsroomStrategy)||void 0===a?void 0:a.getPulseObjectId)||void 0===n?void 0:n.call(a))&&void 0!==i?i:d,"@type":"UIElement",position:d,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:c},page:{"@id":null!=v?v:d,"@type":u,url:location.origin},tags:null===(r=null===(l=this.newsroomStrategy)||void 0===l?void 0:l.getTags)||void 0===r?void 0:r.call(l,t)}}getEventTarget(t){const{link:e,itemId:a,title:n}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:e}}getEventInput(t,e){return{object:this.getEventBaseData(t),partnerstudio:this.getEventPartnerstudioData(t,e),target:this.getEventTarget(t),provider:this.getProviderData()}}getEventPartnerstudioData(t,e){const a=this.parseKilkayaData(t);return Object.assign(Object.assign({},a),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v="[data-k5a-teaser-analytics]",p=(t,e,a)=>{const n=document.querySelectorAll("k5a-stream");if(!n.length)return;const i=new u(t,e,a),l=new WeakMap,r=t=>{const e=l.get(t);e&&(e.disconnect(),l.delete(t))},s=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const a=t.target,n=a.querySelector(v);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)?(i.trackContentView(a),e.unobserve(t.target),r(a)):((t,e)=>{if(l.has(t))return;const a=new MutationObserver(()=>{const a=t.querySelector(v);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)&&(i.trackContentView(t),e.unobserve(t),r(t))});a.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),l.set(t,a)})(a,e)})},{threshold:.5});n.forEach(t=>{s.observe(t),t.addEventListener("click",()=>i.trackContentClick(t))})};class g{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a}}){if(!(null==t?void 0:t.instance))return;const n={[l.VG]:new o}[a]||new c;p(t.instance,n,e)}injectKilkayaMeta(t){const e=document.createElement("script");e.textContent=`var k5aMeta = { consent: ${t} };`,document.head.appendChild(e)}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var a;const n=null===(a=null==t?void 0:t.detail)||void 0===a?void 0:a.streamSlot;if(!n)return;const i=n.parentElement;i&&(e(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(i))})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="block";const i=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";a(i)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield n(e)})}run(e){return t(this,void 0,void 0,function*(){var t,a;const{tcf:n,pageContext:{isMobileApp:l,countryCode:r},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield i(n,l,r,"kilkaya");o&&(this.observeForKilkayaBackfills(),this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(a=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==a?a:""),this.handleKilkayaStreamTracking(e))})}}const h=({placementName:t,slotTag:e,fallbackTargetId:a,children:n,pulseData:i,htmlAttributes:l})=>{const o=(t,e)=>{const a={};if(!t)return a;for(const[n,i]of Object.entries(t)){a[e?`${e}-${n}`:n]=String(i)}return a},c=o(i,"data-pulse"),d=o(l,"data");return r("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},c,d,{children:[s("div",{className:"inscreen-target"}),s("k5a-stream",{name:t,"slot-tag":e}),s("div",{className:"container"}),s("div",{className:"fallback","data-fallback-target-id":a,style:{display:"none"},children:n})]}))},k=e=>t(void 0,void 0,void 0,function*(){const t=new g;yield t.run(e)});export{h as Kilkaya,k as runKilkaya};
@@ -1 +1 @@
1
- import{i as e,l as n,_ as i,c as t,g as o,a as r,b as d,d as l,e as s,F as a,h as c,f as u,j as f,k as v,u as m,m as g,A as h,s as p}from"./_auto-entry_tv4-B79FIPDF.js";import{xandrAdLoaded as y,finnBlinkLoaded as b}from"./events-BuFrBsPO.js";import"react/jsx-runtime";e('.advertory-finn-blink-wrapper{height:100%;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink-wrapper:not(.brandboard-container){width:100%;margin-inline:auto}.advertory-finn-blink{width:100%;height:500px;max-width:580px;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink::before{content:"" !important}.advertory-finn-blink iframe{max-width:100%}');const k={Blink:"Blink"},w=new Map,$=e=>{var n;if(!w.has(e)){const n=import(/* webpackIgnore: true */e).then(e=>(e=>{for(const[n,i]of Object.entries(k)){const t=e[n];null!=t&&(window[i]=t)}})(e)).catch(n=>{throw w.delete(e),n});w.set(e,n)}return null!==(n=w.get(e))&&void 0!==n?n:Promise.resolve()},I="https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js",C="https://www.finn.no/distribution-front/external/carousel",S={get:e=>{try{const n=sessionStorage.getItem(e);return n?JSON.parse(n):null}catch(e){return n(`sessionStorageClient.get: Error during getting data from sessionStorage: ${e}`),null}},set:(e,i)=>{try{sessionStorage.setItem(e,JSON.stringify(i))}catch(e){n(`sessionStorageClient.set: Error during saving data to sessionStorage: ${e}`)}},remove:e=>{try{sessionStorage.removeItem(e)}catch(e){n(`sessionStorageClient.remove: Error during remove data from sessionStorage: ${e}`)}}},j="finn_blink_id",x=e=>i(void 0,void 0,void 0,function*(){const{userId:n,id:i,hashed_email:t,theme:o}=e,r=u(e,["userId","id","hashed_email","theme"]),d=window[k.Blink];if(!d)return;const l=new d({remote:C,id:i,hashed_email:t,theme:o});yield l.inject(Object.assign({},r))}),B=e=>i(void 0,void 0,void 0,function*(){const{userId:n,theme:i}=e,t=u(e,["userId","theme"]),o=window[k.Blink];if(!o)return;const r=new o({remote:C,userId:n,theme:i});yield r.inject(Object.assign({},t))}),_=e=>{var n,i;const t=document.querySelector(`[id^="${e}"]`);return null!==(i=null===(n=null==t?void 0:t.dataset)||void 0===n?void 0:n.finnBlinkId)&&void 0!==i?i:e},E=(e,n)=>{const{finnBlink:{enabled:i}={}}=t.get(),o=(null==n?void 0:n.enabled)||(e=>{var n;const i=document.querySelector(`[id^="${e}"]`);return!!(null===(n=null==i?void 0:i.dataset)||void 0===n?void 0:n.noBidAd)})(e);if(!o||!i)return null;const{limit:r,height:d,requireImage:l,theme:s,rec:a,distributionTypes:c,position:u,offset:f}=(null==n?void 0:n.sdkPayload)||{};return{selector:`#${_(e)}`,enabled:o,position:null!=u?u:e,distributionTypes:null!=c?c:[],limit:null!=r?r:100,height:null!=d?d:100,offset:null!=f?f:200,requireImage:l,rec:a,theme:"dark"===s?"dark":"light",advertoryTheme:null==n?void 0:n.advertoryTheme}},T=(e,u,f)=>i(void 0,void 0,void 0,function*(){var v;const{placements:m,pageContext:{deviceType:g}}=t.get();n(`rendering finn blink ad for ${e}`);const h=o(e),p=m[g].find(e=>e.targetId===h),k=E(e,null==p?void 0:p.finnBlink);if(!(null==k?void 0:k.enabled))return n(`Finn blink is not enabled on placement: ${e}`),f&&f(e),void y(e);if((e=>{var n;const i=_(e),t=document.querySelector(`[id^="${i}"]`);return!!(null===(n=null==t?void 0:t.classList)||void 0===n?void 0:n.contains("finn"))})(e))return void n(`Finn blink already loaded ${e}`);const{publisher:w,countryCode:$,finnBlink:I}=u,{sdkPayload:{userId:C,uuid:T,channel:F,theme:N}={}}=null!=I?I:{},A=null!=F?F:`${w}.${$}`,q=(e=>{if(!e){const e=l();return null!=e?e:""}return e})(C),O="dark"===N?"dark":"light";try{const e=yield i(void 0,void 0,void 0,function*(){const{finnBlink:{identifierUrl:e}={}}=t.get(),n=S.get(j),i=s(a);if(!e||i)return"";if(!n){const n=yield c.get(e,{credentials:"include"}),{finn_blink_id:i}=n;if(!i)throw new Error("getFinnBlinkIdentifier: No finn_blink_id found");return S.set(j,i),i}return n}),n=yield r(),o=(null===(v=null==p?void 0:p.finnBlink)||void 0===v?void 0:v.useNewConstructor)?B:x;yield o(Object.assign(Object.assign({},k),{channel:A,id:q,userId:n,hashed_email:e,theme:O,uuid:T})).then(()=>{b(k.selector.replace("#",""),k.advertoryTheme)})}catch(i){n(`Finn blink error ${i}`),f&&f(e),!f&&d(e),y(e)}}),F=()=>i(void 0,void 0,void 0,function*(){const{tcf:e,pageContext:{isMobileApp:i,countryCode:o}}=t.get();return!!(yield f(e,i,o,"finn-blink"))||(n("Skip loading finn blink ad due to missing TCF consent."),!1)}),N=(e,o,r,l)=>i(void 0,void 0,void 0,function*(){const{pageContext:{isMobileApp:i}}=t.get();if(n(`loadFinnBlinkAd: loading finn blink ad for ${e}`),!(yield F())||i)return r&&r(e),y(e),void(!r&&d(e));try{yield $(I)}catch(e){console.error(e)}yield T(e,o,r),l&&l()}),A=(e,i)=>{var t;(n(`Appending ${i.id} after ${e.id}`),e.parentElement&&(t=e.parentElement,!Array.from(t.children).some(e=>e.classList.contains("advertory-finn-blink-wrapper"))))?(e.parentElement.style.display="none",e.parentElement.insertAdjacentElement("afterend",i)):n(`Cannot perform afterend on: ${e.id}`)},q=e=>i(void 0,void 0,void 0,function*(){if(!e)return;const{replacementConfig:i}=e;if(!(v()&&(null==i?void 0:i.adsToReplace)&&(null==i?void 0:i.sizes)&&e.enabled))return void n(`Finn blink configuration is incorrect: ${JSON.stringify(i)}`);if(!(yield F()))return;yield $(I);const{adsToReplace:o,sizes:r}=i;o.forEach(([e,i])=>{const o=document.querySelector(`[id^="${e}"]`);if(!o)return;const r=(e=>{const{siteSpecificConfig:{publisherClassName:i}={}}=t.get(),o=document.createElement("div"),r=document.createElement("div");return r.id=e,o.appendChild(r),g(i,r,h.FINN_BLINK),n(`Creating blink container for: ${e}`),o})(i);(e=>{n(`Hiding old ad container: ${e.id}`),e.style.setProperty("display","none","important")})(o),A(o,r),o.dataset.finnBlinkId=i,m().withFullAdsChain(e)})}),O=e=>document.querySelector(`#${e}`),P=e=>i(void 0,void 0,void 0,function*(){if(!e.length)return;const{appearanceConfig:n,pageContext:{deviceType:i}}=t.get(),o=null==n?void 0:n.defaultThreshold[i];for(const n of e){const{requestThreshold:e,targetId:i}=n,t=O(i);t&&(yield p(t,null!=e?e:o))}});export{P as handleFinnBlinkOnlyPlacements,N as loadFinnBlinkAd,q as replaceAdsWithFinnBlink};
1
+ import{i as e,l as n,_ as i,c as t,g as o,a as r,b as d,d as l,e as s,F as a,h as c,f as u,j as f,k as v,u as m,m as g,A as h,s as p}from"./_auto-entry_tv4-D0e2DKOy.js";import{xandrAdLoaded as y,finnBlinkLoaded as b}from"./events-BGAhmaGY.js";import"react/jsx-runtime";e('.advertory-finn-blink-wrapper{height:100%;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink-wrapper:not(.brandboard-container){width:100%;margin-inline:auto}.advertory-finn-blink{width:100%;height:500px;max-width:580px;display:flex !important;align-items:center;justify-content:center}.advertory-finn-blink::before{content:"" !important}.advertory-finn-blink iframe{max-width:100%}');const k={Blink:"Blink"},w=new Map,$=e=>{var n;if(!w.has(e)){const n=import(/* webpackIgnore: true */e).then(e=>(e=>{for(const[n,i]of Object.entries(k)){const t=e[n];null!=t&&(window[i]=t)}})(e)).catch(n=>{throw w.delete(e),n});w.set(e,n)}return null!==(n=w.get(e))&&void 0!==n?n:Promise.resolve()},I="https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js",C="https://www.finn.no/distribution-front/external/carousel",S={get:e=>{try{const n=sessionStorage.getItem(e);return n?JSON.parse(n):null}catch(e){return n(`sessionStorageClient.get: Error during getting data from sessionStorage: ${e}`),null}},set:(e,i)=>{try{sessionStorage.setItem(e,JSON.stringify(i))}catch(e){n(`sessionStorageClient.set: Error during saving data to sessionStorage: ${e}`)}},remove:e=>{try{sessionStorage.removeItem(e)}catch(e){n(`sessionStorageClient.remove: Error during remove data from sessionStorage: ${e}`)}}},j="finn_blink_id",x=e=>i(void 0,void 0,void 0,function*(){const{userId:n,id:i,hashed_email:t,theme:o}=e,r=u(e,["userId","id","hashed_email","theme"]),d=window[k.Blink];if(!d)return;const l=new d({remote:C,id:i,hashed_email:t,theme:o});yield l.inject(Object.assign({},r))}),B=e=>i(void 0,void 0,void 0,function*(){const{userId:n,theme:i}=e,t=u(e,["userId","theme"]),o=window[k.Blink];if(!o)return;const r=new o({remote:C,userId:n,theme:i});yield r.inject(Object.assign({},t))}),_=e=>{var n,i;const t=document.querySelector(`[id^="${e}"]`);return null!==(i=null===(n=null==t?void 0:t.dataset)||void 0===n?void 0:n.finnBlinkId)&&void 0!==i?i:e},E=(e,n)=>{const{finnBlink:{enabled:i}={}}=t.get(),o=(null==n?void 0:n.enabled)||(e=>{var n;const i=document.querySelector(`[id^="${e}"]`);return!!(null===(n=null==i?void 0:i.dataset)||void 0===n?void 0:n.noBidAd)})(e);if(!o||!i)return null;const{limit:r,height:d,requireImage:l,theme:s,rec:a,distributionTypes:c,position:u,offset:f}=(null==n?void 0:n.sdkPayload)||{};return{selector:`#${_(e)}`,enabled:o,position:null!=u?u:e,distributionTypes:null!=c?c:[],limit:null!=r?r:100,height:null!=d?d:100,offset:null!=f?f:200,requireImage:l,rec:a,theme:"dark"===s?"dark":"light",advertoryTheme:null==n?void 0:n.advertoryTheme}},T=(e,u,f)=>i(void 0,void 0,void 0,function*(){var v;const{placements:m,pageContext:{deviceType:g}}=t.get();n(`rendering finn blink ad for ${e}`);const h=o(e),p=m[g].find(e=>e.targetId===h),k=E(e,null==p?void 0:p.finnBlink);if(!(null==k?void 0:k.enabled))return n(`Finn blink is not enabled on placement: ${e}`),f&&f(e),void y(e);if((e=>{var n;const i=_(e),t=document.querySelector(`[id^="${i}"]`);return!!(null===(n=null==t?void 0:t.classList)||void 0===n?void 0:n.contains("finn"))})(e))return void n(`Finn blink already loaded ${e}`);const{publisher:w,countryCode:$,finnBlink:I}=u,{sdkPayload:{userId:C,uuid:T,channel:F,theme:N}={}}=null!=I?I:{},A=null!=F?F:`${w}.${$}`,q=(e=>{if(!e){const e=l();return null!=e?e:""}return e})(C),O="dark"===N?"dark":"light";try{const e=yield i(void 0,void 0,void 0,function*(){const{finnBlink:{identifierUrl:e}={}}=t.get(),n=S.get(j),i=s(a);if(!e||i)return"";if(!n){const n=yield c.get(e,{credentials:"include"}),{finn_blink_id:i}=n;if(!i)throw new Error("getFinnBlinkIdentifier: No finn_blink_id found");return S.set(j,i),i}return n}),n=yield r(),o=(null===(v=null==p?void 0:p.finnBlink)||void 0===v?void 0:v.useNewConstructor)?B:x;yield o(Object.assign(Object.assign({},k),{channel:A,id:q,userId:n,hashed_email:e,theme:O,uuid:T})).then(()=>{b(k.selector.replace("#",""),k.advertoryTheme)})}catch(i){n(`Finn blink error ${i}`),f&&f(e),!f&&d(e),y(e)}}),F=()=>i(void 0,void 0,void 0,function*(){const{tcf:e,pageContext:{isMobileApp:i,countryCode:o}}=t.get();return!!(yield f(e,i,o,"finn-blink"))||(n("Skip loading finn blink ad due to missing TCF consent."),!1)}),N=(e,o,r,l)=>i(void 0,void 0,void 0,function*(){const{pageContext:{isMobileApp:i}}=t.get();if(n(`loadFinnBlinkAd: loading finn blink ad for ${e}`),!(yield F())||i)return r&&r(e),y(e),void(!r&&d(e));try{yield $(I)}catch(e){console.error(e)}yield T(e,o,r),l&&l()}),A=(e,i)=>{var t;(n(`Appending ${i.id} after ${e.id}`),e.parentElement&&(t=e.parentElement,!Array.from(t.children).some(e=>e.classList.contains("advertory-finn-blink-wrapper"))))?(e.parentElement.style.display="none",e.parentElement.insertAdjacentElement("afterend",i)):n(`Cannot perform afterend on: ${e.id}`)},q=e=>i(void 0,void 0,void 0,function*(){if(!e)return;const{replacementConfig:i}=e;if(!(v()&&(null==i?void 0:i.adsToReplace)&&(null==i?void 0:i.sizes)&&e.enabled))return void n(`Finn blink configuration is incorrect: ${JSON.stringify(i)}`);if(!(yield F()))return;yield $(I);const{adsToReplace:o,sizes:r}=i;o.forEach(([e,i])=>{const o=document.querySelector(`[id^="${e}"]`);if(!o)return;const r=(e=>{const{siteSpecificConfig:{publisherClassName:i}={}}=t.get(),o=document.createElement("div"),r=document.createElement("div");return r.id=e,o.appendChild(r),g(i,r,h.FINN_BLINK),n(`Creating blink container for: ${e}`),o})(i);(e=>{n(`Hiding old ad container: ${e.id}`),e.style.setProperty("display","none","important")})(o),A(o,r),o.dataset.finnBlinkId=i,m().withFullAdsChain(e)})}),O=e=>document.querySelector(`#${e}`),P=e=>i(void 0,void 0,void 0,function*(){if(!e.length)return;const{appearanceConfig:n,pageContext:{deviceType:i}}=t.get(),o=null==n?void 0:n.defaultThreshold[i];for(const n of e){const{requestThreshold:e,targetId:i}=n,t=O(i);t&&(yield p(t,null!=e?e:o))}});export{P as handleFinnBlinkOnlyPlacements,N as loadFinnBlinkAd,q as replaceAdsWithFinnBlink};
@@ -1 +1 @@
1
- import{c as t,E as e,S as o,G as d}from"./_auto-entry_tv4-B79FIPDF.js";import{s as i}from"./scale-ad-DymzQm0Y.js";export{c as calculateScaleFactor,g as getAspectRatio,a as scaleAdIpadAirPortrait}from"./scale-ad-DymzQm0Y.js";import"react/jsx-runtime";const l=a=>{var l,n,s,r,c,u;const{adScaleConfig:v,pageContext:{deviceType:f}}=t.get();if(!(null==v?void 0:v.enabled))return;if(e(a,o.ANY_FULLSCREEN))return;const p=null!==(l=v.adsToBeScaled[f])&&void 0!==l?l:[],m=d(a.targetId.split("-")[0]);if(!p.includes(m))return;const g=null!==(s=null===(n=v.offset)||void 0===n?void 0:n[m])&&void 0!==s?s:0,w=document.getElementById(a.targetId),E=null!==(r=null==w?void 0:w.offsetWidth)&&void 0!==r?r:window.screen.width,S=null!==(u=null===(c=null==w?void 0:w.parentElement)||void 0===c?void 0:c.offsetWidth)&&void 0!==u?u:window.screen.width;i(a,(E<S?E:S)-g)};export{i as scaleAd,l as scaleAds};
1
+ import{c as t,E as e,S as o,G as d}from"./_auto-entry_tv4-D0e2DKOy.js";import{s as i}from"./scale-ad-BCX16JTW.js";export{c as calculateScaleFactor,g as getAspectRatio,a as scaleAdIpadAirPortrait}from"./scale-ad-BCX16JTW.js";import"react/jsx-runtime";const l=a=>{var l,n,s,r,c,u;const{adScaleConfig:v,pageContext:{deviceType:f}}=t.get();if(!(null==v?void 0:v.enabled))return;if(e(a,o.ANY_FULLSCREEN))return;const p=null!==(l=v.adsToBeScaled[f])&&void 0!==l?l:[],m=d(a.targetId.split("-")[0]);if(!p.includes(m))return;const g=null!==(s=null===(n=v.offset)||void 0===n?void 0:n[m])&&void 0!==s?s:0,w=document.getElementById(a.targetId),E=null!==(r=null==w?void 0:w.offsetWidth)&&void 0!==r?r:window.screen.width,S=null!==(u=null===(c=null==w?void 0:w.parentElement)||void 0===c?void 0:c.offsetWidth)&&void 0!==u?u:window.screen.width;i(a,(E<S?E:S)-g)};export{i as scaleAd,l as scaleAds};
@@ -1 +1 @@
1
- import{c as e,n as t,t as o}from"./_auto-entry_tv4-B79FIPDF.js";import"react/jsx-runtime";const n=1e4,r=e=>e.some(e=>e.some(e=>!!e&&t(e,0)));let s;const i=()=>{const{widescreenSwitching:t}=e.get(),{enabled:i,options:{rotationInterval:a=n,widescreenIdPrefix:c}={}}=null!=t?t:{};if(!i)return;const l=((t="widescreen")=>{const{pageSectionsSelectors:{right:o}={}}=e.get();return o?Array.from(document.querySelectorAll(o)).map(e=>Array.from(e.querySelectorAll(`div[id^="${t}"]`))):[]})(c);let y=0,p=Date.now(),d=r(l);if(!l.length)return;s&&window.removeEventListener("scroll",s);const m=(e,t,o)=>{e.forEach(e=>{e&&e.style.setProperty(t,o)})},w=e=>1===e?0:1;(e=>{e.forEach(e=>{e[0]&&(e[0].style.display="block",e[0].style.opacity="1"),e[1]&&(e[1].style.display="none",e[1].style.opacity="")})})(l);const u=o(()=>{d||(d=r(l)||d,p=Date.now());Date.now()-p>=a&&((()=>{const e=w(y),t=l.map(e=>e[y]),o=l.map(t=>t[e]);m(t,"opacity","0"),setTimeout(()=>{m(t,"display","none"),m(o,"opacity","0"),m(o,"display","block"),setTimeout(()=>{m(o,"opacity","1")},450)},450)})(),y=w(y),p=Date.now())},1e3);s=u,window.addEventListener("scroll",u)};export{i as initWidescreenSwitching};
1
+ import{c as e,n as t,t as o}from"./_auto-entry_tv4-D0e2DKOy.js";import"react/jsx-runtime";const n=1e4,r=e=>e.some(e=>e.some(e=>!!e&&t(e,0)));let s;const i=()=>{const{widescreenSwitching:t}=e.get(),{enabled:i,options:{rotationInterval:a=n,widescreenIdPrefix:c}={}}=null!=t?t:{};if(!i)return;const l=((t="widescreen")=>{const{pageSectionsSelectors:{right:o}={}}=e.get();return o?Array.from(document.querySelectorAll(o)).map(e=>Array.from(e.querySelectorAll(`div[id^="${t}"]`))):[]})(c);let y=0,p=Date.now(),d=r(l);if(!l.length)return;s&&window.removeEventListener("scroll",s);const m=(e,t,o)=>{e.forEach(e=>{e&&e.style.setProperty(t,o)})},w=e=>1===e?0:1;(e=>{e.forEach(e=>{e[0]&&(e[0].style.display="block",e[0].style.opacity="1"),e[1]&&(e[1].style.display="none",e[1].style.opacity="")})})(l);const u=o(()=>{d||(d=r(l)||d,p=Date.now());Date.now()-p>=a&&((()=>{const e=w(y),t=l.map(e=>e[y]),o=l.map(t=>t[e]);m(t,"opacity","0"),setTimeout(()=>{m(t,"display","none"),m(o,"opacity","0"),m(o,"display","block"),setTimeout(()=>{m(o,"opacity","1")},450)},450)})(),y=w(y),p=Date.now())},1e3);s=u,window.addEventListener("scroll",u)};export{i as initWidescreenSwitching};
@@ -1 +1 @@
1
- import{T as e,o as t,D as o,c as r,p as l,_ as s,q as a,r as n,v as c,w as d}from"./_auto-entry_svd-DH7LO3Q1.js";import"react/jsx-runtime";const i="#fff",y="#0098da",p=(t,o=!0)=>{(t===e.WELCOME_PAGE||t===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(o)},u=()=>{const e=parseInt(document.body.dataset.scrollY||"0",10);document.body.style.top="",window.scrollTo(0,e),document.body.classList.remove("page-locked")},v=e=>{document.body.style.overflow=e?"initial":"hidden"},A=e=>{const t=w(e),o=m(e);(e=>{e.classList.toggle("takeover-ad-hidden",!0)})(e),v(!0),e.style.display="none",window.removeEventListener("keydown",t),window.removeEventListener("advertory:closeTakeover",o)},m=e=>{const t=()=>A(e);return window.addEventListener("advertory:closeTakeover",t),u(),t},w=e=>{const t=t=>{["Enter","Escape"].includes(t.key)&&A(e)};return u(),window.addEventListener("keydown",t),t},E=e=>{const t=e.querySelector(".advertory-splash-navbar-wrapper");t&&(w(e),m(e),u(),t.addEventListener("click",()=>{A(e)}),v(!1))},g=e=>{(e=>{window.addEventListener("scroll",()=>{e.getBoundingClientRect().bottom,(e=>{const t=e.getBoundingClientRect().bottom;e.style.opacity=""+t/e.offsetHeight})(e)},{passive:!0})})(e),m(e);const t=document.querySelector("header");document.querySelectorAll(".smooth-close-takeover").forEach(e=>e.addEventListener("click",()=>null==t?void 0:t.scrollIntoView({behavior:"smooth"})))},b=e=>{(e=>{window.addEventListener("advertory:closeTakeover",()=>A(e))})(e)},h=e=>{const{takeover:{splash:{showAnnonsLabel:t=!1}={}}={}}=r.get(),l=e.querySelectorAll(".advertory-splash-navbar-wrapper"),s=document.querySelector(".advertory-takeover-label");Array.from(l).forEach(e=>e.style.display="flex"),t&&s&&(s.style.display="flex",s.innerText=o.se.adText),e.classList.toggle("advertory-splash-wrapper",!0)},f=e=>{const t=document.querySelectorAll(".advertory-topscroller-elements");Array.from(t).forEach(e=>e.style.display="flex");const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=o.no.adText,r.classList.add("takeover-topscroller-label"),e.classList.toggle("topscroller-wrapper",!0))},L=e=>{const t=document.querySelectorAll(".advertory-welcome-page-elements");Array.from(t).forEach(e=>{e.style.display="flex",e.style.animation="elementsAnimation 1.5s ease-out forwards"});const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=o.se.adText,e.classList.toggle("welcome-page-wrapper",!0))},S=e=>{const t=document.querySelector(".advertory-takeover-label");t&&(t.style.display="flex",t.innerText=o.se.adText,e.classList.toggle("advertory-impact-wrapper",!0))},k=()=>{const e=document.querySelector(".welcome-page-wrapper, .topscroller-wrapper, .advertory-splash-wrapper");if(!e)return;let t=0;new IntersectionObserver(e=>{e.forEach(e=>{var o;if(e.isIntersecting){window.dispatchEvent(new CustomEvent("advertory:takeoverInView"));(null!==(o=Array.from(e.target.classList))&&void 0!==o?o:[]).includes("advertory-splash-wrapper")&&(()=>{const e=window.scrollY||0;document.body.dataset.scrollY=e.toString(),document.body.style.top="0",document.body.classList.add("page-locked"),document.documentElement.scrollTop=0})(),t++}else t>0&&window.dispatchEvent(new CustomEvent("advertory:takeoverNotInView"))})},{root:null,rootMargin:"0px",threshold:0}).observe(e)},T=(e,t)=>{let o=e;return e.includes("529299503")&&(o=(e=>{const t=document.createElement("script");return t.textContent=`(${l})()`,e+t.outerHTML})(e)),o},C=e=>{const t=(e=>{var t;const{requests:o}=window.apntag,r=d(e)?1:0;return null===(t=null==o?void 0:o.tags[e].adResponse.ads[r].rtb)||void 0===t?void 0:t.banner.content})(e);if(!t)return;((e,t)=>{const{requests:o}=window.apntag,r=d(e)?1:0,l=null==o?void 0:o.tags[e].adResponse.ads[r].rtb;l&&(l.banner.content=t)})(e,T(t))},x=(e,t)=>{var o;const r="100%",l="100%";e.resizeAd(t,[r,l]);const s=null===(o=document.querySelector(`#div_utif_${t}`))||void 0===o?void 0:o.querySelector("iframe");if(!s)return;new MutationObserver(e=>{for(const t of e)if("attributes"===t.type&&"style"===t.attributeName){const e=window.getComputedStyle(s),t=e.width,o=e.height;t===r&&o===l||(s.style.width=r,s.style.height=l)}}).observe(s,{attributes:!0,attributeFilter:["style"]})},q=o=>s(void 0,void 0,void 0,function*(){const{takeover:l}=r.get(),{targetId:s}=o,d=document.querySelector(`#${s}`),u=document.querySelector(".advertory-takeover-wrapper");if(!d||!u||!l)return;const v=a(o),A=u.offsetHeight,m=window.scrollY>A;u.style.display="block",!m&&p(v,!1),((t,o)=>{({[e.WELCOME_PAGE]:L,[e.SPLASH]:h,[e.TOPSCROLLER]:f,[e.VELVET]:S})[o](t)})(u,v),k(),((t,o)=>{({[e.WELCOME_PAGE]:g,[e.TOPSCROLLER]:g,[e.SPLASH]:E,[e.VELVET]:b})[o](t)})(u,v),((o,r,l)=>{if(!l)return;({[e.WELCOME_PAGE]:()=>{const{buttonLabel:e}=t(l,r);["#advertory-welcome-page-scroll-label","#advertory-welcome-page-scroll-image"].forEach(t=>{const r=o.querySelector(`${t}`);r&&(r.innerText=null!=e?e:"")})},[e.SPLASH]:()=>{const{themeColors:e,logotype:s,buttonLabel:a,showArrowIcon:n}=t(l,r);["#advertory-splash-close-label",".advertory-splash-close","#advertory-splash-logotype",".advertory-splash-navbar-wrapper"].forEach(t=>{const r=o.querySelector(`${t}`);if(r){if("#advertory-splash-close-label"===t&&(r.innerText=null!=a?a:""),".advertory-splash-close"===t&&n){const e=document.createElement("img");e.setAttribute("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAfQAAAH0Bx0gPAAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABzSURBVDiNtdPJCYBADEDRzzRmE3ZgEV6tRHHpzELiIQrBZRajA7lk4EE2RIQjgApYgdbmY8EJaADZo3sDBKAvQa4JRYZc5D6pyJiDPMuKTCkkXp8icwxJd1mRxSC1/Q94328luJroGqNrkdyrzAfHVHzOG+8CKlLk+LO+AAAAAElFTkSuQmCC"),e.setAttribute("alt","close ad"),r.appendChild(e)}if("#advertory-splash-logotype"===t&&s&&(r.setAttribute("src",s.url),r.setAttribute("alt",s.alt)),".advertory-splash-navbar-wrapper"===t&&e){const{backgroundColor:t,color:o}=e;r.style.setProperty("background-color",null!=t?t:i,"important"),r.style.color=null!=o?o:y}}})},[e.TOPSCROLLER]:()=>{const{buttonLabel:e,showArrowIcon:s,showCloseButton:a=!0}=t(l,r);["#advertory-topscroller-scroll-label","#advertory-topscroller-scroll-image",".advertory-topscroller-close"].forEach(t=>{const r=o.querySelector(`${t}`);r&&(".advertory-topscroller-close"!==t||a||(r.style.display="none"),"#advertory-topscroller-scroll-image"!==t||s||(r.style.display="none"),"#advertory-topscroller-scroll-label"===t&&(r.innerText=null!=e?e:""))})},[e.VELVET]:()=>{}})[r]()})(u,v,l),yield n(),!m&&p(v,!0),c(o,v)});export{q as createTakeoverAd,C as modifyTakeoverAdContent,x as modifyTakeoverIframe};
1
+ import{T as e,o as t,D as o,c as r,p as l,_ as s,q as a,r as n,v as c,w as d}from"./_auto-entry_tv4-D0e2DKOy.js";import"react/jsx-runtime";const i="#fff",y="#0098da",p=(t,o=!0)=>{(t===e.WELCOME_PAGE||t===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(o)},u=()=>{const e=parseInt(document.body.dataset.scrollY||"0",10);document.body.style.top="",window.scrollTo(0,e),document.body.classList.remove("page-locked")},v=e=>{document.body.style.overflow=e?"initial":"hidden"},A=e=>{const t=w(e),o=m(e);(e=>{e.classList.toggle("takeover-ad-hidden",!0)})(e),v(!0),e.style.display="none",window.removeEventListener("keydown",t),window.removeEventListener("advertory:closeTakeover",o)},m=e=>{const t=()=>A(e);return window.addEventListener("advertory:closeTakeover",t),u(),t},w=e=>{const t=t=>{["Enter","Escape"].includes(t.key)&&A(e)};return u(),window.addEventListener("keydown",t),t},E=e=>{const t=e.querySelector(".advertory-splash-navbar-wrapper");t&&(w(e),m(e),u(),t.addEventListener("click",()=>{A(e)}),v(!1))},g=e=>{(e=>{window.addEventListener("scroll",()=>{e.getBoundingClientRect().bottom,(e=>{const t=e.getBoundingClientRect().bottom;e.style.opacity=""+t/e.offsetHeight})(e)},{passive:!0})})(e),m(e);const t=document.querySelector("header");document.querySelectorAll(".smooth-close-takeover").forEach(e=>e.addEventListener("click",()=>null==t?void 0:t.scrollIntoView({behavior:"smooth"})))},b=e=>{(e=>{window.addEventListener("advertory:closeTakeover",()=>A(e))})(e)},h=e=>{const{takeover:{splash:{showAnnonsLabel:t=!1}={}}={}}=r.get(),l=e.querySelectorAll(".advertory-splash-navbar-wrapper"),s=document.querySelector(".advertory-takeover-label");Array.from(l).forEach(e=>e.style.display="flex"),t&&s&&(s.style.display="flex",s.innerText=o.se.adText),e.classList.toggle("advertory-splash-wrapper",!0)},f=e=>{const t=document.querySelectorAll(".advertory-topscroller-elements");Array.from(t).forEach(e=>e.style.display="flex");const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=o.no.adText,r.classList.add("takeover-topscroller-label"),e.classList.toggle("topscroller-wrapper",!0))},L=e=>{const t=document.querySelectorAll(".advertory-welcome-page-elements");Array.from(t).forEach(e=>{e.style.display="flex",e.style.animation="elementsAnimation 1.5s ease-out forwards"});const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=o.se.adText,e.classList.toggle("welcome-page-wrapper",!0))},S=e=>{const t=document.querySelector(".advertory-takeover-label");t&&(t.style.display="flex",t.innerText=o.se.adText,e.classList.toggle("advertory-impact-wrapper",!0))},k=()=>{const e=document.querySelector(".welcome-page-wrapper, .topscroller-wrapper, .advertory-splash-wrapper");if(!e)return;let t=0;new IntersectionObserver(e=>{e.forEach(e=>{var o;if(e.isIntersecting){window.dispatchEvent(new CustomEvent("advertory:takeoverInView"));(null!==(o=Array.from(e.target.classList))&&void 0!==o?o:[]).includes("advertory-splash-wrapper")&&(()=>{const e=window.scrollY||0;document.body.dataset.scrollY=e.toString(),document.body.style.top="0",document.body.classList.add("page-locked"),document.documentElement.scrollTop=0})(),t++}else t>0&&window.dispatchEvent(new CustomEvent("advertory:takeoverNotInView"))})},{root:null,rootMargin:"0px",threshold:0}).observe(e)},T=(e,t)=>{let o=e;return e.includes("529299503")&&(o=(e=>{const t=document.createElement("script");return t.textContent=`(${l})()`,e+t.outerHTML})(e)),o},C=e=>{const t=(e=>{var t;const{requests:o}=window.apntag,r=d(e)?1:0;return null===(t=null==o?void 0:o.tags[e].adResponse.ads[r].rtb)||void 0===t?void 0:t.banner.content})(e);if(!t)return;((e,t)=>{const{requests:o}=window.apntag,r=d(e)?1:0,l=null==o?void 0:o.tags[e].adResponse.ads[r].rtb;l&&(l.banner.content=t)})(e,T(t))},x=(e,t)=>{var o;const r="100%",l="100%";e.resizeAd(t,[r,l]);const s=null===(o=document.querySelector(`#div_utif_${t}`))||void 0===o?void 0:o.querySelector("iframe");if(!s)return;new MutationObserver(e=>{for(const t of e)if("attributes"===t.type&&"style"===t.attributeName){const e=window.getComputedStyle(s),t=e.width,o=e.height;t===r&&o===l||(s.style.width=r,s.style.height=l)}}).observe(s,{attributes:!0,attributeFilter:["style"]})},q=o=>s(void 0,void 0,void 0,function*(){const{takeover:l}=r.get(),{targetId:s}=o,d=document.querySelector(`#${s}`),u=document.querySelector(".advertory-takeover-wrapper");if(!d||!u||!l)return;const v=a(o),A=u.offsetHeight,m=window.scrollY>A;u.style.display="block",!m&&p(v,!1),((t,o)=>{({[e.WELCOME_PAGE]:L,[e.SPLASH]:h,[e.TOPSCROLLER]:f,[e.VELVET]:S})[o](t)})(u,v),k(),((t,o)=>{({[e.WELCOME_PAGE]:g,[e.TOPSCROLLER]:g,[e.SPLASH]:E,[e.VELVET]:b})[o](t)})(u,v),((o,r,l)=>{if(!l)return;({[e.WELCOME_PAGE]:()=>{const{buttonLabel:e}=t(l,r);["#advertory-welcome-page-scroll-label","#advertory-welcome-page-scroll-image"].forEach(t=>{const r=o.querySelector(`${t}`);r&&(r.innerText=null!=e?e:"")})},[e.SPLASH]:()=>{const{themeColors:e,logotype:s,buttonLabel:a,showArrowIcon:n}=t(l,r);["#advertory-splash-close-label",".advertory-splash-close","#advertory-splash-logotype",".advertory-splash-navbar-wrapper"].forEach(t=>{const r=o.querySelector(`${t}`);if(r){if("#advertory-splash-close-label"===t&&(r.innerText=null!=a?a:""),".advertory-splash-close"===t&&n){const e=document.createElement("img");e.setAttribute("src","data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAAfQAAAH0Bx0gPAAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAABzSURBVDiNtdPJCYBADEDRzzRmE3ZgEV6tRHHpzELiIQrBZRajA7lk4EE2RIQjgApYgdbmY8EJaADZo3sDBKAvQa4JRYZc5D6pyJiDPMuKTCkkXp8icwxJd1mRxSC1/Q94328luJroGqNrkdyrzAfHVHzOG+8CKlLk+LO+AAAAAElFTkSuQmCC"),e.setAttribute("alt","close ad"),r.appendChild(e)}if("#advertory-splash-logotype"===t&&s&&(r.setAttribute("src",s.url),r.setAttribute("alt",s.alt)),".advertory-splash-navbar-wrapper"===t&&e){const{backgroundColor:t,color:o}=e;r.style.setProperty("background-color",null!=t?t:i,"important"),r.style.color=null!=o?o:y}}})},[e.TOPSCROLLER]:()=>{const{buttonLabel:e,showArrowIcon:s,showCloseButton:a=!0}=t(l,r);["#advertory-topscroller-scroll-label","#advertory-topscroller-scroll-image",".advertory-topscroller-close"].forEach(t=>{const r=o.querySelector(`${t}`);r&&(".advertory-topscroller-close"!==t||a||(r.style.display="none"),"#advertory-topscroller-scroll-image"!==t||s||(r.style.display="none"),"#advertory-topscroller-scroll-label"===t&&(r.innerText=null!=e?e:""))})},[e.VELVET]:()=>{}})[r]()})(u,v,l),yield n(),!m&&p(v,!0),c(o,v)});export{q as createTakeoverAd,C as modifyTakeoverAdContent,x as modifyTakeoverIframe};
@@ -1 +1 @@
1
- import{_ as t,c as e,j as o,O as n,P as s}from"./_auto-entry_tv4-B79FIPDF.js";import"react/jsx-runtime";const i=t=>t===s.NO?"schibsted":"schibstedse",d=()=>t(void 0,void 0,void 0,function*(){const{norstat:{enabled:s}={},pageContext:{countryCode:d,isMobileApp:a},tcf:c}=e.get(),r=yield o(c,a,d,"norstat");if(!s||a||!r)return;const m=n(d);((e,o,...n)=>{t(void 0,[e,o,...n],void 0,function*(t,e,o=!0){if(document.getElementById(e))return;const n=document.createElement("img");n.src=t,n.id=null!=e?e:"",o&&(n.style.display="none"),document.body.appendChild(n)})})(`https://sch-map.norstatsurveys.com/api/nids/${i(d)}/map/${m}`,"norstat")});export{i as getCampaign,d as loadNorstat};
1
+ import{_ as t,c as e,j as o,O as n,P as s}from"./_auto-entry_tv4-D0e2DKOy.js";import"react/jsx-runtime";const i=t=>t===s.NO?"schibsted":"schibstedse",d=()=>t(void 0,void 0,void 0,function*(){const{norstat:{enabled:s}={},pageContext:{countryCode:d,isMobileApp:a},tcf:c}=e.get(),r=yield o(c,a,d,"norstat");if(!s||a||!r)return;const m=n(d);((e,o,...n)=>{t(void 0,[e,o,...n],void 0,function*(t,e,o=!0){if(document.getElementById(e))return;const n=document.createElement("img");n.src=t,n.id=null!=e?e:"",o&&(n.style.display="none"),document.body.appendChild(n)})})(`https://sch-map.norstatsurveys.com/api/nids/${i(d)}/map/${m}`,"norstat")});export{i as getCampaign,d as loadNorstat};
package/tv4/es/index.js CHANGED
@@ -1 +1 @@
1
- export{W as Takeover,V as default}from"./_auto-entry_tv4-B79FIPDF.js";import"react/jsx-runtime";
1
+ export{W as Takeover,V as default}from"./_auto-entry_tv4-D0e2DKOy.js";import"react/jsx-runtime";
@@ -1 +1 @@
1
- import{I as t,H as e,J as r}from"./_auto-entry_tv4-B79FIPDF.js";const n=(t,e)=>{const r=t.width,n=(null!=e?e:window.screen.width)/r;return n<1?n:1},o=(t,e=window.screen.width,r,o)=>{const i=n(t,e);if(r&&r(t,i),o)return void o(t);const s=document.querySelector(`iframe[id^="utif_${t.targetId}"]`);s&&(s.style.transform=`scale(${i})`,s.style.transformOrigin="left top")},i=(t,e)=>{if(t&&e)return e/t},s=new Map;s.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),s.set("panorama",{scale:.79,transformOrigin:"center center"}),s.set("outstream",{scale:.79,transformOrigin:"center center"}),s.set("integration",{scale:.79,transformOrigin:"center center"}),s.set("toppanorama",{scale:.8,transformOrigin:"left center"});const c=n=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>t&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=e))return;var o,i;const c=r(n),a=s.get(c),d=document.querySelector(`#${n.targetId}`);if(!d||!a)return;if(d.style.transformOrigin=a.transformOrigin,d.style.transform=`scale(${a.scale})`,!(null==a?void 0:a.cogwheelAdjust))return;const l=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${n.targetId}"]`),u=null==d?void 0:d.offsetWidth;l&&"number"==typeof u&&!isNaN(u)&&l.style.setProperty("right",String(-1*u*.2)+"px")};export{c as a,n as c,i as g,o as s};
1
+ import{I as t,H as e,J as r}from"./_auto-entry_tv4-D0e2DKOy.js";const n=(t,e)=>{const r=t.width,n=(null!=e?e:window.screen.width)/r;return n<1?n:1},o=(t,e=window.screen.width,r,o)=>{const i=n(t,e);if(r&&r(t,i),o)return void o(t);const s=document.querySelector(`iframe[id^="utif_${t.targetId}"]`);s&&(s.style.transform=`scale(${i})`,s.style.transformOrigin="left top")},i=(t,e)=>{if(t&&e)return e/t},s=new Map;s.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),s.set("panorama",{scale:.79,transformOrigin:"center center"}),s.set("outstream",{scale:.79,transformOrigin:"center center"}),s.set("integration",{scale:.79,transformOrigin:"center center"}),s.set("toppanorama",{scale:.8,transformOrigin:"left center"});const c=n=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>t&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=e))return;var o,i;const c=r(n),a=s.get(c),d=document.querySelector(`#${n.targetId}`);if(!d||!a)return;if(d.style.transformOrigin=a.transformOrigin,d.style.transform=`scale(${a.scale})`,!(null==a?void 0:a.cogwheelAdjust))return;const l=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${n.targetId}"]`),u=null==d?void 0:d.offsetWidth;l&&"number"==typeof u&&!isNaN(u)&&l.style.setProperty("right",String(-1*u*.2)+"px")};export{c as a,n as c,i as g,o as s};
@@ -1 +1 @@
1
- import{i as t}from"./_auto-entry_e24-BZ-Y0wfw.js";import"react/jsx-runtime";const o=t("[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}");export{o as default};
1
+ import{i as t}from"./_auto-entry_tv4-D0e2DKOy.js";import"react/jsx-runtime";const o=t("[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-slider-time,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-slider-time{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container{padding:0 6px;height:36px}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-fullscreen,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-settings-sharing{display:none}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon{margin-right:3px;height:unset;width:unset;bottom:0}[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,[id^=integration_godt-menu]>article .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-volume,.advertory-godt-ad-weekly-menu .jw-controls>.jw-controlbar .jw-button-container .jw-icon-playback{display:flex}");export{o as default};