@schibsted/advertory 3.0.3 → 3.0.4

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 (349) hide show
  1. package/aftenposten/cjs/index.js +1 -1
  2. package/aftenposten/es/_auto-entry_aftenposten-8P7mfV_A.js +1 -0
  3. package/aftenposten/es/{events-mpaW9tbk.js → events-DnTA-1r1.js} +1 -1
  4. package/{aftonbladet/es/index-BOnQe6Wl.js → aftenposten/es/index-BCgEkdPB.js} +1 -1
  5. package/aftenposten/es/{index-tQQqCSJq.js → index-CmkFwPwn.js} +1 -1
  6. package/aftenposten/es/{index-U9Hjl5Tb.js → index-DN_5-gDv.js} +1 -1
  7. package/{aftonbladet/es/index-B7O4LCNN.js → aftenposten/es/index-Dcf7wTcG.js} +1 -1
  8. package/aftenposten/es/{index-DXEUdKk3.js → index-DnSCfo-9.js} +1 -1
  9. package/aftenposten/es/index-DxKleqin.js +1 -0
  10. package/{aftonbladet/es/index-_i8bg1SR.js → aftenposten/es/index-PnC6RZqJ.js} +1 -1
  11. package/aftenposten/es/index-T_y4_NUf.js +1 -0
  12. package/aftenposten/es/index.js +1 -1
  13. package/aftenposten/es/scale-ad-DgUslNpg.js +1 -0
  14. package/aftenposten/es/{styles-LT0XdMM4.js → styles-BBJpRvY5.js} +1 -1
  15. package/aftenposten/es/{styles-CjOgOGxM.js → styles-BCchQYE5.js} +1 -1
  16. package/aftenposten/es/{styles-D8-vvd1W.js → styles-BmuTspEu.js} +1 -1
  17. package/aftenposten/es/{styles-HNxAeJxw.js → styles-CDl-LlPG.js} +1 -1
  18. package/aftenposten/es/{styles-Dq9XfiDK.js → styles-Ccem2EEV.js} +1 -1
  19. package/aftenposten/es/{styles-DrkEyy5_.js → styles-CnfjTLaF.js} +1 -1
  20. package/aftenposten/es/{styles-DrbUIO4J.js → styles-D7vy7Q3_.js} +1 -1
  21. package/aftenposten/es/{styles-XAkmEaNY.js → styles-DCYYahjz.js} +1 -1
  22. package/aftenposten/es/{styles-C0N4wQBa.js → styles-DajAy3at.js} +1 -1
  23. package/aftenposten/es/{styles-Cl0Jw-Vy.js → styles-Di_rljVs.js} +1 -1
  24. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-DKxrK0V9.js +1 -0
  25. package/aftenpostenv2/es/{events-CSE0P96L.js → events-CQNpAUqx.js} +1 -1
  26. package/aftenpostenv2/es/{index-CURMKjEW.js → index-5zNAo5zq.js} +1 -1
  27. package/aftenpostenv2/es/{index-BhGRNGV9.js → index-BE_r_XkA.js} +1 -1
  28. package/aftenpostenv2/es/index-BgnuZYat.js +1 -0
  29. package/{aftonbladetv2/es/index-CAJlG1J-.js → aftenpostenv2/es/index-CbsbHrmI.js} +1 -1
  30. package/aftenpostenv2/es/{index-CCL0XVkN.js → index-DPgBQ9WY.js} +1 -1
  31. package/aftenpostenv2/es/{index-pCGE2DPA.js → index-DpK0fsWq.js} +1 -1
  32. package/aftenpostenv2/es/{index-DRKHN33o.js → index-U031Qf4H.js} +1 -1
  33. package/aftenpostenv2/es/index-eBDkHK7c.js +1 -0
  34. package/aftenpostenv2/es/index.js +1 -1
  35. package/aftenpostenv2/es/scale-ad-Dpokdfe6.js +1 -0
  36. package/aftenpostenv2/es/{styles-FN4cWlOq.js → styles-BcZ3l0j4.js} +1 -1
  37. package/aftenpostenv2/es/{styles-BUfEFt2B.js → styles-CyeoQE0h.js} +1 -1
  38. package/aftenpostenv2/es/{styles-DIpue3dU.js → styles-DE9gKKmR.js} +1 -1
  39. package/aftenpostenv2/es/{styles-DOGYk2kk.js → styles-DFYyUOIA.js} +1 -1
  40. package/aftenpostenv2/es/{styles-6kngCYqb.js → styles-DR7qTmR-.js} +1 -1
  41. package/aftenpostenv2/es/{styles-DxqTZzBz.js → styles-DmjdFOFD.js} +1 -1
  42. package/aftenpostenv2/es/{styles-CKQbNJSS.js → styles-DxBjp77q.js} +1 -1
  43. package/aftenpostenv2/es/{styles-BclnfPr4.js → styles-hSKVmN3E.js} +1 -1
  44. package/aftenpostenv2/es/{styles-DqavzWvI.js → styles-mmaLm3Os.js} +1 -1
  45. package/aftenpostenv2/es/{styles-DG_0yc3Z.js → styles-w9dge-O6.js} +1 -1
  46. package/aftonbladet/cjs/index.js +1 -1
  47. package/aftonbladet/es/{_auto-entry_aftonbladet-234FsYmm.js → _auto-entry_aftonbladet-DJq_090G.js} +1 -1
  48. package/aftonbladet/es/{events-CeXN6GTf.js → events-CZOKWDPi.js} +1 -1
  49. package/aftonbladet/es/{index-BVm2J2Hd.js → index-Azvm2fk3.js} +1 -1
  50. package/aftonbladet/es/{index-vOgfXlTt.js → index-B2ajOTH3.js} +1 -1
  51. package/aftonbladet/es/{index-C3LC2Gb6.js → index-Bb15IFdX.js} +1 -1
  52. package/{aftenposten/es/index-BCCJJOgJ.js → aftonbladet/es/index-Bz5PDc0r.js} +1 -1
  53. package/{aftenposten/es/index-BXEvQuqX.js → aftonbladet/es/index-CClxM9Cz.js} +1 -1
  54. package/{aftenposten/es/index-D4w_F0EP.js → aftonbladet/es/index-DFUHHTi7.js} +1 -1
  55. package/aftonbladet/es/{index-MLW2Hb4U.js → index-JSBvRHTi.js} +1 -1
  56. package/{aftenposten/es/index-CZioxAjr.js → aftonbladet/es/index-iyTu3Pk8.js} +1 -1
  57. package/aftonbladet/es/index.js +1 -1
  58. package/aftonbladet/es/{styles-BV4BYPOQ.js → styles-6c8SavEx.js} +1 -1
  59. package/aftonbladet/es/{styles-Boxkj8dr.js → styles-9OGMlcFL.js} +1 -1
  60. package/aftonbladet/es/{styles-Cfu1x2vs.js → styles-BN0OmlHN.js} +1 -1
  61. package/aftonbladet/es/{styles-Czs98ZTV.js → styles-Co2TH4HP.js} +1 -1
  62. package/aftonbladet/es/{styles-DflKWjyn.js → styles-DJdUIeor.js} +1 -1
  63. package/aftonbladetv2/es/{_auto-entry_aftonbladetv2-Bg_ncHEp.js → _auto-entry_aftonbladetv2-PtbX066G.js} +1 -1
  64. package/aftonbladetv2/es/{events-Uanxcaag.js → events-vrd1Ohmr.js} +1 -1
  65. package/aftonbladetv2/es/{index-CS8bPETv.js → index-3mA_kA4C.js} +1 -1
  66. package/aftonbladetv2/es/{index-C2H00T8o.js → index-B2dWgXZM.js} +1 -1
  67. package/aftonbladetv2/es/{index-C9QXJFoe.js → index-BPyOMQVj.js} +1 -1
  68. package/aftonbladetv2/es/{index-Bf80AgJ1.js → index-BdjTzg_X.js} +1 -1
  69. package/aftonbladetv2/es/{index-CbYdj0be.js → index-Ccm1OzVs.js} +1 -1
  70. package/aftonbladetv2/es/{index-bwQzPgMd.js → index-DY3qc5SK.js} +1 -1
  71. package/{aftenpostenv2/es/index-Bfo7EvaZ.js → aftonbladetv2/es/index-F1-4CA6-.js} +1 -1
  72. package/aftonbladetv2/es/{index-CfdnMYFn.js → index-sJ5Xvw8-.js} +1 -1
  73. package/aftonbladetv2/es/index.js +1 -1
  74. package/aftonbladetv2/es/{scale-ad-Cvdx-vJn.js → scale-ad-CAT5F47Y.js} +1 -1
  75. package/aftonbladetv2/es/{styles-CHC8Uvrc.js → styles-B07twS9A.js} +1 -1
  76. package/aftonbladetv2/es/{styles-CSGFZlxr.js → styles-BL0G4Zgg.js} +1 -1
  77. package/aftonbladetv2/es/{styles-CNxv85_F.js → styles-D1HpNDiU.js} +1 -1
  78. package/aftonbladetv2/es/{styles-NVP9V7Co.js → styles-D6MBsym_.js} +1 -1
  79. package/aftonbladetv2/es/{styles-B7X1PXfT.js → styles-gVL03CWw.js} +1 -1
  80. package/bt/cjs/index.js +1 -1
  81. package/bt/es/_auto-entry_bt-DQ1_TtvI.js +1 -0
  82. package/bt/es/{events-j8UQbARZ.js → events-BBTzeQM0.js} +1 -1
  83. package/bt/es/index-BYfv3NBN.js +1 -0
  84. package/{vg/es/index-Di_m64-g.js → bt/es/index-BtvoytSZ.js} +1 -1
  85. package/bt/es/{index-DsWKdfqB.js → index-DBjw60e2.js} +1 -1
  86. package/bt/es/{index-CFUY1VXE.js → index-Dz00iVh9.js} +1 -1
  87. package/bt/es/{index-DqTYu_7e.js → index-K45MUldG.js} +1 -1
  88. package/bt/es/index-OU6Vbeot.js +1 -0
  89. package/{sa/es/index-BQEMqq0C.js → bt/es/index-cDi9KWpF.js} +1 -1
  90. package/{vg/es/index-DOH82L6n.js → bt/es/index-qCC_qUth.js} +1 -1
  91. package/bt/es/index.js +1 -1
  92. package/bt/es/scale-ad-BnYDXAKx.js +1 -0
  93. package/bt/es/{styles-BTVGQCvK.js → styles-8tGpHsKh.js} +1 -1
  94. package/bt/es/{styles-Cw-qygwb.js → styles-B2GU59em.js} +1 -1
  95. package/bt/es/{styles-BXWqDFA5.js → styles-B9wYZROf.js} +1 -1
  96. package/{sa/es/styles-inZQ5Olq.js → bt/es/styles-BWEoBSV1.js} +1 -1
  97. package/{sa/es/styles-BaP7ojvz.js → bt/es/styles-CnYWPws7.js} +1 -1
  98. package/bt/es/{styles-9rMbELWc.js → styles-Ct6j1V7S.js} +1 -1
  99. package/{vg/es/styles-D3SObeko.js → bt/es/styles-D1XoAVfX.js} +1 -1
  100. package/{vg/es/styles-D8IhY2g2.js → bt/es/styles-DZo74ppo.js} +1 -1
  101. package/{sa/es/styles-BHrYppEf.js → bt/es/styles-p9sC6-0m.js} +1 -1
  102. package/btv2/es/_auto-entry_btv2-BOHZry5B.js +1 -0
  103. package/btv2/es/{events-zcUbDAdE.js → events-BKVgQWli.js} +1 -1
  104. package/btv2/es/{index-D5psP38T.js → index-B6o8yb5p.js} +1 -1
  105. package/btv2/es/{index-BMmkS743.js → index-BRp0R6Xb.js} +1 -1
  106. package/{sav2/es/index-CBAgbAzH.js → btv2/es/index-CFVRgZkF.js} +1 -1
  107. package/btv2/es/index-Cqphay0o.js +1 -0
  108. package/btv2/es/index-Ct7qzY32.js +1 -0
  109. package/btv2/es/{index-CbGvcm1N.js → index-DPDmKImR.js} +1 -1
  110. package/{sav2/es/index-ChjONzCn.js → btv2/es/index-DUgFc8uy.js} +1 -1
  111. package/btv2/es/{index-BE6cs5F6.js → index-tIIzf_IX.js} +1 -1
  112. package/btv2/es/index.js +1 -1
  113. package/btv2/es/scale-ad-DMAC-0Bb.js +1 -0
  114. package/btv2/es/{styles-CZ9px10n.js → styles-B-FMsAH4.js} +1 -1
  115. package/btv2/es/{styles-D7pHFZW7.js → styles-BSmaB0W0.js} +1 -1
  116. package/{vgv2/es/styles-CiuqJxyA.js → btv2/es/styles-CFmYIQC5.js} +1 -1
  117. package/btv2/es/{styles-BWiJHDGY.js → styles-DX68d5AA.js} +1 -1
  118. package/{sav2/es/styles-BuCEUaIO.js → btv2/es/styles-Dj-ckYKd.js} +1 -1
  119. package/{sav2/es/styles-DJdLx2sj.js → btv2/es/styles-hFSbrYRU.js} +1 -1
  120. package/{sav2/es/styles-ByzHa-Y4.js → btv2/es/styles-mCmsC6O7.js} +1 -1
  121. package/{vgv2/es/styles-Bl5hCppG.js → btv2/es/styles-pp5jpy62.js} +1 -1
  122. package/e24/es/{_auto-entry_e24-DzN7vGZq.js → _auto-entry_e24-Ca5NCtaK.js} +1 -1
  123. package/e24/es/{events-BYZaADSX.js → events-DTeU3YyW.js} +1 -1
  124. package/e24/es/{index-DKeBYlH1.js → index-2ZDNFD6Q.js} +1 -1
  125. package/e24/es/{index-VoQi0BOn.js → index-56ga8q3i.js} +1 -1
  126. package/e24/es/{index-CQWBX6fL.js → index-BYkDlncZ.js} +1 -1
  127. package/e24/es/{index-EAxcEwpO.js → index-CREkgN7c.js} +1 -1
  128. package/e24/es/{index-CbeX4rdJ.js → index-DBq22mjB.js} +1 -1
  129. package/e24/es/{index-B8kl20SZ.js → index-DV7_l5CP.js} +1 -1
  130. package/e24/es/{index-BFapXbNP.js → index-DyxT8z8v.js} +1 -1
  131. package/e24/es/{index-DWU4xYAa.js → index-HI0D5IfY.js} +1 -1
  132. package/e24/es/index.js +1 -1
  133. package/e24/es/{scale-ad-BHEUSXLp.js → scale-ad-CFRbqgtA.js} +1 -1
  134. package/e24/es/{styles-CcbMnOKn.js → styles-B6y-5mo9.js} +1 -1
  135. package/e24/es/{styles-C20OlAkk.js → styles-B9DGJ3y3.js} +1 -1
  136. package/e24/es/{styles-BAsEGIfK.js → styles-BkwjzE0o.js} +1 -1
  137. package/e24/es/{styles-Bjslmk_U.js → styles-C-Kg7gs4.js} +1 -1
  138. package/e24/es/{styles-BXzSoDWb.js → styles-D1S5IxxI.js} +1 -1
  139. package/{tv4/es/styles-CaZxBwb6.js → e24/es/styles-D4Ko1bXd.js} +1 -1
  140. package/e24/es/{styles-CCT81VXc.js → styles-DYkN-bq9.js} +1 -1
  141. package/e24/es/{styles-BfE-PlTQ.js → styles-D_nNWJX9.js} +1 -1
  142. package/e24/es/{styles-DbapfVSp.js → styles-DsOlhB13.js} +1 -1
  143. package/e24/es/{styles-ys52lR4B.js → styles-ausBDfsp.js} +1 -1
  144. package/e24/es/{styles-CxemVe04.js → styles-nG7lOMce.js} +1 -1
  145. package/fotbollskanalen/cjs/index.js +1 -1
  146. package/fotbollskanalen/es/{_auto-entry_fotbollskanalen-tE0WXx30.js → _auto-entry_fotbollskanalen-BZw1BkfS.js} +1 -1
  147. package/fotbollskanalen/es/{events-CqqPwmSG.js → events-l5HB9iJ-.js} +1 -1
  148. package/fotbollskanalen/es/{index-B6HjyyiD.js → index-1b93pJz_.js} +1 -1
  149. package/fotbollskanalen/es/{index-DxVDTLVe.js → index-3NTIhxYB.js} +1 -1
  150. package/fotbollskanalen/es/{index-CQcWn7gh.js → index-B6pOZCTc.js} +1 -1
  151. package/fotbollskanalen/es/{index-DatBoCC6.js → index-BFwmCfCc.js} +1 -1
  152. package/fotbollskanalen/es/{index-CPeBj00N.js → index-BkOxWuVG.js} +1 -1
  153. package/fotbollskanalen/es/{index-CKzbllxX.js → index-CxBlGfv-.js} +1 -1
  154. package/fotbollskanalen/es/{index-DT9vl8n0.js → index-D8QzNrSp.js} +1 -1
  155. package/fotbollskanalen/es/{index-BpE9d5fM.js → index-DNVbip6P.js} +1 -1
  156. package/fotbollskanalen/es/index.js +1 -1
  157. package/fotbollskanalen/es/{scale-ad-CI2hLO9n.js → scale-ad-Dzvep-i1.js} +1 -1
  158. package/fotbollskanalen/es/{styles-IwXM2JXJ.js → styles-D70NEE2q.js} +1 -1
  159. package/godare/cjs/index.js +1 -1
  160. package/godt/cjs/index.js +1 -1
  161. package/klart/cjs/index.js +1 -1
  162. package/koket/cjs/index.js +1 -1
  163. package/koket/es/{_auto-entry_koket-CnmfZ-LI.js → _auto-entry_koket-t5b_JFSB.js} +1 -1
  164. package/koket/es/{events-c-deIBMR.js → events-Brd4M6AE.js} +1 -1
  165. package/koket/es/{index-7jOwHl6X.js → index-BPH90M_y.js} +1 -1
  166. package/koket/es/{index-f9DhqZvF.js → index-CEqQg29k.js} +1 -1
  167. package/{svdv2/es/index-C2OM-Ymh.js → koket/es/index-CukTzBzx.js} +1 -1
  168. package/koket/es/{index-yBdRLmnM.js → index-DLKloGqP.js} +1 -1
  169. package/koket/es/{index-CNFXgfc5.js → index-Dm5H58DC.js} +1 -1
  170. package/koket/es/{index-BmtbuQUf.js → index-DqTjeIjP.js} +1 -1
  171. package/koket/es/{index-DR4hpmNh.js → index-W4rgKCua.js} +1 -1
  172. package/koket/es/{index-Bo8cNFMj.js → index-yBNQAQfT.js} +1 -1
  173. package/koket/es/index.js +1 -1
  174. package/koket/es/{scale-ad-B2LCFUwS.js → scale-ad-BBenOtv6.js} +1 -1
  175. package/{svdv2/es/styles-Jpgf_LXQ.js → koket/es/styles-Dvg6UeAm.js} +1 -1
  176. package/minmote/cjs/index.js +1 -1
  177. package/package.json +1 -1
  178. package/pent/cjs/index.js +1 -1
  179. package/sa/cjs/index.js +1 -1
  180. package/sa/es/_auto-entry_sa-TgXlJ-zY.js +1 -0
  181. package/sa/es/{events-DdM0qtpX.js → events-BKsGn3rG.js} +1 -1
  182. package/sa/es/{index-BNEzS5Hw.js → index--erl8OYk.js} +1 -1
  183. package/sa/es/{index-CBfjUlIK.js → index-BFgwZC2R.js} +1 -1
  184. package/sa/es/{index-C6501jHZ.js → index-BvR4bmTM.js} +1 -1
  185. package/sa/es/{index-B7G2BJi4.js → index-CVEKaWZI.js} +1 -1
  186. package/{bt/es/index-Bar-m_q1.js → sa/es/index-CW7w8kJU.js} +1 -1
  187. package/{bt/es/index-eVRA1sPg.js → sa/es/index-DWSjKO0Y.js} +1 -1
  188. package/sa/es/index-DfRW451l.js +1 -0
  189. package/sa/es/index-ro5vBL3E.js +1 -0
  190. package/sa/es/index.js +1 -1
  191. package/sa/es/scale-ad-DnDhk82J.js +1 -0
  192. package/sa/es/{styles-CbWrJUIl.js → styles-BGLomokb.js} +1 -1
  193. package/{bt/es/styles-DjO4siii.js → sa/es/styles-CNwSrWdJ.js} +1 -1
  194. package/{bt/es/styles-3nRuHthk.js → sa/es/styles-CrCfBfAU.js} +1 -1
  195. package/sa/es/{styles-B4qxxQLU.js → styles-D7h9_Wqy.js} +1 -1
  196. package/sa/es/{styles-BYMJ3bd1.js → styles-DFvAkeUZ.js} +1 -1
  197. package/sa/es/{styles-BIj05iWH.js → styles-DH7zOeXi.js} +1 -1
  198. package/{vg/es/styles-BFyEt5JD.js → sa/es/styles-DhbSty4q.js} +1 -1
  199. package/{bt/es/styles-BJ3qdNPu.js → sa/es/styles-DxWYuyFv.js} +1 -1
  200. package/{vg/es/styles-D4xHYL4u.js → sa/es/styles-YXCHvk_s.js} +1 -1
  201. package/sav2/es/{_auto-entry_sav2-Bm922qAw.js → _auto-entry_sav2-MakJlsRd.js} +1 -1
  202. package/sav2/es/{events-BCrRQyT-.js → events-f7lKVQmS.js} +1 -1
  203. package/sav2/es/{index-C8XWn4qt.js → index-6rnHthei.js} +1 -1
  204. package/{btv2/es/index-CqK4DXo-.js → sav2/es/index-C5t-1xJh.js} +1 -1
  205. package/sav2/es/{index-D5we-X2U.js → index-CGhIIbd-.js} +1 -1
  206. package/sav2/es/{index-CgduwBks.js → index-D43gXZIe.js} +1 -1
  207. package/sav2/es/{index-BXuCeuBY.js → index-Di_o2eq-.js} +1 -1
  208. package/sav2/es/{index-BHPSdq1W.js → index-itFG_YNt.js} +1 -1
  209. package/sav2/es/{index-BuRURo1w.js → index-syTbTl_d.js} +1 -1
  210. package/{vgv2/es/index-B3Y8DNA8.js → sav2/es/index-z9ngJmM9.js} +1 -1
  211. package/sav2/es/index.js +1 -1
  212. package/sav2/es/{scale-ad-BMA1x6ZA.js → scale-ad-BSi-dhSS.js} +1 -1
  213. package/{vgv2/es/styles-HhJSZ5Wu.js → sav2/es/styles-BTkoiGws.js} +1 -1
  214. package/sav2/es/{styles-CeoeG0jA.js → styles-BU0KENiV.js} +1 -1
  215. package/sav2/es/{styles-CnwKMgeT.js → styles-CIn5_UPO.js} +1 -1
  216. package/sav2/es/{styles-B3b0sWCA.js → styles-CObkxSdu.js} +1 -1
  217. package/sav2/es/{styles-BT4HcDeq.js → styles-D77jf_MG.js} +1 -1
  218. package/{vgv2/es/styles-gMA5mKNz.js → sav2/es/styles-DHz4E5Ee.js} +1 -1
  219. package/{btv2/es/styles-DNfu8wgw.js → sav2/es/styles-DK_4Rag5.js} +1 -1
  220. package/{btv2/es/styles-DL5Hx6w0.js → sav2/es/styles-v6Rv4bnH.js} +1 -1
  221. package/svd/cjs/index.js +1 -1
  222. package/svd/es/_auto-entry_svd-B7ColWRv.js +1 -0
  223. package/svd/es/{events-C-EHiq7H.js → events-9GD88EfQ.js} +1 -1
  224. package/svd/es/{index-_HvU5kJa.js → index--BrRTuin.js} +1 -1
  225. package/{tv4/es/index-CB5MglAL.js → svd/es/index-6vZz1RRV.js} +1 -1
  226. package/svd/es/{index-CnPn_fbB.js → index-BrNY4Qkc.js} +1 -1
  227. package/svd/es/{index-W7dQjhTo.js → index-Brel2H-7.js} +1 -1
  228. package/svd/es/{index-n4-UsOUc.js → index-BwF72xqa.js} +1 -1
  229. package/svd/es/{index-acFwE4Ix.js → index-DLIaZjMS.js} +1 -1
  230. package/svd/es/{index-5UC3lAmk.js → index-DZRzEHEu.js} +1 -1
  231. package/svd/es/{index-CH88gQT4.js → index-tkr1sKgF.js} +1 -1
  232. package/svd/es/index.js +1 -1
  233. package/svd/es/{styles-R6nb3Jkw.js → styles-C3wxgReK.js} +1 -1
  234. package/svd/es/{styles-DheuqIvM.js → styles-CwcVLXoi.js} +1 -1
  235. package/svd/es/{styles-D7B_7e3l.js → styles-CynasQp9.js} +1 -1
  236. package/svd/es/{styles-BzSS7L94.js → styles-DOhG2skN.js} +1 -1
  237. package/svd/es/{styles-D4sNVE3B.js → styles-DOqSsmf1.js} +1 -1
  238. package/svd/es/{styles-DknMsMry.js → styles-oQOt8djF.js} +1 -1
  239. package/svdv2/es/{_auto-entry_svdv2-BCHxGDQm.js → _auto-entry_svdv2-B-KUeaZV.js} +1 -1
  240. package/svdv2/es/{events-BUVUpGbO.js → events-DnKlmSsV.js} +1 -1
  241. package/{koket/es/index-Bow9Vsiv.js → svdv2/es/index-9gNDnCMZ.js} +1 -1
  242. package/svdv2/es/{index-h0UoKNJ5.js → index-BJY4xLFM.js} +1 -1
  243. package/svdv2/es/{index-4m68voiM.js → index-BLfReQk_.js} +1 -1
  244. package/svdv2/es/{index-BJTA3C5q.js → index-CMRdD1NH.js} +1 -1
  245. package/svdv2/es/{index-Cj5jghM6.js → index-Cc2tIvMT.js} +1 -1
  246. package/svdv2/es/{index-wXVLKIRu.js → index-DJRuGYFE.js} +1 -1
  247. package/svdv2/es/{index-DN3SeTxQ.js → index-vpJWTUlt.js} +1 -1
  248. package/svdv2/es/{index-cZlOBFQ9.js → index-yM5o5daz.js} +1 -1
  249. package/svdv2/es/index.js +1 -1
  250. package/svdv2/es/{scale-ad-BmTir_dE.js → scale-ad-DTDw5V34.js} +1 -1
  251. package/svdv2/es/{styles-BvDNaAlv.js → styles-Bjz6-bnN.js} +1 -1
  252. package/svdv2/es/{styles-BYRfgZup.js → styles-CWF-_xUg.js} +1 -1
  253. package/{koket/es/styles-4eGZD3V9.js → svdv2/es/styles-DBx8bX9K.js} +1 -1
  254. package/svdv2/es/{styles-ClzYf4ez.js → styles-DHcJGguT.js} +1 -1
  255. package/svdv2/es/{styles-CVCnhAVx.js → styles-QgwiWr_i.js} +1 -1
  256. package/svdv2/es/{styles-3tYQoQ1f.js → styles-Yd9a8AHU.js} +1 -1
  257. package/tek/cjs/index.js +1 -1
  258. package/tv4/cjs/index.js +1 -1
  259. package/tv4/es/{_auto-entry_tv4-CPY2iGnt.js → _auto-entry_tv4-DYgsq6bz.js} +1 -1
  260. package/tv4/es/{events-ZEr_4REi.js → events--scli2Jr.js} +1 -1
  261. package/tv4/es/{index-D6YyK18_.js → index-65DDwQ1D.js} +1 -1
  262. package/tv4/es/{index-CtleLzZx.js → index-BjT9uLIl.js} +1 -1
  263. package/tv4/es/{index-BZk0iOwS.js → index-Bu2ZVsbu.js} +1 -1
  264. package/tv4/es/{index-BZRv8uRi.js → index-Bw9BGMnB.js} +1 -1
  265. package/tv4/es/{index-B6GSXtM0.js → index-C2E1Wa60.js} +1 -1
  266. package/tv4/es/{index-C0CKQfrq.js → index-DS8CNbSU.js} +1 -1
  267. package/{svd/es/index-DZ0vkDou.js → tv4/es/index-DqfP_sU5.js} +1 -1
  268. package/tv4/es/{index-DQhPNmCm.js → index-hpVJPik_.js} +1 -1
  269. package/tv4/es/index.js +1 -1
  270. package/tv4/es/{scale-ad-D7jZ8g5g.js → scale-ad-DiMQ5vgO.js} +1 -1
  271. package/{e24/es/styles-DQPNJrYz.js → tv4/es/styles-CQzTIMJo.js} +1 -1
  272. package/tvnu/cjs/index.js +1 -1
  273. package/vg/cjs/index.js +1 -1
  274. package/vg/es/_auto-entry_vg-BIJ4Daxo.js +1 -0
  275. package/vg/es/{events-DM1K4O0D.js → events-B3vtFHYR.js} +1 -1
  276. package/{bt/es/index-DKdTpN_T.js → vg/es/index-BLQ78V4L.js} +1 -1
  277. package/vg/es/{index-CepB2sb7.js → index-BRd4Uo91.js} +1 -1
  278. package/vg/es/{index-D2hn5brq.js → index-CEPbLRn0.js} +1 -1
  279. package/{sa/es/index-DCC-in2X.js → vg/es/index-DiNKgzPj.js} +1 -1
  280. package/vg/es/{index-Bi8hpuMR.js → index-HGrSf4h7.js} +1 -1
  281. package/vg/es/index-KlYhQHNP.js +1 -0
  282. package/vg/es/{index-C7P0av4B.js → index-MIOXh5bg.js} +1 -1
  283. package/vg/es/index-jTqYOyBr.js +1 -0
  284. package/vg/es/index.js +1 -1
  285. package/vg/es/scale-ad-DQ2GXpSU.js +1 -0
  286. package/vg/es/{styles-DSnIq9xg.js → styles-B9cTA0Im.js} +1 -1
  287. package/{sa/es/styles-Cu_4X6N2.js → vg/es/styles-BXk3X6vB.js} +1 -1
  288. package/vg/es/{styles-BeTwE6S5.js → styles-BpOvZqmF.js} +1 -1
  289. package/{bt/es/styles-D9oI-FK5.js → vg/es/styles-Bypl0UBz.js} +1 -1
  290. package/vg/es/{styles-D5PD19yu.js → styles-CfBDJG51.js} +1 -1
  291. package/vg/es/{styles-Cpl1GTE-.js → styles-CkqMADny.js} +1 -1
  292. package/vg/es/{styles-BeZ20FxN.js → styles-CmMOyTk9.js} +1 -1
  293. package/{sa/es/styles-DXpI4wJv.js → vg/es/styles-CnGVaZcM.js} +1 -1
  294. package/vg/es/{styles-TeJPlctg.js → styles-D33Q4KWo.js} +1 -1
  295. package/vg/es/{styles-LcuHOyKd.js → styles-DJ-mpCHa.js} +1 -1
  296. package/vg/es/{styles-hEkh8XCI.js → styles-DN1Q82Lg.js} +1 -1
  297. package/vg/es/{styles-DanimEf3.js → styles-Dp1S91o3.js} +1 -1
  298. package/vg/es/{styles-BH_2KwTL.js → styles-M2vAuf3Y.js} +1 -1
  299. package/vg/es/{styles-Bvo68pjh.js → styles-gO8l3cO-.js} +1 -1
  300. package/{bt/es/styles-B_nHQkJ3.js → vg/es/styles-wYGck8cN.js} +1 -1
  301. package/vgv2/es/_auto-entry_vgv2-B7beaWXE.js +1 -0
  302. package/vgv2/es/{events-CU6lDjlp.js → events-DLltW_O9.js} +1 -1
  303. package/vgv2/es/{index-C41YNeYN.js → index-BCsXRgaE.js} +1 -1
  304. package/{btv2/es/index-Dj-p5SKP.js → vgv2/es/index-BdYij3_Z.js} +1 -1
  305. package/vgv2/es/{index-DsgH07_Z.js → index-Bs47KYAG.js} +1 -1
  306. package/vgv2/es/{index-BpAkHIh0.js → index-C7fDRLQV.js} +1 -1
  307. package/vgv2/es/{index-D-ge5EMf.js → index-ClO5If6i.js} +1 -1
  308. package/vgv2/es/index-Doxmlaed.js +1 -0
  309. package/vgv2/es/index-Gge0koEJ.js +1 -0
  310. package/vgv2/es/{index-BHdh5Edf.js → index-PB8pEhOv.js} +1 -1
  311. package/vgv2/es/index.js +1 -1
  312. package/vgv2/es/scale-ad-BzCzPf5k.js +1 -0
  313. package/vgv2/es/{styles-BmlTUN3m.js → styles--yR32t3u.js} +1 -1
  314. package/vgv2/es/{styles-Dp6C8-8v.js → styles-B5BEcWob.js} +1 -1
  315. package/vgv2/es/{styles-Dgm8Nu9V.js → styles-B6Xfbupp.js} +1 -1
  316. package/vgv2/es/{styles-Bu1ki9Bj.js → styles-BTAs7djE.js} +1 -1
  317. package/vgv2/es/{styles-CnY1SPk_.js → styles-BgD_Kcnw.js} +1 -1
  318. package/vgv2/es/{styles-CRetiDTh.js → styles-BgaEVM8R.js} +1 -1
  319. package/{sav2/es/styles-DDaTDyJl.js → vgv2/es/styles-BtCJWM7_.js} +1 -1
  320. package/{btv2/es/styles-L39FUvpX.js → vgv2/es/styles-CKeopc6b.js} +1 -1
  321. package/vgv2/es/{styles-CGC56Yg4.js → styles-CN60NRLb.js} +1 -1
  322. package/{btv2/es/styles-CGvNh5Ob.js → vgv2/es/styles-CePrjKj9.js} +1 -1
  323. package/vgv2/es/{styles-Df0noyJL.js → styles-CnDzM2MT.js} +1 -1
  324. package/vgv2/es/{styles-CkKOWi_a.js → styles-CxrJr4vx.js} +1 -1
  325. package/vgv2/es/{styles-B4mdtRkK.js → styles-D4QLh2Jl.js} +1 -1
  326. package/vgv2/es/{styles-CvWJJJAu.js → styles-Db0Wp_Wr.js} +1 -1
  327. package/{btv2/es/styles-CvToBOcg.js → vgv2/es/styles-Dt5-nZnh.js} +1 -1
  328. package/aftenposten/es/_auto-entry_aftenposten-ICK2-YuF.js +0 -1
  329. package/aftenposten/es/index-CJH6KRnG.js +0 -1
  330. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BJvvqS_I.js +0 -1
  331. package/aftenpostenv2/es/index-D3Fb0lAx.js +0 -1
  332. package/aftenpostenv2/es/index-rycV15u7.js +0 -1
  333. package/aftonbladet/es/index-0bR4-t0_.js +0 -1
  334. package/bt/es/_auto-entry_bt-C6LwdwXv.js +0 -1
  335. package/bt/es/index-BCwN3w-R.js +0 -1
  336. package/bt/es/index-CE0VTqRv.js +0 -1
  337. package/btv2/es/_auto-entry_btv2-Uptab0cc.js +0 -1
  338. package/btv2/es/index-3WQLhukg.js +0 -1
  339. package/btv2/es/index-DWg7lGiq.js +0 -1
  340. package/sa/es/_auto-entry_sa-aPtRRU6j.js +0 -1
  341. package/sa/es/index-CppsjZ_4.js +0 -1
  342. package/sa/es/index-DczVv38e.js +0 -1
  343. package/svd/es/_auto-entry_svd-De7Jlve0.js +0 -1
  344. package/vg/es/_auto-entry_vg-CYvStn5I.js +0 -1
  345. package/vg/es/index-BHqI3NZ6.js +0 -1
  346. package/vg/es/index-yAhf2hhf.js +0 -1
  347. package/vgv2/es/_auto-entry_vgv2-CO5k_zJj.js +0 -1
  348. package/vgv2/es/index-Ba2RpG_q.js +0 -1
  349. package/vgv2/es/index-Df2yWfXi.js +0 -1
@@ -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_koket-CnmfZ-LI.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_koket-t5b_JFSB.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{_ as t,c as e,j as o,O as n,P as s}from"./_auto-entry_koket-CnmfZ-LI.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_koket-t5b_JFSB.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{c as e,n as t,t as o}from"./_auto-entry_koket-CnmfZ-LI.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_koket-t5b_JFSB.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{_ as t,l as e,Q as a,R as n,j as i,U as l}from"./_auto-entry_svdv2-BCHxGDQm.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_koket-t5b_JFSB.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{c as t}from"./_auto-entry_koket-CnmfZ-LI.js";import{c as e}from"./scale-ad-B2LCFUwS.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_koket-t5b_JFSB.js";import{c as e}from"./scale-ad-BBenOtv6.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
- 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_koket-CnmfZ-LI.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_koket-t5b_JFSB.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{c as e,E as t,S as o,G as d}from"./_auto-entry_koket-CnmfZ-LI.js";import{s as i}from"./scale-ad-B2LCFUwS.js";export{c as calculateScaleFactor,g as getAspectRatio,a as scaleAdIpadAirPortrait}from"./scale-ad-B2LCFUwS.js";import"react/jsx-runtime";const l=a=>{var l,n,s,r,c,u;const{adScaleConfig:f,pageContext:{deviceType:v}}=e.get();if(!(null==f?void 0:f.enabled))return;if(t(a,o.ANY_FULLSCREEN))return;const p=null!==(l=f.adsToBeScaled[v])&&void 0!==l?l:[],m=d(a.targetId.split("-")[0]);if(!p.includes(m))return;const g=null!==(s=null===(n=f.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 e,E as t,S as o,G as d}from"./_auto-entry_koket-t5b_JFSB.js";import{s as i}from"./scale-ad-BBenOtv6.js";export{c as calculateScaleFactor,g as getAspectRatio,a as scaleAdIpadAirPortrait}from"./scale-ad-BBenOtv6.js";import"react/jsx-runtime";const l=a=>{var l,n,s,r,c,u;const{adScaleConfig:f,pageContext:{deviceType:v}}=e.get();if(!(null==f?void 0:f.enabled))return;if(t(a,o.ANY_FULLSCREEN))return;const p=null!==(l=f.adsToBeScaled[v])&&void 0!==l?l:[],m=d(a.targetId.split("-")[0]);if(!p.includes(m))return;const g=null!==(s=null===(n=f.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{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_koket-CnmfZ-LI.js";import{xandrAdLoaded as y,finnBlinkLoaded as b}from"./events-c-deIBMR.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_koket-t5b_JFSB.js";import{xandrAdLoaded as y,finnBlinkLoaded as b}from"./events-Brd4M6AE.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
- export{K as getDrEditionManager,L as handleDrEdition,M as handleDrEditionBackfill,N as handleDrEditionBackfillOnAdblock}from"./_auto-entry_koket-CnmfZ-LI.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_koket-t5b_JFSB.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};
package/koket/es/index.js CHANGED
@@ -1 +1 @@
1
- export{W as Takeover,V as default}from"./_auto-entry_koket-CnmfZ-LI.js";import"react/jsx-runtime";
1
+ export{W as Takeover,V as default}from"./_auto-entry_koket-t5b_JFSB.js";import"react/jsx-runtime";
@@ -1 +1 @@
1
- import{I as t,H as e,J as r}from"./_auto-entry_koket-CnmfZ-LI.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_koket-t5b_JFSB.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_svdv2-BCHxGDQm.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_koket-t5b_JFSB.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};