powered-ad-config 0.0.19 → 0.0.20
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const z = (h) => {
|
|
2
|
-
const w = window.frameElement ? window.frameElement : null,
|
|
2
|
+
const w = window.frameElement ? window.frameElement : null, l = {
|
|
3
3
|
siteBackgroundColor: "#ffffff",
|
|
4
4
|
fireplaceLeftMargin: 0,
|
|
5
5
|
adNodeMarginTop: -24,
|
|
@@ -13,9 +13,9 @@ const z = (h) => {
|
|
|
13
13
|
},
|
|
14
14
|
stickyMargin: { offset: 72, isSticky: !0 },
|
|
15
15
|
zIndex: function() {
|
|
16
|
-
var o, i, n, r, s,
|
|
16
|
+
var o, i, n, r, s, c, a, d, f, u, v;
|
|
17
17
|
const t = window.parent.document, e = (x, A) => x.forEach((q) => A.forEach(([k, L]) => q.style[k] = L));
|
|
18
|
-
(o = t.querySelector(".nk-demographics")) == null || o.setAttribute("style", "max-width:1190px;left:50%;transform:translate(-50%,0);"), (i = t.querySelector(".nk-footer")) == null || i.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), (n = t.querySelector("article")) == null || n.setAttribute("style", "position:relative"), (r = t.querySelector("#article")) == null || r.setAttribute("style", "position:relative"), (s = t.querySelector("#VideoIndex")) == null || s.setAttribute("style", "position:relative"), (
|
|
18
|
+
(o = t.querySelector(".nk-demographics")) == null || o.setAttribute("style", "max-width:1190px;left:50%;transform:translate(-50%,0);"), (i = t.querySelector(".nk-footer")) == null || i.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), (n = t.querySelector("article")) == null || n.setAttribute("style", "position:relative"), (r = t.querySelector("#article")) == null || r.setAttribute("style", "position:relative"), (s = t.querySelector("#VideoIndex")) == null || s.setAttribute("style", "position:relative"), (c = t.querySelector("#Index")) == null || c.setAttribute("style", "position:relative"), (a = t.querySelector(".show")) == null || a.setAttribute("style", "position:relative"), (d = t.querySelector("#adspot-desktop-banner-7-below")) == null || d.setAttribute("style", "position:relative"), e(t.querySelectorAll(".column"), [["position", "relative"]]), e(t.querySelectorAll(".advert"), [["position", "relative"]]), e(t.querySelectorAll("blockquote"), [["zIndex", "1"]]), (f = t.querySelector('div[class*="article__MyContainer"]')) == null || f.setAttribute("style", "max-width:1190px;margin-top:-24px"), (u = t.querySelector('div[type="BANNER"]')) == null || u.setAttribute("style", "display:none"), (v = t.querySelector('div[type="MBANNER"]')) == null || v.setAttribute("style", "display:none");
|
|
19
19
|
}
|
|
20
20
|
}, p = {
|
|
21
21
|
siteBackgroundColor: "#ffffff",
|
|
@@ -31,9 +31,9 @@ const z = (h) => {
|
|
|
31
31
|
},
|
|
32
32
|
stickyMargin: { offset: 32, isSticky: !0 },
|
|
33
33
|
zIndex: function() {
|
|
34
|
-
var o, i, n, r, s,
|
|
34
|
+
var o, i, n, r, s, c, a, d, f, u;
|
|
35
35
|
const t = window.parent.document, e = (v, x) => v.forEach((A) => x.forEach(([q, k]) => A.style[q] = k));
|
|
36
|
-
(o = t.querySelector(".nk-demographics")) == null || o.setAttribute("style", "max-width:1190px;left:50%;transform:translate(-50%,0);"), (i = t.querySelector(".nk-footer")) == null || i.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), (n = t.querySelector("article")) == null || n.setAttribute("style", "position:relative"), (r = t.querySelector("#article")) == null || r.setAttribute("style", "position:relative"), (s = t.querySelector("#VideoIndex")) == null || s.setAttribute("style", "position:relative"), (
|
|
36
|
+
(o = t.querySelector(".nk-demographics")) == null || o.setAttribute("style", "max-width:1190px;left:50%;transform:translate(-50%,0);"), (i = t.querySelector(".nk-footer")) == null || i.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), (n = t.querySelector("article")) == null || n.setAttribute("style", "position:relative"), (r = t.querySelector("#article")) == null || r.setAttribute("style", "position:relative"), (s = t.querySelector("#VideoIndex")) == null || s.setAttribute("style", "position:relative"), (c = t.querySelector("#Index")) == null || c.setAttribute("style", "position:relative"), (a = t.querySelector(".show")) == null || a.setAttribute("style", "position:relative"), e(t.querySelectorAll(".column"), [["position", "relative"]]), e(t.querySelectorAll(".advert"), [["position", "relative"]]), e(t.querySelectorAll("blockquote"), [["zIndex", "1"]]), (d = t.querySelector('div[class^="component__StrapContainer"]')) == null || d.setAttribute("style", "position:relative"), (f = t.querySelector('section[class^="WatchNow__Container"]')) == null || f.setAttribute("style", "margin-left:calc(50% - 49vw);margin-right:calc(50% - 49vw + 10px);"), (u = t.querySelector('div[class*="ArticleContainer"]')) == null || u.setAttribute("style", "max-width:1190px;margin-top:0px");
|
|
37
37
|
}
|
|
38
38
|
}, m = {
|
|
39
39
|
siteBackgroundColor: "#ffffff",
|
|
@@ -45,15 +45,15 @@ const z = (h) => {
|
|
|
45
45
|
yPosHalfpage: 32,
|
|
46
46
|
stickyMargin: { offset: 8, isSticky: !0 },
|
|
47
47
|
zIndex: function() {
|
|
48
|
-
var o, i, n, r, s,
|
|
48
|
+
var o, i, n, r, s, c;
|
|
49
49
|
const t = window.parent.document;
|
|
50
|
-
if ((o = t.querySelector('section[data-section="marketing-banner"]')) == null || o.setAttribute("style", "position:relative"), (n = (i = t.querySelector('div[data-testid="live-tv"]')) == null ? void 0 : i.parentNode) == null || n.setAttribute("style", "position:relative"), (s = (r = t.querySelector('div[data-contentunit-id="stan"]')) == null ? void 0 : r.parentNode) == null || s.setAttribute("style", "position:relative"), (
|
|
51
|
-
let
|
|
52
|
-
|
|
50
|
+
if ((o = t.querySelector('section[data-section="marketing-banner"]')) == null || o.setAttribute("style", "position:relative"), (n = (i = t.querySelector('div[data-testid="live-tv"]')) == null ? void 0 : i.parentNode) == null || n.setAttribute("style", "position:relative"), (s = (r = t.querySelector('div[data-contentunit-id="stan"]')) == null ? void 0 : r.parentNode) == null || s.setAttribute("style", "position:relative"), (c = t.querySelector("small")) == null || c.setAttribute("style", "position:inherit"), t.querySelector('div[id*="tablet"][id*="takeover"]')) {
|
|
51
|
+
let a = t.createElement("style");
|
|
52
|
+
a.innerHTML = `
|
|
53
53
|
div:has(#adspot-tablet-takeover-2-above) {
|
|
54
54
|
position: static;
|
|
55
55
|
}
|
|
56
|
-
`, t.head.appendChild(
|
|
56
|
+
`, t.head.appendChild(a);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}, S = {
|
|
@@ -86,9 +86,16 @@ const z = (h) => {
|
|
|
86
86
|
yPosHalfpage: 32,
|
|
87
87
|
stickyMargin: { offset: 104, isSticky: !0 },
|
|
88
88
|
zIndex: function() {
|
|
89
|
-
var
|
|
90
|
-
const t = window.parent.document, e = (
|
|
91
|
-
(
|
|
89
|
+
var i, n, r, s, c;
|
|
90
|
+
const t = window.parent.document, e = (a, d) => a.forEach((f) => d.forEach(([u, v]) => f.style[u] = v));
|
|
91
|
+
if ((i = t.querySelector(".container--padded")) == null || i.setAttribute("style", "position:relative"), e(t.querySelectorAll(".advert"), [["position", "relative"]]), (n = t.querySelector(".footer-netkit")) == null || n.setAttribute("style", "position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"), (r = t.querySelector('div[type="BANNER"]')) == null || r.setAttribute("style", "display:none"), (s = t.querySelector('div[type="MBANNER"]')) == null || s.setAttribute("style", "display:none"), (c = t.querySelector('div[id*="sidepanel"][id*="above"]')) == null || c.setAttribute("style", "display:none"), t.querySelector('div[id*="tablet"][id*="takeover"]')) {
|
|
92
|
+
let a = t.createElement("style");
|
|
93
|
+
a.innerHTML = `
|
|
94
|
+
div:has(#adspot-tablet-takeover-2-above) {
|
|
95
|
+
position: static;
|
|
96
|
+
}
|
|
97
|
+
`, t.head.appendChild(a);
|
|
98
|
+
}
|
|
92
99
|
}
|
|
93
100
|
}, M = {
|
|
94
101
|
siteBackgroundColor: "#ffffff",
|
|
@@ -122,35 +129,35 @@ const z = (h) => {
|
|
|
122
129
|
{ site: "https://preview.nine.com.au/", config: m },
|
|
123
130
|
{ site: "https://www.nine", config: m },
|
|
124
131
|
{ site: "https://staging.nine", config: m },
|
|
125
|
-
{ site: "https://entertainment", config:
|
|
126
|
-
{ site: "https://celebrity", config:
|
|
127
|
-
{ site: "https://homes", config:
|
|
128
|
-
{ site: "https://travel", config:
|
|
129
|
-
{ site: "https://honey", config:
|
|
130
|
-
{ site: "https://style", config:
|
|
131
|
-
{ site: "https://coach", config:
|
|
132
|
-
{ site: "https://kitchen", config:
|
|
133
|
-
{ site: "https://finance", config:
|
|
132
|
+
{ site: "https://entertainment", config: l },
|
|
133
|
+
{ site: "https://celebrity", config: l },
|
|
134
|
+
{ site: "https://homes", config: l },
|
|
135
|
+
{ site: "https://travel", config: l },
|
|
136
|
+
{ site: "https://honey", config: l },
|
|
137
|
+
{ site: "https://style", config: l },
|
|
138
|
+
{ site: "https://coach", config: l },
|
|
139
|
+
{ site: "https://kitchen", config: l },
|
|
140
|
+
{ site: "https://finance", config: l },
|
|
134
141
|
{ site: "https://wwos", config: C },
|
|
135
142
|
{ site: "https://staging.wwos", config: S },
|
|
136
143
|
{ site: "https://www.9news", config: M },
|
|
137
144
|
{ site: "https://staging.9news", config: M },
|
|
138
|
-
{ site: "https://www.yourtv", config:
|
|
139
|
-
{ site: "https://staging.yourtv", config:
|
|
145
|
+
{ site: "https://www.yourtv", config: l },
|
|
146
|
+
{ site: "https://staging.yourtv", config: l },
|
|
140
147
|
{ site: "https://9now", config: p },
|
|
141
|
-
{ site: "https://creative-preview-an.com", config:
|
|
142
|
-
],
|
|
148
|
+
{ site: "https://creative-preview-an.com", config: l }
|
|
149
|
+
], P = () => {
|
|
143
150
|
const t = window.document.getElementById("nineContent");
|
|
144
|
-
t && (t.style.backgroundColor = y.siteBackgroundColor), T(),
|
|
145
|
-
},
|
|
151
|
+
t && (t.style.backgroundColor = y.siteBackgroundColor), T(), H(), window.parent.window.addEventListener("scroll", N), setTimeout(N, 50);
|
|
152
|
+
}, I = () => {
|
|
146
153
|
let t = null;
|
|
147
154
|
return window.parent && (t = window.parent.document.querySelector('div[id*="billboard"][id*="above"]')), t;
|
|
148
|
-
},
|
|
155
|
+
}, D = () => {
|
|
149
156
|
const t = window.parent.location.href;
|
|
150
157
|
for (let e = 0; e < b.length; e += 1)
|
|
151
158
|
if (t.indexOf(b[e].site) >= 0)
|
|
152
159
|
return b[e].config;
|
|
153
|
-
},
|
|
160
|
+
}, H = () => {
|
|
154
161
|
if (!w) return;
|
|
155
162
|
const t = w.style;
|
|
156
163
|
t.width = "100%", t.height = "1000px", t.position = "fixed", t.left = "50%", t.transform = "translate(-50%, 0)";
|
|
@@ -161,8 +168,8 @@ const z = (h) => {
|
|
|
161
168
|
}, N = (t) => {
|
|
162
169
|
const e = window.parent.scrollY, o = w.style, i = document.getElementById("siteContent") ? document.getElementById("siteContent").style : {};
|
|
163
170
|
e >= 0 && e <= g ? (o.transform = `translate(-50%, ${-e}px)`, i.transform = "translateY(0)") : e > g && e <= E ? (o.transform = `translate(-50%, ${-g}px)`, i.transform = `translateY(${g - e}px)`) : e > E && (o.transform = `translate(-50%, ${-g}px)`, i.transform = "translateY(-250px)");
|
|
164
|
-
}, B =
|
|
165
|
-
|
|
171
|
+
}, B = I(), y = D(), g = -y.responsiveScroll + h, E = g + 250;
|
|
172
|
+
P();
|
|
166
173
|
};
|
|
167
174
|
function _({ adFormat: h = "", stickyOffset: w = 0 } = {}) {
|
|
168
175
|
h === "fireplace" && z(w);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(v,w){typeof exports=="object"&&typeof module<"u"?module.exports=w():typeof define=="function"&&define.amd?define(w):(v=typeof globalThis<"u"?globalThis:v||self,v.poweredAdConfig=w())})(this,function(){"use strict";const v=b=>{const h=window.frameElement?window.frameElement:null,l={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-24,adNodeMarginBottom:24,responsiveScroll:-124,xPosHalfpage:function(){return 695},yPosHalfpage:function(){return 72},stickyMargin:{offset:72,isSticky:!0},zIndex:function(){var o,i,n,r,s,c,a,d,f,u,m;const t=window.parent.document,e=(q,k)=>q.forEach(M=>k.forEach(([N,_])=>M.style[N]=_));(o=t.querySelector(".nk-demographics"))==null||o.setAttribute("style","max-width:1190px;left:50%;transform:translate(-50%,0);"),(i=t.querySelector(".nk-footer"))==null||i.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),(n=t.querySelector("article"))==null||n.setAttribute("style","position:relative"),(r=t.querySelector("#article"))==null||r.setAttribute("style","position:relative"),(s=t.querySelector("#VideoIndex"))==null||s.setAttribute("style","position:relative"),(c=t.querySelector("#Index"))==null||c.setAttribute("style","position:relative"),(a=t.querySelector(".show"))==null||a.setAttribute("style","position:relative"),(d=t.querySelector("#adspot-desktop-banner-7-below"))==null||d.setAttribute("style","position:relative"),e(t.querySelectorAll(".column"),[["position","relative"]]),e(t.querySelectorAll(".advert"),[["position","relative"]]),e(t.querySelectorAll("blockquote"),[["zIndex","1"]]),(f=t.querySelector('div[class*="article__MyContainer"]'))==null||f.setAttribute("style","max-width:1190px;margin-top:-24px"),(u=t.querySelector('div[type="BANNER"]'))==null||u.setAttribute("style","display:none"),(m=t.querySelector('div[type="MBANNER"]'))==null||m.setAttribute("style","display:none")}},p={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-24,adNodeMarginBottom:0,responsiveScroll:-124,xPosHalfpage:function(){return 695},yPosHalfpage:function(){return 32},stickyMargin:{offset:32,isSticky:!0},zIndex:function(){var o,i,n,r,s,c,a,d,f,u;const t=window.parent.document,e=(m,q)=>m.forEach(k=>q.forEach(([M,N])=>k.style[M]=N));(o=t.querySelector(".nk-demographics"))==null||o.setAttribute("style","max-width:1190px;left:50%;transform:translate(-50%,0);"),(i=t.querySelector(".nk-footer"))==null||i.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),(n=t.querySelector("article"))==null||n.setAttribute("style","position:relative"),(r=t.querySelector("#article"))==null||r.setAttribute("style","position:relative"),(s=t.querySelector("#VideoIndex"))==null||s.setAttribute("style","position:relative"),(c=t.querySelector("#Index"))==null||c.setAttribute("style","position:relative"),(a=t.querySelector(".show"))==null||a.setAttribute("style","position:relative"),e(t.querySelectorAll(".column"),[["position","relative"]]),e(t.querySelectorAll(".advert"),[["position","relative"]]),e(t.querySelectorAll("blockquote"),[["zIndex","1"]]),(d=t.querySelector('div[class^="component__StrapContainer"]'))==null||d.setAttribute("style","position:relative"),(f=t.querySelector('section[class^="WatchNow__Container"]'))==null||f.setAttribute("style","margin-left:calc(50% - 49vw);margin-right:calc(50% - 49vw + 10px);"),(u=t.querySelector('div[class*="ArticleContainer"]'))==null||u.setAttribute("style","max-width:1190px;margin-top:0px")}},S={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-25,adNodeMarginBottom:-13,responsiveScroll:-120,xPosHalfpage:722,yPosHalfpage:32,stickyMargin:{offset:8,isSticky:!0},zIndex:function(){var o,i,n,r,s,c;const t=window.parent.document;if((o=t.querySelector('section[data-section="marketing-banner"]'))==null||o.setAttribute("style","position:relative"),(n=(i=t.querySelector('div[data-testid="live-tv"]'))==null?void 0:i.parentNode)==null||n.setAttribute("style","position:relative"),(s=(r=t.querySelector('div[data-contentunit-id="stan"]'))==null?void 0:r.parentNode)==null||s.setAttribute("style","position:relative"),(c=t.querySelector("small"))==null||c.setAttribute("style","position:inherit"),t.querySelector('div[id*="tablet"][id*="takeover"]')){let a=t.createElement("style");a.innerHTML=`
|
|
2
2
|
div:has(#adspot-tablet-takeover-2-above) {
|
|
3
3
|
position: static;
|
|
4
4
|
}
|
|
5
|
-
`,t.head.appendChild(
|
|
5
|
+
`,t.head.appendChild(a)}}},x={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-24,adNodeMarginBottom:0,responsiveScroll:-124,xPosHalfpage:720,yPosHalfpage:32,stickyMargin:{offset:104,isSticky:!0},zIndex:function(){const t=window.parent.document,o=t.querySelector("footer").previousElementSibling;if(o&&o.tagName.toLowerCase()==="div"&&(o.style.position="relative"),t.querySelector('div[id*="tablet"][id*="takeover"]')){let n=t.createElement("style");n.innerHTML=`
|
|
6
6
|
div:has(#adspot-tablet-takeover-2-above) {
|
|
7
7
|
position: static;
|
|
8
8
|
}
|
|
9
|
-
`,t.head.appendChild(n)}}},
|
|
9
|
+
`,t.head.appendChild(n)}}},I={siteBackgroundColor:"#f7f7f7",fireplaceLeftMargin:0,adNodeMarginTop:-25,adNodeMarginBottom:0,responsiveScroll:-124,xPosHalfpage:720,yPosHalfpage:32,stickyMargin:{offset:104,isSticky:!0},zIndex:function(){var i,n,r,s,c;const t=window.parent.document,e=(a,d)=>a.forEach(f=>d.forEach(([u,m])=>f.style[u]=m));if((i=t.querySelector(".container--padded"))==null||i.setAttribute("style","position:relative"),e(t.querySelectorAll(".advert"),[["position","relative"]]),(n=t.querySelector(".footer-netkit"))==null||n.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),(r=t.querySelector('div[type="BANNER"]'))==null||r.setAttribute("style","display:none"),(s=t.querySelector('div[type="MBANNER"]'))==null||s.setAttribute("style","display:none"),(c=t.querySelector('div[id*="sidepanel"][id*="above"]'))==null||c.setAttribute("style","display:none"),t.querySelector('div[id*="tablet"][id*="takeover"]')){let a=t.createElement("style");a.innerHTML=`
|
|
10
|
+
div:has(#adspot-tablet-takeover-2-above) {
|
|
11
|
+
position: static;
|
|
12
|
+
}
|
|
13
|
+
`,t.head.appendChild(a)}}},B={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-32,adNodeMarginBottom:18,responsiveScroll:-124,xPosHalfpage:function(){return 720},yPosHalfpage:function(){return 16},stickyMargin:{offset:16,isSticky:!0},zIndex:function(){var e,o,i,n,r,s;const t=window.parent.document;(e=t.querySelector(".header-wrapper"))==null||e.setAttribute("style","height:124px"),(o=t.querySelector(".weather-widget-wrapper"))==null||o.setAttribute("style","bottom:0px"),(i=t.querySelector(".content"))==null||i.setAttribute("style","padding-top:32px"),(n=t.querySelector(".layout"))==null||n.setAttribute("style","position:relative;background-color:transparent;"),(r=t.querySelector(".footer-ad"))==null||r.setAttribute("style","position:relative"),(s=t.querySelector(".footer-netkit"))==null||s.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);")}},A=[{site:"https://www.nine.com.au/sport",config:x},{site:"https://www.nine.com.au/product-reviews",config:p},{site:"https://www.nine.com.au/property",config:p},{site:"https://www.nine.com.au/entertainment",config:p},{site:"https://staging.nine.com.au/sport",config:x},{site:"https://staging.nine.com.au/product-reviews",config:p},{site:"https://staging.nine.com.au/property",config:p},{site:"https://staging.nine.com.au/entertainment",config:p},{site:"https://render-web-nine-staging-v1.ffxblue.com.au",config:S},{site:"https://render-web-nine-production-v1.ffxblue.com.au",config:S},{site:"https://preview.nine.com.au/",config:S},{site:"https://www.nine",config:S},{site:"https://staging.nine",config:S},{site:"https://entertainment",config:l},{site:"https://celebrity",config:l},{site:"https://homes",config:l},{site:"https://travel",config:l},{site:"https://honey",config:l},{site:"https://style",config:l},{site:"https://coach",config:l},{site:"https://kitchen",config:l},{site:"https://finance",config:l},{site:"https://wwos",config:I},{site:"https://staging.wwos",config:x},{site:"https://www.9news",config:B},{site:"https://staging.9news",config:B},{site:"https://www.yourtv",config:l},{site:"https://staging.yourtv",config:l},{site:"https://9now",config:p},{site:"https://creative-preview-an.com",config:l}],T=()=>{const t=window.document.getElementById("nineContent");t&&(t.style.backgroundColor=y.siteBackgroundColor),z(),L(),window.parent.window.addEventListener("scroll",C),setTimeout(C,50)},D=()=>{let t=null;return window.parent&&(t=window.parent.document.querySelector('div[id*="billboard"][id*="above"]')),t},H=()=>{const t=window.parent.location.href;for(let e=0;e<A.length;e+=1)if(t.indexOf(A[e].site)>=0)return A[e].config},L=()=>{if(!h)return;const t=h.style;t.width="100%",t.height="1000px",t.position="fixed",t.left="50%",t.transform="translate(-50%, 0)"},z=()=>{if(!E)return;const t=E.style;t.minHeight="250px",t.marginTop=y.adNodeMarginTop+"px",t.marginBottom=y.adNodeMarginBottom+"px",t.position="static",t.display="block",window.parent&&y.zIndex&&y.zIndex()},C=t=>{const e=window.parent.scrollY,o=h.style,i=document.getElementById("siteContent")?document.getElementById("siteContent").style:{};e>=0&&e<=g?(o.transform=`translate(-50%, ${-e}px)`,i.transform="translateY(0)"):e>g&&e<=P?(o.transform=`translate(-50%, ${-g}px)`,i.transform=`translateY(${g-e}px)`):e>P&&(o.transform=`translate(-50%, ${-g}px)`,i.transform="translateY(-250px)")},E=D(),y=H(),g=-y.responsiveScroll+b,P=g+250;T()};function w({adFormat:b="",stickyOffset:h=0}={}){b==="fireplace"&&v(h)}return w});
|
package/package.json
CHANGED