Lemon Shrimp Orzo with Asparagus

[] *”,”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”:{“nativeDesktopContent”:true,”outstreamDesktop”:true,”miniscroller”:true,”animatedFooter”:true,”largeFormatsMobile”:true,”nativeMobileContent”:true,”inRecipeRecommendationMobile”:true,”nativeMobileRecipe”:true,”expandableFooter”:true,”nativeDesktopSidebar”:true,”interscroller”:true,”nativeDesktopRecipe”:true,”outstreamMobile”:true,”largeFormatsDesktop”:true,”inRecipeRecommendationDesktop”:true},”adOptions”:{“theTradeDesk”:true,”rtbhouse”:true,”verizon”:true,”undertone”:true,”concert”:false,”footerCloseButton”:false,”teads”:true,”pmp”:true,”thirtyThreeAcross”:true,”sharethrough”:true,”removeVideoTitleWrapper”:true,”pubMatic”:true,”roundel”:true,”infiniteScroll”:false,”yahoossp”:true,”stickyContainerConfig”:{“recipe”:{“minHeight”:400,”enabled”:false},”content”:{“minHeight”:400,”enabled”:false},”blockedSelectors”:[]},”sonobi”:true,”yieldmo”:true,”footerSelector”:””,”amazonUAM”:true,”gamMCMEnabled”:true,”gamMCMChildNetworkCode”:”22572004875″,”stickyContainerAds”:true,”rubiconMediaMath”:true,”rubicon”:true,”conversant”:true,”resetdigital”: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,”interstitialBlockedPageSelectors”:””,”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},”dynamicContentSlotLazyLoading”:true,”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”:”3bq9bq6Y”,”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”:”3bq9bq6Y”,”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”:{“theTradeDesk”:true,”unruly”:true,”mediaGrid”:true,”undertone”:true,”gumgum”:true,”pmp”:true,”kargo”:true,”thirtyThreeAcross”:true,”stickyOutstream”:{“allowOnHomepage”:false,”mobile”:{“enabled”:true},”desktop”:{“enabled”:true},”blockedPageSelectors”:””,”allowForPageWithStickyPlayer”:{“enabled”:false}},”sharethrough”:true,”tripleLift”:true,”pubMatic”:true,”roundel”:true,”yahoossp”:true,”criteo”:true,”colossus”:true,”telaria”:true,”yieldmo”:true,”amazonUAM”:true,”rubicon”:true,”appNexus”:true,”conversant”:true,”resetdigital”:true,”openx”:true,”spotx”:true,”indexExchange”:true}}};]]> Lemon Shrimp Orzo with Asparagus – Julia’s Album 1.5*window.innerHeight?c:null},oa=function(c,b,a){void 0===a&&(a=document);var d=na(a),e=d?[d]:[],f=[];c.forEach(function(h){var l=Array.from(a.querySelectorAll(h.elementSelector)).slice(0,h.skip);ma(h.elementSelector).forEach(function(k){var n=a.querySelectorAll(k);k=function(t){var q=n[t];if(b.map.some(function(B){return B.el.isEqualNode(q)}))return”continue”;(t=q&&q.parentElement)&&t!==document.body?e.push(t):e.push(q);-1===l.indexOf(q)&&f.push({dynamicAd:h,element:q})};for(var m= 0;md.offsetHeight?e:d})||document.body,b]},y;(function(c){c.ThirtyThreeAcross=”33across”;c.AppNexus=”appnexus”;c.Amazon=”amazon”;c.Brightroll= “brightroll”;c.Colossus=”colossus”;c.ColossusServer=”col_ss”;c.Conversant=”conversant”;c.Concert=”concert”;c.Criteo=”criteo”;c.GumGum=”gumgum”;c.IndexExchange=”ix”;c.Kargo=”kargo”;c.KargoServer=”krgo_ss”;c.MediaGrid=”grid”;c.MediaGridVideo=”gridvid”;c.Nativo=”nativo”;c.OpenX=”openx”;c.OpenXServer=”opnx_ss”;c.Pubmatic=”pubmatic”;c.PubmaticServer=”pubm_ss”;c.ResetDigital=”resetdigital”;c.Roundel=”roundel”;c.Rubicon=”rubicon”;c.RubiconServer=”rubi_ss”;c.Sharethrough=”sharethrough”;c.Spotx=”spotx”;c.Teads= “teads”;c.Triplelift=”triplelift”;c.TripleliftServer=”tripl_ss”;c.TTD=”ttd”;c.Undertone=”undertone”;c.UndertoneServer=”under_ss”;c.Unruly=”unruly”;c.YahooSSP=”yahoossp”;c.Verizon=”verizon”;c.Yieldmo=”yieldmo”})(y||(y={}));var C;(function(c){c.Prebid=”prebid”;c.GAM=”gam”;c.Amazon=”amazon”;c.WebVitals=”webvitals”;c.Marmalade=”marmalade”;c.Floors=”floors”;c.CMP=”cmp”})(C||(C={}));var T;(function(c){c.fpvNonLazy=”fpvNonLazy”;c.lazy=”lazy”;c.refresh=”refresh”;c.session=”session”;c.crossDomain=”crossdomain”; c.highSequence=”highsequence”})(T||(T={}));var U;(function(c){c.prebidLoad=”prebidLoad”;c.amazonLoad=”amazonLoad”;c.gptLoad=”gptLoad”})(U||(U={}));var I;(function(c){c.Desktop=”desktop”;c.Mobile=”mobile”})(I||(I={}));var D;(function(c){c.Video_Collapse_Autoplay_SoundOff=”Video_Collapse_Autoplay_SoundOff”;c.Video_Individual_Autoplay_SOff=”Video_Individual_Autoplay_SOff”;c.Video_Coll_SOff_Smartphone=”Video_Coll_SOff_Smartphone”;c.Video_In_Post_ClicktoPlay_SoundOn=”Video_In-Post_ClicktoPlay_SoundOn”})(D|| (D={}));var V;(V||(V={})).None=”none”;var W;(function(c){c.WEIGHTEDCHOICE=”weightedChoice”;c.BERNOULLITRIAL=”bernoulliTrial”})(W||(W={}));var X;(function(c){c.INTEGER=”integer”;c.FLOAT=”float”;c.BOOLEAN=”boolean”;c.STRING=”string”})(X||(X={}));var Y;(function(c){c.DESKTOP=”desktop”;c.MOBILE=”mobile”;c.ALL=”all”})(Y||(Y={}));var E;(function(c){c.AdDensity=”addensity”;c.FooterCloseButton=”footerclose”;c.Interstitial=”interstitial”;c.RemoveVideoTitleWrapper=”removevideotitlewrapper”;c.StickyOutstream= “stickyoutstream”;c.StickyOutstreamOnStickyPlayer=”sospp”;c.VideoAdvancePlaylistRelatedPlayer=”videoadvanceplaylistrp”;c.MobileStickyPlayerPosition=”mspp”})(E||(E={}));var qa=function(c,b){var a=c.adDensityEnabled;c=c.adDensityLayout.pageOverrides.find(function(d){return!!document.querySelector(d.pageSelector)&&(d[b].onePerViewport||”number”===typeof d[b].adDensity)});return a?!c:!0};y=function(){function c(){this._timeOrigin=0}c.prototype.resetTimeOrigin=function(){this._timeOrigin=window.performance.now()}; c.prototype.now=function(){try{return Math.round(window.performance.now()-this._timeOrigin)}catch(b){return 0}};return c}();window.adthrive.windowPerformance=window.adthrive.windowPerformance||new y;y=window.adthrive.windowPerformance;var S=y.now.bind(y),Z=function(c){try{return{valid:!0,elements:document.querySelectorAll(c)}}catch(b){return x({valid:!1},b)}},aa=function(c){return””===c?{valid:!0}:Z(c)},r=new (function(){function c(){}c.prototype.info=function(b,a){for(var d=[],e=2;eb.top+b.height/2&&0b.top+b.height/2};c.playerVisible=function(b){b=b.getBoundingClientRect();return window.innerHeight>b.top};c.createQueryString=function(b){return Object.keys(b).map(function(a){return””.concat(a,”=”).concat(b[a])}).join(“&”)}; c.createEncodedQueryString=function(b){return Object.keys(b).map(function(a){return””.concat(a,”=”).concat(encodeURIComponent(b[a]))}).join(“&”)};c.setMobileLocation=function(b){b=b||”bottom-right”;”top-left”===b?b=”adthrive-collapse-top-left”:”top-right”===b?b=”adthrive-collapse-top-right”:”bottom-left”===b?b=”adthrive-collapse-bottom-left”:”bottom-right”===b?b=”adthrive-collapse-bottom-right”:”top-center”===b&&(b=K()?”adthrive-collapse-top-center”:”adthrive-collapse-bottom-right”);return b};c.addMaxResolutionQueryParam= function(b){var a=K()?”320″:”1280″;a=”max_resolution=”.concat(a);var d=p(String(b).split(“?”),2);b=d[0];a=(d=d[1])?d+”&”.concat(a):a;return””.concat(b,”?”).concat(a)};return c}(),ua=function(){return function(c){this._clsOptions=c;this.removeVideoTitleWrapper=u(this._clsOptions.siteAds.adOptions.removeVideoTitleWrapper,!1);c=this._clsOptions.siteAds.videoPlayers;this.footerSelector=u(c&&c.footerSelector,””);this.players=u(c&&c.players.map(function(b){b.mobileLocation=ta.setMobileLocation(b.mobileLocation); return b}),[]);this.contextualSettings=c&&c.contextual}}(),va=function(){return function(c){this.contextualPlayerAdded=this.playlistPlayerAdded=this.mobileStickyPlayerOnPage=!1;this.footerSelector=””;this.removeVideoTitleWrapper=!1;this.videoAdOptions=new ua(c);this.players=this.videoAdOptions.players;this.contextualSettings=this.videoAdOptions.contextualSettings;this.removeVideoTitleWrapper=this.videoAdOptions.removeVideoTitleWrapper;this.footerSelector=this.videoAdOptions.footerSelector}}();C=function(){return function(){}}(); var L=function(c){function b(a){var d=c.call(this)||this;d._probability=a;return d}A(b,c);b.prototype.get=function(){if(0>this._probability||1=d)return l}}catch(n){var k= {error:n}}finally{try{g&&!g.done&&(a=f.return)&&a.call(f)}finally{if(k)throw k.error;}}return this._default};Object.defineProperty(b.prototype,”totalWeight”,{get:function(){return this._choices.reduce(function(a,d){return a+d.weight},0)},enumerable:!1,configurable:!0});return b}(C),Ia=function(c){for(var b=5381,a=c.length;a;)b=33*b^c.charCodeAt(–a);return b>>>0},M=new (function(){function c(){var b=this;this.name=”Session”;this.disable=!1;this.removeSessionValue=function(a){window.localStorage.removeItem(“adthrive_”.concat(a.toLowerCase()))}; this.getSessionValue=function(a,d,e){void 0===e&&(e=!1);if(b.disable)return null;try{var f=window.localStorage.getItem(“adthrive_”.concat(a.toLowerCase()));if(f){var g=JSON.parse(f),h=void 0!==d&&Date.now()-g.created>=d;if(g&&!h)return e&&b.setSessionValue(a,g.value),g.value}}catch(l){}return null};this.setSessionValue=function(a,d){try{var e={value:d,created:Date.now()};window.localStorage.setItem(“adthrive_”.concat(a.toLowerCase()),JSON.stringify(e))}catch(f){}};this.isValidABGroupSessionValue= function(a){return void 0!==a&&null!==a&&!(“number”===typeof a&&isNaN(a))};this.getOrSetSessionValue=function(a,d,e,f,g){void 0===f&&(f=!0);e=b.getSessionValue(a,e,f);if(null!==e)return e;d=d();b.setSessionValue(a,d);g&&g(d);return d};this.getOrSetABGroupSessionValue=function(a,d,e,f,g){var h;void 0===f&&(f=!0);e=b.getSessionValue(“abgroup”,e,f);if(null!==e&&(f=e[a],b.isValidABGroupSessionValue(f)))return f;d=d();a=x(x({},e),(h={},h[a]=d,h));b.setSessionValue(“abgroup”,a);g&&g();return d}}c.prototype.init= function(){};return c}()),Ja=function(){return function(c,b,a){var d=a.value;d&&(a.value=function(){for(var e=this,f,g=[],h=0;h %o”,”No experiment config found. Defaulting to control.”), “control”;if(!this._mappedChoices||0===this._mappedChoices.length)return r.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”No experiment variants found. Defaulting to control.”),”control”;var a=(new ha(this._mappedChoices)).get();if(this._isValidResult(a))return a;r.error(“CLSWeightedChoiceSiteExperiment”,”run”,”() => %o”,”Invalid result from experiment choices. Defaulting to control.”);return”control”};return b}(function(){function c(){}Object.defineProperty(c.prototype,”enabled”,{get:function(){return void 0!== this.experimentConfig},enumerable:!1,configurable:!0});c.prototype._isValidResult=function(b,a){void 0===a&&(a=function(){return!0});return a()&&M.isValidABGroupSessionValue(b)};return c}());var Ka=function(){function c(b){var a=this,d,e;this.siteExperiments=[];this._clsOptions=b;this._device=K()?”mobile”:”desktop”;this.siteExperiments=null!==(e=null===(d=this._clsOptions.siteAds.siteExperiments)||void 0===d?void 0:d.filter(function(f){var g=f.key;var h=a._device;if(f){var l=!!f.enabled,k=null==f.dateStart|| Date.now()>=f.dateStart,n=null==f.dateEnd||Date.now() %o”,”No experiment config found. Defaulting to control.”),”control”;var a=(new ha(this._mappedChoices)).get();if(this._isValidResult(a))return a;r.error(“CLSTargetAdDensitySiteExperiment”,”run”,”() => %o”, “Invalid result from experiment choices. Defaulting to control.”);return”control”};b.prototype._mapChoices=function(){return this._choices.map(function(a){var d=a.value;return{weight:a.weight,choice:”number”===typeof d?(d||0)/100:”control”}})};R([Ja(),H(“design:type”,Function),H(“design:paramtypes”,[]),H(“design:returntype”,void 0)],b.prototype,”run”,null);return b}(C),Ma=function(c){function b(){var a=c.call(this)||this;a._result=!1;a.key=”scae”;a._choices=[{choice:!0},{choice:!1}];a.weight=.99; a._result=a.run();a.setExperimentKey();return a}A(b,c);Object.defineProperty(b.prototype,”result”,{get:function(){return this._result},enumerable:!1,configurable:!0});b.prototype.run=function(){return(new L(this.weight)).get()};return b=R([ea(“StickyContainerAdsExperiment”),H(“design:paramtypes”,[])],b)}(y),Pa=function(){function c(b,a){this._clsOptions=b;this._adInjectionMap=a;this._mainContentHeight=this._recipeCount=0;this._mainContentDiv=null;this._totalAvailableElements=[];this._minDivHeight= 250;this._densityDevice=I.Desktop;this._pubLog={onePerViewport:!1,targetDensity:0,targetDensityUnits:0,combinedMax:0};this._densityMax=.99;this._smallerIncrementAttempts=0;this._absoluteMinimumSpacingByDevice=250;this._usedAbsoluteMinimum=!1;this._infPageEndOffset=0;this.locationMaxLazySequence=new Map([[“Recipe”,5]]);this.locationToMinHeight={Below_Post:”250px”,Content:”250px”,Recipe:”250px”,Sidebar:”250px”};a=this._clsOptions.siteAds.breakpoints;var d=a.tablet;var e=window.innerWidth;a=e>=a.desktop? “desktop”:e>=d?”tablet”:”phone”;this._device=a;this._config=new Ea(b);this._clsOptions.enabledLocations=this._config.enabledLocations;this._clsTargetAdDensitySiteExperiment=this._clsOptions.siteAds.siteExperiments?new La(this._clsOptions):null}c.prototype.start=function(){var b=this,a,d,e,f;try{Fa(this._device);var g=Da(this._device,this._clsOptions.siteAds).filter(function(k){return b._locationEnabled(k)}).filter(function(k){return k.devices.includes(b._device)}).filter(function(k){return 0===k.pageSelector.length|| null!==document.querySelector(k.pageSelector)}),h=this.inject(g),l=new Ma;(null===(d=null===(a=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===a?void 0:a.content)||void 0===d?0:d.enabled)&&l.result&&!Ha(this._clsOptions.siteAds.adOptions.stickyContainerConfig.blockedSelectors||[])&&Ga(null===(f=null===(e=this._clsOptions.siteAds.adOptions.stickyContainerConfig)||void 0===e?void 0:e.content)||void 0===f?void 0:f.minHeight);h.forEach(function(k){return b._clsOptions.setInjectedSlots(k)})}catch(k){r.error(“ClsDynamicAdsInjector”, “start”,k)}};c.prototype.inject=function(b,a){void 0===a&&(a=document);this._densityDevice=”desktop”===this._device?I.Desktop:I.Mobile;this._overrideDefaultAdDensitySettingsWithSiteExperiment();var d=this._clsOptions.siteAds,e=u(d.adDensityEnabled,!0),f=d.adDensityLayout&&e;d=b.filter(function(g){return f?”Content”!==g.location:g});b=b.filter(function(g){return f?”Content”===g.location:null});return w(w([],p(d.length?this._injectNonDensitySlots(d,a):[]),!1),p(b.length?this._injectDensitySlots(b,a): []),!1)};c.prototype._injectNonDensitySlots=function(b,a){var d,e=this;void 0===a&&(a=document);var f=[],g=[];try{for(var h=J(b),l=h.next();!l.done;l=h.next()){var k=l.value,n=0,m=0,t=0;0q.length)return”break”;var F=B[v];if(0=this._mainContentHeight&&1h._smallerIncrementAttempts&& (++h._smallerIncrementAttempts,l(h._getSmallerIncrement(k)))};b=this._getInsertEvery(b,a,f);l(b)};c.prototype._getSmallerIncrement=function(b){b*=.6;bh;g.sequence=e;g.lazy= h;if(f=b._addContentAd(f,g,d))g.used=!0,a.push(f)});return a};c.prototype._getInsertEvery=function(b,a,d){this._moreAvailableElementsThanUnitsToInject(d,b)?(this._usedAbsoluteMinimum=!1,b=this._useWiderSpacing(d,b)):(this._usedAbsoluteMinimum=!0,b=this._useSmallestSpacing(a));return a&&window.innerHeight>b?window.innerHeight:b};c.prototype._useWiderSpacing=function(b,a){return this._mainContentHeight/Math.min(b,a)};c.prototype._useSmallestSpacing=function(b){return b&&window.innerHeight>this._absoluteMinimumSpacingByDevice? window.innerHeight:this._absoluteMinimumSpacingByDevice};c.prototype._moreAvailableElementsThanUnitsToInject=function(b,a){return this._totalAvailableElements.length>b||this._totalAvailableElements.length>a};c.prototype._logDensityInfo=function(b,a,d){b=this._pubLog;b.onePerViewport;b.targetDensity;b.combinedMax};c.prototype._checkElementSpacing=function(b){var a=b.dynamicAd,d=b.element,e=b.insertEvery,f=b.targetAll;b=b.target;b=void 0===b?document:b;(this._isFirstAdInjected()||this._hasProperSpacing(d, a,f,e))&&this._markSpotForContentAd(d,x({},a),b)};c.prototype._isFirstAdInjected=function(){return!this._adInjectionMap.map.length};c.prototype._markSpotForContentAd=function(b,a,d){void 0===d&&(d=document);this._adInjectionMap.add(b,this._getElementCoords(b,”beforebegin”===a.position||”afterbegin”===a.position),a,d);this._adInjectionMap.sort()};c.prototype._hasProperSpacing=function(b,a,d,e){var f=”beforebegin”===a.position||”afterbegin”===a.position;a=”beforeend”===a.position||”afterbegin”===a.position; d=d||this._isElementFarEnoughFromOtherAdElements(b,e,f);f=a||this._isElementNotInRow(b,f);b=-1===b.id.indexOf(“AdThrive_”.concat(“Below_Post”));return d&&f&&b};c.prototype._isElementFarEnoughFromOtherAdElements=function(b,a,d){b=this._getElementCoords(b,d);var e=!1;for(d=0;dthis._adInjectionMap.map[d].coords&&(!e||b+aa.skip)return e.elements[a.skip];r.event(“VideoUtils”,”getPlacementElement”,Error(“ESNF: “.concat(a.elementSelector,” does not exist on the page”)));return null};b.prototype._getEmbeddedPlayerType=function(a){(a=a.getAttribute(“data-player-type”))&&”default”!==a||(a=this._videoConfig.contextualSettings?this._videoConfig.contextualSettings.defaultPlayerType:”static”);this._stickyRelatedOnPage&& (a=”static”);return a};b.prototype._getUnusedMediaId=function(a){return(a=a.getAttribute(“data-video-id”))&&!this._contextualMediaIds.includes(a)?(this._contextualMediaIds.push(a),a):!1};b.prototype._createRelatedPlayer=function(a,d,e){“collapse”===d?this._createCollapsePlayer(a,e):”static”===d&&this._createStaticPlayer(a,e)};b.prototype._createCollapsePlayer=function(a,d){var e=this._checkPlayerSelectorOnPage(“stickyRelated”),f=e.player;e=e.playerElement;var g=f?f:this._potentialPlayerMap.stationaryRelated[0]; g&&g.playerId?(this._shouldOverrideElement(d)&&(d=this._getOverrideElement(f,e,d)),d=document.querySelector(“#cls-video-container-“.concat(a,” > div”))||d,this._createStickyRelatedPlayer(x(x({},g),{mediaId:a}),d)):r.error(this._component,”_createCollapsePlayer”,”No video player found”)};b.prototype._createStaticPlayer=function(a,d){this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId?this._createStationaryRelatedPlayer(x(x({},this._potentialPlayerMap.stationaryRelated[0]), {mediaId:a}),d):r.error(this._component,”_createStaticPlayer”,”No video player found”)};b.prototype._shouldRunAutoplayPlayers=function(){return this._isVideoAllowedOnPage()&&(this._potentialPlayerMap.stickyRelated.length||this._potentialPlayerMap.stickyPlaylist.length)?!0:!1};b.prototype._determineAutoplayPlayers=function(){var a=this._component,d=”VideoManagerComponent”===a,e=this._config;if(this._stickyRelatedOnPage)r.event(a,”stickyRelatedOnPage”,d&&{device:e&&e.context.device,isDesktop:this._device}|| {});else{var f=this._checkPlayerSelectorOnPage(“stickyPlaylist”),g=f.player;f=f.playerElement;g&&g.playerId&&g.playlistId&&f?this._createPlaylistPlayer(g,f):r.event(a,”noStickyPlaylist”,d&&{vendor:”none”,device:e&&e.context.device,isDesktop:this._device}||{})}};b.prototype._initializeRelatedPlayers=function(a){for(var d=0;d

Source

Leave a Reply

Your email address will not be published.