@schibsted/advertory 3.4.6 → 3.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/ad-native/cjs/index.d.ts +10 -1
  2. package/ad-native/cjs/index.js +1 -1
  3. package/ad-native/es/index.d.ts +10 -1
  4. package/ad-native/es/index.js +1 -1
  5. package/aftenposten/cjs/index.d.ts +10 -1
  6. package/aftenposten/cjs/index.js +1 -1
  7. package/aftenposten/es/_auto-entry_aftenposten-Dtx3akkB.js +1 -0
  8. package/aftenposten/es/{events-tL-sJk7-.js → events-CKzkSc2a.js} +1 -1
  9. package/aftenposten/es/{index-DT09KZX8.js → index-BWmC_C3E.js} +1 -1
  10. package/aftenposten/es/{index-Ca8mfNrs.js → index-BoNg5Gvt.js} +1 -1
  11. package/aftenposten/es/{index-Dnfi36eA.js → index-C0IY3kk-.js} +1 -1
  12. package/aftenposten/es/{index-CovdUdik.js → index-CCY81n-i.js} +1 -1
  13. package/aftenposten/es/{index-DP3_bKIk.js → index-CnaAfxLu.js} +1 -1
  14. package/aftenposten/es/{index-CRYpX4mK.js → index-D2LvqeYD.js} +1 -1
  15. package/aftenposten/es/{index-CSooGplv.js → index-DFrBmhe9.js} +1 -1
  16. package/aftenposten/es/{index-BpgBs0Ys.js → index-TWYjQuZ3.js} +1 -1
  17. package/aftenposten/es/index.d.ts +10 -1
  18. package/aftenposten/es/index.js +1 -1
  19. package/aftenposten/es/{styles-Co5hqH8J.js → styles-B-6kb4_J.js} +1 -1
  20. package/aftenposten/es/{styles-DGzl5DVF.js → styles-BmLBjyyH.js} +1 -1
  21. package/aftenposten/es/{styles-DGdyCHyC.js → styles-BrpRTStp.js} +1 -1
  22. package/aftenposten/es/{styles--cacu7LN.js → styles-BuIKDlqd.js} +1 -1
  23. package/aftenposten/es/{styles-CvcIMvHb.js → styles-CCURv3j6.js} +1 -1
  24. package/aftenposten/es/{styles-Cq9VDPHp.js → styles-CIEE6ZKc.js} +1 -1
  25. package/aftenposten/es/{styles-BvpzHJDI.js → styles-CuKY-R_a.js} +1 -1
  26. package/aftenposten/es/{styles-CZOMqaw0.js → styles-DZi_D9DC.js} +1 -1
  27. package/aftenposten/es/{styles-B5ZPb1mG.js → styles-DrVED3PH.js} +1 -1
  28. package/aftenposten/es/{styles-DOIauTrK.js → styles-OiFgBAqL.js} +1 -1
  29. package/aftenpostenv2/es/_auto-entry_aftenpostenv2-BeizxE5W.js +1 -0
  30. package/aftenpostenv2/es/{events-3y81Vg-o.js → events-t06HrnFw.js} +1 -1
  31. package/aftenpostenv2/es/{index-Bw-5WKzG.js → index-5zijchFx.js} +1 -1
  32. package/aftenpostenv2/es/{index-rPmxVFzI.js → index-BtKLbnsb.js} +1 -1
  33. package/aftenpostenv2/es/{index-Bkm0wHSf.js → index-CRwqRbQL.js} +1 -1
  34. package/aftenpostenv2/es/{index-CKeA09LD.js → index-CedUdpu_.js} +1 -1
  35. package/aftenpostenv2/es/{index-DRWHvnfp.js → index-D8xX1szi.js} +1 -1
  36. package/aftenpostenv2/es/{index-ZYgVdHLj.js → index-DE_46-hJ.js} +1 -1
  37. package/aftenpostenv2/es/{index-CDl3nPgn.js → index-IK0uYorQ.js} +1 -1
  38. package/aftenpostenv2/es/{index-BRR2EfsK.js → index-IKvJajoh.js} +1 -1
  39. package/aftenpostenv2/es/index.d.ts +10 -1
  40. package/aftenpostenv2/es/index.js +1 -1
  41. package/aftenpostenv2/es/{styles-FZysmLi6.js → styles-BW4HKKsE.js} +1 -1
  42. package/aftenpostenv2/es/{styles-Bb9F_jXG.js → styles-C1Rewh_y.js} +1 -1
  43. package/aftenpostenv2/es/{styles-DnTEcc7M.js → styles-C3ipW8oa.js} +1 -1
  44. package/aftenpostenv2/es/{styles-BZV7T-TI.js → styles-C6u6N-3C.js} +1 -1
  45. package/aftenpostenv2/es/{styles-B8KhirPl.js → styles-C8XhRoO1.js} +1 -1
  46. package/aftenpostenv2/es/{styles-KIag2WQq.js → styles-C9VUuHOl.js} +1 -1
  47. package/aftenpostenv2/es/{styles-CLab0yP5.js → styles-CS20Me--.js} +1 -1
  48. package/aftenpostenv2/es/{styles-Cc71T46p.js → styles-Dms-3NDR.js} +1 -1
  49. package/aftenpostenv2/es/{styles-Zdbj5Sff.js → styles-DqfDRNtt.js} +1 -1
  50. package/aftenpostenv2/es/{styles-Bi4XEslM.js → styles-wl0dt_X3.js} +1 -1
  51. package/aftonbladet/cjs/index.d.ts +10 -1
  52. package/aftonbladet/cjs/index.js +1 -1
  53. package/aftonbladet/es/_auto-entry_aftonbladet-CoGn0tYt.js +1 -0
  54. package/aftonbladet/es/{events-D3IX6xnf.js → events-QFSoMsTM.js} +1 -1
  55. package/aftonbladet/es/{index-JBPu0X9T.js → index-BFXONH1M.js} +1 -1
  56. package/aftonbladet/es/{index-CnXw-Loj.js → index-BG_ZDxFH.js} +1 -1
  57. package/aftonbladet/es/{index-DbUA3oM-.js → index-BfSuV1YS.js} +1 -1
  58. package/aftonbladet/es/{index-7hSU5dxk.js → index-Br76q2oi.js} +1 -1
  59. package/aftonbladet/es/{index-BoG1XEnz.js → index-BxLOng75.js} +1 -1
  60. package/aftonbladet/es/{index-CV9863b8.js → index-CxMM2mXP.js} +1 -1
  61. package/aftonbladet/es/{index-D7xo141q.js → index-zTq-vYGm.js} +1 -1
  62. package/aftonbladet/es/{index-BR4nWegz.js → index-zvnug9bb.js} +1 -1
  63. package/aftonbladet/es/index.d.ts +10 -1
  64. package/aftonbladet/es/index.js +1 -1
  65. package/aftonbladet/es/{styles-pssONwvM.js → styles-BB40yykC.js} +1 -1
  66. package/aftonbladet/es/{styles-cJ5Fk0U4.js → styles-BBFjI_c8.js} +1 -1
  67. package/aftonbladet/es/{styles-DTJaimj4.js → styles-BXj9gq4T.js} +1 -1
  68. package/aftonbladet/es/{styles-pqGTN5pl.js → styles-CX1VJsQK.js} +1 -1
  69. package/aftonbladet/es/{styles-m2S1lHR9.js → styles-CcB71C-B.js} +1 -1
  70. package/aftonbladet/es/{styles-CoGRPDgF.js → styles-EdO2HpTJ.js} +1 -1
  71. package/aftonbladetv2/es/_auto-entry_aftonbladetv2-BVPdl2gj.js +1 -0
  72. package/aftonbladetv2/es/{events-CPVm_hsM.js → events-CY-Aetp0.js} +1 -1
  73. package/aftonbladetv2/es/{index-FC2CWIH_.js → index-AmcrEg67.js} +1 -1
  74. package/aftonbladetv2/es/{index-kKXl79Xo.js → index-Aqd7Jby_.js} +1 -1
  75. package/aftonbladetv2/es/{index-BH4jmcGN.js → index-BDoaGLuu.js} +1 -1
  76. package/aftonbladetv2/es/{index-Cl_8RaA5.js → index-BtmzMSE5.js} +1 -1
  77. package/aftonbladetv2/es/{index-DAk1mCp-.js → index-BwlR4AHH.js} +1 -1
  78. package/aftonbladetv2/es/{index-C0EVFCB9.js → index-GOg46-lZ.js} +1 -1
  79. package/aftonbladetv2/es/{index-C0IzCoTS.js → index-VkvkkN49.js} +1 -1
  80. package/aftonbladetv2/es/{index-BIjsYC0N.js → index-s3B1m04T.js} +1 -1
  81. package/aftonbladetv2/es/index.d.ts +10 -1
  82. package/aftonbladetv2/es/index.js +1 -1
  83. package/aftonbladetv2/es/{styles-B789pjXK.js → styles-BJyn6Afr.js} +1 -1
  84. package/aftonbladetv2/es/{styles-DU66ncs8.js → styles-BkGrUCDn.js} +1 -1
  85. package/aftonbladetv2/es/{styles-DK7II2FW.js → styles-D463yvjP.js} +1 -1
  86. package/aftonbladetv2/es/{styles-Chg8peXw.js → styles-DQP1AmlB.js} +1 -1
  87. package/aftonbladetv2/es/{styles-DiIr-g7x.js → styles-GKjjHlS9.js} +1 -1
  88. package/aftonbladetv2/es/{styles-DgW9Xpgd.js → styles-S5BaWhLM.js} +1 -1
  89. package/bt/cjs/index.d.ts +10 -1
  90. package/bt/cjs/index.js +1 -1
  91. package/bt/es/_auto-entry_bt-CI4Xf3Hv.js +1 -0
  92. package/bt/es/{events-DmrXqNmw.js → events-CIG979z6.js} +1 -1
  93. package/bt/es/{index-D-m-gVjA.js → index-BOD3XxMb.js} +1 -1
  94. package/bt/es/{index-BpGuZDxD.js → index-BadwFeER.js} +1 -1
  95. package/bt/es/{index-DEr4PIl9.js → index-CJ-bx2CN.js} +1 -1
  96. package/{sa/es/index-BsRGbucY.js → bt/es/index-CWIRv9Vs.js} +1 -1
  97. package/bt/es/{index-CcXYy-CT.js → index-DFbfVYSs.js} +1 -1
  98. package/bt/es/{index-DOMFyPED.js → index-_FyOR0qd.js} +1 -1
  99. package/{sa/es/index-BS7bcQ2U.js → bt/es/index-nxbccYP_.js} +1 -1
  100. package/bt/es/{index-Ce6VX1Xl.js → index-trqxN653.js} +1 -1
  101. package/bt/es/index.d.ts +10 -1
  102. package/bt/es/index.js +1 -1
  103. package/bt/es/{styles-BHRGXWUO.js → styles-BTr45YHy.js} +1 -1
  104. package/{sa/es/styles-lUXeSGCF.js → bt/es/styles-BUoyrtkm.js} +1 -1
  105. package/{sa/es/styles-2vYpYQEC.js → bt/es/styles-BXGx0ULk.js} +1 -1
  106. package/bt/es/{styles-MNf2iPho.js → styles-BpNfGoIz.js} +1 -1
  107. package/bt/es/{styles-D1paZ_9F.js → styles-ByDmqFri.js} +1 -1
  108. package/bt/es/{styles-UNPsXcbC.js → styles-CK-giYDn.js} +1 -1
  109. package/bt/es/{styles-fmpKmFnJ.js → styles-D83DH_VK.js} +1 -1
  110. package/bt/es/{styles-2wI1NgWw.js → styles-DSIImVTl.js} +1 -1
  111. package/bt/es/{styles-By6vZxc-.js → styles-ZyEq2kaX.js} +1 -1
  112. package/btv2/es/_auto-entry_btv2-JMxgRyWo.js +1 -0
  113. package/btv2/es/{events-OjpPz9p8.js → events-DouxsmSR.js} +1 -1
  114. package/btv2/es/{index-DRcOR9p_.js → index-BF3liPgm.js} +1 -1
  115. package/btv2/es/{index-BD-SBmTW.js → index-BGQGV1Um.js} +1 -1
  116. package/btv2/es/{index-BjJ5_Abq.js → index-BQCZG1D4.js} +1 -1
  117. package/btv2/es/{index-ivacrSXe.js → index-BvJhGUqS.js} +1 -1
  118. package/btv2/es/{index-B5RESByU.js → index-CM04peGg.js} +1 -1
  119. package/btv2/es/{index-BI2Rjaii.js → index-Ca8vaASs.js} +1 -1
  120. package/btv2/es/{index-DS3_UjAP.js → index-svvWuqcZ.js} +1 -1
  121. package/btv2/es/{index-DeS8DXRr.js → index-u5ihCp5V.js} +1 -1
  122. package/btv2/es/index.d.ts +10 -1
  123. package/btv2/es/index.js +1 -1
  124. package/btv2/es/{styles-PHnDOLKU.js → styles-BYaMohCE.js} +1 -1
  125. package/{sav2/es/styles-DJx1nTbY.js → btv2/es/styles-BhOE1lvd.js} +1 -1
  126. package/{sav2/es/styles-CSd-SNwc.js → btv2/es/styles-BuR8cLia.js} +1 -1
  127. package/{sav2/es/styles-DUv8P5nZ.js → btv2/es/styles-C3y3c-uP.js} +1 -1
  128. package/{vgv2/es/styles-BD_b0e3E.js → btv2/es/styles-CY_TcvD9.js} +1 -1
  129. package/{vgv2/es/styles-DzPO2aJ_.js → btv2/es/styles-DVMJ0hN7.js} +1 -1
  130. package/btv2/es/{styles-D5ogMPPE.js → styles-JSCKGgxJ.js} +1 -1
  131. package/{sav2/es/styles-DqzEFmla.js → btv2/es/styles-xjASEeCg.js} +1 -1
  132. package/dr-edition/cjs/index.d.ts +5 -1
  133. package/dr-edition/es/index.d.ts +5 -1
  134. package/e24/es/_auto-entry_e24-DXdIISRJ.js +1 -0
  135. package/e24/es/{events-B9vDFytO.js → events-Y2s_KiCI.js} +1 -1
  136. package/e24/es/{index-DwX6ybuW.js → index-BytC4ubU.js} +1 -1
  137. package/e24/es/{index-Da43F9p2.js → index-CE2zmr-B.js} +1 -1
  138. package/e24/es/{index-DydhMWM7.js → index-COBJFwcz.js} +1 -1
  139. package/e24/es/{index-yskg1JCT.js → index-CWrzhwF8.js} +1 -1
  140. package/e24/es/{index-YoslMfGB.js → index-CreyS3Rh.js} +1 -1
  141. package/e24/es/{index-BipBGNeV.js → index-DHTLasu5.js} +1 -1
  142. package/{tv4/es/index-D9LJcf3j.js → e24/es/index-GPRsxB4h.js} +1 -1
  143. package/e24/es/{index-CxfMEZUf.js → index-RUhmFwp2.js} +1 -1
  144. package/e24/es/index.d.ts +10 -1
  145. package/e24/es/index.js +1 -1
  146. package/e24/es/{styles-D0pBj9XJ.js → styles-3GNw0exh.js} +1 -1
  147. package/e24/es/{styles-ClExpnfo.js → styles-BDk8Fw0n.js} +1 -1
  148. package/e24/es/styles-BNVJUEDA.js +1 -0
  149. package/e24/es/{styles-BLoU2htj.js → styles-BiMEl7QZ.js} +1 -1
  150. package/{tv4/es/styles-DbEZpI-v.js → e24/es/styles-CF9jinWW.js} +1 -1
  151. package/e24/es/{styles-BsRU4UfN.js → styles-CKLiBx9S.js} +1 -1
  152. package/e24/es/{styles-W231uSK0.js → styles-Cjvcwa7d.js} +1 -1
  153. package/e24/es/{styles-2F-44_PS.js → styles-CsEpp1Gs.js} +1 -1
  154. package/e24/es/{styles-KJVNuKJ4.js → styles-D5dgxXTR.js} +1 -1
  155. package/e24/es/{styles-CiPw_QAC.js → styles-DrmQCu8h.js} +1 -1
  156. package/e24/es/{styles-BsRJLaKL.js → styles-sOwgQUV2.js} +1 -1
  157. package/fotbollskanalen/cjs/index.d.ts +10 -1
  158. package/fotbollskanalen/cjs/index.js +1 -1
  159. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DNK895Y-.js +1 -0
  160. package/fotbollskanalen/es/{events-DCciHg0n.js → events-5TjdUW5z.js} +1 -1
  161. package/fotbollskanalen/es/{index-Ci-79B-7.js → index-3dkeu4JB.js} +1 -1
  162. package/fotbollskanalen/es/{index-DibtOg1_.js → index-B6FKEjYM.js} +1 -1
  163. package/fotbollskanalen/es/{index-CswxiFDS.js → index-BJEKFiE2.js} +1 -1
  164. package/fotbollskanalen/es/{index-B3ECkNRG.js → index-Bstb52k0.js} +1 -1
  165. package/fotbollskanalen/es/{index-BfZP0LZz.js → index-BvoklOaa.js} +1 -1
  166. package/fotbollskanalen/es/{index-Ds1QmLXO.js → index-CD8zfno5.js} +1 -1
  167. package/fotbollskanalen/es/{index-DyFXfSny.js → index-CqDe1RiO.js} +1 -1
  168. package/fotbollskanalen/es/{index-BxifBqB1.js → index-D8B14cpT.js} +1 -1
  169. package/fotbollskanalen/es/index.d.ts +10 -1
  170. package/fotbollskanalen/es/index.js +1 -1
  171. package/fotbollskanalen/es/{styles-Dunx9NDW.js → styles-DP1qcSrk.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 +10 -1
  175. package/godt/cjs/index.js +1 -1
  176. package/kilkaya/cjs/index.d.ts +5 -1
  177. package/kilkaya/es/index.d.ts +5 -1
  178. package/klart/cjs/index.d.ts +10 -1
  179. package/klart/cjs/index.js +1 -1
  180. package/koket/cjs/index.d.ts +10 -1
  181. package/koket/cjs/index.js +1 -1
  182. package/koket/es/_auto-entry_koket-o08hECne.js +1 -0
  183. package/koket/es/{events-DrH8dKSw.js → events-CVZtCHfm.js} +1 -1
  184. package/koket/es/{index-DXm8PRl_.js → index-B8nGjSHQ.js} +1 -1
  185. package/koket/es/{index-C9KMVqLO.js → index-BxkA14hd.js} +1 -1
  186. package/{svdv2/es/index-8j674Lha.js → koket/es/index-C8GM3oqr.js} +1 -1
  187. package/koket/es/{index-BAokCEOo.js → index-DUWs_hWc.js} +1 -1
  188. package/koket/es/{index-rShNDIFz.js → index-DZMt6oMH.js} +1 -1
  189. package/koket/es/{index-BV7jKV8c.js → index-Do_g4MdE.js} +1 -1
  190. package/koket/es/{index-B4s4EFcl.js → index-OJF_yFa5.js} +1 -1
  191. package/koket/es/{index-B9baXj_U.js → index-gPut2Zwo.js} +1 -1
  192. package/koket/es/index.d.ts +10 -1
  193. package/koket/es/index.js +1 -1
  194. package/{svdv2/es/styles-sgz5WsV0.js → koket/es/styles-I68hTx6A.js} +1 -1
  195. package/minmote/cjs/index.d.ts +10 -1
  196. package/minmote/cjs/index.js +1 -1
  197. package/package.json +1 -7
  198. package/pent/cjs/index.d.ts +10 -1
  199. package/pent/cjs/index.js +1 -1
  200. package/sa/cjs/index.d.ts +10 -1
  201. package/sa/cjs/index.js +1 -1
  202. package/sa/es/_auto-entry_sa-BQFBdURF.js +1 -0
  203. package/sa/es/{events-DDPaRoRC.js → events-B_Bb3v-E.js} +1 -1
  204. package/sa/es/{index-B8oBp01O.js → index-CCdRX96O.js} +1 -1
  205. package/{bt/es/index-CFEaeaML.js → sa/es/index-CG9J0TlD.js} +1 -1
  206. package/sa/es/{index-BOcsGiPz.js → index-CSpyrPWb.js} +1 -1
  207. package/{bt/es/index-jWOjYZPh.js → sa/es/index-D6cFIjTy.js} +1 -1
  208. package/sa/es/{index-D1scMpmL.js → index-DuDj_DSu.js} +1 -1
  209. package/sa/es/{index-CYzs7Phl.js → index-NWELveCN.js} +1 -1
  210. package/sa/es/{index-BzSO527B.js → index-WerX8iY0.js} +1 -1
  211. package/sa/es/{index-BPcJTTow.js → index-Yas5uBAl.js} +1 -1
  212. package/sa/es/index.d.ts +10 -1
  213. package/sa/es/index.js +1 -1
  214. package/sa/es/{styles-Cpwz7Acc.js → styles-AyvG0SRB.js} +1 -1
  215. package/{vg/es/styles-DptWTbUt.js → sa/es/styles-BC-Jnhmp.js} +1 -1
  216. package/sa/es/{styles-DxDhXCNA.js → styles-BP0w5sYo.js} +1 -1
  217. package/{vg/es/styles-BWH0dkhS.js → sa/es/styles-BSWVGZG3.js} +1 -1
  218. package/{bt/es/styles-C6qGTKx4.js → sa/es/styles-BfriG_sU.js} +1 -1
  219. package/sa/es/{styles--ExvgYef.js → styles-CD9IpTUq.js} +1 -1
  220. package/sa/es/{styles-DF55ipeW.js → styles-Cn6wTpT_.js} +1 -1
  221. package/sa/es/{styles-gDqBdbcm.js → styles-DOkTXlpM.js} +1 -1
  222. package/sa/es/{styles-DL2QYwqH.js → styles-DU-Xme6O.js} +1 -1
  223. package/sav2/es/_auto-entry_sav2-CChm_1HW.js +1 -0
  224. package/sav2/es/{events-D3LP_KdT.js → events-LL5CdFZ9.js} +1 -1
  225. package/sav2/es/{index-DB0jsWvh.js → index-B_bhSFqF.js} +1 -1
  226. package/sav2/es/{index-C2JOR87e.js → index-CHlwCvTM.js} +1 -1
  227. package/sav2/es/{index-BVb60fD-.js → index-CVi70Do0.js} +1 -1
  228. package/sav2/es/{index-DwvCyaEn.js → index-CdLLRNZv.js} +1 -1
  229. package/sav2/es/{index-BZhzC4io.js → index-OxDSK0FK.js} +1 -1
  230. package/sav2/es/{index-CkPPmwua.js → index-PrcOnllB.js} +1 -1
  231. package/sav2/es/{index-BBaJ0BxG.js → index-SIFsh608.js} +1 -1
  232. package/sav2/es/{index-DyYYw4IS.js → index-Up7yikjL.js} +1 -1
  233. package/sav2/es/index.d.ts +10 -1
  234. package/sav2/es/index.js +1 -1
  235. package/{vgv2/es/styles-BcOduBC0.js → sav2/es/styles-BCYx123q.js} +1 -1
  236. package/{btv2/es/styles-g_77-H53.js → sav2/es/styles-BDWTfDBu.js} +1 -1
  237. package/sav2/es/{styles-Cv2Gh_ui.js → styles-BHtM-xgR.js} +1 -1
  238. package/sav2/es/{styles-Gwsm3g-2.js → styles-BgG5l0zZ.js} +1 -1
  239. package/sav2/es/{styles-DVYVpq54.js → styles-Bp1758Wi.js} +1 -1
  240. package/{btv2/es/styles-ix5DZQrj.js → sav2/es/styles-ByzjBWTA.js} +1 -1
  241. package/{btv2/es/styles-CfIJOM7L.js → sav2/es/styles-CtWcaxvR.js} +1 -1
  242. package/sav2/es/{styles-CVHUYfzQ.js → styles-m41W1VE_.js} +1 -1
  243. package/svd/cjs/index.d.ts +10 -1
  244. package/svd/cjs/index.js +1 -1
  245. package/svd/es/_auto-entry_svd-BnxgATE_.js +1 -0
  246. package/svd/es/{events-DLJcPkSd.js → events-DuCMS5Te.js} +1 -1
  247. package/svd/es/{index-CiXt_Odx.js → index-B4tew7-c.js} +1 -1
  248. package/{e24/es/index-CmG8rIOn.js → svd/es/index-BGx_yOW0.js} +1 -1
  249. package/svd/es/{index-Csx6eIWd.js → index-BgDh9jHE.js} +1 -1
  250. package/svd/es/{index-CyV4UIcp.js → index-Bqerjeyq.js} +1 -1
  251. package/svd/es/{index-COvgCcf0.js → index-C9NGqoyy.js} +1 -1
  252. package/svd/es/{index-1cwlQlHL.js → index-CbOCLcCz.js} +1 -1
  253. package/svd/es/{index-cc4eQ-vT.js → index-Cng1fZlN.js} +1 -1
  254. package/svd/es/{index-8rjmc_fB.js → index-D4u8OC2o.js} +1 -1
  255. package/svd/es/index.d.ts +10 -1
  256. package/svd/es/index.js +1 -1
  257. package/svd/es/{styles-BvGu9DWC.js → styles-8GfyVbfD.js} +1 -1
  258. package/svd/es/{styles-CiMzxdwt.js → styles-9DEgD9gG.js} +1 -1
  259. package/svd/es/{styles-OwmzJ7t2.js → styles-CETG8Vct.js} +1 -1
  260. package/svd/es/{styles-B6GBjfJD.js → styles-DBiG6j54.js} +1 -1
  261. package/svd/es/{styles-DhmLZCBK.js → styles-Pq3166mf.js} +1 -1
  262. package/svd/es/{styles-C6951BUj.js → styles-aFxRDlPc.js} +1 -1
  263. package/svdv2/es/_auto-entry_svdv2-8W7OonB5.js +1 -0
  264. package/svdv2/es/{events-CcwC1yNV.js → events-DvCKDz4Z.js} +1 -1
  265. package/svdv2/es/{index-DqBYV0-T.js → index-BIYDlZzW.js} +1 -1
  266. package/svdv2/es/{index-DSlxZ2LK.js → index-CRR4GJnk.js} +1 -1
  267. package/svdv2/es/{index-COA6r6hL.js → index-CaagC6eX.js} +1 -1
  268. package/svdv2/es/{index-pp9Vq7Lz.js → index-DHJOjuJH.js} +1 -1
  269. package/svdv2/es/{index-Dxqnk-NR.js → index-DMG4DIkS.js} +1 -1
  270. package/svdv2/es/{index-dXdV2yTW.js → index-KQSRbpMc.js} +1 -1
  271. package/svdv2/es/{index-CTv02DYm.js → index-XwS2M8v3.js} +1 -1
  272. package/{koket/es/index-CXZT2jRd.js → svdv2/es/index-yIluuo3S.js} +1 -1
  273. package/svdv2/es/index.d.ts +10 -1
  274. package/svdv2/es/index.js +1 -1
  275. package/{koket/es/styles-CjKXN1b1.js → svdv2/es/styles-B7d-_Bez.js} +1 -1
  276. package/svdv2/es/{styles-D4KNTE0_.js → styles-CmhVi6-R.js} +1 -1
  277. package/svdv2/es/{styles-BVQQvwTk.js → styles-DMil0Pbm.js} +1 -1
  278. package/svdv2/es/{styles-CeAbIAE6.js → styles-DaP3JUJd.js} +1 -1
  279. package/svdv2/es/{styles-BmFlfxtq.js → styles-M48Otsj4.js} +1 -1
  280. package/svdv2/es/{styles-CtlVHF1e.js → styles-e8AywgJD.js} +1 -1
  281. package/svdv2/styles.css +1 -1
  282. package/tek/cjs/index.d.ts +10 -1
  283. package/tek/cjs/index.js +1 -1
  284. package/tracker/cjs/index.d.ts +5 -1
  285. package/tracker/es/index.d.ts +5 -1
  286. package/tv4/cjs/index.d.ts +10 -1
  287. package/tv4/cjs/index.js +1 -1
  288. package/tv4/es/_auto-entry_tv4-DgcIvJ73.js +1 -0
  289. package/tv4/es/{events-BXsQsvC-.js → events-BgNEVdDH.js} +1 -1
  290. package/tv4/es/{index-Dc1cXTJ2.js → index-BikFTKSX.js} +1 -1
  291. package/tv4/es/{index-CqQEH9WJ.js → index-Boxpve4K.js} +1 -1
  292. package/tv4/es/{index-BFcNIa0B.js → index-Bq23YeLq.js} +1 -1
  293. package/tv4/es/{index-PNiGte6_.js → index-BuC14wc_.js} +1 -1
  294. package/{svd/es/index-RduMPUku.js → tv4/es/index-CkPSIGYF.js} +1 -1
  295. package/tv4/es/{index-JFUu91a-.js → index-DsVTEdve.js} +1 -1
  296. package/tv4/es/{index-FvV9-ViB.js → index-NVIgAYNo.js} +1 -1
  297. package/tv4/es/{index-DBSc9xwl.js → index-yKE5d0vT.js} +1 -1
  298. package/tv4/es/index.d.ts +10 -1
  299. package/tv4/es/index.js +1 -1
  300. package/{e24/es/styles--4iiQpxh.js → tv4/es/styles-D8wJRiH8.js} +1 -1
  301. package/tvnu/cjs/index.d.ts +10 -1
  302. package/tvnu/cjs/index.js +1 -1
  303. package/types/index.d.ts +10 -1
  304. package/vg/cjs/index.d.ts +10 -1
  305. package/vg/cjs/index.js +1 -1
  306. package/vg/es/_auto-entry_vg-BbAYNwzx.js +1 -0
  307. package/vg/es/{events-CkjCDTI7.js → events-B_aO2B-X.js} +1 -1
  308. package/vg/es/{index-DeUnl-2q.js → index-B7pXwHG3.js} +1 -1
  309. package/vg/es/{index-BYWC0jq5.js → index-CBlzmSN3.js} +1 -1
  310. package/vg/es/{index-DhJ82Vbf.js → index-D0YShWF9.js} +1 -1
  311. package/vg/es/{index-iRrWXn0J.js → index-DJAsGTTM.js} +1 -1
  312. package/vg/es/{index-epCFXtI4.js → index-DXM5v3MK.js} +1 -1
  313. package/vg/es/{index-F3KEayDi.js → index-Dhb7LuSC.js} +1 -1
  314. package/vg/es/{index-BVCH12uU.js → index-_6sotUx3.js} +1 -1
  315. package/vg/es/{index-Biu_3W80.js → index-gHD2Iomm.js} +1 -1
  316. package/vg/es/index.d.ts +10 -1
  317. package/vg/es/index.js +1 -1
  318. package/vg/es/{styles-Coegvij6.js → styles-7hYVH3h_.js} +1 -1
  319. package/vg/es/{styles-MlYSWzvf.js → styles-8JjbespZ.js} +1 -1
  320. package/vg/es/{styles-CP8zMUuy.js → styles-B6dE2HfV.js} +1 -1
  321. package/vg/es/{styles-DGj4x6nD.js → styles-Bf3GeL_V.js} +1 -1
  322. package/vg/es/{styles-D0ApVcoc.js → styles-BfTcsQ7I.js} +1 -1
  323. package/vg/es/{styles-DEJkyoHp.js → styles-BpvKIpG-.js} +1 -1
  324. package/{sa/es/styles-J5KD7R2M.js → vg/es/styles-C7tXs7M0.js} +1 -1
  325. package/vg/es/{styles-dNKo_Q7E.js → styles-CBL8SS0D.js} +1 -1
  326. package/{bt/es/styles-BwRor3DV.js → vg/es/styles-CLku3Qu_.js} +1 -1
  327. package/vg/es/{styles-BkrZZF1M.js → styles-CweEZJE8.js} +1 -1
  328. package/vg/es/{styles-BGPTRYXi.js → styles-DKMEYJyJ.js} +1 -1
  329. package/vg/es/{styles-C54JRVTc.js → styles-DfBTymxN.js} +1 -1
  330. package/vg/es/{styles-CMmWaQ0L.js → styles-EKjBMitq.js} +1 -1
  331. package/vg/es/{styles-CdA6eNjK.js → styles-OWDo0XRr.js} +1 -1
  332. package/vg/es/{styles-a_IS7VrG.js → styles-oU-qo_x-.js} +1 -1
  333. package/vgv2/es/_auto-entry_vgv2-DNG1s19W.js +1 -0
  334. package/vgv2/es/{events-wTh0LiSJ.js → events-v_Cajx12.js} +1 -1
  335. package/vgv2/es/{index-ClB34AKH.js → index-Bb8O_PcB.js} +1 -1
  336. package/vgv2/es/{index-P84iIoXm.js → index-BcYN3StW.js} +1 -1
  337. package/vgv2/es/{index-kBzxmy6k.js → index-CGMT-zU2.js} +1 -1
  338. package/vgv2/es/{index-DLhjHvmT.js → index-CLWENV0T.js} +1 -1
  339. package/vgv2/es/{index-DqOiH6Lp.js → index-DOD4wOJf.js} +1 -1
  340. package/vgv2/es/{index-pLpiHBc_.js → index-by5VjyoQ.js} +1 -1
  341. package/vgv2/es/{index-eAyCQU1l.js → index-w4NVu_Os.js} +1 -1
  342. package/vgv2/es/{index-mVPJqvVz.js → index-wUQFxWYo.js} +1 -1
  343. package/vgv2/es/index.d.ts +10 -1
  344. package/vgv2/es/index.js +1 -1
  345. package/vgv2/es/{styles-DjQb5J4z.js → styles-B31hLZsf.js} +1 -1
  346. package/vgv2/es/{styles-KhuLt3rO.js → styles-B7eZYWa7.js} +1 -1
  347. package/{btv2/es/styles-CV954_Df.js → vgv2/es/styles-BFdnBjGI.js} +1 -1
  348. package/vgv2/es/{styles-BG8z12Iz.js → styles-C1BfTXpH.js} +1 -1
  349. package/vgv2/es/{styles-DEWF5TAJ.js → styles-CMtXtOzg.js} +1 -1
  350. package/vgv2/es/{styles-vjGHEQho.js → styles-CWlMj5Sv.js} +1 -1
  351. package/vgv2/es/{styles-CTn-4PvX.js → styles-Cd5w9BrB.js} +1 -1
  352. package/vgv2/es/{styles-BuWh2JjU.js → styles-ChYpy97E.js} +1 -1
  353. package/vgv2/es/{styles-Bk_rOiKf.js → styles-CsJVLWzp.js} +1 -1
  354. package/vgv2/es/{styles-DMRMpPMw.js → styles-CxG0rQXR.js} +1 -1
  355. package/{btv2/es/styles-H_bfEBxT.js → vgv2/es/styles-Dzce1W6g.js} +1 -1
  356. package/vgv2/es/{styles-Dvnifdro.js → styles-T31EsRqp.js} +1 -1
  357. package/{btv2/es/styles-BmBQWFay.js → vgv2/es/styles-XsENqIf4.js} +1 -1
  358. package/vgv2/es/{styles-Db3sUkQU.js → styles-jj3USnU1.js} +1 -1
  359. package/vgv2/es/{styles-BwtgpdoN.js → styles-wmCNl9KE.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/e24/es/styles-CNe1cFk6.js +0 -1
  370. package/fotbollskanalen/es/_auto-entry_fotbollskanalen-DCvuf6NB.js +0 -1
  371. package/godare/cjs/index.d.ts +0 -879
  372. package/godare/cjs/index.js +0 -1
  373. package/godare/styles-inline.js +0 -3
  374. package/godare/styles.css +0 -1
  375. package/koket/es/_auto-entry_koket-CPD9ILVK.js +0 -1
  376. package/sa/es/_auto-entry_sa-D12Sv131.js +0 -1
  377. package/sav2/es/_auto-entry_sav2-BvBCRA-0.js +0 -1
  378. package/svd/es/_auto-entry_svd-B7IISSln.js +0 -1
  379. package/svdv2/es/_auto-entry_svdv2-CbtfIjKt.js +0 -1
  380. package/tv4/es/_auto-entry_tv4-U6o2ALYQ.js +0 -1
  381. package/vg/es/_auto-entry_vg-DblF74Eh.js +0 -1
  382. 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};