PageSourceSearch

https://cdn.productreview.com.au/assets/public/gnisitrevda_7a5c047b.js

js productreview.com.au collected 2026-10-01 10:35:03 UTC 45,061 bytes, 2 lines download raw bytes

1(()=>{"use strict";var e={215(e,t,n){n.d(t,["J8",0,["xs","sm","md","lg","xl","xxl"]])}};const t={};function n(i){const r=t[i];if(void 0!==r)return r.exports;const s=t[i]={exports:{}};return e[i](s,s.exports,n),s.exports}n.m=e,n.cw=e=>{var t;return()=>{if(e){var n=e;e=0,t={exports:{}},n.call(t.exports,t,t.exports)}return t.exports}},n.d=(e,t)=>{if(Array.isArray(t))for(var i=0;i<t.length;){var r=t[i++],s=t[i++],o=0===s?{enumerable:!0,value:t[i++]}:{enumerable:!0,get:s};n.o(e,r)||Object.defineProperty(e,r,o)}else for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,i)=>(n.f[i](e,t),t),[])),n.u=e=>{if("shared_AdManager_debugAds_js"===e)return"sj_sdAgubed_reganaMdA_derahs_4fe1c82b.js"},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="public:";n.l=(i,r,s,o)=>{if(e[i])return void e[i].push(r);let a,d;if(void 0!==s){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const n=e[l];if(n.getAttribute("src")==i||n.getAttribute("data-webpack")==t+s){a=n;break}}}a||(d=!0,a=document.createElement("script"),a.charset="utf-8",n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack",t+s),a.src=i),e[i]=[r];const c=(t,n)=>{a.onerror=a.onload=null,clearTimeout(h);const r=e[i];if(delete e[i],a.parentNode?.removeChild(a),r?.forEach(e=>e(n)),t)return t(n)},h=setTimeout(c.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=c.bind(null,a.onerror),a.onload=c.bind(null,a.onload),d&&document.head.appendChild(a)}})(),n.p="https://cdn.productreview.com.au/assets/public/",(()=>{const e={advertising:0};n.f.j=(t,i)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{const s=new Promise((n,i)=>r=e[t]=[n,i]);i.push(r[2]=s);const o=new Error,a=i=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;o.message="Loading chunk "+t+" failed.\n("+e+": "+n+")",o.name="ChunkLoadError",o.type=e,o.request=n,o.event=i,r[1](o)}};n.l(n.p+n.u(t),a,"chunk-"+t,t)}};const t=(t,i)=>{let[r,s,o]=i;var a,d,l=0;if(r.some(t=>0!==e[t])){for(a in s)n.o(s,a)&&(n.m[a]=s[a]);if(o)o(n)}for(t&&t(i);l<r.length;l++)d=r[l],n.o(e,d)&&e[d]&&e[d][0](),e[d]=0},i=self.webpackChunkpublic=self.webpackChunkpublic||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();let i={};var r=n.cw(function(e,t){var n=Object.prototype.hasOwnProperty,i="~";function Events(){}function EE(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function r(e,t,n,r,s){if("function"!=typeof n)throw new TypeError("The listener must be a function");var o=new EE(n,r||e,s),a=i?i+t:t;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],o]:e._events[a].push(o):(e._events[a]=o,e._eventsCount++),e}function s(e,t){0===--e._eventsCount?e._events=new Events:delete e._events[t]}function EventEmitter(){this._events=new Events,this._eventsCount=0}Object.create&&(Events.prototype=Object.create(null),(new Events).__proto__||(i=!1)),EventEmitter.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)n.call(e,t)&&r.push(i?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},EventEmitter.prototype.listeners=function(e){var t=i?i+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,s=n.length,o=new Array(s);r<s;r++)o[r]=n[r].fn;return o},EventEmitter.prototype.listenerCount=function(e){var t=i?i+e:e,n=this._events[t];return n?n.fn?1:n.length:0},EventEmitter.prototype.emit=function(e,t,n,r,s,o){var a=i?i+e:e;if(!this._events[a])return!1;var d,l,c=this._events[a],h=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,s),!0;case 6:return c.fn.call(c.context,t,n,r,s,o),!0}for(l=1,d=new Array(h-1);l<h;l++)d[l-1]=arguments[l];c.fn.apply(c.context,d)}else{var g,u=c.length;for(l=0;l<u;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),h){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,n);break;case 4:c[l].fn.call(c[l].context,t,n,r);break;default:if(!d)for(g=1,d=new Array(h-1);g<h;
1g++)d[g-1]=arguments[g];c[l].fn.apply(c[l].context,d)}}return!0},EventEmitter.prototype.on=function(e,t,n){return r(this,e,t,n,!1)},EventEmitter.prototype.once=function(e,t,n){return r(this,e,t,n,!0)},EventEmitter.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events[o])return this;if(!t)return s(this,o),this;var a=this._events[o];if(a.fn)a.fn!==t||r&&!a.once||n&&a.context!==n||s(this,o);else{for(var d=0,l=[],c=a.length;d<c;d++)(a[d].fn!==t||r&&!a[d].once||n&&a[d].context!==n)&&l.push(a[d]);l.length?this._events[o]=1===l.length?l[0]:l:s(this,o)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t;return e?(t=i?i+e:e,this._events[t]&&s(this,t)):(this._events=new Events,this._eventsCount=0),this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.addListener=EventEmitter.prototype.on,EventEmitter.prefixed=i,EventEmitter.EventEmitter=EventEmitter,e.exports=EventEmitter});function s(e){return JSON.parse(JSON.stringify(e))}function o(e,t){const n=function(...i){const r=n.cache,s=t?t.apply(this,i):i[0];if(r.has(s))return r.get(s);const o=e.apply(this,i);return r.set(s,o),o};return n.cache=new Map,n}function a(e){return t=>t.bidder in e?{...t,params:{...e[t.bidder],...t.params}}:t}function d(e){return t=>t.sizeLabelsAny?{...t,sizeLabelsAny:t.sizeLabelsAny.map(t=>`${e}-${t}`)}:t}const l=[[1,1]],c={label:"xxl",viewport:[1378,0],mediaQuery:"(min-width: 1378px)"},h={label:"xl",viewport:[1066,0],mediaQuery:"(min-width: 1066px) and (max-width: 1377px)"},g={label:"lg",viewport:[960,0],mediaQuery:"(min-width: 960px) and (max-width: 1065px)"},u={label:"md",viewport:[768,0],mediaQuery:"(min-width: 768px) and (max-width: 959px)"},p={label:"sm",viewport:[576,0],mediaQuery:"(min-width: 576px) and (max-width: 767px)"},f={label:"xs",viewport:[0,0],mediaQuery:"(max-width: 575px)"};function m(e){const t=[];return e.forEach(e=>{Array.isArray(e)&&1!==e[0]&&1!==e[1]&&t.push(e)}),t}const v={default:[{label:"default",viewport:[0,0],mediaQuery:"(min-width: 0px)",sizes:l}],sidebar:[{...c,sizes:[[300,600],[300,250],...l]},{...h,sizes:[[300,600],[300,250],...l]},{...g,sizes:[[300,600],[300,250],...l]},{...u,sizes:[...l]},{...p,sizes:[...l]},{...f,sizes:[...l]}],mainContentPremium:[{...c,sizes:[[970,90],[728,90],...l]},{...h,sizes:[[970,250],[970,90],[728,90],...l]},{...g,sizes:[[728,90],[468,60],[320,50],...l]},{...u,sizes:[[728,90],[468,60],...l]},{...p,sizes:[[300,600],[320,480],[300,250],...l]},{...f,sizes:[[300,600],[320,480],[300,250],...l]}],mainContent:[{...c,sizes:[[728,90],...l]},{...h,sizes:[[728,90],...l]},{...g,sizes:[[468,60],[320,50],...l]},{...u,sizes:[[728,90],[468,60],...l]},{...p,sizes:[[300,250],...l]},{...f,sizes:[[300,250],...l]}],layout:[{...c,sizes:[[970,90],[728,90],...l]},{...h,sizes:[[970,90],[728,90],...l]},{...g,sizes:[[728,90],[468,60],...l]},{...u,sizes:[[728,90],[468,60],...l]},{...p,sizes:[[468,60],[320,100],[320,50],...l]},{...f,sizes:[[320,100],[320,50],...l]}],fixed:[{...c,sizes:[...l]},{...h,sizes:[...l]},{...g,sizes:[...l]},{...u,viewport:[768,500],sizes:[[728,90],...l]},{...p,sizes:[[320,50],...l]},{...f,sizes:[[320,50],...l]}],mediaGallerySidebar:[{...c,sizes:[[468,60],[300,250],[336,280],[320,100],[200,200],[250,250],...l]},{...h,sizes:[[300,250],[336,280],[320,100],[200,200],[250,250],...l]},{...g,sizes:[[300,250],[336,280],[320,100],[200,200],[250,250],...l]}]};function b(e){return e in v?v[e]:(console.error(`getSizeMappingByKey: key ${e} is not defined`),v.default)}function C(e,t){return{bidder:"pubmatic",params:{adSlot:t},sizeLabelsAny:e}}function y(e,t){return{bidder:"appnexus",params:{placementId:t},sizeLabelsAny:e}}function x(e,t){return{bidder:"rubicon",params:{sizes:t},sizeLabelsAny:e}}function E(e){return{bidder:"criteo",params:{},sizeLabelsAny:e}}function w(e,t,n){const i=[];return b(e).forEach(e=>{n&&!n.includes(e.label)||m(e.sizes).forEach(n=>{i.push({bidder:"ix",params:{siteId:t,size:n},sizeLabelsAny:[e.label]})})}),i}const A=o(()=>({inContent:[y(["xs","sm","md","lg","xl","xxl"],"12495336"),C(["xs","sm"],"/4027029/Incontent_Tablet_300x250@300x250"),C(["lg"],"/4027029/Incontent_Mobile_320x50@320x50"),C(["md","lg"],"/4027029/Productreview_468x60@468x60"),C(["md","xl","xxl"],"/4027029/Incontent_Desktop_728X90@728x90"),x(["xs","sm"],[15]),x(["lg"],[43]),x(["md","lg"],[1]),x(["md","xl","xxl"],[2]),E()],"public.listing.sidebar.sticky":[y(["lg","xl","xxl"],"12495333"),C(["lg","xl","xxl"],"/4027029/MREC_Middle_Desktop_300x250@300x250"),C(["lg","xl","xxl"],"/4027029/MREC_Middle_Desktop_300x600@300x600"),x(["lg","xl","xxl"],[15,10]),E()],"public.fixed.bottom":[y(["xs","sm","md"],"12495333"),C(["xs","sm"],"/4027029/Leaderboard_Mobile_320x50@320x50"),C(["md"],"/4027029/Leaderboard_Desktop_728X90@728x90"),x(["xs","sm"],[43]),x(["md"],[2]),E(["xs"])]}));const I=o(()=>({"public.search.results.0.after":[y(["xs","sm","md","lg","xl"],"12495333"),C(["xs","sm"],"/4027029/Incontent_Tablet_300x250@300x250"),C(["lg"],"/4027029/Incontent_Mobile_320x50@320x50"),C(["md","lg"],"/4027029/Productreview_468x60@468x60"),C(["md","xl"],"/4027029/Incontent_Desktop_728X90@728x90"),x(["xs","sm"],[15]),x(["lg"],[43]),x(["md","lg"],[1]),x(["md","xl"],[2]),E()],"public.search.results.2.after":[y(["xs","sm","md","lg","xl"],"12495336"),C(["xs","sm"],"/4027029/Incontent_Tablet_300x250@300x250"),C(["lg"],"/4027029/Incontent_Mobile_320x50@320x50"),C(["md","lg"],"/4027029/Productreview_468x60@468x60"),C(["md","xl"],"/4027029/Incontent_Desktop_728X90@728x90"),x(["xs","sm"],[15]),x(["lg"],[43]),x(["md","lg"],[1]),x(["md","xl"],[2]),E()],"public.search.results.5.after":[y(["xs","sm","md","lg","xl"],"12495336"),C(["xs","sm"],"/4027029/Incontent_Tablet_300x250@300x250"),C(["lg"],"/4027029/Incontent_Mobile_320x50@320x50"),C(["md","lg"],"/4027029/Productreview_468x60@468x60"),C(["md","xl"],"/4027029/Incontent_Desktop_728X90@728x90"),x(["xs","sm"],[15]),x(["lg"],[43]),x(["md","lg"],[1]),x(["md","xl"],[2]),E()]}));const S={rubicon:{accountId:"14868",siteId:"84816",zoneId:"401968"},pubmatic:{publisherId:"156567"},criteo:{networkId:5509},ix:{},appnexus:{}};function _(e,t){const n=e.includes("public.search")?function(e,t,n){return("public.search.results.0.after"===t?[]:"public.search.results.2.after"===t?I()["public.search.results.2.after"].concat(w(n,"240935")):"public.search.results.5.after"===t?I()["public.search.results.5.after"].concat(w(n,"240936")):[]).map(d(n)).map(a(e))}(S,e,t):e.includes("public")?function(e,t,n){return("public.listing.reviews_page.filters.before"===t?[]:"public.listing.sidebar.sticky"===t?A()["public.listing.sidebar.sticky"].concat(w(n,"240946",["lg","xl","xxl"])):"public.fixed.bottom"===t?A()["public.fixed.bottom"].concat(w(n,"240943",["xs","sm","md"])):"public.listing.reviews_page.reviews.0.after"===t||"public.listing.questions_page.questions.0.after"===t?A().inContent.concat(w(n,"240939")):"public.listing.questions_page.questions.2.after"===t?A().inContent.concat(w(n,"240940")):"public.listing.questions_page.questions.4.after"===t?A().inContent.concat(w(n,"240941")):"public.listing.reviews_page.reviews.2.after"===t?A().inContent.concat(w(n,"240940")):"public.listing.reviews_page.reviews.4.after"===t?A().inContent.concat(w(n,"240941")):[]).map(d(n)).map(a(e))}(S,e,t):void 0;if(n&&n.length>0)return{bids:n}}const O="__globalAdContainerManagerInstance",M="__globalAdServicesOrchestratorInstance",R=[2480525436,2480523597,2480522610,2479750727,2480518272,2479991032,2479989547,2479987909,2479987114],T=[123044549],D=[117078269,11444789,11567069],P=[3171670318];var L=(e=>(e.UNINITIALIZED="uninitialized",e.EMPTY="empty",e.RENDERED="rendered",e.LOADED="loaded",e.REFRESHING="refreshing",e))(L||{}),z=(e=>(e.UNDEFINED="undefined",e.PREBID="prebid",e.ADX="adx",e.DISPLAY="display",e.HOUSE="house",e.NATIVE="native",e.NATIVE_VIA_DFP="nativeViaDfp",e.DEBUG="debug",e))(z||{});class G{ads;globalContext={lastUserInteractionContext:{lastUserInteractionAt:0}};globalGptTargeting={};totalRenderCount=0;events=[];constructor(e={},t={}){this.ads=e,this.globalGptTargeting=t}screenshot(){const e=s(this);for(const t in e.ads)e.ads[t].gptContext?.slot&&(e.ads[t].gptContext.slot=this.cloneGptSlot(this.ads[t].gptContext?.slot));return e}static rehydrate(e){const t=function(e,t=window.document){const n=t.querySelector(`[type="application/json"][data-var="${e}"]`);if(!n)return;const i=JSON.parse(n.innerHTML);return"undefined"!=typeof window&&(window[e]=i),i}("__gptAdsContext",e);return t&&"object"==typeof t&&t.ads&&"object"==typeof t.ads?G.fromRehydrationData(t):new G}static fromRehydrationData(e){const t=new G(JSON.parse(JSON.stringify(e.ads)),e.globalGptTargeting?e.globalGptTargeting:void 0);for(const e in t.ads)t.initializePrebidContext(e);return t}static retrieveGlobalInstance(e){if(e[O]instanceof G)return e[O]}registerAdContainer(e,t){if(e in this.ads)return this.ads[e].config=t.config,void(this.ads[e].deviceType=t.deviceType||"server");this.ads[e]={status:L.UNINITIALIZED,stale:!1,renderCount:0,requestCount:0,config:t.config,gptContext:t.gptContext,deviceType:t.deviceType||"server",viewabilityContext:{isViewable:!1,documentVisibilityState:"hidden",totalViewableDurationInMs:0},lazyloadingContext:{hasReachedLazyloadingArea:!1}}}unregisterAdContainer(e){delete this.ads[e]}initializePrebidContext(e){const t=this.ads[e];t?.gptContext&&(t.prebidContext||(t.prebidContext=_(t.gptContext.spot,t.config.sizeMappingKey)))}mergeConfig(e,t){this.ads[e]&&(this.ads[e].config={...this.ads[e].config,...t})}incrementAdRenderCount(e){this.ads[e]&&(this.ads[e].renderCount+=1,this.totalRenderCount+=1)}setGlobalGptTargeting(e,t){this.globalGptTargeting[e]=t}clearGlobalGptTargeting(){this.globalGptTargeting={}}setGptTargeting(e,t,n){const i=this.ads[e];if(i){if(!i.gptContext)throw new Error("setGptTargeting() called before enrichAdWithGptContext()");i.gptContext.targeting||(i.gptContext.targeting={}),i.gptContext.targeting[t]=n}}refresh(e){const t=this.ads[e];t&&(t.status!==L.LOADED&&t.status!==L.RENDERED||this.setGptTargeting(e,"first","false"),t.status=L.REFRESHING,t.lastRequestedAt=performance.now())}getStatus(e){const t=this.ads[e];if(t)return t.status}setStatus(e,t){const n=this.ads[e];n&&(n.status=t)}mergeDefaultValuesIntoPartialRefreshPolicy(e){return{timeBasedRefresh:e.timeBasedRefresh?{minimumViewableTimeInSeconds:60,maxRefreshesAcrossTypes:3,...e.timeBasedRefresh}:void 0,userActionRefresh:e.userActionRefresh?{minimumViewableTimeInSeconds:60,maxRefreshesAcrossTypes:3,...e.userActionRefresh}:void 0}}updateRefreshPolicy(e,t){const n=this.ads[e];if(n)if(t)if("function"==typeof t){const i=t({adType:this.resolveAdType(e),deviceType:n.deviceType,status:n.status});n.config.refreshPolicy=i?this.mergeDefaultValuesIntoPartialRefreshPolicy(i):void 0}else"object"==typeof t&&(n.config.refreshPolicy=this.mergeDefaultValuesIntoPartialRefreshPolicy(t));else n.config.refreshPolicy=void 0}resolveAdType(e){const t=this.ads[e];if(!t||!t.gptContext?.slot||!t.gptContext.slot.getResponseInformation)return z.UNDEFINED;const n=t.gptContext.slot.getResponseInformation();return n?P.includes(n.campaignId)?z.DEBUG:t.nativeAdViaDfp?z.NATIVE_VIA_DFP:R.includes(n.campaignId)?z.PREBID:T.includes(n.campaignId)?z.ADX:D.includes(n.advertiserId)?z.HOUSE:z.DISPLAY:z.UNDEFINED}cloneGptSlot(e){if(!e)return null;const t=e.getResponseInformation?.(),n="function"==typeof e.getConfig?e.getConfig("targeting")?.targeting:void 0,i="function"==typeof e.getConfig?e.getConfig("adsenseAttributes")?.adsenseAttributes:void 0,r="function"==typeof e.getConfig?e.getConfig("categoryExclusion")?.categoryExclusion??[]:e.getCategoryExclusions?e.getCategoryExclusions():void 0;return{adUnitPath:e.getAdUnitPath?e.getAdUnitPath():void 0,targetingKeys:n?Object.keys(n):e.getTargetingKeys?e.getTargetingKeys():void 0,responseInformation:t,slotElementId:e.getSlotElementId?e.getSlotElementId():void 0,attributeKeys:i?Object.keys(i):e.getAttributeKeys?e.getAttributeKeys():void 0,categoryExclusions:r,html:t?.creativeId?e.getHtml?.():void 0,outOfPage:e.getOutOfPage?e.getOutOfPage():void 0,sizes:e.getSizes?e.getSizes():void 0,targetingMap:n??(e.getTargetingMap?e.getTargetingMap():void 0),clickUrl:e.getClickUrl?e.getClickUrl():void 0,collapseEmptyDiv:e.getCollapseEmptyDiv?e.getCollapseEmptyDiv():void 0,contentUrl:e.getContentUrl?e.getContentUrl():void 0,divStartsCollapsed:e.getDivStartsCollapsed?e.getDivStartsCollapsed():void 0,escapedQemQueryId:e.getEscapedQemQueryId?e.getEscapedQemQueryId():void 0}}buildScheduledForRefreshEvent(e,t){return{type:"ScheduledForRefresh",timestamp:performance.now(),payload:{refreshReason:t,adContainer:s(e),gptSlot:this.cloneGptSlot(e.gptContext?.slot)}}}buildPreloadRefreshEvent(e){return{type:"PreloadRefresh",timestamp:performance.now(),payload:{adContainer:s(e),gptSlot:this.cloneGptSlot(e.gptContext?.slot)}}}buildEmittedEventEvent(e,t){const n=t?.adContainerId?this.ads[t.adContainerId]:void 0;return{type:e,timestamp:performance.now(),payload:{adContainer:n?s(n):void 0,gptSlot:this.cloneGptSlot(n?.gptContext?.slot),emittedEvent:t,adType:t?.adContainerId?this.resolveAdType(t.adContainerId):void 0}}}isDebuggingEnabled(){return window.location.search.includes("debug_ads=1")}recordEvent(e){this.isDebuggingEnabled()&&this.doRecordEvent(e())}doRecordEvent(e){this.events.push(e)}recordEventForEachAdContainerIds(e,t){if(this.isDebuggingEnabled())for(const n of e){const e=this.ads[n];e&&this.doRecordEvent(t(e))}}get isListingSponsored(){return"true"===this.globalGptTargeting.has_sponsored_ltg1}get hasRiskOfMemoryLeak(){return this.totalRenderCount>=50}buildRehydrationData(){return{ads:this.ads,globalGptTargeting:this.globalGptTargeting}}promoteAsGlobalInstance(e){return e[O]=this,this}}const U=G;
1function V(e,t,n){const{atBegin:i=!1}=n||{};return function(e,t,n){const{noTrailing:i=!1,noLeading:r=!1,debounceMode:s}=n||{};let o,a,d=!1,l=0;function c(){void 0!==o&&clearTimeout(o),o=void 0,a=void 0}function h(...n){const h=this,g=Date.now()-l;function u(){return o=void 0,a=void 0,l=Date.now(),e.apply(h,n)}d||(r||!s||o||u(),c(),void 0===s&&g>t?r?(l=Date.now(),i||(a=u,o=setTimeout(u,t))):u():!0!==i&&(!0!==s?(a=u,o=setTimeout(u,void 0===s?t-g:t)):o=setTimeout(function(){o=void 0,a=void 0},t)))}return h.cancel=function(e){const{upcomingOnly:t=!0}=e||{};c(),d=!t},h.flush=function(){const e=a;return c(),e?.()},h}(e,t??0,{debounceMode:!1!==i})}r();const k=(e,t)=>`${e.replace(/\./g,"__")}_container${t?"_"+t:""}`;var F=n(215);function N(e){const t=b(e).find(e=>!!window.matchMedia(e.mediaQuery).matches);return t?t.sizes:[[0,0]]}function q(e,t){const n=b(e),i=[];for(const r of n)if(window.matchMedia(r.mediaQuery).matches){const n=e+"-"+r.label;for(const e of t)e.sizeLabelsAny?e.sizeLabelsAny.includes(n)&&i.push(e):i.push(e)}return i}const j={xs:0,sm:576,md:768,lg:960,xl:1066,xxl:1378};function W(){let e="xs";for(const t in j){const n=j[t];window.innerWidth>=n&&(e=t)}return e}o(W);class ExtendableError extends Error{constructor(e,t){super(e,t),this.name=this.constructor.name}}class CancellationError extends ExtendableError{constructor(e="CancellationError"){super(e)}}class B{constructor(e){this.adServicesOrchestrator=e,this.screenBreakpoint=this.adServicesOrchestrator.getScreenBreakpoint()}containerIdToObserverMap={};screenBreakpoint;start(e){if("undefined"==typeof IntersectionObserver)return;const t=this.resolveTopOffsetFromAdContainer(e);t&&this.registerSingleUseEphemeralObserver(e,t)}stop(e){this.containerIdToObserverMap[e]&&(this.containerIdToObserverMap[e].disconnect(),delete this.containerIdToObserverMap[e])}registerSingleUseEphemeralObserver(e,t){const n=this.getAdContainerElement(e);if(!n)return void console.error("HTML element not found for adContainerId",e);const i=new IntersectionObserver(t=>{const n=this.adServicesOrchestrator.adContainerManager.ads[e];n&&(n.lazyloadingContext.hasReachedLazyloadingArea=t[t.length-1].isIntersecting)},{rootMargin:this.computeRootMargin(t),threshold:0});i.observe(n),this.containerIdToObserverMap[e]=i}resolveTopOffsetFromAdContainer(e){const t=this.adServicesOrchestrator.adContainerManager.ads[e];if(!t.config.lazyloadingOffset)return;const{lazyloadingOffset:n}=t.config;if("object"!=typeof n)return n;for(let e=F.J8.indexOf(this.screenBreakpoint);e>=0;e--){const t=F.J8[e];if(t in n)return n[t]}}computeRootMargin(e){return e?"number"==typeof e?`0px 0px ${e}px`:`0px 0px ${e}`:"0px"}getAdContainerElement(e){if(this.adServicesOrchestrator.adContainerManager.ads[e])return this.adServicesOrchestrator.getDocument().getElementById(e)?.parentElement}}class H{constructor(e){this.adServicesOrchestrator=e,this.observer=this.buildObserver(),this.adServicesOrchestrator.on("gpt.slotRenderEnded",this.handleGptSlotRenderEnded),this.adServicesOrchestrator.on("gpt.slotOnload",this.handleGptSlotOnload),this.adServicesOrchestrator.on("adWasEnqueuedToRefresh",this.handleAdWasEnqueuedToRefresh),this.adServicesOrchestrator.getDocument().addEventListener("listOfOpenModalsChanged",this.handleOpenModalsEvent)}observer;numberOfOpenModals=0;containerElementToContainerIdMap=new Map;handleGptSlotRenderEnded=e=>{const t=this.adServicesOrchestrator.adContainerManager.ads[e.adContainerId];t&&t.viewabilityContext.isViewable&&(t.viewabilityContext.lastViewableSegmentStartedAt=performance.now())};handleGptSlotOnload=e=>{if(!this.adServicesOrchestrator.adContainerManager.ads[e.adContainerId])return;const t=this.getAdContainerElement(e.adContainerId);t&&(this.observer?.unobserve(t),this.observer?.observe(t))};handleAdWasEnqueuedToRefresh=e=>{const t=this.adServicesOrchestrator.adContainerManager.ads[e.adContainerId];
1t&&(t.viewabilityContext.totalViewableDurationInMs=0,t.viewabilityContext.lastViewableSegmentStartedAt=void 0)};handleOpenModalsEvent=e=>{this.numberOfOpenModals=e.detail.openModals.length;for(const e of this.containerElementToContainerIdMap.keys())this.observer?.unobserve(e),this.observer?.observe(e)};buildObserver(){if("undefined"!=typeof IntersectionObserver)return new IntersectionObserver(e=>{for(const t of e){const e=this.containerElementToContainerIdMap.get(t.target);if(!e){console.error("AdContainerId not found for element",t.target);continue}const n=this.adServicesOrchestrator.adContainerManager.ads[e];n&&(n.viewabilityContext.lastViewableSegmentStartedAt&&(n.viewabilityContext.totalViewableDurationInMs+=t.time-n.viewabilityContext.lastViewableSegmentStartedAt),t.isIntersecting&&this.resolveIsActuallyInFrontOfEverything(t.target)?(n.viewabilityContext.isViewable=!0,n.viewabilityContext.lastViewableSegmentStartedAt=t.time):(n.viewabilityContext.isViewable=!1,n.viewabilityContext.lastViewableSegmentStartedAt=void 0))}},{threshold:1})}resolveIsActuallyInFrontOfEverything(e){if(0===this.numberOfOpenModals)return!0;const t=e.getBoundingClientRect(),n=this.adServicesOrchestrator.getDocument().elementFromPoint(t.left+t.width/2,t.top+t.height/2);return e.contains(n)}getAdContainerElement(e){if(this.adServicesOrchestrator.adContainerManager.ads[e])return this.adServicesOrchestrator.getDocument().getElementById(e)?.parentElement}start(e){if(!this.observer)return;const t=this.getAdContainerElement(e);if(!t)return void console.error("HTML element not found for adContainerId",e);0===this.containerElementToContainerIdMap.size&&this.addGlobalVisibilitychangeListener(),this.containerElementToContainerIdMap.set(t,e),this.observer.observe(t);const n=this.adServicesOrchestrator.adContainerManager.ads[e];n?.viewabilityContext&&(n.viewabilityContext.documentVisibilityState=this.adServicesOrchestrator.getDocument().visibilityState)}stop(e){for(const[t,n]of this.containerElementToContainerIdMap)n===e&&(this.containerElementToContainerIdMap.delete(t),this.observer&&this.observer.unobserve(t));0===this.containerElementToContainerIdMap.size&&this.removeGlobalVisibilitychangeListener()}consolidateLastViewableSegment(e){const t=this.adServicesOrchestrator.adContainerManager.ads[e];if(t&&t.viewabilityContext.lastViewableSegmentStartedAt){const e=performance.now();t.viewabilityContext.totalViewableDurationInMs+=e-t.viewabilityContext.lastViewableSegmentStartedAt,t.viewabilityContext.lastViewableSegmentStartedAt=e}}addGlobalVisibilitychangeListener(){this.adServicesOrchestrator.getDocument().addEventListener("visibilitychange",this.handleVisibilityChange)}removeGlobalVisibilitychangeListener(){this.adServicesOrchestrator.getDocument().removeEventListener("visibilitychange",this.handleVisibilityChange)}handleVisibilityChange=()=>{this.containerElementToContainerIdMap.forEach((e,t)=>{const n=this.adServicesOrchestrator.adContainerManager.ads[e]?.viewabilityContext;n&&(n.documentVisibilityState=this.adServicesOrchestrator.getDocument().visibilityState,this.adServicesOrchestrator.getDocument().hidden?(n.isViewable=!1,n.lastViewableSegmentStartedAt=void 0):this.observer&&(this.observer.unobserve(t),this.observer.observe(t)))})}}class ${constructor(e){this.adServicesOrchestrator=e}start(){this.getLastUserInteractionContext().lastUserInteractionAt=0,this.adServicesOrchestrator.getDocument().addEventListener("click",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().addEventListener("keydown",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().addEventListener("mousemove",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().addEventListener("scroll",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().addEventListener("touchstart",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().addEventListener("touchmove",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().addEventListener("visibilitychange",this.handleVisibilityChange,!0)}stop(){this.adServicesOrchestrator.getDocument().removeEventListener("click",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().removeEventListener("keydown",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().removeEventListener("mousemove",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().removeEventListener("scroll",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().removeEventListener("touchstart",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().removeEventListener("touchmove",this.handleUserAction,!0),this.adServicesOrchestrator.getDocument().removeEventListener("visibilitychange",this.handleVisibilityChange,!0)}handleUserAction=e=>{this.getLastUserInteractionContext().lastUserInteractionAt=e.timeStamp};handleVisibilityChange=e=>{this.getLastUserInteractionContext().lastUserInteractionAt=e.timeStamp};getLastUserInteractionContext(){return this.adServicesOrchestrator.adContainerManager.globalContext.lastUserInteractionContext}}class Q extends(r()){constructor(e,t,n,i,r){super(),this.adContainerManager=e,this.window=t,this.document=n,this.pbjs=i,this.googletag=r,e.isDebuggingEnabled()&&["gpt.slotRenderEnded","gpt.slotOnload","gpt.slotWasDef
1ined","gpt.nativeAdWasReceived","gpt.slotWasDestroyed","prebid.adUnitWasDefined","prebid.adUnitWasDestroyed","adWasEnqueuedToRefresh","navigation","meaningfulUserAction"].forEach(t=>{this.on(t,(...n)=>e.doRecordEvent(e.buildEmittedEventEvent(t,n[0])))}),this.viewabilityReporter=new H(this),this.lazyloadingReporter=new B(this),this.lastUserInteractionReporter=new $(this),-1!==t.location.search.indexOf("debug_ads=1")&&this.debug()}DFP_INVENTORY="4027029";static LOAD_MORE_REFRESH_COOLDOWN_IN_MS=1e4;static PREBID_READY_TIMEOUT_IN_MS=5e3;queueOfAdsToRefresh=new Set;viewabilityReporter;lazyloadingReporter;lastUserInteractionReporter;hasPreloadingCompleted=!1;static async createFromGlobalWhenServicesAreReadyAndConfigured(e){const[t]=await Promise.all([new Promise(t=>{e.pbjs||(e.pbjs={que:[]});const n=setTimeout(()=>t(!1),Q.PREBID_READY_TIMEOUT_IN_MS);e.pbjs.que.push(()=>{clearTimeout(n),Q.configurePrebid(e.pbjs,e.location.search.indexOf("debug_prebid=1")>-1),t(!0)})}),new Promise(t=>{e.googletag||(e.googletag={cmd:[]}),e.googletag.cmd.push(()=>{Q.configureGpt(e.googletag,e.location.search.includes("ads_use_safe_frame=1")),t(!0)})}),new Promise(t=>{"complete"!==e.document.readyState?e.document.addEventListener("DOMContentLoaded",()=>{t(!0)}):t(!0)})]);if(!U)throw new Error("AdContainerManager class is not available");const n=U.retrieveGlobalInstance(e);if(!n)throw new Error("AdContainerManager is not available");return new Q(n,e,e.document,t?e.pbjs:void 0,e.googletag)}getDocument(){return this.document}getWindow(){return this.window}scheduleLowPriorityTask(e){this.window.requestIdleCallback?this.window.requestIdleCallback(e):setTimeout(e,1)}promoteAsGlobalInstance(e){return e[M]=this,e.dispatchEvent(new CustomEvent("pr.adServicesOrchestratorIsReady",{detail:{instance:this}})),this}static retrieveGlobalInstance(e){if(e[M]instanceof Q)return e[M]}static configureGpt(e,t=!1){e.setConfig({collapseDiv:"ON_NO_FILL",disableInitialLoad:!0,singleRequest:!0}),t&&(e.pubads().setForceSafeFrame(!0),e.pubads().setSafeFrameConfig({allowOverlayExpansion:!1,allowPushExpansion:!0,sandbox:!0}))}static async configurePrebid(e,t=!1){e.bidderSettings={standard:{storageAllowed:["html5"],bidCpmAdjustment:function(e,t){let n=.9*e;return"USD"===t.currency&&(n*=Number(1.4276530162923822)),n}}},e.setConfig({enableSendAllBids:!1,enableTIDs:!0,debug:t,priceGranularity:{buckets:[{max:3,increment:.01},{max:10,increment:.05},{max:20,increment:.05},{max:30,increment:.1},{max:50,increment:.25},{max:100,increment:1},{max:500,increment:5}]},bidderTimeout:1e3,userSync:{filterSettings:{image:{bidders:"*",filter:"include"}},syncDelay:3e3,syncsPerBidder:3}})}synchronizeGlobalTargetingWithGpt(){for(const e in this.adContainerManager.globalGptTargeting)this.setGlobalGptTargeting(e,this.adContainerManager.globalGptTargeting[e])}setGlobalGptTargeting(e,t){this.adContainerManager.globalGptTargeting[e]=t,"function"==typeof this.googletag.setConfig?this.googletag.setConfig({targeting:{[e]:t}}):this.googletag.pubads().setTargeting(e,t)}clearGlobalGptTargeting(){this.adContainerManager.globalGptTargeting={},"function"==typeof this.googletag.setConfig?this.googletag.setConfig({targeting:null}):this.googletag.pubads().clearTargeting()}enqueueAdToRefresh(e){const t=this.adContainerManager.ads[e];t&&(this.adContainerManager.refresh(e),this.queueOfAdsToRefresh.add(e),this.gptRefreshDebounced(),t.stale=!1,this.emit("adWasEnqueuedToRefresh",{adContainerId:e}),t.requestCount++)}refreshVisibleAdsAfterLoadMore(){for(const e in this.adContainerManager.ads){const t=this.adContainerManager.ads[e];t.config.refreshPolicy?.userActionRefresh&&(t.viewabilityContext.isViewable&&(t.lastRequestedAt&&performance.now()-t.lastRequestedAt<Q.LOAD_MORE_REFRESH_COOLDOWN_IN_MS||this.resolveShouldRefreshContainer(e,"listing_load_more")&&(this.adContainerManager.recordEventForEachAdContainerIds([e],e=>this.adContainerManager.buildScheduledForRefreshEvent(e,"listing_load_more")),this.enqueueAdToRefresh(e))))}}gptRefreshDebounced=V(()=>{const e=[],t=[];for(const n of this.queueOfAdsToRefresh){const i=this.adContainerManager.ads[n];i.lastRequestedAt=performance.now(),i?.gptContext?.slot&&(this.pbjs&&i?.prebidContext?.bids&&i.prebidContext.bids.length>0?e.push(n):t.push(n))}this.queueOfAdsToRefresh.clear();const n=this.pbjs;if(n&&e.length>0){const t=[];for(const i of e){const e=n.adUnits.find(e=>e.code===i);e&&t.push(e)}n.requestBids({adUnits:t,bidsBackHandler:()=>{n.setTargetingForGPTAsync(),this.refreshGptSlots(e)}})}this.refreshGptSlots(t)},50);defineGptSlot(e){const t=this.adContainerManager.ads[e];if(!t)return null;if(!t?.gptContext)throw new Error("defineGptSlot() called before enrichAdWithGptContext()");if(!t.gptContext.slot){const n=`/${this.DFP_INVENTORY}/${t.gptContext.spot}
1`,i=t.gptContext.isOutOfPageSlot?this.googletag.defineOutOfPageSlot(n,e):this.googletag.defineSlot(n,N(t.config.sizeMappingKey),e);return i?("boolean"==typeof t.gptContext.collapse&&i.setCollapseEmptyDiv(t.gptContext.collapse,t.gptContext.collapseBeforeAdFetch),i.addService(this.googletag.pubads()),t.gptContext.slot=i,this.emit("gpt.slotWasDefined",{adContainerId:e,adContainer:t,slot:i}),i):null}return t.gptContext.slot}destroyGptSlot(e){const t=this.adContainerManager.ads[e];t?.gptContext?.slot&&(this.googletag.destroySlots([t.gptContext.slot]),this.emit("gpt.slotWasDestroyed",{adContainerId:e,adContainer:t}))}displayGptSlot(e){const t=this.adContainerManager.ads[e];t?.gptContext?.slot&&this.googletag.display(t.gptContext.slot)}rehydrate(e){for(const t of e)this.initializeAdContainer(t)}registerAdContainer(e,t){this.adContainerManager.registerAdContainer(e,t),this.initializeAdContainer(e)}unregisterAdContainer(e){this.destroyGptSlot(e),this.destroyPrebidAdUnit(e),this.viewabilityReporter.stop(e),this.lazyloadingReporter.stop(e),this.adContainerManager.unregisterAdContainer(e),this.queueOfAdsToRefresh.delete(e)}initializeAdContainer(e){const t=this.adContainerManager.ads[e];if(!t)return;if(!this.document.getElementById(e))return;if(this.adContainerManager.initializePrebidContext(e),t.gptContext?.slot)return;this.defineGptSlot(e)&&(this.displayGptSlot(e),t.prebidContext?.bids&&this.definePrebidAdUnit(e),this.viewabilityReporter.start(e),this.lazyloadingReporter.start(e))}getMatchingScenarioAdForCurrentScreenSize(e){if("action"in e)return e;const t=F.J8.indexOf(W());let n;for(const i in e){if(!e[i])continue;const r=F.J8.indexOf(i);-1!==r&&(r>t||(n=e[i]))}return n}refreshGptSlots(e,t=void 0){const n=[];for(const t of e){const e=this.adContainerManager.ads[t];if(e?.gptContext?.slot){if(e.config.scenarioAd){const t=this.getMatchingScenarioAdForCurrentScreenSize(e.config.scenarioAd);if(!t)continue;if("render"===t.action){const n={...e.gptContext.targeting,...t.targeting,environment:"debug"};"function"==typeof e.gptContext.slot.setConfig?e.gptContext.slot.setConfig({targeting:n}):e.gptContext.slot.updateTargetingFromMap(n)}}else e.gptContext.targeting&&("function"==typeof e.gptContext.slot.setConfig?e.gptContext.slot.setConfig({targeting:e.gptContext.targeting}):e.gptContext.slot.updateTargetingFromMap(e.gptContext.targeting));n.push(e.gptContext.slot),e.status=L.REFRESHING,e.lastRequestedAt=performance.now()}}0!==e.length&&(t?this.googletag.pubads().refresh(n,t):this.googletag.pubads().refresh(n))}definePrebidAdUnit(e){const t=this.adContainerManager.ads[e];if(!t)return;if(!this.pbjs)return;if(!t?.prebidContext)throw new Error("definePrebidAdUnit() called before enrichAdWithPrebidContext()");if(t.prebidContext.adUnitIsDefined)return;const n=t.prebidContext.bids,i=t.config.sizeMappingKey;this.pbjs.addAdUnits({code:e,bids:n?q(i,n):[],mediaTypes:{banner:{sizes:m(N(i))}}}),t.prebidContext.adUnitIsDefined=!0,this.emit("prebid.adUnitWasDefined",{adContainerId:e,adContainer:t})}destroyPrebidAdUnit(e){const t=this.adContainerManager.ads[e];this.pbjs&&t?.prebidContext?.adUnitIsDefined&&(this.pbjs.removeAdUnit(e),t.prebidContext.adUnitIsDefined=!1,this.emit("prebid.adUnitWasDestroyed",{adContainerId:e,adContainer:t}))}async scheduleGptLoadEventEmit(e){const t=this.adContainerManager.ads[e];if(t&&t.status===L.RENDERED){var n,i;if(await(n=500,new Promise((e,t)=>{const r=setTimeout(()=>{e(!0)},n);i&&i.promise.then(()=>{clearTimeout(r),t(new CancellationError)})})),t.status=L.LOADED,t.config.selectedScenario){const n=t.config.scenarioAd?this.getMatchingScenarioAdForCurrentScreenSize(t.config.scenarioAd):void 0;if("render"===n?.action){const t=document.querySelector(`#${e} iframe`);if(t&&t instanceof HTMLIFrameElement&&t.contentWindow&&t.parentElement){t.parentElement.style.width=n.creativeProps.width,t.parentElement.style.height=n.creativeProps.height,t.width=n.creativeProps.width.replace(/px$/,""),t.height=n.creativeProps.height.replace(/px$/,"");const e=()=>{const e=`[${(new Date).toISOString().slice(11,19)}]<br />`+n.creativeProps.content;t.contentWindow?.postMessage({props:{...n.creativeProps,content:e}},"*")};t.addEventListener("load",e),setTimeout(e,1e3)}}}
1this.emit("gpt.slotOnload",{adContainerId:e,adContainer:t})}}resolveShouldRefreshContainer(e,t){const n=this.adContainerManager.ads[e];if(!n)return!1;if(!this.resolveDeviceTypesMatchesCurrentDeviceType(n.config.deviceTypes))return!1;if("preload"===t)return!this.window.location.hash&&!!this.adContainerIsInViewportWithOffset(e);if(!this.hasPreloadingCompleted)return!1;if(n.status===L.REFRESHING)return!1;if("navigation"===t)return this.adContainerIsInViewportWithOffset(e,0);if("hidden"===n.viewabilityContext.documentVisibilityState)return!1;if(0===n.renderCount&&!n.lazyloadingContext.hasReachedLazyloadingArea)return!1;if(n.renderCount>0&&!n.viewabilityContext.isViewable)return!1;if("listing_load_more"===t)return!!n.viewabilityContext.isViewable&&(!!n.gptContext?.slot&&!(n.status===L.EMPTY&&n.requestCount>0));if(n.status===L.UNINITIALIZED)return!0;if(!n.gptContext?.slot)return!1;if(n.status===L.EMPTY&&n.requestCount>0)return!1;if("time_interval_tick"===t&&n.stale&&(n.lazyloadingContext.hasReachedLazyloadingArea||n.viewabilityContext.isViewable))return!0;const i="time_interval_tick"===t?n.config.refreshPolicy?.timeBasedRefresh:n.config.refreshPolicy?.userActionRefresh;return!!i&&(!("number"!=typeof i?.minimumViewableTimeInSeconds||i.minimumViewableTimeInSeconds<=0)&&(!(n.viewabilityContext.totalViewableDurationInMs<1e3*i.minimumViewableTimeInSeconds)&&(!("number"==typeof i?.maxRefreshesAcrossTypes&&n.requestCount>=i.maxRefreshesAcrossTypes)&&!("meaningful_user_action"!==t&&performance.now()-this.adContainerManager.globalContext.lastUserInteractionContext.lastUserInteractionAt>5e3))))}setupGlobalListeners(){this.lastUserInteractionReporter.start();const e=e=>{if("pr_message"!==e.data?.type)return;let t=e.data?.data?.payload?.spot?k(e.data.data.payload.spot):void 0;if(!t||!(t in this.adContainerManager.ads)){const[,n,i]=Array.from(this.document.querySelectorAll(`iframe[id^="google_ads_iframe_/${this.DFP_INVENTORY}/${e.data?.data?.payload?.spot||""}"]`)).find(t=>e.source===t.contentWindow)?.id.match(/^google_ads_iframe_\/\d+\/(.*?)(?:_(\d+))?$/)||[];if(!n)return;t=k(n,i)}const n=this.adContainerManager.ads[t];n?.gptContext?.campaingId&&function(e){const t=R.includes(e),n=T.includes(e);return!t&&!n}(n.gptContext.campaingId)&&(n.nativeAdViaDfp=e.data.data.payload,n.status=L.LOADED,this.emit("gpt.nativeAdWasReceived",{adContainerId:t,adContainer:n}))};this.window.addEventListener("message",e);const t=e=>{this.scheduleLowPriorityTask(()=>{e.adContainerId in this.adContainerManager.ads&&(this.adContainerManager.ads[e.adContainerId].stale=!0,this.viewabilityReporter.consolidateLastViewableSegment(e.adContainerId),this.resolveShouldRefreshContainer(e.adContainerId,"navigation")&&(this.adContainerManager.recordEventForEachAdContainerIds([e.adContainerId],e=>this.adContainerManager.buildScheduledForRefreshEvent(e,"navigation")),this.adContainerManager.ads[e.adContainerId].requestCount=0,this.enqueueAdToRefresh(e.adContainerId)))})};this.on("navigation",t);const n=V(()=>{for(const e in this.adContainerManager.ads)this.adContainerManager.ads[e].config.refreshPolicy?.userActionRefresh&&(this.viewabilityReporter.consolidateLastViewableSegment(e),this.resolveShouldRefreshContainer(e,"meaningful_user_action")&&(this.adContainerManager.recordEventForEachAdContainerIds([e],e=>this.adContainerManager.buildScheduledForRefreshEvent(e,"meaningful_user_action")),this.enqueueAdToRefresh(e)))},10);this.on("meaningfulUserAction",n);const i=e=>{const t=e.slot.getSlotElementId(),n=this.adContainerManager.ads[t];n?.gptContext&&(n.status=e.isEmpty?L.EMPTY:L.RENDERED,n.lastRenderedAt=performance.now(),n.gptContext.campaingId=Number(e.slot.getResponseInformation?.()?.campaignId)||void 0,e.isEmpty||this.adContainerManager.incrementAdRenderCount(t),this.emit("gpt.slotRenderEnded",{adContainerId:t,adContainer:n,event:e}),e.isEmpty||this.scheduleGptLoadEventEmit(t))};this.googletag.pubads().addEventListener("slotRenderEnded",i);const r=this.window.setInterval(()=>{for(const e in this.adContainerManager.ads)this.viewabilityReporter.consolidateLastViewableSegment(e),this.resolveShouldRefreshContainer(e,"time_interval_tick")&&(this.adContainerManager.recordEventForEachAdContainerIds([e],e=>this.adContainerManager.buildScheduledForRefreshEvent(e,"time_interval_tick")),this.enqueueAdToRefresh(e))},1e3);return()=>{this.off("navigation",t),this.window.removeEventListener("message",e),this.googletag.pubads().removeEventListener("slotRenderEnded",i),this.lastUserInteractionReporter.stop(),this.window.clearTimeout(r)}}adContainerIsInViewportWithOffset(e,t=1e3){const n=this.document.getElementById(e);if(!n)return!1;const i=n.getBoundingClientRect();if(0===i.width&&0===i.height&&0===i.top&&0===i.left)return!1;if(i.top<0)return!1;const r=this.window.innerHeight||this.document.documentElement.clientHeight,s=this.window.innerWidth||this.document.documentElement.clientWidth,o=i.top<=r+t&&i.top+i.height>=-t,a=i.left<=s&&i.left+i.width>=0;return o&&a}resolveDeviceTypesMatchesCurrentDeviceType(e){return!e||0===e.length||e.includes(function(e=screen){return e&&e.width<992?"mobile":"desktop"}(this.window.screen))}async preloadAdContainers({exclusiveAdContainerIds:e,prebidEnabledAdContainerIds:t,highPriorityAdContainerIds:n,lowPriorityAdContainerIds:i,otherAdContainerIds:r}
1){if(this.rehydrate(e),this.rehydrate(n),this.rehydrate(t),this.rehydrate(i),this.googletag.enableServices(),e.length){const t=[];await new Promise(n=>{this.adContainerManager.recordEventForEachAdContainerIds(e,e=>this.adContainerManager.buildPreloadRefreshEvent(e)),this.refreshGptSlots(e,{changeCorrelator:!1}),this.googletag.pubads().addEventListener("slotRenderEnded",i=>{const r=i.slot.getSlotElementId();e.includes(r)&&(t.push({adContainerId:r,isEmpty:i.isEmpty}),t.length===e.length&&n(t))})});for(const e of t)if(!e.isEmpty)return}n.length&&(this.adContainerManager.recordEventForEachAdContainerIds(n,e=>this.adContainerManager.buildPreloadRefreshEvent(e)),this.refreshGptSlots(n,{changeCorrelator:!1}));const s=this.pbjs;let o=Promise.resolve(!0);s&&t.length?o=new Promise(e=>{s.requestBids({bidsBackHandler:()=>{s.setTargetingForGPTAsync(),this.adContainerManager.recordEventForEachAdContainerIds(t,e=>this.adContainerManager.buildPreloadRefreshEvent(e)),this.refreshGptSlots(t,{changeCorrelator:!1}),e(!0)}})}):t.length&&(this.adContainerManager.recordEventForEachAdContainerIds(t,e=>this.adContainerManager.buildPreloadRefreshEvent(e)),this.refreshGptSlots(t,{changeCorrelator:!1})),await o,this.scheduleLowPriorityTask(()=>{i.length&&(this.adContainerManager.recordEventForEachAdContainerIds(i,e=>this.adContainerManager.buildPreloadRefreshEvent(e)),this.refreshGptSlots(i,{changeCorrelator:!1}))}),this.hasPreloadingCompleted=!0}getScreenBreakpoint(){return W()}debug(e){if(e&&this.window.location.search.indexOf("debug_ads=1")>-1)return void(this.window.location.search=this.window.location.search.replace("debug_ads=1",""));if(n.e("shared_AdManager_debugAds_js").then(()=>n(337)).then(e=>{e.default(this)}),!e)return;const t=new URL(this.window.location.href);t.searchParams.set("debug_ads","1"),this.window.history.replaceState({},"",t.toString())}}const Y=Q;window.__prAdContainerManagerClass=U,window.__prAdServicesOrchestratorClass=Y,window.googletag=window.googletag||{cmd:[]},window.pbjs=window.pbjs||{que:[]},async function(){if(window.top!==window.self)return;if(!U)return void console.error("AdContainerManager class is not available");if(!Y)return void console.error("AdServicesOrchestrator class is not available");const e=U.rehydrate(document).promoteAsGlobalInstance(window),t=await Y.createFromGlobalWhenServicesAreReadyAndConfigured(window);t.synchronizeGlobalTargetingWithGpt(),t.setupGlobalListeners(),t.promoteAsGlobalInstance(window),await t.preloadAdContainers(function(){const n={exclusiveAdContainerIds:[],highPriorityAdContainerIds:[],prebidEnabledAdContainerIds:[],lowPriorityAdContainerIds:[],otherAdContainerIds:[]};for(const i in e.ads){if(!e.ads[i].gptContext)continue;const r=e.ads[i];r.config.scenarioAd&&"action"in r.config.scenarioAd&&"ignore"===r.config.scenarioAd?.action||("public.native_advertisement"!==r.gptContext.spot?t.resolveShouldRefreshContainer(i,"preload")&&(r.prebidContext?.bids.length?n.prebidEnabledAdContainerIds.push(i):"public.content.top"!==r.gptContext.spot&&"public.listing.reviews_page.filters.before"!==r.gptContext.spot&&"public.search.results.0.after"!==r.gptContext.spot?n.lowPriorityAdContainerIds.push(i):n.highPriorityAdContainerIds.push(i)):n.exclusiveAdContainerIds.push(i))}return n}())}();const J=window;for(var K in i)J[K]=i[K];i.__esModule&&Object.defineProperty(J,"__esModule",{value:!0})})();
2//# sourceMappingURL=gnisitrevda_7a5c047b.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.