[]
*”,”skip”:6,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“tablet”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”spacing”:0.7,”max”:4,”lazy”:true,”lazyMax”:11,”elementSelector”:”.entry-content > *”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:0,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“phone”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”spacing”:0.85,”max”:4,”lazy”:true,”lazyMax”:11,”elementSelector”:”.entry-content > *”,”skip”:5,”classNames”:[],”position”:”afterend”,”every”:0,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“tablet”,”desktop”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0.7,”max”:4,”lazy”:false,”lazyMax”:null,”elementSelector”:”.wprm-recipe-ingredients-container li, .wprm-recipe-instructions-container li, .wprm-recipe-notes-container span, .wprm-recipe-notes-container li, .wprm-nutrition-label-container”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:4,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_4″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”.wprm-recipe-ingredients-container”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-104,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:3,”lazy”:false,”lazyMax”:null,”elementSelector”:”.wprm-recipe-ingredients-container, .wprm-recipe-instructions-container, .wprm-recipe-notes-container”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“desktop”,”tablet”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”#zlrecipe-ingredients-list”,”skip”:0,”classNames”:[],”position”:”afterbegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:3,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_3″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”#zlrecipe-ingredients”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-103,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe”,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”#zlrecipe-instructions”,”skip”:0,”classNames”:[],”position”:”afterbegin”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-101,”autosize”:true},{“sequence”:2,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_2″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”#zlrecipe-instructions-list”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[250,250],[1,1],[320,100],[1,2],[300,50],[320,300],[300,390],[300,250]],”priority”:-102,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“desktop”,”tablet”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.search”,”spacing”:0,”max”:2,”lazy”:true,”lazyMax”:2,”elementSelector”:”.content article”,”skip”:2,”classNames”:[],”position”:”afterend”,”every”:6,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“phone”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.search”,”spacing”:0,”max”:2,”lazy”:true,”lazyMax”:2,”elementSelector”:”.content article”,”skip”:1,”classNames”:[],”position”:”afterend”,”every”:4,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[970,90],[250,250],[1,1],[320,100],[970,250],[1,2],[300,50],[300,300],[552,334],[728,250],[300,250]],”priority”:199,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Below Post”],”key”:”location”}],”devices”:[“tablet”,”phone”,”desktop”],”name”:”Below_Post”,”sticky”:false,”location”:”Below Post”,”dynamic”:{“pageSelector”:”body.single, body.page”,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”.entry-content”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:0,”enabled”:true},”adSizes”:[[728,90],[336,280],[320,50],[468,60],[250,250],[1,1],[320,100],[300,250],[970,250],[728,250]],”priority”:99,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Footer”],”key”:”location”},{“value”:true,”key”:”sticky”}],”devices”:[“phone”,”tablet”,”desktop”],”name”:”Footer”,”sticky”:true,”location”:”Footer”,”dynamic”:{“pageSelector”:””,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”body”,”skip”:0,”classNames”:[],”position”:”beforeend”,”every”:1,”enabled”:true},”adSizes”:[[320,50],[320,100],[728,90],[970,90],[468,60],[1,1],[300,50]],”priority”:-1,”autosize”:true}],”adDensityLayout”:{“mobile”:{“adDensity”:0.28,”onePerViewport”:false},”pageOverrides”:[{“mobile”:{“adDensity”:0.3,”onePerViewport”:false},”pageSelector”:”body.blog, body.search, body.archive”,”desktop”:{“adDensity”:0.26,”onePerViewport”:false}}],”desktop”:{“adDensity”:0.26,”onePerViewport”:false}},”adDensityEnabled”:true,”siteExperiments”:[],”adTypes”:{“nativeMobileRecipe”:true,”expandableFooter”:true,”nativeDesktopSidebar”:true,”nativeDesktopContent”:true,”outstreamDesktop”:true,”interscroller”:true,”miniscroller”:true,”nativeDesktopRecipe”:true,”outstreamMobile”:true,”animatedFooter”:true,”nativeMobileContent”:true},”adOptions”:{“theTradeDesk”:true,”verizon”:true,”undertone”:true,”footerCloseButton”:false,”teads”:true,”pmp”:true,”thirtyThreeAcross”:true,”sharethrough”:true,”removeVideoTitleWrapper”:true,”pubMatic”:true,”roundel”:true,”infiniteScroll”:false,”yahoossp”:true,”sonobi”:true,”yieldmo”:true,”footerSelector”:””,”amazonUAM”:true,”gamMCMEnabled”:true,”gamMCMChildNetworkCode”:”22572004875″,”stickyContainerAds”:true,”rubiconMediaMath”:true,”rubicon”:true,”conversant”:true,”openx”:true,”mobileHeaderHeight”:1,”unruly”:true,”mediaGrid”:true,”bRealTime”:false,”gumgum”:true,”comscoreFooter”:true,”desktopInterstitial”:true,”footerCloseButtonDesktop”:false,”isAutoOptimized”:true,”comscoreTAL”:true,”brightroll”:true,”targetaff”:false,”advancePlaylistOptions”:{“playlistPlayer”:{“enabled”:true},”relatedPlayer”:{“enabled”:true,”applyToFirst”:true}},”kargo”:true,”liveRampATS”:true,”footerCloseButtonMobile”:false,”allowSmallerAdSizes”:true,”comscore”:”Food”,”mobileInterstitial”:true,”tripleLift”:true,”sensitiveCategories”:[“alc”,”conl”,”drg”,”gamv”],”liveRamp”:true,”mobileInterstitialBlockedPageSelectors”:””,”adthriveEmailIdentity”:true,”criteo”:true,”nativo”:true,”infiniteScrollOptions”:{“selector”:””,”heightThreshold”:0},”clsOptimizedAds”:true,”colossus”:true,”verticals”:[“Food”,”Travel”],”inImage”:false,”advancePlaylist”:true,”delayLoading”:false,”inImageZone”:null,”appNexus”:true,”liveRampId”:””,”infiniteScrollRefresh”:false,”indexExchange”:true},”videoPlayers”:{“contextual”:{“autoplayCollapsibleEnabled”:false,”overrideEmbedLocation”:false,”defaultPlayerType”:”static”},”videoEmbed”:”wordpress”,”footerSelector”:””,”players”:[{“devices”:[“desktop”,”mobile”],”description”:””,”id”:4050760,”title”:”Stationary related player – desktop and mobile”,”type”:”stationaryRelated”,”enabled”:true,”playerId”:”bD0ohhX8″},{“playlistId”:””,”pageSelector”:””,”devices”:[“desktop”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4050761,”position”:”afterend”,”title”:””,”type”:”stickyRelated”,”enabled”:true,”playerId”:”bD0ohhX8″},{“playlistId”:””,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“mobile”],”mobileLocation”:”top-center”,”description”:””,”skip”:1,”title”:””,”type”:”stickyRelated”,”enabled”:true,”elementSelector”:”.entry-content > p “,”id”:4050762,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:false,”mobileHeaderSelector”:”.feastmobilenavbar”,”playerId”:”bD0ohhX8″},{“playlistId”:”HIbPjUzo”,”pageSelector”:””,”devices”:[“desktop”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4050765,”position”:”afterend”,”title”:””,”type”:”sekindo”,”enabled”:false,”playerId”:””},{“playlistId”:”HIbPjUzo”,”pageSelector”:””,”devices”:[“mobile”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4050766,”position”:”afterend”,”title”:””,”type”:”sekindo”,”enabled”:false,”playerId”:””},{“playlistId”:”HIbPjUzo”,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“mobile”],”mobileLocation”:”top-center”,”description”:””,”skip”:1,”title”:”MY OTHER VIDEOS”,”type”:”stickyPlaylist”,”enabled”:true,”footerSelector”:””,”elementSelector”:”.entry-content > p”,”id”:4050764,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:true,”mobileHeaderSelector”:”.feastmobilenavbar”,”playerId”:”a6xDAtoQ”},{“playlistId”:”HIbPjUzo”,”pageSelector”:”body.single, body.page:not(.home)”,”devices”:[“desktop”],”description”:””,”skip”:1,”title”:”MY OTHER VIDEOS”,”type”:”stickyPlaylist”,”enabled”:true,”footerSelector”:””,”elementSelector”:”.entry-content > p”,”id”:4050763,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:true,”playerId”:”a6xDAtoQ”}],”partners”:{“roundel”:true,”yahoossp”:true,”criteo”:true,”unruly”:true,”mediaGrid”:true,”gumgum”:true,”telaria”:true,”colossus”:true,”pmp”:true,”amazonUAM”:true,”kargo”:true,”thirtyThreeAcross”:true,”stickyOutstream”:{“allowOnHomepage”:false,”mobile”:{“enabled”:true},”desktop”:{“enabled”:true},”blockedPageSelectors”:””,”allowForPageWithStickyPlayer”:{“enabled”:false}},”sharethrough”:true,”rubicon”:true,”appNexus”:true,”conversant”:true,”tripleLift”:true,”openx”:true,”pubMatic”:true,”spotx”:true,”indexExchange”:true}}};]]> Butternut Squash Salad – Julia’s Album 0)&&!(n=r.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(i)throw i.error}}return a}function e(t,o,e){if(e||2===arguments.length)for(var n,i=0,r=o.length;i =0;l–)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){if(“object”==typeof Reflect&&”function”==typeof Reflect.metadata)return Reflect.metadata(e,t)}function s(e){var t=”function”==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&”number”==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?”Object is not iterable.”:”Symbol.iterator is not defined.”)}function c(e,t){var n=”function”==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),a=[];try{for(;(void 0===t||t– >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function u(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;oe.offsetHeight?t:e}));return n&&n.offsetHeight>1.5*window.innerHeight?n:null}(n),o=i?[i]:[],r=[];e.forEach((function(e){var i,a=Array.from(n.querySelectorAll(e.elementSelector)).slice(0,e.skip);(i=e.elementSelector,i.includes(“,”)?i.split(“,”):[i]).forEach((function(i){for(var l=n.querySelectorAll(i),s=function(n){var i=l[n];if(t.map.some((function(e){return e.el.isEqualNode(i)})))return”continue”;var s=i&&i.parentElement;s&&s!==document.body?o.push(s):o.push(i),-1===a.indexOf(i)&&r.push({dynamicAd:e,element:i})},c=0;c=t;if(o&&!r)return n&&w(e,o.value),o.value}}catch(e){}return null},E=function(e){return null!=e&&!(“number”==typeof e&&isNaN(e))},C=function(e,t,n,i,o){var a;void 0===i&&(i=!0);var l=”abgroup”,s=A(l,n,i);if(null!==s){var c=s[e];if(E(c))return c}var u=t(),d=r(r({},s),((a={})[e]=u,a));return w(l,d),o&&o(),u};!function(e){e.Prebid=”prebid”,e.GAM=”gam”,e.Amazon=”amazon”,e.WebVitals=”webvitals”,e.Marmalade=”marmalade”,e.Floors=”floors”,e.CMP=”cmp”}(d||(d={})),function(e){e.fpvNonLazy=”fpvNonLazy”,e.lazy=”lazy”,e.refresh=”refresh”,e.session=”session”,e.crossDomain=”crossdomain”,e.highSequence=”highsequence”}(p||(p={})),function(e){e.prebidLoad=”prebidLoad”,e.amazonLoad=”amazonLoad”,e.gptLoad=”gptLoad”}(h||(h={})),function(e){e.Desktop=”desktop”,e.Mobile=”mobile”}(f||(f={})),function(e){e.Video_Collapse_Autoplay_SoundOff=”Video_Collapse_Autoplay_SoundOff”,e.Video_Individual_Autoplay_SOff=”Video_Individual_Autoplay_SOff”,e.Video_Coll_SOff_Smartphone=”Video_Coll_SOff_Smartphone”,e.Video_In_Post_ClicktoPlay_SoundOn=”Video_In-Post_ClicktoPlay_SoundOn”}(y||(y={})),function(e){e.None=”none”}(m||(m={})),function(e){e.WEIGHTEDCHOICE=”weightedChoice”,e.BERNOULLITRIAL=”bernoulliTrial”}(g||(g={})),function(e){e.INTEGER=”integer”,e.FLOAT=”float”,e.BOOLEAN=”boolean”,e.STRING=”string”}(v||(v={})),function(e){e.DESKTOP=”desktop”,e.MOBILE=”mobile”,e.ALL=”all”}(_||(_={})),function(e){e.AdDensity=”addensity”,e.FooterCloseButton=”footerclose”,e.Interstitial=”interstitial”,e.RemoveVideoTitleWrapper=”removevideotitlewrapper”,e.StickyOutstream=”stickyoutstream”,e.StickyOutstreamOnStickyPlayer=”sospp”,e.VideoAdvancePlaylistRelatedPlayer=”videoadvanceplaylistrp”,e.MobileStickyPlayerPosition=”mspp”}(b||(b={}));var D=function(e,t,n){switch(t){case b.AdDensity:return function(e,t){var n=e.adDensityEnabled,i=e.adDensityLayout.pageOverrides.find((function(e){return!!document.querySelector(e.pageSelector)&&(e[t].onePerViewport||”number”==typeof e[t].adDensity)}));return!n||!i}(e,n);case b.StickyOutstream:return function(e){var t,n,i,o=null===(i=null===(n=null===(t=e.videoPlayers)||void 0===t?void 0:t.partners)||void 0===n?void 0:n.stickyOutstream)||void 0===i?void 0:i.blockedPageSelectors;return!o||!document.querySelector(o)}(e);case b.Interstitial:return function(e){var t=e.adOptions.interstitialBlockedPageSelectors||e.adOptions.mobileInterstitialBlockedPageSelectors;return!t||!document.querySelector(t)}(e);default:return!0}},O=function(){try{return Math.round(window.performance.now())}catch(e){return 0}},x=function(e){try{return{valid:!0,elements:document.querySelectorAll(e)}}catch(e){return r({valid:!1},e)}},M=function(e){return””===e?{valid:!0}:x(e)},k=function(){function e(){}return e.prototype.info=function(e,t){for(var n=[],i=2;i=e.dateStart,o=null==e.dateEnd||Date.now()0&&e.every((function(e){var t=e.value,n=e.weight;return!(null==t||”number”==typeof t&&isNaN(t)||!n)}))&&100===t}(e.variants);return c||I.error(“ValidateSiteExperiment”,”util”,”experiment presented invalid choices for key:”,e.key,e.variants),n&&i&&o&&r&&s&&c},L=[“siteId”,”siteName”,”adOptions”,”breakpoints”,”adUnits”],R=function(){function e(){this._clsGlobalData=window.adthriveCLS}return Object.defineProperty(e.prototype,”enabled”,{get:function(){return!!this._clsGlobalData&&!!this._clsGlobalData.siteAds&&function(e,t){if(void 0===t&&(t=L),!e)return!1;for(var n=0;nt.top+t.height/2&&t.top+t.height/2>0:window.innerHeight>t.top+t.height/2},e.playerVisible=function(e){var t=e.getBoundingClientRect();return window.innerHeight>t.top},e.createQueryString=function(e){return Object.keys(e).map((function(t){return””.concat(t,”=”).concat(e[t])})).join(“&”)},e.createEncodedQueryString=function(e){return Object.keys(e).map((function(t){return””.concat(t,”=”).concat(encodeURIComponent(e[t]))})).join(“&”)},e.setMobileLocation=function(e){return”top-left”===(e=e||”bottom-right”)?e=”adthrive-collapse-top-left”:”top-right”===e?e=”adthrive-collapse-top-right”:”bottom-left”===e?e=”adthrive-collapse-bottom-left”:”bottom-right”===e?e=”adthrive-collapse-bottom-right”:”top-center”===e&&(e=n()?”adthrive-collapse-top-center”:”adthrive-collapse-bottom-right”),e},e}(),G=function(t){this._clsOptions=t,this.removeVideoTitleWrapper=e(this._clsOptions.siteAds.adOptions.removeVideoTitleWrapper,!1);var n=this._clsOptions.siteAds.videoPlayers;this.footerSelector=e(n&&n.footerSelector,””),this.players=e(n&&n.players.map((function(e){return e.mobileLocation=T.setMobileLocation(e.mobileLocation),e})),[]),this.contextualSettings=n&&n.contextual},V=function(e){this.mobileStickyPlayerOnPage=!1,this.playlistPlayerAdded=!1,this.contextualPlayerAdded=!1,this.footerSelector=””,this.removeVideoTitleWrapper=!1,this.videoAdOptions=new G(e),this.players=this.videoAdOptions.players,this.contextualSettings=this.videoAdOptions.contextualSettings,this.removeVideoTitleWrapper=this.videoAdOptions.removeVideoTitleWrapper,this.footerSelector=this.videoAdOptions.footerSelector},N=function(){},H=function(e){function t(t){var n=e.call(this)||this;return n._probability=t,n}return o(t,e),t.prototype.get=function(){if(this._probability<0||this._probability>1)throw new Error(“Invalid probability”);return Math.random()100&&i.result)}(n.location,e,t,i)})),devices:n.devices,pageSelector:e(n.dynamic.pageSelector,””).trim(),elementSelector:e(n.dynamic.elementSelector,””).trim(),position:e(n.dynamic.position,”beforebegin”),max:Math.floor(e(n.dynamic.max,0)),spacing:e(n.dynamic.spacing,0),skip:Math.floor(e(n.dynamic.skip,0)),every:Math.max(Math.floor(e(n.dynamic.every,1)),1),classNames:n.dynamic.classNames||[],sticky:”Footer”===n.location||n.sticky,stickyOverlapSelector:e(n.stickyOverlapSelector,””).trim(),autosize:n.autosize,special:e(n.targeting,[]).filter((function(e){return”special”===e.key})).reduce((function(e,t){return e.concat.apply(e,u([],c(t.value),!1))}),[]),lazy:e(n.dynamic.lazy,!1),lazyMax:e(n.dynamic.lazyMax,2),lazyMaxDefaulted:0!==n.dynamic.lazyMax&&!n.dynamic.lazyMax}}))},U=function(e,t){var n=function(e){var t=e.clientWidth;if(getComputedStyle){var n=getComputedStyle(e,null);t-=parseFloat(n.paddingLeft||”0″)+parseFloat(n.paddingRight||”0″)}return t}(t),i=e.sticky&&”Sidebar”===e.location;return e.sizes.filter((function(t){var o=!e.autosize||(t[0]<=n||t[0]<=320),r=!i||t[1] div {n flex-basis: unset;n position: sticky !important;n display: block;n flex-direction: column;n top: 5px;n }n "))},Y=function(e){function t(t,n){void 0===t&&(t=[]);var i=e.call(this)||this;return i._choices=t,i._default=n,i}return o(t,e),t.fromArray=function(e,n){return new t(e.map((function(e){var t=c(e,2);return{choice:t[0],weight:t[1]}})),n)},t.prototype.addChoice=function(e,t){this._choices.push({choice:e,weight:t})},t.prototype.get=function(){var e,t,n,i,o=(n=0,i=100,Math.random()*(i-n)+n),r=0;try{for(var a=s(this._choices),l=a.next();!l.done;l=a.next()){var c=l.value,u=c.choice;if((r+=c.weight)>=o)return u}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return this._default},Object.defineProperty(t.prototype,”totalWeight”,{get:function(){return this._choices.reduce((function(e,t){return e+t.weight}),0)},enumerable:!1,configurable:!0}),t}(N),X=function(e){return function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(–n);return t>>>0}(e).toString(16)},Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._resultValidator=function(){return!0},t}return o(t,e),t.prototype._isValidResult=function(t){var n=this;return e.prototype._isValidResult.call(this,t,(function(){return n._resultValidator(t)||”control”===t}))},t.prototype.run=function(){if(!this.enabled)return I.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”No experiment config found. Defaulting to control.”),”control”;if(!this._mappedChoices||0===this._mappedChoices.length)return I.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”No experiment variants found. Defaulting to control.”),”control”;var e=new Y(this._mappedChoices).get();return this._isValidResult(e)?e:(I.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”Invalid result from experiment choices. Defaulting to control.”),”control”)},t}(function(){function e(){}return Object.defineProperty(e.prototype,”enabled”,{get:function(){return void 0!==this.experimentConfig},enumerable:!1,configurable:!0}),e.prototype._isValidResult=function(e,t){return void 0===t&&(t=function(){return!0}),t()&&E(e)},e}()),$=function(){function e(e){var t,i,o=this;this.siteExperiments=[],this._clsOptions=e,this._device=n()?”mobile”:”desktop”,this.siteExperiments=null!==(i=null===(t=this._clsOptions.siteAds.siteExperiments)||void 0===t?void 0:t.filter((function(e){var t=e.key,n=j(e,o._device),i=D(o._clsOptions.siteAds,t,o._device);return n&&i})))&&void 0!==i?i:[]}return e.prototype.getSiteExperimentByKey=function(e){return this.siteExperiments.filter((function(t){return t.key.toLowerCase()===e.toLowerCase()}))[0]},e}(),ee=function(e){function t(t){var n=e.call(this)||this;return n._choices=[],n._mappedChoices=[],n._result=”control”,n._resultValidator=function(e){return”number”==typeof e},n.key=b.AdDensity,n._clsSiteExperiments=new $(t),n.experimentConfig=n._clsSiteExperiments.getSiteExperimentByKey(n.key),n.enabled&&n.experimentConfig&&(n._choices=n.experimentConfig.variants,n._mappedChoices=n._mapChoices(),n._result=n.run(),t.setWeightedChoiceExperiment(n.key,n._result,!0)),n}return o(t,e),Object.defineProperty(t.prototype,”result”,{get:function(){return this._result},enumerable:!1,configurable:!0}),t.prototype.run=function(){if(!this.enabled)return I.error(“CLSAdDensitySiteExperiment”,”run”,”() => %o”,”No experiment config found. Defaulting to control.”),”control”;var e=new Y(this._mappedChoices).get();return this._isValidResult(e)?e:(I.error(“CLSAdDensitySiteExperiment”,”run”,”() => %o”,”Invalid result from experiment choices. Defaulting to control.”),”control”)},t.prototype._mapChoices=function(){return this._choices.map((function(e){var t=e.weight,n=e.value;return{weight:t,choice:”number”==typeof n?(n||0)/100:”control”}}))},a([function(e,t,n){var i=n.value;i&&(n.value=function(){for(var e,t=this,n=[],o=0;o %o”),s.push(i)),l.push(” %c(“.concat(a,”ms)”)),s.push(“color: #999;”)},ne=function(e,t,n){var i=void 0!==n.get?n.get:n.value;return function(){for(var n=[],o=0;o=t?”desktop”:n>=e?”tablet”:”phone”}(i,o),this._config=new J(e),this._clsOptions.enabledLocations=this._config.enabledLocations,this._clsAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new ee(this._clsOptions):null}return n.prototype.start=function(){var e,t,n,i,o=this;try{!function(e){var t=document.body,n=”adthrive-device-“.concat(e);if(!t.classList.contains(n))try{t.classList.add(n)}catch(e){I.error(“BodyDeviceClassComponent”,”init”,{message:e.message});var i=”classList”in document.createElement(“_”);I.error(“BodyDeviceClassComponent”,”init.support”,{support:i})}}(this._device);var r=q(this._device,this._clsOptions.siteAds.adUnits).filter((function(e){return o._locationEnabled(e)})).filter((function(e){return t=e,n=o._device,t.devices.includes(n);var t,n})).filter((function(e){return 0===(t=e).pageSelector.length||null!==document.querySelector(t.pageSelector);var t})),a=this.inject(r),l=new ie;(null===(t=null===(e=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===e?void 0:e.content)||void 0===t?void 0:t.enabled)&&l.result&&Q(null===(i=null===(n=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===n?void 0:n.content)||void 0===i?void 0:i.minHeight),a.forEach((function(e){return o._clsOptions.setInjectedSlots(e)}))}catch(e){I.error(“ClsDynamicAdsInjector”,”start”,e)}},n.prototype.inject=function(t,n){void 0===n&&(n=document),this._densityDevice=”desktop”===this._device?f.Desktop:f.Mobile,this._overrideDefaultAdDensitySettingsWithSiteExperiment();var i=this._clsOptions.siteAds,o=e(i.adDensityEnabled,!0),r=i.adDensityLayout&&o,a=t.filter((function(e){return r?”Content”!==e.location:e})),l=t.filter((function(e){return r?”Content”===e.location:null}));return u(u([],c(a.length?this._injectNonDensitySlots(a,n):[]),!1),c(l.length?this._injectDensitySlots(l,n):[]),!1)},n.prototype._injectNonDensitySlots=function(e,n){var i,o,r=this;void 0===n&&(n=document);var a=[],l=[];try{for(var d=s(e),p=d.next();!p.done;p=d.next()){var h=p.value,f=0,y=0,m=0;h.spacing>0&&(f=window.innerHeight*h.spacing,y=f);var g=this._repeatDynamicAds(h),v=this.getElements(h.elementSelector,n);h.skip;for(var _=function(e){if(m+1>g.length)return”break”;var i=v[e];if(f>0){var o=t(i).bottom;if(o<=y)return"continue";y=o+f}var r=g[m],s="".concat(r.location,"_").concat(r.sequence);a.some((function(e){return e.name===s}))&&(m+=1);var d=b.getDynamicElementId(r),p="adthrive-".concat(h.location.replace("_","-").toLowerCase()),_=u([p,"".concat(p,"-").concat(h.sequence)],c(h.classNames),!1),S=b.addAd(i,d,h.position,_);if(S){var P=U(r,S);if(P.length){var w={clsDynamicAd:h,dynamicAd:r,element:S,sizes:P,name:s,infinite:n!==document};a.push(w),l.push({location:r.location,element:S}),"Recipe"===h.location&&++b._recipeCount,m+=1}i=S}},b=this,S=h.skip;S0?[d]:[]),!1)),!1));return this._pubLog={onePerViewport:a,targetDensity:r,targetDensityUnits:s,combinedMax:d},{onePerViewport:a,targetAll:l,targetDensityUnits:s,combinedMax:d,numberOfUnits:p}},n.prototype._determineOverrides=function(e){var t=this;return e.filter((function(e){var t=M(e.pageSelector);return""===e.pageSelector||t.elements&&t.elements.length})).map((function(e){return e[t._densityDevice]}))},n.prototype._shouldTargetAllEligible=function(e){return e===this._densityMax},n.prototype._getTargetDensityUnits=function(e,t){return t?this._totalAvailableElements.length:Math.floor(e*this._mainContentHeight/(1-e)/this._minDivHeight)-this._recipeCount},n.prototype._getCombinedMax=function(t,n){return void 0===n&&(n=document),e(t.filter((function(e){var t;try{t=n.querySelector(e.elementSelector)}catch(e){}return t})).map((function(e){return Number(e.max)+Number(e.lazyMaxDefaulted?0:e.lazyMax)})).sort((function(e,t){return t-e}))[0],0)},n.prototype._elementLargerThanMainContent=function(e){return e.offsetHeight>=this._mainContentHeight&&this._totalAvailableElements.length>1},n.prototype._elementDisplayNone=function(e){var t=window.getComputedStyle(e,null).display;return t&&”none”===t||”none”===e.style.display},n.prototype._isBelowMaxes=function(e,t){return this._adInjectionMap.map.lengthi?window.innerHeight:i},n.prototype._useWiderSpacing=function(e,t){return this._mainContentHeight/Math.min(e,t)},n.prototype._useSmallestSpacing=function(e){return e&&window.innerHeight>this._absoluteMinimumSpacingByDevice?window.innerHeight:this._absoluteMinimumSpacingByDevice},n.prototype._moreAvailableElementsThanUnitsToInject=function(e,t){return this._totalAvailableElements.length>e||this._totalAvailableElements.length>t},n.prototype._logDensityInfo=function(e,t,n){var i=this._pubLog;i.onePerViewport,i.targetDensity;i.targetDensityUnits;i.combinedMax,this._totalAvailableElements.length},n.prototype._checkElementSpacing=function(e){var t=e.dynamicAd,n=e.element,i=e.insertEvery,o=e.targetAll,a=e.target,l=void 0===a?document:a;(this._isFirstAdInjected()||this._hasProperSpacing(n,t,o,i))&&this._markSpotForContentAd(n,r({},t),l)},n.prototype._isFirstAdInjected=function(){return!this._adInjectionMap.map.length},n.prototype._markSpotForContentAd=function(e,t,n){void 0===n&&(n=document);var i=”beforebegin”===t.position||”afterbegin”===t.position;this._adInjectionMap.add(e,this._getElementCoords(e,i),t,n),this._adInjectionMap.sort()},n.prototype._hasProperSpacing=function(e,t,n,i){var o=”beforebegin”===t.position||”afterbegin”===t.position,r=”beforeend”===t.position||”afterbegin”===t.position,a=n||this._isElementFarEnoughFromOtherAdElements(e,i,o),l=r||this._isElementNotInRow(e,o),s=-1===e.id.indexOf(“AdThrive_”.concat(“Below_Post”));return a&&l&&s},n.prototype._isElementFarEnoughFromOtherAdElements=function(e,t,n){for(var i=this._getElementCoords(e,n),o=!1,r=0;ra&&(!l||i+te.offsetHeight?t:e}))||document.body,r]}(e,this._adInjectionMap,t),2),i=n[0],o=n[1];this._mainContentDiv=i,this._totalAvailableElements=o,this._mainContentHeight=function(e,t){void 0===t&&(t=”div #comments, section .comments”);var n=e.querySelector(t);return n?e.offsetHeight-n.offsetHeight:e.offsetHeight}(this._mainContentDiv)},n.prototype._getElementCoords=function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect();return(t?n.top:n.bottom)+window.scrollY},n.prototype._addContentAd=function(e,t,n){void 0===n&&(n=document);var i=null,o=”adthrive-“.concat(t.location.replace(“_”,”-“).toLowerCase()),r=””.concat(o,”-“).concat(t.sequence),a=this.addAd(e,this.getDynamicElementId(t),t.position,u([o,r],c(t.classNames),!1));if(a){var l=U(t,a);if(l.length)a.style.minHeight=this.locationToMinHeight[t.location],i={clsDynamicAd:t,dynamicAd:t,element:a,sizes:l,name:””.concat(t.location,”_”).concat(t.sequence),infinite:n!==document}}return i},n.prototype.getDynamicElementId=function(e){return””.concat(“AdThrive”,”_”).concat(e.location,”_”).concat(e.sequence,”_”).concat(this._device)},n.prototype.getElements=function(e,t){return void 0===t&&(t=document),t.querySelectorAll(e)},n.prototype.addAd=function(e,t,n,i){if(void 0===i&&(i=[]),!document.getElementById(t)){var o=”);e.insertAdjacentHTML(n,o)}return document.getElementById(t)},n.prototype._repeatDynamicAds=function(t){for(var n=[],i=t.lazy?e(this.locationMaxLazySequence.get(t.location),0):0,o=t.max,a=t.lazyMax,l=0===i&&t.lazy?o+a:Math.min(Math.max(i-t.sequence+1,0),o+a),s=Math.max(o,l),c=0;c=o;n.push(r(r({},t),{sequence:u,lazy:d}))}return n},n.prototype._locationEnabled=function(e){var t=this._clsOptions.enabledLocations.includes(e.location),n=this._clsOptions.disableAds&&this._clsOptions.disableAds.all||document.body.classList.contains(“adthrive-disable-all”),i=!document.body.classList.contains(“adthrive-disable-content”)&&!this._clsOptions.disableAds.reasons.has(“content_plugin”);return t&&!n&&i},n}(),ae=function(e){function t(t,n){var i=e.call(this,t,”ClsVideoInsertion”)||this;return i._videoConfig=t,i._clsOptions=n,i._IN_POST_SELECTOR=”.adthrive-video-player”,i._WRAPPER_BAR_HEIGHT=36,i._playersAddedFromPlugin=[],i}return o(t,e),t.prototype.init=function(){this._initializePlayers()},t.prototype._wrapJWPlayerWithCLS=function(e,t,n){if(void 0===n&&(n=0),e.parentNode){var i=e.offsetWidth*(9/16),o=this._createGenericCLSWrapper(i,t,n);return e.parentNode.insertBefore(o,e),o.appendChild(e),o}return null},t.prototype._createGenericCLSWrapper=function(e,t,n){var i=document.createElement(“div”);return i.id=”cls-video-container-“.concat(t),i.className=”adthrive”,i.style.minHeight=””.concat(e+n,”px”),i},t.prototype._getTitleHeight=function(e){e.innerText=”Title”,e.style.visibility=”hidden”,document.body.appendChild(e);var t=window.getComputedStyle(e),n=parseInt(t.height,10),i=parseInt(t.marginTop,10),o=parseInt(t.marginBottom,10);return document.body.removeChild(e),Math.min(n+o+i,50)},t.prototype._initializePlayers=function(){var e=document.querySelectorAll(this._IN_POST_SELECTOR);e.length&&this._initializeRelatedPlayers(e),this._shouldRunAutoplayPlayers()&&this._determineAutoplayPlayers()},t.prototype._createStationaryRelatedPlayer=function(e,t){var n=”mobile”===this._device?[400,225]:[640,360],i=y.Video_In_Post_ClicktoPlay_SoundOn;if(t&&e.mediaId){var o=this._wrapJWPlayerWithCLS(t,e.mediaId);this._playersAddedFromPlugin.push(e.mediaId),o&&this._clsOptions.setInjectedVideoSlots({playerId:e.playerId,playerName:i,playerSize:n,element:o,type:”stationaryRelated”})}},t.prototype._createStickyRelatedPlayer=function(e,t){var n=”mobile”===this._device?[400,225]:[640,360],i=y.Video_Individual_Autoplay_SOff;if(this._stickyRelatedOnPage=!0,this._videoConfig.mobileStickyPlayerOnPage=”mobile”===this._device,t&&e.position&&e.mediaId){var o=document.createElement(“div”);t.insertAdjacentElement(e.position,o);var r=document.createElement(“h3″);r.style.margin=”10px 0″;var a=this._getTitleHeight(r),l=this._wrapJWPlayerWithCLS(o,e.mediaId,this._WRAPPER_BAR_HEIGHT+a);this._playersAddedFromPlugin.push(e.mediaId),l&&this._clsOptions.setInjectedVideoSlots({playlistId:e.playlistId,playerId:e.playerId,playerSize:n,playerName:i,element:o,type:”stickyRelated”})}},t.prototype._createPlaylistPlayer=function(e,t){var n=e.playlistId,i=”mobile”===this._device?y.Video_Coll_SOff_Smartphone:y.Video_Collapse_Autoplay_SoundOff,o=”mobile”===this._device?[400,225]:[640,360];this._videoConfig.mobileStickyPlayerOnPage=!0;var r=document.createElement(“div”);t.insertAdjacentElement(e.position,r);var a=this._wrapJWPlayerWithCLS(r,n,this._WRAPPER_BAR_HEIGHT);this._playersAddedFromPlugin.push(“playlist-“.concat(n)),a&&this._clsOptions.setInjectedVideoSlots({playlistId:e.playlistId,playerId:e.playerId,playerSize:o,playerName:i,element:r,type:”stickyPlaylist”})},t.prototype._isVideoAllowedOnPage=function(){var e=this._clsOptions.disableAds;if(e&&e.video){var t=””;e.reasons.has(“video_tag”)?t=”video tag”:e.reasons.has(“video_plugin”)?t=”video plugin”:e.reasons.has(“video_page”)&&(t=”command queue”);var n=t?”ClsVideoInsertionMigrated”:”ClsVideoInsertion”;return I.error(n,”isVideoAllowedOnPage”,new Error(“DBP: Disabled by publisher via “.concat(t||”other”))),!1}return!this._clsOptions.videoDisabledFromPlugin},t}(function(e){function t(t,n){var i=e.call(this)||this;i._videoConfig=t,i._component=n,i._stickyRelatedOnPage=!1,i._contextualMediaIds=[];var o,r=i._videoConfig.players||[];i._device=(void 0===o&&(o=navigator.userAgent),/Windows NT|Macintosh/i.test(o)?”desktop”:”mobile”),i._potentialPlayerMap=i._setPotentialPlayerMap();var a=r.filter((function(e){return”stationaryRelated”===e.type&&e.enabled}));return i._potentialPlayerMap.stationaryRelated=a,i}return o(t,e),t.prototype._setPotentialPlayerMap=function(){var e=this,t=this._videoConfig.players,n={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return t&&t.length?t.filter((function(t){var n;return null===(n=t.devices)||void 0===n?void 0:n.includes(e._device)})).reduce((function(t,n){return t[n.type]||(I.event(e._component,”constructor”,”Unknown Video Player Type detected”,n.type),t[n.type]=[]),n.enabled&&t[n.type].push(n),t}),n):n},t.prototype._checkPlayerSelectorOnPage=function(e){var t=this,n=this._potentialPlayerMap[e].map((function(e){return{player:e,playerElement:t._getPlacementElement(e)}}));return n.length?n[0]:{player:null,playerElement:null}},t.prototype._getOverrideElement=function(e,t,n){if(e&&t){var i=document.createElement(“div”);t.insertAdjacentElement(e.position,i),n=i}else{var o=this._checkPlayerSelectorOnPage(“stickyPlaylist”),r=o.player,a=o.playerElement;if(r&&a){i=document.createElement(“div”);a.insertAdjacentElement(r.position,i),n=i}}return n},t.prototype._shouldOverrideElement=function(e){var t=e.getAttribute(“override-embed”);return”true”===t||”false”===t?”true”===t:!!this._videoConfig.contextualSettings&&this._videoConfig.contextualSettings.overrideEmbedLocation},t.prototype._getPlacementElement=function(e){var t=M(e.pageSelector),n=x(e.elementSelector);return t.valid?e.pageSelector&&!t.elements.length?(I.event(“VideoUtils”,”getPlacementElement”,new Error(“PSNF: “.concat(e.pageSelector,” does not exist on the page”))),null):n.valid?n.elements.length>e.skip?n.elements[e.skip]:(I.event(“VideoUtils”,”getPlacementElement”,new Error(“ESNF: “.concat(e.elementSelector,” does not exist on the page”))),null):(I.error(“VideoUtils”,”getPlacementElement”,new Error(“”.concat(e.elementSelector,” is not a valid selector”))),null):(I.error(“VideoUtils”,”getPlacementElement”,new Error(“”.concat(e.pageSelector,” is not a valid selector”))),null)},t.prototype._getEmbeddedPlayerType=function(e){var t=e.getAttribute(“data-player-type”);return t&&”default”!==t||(t=this._videoConfig.contextualSettings?this._videoConfig.contextualSettings.defaultPlayerType:”static”),this._stickyRelatedOnPage&&(t=”static”),t},t.prototype._getUnusedMediaId=function(e){var t=e.getAttribute(“data-video-id”);return!(!t||this._contextualMediaIds.includes(t))&&(this._contextualMediaIds.push(t),t)},t.prototype._createRelatedPlayer=function(e,t,n){“collapse”===t?this._createCollapsePlayer(e,n):”static”===t&&this._createStaticPlayer(e,n)},t.prototype._createCollapsePlayer=function(e,t){var n=this._checkPlayerSelectorOnPage(“stickyRelated”),i=n.player,o=n.playerElement,a=i||this._potentialPlayerMap.stationaryRelated[0];a&&a.playerId?(this._shouldOverrideElement(t)&&(t=this._getOverrideElement(i,o,t)),t=document.querySelector(“#cls-video-container-“.concat(e,” > div”))||t,this._createStickyRelatedPlayer(r(r({},a),{mediaId:e}),t)):I.error(this._component,”_createCollapsePlayer”,”No video player found”)},t.prototype._createStaticPlayer=function(e,t){if(this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId){var n=this._potentialPlayerMap.stationaryRelated[0];this._createStationaryRelatedPlayer(r(r({},n),{mediaId:e}),t)}else I.error(this._component,”_createStaticPlayer”,”No video player found”)},t.prototype._shouldRunAutoplayPlayers=function(){return!(!this._isVideoAllowedOnPage()||!this._potentialPlayerMap.stickyRelated.length&&!this._potentialPlayerMap.stickyPlaylist.length)},t.prototype._determineAutoplayPlayers=function(){var e=this._component,t=”VideoManagerComponent”===e,n=this._config;if(this._stickyRelatedOnPage)I.event(e,”stickyRelatedOnPage”,t&&{device:n&&n.context.device,isDesktop:this._device}||{});else{var i=this._checkPlayerSelectorOnPage(“stickyPlaylist”),o=i.player,r=i.playerElement;o&&o.playerId&&o.playlistId&&r?this._createPlaylistPlayer(o,r):I.event(e,”noStickyPlaylist”,t&&{vendor:”none”,device:n&&n.context.device,isDesktop:this._device}||{})}},t.prototype._initializeRelatedPlayers=function(e){for(var t=0;t
Source