powered-ad-config 0.1.1 → 0.1.2

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.
@@ -648,7 +648,7 @@ const V = (A) => {
648
648
  };
649
649
  (() => {
650
650
  const t = r.style;
651
- t.height = i.adScrollHeight, t.maxHeight = i.adScrollHeight, t.position = "relative", r.setAttribute("poweredAC", "0.1.1"), t.clipPath = `inset(-${i.bandHeight - 1}px 0 0 0)`, t.overflow = "visible", t.width = "100vw", t.maxWidth = "100vw", t.marginLeft = "calc(50% - 50vw)", t.marginRight = "0", t.marginTop = "0", t.marginBottom = "0", t.padding = "0";
651
+ t.height = i.adScrollHeight, t.maxHeight = i.adScrollHeight, t.position = "relative", r.setAttribute("poweredAC", "0.1.2"), t.clipPath = `inset(-${i.bandHeight - 1}px 0 0 0)`, t.overflow = "visible", t.width = "100vw", t.maxWidth = "100vw", t.marginLeft = "calc(50% - 50vw)", t.marginRight = "0", t.marginTop = "0", t.marginBottom = "0", t.padding = "0";
652
652
  let n = r.parentElement;
653
653
  for (let B = 0; B < 6 && n && n !== c.body; B++) {
654
654
  const T = a.getComputedStyle(n);
@@ -780,7 +780,7 @@ const V = (A) => {
780
780
  };
781
781
  const f = r.getAttribute("style"), q = p.getAttribute("style"), b = p.parentElement !== r ? p.parentElement : null, N = b ? b.getAttribute("style") : null, I = r.parentElement, x = I ? a.getComputedStyle(I).paddingTop : null, M = parseInt(p.getAttribute("width"), 10) || 320, h = parseInt(p.getAttribute("height"), 10) || 50, w = () => {
782
782
  const m = r.style;
783
- if (m.position = "relative", m.overflow = "visible", m.boxSizing = "border-box", r.setAttribute("poweredAC", "0.1.1"), b) {
783
+ if (m.position = "relative", m.overflow = "visible", m.boxSizing = "border-box", r.setAttribute("poweredAC", "0.1.2"), b) {
784
784
  const S = b.style;
785
785
  S.width = "100%", S.height = "100%", S.margin = "0", S.textAlign = "left";
786
786
  }
@@ -896,7 +896,7 @@ const V = (A) => {
896
896
  (u.transform && u.transform !== "none" || u.willChange && u.willChange !== "auto" || u.contain && u.contain !== "none" || u.filter && u.filter !== "none" || u.perspective && u.perspective !== "none") && (m.push({ el: s, orig: s.getAttribute("style") }), s.style.transform = "none", s.style.willChange = "auto", s.style.contain = "none", s.style.filter = "none", s.style.perspective = "none"), u.overflow !== "visible" && (m.find((d) => d.el === s) || m.push({ el: s, orig: s.getAttribute("style") }), s.style.overflow = "visible"), s = s.parentElement;
897
897
  }
898
898
  const l = p.style;
899
- if (l.position = "fixed", l.top = "0", l.left = "0", l.width = "100vw", l.height = "100vh", l.zIndex = String(i.zIndex), l.border = "none", l.margin = "0", l.padding = "0", l.display = "block", r.setAttribute("poweredAC", "0.1.1"), M) {
899
+ if (l.position = "fixed", l.top = "0", l.left = "0", l.width = "100vw", l.height = "100vh", l.zIndex = String(i.zIndex), l.border = "none", l.margin = "0", l.padding = "0", l.display = "block", r.setAttribute("poweredAC", "0.1.2"), M) {
900
900
  const u = M.style;
901
901
  u.width = "100%", u.height = "100%", u.overflow = "visible", u.position = "static", u.margin = "0";
902
902
  }
@@ -907,6 +907,8 @@ const V = (A) => {
907
907
  /* Mobile Fireplace — powered-ad-config */
908
908
  html, body {
909
909
  background-color: transparent !important;
910
+ overflow-x: hidden !important;
911
+ overscroll-behavior-x: none !important;
910
912
  }
911
913
  /* App wrapper (direct child of body) — transparent so the
912
914
  fixed creative is visible through the side gaps. */
@@ -976,7 +978,7 @@ function Z({ adFormat: A = "", stickyOffset: i = 0, logoPosX: p = 0, logoHeight:
976
978
  return A === "fireplace" ? r = V(i) : A === "fireplace-collant" ? r = Y(i) : A === "logomorph" ? r = X(p, a, c) : A === "interscroller" ? r = K(k) : A === "liquidframe" ? r = J(k) : A === "mobilefireplace" ? r = Q(k) : console.warn("[powered-ad-config] Unknown ad format:", A), R = typeof r == "function" ? r : () => {
977
979
  }, R;
978
980
  }
979
- Z.version = "0.1.1";
981
+ Z.version = "0.1.2";
980
982
  export {
981
983
  Z as default
982
984
  };
@@ -22,10 +22,12 @@
22
22
  div:has(#adspot-tablet-takeover-2-above) {
23
23
  position: static;
24
24
  }
25
- `,e.head.appendChild(B)}}},x={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-32,adNodeMarginBottom:8,responsiveScroll:-124,xPosHalfpage:720,yPosHalfpage:16,stickyMargin:{offset:160,isSticky:!0},maskOffset:window.parent.document.querySelector('div[class*="VideoIndexComponent"]')?324:292,zIndex:function(){const e=window.parent.document;e.querySelector(".header-wrapper")?.setAttribute("style","height:124px"),e.querySelector(".weather-widget-wrapper")?.setAttribute("style","bottom:0px"),e.querySelector(".content")?.setAttribute("style","padding-top:32px"),e.querySelector(".layout")?.setAttribute("style","position:relative;background-color:transparent;"),e.querySelector(".footer-ad")?.setAttribute("style","position:relative"),e.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);");const d=e.querySelector('[class*="VideoIndexComponent"]');d&&(e.querySelector(".breadcrumbs")?.setAttribute("style","display:none"),d.style.maxWidth="1190px",d.style.margin="auto",d.style.position="relative")}},M=[{site:"https://www.nine.com.au/sport",config:N},{site:"https://www.nine.com.au/product-reviews",config:q},{site:"https://www.nine.com.au/property",config:q},{site:"https://www.nine.com.au/entertainment",config:q},{site:"https://staging.nine.com.au/sport",config:N},{site:"https://staging.nine.com.au/product-reviews",config:q},{site:"https://staging.nine.com.au/property",config:q},{site:"https://staging.nine.com.au/entertainment",config:q},{site:"https://render-web-nine-staging-v1.ffxblue.com.au",config:b},{site:"https://render-web-nine-production-v1.ffxblue.com.au",config:b},{site:"https://preview.nine.com.au/",config:b},{site:"https://www.nine",config:b},{site:"https://staging.nine",config:b},{site:"https://entertainment",config:f},{site:"https://celebrity",config:f},{site:"https://homes",config:f},{site:"https://travel",config:f},{site:"https://honey",config:f},{site:"https://style",config:f},{site:"https://coach",config:f},{site:"https://kitchen",config:f},{site:"https://finance",config:f},{site:"https://wwos",config:I},{site:"https://staging.wwos",config:N},{site:"https://www.9news",config:x},{site:"https://staging.9news",config:x},{site:"https://www.yourtv",config:f},{site:"https://staging.yourtv",config:f},{site:"https://9now",config:q},{site:"https://creative-preview-an.com",config:f}],h=()=>{const e=window.document.getElementById("nineContent");e&&(e.style.backgroundColor=t.siteBackgroundColor),c&&(E.setProperty("--masthead-height","250px"),E.height="var(--masthead-height)"),v(),m(),P(),S(),p.addEventListener("scroll",s,{passive:!0}),n=setTimeout(s,50)},w=()=>{let e=null;return e=a.querySelector('div[id*="billboard"][id*="above"]'),e},P=()=>{let e=null;if(!window.parent)return e;if(e=a.querySelector('div[id*="halfpage"][id*="above"]'),!e)return;let d=e;for(let y=0;y<3;y++)if(d=d.parentNode,d&&getComputedStyle(d).position==="sticky"){d.setAttribute("style",`top: ${t.stickyMargin.offset}px`);break}},k=()=>{const e=p.location.href;for(let d=0;d<M.length;d+=1)if(e.indexOf(M[d].site)>=0)return M[d].config},m=()=>{if(!i)return;const e=i.style;e.width="100%",e.height="1000px",e.position="fixed",e.left="50%",e.setProperty("--transform-y","0px"),e.transform="translate3d(-50%, var(--transform-y), 0)"},v=()=>{if(!l)return;const e=l.style;l.className="",e.minHeight="250px",e.marginTop=t.adNodeMarginTop+"px",e.marginBottom=t.adNodeMarginBottom+"px",e.position="static",e.display="block",t.zIndex&&t.zIndex()},S=()=>{r=a.querySelector('div[data-contentunit-id="stan"]')?.parentNode||a.querySelector('div[data-ui-testid="header-score-strip"]')?.parentNode||a.querySelector('div[class*="__MyContainer"]')||a.querySelector('div[class*="__ArticleContainer"]')||a.querySelector('div[class*="__VideoIndexComponent"]')||a.querySelector("div.container.layout")||a.querySelector("main.container.layout"),r&&(r.style.willChange="clip-path",r.style.transition="none",r.style.webkitBackfaceVisibility="hidden",r.style.backfaceVisibility="hidden",r.style.transform="translate3d(0,0,0)",r.style.backgroundColor=t.siteBackgroundColor,r.style.setProperty("--mask-inset","0px"),r.style.clipPath="inset(var(--mask-inset, 0px) 0 0 0)")};let C=0,o=0;const s=()=>{const e=p.scrollY,d=e>C,y=e>u?e-t.maskOffset:0,B=Math.abs(y-o);if(r)if(d&&y>o)if(B>100){const T=Math.max(0,y-100);r.style.transition="none",r.style.setProperty("--mask-inset",`${T}px`),r.offsetHeight,r.style.transition="clip-path 0.3s ease-out",r.style.setProperty("--mask-inset",`${y}px`)}else r.style.transition="clip-path 0.3s ease-out",r.style.setProperty("--mask-inset",`${y}px`);else r.style.transition="none",r.style.setProperty("--mask-inset",`${y}px`);C=e,o=y,e>u?(i.style.setProperty("--transform-y",`${-g}px`),E.setProperty("--masthead-height","100px"),window.CollantOn||window.goCollant()):e>g&&e<=u?(i.style.setProperty("--transform-y",`${-g}px`),E.setProperty("--masthead-height",`${250+g-e}px`),window.CollantOn&&window.goBillboard()):e>=0&&e<=g&&(i.style.setProperty("--transform-y",`${-e}px`),E.setProperty("--masthead-height","250px"),window.CollantOn&&window.goBillboard())},l=w(),t=k();if(!t)return()=>{};let n=null;const g=-t.responsiveScroll+A,u=g+150;return h(),()=>{p.removeEventListener("scroll",s),n&&(clearTimeout(n),n=null)}},U=(A,i,p)=>{const a=window.frameElement?window.frameElement:null;if(!a)return()=>{};const c=window.parent;if(!c||c===window)return()=>{};let E=null;try{E=c.document,c.location.href}catch{return()=>{}}const r={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"250px",logoSmallTransform:"translateX(0px)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".container--padded")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".advert"),[["position","relative"]]),t.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},f={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".nk-demographics")?.setAttribute("style","max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector(".nk-footer")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector("article")?.setAttribute("style","position:relative"),t.querySelector("#article")?.setAttribute("style","position:relative"),t.querySelector("#VideoIndex")?.setAttribute("style","position:relative"),t.querySelector("#Index")?.setAttribute("style","position:relative"),t.querySelector(".show")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".column"),[["position","relative"]]),n(t.querySelectorAll(".advert"),[["position","relative"]]),n(t.querySelectorAll("blockquote"),[["zIndex","1"]]),t.querySelector('div[class*="article__MyContainer"]')?.setAttribute("style","max-width:1190px;margin-top:-24px"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},q={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".nk-demographics")?.setAttribute("style","max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector(".nk-footer")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector("article")?.setAttribute("style","position:relative"),t.querySelector("#article")?.setAttribute("style","position:relative"),t.querySelector("#VideoIndex")?.setAttribute("style","position:relative"),t.querySelector("#Index")?.setAttribute("style","position:relative"),t.querySelector(".show")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".column"),[["position","relative"]]),n(t.querySelectorAll(".advert"),[["position","relative"]]),n(t.querySelectorAll("blockquote"),[["zIndex","1"]]),t.querySelector('div[class^="component__StrapContainer"]')?.setAttribute("style","position:relative"),t.querySelector('section[class^="WatchNow__Container"]')?.setAttribute("style","margin-left:calc(50% - 49vw);margin-right:calc(50% - 49vw + 10px);"),t.querySelector('div[class*="ArticleContainer"]')?.setAttribute("style","max-width:1190px;margin-top:0px"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},b={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector('section[data-section="marketing-banner"]')?.setAttribute("style","position:relative"),t.querySelector(".container--ads")?.setAttribute("style","min-height:0"),t.getElementById("mastheadAnchorToggle")?.setAttribute("style","display:none"),n(t.querySelectorAll(".advert"),[["position","relative"]]),n(t.querySelectorAll("iframe"),[["position","relative"]]),t.querySelector('div[data-testid="live-tv"]')?.parentNode?.setAttribute("style","position:relative"),t.querySelector('div[data-contentunit-id="stan"]')?.parentNode?.setAttribute("style","position:relative"),n(t.querySelectorAll("small"),[["position","relative"]]),t.querySelector("small")?.setAttribute("style","position:inherit"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},N={siteBackgroundColor:"#ffffff",logoTop:"-148px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".container--padded")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".advert"),[["position","relative"]]),t.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},I={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"invert(1)",zIndex:function(){const t=window.parent.document;t.querySelector(".header-wrapper")?.setAttribute("style","height:124px"),t.querySelector(".weather-widget-wrapper")?.setAttribute("style","bottom:0px"),t.querySelector(".content")?.setAttribute("style","padding-top:32px"),t.querySelector(".layout")?.setAttribute("style","position:relative;background-color:transparent;"),t.querySelector(".footer-ad")?.setAttribute("style","position:relative"),t.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},x=[{site:"https://www.nine.com.au/sport",config:r},{site:"https://www.nine.com.au/product-reviews",config:q},{site:"https://www.nine.com.au/property",config:q},{site:"https://www.nine.com.au/entertainment",config:q},{site:"https://staging.nine.com.au/sport",config:r},{site:"https://staging.nine.com.au/product-reviews",config:q},{site:"https://staging.nine.com.au/property",config:q},{site:"https://staging.nine.com.au/entertainment",config:q},{site:"https://render-web-nine-staging-v1.ffxblue.com.au",config:b},{site:"https://render-web-nine-production-v1.ffxblue.com.au",config:b},{site:"https://preview.nine.com.au/",config:b},{site:"https://www.nine",config:b},{site:"https://staging.nine",config:b},{site:"https://entertainment",config:f},{site:"https://celebrity",config:f},{site:"https://homes",config:f},{site:"https://travel",config:f},{site:"https://honey",config:f},{site:"https://style",config:f},{site:"https://coach",config:f},{site:"https://kitchen",config:f},{site:"https://finance",config:f},{site:"https://wwos",config:N},{site:"https://staging.wwos",config:N},{site:"https://www.9news",config:I},{site:"https://staging.9news",config:I},{site:"https://www.yourtv",config:f},{site:"https://staging.yourtv",config:f},{site:"https://9now",config:q},{site:"https://creative-preview-an.com",config:f}],M=()=>{const t=window.document.getElementById("logo-small");t&&(t.style.left=C.logoSmallLeft,t.style.transform=C.logoSmallTransform,t.style.filter=C.logoSmallFilter),k(),P(),c.addEventListener("scroll",v),o=setTimeout(v,50)},h=()=>{let t=null;return t=E.querySelector('div[id*="desktop"][id*="takeover"][id*="above"]'),t},w=()=>{const t=c.location.href;for(let n=0;n<x.length;n+=1)if(t.indexOf(x[n].site)>=0)return x[n].config},P=()=>{if(!a)return;const t=a.style;t.width="100%",t.height=`${i}px`,t.position="relative"},k=()=>{if(!S)return;const t=S.style;t.maxHeight=`${i}px`,t.minHeight=`${i}px`,t.marginTop="0px",t.marginBottom="0px",t.position="absolute",t.width="1900px",t.top=C.logoTop,t.left=C.logoLeft,t.transform=C.logoTransform,t.zIndex="10000",t.pointerEvents="none",C.zIndex&&C.zIndex()},m=t=>{if(!S)return;const n=S.style;t==="big"&&!window.bigActive?(n.maxHeight=`${i}px`,n.minHeight=`${i}px`,n.position="absolute",n.top=C.logoTop,n.zIndex="10000",window.loadBig()):t==="small"&&!window.smallActive&&(n.maxHeight=`${p}px`,n.minHeight=`${p}px`,n.position="fixed",n.top="0px",n.zIndex="100000",window.loadSmall())},v=()=>{const t=c.scrollY;a.style,t>=0&&t<=s?m("big"):t>s&&(t>l?m("small"):m("big"),l=t<=0?0:t)},S=h(),C=w();if(!C)return()=>{};let o=null;const s=A;let l=0;return M(),()=>{c.removeEventListener("scroll",v),o&&(clearTimeout(o),o=null)}},j=((A,i=50)=>`linear(${Array.from({length:i+1},(a,c)=>A(c/i)).map(a=>+a.toFixed(4)).join(", ")})`)(A=>{if(A===0||A===1)return A;const i=2*Math.PI/3;return Math.pow(2,-10*A)*Math.sin((A*10-.75)*i)+1}),G=(A={})=>{const i={adScrollHeight:"300vh",bandHeight:24,bandBg:"#222",bandColor:"#fff",bandFontSize:"10px",bandFontFamily:"Arial, Helvetica, sans-serif",bandLetterSpacing:"1px",labelTop:"Advertisement",labelBottomResume:"Scroll to continue",labelBottomMid:"Keep scrolling",labelBottomLate:"Almost there",labelBottomNow:"Content now ↓",progressBarColor:"rgba(255,255,255,0.35)",zIndexTop:9,zIndexBottom:8,bottomBandShowAt:400,bottomBandHideAt:300,snapPx:50,snapOverlap:2,stretchOverlap:20,snapDuration:.9,snapEase:j,onEnter:null,onExit:null,onProgress:null,thresholds:[],...A},p=window.frameElement?window.frameElement:null;if(!p)return()=>{};const a=window.parent;if(!a||a===window)return()=>{};let c=null;try{c=a.document,a.location.href}catch{return()=>{}}const r=(()=>{const t=c.querySelector("#adspot-mobile-mobile-3-above");if(t)return t;let n=p.parentElement;for(;n&&n!==c.body;){if(n.id&&n.id.includes("adspot"))return n;n=n.parentElement}return p.parentElement})();if(!r)return()=>{};const f=r.getAttribute("style"),q=p.getAttribute("style"),b=[],N={width:"100vw",marginLeft:"calc(50% - 50vw)",height:i.bandHeight+"px",backgroundColor:i.bandBg,color:i.bandColor,fontSize:i.bandFontSize,fontFamily:i.bandFontFamily,textTransform:"uppercase",letterSpacing:i.bandLetterSpacing,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"};(()=>{const t=r.style;t.height=i.adScrollHeight,t.maxHeight=i.adScrollHeight,t.position="relative",r.setAttribute("poweredAC","0.1.1"),t.clipPath=`inset(-${i.bandHeight-1}px 0 0 0)`,t.overflow="visible",t.width="100vw",t.maxWidth="100vw",t.marginLeft="calc(50% - 50vw)",t.marginRight="0",t.marginTop="0",t.marginBottom="0",t.padding="0";let n=r.parentElement;for(let B=0;B<6&&n&&n!==c.body;B++){const T=a.getComputedStyle(n);let H=!1;(T.overflow==="hidden"||T.overflowY==="hidden")&&(b.push({el:n,prop:"overflow",val:n.style.overflow}),b.push({el:n,prop:"overflowY",val:n.style.overflowY}),n.style.overflow="visible",n.style.overflowY="visible",H=!0);const L=parseFloat(T.height);T.height!=="auto"&&!isNaN(L)&&L<600&&(b.push({el:n,prop:"height",val:n.style.height}),n.style.height="auto",H=!0);const D=T.maxHeight;if(D&&D!=="none"&&(b.push({el:n,prop:"maxHeight",val:n.style.maxHeight}),n.style.maxHeight="none",H=!0),!H&&B>1)break;n=n.parentElement}const g=p.style;g.position="fixed",g.top="0",g.left="0",g.width="100vw",g.height="100vh",g.maxWidth="100vw",g.margin="0",g.padding="0",g.border="none",g.zIndex="1";const u=c.createElement("div");u.id="interscroller-top-band-wrapper",Object.assign(u.style,{position:"sticky",bottom:"0",width:"100vw",marginLeft:"calc(50% - 50vw)",zIndex:i.zIndexTop,pointerEvents:"none"});const e=c.createElement("div");e.id="interscroller-top-band",e.textContent=i.labelTop,Object.assign(e.style,N,{position:"relative",width:"100%",marginLeft:"0",transformOrigin:"top center"}),u.appendChild(e),r.insertAdjacentElement("beforebegin",u);const d=c.createElement("div");d.id="interscroller-bottom-band",Object.assign(d.style,N,{position:"fixed",bottom:"0",left:"0",zIndex:i.zIndexBottom,display:"flex",overflow:"hidden",transform:"translateY(100%)",transition:"none"});const y=c.createElement("span");if(y.id="interscroller-bottom-label",y.textContent=i.labelBottomResume,y.style.cssText="position:relative;z-index:1;pointer-events:none;",d.appendChild(y),i.progressBarColor){const B=c.createElement("span");B.id="interscroller-bottom-progress",B.style.cssText=["position:absolute","inset:0","width:0%",`background:${i.progressBarColor}`,"transition:none","z-index:0","pointer-events:none"].join(";"),d.appendChild(B)}r.after(d)})();const x=c.querySelector("#interscroller-top-band"),M=c.querySelector("#interscroller-top-band-wrapper"),h=c.querySelector("#interscroller-bottom-band"),w=c.querySelector("#interscroller-bottom-label"),P=c.querySelector("#interscroller-bottom-progress"),k=i.bandHeight,m=i.snapPx;let v=!1,S=!1,C=!1,o=!1;const s=(i.thresholds||[]).map(()=>!1),l=()=>{if(!h)return;const t=r.getBoundingClientRect(),n=a.innerHeight,g=t.top<=n,u=t.bottom<=n-k,e=o?t.top<=n-i.bottomBandHideAt:t.top<=n-i.bottomBandShowAt,d=r.offsetHeight,y=Math.min(1,Math.max(0,(n-t.top)/(d+n))),B=Math.min(1,Math.max(0,(n-t.top)/(d+k))),T=Math.min(1,Math.max(0,(n-t.top)/d)),H=Math.min(t.bottom,n)-Math.max(t.top-k,0),L=Math.min(1,Math.max(0,H/n)),D=Math.max(0,Math.round(t.bottom-n));!S&&g&&i.onEnter&&i.onEnter(),!C&&u&&i.onExit&&i.onExit(),S=g,C=u,o=e,i.onProgress&&i.onProgress({scrollProgress:y,adExposure:T,viewportCoverage:L,pxRemaining:D}),(i.thresholds||[]).forEach((z,_)=>{const Y=s[_],X=y>=z.at;!Y&&X?(s[_]=!0,z.onEnter&&z.onEnter(y)):Y&&!X&&(s[_]=!1,z.onLeave&&z.onLeave(y))});const $=n;if(x&&t.top<=$+i.stretchOverlap&&!u){const z=$-t.top;if(!v&&z<=m-i.snapOverlap){const _=1+Math.max(0,z+i.stretchOverlap)/k;x.style.transition="none",x.style.transform=`scaleY(${_})`}else!v&&z>m-i.snapOverlap&&(v=!0,x.style.transition=`transform ${i.snapDuration}s ${i.snapEase}`,x.style.transform="scaleY(1)")}else x&&t.top>$+i.stretchOverlap&&(v=!1,x.style.transition="none",x.style.transform="scaleY(1)");const V=a.visualViewport?Math.round(a.innerHeight-(a.visualViewport.offsetTop+a.visualViewport.height)):0;u?(h.style.transition="none",h.style.transform="none",h.style.position="sticky",h.style.top="0",h.style.bottom="",h.style.left="",h.style.marginLeft="calc(50% - 50vw)",h.style.width="100vw",w&&(w.textContent=i.labelBottomNow),P&&(P.style.width="100%")):e?(w&&(w.textContent=D>0?B<.2?i.labelBottomResume:B<.75?i.labelBottomMid:i.labelBottomLate:i.labelBottomNow),P&&(P.style.width=`${Math.round(B*100)}%`),h.style.transition="transform 0.3s ease",h.style.transform="translateY(0)",h.style.position="fixed",h.style.bottom=`${V}px`,h.style.top="",h.style.left="0",h.style.marginLeft="0",h.style.width="100vw"):(h.style.transition="transform 0.3s ease",h.style.transform="translateY(100%)",h.style.position="fixed",h.style.bottom=`${V}px`,h.style.left="0",h.style.marginLeft="0",h.style.width="100vw")};return l(),a.addEventListener("scroll",l,{passive:!0}),a.visualViewport?.addEventListener("resize",l,{passive:!0}),()=>{a.removeEventListener("scroll",l),a.visualViewport?.removeEventListener("resize",l),M?M.remove():x&&x.remove(),h&&h.remove(),f?r.setAttribute("style",f):r.removeAttribute("style"),q?p.setAttribute("style",q):p.removeAttribute("style"),b.forEach(({el:t,prop:n,val:g})=>{t.style[n]=g||""})}},K=(A={})=>{const i={adaptToWidth:"100%",maxWidth:"400px",maintainAspectRatio:!0,adaptToHeight:!1,zIndex:7,onAdapt:null,...A},p=window.frameElement??null;if(!p)return()=>{};const a=window.parent;if(!a||a===window)return()=>{};let c=null;try{c=a.document,a.location.href}catch{return()=>{}}const r=(()=>{const m=c.querySelector("#adspot-mobile-mbanner-2-above");if(m)return m;let v=p.parentElement;for(;v&&v!==c.body;){if(v.id&&v.id.includes("adspot"))return v;v=v.parentElement}return p.parentElement})();if(!r)return()=>{};const f=r.getAttribute("style"),q=p.getAttribute("style"),b=p.parentElement!==r?p.parentElement:null,N=b?b.getAttribute("style"):null,I=r.parentElement,x=I?a.getComputedStyle(I).paddingTop:null,M=parseInt(p.getAttribute("width"),10)||320,h=parseInt(p.getAttribute("height"),10)||50,w=()=>{const m=r.style;if(m.position="relative",m.overflow="visible",m.boxSizing="border-box",r.setAttribute("poweredAC","0.1.1"),b){const S=b.style;S.width="100%",S.height="100%",S.margin="0",S.textAlign="left"}const v=p.style;v.display="block",v.width="100%",v.height="100%",v.border="none",v.margin="0",v.padding="0"},P=()=>{const m=r.style;m.zIndex=String(i.zIndex),i.adaptToWidth&&(m.width=i.adaptToWidth,m.maxWidth=i.maxWidth||i.adaptToWidth,i.maxWidth&&i.adaptToWidth!=="100vw"&&!i.adaptToWidth.endsWith("vw")?(m.marginLeft="auto",m.marginRight="auto"):(i.adaptToWidth==="100vw"||i.adaptToWidth.endsWith("vw"))&&(m.marginLeft="calc(50% - 50vw)",m.marginRight="0")),I&&x&&x!=="0px"&&(I.style.paddingTop="0"),i.maintainAspectRatio?a.requestAnimationFrame(()=>{const S=r.offsetWidth||M,o=Math.round(S*(h/M));r.style.height=o+"px",b&&(b.style.height=o+"px"),p.style.height=o+"px",i.onAdapt&&i.onAdapt()}):(i.adaptToHeight&&(m.height=i.adaptToHeight),i.onAdapt&&i.onAdapt())};return w(),P(),()=>{f?r.setAttribute("style",f):r.removeAttribute("style"),q?p.setAttribute("style",q):p.removeAttribute("style"),b&&(N?b.setAttribute("style",N):b.removeAttribute("style")),I&&x&&x!=="0px"&&(I.style.paddingTop=x)}},J=(A={})=>{const i={billboardHeight:150,sideStripWidth:10,zIndex:0,onAdapt:null,...A},p=window.frameElement??null;if(!p)return()=>{};const a=window.parent;if(!a||a===window)return()=>{};let c=null;try{c=a.document,a.location.href}catch{return()=>{}}const r=(()=>{const s=c.querySelector("#adspot-mobile-mbanner-2-above");if(s)return s;let l=p.parentElement;for(;l&&l!==c.body;){if(l.id&&l.id.includes("adspot"))return l;l=l.parentElement}return p.parentElement})();if(!r)return()=>{};const f={nine:{siteBackgroundColor:"#ffffff",setup(s,l){s.querySelector("main")?.style.setProperty("position","relative");const t=l?.parentElement?.nextElementSibling;t&&t.tagName!=="HEADER"&&(t.style.paddingTop="0px")}},wwos:{siteBackgroundColor:"#ffffff",setup(s,l){s.querySelector("main")?.style.setProperty("position","relative");const t=l?.parentElement?.nextElementSibling;t&&t.tagName!=="HEADER"&&(t.style.paddingTop="0px")}},nineNews:{siteBackgroundColor:"#ffffff",setup(s){const l=s.querySelector(".layout");l&&(l.style.backgroundColor="transparent"),s.querySelector(".content")?.style.setProperty("position","relative")}},lifestyle:{siteBackgroundColor:"#ffffff",setup(s){s.querySelector("main")?.style.setProperty("position","relative")}},smh:{siteBackgroundColor:"#ffffff",setup(s){s.querySelector("main")?.style.setProperty("position","relative")}},theage:{siteBackgroundColor:"#ffffff",setup(s){s.querySelector("main")?.style.setProperty("position","relative")}}},q=[{site:"https://www.nine.com.au/sport",config:f.wwos},{site:"https://staging.nine.com.au/sport",config:f.wwos},{site:"https://www.nine.com.au",config:f.nine},{site:"https://staging.nine.com.au",config:f.nine},{site:"https://preview.nine.com.au",config:f.nine},{site:"https://www.9news",config:f.nineNews},{site:"https://staging.9news",config:f.nineNews},{site:"https://honey",config:f.lifestyle},{site:"https://www.smh",config:f.smh},{site:"https://www.theage",config:f.theage},{site:"https://creative-preview-an.com",config:f.nine}],N=(()=>{const s=a.location.href;for(const l of q)if(s.indexOf(l.site)>=0)return l.config;return f.nine})(),I=p.getAttribute("style"),x=r.getAttribute("style"),M=p.parentElement!==r?p.parentElement:null,h=M?M.getAttribute("style"):null,w=r.parentElement,P=w?w.getAttribute("style"):null;let k=null;const m=[],v=()=>{let s=p.parentElement;for(;s&&s!==c.body&&s!==c.documentElement;){const u=a.getComputedStyle(s);(u.transform&&u.transform!=="none"||u.willChange&&u.willChange!=="auto"||u.contain&&u.contain!=="none"||u.filter&&u.filter!=="none"||u.perspective&&u.perspective!=="none")&&(m.push({el:s,orig:s.getAttribute("style")}),s.style.transform="none",s.style.willChange="auto",s.style.contain="none",s.style.filter="none",s.style.perspective="none"),u.overflow!=="visible"&&(m.find(d=>d.el===s)||m.push({el:s,orig:s.getAttribute("style")}),s.style.overflow="visible"),s=s.parentElement}const l=p.style;if(l.position="fixed",l.top="0",l.left="0",l.width="100vw",l.height="100vh",l.zIndex=String(i.zIndex),l.border="none",l.margin="0",l.padding="0",l.display="block",r.setAttribute("poweredAC","0.1.1"),M){const u=M.style;u.width="100%",u.height="100%",u.overflow="visible",u.position="static",u.margin="0"}const t=r.style;t.height=i.billboardHeight+"px",t.minHeight=i.billboardHeight+"px",t.background="transparent",t.overflow="visible",t.position="relative",t.width="100%",t.padding="0",t.margin="0",w&&(w.style.overflow="visible",w.style.position="relative",w.style.backgroundColor="transparent",w.style.height=i.billboardHeight+"px",w.style.minHeight=i.billboardHeight+"px",w.style.maxHeight=i.billboardHeight+"px",w.style.padding="0",w.style.margin="0",w.setAttribute("data-mf-slot",""));const n=`max(${i.sideStripWidth}px, env(safe-area-inset-left))`,g=`max(${i.sideStripWidth}px, env(safe-area-inset-right))`;k=c.createElement("style"),k.id="mobilefireplace-pac",k.textContent=`
25
+ `,e.head.appendChild(B)}}},x={siteBackgroundColor:"#ffffff",fireplaceLeftMargin:0,adNodeMarginTop:-32,adNodeMarginBottom:8,responsiveScroll:-124,xPosHalfpage:720,yPosHalfpage:16,stickyMargin:{offset:160,isSticky:!0},maskOffset:window.parent.document.querySelector('div[class*="VideoIndexComponent"]')?324:292,zIndex:function(){const e=window.parent.document;e.querySelector(".header-wrapper")?.setAttribute("style","height:124px"),e.querySelector(".weather-widget-wrapper")?.setAttribute("style","bottom:0px"),e.querySelector(".content")?.setAttribute("style","padding-top:32px"),e.querySelector(".layout")?.setAttribute("style","position:relative;background-color:transparent;"),e.querySelector(".footer-ad")?.setAttribute("style","position:relative"),e.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);");const d=e.querySelector('[class*="VideoIndexComponent"]');d&&(e.querySelector(".breadcrumbs")?.setAttribute("style","display:none"),d.style.maxWidth="1190px",d.style.margin="auto",d.style.position="relative")}},M=[{site:"https://www.nine.com.au/sport",config:N},{site:"https://www.nine.com.au/product-reviews",config:q},{site:"https://www.nine.com.au/property",config:q},{site:"https://www.nine.com.au/entertainment",config:q},{site:"https://staging.nine.com.au/sport",config:N},{site:"https://staging.nine.com.au/product-reviews",config:q},{site:"https://staging.nine.com.au/property",config:q},{site:"https://staging.nine.com.au/entertainment",config:q},{site:"https://render-web-nine-staging-v1.ffxblue.com.au",config:b},{site:"https://render-web-nine-production-v1.ffxblue.com.au",config:b},{site:"https://preview.nine.com.au/",config:b},{site:"https://www.nine",config:b},{site:"https://staging.nine",config:b},{site:"https://entertainment",config:f},{site:"https://celebrity",config:f},{site:"https://homes",config:f},{site:"https://travel",config:f},{site:"https://honey",config:f},{site:"https://style",config:f},{site:"https://coach",config:f},{site:"https://kitchen",config:f},{site:"https://finance",config:f},{site:"https://wwos",config:I},{site:"https://staging.wwos",config:N},{site:"https://www.9news",config:x},{site:"https://staging.9news",config:x},{site:"https://www.yourtv",config:f},{site:"https://staging.yourtv",config:f},{site:"https://9now",config:q},{site:"https://creative-preview-an.com",config:f}],h=()=>{const e=window.document.getElementById("nineContent");e&&(e.style.backgroundColor=t.siteBackgroundColor),c&&(E.setProperty("--masthead-height","250px"),E.height="var(--masthead-height)"),v(),m(),P(),S(),p.addEventListener("scroll",s,{passive:!0}),n=setTimeout(s,50)},w=()=>{let e=null;return e=a.querySelector('div[id*="billboard"][id*="above"]'),e},P=()=>{let e=null;if(!window.parent)return e;if(e=a.querySelector('div[id*="halfpage"][id*="above"]'),!e)return;let d=e;for(let y=0;y<3;y++)if(d=d.parentNode,d&&getComputedStyle(d).position==="sticky"){d.setAttribute("style",`top: ${t.stickyMargin.offset}px`);break}},k=()=>{const e=p.location.href;for(let d=0;d<M.length;d+=1)if(e.indexOf(M[d].site)>=0)return M[d].config},m=()=>{if(!i)return;const e=i.style;e.width="100%",e.height="1000px",e.position="fixed",e.left="50%",e.setProperty("--transform-y","0px"),e.transform="translate3d(-50%, var(--transform-y), 0)"},v=()=>{if(!l)return;const e=l.style;l.className="",e.minHeight="250px",e.marginTop=t.adNodeMarginTop+"px",e.marginBottom=t.adNodeMarginBottom+"px",e.position="static",e.display="block",t.zIndex&&t.zIndex()},S=()=>{r=a.querySelector('div[data-contentunit-id="stan"]')?.parentNode||a.querySelector('div[data-ui-testid="header-score-strip"]')?.parentNode||a.querySelector('div[class*="__MyContainer"]')||a.querySelector('div[class*="__ArticleContainer"]')||a.querySelector('div[class*="__VideoIndexComponent"]')||a.querySelector("div.container.layout")||a.querySelector("main.container.layout"),r&&(r.style.willChange="clip-path",r.style.transition="none",r.style.webkitBackfaceVisibility="hidden",r.style.backfaceVisibility="hidden",r.style.transform="translate3d(0,0,0)",r.style.backgroundColor=t.siteBackgroundColor,r.style.setProperty("--mask-inset","0px"),r.style.clipPath="inset(var(--mask-inset, 0px) 0 0 0)")};let C=0,o=0;const s=()=>{const e=p.scrollY,d=e>C,y=e>u?e-t.maskOffset:0,B=Math.abs(y-o);if(r)if(d&&y>o)if(B>100){const T=Math.max(0,y-100);r.style.transition="none",r.style.setProperty("--mask-inset",`${T}px`),r.offsetHeight,r.style.transition="clip-path 0.3s ease-out",r.style.setProperty("--mask-inset",`${y}px`)}else r.style.transition="clip-path 0.3s ease-out",r.style.setProperty("--mask-inset",`${y}px`);else r.style.transition="none",r.style.setProperty("--mask-inset",`${y}px`);C=e,o=y,e>u?(i.style.setProperty("--transform-y",`${-g}px`),E.setProperty("--masthead-height","100px"),window.CollantOn||window.goCollant()):e>g&&e<=u?(i.style.setProperty("--transform-y",`${-g}px`),E.setProperty("--masthead-height",`${250+g-e}px`),window.CollantOn&&window.goBillboard()):e>=0&&e<=g&&(i.style.setProperty("--transform-y",`${-e}px`),E.setProperty("--masthead-height","250px"),window.CollantOn&&window.goBillboard())},l=w(),t=k();if(!t)return()=>{};let n=null;const g=-t.responsiveScroll+A,u=g+150;return h(),()=>{p.removeEventListener("scroll",s),n&&(clearTimeout(n),n=null)}},U=(A,i,p)=>{const a=window.frameElement?window.frameElement:null;if(!a)return()=>{};const c=window.parent;if(!c||c===window)return()=>{};let E=null;try{E=c.document,c.location.href}catch{return()=>{}}const r={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"250px",logoSmallTransform:"translateX(0px)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".container--padded")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".advert"),[["position","relative"]]),t.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},f={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".nk-demographics")?.setAttribute("style","max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector(".nk-footer")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector("article")?.setAttribute("style","position:relative"),t.querySelector("#article")?.setAttribute("style","position:relative"),t.querySelector("#VideoIndex")?.setAttribute("style","position:relative"),t.querySelector("#Index")?.setAttribute("style","position:relative"),t.querySelector(".show")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".column"),[["position","relative"]]),n(t.querySelectorAll(".advert"),[["position","relative"]]),n(t.querySelectorAll("blockquote"),[["zIndex","1"]]),t.querySelector('div[class*="article__MyContainer"]')?.setAttribute("style","max-width:1190px;margin-top:-24px"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},q={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".nk-demographics")?.setAttribute("style","max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector(".nk-footer")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector("article")?.setAttribute("style","position:relative"),t.querySelector("#article")?.setAttribute("style","position:relative"),t.querySelector("#VideoIndex")?.setAttribute("style","position:relative"),t.querySelector("#Index")?.setAttribute("style","position:relative"),t.querySelector(".show")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".column"),[["position","relative"]]),n(t.querySelectorAll(".advert"),[["position","relative"]]),n(t.querySelectorAll("blockquote"),[["zIndex","1"]]),t.querySelector('div[class^="component__StrapContainer"]')?.setAttribute("style","position:relative"),t.querySelector('section[class^="WatchNow__Container"]')?.setAttribute("style","margin-left:calc(50% - 49vw);margin-right:calc(50% - 49vw + 10px);"),t.querySelector('div[class*="ArticleContainer"]')?.setAttribute("style","max-width:1190px;margin-top:0px"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},b={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector('section[data-section="marketing-banner"]')?.setAttribute("style","position:relative"),t.querySelector(".container--ads")?.setAttribute("style","min-height:0"),t.getElementById("mastheadAnchorToggle")?.setAttribute("style","display:none"),n(t.querySelectorAll(".advert"),[["position","relative"]]),n(t.querySelectorAll("iframe"),[["position","relative"]]),t.querySelector('div[data-testid="live-tv"]')?.parentNode?.setAttribute("style","position:relative"),t.querySelector('div[data-contentunit-id="stan"]')?.parentNode?.setAttribute("style","position:relative"),n(t.querySelectorAll("small"),[["position","relative"]]),t.querySelector("small")?.setAttribute("style","position:inherit"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},N={siteBackgroundColor:"#ffffff",logoTop:"-148px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"none",zIndex:function(){const t=window.parent.document,n=(g,u)=>g.forEach(e=>u.forEach(([d,y])=>e.style[d]=y));t.querySelector(".container--padded")?.setAttribute("style","position:relative"),n(t.querySelectorAll(".advert"),[["position","relative"]]),t.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},I={siteBackgroundColor:"#ffffff",logoTop:"44px",logoLeft:"50%",logoTransform:"translateX(-50%)",logoSmallLeft:"50%",logoSmallTransform:"translateX(-50%)",logoSmallFilter:"invert(1)",zIndex:function(){const t=window.parent.document;t.querySelector(".header-wrapper")?.setAttribute("style","height:124px"),t.querySelector(".weather-widget-wrapper")?.setAttribute("style","bottom:0px"),t.querySelector(".content")?.setAttribute("style","padding-top:32px"),t.querySelector(".layout")?.setAttribute("style","position:relative;background-color:transparent;"),t.querySelector(".footer-ad")?.setAttribute("style","position:relative"),t.querySelector(".footer-netkit")?.setAttribute("style","position:relative;max-width:1190px;left:50%;transform:translate(-50%,0);"),t.querySelector('div[type="BANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[type="MBANNER"]')?.setAttribute("style","display:none"),t.querySelector('div[id*="sidepanel"][id*="above"]')?.setAttribute("style","display:none")}},x=[{site:"https://www.nine.com.au/sport",config:r},{site:"https://www.nine.com.au/product-reviews",config:q},{site:"https://www.nine.com.au/property",config:q},{site:"https://www.nine.com.au/entertainment",config:q},{site:"https://staging.nine.com.au/sport",config:r},{site:"https://staging.nine.com.au/product-reviews",config:q},{site:"https://staging.nine.com.au/property",config:q},{site:"https://staging.nine.com.au/entertainment",config:q},{site:"https://render-web-nine-staging-v1.ffxblue.com.au",config:b},{site:"https://render-web-nine-production-v1.ffxblue.com.au",config:b},{site:"https://preview.nine.com.au/",config:b},{site:"https://www.nine",config:b},{site:"https://staging.nine",config:b},{site:"https://entertainment",config:f},{site:"https://celebrity",config:f},{site:"https://homes",config:f},{site:"https://travel",config:f},{site:"https://honey",config:f},{site:"https://style",config:f},{site:"https://coach",config:f},{site:"https://kitchen",config:f},{site:"https://finance",config:f},{site:"https://wwos",config:N},{site:"https://staging.wwos",config:N},{site:"https://www.9news",config:I},{site:"https://staging.9news",config:I},{site:"https://www.yourtv",config:f},{site:"https://staging.yourtv",config:f},{site:"https://9now",config:q},{site:"https://creative-preview-an.com",config:f}],M=()=>{const t=window.document.getElementById("logo-small");t&&(t.style.left=C.logoSmallLeft,t.style.transform=C.logoSmallTransform,t.style.filter=C.logoSmallFilter),k(),P(),c.addEventListener("scroll",v),o=setTimeout(v,50)},h=()=>{let t=null;return t=E.querySelector('div[id*="desktop"][id*="takeover"][id*="above"]'),t},w=()=>{const t=c.location.href;for(let n=0;n<x.length;n+=1)if(t.indexOf(x[n].site)>=0)return x[n].config},P=()=>{if(!a)return;const t=a.style;t.width="100%",t.height=`${i}px`,t.position="relative"},k=()=>{if(!S)return;const t=S.style;t.maxHeight=`${i}px`,t.minHeight=`${i}px`,t.marginTop="0px",t.marginBottom="0px",t.position="absolute",t.width="1900px",t.top=C.logoTop,t.left=C.logoLeft,t.transform=C.logoTransform,t.zIndex="10000",t.pointerEvents="none",C.zIndex&&C.zIndex()},m=t=>{if(!S)return;const n=S.style;t==="big"&&!window.bigActive?(n.maxHeight=`${i}px`,n.minHeight=`${i}px`,n.position="absolute",n.top=C.logoTop,n.zIndex="10000",window.loadBig()):t==="small"&&!window.smallActive&&(n.maxHeight=`${p}px`,n.minHeight=`${p}px`,n.position="fixed",n.top="0px",n.zIndex="100000",window.loadSmall())},v=()=>{const t=c.scrollY;a.style,t>=0&&t<=s?m("big"):t>s&&(t>l?m("small"):m("big"),l=t<=0?0:t)},S=h(),C=w();if(!C)return()=>{};let o=null;const s=A;let l=0;return M(),()=>{c.removeEventListener("scroll",v),o&&(clearTimeout(o),o=null)}},j=((A,i=50)=>`linear(${Array.from({length:i+1},(a,c)=>A(c/i)).map(a=>+a.toFixed(4)).join(", ")})`)(A=>{if(A===0||A===1)return A;const i=2*Math.PI/3;return Math.pow(2,-10*A)*Math.sin((A*10-.75)*i)+1}),G=(A={})=>{const i={adScrollHeight:"300vh",bandHeight:24,bandBg:"#222",bandColor:"#fff",bandFontSize:"10px",bandFontFamily:"Arial, Helvetica, sans-serif",bandLetterSpacing:"1px",labelTop:"Advertisement",labelBottomResume:"Scroll to continue",labelBottomMid:"Keep scrolling",labelBottomLate:"Almost there",labelBottomNow:"Content now ↓",progressBarColor:"rgba(255,255,255,0.35)",zIndexTop:9,zIndexBottom:8,bottomBandShowAt:400,bottomBandHideAt:300,snapPx:50,snapOverlap:2,stretchOverlap:20,snapDuration:.9,snapEase:j,onEnter:null,onExit:null,onProgress:null,thresholds:[],...A},p=window.frameElement?window.frameElement:null;if(!p)return()=>{};const a=window.parent;if(!a||a===window)return()=>{};let c=null;try{c=a.document,a.location.href}catch{return()=>{}}const r=(()=>{const t=c.querySelector("#adspot-mobile-mobile-3-above");if(t)return t;let n=p.parentElement;for(;n&&n!==c.body;){if(n.id&&n.id.includes("adspot"))return n;n=n.parentElement}return p.parentElement})();if(!r)return()=>{};const f=r.getAttribute("style"),q=p.getAttribute("style"),b=[],N={width:"100vw",marginLeft:"calc(50% - 50vw)",height:i.bandHeight+"px",backgroundColor:i.bandBg,color:i.bandColor,fontSize:i.bandFontSize,fontFamily:i.bandFontFamily,textTransform:"uppercase",letterSpacing:i.bandLetterSpacing,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"};(()=>{const t=r.style;t.height=i.adScrollHeight,t.maxHeight=i.adScrollHeight,t.position="relative",r.setAttribute("poweredAC","0.1.2"),t.clipPath=`inset(-${i.bandHeight-1}px 0 0 0)`,t.overflow="visible",t.width="100vw",t.maxWidth="100vw",t.marginLeft="calc(50% - 50vw)",t.marginRight="0",t.marginTop="0",t.marginBottom="0",t.padding="0";let n=r.parentElement;for(let B=0;B<6&&n&&n!==c.body;B++){const T=a.getComputedStyle(n);let H=!1;(T.overflow==="hidden"||T.overflowY==="hidden")&&(b.push({el:n,prop:"overflow",val:n.style.overflow}),b.push({el:n,prop:"overflowY",val:n.style.overflowY}),n.style.overflow="visible",n.style.overflowY="visible",H=!0);const L=parseFloat(T.height);T.height!=="auto"&&!isNaN(L)&&L<600&&(b.push({el:n,prop:"height",val:n.style.height}),n.style.height="auto",H=!0);const D=T.maxHeight;if(D&&D!=="none"&&(b.push({el:n,prop:"maxHeight",val:n.style.maxHeight}),n.style.maxHeight="none",H=!0),!H&&B>1)break;n=n.parentElement}const g=p.style;g.position="fixed",g.top="0",g.left="0",g.width="100vw",g.height="100vh",g.maxWidth="100vw",g.margin="0",g.padding="0",g.border="none",g.zIndex="1";const u=c.createElement("div");u.id="interscroller-top-band-wrapper",Object.assign(u.style,{position:"sticky",bottom:"0",width:"100vw",marginLeft:"calc(50% - 50vw)",zIndex:i.zIndexTop,pointerEvents:"none"});const e=c.createElement("div");e.id="interscroller-top-band",e.textContent=i.labelTop,Object.assign(e.style,N,{position:"relative",width:"100%",marginLeft:"0",transformOrigin:"top center"}),u.appendChild(e),r.insertAdjacentElement("beforebegin",u);const d=c.createElement("div");d.id="interscroller-bottom-band",Object.assign(d.style,N,{position:"fixed",bottom:"0",left:"0",zIndex:i.zIndexBottom,display:"flex",overflow:"hidden",transform:"translateY(100%)",transition:"none"});const y=c.createElement("span");if(y.id="interscroller-bottom-label",y.textContent=i.labelBottomResume,y.style.cssText="position:relative;z-index:1;pointer-events:none;",d.appendChild(y),i.progressBarColor){const B=c.createElement("span");B.id="interscroller-bottom-progress",B.style.cssText=["position:absolute","inset:0","width:0%",`background:${i.progressBarColor}`,"transition:none","z-index:0","pointer-events:none"].join(";"),d.appendChild(B)}r.after(d)})();const x=c.querySelector("#interscroller-top-band"),M=c.querySelector("#interscroller-top-band-wrapper"),h=c.querySelector("#interscroller-bottom-band"),w=c.querySelector("#interscroller-bottom-label"),P=c.querySelector("#interscroller-bottom-progress"),k=i.bandHeight,m=i.snapPx;let v=!1,S=!1,C=!1,o=!1;const s=(i.thresholds||[]).map(()=>!1),l=()=>{if(!h)return;const t=r.getBoundingClientRect(),n=a.innerHeight,g=t.top<=n,u=t.bottom<=n-k,e=o?t.top<=n-i.bottomBandHideAt:t.top<=n-i.bottomBandShowAt,d=r.offsetHeight,y=Math.min(1,Math.max(0,(n-t.top)/(d+n))),B=Math.min(1,Math.max(0,(n-t.top)/(d+k))),T=Math.min(1,Math.max(0,(n-t.top)/d)),H=Math.min(t.bottom,n)-Math.max(t.top-k,0),L=Math.min(1,Math.max(0,H/n)),D=Math.max(0,Math.round(t.bottom-n));!S&&g&&i.onEnter&&i.onEnter(),!C&&u&&i.onExit&&i.onExit(),S=g,C=u,o=e,i.onProgress&&i.onProgress({scrollProgress:y,adExposure:T,viewportCoverage:L,pxRemaining:D}),(i.thresholds||[]).forEach((z,_)=>{const Y=s[_],X=y>=z.at;!Y&&X?(s[_]=!0,z.onEnter&&z.onEnter(y)):Y&&!X&&(s[_]=!1,z.onLeave&&z.onLeave(y))});const $=n;if(x&&t.top<=$+i.stretchOverlap&&!u){const z=$-t.top;if(!v&&z<=m-i.snapOverlap){const _=1+Math.max(0,z+i.stretchOverlap)/k;x.style.transition="none",x.style.transform=`scaleY(${_})`}else!v&&z>m-i.snapOverlap&&(v=!0,x.style.transition=`transform ${i.snapDuration}s ${i.snapEase}`,x.style.transform="scaleY(1)")}else x&&t.top>$+i.stretchOverlap&&(v=!1,x.style.transition="none",x.style.transform="scaleY(1)");const V=a.visualViewport?Math.round(a.innerHeight-(a.visualViewport.offsetTop+a.visualViewport.height)):0;u?(h.style.transition="none",h.style.transform="none",h.style.position="sticky",h.style.top="0",h.style.bottom="",h.style.left="",h.style.marginLeft="calc(50% - 50vw)",h.style.width="100vw",w&&(w.textContent=i.labelBottomNow),P&&(P.style.width="100%")):e?(w&&(w.textContent=D>0?B<.2?i.labelBottomResume:B<.75?i.labelBottomMid:i.labelBottomLate:i.labelBottomNow),P&&(P.style.width=`${Math.round(B*100)}%`),h.style.transition="transform 0.3s ease",h.style.transform="translateY(0)",h.style.position="fixed",h.style.bottom=`${V}px`,h.style.top="",h.style.left="0",h.style.marginLeft="0",h.style.width="100vw"):(h.style.transition="transform 0.3s ease",h.style.transform="translateY(100%)",h.style.position="fixed",h.style.bottom=`${V}px`,h.style.left="0",h.style.marginLeft="0",h.style.width="100vw")};return l(),a.addEventListener("scroll",l,{passive:!0}),a.visualViewport?.addEventListener("resize",l,{passive:!0}),()=>{a.removeEventListener("scroll",l),a.visualViewport?.removeEventListener("resize",l),M?M.remove():x&&x.remove(),h&&h.remove(),f?r.setAttribute("style",f):r.removeAttribute("style"),q?p.setAttribute("style",q):p.removeAttribute("style"),b.forEach(({el:t,prop:n,val:g})=>{t.style[n]=g||""})}},K=(A={})=>{const i={adaptToWidth:"100%",maxWidth:"400px",maintainAspectRatio:!0,adaptToHeight:!1,zIndex:7,onAdapt:null,...A},p=window.frameElement??null;if(!p)return()=>{};const a=window.parent;if(!a||a===window)return()=>{};let c=null;try{c=a.document,a.location.href}catch{return()=>{}}const r=(()=>{const m=c.querySelector("#adspot-mobile-mbanner-2-above");if(m)return m;let v=p.parentElement;for(;v&&v!==c.body;){if(v.id&&v.id.includes("adspot"))return v;v=v.parentElement}return p.parentElement})();if(!r)return()=>{};const f=r.getAttribute("style"),q=p.getAttribute("style"),b=p.parentElement!==r?p.parentElement:null,N=b?b.getAttribute("style"):null,I=r.parentElement,x=I?a.getComputedStyle(I).paddingTop:null,M=parseInt(p.getAttribute("width"),10)||320,h=parseInt(p.getAttribute("height"),10)||50,w=()=>{const m=r.style;if(m.position="relative",m.overflow="visible",m.boxSizing="border-box",r.setAttribute("poweredAC","0.1.2"),b){const S=b.style;S.width="100%",S.height="100%",S.margin="0",S.textAlign="left"}const v=p.style;v.display="block",v.width="100%",v.height="100%",v.border="none",v.margin="0",v.padding="0"},P=()=>{const m=r.style;m.zIndex=String(i.zIndex),i.adaptToWidth&&(m.width=i.adaptToWidth,m.maxWidth=i.maxWidth||i.adaptToWidth,i.maxWidth&&i.adaptToWidth!=="100vw"&&!i.adaptToWidth.endsWith("vw")?(m.marginLeft="auto",m.marginRight="auto"):(i.adaptToWidth==="100vw"||i.adaptToWidth.endsWith("vw"))&&(m.marginLeft="calc(50% - 50vw)",m.marginRight="0")),I&&x&&x!=="0px"&&(I.style.paddingTop="0"),i.maintainAspectRatio?a.requestAnimationFrame(()=>{const S=r.offsetWidth||M,o=Math.round(S*(h/M));r.style.height=o+"px",b&&(b.style.height=o+"px"),p.style.height=o+"px",i.onAdapt&&i.onAdapt()}):(i.adaptToHeight&&(m.height=i.adaptToHeight),i.onAdapt&&i.onAdapt())};return w(),P(),()=>{f?r.setAttribute("style",f):r.removeAttribute("style"),q?p.setAttribute("style",q):p.removeAttribute("style"),b&&(N?b.setAttribute("style",N):b.removeAttribute("style")),I&&x&&x!=="0px"&&(I.style.paddingTop=x)}},J=(A={})=>{const i={billboardHeight:150,sideStripWidth:10,zIndex:0,onAdapt:null,...A},p=window.frameElement??null;if(!p)return()=>{};const a=window.parent;if(!a||a===window)return()=>{};let c=null;try{c=a.document,a.location.href}catch{return()=>{}}const r=(()=>{const s=c.querySelector("#adspot-mobile-mbanner-2-above");if(s)return s;let l=p.parentElement;for(;l&&l!==c.body;){if(l.id&&l.id.includes("adspot"))return l;l=l.parentElement}return p.parentElement})();if(!r)return()=>{};const f={nine:{siteBackgroundColor:"#ffffff",setup(s,l){s.querySelector("main")?.style.setProperty("position","relative");const t=l?.parentElement?.nextElementSibling;t&&t.tagName!=="HEADER"&&(t.style.paddingTop="0px")}},wwos:{siteBackgroundColor:"#ffffff",setup(s,l){s.querySelector("main")?.style.setProperty("position","relative");const t=l?.parentElement?.nextElementSibling;t&&t.tagName!=="HEADER"&&(t.style.paddingTop="0px")}},nineNews:{siteBackgroundColor:"#ffffff",setup(s){const l=s.querySelector(".layout");l&&(l.style.backgroundColor="transparent"),s.querySelector(".content")?.style.setProperty("position","relative")}},lifestyle:{siteBackgroundColor:"#ffffff",setup(s){s.querySelector("main")?.style.setProperty("position","relative")}},smh:{siteBackgroundColor:"#ffffff",setup(s){s.querySelector("main")?.style.setProperty("position","relative")}},theage:{siteBackgroundColor:"#ffffff",setup(s){s.querySelector("main")?.style.setProperty("position","relative")}}},q=[{site:"https://www.nine.com.au/sport",config:f.wwos},{site:"https://staging.nine.com.au/sport",config:f.wwos},{site:"https://www.nine.com.au",config:f.nine},{site:"https://staging.nine.com.au",config:f.nine},{site:"https://preview.nine.com.au",config:f.nine},{site:"https://www.9news",config:f.nineNews},{site:"https://staging.9news",config:f.nineNews},{site:"https://honey",config:f.lifestyle},{site:"https://www.smh",config:f.smh},{site:"https://www.theage",config:f.theage},{site:"https://creative-preview-an.com",config:f.nine}],N=(()=>{const s=a.location.href;for(const l of q)if(s.indexOf(l.site)>=0)return l.config;return f.nine})(),I=p.getAttribute("style"),x=r.getAttribute("style"),M=p.parentElement!==r?p.parentElement:null,h=M?M.getAttribute("style"):null,w=r.parentElement,P=w?w.getAttribute("style"):null;let k=null;const m=[],v=()=>{let s=p.parentElement;for(;s&&s!==c.body&&s!==c.documentElement;){const u=a.getComputedStyle(s);(u.transform&&u.transform!=="none"||u.willChange&&u.willChange!=="auto"||u.contain&&u.contain!=="none"||u.filter&&u.filter!=="none"||u.perspective&&u.perspective!=="none")&&(m.push({el:s,orig:s.getAttribute("style")}),s.style.transform="none",s.style.willChange="auto",s.style.contain="none",s.style.filter="none",s.style.perspective="none"),u.overflow!=="visible"&&(m.find(d=>d.el===s)||m.push({el:s,orig:s.getAttribute("style")}),s.style.overflow="visible"),s=s.parentElement}const l=p.style;if(l.position="fixed",l.top="0",l.left="0",l.width="100vw",l.height="100vh",l.zIndex=String(i.zIndex),l.border="none",l.margin="0",l.padding="0",l.display="block",r.setAttribute("poweredAC","0.1.2"),M){const u=M.style;u.width="100%",u.height="100%",u.overflow="visible",u.position="static",u.margin="0"}const t=r.style;t.height=i.billboardHeight+"px",t.minHeight=i.billboardHeight+"px",t.background="transparent",t.overflow="visible",t.position="relative",t.width="100%",t.padding="0",t.margin="0",w&&(w.style.overflow="visible",w.style.position="relative",w.style.backgroundColor="transparent",w.style.height=i.billboardHeight+"px",w.style.minHeight=i.billboardHeight+"px",w.style.maxHeight=i.billboardHeight+"px",w.style.padding="0",w.style.margin="0",w.setAttribute("data-mf-slot",""));const n=`max(${i.sideStripWidth}px, env(safe-area-inset-left))`,g=`max(${i.sideStripWidth}px, env(safe-area-inset-right))`;k=c.createElement("style"),k.id="mobilefireplace-pac",k.textContent=`
26
26
  /* Mobile Fireplace — powered-ad-config */
27
27
  html, body {
28
28
  background-color: transparent !important;
29
+ overflow-x: hidden !important;
30
+ overscroll-behavior-x: none !important;
29
31
  }
30
32
  /* App wrapper (direct child of body) — transparent so the
31
33
  fixed creative is visible through the side gaps. */
@@ -66,4 +68,4 @@
66
68
  margin: 0 !important;
67
69
  padding: 0 !important;
68
70
  }
69
- `,c.head.appendChild(k),N.setup&&N.setup(c,r)};let S=null;const C=()=>{const s=a.innerWidth,l=a.innerHeight;if(s>l){const t=l/s,n=Math.round(i.billboardHeight*t);r.style.height=n+"px",r.style.minHeight=n+"px"}else r.style.height=i.billboardHeight+"px",r.style.minHeight=i.billboardHeight+"px"};return v(),S=C,a.addEventListener("resize",S),C(),i.onAdapt&&a.requestAnimationFrame(()=>{i.onAdapt()}),()=>{S&&(a.removeEventListener("resize",S),S=null),k&&k.parentNode&&(k.parentNode.removeChild(k),k=null),I?p.setAttribute("style",I):p.removeAttribute("style");for(const{el:s,orig:l}of m)l?s.setAttribute("style",l):s.removeAttribute("style");m.length=0,x?r.setAttribute("style",x):r.removeAttribute("style"),M&&(h?M.setAttribute("style",h):M.removeAttribute("style")),w&&(w.removeAttribute("data-mf-slot"),P?w.setAttribute("style",P):w.removeAttribute("style"))}};let O=()=>{};function F({adFormat:A="",stickyOffset:i=0,logoPosX:p=0,logoHeight:a=0,logoSmallHeight:c=0,...E}={}){typeof O=="function"&&O();let r=()=>{};return A==="fireplace"?r=W(i):A==="fireplace-collant"?r=R(i):A==="logomorph"?r=U(p,a,c):A==="interscroller"?r=G(E):A==="liquidframe"?r=K(E):A==="mobilefireplace"?r=J(E):console.warn("[powered-ad-config] Unknown ad format:",A),O=typeof r=="function"?r:()=>{},O}return F.version="0.1.1",F}));
71
+ `,c.head.appendChild(k),N.setup&&N.setup(c,r)};let S=null;const C=()=>{const s=a.innerWidth,l=a.innerHeight;if(s>l){const t=l/s,n=Math.round(i.billboardHeight*t);r.style.height=n+"px",r.style.minHeight=n+"px"}else r.style.height=i.billboardHeight+"px",r.style.minHeight=i.billboardHeight+"px"};return v(),S=C,a.addEventListener("resize",S),C(),i.onAdapt&&a.requestAnimationFrame(()=>{i.onAdapt()}),()=>{S&&(a.removeEventListener("resize",S),S=null),k&&k.parentNode&&(k.parentNode.removeChild(k),k=null),I?p.setAttribute("style",I):p.removeAttribute("style");for(const{el:s,orig:l}of m)l?s.setAttribute("style",l):s.removeAttribute("style");m.length=0,x?r.setAttribute("style",x):r.removeAttribute("style"),M&&(h?M.setAttribute("style",h):M.removeAttribute("style")),w&&(w.removeAttribute("data-mf-slot"),P?w.setAttribute("style",P):w.removeAttribute("style"))}};let O=()=>{};function F({adFormat:A="",stickyOffset:i=0,logoPosX:p=0,logoHeight:a=0,logoSmallHeight:c=0,...E}={}){typeof O=="function"&&O();let r=()=>{};return A==="fireplace"?r=W(i):A==="fireplace-collant"?r=R(i):A==="logomorph"?r=U(p,a,c):A==="interscroller"?r=G(E):A==="liquidframe"?r=K(E):A==="mobilefireplace"?r=J(E):console.warn("[powered-ad-config] Unknown ad format:",A),O=typeof r=="function"?r:()=>{},O}return F.version="0.1.2",F}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "powered-ad-config",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Configure Ads to load smoothly and at the right position on All Nine's websites",
5
5
  "main": "dist/powered-ad-config.umd.js",
6
6
  "module": "dist/powered-ad-config.es.js",