Pretty My Party


*”,”classNames”:[],”skip”:3,”pageSelector”:”body.single, body.page”,”position”:”afterend”,”enabled”:true},”contextualAutoplayCollapsibleMobile”:{“elementSelector”:null,”skip”:0,”pageSelector”:null,”position”:”afterend”},”sekindoMobilePlaylist”:{“pageSelector”:null,”elementSelector”:null,”classNames”:[],”skip”:0,”position”:”afterend”,”title”:null,”enabled”:false},”jwPlaylistId”:”Yen8JgZB”,”contextualAutoplayCollapsibleDesktop”:{“elementSelector”:null,”skip”:0,”pageSelector”:null,”position”:”afterend”},”collapsible”:{“footerSelector”:”.site-footer”,”topMargin”:0,”desktopLocation”:”bottom”,”mobileLocation”:”bottom-right”,”mobileSize”:”medium”,”saveVideoCloseState”:false,”mobileLocationExperiment”:false,”shuffle”:true,”sidebarSelector”:”.sidebar-primary”,”title”:”MY LATEST VIDEOS”},”autoplayPlaylistCollapsibleMobile”:{“elementSelector”:”.entry-content > *”,”classNames”:[],”skip”:3,”pageSelector”:”body.single, body.page”,”position”:”afterend”,”enabled”:true},”jwPlayerId”:”oJ3Py7lA”,”jwCollapsiblePlayerId”:”LD3AFr22″,”sekindoDesktopPlaylist”:{“pageSelector”:null,”elementSelector”:null,”classNames”:[],”skip”:0,”position”:”afterend”,”title”:null,”enabled”:false},”partners”:{“roundel”:true,”oneVideo”:true,”mediaGrid”:true,”gumgum”:true,”telaria”:false,”districtM”:true,”amazonUAM”:true,”stickyOutstream”:{“mobile”:{“enabled”:true},”blockedPageSelectors”:””,”desktop”:{“enabled”:true}},”rubicon”:true,”appNexus”:true,”conversant”:false,”tripleLift”:true,”openx”:true,”pubMatic”:true,”spotx”:true,”indexExchange”:true}},”version”:”v1″,”adTypes”:{“nativeMobileRecipe”:true,”expandableFooter”:true,”nativeDesktopSidebar”:true,”nativeDesktopContent”:true,”outstreamDesktop”:true,”interscroller”:true,”miniscroller”:true,”nativeDesktopRecipe”:true,”outstreamMobile”:true,”animatedFooter”:true,”nativeMobileContent”:true},”adUnits”:[{“sequence”:1,”targeting”:[{“value”:[“Sidebar”],”key”:”location”}],”devices”:[“desktop”],”name”:”Sidebar_1″,”sticky”:false,”location”:”Sidebar”,”dynamic”:{“pageSelector”:””,”min”:0,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”.sidebar-primary > *”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[300,250],[250,250],[300,600],[120,240],[160,600],[300,1050],[336,280],[320,50],[320,100],[1,1],[300,420],[300,50]],”priority”:299,”autosize”:true},{“sequence”:9,”targeting”:[{“value”:[“Sidebar”],”key”:”location”},{“value”:true,”key”:”sticky”}],”devices”:[“desktop”],”name”:”Sidebar_9″,”sticky”:true,”location”:”Sidebar”,”dynamic”:{“pageSelector”:””,”min”:0,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”.sidebar-primary”,”skip”:0,”classNames”:[],”position”:”beforeend”,”every”:1,”enabled”:true},”stickyOverlapSelector”:”.footer-widgets, .site-footer”,”adSizes”:[[300,250],[250,250],[300,600],[120,240],[160,600],[300,1050],[336,280],[320,50],[320,100],[1,1],[300,420],[300,50]],”priority”:291,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Content”],”key”:”location”}],”devices”:[“desktop”],”name”:”Content”,”sticky”:false,”location”:”Content”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”min”:0,”spacing”:0.7,”max”:7,”lazy”:true,”lazyMax”:14,”elementSelector”:”.entry-content > *”,”skip”:3,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[336,280],[468,60],[728,90],[970,90],[1,1],[300,300],[552,334],[300,50],[728,250],[970,250],[1,2]],”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)”,”min”:0,”spacing”:0.6,”max”:7,”lazy”:true,”lazyMax”:29,”elementSelector”:”.entry-content > *”,”skip”:5,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[336,280],[468,60],[728,90],[970,90],[1,1],[300,300],[552,334],[300,50],[728,250],[970,250],[1,2]],”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)”,”min”:0,”spacing”:0.7,”max”:7,”lazy”:true,”lazyMax”:28,”elementSelector”:”.entry-content > *”,”skip”:6,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[336,280],[468,60],[728,90],[970,90],[1,1],[300,300],[552,334],[300,50],[728,250],[970,250],[1,2]],”priority”:199,”autosize”:true},{“sequence”:1,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“desktop”,”tablet”],”name”:”Recipe_1″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”min”:0,”spacing”:0.5,”max”:3,”lazy”:false,”lazyMax”:null,”elementSelector”:”.mv-create-ingredients li, .mv-create-instructions li, .mv-create-notes p”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[1,1],[300,50],[1,2],[320,300],[300,390]],”priority”:-101,”autosize”:true},{“sequence”:4,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_4″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”min”:0,”spacing”:0,”max”:1,”lazy”:false,”lazyMax”:null,”elementSelector”:”.mv-create-ingredients”,”skip”:0,”classNames”:[],”position”:”beforebegin”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[1,1],[300,50],[1,2],[320,300],[300,390]],”priority”:-104,”autosize”:true},{“sequence”:1,”targeting”:[{“value”:[“Recipe”],”key”:”location”}],”devices”:[“phone”],”name”:”Recipe_1″,”sticky”:false,”location”:”Recipe”,”dynamic”:{“pageSelector”:””,”min”:0,”spacing”:0.6,”max”:3,”lazy”:false,”lazyMax”:null,”elementSelector”:”.mv-create-ingredients, .mv-create-instructions li, .mv-create-notes p”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[1,1],[300,50],[1,2],[320,300],[300,390]],”priority”:-101,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Below Post”],”key”:”location”}],”devices”:[“desktop”,”tablet”,”phone”],”name”:”Below_Post”,”sticky”:false,”location”:”Below Post”,”dynamic”:{“pageSelector”:”body.single, body.page:not(.home)”,”min”:0,”spacing”:0,”max”:0,”lazy”:true,”lazyMax”:1,”elementSelector”:”.entry-content”,”skip”:0,”classNames”:[],”position”:”afterend”,”every”:1,”enabled”:true},”adSizes”:[[120,240],[250,250],[300,250],[320,50],[320,100],[336,280],[468,60],[728,90],[1,1]],”priority”:99,”autosize”:true},{“sequence”:null,”targeting”:[{“value”:[“Footer”],”key”:”location”},{“value”:true,”key”:”sticky”}],”devices”:[“tablet”,”phone”,”desktop”],”name”:”Footer”,”sticky”:true,”location”:”Footer”,”dynamic”:{“pageSelector”:””,”min”:0,”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}],”videoPlayers”:{“contextual”:{“autoplayCollapsibleEnabled”:false,”overrideEmbedLocation”:false,”defaultPlayerType”:”static”},”videoEmbed”:”wordpress”,”footerSelector”:”.site-footer”,”jwPlayer”:{“apiSecret”:”rfZcY094Hdvv05fLx2iEi5iM”,”apiKey”:”73Ae5blv”,”propertyId”:”9f6159bc-ebd8-11eb-85f1-ee1ca105a0d6″,”enabled”:true},”players”:[{“devices”:[“desktop”,”mobile”],”description”:””,”id”:4047211,”title”:”Stationary related player – desktop and mobile”,”type”:”stationaryRelated”,”enabled”:true,”playerId”:”oJ3Py7lA”},{“pageSelector”:””,”devices”:[“desktop”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4047212,”position”:”afterend”,”title”:”Sticky related player – desktop”,”type”:”stickyRelated”,”enabled”:true,”playerId”:”oJ3Py7lA”},{“pageSelector”:””,”devices”:[“mobile”],”mobileLocation”:”bottom-right”,”description”:””,”elementSelector”:””,”skip”:0,”id”:4047213,”position”:”afterend”,”title”:”Sticky related player – mobile”,”type”:”stickyRelated”,”enabled”:true,”playerId”:”oJ3Py7lA”},{“playlistId”:”Yen8JgZB”,”pageSelector”:”body.single, body.page”,”devices”:[“desktop”],”description”:””,”skip”:3,”title”:”MY LATEST VIDEOS”,”type”:”stickyPlaylist”,”enabled”:true,”footerSelector”:”.site-footer”,”elementSelector”:”.entry-content > *”,”id”:4047214,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:true,”playerId”:”LD3AFr22″},{“playlistId”:”Yen8JgZB”,”pageSelector”:”body.single, body.page”,”devices”:[“mobile”],”mobileLocation”:”bottom-right”,”description”:””,”skip”:3,”title”:”MY LATEST VIDEOS”,”type”:”stickyPlaylist”,”enabled”:true,”footerSelector”:”.site-footer”,”elementSelector”:”.entry-content > *”,”id”:4047215,”position”:”afterend”,”saveVideoCloseState”:false,”shuffle”:true,”playerId”:”LD3AFr22″},{“playlistId”:”Yen8JgZB”,”pageSelector”:””,”devices”:[“desktop”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4047216,”position”:”afterend”,”title”:””,”type”:”sekindo”,”enabled”:false},{“playlistId”:”Yen8JgZB”,”pageSelector”:””,”devices”:[“mobile”],”description”:””,”elementSelector”:””,”skip”:0,”id”:4047217,”position”:”afterend”,”title”:””,”type”:”sekindo”,”enabled”:false}]},”adDensityLayout”:{“mobile”:{“adDensity”:0.2,”onePerViewport”:true},”pageOverrides”:[{“mobile”:{“adDensity”:0.3,”onePerViewport”:false},”pageSelector”:”body.home”,”desktop”:{“adDensity”:0.3,”onePerViewport”:false}},{“mobile”:{“adDensity”:0.26,”onePerViewport”:false},”pageSelector”:”body.search, body.archive”,”desktop”:{“adDensity”:0.26,”onePerViewport”:false}}],”desktop”:{“adDensity”:0.26,”onePerViewport”:false}}};]]> Pretty My Party – A Party Planning Blog 0)&&!(n=r.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return a}function o(){for(var t=[],e=0;et.skip?i.elements[t.skip]:null:null},t.createQueryString=function(t){return Object.keys(t).map((function(e){return e+”=”+t[e]})).join(“&”)},t.createEncodedQueryString=function(t){return Object.keys(t).map((function(e){return e+”=”+encodeURIComponent(t[e])})).join(“&”)},t}(),p=function(t){this.video=t},h=function(e){function i(t){var i=e.call(this)||this;return i._probability=t,i}return function(e,i){function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}(i,e),i.prototype.get=function(){if(this._probability<0||this._probability>1)throw new Error(“Invalid probability”);return Math.random()=e?”desktop”:i>=t?”tablet”:”phone”}(n,o)}return t.prototype.start=function(){var t=this;!function(t){var e=document.body,i=”adthrive-device-“+t;if(!e.classList.contains(i))try{e.classList.add(i)}catch(t){document.createElement(“_”)}}(this._device);var e=this.get().filter((function(e){return t._locationEnabled(e)})).filter((function(e){return t._forDevice(e,t._device)})).filter((function(e){return t._forPage(e)})),i=this.inject(e);this.adthriveCLS.injectedSlots=this.adthriveCLS.injectedSlots.concat(i)},t.prototype.inject=function(t,e){void 0===e&&(e=document);var i=this.targetDensityExperiment.result,n=t.filter((function(t){return i?”Content”!==t.location:t})),r=t.filter((function(t){return i?”Content”===t.location:null}));return o(n.length?this._injectNonDensitySlots(n,e):[],r.length?this._injectDensitySlots(r,e):[])},t.prototype._injectNonDensitySlots=function(t,e){var n,r,a=this;void 0===e&&(e=document);var s=[],c=[];try{for(var d=i(t),u=d.next();!u.done;u=d.next()){var p=u.value,h=0,y=0,f=0;p.spacing>0&&(y=h=window.innerHeight*p.spacing);var m=this._repeatDynamicAds(p),v=this.getElements(p.elementSelector,e);p.skip;for(var _=p.skip;_m.length);_+=p.every){var g=v[_];if(h>0){var S=l(g).bottom;if(S<=y)continue;y=S+h}var P=_1&&(h=0);for(var b=function(){var t=m[f],i=t.location+"_"+t.sequence;if(s.some((function(t){return t.name===i})))return f+=1,"continue";var n=C.getDynamicElementId(t),r="adthrive-"+p.location.replace("_","-").toLowerCase(),a=o([r,r+"-"+p.sequence],p.classNames),l=C.addAd(g,n,p.position,a);if(l){var d=C.filterAdUnitSizes(t,l);if(d.length){var u={clsDynamicAd:p,dynamicAd:t,element:l,sizes:d,name:i,infinite:e!==document};s.push(u),c.push({location:t.location,element:l}),"Recipe"===p.location&&++C._recipeCount,f+=1}g=l}},C=this;P>0;P–)b()}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}return c.forEach((function(t){var e=t.location;t.element.style.minHeight=a.locationToMinHeight[e]})),s},t.prototype._injectDensitySlots=function(t,e){var n,a,l=this;void 0===e&&(e=document);try{this._calculateMainContentHeightAndAllElements(t)}catch(t){return[]}this._densityDevice=”desktop”===this._device?r.Desktop:r.Mobile;var s=[],c=this._getDensitySettings(),d=c.adDensity,u=c.onePerViewport,p=this._getTargetDensityUnits(d),h=this._getCombinedMax(t),y=Math.min.apply(Math,o([this._totalAvailableElements,p],h>0?[h]:[]));if(!y)return[];var f=0,m=0;this._pubLog={onePerViewport:u,targetDensity:d,targetDensityUnits:p,combinedMax:h};var v=function(t){var i=_.getElements(t.elementSelector,e),n=_._getInsertEvery(y,u);_._logDensityInfo(i,t.elementSelector,n);var o=function(i){var o,r,a=null;o=l._attemptInsertion({dynamicAd:t,element:i,insertNext:m,onePerViewport:u,contentInsertedThisPage:f,target:e,insertEvery:n}),m=o.insertNext,r=o.slot,a=o.adElement,r&&a&&(s.push(r),++f,a.style.minHeight=l.locationToMinHeight[t.location])};t.skip;for(var r=t.skip;r=_._mainContentHeight&&_._totalAvailableElements>1)){if(!(fi?window.innerHeight:i},t.prototype._getDensitySettings=function(){var t=this.adthriveCLS.siteAds.adDensityLayout,e=this._determineOverrides(t.pageOverrides);return e.length?e[0]:t[this._densityDevice]},t.prototype._determineOverrides=function(t){var e=this;return t.filter((function(t){var e=d(t.pageSelector);return””===t.pageSelector||e.elements&&e.elements.length})).map((function(t){return t[e._densityDevice]}))},t.prototype._getTargetDensityUnits=function(t){return Math.floor(t*this._mainContentHeight/(1-t)/this._minDivHeight)-this._recipeCount},t.prototype._getCombinedMax=function(t){return t.map((function(t){return t.max+(t.lazyMaxDefaulted?0:t.lazyMax)})).sort((function(t,e){return e-t}))[0]},t.prototype._logDensityInfo=function(t,e,i){var n=this._pubLog,o=n.onePerViewport,r=n.targetDensity,a=n.targetDensityUnits,l=n.combinedMax;this._totalAvailableElements,this.adthriveCLS.targetDensityLog={onePerViewport:o,combinedMax:l,targetDensityUnits:a,targetDensityPercentage:r,mainContentHeight:this._mainContentHeight,recipeCount:this._recipeCount,numberOfEls:t.length}},t.prototype._attemptInsertion=function(t){var i,n=t.dynamicAd,o=t.element,r=t.insertNext,a=t.onePerViewport,l=t.contentInsertedThisPage,s=t.target,c=t.insertEvery,d=null,u=null;if(this._isElementSpacedCorrectly(o,r,a,n)){var p=e(e({},n),{sequence:this._totalContentInserted+1,lazy:n.lazy&&l>=Math.max(n.min,n.max)});d=(i=this._addContentAd(o,n,p,s,c)).insertedSlot,r=i.insertNext,u=i.adElement}return{insertNext:r,slot:d,adElement:u}},t.prototype._isElementSpacedCorrectly=function(t,e,i,n){var o=”beforebegin”===n.position||”beforeend”===n.position,r=this._isElementFarEnough(i,t,e,n),a=this._isElementNotInRow(t,o);return r&&a},t.prototype._isElementFarEnough=function(t,e,i,n){var o=l(e);return(“beforebegin”===n.position||”afterbegin”===n.position?o.top:o.bottom)>i},t.prototype._isElementNotInRow=function(t,e){var i=t.previousElementSibling,n=t.nextElementSibling,o=e?!i&&n||i&&t.tagName!==i.tagName?n:i:n;return!o||t.getBoundingClientRect().top!==o.getBoundingClientRect().top},t.prototype._calculateMainContentHeightAndAllElements=function(t){var e=this._setMainContentAndElements(t),i=e.mainContentDiv,n=e.firstContentDiv;this._mainContentDiv=i,this._firstContentDiv=n;var o=this._mainContentDiv.querySelector(“div #comments, section .comments”);this._mainContentHeight=o?this._mainContentDiv.offsetHeight-o.offsetHeight:this._mainContentDiv.offsetHeight},t.prototype._setMainContentAndElements=function(t){var e=this._getPotentialElements(t);if(0===e.length)throw Error(“No Main Content Elements Found”);return{mainContentDiv:Array.from(e).reduce((function(t,e){return e.offsetHeight>t.offsetHeight?e:t}))||document.body,firstContentDiv:Array.from(e).reduce((function(t,e){return l(e).topt.offsetHeight?e:t}));return e&&e.offsetHeight>1.5*window.innerHeight?e:null},t.prototype._getSelectors=function(t){return t.indexOf(“,”)>-1?t.split(“,”):[t]},t.prototype._addContentAd=function(t,e,i,n,o){void 0===n&&(n=document);var r=null,a=”adthrive-“+e.location.replace(“_”,”-“).toLowerCase(),l=a+”-“+e.sequence,s=this.addAd(t,this.getDynamicElementId(i),i.position,[a,l,”adthrive-density-calculation”]),c=this._getNextInsertPosition(i.position,s,o);if(s){var d=this.filterAdUnitSizes(i,s);if(d.length)r={clsDynamicAd:e,dynamicAd:i,element:s,sizes:d,name:i.location+”_”+i.sequence,infinite:n!==document},++this._totalContentInserted}return{insertedSlot:r,insertNext:c,adElement:s}},t.prototype._getNextInsertPosition=function(t,e,i){var n=e.getBoundingClientRect(),o=window.pageYOffset;return this._infPageEndOffset&&e.offsetTop Source

Leave a Reply

Your email address will not be published. Required fields are marked *