@schibsted/advertory 3.5.0 → 3.6.1-no-issue.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad-native/cjs/index.d.ts +6 -27
- package/ad-native/es/index.d.ts +6 -27
- package/aftenposten/cjs/index.d.ts +6 -27
- package/aftenposten/cjs/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-L974EDzB.js +1 -0
- package/aftenposten/es/{events-BdUUv4z9.js → events-CkLJUb-5.js} +1 -1
- package/aftenposten/es/{index-B0GbVMVf.js → index-C4ZQMHYC.js} +1 -1
- package/aftenposten/es/{index-DKtW-pTb.js → index-CW8VMOwK.js} +1 -1
- package/aftenposten/es/{index-DapT0kRB.js → index-C_iG6d9g.js} +1 -1
- package/aftenposten/es/{index-ChQz2fSU.js → index-CgSnoBXU.js} +1 -1
- package/aftenposten/es/{index-C_ljmtA9.js → index-CnYpe4mL.js} +1 -1
- package/aftenposten/es/{index-DkhtWF8d.js → index-CxJJVrjL.js} +1 -1
- package/aftenposten/es/{index-cS_ROIVL.js → index-DAvxRcnl.js} +1 -1
- package/aftenposten/es/{index-pwlm_8K9.js → index-uDShtrdR.js} +1 -1
- package/aftenposten/es/index.d.ts +6 -27
- package/aftenposten/es/index.js +1 -1
- package/aftenposten/es/{styles-B8dOeQvd.js → styles-BGhcSpIy.js} +1 -1
- package/aftenposten/es/{styles-Dmx2lehx.js → styles-BQUsSUiV.js} +1 -1
- package/aftenposten/es/{styles-CvqBpTZq.js → styles-BYBuLnVh.js} +1 -1
- package/aftenposten/es/{styles-C8Zgiulr.js → styles-CJrANtEe.js} +1 -1
- package/aftenposten/es/{styles-e0EN2V-x.js → styles-D41D_3c2.js} +1 -1
- package/aftenposten/es/{styles-BQ-lJJ7T.js → styles-Dr_e1jag.js} +1 -1
- package/aftenposten/es/{styles-Cf0KXpQR.js → styles-DvDK9oXO.js} +1 -1
- package/aftenposten/es/{styles-Dd4NzezP.js → styles-i4kY7sXr.js} +1 -1
- package/aftenposten/es/{styles-poVB2pbH.js → styles-iAKwgJNx.js} +1 -1
- package/aftenposten/es/{styles-R1ul5aQy.js → styles-sdEjixvm.js} +1 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-DMM-4RA7.js +1 -0
- package/aftenpostenv2/es/{events-DcWIew6H.js → events-BxW07Vyt.js} +1 -1
- package/aftenpostenv2/es/{index-CrKzCfAy.js → index-3Tuu__mL.js} +1 -1
- package/aftenpostenv2/es/{index-C7WYLENT.js → index-3mUeQgOt.js} +1 -1
- package/aftenpostenv2/es/{index-DF_5taAR.js → index-BppZr4in.js} +1 -1
- package/aftenpostenv2/es/{index-lNsi3PkQ.js → index-Bqt9ZOPh.js} +1 -1
- package/aftenpostenv2/es/{index-DZzhmxxW.js → index-BrrhDONf.js} +1 -1
- package/aftenpostenv2/es/{index-Dcvv755W.js → index-Cv0vs9ZB.js} +1 -1
- package/aftenpostenv2/es/{index-AopMILqF.js → index-JoVNTImw.js} +1 -1
- package/aftenpostenv2/es/{index-CcSUoH4K.js → index-SS8z5zn-.js} +1 -1
- package/aftenpostenv2/es/index.d.ts +6 -27
- package/aftenpostenv2/es/index.js +1 -1
- package/aftenpostenv2/es/{styles-BAw6-DTz.js → styles-5XyB8Ew1.js} +1 -1
- package/aftenpostenv2/es/{styles-BM1Sl2Gt.js → styles-BMa3nzTX.js} +1 -1
- package/aftenpostenv2/es/{styles-DJS8FgJN.js → styles-BTLkRl-O.js} +1 -1
- package/aftenpostenv2/es/{styles-DE8b2eKw.js → styles-BlWUm-9I.js} +1 -1
- package/aftenpostenv2/es/{styles-BtZEv20p.js → styles-C2rCuNVV.js} +1 -1
- package/aftenpostenv2/es/{styles-CIIzxpxi.js → styles-DA2at2Iy.js} +1 -1
- package/aftenpostenv2/es/{styles-BDLsV2h0.js → styles-DdF1jujA.js} +1 -1
- package/aftenpostenv2/es/{styles-P6wiFv7t.js → styles-DoewB6PU.js} +1 -1
- package/aftenpostenv2/es/{styles-IW7sRlQb.js → styles-E9tbW8L0.js} +1 -1
- package/aftenpostenv2/es/{styles-Bj5ghS1X.js → styles-PfUeF6wJ.js} +1 -1
- package/aftonbladet/cjs/index.d.ts +6 -27
- package/aftonbladet/cjs/index.js +1 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-Chl9fV3M.js +1 -0
- package/aftonbladet/es/{events-IGtjvn9p.js → events-AW2jeJPh.js} +1 -1
- package/aftonbladet/es/{index-CWKXxJLi.js → index-BovshLzn.js} +1 -1
- package/aftonbladet/es/{index-Caooy7VZ.js → index-C1f5dED9.js} +1 -1
- package/aftonbladet/es/{index-D6pMj_OI.js → index-DGWY8ong.js} +1 -1
- package/aftonbladet/es/{index-CHU0K-b3.js → index-DMtcw_LJ.js} +1 -1
- package/aftonbladet/es/{index-BJEVa6xU.js → index-DvOveo9l.js} +1 -1
- package/aftonbladet/es/{index-BhKqdx8_.js → index-i56f2ceW.js} +1 -1
- package/aftonbladet/es/{index-D3BbAZHM.js → index-pd3CovR5.js} +1 -1
- package/aftonbladet/es/{index-CxookX-2.js → index-wElPXNjB.js} +1 -1
- package/aftonbladet/es/index.d.ts +6 -27
- package/aftonbladet/es/index.js +1 -1
- package/aftonbladet/es/{styles-BbdwnbjB.js → styles-94cz4bmf.js} +1 -1
- package/aftonbladet/es/{styles-l3rELDcP.js → styles-Bp2XC9sf.js} +1 -1
- package/aftonbladet/es/{styles-vt9VlFI1.js → styles-CHQp7ucI.js} +1 -1
- package/aftonbladet/es/{styles-CneLnMG-.js → styles-CXEzgyiO.js} +1 -1
- package/aftonbladet/es/{styles-B_1G3J8x.js → styles-Dywtl8-u.js} +1 -1
- package/aftonbladet/es/{styles-DYVEy61p.js → styles-xMQUCiwu.js} +1 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-BoknxE8o.js +1 -0
- package/aftonbladetv2/es/{events-DUSi9AAZ.js → events-K75LKHxT.js} +1 -1
- package/aftonbladetv2/es/{index-CZlvEwnW.js → index-B1Qht-9I.js} +1 -1
- package/aftonbladetv2/es/{index-Bcz4aUWR.js → index-B77RG5Zl.js} +1 -1
- package/aftonbladetv2/es/{index-BLCl5ZdU.js → index-BApw_90Y.js} +1 -1
- package/aftonbladetv2/es/{index-GJk0lNdn.js → index-BVxGaG8z.js} +1 -1
- package/aftonbladetv2/es/{index-DfBkkkvU.js → index-CSUGHdI8.js} +1 -1
- package/aftonbladetv2/es/{index-ChmNC_fC.js → index-D4NKuqAo.js} +1 -1
- package/aftonbladetv2/es/{index-Jfir0E9v.js → index-DFO6qBkk.js} +1 -1
- package/aftonbladetv2/es/{index-CdYhVWhS.js → index-ggReCzzX.js} +1 -1
- package/aftonbladetv2/es/index.d.ts +6 -27
- package/aftonbladetv2/es/index.js +1 -1
- package/aftonbladetv2/es/{styles-Ckoizx2L.js → styles-BGj3dtS3.js} +1 -1
- package/aftonbladetv2/es/{styles-CGV7U9oK.js → styles-BVnnQb0V.js} +1 -1
- package/aftonbladetv2/es/{styles-D8Ya94d4.js → styles-C8iCSNhJ.js} +1 -1
- package/aftonbladetv2/es/{styles-CTR9osUQ.js → styles-CXH6_FsD.js} +1 -1
- package/aftonbladetv2/es/{styles-C2EUpfcA.js → styles-D_lLdpko.js} +1 -1
- package/aftonbladetv2/es/{styles-BW540-He.js → styles-DwQKuFLL.js} +1 -1
- package/bt/cjs/index.d.ts +6 -27
- package/bt/cjs/index.js +1 -1
- package/bt/es/_auto-entry_bt-C59SN72J.js +1 -0
- package/bt/es/{events-e79PURVK.js → events-BCsPjZ01.js} +1 -1
- package/{sa/es/index-CsLiSVuW.js → bt/es/index-B4yDPMtR.js} +1 -1
- package/bt/es/{index-DkfBi2Yr.js → index-BW_JGUXf.js} +1 -1
- package/bt/es/{index-Br2GZL3S.js → index-C8TkItiO.js} +1 -1
- package/bt/es/{index-B4efIi6B.js → index-CcYiRKcs.js} +1 -1
- package/bt/es/{index-VicIknhs.js → index-Coo3QeQq.js} +1 -1
- package/bt/es/{index-BCITuOKt.js → index-D9CaaUAH.js} +1 -1
- package/bt/es/{index-CfGTqWHB.js → index-DVn_jfgU.js} +1 -1
- package/bt/es/{index-Ble0HNAL.js → index-DyYAO8TD.js} +1 -1
- package/bt/es/index.d.ts +6 -27
- package/bt/es/index.js +1 -1
- package/{sa/es/styles-DmxGH8LS.js → bt/es/styles-B1zs3B6u.js} +1 -1
- package/{sa/es/styles-C265I3ui.js → bt/es/styles-BJgdr24y.js} +1 -1
- package/bt/es/{styles-V6NyO8CO.js → styles-Bo7MAc9A.js} +1 -1
- package/bt/es/{styles-DDXhGRHY.js → styles-BzRaHQck.js} +1 -1
- package/bt/es/{styles-BRkymHpC.js → styles-Bzrg5Hh8.js} +1 -1
- package/bt/es/{styles-1fY0S9gh.js → styles-DIw4w89b.js} +1 -1
- package/bt/es/{styles-DbidWe0Z.js → styles-DZSgv7bK.js} +1 -1
- package/bt/es/{styles-UB5Sj-JP.js → styles-TVzrs_9H.js} +1 -1
- package/bt/es/{styles-BQ6Zagkv.js → styles-YI_PiYyl.js} +1 -1
- package/btv2/es/_auto-entry_btv2-CiX419-1.js +1 -0
- package/btv2/es/{events-DWbA1yJI.js → events-D93X9dGF.js} +1 -1
- package/btv2/es/{index-D-VoD7Rn.js → index-B0SAQmUG.js} +1 -1
- package/btv2/es/{index-CMIm7eJa.js → index-BAsJo9X-.js} +1 -1
- package/btv2/es/{index-CbKhLQ71.js → index-BBSVzTY8.js} +1 -1
- package/btv2/es/{index-CmYG9TmN.js → index-CWW3ifU3.js} +1 -1
- package/btv2/es/{index-Dc3aKlrr.js → index-D7dmFtat.js} +1 -1
- package/btv2/es/{index-DShbLut5.js → index-DBigGtRo.js} +1 -1
- package/btv2/es/{index-DllNqk9Z.js → index-YrNd9POU.js} +1 -1
- package/btv2/es/{index-D95XQOb1.js → index-iuJ3N4n8.js} +1 -1
- package/btv2/es/index.d.ts +6 -27
- package/btv2/es/index.js +1 -1
- package/{vgv2/es/styles-Dt3_EHGE.js → btv2/es/styles-B-s1QSL6.js} +1 -1
- package/btv2/es/{styles-Beb5i1JJ.js → styles-BRcWosi4.js} +1 -1
- package/{sav2/es/styles-CCVahElC.js → btv2/es/styles-D4PpxzHo.js} +1 -1
- package/{sav2/es/styles-BH4mt2Zh.js → btv2/es/styles-DdJeQ9JB.js} +1 -1
- package/{sav2/es/styles-CdHzLcOB.js → btv2/es/styles-LekY5EdG.js} +1 -1
- package/btv2/es/{styles-CzOVz7GX.js → styles-MjYyfrnu.js} +1 -1
- package/{sav2/es/styles-0zU2Afam.js → btv2/es/styles-TdgvNpp9.js} +1 -1
- package/{vgv2/es/styles-Cr5Fs5YF.js → btv2/es/styles-Z5kN_R8q.js} +1 -1
- package/dr-edition/cjs/index.d.ts +6 -13
- package/dr-edition/cjs/index.js +1 -1
- package/dr-edition/es/index.d.ts +6 -13
- package/dr-edition/es/index.js +1 -1
- package/e24/es/_auto-entry_e24-BcOP-GTB.js +1 -0
- package/e24/es/{events-8oWxK8Fm.js → events-CwPi36i7.js} +1 -1
- package/e24/es/{index-B4CZvSXL.js → index-B4x9AwdH.js} +1 -1
- package/{tv4/es/index-D_WaHIAK.js → e24/es/index-BfW6AiHQ.js} +1 -1
- package/e24/es/{index-BUkXE3O2.js → index-BsRfZ8Fu.js} +1 -1
- package/e24/es/{index-DG1bJJNc.js → index-C1RYOSlQ.js} +1 -1
- package/e24/es/{index-7zdjryBD.js → index-C3TaB2eQ.js} +1 -1
- package/e24/es/{index-Oewlw7Sn.js → index-CA8CD5Aq.js} +1 -1
- package/e24/es/{index-BJWHHKPL.js → index-CKgIOlfr.js} +1 -1
- package/e24/es/{index-DGv329Av.js → index-D15jDLfv.js} +1 -1
- package/e24/es/index.d.ts +6 -27
- package/e24/es/index.js +1 -1
- package/e24/es/{styles-CLbzPfFd.js → styles-B9Ue1QSC.js} +1 -1
- package/e24/es/{styles-CcOkuOfr.js → styles-BB25I55n.js} +1 -1
- package/e24/es/{styles-Dbpp0W0o.js → styles-BLL1PLxn.js} +1 -1
- package/e24/es/{styles-BQNdcZSJ.js → styles-CAmx-W9Q.js} +1 -1
- package/e24/es/{styles-D-IZsxVS.js → styles-CNdtIj0i.js} +1 -1
- package/e24/es/{styles-D7k76BFk.js → styles-CZtRaIpp.js} +1 -1
- package/e24/es/{styles-DjQsLdnn.js → styles-DUUW2x7M.js} +1 -1
- package/e24/es/{styles-Dieie13I.js → styles-DX6Ss-44.js} +1 -1
- package/e24/es/{styles-NQUQlHqi.js → styles-DpdUunFB.js} +1 -1
- package/{tv4/es/styles-B9dFHoiV.js → e24/es/styles-j3Oj14O_.js} +1 -1
- package/e24/es/{styles-VEo6IZcm.js → styles-rpVbf04-.js} +1 -1
- package/editory/cjs/index.d.ts +6 -27
- package/editory/es/index.d.ts +6 -27
- package/fotbollskanalen/cjs/index.d.ts +6 -27
- package/fotbollskanalen/cjs/index.js +1 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-D4gX_tMO.js +1 -0
- package/fotbollskanalen/es/{events-FpRT23ZZ.js → events-BBGCKK0X.js} +1 -1
- package/fotbollskanalen/es/{index-CFC2qCZk.js → index-BJA7P5N7.js} +1 -1
- package/fotbollskanalen/es/{index-Byq7YtvA.js → index-BQIkMmku.js} +1 -1
- package/fotbollskanalen/es/{index-BHG4pc98.js → index-BV4F3PAR.js} +1 -1
- package/fotbollskanalen/es/{index-DxE0VElJ.js → index-CECI6pIY.js} +1 -1
- package/fotbollskanalen/es/{index-B5NH2IkJ.js → index-CH8RgPjA.js} +1 -1
- package/fotbollskanalen/es/{index-DDGOVmpS.js → index-CRKULHQX.js} +1 -1
- package/fotbollskanalen/es/{index-g58X-f96.js → index-CX5rHjvI.js} +1 -1
- package/fotbollskanalen/es/{index-BUPmcSlI.js → index-CcxlxucR.js} +1 -1
- package/fotbollskanalen/es/index.d.ts +6 -27
- package/fotbollskanalen/es/index.js +1 -1
- package/fotbollskanalen/es/{styles-CLQOoJGF.js → styles-BUTOJ6zV.js} +1 -1
- package/godt/cjs/index.d.ts +6 -27
- package/godt/cjs/index.js +1 -1
- package/kilkaya/cjs/index.d.ts +5 -27
- package/kilkaya/es/index.d.ts +5 -27
- package/klart/cjs/index.d.ts +6 -27
- package/klart/cjs/index.js +1 -1
- package/koket/cjs/index.d.ts +6 -27
- package/koket/cjs/index.js +1 -1
- package/koket/es/_auto-entry_koket-CjMY8u2T.js +1 -0
- package/koket/es/{events-C5iJPAr5.js → events-CcRFzrCr.js} +1 -1
- package/koket/es/{index-BeO4rcvy.js → index-ACSDkso5.js} +1 -1
- package/koket/es/{index-BhiCfvRb.js → index-B-_973fx.js} +1 -1
- package/koket/es/{index-G9hUyJfl.js → index-BmGl93ar.js} +1 -1
- package/{svdv2/es/index-DKgFd8BC.js → koket/es/index-D4EwFyth.js} +1 -1
- package/koket/es/{index-8lrNvRkU.js → index-DFaXclIe.js} +1 -1
- package/koket/es/{index-BTa20fDA.js → index-D_bHd2TN.js} +1 -1
- package/koket/es/{index-CFuuJHk_.js → index-DejpDywZ.js} +1 -1
- package/koket/es/{index-CUnZcQ5_.js → index-HTTXZw1b.js} +1 -1
- package/koket/es/index.d.ts +6 -27
- package/koket/es/index.js +1 -1
- package/{svdv2/es/styles-CGPf0BAr.js → koket/es/styles-DY1sM9Ms.js} +1 -1
- package/minmote/cjs/index.d.ts +6 -27
- package/minmote/cjs/index.js +1 -1
- package/package.json +1 -1
- package/pent/cjs/index.d.ts +6 -27
- package/pent/cjs/index.js +1 -1
- package/sa/cjs/index.d.ts +6 -27
- package/sa/cjs/index.js +1 -1
- package/sa/es/_auto-entry_sa-7lN3i_4E.js +1 -0
- package/sa/es/{events-Czp1Bf7L.js → events-D1Yp2KZl.js} +1 -1
- package/{bt/es/index-q6gQRPQi.js → sa/es/index-BL4qnmTe.js} +1 -1
- package/sa/es/{index-BlWGftLo.js → index-C0aUr70E.js} +1 -1
- package/sa/es/{index-DRrfqemd.js → index-CZAcPaJP.js} +1 -1
- package/sa/es/{index-BK2Woo0V.js → index-CcxJsduD.js} +1 -1
- package/sa/es/{index-DVJ3uiHQ.js → index-DMhgSAW_.js} +1 -1
- package/sa/es/{index-B6QpNnPz.js → index-DgBa3jSN.js} +1 -1
- package/sa/es/{index-RJ0AwbAy.js → index-DppDyS6x.js} +1 -1
- package/sa/es/{index-BgzaHxEB.js → index-noGTFVjC.js} +1 -1
- package/sa/es/index.d.ts +6 -27
- package/sa/es/index.js +1 -1
- package/sa/es/{styles-BIEPgknJ.js → styles-B4csxbMn.js} +1 -1
- package/{vg/es/styles-BxHcjj-n.js → sa/es/styles-B4mgn7BF.js} +1 -1
- package/sa/es/{styles-DE-5r6jI.js → styles-BD4XZJWJ.js} +1 -1
- package/{vg/es/styles-CDe9glwP.js → sa/es/styles-BFzSM_xl.js} +1 -1
- package/{bt/es/styles-C6Hn-Ylj.js → sa/es/styles-CoVf9Ldf.js} +1 -1
- package/sa/es/{styles-DbqMID7Q.js → styles-CtEjUa3l.js} +1 -1
- package/sa/es/{styles-x_RZ8LfI.js → styles-DFsx2LuZ.js} +1 -1
- package/sa/es/{styles-BvK_Hm8A.js → styles-DeNeSheJ.js} +1 -1
- package/sa/es/{styles-BZbbl3__.js → styles-xPxMHHKZ.js} +1 -1
- package/sav2/es/_auto-entry_sav2-CYtMceNy.js +1 -0
- package/sav2/es/{events-BI8lwyAS.js → events-1Q5148ck.js} +1 -1
- package/sav2/es/{index-VFT0zh22.js → index-BPo_4KE2.js} +1 -1
- package/sav2/es/{index-jUIaqg6x.js → index-BUZndUcv.js} +1 -1
- package/sav2/es/{index-BgPfftGv.js → index-BZYmpnJK.js} +1 -1
- package/sav2/es/{index-BQ8oAuHr.js → index-CcP1uKnq.js} +1 -1
- package/sav2/es/{index-Dd4x--40.js → index-CnwhjP_7.js} +1 -1
- package/sav2/es/{index-GTPIp0mQ.js → index-DIFkXcJC.js} +1 -1
- package/sav2/es/{index-Dm0CwDko.js → index-DJl6ESIK.js} +1 -1
- package/sav2/es/{index-CFYdF9nM.js → index-ci21nrCe.js} +1 -1
- package/sav2/es/index.d.ts +6 -27
- package/sav2/es/index.js +1 -1
- package/{btv2/es/styles-BIeAmWTL.js → sav2/es/styles-BOcfXzWP.js} +1 -1
- package/{vgv2/es/styles-BVfmnN3W.js → sav2/es/styles-CYAafPX1.js} +1 -1
- package/{btv2/es/styles-es1ee8SC.js → sav2/es/styles-Cl7QGPMr.js} +1 -1
- package/sav2/es/{styles-BMp80jah.js → styles-Ctf5P6DC.js} +1 -1
- package/sav2/es/{styles-CZnBwaC3.js → styles-DDIlB1Y2.js} +1 -1
- package/sav2/es/{styles-Lru4uD64.js → styles-DbHWSQE3.js} +1 -1
- package/sav2/es/{styles-BR_5kDUe.js → styles-p04tBhNA.js} +1 -1
- package/{btv2/es/styles-DjvA7hfT.js → sav2/es/styles-trwIJsVA.js} +1 -1
- package/svd/cjs/index.d.ts +6 -27
- package/svd/cjs/index.js +1 -1
- package/svd/es/_auto-entry_svd-CcXf5X53.js +1 -0
- package/svd/es/{events-CWFgkDG1.js → events-CAyr0MvV.js} +1 -1
- package/svd/es/{index-BP41ecWy.js → index-B1KRS_gd.js} +1 -1
- package/svd/es/{index-C3cDOsuZ.js → index-BSy9yykH.js} +1 -1
- package/{e24/es/index-fEZDTay_.js → svd/es/index-CRw1oq8t.js} +1 -1
- package/svd/es/{index-Bya6Uq5B.js → index-D6dvlZKL.js} +1 -1
- package/svd/es/{index-D5ggf8Xp.js → index-DCS86DTE.js} +1 -1
- package/svd/es/{index-BKe3qaf7.js → index-De8q4eda.js} +1 -1
- package/svd/es/{index-CCt9DWBH.js → index-IykVIupN.js} +1 -1
- package/svd/es/{index-BcNPzl4P.js → index-SJ-oZBr7.js} +1 -1
- package/svd/es/index.d.ts +6 -27
- package/svd/es/index.js +1 -1
- package/svd/es/{styles-C7-tNUeS.js → styles-B8g_sSad.js} +1 -1
- package/svd/es/{styles-BWNs7vrn.js → styles-Ch6LFn56.js} +1 -1
- package/svd/es/{styles-CcAVJGfE.js → styles-D041et3T.js} +1 -1
- package/svd/es/{styles-CI0tJc6e.js → styles-DAHPfLcN.js} +1 -1
- package/svd/es/{styles-u3GakbDH.js → styles-DViGYmgw.js} +1 -1
- package/svd/es/{styles-DUN-Sq2Q.js → styles-DYcvVuwH.js} +1 -1
- package/svdv2/es/_auto-entry_svdv2-C9hPjpZ1.js +1 -0
- package/svdv2/es/{events-CbogHJk0.js → events-DVHQuO-l.js} +1 -1
- package/svdv2/es/{index-aN0srUEo.js → index-BEWhY4C-.js} +1 -1
- package/svdv2/es/{index-DaAnuF-t.js → index-BM5HqvGJ.js} +1 -1
- package/svdv2/es/{index-BnEvrjDt.js → index-C5ts6bfN.js} +1 -1
- package/svdv2/es/{index-4lmCFsSW.js → index-CqcbXIvu.js} +1 -1
- package/svdv2/es/{index-D3McYvBy.js → index-CtCEFEXS.js} +1 -1
- package/svdv2/es/{index-LihWROT2.js → index-Dp4qRGnd.js} +1 -1
- package/svdv2/es/{index-DQEHhVgW.js → index-qk37NMxk.js} +1 -1
- package/{koket/es/index-DFkHEsQ5.js → svdv2/es/index-xHCvEKjy.js} +1 -1
- package/svdv2/es/index.d.ts +6 -27
- package/svdv2/es/index.js +1 -1
- package/svdv2/es/{styles-P6IOCdoC.js → styles-B8FGfCwM.js} +1 -1
- package/svdv2/es/{styles-CKXTdzs6.js → styles-BLf9rPtA.js} +1 -1
- package/svdv2/es/{styles-Eh1GkHPx.js → styles-BhVi87CV.js} +1 -1
- package/{koket/es/styles-BQIPgsRh.js → svdv2/es/styles-DUej-Dcn.js} +1 -1
- package/svdv2/es/{styles-tlqB4rsT.js → styles-Dz5UM9LT.js} +1 -1
- package/svdv2/es/{styles-Dci-bvKU.js → styles-pl7Fsf1F.js} +1 -1
- package/tek/cjs/index.d.ts +6 -27
- package/tek/cjs/index.js +1 -1
- package/tracker/cjs/index.d.ts +6 -27
- package/tracker/cjs/index.js +1 -1
- package/tracker/es/index.d.ts +6 -27
- package/tracker/es/index.js +1 -1
- package/tv4/cjs/index.d.ts +6 -27
- package/tv4/cjs/index.js +1 -1
- package/tv4/es/_auto-entry_tv4-D6QUlOGu.js +1 -0
- package/tv4/es/{events-Bn0rJup8.js → events-2jmuFwPv.js} +1 -1
- package/tv4/es/{index-BPa0_w5G.js → index-BFJ6NYug.js} +1 -1
- package/tv4/es/{index-Cq1qeKSR.js → index-C1_IsBWE.js} +1 -1
- package/tv4/es/{index-B6yq5Gyv.js → index-CSbU63tE.js} +1 -1
- package/{svd/es/index-CLVC_R25.js → tv4/es/index-DMlt94hA.js} +1 -1
- package/tv4/es/{index-gT_GHXn7.js → index-DOAMAKc6.js} +1 -1
- package/tv4/es/{index-BWEU3m94.js → index-DaQF96OY.js} +1 -1
- package/tv4/es/{index-BJji2ATp.js → index-Dw2XZevO.js} +1 -1
- package/tv4/es/{index-BkFrwx_r.js → index-iwrEyclI.js} +1 -1
- package/tv4/es/index.d.ts +6 -27
- package/tv4/es/index.js +1 -1
- package/{e24/es/styles-IKoxXgO0.js → tv4/es/styles-wMTOdgVy.js} +1 -1
- package/tvnu/cjs/index.d.ts +6 -27
- package/tvnu/cjs/index.js +1 -1
- package/types/index.d.ts +8 -28
- package/vg/cjs/index.d.ts +6 -27
- package/vg/cjs/index.js +1 -1
- package/vg/es/_auto-entry_vg-DCN51I7H.js +1 -0
- package/vg/es/{events-BsbXyYJY.js → events-_F816LlL.js} +1 -1
- package/vg/es/{index-CbihXkGs.js → index-B4TbVkdg.js} +1 -1
- package/vg/es/{index-Bf04WCFs.js → index-BCAHpOU5.js} +1 -1
- package/vg/es/{index-zknvo2nh.js → index-BrBCQN0j.js} +1 -1
- package/vg/es/{index-BjFWFokY.js → index-C_CBrDxw.js} +1 -1
- package/vg/es/{index-B0l-K3Nm.js → index-DHbJwRsI.js} +1 -1
- package/vg/es/{index-DXTyIRph.js → index-KezQH-Au.js} +1 -1
- package/vg/es/{index-DiHKSlZN.js → index-N3gpRdKw.js} +1 -1
- package/vg/es/{index-DRb6TbCy.js → index-o4O5PGe4.js} +1 -1
- package/vg/es/index.d.ts +6 -27
- package/vg/es/index.js +1 -1
- package/{sa/es/styles-CgQ3pAiP.js → vg/es/styles--P_vgWp3.js} +1 -1
- package/vg/es/{styles-ByLB3fAX.js → styles-B1ONLCDW.js} +1 -1
- package/vg/es/{styles-DxISXjJx.js → styles-BB-RLwES.js} +1 -1
- package/vg/es/{styles-DthpO9K3.js → styles-BDZGucUK.js} +1 -1
- package/vg/es/{styles-B63x2SpC.js → styles-Bjytg9wh.js} +1 -1
- package/vg/es/{styles-CpI8Vlow.js → styles-BzYwS1x1.js} +1 -1
- package/vg/es/{styles-BexolDY4.js → styles-CCrnACmI.js} +1 -1
- package/vg/es/{styles-BUtIGfqi.js → styles-Cq8kEP3T.js} +1 -1
- package/{bt/es/styles-DNutfDj8.js → vg/es/styles-D--DlZcQ.js} +1 -1
- package/vg/es/{styles-CIXqdJYT.js → styles-DEsw9bws.js} +1 -1
- package/vg/es/{styles-VY3hon_C.js → styles-DKSuCiYL.js} +1 -1
- package/vg/es/{styles-DP0QUZVe.js → styles-DuQA0ned.js} +1 -1
- package/vg/es/{styles-CWBxD9zM.js → styles-HfQ2Bw4j.js} +1 -1
- package/vg/es/{styles-fArum_w2.js → styles-QCz83xca.js} +1 -1
- package/vg/es/{styles-b8Bmj5zP.js → styles-qN5fKc5G.js} +1 -1
- package/vgv2/es/_auto-entry_vgv2-dY4HLUWQ.js +1 -0
- package/vgv2/es/{events-B9GLUG_c.js → events-BVlUWgkZ.js} +1 -1
- package/vgv2/es/{index-CRmtQ0Ln.js → index-Be1U_7hX.js} +1 -1
- package/vgv2/es/{index-CFD6e815.js → index-D1u_nNAC.js} +1 -1
- package/vgv2/es/{index-gk_94DrP.js → index-D7zGMTbw.js} +1 -1
- package/vgv2/es/{index-C1qvZ43-.js → index-DSTmb9fj.js} +1 -1
- package/vgv2/es/{index-BrQmd96n.js → index-DZakoyGE.js} +1 -1
- package/vgv2/es/{index-BPI8SWbT.js → index-Dfyk8zqB.js} +1 -1
- package/vgv2/es/{index-DNJnGBOC.js → index-Jd5JbfxT.js} +1 -1
- package/vgv2/es/{index-CWzszIrQ.js → index-v1fusTbm.js} +1 -1
- package/vgv2/es/index.d.ts +6 -27
- package/vgv2/es/index.js +1 -1
- package/{btv2/es/styles-kWtSX6kZ.js → vgv2/es/styles-BGfVrOld.js} +1 -1
- package/vgv2/es/{styles-COdKCQnY.js → styles-BRb-E28-.js} +1 -1
- package/vgv2/es/{styles-D1hkQkrv.js → styles-BwMi8WAK.js} +1 -1
- package/vgv2/es/{styles-fmVnipjj.js → styles-C1YzMcPd.js} +1 -1
- package/vgv2/es/{styles-BveOiWvC.js → styles-CGB8DO1i.js} +1 -1
- package/vgv2/es/{styles-By7C17yJ.js → styles-CO-LmaM6.js} +1 -1
- package/vgv2/es/{styles-Ze0zbpIu.js → styles-CiPzVCHi.js} +1 -1
- package/vgv2/es/{styles-BypJiXcH.js → styles-DLgSAUke.js} +1 -1
- package/{btv2/es/styles--PBvFHeQ.js → vgv2/es/styles-DMDuPP_D.js} +1 -1
- package/vgv2/es/{styles-DNcC9ILz.js → styles-DfTP6PLL.js} +1 -1
- package/vgv2/es/{styles-CXtejXaY.js → styles-DmDZ7S9j.js} +1 -1
- package/vgv2/es/{styles-C7Zup_OS.js → styles-DoBHIUno.js} +1 -1
- package/vgv2/es/{styles-Ca6cxxB-.js → styles-FBNpPyVP.js} +1 -1
- package/vgv2/es/{styles-DpUl3Suf.js → styles-N0XhjYgn.js} +1 -1
- package/{btv2/es/styles-BFs5C1e2.js → vgv2/es/styles-mZg1EZhi.js} +1 -1
- package/video/cjs/index.js +1 -1
- package/video/es/index.js +1 -1
- package/aftenposten/es/_auto-entry_aftenposten-KOEDRGMj.js +0 -1
- package/aftenpostenv2/es/_auto-entry_aftenpostenv2-B5bkdkn2.js +0 -1
- package/aftonbladet/es/_auto-entry_aftonbladet-Czkvey-5.js +0 -1
- package/aftonbladetv2/es/_auto-entry_aftonbladetv2-CI9xcMRh.js +0 -1
- package/bt/es/_auto-entry_bt-CI6IkXgn.js +0 -1
- package/btv2/es/_auto-entry_btv2-Byn2KJna.js +0 -1
- package/e24/es/_auto-entry_e24-Chx1wkKd.js +0 -1
- package/fotbollskanalen/es/_auto-entry_fotbollskanalen-BjtGQ3_l.js +0 -1
- package/koket/es/_auto-entry_koket-B2WlSuMx.js +0 -1
- package/sa/es/_auto-entry_sa-DR1Eak8R.js +0 -1
- package/sav2/es/_auto-entry_sav2-Buoo9FKC.js +0 -1
- package/svd/es/_auto-entry_svd-BH3Ngjrt.js +0 -1
- package/svdv2/es/_auto-entry_svdv2-D3Q-Cwuh.js +0 -1
- package/tv4/es/_auto-entry_tv4-CQemRCV3.js +0 -1
- package/vg/es/_auto-entry_vg-Ysm3SmZS.js +0 -1
- package/vgv2/es/_auto-entry_vgv2-CXADx6AD.js +0 -1
package/video/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e,t,n,i){return new(n||(n=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 t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}d((i=i.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const t=()=>e(void 0,void 0,void 0,function*(){return window.__tcfapi?{gdpr:1,gdpr_consent:yield(e=window.__tcfapi,new Promise((t,n)=>{e("addEventListener",2,(n,i)=>{var o;i||t(""),"tcloaded"!==n.eventStatus&&"useractioncomplete"!==n.eventStatus||(t(null!==(o=n.tcString)&&void 0!==o?o:""),e("removeEventListener",2,()=>{},n.listenerId))})}))}:{};var e}),n={NO:"no",SE:"se"},i={pageContext:{publisher:"aftonbladet",countryCode:n.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,t)=>t?"se-aftonbladet-{deviceType}-studio_{position}":`se-aftonbladet-tv-{deviceType}-${(e=>{var t;if(null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.afp)return"afp";const[,n]=r(e);return o[n]||"ovrigaavdelningar"})(e)}_{position}`,a=(e,t)=>{const n="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(t?console.log(n,e,t):console.log(n,e))},d=(e,t)=>{console.warn("[Advertory WARN]: ",e)},l={aftonbladet:i},c={aftonbladet:(e,t)=>{if(!e)return null;return{invCode:s(e,t),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",j="3-4",E="9-16",A="responsive",$={[_]:1,[S]:1.78,[E]:.56,[A]:1},k={[_]:1,[S]:1.78,[j]:1.33,[E]:.56},N=(e,t,n,i)=>{const{invCode:o="",videoOverlayInvCode:r}=null!=e?e:{},s=v===n?f:y,a=o.replace(C,s);return(e,n)=>{if(e===O)return(e=>e.replace("tv-","").replace("-afp_","-afp-").replace(P,O).replace(/-([a-z]+)_/,"-article-"))(a);if(n&&T.has(e)){return(i&&r?r:t.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 n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,i){return e.concat(t).map(function(e){return n(e,i)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function r(e,t){try{return t in e}catch(e){return!1}}function s(e,t,i){var s={};return i.isMergeableObject(e)&&o(e).forEach(function(t){s[t]=n(e[t],i)}),o(t).forEach(function(o){(function(e,t){return r(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(r(e,o)&&i.isMergeableObject(t[o])?s[o]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(o,i)(e[o],t[o],i):s[o]=n(t[o],i))}),s}function a(t,o,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=n;var a=Array.isArray(o);return a===Array.isArray(t)?a?r.arrayMerge(t,o,r):s(t,o,r):n(o,r)}return a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return a(e,n,t)},{})},M=a}());const U=["placements","takeover","refreshConfig","editory"],H={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,t)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},F=e=>{(e=>{const{pageContext:t,pageOptions:n,placements:i,appearanceConfig:o}=null!=e?e:{};(null==t?void 0:t.publisher)||d("pageContext.publisher is required."),(null==t?void 0:t.countryCode)||d("pageContext.countryCode is required."),(null==t?void 0:t.pageType)||d("pageContext.pageType is required."),(null==t?void 0:t.deviceType)||d("pageContext.deviceType is required."),n||d("pageOptions is required."),i||d("placements is required."),(null==o?void 0:o.defaultThreshold)||d("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var t,n,i;const o=e.pageSectionsSelectors,r=[{flag:!!(null===(t=e.takeover)||void 0===t?void 0:t.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(n=e.sponsorstripe)||void 0===n?void 0:n.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:t,featureName:n}of r)e&&!(null==o?void 0:o[t])&&d(`pageSectionsSelectors.${t} is required when ${n} 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 t={};for(const n of U){const i=e[n];void 0!==i&&(t[n]=i)}Object.assign(this.config,t),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 t=window.localStorage.getItem(e);if(!t)return null;try{return JSON.parse(t)}catch(e){return a("Error with parsing localStorage data"),null}},t=(e,t)=>{window.localStorage.setItem(e,JSON.stringify(t))};return{get:e,set:t,setWithTimestamp:(e,n,i=B)=>{const o={data:n,expirationTime:(new Date).getTime()+i};t(e,JSON.stringify(o))},getByTimestamp:(t,n=B)=>{const i=e(t);if(!i)return null;if(!n)return i;try{const{expirationTime:e,data:t}=JSON.parse(i);return(new Date).getTime()<=e?t:null}catch(e){return a("Error with parsing localStorage data"),null}}}})(),K=["glwe_","glwet_"],W={geofenceTags:[],geoTags:[],weatherTags:[]},z=e=>new Promise(t=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void t(!1);const n=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const t=Number(e);return a("Advertising permission value obtained synchronously: ",e),Boolean(t)})();if(null!==n)return void t(n);let i=!1;const o=e=>{i||(a("Resolving advertising permission value obtained"),i=!0,t(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 t=Number(e);a("Advertising permission value obtained asynchronously: ",e),o(Boolean(t))})}),J="cmp:loaded";let G="undefined"!=typeof window?window._tcf_:void 0,Q=!1;const Y=(t,i,o)=>{const r=!!(null==t?void 0:t.enabled),s=(null==t?void 0:t.timeout)||3e3,d=(l="bypass_tcf",new URLSearchParams(window.location.search).get(l));var l;const c=()=>{if(!(null==t?void 0:t.enabled))return!0;if(((e,t)=>e?!!t&&(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==t?void 0:t.enabled)?new Promise((e,t)=>{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 n=()=>{a("CMP loaded, resolving consent manager..."),i&&clearTimeout(i),window._tcf_?(G=window._tcf_,e(G)):t(new Error("CMP loaded but window._tcf_ is not defined"))},i=setTimeout(()=>{document.removeEventListener(J,n),Q=!0,t(new Error("Timeout waiting for CMP to load"))},s);a("Listening for CMP loaded event..."),document.addEventListener(J,n,{once:!0})}):Promise.resolve(null),getConsentSync:c,getConsentAsync:()=>e(void 0,void 0,void 0,function*(){if(null==t?void 0:t.schibstedAdChoicesOverrideValue)return a(`Schibsted Ad Choices override value is set, returning override value: ${t.schibstedAdChoicesOverrideValue}`),Boolean(Number(t.schibstedAdChoicesOverrideValue));const e=(null==t?void 0:t.advertisingCMPSignalEnabled)&&o===n.SE,i=(null==t?void 0:t.advertisingCMPSignalEnabled)&&o===n.NO;if(e||i)return a("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield z(t);if(!(null==t?void 0:t.enabled))return!0;const r=c();return null!==r?r:yield new Promise((e,t)=>{try{if(!G)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let t=!1;const n=n=>{t||(t=!0,e(n))},i=setTimeout(()=>{a("TCF isConsentedToAll timed out, resolving with false"),n(!1)},s);G.onTcfReady(()=>{a("On Tcf Ready called, waiting for consent"),clearTimeout(i)}),G.isConsentedToAll(t=>{clearTimeout(i),e(t)})}catch(e){t(e)}})})}},X=(t,n,i,...o)=>e(void 0,[t,n,i,...o],void 0,function*(e,t,n,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,n);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(t=>e.startsWith(t)),te=e=>e.startsWith("glgc_"),ne=e=>!ee(e)&&!te(e),ie=(t,i)=>e(void 0,void 0,void 0,function*(){const{addPublisherToGeo:i}={},{glimr:o,pageContext:{countryCode:r}={}}=t,s=yield((...t)=>e(void 0,[...t],void 0,function*(e=V.get()){const{tcf:t,pageContext:{isMobileApp:n,countryCode:i}={}}=e;if(null==t?void 0:t.schibstedConsentToPayEnabled)return yield X(t,n,i,"glimr");const{getConsentAsync:o}=Y(t,0,i);return yield o()}))(t);if(!(null==o?void 0:o.enabled)||!s)return a("No consent for getting glimr tags."),{};const d=(e=>e===n.NO?"no-sno":"se-generic")(r),l=oe(t,Boolean(i));return{[`${d}-geo`]:l.geoTags,[`${d}-weather`]:l.weatherTags,[`${d}-geofence`]:l.geofenceTags}}),oe=(e,t)=>{const n=re();if(!n)return W;const i=((e=[])=>e.filter(ee))(n),o=((e=[])=>e.filter(te))(n),r=((e=[],t,n)=>{var i;const o=e.filter(ne);if(n&&t){const{publisher:e}=null!==(i=t.pageContext)&&void 0!==i?i:{},n=Z[e]||e;o.push(n)}return o})(n,e,t);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="opaque",ae=t=>e(void 0,void 0,void 0,function*(){if(t.type!==se){if(!t.ok)throw new Error(t.statusText);return yield t.json()}}),de={get:(t,...n)=>e(void 0,[t,...n],void 0,function*(t,n={}){var{timeout:i}=n,o=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(n,["timeout"]);if(i)return((t,n,i)=>e(void 0,void 0,void 0,function*(){const e=new AbortController,o=setTimeout(()=>e.abort(),i);try{const i=yield fetch(t,Object.assign(Object.assign({},n),{signal:e.signal}));return ae(i)}finally{clearTimeout(o)}}))(t,o,i);const r=yield fetch(t,o);return ae(r)}),post:(t,n,i)=>e(void 0,void 0,void 0,function*(){const e=JSON.stringify(i),o=yield fetch(t,{method:"POST",headers:n,body:e});if(!o.ok)throw new Error(o.statusText);return yield o.json()})},le="advertory:ppids-cache",ce={[n.SE]:`SCH${n.SE.toUpperCase()}-EnvHash`,[n.NO]:`SCH${n.NO.toUpperCase()}-EnvHash`},ue={[n.SE]:`SCH${n.SE.toUpperCase()}-UserHash`,[n.NO]:`SCH${n.NO.toUpperCase()}-UserHash`},pe={[n.SE]:`sch${n.SE}-envhash-v3`,[n.NO]:`sch${n.NO}-envhash-v3`},ve={[n.SE]:`sch${n.SE}-userhash-v3`,[n.NO]:`sch${n.NO}-userhash-v3`},ge={[n.SE]:"sdrn:schibsted.com:user",[n.NO]:"sdrn:spid.no:user"};class he{constructor(){this.eids=[]}add(e,t){return e&&this.eids.push({id:e,source:t}),this}buildRyEids(){return this.eids.map(({id:e,source:t})=>({source:t,uids:[{id:e,atype:1,ext:{stype:"ppuid"}}]}))}buildEids(){return[...this.eids]}buildVideoEids(){return this.eids.map(({id:e,source:t})=>`${t},${e}`).join("|")}buildNorstatPath(){const e=this.eids[0];return e?`${e.source}-${e.id}`:""}buildNorstatQuery(e){const t=new URLSearchParams;return this.eids.slice(1).forEach(({id:n,source:i})=>{t.append(e,`${i}-${n}`)}),t}}const fe=new class{constructor(){this.ppid1=null,this.ppid2=null}processPPIDs(t){return e(this,arguments,void 0,function*(e,t=1e4){var n,i;const o=yield Promise.race([new Promise(e=>{setTimeout(()=>e({xandr:{ppId1:"",ppId2:""}}),t)}),e.instance.getAdvertisingIdentifiers()]);this.setPPIDs(null===(n=o.xandr)||void 0===n?void 0:n.ppId1,null===(i=o.xandr)||void 0===i?void 0:i.ppId2)})}getPPIDs(){var e,t;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!==(t=this.ppid2)&&void 0!==t?t:""}}setPPIDs(e,t){this.ppid1=null!=e?e:"",this.ppid2=null!=t?t:""}},ye=new class{constructor(){this.ppid1=null,this.ppid2=null,this.idfv=null,this.anId=null}processPPIDs(t,n){return e(this,void 0,void 0,function*(){var e,i,o,r,s,a,d,l,c,u,p;const v=q.get(le),g=yield this.getNewPPIDs(t,n);if(this.shouldHash(v,g)){const n=null!==(e=t.hasherUrl)&&void 0!==e?e:"https://hasher.schibsted.com/api/v1/hash",l=this.createHasherPayload(g),c=yield this.hashPPIDs(l,n);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,t;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!==(t=this.ppid2)&&void 0!==t?t:"",idfv:this.idfv,anId:this.anId}}setPPIDs(e,t,n,i){this.ppid1=null!=e?e:"",this.ppid2=null!=t?t:"",this.idfv=null!=n?n:null,this.anId=null!=i?i:null}shouldHash(e,t){var n,i;if(!e)return!0;for(const o in e){if((null===(n=e[o])||void 0===n?void 0:n.plain)!==(null===(i=t[o])||void 0===i?void 0:i.plain))return!0}return!1}cachePPIDs(e,t,n,i){const o=Object.assign(Object.assign({clientId:{plain:e.clientId},userId:{plain:e.userId,hashed:t.userId},environmentId:{plain:e.environmentId,hashed:t.environmentId},trackerType:{plain:e.trackerType},trackerVersion:{plain:e.trackerVersion}},n?{idfv:{plain:n}}:{}),i?{anId:{plain:i}}:{});q.set(le,o)}hashPPIDs(t,n){return e(this,void 0,void 0,function*(){try{const e=new Headers({"Content-Type":"application/json"});return yield de.post(n,e,t)}catch(e){return a("Error with hashing PPIDs",e),null}})}getNewPPIDs(t,n){return e(this,arguments,void 0,function*({clientId:t,instance:n},i){const o=yield((t,n)=>e(void 0,void 0,void 0,function*(){const e=yield t.getUserId();return e?`${ge[n]}:${e}`:null}))(n,i),r=yield(t=>e(void 0,void 0,void 0,function*(){const e=yield t.getEnvironmentId();return e?`sdrn:schibsted:environment:${e}`:null}))(n),s=window.advertory_idfv,a=window.advertory_anId;return Object.assign(Object.assign({clientId:{plain:t},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:t,trackerVersion:n,userId:i,environmentId:o}){return{clientId:e.plain,trackerType:t.plain,trackerVersion:n.plain,userId:i.plain,environmentId:o.plain}}},be=t=>e(void 0,void 0,void 0,function*(){const{tcf:e,pageContext:{isMobileApp:n,countryCode:i}={}}=t,{getConsentAsync:o}=Y(e,0,i);if(!(yield o()))return;const r=(e=>{const t=encodeURIComponent(e).replace(/[-.+*]/g,"\\$&"),n=new RegExp(`(?:(?:^|.*;)\\s*${t}\\s*\\=\\s*([^;]*).*$)|^.*$`);return decodeURIComponent(document.cookie.replace(n,"$1"))||null})("_pulse2data");return r?r.split(",")[9]:void 0}),me=()=>{const e=window.navigator.userAgent.toLowerCase(),t=[["win","windows"],["macintosh","macos"],["x11","linux"],["android","android"],["ipad","ios"],["iphone","ios"]].find(([t])=>e.includes(t));return t?t[1]:"unknown"},we=(e,t)=>{const n=Object.entries(e);return n.reduce((n,[i,o])=>{const r=Math.abs(e[n]-t);return Math.abs(o-t)<r?i:n},n[0][0])},Oe=()=>{var e,t;const n=jwplayer().getContainer(),i=null!==(t=null===(e=document.getElementById(n.id))||void 0===e?void 0:e.parentElement)&&void 0!==t?t:null;return i&&"number"==typeof i.offsetWidth&&"number"==typeof i.offsetHeight&&0!==i.offsetHeight?i.offsetWidth/i.offsetHeight:1},Ce=()=>{return(e=>{try{return decodeURIComponent(e)}catch(e){return""}})("undefined"!=typeof document&&null!==(t=null===(e=document.cookie.match("(^|;)\\s*_pulse2data\\s*=\\s*([^;]+)"))||void 0===e?void 0:e.pop())&&void 0!==t?t:"").split(",");var e,t},Pe=()=>{const e=null!==(t=Ce()[9])&&void 0!==t?t:null;var t;const n=(()=>{var e;return null!==(e=Ce()[2])&&void 0!==e?e:null})();return e?Number(Boolean(e))+Number(Boolean(n)):0},Ie=()=>Object.fromEntries(new URLSearchParams(window.location.search)),Te=(n,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:n.isApp,countryCode:s,publisher:r,pageType:"front",deviceType:n.deviceType},c=(yield X(o,n.isApp,s,"video"))?"1":"0",u=yield t(),p=yield(f=s,e(void 0,void 0,void 0,function*(){const{ppid1:e,ppid2:t}=fe.getPPIDs(),{ppid1:n,ppid2:i}=ye.getPPIDs(),o=(new he).add(t,ce[f]).add(e,ue[f]).add(i,pe[f]).add(n,ve[f]);return yield new Promise(e=>{e(o.buildVideoEids())})}));var f;const y=yield be({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)=>we(k,Number(e.toFixed(2))))(n.instreamAspectRatio),I=(T=n.playerAspectRatio)?we($,Number(T.toFixed(2))):A;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`]:(_=n.deviceType,_===v?g:h),[`kw_${m}-page_type`]:"collection",[`${m}-page_type`]:"collection",[`${b}-appmode`]:n.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`]:n.isUserLoggedIn?"yes":"no",[`${b}-mobile-os`]:me(),[`${b}-audience`]:void 0,[`${b}-externalid_src`]:Pe(),[`${b}-tags`]:n.tags,[`${b}-articleid`]:O,"article-id":O},yield ie(Object.assign(Object.assign({},i),{pageContext:l}))),y&&{external_uid:y}),n.isUserPresentOnFrontPage&&n.isInitialVideo&&{[`${b}-tvtags`]:"vinjett"}),n.pageAdsKeywords),Object.keys(Ie()).some(e=>e.includes(w))&&(()=>{const e=Ie(),t=Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(w)).map(([e,t])=>[e.slice(3),t]));return Object.keys(t).length>0?t:void 0})()),{[i.sectionKeyword]:n.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})}),_e=["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"],Se=["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"],je=["external_uid","gdpr","gdpr_consent","eids","article-id"],Ee=(e,t)=>{const n=[..._e,...t.additionalFilterKeys];return Object.fromEntries(Object.entries(e).filter(([e])=>!n.includes(e)).map(([e,t])=>[e.includes("kw")||je.includes(e)?e:`kw_${e}`,t]))},Ae=e=>Object.fromEntries(Object.entries(e).filter(([e])=>Se.includes(e))),$e=(t,n)=>e(void 0,void 0,void 0,function*(){var e,o,r,s;const a=(e=>{var t;l[e]||d(`[video] No config found for publisher "${e}"`);return null!==(t=l[e])&&void 0!==t?t:i})(t.publisher),p=(e=>{var t;return null!==(t=c[e])&&void 0!==t?t:c.aftonbladet})(t.publisher)(t.assetSection,t.isLiveStudio),v="/"===window.location.pathname,g=null===(o=null===(e=n.attributes)||void 0===e?void 0:e.id)||void 0===o?void 0:o.toString(),h=t.assetId===g,f=null!==(r=Number(t.aspectRatio))&&void 0!==r?r:1,y=h?"preroll":"bumper";var b;return{siteConfig:a,siteVideoParams:p,isUserPresentOnFrontPage:v,adsKeywords:yield Te({pageAdsKeywords:t.pageAdsKeywords,tags:(b=t.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:t.isUserLoggedIn,isUserPresentOnFrontPage:v,isInitialVideo:h,instreamAspectRatio:f,playerAspectRatio:Oe(),isApp:t.isApp,deviceType:t.deviceType,isAndroidApp:t.isAndroidApp},a),prerollPlacementFormat:y,playbackMethod:u(t.startMode)}}),ke=(e,t)=>{const{siteConfig:n,siteVideoParams:i,isUserPresentOnFrontPage:o,adsKeywords:r,prerollPlacementFormat:s,playbackMethod:a}=e,{invCode:d}=i||{},l=N(i,n,t.deviceType,t.isUsedInOverlayVideoPlayer),c=((e="")=>t=>e.includes(I)?`${I}${t}`:t)(d),u=window.location.href;return{member:n.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({},Ee(r,n)),Ae(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")})}}}},Ne=t=>n=>e(void 0,void 0,void 0,function*(){const e=yield $e(t,n);return ke(e,t)});export{t as getTcfConsentKeywords,Ne as getVideoAdsConfig};
|
|
1
|
+
function e(e,t,n,i){return new(n||(n=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 t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(s,a)}d((i=i.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;const t=()=>e(void 0,void 0,void 0,function*(){return window.__tcfapi?{gdpr:1,gdpr_consent:yield(e=window.__tcfapi,new Promise((t,n)=>{e("addEventListener",2,(n,i)=>{var o;i||t(""),"tcloaded"!==n.eventStatus&&"useractioncomplete"!==n.eventStatus||(t(null!==(o=n.tcString)&&void 0!==o?o:""),e("removeEventListener",2,()=>{},n.listenerId))})}))}:{};var e}),n={NO:"no",SE:"se"},i={pageContext:{publisher:"aftonbladet",countryCode:n.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,t)=>t?"se-aftonbladet-{deviceType}-studio_{position}":`se-aftonbladet-tv-{deviceType}-${(e=>{var t;if(null===(t=null==e?void 0:e.metadata)||void 0===t?void 0:t.afp)return"afp";const[,n]=r(e);return o[n]||"ovrigaavdelningar"})(e)}_{position}`,a=(e,t)=>{const n="[Advertory LOG]: ";location.search.includes("ast_debug=true")&&(t?console.log(n,e,t):console.log(n,e))},d=(e,t)=>{console.warn("[Advertory WARN]: ",e)},l={aftonbladet:i},c={aftonbladet:(e,t)=>{if(!e)return null;return{invCode:s(e,t),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",j="3-4",E="9-16",A="responsive",$={[_]:1,[S]:1.78,[E]:.56,[A]:1},k={[_]:1,[S]:1.78,[j]:1.33,[E]:.56},N=(e,t,n,i)=>{const{invCode:o="",videoOverlayInvCode:r}=null!=e?e:{},s=v===n?f:y,a=o.replace(C,s);return(e,n)=>{if(e===O)return(e=>e.replace("tv-","").replace("-afp_","-afp-").replace(P,O).replace(/-([a-z]+)_/,"-article-"))(a);if(n&&T.has(e)){return(i&&r?r:t.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 n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,i){return e.concat(t).map(function(e){return n(e,i)})}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}(e))}function r(e,t){try{return t in e}catch(e){return!1}}function s(e,t,i){var s={};return i.isMergeableObject(e)&&o(e).forEach(function(t){s[t]=n(e[t],i)}),o(t).forEach(function(o){(function(e,t){return r(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(r(e,o)&&i.isMergeableObject(t[o])?s[o]=function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a}(o,i)(e[o],t[o],i):s[o]=n(t[o],i))}),s}function a(t,o,r){(r=r||{}).arrayMerge=r.arrayMerge||i,r.isMergeableObject=r.isMergeableObject||e,r.cloneUnlessOtherwiseSpecified=n;var a=Array.isArray(o);return a===Array.isArray(t)?a?r.arrayMerge(t,o,r):s(t,o,r):n(o,r)}return a.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return a(e,n,t)},{})},M=a}());const U=["placements","takeover","refreshConfig","editory"],H={adRequested:()=>{},adAvailable:e=>{},adLoaded:e=>{},adNoBid:e=>{},adError:(e,t)=>{},adCollapse:()=>{},adRequestFailure:e=>{},adBadRequest:e=>{},adLoadedMediated:e=>{},adNoBidMediated:e=>{}},F=e=>{(e=>{const{pageContext:t,pageOptions:n,placements:i,appearanceConfig:o}=null!=e?e:{};(null==t?void 0:t.publisher)||d("pageContext.publisher is required."),(null==t?void 0:t.countryCode)||d("pageContext.countryCode is required."),(null==t?void 0:t.pageType)||d("pageContext.pageType is required."),(null==t?void 0:t.deviceType)||d("pageContext.deviceType is required."),n||d("pageOptions is required."),i||d("placements is required."),(null==o?void 0:o.defaultThreshold)||d("appearanceConfig.defaultThreshold is required.")})(e),(e=>{var t,n,i;const o=e.pageSectionsSelectors,r=[{flag:!!(null===(t=e.takeover)||void 0===t?void 0:t.enabled),property:"header",featureName:"takeover"},{flag:!!(null===(n=e.sponsorstripe)||void 0===n?void 0:n.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:t,featureName:n}of r)e&&!(null==o?void 0:o[t])&&d(`pageSectionsSelectors.${t} is required when ${n} 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 t={};for(const n of U){const i=e[n];void 0!==i&&(t[n]=i)}Object.assign(this.config,t),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 t=window.localStorage.getItem(e);if(!t)return null;try{return JSON.parse(t)}catch(e){return a("Error with parsing localStorage data"),null}},t=(e,t)=>{window.localStorage.setItem(e,JSON.stringify(t))};return{get:e,set:t,setWithTimestamp:(e,n,i=B)=>{const o={data:n,expirationTime:(new Date).getTime()+i};t(e,JSON.stringify(o))},getByTimestamp:(t,n=B)=>{const i=e(t);if(!i)return null;if(!n)return i;try{const{expirationTime:e,data:t}=JSON.parse(i);return(new Date).getTime()<=e?t:null}catch(e){return a("Error with parsing localStorage data"),null}}}})(),K=["glwe_","glwet_"],W={geofenceTags:[],geoTags:[],weatherTags:[]},z=e=>new Promise(t=>{if(!window._tcf_||!(null==e?void 0:e.enabled))return void t(!1);const n=(()=>{if(!window._tcf_)return null;const e=window._tcf_.getPermissionSync("CMP:advertising");if(null===e)return null;const t=Number(e);return a("Advertising permission value obtained synchronously: ",e),Boolean(t)})();if(null!==n)return void t(n);let i=!1;const o=e=>{i||(a("Resolving advertising permission value obtained"),i=!0,t(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 t=Number(e);a("Advertising permission value obtained asynchronously: ",e),o(Boolean(t))})}),J="cmp:loaded";let G="undefined"!=typeof window?window._tcf_:void 0,Q=!1;const Y=(t,i,o)=>{const r=!!(null==t?void 0:t.enabled),s=(null==t?void 0:t.timeout)||3e3,d=(l="bypass_tcf",new URLSearchParams(window.location.search).get(l));var l;const c=()=>{if(!(null==t?void 0:t.enabled))return!0;if(((e,t)=>e?!!t&&(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==t?void 0:t.enabled)?new Promise((e,t)=>{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 n=()=>{a("CMP loaded, resolving consent manager..."),i&&clearTimeout(i),window._tcf_?(G=window._tcf_,e(G)):t(new Error("CMP loaded but window._tcf_ is not defined"))},i=setTimeout(()=>{document.removeEventListener(J,n),Q=!0,t(new Error("Timeout waiting for CMP to load"))},s);a("Listening for CMP loaded event..."),document.addEventListener(J,n,{once:!0})}):Promise.resolve(null),getConsentSync:c,getConsentAsync:()=>e(void 0,void 0,void 0,function*(){if(null==t?void 0:t.schibstedAdChoicesOverrideValue)return a(`Schibsted Ad Choices override value is set, returning override value: ${t.schibstedAdChoicesOverrideValue}`),Boolean(Number(t.schibstedAdChoicesOverrideValue));const e=(null==t?void 0:t.advertisingCMPSignalEnabled)&&o===n.SE,i=(null==t?void 0:t.advertisingCMPSignalEnabled)&&o===n.NO;if(e||i)return a("Schibsted Ad Choices is enabled, getting advertising permissions..."),yield z(t);if(!(null==t?void 0:t.enabled))return!0;const r=c();return null!==r?r:yield new Promise((e,t)=>{try{if(!G)throw new Error("[Advertory]: getConsentAsync method was called before the tcfManager was available.");let t=!1;const n=n=>{t||(t=!0,e(n))},i=setTimeout(()=>{a("TCF isConsentedToAll timed out, resolving with false"),n(!1)},s);G.onTcfReady(()=>{a("On Tcf Ready called, waiting for consent"),clearTimeout(i)}),G.isConsentedToAll(t=>{clearTimeout(i),e(t)})}catch(e){t(e)}})})}},X=(t,n,i,...o)=>e(void 0,[t,n,i,...o],void 0,function*(e,t,n,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,n);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(t=>e.startsWith(t)),te=e=>e.startsWith("glgc_"),ne=e=>!ee(e)&&!te(e),ie=(t,i)=>e(void 0,void 0,void 0,function*(){const{addPublisherToGeo:i}={},{glimr:o,pageContext:{countryCode:r}={}}=t,s=yield((...t)=>e(void 0,[...t],void 0,function*(e=V.get()){const{tcf:t,pageContext:{isMobileApp:n,countryCode:i}={}}=e;if(null==t?void 0:t.schibstedConsentToPayEnabled)return yield X(t,n,i,"glimr");const{getConsentAsync:o}=Y(t,0,i);return yield o()}))(t);if(!(null==o?void 0:o.enabled)||!s)return a("No consent for getting glimr tags."),{};const d=(e=>e===n.NO?"no-sno":"se-generic")(r),l=oe(t,Boolean(i));return{[`${d}-geo`]:l.geoTags,[`${d}-weather`]:l.weatherTags,[`${d}-geofence`]:l.geofenceTags}}),oe=(e,t)=>{const n=re();if(!n)return W;const i=((e=[])=>e.filter(ee))(n),o=((e=[])=>e.filter(te))(n),r=((e=[],t,n)=>{var i;const o=e.filter(ne);if(n&&t){const{publisher:e}=null!==(i=t.pageContext)&&void 0!==i?i:{},n=Z[e]||e;o.push(n)}return o})(n,e,t);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="opaque",ae=t=>e(void 0,void 0,void 0,function*(){if(t.type!==se){if(!t.ok)throw new Error(t.statusText);return yield t.json()}}),de={get:(t,...n)=>e(void 0,[t,...n],void 0,function*(t,n={}){var{timeout:i}=n,o=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}(n,["timeout"]);if(i)return((t,n,i)=>e(void 0,void 0,void 0,function*(){const e=new AbortController,o=setTimeout(()=>e.abort(),i);try{const i=yield fetch(t,Object.assign(Object.assign({},n),{signal:e.signal}));return ae(i)}finally{clearTimeout(o)}}))(t,o,i);const r=yield fetch(t,o);return ae(r)}),post:(t,n,i)=>e(void 0,void 0,void 0,function*(){const e=JSON.stringify(i),o=yield fetch(t,{method:"POST",headers:n,body:e});if(!o.ok)throw new Error(o.statusText);return yield o.json()})},le="advertory:ppids-cache",ce={[n.SE]:`SCH${n.SE.toUpperCase()}-EnvHash`,[n.NO]:`SCH${n.NO.toUpperCase()}-EnvHash`},ue={[n.SE]:`SCH${n.SE.toUpperCase()}-UserHash`,[n.NO]:`SCH${n.NO.toUpperCase()}-UserHash`},pe={[n.SE]:`sch${n.SE}-envhash-v3`,[n.NO]:`sch${n.NO}-envhash-v3`},ve={[n.SE]:`sch${n.SE}-userhash-v3`,[n.NO]:`sch${n.NO}-userhash-v3`},ge={[n.SE]:"sdrn:schibsted.com:user",[n.NO]:"sdrn:spid.no:user"};class he{constructor(){this.eids=[]}add(e,t){return e&&this.eids.push({id:e,source:t}),this}buildRyEids(){return this.eids.map(({id:e,source:t})=>({source:t,uids:[{id:e,atype:1,ext:{stype:"ppuid"}}]}))}buildEids(){return[...this.eids]}buildVideoEids(){return this.eids.map(({id:e,source:t})=>`${t},${e}`).join("|")}buildNorstatPath(){const e=this.eids[0];return e?`${e.source}-${e.id}`:""}buildNorstatQuery(e){const t=new URLSearchParams;return this.eids.slice(1).forEach(({id:n,source:i})=>{t.append(e,`${i}-${n}`)}),t}}const fe=new class{constructor(){this.ppid1=null,this.ppid2=null}processPPIDs(t){return e(this,arguments,void 0,function*(e,t=1e4){var n,i;const o=yield Promise.race([new Promise(e=>{setTimeout(()=>e({xandr:{ppId1:"",ppId2:""}}),t)}),e.instance.getAdvertisingIdentifiers()]);this.setPPIDs(null===(n=o.xandr)||void 0===n?void 0:n.ppId1,null===(i=o.xandr)||void 0===i?void 0:i.ppId2)})}getPPIDs(){var e,t;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!==(t=this.ppid2)&&void 0!==t?t:""}}setPPIDs(e,t){this.ppid1=null!=e?e:"",this.ppid2=null!=t?t:""}},ye=new class{constructor(){this.ppid1=null,this.ppid2=null,this.idfv=null,this.anId=null}processPPIDs(t,n){return e(this,void 0,void 0,function*(){var e,i,o,r,s,a,d,l,c,u,p;const v=q.get(le),g=yield this.getNewPPIDs(t,n);if(this.shouldHash(v,g)){const n=null!==(e=t.hasherUrl)&&void 0!==e?e:"https://hasher.schibsted.com/api/v1/hash",l=this.createHasherPayload(g),c=yield this.hashPPIDs(l,n);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,t;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!==(t=this.ppid2)&&void 0!==t?t:"",idfv:this.idfv,anId:this.anId}}setPPIDs(e,t,n,i){this.ppid1=null!=e?e:"",this.ppid2=null!=t?t:"",this.idfv=null!=n?n:null,this.anId=null!=i?i:null}shouldHash(e,t){var n,i;if(!e)return!0;for(const o in e){if((null===(n=e[o])||void 0===n?void 0:n.plain)!==(null===(i=t[o])||void 0===i?void 0:i.plain))return!0}return!1}cachePPIDs(e,t,n,i){const o=Object.assign(Object.assign({clientId:{plain:e.clientId},userId:{plain:e.userId,hashed:t.userId},environmentId:{plain:e.environmentId,hashed:t.environmentId},trackerType:{plain:e.trackerType},trackerVersion:{plain:e.trackerVersion}},n?{idfv:{plain:n}}:{}),i?{anId:{plain:i}}:{});q.set(le,o)}hashPPIDs(t,n){return e(this,void 0,void 0,function*(){try{const e=new Headers({"Content-Type":"application/json"});return yield de.post(n,e,t)}catch(e){return a("Error with hashing PPIDs",e),null}})}getNewPPIDs(t,n){return e(this,arguments,void 0,function*({clientId:t,instance:n},i){const o=yield((t,n)=>e(void 0,void 0,void 0,function*(){const e=yield t.getUserId();return e?`${ge[n]}:${e}`:null}))(n,i),r=yield(s=n,e(void 0,void 0,void 0,function*(){const e=yield s.getEnvironmentId();return e?`sdrn:schibsted:environment:${e}`:null}));var s;const a=window.advertory_idfv,d=window.advertory_anId;return Object.assign(Object.assign({clientId:{plain:t},userId:{plain:o},environmentId:{plain:r},trackerType:{plain:"Advertory"},trackerVersion:{plain:"1.0.0"}},a?{idfv:{plain:a}}:{}),d?{anId:{plain:d}}:{})})}createHasherPayload({clientId:e,trackerType:t,trackerVersion:n,userId:i,environmentId:o}){return{clientId:e.plain,trackerType:t.plain,trackerVersion:n.plain,userId:i.plain,environmentId:o.plain}}},be=t=>e(void 0,void 0,void 0,function*(){const{tcf:e,pageContext:{isMobileApp:n,countryCode:i}={}}=t,{getConsentAsync:o}=Y(e,0,i);if(!(yield o()))return;const r=(e=>{const t=encodeURIComponent(e).replace(/[-.+*]/g,"\\$&"),n=new RegExp(`(?:(?:^|.*;)\\s*${t}\\s*\\=\\s*([^;]*).*$)|^.*$`);return decodeURIComponent(document.cookie.replace(n,"$1"))||null})("_pulse2data");return r?r.split(",")[9]:void 0}),me=()=>{const e=window.navigator.userAgent.toLowerCase(),t=[["win","windows"],["macintosh","macos"],["x11","linux"],["android","android"],["ipad","ios"],["iphone","ios"]].find(([t])=>e.includes(t));return t?t[1]:"unknown"},we=(e,t)=>{const n=Object.entries(e);return n.reduce((n,[i,o])=>{const r=Math.abs(e[n]-t);return Math.abs(o-t)<r?i:n},n[0][0])},Oe=()=>{var e,t;const n=jwplayer().getContainer(),i=null!==(t=null===(e=document.getElementById(n.id))||void 0===e?void 0:e.parentElement)&&void 0!==t?t:null;return i&&"number"==typeof i.offsetWidth&&"number"==typeof i.offsetHeight&&0!==i.offsetHeight?i.offsetWidth/i.offsetHeight:1},Ce=()=>{return(e=>{try{return decodeURIComponent(e)}catch(e){return""}})("undefined"!=typeof document&&null!==(t=null===(e=document.cookie.match("(^|;)\\s*_pulse2data\\s*=\\s*([^;]+)"))||void 0===e?void 0:e.pop())&&void 0!==t?t:"").split(",");var e,t},Pe=()=>{const e=null!==(t=Ce()[9])&&void 0!==t?t:null;var t;const n=(()=>{var e;return null!==(e=Ce()[2])&&void 0!==e?e:null})();return e?Number(Boolean(e))+Number(Boolean(n)):0},Ie=()=>Object.fromEntries(new URLSearchParams(window.location.search)),Te=(n,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:n.isApp,countryCode:s,publisher:r,pageType:"front",deviceType:n.deviceType},c=(yield X(o,n.isApp,s,"video"))?"1":"0",u=yield t(),p=yield(f=s,e(void 0,void 0,void 0,function*(){const{ppid1:e,ppid2:t}=fe.getPPIDs(),{ppid1:n,ppid2:i}=ye.getPPIDs(),o=(new he).add(t,ce[f]).add(e,ue[f]).add(i,pe[f]).add(n,ve[f]);return yield new Promise(e=>{e(o.buildVideoEids())})}));var f;const y=yield be({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)=>we(k,Number(e.toFixed(2))))(n.instreamAspectRatio),I=(T=n.playerAspectRatio)?we($,Number(T.toFixed(2))):A;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`]:(_=n.deviceType,_===v?g:h),[`kw_${m}-page_type`]:"collection",[`${m}-page_type`]:"collection",[`${b}-appmode`]:n.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`]:n.isUserLoggedIn?"yes":"no",[`${b}-mobile-os`]:me(),[`${b}-audience`]:void 0,[`${b}-externalid_src`]:Pe(),[`${b}-tags`]:n.tags,[`${b}-articleid`]:O,"article-id":O},yield ie(Object.assign(Object.assign({},i),{pageContext:l}))),y&&{external_uid:y}),n.isUserPresentOnFrontPage&&n.isInitialVideo&&{[`${b}-tvtags`]:"vinjett"}),n.pageAdsKeywords),Object.keys(Ie()).some(e=>e.includes(w))&&(()=>{const e=Ie(),t=Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith(w)).map(([e,t])=>[e.slice(3),t]));return Object.keys(t).length>0?t:void 0})()),{[i.sectionKeyword]:n.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})}),_e=["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"],Se=["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"],je=["external_uid","gdpr","gdpr_consent","eids","article-id"],Ee=(e,t)=>{const n=[..._e,...t.additionalFilterKeys];return Object.fromEntries(Object.entries(e).filter(([e])=>!n.includes(e)).map(([e,t])=>[e.includes("kw")||je.includes(e)?e:`kw_${e}`,t]))},Ae=e=>Object.fromEntries(Object.entries(e).filter(([e])=>Se.includes(e))),$e=(t,n)=>e(void 0,void 0,void 0,function*(){var e,o,r,s;const a=(e=>{var t;l[e]||d(`[video] No config found for publisher "${e}"`);return null!==(t=l[e])&&void 0!==t?t:i})(t.publisher),p=(e=>{var t;return null!==(t=c[e])&&void 0!==t?t:c.aftonbladet})(t.publisher)(t.assetSection,t.isLiveStudio),v="/"===window.location.pathname,g=null===(o=null===(e=n.attributes)||void 0===e?void 0:e.id)||void 0===o?void 0:o.toString(),h=t.assetId===g,f=null!==(r=Number(t.aspectRatio))&&void 0!==r?r:1,y=h?"preroll":"bumper";var b;return{siteConfig:a,siteVideoParams:p,isUserPresentOnFrontPage:v,adsKeywords:yield Te({pageAdsKeywords:t.pageAdsKeywords,tags:(b=t.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:t.isUserLoggedIn,isUserPresentOnFrontPage:v,isInitialVideo:h,instreamAspectRatio:f,playerAspectRatio:Oe(),isApp:t.isApp,deviceType:t.deviceType,isAndroidApp:t.isAndroidApp},a),prerollPlacementFormat:y,playbackMethod:u(t.startMode)}}),ke=(e,t)=>{const{siteConfig:n,siteVideoParams:i,isUserPresentOnFrontPage:o,adsKeywords:r,prerollPlacementFormat:s,playbackMethod:a}=e,{invCode:d}=i||{},l=N(i,n,t.deviceType,t.isUsedInOverlayVideoPlayer),c=((e="")=>t=>e.includes(I)?`${I}${t}`:t)(d),u=window.location.href;return{member:n.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({},Ee(r,n)),Ae(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")})}}}},Ne=t=>n=>e(void 0,void 0,void 0,function*(){const e=yield $e(t,n);return ke(e,t)});export{t as getTcfConsentKeywords,Ne as getVideoAdsConfig};
|