@schibsted/advertory 2.65.6 → 2.65.7-test-css-bundles-v1

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 (336) hide show
  1. package/core/aftenposten/es/aftenposten-2nuJxPAe.js +1 -0
  2. package/core/aftenposten/es/events-Cy66Z11t.js +1 -0
  3. package/core/aftenposten/es/index-1f6mgxFD.js +1 -0
  4. package/core/aftenposten/es/index-BQZLraDQ.js +1 -0
  5. package/core/aftenposten/es/index-BY1oDSSe.js +1 -0
  6. package/core/aftenposten/es/index-Bl7ZLUXC.js +1 -0
  7. package/core/aftenposten/es/index-CTBWErSv.js +1 -0
  8. package/core/aftenposten/es/index-CkPPpROT.js +1 -0
  9. package/core/aftenposten/es/index-CkXvFMvw.js +1 -0
  10. package/core/aftenposten/es/index-DHJ7Cg5K.js +1 -0
  11. package/core/aftenposten/es/index-DQlbgZ8n.js +1 -0
  12. package/core/aftenposten/es/index-HTbQjX-K.js +1 -0
  13. package/core/aftenposten/es/index.css +1 -1
  14. package/core/aftenposten/es/index.js +1 -1
  15. package/core/aftenposten/es/scale-ad-BBq09t5G.js +1 -0
  16. package/core/aftenposten/es/styles-Dafbl73v.js +1 -0
  17. package/core/aftenposten/es/styles-Dk5BnY99.js +1 -0
  18. package/core/aftenposten/index.js +1 -1
  19. package/core/aftenpostenv2/es/aftenpostenv2-DLKxBJJQ.js +1 -0
  20. package/core/aftenpostenv2/es/events-CNzliIaK.js +1 -0
  21. package/core/aftenpostenv2/es/index-B86PSfth.js +1 -0
  22. package/core/aftenpostenv2/es/index-B8WHBroB.js +1 -0
  23. package/core/aftenpostenv2/es/index-BxmZ-NBc.js +1 -0
  24. package/core/aftenpostenv2/es/index-CxYZi2sj.js +1 -0
  25. package/core/aftenpostenv2/es/index-D9J8ok8N.js +1 -0
  26. package/core/aftenpostenv2/es/index-DOk6UbFo.js +1 -0
  27. package/core/aftenpostenv2/es/index-DQlbgZ8n.js +1 -0
  28. package/core/aftenpostenv2/es/index-DVt8hbmR.js +1 -0
  29. package/core/aftenpostenv2/es/index-DZr_oRJU.js +1 -0
  30. package/core/aftenpostenv2/es/index-RE6B9ypZ.js +1 -0
  31. package/core/aftenpostenv2/es/index.css +1 -1
  32. package/core/aftenpostenv2/es/index.js +1 -1
  33. package/core/aftenpostenv2/es/scale-ad-IQQFX5s5.js +1 -0
  34. package/core/aftenpostenv2/es/styles-Dafbl73v.js +1 -0
  35. package/core/aftenpostenv2/es/styles-Dk5BnY99.js +1 -0
  36. package/core/aftonbladet/es/aftonbladet-BCL_8sTt.js +1 -0
  37. package/core/aftonbladet/es/events-DHLo9MY0.js +1 -0
  38. package/core/aftonbladet/es/index-BXl-AdI0.js +1 -0
  39. package/core/aftonbladet/es/index-C42aVsEf.js +1 -0
  40. package/core/aftonbladet/es/index-CmTlHQTn.js +1 -0
  41. package/core/aftonbladet/es/index-Cu3TtNnO.js +1 -0
  42. package/core/aftonbladet/es/index-DCXpVWsX.js +1 -0
  43. package/core/aftonbladet/es/index-DQlbgZ8n.js +1 -0
  44. package/core/aftonbladet/es/index-Dts-bK2X.js +1 -0
  45. package/core/aftonbladet/es/index-DySUciW-.js +1 -0
  46. package/core/aftonbladet/es/index-TzuHDldx.js +1 -0
  47. package/core/aftonbladet/es/index-gmcSsAxB.js +1 -0
  48. package/core/aftonbladet/es/index.css +1 -1
  49. package/core/aftonbladet/es/index.js +1 -1
  50. package/core/aftonbladet/es/styles-Dk5BnY99.js +1 -0
  51. package/core/aftonbladet/index.js +1 -1
  52. package/core/aftonbladetv2/es/aftonbladetv2-D4BROcY0.js +1 -0
  53. package/core/aftonbladetv2/es/events-C9ZmweQX.js +1 -0
  54. package/core/aftonbladetv2/es/index-3sQI0WkS.js +1 -0
  55. package/core/aftonbladetv2/es/index-BWYOR5qd.js +1 -0
  56. package/core/aftonbladetv2/es/index-Bm3URKJj.js +1 -0
  57. package/core/aftonbladetv2/es/index-CMoGnMqK.js +1 -0
  58. package/core/aftonbladetv2/es/index-CYNCAS1P.js +1 -0
  59. package/core/aftonbladetv2/es/index-Cit-V9Ui.js +1 -0
  60. package/core/aftonbladetv2/es/index-CoA1Esmy.js +1 -0
  61. package/core/aftonbladetv2/es/index-DQlbgZ8n.js +1 -0
  62. package/core/aftonbladetv2/es/index-DVloBo8t.js +1 -0
  63. package/core/aftonbladetv2/es/index-WIl4kOI8.js +1 -0
  64. package/core/aftonbladetv2/es/index.css +1 -1
  65. package/core/aftonbladetv2/es/index.js +1 -1
  66. package/core/aftonbladetv2/es/scale-ad-CrxtlLzL.js +1 -0
  67. package/core/aftonbladetv2/es/styles-Dk5BnY99.js +1 -0
  68. package/core/bt/es/bt-BcnMtIjk.js +1 -0
  69. package/core/bt/es/events-_6to1Gm0.js +1 -0
  70. package/core/bt/es/index-BJ69fLBV.js +1 -0
  71. package/core/bt/es/index-BdHS7L6p.js +1 -0
  72. package/core/bt/es/index-C4EqcaIp.js +1 -0
  73. package/core/bt/es/index-CbcHFjtP.js +1 -0
  74. package/core/bt/es/index-Cbe28LNh.js +1 -0
  75. package/core/bt/es/index-DQlbgZ8n.js +1 -0
  76. package/core/bt/es/index-DtY3NM-Z.js +1 -0
  77. package/core/bt/es/index-Dy0CPdIz.js +1 -0
  78. package/core/bt/es/index-aZpVs6iO.js +1 -0
  79. package/core/bt/es/index-lLRgjEZp.js +1 -0
  80. package/core/bt/es/index.css +1 -1
  81. package/core/bt/es/index.js +1 -1
  82. package/core/bt/es/scale-ad-DYGMcCtX.js +1 -0
  83. package/core/bt/es/styles-Dafbl73v.js +1 -0
  84. package/core/bt/es/styles-Dk5BnY99.js +1 -0
  85. package/core/bt/index.js +1 -1
  86. package/core/e24/es/_auto-entry_e24-OQTFtcds.js +1 -0
  87. package/core/e24/es/events-CbDPVqog.js +1 -0
  88. package/core/e24/es/index-B3a2dEzA.js +1 -0
  89. package/core/e24/es/index-Cb4hGljq.js +1 -0
  90. package/core/e24/es/index-Cb7Dzs6u.js +1 -0
  91. package/core/e24/es/index-D7f4FE1s.js +1 -0
  92. package/core/e24/es/index-DFVSfn4g.js +1 -0
  93. package/core/e24/es/index-DQlbgZ8n.js +1 -0
  94. package/core/e24/es/index-TbZeCWlR.js +1 -0
  95. package/core/e24/es/index-YbScgxaC.js +1 -0
  96. package/core/e24/es/index-cnTuJMcQ.js +1 -0
  97. package/core/e24/es/index-r5crUO2f.js +1 -0
  98. package/core/e24/es/index.css +1 -1
  99. package/core/e24/es/index.js +1 -1
  100. package/core/e24/es/scale-ad-Gyj8PcGR.js +1 -0
  101. package/core/e24/es/styles-Ddi7po1N.js +1 -0
  102. package/core/e24/es/styles-Dk5BnY99.js +1 -0
  103. package/core/e24/index.js +1 -1
  104. package/core/fotbollskanalen/es/events-DsQuoYqq.js +1 -0
  105. package/core/fotbollskanalen/es/fotbollskanalen-DPvL50LB.js +1 -0
  106. package/core/fotbollskanalen/es/index-7XM8vbdl.js +1 -0
  107. package/core/fotbollskanalen/es/index-B0ZPPT9p.js +1 -0
  108. package/core/fotbollskanalen/es/index-BVqooJpi.js +1 -0
  109. package/core/fotbollskanalen/es/index-By8XArWe.js +1 -0
  110. package/core/fotbollskanalen/es/index-CN55ZiaZ.js +1 -0
  111. package/core/fotbollskanalen/es/index-CXdXHrFi.js +1 -0
  112. package/core/fotbollskanalen/es/index-CYpVhvjf.js +1 -0
  113. package/core/fotbollskanalen/es/index-DQlbgZ8n.js +1 -0
  114. package/core/fotbollskanalen/es/index-DSY1xJ0C.js +1 -0
  115. package/core/fotbollskanalen/es/index-Dg5YhP6F.js +1 -0
  116. package/core/fotbollskanalen/es/index.css +1 -1
  117. package/core/fotbollskanalen/es/index.js +1 -1
  118. package/core/fotbollskanalen/es/scale-ad-CkKQ2R3J.js +1 -0
  119. package/core/fotbollskanalen/es/styles-Dk5BnY99.js +1 -0
  120. package/core/fotbollskanalen/index.js +1 -1
  121. package/core/godare/index.js +1 -1
  122. package/core/godt/index.js +1 -1
  123. package/core/klart/index.js +1 -1
  124. package/core/koket/es/events-_dekKh9n.js +1 -0
  125. package/core/koket/es/index-B5xXJdqi.js +1 -0
  126. package/core/koket/es/index-BKKcxGpH.js +1 -0
  127. package/core/koket/es/index-BcHygDG8.js +1 -0
  128. package/core/koket/es/index-BwaOemTZ.js +1 -0
  129. package/core/koket/es/index-CW0sLBaj.js +1 -0
  130. package/core/koket/es/index-DNviW5KE.js +1 -0
  131. package/core/koket/es/index-DQlbgZ8n.js +1 -0
  132. package/core/koket/es/index-DkIbN9R_.js +1 -0
  133. package/core/koket/es/index-DsWZrY9s.js +1 -0
  134. package/core/koket/es/index-vz8a8-Ap.js +1 -0
  135. package/core/koket/es/index.css +1 -1
  136. package/core/koket/es/index.js +1 -1
  137. package/core/koket/es/koket-CnKjFJDE.js +1 -0
  138. package/core/koket/es/scale-ad-COBXmkO_.js +1 -0
  139. package/core/koket/es/styles-Dk5BnY99.js +1 -0
  140. package/core/koket/index.js +1 -1
  141. package/core/kompakt/index.js +1 -1
  142. package/core/minmote/index.js +1 -1
  143. package/core/pent/index.js +1 -1
  144. package/core/sa/es/events-BwyHiIhH.js +1 -0
  145. package/core/sa/es/index-CCAEvZS6.js +1 -0
  146. package/core/sa/es/index-C_G4PiRO.js +1 -0
  147. package/core/sa/es/index-CmeuNT8w.js +1 -0
  148. package/core/sa/es/index-DQlbgZ8n.js +1 -0
  149. package/core/sa/es/index-DmLk_aly.js +1 -0
  150. package/core/sa/es/index-DtWgj8Mg.js +1 -0
  151. package/core/sa/es/index-Qdws_PZy.js +1 -0
  152. package/core/sa/es/index-R-NVZb7W.js +1 -0
  153. package/core/sa/es/index-pNj7U7T4.js +1 -0
  154. package/core/sa/es/index-wCOGmyn4.js +1 -0
  155. package/core/sa/es/index.css +1 -1
  156. package/core/sa/es/index.js +1 -1
  157. package/core/sa/es/sa-Nu_R64rw.js +1 -0
  158. package/core/sa/es/scale-ad-B7r9U7MP.js +1 -0
  159. package/core/sa/es/styles-Dafbl73v.js +1 -0
  160. package/core/sa/es/styles-Dk5BnY99.js +1 -0
  161. package/core/sa/index.js +1 -1
  162. package/core/svd/es/events-Cl1CJ3MI.js +1 -0
  163. package/core/svd/es/index-2qhA7Mmq.js +1 -0
  164. package/core/svd/es/index-BGfHJXfJ.js +1 -0
  165. package/core/svd/es/index-BOXYv5Kr.js +1 -0
  166. package/core/svd/es/index-BabhWwkM.js +1 -0
  167. package/core/svd/es/index-BxaGySyG.js +1 -0
  168. package/core/svd/es/index-C5VeM9RM.js +1 -0
  169. package/core/svd/es/index-D6NVmpx8.js +1 -0
  170. package/core/svd/es/index-DQlbgZ8n.js +1 -0
  171. package/core/svd/es/index-DYA28UcN.js +1 -0
  172. package/core/svd/es/index-DYnZ8q26.js +1 -0
  173. package/core/svd/es/index.css +1 -1
  174. package/core/svd/es/index.js +1 -1
  175. package/core/svd/es/styles-Dk5BnY99.js +1 -0
  176. package/core/svd/es/svd-9nxy49Gx.js +1 -0
  177. package/core/svd/index.js +1 -1
  178. package/core/svdv2/es/events-1jrY4HmA.js +1 -0
  179. package/core/svdv2/es/index-BLQvfyWt.js +1 -0
  180. package/core/svdv2/es/index-CNel196-.js +1 -0
  181. package/core/svdv2/es/index-CQEGbrEu.js +1 -0
  182. package/core/svdv2/es/index-CV9uviKj.js +1 -0
  183. package/core/svdv2/es/index-CZSqP0Oj.js +1 -0
  184. package/core/svdv2/es/index-CeAHy9ei.js +1 -0
  185. package/core/svdv2/es/index-DQlbgZ8n.js +1 -0
  186. package/core/svdv2/es/index-Df1zX9DI.js +1 -0
  187. package/core/svdv2/es/index-JQdwApzL.js +1 -0
  188. package/core/svdv2/es/index-t0AhE-Mb.js +1 -0
  189. package/core/svdv2/es/index.css +1 -1
  190. package/core/svdv2/es/index.js +1 -1
  191. package/core/svdv2/es/scale-ad-DVCujNZy.js +1 -0
  192. package/core/svdv2/es/styles-Dk5BnY99.js +1 -0
  193. package/core/svdv2/es/svdv2-CRKkmXLH.js +1 -0
  194. package/core/tek/index.js +1 -1
  195. package/core/tv4/es/events-BxQOrmc3.js +1 -0
  196. package/core/tv4/es/index-BR7XJAcT.js +1 -0
  197. package/core/tv4/es/index-Bg2nUjPd.js +1 -0
  198. package/core/tv4/es/index-BiArtsLw.js +1 -0
  199. package/core/tv4/es/index-BkIuuN-s.js +1 -0
  200. package/core/tv4/es/index-CJ5o8hho.js +1 -0
  201. package/core/tv4/es/index-CSu3gKxN.js +1 -0
  202. package/core/tv4/es/index-DG80oX5u.js +1 -0
  203. package/core/tv4/es/index-DQlbgZ8n.js +1 -0
  204. package/core/tv4/es/index-OcsWo5WS.js +1 -0
  205. package/core/tv4/es/index-l3X2_N9K.js +1 -0
  206. package/core/tv4/es/index.css +1 -1
  207. package/core/tv4/es/index.js +1 -1
  208. package/core/tv4/es/scale-ad-BjQXe7r2.js +1 -0
  209. package/core/tv4/es/styles-Dk5BnY99.js +1 -0
  210. package/core/tv4/es/tv4-CwkUh3M3.js +1 -0
  211. package/core/tv4/index.js +1 -1
  212. package/core/tvnu/index.js +1 -1
  213. package/core/vg/es/events-X-6ybuAW.js +1 -0
  214. package/core/vg/es/index-B6uwl_4i.js +1 -0
  215. package/core/vg/es/index-BYUVIP7N.js +1 -0
  216. package/core/vg/es/index-C-DeCUQj.js +1 -0
  217. package/core/vg/es/index-C2OzlhzE.js +1 -0
  218. package/core/vg/es/index-CkmoQGC0.js +1 -0
  219. package/core/vg/es/index-DB_MwA1R.js +1 -0
  220. package/core/vg/es/index-DFjDcsEY.js +1 -0
  221. package/core/vg/es/index-DQlbgZ8n.js +1 -0
  222. package/core/vg/es/index-DTlZ0fcx.js +1 -0
  223. package/core/vg/es/index-Dv8OrWsV.js +1 -0
  224. package/core/vg/es/index.css +1 -1
  225. package/core/vg/es/index.js +1 -1
  226. package/core/vg/es/scale-ad-DMpV1Suo.js +1 -0
  227. package/core/vg/es/styles-Dafbl73v.js +1 -0
  228. package/core/vg/es/styles-Dk5BnY99.js +1 -0
  229. package/core/vg/es/vg-DQp134WG.js +1 -0
  230. package/core/vg/index.js +1 -1
  231. package/core/vgv2/es/events-B8rqWjp3.js +1 -0
  232. package/core/vgv2/es/index-C3MXChpZ.js +1 -0
  233. package/core/vgv2/es/index-CCZWrvlw.js +1 -0
  234. package/core/vgv2/es/index-CFVR6_8p.js +1 -0
  235. package/core/vgv2/es/index-CqXn363z.js +1 -0
  236. package/core/vgv2/es/index-DQlbgZ8n.js +1 -0
  237. package/core/vgv2/es/index-DX5n-V6Z.js +1 -0
  238. package/core/vgv2/es/index-DdMURwTv.js +1 -0
  239. package/core/vgv2/es/index-Wjgun64G.js +1 -0
  240. package/core/vgv2/es/index-mGiHA9xP.js +1 -0
  241. package/core/vgv2/es/index-opNXgRSr.js +1 -0
  242. package/core/vgv2/es/index.css +1 -1
  243. package/core/vgv2/es/index.js +1 -1
  244. package/core/vgv2/es/scale-ad-Cyz5qQnx.js +1 -0
  245. package/core/vgv2/es/styles-Dafbl73v.js +1 -0
  246. package/core/vgv2/es/styles-Dk5BnY99.js +1 -0
  247. package/core/vgv2/es/vgv2-DIph2Zvj.js +1 -0
  248. package/features/ad-native/index.js +1 -1
  249. package/package.json +7 -6
  250. package/sites/aftenposten/es/index.css +1 -1
  251. package/sites/aftenposten/index.js +1 -1
  252. package/sites/aftenpostenv2/es/index.css +1 -1
  253. package/sites/aftonbladet/es/index.css +1 -1
  254. package/sites/bt/es/index.css +1 -1
  255. package/sites/bt/index.js +1 -1
  256. package/sites/e24/es/index.css +1 -1
  257. package/sites/e24/es/index.d.ts +1 -0
  258. package/sites/e24/index.d.ts +1 -0
  259. package/sites/fotbollskanalen/es/index.css +1 -1
  260. package/sites/koket/es/index.css +1 -1
  261. package/sites/sa/es/index.css +1 -1
  262. package/sites/sa/index.js +1 -1
  263. package/sites/svd/es/index.css +1 -1
  264. package/sites/svd/index.js +1 -1
  265. package/sites/svdv2/es/index.css +1 -1
  266. package/sites/svdv2/es/index.d.ts +3 -1
  267. package/sites/svdv2/es/index.js +1 -1
  268. package/sites/tvnu/index.js +1 -1
  269. package/sites/vg/es/index.css +1 -1
  270. package/sites/vg/index.js +1 -1
  271. package/sites/vgv2/es/index.css +1 -1
  272. package/styles/svdv2/styles.css +1 -1
  273. package/types/config/aftenposten.d.ts +2 -1
  274. package/types/config/aftenpostenv2.d.ts +2 -1
  275. package/types/config/bt.d.ts +2 -1
  276. package/types/config/fotbollskanalen.d.ts +2 -1
  277. package/types/config/godare.d.ts +2 -1
  278. package/types/config/koket.d.ts +2 -1
  279. package/types/config/kompakt.d.ts +2 -1
  280. package/types/config/pent.d.ts +2 -1
  281. package/types/config/sa.d.ts +2 -1
  282. package/types/config/tv4.d.ts +2 -1
  283. package/types/config/tvnu.d.ts +2 -1
  284. package/types/config/vg.d.ts +2 -1
  285. package/types/config/vgv2.d.ts +2 -1
  286. package/types/core/interface/config.d.ts +3 -11
  287. package/types/core/interface/right-column-track.d.ts +1 -0
  288. package/types/core/prepare-page-options/generic-prepare-page-options.d.ts +3 -2
  289. package/types/core/prepare-tag/generic-prepare-tag.d.ts +2 -2
  290. package/types/features/ad-native/sites/e24/e24-init.d.ts +0 -1
  291. package/types/features/ad-native/sites/e24/templates/articles/content/index.d.ts +0 -1
  292. package/types/features/ad-native/sites/e24/templates/articles/content-display-basic/index.d.ts +0 -1
  293. package/types/features/ad-native/sites/e24/templates/articles/recirc/index.d.ts +0 -1
  294. package/types/features/ad-native/sites/e24/templates/front/aksjelive/index.d.ts +0 -1
  295. package/types/features/ad-native/sites/e24/templates/front/content/index.d.ts +0 -1
  296. package/types/features/ad-native/sites/e24/templates/front/content-display-basic/index.d.ts +0 -1
  297. package/types/features/ad-native/sites/shared/templates/no/native-recirc/index.d.ts +0 -1
  298. package/types/features/ad-native/sites/shared/templates/no/native-seamless/index.d.ts +0 -1
  299. package/types/features/ad-native/sites/shared/templates/no/native-template/index.d.ts +0 -1
  300. package/types/features/ad-takeover/utils.d.ts +2 -1
  301. package/types/sites/svdv2/formats/Widescreen/index.d.ts +1 -1
  302. package/types/sites/svdv2/formats/index.d.ts +1 -0
  303. package/types/sites/svdv2/index.d.ts +2 -1
  304. package/core/aftenposten/es/index.d.ts +0 -748
  305. package/core/aftenposten/index.d.ts +0 -748
  306. package/core/aftenpostenv2/es/index.d.ts +0 -748
  307. package/core/aftonbladet/es/index.d.ts +0 -750
  308. package/core/aftonbladet/index.d.ts +0 -750
  309. package/core/aftonbladetv2/es/index.d.ts +0 -750
  310. package/core/bt/es/index.d.ts +0 -748
  311. package/core/bt/index.d.ts +0 -748
  312. package/core/e24/es/index.d.ts +0 -748
  313. package/core/e24/index.d.ts +0 -748
  314. package/core/fotbollskanalen/es/index.d.ts +0 -748
  315. package/core/fotbollskanalen/index.d.ts +0 -748
  316. package/core/godare/index.d.ts +0 -748
  317. package/core/godt/index.d.ts +0 -750
  318. package/core/klart/index.d.ts +0 -750
  319. package/core/koket/es/index.d.ts +0 -748
  320. package/core/koket/index.d.ts +0 -748
  321. package/core/kompakt/index.d.ts +0 -748
  322. package/core/minmote/index.d.ts +0 -750
  323. package/core/pent/index.d.ts +0 -748
  324. package/core/sa/es/index.d.ts +0 -748
  325. package/core/sa/index.d.ts +0 -748
  326. package/core/svd/es/index.d.ts +0 -750
  327. package/core/svd/index.d.ts +0 -750
  328. package/core/svdv2/es/index.d.ts +0 -750
  329. package/core/tek/index.d.ts +0 -750
  330. package/core/tv4/es/index.d.ts +0 -748
  331. package/core/tv4/index.d.ts +0 -748
  332. package/core/tvnu/index.d.ts +0 -748
  333. package/core/vg/es/index.d.ts +0 -748
  334. package/core/vg/index.d.ts +0 -748
  335. package/core/vgv2/es/index.d.ts +0 -748
  336. package/types/config/e24.d.ts +0 -3
@@ -1,748 +0,0 @@
1
- import { Identity } from '@schibsted/account-sdk-browser';
2
-
3
- type AstCommand = () => void;
4
- type AstAdType = 'banner' | 'video' | 'native' | 'outstream';
5
- interface AstBanner {
6
- content: string;
7
- height: number;
8
- width: number;
9
- }
10
- interface AstNativeImage {
11
- height: number;
12
- width: number;
13
- url: string;
14
- prevent_crop: boolean;
15
- }
16
- interface AstNativeVideo {
17
- content: string;
18
- }
19
- interface AstNative {
20
- title: string;
21
- sponsoredBy: string;
22
- desc2?: string;
23
- clickUrl: string;
24
- clickTrackers: Array<string>;
25
- clickFallbackUrl?: string;
26
- displayUrl?: string;
27
- downloads?: Array<string>;
28
- cta?: string;
29
- address?: string;
30
- body: string;
31
- main_media?: {
32
- url: string;
33
- };
34
- image: AstNativeImage;
35
- icon: AstNativeIcon;
36
- impressionTrackers?: Array<string>;
37
- javascriptTrackers?: Array<string>;
38
- likes?: number;
39
- phone?: string;
40
- price?: string;
41
- privacyLink?: string;
42
- rating?: number;
43
- saleprice?: number;
44
- fullText?: string;
45
- type?: string;
46
- custom?: {
47
- type: string;
48
- };
49
- video?: AstNativeVideo;
50
- customTitle1?: string;
51
- customTitle2?: string;
52
- customTitle3?: string;
53
- customTitle4?: string;
54
- description?: string;
55
- customIcon2: AstNativeIcon;
56
- }
57
- interface AstAdObj {
58
- adType: AstAdType;
59
- height: number;
60
- source: string;
61
- targetId: string;
62
- width: number;
63
- native?: AstNative;
64
- desc2?: string;
65
- image?: object;
66
- tagId?: number;
67
- cpm?: object;
68
- buyerMemberId?: number;
69
- impressionTrackersFired?: boolean;
70
- auctionId?: string;
71
- creativeId?: number;
72
- banner?: AstBanner;
73
- subtype?: string;
74
- renderer_url?: string;
75
- bidderId?: number | undefined;
76
- }
77
- interface AstAdError {
78
- code: number;
79
- errMessage: string;
80
- exception: Error;
81
- targetId: string;
82
- }
83
- interface AstTagObj {
84
- targetId: string;
85
- }
86
- type AstEventType = 'adRequested' | 'adAvailable' | 'adBadRequest' | 'adLoaded' | 'adNoBid' | 'adRequestFailure' | 'adError' | 'adCollapse' | 'adNoBidMediated' | 'adLoadedMediated';
87
- interface AstOnEventFunction {
88
- (eventType: 'adRequested', eventHandler: AstCommand, targetId?: string): void;
89
- (eventType: 'adAvailable', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
90
- (eventType: 'adLoaded', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
91
- (eventType: 'adNoBid', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
92
- (eventType: 'adCollapse', eventHandler: AstCommand, targetId?: string): void;
93
- (eventType: 'adRequestFailure', eventHandler: (adError: AstAdError) => void, targetId?: string): void;
94
- (eventType: 'adBadRequest', eventHandler: (adError: AstAdError) => void, targetId?: string): void;
95
- (eventType: 'adError', eventHandler: (adError: AstAdError, adObj: AstAdObj) => void, targetId?: string): void;
96
- (eventType: 'adLoadedMediated', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
97
- (eventType: 'adNoBidMediated', eventHandler: (adObj: AstAdObj) => void, targetId?: string): void;
98
- }
99
- interface AstNativeItem {
100
- required: boolean;
101
- }
102
- type AstKeywordValue = Array<string> | string | number | Array<number> | undefined;
103
- type Keywords = Record<string, AstKeywordValue>;
104
- type AstKeywords = Record<string, AstKeywordValue> & {
105
- 'se-generic-adformat'?: Array<string>;
106
- 'se-generic-targetid'?: Array<string>;
107
- 'se-sch-supply_type'?: Array<string>;
108
- 'no-sno-adformat'?: Array<string>;
109
- 'no-sno-targetid'?: Array<string>;
110
- 'aa-sch-dynamic-outstream'?: Array<string>;
111
- };
112
- interface AstRendererOptions {
113
- disableCollapse?: {
114
- hideControlBar: boolean;
115
- enabled: boolean;
116
- replay: boolean;
117
- };
118
- playerSkin?: {
119
- videoBackgroundColor: string;
120
- };
121
- safeFrameAutoInitialSize?: boolean;
122
- aspectRatio?: string;
123
- enableInlineVideoForIos?: boolean;
124
- autoInitialSize?: boolean;
125
- maxHeight?: MaxHeightParams;
126
- fixedSizePlayer?: boolean;
127
- }
128
- interface MaxHeightParams {
129
- enabled: boolean;
130
- height: number;
131
- }
132
- interface AstNativeParams {
133
- customTitle1: AstNativeItem;
134
- customTitle2: AstNativeItem;
135
- customTitle3: AstNativeItem;
136
- customTitle4: AstNativeItem;
137
- title: AstNativeItem;
138
- body: AstNativeItem;
139
- image: AstNativeItem;
140
- icon: AstNativeItem;
141
- sponsoredBy: AstNativeItem;
142
- cta: AstNativeItem;
143
- clickUrl: AstNativeItem;
144
- desc2: AstNativeItem;
145
- rating?: AstNativeItem;
146
- displayUrl: AstNativeItem;
147
- likes?: AstNativeItem;
148
- downloads?: AstNativeItem;
149
- price?: AstNativeItem;
150
- saleprice?: AstNativeItem;
151
- phone?: AstNativeItem;
152
- address?: AstNativeItem;
153
- description: AstNativeItem;
154
- video?: AstNativeItem;
155
- customIcon2?: AstNativeItem;
156
- }
157
- interface AstDefineTagParams {
158
- invCode: string;
159
- targetId: string;
160
- sizes: Array<Array<number>>;
161
- keywords?: AstKeywords;
162
- rendererOptions?: AstRendererOptions;
163
- native?: AstNativeParams;
164
- allowedFormats?: Array<AstAdType>;
165
- enableSafeFrame?: boolean;
166
- externalImpId?: string;
167
- safeframeConfig?: SafeFrameConfig;
168
- dynamicSizeWidthCheck?: boolean;
169
- allowSmallerSizes?: boolean;
170
- }
171
- interface SafeFrameConfig {
172
- allowExpansionByPush?: boolean;
173
- allowExpansionByOverlay?: boolean;
174
- }
175
- interface EidsUserSource {
176
- id: string;
177
- source: string;
178
- }
179
- interface AstUserIds {
180
- type: string;
181
- eids: Array<EidsUserSource>;
182
- }
183
- interface AstUser {
184
- externalUid?: string;
185
- dnt?: boolean;
186
- userIds?: Array<AstUserIds>;
187
- }
188
- interface AstTrackingManagement {
189
- native?: {
190
- loadViewabilityScriptAt?: 'adresponse' | 'impression';
191
- };
192
- }
193
- interface AstUserSync {
194
- disabled: boolean;
195
- }
196
- interface AstRenderingManagement {
197
- sandboxAdIframe: boolean;
198
- sandboxAttributes: Array<string>;
199
- }
200
- interface AstPageOptions {
201
- keywords: Keywords;
202
- enableSafeFrame?: boolean;
203
- disablePsa?: boolean;
204
- user?: AstUser;
205
- member?: number;
206
- publisherId: number;
207
- trackingManagement?: AstTrackingManagement;
208
- renderingManagement?: AstRenderingManagement;
209
- userSync?: AstUserSync;
210
- }
211
- interface AstApnTagRequests {
212
- user?: AstUser;
213
- keywords: AstKeywords;
214
- member: number;
215
- tags: Record<string, {
216
- adResponse: {
217
- ads: Array<{
218
- rtb: {
219
- banner: AstBanner;
220
- native: AstNative;
221
- };
222
- }>;
223
- };
224
- uuid?: string;
225
- invCode?: string;
226
- }>;
227
- }
228
- interface AstApnTag {
229
- anq: Array<AstCommand>;
230
- defineTag: (params: AstDefineTagParams) => AstTagObj;
231
- showTag: (targetId: string) => void;
232
- onEvent: AstOnEventFunction;
233
- offEvent: (eventType: AstEventType, targetId: string) => void;
234
- refresh: (targetIds: Array<string>) => void;
235
- modifyTag: (targetId: string, params: Partial<AstDefineTagParams>) => void;
236
- loadTags: (targetIds?: Array<string>) => void;
237
- emitEvent: (targetId: string, eventName: string) => void;
238
- setPageOpts: (params: AstPageOptions) => void;
239
- resizeAd: (targetId: string, size: Array<string | number>, config?: {
240
- resizeAdParentDiv?: boolean;
241
- }) => void;
242
- getAstVersion: () => string;
243
- setEndpoint: (endpoint: string, freezeIbUrl: boolean) => void;
244
- requests?: AstApnTagRequests;
245
- fireImpressionTrackers: (nativeObject: AstAdObj) => void;
246
- setKeywords: (ids: Array<string>, keywords: AstKeywords, options: {
247
- overrideKeyValue: boolean;
248
- }) => void;
249
- clearRequest: (targetIds?: Array<string> | string) => void;
250
- }
251
- interface AstNativeIcon {
252
- url: string;
253
- height?: number;
254
- width?: number;
255
- prevent_crop?: boolean;
256
- }
257
-
258
- declare const DeviceTypes: {
259
- readonly MOBILE: "mobile";
260
- readonly TABLET: "tablet";
261
- readonly DESKTOP: "desktop";
262
- };
263
- type DeviceType = (typeof DeviceTypes)[keyof typeof DeviceTypes];
264
-
265
- declare const Countries: {
266
- readonly NO: "no";
267
- readonly SE: "se";
268
- };
269
- type Country = (typeof Countries)[keyof typeof Countries];
270
-
271
- declare const PageTypes: {
272
- readonly FRONT: "front";
273
- readonly ARTICLE: "article";
274
- readonly SECTION: "section";
275
- readonly COLLECTION: "collection";
276
- readonly OTHER: "other";
277
- };
278
- type PageType = (typeof PageTypes)[keyof typeof PageTypes];
279
-
280
- interface AdvertisingIdentifiers {
281
- xandr?: {
282
- ppId1?: string;
283
- ppId2?: string;
284
- };
285
- }
286
- interface TrackerInstance {
287
- getAdvertisingIdentifiers: () => Promise<AdvertisingIdentifiers>;
288
- getUserId: () => Promise<undefined | string | number>;
289
- getEnvironmentId: () => Promise<undefined | string>;
290
- getActor: () => Promise<undefined | unknown>;
291
- state?: {
292
- pageViewId?: string;
293
- };
294
- }
295
- interface PulseInstance extends TrackerInstance {
296
- pulseTracker?: TrackerInstance;
297
- trackElementView?: (eventInput: unknown) => Promise<void>;
298
- trackElementClick?: (eventInput: unknown) => Promise<void>;
299
- trackClickUIElement?: (eventInput: unknown) => Promise<void>;
300
- trackViewUIElement?: (eventInput: unknown) => Promise<void>;
301
- trackLegacyClickUIElement?: (eventInput: unknown) => Promise<void>;
302
- trackLegacyViewUIElement?: (eventInput: unknown) => Promise<void>;
303
- }
304
- interface Tracker {
305
- clientId: string;
306
- instance: TrackerInstance;
307
- hasherUrl?: string;
308
- }
309
- interface Pulse {
310
- clientId: string;
311
- instance: PulseInstance;
312
- }
313
-
314
- type DistributionTypes = 'REALESTATE' | 'REALESTATE_RETARGET' | 'REALESTATE_LEISURE' | 'REALESTATE_LEISURE_RETARGET' | 'REALESTATE_PROJECT' | 'REALESTATE_PROJECT_RETARGET' | 'CAR' | 'JOB';
315
- interface BlinkConstructorOptions {
316
- remote?: string;
317
- id?: string;
318
- hashed_email?: string;
319
- theme?: string;
320
- }
321
- interface BlinkInstance {
322
- inject: (options: unknown) => Promise<unknown>;
323
- }
324
- type BlinkConstructor = new (options: BlinkConstructorOptions) => BlinkInstance;
325
-
326
- declare const Newsrooms: {
327
- readonly SVD: "svd";
328
- readonly VG: "vg";
329
- readonly GODARE: "godare";
330
- readonly AFTENPOSTEN: "aftenposten";
331
- readonly SA: "sa";
332
- readonly BT: "bt";
333
- readonly AFTONBLADET: "aftonbladet";
334
- readonly E24: "e24";
335
- readonly MINMOTE: "minmote";
336
- readonly PENT: "pent";
337
- readonly GODT: "godt";
338
- readonly TEK: "tekno";
339
- readonly KLART: "klart";
340
- readonly TVNU: "tvnu";
341
- readonly POLARIS: "polaris";
342
- readonly KOKET: "koket";
343
- readonly TV4: "tv4";
344
- readonly FOTBOLLSKANALEN: "fotbollskanalen";
345
- };
346
- type Newsroom = (typeof Newsrooms)[keyof typeof Newsrooms];
347
-
348
- interface SiteConfig {
349
- publisher: string;
350
- country: Country;
351
- astUrl?: string;
352
- gptUrl?: string;
353
- testMember?: number;
354
- pageType: PageType;
355
- pageOptions: AstPageOptions;
356
- placements: Placements;
357
- keywordsConfig?: KeywordsConfig;
358
- deviceType: DeviceType;
359
- isMobileApp?: boolean;
360
- glimr?: GlimrConfig;
361
- tcf?: TCFConfig;
362
- prebid?: PrebidConfig;
363
- tracker?: Tracker;
364
- pulse?: Pulse;
365
- finnBlink?: FinnBlinkConfig;
366
- wallpaper?: WallpaperConfig;
367
- fullscreenScroll?: FullscreenScrollConfig;
368
- appearanceConfig: AppearanceConfig;
369
- queryConfig?: QueryConfig;
370
- refreshConfig?: RefreshConfig;
371
- takeover?: TakeoverConfig;
372
- brandmetrics?: BrandmetricsConfig;
373
- gdpr?: GdprConfig;
374
- norstat?: NorstatConfig;
375
- siteSpecificConfig?: SiteSpecificConfig;
376
- sponsorstripe?: SponsorstripeConfig;
377
- drEdition?: DrEditionConfig;
378
- kilkaya?: KilkayaConfig;
379
- forwardExternalImpId?: boolean;
380
- requestSize?: number;
381
- nativeTrackingConfig?: NativeTrackingConfig;
382
- sandboxAdIframeEnabled?: boolean;
383
- pageSectionsSelectors?: PageSectionsSelectors;
384
- rightColumnSplit?: RightColumnSplitConfig;
385
- editableConfiguration?: {
386
- useS3Config?: boolean;
387
- pageTypeToFetch?: string;
388
- };
389
- useAppTabletInvCode?: boolean;
390
- adScaleConfig?: AdScaleConfig;
391
- widescreenSwitching?: WidescreenSwitchingConfig;
392
- pageSetup?: PageSetup;
393
- }
394
- interface NativeTrackingConfig {
395
- nativeTrackingEnabled?: boolean;
396
- fireImpressionsBasedOnAppearanceThreshold?: boolean;
397
- }
398
- interface SiteSpecificConfig {
399
- publisherClassName?: Newsroom;
400
- fullWidthFormatClassName?: 'netboard' | 'panorama';
401
- classesToRemoveOnRefresh?: Array<string>;
402
- mainColumnWidth?: number;
403
- }
404
- interface Placement {
405
- id: string;
406
- sizes: Array<Array<number>>;
407
- allowedFormats: Array<AstAdType>;
408
- invCode: string;
409
- keywords: any;
410
- refresh?: boolean;
411
- bfCacheRefresh?: boolean;
412
- ssa?: boolean;
413
- threshold?: number;
414
- finnBlink?: FinnBlinkPlacementConfig;
415
- nativeCustomProperties?: Array<string>;
416
- minViewWidth?: number;
417
- dynamicSizeWidthCheck?: boolean;
418
- safeframeConfig?: SafeFrameConfig;
419
- positionConfig?: Array<PositionConfig>;
420
- drEdition?: DrEditionPlacementConfig;
421
- isBackfill?: boolean;
422
- takeoverCookieCapForSharedPlacement?: boolean;
423
- }
424
- interface Placements {
425
- desktop: Array<Placement>;
426
- tablet: Array<Placement>;
427
- mobile: Array<Placement>;
428
- }
429
- interface AppearanceConfig {
430
- defaultThreshold: {
431
- mobile: number;
432
- tablet: number;
433
- desktop: number;
434
- };
435
- clearProbableDimensionsEnabled?: boolean;
436
- isDarkModeEnabled?: boolean;
437
- mainColumnWidth?: number;
438
- }
439
- interface PageSectionsSelectors {
440
- top?: string;
441
- left?: string;
442
- right?: string;
443
- main?: string;
444
- mainFirstColumn?: string;
445
- mainSecondColumn?: string;
446
- }
447
- interface KeywordsConfig {
448
- includeCountingKeywordInTags?: boolean;
449
- sponsors?: string;
450
- }
451
- interface QueryConfig {
452
- queryByDataDevice?: boolean;
453
- lazyLoadingV3?: {
454
- enabled: boolean;
455
- rootMargin: string;
456
- };
457
- placementBatches?: PlacementBatchesConfig;
458
- }
459
- interface PositionConfig {
460
- adPositionIndex: number;
461
- sizes?: Array<Array<number>>;
462
- keywords?: AstKeywords;
463
- }
464
- type FinnBlinkTheme = 'light' | 'dark';
465
- interface FinnBlinkConfig {
466
- enabled?: boolean;
467
- channel?: string;
468
- userId?: string;
469
- uuid?: string;
470
- identifierUrl?: string;
471
- theme?: FinnBlinkTheme;
472
- replacementConfig?: {
473
- adsToReplace?: Array<Array<string>>;
474
- sizes?: {
475
- width: number;
476
- height: number;
477
- };
478
- };
479
- }
480
- interface FinnBlinkPlacementConfig {
481
- enabled: boolean;
482
- renderOnlyWithAdBlock?: boolean;
483
- position: string;
484
- distributionTypes?: Array<DistributionTypes>;
485
- height?: number;
486
- limit?: number;
487
- offset?: number;
488
- requireImage?: boolean;
489
- rec?: boolean;
490
- theme?: FinnBlinkTheme;
491
- advertoryTheme?: string;
492
- loadOnlyFinnBlink?: boolean;
493
- }
494
- interface PrebidConfig {
495
- enabled: boolean;
496
- url: string;
497
- id: string;
498
- externalUidInAuctionEnabled: boolean;
499
- relevantCbTimeout?: number;
500
- forwardGlimrTags?: boolean;
501
- }
502
- interface TCFConfig {
503
- enabled: boolean;
504
- schibstedAdChoicesEnabled?: boolean;
505
- schibstedConsentToPayEnabled?: boolean;
506
- schibstedAdChoicesOverrideValue?: string;
507
- timeout?: number;
508
- }
509
- interface GlimrConfig {
510
- enabled: boolean;
511
- clientId: string;
512
- }
513
- interface WallpaperConfig {
514
- enabled: boolean;
515
- options?: WallpaperConfigOptions;
516
- }
517
- interface WallpaperConfigOptions {
518
- appMainContainerSelector?: string;
519
- wallpaperAnchorSelector?: string;
520
- }
521
- interface BrandmetricsConfig {
522
- enabled: boolean;
523
- url: string;
524
- }
525
- interface GdprConfig {
526
- url?: string;
527
- allowHidingAds?: boolean;
528
- }
529
- interface FullscreenScrollConfig {
530
- fadingHeaderEnabled: boolean;
531
- headerSelectors: Array<string>;
532
- skyscraperSelectors?: Array<string>;
533
- headerZIndex: number;
534
- overlayStyles?: OverlayStyles;
535
- moveCogwheelToTheLeft?: boolean;
536
- iosSafeAreaTopFix?: string;
537
- }
538
- interface OverlayStyles {
539
- backgroundColor?: string;
540
- foregroundColor?: string;
541
- articlesContainerWidth?: number;
542
- margin?: string;
543
- beforeContentValue?: string;
544
- }
545
- interface RefreshConfig {
546
- delayTime?: number;
547
- scrollRefreshEnabled?: boolean;
548
- visibilityStateRefreshEnabled?: boolean;
549
- backForwardNavigationRefreshEnabled?: boolean;
550
- }
551
- interface WelcomePageConfig {
552
- showArrowIcon?: boolean;
553
- headerElementSelector?: string;
554
- buttonLabel?: string;
555
- showCloseButton?: boolean;
556
- }
557
- interface SplashConfig {
558
- themeColors?: ThemeColors;
559
- buttonLabel: string;
560
- logotype: Logotype;
561
- showArrowIcon?: boolean;
562
- showAnnonsLabel?: boolean;
563
- }
564
- interface TakeoverConfig {
565
- enabled?: boolean;
566
- secondVisitEnabled?: boolean;
567
- splash?: SplashConfig;
568
- welcomePage?: WelcomePageConfig;
569
- topscroller?: WelcomePageConfig;
570
- cookieCapName?: string | null;
571
- cookieCapTime?: number;
572
- setCookieCapForNotShownAd?: boolean;
573
- }
574
- interface Logotype {
575
- url: string;
576
- alt: string;
577
- }
578
- interface ThemeColors {
579
- backgroundColor: string;
580
- color: string;
581
- }
582
- interface NorstatConfig {
583
- enabled: true;
584
- }
585
- interface SponsorstripeConfig {
586
- toggleEnabled: boolean;
587
- headerSelector?: string;
588
- containersSelectors?: Array<string>;
589
- }
590
- interface RightColumnSplitConfig {
591
- enabled: boolean;
592
- splitPointIDs: Array<string>;
593
- adSelector: string;
594
- trackSelector?: string;
595
- }
596
- interface KilkayaConfig {
597
- enabled: boolean;
598
- url: string;
599
- }
600
- interface DrEditionConfig {
601
- enabled: boolean;
602
- containerSelector: string;
603
- wrapperSelector: string;
604
- fallbackGlobalEditionName?: string;
605
- videoScriptUrl?: string;
606
- addPreviewVideo?: (videoElement: HTMLElement) => void;
607
- }
608
- interface DrEditionPlacementConfig {
609
- editionName: string;
610
- }
611
- interface AdScaleConfig {
612
- enabled: boolean;
613
- adsToBeScaled: Partial<Record<DeviceType, Array<string>>>;
614
- offset?: Record<string, number>;
615
- }
616
- interface DevicePlacementBatches {
617
- [key: string]: Array<string>;
618
- }
619
- type PlacementBatchesConfig = {
620
- [device in DeviceType]: DevicePlacementBatches;
621
- };
622
- interface WidescreenSwitchingConfig {
623
- enabled: boolean;
624
- rotationInterval?: number;
625
- widescreenIdPrefix?: string;
626
- }
627
- interface PageSetup {
628
- pageOptions?: {
629
- keywords?: {
630
- appType?: boolean;
631
- device?: boolean;
632
- externalIdSrc?: boolean;
633
- hasContext?: boolean;
634
- screen?: boolean;
635
- analyticsConsent?: boolean;
636
- sectionPageType?: boolean;
637
- sponsors?: boolean;
638
- obituaries?: boolean;
639
- sdkVersion?: boolean;
640
- hasPlusMembership?: boolean;
641
- };
642
- options?: {
643
- addPublisherToGeo?: boolean;
644
- includeExternalUid?: boolean;
645
- };
646
- };
647
- tag?: {
648
- reloadKeywords?: boolean;
649
- };
650
- }
651
-
652
- type IsConsentedToAll = (callback: ConsentedToAllCallback) => void;
653
- type ConsentedToAllCallback = (value: boolean) => void;
654
- type GetConsentToAllSync = () => boolean | null;
655
- type GetPermissionSync = (permissionName: string) => boolean | null;
656
- type GetPermissionCallback = (value: boolean) => void;
657
- type GetPermission = (permissionName: string, callback: GetPermissionCallback) => void;
658
- interface ConsentManager {
659
- getConsentedToAllSync: GetConsentToAllSync;
660
- isConsentedToAll: IsConsentedToAll;
661
- getPermissionSync: GetPermissionSync;
662
- getPermission: GetPermission;
663
- onTcfReady: (callback: () => void) => void;
664
- }
665
-
666
- interface AlertoryTag {
667
- invCode: string;
668
- sizes: Array<Array<number>>;
669
- adTypes?: Array<AstAdType>;
670
- keywords?: AstKeywords;
671
- }
672
- interface XandrConfig {
673
- member?: number;
674
- keywords: AstKeywords;
675
- tags: Array<Array<AlertoryTag>>;
676
- }
677
- interface AlertoryConfig {
678
- xandr: XandrConfig;
679
- advertory: Partial<SiteConfig>;
680
- }
681
-
682
- declare const ES_MODULE_KEYS: {
683
- readonly Blink: "Blink";
684
- };
685
- type ESModuleKey = (typeof ES_MODULE_KEYS)[keyof typeof ES_MODULE_KEYS];
686
- type ESMModules = {
687
- [K in ESModuleKey]?: BlinkConstructor;
688
- };
689
-
690
- declare global {
691
- interface Window extends ESMModules {
692
- apntag: AstApnTag;
693
- relevantDigital: any;
694
- Identity: Identity;
695
- SvD: any;
696
- gdpr: {
697
- allowHidingAds: boolean;
698
- setupButton: (targetId: string) => void;
699
- };
700
- _scc_: any;
701
- _tcf_?: ConsentManager;
702
- __tcfapi: any;
703
- _brandmetrics: any;
704
- SVP?: any;
705
- advertory_idfv?: string;
706
- advertory_anId?: string;
707
- advertory: {
708
- initialized: boolean;
709
- siteConfig: SiteConfig;
710
- renderedDrEditionAds?: Array<string>;
711
- alertoryConfig?: AlertoryConfig;
712
- };
713
- advertoryFluepapir: boolean;
714
- autoplayQueue: Array<(autoplay: {
715
- parse: () => void;
716
- }) => void>;
717
- }
718
- interface Document {
719
- prerendering: boolean;
720
- }
721
- interface Navigator {
722
- globalPrivacyControl?: boolean;
723
- }
724
- }
725
-
726
- declare module 'glimr-sdk' {
727
- function setTagCacheTimeInSeconds(time: number): void;
728
- function getTags(clientId: string, fn: (tags: Array<string>, tagsMapping: any) => void): void;
729
- export { setTagCacheTimeInSeconds, getTags };
730
- }
731
-
732
- declare module '*.png' {
733
- const pngValue: string;
734
- export { pngValue };
735
- }
736
-
737
- interface UpdateAdvertoryConfig {
738
- clearAds?: boolean;
739
- reloadExistingAds?: boolean;
740
- renderFinnBlinkPlacements?: boolean;
741
- contextSelector?: string;
742
- }
743
-
744
- declare const updateAdvertory: (configPropertiesToUpdate?: Partial<SiteConfig>, updateAdvertoryConfig?: UpdateAdvertoryConfig) => Promise<Array<Placement>>;
745
-
746
- declare const initAdvertoryPackage: (config: SiteConfig) => Promise<void>;
747
-
748
- export { initAdvertoryPackage, updateAdvertory };