@schibsted/advertory 3.16.5 → 3.17.1

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 (505) hide show
  1. package/ad-native/cjs/index.d.ts +14 -6
  2. package/ad-native/cjs/index.js +1 -1
  3. package/ad-native/es/index.d.ts +14 -6
  4. package/ad-native/es/index.js +1 -1
  5. package/aftenposten/cjs/index.d.ts +14 -6
  6. package/aftenposten/cjs/index.js +1 -1
  7. package/aftenposten/es/_auto-entry_aftenposten-CQzbye3k.js +1 -0
  8. package/aftenposten/es/events-wzFxMAFP.js +1 -0
  9. package/aftenposten/es/index-0kRfLcYj.js +1 -0
  10. package/aftenposten/es/{index-DRw2tzN7.js → index-BmeZVQ0l.js} +1 -1
  11. package/{aftonbladet/es/index-B-9GeVqx.js → aftenposten/es/index-CXL8rnIl.js} +1 -1
  12. package/aftenposten/es/index-Cr3lDYmG.js +1 -0
  13. package/aftenposten/es/{index-B8-3dAzZ.js → index-DH3bflvx.js} +1 -1
  14. package/aftenposten/es/{index-CS7Ab372.js → index-DpVNEgVg.js} +1 -1
  15. package/aftenposten/es/{index-Db4A-lKt.js → index-UeBxQJEQ.js} +1 -1
  16. package/aftenposten/es/{index-DQGbdXJH.js → index-yIBDd6_a.js} +1 -1
  17. package/aftenposten/es/index.d.ts +14 -6
  18. package/aftenposten/es/index.js +1 -1
  19. package/aftenposten/es/{styles-Cmgz7g7s.js → styles-6FhX4hN7.js} +1 -1
  20. package/aftenposten/es/{styles-BqwkhLCB.js → styles-Bcd7vQWQ.js} +1 -1
  21. package/aftenposten/es/{styles-CfAyG-Uc.js → styles-Bzp_hZ-l.js} +1 -1
  22. package/aftenposten/es/{styles-CshnwzG0.js → styles-CHiH__PG.js} +1 -1
  23. package/aftenposten/es/{styles-BxGxExCF.js → styles-CQa9OP2h.js} +1 -1
  24. package/aftenposten/es/{styles-qYagS0GU.js → styles-DGrR5Myv.js} +1 -1
  25. package/aftenposten/es/{styles-x5cJhAzP.js → styles-DV8aCVOL.js} +1 -1
  26. package/aftenposten/es/{styles-BVFhT7Fm.js → styles-Df9VFn3e.js} +1 -1
  27. package/aftenposten/es/{styles-C3V8Btu3.js → styles-DnxoItho.js} +1 -1
  28. package/aftenposten/es/{styles-D4hQIIqP.js → styles-Mu5NcHOo.js} +1 -1
  29. package/aftenposten/es/{styles-DbteVOM6.js → styles-Z6yKNaQW.js} +1 -1
  30. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-Aw5wuXno.js +1 -0
  31. package/aftenpostenv2/es/events-D-IVPmHl.js +1 -0
  32. package/aftenpostenv2/es/{index-CCgqrIq1.js → index-3DH4w7Kp.js} +1 -1
  33. package/aftenpostenv2/es/{index-DiBksfGt.js → index-BB1iI6Vl.js} +1 -1
  34. package/aftenpostenv2/es/index-BdS24ZhN.js +1 -0
  35. package/aftenpostenv2/es/index-Bu7767Wo.js +1 -0
  36. package/aftenpostenv2/es/{index-DoEPQvRY.js → index-DkDcRwK_.js} +1 -1
  37. package/aftenpostenv2/es/{index-lqm-o7Po.js → index-DyNS0mXg.js} +1 -1
  38. package/aftenpostenv2/es/{index-BVUcPqHw.js → index-DzI6iXF1.js} +1 -1
  39. package/aftenpostenv2/es/{index-BZnCLvE4.js → index-ipMUCwE0.js} +1 -1
  40. package/aftenpostenv2/es/index.d.ts +14 -6
  41. package/aftenpostenv2/es/index.js +1 -1
  42. package/aftenpostenv2/es/{styles-PnO4KF4Z.js → styles-BWrn3pun.js} +1 -1
  43. package/aftenpostenv2/es/{styles-CN1ZGodG.js → styles-BdrJnjnQ.js} +1 -1
  44. package/aftenpostenv2/es/{styles-DT0w-UuZ.js → styles-ByvXm5v5.js} +1 -1
  45. package/aftenpostenv2/es/{styles-C-SPFJ1u.js → styles-BzRoae8Z.js} +1 -1
  46. package/aftenpostenv2/es/{styles-Dfd6TOhp.js → styles-CkWr6xYa.js} +1 -1
  47. package/aftenpostenv2/es/{styles-qz3icO2I.js → styles-DK8HtLDl.js} +1 -1
  48. package/aftenpostenv2/es/{styles-C23QTq8C.js → styles-DOhTp6JW.js} +1 -1
  49. package/aftenpostenv2/es/{styles-xro3TPE2.js → styles-DPU_7hgU.js} +1 -1
  50. package/aftenpostenv2/es/{styles-Cz4wgX8T.js → styles-De8sTvD7.js} +1 -1
  51. package/aftenpostenv2/es/{styles-BeZfyt5D.js → styles-QwQ7F3Mu.js} +1 -1
  52. package/aftenpostenv2/es/{styles-BGkSuxfG.js → styles-iZYowlJx.js} +1 -1
  53. package/aftonbladet/cjs/index.d.ts +14 -6
  54. package/aftonbladet/cjs/index.js +1 -1
  55. package/aftonbladet/es/_auto-entry_aftonbladet-UQG0egxm.js +1 -0
  56. package/aftonbladet/es/events-CiteaWVv.js +1 -0
  57. package/aftonbladet/es/{index-BiQjBDTx.js → index-CDun52TP.js} +1 -1
  58. package/aftonbladet/es/{index-CACHUzk8.js → index-CKfqrs7B.js} +1 -1
  59. package/aftonbladet/es/index-CLhf_NpM.js +1 -0
  60. package/aftonbladet/es/{index-DY3lTbNz.js → index-CPB2n7c-.js} +1 -1
  61. package/{aftenposten/es/index-BR5XIfB1.js → aftonbladet/es/index-D694QiXY.js} +1 -1
  62. package/aftonbladet/es/{index-BlZB6F-_.js → index-DXuKUdFw.js} +1 -1
  63. package/aftonbladet/es/index-qS72xrEu.js +1 -0
  64. package/aftonbladet/es/{index-BxavM0ix.js → index-s03w1nsg.js} +1 -1
  65. package/aftonbladet/es/index.d.ts +14 -6
  66. package/aftonbladet/es/index.js +1 -1
  67. package/aftonbladet/es/{styles-WB5MQdr8.js → styles-BLvuyru8.js} +1 -1
  68. package/aftonbladet/es/{styles-DSk80Xw5.js → styles-C4Q8-exK.js} +1 -1
  69. package/aftonbladet/es/{styles-BUwUWMkk.js → styles-COxjPfTb.js} +1 -1
  70. package/aftonbladet/es/{styles-DHhYeLQg.js → styles-DaHJ7t0C.js} +1 -1
  71. package/aftonbladet/es/{styles-BwoNWGMU.js → styles-Dxw5kVr1.js} +1 -1
  72. package/aftonbladet/es/{styles-DdWa3WR4.js → styles-aUjLpcVh.js} +1 -1
  73. package/aftonbladet/es/{styles-CSY6WCee.js → styles-yHMqBgDh.js} +1 -1
  74. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-K8GufdfA.js +1 -0
  75. package/aftonbladetv2/es/events-DjnBVxCH.js +1 -0
  76. package/aftonbladetv2/es/index-BMQSuSVi.js +1 -0
  77. package/aftonbladetv2/es/{index-BS_cgiVx.js → index-CAkVH1cy.js} +1 -1
  78. package/aftonbladetv2/es/{index-GptaM2G6.js → index-D1gBWEc_.js} +1 -1
  79. package/aftonbladetv2/es/index-DIYLLs_R.js +1 -0
  80. package/aftonbladetv2/es/{index-CJK6gbdV.js → index-DQTM2CmM.js} +1 -1
  81. package/aftonbladetv2/es/{index-CmBDcRgQ.js → index-Dg8PwMci.js} +1 -1
  82. package/aftonbladetv2/es/{index-CMsqVKG_.js → index-Dq7lYSYU.js} +1 -1
  83. package/aftonbladetv2/es/{index-BAszEASA.js → index-bj1PhJMO.js} +1 -1
  84. package/aftonbladetv2/es/index.d.ts +14 -6
  85. package/aftonbladetv2/es/index.js +1 -1
  86. package/aftonbladetv2/es/{styles-C9uP2Yjh.js → styles-8rwgNT8_.js} +1 -1
  87. package/aftonbladetv2/es/{styles-9SQCcTFw.js → styles-BNNyUF0j.js} +1 -1
  88. package/aftonbladetv2/es/{styles-DeL7yXUR.js → styles-CWTQ-3h9.js} +1 -1
  89. package/aftonbladetv2/es/{styles-BUZTzbbN.js → styles-CcMM-P3g.js} +1 -1
  90. package/aftonbladetv2/es/{styles-HIZnvE3y.js → styles-DP9gVus2.js} +1 -1
  91. package/aftonbladetv2/es/{styles-DrxvzT3b.js → styles-a-e6D11y.js} +1 -1
  92. package/aftonbladetv2/es/{styles-DtHKest_.js → styles-oMtK3B2v.js} +1 -1
  93. package/bt/cjs/index.d.ts +14 -6
  94. package/bt/cjs/index.js +1 -1
  95. package/bt/es/_auto-entry_bt-Bf5Mw4mU.js +1 -0
  96. package/bt/es/events-BjUbkhEy.js +1 -0
  97. package/bt/es/{index-BKqjZpW8.js → index-BOIa0oXu.js} +1 -1
  98. package/bt/es/{index-D_rnTuTK.js → index-BcmeJWhX.js} +1 -1
  99. package/bt/es/{index-Cd67JkoX.js → index-BfTbebzJ.js} +1 -1
  100. package/{sa/es/index-9_ir-rcM.js → bt/es/index-CsOjKWN4.js} +1 -1
  101. package/bt/es/{index-CYDruSxp.js → index-DhATf0Df.js} +1 -1
  102. package/bt/es/index-DraZV50T.js +1 -0
  103. package/bt/es/{index-vE82QAjA.js → index-DvTCAwu1.js} +1 -1
  104. package/bt/es/index-r66Cd2xZ.js +1 -0
  105. package/bt/es/index.d.ts +14 -6
  106. package/bt/es/index.js +1 -1
  107. package/bt/es/{styles-BJwiaOeV.js → styles-1JWDtwN3.js} +1 -1
  108. package/bt/es/{styles-D5xd7Hvt.js → styles-9wKvNstR.js} +1 -1
  109. package/bt/es/{styles-D5T2ZpmU.js → styles-Bx0K6V2M.js} +1 -1
  110. package/bt/es/{styles-DI3iahFH.js → styles-CVNqYpWx.js} +1 -1
  111. package/bt/es/{styles-D_uzW3WW.js → styles-DbBVP8RM.js} +1 -1
  112. package/bt/es/{styles-Dxi9bw8S.js → styles-Df5tBsQK.js} +1 -1
  113. package/{sa/es/styles-CvGSGzSO.js → bt/es/styles-DsF977Lw.js} +1 -1
  114. package/bt/es/{styles-W-qv8i7u.js → styles-OaVOhPgb.js} +1 -1
  115. package/bt/es/{styles-6EXR5zYV.js → styles-XCB733xz.js} +1 -1
  116. package/bt/es/{styles-C3WS_t8v.js → styles-sSYx1tU1.js} +1 -1
  117. package/btv2/es/_auto-entry_btv2-Bc9X0Y4s.js +1 -0
  118. package/btv2/es/events-oapj2yJD.js +1 -0
  119. package/btv2/es/index-BMCjCGA7.js +1 -0
  120. package/btv2/es/{index-CwQrOubz.js → index-C91g9VKv.js} +1 -1
  121. package/{sav2/es/index-D4kR1aOA.js → btv2/es/index-CDAas9Mp.js} +1 -1
  122. package/btv2/es/{index-CO-rmFyi.js → index-D1qlqRn6.js} +1 -1
  123. package/btv2/es/{index-tjtRkdna.js → index-DMYukhgR.js} +1 -1
  124. package/btv2/es/{index-CI9qR038.js → index-DWYgEk6A.js} +1 -1
  125. package/btv2/es/index-DWsI7Uot.js +1 -0
  126. package/btv2/es/{index-eb9jjS0f.js → index-GKVYBZqo.js} +1 -1
  127. package/btv2/es/index.d.ts +14 -6
  128. package/btv2/es/index.js +1 -1
  129. package/{sav2/es/styles-JzezxrZr.js → btv2/es/styles-B0z9BTDm.js} +1 -1
  130. package/btv2/es/{styles-CjAmkfwB.js → styles-BIGBLYzW.js} +1 -1
  131. package/btv2/es/{styles-DtOFNwbp.js → styles-BaBUQ7Hj.js} +1 -1
  132. package/{vgv2/es/styles-CVtSN6IJ.js → btv2/es/styles-BmCPT5IC.js} +1 -1
  133. package/btv2/es/{styles-Drq6h0oi.js → styles-C83E3gfw.js} +1 -1
  134. package/btv2/es/{styles-CYv9ccwN.js → styles-Ck69XN3a.js} +1 -1
  135. package/{sav2/es/styles-BxI8QNaZ.js → btv2/es/styles-D5-nIZXy.js} +1 -1
  136. package/btv2/es/{styles-DF73Rp9s.js → styles-DwgFefcu.js} +1 -1
  137. package/{sav2/es/styles-DVdw9LnQ.js → btv2/es/styles-mHC_ha2H.js} +1 -1
  138. package/btv2/styles.css +1 -1
  139. package/e24/es/_auto-entry_e24-3DlyBhKA.js +1 -0
  140. package/e24/es/events-CsOsrC6c.js +1 -0
  141. package/e24/es/{index-CclIZUlD.js → index-BlLqHFf8.js} +1 -1
  142. package/e24/es/{index-DzcT99p3.js → index-BpEKotdp.js} +1 -1
  143. package/e24/es/index-CUcx7iNz.js +1 -0
  144. package/e24/es/{index-CdLXLLrr.js → index-D7dBsGLK.js} +1 -1
  145. package/e24/es/{index-1AQljQ04.js → index-D8bVQ3yW.js} +1 -1
  146. package/e24/es/{index-DZc8k80J.js → index-J-Z58Cak.js} +1 -1
  147. package/{svd/es/index-BjBgwVgk.js → e24/es/index-nixiOIB7.js} +1 -1
  148. package/e24/es/{index-CBF-dEe0.js → index-uOIzIRd0.js} +1 -1
  149. package/e24/es/index.d.ts +14 -6
  150. package/e24/es/index.js +1 -1
  151. package/e24/es/{styles-mu020Pov.js → styles-BOHykpQ5.js} +1 -1
  152. package/e24/es/{styles-BA1aQZwV.js → styles-BQUHsL5Q.js} +1 -1
  153. package/e24/es/{styles-7mXTCMFW.js → styles-BXv14H48.js} +1 -1
  154. package/e24/es/{styles-BJDXJ_zX.js → styles-BbRRFyx-.js} +1 -1
  155. package/{tv4/es/styles-CyRqFFvK.js → e24/es/styles-Cd6U5bIi.js} +1 -1
  156. package/e24/es/{styles-CP89sUxz.js → styles-CvgGilBk.js} +1 -1
  157. package/e24/es/{styles-CtBvPN4a.js → styles-CwSXXIeb.js} +1 -1
  158. package/e24/es/{styles-DAhegP-P.js → styles-CyisYILq.js} +1 -1
  159. package/e24/es/{styles-DaDDz2Ik.js → styles-DcxwsmsJ.js} +1 -1
  160. package/e24/es/{styles-OfdgLarb.js → styles-Dkxpb8-D.js} +1 -1
  161. package/e24/es/{styles-xcdIFrAQ.js → styles-DxzLBB0z.js} +1 -1
  162. package/e24/es/{styles-CcW-Lo_s.js → styles-w4pBXaCr.js} +1 -1
  163. package/editory/cjs/index.d.ts +14 -6
  164. package/editory/es/index.d.ts +14 -6
  165. package/fotbollskanalen/cjs/index.d.ts +14 -6
  166. package/fotbollskanalen/cjs/index.js +1 -1
  167. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DHjzWt3m.js +1 -0
  168. package/fotbollskanalen/es/events-DhPaztsp.js +1 -0
  169. package/fotbollskanalen/es/{index-CC5lc9r1.js → index-BQL-Z1u0.js} +1 -1
  170. package/fotbollskanalen/es/{index-Dz4VZObJ.js → index-BsRgwJa4.js} +1 -1
  171. package/fotbollskanalen/es/{index-CVZdf_Rx.js → index-D0ptBkNT.js} +1 -1
  172. package/fotbollskanalen/es/{index-ClH7lZYd.js → index-DWWjtqjW.js} +1 -1
  173. package/fotbollskanalen/es/{index-B062g8iH.js → index-DkPVXiS0.js} +1 -1
  174. package/fotbollskanalen/es/index-Ij2nCGGh.js +1 -0
  175. package/fotbollskanalen/es/{index-BiQvWbga.js → index-KC0rcJ7D.js} +1 -1
  176. package/fotbollskanalen/es/index-OhJpwiv2.js +1 -0
  177. package/fotbollskanalen/es/index.d.ts +14 -6
  178. package/fotbollskanalen/es/index.js +1 -1
  179. package/fotbollskanalen/es/{styles-PUd99r1p.js → styles-BgMP0tAx.js} +1 -1
  180. package/fotbollskanalen/es/{styles-kIeF5Tee.js → styles-COp_WpR0.js} +1 -1
  181. package/fotbollskanalen/es/{styles-CYR96zEK.js → styles-CYoxh3-t.js} +1 -1
  182. package/fotbollskanalen/es/{styles-CqUKBxOa.js → styles-DWklkjVd.js} +1 -1
  183. package/fotbollskanalen/es/{styles-hbIy9al3.js → styles-M6SwPIOB.js} +1 -1
  184. package/godt/cjs/index.d.ts +14 -6
  185. package/godt/cjs/index.js +1 -1
  186. package/kilkaya/cjs/index.d.ts +12 -6
  187. package/kilkaya/cjs/index.js +1 -1
  188. package/kilkaya/es/index.d.ts +12 -6
  189. package/kilkaya/es/index.js +1 -1
  190. package/klart/cjs/index.d.ts +14 -6
  191. package/klart/cjs/index.js +1 -1
  192. package/koket/cjs/index.d.ts +14 -6
  193. package/koket/cjs/index.js +1 -1
  194. package/koket/es/_auto-entry_koket-3tgHdstd.js +1 -0
  195. package/koket/es/events-B1TMTz87.js +1 -0
  196. package/koket/es/{index-CJCSxpIT.js → index-B5PBFTA3.js} +1 -1
  197. package/koket/es/index-CfGWBNLF.js +1 -0
  198. package/koket/es/{index-CyHpFA0R.js → index-DEqbbLwQ.js} +1 -1
  199. package/koket/es/{index-BuYqePxS.js → index-DQAIFKwb.js} +1 -1
  200. package/koket/es/index-DSpgx1_U.js +1 -0
  201. package/koket/es/{index-CiNrNpCh.js → index-DdeJa-5b.js} +1 -1
  202. package/koket/es/{index-yZxvx-bT.js → index-Dk81CHNt.js} +1 -1
  203. package/koket/es/{index-CjQupFNS.js → index-On3BxtYc.js} +1 -1
  204. package/koket/es/index.d.ts +14 -6
  205. package/koket/es/index.js +1 -1
  206. package/koket/es/{styles-D4lGHCAj.js → styles-2N7JCBSK.js} +1 -1
  207. package/{svdv2/es/styles-20l0ZXp-.js → koket/es/styles-2iD_yEsD.js} +1 -1
  208. package/{svdv2/es/styles-DGs-Apb5.js → koket/es/styles-BUK-deOK.js} +1 -1
  209. package/koket/es/{styles-MHpJAgKy.js → styles-Bmy7u8FD.js} +1 -1
  210. package/koket/es/{styles-Bk2LqxJH.js → styles-CL0biSyD.js} +1 -1
  211. package/minmote/cjs/index.d.ts +14 -6
  212. package/minmote/cjs/index.js +1 -1
  213. package/mtv/es/{_auto-entry_mtv-B3cjM82G.js → _auto-entry_mtv-DCEFUvBr.js} +1 -1
  214. package/mtv/es/events-DxH68oDH.js +1 -0
  215. package/mtv/es/{index-Dmzvy7Ik.js → index-B6HjYflQ.js} +1 -1
  216. package/mtv/es/{index-DSI_fVUO.js → index-BAD0F7ZE.js} +1 -1
  217. package/mtv/es/{index-KJr93ura.js → index-BAMoZ2vZ.js} +1 -1
  218. package/mtv/es/{index-CB2gEQ-J.js → index-C3EI4ICI.js} +1 -1
  219. package/mtv/es/index-CT3lgloM.js +1 -0
  220. package/{tv4/es/index-DY_KbzcE.js → mtv/es/index-CYjmLZz7.js} +1 -1
  221. package/mtv/es/{index-Dbca8Wdz.js → index-Ccj7sOml.js} +1 -1
  222. package/mtv/es/index-DV_dfuSB.js +1 -0
  223. package/mtv/es/index.d.ts +14 -6
  224. package/mtv/es/index.js +1 -1
  225. package/mtv/es/{styles-BmP7USe-.js → styles-Cfoa2vM7.js} +1 -1
  226. package/omni/es/_auto-entry_omni-DiYOm9sB.js +1 -0
  227. package/omni/es/events-DMgm4BH-.js +1 -0
  228. package/omni/es/{index-B5HK22Vl.js → index-B2-V_KFy.js} +1 -1
  229. package/{tvnu/es/index-BYfYGSNg.js → omni/es/index-BHfhuhm8.js} +1 -1
  230. package/omni/es/{index-DeIz92Od.js → index-BZ0KgPjr.js} +1 -1
  231. package/omni/es/{index-azZyW1ts.js → index-DKW-oNyj.js} +1 -1
  232. package/omni/es/index-DRFR9yJ9.js +1 -0
  233. package/{sav2/es/index-BBYMFdN4.js → omni/es/index-Qk6STC9Q.js} +1 -1
  234. package/omni/es/{index-BYeRVmag.js → index-YQLzcuUZ.js} +1 -1
  235. package/omni/es/index-h0z2F5mn.js +1 -0
  236. package/omni/es/index.d.ts +14 -6
  237. package/omni/es/index.js +1 -1
  238. package/omni/es/{styles-5P3kLgDF.js → styles-BdBaTDGr.js} +1 -1
  239. package/omni/es/{styles-OyV9dOII.js → styles-CqDHTki0.js} +1 -1
  240. package/omni/es/{styles-B2m8oYtD.js → styles-Tkumo0Mc.js} +1 -1
  241. package/package.json +10 -10
  242. package/pent/cjs/index.d.ts +14 -6
  243. package/pent/cjs/index.js +1 -1
  244. package/{tracker → pulse}/cjs/index.d.ts +73 -67
  245. package/{tracker → pulse}/es/index.d.ts +73 -67
  246. package/sa/cjs/index.d.ts +14 -6
  247. package/sa/cjs/index.js +1 -1
  248. package/sa/es/_auto-entry_sa-ucdzu0GD.js +1 -0
  249. package/sa/es/events-B9pt8lBv.js +1 -0
  250. package/sa/es/{index-YBmHpWiF.js → index-BdboEP_G.js} +1 -1
  251. package/sa/es/{index-tU1ZiQ84.js → index-BkwWGZpq.js} +1 -1
  252. package/sa/es/index-CC532gi-.js +1 -0
  253. package/sa/es/{index-DjrN0SZA.js → index-CNR4GGpr.js} +1 -1
  254. package/sa/es/index-DAKkM1v8.js +1 -0
  255. package/{bt/es/index-DKXXF8LP.js → sa/es/index-DZyfMmyw.js} +1 -1
  256. package/sa/es/{index-JYy4qQG6.js → index-DecwI9h2.js} +1 -1
  257. package/sa/es/{index-BwYbEx4x.js → index-DqiiypwX.js} +1 -1
  258. package/sa/es/index.d.ts +14 -6
  259. package/sa/es/index.js +1 -1
  260. package/sa/es/{styles-BqdPsBYd.js → styles-0Vkb_nt3.js} +1 -1
  261. package/{vg/es/styles-oBIOt5yi.js → sa/es/styles-BP1Rt8RB.js} +1 -1
  262. package/{vg/es/styles-BftlUeQl.js → sa/es/styles-BR1IjsMG.js} +1 -1
  263. package/sa/es/{styles-h_zr_l4P.js → styles-BWpMXFQP.js} +1 -1
  264. package/sa/es/{styles-B-0aJxO5.js → styles-BnbwwBGN.js} +1 -1
  265. package/sa/es/{styles-B_F8cP4o.js → styles-BpB3LtL5.js} +1 -1
  266. package/sa/es/{styles-CDviFw25.js → styles-CJRjqtfg.js} +1 -1
  267. package/sa/es/{styles-DHMlzVqk.js → styles-CLcGiS9p.js} +1 -1
  268. package/sa/es/{styles-D-UU6pn-.js → styles-D-9DKq5u.js} +1 -1
  269. package/sa/es/{styles-C89JtUkk.js → styles-oFdSsf5x.js} +1 -1
  270. package/sav2/es/_auto-entry_sav2-DUcwBk3a.js +1 -0
  271. package/sav2/es/events-BtAwqF88.js +1 -0
  272. package/sav2/es/index-B783LyIl.js +1 -0
  273. package/sav2/es/{index-DcwVCopY.js → index-BnzO4uiy.js} +1 -1
  274. package/{omni/es/index-CjsV26d4.js → sav2/es/index-C1kAF7gq.js} +1 -1
  275. package/sav2/es/{index-ChVfVb8c.js → index-CQ7xhxVA.js} +1 -1
  276. package/sav2/es/{index-BjACVq8t.js → index-CgtAXXr5.js} +1 -1
  277. package/sav2/es/{index-C23z_Fdq.js → index-DUHSGbdP.js} +1 -1
  278. package/sav2/es/index-DtHEM7GF.js +1 -0
  279. package/{tvnu/es/index-9zzx0gCz.js → sav2/es/index-JTSv1BC5.js} +1 -1
  280. package/sav2/es/index.d.ts +14 -6
  281. package/sav2/es/index.js +1 -1
  282. package/{btv2/es/styles-B_dmaxLE.js → sav2/es/styles-B96uy1bA.js} +1 -1
  283. package/{vgv2/es/styles-DdWYCYVG.js → sav2/es/styles-BURK3VO1.js} +1 -1
  284. package/sav2/es/{styles-BDOtpcw6.js → styles-BZw_poms.js} +1 -1
  285. package/sav2/es/{styles-8a9zXaFT.js → styles-C2mkNi-v.js} +1 -1
  286. package/{btv2/es/styles-oQ-oCuDf.js → sav2/es/styles-COcmMEOL.js} +1 -1
  287. package/sav2/es/{styles-TjcJMIfU.js → styles-CUiEWYCz.js} +1 -1
  288. package/sav2/es/{styles-ufHG0oA7.js → styles-DZA0RiXA.js} +1 -1
  289. package/sav2/es/{styles-BdYV3edn.js → styles-Dxvfo-3H.js} +1 -1
  290. package/{vgv2/es/styles-BRaFX7WV.js → sav2/es/styles-ZVHwQJkg.js} +1 -1
  291. package/svd/cjs/index.d.ts +14 -6
  292. package/svd/cjs/index.js +1 -1
  293. package/svd/es/_auto-entry_svd-Ck1VEMVK.js +1 -0
  294. package/svd/es/events-COVpY30V.js +1 -0
  295. package/svd/es/{index-EeYKrIpw.js → index-BaKLHK-6.js} +1 -1
  296. package/svd/es/{index-8Ph4DfEH.js → index-C-B8mHd9.js} +1 -1
  297. package/svd/es/{index-qRGuRdwE.js → index-C68IVPvH.js} +1 -1
  298. package/svd/es/index-CpPzRBQ0.js +1 -0
  299. package/svd/es/{index-BH-0-UAm.js → index-DO7ecV-e.js} +1 -1
  300. package/{e24/es/index-C8tM3PuE.js → svd/es/index-DcMoKj47.js} +1 -1
  301. package/svd/es/{index-AeCqP2yF.js → index-DrmXKC6p.js} +1 -1
  302. package/svd/es/index-jDspcCFP.js +1 -0
  303. package/svd/es/index.d.ts +14 -6
  304. package/svd/es/index.js +1 -1
  305. package/svd/es/{styles-D3WtFJrl.js → styles-BoYyGhrG.js} +1 -1
  306. package/svd/es/{styles-B5eopUSV.js → styles-CP54RnGo.js} +1 -1
  307. package/svd/es/{styles-BOkVHh6p.js → styles-CsZrgxNv.js} +1 -1
  308. package/svd/es/{styles-D-LLlesE.js → styles-DOpYzwLc.js} +1 -1
  309. package/svd/es/{styles-DnyHMYOV.js → styles-DiKAUfvj.js} +1 -1
  310. package/svd/es/{styles-BChXpFwa.js → styles-HuEvzlpF.js} +1 -1
  311. package/svd/es/{styles-b5Mbel64.js → styles-KCbchyKn.js} +1 -1
  312. package/svdv2/es/_auto-entry_svdv2-B_L1Coag.js +1 -0
  313. package/svdv2/es/events-B2_U7OC1.js +1 -0
  314. package/svdv2/es/{index-Dw7hXBBy.js → index-Bi9yLp3P.js} +1 -1
  315. package/svdv2/es/{index-zYd4nbC3.js → index-CddOb8U1.js} +1 -1
  316. package/svdv2/es/{index-BXDYT3_1.js → index-CrCOVQ0H.js} +1 -1
  317. package/svdv2/es/index-CwmboBpq.js +1 -0
  318. package/svdv2/es/{index-B-AiFnZ_.js → index-D7B-hGgg.js} +1 -1
  319. package/svdv2/es/{index-CmbZidp2.js → index-D9B9N0eJ.js} +1 -1
  320. package/svdv2/es/{index-DLpvDR-I.js → index-DRHViYAD.js} +1 -1
  321. package/svdv2/es/index-QVXdfI5S.js +1 -0
  322. package/svdv2/es/index.d.ts +14 -6
  323. package/svdv2/es/index.js +1 -1
  324. package/svdv2/es/{styles-Ci4Nbw0U.js → styles-B_Kve0Qi.js} +1 -1
  325. package/{koket/es/styles-CaOTkmnD.js → svdv2/es/styles-BqFJHkS3.js} +1 -1
  326. package/svdv2/es/{styles-C6NxggPn.js → styles-BrjW0wgx.js} +1 -1
  327. package/svdv2/es/{styles-BJvoH6Jk.js → styles-Bv8MNJdE.js} +1 -1
  328. package/{koket/es/styles-CJJn5fT9.js → svdv2/es/styles-CPRKf9nj.js} +1 -1
  329. package/svdv2/es/{styles-BH67mOg3.js → styles-D-ZuBJFL.js} +1 -1
  330. package/svdv2/es/{styles-DOO5Er36.js → styles-cRhOMQxG.js} +1 -1
  331. package/svdv2/es/{styles-CHpGV0wA.js → styles-zwn7pUid.js} +1 -1
  332. package/tek/cjs/index.d.ts +14 -6
  333. package/tek/cjs/index.js +1 -1
  334. package/tv4/cjs/index.d.ts +14 -6
  335. package/tv4/cjs/index.js +1 -1
  336. package/tv4/es/_auto-entry_tv4-BWewdI2J.js +1 -0
  337. package/tv4/es/events-Dks_W8aT.js +1 -0
  338. package/tv4/es/{index-BMT26b41.js → index-BTSJViQy.js} +1 -1
  339. package/tv4/es/{index-CvsR27tZ.js → index-CDYc1vT1.js} +1 -1
  340. package/tv4/es/index-CKRaPiHU.js +1 -0
  341. package/tv4/es/index-D-cgB-Qv.js +1 -0
  342. package/{mtv/es/index-3eJV2uf4.js → tv4/es/index-D4un3a4_.js} +1 -1
  343. package/tv4/es/{index-DwQGPNxM.js → index-Dm6HZPPJ.js} +1 -1
  344. package/tv4/es/{index-Xw6gVmp3.js → index-DncCBxyr.js} +1 -1
  345. package/tv4/es/{index-E2lf1BUb.js → index-QfZ1yDKX.js} +1 -1
  346. package/tv4/es/index.d.ts +14 -6
  347. package/tv4/es/index.js +1 -1
  348. package/tv4/es/{styles-Ctd-ZhYW.js → styles-Be20SQxQ.js} +1 -1
  349. package/{e24/es/styles-MloIpb_Z.js → tv4/es/styles-CI-zLM5m.js} +1 -1
  350. package/tv4/es/{styles-C04Zu8QC.js → styles-CQeRAogO.js} +1 -1
  351. package/tv4/es/{styles-dezj9l9t.js → styles-CS6EwYj9.js} +1 -1
  352. package/tv4/es/{styles-lCSubF4z.js → styles-DA9QaBiB.js} +1 -1
  353. package/tvnu/cjs/index.d.ts +14 -6
  354. package/tvnu/cjs/index.js +1 -1
  355. package/tvnu/es/_auto-entry_tvnu-qU7WnhRl.js +1 -0
  356. package/tvnu/es/events-C41LfSUd.js +1 -0
  357. package/{omni/es/index-C6VmXAJr.js → tvnu/es/index-8UcLg3fF.js} +1 -1
  358. package/tvnu/es/{index-DxcZwOdu.js → index-BDhDw0n8.js} +1 -1
  359. package/tvnu/es/index-C5wK_iuc.js +1 -0
  360. package/{btv2/es/index-CAmnFTcf.js → tvnu/es/index-CUYn_8le.js} +1 -1
  361. package/tvnu/es/{index-CFiCKgVo.js → index-DGim-Ymn.js} +1 -1
  362. package/tvnu/es/{index-OazPvFTJ.js → index-DLOLNdW1.js} +1 -1
  363. package/tvnu/es/{index-C5hTShPW.js → index-DuY8DiPV.js} +1 -1
  364. package/tvnu/es/index-cJgbtogX.js +1 -0
  365. package/tvnu/es/index.d.ts +14 -6
  366. package/tvnu/es/index.js +1 -1
  367. package/tvnu/es/{styles-BDIRHptp.js → styles-9v98_12Z.js} +1 -1
  368. package/tvnu/es/{styles-Cmst0_AX.js → styles-BZSG1wSv.js} +1 -1
  369. package/tvnu/es/{styles-C8-5xecc.js → styles-CVpVuXGM.js} +1 -1
  370. package/{btv2/es/styles-wKCi4pBU.js → tvnu/es/styles-vWn7lrpp.js} +1 -1
  371. package/types/index.d.ts +14 -6
  372. package/vg/cjs/index.d.ts +14 -6
  373. package/vg/cjs/index.js +1 -1
  374. package/vg/es/_auto-entry_vg-nT8CYeFA.js +1 -0
  375. package/vg/es/events-Ce-3oCAR.js +1 -0
  376. package/vg/es/{index-C_4WJjcD.js → index--qIDvYhQ.js} +1 -1
  377. package/vg/es/{index-B1W-5bVk.js → index-B1wv1t3G.js} +1 -1
  378. package/vg/es/{index-BHzyngn6.js → index-CZbmC7Ja.js} +1 -1
  379. package/vg/es/{index-dtOp4Ft_.js → index-CjHCSG0t.js} +1 -1
  380. package/vg/es/{index-BRtI2l1B.js → index-DBo7tyHP.js} +1 -1
  381. package/vg/es/{index-DmMlC8yI.js → index-DEn_H7Hl.js} +1 -1
  382. package/vg/es/{index-Cq6BvtL_.js → index-DYVf_ejx.js} +1 -1
  383. package/vg/es/index-pO5JZYdy.js +1 -0
  384. package/vg/es/index.d.ts +14 -6
  385. package/vg/es/index.js +1 -1
  386. package/vg/es/{styles-3vINy5hq.js → styles-4e380VkF.js} +1 -1
  387. package/vg/es/{styles-C0TalB3F.js → styles-B2xZdw65.js} +1 -1
  388. package/vg/es/{styles-D4eGgyZx.js → styles-BJbgNH0L.js} +1 -1
  389. package/vg/es/{styles-C3VlGdBE.js → styles-BQJhpR4p.js} +1 -1
  390. package/vg/es/{styles-CuM4XL4r.js → styles-BVTSl43k.js} +1 -1
  391. package/{sa/es/styles-Dr725TOe.js → vg/es/styles-BWXLJkUe.js} +1 -1
  392. package/vg/es/{styles-B2_Ei2-8.js → styles-Bcw8IOwy.js} +1 -1
  393. package/vg/es/{styles-BMzmUOJN.js → styles-CJvfJnuD.js} +1 -1
  394. package/vg/es/{styles-FCeEywSP.js → styles-ChZ3sq55.js} +1 -1
  395. package/vg/es/{styles-BynvHO9c.js → styles-CofOhUt1.js} +1 -1
  396. package/vg/es/{styles-D5X2JwN6.js → styles-DU1TRHOr.js} +1 -1
  397. package/vg/es/{styles-DtXm-Ref.js → styles-DbtcxxqK.js} +1 -1
  398. package/vg/es/{styles-Ctk7QEVg.js → styles-DsmKO01b.js} +1 -1
  399. package/vg/es/{styles-BRmjwW06.js → styles-R-LSxDrz.js} +1 -1
  400. package/vg/es/{styles-Ca-_g_6k.js → styles-ZIVjd7Kj.js} +1 -1
  401. package/{bt/es/styles-DATz2nfg.js → vg/es/styles-sUHuRG9Y.js} +1 -1
  402. package/vgv2/es/_auto-entry_vgv2-STK09567.js +1 -0
  403. package/vgv2/es/events-CTEuqItr.js +1 -0
  404. package/vgv2/es/{index-xGSpaSdE.js → index-CKv_J9qN.js} +1 -1
  405. package/vgv2/es/index-CaGXaBIE.js +1 -0
  406. package/vgv2/es/index-CnQNMS2u.js +1 -0
  407. package/vgv2/es/{index-CafbPF86.js → index-CpfXzBbX.js} +1 -1
  408. package/vgv2/es/{index-ApiYb4Jt.js → index-D1vocHKf.js} +1 -1
  409. package/vgv2/es/{index-ClLzNthF.js → index-DOzk-lYH.js} +1 -1
  410. package/vgv2/es/{index-C-vtYSIl.js → index-Dq37qrh_.js} +1 -1
  411. package/vgv2/es/{index-CHpRUEKy.js → index-SfU1VkhH.js} +1 -1
  412. package/vgv2/es/index.d.ts +14 -6
  413. package/vgv2/es/index.js +1 -1
  414. package/vgv2/es/{styles-D0HFCOfi.js → styles--V_VVpJ8.js} +1 -1
  415. package/vgv2/es/{styles-DH1S9E-P.js → styles-B3MDBJKG.js} +1 -1
  416. package/vgv2/es/{styles-XevVA7vP.js → styles-C24lCY9K.js} +1 -1
  417. package/{sav2/es/styles-DG_UYGmv.js → vgv2/es/styles-C65hTDSa.js} +1 -1
  418. package/vgv2/es/{styles-BsM7FFsM.js → styles-CICOgIpG.js} +1 -1
  419. package/vgv2/es/{styles-jcmV6KpN.js → styles-CXo6pHfv.js} +1 -1
  420. package/vgv2/es/{styles-DHYmekJh.js → styles-CfUB5ZeY.js} +1 -1
  421. package/{btv2/es/styles-CJqhpmvB.js → vgv2/es/styles-CmSgk5EQ.js} +1 -1
  422. package/vgv2/es/{styles-Xi9QM1Ib.js → styles-CnDSdYK5.js} +1 -1
  423. package/vgv2/es/{styles-sUixzFmN.js → styles-D8AbbwMs.js} +1 -1
  424. package/vgv2/es/{styles-B3tp8X5j.js → styles-DesI8c5n.js} +1 -1
  425. package/vgv2/es/{styles-DRZLQWC9.js → styles-DjDLo0Uv.js} +1 -1
  426. package/{tvnu/es/styles-CdRqPKMc.js → vgv2/es/styles-DqR1rfSj.js} +1 -1
  427. package/vgv2/es/{styles-C-KCy1Kj.js → styles-UT2XT9Ar.js} +1 -1
  428. package/vgv2/es/styles-Uf8_10Aw.js +1 -0
  429. package/vgv2/es/{styles-DORfMAqC.js → styles-ymhcL2FI.js} +1 -1
  430. package/aftenposten/es/_auto-entry_aftenposten-b0y6e9cl.js +0 -1
  431. package/aftenposten/es/events-DPNnYlfA.js +0 -1
  432. package/aftenposten/es/index-CN2oVSgJ.js +0 -1
  433. package/aftenposten/es/index-DHc_dP2Z.js +0 -1
  434. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BLiPUAZ4.js +0 -1
  435. package/aftenpostenv2/es/events-DvmFMPMT.js +0 -1
  436. package/aftenpostenv2/es/index-3Qxcwyk4.js +0 -1
  437. package/aftenpostenv2/es/index-CYSeTeEv.js +0 -1
  438. package/aftonbladet/es/_auto-entry_aftonbladet-Bjlb4roy.js +0 -1
  439. package/aftonbladet/es/events-BajOdJr2.js +0 -1
  440. package/aftonbladet/es/index-BrjN2etN.js +0 -1
  441. package/aftonbladet/es/index-Cmwj6Oyf.js +0 -1
  442. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-Bm4ucKUa.js +0 -1
  443. package/aftonbladetv2/es/events-BoHrcmNf.js +0 -1
  444. package/aftonbladetv2/es/index-D2cSv_ZE.js +0 -1
  445. package/aftonbladetv2/es/index-XIy7hYZP.js +0 -1
  446. package/bt/es/_auto-entry_bt-DZ1dqndN.js +0 -1
  447. package/bt/es/events-tSdmJX0c.js +0 -1
  448. package/bt/es/index-XfeF_trd.js +0 -1
  449. package/bt/es/index-lKXFyrjV.js +0 -1
  450. package/btv2/es/_auto-entry_btv2-DHXIwMdb.js +0 -1
  451. package/btv2/es/events-Dy3xkIfQ.js +0 -1
  452. package/btv2/es/index-D1XmRKBk.js +0 -1
  453. package/btv2/es/index-DiDbJpSB.js +0 -1
  454. package/e24/es/_auto-entry_e24-Ccim4RT9.js +0 -1
  455. package/e24/es/events-Dsfcuo7x.js +0 -1
  456. package/e24/es/index-DllTZl0h.js +0 -1
  457. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-Bmf_9elh.js +0 -1
  458. package/fotbollskanalen/es/events-Cpw3ehR3.js +0 -1
  459. package/fotbollskanalen/es/index-Bs07rQzu.js +0 -1
  460. package/fotbollskanalen/es/index-CtOzQCgD.js +0 -1
  461. package/koket/es/_auto-entry_koket-BX9WzHD2.js +0 -1
  462. package/koket/es/events-Dp2GC5Vw.js +0 -1
  463. package/koket/es/index-BcMo8ZRV.js +0 -1
  464. package/koket/es/index-DGiTI497.js +0 -1
  465. package/mtv/es/events-DKT9xuzN.js +0 -1
  466. package/mtv/es/index-DRw9YeDg.js +0 -1
  467. package/mtv/es/index-DvOGa6J_.js +0 -1
  468. package/omni/es/_auto-entry_omni-h74CS6jz.js +0 -1
  469. package/omni/es/events-DGa3i45v.js +0 -1
  470. package/omni/es/index-CiPdtUk_.js +0 -1
  471. package/omni/es/index-D-UZw0Ix.js +0 -1
  472. package/sa/es/_auto-entry_sa-DtF0Jp_m.js +0 -1
  473. package/sa/es/events-t6Dioh-2.js +0 -1
  474. package/sa/es/index-B2H4G3ec.js +0 -1
  475. package/sa/es/index-DGgiXu9v.js +0 -1
  476. package/sav2/es/_auto-entry_sav2-B988cMVA.js +0 -1
  477. package/sav2/es/events-BH3lVEmT.js +0 -1
  478. package/sav2/es/index-DG0pgqM3.js +0 -1
  479. package/sav2/es/index-oDkS5sGI.js +0 -1
  480. package/svd/es/_auto-entry_svd-B3OGyfzI.js +0 -1
  481. package/svd/es/events-DRX-i4s2.js +0 -1
  482. package/svd/es/index-DykSatgR.js +0 -1
  483. package/svd/es/index-wtkCMbUC.js +0 -1
  484. package/svdv2/es/_auto-entry_svdv2-f1IlGTNa.js +0 -1
  485. package/svdv2/es/events-CXtnujik.js +0 -1
  486. package/svdv2/es/index-DJM2OdYx.js +0 -1
  487. package/svdv2/es/index-a1M3M8Wp.js +0 -1
  488. package/tv4/es/_auto-entry_tv4-CQCQFWRY.js +0 -1
  489. package/tv4/es/events-CpiHfOZJ.js +0 -1
  490. package/tv4/es/index-DBPML9U9.js +0 -1
  491. package/tv4/es/index-KoUFIm4v.js +0 -1
  492. package/tvnu/es/_auto-entry_tvnu-Dlrnxn0a.js +0 -1
  493. package/tvnu/es/events-DTV23Jiy.js +0 -1
  494. package/tvnu/es/index-CkKHFPG2.js +0 -1
  495. package/tvnu/es/index-vqrL4y93.js +0 -1
  496. package/vg/es/_auto-entry_vg-DxRZkQt7.js +0 -1
  497. package/vg/es/events-BpqeJPlQ.js +0 -1
  498. package/vg/es/index-446mhKqk.js +0 -1
  499. package/vgv2/es/_auto-entry_vgv2-DXKn5yIm.js +0 -1
  500. package/vgv2/es/events-BFEoOcat.js +0 -1
  501. package/vgv2/es/index-9Lax4_hx.js +0 -1
  502. package/vgv2/es/index-BgS-z4vY.js +0 -1
  503. package/vgv2/es/styles-eIQqqEL1.js +0 -1
  504. /package/{tracker → pulse}/cjs/index.js +0 -0
  505. /package/{tracker → pulse}/es/index.js +0 -0
@@ -0,0 +1 @@
1
+ import{o as t,H as e,c as s,I as r,f as a,A as n,J as i,K as o,L as c,M as l}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";class d extends t{constructor(t,e){var s;super(t.pulse.instance,null!==(s=t.pageContext.publisher)&&void 0!==s?s:""),this.blinkParams=t,this.targetId=e}getTargetId(){return this.targetId}computeInvCode(){const{pageContext:{deviceType:t},placements:s}=this.blinkParams;if(t)return e(t,this.targetId,s)}buildAdObject(){const t=d.extractAdFormat(this.targetId);return{objectId:this.targetId,objectSdrn:`sdrn:${this.publisher}:ad-slot:${t}`,platform:"blink",adFormat:t}}}const u=(t,e)=>{const{siteSpecificConfig:{publisherClassName:o}={},pageContext:{pageType:c},pulse:l}=s.get(),u=document.querySelector(`#${t}`);if(!u)return;if(u.classList.add(r),(null==l?void 0:l.instance)&&l.adTrackingEnabled){const e=new d(s.get(),t);e.trackLoad(),e.trackImpression(),u.addEventListener("click",()=>e.trackEngagement())}a(o,u,n.FINN_BLINK,null!=e?e:c);i({preferredTestIdData:{targetId:t,testId:"finn"}})},p=t=>{const{fullscreenScroll:e}=s.get(),{initNativeAd:r}=s.getHandlers();o(t)&&c(t,e),l(t)&&(null==r||r(t,s.get()))},g=t=>{const{pageContext:{publisher:e=""}}=s.get(),r=document.querySelector(`#${t}`);if(!r)return;const a=`-${e}`;r.classList.remove(`advertory${a}-finn-blink`),r.classList.remove(`advertory${a}-finn-blink-wrapper`)};export{p as displaySpecialFormatsForFinnFallback,u as finnBlinkLoaded,g as xandrAdLoaded};
@@ -1 +1 @@
1
- import{i as n,_ as e,c as i,l as t,g as o,a as r,b as d,d as l,h as a,e as s,u as c,f as u,A as f,s as v}from"./_auto-entry_mtv-B3cjM82G.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-DKT9xuzN.js";import"react/jsx-runtime";n('.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 y={Blink:"Blink"},h=new Map,g=n=>{var e;if(!h.has(n)){const e=import(/* webpackIgnore: true */n).then(n=>(n=>{for(const[e,i]of Object.entries(y)){const t=n[e];null!=t&&(window[i]=t)}})(n)).catch(e=>{throw h.delete(n),e});h.set(n,e)}return null!==(e=h.get(n))&&void 0!==e?e:Promise.resolve()},b="https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js",k=n=>{var e,i;const t=document.querySelector(`[id^="${n}"]`);return null!==(i=null===(e=null==t?void 0:t.dataset)||void 0===e?void 0:e.finnBlinkId)&&void 0!==i?i:n},$=(n,e)=>{const{finnBlink:{enabled:t}={}}=i.get(),o=(null==e?void 0:e.enabled)||(n=>{var e;const i=document.querySelector(`[id^="${n}"]`);return!!(null===(e=null==i?void 0:i.dataset)||void 0===e?void 0:e.noBidAd)})(n);if(!o||!t)return null;const{height:r,requireImage:d,position:l,offset:a}=(null==e?void 0:e.sdkPayload)||{};return{selector:`#${k(n)}`,enabled:o,position:null!=l?l:n,height:null!=r?r:100,offset:null!=a?a:200,requireImage:d,advertoryTheme:null==e?void 0:e.advertoryTheme}},w=(n,a,s)=>e(void 0,void 0,void 0,function*(){const{placements:c,pageContext:{deviceType:u},appearanceConfig:f}=i.get();t(`rendering finn blink ad for ${n}`);const v=o(n),h=c[u].find(n=>n.targetId===v),g=$(n,null==h?void 0:h.finnBlink);if(!(null==g?void 0:g.enabled))return t(`Finn blink is not enabled on placement: ${n}`),s&&s(n),void p(n);if((n=>{var e;const i=k(n),t=document.querySelector(`[id^="${i}"]`);return!!(null===(e=null==t?void 0:t.classList)||void 0===e?void 0:e.contains("finn"))})(n))return void t(`Finn blink already loaded ${n}`);const{publisher:b,countryCode:w,finnBlink:C}=a,{sdkPayload:{channel:x}={}}=null!=C?C:{},I=null!=x?x:`${b}.${w}`,j="dark"===(null==f?void 0:f.theme)?"dark":"light";try{const n=yield r();yield(B=Object.assign(Object.assign({},g),{channel:I,userId:n,theme:j}),e(void 0,void 0,void 0,function*(){const{userId:n,theme:e}=B,i=l(B,["userId","theme"]),t=window[y.Blink];if(!t)return;const o=new t({remote:"https://www.finn.no/distribution-front/external/carousel",userId:n,theme:e});yield o.inject(Object.assign({},i))})),m(g.selector.replace("#",""),g.advertoryTheme)}catch(e){t(`Finn blink error ${e}`),s&&s(n),!s&&d(n),p(n)}var B}),C=()=>e(void 0,void 0,void 0,function*(){const{tcf:n,pageContext:{isMobileApp:e,countryCode:o}}=i.get();return!!(yield a(n,e,o,"finn-blink"))||(t("Skip loading finn blink ad due to missing TCF consent."),!1)}),x=(n,o,r,l)=>e(void 0,void 0,void 0,function*(){const{pageContext:{isMobileApp:e}}=i.get();if(t(`loadFinnBlinkAd: loading finn blink ad for ${n}`),!(yield C())||e)return r&&r(n),p(n),void(!r&&d(n));try{yield g(b)}catch(n){console.error(n)}yield w(n,o,r),l&&l()}),I=(n,e)=>{var i;(t(`Appending ${e.id} after ${n.id}`),n.parentElement&&(i=n.parentElement,!Array.from(i.children).some(n=>n.classList.contains("advertory-finn-blink-wrapper"))))?(n.parentElement.style.display="none",n.parentElement.insertAdjacentElement("afterend",e)):t(`Cannot perform afterend on: ${n.id}`)},j=(n,o)=>e(void 0,void 0,void 0,function*(){var e,r;if(!o)return;const{replacementConfig:d}=o,l=null===(e=null==d?void 0:d.adsToReplace)||void 0===e?void 0:e[n],a=null===(r=null==d?void 0:d.sizes)||void 0===r?void 0:r[n];s()&&l&&a?(yield C())&&(yield g(b),l.forEach(([n,e])=>{const o=document.querySelector(`[id^="${n}"]`);if(!o)return;const r=(n=>{const{siteSpecificConfig:{publisherClassName:e}={}}=i.get(),o=document.createElement("div"),r=document.createElement("div");return r.id=n,o.appendChild(r),u(e,r,f.FINN_BLINK),t(`Creating blink container for: ${n}`),o})(e);(n=>{t(`Hiding old ad container: ${n.id}`),n.style.setProperty("display","none","important")})(o),I(o,r),o.dataset.finnBlinkId=e,c().withFullAdsChain(n)})):t(`Finn blink configuration is incorrect: ${JSON.stringify(d)}`)}),B=n=>document.querySelector(`#${n}`),A=n=>e(void 0,void 0,void 0,function*(){if(!n.length)return;const{appearanceConfig:e,pageContext:{deviceType:t}}=i.get(),o=null==e?void 0:e.defaultThreshold[t];for(const e of n){const{requestThreshold:n,targetId:i}=e,t=B(i);t&&(yield v(t,null!=n?n:o))}});export{A as handleFinnBlinkOnlyPlacements,x as loadFinnBlinkAd,j as replaceAdsWithFinnBlink};
1
+ import{i as n,_ as e,c as i,l as t,g as o,a as r,b as d,d as l,h as a,e as s,u as c,f as u,A as f,s as v}from"./_auto-entry_mtv-DCEFUvBr.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-DxH68oDH.js";import"react/jsx-runtime";n('.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 y={Blink:"Blink"},h=new Map,g=n=>{var e;if(!h.has(n)){const e=import(/* webpackIgnore: true */n).then(n=>(n=>{for(const[e,i]of Object.entries(y)){const t=n[e];null!=t&&(window[i]=t)}})(n)).catch(e=>{throw h.delete(n),e});h.set(n,e)}return null!==(e=h.get(n))&&void 0!==e?e:Promise.resolve()},b="https://assets.finn.no/pkg/distribution-fixed/v1/FINNExternalDistribution.modern.js",k=n=>{var e,i;const t=document.querySelector(`[id^="${n}"]`);return null!==(i=null===(e=null==t?void 0:t.dataset)||void 0===e?void 0:e.finnBlinkId)&&void 0!==i?i:n},$=(n,e)=>{const{finnBlink:{enabled:t}={}}=i.get(),o=(null==e?void 0:e.enabled)||(n=>{var e;const i=document.querySelector(`[id^="${n}"]`);return!!(null===(e=null==i?void 0:i.dataset)||void 0===e?void 0:e.noBidAd)})(n);if(!o||!t)return null;const{height:r,requireImage:d,position:l,offset:a}=(null==e?void 0:e.sdkPayload)||{};return{selector:`#${k(n)}`,enabled:o,position:null!=l?l:n,height:null!=r?r:100,offset:null!=a?a:200,requireImage:d,advertoryTheme:null==e?void 0:e.advertoryTheme}},w=(n,a,s)=>e(void 0,void 0,void 0,function*(){const{placements:c,pageContext:{deviceType:u},appearanceConfig:f}=i.get();t(`rendering finn blink ad for ${n}`);const v=o(n),h=c[u].find(n=>n.targetId===v),g=$(n,null==h?void 0:h.finnBlink);if(!(null==g?void 0:g.enabled))return t(`Finn blink is not enabled on placement: ${n}`),s&&s(n),void p(n);if((n=>{var e;const i=k(n),t=document.querySelector(`[id^="${i}"]`);return!!(null===(e=null==t?void 0:t.classList)||void 0===e?void 0:e.contains("finn"))})(n))return void t(`Finn blink already loaded ${n}`);const{publisher:b,countryCode:w,finnBlink:C}=a,{sdkPayload:{channel:x}={}}=null!=C?C:{},I=null!=x?x:`${b}.${w}`,j="dark"===(null==f?void 0:f.theme)?"dark":"light";try{const n=yield r();yield(B=Object.assign(Object.assign({},g),{channel:I,userId:n,theme:j}),e(void 0,void 0,void 0,function*(){const{userId:n,theme:e}=B,i=l(B,["userId","theme"]),t=window[y.Blink];if(!t)return;const o=new t({remote:"https://www.finn.no/distribution-front/external/carousel",userId:n,theme:e});yield o.inject(Object.assign({},i))})),m(g.selector.replace("#",""),g.advertoryTheme)}catch(e){t(`Finn blink error ${e}`),s&&s(n),!s&&d(n),p(n)}var B}),C=()=>e(void 0,void 0,void 0,function*(){const{tcf:n,pageContext:{isMobileApp:e,countryCode:o}}=i.get();return!!(yield a(n,e,o,"finn-blink"))||(t("Skip loading finn blink ad due to missing TCF consent."),!1)}),x=(n,o,r,l)=>e(void 0,void 0,void 0,function*(){const{pageContext:{isMobileApp:e}}=i.get();if(t(`loadFinnBlinkAd: loading finn blink ad for ${n}`),!(yield C())||e)return r&&r(n),p(n),void(!r&&d(n));try{yield g(b)}catch(n){console.error(n)}yield w(n,o,r),l&&l()}),I=(n,e)=>{var i;(t(`Appending ${e.id} after ${n.id}`),n.parentElement&&(i=n.parentElement,!Array.from(i.children).some(n=>n.classList.contains("advertory-finn-blink-wrapper"))))?(n.parentElement.style.display="none",n.parentElement.insertAdjacentElement("afterend",e)):t(`Cannot perform afterend on: ${n.id}`)},j=(n,o)=>e(void 0,void 0,void 0,function*(){var e,r;if(!o)return;const{replacementConfig:d}=o,l=null===(e=null==d?void 0:d.adsToReplace)||void 0===e?void 0:e[n],a=null===(r=null==d?void 0:d.sizes)||void 0===r?void 0:r[n];s()&&l&&a?(yield C())&&(yield g(b),l.forEach(([n,e])=>{const o=document.querySelector(`[id^="${n}"]`);if(!o)return;const r=(n=>{const{siteSpecificConfig:{publisherClassName:e}={}}=i.get(),o=document.createElement("div"),r=document.createElement("div");return r.id=n,o.appendChild(r),u(e,r,f.FINN_BLINK),t(`Creating blink container for: ${n}`),o})(e);(n=>{t(`Hiding old ad container: ${n.id}`),n.style.setProperty("display","none","important")})(o),I(o,r),o.dataset.finnBlinkId=e,c().withFullAdsChain(n)})):t(`Finn blink configuration is incorrect: ${JSON.stringify(d)}`)}),B=n=>document.querySelector(`#${n}`),A=n=>e(void 0,void 0,void 0,function*(){if(!n.length)return;const{appearanceConfig:e,pageContext:{deviceType:t}}=i.get(),o=null==e?void 0:e.defaultThreshold[t];for(const e of n){const{requestThreshold:n,targetId:i}=e,t=B(i);t&&(yield v(t,null!=n?n:o))}});export{A as handleFinnBlinkOnlyPlacements,x as loadFinnBlinkAd,j as replaceAdsWithFinnBlink};
@@ -1 +1 @@
1
- import{c as t,K as e,l as n}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const i=(t,e)=>{e.left&&(t.style.left=e.left),e.marginLeft&&(t.style.marginLeft=e.marginLeft)},l=(n,l,r)=>{var o,a;const d=document.querySelector(`#${n.targetId}`),{siteSpecificConfig:{publisherClassName:s,fullWidthFormatClassName:u}={},fullWidth:c,pageContext:{deviceType:f}}=t.get();if(!d)return null;const p=d.parentElement,m=e(f)||r;if(d.style.width=m?"100vw":"100%",d.style.position="relative",p&&(p.style.width=m?"100vw":"100%",p.style.position="relative"),s&&u){const t=`advertory-${s}-${u}`;d.classList.add(`${t}__${l}`),null==p||p.classList.add(`${t}-wrapper__${l}`)}const v=null===(a=null===(o=null==c?void 0:c.options)||void 0===o?void 0:o.styles)||void 0===a?void 0:a[f],y=(null==c?void 0:c.enabled)&&v;return!y&&p&&m&&(p.style.left="50%",p.style.marginLeft="-50vw"),y&&v.adContainer&&i(d,v.adContainer),y&&v.adContainerWrapper&&p&&i(p,v.adContainerWrapper),d},r=(t,e,i,r,o)=>{var a;const d=l(t,r,o);if(!d)return void n("[Ad full width] adContainer not found");const s=d.querySelector("iframe"),u=null==s?void 0:s.parentElement;if(!s||!u)return void n("[Ad full width] iframe or iframeWrapper not found");const c=parseFloat(window.getComputedStyle(d,"::before").height)||0,f="undefined"!=typeof CSS&&CSS.supports("transform","scale(calc(100vw / 1080px))")?`calc(100vw / ${e}px)`:String((null===(a=null===document||void 0===document?void 0:document.documentElement)||void 0===a?void 0:a.clientWidth)/e);n(`[Ad full width] ratioWidth ${e}, ratioHeight ${i}, adObjWidth: ${t.width}, scaleFactor ${f}`),u.style.transform=`scale(${f})`,u.style.transformOrigin="left top",d.style.height=`calc(100vw / ${e} * ${i} + ${c}px)`},o=n=>{const i=l(n,"fullwidth-ad",!1);if(!i)return;const r=i.querySelector("iframe");if(!r)return;const{deviceType:o}=t.get().pageContext;r.style.width=e(o)?"100vw":"100%",(null==r?void 0:r.parentElement)&&(r.parentElement.style.width=e(o)?"100vw":"100%")},a=t=>{r(t,1080,1920,"ninesixteen-ad",!0)},d=t=>{r(t,1080,1080,"fullsquare-ad",!0)};export{d as applyFullsquareFormat,o as applyFullwidthFormat,a as applyNinesixteenFormat};
1
+ import{c as t,O as e,l as n}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";const i=(t,e)=>{e.left&&(t.style.left=e.left),e.marginLeft&&(t.style.marginLeft=e.marginLeft)},l=(n,l,r)=>{var o,a;const d=document.querySelector(`#${n.targetId}`),{siteSpecificConfig:{publisherClassName:s,fullWidthFormatClassName:u}={},fullWidth:c,pageContext:{deviceType:f}}=t.get();if(!d)return null;const p=d.parentElement,m=e(f)||r;if(d.style.width=m?"100vw":"100%",d.style.position="relative",p&&(p.style.width=m?"100vw":"100%",p.style.position="relative"),s&&u){const t=`advertory-${s}-${u}`;d.classList.add(`${t}__${l}`),null==p||p.classList.add(`${t}-wrapper__${l}`)}const v=null===(a=null===(o=null==c?void 0:c.options)||void 0===o?void 0:o.styles)||void 0===a?void 0:a[f],y=(null==c?void 0:c.enabled)&&v;return!y&&p&&m&&(p.style.left="50%",p.style.marginLeft="-50vw"),y&&v.adContainer&&i(d,v.adContainer),y&&v.adContainerWrapper&&p&&i(p,v.adContainerWrapper),d},r=(t,e,i,r,o)=>{var a;const d=l(t,r,o);if(!d)return void n("[Ad full width] adContainer not found");const s=d.querySelector("iframe"),u=null==s?void 0:s.parentElement;if(!s||!u)return void n("[Ad full width] iframe or iframeWrapper not found");const c=parseFloat(window.getComputedStyle(d,"::before").height)||0,f="undefined"!=typeof CSS&&CSS.supports("transform","scale(calc(100vw / 1080px))")?`calc(100vw / ${e}px)`:String((null===(a=null===document||void 0===document?void 0:document.documentElement)||void 0===a?void 0:a.clientWidth)/e);n(`[Ad full width] ratioWidth ${e}, ratioHeight ${i}, adObjWidth: ${t.width}, scaleFactor ${f}`),u.style.transform=`scale(${f})`,u.style.transformOrigin="left top",d.style.height=`calc(100vw / ${e} * ${i} + ${c}px)`},o=n=>{const i=l(n,"fullwidth-ad",!1);if(!i)return;const r=i.querySelector("iframe");if(!r)return;const{deviceType:o}=t.get().pageContext;r.style.width=e(o)?"100vw":"100%",(null==r?void 0:r.parentElement)&&(r.parentElement.style.width=e(o)?"100vw":"100%")},a=t=>{r(t,1080,1920,"ninesixteen-ad",!0)},d=t=>{r(t,1080,1080,"fullsquare-ad",!0)};export{d as applyFullsquareFormat,o as applyFullwidthFormat,a as applyNinesixteenFormat};
@@ -1 +1 @@
1
- import{_ as t,c as e,h as o,j as n,C as s}from"./_auto-entry_mtv-B3cjM82G.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,h as o,j as n,C as s}from"./_auto-entry_mtv-DCEFUvBr.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 +1 @@
1
- import{L as e,M as t,O as n,c as r,P as o,S as i,Q as d}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const s=(e,t)=>{const n=e.width,r=(null!=t?t:window.screen.width)/n;return r<1?r:1},l=(e,t=window.screen.width,n,r)=>{const o=s(e,t);if(n&&n(e,o),r)return void r(e);const i=document.querySelector(`iframe[id^="utif_${e.targetId}"]`);i&&(i.style.transform=`scale(${o})`,i.style.transformOrigin="left top")},c=(e,t)=>{if(e&&t)return t/e},a=new Map;a.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),a.set("panorama",{scale:.79,transformOrigin:"center center"}),a.set("outstream",{scale:.79,transformOrigin:"center center"}),a.set("integration",{scale:.79,transformOrigin:"center center"}),a.set("toppanorama",{scale:.8,transformOrigin:"left center"});const u=r=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>e&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=t))return;var o,i;const d=n(r),s=a.get(d),l=document.querySelector(`#${r.targetId}`);if(!l||!s)return;if(l.style.transformOrigin=s.transformOrigin,l.style.transform=`scale(${s.scale})`,!(null==s?void 0:s.cogwheelAdjust))return;const c=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${r.targetId}"]`),u=null==l?void 0:l.offsetWidth;c&&"number"==typeof u&&!isNaN(u)&&c.style.setProperty("right",String(-1*u*.2)+"px")},f=e=>{var t,n,s,c,a,u;const{adScaleConfig:f,pageContext:{deviceType:m}}=r.get();if(!(null==f?void 0:f.enabled))return;if(o(e,i.ANY_FULLSCREEN))return;const v=null!==(t=f.adsToBeScaled[m])&&void 0!==t?t:[],g=d(e.targetId.split("-")[0]);if(!v.includes(g))return;const w=null!==(s=null===(n=f.offset)||void 0===n?void 0:n[g])&&void 0!==s?s:0,p=document.getElementById(e.targetId),y=null!==(c=null==p?void 0:p.offsetWidth)&&void 0!==c?c:window.screen.width,h=null!==(u=null===(a=null==p?void 0:p.parentElement)||void 0===a?void 0:a.offsetWidth)&&void 0!==u?u:window.screen.width;l(e,(y<h?y:h)-w)};export{s as calculateScaleFactor,c as getAspectRatio,l as scaleAd,u as scaleAdIpadAirPortrait,f as scaleAds};
1
+ import{P as e,Q as t,R as n,c as r,S as o,U as i,V as d}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";const s=(e,t)=>{const n=e.width,r=(null!=t?t:window.screen.width)/n;return r<1?r:1},l=(e,t=window.screen.width,n,r)=>{const o=s(e,t);if(n&&n(e,o),r)return void r(e);const i=document.querySelector(`iframe[id^="utif_${e.targetId}"]`);i&&(i.style.transform=`scale(${o})`,i.style.transformOrigin="left top")},c=(e,t)=>{if(e&&t)return t/e},a=new Map;a.set("insider",{scale:.82,transformOrigin:"left center",cogwheelAdjust:!0}),a.set("panorama",{scale:.79,transformOrigin:"center center"}),a.set("outstream",{scale:.79,transformOrigin:"center center"}),a.set("integration",{scale:.79,transformOrigin:"center center"}),a.set("toppanorama",{scale:.8,transformOrigin:"left center"});const u=r=>{if(!((null===(o=null===document||void 0===document?void 0:document.body)||void 0===o?void 0:o.clientWidth)>e&&(null===(i=null===document||void 0===document?void 0:document.body)||void 0===i?void 0:i.clientWidth)<=t))return;var o,i;const d=n(r),s=a.get(d),l=document.querySelector(`#${r.targetId}`);if(!l||!s)return;if(l.style.transformOrigin=s.transformOrigin,l.style.transform=`scale(${s.scale})`,!(null==s?void 0:s.cogwheelAdjust))return;const c=document.querySelector(`div[class*="gdpr-cogwheel-button"][id$="${r.targetId}"]`),u=null==l?void 0:l.offsetWidth;c&&"number"==typeof u&&!isNaN(u)&&c.style.setProperty("right",String(-1*u*.2)+"px")},f=e=>{var t,n,s,c,a,u;const{adScaleConfig:f,pageContext:{deviceType:m}}=r.get();if(!(null==f?void 0:f.enabled))return;if(o(e,i.ANY_FULLSCREEN))return;const v=null!==(t=f.adsToBeScaled[m])&&void 0!==t?t:[],g=d(e.targetId.split("-")[0]);if(!v.includes(g))return;const w=null!==(s=null===(n=f.offset)||void 0===n?void 0:n[g])&&void 0!==s?s:0,p=document.getElementById(e.targetId),y=null!==(c=null==p?void 0:p.offsetWidth)&&void 0!==c?c:window.screen.width,h=null!==(u=null===(a=null==p?void 0:p.parentElement)||void 0===a?void 0:a.offsetWidth)&&void 0!==u?u:window.screen.width;l(e,(y<h?y:h)-w)};export{s as calculateScaleFactor,c as getAspectRatio,l as scaleAd,u as scaleAdIpadAirPortrait,f as scaleAds};
@@ -0,0 +1 @@
1
+ import{o as t,w as e,C as n,_ as a,l as r,p as i,q as s,r as o,h as l,N as d}from"./_auto-entry_mtv-DCEFUvBr.js";import{jsxs as c,jsx as u}from"react/jsx-runtime";class g{getPulseObjectId(){return"sdrn:vg:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:vg:frontpage:front"}getTags(t){var e;let n;if(n=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!n)return[];const{host:a,pathname:r}=new URL(n);if(!a.includes("www.vg.no")&&!r.includes("annonsorinnhold"))return[n];const i=r.split("/");return i.length?[...i.filter(Boolean).slice(1).map(t=>t),n]:[n]}}class p{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}const v="[data-k5a-teaser-analytics]";class m extends t{constructor(t,e,n,a){super(t,""),this.root=e,this.newsroomStrategy=n,this.pageType=a}getTargetId(){return this.root.id}buildAdObject(){return this.getEventInput("view")}parseKilkayaData(){const t=this.root.querySelector("article");if(!t)return{};const e=t.dataset.k5aTeaserAnalytics;try{return e?JSON.parse(e):{}}catch(t){return{}}}mapPageType(t){var e;return null!==(e={front:"Frontpage",article:"Article",section:"Article",collection:"Article",other:"Article"}[null!=t?t:"front"])&&void 0!==e?e:"Frontpage"}getArticleId(){var t;return null!==(t=location.pathname.split("/").slice(-2,-1).pop())&&void 0!==t?t:""}getPlacementData(){var t,e;const n=this.root.closest(".kilkaya-wrapper");return{columnName:null!==(t=null==n?void 0:n.dataset.pulseColumnname)&&void 0!==t?t:"",primaryPosition:Number(null==n?void 0:n.dataset.pulsePrimaryposition)||0,secondaryPosition:Number(null==n?void 0:n.dataset.pulseSecondaryposition)||0,slot:null!==(e=null==n?void 0:n.dataset.slotTag)&&void 0!==e?e:""}}getEventTarget(){const{link:t,itemId:e,title:n}=this.parseKilkayaData();return{id:e,name:this.normalizePlacementTitle(null!=n?n:""),type:"Page",url:t}}normalizePlacementTitle(t){return t.replace(/<[^>]+>/gi,"").replace(/[^a-z0-9æøå\s_-]/gi,"")}waitForAnalyticsData(t){const e=this.root.querySelector(v);if(Boolean(null==e?void 0:e.dataset.k5aTeaserAnalytics))return void t();const n=new MutationObserver(()=>{const e=this.root.querySelector(v);Boolean(null==e?void 0:e.dataset.k5aTeaserAnalytics)&&(n.disconnect(),t())});n.observe(this.root,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]})}trackLoad(){}trackImpression(){e(this.root,()=>this.waitForAnalyticsData(()=>{var t,e;const n=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:this.parseKilkayaData().placement}});window.dispatchEvent(n);const a=this.getEventInput("view");this.pulse.trackLegacyViewUIElement?this.pulse.trackLegacyViewUIElement(a):this.pulse.trackViewUIElement?this.pulse.trackViewUIElement(a):null===(e=(t=this.pulse).trackElementView)||void 0===e||e.call(t,a)}))}trackEngagement(t){var e,n;const a=this.getEventInput("click");this.pulse.trackLegacyClickUIElement?this.pulse.trackLegacyClickUIElement(a):this.pulse.trackClickUIElement?this.pulse.trackClickUIElement(a):null===(n=(e=this.pulse).trackElementClick)||void 0===n||n.call(e,a)}}class h extends m{getEventBaseData(){var t,e,n,a;const{clientName:r,creativeId:i,itemId:s,placement:o}=this.parseKilkayaData(),{primaryPosition:l,secondaryPosition:d,slot:c}=this.getPlacementData(),u=this.mapPageType(this.pageType),g=null===(t=this.newsroomStrategy)||void 0===t?void 0:t.getPulsePageId(null!==(e=this.pageType)&&void 0!==e?e:"front",this.getArticleId());return Object.assign(Object.assign({},s&&{"@id":`sdrn:kilkaya:teaser:${s}`}),{"@type":"UIElement",position:o,elementType:"Article",custom:{customer:r,creativeId:null!=i?i:s},page:{"@id":null!=g?g:o,"@type":u,url:location.origin},placement:{primaryPosition:l,secondaryPosition:d,source:c},tags:null===(a=null===(n=this.newsroomStrategy)||void 0===n?void 0:n.getTags)||void 0===a?void 0:a.call(n,this.root)})}getEventInput(t){return{object:this.getEventBaseData(),partnerstudio:this.getEventPartnerstudioData(t),target:this.getEventTarget(),provider:this.getProviderData()}}getEventPartnerstudioData(t){return Object.assign(Object.assign({},this.parseKilkayaData()),{type:t,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}class y extends m{getEventBaseData(){var t,e;const{title:n="",clientName:a="",creativeId:r="",link:i="",itemId:s=""}=this.parseKilkayaData(),{columnName:o,primaryPosition:l,secondaryPosition:d,slot:c}=this.getPlacementData(),u={publicUrl:i,urlPath:i?new URL(i).pathname:""},{publicUrl:g,urlPath:p}=i&&(null===(e=null===(t=this.newsroomStrategy)||void 0===t?void 0:t.transformUrl)||void 0===e?void 0:e.call(t,i))||u;return Object.assign(Object.assign({},s&&{"@id":`sdrn:kilkaya:teaser:${s}`}),{"@type":"UIElement",elementType:"Teaser",layout:{elementSize:"large",imageUrl:"",name:"large"},name:n,placement:{columnName:o,primaryPosition:l,secondaryPosition:d,source:c},tags:[a,n,g,p].filter(Boolean),"spt:custom":{is_sponsored:!0,sponsor:a,"spt:creativeId":r,pageTitle:n,publicUrl:g,urlPath:p},url:location.origin})}getEventInput(t){return{object:this.getEventBaseData(),target:this.getEventTarget()}}}class k{constructor(t){this.identity=t,this.getIdentityUser=this.getIdentityUser.bind(this),this.isUserLoggedIn=this.isUserLoggedIn.bind(this),this.onIdentityLogout=this.onIdentityLogout.bind(this)}getIdentityUser(){return a(this,void 0,void 0,function*(){var t;try{const e=yield null===(t=this.identity)||void 0===t?void 0:t.getUser();return null!=e?e:null}catch(t){return r("[Privacy Broker] User is not logged in."),null}})}isUserLoggedIn(){return a(this,void 0,void 0,function*(){var t,e;return null!==(e=yield null===(t=this.identity)||void 0===t?void 0:t.isLoggedIn())&&void 0!==e&&e})}onIdentityLogout(t){var e;null===(e=this.identity)||void 0===e||e.on("logout",t)}}const f=/^glci_/,b="gender_",I="geo_",w="male",P="female",E=()=>a(void 0,void 0,void 0,function*(){try{const e=yield(t=500,a(void 0,void 0,void 0,function*(){return Promise.race([a(void 0,void 0,void 0,function*(){return yield new Promise(t=>{if("undefined"!=typeof window)if(window.Identity)t(window.Identity);else{const e=()=>{t(window.Identity)};window.addEventListener("identity-initialized",e,{once:!0})}else t(void 0)})}),new Promise(e=>setTimeout(()=>e(void 0),t))])})),n=new k(e),r=yield n.getIdentityUser(),{gender:i}=null!=r?r:{};return i===w||i===P?`${b}${i}`:void 0}catch(t){return}var t}),T=()=>a(void 0,void 0,void 0,function*(){const t=[],e=yield E(),n=(()=>{const t=i().map(t=>`${I}${t.replace(f,"")}`);return Array.from(new Set(t))})();return e&&t.push(e),n&&t.push(...n),t}),U="front";class S{getPulseObjectId(){return"sdrn:e24:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===U?"sdrn:e24:frontpage:front":`sdrn:e24:article:${e}`}getTags(t){var e;let n;if(n=t instanceof HTMLAnchorElement?t.href:null===(e=null==t?void 0:t.querySelector("a"))||void 0===e?void 0:e.href,!n)return[];if(!n.includes("https://e24.no/annonsorinnhold/"))return[n];const{pathname:a}=new URL(n),r=a.split("/").filter(Boolean);return r.length?[...r.slice(1),n]:[n]}}class A{getPulseObjectId(){return"sdrn:aftenposten:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:aftenposten:frontpage:Frontpage"}}class L{getPulseObjectId(){return"sdrn:bt:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:bt:frontpage:Frontpage"}}class j{getPulseObjectId(){return"sdrn:stavangeraftenblad:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:stavangeraftenblad:frontpage:Frontpage"}}class D{transformUrl(t){const{hostname:e,pathname:n}=new URL(t);return"brand-studio.svd.se"===e?{publicUrl:`https://svd.se/brand-studio${n}`,urlPath:`/brand-studio${n}`}:{publicUrl:t,urlPath:n}}getPulseObjectId(){return"sdrn:svdse:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===U?"sdrn:svdse:frontpage:front":`sdrn:svdse:article:${e}`}}class O{transformUrl(t){const{hostname:e,pathname:n}=new URL(t);return"brand-studio.aftonbladet.se"===e?{publicUrl:`https://aftonbladet.se/brand-studio${n}`,urlPath:`/brand-studio${n}`}:{publicUrl:t,urlPath:n}}getPulseObjectId(){return""}getPulsePageId(){return""}}class K{handleKilkayaStreamTracking({pulse:t,pageContext:{pageType:e,publisher:a,countryCode:r}}){if(!(null==t?void 0:t.instance))return;const i={[d.VG]:new g,[d.E24]:new S,"no-aftenposten":new A,[d.BT]:new L,"no-bergenstidende":new L,[d.SA]:new j,"no-stavangeraftenblad":new j,[d.SVD]:new D,[d.AFTONBLADET]:new O}[a]||new p;((t,e,a,r)=>{const i=document.querySelectorAll("k5a-stream");i.length&&i.forEach(i=>{const s=r===n.SE?new y(t,i,e):new h(t,i,e,a);s.trackImpression(),i.addEventListener("click",()=>s.trackEngagement())})})(t.instance,i,e,r)}injectKilkayaMeta(t){return a(this,void 0,void 0,function*(){const e=document.createElement("script"),n=yield T();e.textContent=`var k5aMeta = { consent: ${t}, cntTag: ${JSON.stringify(n)} };`,document.head.appendChild(e)})}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var e;const n=null===(e=null==t?void 0:t.detail)||void 0===e?void 0:e.streamSlot;if(r(`Kilkaya event for slot: ${n}`),!n)return void r("Kilkaya slot empty, Xandr backfill won't be loaded");const a=n.parentElement;a?(r(`Kilkaya placement ${n.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(a)):r("Kilkaya parent slot empty, Xandr backfill won't be loaded")})}showBackfill(t){var e;const n=t.querySelector(".fallback");if(!n)return;n.style.display="flex";const a=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";s(a)}loadKilkayaScript(t){return a(this,void 0,void 0,function*(){yield o(t)})}run(t){return a(this,void 0,void 0,function*(){var e,n;const{tcf:a,pageContext:{isMobileApp:r,countryCode:i},kilkaya:s}=t;if(!(null==s?void 0:s.enabled))return;const o=yield l(a,r,i,"kilkaya");this.observeForKilkayaBackfills(),yield this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(n=null===(e=s.options)||void 0===e?void 0:e.kilkayaUrl)&&void 0!==n?n:""),this.handleKilkayaStreamTracking(t)})}}const $=({placementName:t,slotTag:e,fallbackTargetId:n,children:a,pulseData:r,htmlAttributes:i})=>{const s=(t,e)=>{const n={};if(!t)return n;for(const[a,r]of Object.entries(t)){n[e?`${e}-${a}`:a]=String(r)}return n},o=s(r,"data-pulse"),l=s(i,"data");return c("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"},"data-slot-tag":e},o,l,{children:[u("div",{className:"inscreen-target"}),u("k5a-stream",{name:t,"slot-tag":e}),u("div",{className:"container"}),u("div",{className:"fallback","data-fallback-target-id":n,style:{display:"none"},children:a})]}))},B=t=>a(void 0,void 0,void 0,function*(){const e=new K;yield e.run(t)});export{$ as Kilkaya,B as runKilkaya};
@@ -1 +1 @@
1
- import{T as e,v as o,D as t,c as r,w as l,_ as s,x as a,y as n,z as c,B as d,E as i}from"./_auto-entry_tv4-CQCQFWRY.js";import"react/jsx-runtime";const u="#fff",y="#0098da",v=e=>"dark"===e,p=(t,r,l,s)=>{if(!l)return;const a={[e.WELCOME_PAGE]:()=>{const{buttonLabel:e}=o(l,r);["#advertory-welcome-page-scroll-label","#advertory-welcome-page-scroll-image"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(r.innerText=null!=e?e:"")})},[e.SPLASH]:()=>{const{themeColors:e,logotype:a,buttonLabel:n,showArrowIcon:c}=o(l,r),d=((e,o)=>{var t,r,l,s;if(!e)return;const a=v(o)?e.darkMode:void 0;return{backgroundColor:null!==(r=null!==(t=null==a?void 0:a.backgroundColor)&&void 0!==t?t:e.backgroundColor)&&void 0!==r?r:u,color:null!==(s=null!==(l=null==a?void 0:a.color)&&void 0!==l?l:e.color)&&void 0!==s?s:y}})(e,s),i=((e,o)=>{var t,r;if(!e)return;const l=v(o)?e.darkMode:void 0;return{url:null!==(t=null==l?void 0:l.url)&&void 0!==t?t:e.url,alt:null!==(r=null==l?void 0:l.alt)&&void 0!==r?r:e.alt}})(a,s);["#advertory-splash-close-label",".advertory-splash-close","#advertory-splash-logotype",".advertory-splash-navbar-wrapper"].forEach(e=>{const o=t.querySelector(`${e}`);if(o){if("#advertory-splash-close-label"===e&&(o.innerText=null!=n?n:""),".advertory-splash-close"===e&&!c){const e=o.querySelector("#advertory-splash-close-image");null==e||e.style.setProperty("display","none")}".advertory-splash-close"===e&&d&&(o.style.color=d.color),"#advertory-splash-logotype"===e&&i&&(o.setAttribute("src",i.url),o.setAttribute("alt",i.alt)),".advertory-splash-navbar-wrapper"===e&&d&&(o.style.setProperty("background-color",d.backgroundColor,"important"),o.style.color=d.color)}})},[e.TOPSCROLLER]:()=>{const{buttonLabel:e,showArrowIcon:s,showCloseButton:a=!0}=o(l,r);["#advertory-topscroller-scroll-label","#advertory-topscroller-scroll-image",".advertory-topscroller-close"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(".advertory-topscroller-close"!==o||a||(r.style.display="none"),"#advertory-topscroller-scroll-image"!==o||s||(r.style.display="none"),"#advertory-topscroller-scroll-label"===o&&(r.innerText=null!=e?e:""))})},[e.VELVET]:()=>{}};a[r]()},w=(o,t=!0)=>{(o===e.WELCOME_PAGE||o===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(t)},m=()=>{const e=parseInt(document.body.dataset.scrollY||"0",10);document.body.style.top="",window.scrollTo(0,e),document.body.classList.remove("page-locked")},g=new WeakMap,b=(e,o,t)=>{var r;window.addEventListener(o,t),g.set(e,[...null!==(r=g.get(e))&&void 0!==r?r:[],()=>window.removeEventListener(o,t)])},h=e=>{document.body.style.overflow=e?"initial":"hidden"},f=e=>{(e=>{var o;null===(o=g.get(e))||void 0===o||o.forEach(e=>e()),g.delete(e)})(e),m(),(e=>{e.classList.toggle("takeover-ad-hidden",!0)})(e),h(!0),e.style.display="none"},E=e=>{const o=()=>f(e);return b(e,"advertory:closeTakeover",o),m(),o},L=e=>{const o=e.querySelector(".advertory-splash-navbar-wrapper");o&&((e=>{const o=o=>{["Enter","Escape"].includes(o.key)&&f(e)};m(),b(e,"keydown",o)})(e),E(e),m(),o.addEventListener("click",()=>{f(e)}),h(!1))},S=e=>{(e=>{window.addEventListener("scroll",()=>{e.getBoundingClientRect().bottom,(e=>{const o=e.getBoundingClientRect().bottom;e.style.opacity=""+o/e.offsetHeight})(e)},{passive:!0})})(e),E(e);const o=document.querySelector("header");document.querySelectorAll(".smooth-close-takeover").forEach(e=>e.addEventListener("click",()=>null==o?void 0:o.scrollIntoView({behavior:"smooth"})))},k=e=>{(e=>{b(e,"advertory:closeTakeover",()=>f(e))})(e)},T=e=>{const{takeover:{splash:{showAnnonsLabel:o=!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"),o&&s&&(s.style.display="flex",s.innerText=t.se.adText),e.classList.toggle("advertory-splash-wrapper",!0)},x=e=>{const o=document.querySelectorAll(".advertory-topscroller-elements");Array.from(o).forEach(e=>e.style.display="flex");const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=t.no.adText,r.classList.add("takeover-topscroller-label"),e.classList.toggle("topscroller-wrapper",!0))},A=e=>{const o=document.querySelectorAll(".advertory-welcome-page-elements");Array.from(o).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=t.se.adText,e.classList.toggle("welcome-page-wrapper",!0))},q=e=>{const o=document.querySelector(".advertory-takeover-label");o&&(o.style.display="flex",o.innerText=t.se.adText,e.classList.toggle("advertory-impact-wrapper",!0))},C=()=>{const e=document.querySelector(".welcome-page-wrapper, .topscroller-wrapper, .advertory-splash-wrapper");if(!e)return;let o=0;new IntersectionObserver(e=>{e.forEach(e=>{var t;if(e.isIntersecting){window.dispatchEvent(new CustomEvent("advertory:takeoverInView"));(null!==(t=Array.from(e.target.classList))&&void 0!==t?t:[]).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})(),o++}else o>0&&window.dispatchEvent(new CustomEvent("advertory:takeoverNotInView"))})},{root:null,rootMargin:"0px",threshold:0}).observe(e)},O=(e,o)=>{let t=e;return e.includes("529299503")&&(t=(e=>{const o=document.createElement("script");return o.textContent=`(${l})()`,e+o.outerHTML})(e)),t=i(t),t},P=e=>{const o=(e=>{var o;const{requests:t}=window.apntag,r=d(e)?1:0;return null===(o=null==t?void 0:t.tags[e].adResponse.ads[r].rtb)||void 0===o?void 0:o.banner.content})(e);if(!o)return;((e,o)=>{const{requests:t}=window.apntag,r=d(e)?1:0,l=null==t?void 0:t.tags[e].adResponse.ads[r].rtb;l&&(l.banner.content=o)})(e,O(o))},R=(e,o)=>{var t;const r="100%",l="100%";e.resizeAd(o,[r,l]);const s=null===(t=document.querySelector(`#div_utif_${o}`))||void 0===t?void 0:t.querySelector("iframe");if(!s)return;new MutationObserver(e=>{for(const o of e)if("attributes"===o.type&&"style"===o.attributeName){const e=window.getComputedStyle(s),o=e.width,t=e.height;o===r&&t===l||(s.style.width=r,s.style.height=l)}}).observe(s,{attributes:!0,attributeFilter:["style"]})},M=o=>s(void 0,void 0,void 0,function*(){const{takeover:t,appearanceConfig:l}=r.get(),{targetId:s}=o,d=document.querySelector(`#${s}`),i=document.querySelector(".advertory-takeover-wrapper");if(!d||!i||!t)return;const u=a(o),y=i.offsetHeight,v=window.scrollY>y;i.style.display="block",!v&&w(u,!1),((o,t)=>{({[e.WELCOME_PAGE]:A,[e.SPLASH]:T,[e.TOPSCROLLER]:x,[e.VELVET]:q})[t](o)})(i,u),C(),((o,t)=>{({[e.WELCOME_PAGE]:S,[e.TOPSCROLLER]:S,[e.SPLASH]:L,[e.VELVET]:k})[t](o)})(i,u),p(i,u,t,null==l?void 0:l.theme),yield n(),!v&&w(u,!0),c(o,u)});export{M as createTakeoverAd,P as modifyTakeoverAdContent,R as modifyTakeoverIframe};
1
+ import{T as e,x as o,D as t,c as r,y as l,_ as s,z as a,B as n,E as c,F as d,G as i}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";const u="#fff",y="#0098da",v=e=>"dark"===e,p=(t,r,l,s)=>{if(!l)return;const a={[e.WELCOME_PAGE]:()=>{const{buttonLabel:e}=o(l,r);["#advertory-welcome-page-scroll-label","#advertory-welcome-page-scroll-image"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(r.innerText=null!=e?e:"")})},[e.SPLASH]:()=>{const{themeColors:e,logotype:a,buttonLabel:n,showArrowIcon:c}=o(l,r),d=((e,o)=>{var t,r,l,s;if(!e)return;const a=v(o)?e.darkMode:void 0;return{backgroundColor:null!==(r=null!==(t=null==a?void 0:a.backgroundColor)&&void 0!==t?t:e.backgroundColor)&&void 0!==r?r:u,color:null!==(s=null!==(l=null==a?void 0:a.color)&&void 0!==l?l:e.color)&&void 0!==s?s:y}})(e,s),i=((e,o)=>{var t,r;if(!e)return;const l=v(o)?e.darkMode:void 0;return{url:null!==(t=null==l?void 0:l.url)&&void 0!==t?t:e.url,alt:null!==(r=null==l?void 0:l.alt)&&void 0!==r?r:e.alt}})(a,s);["#advertory-splash-close-label",".advertory-splash-close","#advertory-splash-logotype",".advertory-splash-navbar-wrapper"].forEach(e=>{const o=t.querySelector(`${e}`);if(o){if("#advertory-splash-close-label"===e&&(o.innerText=null!=n?n:""),".advertory-splash-close"===e&&!c){const e=o.querySelector("#advertory-splash-close-image");null==e||e.style.setProperty("display","none")}".advertory-splash-close"===e&&d&&(o.style.color=d.color),"#advertory-splash-logotype"===e&&i&&(o.setAttribute("src",i.url),o.setAttribute("alt",i.alt)),".advertory-splash-navbar-wrapper"===e&&d&&(o.style.setProperty("background-color",d.backgroundColor,"important"),o.style.color=d.color)}})},[e.TOPSCROLLER]:()=>{const{buttonLabel:e,showArrowIcon:s,showCloseButton:a=!0}=o(l,r);["#advertory-topscroller-scroll-label","#advertory-topscroller-scroll-image",".advertory-topscroller-close"].forEach(o=>{const r=t.querySelector(`${o}`);r&&(".advertory-topscroller-close"!==o||a||(r.style.display="none"),"#advertory-topscroller-scroll-image"!==o||s||(r.style.display="none"),"#advertory-topscroller-scroll-label"===o&&(r.innerText=null!=e?e:""))})},[e.VELVET]:()=>{}};a[r]()},m=(o,t=!0)=>{(o===e.WELCOME_PAGE||o===e.TOPSCROLLER)&&(e=>{e?setTimeout(()=>window.scrollTo(0,0),100):window.scrollTo(0,10)})(t)},w=()=>{const e=parseInt(document.body.dataset.scrollY||"0",10);document.body.style.top="",window.scrollTo(0,e),document.body.classList.remove("page-locked")},g=new WeakMap,b=(e,o,t)=>{var r;window.addEventListener(o,t),g.set(e,[...null!==(r=g.get(e))&&void 0!==r?r:[],()=>window.removeEventListener(o,t)])},h=e=>{document.body.style.overflow=e?"initial":"hidden"},f=e=>{(e=>{var o;null===(o=g.get(e))||void 0===o||o.forEach(e=>e()),g.delete(e)})(e),w(),(e=>{e.classList.toggle("takeover-ad-hidden",!0)})(e),h(!0),e.style.display="none"},E=e=>{const o=()=>f(e);return b(e,"advertory:closeTakeover",o),w(),o},L=e=>{const o=e.querySelector(".advertory-splash-navbar-wrapper");o&&((e=>{const o=o=>{["Enter","Escape"].includes(o.key)&&f(e)};w(),b(e,"keydown",o)})(e),E(e),w(),o.addEventListener("click",()=>{f(e)}),h(!1))},S=e=>{(e=>{window.addEventListener("scroll",()=>{e.getBoundingClientRect().bottom,(e=>{const o=e.getBoundingClientRect().bottom;e.style.opacity=""+o/e.offsetHeight})(e)},{passive:!0})})(e),E(e);const o=document.querySelector("header");document.querySelectorAll(".smooth-close-takeover").forEach(e=>e.addEventListener("click",()=>null==o?void 0:o.scrollIntoView({behavior:"smooth"})))},k=e=>{(e=>{b(e,"advertory:closeTakeover",()=>f(e))})(e)},T=e=>{const{takeover:{splash:{showAnnonsLabel:o=!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"),o&&s&&(s.style.display="flex",s.innerText=t.se.adText),e.classList.toggle("advertory-splash-wrapper",!0)},x=e=>{const o=document.querySelectorAll(".advertory-topscroller-elements");Array.from(o).forEach(e=>e.style.display="flex");const r=document.querySelector(".advertory-takeover-label");r&&(r.style.display="flex",r.innerText=t.no.adText,r.classList.add("takeover-topscroller-label"),e.classList.toggle("topscroller-wrapper",!0))},A=e=>{const o=document.querySelectorAll(".advertory-welcome-page-elements");Array.from(o).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=t.se.adText,e.classList.toggle("welcome-page-wrapper",!0))},q=e=>{const o=document.querySelector(".advertory-takeover-label");o&&(o.style.display="flex",o.innerText=t.se.adText,e.classList.toggle("advertory-impact-wrapper",!0))},C=()=>{const e=document.querySelector(".welcome-page-wrapper, .topscroller-wrapper, .advertory-splash-wrapper");if(!e)return;let o=0;new IntersectionObserver(e=>{e.forEach(e=>{var t;if(e.isIntersecting){window.dispatchEvent(new CustomEvent("advertory:takeoverInView"));(null!==(t=Array.from(e.target.classList))&&void 0!==t?t:[]).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})(),o++}else o>0&&window.dispatchEvent(new CustomEvent("advertory:takeoverNotInView"))})},{root:null,rootMargin:"0px",threshold:0}).observe(e)},O=(e,o)=>{let t=e;return e.includes("529299503")&&(t=(e=>{const o=document.createElement("script");return o.textContent=`(${l})()`,e+o.outerHTML})(e)),t=i(t),t},P=e=>{const o=(e=>{var o;const{requests:t}=window.apntag,r=d(e)?1:0;return null===(o=null==t?void 0:t.tags[e].adResponse.ads[r].rtb)||void 0===o?void 0:o.banner.content})(e);if(!o)return;((e,o)=>{const{requests:t}=window.apntag,r=d(e)?1:0,l=null==t?void 0:t.tags[e].adResponse.ads[r].rtb;l&&(l.banner.content=o)})(e,O(o))},R=(e,o)=>{var t;const r="100%",l="100%";e.resizeAd(o,[r,l]);const s=null===(t=document.querySelector(`#div_utif_${o}`))||void 0===t?void 0:t.querySelector("iframe");if(!s)return;new MutationObserver(e=>{for(const o of e)if("attributes"===o.type&&"style"===o.attributeName){const e=window.getComputedStyle(s),o=e.width,t=e.height;o===r&&t===l||(s.style.width=r,s.style.height=l)}}).observe(s,{attributes:!0,attributeFilter:["style"]})},M=o=>s(void 0,void 0,void 0,function*(){const{takeover:t,appearanceConfig:l}=r.get(),{targetId:s}=o,d=document.querySelector(`#${s}`),i=document.querySelector(".advertory-takeover-wrapper");if(!d||!i||!t)return;const u=a(o),y=i.offsetHeight,v=window.scrollY>y;i.style.display="block",!v&&m(u,!1),((o,t)=>{({[e.WELCOME_PAGE]:A,[e.SPLASH]:T,[e.TOPSCROLLER]:x,[e.VELVET]:q})[t](o)})(i,u),C(),((o,t)=>{({[e.WELCOME_PAGE]:S,[e.TOPSCROLLER]:S,[e.SPLASH]:L,[e.VELVET]:k})[t](o)})(i,u),p(i,u,t,null==l?void 0:l.theme),yield n(),!v&&m(u,!0),c(o,u)});export{M as createTakeoverAd,P as modifyTakeoverAdContent,R as modifyTakeoverIframe};
@@ -1 +1 @@
1
- import{k as t,m as e,n}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const r=".advertory-right-column-track",o="--advertory-right-column-track-height",i=t=>t.getBoundingClientRect().top+window.scrollY,a=(t,e)=>`${t}-${e}`,d=(r,d,l)=>{var c;const s=Array.from(null!==(c=r.querySelectorAll(d))&&void 0!==c?c:[]),u=(t=>t.map(t=>{var e;return null===(e=document.querySelector(`[id^="${t}"]`))||void 0===e?void 0:e.parentElement}).map((t,e)=>({point:t,originalIndex:e})).filter(t=>Boolean(t.point)))(l);if(0===u.length)return;const m=i(r);u.forEach(({point:r,originalIndex:d})=>{((r,d,l)=>{const c=i(r),s=a(o,d),u=c-l,m=a("--advertory-right-column-split-point-height",d),v=t(r);e({[s]:n(u),[m]:n(v)})})(r,d+1,m),(r=>{const o=null==r?void 0:r.id;if(!o)return;const i=a("--advertory-right-column-ad-height",o),d=t(r);e({[i]:n(d)})})(s[d])});((t,r)=>{const a=i(t)-r;e({[o]:n(a)})})(u[Math.min(s.length,u.length-1)].point,m)};let l=!1;const c=t=>{if(!(null==t?void 0:t.enabled)||l)return;const{splitPointIDs:e,adSelector:n,trackSelector:o=r}=t,i=document.querySelector(o);if(!i)return;l=!0;const a=()=>{d(i,n,e)};a(),window.addEventListener("resize",a),window.addEventListener("orientationchange",a),window.addEventListener("load",a),window.addEventListener("advertory:adLoaded",()=>{requestAnimationFrame(a)});new ResizeObserver(a).observe(i)};export{c as initRightColumnSplit};
1
+ import{k as t,m as e,n}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";const r=".advertory-right-column-track",o="--advertory-right-column-track-height",i=t=>t.getBoundingClientRect().top+window.scrollY,a=(t,e)=>`${t}-${e}`,d=(r,d,l)=>{var c;const s=Array.from(null!==(c=r.querySelectorAll(d))&&void 0!==c?c:[]),u=(t=>t.map(t=>{var e;return null===(e=document.querySelector(`[id^="${t}"]`))||void 0===e?void 0:e.parentElement}).map((t,e)=>({point:t,originalIndex:e})).filter(t=>Boolean(t.point)))(l);if(0===u.length)return;const m=i(r);u.forEach(({point:r,originalIndex:d})=>{((r,d,l)=>{const c=i(r),s=a(o,d),u=c-l,m=a("--advertory-right-column-split-point-height",d),v=t(r);e({[s]:n(u),[m]:n(v)})})(r,d+1,m),(r=>{const o=null==r?void 0:r.id;if(!o)return;const i=a("--advertory-right-column-ad-height",o),d=t(r);e({[i]:n(d)})})(s[d])});((t,r)=>{const a=i(t)-r;e({[o]:n(a)})})(u[Math.min(s.length,u.length-1)].point,m)};let l=!1;const c=t=>{if(!(null==t?void 0:t.enabled)||l)return;const{splitPointIDs:e,adSelector:n,trackSelector:o=r}=t,i=document.querySelector(o);if(!i)return;l=!0;const a=()=>{d(i,n,e)};a(),window.addEventListener("resize",a),window.addEventListener("orientationchange",a),window.addEventListener("load",a),window.addEventListener("advertory:adLoaded",()=>{requestAnimationFrame(a)});new ResizeObserver(a).observe(i)};export{c as initRightColumnSplit};
@@ -0,0 +1 @@
1
+ import{c as e,t,v as o}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";const r=1e4,n=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=r,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=n(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=n(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};
package/mtv/es/index.d.ts CHANGED
@@ -96,6 +96,7 @@ interface AstAdObj {
96
96
  subtype?: string;
97
97
  renderer_url?: string;
98
98
  bidderId?: number | undefined;
99
+ uuid: string;
99
100
  }
100
101
  interface AstAdError {
101
102
  code: number;
@@ -287,6 +288,13 @@ declare const DeviceTypes: {
287
288
  };
288
289
  type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
289
290
 
291
+ interface AdvertisingIdentifiers {
292
+ xandr?: {
293
+ ppId1?: string;
294
+ ppId2?: string;
295
+ };
296
+ }
297
+
290
298
  /**
291
299
  * SDK-agnostic shape of the pulse tracker instance advertory actually calls.
292
300
  * getActor is typed Promise<unknown> — nothing in this codebase reads its
@@ -302,12 +310,6 @@ interface PulseInstance {
302
310
  };
303
311
  }
304
312
 
305
- interface AdvertisingIdentifiers {
306
- xandr?: {
307
- ppId1?: string;
308
- ppId2?: string;
309
- };
310
- }
311
313
  interface PulseLegacyExtras {
312
314
  trackElementView?: (eventInput: unknown) => Promise<void>;
313
315
  trackElementClick?: (eventInput: unknown) => Promise<void>;
@@ -315,11 +317,15 @@ interface PulseLegacyExtras {
315
317
  trackViewUIElement?: (eventInput: unknown) => Promise<void>;
316
318
  trackLegacyViewUIElement?: (eventInput: unknown, trackOptions?: unknown) => Promise<unknown>;
317
319
  trackLegacyClickUIElement?: (eventInput: unknown, trackOptions?: unknown) => Promise<unknown>;
320
+ trackImpressionAd?: (eventInput: unknown) => Promise<unknown>;
321
+ trackEngagementAd?: (eventInput: unknown) => Promise<unknown>;
322
+ trackLoadAd?: (eventInput: unknown) => Promise<unknown>;
318
323
  }
319
324
  interface PulseConfig {
320
325
  clientId: string;
321
326
  instance: PulseInstance & PulseLegacyExtras;
322
327
  hasherUrl?: string;
328
+ adTrackingEnabled?: boolean;
323
329
  }
324
330
 
325
331
  declare const Newsrooms: {
@@ -384,6 +390,7 @@ interface Options {
384
390
  language?: Country;
385
391
  pageType?: PageType;
386
392
  deviceType?: DeviceType;
393
+ placements?: Placements;
387
394
  appearanceConfig?: AppearanceConfig;
388
395
  nativeTrackingConfig?: NativeTrackingConfig;
389
396
  adPlacementFormat?: string;
@@ -392,6 +399,7 @@ interface Options {
392
399
  clickLinkSelector?: string;
393
400
  containerId?: string;
394
401
  sponsorstripeConfig?: SponsorstripeConfig;
402
+ pulse?: PulseConfig;
395
403
  }
396
404
  interface AdNativeTemplates {
397
405
  [templatesName: string]: (nativeData: AdNativeData, options: Options) => string | null;
package/mtv/es/index.js CHANGED
@@ -1 +1 @@
1
- export{R as default}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";
1
+ export{W as default}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";
@@ -1 +1 @@
1
- import{i as a}from"./_auto-entry_mtv-B3cjM82G.js";import"react/jsx-runtime";const e=a("[data-carousel-viewport]{position:relative;overflow:hidden;padding-bottom:4px;touch-action:pan-y;user-select:none}[data-carousel-track]{display:flex;gap:10px;will-change:transform}[data-carousel-track] [data-carousel-slide]:not(.is-active){opacity:.9;filter:saturate(0.72)}[data-carousel-track] .carousel-slide{flex:0 0 82%;margin:0;overflow:hidden;border:1px solid hsla(0,0%,100%,.68);border-radius:12px;box-shadow:#adadad 1px 1px 1px}[data-carousel-track] .carousel-slide .slide-image{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;pointer-events:none}");export{e as default};
1
+ import{i as a}from"./_auto-entry_mtv-DCEFUvBr.js";import"react/jsx-runtime";const e=a("[data-carousel-viewport]{position:relative;overflow:hidden;padding-bottom:4px;touch-action:pan-y;user-select:none}[data-carousel-track]{display:flex;gap:10px;will-change:transform}[data-carousel-track] [data-carousel-slide]:not(.is-active){opacity:.9;filter:saturate(0.72)}[data-carousel-track] .carousel-slide{flex:0 0 82%;margin:0;overflow:hidden;border:1px solid hsla(0,0%,100%,.68);border-radius:12px;box-shadow:#adadad 1px 1px 1px}[data-carousel-track] .carousel-slide .slide-image{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;pointer-events:none}");export{e as default};