@schibsted/advertory 3.4.6 → 3.4.7

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 (380) hide show
  1. package/ad-native/cjs/index.d.ts +0 -1
  2. package/ad-native/cjs/index.js +1 -1
  3. package/ad-native/es/index.d.ts +0 -1
  4. package/ad-native/es/index.js +1 -1
  5. package/aftenposten/cjs/index.d.ts +0 -1
  6. package/aftenposten/cjs/index.js +1 -1
  7. package/aftenposten/es/_auto-entry_aftenposten-CYla5a0Z.js +1 -0
  8. package/aftenposten/es/{events-tL-sJk7-.js → events-DjlcbjJ8.js} +1 -1
  9. package/aftenposten/es/{index-DT09KZX8.js → index-B9g1sV6p.js} +1 -1
  10. package/aftenposten/es/{index-CRYpX4mK.js → index-BIFW0KSJ.js} +1 -1
  11. package/aftenposten/es/{index-Ca8mfNrs.js → index-BnICq90j.js} +1 -1
  12. package/aftenposten/es/{index-CovdUdik.js → index-C5rjTe2M.js} +1 -1
  13. package/aftenposten/es/{index-CSooGplv.js → index-CXNxy55A.js} +1 -1
  14. package/aftenposten/es/{index-BpgBs0Ys.js → index-CvbKaRpd.js} +1 -1
  15. package/aftenposten/es/{index-Dnfi36eA.js → index-Po8Z7s3k.js} +1 -1
  16. package/aftenposten/es/{index-DP3_bKIk.js → index-t_F-PJPf.js} +1 -1
  17. package/aftenposten/es/index.d.ts +0 -1
  18. package/aftenposten/es/index.js +1 -1
  19. package/aftenposten/es/{styles-DGdyCHyC.js → styles-CQDvz2Oi.js} +1 -1
  20. package/aftenposten/es/{styles-DGzl5DVF.js → styles-CcDTUCeO.js} +1 -1
  21. package/aftenposten/es/{styles-Cq9VDPHp.js → styles-Cdf_9y-3.js} +1 -1
  22. package/aftenposten/es/{styles-B5ZPb1mG.js → styles-CepyBzkL.js} +1 -1
  23. package/aftenposten/es/{styles-DOIauTrK.js → styles-DJqNh5ph.js} +1 -1
  24. package/aftenposten/es/{styles-CZOMqaw0.js → styles-DNlDiswV.js} +1 -1
  25. package/aftenposten/es/{styles-BvpzHJDI.js → styles-VQMdDM-B.js} +1 -1
  26. package/aftenposten/es/{styles-Co5hqH8J.js → styles-qGBBMOMR.js} +1 -1
  27. package/aftenposten/es/{styles-CvcIMvHb.js → styles-wDCrviJG.js} +1 -1
  28. package/aftenposten/es/{styles--cacu7LN.js → styles-zMvo6tLG.js} +1 -1
  29. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-WAFawmx6.js +1 -0
  30. package/aftenpostenv2/es/{events-3y81Vg-o.js → events-1ttQ0n4j.js} +1 -1
  31. package/aftenpostenv2/es/{index-Bw-5WKzG.js → index-BNBIn5Gb.js} +1 -1
  32. package/aftenpostenv2/es/{index-CDl3nPgn.js → index-BPf33iZd.js} +1 -1
  33. package/aftenpostenv2/es/{index-Bkm0wHSf.js → index-C7yX-IMv.js} +1 -1
  34. package/aftenpostenv2/es/{index-DRWHvnfp.js → index-DLgC-JET.js} +1 -1
  35. package/aftenpostenv2/es/{index-rPmxVFzI.js → index-DaZ4v0NJ.js} +1 -1
  36. package/aftenpostenv2/es/{index-ZYgVdHLj.js → index-jP3z3GlD.js} +1 -1
  37. package/aftenpostenv2/es/{index-CKeA09LD.js → index-vDWOjWNV.js} +1 -1
  38. package/aftenpostenv2/es/{index-BRR2EfsK.js → index-wrkCD7jd.js} +1 -1
  39. package/aftenpostenv2/es/index.d.ts +0 -1
  40. package/aftenpostenv2/es/index.js +1 -1
  41. package/aftenpostenv2/es/{styles-BZV7T-TI.js → styles--aCzqpMQ.js} +1 -1
  42. package/aftenpostenv2/es/{styles-Cc71T46p.js → styles-B8piCCx2.js} +1 -1
  43. package/aftenpostenv2/es/{styles-KIag2WQq.js → styles-BDksHv_y.js} +1 -1
  44. package/aftenpostenv2/es/{styles-FZysmLi6.js → styles-CMJ36xM5.js} +1 -1
  45. package/aftenpostenv2/es/{styles-CLab0yP5.js → styles-CcLd-bcO.js} +1 -1
  46. package/aftenpostenv2/es/{styles-DnTEcc7M.js → styles-CpPFRt-p.js} +1 -1
  47. package/aftenpostenv2/es/{styles-B8KhirPl.js → styles-CwPn0VIg.js} +1 -1
  48. package/aftenpostenv2/es/{styles-Bb9F_jXG.js → styles-DtIFocic.js} +1 -1
  49. package/aftenpostenv2/es/{styles-Zdbj5Sff.js → styles-rfHVH7UY.js} +1 -1
  50. package/aftenpostenv2/es/{styles-Bi4XEslM.js → styles-rll03yAU.js} +1 -1
  51. package/aftonbladet/cjs/index.d.ts +0 -1
  52. package/aftonbladet/cjs/index.js +1 -1
  53. package/aftonbladet/es/_auto-entry_aftonbladet-Cib9wMJ6.js +1 -0
  54. package/aftonbladet/es/{events-D3IX6xnf.js → events-CrHiHECC.js} +1 -1
  55. package/aftonbladet/es/{index-BoG1XEnz.js → index-BZqyaqBe.js} +1 -1
  56. package/aftonbladet/es/{index-JBPu0X9T.js → index-CVSXc7HI.js} +1 -1
  57. package/aftonbladet/es/{index-7hSU5dxk.js → index-Cq7Xghn2.js} +1 -1
  58. package/aftonbladet/es/{index-CnXw-Loj.js → index-Dw1Ne2_Z.js} +1 -1
  59. package/aftonbladet/es/{index-DbUA3oM-.js → index-DzqRp2T_.js} +1 -1
  60. package/aftonbladet/es/{index-BR4nWegz.js → index-PVr4Z6rp.js} +1 -1
  61. package/aftonbladet/es/{index-D7xo141q.js → index-rBddwNrI.js} +1 -1
  62. package/aftonbladet/es/{index-CV9863b8.js → index-t2TCmGjR.js} +1 -1
  63. package/aftonbladet/es/index.d.ts +0 -1
  64. package/aftonbladet/es/index.js +1 -1
  65. package/aftonbladet/es/{styles-pssONwvM.js → styles-Bx1tUtrK.js} +1 -1
  66. package/aftonbladet/es/{styles-DTJaimj4.js → styles-DgavBu8Y.js} +1 -1
  67. package/aftonbladet/es/{styles-pqGTN5pl.js → styles-DssLzE2c.js} +1 -1
  68. package/aftonbladet/es/{styles-CoGRPDgF.js → styles-N8dc8Vxg.js} +1 -1
  69. package/aftonbladet/es/{styles-cJ5Fk0U4.js → styles-_8gWEpRQ.js} +1 -1
  70. package/aftonbladet/es/{styles-m2S1lHR9.js → styles-cEFLGHGa.js} +1 -1
  71. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-036fRMTJ.js +1 -0
  72. package/aftonbladetv2/es/{events-CPVm_hsM.js → events-B-QO8dnB.js} +1 -1
  73. package/aftonbladetv2/es/{index-Cl_8RaA5.js → index-BRbzggpM.js} +1 -1
  74. package/aftonbladetv2/es/{index-C0EVFCB9.js → index-BaJXR7HK.js} +1 -1
  75. package/aftonbladetv2/es/{index-BH4jmcGN.js → index-Bzpcqy-K.js} +1 -1
  76. package/aftonbladetv2/es/{index-BIjsYC0N.js → index-C1o0paQ0.js} +1 -1
  77. package/aftonbladetv2/es/{index-C0IzCoTS.js → index-CfloEp1h.js} +1 -1
  78. package/aftonbladetv2/es/{index-DAk1mCp-.js → index-DMBXp40f.js} +1 -1
  79. package/aftonbladetv2/es/{index-FC2CWIH_.js → index-DWOOTYME.js} +1 -1
  80. package/aftonbladetv2/es/{index-kKXl79Xo.js → index-MkIJrKT_.js} +1 -1
  81. package/aftonbladetv2/es/index.d.ts +0 -1
  82. package/aftonbladetv2/es/index.js +1 -1
  83. package/aftonbladetv2/es/{styles-DK7II2FW.js → styles-BsMqNPjG.js} +1 -1
  84. package/aftonbladetv2/es/{styles-DiIr-g7x.js → styles-C-OP4_Hq.js} +1 -1
  85. package/aftonbladetv2/es/{styles-B789pjXK.js → styles-CDR1c9ln.js} +1 -1
  86. package/aftonbladetv2/es/{styles-Chg8peXw.js → styles-CYe5vxko.js} +1 -1
  87. package/aftonbladetv2/es/{styles-DgW9Xpgd.js → styles-DX7OynoS.js} +1 -1
  88. package/aftonbladetv2/es/{styles-DU66ncs8.js → styles-e-7mtRgk.js} +1 -1
  89. package/bt/cjs/index.d.ts +0 -1
  90. package/bt/cjs/index.js +1 -1
  91. package/bt/es/_auto-entry_bt-DQ-gzHWS.js +1 -0
  92. package/bt/es/{events-DmrXqNmw.js → events-BCjha7sC.js} +1 -1
  93. package/bt/es/{index-D-m-gVjA.js → index-BJIVm_0s.js} +1 -1
  94. package/bt/es/{index-BpGuZDxD.js → index-BX1ftTt3.js} +1 -1
  95. package/bt/es/{index-DEr4PIl9.js → index-Bl9E_Hno.js} +1 -1
  96. package/bt/es/{index-DOMFyPED.js → index-C_VePIFQ.js} +1 -1
  97. package/{sa/es/index-BsRGbucY.js → bt/es/index-Cye5P51P.js} +1 -1
  98. package/bt/es/{index-Ce6VX1Xl.js → index-D2sY8YTA.js} +1 -1
  99. package/bt/es/{index-CcXYy-CT.js → index-Dae4jifD.js} +1 -1
  100. package/{sa/es/index-BS7bcQ2U.js → bt/es/index-kpelmjK3.js} +1 -1
  101. package/bt/es/index.d.ts +0 -1
  102. package/bt/es/index.js +1 -1
  103. package/bt/es/{styles-BHRGXWUO.js → styles-BNcF4e37.js} +1 -1
  104. package/bt/es/{styles-D1paZ_9F.js → styles-BZgDx1qc.js} +1 -1
  105. package/bt/es/{styles-fmpKmFnJ.js → styles-CCSYMOup.js} +1 -1
  106. package/{sa/es/styles-lUXeSGCF.js → bt/es/styles-CChBNDEU.js} +1 -1
  107. package/bt/es/{styles-2wI1NgWw.js → styles-DGcnzCUQ.js} +1 -1
  108. package/bt/es/{styles-UNPsXcbC.js → styles-DS_SAHg5.js} +1 -1
  109. package/bt/es/{styles-MNf2iPho.js → styles-Df5MrLgI.js} +1 -1
  110. package/{sa/es/styles-2vYpYQEC.js → bt/es/styles-Y3IJY6ue.js} +1 -1
  111. package/bt/es/{styles-By6vZxc-.js → styles-n3mupLFQ.js} +1 -1
  112. package/btv2/es/_auto-entry_btv2-l-rYdA_v.js +1 -0
  113. package/btv2/es/{events-OjpPz9p8.js → events-GHMPSLXa.js} +1 -1
  114. package/btv2/es/{index-B5RESByU.js → index-B8Pb7ct-.js} +1 -1
  115. package/btv2/es/{index-BD-SBmTW.js → index-BF941KUN.js} +1 -1
  116. package/btv2/es/{index-DRcOR9p_.js → index-BT6SK55w.js} +1 -1
  117. package/btv2/es/{index-ivacrSXe.js → index-CMZIM59e.js} +1 -1
  118. package/btv2/es/{index-DS3_UjAP.js → index-CyV6OeiT.js} +1 -1
  119. package/btv2/es/{index-BjJ5_Abq.js → index-DIj5XxEc.js} +1 -1
  120. package/btv2/es/{index-DeS8DXRr.js → index-DwV5T2vg.js} +1 -1
  121. package/btv2/es/{index-BI2Rjaii.js → index-UIKlFSpp.js} +1 -1
  122. package/btv2/es/index.d.ts +0 -1
  123. package/btv2/es/index.js +1 -1
  124. package/{sav2/es/styles-DUv8P5nZ.js → btv2/es/styles-BWvpfNcT.js} +1 -1
  125. package/btv2/es/{styles-D5ogMPPE.js → styles-BjHH_ptG.js} +1 -1
  126. package/{sav2/es/styles-DqzEFmla.js → btv2/es/styles-BwtLkaRe.js} +1 -1
  127. package/{vgv2/es/styles-BD_b0e3E.js → btv2/es/styles-C0DaSJNN.js} +1 -1
  128. package/{sav2/es/styles-DJx1nTbY.js → btv2/es/styles-CXn8Qbme.js} +1 -1
  129. package/{sav2/es/styles-CSd-SNwc.js → btv2/es/styles-DE4wtmg3.js} +1 -1
  130. package/btv2/es/{styles-PHnDOLKU.js → styles-DKh1edGm.js} +1 -1
  131. package/{vgv2/es/styles-DzPO2aJ_.js → btv2/es/styles-DT1H4cf3.js} +1 -1
  132. package/dr-edition/cjs/index.d.ts +0 -1
  133. package/dr-edition/es/index.d.ts +0 -1
  134. package/e24/es/_auto-entry_e24-DP_zPmZU.js +1 -0
  135. package/e24/es/{events-B9vDFytO.js → events-B3ZH0lej.js} +1 -1
  136. package/e24/es/{index-DydhMWM7.js → index-B3fhanCV.js} +1 -1
  137. package/e24/es/{index-yskg1JCT.js → index-BBh-mJMA.js} +1 -1
  138. package/e24/es/{index-BipBGNeV.js → index-CO6QalTC.js} +1 -1
  139. package/e24/es/{index-DwX6ybuW.js → index-DSWGGAw2.js} +1 -1
  140. package/e24/es/{index-Da43F9p2.js → index-DoO-Ql8u.js} +1 -1
  141. package/e24/es/{index-YoslMfGB.js → index-awT6fZgg.js} +1 -1
  142. package/{tv4/es/index-D9LJcf3j.js → e24/es/index-m8b22mis.js} +1 -1
  143. package/e24/es/{index-CxfMEZUf.js → index-sQrRRJFW.js} +1 -1
  144. package/e24/es/index.d.ts +0 -1
  145. package/e24/es/index.js +1 -1
  146. package/e24/es/{styles-BsRU4UfN.js → styles-7Jzy1rqW.js} +1 -1
  147. package/e24/es/{styles-BsRJLaKL.js → styles-BHEM4Tdp.js} +1 -1
  148. package/e24/es/{styles-CiPw_QAC.js → styles-BLe0tN2l.js} +1 -1
  149. package/e24/es/{styles-2F-44_PS.js → styles-BlEJyAWH.js} +1 -1
  150. package/{tv4/es/styles-DbEZpI-v.js → e24/es/styles-C28zd11H.js} +1 -1
  151. package/e24/es/{styles-ClExpnfo.js → styles-CCTSyjcO.js} +1 -1
  152. package/e24/es/{styles-CNe1cFk6.js → styles-Cj0ns9LH.js} +1 -1
  153. package/e24/es/{styles-D0pBj9XJ.js → styles-CoGVDUsk.js} +1 -1
  154. package/e24/es/{styles-W231uSK0.js → styles-D7ZmPDVT.js} +1 -1
  155. package/e24/es/{styles-BLoU2htj.js → styles-D8R2kYvj.js} +1 -1
  156. package/e24/es/{styles-KJVNuKJ4.js → styles-z8ZJSSrt.js} +1 -1
  157. package/fotbollskanalen/cjs/index.d.ts +0 -1
  158. package/fotbollskanalen/cjs/index.js +1 -1
  159. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-VRObslYP.js +1 -0
  160. package/fotbollskanalen/es/{events-DCciHg0n.js → events-CDgiVaK9.js} +1 -1
  161. package/fotbollskanalen/es/{index-Ds1QmLXO.js → index-Bs37f9UV.js} +1 -1
  162. package/fotbollskanalen/es/{index-BfZP0LZz.js → index-BsTk9dl1.js} +1 -1
  163. package/fotbollskanalen/es/{index-B3ECkNRG.js → index-C62nANNw.js} +1 -1
  164. package/fotbollskanalen/es/{index-DyFXfSny.js → index-CutPo6Gp.js} +1 -1
  165. package/fotbollskanalen/es/{index-CswxiFDS.js → index-CxZ_afXB.js} +1 -1
  166. package/fotbollskanalen/es/{index-BxifBqB1.js → index-SMxzwhVh.js} +1 -1
  167. package/fotbollskanalen/es/{index-DibtOg1_.js → index-dDCvDFLS.js} +1 -1
  168. package/fotbollskanalen/es/{index-Ci-79B-7.js → index-wQeAp5j3.js} +1 -1
  169. package/fotbollskanalen/es/index.d.ts +0 -1
  170. package/fotbollskanalen/es/index.js +1 -1
  171. package/fotbollskanalen/es/{styles-Dunx9NDW.js → styles-BkO2gg31.js} +1 -1
  172. package/glimr/cjs/index.js +1 -1
  173. package/glimr/es/index.js +1 -1
  174. package/godt/cjs/index.d.ts +0 -1
  175. package/godt/cjs/index.js +1 -1
  176. package/kilkaya/cjs/index.d.ts +0 -1
  177. package/kilkaya/es/index.d.ts +0 -1
  178. package/klart/cjs/index.d.ts +0 -1
  179. package/klart/cjs/index.js +1 -1
  180. package/koket/cjs/index.d.ts +0 -1
  181. package/koket/cjs/index.js +1 -1
  182. package/{tv4/es/_auto-entry_tv4-U6o2ALYQ.js → koket/es/_auto-entry_koket-CXICnRSz.js} +1 -1
  183. package/koket/es/{events-DrH8dKSw.js → events-Dz8YKzXV.js} +1 -1
  184. package/koket/es/{index-B4s4EFcl.js → index-1wKHMlbf.js} +1 -1
  185. package/koket/es/{index-BAokCEOo.js → index-BIvsWHJW.js} +1 -1
  186. package/koket/es/{index-B9baXj_U.js → index-BM8sIZkB.js} +1 -1
  187. package/koket/es/{index-DXm8PRl_.js → index-Bvvnnsa7.js} +1 -1
  188. package/koket/es/{index-BV7jKV8c.js → index-CB3TVY_T.js} +1 -1
  189. package/{svdv2/es/index-8j674Lha.js → koket/es/index-COq7Acvh.js} +1 -1
  190. package/koket/es/{index-C9KMVqLO.js → index-Ci3EjgNd.js} +1 -1
  191. package/koket/es/{index-rShNDIFz.js → index-D_UEHzi8.js} +1 -1
  192. package/koket/es/index.d.ts +0 -1
  193. package/koket/es/index.js +1 -1
  194. package/{svdv2/es/styles-sgz5WsV0.js → koket/es/styles-BYjlxAqN.js} +1 -1
  195. package/minmote/cjs/index.d.ts +0 -1
  196. package/minmote/cjs/index.js +1 -1
  197. package/package.json +1 -7
  198. package/pent/cjs/index.d.ts +0 -1
  199. package/pent/cjs/index.js +1 -1
  200. package/sa/cjs/index.d.ts +0 -1
  201. package/sa/cjs/index.js +1 -1
  202. package/sa/es/_auto-entry_sa-BOau_3HO.js +1 -0
  203. package/sa/es/{events-DDPaRoRC.js → events-BHj5tWpQ.js} +1 -1
  204. package/{bt/es/index-jWOjYZPh.js → sa/es/index-B2X8BkQE.js} +1 -1
  205. package/sa/es/{index-BOcsGiPz.js → index-B3X61TCU.js} +1 -1
  206. package/sa/es/{index-BPcJTTow.js → index-BLMHk2ep.js} +1 -1
  207. package/{bt/es/index-CFEaeaML.js → sa/es/index-BRXBALEe.js} +1 -1
  208. package/sa/es/{index-BzSO527B.js → index-CuixqxCD.js} +1 -1
  209. package/sa/es/{index-D1scMpmL.js → index-D2OJtJs5.js} +1 -1
  210. package/sa/es/{index-B8oBp01O.js → index-DIPSozyg.js} +1 -1
  211. package/sa/es/{index-CYzs7Phl.js → index-vMj49JtF.js} +1 -1
  212. package/sa/es/index.d.ts +0 -1
  213. package/sa/es/index.js +1 -1
  214. package/{vg/es/styles-DptWTbUt.js → sa/es/styles-B4Ssd680.js} +1 -1
  215. package/sa/es/{styles-DL2QYwqH.js → styles-B6zIiFQE.js} +1 -1
  216. package/sa/es/{styles-DxDhXCNA.js → styles-Brk3wBhg.js} +1 -1
  217. package/sa/es/{styles-Cpwz7Acc.js → styles-BuMvE5C4.js} +1 -1
  218. package/{bt/es/styles-C6qGTKx4.js → sa/es/styles-CFjUuvUl.js} +1 -1
  219. package/{vg/es/styles-BWH0dkhS.js → sa/es/styles-C_osCbMR.js} +1 -1
  220. package/sa/es/{styles-DF55ipeW.js → styles-DcTIxflh.js} +1 -1
  221. package/sa/es/{styles--ExvgYef.js → styles-ckgRlpZP.js} +1 -1
  222. package/sa/es/{styles-gDqBdbcm.js → styles-wWd8sXcg.js} +1 -1
  223. package/sav2/es/_auto-entry_sav2-CgYeYvM4.js +1 -0
  224. package/sav2/es/{events-D3LP_KdT.js → events-Bwjix0J2.js} +1 -1
  225. package/sav2/es/{index-BZhzC4io.js → index-BDV7w2JR.js} +1 -1
  226. package/sav2/es/{index-DyYYw4IS.js → index-BfDNOHAu.js} +1 -1
  227. package/sav2/es/{index-BBaJ0BxG.js → index-D0mrAHY-.js} +1 -1
  228. package/sav2/es/{index-BVb60fD-.js → index-DD21V9UO.js} +1 -1
  229. package/sav2/es/{index-DwvCyaEn.js → index-Ne_gFm9T.js} +1 -1
  230. package/sav2/es/{index-DB0jsWvh.js → index-O0jU8-3n.js} +1 -1
  231. package/sav2/es/{index-CkPPmwua.js → index-VWAO1jh3.js} +1 -1
  232. package/sav2/es/{index-C2JOR87e.js → index-v16Umxlv.js} +1 -1
  233. package/sav2/es/index.d.ts +0 -1
  234. package/sav2/es/index.js +1 -1
  235. package/{vgv2/es/styles-BcOduBC0.js → sav2/es/styles-4HtDNBiU.js} +1 -1
  236. package/{btv2/es/styles-g_77-H53.js → sav2/es/styles-B4Uepfse.js} +1 -1
  237. package/sav2/es/{styles-Cv2Gh_ui.js → styles-B7U1Rcsz.js} +1 -1
  238. package/sav2/es/{styles-CVHUYfzQ.js → styles-C-w_MsRY.js} +1 -1
  239. package/{btv2/es/styles-CfIJOM7L.js → sav2/es/styles-CWEysVqf.js} +1 -1
  240. package/sav2/es/{styles-Gwsm3g-2.js → styles-KqL-30w0.js} +1 -1
  241. package/{vgv2/es/styles-DEWF5TAJ.js → sav2/es/styles-s2GCOYNh.js} +1 -1
  242. package/sav2/es/{styles-DVYVpq54.js → styles-wB5wUn_W.js} +1 -1
  243. package/svd/cjs/index.d.ts +0 -1
  244. package/svd/cjs/index.js +1 -1
  245. package/svd/es/_auto-entry_svd-BY1RFlgG.js +1 -0
  246. package/svd/es/{events-DLJcPkSd.js → events-i0K43X3r.js} +1 -1
  247. package/svd/es/{index-8rjmc_fB.js → index-C-8AMeSF.js} +1 -1
  248. package/svd/es/{index-1cwlQlHL.js → index-CBub2tuG.js} +1 -1
  249. package/{e24/es/index-CmG8rIOn.js → svd/es/index-CaypRv_8.js} +1 -1
  250. package/svd/es/{index-cc4eQ-vT.js → index-DISHygzs.js} +1 -1
  251. package/svd/es/{index-CiXt_Odx.js → index-DaQ1G73W.js} +1 -1
  252. package/svd/es/{index-Csx6eIWd.js → index-DaV09VKA.js} +1 -1
  253. package/svd/es/{index-CyV4UIcp.js → index-Di54l78q.js} +1 -1
  254. package/svd/es/{index-COvgCcf0.js → index-NjwjTJ_Q.js} +1 -1
  255. package/svd/es/index.d.ts +0 -1
  256. package/svd/es/index.js +1 -1
  257. package/svd/es/{styles-CiMzxdwt.js → styles-DDw6kHVe.js} +1 -1
  258. package/svd/es/{styles-B6GBjfJD.js → styles-DMt8nsAU.js} +1 -1
  259. package/svd/es/{styles-OwmzJ7t2.js → styles-DqSy1ms-.js} +1 -1
  260. package/svd/es/{styles-C6951BUj.js → styles-Dvf4j4dD.js} +1 -1
  261. package/svd/es/{styles-BvGu9DWC.js → styles-GIEqslAI.js} +1 -1
  262. package/svd/es/{styles-DhmLZCBK.js → styles-HJ_0TvD_.js} +1 -1
  263. package/svdv2/es/_auto-entry_svdv2-B8iC8YFq.js +1 -0
  264. package/svdv2/es/{events-CcwC1yNV.js → events-CvPjVpje.js} +1 -1
  265. package/svdv2/es/{index-dXdV2yTW.js → index-CNElQv0B.js} +1 -1
  266. package/svdv2/es/{index-COA6r6hL.js → index-DCPeRnC4.js} +1 -1
  267. package/{koket/es/index-CXZT2jRd.js → svdv2/es/index-DMfOiEhQ.js} +1 -1
  268. package/svdv2/es/{index-pp9Vq7Lz.js → index-Dd2vLYdG.js} +1 -1
  269. package/svdv2/es/{index-Dxqnk-NR.js → index-Dm6WCHT2.js} +1 -1
  270. package/svdv2/es/{index-DqBYV0-T.js → index-KGZ9zmne.js} +1 -1
  271. package/svdv2/es/{index-CTv02DYm.js → index-Vkse_YO6.js} +1 -1
  272. package/svdv2/es/{index-DSlxZ2LK.js → index-zomB8Ua0.js} +1 -1
  273. package/svdv2/es/index.d.ts +0 -1
  274. package/svdv2/es/index.js +1 -1
  275. package/{koket/es/styles-CjKXN1b1.js → svdv2/es/styles-9-POf-Fg.js} +1 -1
  276. package/svdv2/es/{styles-BVQQvwTk.js → styles-BZW3vgi9.js} +1 -1
  277. package/svdv2/es/{styles-CeAbIAE6.js → styles-BnHtNL1s.js} +1 -1
  278. package/svdv2/es/{styles-CtlVHF1e.js → styles-BxlXT_w5.js} +1 -1
  279. package/svdv2/es/{styles-BmFlfxtq.js → styles-CKKHPA1S.js} +1 -1
  280. package/svdv2/es/{styles-D4KNTE0_.js → styles-CbpUtASv.js} +1 -1
  281. package/svdv2/styles.css +1 -1
  282. package/tek/cjs/index.d.ts +0 -1
  283. package/tek/cjs/index.js +1 -1
  284. package/tracker/cjs/index.d.ts +0 -1
  285. package/tracker/es/index.d.ts +0 -1
  286. package/tv4/cjs/index.d.ts +0 -1
  287. package/tv4/cjs/index.js +1 -1
  288. package/tv4/es/_auto-entry_tv4-CjPzFpVF.js +1 -0
  289. package/tv4/es/{events-BXsQsvC-.js → events-er5PKukM.js} +1 -1
  290. package/tv4/es/{index-CqQEH9WJ.js → index-BY8c8UAy.js} +1 -1
  291. package/tv4/es/{index-FvV9-ViB.js → index-BoAMzMgB.js} +1 -1
  292. package/tv4/es/{index-DBSc9xwl.js → index-Cc4v2qss.js} +1 -1
  293. package/tv4/es/{index-BFcNIa0B.js → index-CzG2MOcE.js} +1 -1
  294. package/tv4/es/{index-PNiGte6_.js → index-DC8EiADW.js} +1 -1
  295. package/{svd/es/index-RduMPUku.js → tv4/es/index-Dbp1fa8u.js} +1 -1
  296. package/tv4/es/{index-Dc1cXTJ2.js → index-Y2frhM_m.js} +1 -1
  297. package/tv4/es/{index-JFUu91a-.js → index-z0HwRYZq.js} +1 -1
  298. package/tv4/es/index.d.ts +0 -1
  299. package/tv4/es/index.js +1 -1
  300. package/{e24/es/styles--4iiQpxh.js → tv4/es/styles-O6xBdqnA.js} +1 -1
  301. package/tvnu/cjs/index.d.ts +0 -1
  302. package/tvnu/cjs/index.js +1 -1
  303. package/types/index.d.ts +0 -1
  304. package/vg/cjs/index.d.ts +0 -1
  305. package/vg/cjs/index.js +1 -1
  306. package/vg/es/_auto-entry_vg-CNMKTWqp.js +1 -0
  307. package/vg/es/{events-CkjCDTI7.js → events-DgxipThS.js} +1 -1
  308. package/vg/es/{index-epCFXtI4.js → index-Ba7Cehol.js} +1 -1
  309. package/vg/es/{index-F3KEayDi.js → index-BlGMYYhq.js} +1 -1
  310. package/vg/es/{index-DhJ82Vbf.js → index-CLdbCjiJ.js} +1 -1
  311. package/vg/es/{index-Biu_3W80.js → index-Co3Aw98A.js} +1 -1
  312. package/vg/es/{index-BYWC0jq5.js → index-DOQVnlWx.js} +1 -1
  313. package/vg/es/{index-DeUnl-2q.js → index-DjBBguix.js} +1 -1
  314. package/vg/es/{index-iRrWXn0J.js → index-Dl7fMtOW.js} +1 -1
  315. package/vg/es/{index-BVCH12uU.js → index-PDMIX2dh.js} +1 -1
  316. package/vg/es/index.d.ts +0 -1
  317. package/vg/es/index.js +1 -1
  318. package/vg/es/{styles-a_IS7VrG.js → styles-Al-GP6EL.js} +1 -1
  319. package/vg/es/{styles-C54JRVTc.js → styles-B3azJFQY.js} +1 -1
  320. package/vg/es/{styles-D0ApVcoc.js → styles-B9rKWGsz.js} +1 -1
  321. package/vg/es/{styles-MlYSWzvf.js → styles-BLNVZVjk.js} +1 -1
  322. package/vg/es/{styles-dNKo_Q7E.js → styles-BzSp5c_M.js} +1 -1
  323. package/vg/es/{styles-CP8zMUuy.js → styles-CInrYPX7.js} +1 -1
  324. package/vg/es/{styles-DGj4x6nD.js → styles-CL-T6233.js} +1 -1
  325. package/{sa/es/styles-J5KD7R2M.js → vg/es/styles-CR7ZgaBi.js} +1 -1
  326. package/vg/es/{styles-BkrZZF1M.js → styles-Cag_1WdN.js} +1 -1
  327. package/{bt/es/styles-BwRor3DV.js → vg/es/styles-D5DFLycM.js} +1 -1
  328. package/vg/es/{styles-CMmWaQ0L.js → styles-D8Jg8rbh.js} +1 -1
  329. package/vg/es/{styles-Coegvij6.js → styles-DGgbxdms.js} +1 -1
  330. package/vg/es/{styles-DEJkyoHp.js → styles-DaY7YaoW.js} +1 -1
  331. package/vg/es/{styles-CdA6eNjK.js → styles-Im8Uznoc.js} +1 -1
  332. package/vg/es/{styles-BGPTRYXi.js → styles-udpPLc8I.js} +1 -1
  333. package/vgv2/es/_auto-entry_vgv2-DWVR95je.js +1 -0
  334. package/vgv2/es/{events-wTh0LiSJ.js → events-Bhp5nG1F.js} +1 -1
  335. package/vgv2/es/{index-mVPJqvVz.js → index-2m8cpHAE.js} +1 -1
  336. package/vgv2/es/{index-ClB34AKH.js → index-6miGbC_A.js} +1 -1
  337. package/vgv2/es/{index-DLhjHvmT.js → index-9EhFTADG.js} +1 -1
  338. package/vgv2/es/{index-P84iIoXm.js → index-BPEEEMJK.js} +1 -1
  339. package/vgv2/es/{index-eAyCQU1l.js → index-D4_e4pym.js} +1 -1
  340. package/vgv2/es/{index-pLpiHBc_.js → index-DHWSRVo1.js} +1 -1
  341. package/vgv2/es/{index-kBzxmy6k.js → index-DiG0oUDN.js} +1 -1
  342. package/vgv2/es/{index-DqOiH6Lp.js → index-a399AJ0V.js} +1 -1
  343. package/vgv2/es/index.d.ts +0 -1
  344. package/vgv2/es/index.js +1 -1
  345. package/vgv2/es/{styles-CTn-4PvX.js → styles-2hT1aDA4.js} +1 -1
  346. package/vgv2/es/{styles-DMRMpPMw.js → styles-BDJcseHN.js} +1 -1
  347. package/{btv2/es/styles-ix5DZQrj.js → vgv2/es/styles-Bf7al6tS.js} +1 -1
  348. package/vgv2/es/{styles-BwtgpdoN.js → styles-CIHw-8i4.js} +1 -1
  349. package/vgv2/es/{styles-vjGHEQho.js → styles-CTeP6fE0.js} +1 -1
  350. package/{btv2/es/styles-CV954_Df.js → vgv2/es/styles-CVy5TTdz.js} +1 -1
  351. package/vgv2/es/{styles-DjQb5J4z.js → styles-Cng4LAyr.js} +1 -1
  352. package/vgv2/es/{styles-Bk_rOiKf.js → styles-D1Q27Rq1.js} +1 -1
  353. package/vgv2/es/{styles-Dvnifdro.js → styles-DPo4VtV6.js} +1 -1
  354. package/vgv2/es/{styles-BG8z12Iz.js → styles-D_pJ-LIE.js} +1 -1
  355. package/vgv2/es/{styles-BuWh2JjU.js → styles-Dm4J_3Xn.js} +1 -1
  356. package/{btv2/es/styles-BmBQWFay.js → vgv2/es/styles-DoV4kLvF.js} +1 -1
  357. package/{btv2/es/styles-H_bfEBxT.js → vgv2/es/styles-Dzt3LLBT.js} +1 -1
  358. package/vgv2/es/{styles-KhuLt3rO.js → styles-eSQSIDO2.js} +1 -1
  359. package/vgv2/es/{styles-Db3sUkQU.js → styles-p08XEJGr.js} +1 -1
  360. package/video/cjs/index.js +1 -1
  361. package/video/es/index.js +1 -1
  362. package/aftenposten/es/_auto-entry_aftenposten-DTiurmSy.js +0 -1
  363. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-6B1qzarT.js +0 -1
  364. package/aftonbladet/es/_auto-entry_aftonbladet-D9AhTabo.js +0 -1
  365. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-CdEoivt1.js +0 -1
  366. package/bt/es/_auto-entry_bt-6oO3lDnN.js +0 -1
  367. package/btv2/es/_auto-entry_btv2-noFew4Uu.js +0 -1
  368. package/e24/es/_auto-entry_e24-C-c4YKDL.js +0 -1
  369. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DCvuf6NB.js +0 -1
  370. package/godare/cjs/index.d.ts +0 -879
  371. package/godare/cjs/index.js +0 -1
  372. package/godare/styles-inline.js +0 -3
  373. package/godare/styles.css +0 -1
  374. package/koket/es/_auto-entry_koket-CPD9ILVK.js +0 -1
  375. package/sa/es/_auto-entry_sa-D12Sv131.js +0 -1
  376. package/sav2/es/_auto-entry_sav2-BvBCRA-0.js +0 -1
  377. package/svd/es/_auto-entry_svd-B7IISSln.js +0 -1
  378. package/svdv2/es/_auto-entry_svdv2-CbtfIjKt.js +0 -1
  379. package/vg/es/_auto-entry_vg-DblF74Eh.js +0 -1
  380. package/vgv2/es/_auto-entry_vgv2-BFdUfdxW.js +0 -1
package/video/es/index.js CHANGED
@@ -1 +1 @@
1
- function e(e,n,t,i){return new(t||(t=Promise))(function(o,r){function s(e){try{d(i.next(e))}catch(e){r(e)}}function a(e){try{d(i.throw(e))}catch(e){r(e)}}function d(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(s,a)}d((i=i.apply(e,n||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const n=()=>e(void 0,void 0,void 0,function*(){return window.__tcfapi?{gdpr:1,gdpr_consent:yield(e=window.__tcfapi,new Promise((n,t)=>{e("addEventListener",2,(t,i)=>{var o;i||n(""),"tcloaded"!==t.eventStatus&&"useractioncomplete"!==t.eventStatus||(n(null!==(o=t.tcString)&&void 0!==o?o:""),e("removeEventListener",2,()=>{},t.listenerId))})}))}:{};var e}),t={NO:"no",SE:"se"},i={pageContext:{publisher:"aftonbladet",countryCode:t.SE},memberId:9943,sectionKeyword:"se-aftonbladet-section",frontpageInvCodeTemplate:"se-aftonbladet-{deviceType}-front-{position}",additionalFilterKeys:["se-aftonbladet-navigation","se-aftonbladet-keyword_generator","se-aftonbladet-sponsor"],tcf:{enabled:!0,advertisingCMPSignalEnabled:!0,schibstedConsentToPayEnabled:!0},glimr:{enabled:!0,clientId:"OYGH3SXYFAQR78LVPNQD"}},o={nyheter:"nyheter",sport:"sportbladet",noje:"nojesbladet",family:"family",matdryck:"matdryck",wellness:"wellness",minekonomi:"minekonomi",resa:"resa",harligthemma:"harligthemma"},r=e=>(null==e?void 0:e.parent)?[...r(e.parent),e.shortPath||"unknown"]:[],s=(e,n)=>n?"se-aftonbladet-{deviceType}-studio_{position}":`se-aftonbladet-tv-{deviceType}-${(e=>{var n;if(null===(n=null==e?void 0:e.metadata)||void 0===n?void 0:n.afp)return"afp";const[,t]=r(e);return o[t]||"ovrigaavdelningar"})(e)}_{position}`,a=(e,n)=>{const t="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(n?console.log(t,e,n):console.log(t,e))},d=(e,n)=>{console.warn("[Advertory WARN]: ",e)},l={aftonbladet:i},c={aftonbladet:(e,n)=>{if(!e)return null;return{invCode:s(e,n),videoOverlayInvCode:"se-aftonbladet-{deviceType}-other-{position}",sections:r(e).join(":")}}},u=e=>{switch(e){case"auto":return 1;case"silent":return 2;default:return 3}},p=new Map([[1,"autoplay"],[2,"muted-autoplay"],[3,"click-to-play"]]),v="desktop",g="web_desktop",h="web_phone",f="wde",y="wph",b="se-generic",m="aa-sch",w="kv_",O="pause",C="{deviceType}",P="{position}",I="afp_",T=new Set(Object.values({PREROLL:"preroll",BUMPER:"bumper",MIDROLL:"midroll"})),_="1-1",S="16-9",E="3-4",A="9-16",j="responsive",$={[_]:1,[S]:1.78,[A]:.56,[j]:1},k={[_]:1,[S]:1.78,[E]:1.33,[A]:.56},N=(e,n,t,i)=>{const{invCode:o="",videoOverlayInvCode:r}=null!=e?e:{},s=v===t?f:y,a=o.replace(C,s);return(e,t)=>{if(e===O)return(e=>e.replace("tv-","").replace("-afp_","-afp-").replace(P,O).replace(/-([a-z]+)_/,"-article-"))(a);if(t&&T.has(e)){return(i&&r?r:n.frontpageInvCodeTemplate).replace(C,s).replace(P,e)}return a.replace(P,e)}};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var M,D;var R=x(function(){if(D)return M;D=1;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(e,n){return!1!==n.clone&&n.isMergeableObject(e)?a((t=e,Array.isArray(t)?[]:{}),e,n):e;var t}function i(e,n,i){return e.concat(n).map(function(e){return t(e,i)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(n){return Object.propertyIsEnumerable.call(e,n)}):[]}(e))}function r(e,n){try{return n in e}catch(e){return!1}}function s(e,n,i){var s={};return i.isMergeableObject(e)&&o(e).forEach(function(n){s[n]=t(e[n],i)}),o(n).forEach(function(o){(function(e,n){return r(e,n)&&!(Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))})(e,o)||(r(e,o)&&i.isMergeableObject(n[o])?s[o]=function(e,n){if(!n.customMerge)return a;var t=n.customMerge(e);return"function"==typeof t?t:a}(o,i)(e[o],n[o],i):s[o]=t(n[o],i))}),s}function a(n,o,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=t;var a=Array.isArray(o);return a===Array.isArray(n)?a?r.arrayMerge(n,o,r):s(n,o,r):t(o,r)}return a.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return a(e,t,n)},{})},M=a}());const U=["placements","takeover","refreshConfig","editory"],H={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,n)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},F=e=>{(e=>{const{pageContext:n,pageOptions:t,placements:i,appearanceConfig:o}=null!=e?e:{};(null==n?void 0:n.publisher)||d("pageContext.publisher is required."),(null==n?void 0:n.countryCode)||d("pageContext.countryCode is required."),(null==n?void 0:n.pageType)||d("pageContext.pageType is required."),(null==n?void 0:n.deviceType)||d("pageContext.deviceType is required."),t||d("pageOptions is required."),i||d("placements is required."),(null==o?void 0:o.defaultThreshold)||d("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var n,t,i;const o=e.pageSectionsSelectors,r=[{flag:!!(null===(n=e.takeover)||void 0===n?void 0:n.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(i=e.widescreenSwitching)||void 0===i?void 0:i.enabled),property:"right",featureName:"widescreenSwitching"}];for(const{flag:e,property:n,featureName:t}of r)e&&!(null==o?void 0:o[n])&&d(`pageSectionsSelectors.${n} is required when ${t} is enabled.`)})(e)};class L{set(e){F(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");const n={};for(const t of U){const i=e[t];void 0!==i&&(n[t]=i)}Object.assign(this.config,n),Object.hasOwn(e,"pageContext")&&void 0!==e.pageContext&&(this.config.pageContext=Object.assign(Object.assign({},this.config.pageContext),e.pageContext)),Object.hasOwn(e,"pageOptions")&&void 0!==e.pageOptions&&(this.config.pageOptions=Object.assign(Object.assign({},this.config.pageOptions),e.pageOptions)),Object.hasOwn(e,"tcf")&&void 0!==e.tcf&&(this.config.tcf=Object.assign(Object.assign({},this.config.tcf),e.tcf))}get(){if(!this.config)throw new Error("Config was accessed before it had been initialized.");return this.config}getHandlers(){if(!this.siteHandlers)throw new Error("Handlers were accessed before it had been initialized.");return this.siteHandlers}setHandlers(e){this.siteHandlers=R(L.DEFAULT_SITE_HANDLERS,e)}}L.DEFAULT_SITE_HANDLERS={siteEvents:H,initNativeAd:()=>{}};const V=new L;V.modifyConfigProperties.bind(V);const B=864e5,q=(()=>{const e=e=>{const n=window.localStorage.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch(e){return a("Error with parsing localStorage data"),null}},n=(e,n)=>{window.localStorage.setItem(e,JSON.stringify(n))};return{get:e,set:n,setWithTimestamp:(e,t,i=B)=>{const o={data:t,expirationTime:(new Date).getTime()+i};n(e,JSON.stringify(o))},getByTimestamp:(n,t=B)=>{const i=e(n);if(!i)return null;if(!t)return i;try{const{expirationTime:e,data:n}=JSON.parse(i);return(new Date).getTime()<=e?n:null}catch(e){return a("Error with parsing localStorage data"),null}}}})(),K=["glwe_","glwet_"],W={geofenceTags:[],geoTags:[],weatherTags:[]},z=e=>new Promise(n=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void n(!1);const t=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const n=Number(e);return a("Advertising permission value obtained synchronously: ",e),Boolean(n)})();if(null!==t)return void n(t);let i=!1;const o=e=>{i||(a("Resolving advertising permission value obtained"),i=!0,n(e))},r=setTimeout(()=>{a("Advertising permission timed out, resolving with false"),o(!1)},3e3);window._tcf_.onTcfReady(()=>{a("On Tcf Ready called, waiting for permission"),clearTimeout(r)}),window._tcf_.getPermission("CMP:advertising",e=>{clearTimeout(r);const n=Number(e);a("Advertising permission value obtained asynchronously: ",e),o(Boolean(n))})}),J="cmp:loaded";let G="undefined"!=typeof window?window._tcf_:void 0,Q=!1;const Y=(n,i,o)=>{const r=!!(null==n?void 0:n.enabled),s=(null==n?void 0:n.timeout)||3e3,d=(l="bypass_tcf",new URLSearchParams(window.location.search).get(l));var l;const c=()=>{if(!(null==n?void 0:n.enabled))return!0;if(((e,n)=>e?!!n&&(a("TCF bypass param detected, returning consent: true"),!0):(a("TCF is not enabled, returning consent: true"),!0))(r,d))return!0;if(Q)return null;if(!G)throw new Error("[Advertory]: getConsentSync method was called before the tcfManager was available.");const e=G.getConsentedToAllSync();return a(`TCF consented to all is: ${e}`),G.getConsentedToAllSync()};return{initConsentManager:()=>(null==n?void 0:n.enabled)?new Promise((e,n)=>{if(a("Getting TCF consent manager..."),window._tcf_)return a("TCF consent manager is already available"),G=window._tcf_,void e(G);a("TCF consent manager is not available");const t=()=>{a("CMP loaded, resolving consent manager..."),i&&clearTimeout(i),window._tcf_?(G=window._tcf_,e(G)):n(new Error("CMP loaded but window._tcf_ is not defined"))},i=setTimeout(()=>{document.removeEventListener(J,t),Q=!0,n(new Error("Timeout waiting for CMP to load"))},s);a("Listening for CMP loaded event..."),document.addEventListener(J,t,{once:!0})}):Promise.resolve(null),getConsentSync:c,getConsentAsync:()=>e(void 0,void 0,void 0,function*(){if(null==n?void 0:n.schibstedAdChoicesOverrideValue)return a(`Schibsted Ad Choices override value is set, returning override value: ${n.schibstedAdChoicesOverrideValue}`),Boolean(Number(n.schibstedAdChoicesOverrideValue));const e=(null==n?void 0:n.advertisingCMPSignalEnabled)&&o===t.SE,i=(null==n?void 0:n.advertisingCMPSignalEnabled)&&o===t.NO;if(e||i)return a("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield z(n);if(!(null==n?void 0:n.enabled))return!0;const r=c();return null!==r?r:yield new Promise((e,n)=>{try{if(!G)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let n=!1;const t=t=>{n||(n=!0,e(t))},i=setTimeout(()=>{a("TCF isConsentedToAll timed out, resolving with false"),t(!1)},s);G.onTcfReady(()=>{a("On Tcf Ready called, waiting for consent"),clearTimeout(i)}),G.isConsentedToAll(n=>{clearTimeout(i),e(n)})}catch(e){n(e)}})})}},X=(n,t,i,...o)=>e(void 0,[n,t,i,...o],void 0,function*(e,n,t,i="NOT SPECIFIED FEATURE"){if(!(null==e?void 0:e.schibstedConsentToPayEnabled))return a(`Schibsted Consent to Pay is not enabled, returning true for ${i}`),!0;if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return a(`Schibsted Ad Choices override value is set, returning override value: ${null==e?void 0:e.schibstedAdChoicesOverrideValue} for ${i}`),Boolean(Number(null==e?void 0:e.schibstedAdChoicesOverrideValue));const{getConsentAsync:o}=Y(e,0,t);return(yield o())?(a(`Schibsted Ad Choices consent given according to TCF consent manager for ${i}`),!0):(a(`Schibsted Ad Choices consent not given according to TCF consent manager for ${i}`),!1)}),Z={svd:"svd",vg:"vg",godare:"godare",aftenposten:"no-aftenposten",sa:"no-stavangeraftenblad",bt:"no-bergenstidende",aftonbladet:"aftonbladet",e24:"e24",minmote:"minmote",pent:"pent",godt:"godt",tek:"no-tek"},ee=e=>K.some(n=>e.startsWith(n)),ne=e=>e.startsWith("glgc_"),te=e=>!ee(e)&&!ne(e),ie=(n,i)=>e(void 0,void 0,void 0,function*(){const{addPublisherToGeo:i}={},{glimr:o,pageContext:{countryCode:r}={}}=n,s=yield((...n)=>e(void 0,[...n],void 0,function*(e=V.get()){const{tcf:n,pageContext:{isMobileApp:t,countryCode:i}={}}=e;if(null==n?void 0:n.schibstedConsentToPayEnabled)return yield X(n,t,i,"glimr");const{getConsentAsync:o}=Y(n,0,i);return yield o()}))(n);if(!(null==o?void 0:o.enabled)||!s)return a("No consent for getting glimr tags."),{};const d=(e=>e===t.NO?"no-sno":"se-generic")(r),l=oe(n,Boolean(i));return{[`${d}-geo`]:l.geoTags,[`${d}-weather`]:l.weatherTags,[`${d}-geofence`]:l.geofenceTags}}),oe=(e,n)=>{const t=re();if(!t)return W;const i=((e=[])=>e.filter(ee))(t),o=((e=[])=>e.filter(ne))(t),r=((e=[],n,t)=>{var i;const o=e.filter(te);if(t&&n){const{publisher:e}=null!==(i=n.pageContext)&&void 0!==i?i:{},t=Z[e]||e;o.push(t)}return o})(t,e,n);return{geoTags:r,geofenceTags:o,weatherTags:i}},re=()=>{const e=q.getByTimestamp("glimrTags");return e&&"string"!=typeof e?null==e?void 0:e.tags:null},se={get:(n,t)=>e(void 0,void 0,void 0,function*(){const e=yield fetch(n,t);if(!e.ok)throw new Error(e.statusText);return yield e.json()}),post:(n,t,i)=>e(void 0,void 0,void 0,function*(){const e=JSON.stringify(i),o=yield fetch(n,{method:"POST",headers:t,body:e});if(!o.ok)throw new Error(o.statusText);return yield o.json()})},ae="advertory:ppids-cache",de={[t.SE]:`SCH${t.SE.toUpperCase()}-EnvHash`,[t.NO]:`SCH${t.NO.toUpperCase()}-EnvHash`},le={[t.SE]:`SCH${t.SE.toUpperCase()}-UserHash`,[t.NO]:`SCH${t.NO.toUpperCase()}-UserHash`},ce={[t.SE]:`sch${t.SE}-envhash-v3`,[t.NO]:`sch${t.NO}-envhash-v3`},ue={[t.SE]:`sch${t.SE}-userhash-v3`,[t.NO]:`sch${t.NO}-userhash-v3`},pe={[t.SE]:"sdrn:schibsted.com:user",[t.NO]:"sdrn:spid.no:user"};class ve{constructor(){this.eids=[]}add(e,n){return e&&this.eids.push({id:e,source:n}),this}buildRyEids(){return this.eids.map(({id:e,source:n})=>({source:n,uids:[{id:e,atype:1,ext:{stype:"ppuid"}}]}))}buildEids(){return[...this.eids]}buildVideoEids(){return this.eids.map(({id:e,source:n})=>`${n},${e}`).join("|")}buildNorstatPath(){const e=this.eids[0];return e?`${e.source}-${e.id}`:""}buildNorstatQuery(e){const n=new URLSearchParams;return this.eids.slice(1).forEach(({id:t,source:i})=>{n.append(e,`${i}-${t}`)}),n}}const ge=new class{constructor(){this.ppid1=null,this.ppid2=null}processPPIDs(n){return e(this,arguments,void 0,function*(e,n=1e4){var t,i;const o=yield Promise.race([new Promise(e=>{setTimeout(()=>e({xandr:{ppId1:"",ppId2:""}}),n)}),e.instance.getAdvertisingIdentifiers()]);this.setPPIDs(null===(t=o.xandr)||void 0===t?void 0:t.ppId1,null===(i=o.xandr)||void 0===i?void 0:i.ppId2)})}getPPIDs(){var e,n;return null!==this.ppid1&&null!==this.ppid2||a("PPIDv2s accessed before they have been initialized"),{ppid1:null!==(e=this.ppid1)&&void 0!==e?e:"",ppid2:null!==(n=this.ppid2)&&void 0!==n?n:""}}setPPIDs(e,n){this.ppid1=null!=e?e:"",this.ppid2=null!=n?n:""}},he=new class{constructor(){this.ppid1=null,this.ppid2=null,this.idfv=null,this.anId=null}processPPIDs(n,t){return e(this,void 0,void 0,function*(){var e,i,o,r,s,a,d,l,c,u,p;const v=q.get(ae),g=yield this.getNewPPIDs(n,t);if(this.shouldHash(v,g)){const t=null!==(e=n.hasherUrl)&&void 0!==e?e:"https://hasher.schibsted.com/api/v1/hash",l=this.createHasherPayload(g),c=yield this.hashPPIDs(l,t);return c?(this.cachePPIDs(l,c,null===(i=g.idfv)||void 0===i?void 0:i.plain,null===(o=g.anId)||void 0===o?void 0:o.plain),void this.setPPIDs(null!==(r=c.userId)&&void 0!==r?r:"",null!==(s=c.environmentId)&&void 0!==s?s:"",null===(a=g.idfv)||void 0===a?void 0:a.plain,null===(d=g.anId)||void 0===d?void 0:d.plain)):void this.setPPIDs("","")}this.setPPIDs(null!==(l=null==v?void 0:v.userId.hashed)&&void 0!==l?l:"",null!==(c=null==v?void 0:v.environmentId.hashed)&&void 0!==c?c:"",null===(u=null==g?void 0:g.idfv)||void 0===u?void 0:u.plain,null===(p=null==g?void 0:g.anId)||void 0===p?void 0:p.plain)})}getPPIDs(){var e,n;return null!==this.ppid1&&null!==this.ppid2||a("PPIDv3s accessed before they have been initialized"),{ppid1:null!==(e=this.ppid1)&&void 0!==e?e:"",ppid2:null!==(n=this.ppid2)&&void 0!==n?n:"",idfv:this.idfv,anId:this.anId}}setPPIDs(e,n,t,i){this.ppid1=null!=e?e:"",this.ppid2=null!=n?n:"",this.idfv=null!=t?t:null,this.anId=null!=i?i:null}shouldHash(e,n){var t,i;if(!e)return!0;for(const o in e){if((null===(t=e[o])||void 0===t?void 0:t.plain)!==(null===(i=n[o])||void 0===i?void 0:i.plain))return!0}return!1}cachePPIDs(e,n,t,i){const o=Object.assign(Object.assign({clientId:{plain:e.clientId},userId:{plain:e.userId,hashed:n.userId},environmentId:{plain:e.environmentId,hashed:n.environmentId},trackerType:{plain:e.trackerType},trackerVersion:{plain:e.trackerVersion}},t?{idfv:{plain:t}}:{}),i?{anId:{plain:i}}:{});q.set(ae,o)}hashPPIDs(n,t){return e(this,void 0,void 0,function*(){try{const e=new Headers({"Content-Type":"application/json"});return yield se.post(t,e,n)}catch(e){return a("Error with hashing PPIDs",e),null}})}getNewPPIDs(n,t){return e(this,arguments,void 0,function*({clientId:n,instance:t},i){const o=yield((n,t)=>e(void 0,void 0,void 0,function*(){const e=yield n.getUserId();return e?`${pe[t]}:${e}`:null}))(t,i),r=yield(n=>e(void 0,void 0,void 0,function*(){const e=yield n.getEnvironmentId();return e?`sdrn:schibsted:environment:${e}`:null}))(t),s=window.advertory_idfv,a=window.advertory_anId;return Object.assign(Object.assign({clientId:{plain:n},userId:{plain:o},environmentId:{plain:r},trackerType:{plain:"Advertory"},trackerVersion:{plain:"1.0.0"}},s?{idfv:{plain:s}}:{}),a?{anId:{plain:a}}:{})})}createHasherPayload({clientId:e,trackerType:n,trackerVersion:t,userId:i,environmentId:o}){return{clientId:e.plain,trackerType:n.plain,trackerVersion:t.plain,userId:i.plain,environmentId:o.plain}}},fe=n=>e(void 0,void 0,void 0,function*(){const{tcf:e,pageContext:{isMobileApp:t,countryCode:i}={}}=n,{getConsentAsync:o}=Y(e,0,i);if(!(yield o()))return;const r=(e=>{const n=encodeURIComponent(e).replace(/[-.+*]/g,"\\$&"),t=new RegExp(`(?:(?:^|.*;)\\s*${n}\\s*\\=\\s*([^;]*).*$)|^.*$`);return decodeURIComponent(document.cookie.replace(t,"$1"))||null})("_pulse2data");return r?r.split(",")[9]:void 0}),ye=()=>{const e=window.navigator.userAgent.toLowerCase(),n=[["win","windows"],["macintosh","macos"],["x11","linux"],["android","android"],["ipad","ios"],["iphone","ios"]].find(([n])=>e.includes(n));return n?n[1]:"unknown"},be=(e,n)=>{const t=Object.entries(e);return t.reduce((t,[i,o])=>{const r=Math.abs(e[t]-n);return Math.abs(o-n)<r?i:t},t[0][0])},me=()=>{var e,n;const t=jwplayer().getContainer(),i=null!==(n=null===(e=document.getElementById(t.id))||void 0===e?void 0:e.parentElement)&&void 0!==n?n:null;return i&&"number"==typeof i.offsetWidth&&"number"==typeof i.offsetHeight&&0!==i.offsetHeight?i.offsetWidth/i.offsetHeight:1},we=()=>{return(e=>{try{return decodeURIComponent(e)}catch(e){return""}})("undefined"!=typeof document&&null!==(n=null===(e=document.cookie.match("(^|;)\\s*_pulse2data\\s*=\\s*([^;]+)"))||void 0===e?void 0:e.pop())&&void 0!==n?n:"").split(",");var e,n},Oe=()=>{const e=null!==(n=we()[9])&&void 0!==n?n:null;var n;const t=(()=>{var e;return null!==(e=we()[2])&&void 0!==e?e:null})();return e?Number(Boolean(e))+Number(Boolean(t)):0},Ce=()=>Object.fromEntries(new URLSearchParams(window.location.search)),Pe=(t,i)=>e(void 0,void 0,void 0,function*(){const{tcf:o,pageContext:{publisher:r,countryCode:s}}=i,{width:a,height:d}={width:window.innerWidth,height:window.innerHeight},l={isMobileApp:t.isApp,countryCode:s,publisher:r,pageType:"front",deviceType:t.deviceType},c=(yield X(o,t.isApp,s,"video"))?"1":"0",u=yield n(),p=yield(f=s,e(void 0,void 0,void 0,function*(){const{ppid1:e,ppid2:n}=ge.getPPIDs(),{ppid1:t,ppid2:i}=he.getPPIDs(),o=(new ve).add(n,de[f]).add(e,le[f]).add(i,ce[f]).add(t,ue[f]);return yield new Promise(e=>{e(o.buildVideoEids())})}));var f;const y=yield fe({tcf:o,pageContext:l}),O=null!==(C=window.location.pathname.split("/").slice(-2,-1).pop())&&void 0!==C?C:"";var C;const P=((e=1)=>be(k,Number(e.toFixed(2))))(t.instreamAspectRatio),I=(T=t.playerAspectRatio)?be($,Number(T.toFixed(2))):j;var T,_;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${m}-country_code`]:s,[`${m}-publisher`]:r,[`${m}-supply_type`]:(_=t.deviceType,_===v?g:h),[`kw_${m}-page_type`]:"collection",[`${m}-page_type`]:"collection",[`${b}-appmode`]:t.isAndroidApp?"hybrid":"notinapp",[`kw_${b}-page`]:"index",[`${b}-page`]:"index",[`${b}-screenheight`]:String(window.screen.height),[`${b}-screenwidth`]:String(window.screen.width),[`${b}-viewportheight`]:String(d),[`${b}-viewportwidth`]:String(a),[`${b}-loggedin`]:t.isUserLoggedIn?"yes":"no",[`${b}-mobile-os`]:ye(),[`${b}-audience`]:void 0,[`${b}-externalid_src`]:Oe(),[`${b}-tags`]:t.tags,[`${b}-articleid`]:O,"article-id":O},yield ie(Object.assign(Object.assign({},i),{pageContext:l}))),y&&{external_uid:y}),t.isUserPresentOnFrontPage&&t.isInitialVideo&&{[`${b}-tvtags`]:"vinjett"}),t.pageAdsKeywords),Object.keys(Ce()).some(e=>e.includes(w))&&(()=>{const e=Ce(),n=Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(w)).map(([e,n])=>[e.slice(3),n]));return Object.keys(n).length>0?n:void 0})()),{[i.sectionKeyword]:t.sections.split(":"),"aa-sch-cmp_advertising":c,"kw_aa-sch-cmp_advertising":c,"aa-sch-instream_player_aspectratio":P,"aa-sch-player_aspectratio":I}),u),{eids:p})}),Ie=["se-generic-audience","se-generic-appversion","se-generic-sitemode","se-generic-pagegen","se-generic-viewportheight","se-generic-viewportwidth","se-generic-screenheight","se-generic-screenwidth","aa-sch-inventory_type"],Te=["aa-sch-publisher","se-generic-page","aa-sch-supply_type","se-generic-story","se-generic-section","se-generic-adformat","aa-sch-context_keyword","se-generic-tvtags","se-generic-test","aa-sch-cmp_advertising","aa-sch-instream_player_aspectratio","aa-sch-player_aspectratio"],_e=["external_uid","gdpr","gdpr_consent","eids","article-id"],Se=(e,n)=>{const t=[...Ie,...n.additionalFilterKeys];return Object.fromEntries(Object.entries(e).filter(([e])=>!t.includes(e)).map(([e,n])=>[e.includes("kw")||_e.includes(e)?e:`kw_${e}`,n]))},Ee=e=>Object.fromEntries(Object.entries(e).filter(([e])=>Te.includes(e))),Ae=(n,t)=>e(void 0,void 0,void 0,function*(){var e,o,r,s;const a=(e=>{var n;l[e]||d(`[video] No config found for publisher "${e}"`);return null!==(n=l[e])&&void 0!==n?n:i})(n.publisher),p=(e=>{var n;return null!==(n=c[e])&&void 0!==n?n:c.aftonbladet})(n.publisher)(n.assetSection,n.isLiveStudio),v="/"===window.location.pathname,g=null===(o=null===(e=t.attributes)||void 0===e?void 0:e.id)||void 0===o?void 0:o.toString(),h=n.assetId===g,f=null!==(r=Number(n.aspectRatio))&&void 0!==r?r:1,y=h?"preroll":"bumper";var b;return{siteConfig:a,siteVideoParams:p,isUserPresentOnFrontPage:v,adsKeywords:yield Pe({pageAdsKeywords:n.pageAdsKeywords,tags:(b=n.tags,b?b.filter(e=>e.slug).map(({slug:e})=>e).join(","):""),sections:null!==(s=null==p?void 0:p.sections)&&void 0!==s?s:"",isUserLoggedIn:n.isUserLoggedIn,isUserPresentOnFrontPage:v,isInitialVideo:h,instreamAspectRatio:f,playerAspectRatio:me(),isApp:n.isApp,deviceType:n.deviceType,isAndroidApp:n.isAndroidApp},a),prerollPlacementFormat:y,playbackMethod:u(n.startMode)}}),je=(e,n)=>{const{siteConfig:t,siteVideoParams:i,isUserPresentOnFrontPage:o,adsKeywords:r,prerollPlacementFormat:s,playbackMethod:a}=e,{invCode:d}=i||{},l=N(i,t,n.deviceType,n.isUsedInOverlayVideoPlayer),c=((e="")=>n=>e.includes(I)?`${I}${n}`:n)(d),u=window.location.href;return{member:t.memberId,options:{autoplayMuted:!0,vpaidcontrols:!0},adSlots:{schedule:{preroll:{inv_code:l(s,o),"se-generic-playback-method":p.get(a),"kw_se-generic-adformat":c(s)},midroll:{inv_code:l("midroll"),"kw_se-generic-adformat":c("midroll")},postroll:{inv_code:l("postroll"),"kw_se-generic-adformat":c("postroll")}},params:Object.assign(Object.assign(Object.assign({},Se(r,t)),Ee(r)),{vskippable:"0",referrer:u,vplaybackmethod:a})},adPlacements:{schedule:{pause:{invCode:l("pause"),sizes:[[825,424],[1280,720],[2,1]]}},params:{keywords:Object.assign(Object.assign({},r),{"se-generic-adformat":c("pause")})}}}},$e=n=>t=>e(void 0,void 0,void 0,function*(){const e=yield Ae(n,t);return je(e,n)});export{n as getTcfConsentKeywords,$e as getVideoAdsConfig};
1
+ function e(e,n,t,i){return new(t||(t=Promise))(function(o,r){function s(e){try{d(i.next(e))}catch(e){r(e)}}function a(e){try{d(i.throw(e))}catch(e){r(e)}}function d(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t(function(e){e(n)})).then(s,a)}d((i=i.apply(e,n||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const n=()=>e(void 0,void 0,void 0,function*(){return window.__tcfapi?{gdpr:1,gdpr_consent:yield(e=window.__tcfapi,new Promise((n,t)=>{e("addEventListener",2,(t,i)=>{var o;i||n(""),"tcloaded"!==t.eventStatus&&"useractioncomplete"!==t.eventStatus||(n(null!==(o=t.tcString)&&void 0!==o?o:""),e("removeEventListener",2,()=>{},t.listenerId))})}))}:{};var e}),t={NO:"no",SE:"se"},i={pageContext:{publisher:"aftonbladet",countryCode:t.SE},memberId:9943,sectionKeyword:"se-aftonbladet-section",frontpageInvCodeTemplate:"se-aftonbladet-{deviceType}-front-{position}",additionalFilterKeys:["se-aftonbladet-navigation","se-aftonbladet-keyword_generator","se-aftonbladet-sponsor"],tcf:{enabled:!0,advertisingCMPSignalEnabled:!0,schibstedConsentToPayEnabled:!0},glimr:{enabled:!0,clientId:"OYGH3SXYFAQR78LVPNQD"}},o={nyheter:"nyheter",sport:"sportbladet",noje:"nojesbladet",family:"family",matdryck:"matdryck",wellness:"wellness",minekonomi:"minekonomi",resa:"resa",harligthemma:"harligthemma"},r=e=>(null==e?void 0:e.parent)?[...r(e.parent),e.shortPath||"unknown"]:[],s=(e,n)=>n?"se-aftonbladet-{deviceType}-studio_{position}":`se-aftonbladet-tv-{deviceType}-${(e=>{var n;if(null===(n=null==e?void 0:e.metadata)||void 0===n?void 0:n.afp)return"afp";const[,t]=r(e);return o[t]||"ovrigaavdelningar"})(e)}_{position}`,a=(e,n)=>{const t="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(n?console.log(t,e,n):console.log(t,e))},d=(e,n)=>{console.warn("[Advertory WARN]: ",e)},l={aftonbladet:i},c={aftonbladet:(e,n)=>{if(!e)return null;return{invCode:s(e,n),videoOverlayInvCode:"se-aftonbladet-{deviceType}-other-{position}",sections:r(e).join(":")}}},u=e=>{switch(e){case"auto":return 1;case"silent":return 2;default:return 3}},p=new Map([[1,"autoplay"],[2,"muted-autoplay"],[3,"click-to-play"]]),v="desktop",g="web_desktop",h="web_phone",f="wde",y="wph",b="se-generic",m="aa-sch",w="kv_",O="pause",C="{deviceType}",P="{position}",I="afp_",T=new Set(Object.values({PREROLL:"preroll",BUMPER:"bumper",MIDROLL:"midroll"})),_="1-1",S="16-9",E="3-4",A="9-16",j="responsive",$={[_]:1,[S]:1.78,[A]:.56,[j]:1},k={[_]:1,[S]:1.78,[E]:1.33,[A]:.56},N=(e,n,t,i)=>{const{invCode:o="",videoOverlayInvCode:r}=null!=e?e:{},s=v===t?f:y,a=o.replace(C,s);return(e,t)=>{if(e===O)return(e=>e.replace("tv-","").replace("-afp_","-afp-").replace(P,O).replace(/-([a-z]+)_/,"-article-"))(a);if(t&&T.has(e)){return(i&&r?r:n.frontpageInvCodeTemplate).replace(C,s).replace(P,e)}return a.replace(P,e)}};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var M,D;var R=x(function(){if(D)return M;D=1;var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function t(e,n){return!1!==n.clone&&n.isMergeableObject(e)?a((t=e,Array.isArray(t)?[]:{}),e,n):e;var t}function i(e,n,i){return e.concat(n).map(function(e){return t(e,i)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(n){return Object.propertyIsEnumerable.call(e,n)}):[]}(e))}function r(e,n){try{return n in e}catch(e){return!1}}function s(e,n,i){var s={};return i.isMergeableObject(e)&&o(e).forEach(function(n){s[n]=t(e[n],i)}),o(n).forEach(function(o){(function(e,n){return r(e,n)&&!(Object.hasOwnProperty.call(e,n)&&Object.propertyIsEnumerable.call(e,n))})(e,o)||(r(e,o)&&i.isMergeableObject(n[o])?s[o]=function(e,n){if(!n.customMerge)return a;var t=n.customMerge(e);return"function"==typeof t?t:a}(o,i)(e[o],n[o],i):s[o]=t(n[o],i))}),s}function a(n,o,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=t;var a=Array.isArray(o);return a===Array.isArray(n)?a?r.arrayMerge(n,o,r):s(n,o,r):t(o,r)}return a.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return a(e,t,n)},{})},M=a}());const U=["placements","takeover","refreshConfig","editory"],H={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,n)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},F=e=>{(e=>{const{pageContext:n,pageOptions:t,placements:i,appearanceConfig:o}=null!=e?e:{};(null==n?void 0:n.publisher)||d("pageContext.publisher is required."),(null==n?void 0:n.countryCode)||d("pageContext.countryCode is required."),(null==n?void 0:n.pageType)||d("pageContext.pageType is required."),(null==n?void 0:n.deviceType)||d("pageContext.deviceType is required."),t||d("pageOptions is required."),i||d("placements is required."),(null==o?void 0:o.defaultThreshold)||d("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var n,t,i;const o=e.pageSectionsSelectors,r=[{flag:!!(null===(n=e.takeover)||void 0===n?void 0:n.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(t=e.sponsorstripe)||void 0===t?void 0:t.enabled),property:"header",featureName:"sponsorstripe"},{flag:!!(null===(i=e.widescreenSwitching)||void 0===i?void 0:i.enabled),property:"right",featureName:"widescreenSwitching"}];for(const{flag:e,property:n,featureName:t}of r)e&&!(null==o?void 0:o[n])&&d(`pageSectionsSelectors.${n} is required when ${t} is enabled.`)})(e)};class L{set(e){F(e),this.config=e}modifyConfigProperties(e){if(!this.config)throw new Error("Config was accessed before it had been initialized.");const n={};for(const t of U){const i=e[t];void 0!==i&&(n[t]=i)}Object.assign(this.config,n),Object.hasOwn(e,"pageContext")&&void 0!==e.pageContext&&(this.config.pageContext=Object.assign(Object.assign({},this.config.pageContext),e.pageContext)),Object.hasOwn(e,"pageOptions")&&void 0!==e.pageOptions&&(this.config.pageOptions=Object.assign(Object.assign({},this.config.pageOptions),e.pageOptions)),Object.hasOwn(e,"tcf")&&void 0!==e.tcf&&(this.config.tcf=Object.assign(Object.assign({},this.config.tcf),e.tcf))}get(){if(!this.config)throw new Error("Config was accessed before it had been initialized.");return this.config}getHandlers(){if(!this.siteHandlers)throw new Error("Handlers were accessed before it had been initialized.");return this.siteHandlers}setHandlers(e){this.siteHandlers=R(L.DEFAULT_SITE_HANDLERS,e)}}L.DEFAULT_SITE_HANDLERS={siteEvents:H,initNativeAd:()=>{}};const V=new L;V.modifyConfigProperties.bind(V);const B=864e5,q=(()=>{const e=e=>{const n=window.localStorage.getItem(e);if(!n)return null;try{return JSON.parse(n)}catch(e){return a("Error with parsing localStorage data"),null}},n=(e,n)=>{window.localStorage.setItem(e,JSON.stringify(n))};return{get:e,set:n,setWithTimestamp:(e,t,i=B)=>{const o={data:t,expirationTime:(new Date).getTime()+i};n(e,JSON.stringify(o))},getByTimestamp:(n,t=B)=>{const i=e(n);if(!i)return null;if(!t)return i;try{const{expirationTime:e,data:n}=JSON.parse(i);return(new Date).getTime()<=e?n:null}catch(e){return a("Error with parsing localStorage data"),null}}}})(),K=["glwe_","glwet_"],W={geofenceTags:[],geoTags:[],weatherTags:[]},z=e=>new Promise(n=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void n(!1);const t=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const n=Number(e);return a("Advertising permission value obtained synchronously: ",e),Boolean(n)})();if(null!==t)return void n(t);let i=!1;const o=e=>{i||(a("Resolving advertising permission value obtained"),i=!0,n(e))},r=setTimeout(()=>{a("Advertising permission timed out, resolving with false"),o(!1)},3e3);window._tcf_.onTcfReady(()=>{a("On Tcf Ready called, waiting for permission"),clearTimeout(r)}),window._tcf_.getPermission("CMP:advertising",e=>{clearTimeout(r);const n=Number(e);a("Advertising permission value obtained asynchronously: ",e),o(Boolean(n))})}),J="cmp:loaded";let G="undefined"!=typeof window?window._tcf_:void 0,Q=!1;const Y=(n,i,o)=>{const r=!!(null==n?void 0:n.enabled),s=(null==n?void 0:n.timeout)||3e3,d=(l="bypass_tcf",new URLSearchParams(window.location.search).get(l));var l;const c=()=>{if(!(null==n?void 0:n.enabled))return!0;if(((e,n)=>e?!!n&&(a("TCF bypass param detected, returning consent: true"),!0):(a("TCF is not enabled, returning consent: true"),!0))(r,d))return!0;if(Q)return null;if(!G)throw new Error("[Advertory]: getConsentSync method was called before the tcfManager was available.");const e=G.getConsentedToAllSync();return a(`TCF consented to all is: ${e}`),G.getConsentedToAllSync()};return{initConsentManager:()=>(null==n?void 0:n.enabled)?new Promise((e,n)=>{if(a("Getting TCF consent manager..."),window._tcf_)return a("TCF consent manager is already available"),G=window._tcf_,void e(G);a("TCF consent manager is not available");const t=()=>{a("CMP loaded, resolving consent manager..."),i&&clearTimeout(i),window._tcf_?(G=window._tcf_,e(G)):n(new Error("CMP loaded but window._tcf_ is not defined"))},i=setTimeout(()=>{document.removeEventListener(J,t),Q=!0,n(new Error("Timeout waiting for CMP to load"))},s);a("Listening for CMP loaded event..."),document.addEventListener(J,t,{once:!0})}):Promise.resolve(null),getConsentSync:c,getConsentAsync:()=>e(void 0,void 0,void 0,function*(){if(null==n?void 0:n.schibstedAdChoicesOverrideValue)return a(`Schibsted Ad Choices override value is set, returning override value: ${n.schibstedAdChoicesOverrideValue}`),Boolean(Number(n.schibstedAdChoicesOverrideValue));const e=(null==n?void 0:n.advertisingCMPSignalEnabled)&&o===t.SE,i=(null==n?void 0:n.advertisingCMPSignalEnabled)&&o===t.NO;if(e||i)return a("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield z(n);if(!(null==n?void 0:n.enabled))return!0;const r=c();return null!==r?r:yield new Promise((e,n)=>{try{if(!G)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let n=!1;const t=t=>{n||(n=!0,e(t))},i=setTimeout(()=>{a("TCF isConsentedToAll timed out, resolving with false"),t(!1)},s);G.onTcfReady(()=>{a("On Tcf Ready called, waiting for consent"),clearTimeout(i)}),G.isConsentedToAll(n=>{clearTimeout(i),e(n)})}catch(e){n(e)}})})}},X=(n,t,i,...o)=>e(void 0,[n,t,i,...o],void 0,function*(e,n,t,i="NOT SPECIFIED FEATURE"){if(!(null==e?void 0:e.schibstedConsentToPayEnabled))return a(`Schibsted Consent to Pay is not enabled, returning true for ${i}`),!0;if(null==e?void 0:e.schibstedAdChoicesOverrideValue)return a(`Schibsted Ad Choices override value is set, returning override value: ${null==e?void 0:e.schibstedAdChoicesOverrideValue} for ${i}`),Boolean(Number(null==e?void 0:e.schibstedAdChoicesOverrideValue));const{getConsentAsync:o}=Y(e,0,t);return(yield o())?(a(`Schibsted Ad Choices consent given according to TCF consent manager for ${i}`),!0):(a(`Schibsted Ad Choices consent not given according to TCF consent manager for ${i}`),!1)}),Z={svd:"svd",vg:"vg",aftenposten:"no-aftenposten",sa:"no-stavangeraftenblad",bt:"no-bergenstidende",aftonbladet:"aftonbladet",e24:"e24",minmote:"minmote",pent:"pent",godt:"godt",tek:"no-tek"},ee=e=>K.some(n=>e.startsWith(n)),ne=e=>e.startsWith("glgc_"),te=e=>!ee(e)&&!ne(e),ie=(n,i)=>e(void 0,void 0,void 0,function*(){const{addPublisherToGeo:i}={},{glimr:o,pageContext:{countryCode:r}={}}=n,s=yield((...n)=>e(void 0,[...n],void 0,function*(e=V.get()){const{tcf:n,pageContext:{isMobileApp:t,countryCode:i}={}}=e;if(null==n?void 0:n.schibstedConsentToPayEnabled)return yield X(n,t,i,"glimr");const{getConsentAsync:o}=Y(n,0,i);return yield o()}))(n);if(!(null==o?void 0:o.enabled)||!s)return a("No consent for getting glimr tags."),{};const d=(e=>e===t.NO?"no-sno":"se-generic")(r),l=oe(n,Boolean(i));return{[`${d}-geo`]:l.geoTags,[`${d}-weather`]:l.weatherTags,[`${d}-geofence`]:l.geofenceTags}}),oe=(e,n)=>{const t=re();if(!t)return W;const i=((e=[])=>e.filter(ee))(t),o=((e=[])=>e.filter(ne))(t),r=((e=[],n,t)=>{var i;const o=e.filter(te);if(t&&n){const{publisher:e}=null!==(i=n.pageContext)&&void 0!==i?i:{},t=Z[e]||e;o.push(t)}return o})(t,e,n);return{geoTags:r,geofenceTags:o,weatherTags:i}},re=()=>{const e=q.getByTimestamp("glimrTags");return e&&"string"!=typeof e?null==e?void 0:e.tags:null},se={get:(n,t)=>e(void 0,void 0,void 0,function*(){const e=yield fetch(n,t);if(!e.ok)throw new Error(e.statusText);return yield e.json()}),post:(n,t,i)=>e(void 0,void 0,void 0,function*(){const e=JSON.stringify(i),o=yield fetch(n,{method:"POST",headers:t,body:e});if(!o.ok)throw new Error(o.statusText);return yield o.json()})},ae="advertory:ppids-cache",de={[t.SE]:`SCH${t.SE.toUpperCase()}-EnvHash`,[t.NO]:`SCH${t.NO.toUpperCase()}-EnvHash`},le={[t.SE]:`SCH${t.SE.toUpperCase()}-UserHash`,[t.NO]:`SCH${t.NO.toUpperCase()}-UserHash`},ce={[t.SE]:`sch${t.SE}-envhash-v3`,[t.NO]:`sch${t.NO}-envhash-v3`},ue={[t.SE]:`sch${t.SE}-userhash-v3`,[t.NO]:`sch${t.NO}-userhash-v3`},pe={[t.SE]:"sdrn:schibsted.com:user",[t.NO]:"sdrn:spid.no:user"};class ve{constructor(){this.eids=[]}add(e,n){return e&&this.eids.push({id:e,source:n}),this}buildRyEids(){return this.eids.map(({id:e,source:n})=>({source:n,uids:[{id:e,atype:1,ext:{stype:"ppuid"}}]}))}buildEids(){return[...this.eids]}buildVideoEids(){return this.eids.map(({id:e,source:n})=>`${n},${e}`).join("|")}buildNorstatPath(){const e=this.eids[0];return e?`${e.source}-${e.id}`:""}buildNorstatQuery(e){const n=new URLSearchParams;return this.eids.slice(1).forEach(({id:t,source:i})=>{n.append(e,`${i}-${t}`)}),n}}const ge=new class{constructor(){this.ppid1=null,this.ppid2=null}processPPIDs(n){return e(this,arguments,void 0,function*(e,n=1e4){var t,i;const o=yield Promise.race([new Promise(e=>{setTimeout(()=>e({xandr:{ppId1:"",ppId2:""}}),n)}),e.instance.getAdvertisingIdentifiers()]);this.setPPIDs(null===(t=o.xandr)||void 0===t?void 0:t.ppId1,null===(i=o.xandr)||void 0===i?void 0:i.ppId2)})}getPPIDs(){var e,n;return null!==this.ppid1&&null!==this.ppid2||a("PPIDv2s accessed before they have been initialized"),{ppid1:null!==(e=this.ppid1)&&void 0!==e?e:"",ppid2:null!==(n=this.ppid2)&&void 0!==n?n:""}}setPPIDs(e,n){this.ppid1=null!=e?e:"",this.ppid2=null!=n?n:""}},he=new class{constructor(){this.ppid1=null,this.ppid2=null,this.idfv=null,this.anId=null}processPPIDs(n,t){return e(this,void 0,void 0,function*(){var e,i,o,r,s,a,d,l,c,u,p;const v=q.get(ae),g=yield this.getNewPPIDs(n,t);if(this.shouldHash(v,g)){const t=null!==(e=n.hasherUrl)&&void 0!==e?e:"https://hasher.schibsted.com/api/v1/hash",l=this.createHasherPayload(g),c=yield this.hashPPIDs(l,t);return c?(this.cachePPIDs(l,c,null===(i=g.idfv)||void 0===i?void 0:i.plain,null===(o=g.anId)||void 0===o?void 0:o.plain),void this.setPPIDs(null!==(r=c.userId)&&void 0!==r?r:"",null!==(s=c.environmentId)&&void 0!==s?s:"",null===(a=g.idfv)||void 0===a?void 0:a.plain,null===(d=g.anId)||void 0===d?void 0:d.plain)):void this.setPPIDs("","")}this.setPPIDs(null!==(l=null==v?void 0:v.userId.hashed)&&void 0!==l?l:"",null!==(c=null==v?void 0:v.environmentId.hashed)&&void 0!==c?c:"",null===(u=null==g?void 0:g.idfv)||void 0===u?void 0:u.plain,null===(p=null==g?void 0:g.anId)||void 0===p?void 0:p.plain)})}getPPIDs(){var e,n;return null!==this.ppid1&&null!==this.ppid2||a("PPIDv3s accessed before they have been initialized"),{ppid1:null!==(e=this.ppid1)&&void 0!==e?e:"",ppid2:null!==(n=this.ppid2)&&void 0!==n?n:"",idfv:this.idfv,anId:this.anId}}setPPIDs(e,n,t,i){this.ppid1=null!=e?e:"",this.ppid2=null!=n?n:"",this.idfv=null!=t?t:null,this.anId=null!=i?i:null}shouldHash(e,n){var t,i;if(!e)return!0;for(const o in e){if((null===(t=e[o])||void 0===t?void 0:t.plain)!==(null===(i=n[o])||void 0===i?void 0:i.plain))return!0}return!1}cachePPIDs(e,n,t,i){const o=Object.assign(Object.assign({clientId:{plain:e.clientId},userId:{plain:e.userId,hashed:n.userId},environmentId:{plain:e.environmentId,hashed:n.environmentId},trackerType:{plain:e.trackerType},trackerVersion:{plain:e.trackerVersion}},t?{idfv:{plain:t}}:{}),i?{anId:{plain:i}}:{});q.set(ae,o)}hashPPIDs(n,t){return e(this,void 0,void 0,function*(){try{const e=new Headers({"Content-Type":"application/json"});return yield se.post(t,e,n)}catch(e){return a("Error with hashing PPIDs",e),null}})}getNewPPIDs(n,t){return e(this,arguments,void 0,function*({clientId:n,instance:t},i){const o=yield((n,t)=>e(void 0,void 0,void 0,function*(){const e=yield n.getUserId();return e?`${pe[t]}:${e}`:null}))(t,i),r=yield(n=>e(void 0,void 0,void 0,function*(){const e=yield n.getEnvironmentId();return e?`sdrn:schibsted:environment:${e}`:null}))(t),s=window.advertory_idfv,a=window.advertory_anId;return Object.assign(Object.assign({clientId:{plain:n},userId:{plain:o},environmentId:{plain:r},trackerType:{plain:"Advertory"},trackerVersion:{plain:"1.0.0"}},s?{idfv:{plain:s}}:{}),a?{anId:{plain:a}}:{})})}createHasherPayload({clientId:e,trackerType:n,trackerVersion:t,userId:i,environmentId:o}){return{clientId:e.plain,trackerType:n.plain,trackerVersion:t.plain,userId:i.plain,environmentId:o.plain}}},fe=n=>e(void 0,void 0,void 0,function*(){const{tcf:e,pageContext:{isMobileApp:t,countryCode:i}={}}=n,{getConsentAsync:o}=Y(e,0,i);if(!(yield o()))return;const r=(e=>{const n=encodeURIComponent(e).replace(/[-.+*]/g,"\\$&"),t=new RegExp(`(?:(?:^|.*;)\\s*${n}\\s*\\=\\s*([^;]*).*$)|^.*$`);return decodeURIComponent(document.cookie.replace(t,"$1"))||null})("_pulse2data");return r?r.split(",")[9]:void 0}),ye=()=>{const e=window.navigator.userAgent.toLowerCase(),n=[["win","windows"],["macintosh","macos"],["x11","linux"],["android","android"],["ipad","ios"],["iphone","ios"]].find(([n])=>e.includes(n));return n?n[1]:"unknown"},be=(e,n)=>{const t=Object.entries(e);return t.reduce((t,[i,o])=>{const r=Math.abs(e[t]-n);return Math.abs(o-n)<r?i:t},t[0][0])},me=()=>{var e,n;const t=jwplayer().getContainer(),i=null!==(n=null===(e=document.getElementById(t.id))||void 0===e?void 0:e.parentElement)&&void 0!==n?n:null;return i&&"number"==typeof i.offsetWidth&&"number"==typeof i.offsetHeight&&0!==i.offsetHeight?i.offsetWidth/i.offsetHeight:1},we=()=>{return(e=>{try{return decodeURIComponent(e)}catch(e){return""}})("undefined"!=typeof document&&null!==(n=null===(e=document.cookie.match("(^|;)\\s*_pulse2data\\s*=\\s*([^;]+)"))||void 0===e?void 0:e.pop())&&void 0!==n?n:"").split(",");var e,n},Oe=()=>{const e=null!==(n=we()[9])&&void 0!==n?n:null;var n;const t=(()=>{var e;return null!==(e=we()[2])&&void 0!==e?e:null})();return e?Number(Boolean(e))+Number(Boolean(t)):0},Ce=()=>Object.fromEntries(new URLSearchParams(window.location.search)),Pe=(t,i)=>e(void 0,void 0,void 0,function*(){const{tcf:o,pageContext:{publisher:r,countryCode:s}}=i,{width:a,height:d}={width:window.innerWidth,height:window.innerHeight},l={isMobileApp:t.isApp,countryCode:s,publisher:r,pageType:"front",deviceType:t.deviceType},c=(yield X(o,t.isApp,s,"video"))?"1":"0",u=yield n(),p=yield(f=s,e(void 0,void 0,void 0,function*(){const{ppid1:e,ppid2:n}=ge.getPPIDs(),{ppid1:t,ppid2:i}=he.getPPIDs(),o=(new ve).add(n,de[f]).add(e,le[f]).add(i,ce[f]).add(t,ue[f]);return yield new Promise(e=>{e(o.buildVideoEids())})}));var f;const y=yield fe({tcf:o,pageContext:l}),O=null!==(C=window.location.pathname.split("/").slice(-2,-1).pop())&&void 0!==C?C:"";var C;const P=((e=1)=>be(k,Number(e.toFixed(2))))(t.instreamAspectRatio),I=(T=t.playerAspectRatio)?be($,Number(T.toFixed(2))):j;var T,_;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${m}-country_code`]:s,[`${m}-publisher`]:r,[`${m}-supply_type`]:(_=t.deviceType,_===v?g:h),[`kw_${m}-page_type`]:"collection",[`${m}-page_type`]:"collection",[`${b}-appmode`]:t.isAndroidApp?"hybrid":"notinapp",[`kw_${b}-page`]:"index",[`${b}-page`]:"index",[`${b}-screenheight`]:String(window.screen.height),[`${b}-screenwidth`]:String(window.screen.width),[`${b}-viewportheight`]:String(d),[`${b}-viewportwidth`]:String(a),[`${b}-loggedin`]:t.isUserLoggedIn?"yes":"no",[`${b}-mobile-os`]:ye(),[`${b}-audience`]:void 0,[`${b}-externalid_src`]:Oe(),[`${b}-tags`]:t.tags,[`${b}-articleid`]:O,"article-id":O},yield ie(Object.assign(Object.assign({},i),{pageContext:l}))),y&&{external_uid:y}),t.isUserPresentOnFrontPage&&t.isInitialVideo&&{[`${b}-tvtags`]:"vinjett"}),t.pageAdsKeywords),Object.keys(Ce()).some(e=>e.includes(w))&&(()=>{const e=Ce(),n=Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(w)).map(([e,n])=>[e.slice(3),n]));return Object.keys(n).length>0?n:void 0})()),{[i.sectionKeyword]:t.sections.split(":"),"aa-sch-cmp_advertising":c,"kw_aa-sch-cmp_advertising":c,"aa-sch-instream_player_aspectratio":P,"aa-sch-player_aspectratio":I}),u),{eids:p})}),Ie=["se-generic-audience","se-generic-appversion","se-generic-sitemode","se-generic-pagegen","se-generic-viewportheight","se-generic-viewportwidth","se-generic-screenheight","se-generic-screenwidth","aa-sch-inventory_type"],Te=["aa-sch-publisher","se-generic-page","aa-sch-supply_type","se-generic-story","se-generic-section","se-generic-adformat","aa-sch-context_keyword","se-generic-tvtags","se-generic-test","aa-sch-cmp_advertising","aa-sch-instream_player_aspectratio","aa-sch-player_aspectratio"],_e=["external_uid","gdpr","gdpr_consent","eids","article-id"],Se=(e,n)=>{const t=[...Ie,...n.additionalFilterKeys];return Object.fromEntries(Object.entries(e).filter(([e])=>!t.includes(e)).map(([e,n])=>[e.includes("kw")||_e.includes(e)?e:`kw_${e}`,n]))},Ee=e=>Object.fromEntries(Object.entries(e).filter(([e])=>Te.includes(e))),Ae=(n,t)=>e(void 0,void 0,void 0,function*(){var e,o,r,s;const a=(e=>{var n;l[e]||d(`[video] No config found for publisher "${e}"`);return null!==(n=l[e])&&void 0!==n?n:i})(n.publisher),p=(e=>{var n;return null!==(n=c[e])&&void 0!==n?n:c.aftonbladet})(n.publisher)(n.assetSection,n.isLiveStudio),v="/"===window.location.pathname,g=null===(o=null===(e=t.attributes)||void 0===e?void 0:e.id)||void 0===o?void 0:o.toString(),h=n.assetId===g,f=null!==(r=Number(n.aspectRatio))&&void 0!==r?r:1,y=h?"preroll":"bumper";var b;return{siteConfig:a,siteVideoParams:p,isUserPresentOnFrontPage:v,adsKeywords:yield Pe({pageAdsKeywords:n.pageAdsKeywords,tags:(b=n.tags,b?b.filter(e=>e.slug).map(({slug:e})=>e).join(","):""),sections:null!==(s=null==p?void 0:p.sections)&&void 0!==s?s:"",isUserLoggedIn:n.isUserLoggedIn,isUserPresentOnFrontPage:v,isInitialVideo:h,instreamAspectRatio:f,playerAspectRatio:me(),isApp:n.isApp,deviceType:n.deviceType,isAndroidApp:n.isAndroidApp},a),prerollPlacementFormat:y,playbackMethod:u(n.startMode)}}),je=(e,n)=>{const{siteConfig:t,siteVideoParams:i,isUserPresentOnFrontPage:o,adsKeywords:r,prerollPlacementFormat:s,playbackMethod:a}=e,{invCode:d}=i||{},l=N(i,t,n.deviceType,n.isUsedInOverlayVideoPlayer),c=((e="")=>n=>e.includes(I)?`${I}${n}`:n)(d),u=window.location.href;return{member:t.memberId,options:{autoplayMuted:!0,vpaidcontrols:!0},adSlots:{schedule:{preroll:{inv_code:l(s,o),"se-generic-playback-method":p.get(a),"kw_se-generic-adformat":c(s)},midroll:{inv_code:l("midroll"),"kw_se-generic-adformat":c("midroll")},postroll:{inv_code:l("postroll"),"kw_se-generic-adformat":c("postroll")}},params:Object.assign(Object.assign(Object.assign({},Se(r,t)),Ee(r)),{vskippable:"0",referrer:u,vplaybackmethod:a})},adPlacements:{schedule:{pause:{invCode:l("pause"),sizes:[[825,424],[1280,720],[2,1]]}},params:{keywords:Object.assign(Object.assign({},r),{"se-generic-adformat":c("pause")})}}}},$e=n=>t=>e(void 0,void 0,void 0,function*(){const e=yield Ae(n,t);return je(e,n)});export{n as getTcfConsentKeywords,$e as getVideoAdsConfig};