@schibsted/advertory 3.14.0 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/ad-native/cjs/index.d.ts +1 -0
  2. package/ad-native/es/index.d.ts +1 -0
  3. package/aftenposten/cjs/index.d.ts +1 -0
  4. package/aftenposten/cjs/index.js +1 -1
  5. package/aftenposten/es/_auto-entry_aftenposten-RBEMGbJM.js +1 -0
  6. package/aftenposten/es/{events-COn-FPrr.js → events-D8pWSmsg.js} +1 -1
  7. package/aftenposten/es/{index-CTkaaCEC.js → index-BpDhcw-E.js} +1 -1
  8. package/aftenposten/es/{index-F6hQEHv9.js → index-C8KzO_Bo.js} +1 -1
  9. package/aftenposten/es/{index-C9zODdkH.js → index-CVNgEU97.js} +1 -1
  10. package/aftenposten/es/{index-CVrsr7jO.js → index-CabG87Qj.js} +1 -1
  11. package/aftenposten/es/{index-C6eKrBGF.js → index-ChMcrS9k.js} +1 -1
  12. package/aftenposten/es/{index-DQcrcBDS.js → index-D7IIvMmD.js} +1 -1
  13. package/aftenposten/es/{index-DwzWget9.js → index-D_ZfDX7n.js} +1 -1
  14. package/aftenposten/es/{index-uLWFv-X_.js → index-MwzGrVXl.js} +1 -1
  15. package/aftenposten/es/index.d.ts +1 -0
  16. package/aftenposten/es/index.js +1 -1
  17. package/aftenposten/es/{styles-BlUsOGhM.js → styles---H38acf.js} +1 -1
  18. package/aftenposten/es/{styles-B3vbcTzP.js → styles-BLV3pNDc.js} +1 -1
  19. package/aftenposten/es/{styles-C7_b7fUy.js → styles-BSpQ9wrB.js} +1 -1
  20. package/aftenposten/es/{styles-CyI77As3.js → styles-BY1YXXd9.js} +1 -1
  21. package/aftenposten/es/{styles-BNdWsVt6.js → styles-Bf3o4iGL.js} +1 -1
  22. package/aftenposten/es/{styles-C41F4Thy.js → styles-BsjNe66H.js} +1 -1
  23. package/aftenposten/es/{styles-BLosNpS0.js → styles-CmGvzh7N.js} +1 -1
  24. package/aftenposten/es/{styles-Cb4G31mK.js → styles-D-GEnM2K.js} +1 -1
  25. package/aftenposten/es/{styles-DSTa9d1I.js → styles-DLcI0XaA.js} +1 -1
  26. package/aftenposten/es/{styles-BMqrIe3m.js → styles-Ndioyk21.js} +1 -1
  27. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BQuke4cU.js +1 -0
  28. package/aftenpostenv2/es/{events-BVM8jQt2.js → events-D0AzPHgD.js} +1 -1
  29. package/aftenpostenv2/es/{index-CzwB2HqZ.js → index-BzzsRi1p.js} +1 -1
  30. package/aftenpostenv2/es/{index-D2zLY1cK.js → index-C6ViniMz.js} +1 -1
  31. package/aftenpostenv2/es/{index-DbUs0FkP.js → index-CT3bnylL.js} +1 -1
  32. package/aftenpostenv2/es/{index-DO3I8tfX.js → index-DHIaSS0w.js} +1 -1
  33. package/aftenpostenv2/es/{index-C4IQzpqb.js → index-DLg5TKvF.js} +1 -1
  34. package/aftenpostenv2/es/{index-NMi0M45v.js → index-DRBmTJEh.js} +1 -1
  35. package/aftenpostenv2/es/{index-quLfeUqz.js → index-DccyhRzR.js} +1 -1
  36. package/aftenpostenv2/es/{index-BHUyXg_T.js → index-VxOMsbBZ.js} +1 -1
  37. package/aftenpostenv2/es/index.d.ts +1 -0
  38. package/aftenpostenv2/es/index.js +1 -1
  39. package/aftenpostenv2/es/{styles-B-bS7-GV.js → styles-BnzCRfJC.js} +1 -1
  40. package/aftenpostenv2/es/{styles-B7fdygBv.js → styles-BsZpcwGt.js} +1 -1
  41. package/aftenpostenv2/es/{styles-B-qeA5n5.js → styles-Bt7FhUi7.js} +1 -1
  42. package/aftenpostenv2/es/{styles-_hKi7Ek7.js → styles-C2PryDI0.js} +1 -1
  43. package/aftenpostenv2/es/{styles-IPQX-LHw.js → styles-CFWM6WfN.js} +1 -1
  44. package/aftenpostenv2/es/{styles-BZyG4F6d.js → styles-Cjxj5X-y.js} +1 -1
  45. package/aftenpostenv2/es/{styles-D4R_cUiE.js → styles-D7sCt52w.js} +1 -1
  46. package/aftenpostenv2/es/{styles-Ci8neU2c.js → styles-DNU8Xu50.js} +1 -1
  47. package/aftenpostenv2/es/{styles--mKxRXMT.js → styles-Drs3vx54.js} +1 -1
  48. package/aftenpostenv2/es/{styles-D9tRC6Vc.js → styles-zFiHo4Mv.js} +1 -1
  49. package/aftonbladet/cjs/index.d.ts +1 -0
  50. package/aftonbladet/cjs/index.js +1 -1
  51. package/aftonbladet/es/_auto-entry_aftonbladet-CAArVKie.js +1 -0
  52. package/aftonbladet/es/{events-BciUTPAw.js → events-p54Iu8vF.js} +1 -1
  53. package/aftonbladet/es/{index-c2ISyeBZ.js → index-B0seJE6d.js} +1 -1
  54. package/aftonbladet/es/{index-DYL16SiL.js → index-Bsr4MaXs.js} +1 -1
  55. package/aftonbladet/es/{index-BQp8szO4.js → index-CfSNT4C2.js} +1 -1
  56. package/aftonbladet/es/{index-D5FHkWBt.js → index-CjAwtnM1.js} +1 -1
  57. package/aftonbladet/es/{index-LJ_401M8.js → index-D1w-ivv6.js} +1 -1
  58. package/aftonbladet/es/{index-CDVUuKiL.js → index-D4qCky3j.js} +1 -1
  59. package/aftonbladet/es/{index-5zBPAAOD.js → index-DfE4pXnF.js} +1 -1
  60. package/aftonbladet/es/{index-BjaugwcA.js → index-ci4R4rww.js} +1 -1
  61. package/aftonbladet/es/index.d.ts +1 -0
  62. package/aftonbladet/es/index.js +1 -1
  63. package/aftonbladet/es/{styles-DY-PRsOi.js → styles-0NsCHKhy.js} +1 -1
  64. package/aftonbladet/es/{styles-Djujyqgp.js → styles-CEvgmr2F.js} +1 -1
  65. package/aftonbladet/es/{styles-CTmjFUUF.js → styles-CFMH3DPn.js} +1 -1
  66. package/aftonbladet/es/{styles-CFSKglDC.js → styles-Dn54iRJh.js} +1 -1
  67. package/aftonbladet/es/{styles-Bo5pe7UF.js → styles-q3_G2IY5.js} +1 -1
  68. package/aftonbladet/es/{styles-DfG4m6y0.js → styles-v8yXPogn.js} +1 -1
  69. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-Bhr4jHWC.js +1 -0
  70. package/aftonbladetv2/es/{events-z7QkQ0O_.js → events-eXnWwS1R.js} +1 -1
  71. package/aftonbladetv2/es/{index-DSBxXAHH.js → index-Bch45NKd.js} +1 -1
  72. package/aftonbladetv2/es/{index-BEnNW7QM.js → index-Bs17skju.js} +1 -1
  73. package/aftonbladetv2/es/{index-CHZ1iWU2.js → index-CBUT5K4r.js} +1 -1
  74. package/aftonbladetv2/es/{index-S1ot-ETb.js → index-CadxQurG.js} +1 -1
  75. package/aftonbladetv2/es/{index-CftV2j5Q.js → index-D1ULWRDx.js} +1 -1
  76. package/aftonbladetv2/es/{index-D9WCVlVf.js → index-DIOnmfnX.js} +1 -1
  77. package/aftonbladetv2/es/{index-Cb-5dXHO.js → index-DMqn_IZm.js} +1 -1
  78. package/aftonbladetv2/es/{index-BYue1j9n.js → index-cv7jnXrH.js} +1 -1
  79. package/aftonbladetv2/es/index.d.ts +1 -0
  80. package/aftonbladetv2/es/index.js +1 -1
  81. package/aftonbladetv2/es/{styles-DwPTni6g.js → styles-B5F5zUBs.js} +1 -1
  82. package/aftonbladetv2/es/{styles-DcT-kMN6.js → styles-C7szoH8D.js} +1 -1
  83. package/aftonbladetv2/es/{styles-C3Mi_h4N.js → styles-CujdGQ5S.js} +1 -1
  84. package/aftonbladetv2/es/{styles-D93Yddu9.js → styles-DP7lB0tL.js} +1 -1
  85. package/aftonbladetv2/es/{styles-YO7iFgvJ.js → styles-DULiC4js.js} +1 -1
  86. package/aftonbladetv2/es/{styles-D-msgy6U.js → styles-zT8eWXsS.js} +1 -1
  87. package/bt/cjs/index.d.ts +1 -0
  88. package/bt/cjs/index.js +1 -1
  89. package/bt/es/_auto-entry_bt-Dk176YDo.js +1 -0
  90. package/bt/es/{events-zSWMfNcw.js → events-rj14pRWj.js} +1 -1
  91. package/bt/es/{index-B8JH-Nfp.js → index-BDRHm2Nu.js} +1 -1
  92. package/bt/es/{index-DVa0T_5U.js → index-BDz1HlN9.js} +1 -1
  93. package/bt/es/{index-D5brydyb.js → index-CT1ewpbE.js} +1 -1
  94. package/bt/es/{index-DyOlSGg2.js → index-D6W9gnkz.js} +1 -1
  95. package/{sa/es/index-BTsAClL0.js → bt/es/index-DsnsTH-b.js} +1 -1
  96. package/bt/es/{index-Bcax_Dbe.js → index-DwF6_7Fr.js} +1 -1
  97. package/{sa/es/index-Cs1N3W8N.js → bt/es/index-hyiU7O-x.js} +1 -1
  98. package/bt/es/{index-DTmY0FHd.js → index-x77EPzPH.js} +1 -1
  99. package/bt/es/index.d.ts +1 -0
  100. package/bt/es/index.js +1 -1
  101. package/bt/es/{styles-BZ6tylNM.js → styles--Rfzvghi.js} +1 -1
  102. package/bt/es/{styles-CwmMPOvv.js → styles-8VZJFOAE.js} +1 -1
  103. package/bt/es/{styles-DKR9_2o0.js → styles-B0MKj30a.js} +1 -1
  104. package/{sa/es/styles-CAY-jQ81.js → bt/es/styles-BMLCr-Gn.js} +1 -1
  105. package/bt/es/{styles-mbD9xc0n.js → styles-BMzFrQLz.js} +1 -1
  106. package/bt/es/{styles-BzqMXPlJ.js → styles-Byoy8_H9.js} +1 -1
  107. package/bt/es/{styles-CItDFgqI.js → styles-CWMO-ZDL.js} +1 -1
  108. package/bt/es/{styles-CnEaeIlW.js → styles-D3ESKF3v.js} +1 -1
  109. package/bt/es/{styles-Bm8PwReK.js → styles-DO5qqVdH.js} +1 -1
  110. package/btv2/es/_auto-entry_btv2-C3BMfR9N.js +1 -0
  111. package/{omni/es/events-DaZPltpI.js → btv2/es/events-BjiorpRK.js} +1 -1
  112. package/btv2/es/{index-CxLja4KL.js → index-B5XndCUs.js} +1 -1
  113. package/btv2/es/{index-DYVDLzgr.js → index-BIdcGwbC.js} +1 -1
  114. package/{omni/es/index-PpdxwSxB.js → btv2/es/index-CMrcaT3O.js} +1 -1
  115. package/btv2/es/{index-CZ2jUsC8.js → index-D49iNH3k.js} +1 -1
  116. package/btv2/es/{index-DEFnGbQS.js → index-DRKjsTZi.js} +1 -1
  117. package/btv2/es/{index-Dre9lOD6.js → index-DS_73ZWC.js} +1 -1
  118. package/{omni/es/index-BMg_8S9i.js → btv2/es/index-Dq_ikWoX.js} +1 -1
  119. package/btv2/es/{index-BxjAtqJH.js → index-fGrh7N-w.js} +1 -1
  120. package/btv2/es/index.d.ts +1 -0
  121. package/btv2/es/index.js +1 -1
  122. package/btv2/es/{styles-DcZW3m-_.js → styles-BDmL6oOb.js} +1 -1
  123. package/{sav2/es/styles-DG0SdBOt.js → btv2/es/styles-BcfarAWx.js} +1 -1
  124. package/btv2/es/{styles-CYcZm-cw.js → styles-CGp-VlPi.js} +1 -1
  125. package/{sav2/es/styles-CCVC5ase.js → btv2/es/styles-CnimDhRk.js} +1 -1
  126. package/btv2/es/{styles-Ck3Mb8Qt.js → styles-Cx_8Y6Cg.js} +1 -1
  127. package/{sav2/es/styles-uE3YihAM.js → btv2/es/styles-DEZqUzVC.js} +1 -1
  128. package/btv2/es/{styles-CjpKLMMh.js → styles-DTN0yzBV.js} +1 -1
  129. package/btv2/es/{styles-m5JoY278.js → styles-DyuMInjp.js} +1 -1
  130. package/e24/es/_auto-entry_e24-BIxvA8qH.js +1 -0
  131. package/e24/es/{events-BtU2-QIs.js → events-BrI0rzBQ.js} +1 -1
  132. package/e24/es/{index-KaBys6Eu.js → index-B1RWWDA4.js} +1 -1
  133. package/e24/es/{index-DltA2YYu.js → index-Bn00DU_j.js} +1 -1
  134. package/e24/es/{index-Bz8KJdQV.js → index-CqQXC6mF.js} +1 -1
  135. package/e24/es/{index-DKdW_Qc1.js → index-DjweqiVg.js} +1 -1
  136. package/e24/es/{index-5ILorHZy.js → index-NE0Lh0jl.js} +1 -1
  137. package/e24/es/{index-BkSlTfIh.js → index-OnKBw5e5.js} +1 -1
  138. package/e24/es/{index-Bmex-Pem.js → index-jIqxCG8Y.js} +1 -1
  139. package/e24/es/{index-CF8xjZ_J.js → index-zNXfc029.js} +1 -1
  140. package/e24/es/index.d.ts +1 -0
  141. package/e24/es/index.js +1 -1
  142. package/e24/es/{styles-emvV_IJ8.js → styles--C4eEm_t.js} +1 -1
  143. package/e24/es/{styles-Bc2ymTRk.js → styles-As4sWC1w.js} +1 -1
  144. package/e24/es/{styles-D-7I2nFd.js → styles-BejDP2r8.js} +1 -1
  145. package/{tv4/es/styles-ChpbjZsl.js → e24/es/styles-CKcjc5a0.js} +1 -1
  146. package/e24/es/{styles-DhRjX91k.js → styles-DOHgKGcp.js} +1 -1
  147. package/e24/es/{styles-Gdz_uAZV.js → styles-DPOzTob1.js} +1 -1
  148. package/e24/es/{styles-CmMqcxDo.js → styles-HsQZ6qZs.js} +1 -1
  149. package/e24/es/{styles-CdZY3dq0.js → styles-Q-b3Qw_Z.js} +1 -1
  150. package/e24/es/{styles-DlQuPLF7.js → styles-R0mK5AJ4.js} +1 -1
  151. package/e24/es/{styles-BVuLNz28.js → styles-lPDidEBC.js} +1 -1
  152. package/e24/es/{styles-BNz50moW.js → styles-nrXb8MPO.js} +1 -1
  153. package/editory/cjs/index.d.ts +1 -0
  154. package/editory/es/index.d.ts +1 -0
  155. package/fotbollskanalen/cjs/index.d.ts +1 -0
  156. package/fotbollskanalen/cjs/index.js +1 -1
  157. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-C0bG9s2e.js +1 -0
  158. package/fotbollskanalen/es/{events-BM9H_Hwg.js → events-DpB36fIX.js} +1 -1
  159. package/fotbollskanalen/es/{index-5zC5VZwB.js → index-Bip66ufO.js} +1 -1
  160. package/fotbollskanalen/es/{index-BpCO9liF.js → index-BsObvNq4.js} +1 -1
  161. package/fotbollskanalen/es/{index-GNO9rYbM.js → index-CB2-7fAK.js} +1 -1
  162. package/fotbollskanalen/es/{index-CuBvun9V.js → index-CUA2eNGE.js} +1 -1
  163. package/fotbollskanalen/es/{index-C996tDgx.js → index-CtmIMfBu.js} +1 -1
  164. package/fotbollskanalen/es/{index-BZ3u0pAs.js → index-DFOvO8Gk.js} +1 -1
  165. package/fotbollskanalen/es/{index-i1OXEX3j.js → index-OGQEy9H9.js} +1 -1
  166. package/fotbollskanalen/es/{index-kvoAekJM.js → index-kFg83CZS.js} +1 -1
  167. package/fotbollskanalen/es/index.d.ts +1 -0
  168. package/fotbollskanalen/es/index.js +1 -1
  169. package/fotbollskanalen/es/{styles-B1canwjK.js → styles-B19q7540.js} +1 -1
  170. package/fotbollskanalen/es/{styles-DMynzIJ1.js → styles-CjtCSs6I.js} +1 -1
  171. package/fotbollskanalen/es/{styles-D_YiYNmI.js → styles-CvqKtsSK.js} +1 -1
  172. package/fotbollskanalen/es/{styles-CSwgB2YH.js → styles-J_UB-3gD.js} +1 -1
  173. package/godt/cjs/index.d.ts +1 -0
  174. package/godt/cjs/index.js +1 -1
  175. package/kilkaya/cjs/index.d.ts +1 -0
  176. package/kilkaya/es/index.d.ts +1 -0
  177. package/klart/cjs/index.d.ts +1 -0
  178. package/klart/cjs/index.js +1 -1
  179. package/koket/cjs/index.d.ts +1 -0
  180. package/koket/cjs/index.js +1 -1
  181. package/koket/es/_auto-entry_koket-CfdwxTqe.js +1 -0
  182. package/koket/es/{events-cQMVjz-j.js → events-DfRbJxyU.js} +1 -1
  183. package/{svdv2/es/index-iZvaPYwJ.js → koket/es/index-4zfKSkHr.js} +1 -1
  184. package/{svdv2/es/index-DHCVf0xu.js → koket/es/index-BlZzrwzV.js} +1 -1
  185. package/koket/es/{index-Dxh1jnMl.js → index-BnfNHEXx.js} +1 -1
  186. package/koket/es/{index-DuAB56n3.js → index-CJ1W571o.js} +1 -1
  187. package/koket/es/{index-BRcjZFmc.js → index-Cqr-buJd.js} +1 -1
  188. package/koket/es/{index-CGle-E3E.js → index-D85uO69N.js} +1 -1
  189. package/koket/es/{index-zyt3V-yF.js → index-DDbpDX-g.js} +1 -1
  190. package/koket/es/{index-BVnNph06.js → index-eql9xeF3.js} +1 -1
  191. package/koket/es/index.d.ts +1 -0
  192. package/koket/es/index.js +1 -1
  193. package/koket/es/{styles-4zD-USa0.js → styles-BDu9ZZwO.js} +1 -1
  194. package/{svdv2/es/styles-DBwzWxyS.js → koket/es/styles-Bon_993j.js} +1 -1
  195. package/{svdv2/es/styles-DT9mimUD.js → koket/es/styles-CP3fGIq5.js} +1 -1
  196. package/koket/es/{styles-CINT-liB.js → styles-CqURRP3E.js} +1 -1
  197. package/minmote/cjs/index.d.ts +1 -0
  198. package/minmote/cjs/index.js +1 -1
  199. package/mtv/es/{_auto-entry_mtv-C-DqcBJN.js → _auto-entry_mtv-BDbckjio.js} +1 -1
  200. package/mtv/es/{events-D6eNc80H.js → events-BTYIrHRZ.js} +1 -1
  201. package/mtv/es/{index-D6DOIFkl.js → index-BO-i3sCG.js} +1 -1
  202. package/mtv/es/{index-BhtXnLCK.js → index-C1LxbEmw.js} +1 -1
  203. package/mtv/es/{index-DsQiBTiE.js → index-CLQvYoC-.js} +1 -1
  204. package/{tv4/es/index-D_NKdUhT.js → mtv/es/index-CMcYIr5B.js} +1 -1
  205. package/mtv/es/{index-C2XLOnbD.js → index-DJlsLpQx.js} +1 -1
  206. package/mtv/es/{index-P17-iu-w.js → index-DeKzJSAu.js} +1 -1
  207. package/mtv/es/{index-C1xrqa-K.js → index-DeSJppRQ.js} +1 -1
  208. package/mtv/es/{index-D0yHUhvA.js → index-bmZLGjIV.js} +1 -1
  209. package/mtv/es/index.d.ts +1 -0
  210. package/mtv/es/index.js +1 -1
  211. package/omni/es/_auto-entry_omni-kPi2t184.js +1 -0
  212. package/{tvnu/es/events-bziv0wIO.js → omni/es/events-DNR4Qw8_.js} +1 -1
  213. package/omni/es/{index-Bw81p4Rt.js → index-B94lMokz.js} +1 -1
  214. package/{tvnu/es/index-Cj61_PZ4.js → omni/es/index-BOWJ6T50.js} +1 -1
  215. package/omni/es/{index-C5phcvAz.js → index-BWjQ3CYh.js} +1 -1
  216. package/{btv2/es/index-C6jg4555.js → omni/es/index-BaBVL5Ud.js} +1 -1
  217. package/omni/es/{index-Cgguc_hJ.js → index-CMF_JH0-.js} +1 -1
  218. package/omni/es/{index-Cpt2TcN0.js → index-CTHSWhc8.js} +1 -1
  219. package/omni/es/{index--Ge_tJAt.js → index-D6MzZqfs.js} +1 -1
  220. package/{btv2/es/index-683l-LIl.js → omni/es/index-DgqG_a5X.js} +1 -1
  221. package/omni/es/index.d.ts +1 -0
  222. package/omni/es/index.js +1 -1
  223. package/omni/es/{styles-zf0Vergo.js → styles-DPl5PPP2.js} +1 -1
  224. package/omni/es/{styles-Cn1k7uPH.js → styles-cOSLf7Mq.js} +1 -1
  225. package/package.json +1 -1
  226. package/pent/cjs/index.d.ts +1 -0
  227. package/pent/cjs/index.js +1 -1
  228. package/sa/cjs/index.d.ts +1 -0
  229. package/sa/cjs/index.js +1 -1
  230. package/sa/es/_auto-entry_sa-BVVMzNzi.js +1 -0
  231. package/sa/es/{events-CjSUqjTP.js → events-DI3diJFL.js} +1 -1
  232. package/{bt/es/index-B22ajbzx.js → sa/es/index-B3ltZ2Im.js} +1 -1
  233. package/sa/es/{index-D7wCRzzd.js → index-BDXsIVrg.js} +1 -1
  234. package/{bt/es/index-CwJSeGo8.js → sa/es/index-BqJ1WPAJ.js} +1 -1
  235. package/sa/es/{index-ZZCrsJwU.js → index-CIec2YTJ.js} +1 -1
  236. package/sa/es/{index-Bn5YnF0C.js → index-CTtjQOs5.js} +1 -1
  237. package/sa/es/{index-ChuXDpqn.js → index-DIE4Q0G2.js} +1 -1
  238. package/sa/es/{index-CTZsVg64.js → index-_j0q3jV3.js} +1 -1
  239. package/sa/es/{index-DtVudlzc.js → index-x0P5jn9g.js} +1 -1
  240. package/sa/es/index.d.ts +1 -0
  241. package/sa/es/index.js +1 -1
  242. package/sa/es/{styles-CrlltCSJ.js → styles-BKH-itvT.js} +1 -1
  243. package/{vg/es/styles-CEEQ8VE2.js → sa/es/styles-BbMqylP3.js} +1 -1
  244. package/sa/es/{styles-DpNJdlmo.js → styles-Bql3BSp8.js} +1 -1
  245. package/sa/es/{styles-Di5xHLEI.js → styles-C7lwVpQD.js} +1 -1
  246. package/sa/es/{styles-I-AdzkGz.js → styles-C_xDTp9G.js} +1 -1
  247. package/sa/es/{styles-B7YGTqip.js → styles-Dtb1biv9.js} +1 -1
  248. package/{vg/es/styles-pO-83GAY.js → sa/es/styles-ElFuh5MJ.js} +1 -1
  249. package/sa/es/{styles-Ci7xiEEX.js → styles-KT6z0K0Z.js} +1 -1
  250. package/sa/es/{styles-BPIQjGEq.js → styles-xs6TvmhP.js} +1 -1
  251. package/sav2/es/_auto-entry_sav2-D82eD4oc.js +1 -0
  252. package/sav2/es/{events-DnE9qtT1.js → events-CthRG9py.js} +1 -1
  253. package/{vgv2/es/index-CcqTyym2.js → sav2/es/index-6GP1iTRr.js} +1 -1
  254. package/sav2/es/{index-BvdAyqWN.js → index-B_Q5_GSE.js} +1 -1
  255. package/sav2/es/{index-BMsqEfXz.js → index-BmWOJlaN.js} +1 -1
  256. package/sav2/es/{index-CUa7vpUR.js → index-CKJyI3N1.js} +1 -1
  257. package/sav2/es/{index-Brw9IwKK.js → index-Cna6rmoX.js} +1 -1
  258. package/{omni/es/index-33SFh6iz.js → sav2/es/index-CruDB6CF.js} +1 -1
  259. package/sav2/es/{index-DG3oHJ_-.js → index-DX6MrZdd.js} +1 -1
  260. package/sav2/es/{index-CjXjhblq.js → index-DazqwtUU.js} +1 -1
  261. package/sav2/es/index.d.ts +1 -0
  262. package/sav2/es/index.js +1 -1
  263. package/sav2/es/{styles-DDY9kZ83.js → styles-BI4HpZVa.js} +1 -1
  264. package/{vgv2/es/styles-B_3Rdqqd.js → sav2/es/styles-BLK_9Ant.js} +1 -1
  265. package/sav2/es/{styles-T0np29DZ.js → styles-Bofifucv.js} +1 -1
  266. package/{vgv2/es/styles-CUp8o6G7.js → sav2/es/styles-CY3ZZwxO.js} +1 -1
  267. package/sav2/es/{styles-CXwJuziz.js → styles-ClAYlm1m.js} +1 -1
  268. package/sav2/es/{styles-D7F5WkPg.js → styles-DsIS4sUA.js} +1 -1
  269. package/{btv2/es/styles-eJ3heWTo.js → sav2/es/styles-jzSfAnLz.js} +1 -1
  270. package/sav2/es/{styles-cOFFQMuA.js → styles-k9X55Rnn.js} +1 -1
  271. package/svd/cjs/index.d.ts +1 -0
  272. package/svd/cjs/index.js +1 -1
  273. package/svd/es/_auto-entry_svd-CoRlxzCg.js +1 -0
  274. package/{tv4/es/events-DnuQIZaL.js → svd/es/events-DCpY41Cg.js} +1 -1
  275. package/svd/es/{index-B7T3Sw8U.js → index-4W_iswyV.js} +1 -1
  276. package/svd/es/{index-DAowtH2A.js → index-BYkihgZA.js} +1 -1
  277. package/svd/es/{index-D6zMX0PF.js → index-Br0CeQZV.js} +1 -1
  278. package/svd/es/{index-DnxLOLhV.js → index-Bs3plEt-.js} +1 -1
  279. package/svd/es/{index-Ci0Z7Tb5.js → index-CBa5CgPk.js} +1 -1
  280. package/{mtv/es/index-9-kjhk2U.js → svd/es/index-CYJD814U.js} +1 -1
  281. package/svd/es/{index-CwhYXMlK.js → index-Dnhi0clS.js} +1 -1
  282. package/svd/es/{index-Cfiv4vyd.js → index-rgHeIyun.js} +1 -1
  283. package/svd/es/index.d.ts +1 -0
  284. package/svd/es/index.js +1 -1
  285. package/svd/es/{styles-DmH40sMg.js → styles-BIrjOvbj.js} +1 -1
  286. package/svd/es/{styles-Cop-nSJ3.js → styles-CBeC-1fu.js} +1 -1
  287. package/svd/es/{styles-Boj9wVXW.js → styles-CN1yvQo7.js} +1 -1
  288. package/svd/es/{styles-DHaqO9eN.js → styles-DtE4dGMU.js} +1 -1
  289. package/svd/es/{styles-Dt2lj1mQ.js → styles-W_yUrhBw.js} +1 -1
  290. package/svd/es/{styles-BpA5Jvq-.js → styles-oIL8ePVu.js} +1 -1
  291. package/svdv2/es/_auto-entry_svdv2-C6rMJno8.js +1 -0
  292. package/svdv2/es/{events-Chs189R7.js → events-By9jQ9Ir.js} +1 -1
  293. package/svdv2/es/{index-DJTfGlGA.js → index-BgpRT2YF.js} +1 -1
  294. package/svdv2/es/{index-CIr37atK.js → index-BvcATPFW.js} +1 -1
  295. package/svdv2/es/{index-lu08HDz9.js → index-CXgz-X13.js} +1 -1
  296. package/svdv2/es/{index-BfrN2w2x.js → index-CYeHwSoY.js} +1 -1
  297. package/svdv2/es/{index-BVVVZkXV.js → index-D5-Q3bOj.js} +1 -1
  298. package/svdv2/es/{index-CMIsb2pX.js → index-D7tbEeNI.js} +1 -1
  299. package/{koket/es/index-AFG1CMgR.js → svdv2/es/index-ZE10OS6e.js} +1 -1
  300. package/{koket/es/index-ZUTKeQO3.js → svdv2/es/index-lp9D_VqW.js} +1 -1
  301. package/svdv2/es/index.d.ts +1 -0
  302. package/svdv2/es/index.js +1 -1
  303. package/svdv2/es/{styles-DBH8PffY.js → styles-4IN-ROzv.js} +1 -1
  304. package/svdv2/es/{styles-DFb-rmXh.js → styles-BDbvDGco.js} +1 -1
  305. package/svdv2/es/{styles-CTYO-9wv.js → styles-CK3cpdWI.js} +1 -1
  306. package/{koket/es/styles-D8JQ7i7s.js → svdv2/es/styles-CpD30RLC.js} +1 -1
  307. package/{koket/es/styles-DKv7V0az.js → svdv2/es/styles-Cuxjxnz7.js} +1 -1
  308. package/svdv2/es/{styles-CzECSXpq.js → styles-D8SLFgsU.js} +1 -1
  309. package/svdv2/es/{styles-BheiqvXx.js → styles-zHKSAqF4.js} +1 -1
  310. package/tek/cjs/index.d.ts +1 -0
  311. package/tek/cjs/index.js +1 -1
  312. package/tracker/cjs/index.d.ts +1 -0
  313. package/tracker/es/index.d.ts +1 -0
  314. package/tv4/cjs/index.d.ts +1 -0
  315. package/tv4/cjs/index.js +1 -1
  316. package/tv4/es/_auto-entry_tv4-CunA1-4L.js +1 -0
  317. package/{svd/es/events-JIIw3wQ4.js → tv4/es/events-4KySLBAR.js} +1 -1
  318. package/tv4/es/{index-PlGN6c11.js → index-BDOkY4IN.js} +1 -1
  319. package/tv4/es/{index-Chz83o3B.js → index-BUm2iJCL.js} +1 -1
  320. package/tv4/es/{index-Ve5Dg2Dh.js → index-CFbaMlxi.js} +1 -1
  321. package/tv4/es/{index-Ci34Vysr.js → index-D4P-NvdT.js} +1 -1
  322. package/{svd/es/index-BjRgm-QS.js → tv4/es/index-DgOoHYbO.js} +1 -1
  323. package/tv4/es/{index-CSUaKM2g.js → index-wC373CoD.js} +1 -1
  324. package/tv4/es/{index-DzMH9KJx.js → index-xBKjwvS1.js} +1 -1
  325. package/tv4/es/{index-afLAzQDR.js → index-yMXj6DRW.js} +1 -1
  326. package/tv4/es/index.d.ts +1 -0
  327. package/tv4/es/index.js +1 -1
  328. package/tv4/es/{styles-C2wk_Khg.js → styles-Bmq51bK_.js} +1 -1
  329. package/{e24/es/styles-BFwmVCVa.js → tv4/es/styles-Crm3pezD.js} +1 -1
  330. package/tv4/es/{styles-3wU3KckT.js → styles-gV6NqYu-.js} +1 -1
  331. package/tv4/es/{styles-MbsjxL7N.js → styles-m2zKugmR.js} +1 -1
  332. package/tvnu/cjs/index.d.ts +1 -0
  333. package/tvnu/cjs/index.js +1 -1
  334. package/tvnu/es/_auto-entry_tvnu-DE4GbG57.js +1 -0
  335. package/{btv2/es/events-Bj3hwYdO.js → tvnu/es/events-BEMqLH7z.js} +1 -1
  336. package/tvnu/es/{index-cSlV6dga.js → index-BMReWNC9.js} +1 -1
  337. package/tvnu/es/{index-CpGIyR-l.js → index-Bm-S3SYD.js} +1 -1
  338. package/{vgv2/es/index-cEzFpWfW.js → tvnu/es/index-C9T8MdQO.js} +1 -1
  339. package/tvnu/es/{index-tT5A6Cam.js → index-CauAadba.js} +1 -1
  340. package/tvnu/es/{index-5fYx7-Qg.js → index-D1zU2Yxs.js} +1 -1
  341. package/tvnu/es/{index-BVn0qa--.js → index-DuNHAdA7.js} +1 -1
  342. package/tvnu/es/{index-BzH9w-Kz.js → index-EsfYbPbT.js} +1 -1
  343. package/{sav2/es/index-DjTjT06u.js → tvnu/es/index-TDZ9OAcd.js} +1 -1
  344. package/tvnu/es/index.d.ts +1 -0
  345. package/tvnu/es/index.js +1 -1
  346. package/tvnu/es/{styles-BdUj5JN8.js → styles-8eD0eK-_.js} +1 -1
  347. package/tvnu/es/{styles-CCHywZGz.js → styles-B5GgV2tN.js} +1 -1
  348. package/{btv2/es/styles-Ck2zXq6a.js → tvnu/es/styles-BkBzkoE7.js} +1 -1
  349. package/types/index.d.ts +1 -0
  350. package/vg/cjs/index.d.ts +1 -0
  351. package/vg/cjs/index.js +1 -1
  352. package/vg/es/_auto-entry_vg-DoO28oQo.js +1 -0
  353. package/vg/es/{events-CS4hl2bo.js → events-CRsvxUE3.js} +1 -1
  354. package/vg/es/{index-BmfBRu3f.js → index-BSsLrKNL.js} +1 -1
  355. package/vg/es/{index-D_moDRrH.js → index-Bq7MDB3X.js} +1 -1
  356. package/vg/es/{index-CQ1KBql4.js → index-CAX8dYg4.js} +1 -1
  357. package/vg/es/{index-BrT3FJxK.js → index-CGvHyIoW.js} +1 -1
  358. package/vg/es/{index-C0FSaW5p.js → index-CVP91nhn.js} +1 -1
  359. package/vg/es/{index-Vi8Zce_j.js → index-DkIhalKX.js} +1 -1
  360. package/vg/es/{index-RsIFv2f4.js → index-Dpp2Yjnl.js} +1 -1
  361. package/vg/es/{index-SeBNAtI0.js → index-ywUd_exl.js} +1 -1
  362. package/vg/es/index.d.ts +1 -0
  363. package/vg/es/index.js +1 -1
  364. package/vg/es/{styles-DOuw1KBv.js → styles-6GpAwbSQ.js} +1 -1
  365. package/vg/es/{styles-C2mlUMGG.js → styles-BXprVqIK.js} +1 -1
  366. package/vg/es/{styles-v8N4Hyfg.js → styles-BdsbGPQT.js} +1 -1
  367. package/vg/es/{styles-DyJUQx6o.js → styles-C8eMLGoZ.js} +1 -1
  368. package/vg/es/{styles-BhM96y6T.js → styles-CRDS-l-x.js} +1 -1
  369. package/vg/es/{styles-DjlVH3u-.js → styles-CTTv6Ja7.js} +1 -1
  370. package/vg/es/{styles-BDiyRuXL.js → styles-CbcwYAlK.js} +1 -1
  371. package/{sa/es/styles-DEvMHcKN.js → vg/es/styles-Cmp2KkM3.js} +1 -1
  372. package/{bt/es/styles-CA4Ooo3z.js → vg/es/styles-CwuBd-eA.js} +1 -1
  373. package/vg/es/{styles-EUB10Kbk.js → styles-CxK9hwR7.js} +1 -1
  374. package/vg/es/{styles-DKFcQU-U.js → styles-DEEmZAAU.js} +1 -1
  375. package/vg/es/{styles-D_oedf9U.js → styles-DKRPp5sN.js} +1 -1
  376. package/vg/es/{styles-Dg6OMSWp.js → styles-DTxKzHkJ.js} +1 -1
  377. package/vg/es/{styles-BOqfPQzV.js → styles-hZZ-Ymzt.js} +1 -1
  378. package/vg/es/{styles-CxtVuG8b.js → styles-kYMBLoHJ.js} +1 -1
  379. package/vgv2/es/_auto-entry_vgv2-Cmle-i6b.js +1 -0
  380. package/vgv2/es/{events-DzgM4yb5.js → events-C6zZZ0wR.js} +1 -1
  381. package/{tvnu/es/index-BCu6eGB9.js → vgv2/es/index-0bMMbnRN.js} +1 -1
  382. package/vgv2/es/{index-DqJ2O9Kf.js → index-8wTVjUza.js} +1 -1
  383. package/vgv2/es/{index-CPqpPTTS.js → index-CZZXITop.js} +1 -1
  384. package/vgv2/es/{index-SV3ROTg3.js → index-CwSAcYYf.js} +1 -1
  385. package/vgv2/es/{index--AEEdPVC.js → index-DV4idJT3.js} +1 -1
  386. package/vgv2/es/{index-BvkpV7lS.js → index-Dw8awMET.js} +1 -1
  387. package/vgv2/es/{index-DMVM-D6g.js → index-GgW8CmxR.js} +1 -1
  388. package/{sav2/es/index-BhbIuNSS.js → vgv2/es/index-Hd2EKHnJ.js} +1 -1
  389. package/vgv2/es/index.d.ts +1 -0
  390. package/vgv2/es/index.js +1 -1
  391. package/vgv2/es/{styles-DxvWf-yC.js → styles-B-WZKfZF.js} +1 -1
  392. package/vgv2/es/{styles-NvHo_UDK.js → styles-B8F-fTVB.js} +1 -1
  393. package/vgv2/es/{styles-CgUYkF15.js → styles-BLNXZPYf.js} +1 -1
  394. package/vgv2/es/{styles-D-5nGyTD.js → styles-BYxNSj9N.js} +1 -1
  395. package/{tvnu/es/styles-D6C_Zblf.js → vgv2/es/styles-Bk79ACwC.js} +1 -1
  396. package/vgv2/es/{styles-C9crdlaQ.js → styles-BqMBA6sc.js} +1 -1
  397. package/vgv2/es/{styles-qCpjwYNm.js → styles-CLydlrr4.js} +1 -1
  398. package/vgv2/es/{styles-CO43xTb1.js → styles-CvQ29OHO.js} +1 -1
  399. package/{btv2/es/styles-BHEYAcf8.js → vgv2/es/styles-D-TJ0YZd.js} +1 -1
  400. package/vgv2/es/{styles-fX8T2CG0.js → styles-DAHzAObz.js} +1 -1
  401. package/vgv2/es/{styles-BS0FxVQ9.js → styles-DJalsPbI.js} +1 -1
  402. package/vgv2/es/{styles-D_gaHZtG.js → styles-DybsoR0o.js} +1 -1
  403. package/vgv2/es/{styles-vvF4HJY2.js → styles-GFXYVwWk.js} +1 -1
  404. package/vgv2/es/{styles-DcimUPwb.js → styles-VwuX1N09.js} +1 -1
  405. package/vgv2/es/{styles-EXuOrm9d.js → styles-jsqPoIHl.js} +1 -1
  406. package/aftenposten/es/_auto-entry_aftenposten-BsiZecpg.js +0 -1
  407. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-CObS4Q2C.js +0 -1
  408. package/aftonbladet/es/_auto-entry_aftonbladet-CgRJPsgC.js +0 -1
  409. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-DsuV-U5d.js +0 -1
  410. package/bt/es/_auto-entry_bt-BtMu0IgL.js +0 -1
  411. package/btv2/es/_auto-entry_btv2-IP445i6K.js +0 -1
  412. package/e24/es/_auto-entry_e24-CrOhLxsK.js +0 -1
  413. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-Otqtyxyq.js +0 -1
  414. package/koket/es/_auto-entry_koket-D-YoP4pX.js +0 -1
  415. package/omni/es/_auto-entry_omni-CC0kqj6c.js +0 -1
  416. package/sa/es/_auto-entry_sa-CFbFmDgg.js +0 -1
  417. package/sav2/es/_auto-entry_sav2-DoLAdpuL.js +0 -1
  418. package/svd/es/_auto-entry_svd-KrVcbktZ.js +0 -1
  419. package/svdv2/es/_auto-entry_svdv2-8SdY4zKe.js +0 -1
  420. package/tv4/es/_auto-entry_tv4-c4fYDhn_.js +0 -1
  421. package/tvnu/es/_auto-entry_tvnu-CKk_YH-J.js +0 -1
  422. package/vg/es/_auto-entry_vg-C1IbUc5x.js +0 -1
  423. package/vgv2/es/_auto-entry_vgv2-BGtOinEs.js +0 -1
@@ -1 +1 @@
1
- import{c as e,F as t,f as r,A as s,G as n,H as a,I as i,J as o}from"./_auto-entry_mtv-C-DqcBJN.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,F as t,f as r,A as s,G as n,H as a,I as i,J as o}from"./_auto-entry_mtv-BDbckjio.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{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-C-DqcBJN.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{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-BDbckjio.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 +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-C-DqcBJN.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-D6eNc80H.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-BDbckjio.js";import{xandrAdLoaded as p,finnBlinkLoaded as m}from"./events-BTYIrHRZ.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{_ as t,C as e,l as n,o as a,p as r,q as i,h as l,N as s}from"./_auto-entry_mtv-C-DqcBJN.js";import{jsxs as o,jsx as d}from"react/jsx-runtime";class c{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 u{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class p{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const n=e.dataset.k5aTeaserAnalytics;try{return n?JSON.parse(n):{}}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:n,itemId:a}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),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,n,a,r,i,l,s,o,d;const c=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(c),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)?null===(r=null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)||void 0===r||r.call(a,u):(null===(i=this.pulse)||void 0===i?void 0:i.trackViewUIElement)?null===(s=null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)||void 0===s||s.call(l,u):null===(d=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===d||d.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,n,a,r,i,l;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(n=(t=this.pulse).trackLegacyClickUIElement)||void 0===n||n.call(t,s):this.pulse.trackClickUIElement?null===(r=(a=this.pulse).trackClickUIElement)||void 0===r||r.call(a,s):null===(l=(i=this.pulse).trackElementClick)||void 0===l||l.call(i,s)})}}class g extends p{constructor(t,e,n){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=n}getEventBaseData(t){var e,n,a,r,i,l;const{clientName:s,creativeId:o,itemId:d,placement:c}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),p=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(r=null===(a=null===(n=this.newsroomStrategy)||void 0===n?void 0:n.getPulseObjectId)||void 0===a?void 0:a.call(n))&&void 0!==r?r:c,"@type":"UIElement",position:c,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:d},page:{"@id":null!=p?p:c,"@type":u,url:location.origin},tags:null===(l=null===(i=this.newsroomStrategy)||void 0===i?void 0:i.getTags)||void 0===l?void 0:l.call(i,t)}}getEventTarget(t){const{link:e,itemId:n,title:a}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),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 n=this.parseKilkayaData(t);return Object.assign(Object.assign({},n),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v=/^glci_/,h="gender_",m="geo_",y="male",f="female";class k extends p{constructor(t,e,n){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=n}getPlacementData(t){var e;const n=t.closest(".kilkaya-wrapper");return{columnName:null!==(e=null==n?void 0:n.dataset.pulseColumnname)&&void 0!==e?e:"",primaryPosition:Number(null==n?void 0:n.dataset.pulsePrimaryposition)||0}}getEventBaseData(t){var e,n;const{title:a="",clientName:r="",creativeId:i="",link:l=""}=this.parseKilkayaData(t),{columnName:s,primaryPosition:o}=this.getPlacementData(t),d={publicUrl:l,urlPath:l?new URL(l).pathname:""},{publicUrl:c,urlPath:u}=l&&(null===(n=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.transformUrl)||void 0===n?void 0:n.call(e,l))||d;return{"@type":"UIElement",elementType:"Teaser",layout:{elementSize:"large",imageUrl:"",name:"large"},name:a,placement:{columnName:s,primaryPosition:o},tags:[r,a,c,u].filter(Boolean),"spt:custom":{is_sponsored:!0,sponsor:r,"spt:creativeId":i,pageTitle:a,publicUrl:c,urlPath:u},url:location.origin}}getEventTarget(t){const{link:e,itemId:n,title:a}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}getEventInput(t){return{object:this.getEventBaseData(t),target:this.getEventTarget(t)}}}const b="[data-k5a-teaser-analytics]",w=(t,n,a,r)=>{const i=document.querySelectorAll("k5a-stream");if(!i.length)return;const l=new(r===e.SE?k:g)(t,n,a),s=new WeakMap,o=t=>{const e=s.get(t);e&&(e.disconnect(),s.delete(t))},d=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const n=t.target,a=n.querySelector(b);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)?(l.trackContentView(n),e.unobserve(t.target),o(n)):((t,e)=>{if(s.has(t))return;const n=new MutationObserver(()=>{const n=t.querySelector(b);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)&&(l.trackContentView(t),e.unobserve(t),o(t))});n.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),s.set(t,n)})(n,e)})},{threshold:.5});i.forEach(t=>{d.observe(t),t.addEventListener("click",()=>l.trackContentClick(t))})};class I{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 t(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 n("[Privacy Broker] User is not logged in."),null}})}isUserLoggedIn(){return t(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 P=()=>t(void 0,void 0,void 0,function*(){try{const n=yield(e=500,t(void 0,void 0,void 0,function*(){return Promise.race([t(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(t=>setTimeout(()=>t(void 0),e))])})),a=new I(n),r=yield a.getIdentityUser(),{gender:i}=null!=r?r:{};return i===y||i===f?`${h}${i}`:void 0}catch(t){return}var e}),E=()=>t(void 0,void 0,void 0,function*(){const t=[],e=yield P(),n=(()=>{const t=a().map(t=>`${m}${t.replace(v,"")}`);return Array.from(new Set(t))})();return e&&t.push(e),n&&t.push(...n),t}),T="front";class U{getPulseObjectId(){return"sdrn:e24:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===T?"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 S{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 A{getPulseObjectId(){return"sdrn:stavangeraftenblad:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:stavangeraftenblad:frontpage:Frontpage"}}class C{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===T?"sdrn:svdse:frontpage:front":`sdrn:svdse:article:${e}`}}class D{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:n,countryCode:a}}){if(!(null==t?void 0:t.instance))return;const r={[s.VG]:new c,[s.E24]:new U,"no-aftenposten":new S,[s.BT]:new L,"no-bergenstidende":new L,[s.SA]:new A,"no-stavangeraftenblad":new A,[s.SVD]:new C,[s.AFTONBLADET]:new D}[n]||new u;w(t.instance,r,e,a)}injectKilkayaMeta(e){return t(this,void 0,void 0,function*(){const t=document.createElement("script"),n=yield E();t.textContent=`var k5aMeta = { consent: ${e}, cntTag: ${JSON.stringify(n)} };`,document.head.appendChild(t)})}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var e;const a=null===(e=null==t?void 0:t.detail)||void 0===e?void 0:e.streamSlot;if(n(`Kilkaya event for slot: ${a}`),!a)return void n("Kilkaya slot empty, Xandr backfill won't be loaded");const r=a.parentElement;r?(n(`Kilkaya placement ${a.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(r)):n("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="block";const a=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";r(a)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield i(e)})}run(e){return t(this,void 0,void 0,function*(){var t,n;const{tcf:a,pageContext:{isMobileApp:r,countryCode:i},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield l(a,r,i,"kilkaya");o&&(this.observeForKilkayaBackfills(),yield this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(n=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==n?n:""),this.handleKilkayaStreamTracking(e))})}}const j=({placementName:t,slotTag:e,fallbackTargetId:n,children:a,pulseData:r,htmlAttributes:i})=>{const l=(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},s=l(r,"data-pulse"),c=l(i,"data");return o("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},s,c,{children:[d("div",{className:"inscreen-target"}),d("k5a-stream",{name:t,"slot-tag":e}),d("div",{className:"container"}),d("div",{className:"fallback","data-fallback-target-id":n,style:{display:"none"},children:a})]}))},O=e=>t(void 0,void 0,void 0,function*(){const t=new K;yield t.run(e)});export{j as Kilkaya,O as runKilkaya};
1
+ import{_ as t,C as e,l as n,o as a,p as r,q as i,h as l,N as s}from"./_auto-entry_mtv-BDbckjio.js";import{jsxs as o,jsx as d}from"react/jsx-runtime";class c{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 u{getPulseObjectId(){return""}getPulsePageId(t,e){return""}}class p{constructor(t,e){this.pulse=t,this.newsroomStrategy=e}getEventInput(t,e){return{}}parseKilkayaData(t){const e=t.querySelector("article");if(!e)return{};const n=e.dataset.k5aTeaserAnalytics;try{return n?JSON.parse(n):{}}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:n,itemId:a}=this.parseKilkayaData(t);return{id:a,name:this.normalizePlacementTitle(null!=n?n:""),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,n,a,r,i,l,s,o,d;const c=new CustomEvent("advertory:partnerstudioAdImpression",{detail:{ad:null===(t=this.parseKilkayaData(e))||void 0===t?void 0:t.placement}});if(window.dispatchEvent(c),!this.pulse)return;const u=this.getEventInput(e,"view");(null===(n=this.pulse)||void 0===n?void 0:n.trackLegacyViewUIElement)?null===(r=null===(a=this.pulse)||void 0===a?void 0:a.trackLegacyViewUIElement)||void 0===r||r.call(a,u):(null===(i=this.pulse)||void 0===i?void 0:i.trackViewUIElement)?null===(s=null===(l=this.pulse)||void 0===l?void 0:l.trackViewUIElement)||void 0===s||s.call(l,u):null===(d=null===(o=this.pulse)||void 0===o?void 0:o.trackElementView)||void 0===d||d.call(o,u)})}trackContentClick(e){return t(this,void 0,void 0,function*(){var t,n,a,r,i,l;if(!this.pulse)return;const s=this.getEventInput(e,"click");this.pulse.trackLegacyClickUIElement?null===(n=(t=this.pulse).trackLegacyClickUIElement)||void 0===n||n.call(t,s):this.pulse.trackClickUIElement?null===(r=(a=this.pulse).trackClickUIElement)||void 0===r||r.call(a,s):null===(l=(i=this.pulse).trackElementClick)||void 0===l||l.call(i,s)})}}class g extends p{constructor(t,e,n){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=n}getEventBaseData(t){var e,n,a,r,i,l;const{clientName:s,creativeId:o,itemId:d,placement:c}=this.parseKilkayaData(t),u=this.mapPageType(this.pageType),p=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.getPulsePageId(this.pageType||"front",this.getArticleId());return{"@id":null!==(r=null===(a=null===(n=this.newsroomStrategy)||void 0===n?void 0:n.getPulseObjectId)||void 0===a?void 0:a.call(n))&&void 0!==r?r:c,"@type":"UIElement",position:c,elementType:"Article",custom:{customer:s,creativeId:null!=o?o:d},page:{"@id":null!=p?p:c,"@type":u,url:location.origin},tags:null===(l=null===(i=this.newsroomStrategy)||void 0===i?void 0:i.getTags)||void 0===l?void 0:l.call(i,t)}}getEventTarget(t){const{link:e,itemId:n,title:a}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),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 n=this.parseKilkayaData(t);return Object.assign(Object.assign({},n),{type:e,tracking_type:"ad",xandrAdLoaded:!1})}getProviderData(){return{productTag:"partnerstudio"}}}const v=/^glci_/,h="gender_",m="geo_",y="male",f="female";class k extends p{constructor(t,e,n){super(t,e),this.pulse=t,this.newsroomStrategy=e,this.pageType=n}getPlacementData(t){var e;const n=t.closest(".kilkaya-wrapper");return{columnName:null!==(e=null==n?void 0:n.dataset.pulseColumnname)&&void 0!==e?e:"",primaryPosition:Number(null==n?void 0:n.dataset.pulsePrimaryposition)||0}}getEventBaseData(t){var e,n;const{title:a="",clientName:r="",creativeId:i="",link:l=""}=this.parseKilkayaData(t),{columnName:s,primaryPosition:o}=this.getPlacementData(t),d={publicUrl:l,urlPath:l?new URL(l).pathname:""},{publicUrl:c,urlPath:u}=l&&(null===(n=null===(e=this.newsroomStrategy)||void 0===e?void 0:e.transformUrl)||void 0===n?void 0:n.call(e,l))||d;return{"@type":"UIElement",elementType:"Teaser",layout:{elementSize:"large",imageUrl:"",name:"large"},name:a,placement:{columnName:s,primaryPosition:o},tags:[r,a,c,u].filter(Boolean),"spt:custom":{is_sponsored:!0,sponsor:r,"spt:creativeId":i,pageTitle:a,publicUrl:c,urlPath:u},url:location.origin}}getEventTarget(t){const{link:e,itemId:n,title:a}=this.parseKilkayaData(t);return{id:n,name:this.normalizePlacementTitle(null!=a?a:""),type:"Page",url:e}}getEventInput(t){return{object:this.getEventBaseData(t),target:this.getEventTarget(t)}}}const b="[data-k5a-teaser-analytics]",w=(t,n,a,r)=>{const i=document.querySelectorAll("k5a-stream");if(!i.length)return;const l=new(r===e.SE?k:g)(t,n,a),s=new WeakMap,o=t=>{const e=s.get(t);e&&(e.disconnect(),s.delete(t))},d=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(!t.isIntersecting)return;const n=t.target,a=n.querySelector(b);Boolean(null==a?void 0:a.dataset.k5aTeaserAnalytics)?(l.trackContentView(n),e.unobserve(t.target),o(n)):((t,e)=>{if(s.has(t))return;const n=new MutationObserver(()=>{const n=t.querySelector(b);Boolean(null==n?void 0:n.dataset.k5aTeaserAnalytics)&&(l.trackContentView(t),e.unobserve(t),o(t))});n.observe(t,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["data-k5a-teaser-analytics"]}),s.set(t,n)})(n,e)})},{threshold:.5});i.forEach(t=>{d.observe(t),t.addEventListener("click",()=>l.trackContentClick(t))})};class I{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 t(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 n("[Privacy Broker] User is not logged in."),null}})}isUserLoggedIn(){return t(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 P=()=>t(void 0,void 0,void 0,function*(){try{const n=yield(e=500,t(void 0,void 0,void 0,function*(){return Promise.race([t(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(t=>setTimeout(()=>t(void 0),e))])})),a=new I(n),r=yield a.getIdentityUser(),{gender:i}=null!=r?r:{};return i===y||i===f?`${h}${i}`:void 0}catch(t){return}var e}),E=()=>t(void 0,void 0,void 0,function*(){const t=[],e=yield P(),n=(()=>{const t=a().map(t=>`${m}${t.replace(v,"")}`);return Array.from(new Set(t))})();return e&&t.push(e),n&&t.push(...n),t}),T="front";class U{getPulseObjectId(){return"sdrn:e24:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(t,e){return t===T?"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 S{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 A{getPulseObjectId(){return"sdrn:stavangeraftenblad:content:partnerstudio:element:partnerstudio:stats"}getPulsePageId(){return"sdrn:stavangeraftenblad:frontpage:Frontpage"}}class C{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===T?"sdrn:svdse:frontpage:front":`sdrn:svdse:article:${e}`}}class D{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:n,countryCode:a}}){if(!(null==t?void 0:t.instance))return;const r={[s.VG]:new c,[s.E24]:new U,"no-aftenposten":new S,[s.BT]:new L,"no-bergenstidende":new L,[s.SA]:new A,"no-stavangeraftenblad":new A,[s.SVD]:new C,[s.AFTONBLADET]:new D}[n]||new u;w(t.instance,r,e,a)}injectKilkayaMeta(e){return t(this,void 0,void 0,function*(){const t=document.createElement("script"),n=yield E();t.textContent=`var k5aMeta = { consent: ${e}, cntTag: ${JSON.stringify(n)} };`,document.head.appendChild(t)})}observeForKilkayaBackfills(){document.addEventListener("K5A:EmptyStreamSlot",t=>{var e;const a=null===(e=null==t?void 0:t.detail)||void 0===e?void 0:e.streamSlot;if(n(`Kilkaya event for slot: ${a}`),!a)return void n("Kilkaya slot empty, Xandr backfill won't be loaded");const r=a.parentElement;r?(n(`Kilkaya placement ${a.getAttribute("name")} has not been loaded, loading Xandr backfill`),this.showBackfill(r)):n("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="block";const a=null!==(e=n.dataset.fallbackTargetId)&&void 0!==e?e:"";r(a)}loadKilkayaScript(e){return t(this,void 0,void 0,function*(){yield i(e)})}run(e){return t(this,void 0,void 0,function*(){var t,n;const{tcf:a,pageContext:{isMobileApp:r,countryCode:i},kilkaya:s}=e;if(!(null==s?void 0:s.enabled))return;const o=yield l(a,r,i,"kilkaya");o&&(this.observeForKilkayaBackfills(),yield this.injectKilkayaMeta(o),yield this.loadKilkayaScript(null!==(n=null===(t=s.options)||void 0===t?void 0:t.kilkayaUrl)&&void 0!==n?n:""),this.handleKilkayaStreamTracking(e))})}}const j=({placementName:t,slotTag:e,fallbackTargetId:n,children:a,pulseData:r,htmlAttributes:i})=>{const l=(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},s=l(r,"data-pulse"),c=l(i,"data");return o("div",Object.assign({className:"kilkaya-wrapper kilkaya-lock-height",style:{width:"100%"}},s,c,{children:[d("div",{className:"inscreen-target"}),d("k5a-stream",{name:t,"slot-tag":e}),d("div",{className:"container"}),d("div",{className:"fallback","data-fallback-target-id":n,style:{display:"none"},children:a})]}))},O=e=>t(void 0,void 0,void 0,function*(){const t=new K;yield t.run(e)});export{j as Kilkaya,O as runKilkaya};
@@ -1 +1 @@
1
- import{c as t,K as e,l}from"./_auto-entry_tv4-c4fYDhn_.js";import"react/jsx-runtime";const n=(t,e)=>{e.left&&(t.style.left=e.left),e.marginLeft&&(t.style.marginLeft=e.marginLeft)},i=(l,i,r)=>{var o,a;const d=document.querySelector(`#${l.targetId}`),{siteSpecificConfig:{publisherClassName:s,fullWidthFormatClassName:u}={},fullWidth:c,pageContext:{deviceType:f}}=t.get();if(!d)return null;const p=d.parentElement,v=e(f)||r;if(d.style.width=v?"100vw":"100%",d.style.position="relative",p&&(p.style.width=v?"100vw":"100%",p.style.position="relative"),s&&u){const t=`advertory-${s}-${u}`;d.classList.add(`${t}__${i}`),null==p||p.classList.add(`${t}-wrapper__${i}`)}const m=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)&&m;return!y&&p&&v&&(p.style.left="50%",p.style.marginLeft="-50vw"),y&&m.adContainer&&n(d,m.adContainer),y&&m.adContainerWrapper&&p&&n(p,m.adContainerWrapper),d},r=(t,e,n,r,o)=>{var a;const d=i(t,r,o);if(!d)return void l("[Ad full width] adContainer not found");const s=d.querySelector("iframe"),u=null==s?void 0:s.parentElement;if(!s||!u)return void l("[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);l(`[Ad full width] ratioWidth ${e}, ratioHeight ${n}, adObjWidth: ${t.width}, scaleFactor ${f}`),u.style.transform=`scale(${f})`,u.style.transformOrigin="left top",d.style.height=`calc(100vw / ${e} * ${n} + ${c}px)`,d.style.overflow="hidden"},o=l=>{const n=i(l,"fullwidth-ad",!1);if(!n)return;const r=n.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,K as e,l}from"./_auto-entry_mtv-BDbckjio.js";import"react/jsx-runtime";const n=(t,e)=>{e.left&&(t.style.left=e.left),e.marginLeft&&(t.style.marginLeft=e.marginLeft)},i=(l,i,r)=>{var o,a;const d=document.querySelector(`#${l.targetId}`),{siteSpecificConfig:{publisherClassName:s,fullWidthFormatClassName:u}={},fullWidth:c,pageContext:{deviceType:f}}=t.get();if(!d)return null;const p=d.parentElement,v=e(f)||r;if(d.style.width=v?"100vw":"100%",d.style.position="relative",p&&(p.style.width=v?"100vw":"100%",p.style.position="relative"),s&&u){const t=`advertory-${s}-${u}`;d.classList.add(`${t}__${i}`),null==p||p.classList.add(`${t}-wrapper__${i}`)}const m=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)&&m;return!y&&p&&v&&(p.style.left="50%",p.style.marginLeft="-50vw"),y&&m.adContainer&&n(d,m.adContainer),y&&m.adContainerWrapper&&p&&n(p,m.adContainerWrapper),d},r=(t,e,n,r,o)=>{var a;const d=i(t,r,o);if(!d)return void l("[Ad full width] adContainer not found");const s=d.querySelector("iframe"),u=null==s?void 0:s.parentElement;if(!s||!u)return void l("[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);l(`[Ad full width] ratioWidth ${e}, ratioHeight ${n}, adObjWidth: ${t.width}, scaleFactor ${f}`),u.style.transform=`scale(${f})`,u.style.transformOrigin="left top",d.style.height=`calc(100vw / ${e} * ${n} + ${c}px)`,d.style.overflow="hidden"},o=l=>{const n=i(l,"fullwidth-ad",!1);if(!n)return;const r=n.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{c as e,r as t,t as o}from"./_auto-entry_mtv-C-DqcBJN.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};
1
+ import{c as e,r as t,t as o}from"./_auto-entry_mtv-BDbckjio.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};
@@ -1 +1 @@
1
- import{k as t,m as e,n}from"./_auto-entry_mtv-C-DqcBJN.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-BDbckjio.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 +1 @@
1
- import{_ as t,c as e,h as o,j as n,C as s}from"./_auto-entry_mtv-C-DqcBJN.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-BDbckjio.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{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_mtv-C-DqcBJN.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,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_mtv-BDbckjio.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};
package/mtv/es/index.d.ts CHANGED
@@ -517,6 +517,7 @@ interface Placement {
517
517
  xandrPlacementId?: number;
518
518
  supportsNonRTB?: boolean;
519
519
  globalPlacementId?: string;
520
+ disabled?: boolean;
520
521
  }
521
522
  interface Placements {
522
523
  desktop: Array<Placement>;
package/mtv/es/index.js CHANGED
@@ -1 +1 @@
1
- export{R as default}from"./_auto-entry_mtv-C-DqcBJN.js";import"react/jsx-runtime";
1
+ export{R as default}from"./_auto-entry_mtv-BDbckjio.js";import"react/jsx-runtime";