PageSourceSearch

https://www.slowrobot.com/wp-content/plugins/outrigger/scripts/ven…ed_intermediate_header.v1.js?ver=1780938231

js slowrobot.com collected 2026-09-26 14:04:24 UTC 420,903 bytes, 1 lines download raw bytes

1!function(){var t,i,n={3928:function(){var e=function(){},t=!1;const i=_WF.utils.isTesting("anc_ab","double",!0)&&window.innerWidth>=1480;function n(){return!(_WF.utils.isMobile()&&_WF.utils.isTesting("ftmobdelay_ab"))}var r=function(){return!0===_WF.cache.getItem(_WF.KEYS.DISABLEANCHOREDAD)};function o(e){return function(){_WF.utils.addClass(e,"mover")}}function a(){var e=document.querySelector("#page-2")||(document.getElementById("post-content-script")||{}).previousElementSibling,t=0;e&&!n()&&(t=e.getBoundingClientRect().bottom+e.getBoundingClientRect().height);return t}function s(i,s,c,l,u){_WF.utils.setTimeout((function(){var n;l.addEventListener("click",(n=u,function(){t||"anchory2"===n.id&&_WF.utils.isTesting("anc_ab","both",!0)?n.style.top=-n.offsetHeight+"px":n.style.bottom=-n.offsetHeight+"px",_WF.cache.setItem(_WF.KEYS.DISABLEANCREFRESH,!0),_WF.once("anchored-P1",e)})),i.addEventListener("mousedown",o(c)),i.addEventListener("mouseover",o(c)),i.addEventListener("mouseout",function(e){return function(){_WF.utils.removeClass(e,"mover")}}(c))}),5e3),n()||_WF.utils.addScrollListener((function(){if(r())return d(!1),!0;var e=_WF.utils.getWindowScrollYPosition();return _WF.utils.isTesting("splayout_ab","delayscroll",!0)&&e<100?void 0:e>a()?(d(!0),!0):void 0}))}function c(e){e&&_WF.utils.addClass(e,"show-me")}function l(e){e&&_WF.utils.removeClass(e,"show-me")}function u(e,t){var i,n=document.getElementById(t),r=n.querySelector(".anchored-inner"),o=r.querySelector(".close-anchored"),a=r.querySelector(".attribution");r&&(i=r.querySelector(".topbar")),e?(c(n),c(r),c(i),_WF.utils.isTesting("mobilelayout_ab","v3",!0)||c(o),c(a)):(l(n),l(r),l(i),l(o),l(a))}function d(e){try{u(e,"anchory"),_WF.utils.isTesting("anc_ab","both",!0)&&u(e,"anchory2")}catch(e){}_WF.emit(_WF.EVENTS.ANCREADY,e)}var _=function(e,t,r,o,s){var l=new MutationObserver((function(){var t=e.querySelector("#anchored-P1 iframe"),r=e.querySelector(".attribution");t&&(s.w=t.offsetWidth,s.h=t.offsetHeight),!s.attributionExists&&r&&(_WF.utils.removeClass(document.getElementById("anchored-P1-wrapper"),"atr-prespacing"),(i||_WF.utils.isTesting("anc_ab","both",!0))&&_WF.utils.removeClass(document.getElementById("anchored-P2-wrapper"),"atr-prespacing"),s.attributionExists=!0),s.attributionExists&&!s.attributionDone&&n()&&(c(r),s.attributionDone=!0),!s.horizontalLocationSet&&function(e,t){var i=!1,n=window.scrollY||window.pageYOffset||0,r=a();return e&&e.offsetWidth>1&&e.offsetHeight>1&&n>=r&&t.w===e.offsetWidth&&t.h===e.offsetHeight&&(i=!0),i}
1(t,s)&&(!function(e,t){var i=t.offsetWidth;320===i||728===i||50===t.offsetHeight?_WF.utils.addClass(e,"h-center"):160===i?_WF.utils.addClass(e,"h-left"):_WF.utils.addClass(e,"h-right");var n=i+2,r=document.documentElement.clientWidth||window.innerWidth;n>r&&(n=r),_WF.utils.setStyles(e,{width:n+"px","max-width":r+"px"})}(e,t),s.horizontalLocationSet=!0),s.attributionExists&&s.attributionDone&&s.horizontalLocationSet&&l.disconnect()}));l.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})};function p(e,i,r,o,a,l){var u;n()&&(c(e),u=e,t||"anchory2"===u.id&&_WF.utils.isTesting("anc_ab","both",!0)?u.style.top=0:u.style.bottom=0,c(i),c(o),c(a)),s(i,0,o,a,e),_(i,r,o,a,l)}function m(){!function(){var e=_WF.utils.isMobile()&&(_WF.utils.isTesting("gonetap_ab")||_WF.utils.isTesting("identity_ab","onetap",!0)&&!_WF.utils.isTesting("identity_ab","bottomanc",!0)),n=_WF.utils.isMobile()&&_WF.utils.isTesting("identity_ab","onetap",!0)&&_WF.utils.isTesting("identity_ab","bottomanc",!0);t=_WF.utils.isTesting("anc_ab","top",!0)||e;var o=window.innerWidth>=970?970:window.innerWidth>=768?768:320,a=_WF.utils.isDesktop()?90:50;const s=_WF.utils.isTesting("mobilelayout_ab","noancattr",!0);let c=s?a:a+28,l=s?".anchored-inner .attribution { display: none; }":"";_WF.utils.isTesting("mobilelayout_ab","noancx",!0)&&(l+=".anchored-inner .topbar { display: none; }");let u=i?"inline-block":"block";!t&&!_WF.utils.isTesting("anc_ab","both",!0)||_WF.utils.isMobile()||(o+=20,c+=10),i&&((o=(window.innerWidth-20)/2)<730?o=730:o>760&&(o=760));var _=[".anchored-inner { min-height:"+c+"px; }",".anchored-ad-widget .topbar{ transition: all 0.3s linear; top: -3px; right: 25px; visibility: hidden; position: absolute; color: #ccc; font-size: 20px; font-family: sans-serif; z-index: "+(n?1e3:2147483646)+"; }",".anchored-inner { border: #ccc 1px solid; position: relative; text-align: center; visibility: hidden; width: 100% !important; }",".anchored-ad-widget .mover{ visibility: visible; opacity: 1; transition: opacity 0.3s linear; color: #ccc; font-size: 20px; font-family: sans-serif; background-color: #2d3436; }",".anchored-ad-widget .topbar .close-anchored { cursor: pointer; position: absolute; visibility: hidden; }",".show-me { visibility: visible !important; }",".anchored-ad-widget { position: fixed; z-index: "+(n?1e3:2147483646)+"; width: 100%; visibility: hidden; }",".anchored-ad-widget .attribution { margin: 7px; }",".h-left { left : 2px; }",".h-right { right : 2px; }",".h-center { text-align: center; }","#anchored-P1-wrapper, #anchored-P2-wrapper {margin: auto; max-width: 100%; height: 100%; display:"+u+"; }","#anchored-P1-wrapper #anchored-P1, #anchored-P2-wrapper #anchored-P2 { display:"+u+"; width: "+o+"px; min-height: "+a+"px; max-width: 100%; margin: 0 auto; position: relative; text-align: center; }","#anchored-P1 .attribution { visibility: hidden; }",".atr-prespacing { padding-top: 27px }",l],p=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID));if(7!==p||_WF.utils.isTesting("desktop_spl_ab","sticky",!0)||_WF.utils.isTesting("clear_ads_ab","narrowanc",!0)||_.push(".anchored-ad-widget { border: #ccc 3px solid; border-top: 0px; }"),_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("desktop_spl_ab","sticky",!0)&&!i||48==p||52==p||_WF.utils.isTesting("clear_ads_ab","narrowanc",!0)&&!i){const e=t||_WF.utils.isTesting("anc_ab","both",!0)?991:971;_.push(".anchored-ad-widget { margin-left: 50%; max-width: "+e+"px !important; transform: translateX(-50%); }")}t||_WF.utils.isTesting("anc_ab","both",!0)?(_.push(".anchored-ad-widget { background-color: rgba(255, 255, 255, 0.75); }"),t?_.push("#anchory { top: 0px; }"):(_.push("#anchory { bottom: 0px; }"),_.push("#anchory2 { top: 0px; }")),_WF.utils.isMobile()||_.push("#anchored-P1-wrapper #anchored-P1, #anchored-P2-wrapper #anchored-P2 { padding: 0 10px 10px; }")):_.push(".anchored-ad-widget { background-color: #FFFFFF; bottom: 0px; padding-bottom: 2px; }"),_WF.utils.isTesting("anc_ab","both",!0)&&_.push("#anchored-P2-wrapper { top: 0px; }"),_WF.utils.createDynamicStyleSheet(_.join("\n"));var m=_WF.utils.isTesting("splayout_ab","anc:",!0),g=_WF.cache.getItem(_WF.KEYS.PAGENUMBER),f=m&&0!=g?_WF.utils.createAttributionDiv().outerHTML:"",F=`<div id="anchory" class="anchored-ad-widget">\n                            <div class="anchored-inner">\n                                <div class="topbar">
1\n                                    <span class="close-anchored">&#10006;</span>\n                                </div>\n                                <div id="anchored-P1-wrapper" class="ad-widget-wrapper atr-prespacing">\n                                    ${f}\n                                    <div id="anchored-P1"></div>\n                                </div>`;i&&(F+=`<div id="anchored-P2-wrapper" class="ad-widget-wrapper atr-prespacing">${f}<div id="anchored-P2"></div></div>`),F+="</div></div>",document.body.appendChild(_WF.utils.createElement(F)),_WF.utils.isTesting("anc_ab","both",!0)&&document.body.appendChild(_WF.utils.createElement(F.replaceAll("anchory","anchory2").replaceAll("anchored-P1","anchored-P2"))),_WF.emit(_WF.EVENTS.ANCHORYREADY),_WF.on(_WF.KEYS.DISABLEANCHOREDAD,(function(){if(r())return d(!1),!0}))}();var e=_WF.cache.getItem(_WF.KEYS.PROVIDERS);if("prebidv2"===e.anc1&&!r()){var n=(c=(s=document.getElementById("anchory")).querySelector(".anchored-inner")).querySelector("#anchored-P1"),o=c.querySelector(".topbar"),a=c.querySelector(".close-anchored");p(s,c,n,o,a,{})}if("prebidv2"===e.anc2&&!r()&&_WF.utils.isTesting("anc_ab","both",!0)){var s,c;n=(c=(s=document.getElementById("anchory2")).querySelector(".anchored-inner")).querySelector("#anchored-P2"),o=c.querySelector(".topbar"),a=c.querySelector(".close-anchored");p(s,c,n,o,a,{})}}var g=[_WF.KEYS.PROVIDERS,_WF.EVENTS.PLACEMENTPROVIDERS];function f(e){var t=_WF.cache.getItem(_WF.KEYS.PAGENUMBER),i=e.adUnits.map((function(e){return e.code})).filter((function(e){return"anchored-P1"==e})).length>0;i&&(n()||t>=3)&&d(i)}function F(e){if("anchored-P1"===e.adUnitCode){~["gumgumanc","gumgum","undertone","consumable","seedtag","ogury"].indexOf(e.bidderCode)&&d(!1)}}_WF.utils.isTesting("splayout_ab","anc:",!0)&&0!==_WF.cache.getItem(_WF.KEYS.PAGENUMBER)&&g.push(_WF.EVENTS.DELAYEDANCFIRED),_WF.q.push((function(){_WF.on(...g,(function(){if(_WF.utils.isSlotAssigned("anc1"))if(document.body)m();else{var e=new MutationObserver((function(){document.body&&(m(),e.disconnect())}));e.observe(document.documentElement,{childList:!0})}}))})),window.pbjs=window.pbjs||{},pbjs.que=pbjs.que||[],pbjs.que.push((function(){pbjs.onEvent("auctionInit",f),pbjs.onEvent("bidWon",F)}))},9215:function(){var e=function(e){var t=[/\b(facebookexternalhit)\b/i,/\b(facebookcatalog)\b/i,/\b(chrome-lighthouse)\b/i,/\b(google page speed insights)\b/i,/\b(googlebot)\/(\d+)([\d\.]+)?\b/i,/\b(ahrefsbot)\b/i,/\b(gumgum-bot)\b/i,/\b(yandexbot)\b/i,/\b(pinterestbot)\b/i,/\b(applebot)\b/i,/\b(taboolabot)\b/i,/\b(amazonadbot)\b/i,/\b(adsbot)\b/i,/\b(moatbot)\b/i,/\b(leikibot)\b/i,/\b(claudebot)\b/i,/\b[a-z-]*(bot)\b/i,/\b[a-z-]*(crawler)\b/i,/\b(slurp)\b/i,/\b(bublup)\b/i,/\b(adsbot-tester)\b/i,/\b(adsbot)-google\b/i,/\b(googleweblight)\b/i,/\b(meta-externalagent)\b/i,/\b(google-read-aloud)\b/i,/\b(selfappinfotonative)\b/i,/\b(edge)\/(\d+)([\d\.]+)?\b/i,/\b(edg)\/(\d+)([\d\.]+)?\b/i,/\b(criOS)\/(\d+)([\d\.]+)?\b/i,/\b(fbav)\/(\d+)([\d\.]+)?\b/i,/\b(fbsv)\/(\d+)([\d\.]+)?\b/i,/\b(fban)\b/i,/\b(fbios)\b/i,/\b(fbdv)\/(\d+)([\d\.]+)?\b/i,/\b(trident)\/(\d+)([\d\.]+)?\b/i,/\b(msie)\s(\d+)([\d\.]+)?\b/i,/\b(electron)\/(\d+)([\d\.]+)?\b/i,/\b(snapchatads)\/(\d+)([\d\.]+)?\b/i,/\b(snapchat)\/(\d+)([\d\.]+)?\b/i,/\b(applenews)\/(\d+)([\d\.]+)?\b/i,/\b(news)\/(\d+)([\d\.]+)?\b/i,/\b(pinterest)\b/i,/\b(instagram)\b/i,/\b(twitter)\b/i,/\b(espn)\b/i,/\b(duckduckgo)\b/i,/\b(chrome)\/(\d+)([\d\.]+)?\b/i,/\b(firefox)\/(\d+)([\d\.]+)?\b/i,/\b(safari)\/(\d+)([\d\.]+)?\b/i,/\b(opera)\/(\d+)([\d\.]+)?\b/i,/\b(applewebkit)\/(\d+)([\d\.]+)?\b/i];e=e||navigator.userAgent,_WF.cache.getItem(_WF.KEYS.TESTUSER)&&(e+="; Site Test Bot (AdsBot-Tester)");var i={};return i[_WF.BROWSERINFO.NAME]="unknown",i[_WF.BROWSERINFO.VERSION]=0,_WF.utils.attempt((function(e){for(var n=0;e&&n<t.length;n++){var r=t[n].exec(e);if(r){switch(r=r.splice(1,3),i[_WF.BROWSERINFO.NAME]=r[0]?r[0].toLowerCase():"unknown",i[_WF.BROWSERINFO.VERSION]=parseInt(r[1]||"0",10),i[_WF.BROWSERINFO.NAME]){case"edg":i[_WF.BROWSERINFO.NAME]="edge-c";break;case"trident":i[_WF.BROWSERINFO.NAME]="msie",i[_WF.BROWSERINFO.VERSION]+=4;break;case"fbav":i[_WF.BROWSERINFO.NAME]="facebook";break;case"fbsv":case"fban":case"fbios":case"fbdv":i[_WF.BROWSERINFO.NAME]="facebookios";break;case"CriOS":i[_WF.BROWSERINFO.NAME]="chrome";break;case"chrome-lighthouse":case"google page speed insights":i[_WF.BROWSERINFO.NAME]="page-speed";break;case"pinterest":case"instagram":"ios"===_WF.utils.getDeviceOS(e)&&(i[_WF.BROWSERINFO.NAME]+="ios");break;case"amazonadbot":case"snapchatads":case"adsbot":case"moatbot":case"mediapartners-google":case"googleadsenseinfeed":i[_WF.BROWSERINFO.NAME]="bidder-blacklist";break;case"ahrefsbot":case"yandexbot":case"pinterestbot":case"slurp":case"bublup":case"facebookexternalhit":case"facebookcatalog":case"selfappinfotonative":case"dmbrowser":case"linkedinbot":case"semrush":case"facebookcatalog":case"googleother":case"microsoft-botframework":case"googlebot":case"pingbot":case"applebot":case"taboolabot":case"meta-externalagent":case"leikibot":case"claudebot":case"bot":case"crawler":i[_WF.BROWSERINFO.NAME]="monetization-blacklist"}break}}}),e).exception&&(i[_WF.BROWSERINFO.NAME]="unknown",i[_WF.BROWSERINFO.VERSION]=0),i},t={getBrowserInfo:e,isWebView:function(e){e=e||navigator.userAgent;var t=new RegExp("("+["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(wv|.0.0.0)","Linux; U; Android"].join("|")+")","ig");return!!e.match(t)},isCrawler:function(){var t=_WF.cache.getItem(_WF.BROWSERINFO.NAME);t||(t=e()[_WF.BROWSERINFO.NAME]);
1return{"bidder-blacklist":!0,"page-speed":!0,"google-read-aloud":!0,googleweblight:!0}[t]}};_WF.utils.extend(_WF.utils,t)},369:function(){_WF.on("getStore",(function(e){var t=function(e){var t={},i={},n=function(e){if(null==e||null==e){const e={};window.Error&&Error.captureStackTrace&&Error.captureStackTrace(e,n),_WF.emit(_WF.EVENTS.CONSTANTSKEYUNDEFINED,{type:"key",stackObj:e})}},r=function(i){var n=JSON.stringify([t[i]]);e.setItem(i,n)},o=function(i){for(var n=i instanceof Array?i:[i],r=0;r<n.length;r++){var o=n[r];if(!Object.prototype.hasOwnProperty.call(t,o)&&!e.getItem(o))return!1}return!0},a=function(i,r=null){if(n(i),Object.prototype.hasOwnProperty.call(t,i))return t[i];var o=e.getItem(i);if(o){var a=_WF.utils.parseJSON(o);return Array.isArray(a)?t[i]=a.pop():t[i]=o,t[i]}return r},s=function(e,o){return n(e),t[e]=o,i[e]&&r(e),_WF.emit(e,o),{asPersistent:function(){i[e]=!0,r(e)}}};return{dump:function(){return t},exists:o,contains:o,getItem:a,setItem:s,removeItem:function(i){_WF.utils.attempt((function(){e.removeItem(i),delete t[i]}))},json:{get:function(e){return a(e)},set:function(e,t){s(e,t).asPersistent()}}}}(e());t.contains(_WF.KEYS.STORAGEACTIVE)?t.setItem(_WF.KEYS.STORAGEACTIVE,!0):t.setItem(_WF.KEYS.STORAGEACTIVE,!1),_WF.utils.extend(_WF,{cache:t}),_WF.utils.extend(_WF.utils,{parseJSON:function(e){try{return JSON.parse(e)}catch(e){return{}}},stringifyJSON:function(e){try{return JSON.stringify(e)}catch(e){return""}}})}))},9637:function(){let e={KEYS:{ABBEHAVIORS:"behaviorHashes",ABOVERRIDE:"hmab_debug",ABVERSION:"abversion",ACPM:"a_cpm_map",ADBLOCK:"adblock_status",ADDITIONALFBPIXEL:"additional_fb_pixel",ADSIZEMAP:"ad_size_map",ADUNITCODES:"ad_unit_codes",ADUNITDEFINITIONS:"ad_unit_definitions",ANCWINNER:"anchored_winning_bidder",ANURASTATUS:"anura_status",APSWRAPPER:"aps_wrapper_object",AUCTIONSUMMARY:"prebid_bidder_history",AUCTIONCOMPLETE:"auction_complete",AVAILABLECONTAINERS:"container_filter_map",AVANTISSESSION:"avantisSession",BACKTRACK:"back_track",BADNAV:"welcome_back_i_guess",BD:"is_bD_user",BDDC:"is_bDDC_user",BLACKLSITEDPROVIDERS:"blackisted_providers",BLOGABBREVIATION:"blog_abbr",BLOGID:"blog_id",BLOGNAME:"blog_name",BROWSERHASH:"v_info_hash",BROWSILOADED:"browsi_loaded",BTTL:"ttl_map",BUCKETID:"bucket_id",CACHEEXPIRED:"cache_expired",CALIBRATEDTIMEOUT:"calibrated_timeout",CALIBRATIONCOUNT:"number_of_calibrations",CITYCODE:"cityCode",CLICKFLARECLICKID:"clid",CLICKVERF:"clickverf",CMPCCPARESULT:"cmpccpa_result",CMPEXPIRATION:"cmp_expiration",CMPRESULT:"cmp_result",CODEVERSION:"code_version",COOKIECONSENT:"eu_cookie_consent",COUNTRYCODE:"countryCode",CRASHCHECK:"crash_check",SOOWAITTOINIT:"soo_wait_to_init",DADBLOCK:"adblock_status_v3",DARKMODE:"dark_mode",DELAYEDANC:"delayed_anc",DESKTOP:"desktop",DEVICEHASH:"i_info_hash",DEVICEOS:"device_os",DEVICETYPE:"deviceType",DFPDEPENDENCIES:"dfpdeps",DFPSLOTDEFINITIONS:"dfp_slot_definitions",DFPSLOTS:"dfp_slots",DFPSUBID:"subId_dfp",DISABLEANCHOREDAD:"disable_anc",DISABLEANCREFRESH:"disable_anc_refresh",DISABLEPUIREFRESH:"disable_pui_refresh",DISCOUNTS:"prebid_discounts",DISTINCTVISIT:"is_distinct_visit",DMC:"dmc",DPC:"dpc",DYNAMICPLACEMENTS:"rendered_dynamic_placments",ENABLEALLCONTENT:"enable_all_content",EXPLICIT:"explicit_content",EXTERNALSHARE:"hm_external",FADBLOCK:"fast_adblock_status",FBCLID:"fbclid",FBPIXELHISTORY:"fb_pix_history",FBPURCHASE:"fbq_purchase_tracked",RECONCILEDPLACEMENTS:"reconciled_slots",FLOORCPM:"set_floor_cpm",FLOORGROUP:"set_floor_group",FLOORGROUPS:"set_floor_groups",FORCECMP:"force_cmp",FORCEDABCACHE:"force_ab_cache",FORCEHTTP:"forcehttp",FORCEHTTPS:"forcehttps",GABID:"get_a_bid_by_id",GADSOURCE:"gad_source",GBRAID:"gbraid",GCLID:"gclid",GDNCONVERSIONTRACKED:"gdn_conversion_tracked",GDNPURCHASE:"gdn_rps",GEO:"hive_geoloc",GEQINFO:"geq_info",HASUGC:"has_ugc",HEIGHT:"browser_height",IS404:"is_404",IS433INFLUENCER:"is_433_influencer",ISADVERTORIAL:"is_advertorial",ISAFFILIATE:"is_affiliate",ISAFFILIATEQUIZ:"is_affiliate_quiz",ISAFFILIATESPL:"is_affiliate_spl",ISAJAXPOST:"is_ajax_post",ISATTACHMENT:"is_attachment",ISAUTHORPAGE:"is_author_page",ISCATEGORYPAGE:"is_category_page",ISDEV:"is_dev",ISDYNAMICCONTENT:"is_dynamic_content",ISFBLAYOUT:"is_fb_layout",ISGALLERY:"is_gallery",ISINDEX:"is_index",ISINFLUENCER:"is_influencer",ISPAIDEMAILSITE:"is_paid_email_site",ISMACCHROME:"is_mac_chrome",ISMACSAFARI:"is_mac_safari",ISMSNMEDIUM:"is_msn_medium",ISN2S:"is_n2s",ISNARRATIVE:"is_narrative",ISORGANIC:"is_organic",ISPAXASWARMSITE:"is_paxa_swarm_site",ISQUIZ:"is_quiz",ISRSOC:"is_rsoc",ISAFSSEARCH:"is_afs_search",ISSEARCH:"is_search",ISSEARCHSITE:"is_search_site",ISSHOPPERSOURCE:"is_shopper_source",ISSINGLEPAGELAYOUT:"is_single_page_layout",ISSPONSORED:"is_sponsored_page",ISSWARMPOST:"is_swarm_post",ISTIMERA:"is_timera",ISIWSMT:"is_iwsmt",JEUUID:"pi_clickid",LAYOUTFLAGS:"prebid_layout_bitflags",LAZYLOADFIRED:"lazy_load_fired",LAZYLOADPENDINGSLOTS:"lazy_load_pending_slots",LOADERS:"injector_loaders",LOCALE:"locale",LOCALECODE:"locale_code",LOCALIZEDATTRIBUTION:"localized_attribution",
1LOCALIZEDCALLTOACTIONATTRIBUTION:"localized_call_to_action_attribution",LOCALIZEDBEGINSLIDESHOW:"localized_begin_slideshow",LOCALIZEDLOADING:"localized_loading",LOCALIZEDNEXT:"localized_next",LOCALIZEDNEXTUP:"localized_next_up",LOCALIZEDNEXTPAGE:"localized_next_page",LOCALIZEDNEXTPOST:"localized_next_post",LOCALIZEDSCROLLTOSTORY:"localized_scroll_to_slideshow",LOCALIZEDSLIDESHOW:"localized_slideshow",LOCALIZEDSPONSOREDCONTENT:"localized_sponsoredcontent",LOCALIZEDVIEWASSLIDESHOW:"localized_view_as_slideshow",LOCATION:"location_info_json",LOCATIONHASH:"i_info_hash",LOCATIONUPDATED:"location_info_updated",LOGGING:"logging",LOGGINGAPIS:"apis_is_logging",LOGGINGFILTERAPIS:"apis_logging_filter",LOGGINGSETTINGSAPIS:"apis_logging_settings",LOGGINGSTYLESAPIS:"apis_logging_styles",LPTWINNER:"landing_page_winner",MABDATA:"mab_data",MARKUP:"prebid_markup_factor",METROCODE:"metroCode",MOBILE:"mobile",MLID:"mlid",NBCLID:"nb_cid",NTVPURCHASE:"ntv_purchase",NETWORKID:"network_id",NEXTPOSTINFO:"next_post_info",NEXTPOSTLINK:"next_post_link",OBPIXELHISTORY:"ob_pixel_history",OFFER:"offer",PAGEELIGIBLE:"page_eligible",PAGENUMBER:"page_number",PAGETOKEN:"page_token",PAGEVERSION:"page_version",PENALTYBOX:"in_penalty_box",PDROVERRIDETBELIGIBLE:"is_eligible_for_pdr_tb",PDROVERRIDETBSTATE:"is_pdr_for_tb",PDRSTATE:"is_pdr_page",PNPURCHASE:"pn_purchase_tracked",POSTABBR:"post_abbr",POSTAUTHOR:"post_author",POSTCATS:"post_categories",POSTHASH:"v_info_hash",POSTID:"post_id",POSTLASTMODIFIEDDATE:"post_last_modified",POSTNAME:"post_name",POSTNUMPAGES:"post_num_pages",POSTPUBLISHDATE:"post_publish_date",POSTTAGS:"post_tags",POSTTAX:"post_tax",POSTTHUMBNAIL:"post_thumbnail",POSTTITLE:"post_title",POSTURL:"post_url",PREBID:"prebid_settings",PREVIOUSPOSTID:"previous_post_id",PROVIDERMAP:"provider_filter_map",PROVIDEROVERRIDES:"provider_overrides",PROVIDERS:"stm_providers",PSTDATEHOUR:"pst_date_hour",PSTHOURBASE24:"pst_hour_base24",QCLID:"qclid",QFPRESULT:"qfpResult",QUERYSTRING:"queryString",QUIZATTEMPTED:"quiz_attempted",QUIZBUCKETRESULTS:"quiz_bucket_results",QUIZCORRECT:"quiz_correct",QUIZTYPE:"quiz_type",RCUUID:"rc_uuid",REFRESHCOUNT:"refresh_count",REGIONCODE:"regionCode",REMARKETING:"session_remarketing_group",REMARKETINGALL:"session_remarketing_group_all",RESETANCHOREDAD:"reset_anc",RPP:"session_rpp",RPS:"session_rps",RSOCKEYWORDS:"rsoc_keywords",RSOCKEYWORDCHANNELID:"rsoc_keyword_channel_id",RSOCADCREATIVEOVERRIDE:"adCreative",RSOCTERMSOVERRIDEQUERYSTRINGKEY:"suggestedTerms",SCCID:"sccid",SEARCHLPURL:"impression_track_url",SEARCHSERPURL:"search_track_url",SEARCHCLICKURL:"click_track_url",SESSIONDEPTH:"session_depth",SESSIONPROTOCOL:"session_start_protocol",SESSIONTOKEN:"session_token",SESSIONTOKENEXPIRATION:"session_token_expiration",SLIDEORDEROPTIMIZATIONMAP:"slide_order_optimization_map",SLOTCONFIG:"provider_filter_slots",SLOTS:"stm_slots",SNADDTOCART:"sn_addtocart_tracked",SNPAGEVIEW:"sn_pageview_tracked",SNPURCHASE:"snap_purchase",SNSIGNUP:"sn_signup_tracked",SOODICEROLL:"soo_dice_roll",SOOSTATUS:"soo_status",SOURCEDEVICE:"source_device",SPLPOSTIDHISTORY:"post_id_history",SPOCONFIG:"spo_config",STICKYSCROLLCONFIG:"sticky_scroll_config",STORAGEACTIVE:"hasStorage",SUBID:"subId",SUBIDHASH:"subId_sha1",SUBIDRAW:"subId_raw",SUBIDSHORT:"subId_short",SWARMPOSTID:"swarm_post_id",SWARMSLIDEID:"swarm_slide_id",TABLET:"tablet",TAGMAN:"tagman_context",TAGMAN_PREFIX:"ab_active:",TASTATUS:"ta_status",TBCLID:"tblci",TBLASTRPSTRACKED:"tb_last_rps_tracked",TBPIXELHISTORY:"tb_pix_history",TESTING:{REFRESHDELAYOVERRIDE:"testing_refresh_delay_override"},TESTUSER:"test_user",THEMEURL:"theme_url",THEMENAME:"theme_name",TIMESTAMP:"page_time",TKPURCHASE:"tk_pixel_tracked",TOKENBUCKETRESULTS:"token_bucket_results",TOKENS:"tokens",TTCLID:"ttclid",TWCLID:"twclid",TWPURCHASE:"tw_pixel_tracked",UAHASH:"i_info_hash",UNSAFE:"monetization-blacklist",UTMCAMPAIGN:"utm_campaign",UTMCONTENT:"utm_content",UTMEXPIRATION:"utm_expiration",UTMMEDIUM:"utm_medium",UTMPLACEMENT:"utm_placement",UTMRESET:"utm_campaign_reset",UTMSOURCE:"utm_source",UTMTERM:"utm_term",UTM_CPC:"utm_cpc",UUID:"uuid",VERIFYALLOCATION:"allocation_tool",VIEWALL:"view-all",VISIBLESLOTS:"visible-slots",WBRAID:"wbraid",WIDTH:"browser_width",WOSTATUS:"wo_status",YAPIXELHISTORY:"ya_pixel_history",ZIPCODE:"zipCode",ZMPURCHASE:"zm_pixel_tracked"},EVENTS:{AB:"ab_info_ready",AFFILIATECONVERSION:"affiliate_conversion",ALLDFPSLOTSRENDERED:"dfp_all_slots_rendered",ANCREADY:"anch
1ored _is_ready",ANCHORYREADY:"anchory_ready",AYLOADED:"ay_loaded",AUCTIONEND:"prebid_auction_end",AUCTIONSTART:"prebid_auction_start",BADQUERY:"bad_gam_querystring",BEFOREUNLOAD:"before_unload",BEGINREFRESHAUCTION:"begin_refresh_auction",CONSENTLOADED:"cmp_loaded",CONSTANTSKEYUNDEFINED:"constant_key_undefined",CONTAINERPROVIDERS:"stm_providers_container",CONTENTREADY:"content_ready",DATACOLLECTION:"data_collection_complete",DATACOLLECTIONREADY:"data_collection_ready",DELAYEDANCFIRED:"delayed_anc_fired",DFPFIRSTLOAD:"dfp_first_load",DFPFIRSTRENDER:"dfp_first_render",DFPFIRSTVIEW:"dfp_first_view",DFPLOADED:"dfp_loaded_event",DFPRENDERED:"dfp_rendered_event",DFPTARGETING:"dfp_targeting_ready",DOCUMENTCOMPLETE:"document_complete_event",DOMCONTENTLOADED:"dom_content_ready",DYNAMICCONTENTREADY:"dynamic_content_ready",ESMEBOOT:"esme_boot",FIREDEFERREDCARBINIT:"fire_defered_carb_init",FIRSTSCROLL:"first_scroll",FOOTERREADY:"footer_ready_event",FOOTERSTART:"footer_start",IIQLOADED:"intent_iq_loaded",INFITESCROLLRENDERCONTENT:"infinite_scroll_rendered_content",LIFTIGNITER:"liftigniter_ready_event",LOADERSREADY:"injector_loaders_ready_event",NOGAMP:"no_gamp",MAB:"mab_info_ready",NAVLINKSUPDATED:"nav_links_updated",PAGEVIEW:"page_is_changed_yo",PAGEVISIBLE:"page_is_visible_yo",PDROVERRIDEREADY:"pdr_override_ready",PHOTOCONTROLSREADY:"photo_controls_ready",PLACEMENTPROVIDERS:"stm_providers_placement",PREBIDINITIALIZED:"prebid_initialized",PREBIDLOADED:"prebid_loaded",PUTVIEWABLE:"put_viewable",READMORECLICK:"read_more_click",RESETREFRESHTIMER:"reset_refresh_timer",RETENTIONLOADED:"retention_loaded",RSOCCONVERSION:"rsoc_conversion",SETUP:"setup_complete",SHOWEMULATEDHIDDENCONTENT:"show_emulated_hidden_content",SLIDEADDED:"slide_added",QUIZANSWERED:"quiz_answered",QUIZATTEMPTED:"quiz_attempted"},GLOBALS:{ABTESTCOUNT:6,BUCKETIDPATTERN:/\d+-\d{6}/,GUIDPATTERN:/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i},IIQ_RS:2.5,IFRAMEBUSTERBIDDERS:["amazon-GumGum","amazon-Triplelift","amazon-Triplelift-Paxa","amazon-Sharethrough","gumgum","kargo","sharethrough","teads","seedtag","ogury"],ANCESCAPERS:["amazon-GumGum","amazon-Sharethrough","amazon-Triplelift","amazon-Triplelift-Paxa","amazon-Triplelift-Reaction","gumgum","kargo","ogury","seedtag","sharethrough","teads","triplelift"],ANCBREAKERS:{triplelift:1,tripleliftdisplay:1,sharethrough:1,teads:1},DURATION:{SESSION:"session",SINGLEPAGE:"singlepage"},LOGLEVEL:{BB:16,GLOBAL:1,PREBID:2,TAGMAN:4,GALLERY:32,PREMAPPING:8,FOOTER:64,PREBIDVERBOSE:128},BROWSERINFO:{NAME:"browserinfo_name",VERSION:"browserinfo_version"},EUCOUNTRYCODELIST:["at","be","bg","ch","cy","cz","de","dk","ee","el","es","fi","fr","gb","gr","hr","hu","ie","it","lt","lu","lv","mt","nl","pl","pt","ro","se","si","sk","uk"],MANAGEDPRIVACYG
1EOS:{CCPA:{REGION_CODE:["ca","co","ct","va"],COUNTRY_CODE:["us"]},GDPR:{COUNTRY_CODE:["at","be","bg","br","ch","cy","cz","de","dk","ee","el","es","fi","fr","gb","gr","hr","hu","ie","it","lt","lu","lv","mt","nl","pl","pt","ro","se","si","sk","uk"]}},ADDITIONALREMARKETINGROUPS:{A5c:["D_4_6cALL","D_4_6_10cALL"],D4c:["D_4_6cALL","D_4_6_10cALL"],D6c:["D_4_6cALL","D_4_6_10cALL"],A10c:["D_4_6_10cALL","D_10_20cALL"],D10c:["D_4_6_10cALL","D_10_20cALL"],D20c:["D_10_20cALL"]},INFLUENCERSOURCEMETADATAMAP:{},SINGLEPAGEBASELAYOUTSOURCES:[],SINGLEPAGELITELAYOUTSOURCES:[],SINGLEPAGEPLUSLAYOUTSOURCES:[],SINGLEPAGEPLUSFRIENDLYLAYOUTSOURCES:[],SOCIALLITESOURCES:[],SINGLEPAGEBLOGLIST:[13,17,20,29,33,34,35],blogMinGranularity:{9:.05,"*":.01},GEOLIST:{METRO:{},REGION:{},COUNTRY:{UA:!0},ZIPCODE:{99999:!0,"00001":!0}},MESSAGEMAP:{overlay_status:{name:"overlay_status",fields:["overlaydetected","biddername","subbidder","advalue","adunit","refreshauction","prebidversion","usertoken","sessiontoken","sessiondepth","subidraw","sitename","browsername","devicetype","pstdatehour","geolocation","utmcampaign","utmmedium","utmsource","utmcontent","bucketid","site_ad_overlay","site_source_overlay"],destinations:2,messageVersion:"1"},pbjs_blacklist:{name:"pbjs_blacklist",fields:["site","bidder","condition","subid","sessiondepth","sessiontoken","fingerprint","devicetype","browser","useragentstring"],destinations:2,messageVersion:"1"},hive_benchmark_5:{name:"hive_benchmark",fields:["sitename","eventname","timedelta","bucketid","utmsource","postid","posttype","pagenumber","pagetoken","devicetype","browser","useragent","connectiontype","numberofcores","sessiontoken","connectioneffectivetype","connectiondownlink","connectiondownlinkmax","connectionrtt","connectionsavedata","metricvalue"],destinations:2,messageVersion:"5"},hive_reconciliation:{name:"hive_reconciliation",fields:["comparing","meta1","meta2","meta3","meta4","meta5","meta6","meta7","meta8","meta9","meta10","meta11"],destinations:2,messageVersion:"1"}},eventSkipList:[{class:{pattern:"prebiderror",flags:"ig"},event:{pattern:"Server.call.for.*?failed",flags:"ig"}}],APSMAP:{paxa:3997,reaction:5071,hive:3475},apis_config:{report_configs:{auth_hash:"801d027309b0f931b1c155dc9f844a295cd51a2b",ads_config:["post_url","utm_source","utm_campaign","adblock_status","winners"],typo_config:["post_url","swarm_post_id","swarm_slide_id"],image_config:["post_url","swarm_post_id","swarm_slide_id"],other_config:["post_url","utm_source","bucket_id","ab_active"]},slack_configs:{ads_channel:"C03CK2E0BJ9",typo_channel:"C03CK2E0BJ9",image_channel:"C03CK2E0BJ9",other_channel:"C03CK2E0BJ9",dev_channel:"G03CMUATYR0"},snippets_config:{mobile_spl_source:"ft",desktop_spl_source:"fz",mobile_paginated_source:"tb",desktop_paginated_source:"tb"}},USSTATENAMES:{AL:"Alabama",AK:"Alaska",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District of Columbia",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PA:"Pennsylvania",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"}};function t(e){return e&&"object"==typeof e&&!Array.isArray(e)}e.GLOBALS.DEFAULTBUCKETSTRING=new Array(e.GLOBALS.ABTESTCOUNT+1).join("0"),_WF=function e(i,...n){if(!n.length)return i;const r=n.shift();if(t(i)&&t(r))for(const n in r)t(r[n])?(i[n]||Object.assign(i,{[n]:{}}),e(i[n],r[n])):Object.assign(i,{[n]:r[n]});return e(i,...n)}(e,_WF)},7772:function(){var e=function(e){return function(){for(var t=[],i=0;i<arguments.length;i++)t.push(arguments[i]);return!e.apply(null,t)}},t=function(e,t,i){var n=e[t];if(Array.isArray(n)&&n.filter((function(e){return e.when&&e.when.tag===i})).length>0)return!0;return n===i};_WF.on(_WF.KEYS.SLOTS,_WF.KEYS.PROVIDERS,(function(i,n){var r=_WF.utils.getLogger("containerFilter",_WF.LOGLEVEL.PREMAPPING),o=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID)),a=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER)),s=function(e,t,i,n){if(_WF.utils.meetsCriteria(i,n)){var o=[];t.forEach((function(e){o.push(e),delete c[e]}
1)),r("blacklist: [ "+o.join(", ")+" ], reason: "+e)}return t},c=n.base,l=Object.keys(c).filter((function(e){return!/pix|analytics|fbheaderbutton/.test(e)})),u=Object.keys(c).filter((function(e){return/pix|analytics|fbheaderbutton/.test(e)}));s("no pixels for crawlers!",u,_WF.BROWSERINFO.NAME,_WF.utils.isCrawler),s("!dynamic placment, !timera, !is_testing (mmdiy_spl_ab, spl/infinite)",["pop2"],_WF.KEYS.DYNAMICPLACEMENTS,!_WF.cache.getItem(_WF.KEYS.ISTIMERA)&&e(_WF.conditionals.contains("pop2"))&&!_WF.utils.isTesting("mmdiy_spl_ab","spl",!0)&&!_WF.utils.isTesting("mmdiy_spl_ab","infinite",!0)),s("!dynamic placment, !timera, !is_testing (mmdiy_spl_ab, spl/infinite)",["pop3"],_WF.KEYS.DYNAMICPLACEMENTS,!_WF.cache.getItem(_WF.KEYS.ISTIMERA)&&e(_WF.conditionals.contains("pop3"))&&!_WF.utils.isTesting("mmdiy_spl_ab","spl",!0)&&!_WF.utils.isTesting("mmdiy_spl_ab","infinite",!0)),s("!dynamic placment",["poi"],_WF.KEYS.DYNAMICPLACEMENTS,e(_WF.conditionals.contains("poi"))),s("!dynamic placmenet, !quiz, !mobile",["pui0"],_WF.KEYS.DYNAMICPLACEMENTS,(function(e){return-1===e.indexOf("pui0")&&!_WF.utils.isQuizPost()&&!_WF.utils.isMobile()})),s("paxa swarm layout",["pp1","pp2","pp3","pp4","pp5"],_WF.KEYS.ISSWARMPOST,(function(){return _WF.cache.getItem(_WF.KEYS.ISSWARMPOST)})),s("ineligible after first spl page",["pui0","put"],_WF.KEYS.PAGENUMBER,(function(){return a>1&&_WF.utils.isEligibleForSinglePageLayout()})),s("!extended mobile layout, !ajax layout, !quiz/mobile, !LK (pot_ab, mobilelayout_ab, snlayout_ab)",["pot"],_WF.KEYS.UTMSOURCE,(function(e){return!_WF.utils.isDebugging("pot",!0)&&!_WF.utils.isTesting("pot_ab")&&(!_WF.utils.isEligibleForExtendedMobileLayout()&&!_WF.utils.isAJAXDesktop()&&(!_WF.utils.isQuizPost()||!_WF.utils.isDesktop())&&"lk"!==e||_WF.utils.isTesting("mobilelayout_ab","nopot",!0)||_WF.utils.isTesting("snlayout_ab"))})),s("extended mobile layout (snlayout_ab)",["pun"],_WF.KEYS.DEVICETYPE,(function(){_WF.utils.isEligibleForExtendedMobileLayout()&&_WF.utils.isTesting("snlayout_ab")})),s("extended mobile layout, quiz (!mobilelayout_ab,newerLayout), !mobile (mobillayout_ab, snlayout_ab)",["put"],_WF.KEYS.POSTTAGS,(function(){return _WF.utils.isEligibleForExtendedMobileLayout()&&!_WF.utils.isTesting("mobilelayout_ab","nopot",!0)&&!_WF.utils.isTesting("snlayout_ab")||_WF.utils.isQuizPost()&&!_WF.utils.isMobile()&&!_WF.utils.isTesting("quizlayout_ab","newerLayout")})),s("(mobilelayout_ab:v3)",["pot","put","poi","pun","sp2","multi_n
1ativo","multi_avantis"],_WF.KEYS.TAGMAN_PREFIX+"mobilelayout_ab",(function(){return _WF.utils.isTesting("mobilelayout_ab","v3",!0)})),s("(mobilelayout_ab:v3)",["pon"],_WF.KEYS.TAGMAN_PREFIX+"mobilelayout_ab",(function(){return _WF.utils.isTesting("mobilelayout_ab","v3",!0)&&!_WF.utils.isTesting("mobilelayout_ab","v6",!0)})),s("p1, (mobilelayout_ab:v3)",["pui0","sp1"],_WF.KEYS.TAGMAN_PREFIX+"mobilelayout_ab",(function(){return _WF.utils.isTesting("mobilelayout_ab","v3",!0)&&1===a&&!_WF.utils.isTesting("mobilelayout_ab","v6",!0)})),s("p<10, (mobilelayout_ab:v3)",["sp3"],_WF.KEYS.TAGMAN_PREFIX+"mobilelayout_ab",(function(){return _WF.utils.isTesting("mobilelayout_ab","v3",!0)&&a<10})),s("quizlayout_ab,newerLayout",["multi_avantis"],_WF.KEYS.TAGMAN_PREFIX+"quizlayout_ab",(function(){return _WF.utils.isTesting("quizlayout_ab","newerLayout")})),s("ineligible on ajax desktop layout",["sp3","sp4","sp5","qp1","qp2","qp3","qp4","qp5","tp1","poh2","pop2","pop3"],_WF.KEYS.POSTTAGS,_WF.utils.isAJAXDesktop),s("ineligible on slide posts",["pop2","pop3","poh2","poi","pui0"],_WF.KEYS.POSTTAGS,_WF.utils.isSlidePost),s("!quiz (ajaxgallery_ab:enabled)",["lp1","qp1","qp2","sp5"],_WF.KEYS.POSTTAGS,(function(){return"none"!==_WF.utils.abState("aja
1xgallery_ab","none")&&!_WF.utils.isQuizPost()})),s("ineligible on mobile organic unless quiz",["poi","anc1"],_WF.KEYS.POSTTAGS,(function(){return!_WF.utils.isQuizPost()&&_WF.utils.isMobile()&&_WF.utils.isOrganic()})),s("!quiz (ajaxgallery_ab:nopon)",["pon"],_WF.KEYS.POSTTAGS,(function(){return"nopon"===_WF.utils.abState("ajaxgallery_ab","none")&&!_WF.utils.isQuizPost()})),s("!decoist, !facebook/tablet (dc_m_gallery_ab, dc_article_ab), !quiz mobile",["pui1","pui2","pui3","pui4"],_WF.KEYS.POSTTAGS,(function(){var e=!(_WF.utils.isTablet()&&_WF.utils.isFacebookSource()||_WF.utils.isTesting("dc_m_gallery_ab","treatmentD")||_WF.utils.isEligibleForSinglePageLayout()),t=!("48"===o&&_WF.utils.isTesting("dc_article_ab")||_WF.utils.isTablet()&&_WF.utils.isFacebookSource()),i=_WF.utils.isQuizPost()&&_WF.utils.isMobile();return e&&t&&!i})),s("ineligible on quiz post",["sp5","qp1","qp2","qp4","qp5","pop2"],_WF.KEYS.POSTTAGS,_WF.utils.isQuizPost),s("ineligible on quiz/mobile (quizlayout_ab)",["poi"],_WF.KEYS.POSTTAGS,(function(){return _WF.utils.isQuizPost()&&(!_WF.utils.isDesktop()||_WF.utils.isDesktop()&&!_WF.utils.isTesting("quizlayout_ab","newLayout",!0))})),s("ineligible on quiz (quiz_ab)",["poh1","poh2","poh3","poh4"],_WF.KEYS.POSTTAGS,(function(){return _WF.utils.isQuizPost()&&!_WF.utils.isTesting("quiz_AB")})),s("ineligible on quiz (ipupm_ab)",l,_WF.KEYS.POSTTAGS,(function(){let e=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("ipupm_ab","disable",1));return _WF.utils.isQuizPost()&&_WF.utils.isTesting("ipupm_ab","disable",!0)&&e>0&&a>=e}));const d=_WF.utils.isMobile()?["pon","pui0"]:["lp1","pon","sp2"],_=l.filter((function(e){return-1===d.indexOf(e)}));s("ineligible on quiz (ipupm_ab)",_,_WF.KEYS.POSTTAGS,(function(){let e=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("ipupm_ab","reduce",1));return _WF.utils.isQuizPost()&&_WF.utils.isTesting("ipupm_ab","reduce",!0)&&e>0&&a>=e}));var p=1280,m=1440;_WF.utils.isDesktop()&&(_WF.utils.isEligibleForSinglePageLayout()||52==o)&&(m=1280),48==o&&(_WF.utils.isTesting("dc_rail_layout_ab")?(p=1440,m=1280):(p=1920,m=1920)),s("below max-width threshold",["qp1","qp2","qp3","qp4","qp5"],_WF.KEYS.WIDTH,_WF.conditionals.lessThan(p)),s("below width threshold",["lp1","lp2","lp3","lp4","lp5"],_WF.KEYS.WIDTH,_WF.conditionals.lessThan(m)),s("index adunits",["ilt","ilb","ip1","ip2","ip3","is1","is2","is3"],_WF.KEYS.PAGENUMBER,_WF.conditionals.greaterThan(0)),s("desktop/tablet adunits",["sp6","qp1","qp2","qp3","qp4","qp5","pop3","is1","is2","is3","lp1","lp2","lp3","lp4","lp5"],_WF.KEYS.DEVICETYPE,["mobile"]),s("no other ads on PDR",l.filter((function(e){return"pdr"!==e})),_WF.KEYS.PDRSTATE,[!0]),s("no ads on sponsored content",l,_WF.KEYS.ISSPONSORED,[!0]),s("no ads on advertorials",l,_WF.KEYS.ISADVERTORIAL,_WF.utils.isAdvertorial),s("no other ads on rsoc",l.filter((function(e){return"porm"!==e&&"purm"!==e&&-1==e.indexOf("rsoc")&&-1==e.indexOf("whiteops")})),_WF.KEYS.ISRSOC,_WF.utils.isRsocPost),s("no other pixels on rsoc",u.filter((function(e){return-1==e.indexOf("rsoc")&&-1==e.indexOf("retention")&&-1==e.indexOf("whiteops")&&-1==e.indexOf("birdrock_awi")})),_WF.KEYS.ISRSOC,_WF.utils.isRsocPost),s("decoist - odds and ends (dc_m_gallery_ab, dc_d_gallery_ab)",l.filter((function(e){var t=48===o&&"lbt"!==e&&"lbb"!==e&&"multi_pinterest_share"!==e;return _WF.utils.isTesting("dc_m_gallery_ab","treatmentD")&&(t=t&&"pui1"!==e&&"pui2"!==e&&"pui3"!==e&&"pui4"!==e),_WF.utils.isTesting("dc_d_gallery_ab","treatmentC")&&(t=t&&"qp1"!==e&&"lp1"!==e),_WF.utils.isTesting("anc_ab")&&(t=t&&"anc1"!==e),t})),_WF.KEYS.ISATTACHMENT,[!0]),s("decoist, !attachment page",["lbb"],_WF.KEYS.ISATTACHMENT,(function(e){return 48===o&&!1===e})),s("decoist, paid email layout",["pon, pun, puh, pui, pui1, pui2, pui3, pui4, sp1, sp2, sp3, sp4"],_WF.KEYS.UTMSOURCE,(function(e){var t=_WF.PAIDEMAILSOURCES||[];return 48===o&&t.includes(e)})),s("p1, ease in source",l.filter((function(e){return"sp1"!==e&&"sp3"!==e})),_WF.KEYS.UTMSOURCE,(function(e){return-1!==(_WF.EASEINSOURCES||[]).indexOf(e)&&1===a&&!_WF.utils.isEligibleForSinglePageLayout()})),s("p1, PN",l.filter((function(e){return"sp1"!==e&&"sp3"!==e&&"pui0"!==e&&"pun"!==e})),_WF.KEYS.UTMSOURCE,(function(e){return"pn"===e&&1===a})),s("p>1, CT",l.filter((function(e){return"pon"!==e&&"sp1"!==e&&"sp3"!==e})),_WF.KEYS.UTMSOURCE,(function(e){return"ct"===e&&a>1})),s("desktop TW (twlayout_ab)",["pon","qp1","qp2","sp2","sp4","sp5","tp1"],_WF.KEYS.UTMSOURCE,(function(e){return _WF.utils.isTesting("twlayout_ab")?"tw"===e&&_WF.utils.isDesktop()&&a<5&&!_WF.utils.isEligibleForSinglePageLayout():"tw"===e&&_WF.utils.isDesktop()&&!_WF.utils.isEligibleForSinglePageLayout()})),s("p1 desktop TW",["sp1","sp3"],_WF.KEYS.UTMSOURCE,(function(e){return"tw"===e&&_WF.utils.isDesktop()&&1===a&&!_WF.utils.isEligibleForSinglePageLayout()})),s("mobile TW/TD (twlayout_ab:enabled)",["poh2","pon2","pon3","pun"],_WF.KEYS.UTMSOURCE,(function(e){return _WF.utils.isTesting("twlayout_ab")?"tw"===e&&(!_WF.utils.isDesktop()||a>=5||_WF.utils.isEligibleForSinglePageLayout()):("td"===e||"tw"===e)&&(!_WF.utils.isDesktop()||_WF.utils.isEligibleForSinglePageLayout())})),s("desktop TD",["pon","qp1","qp2","sp2","sp3","sp4","tp1"],_WF.KEYS.UTMSOURCE,(function(e){return"td"===e&&_WF.utils.isDesktop()&&!_WF.utils.isEligibleForSinglePageLayout()})),s("p<5, desktop TD",["sp1"],_WF.KEYS.UTMSOURCE,(function(e){return"td"===e&&_WF.utils.isDesktop()&&a<5&&!_WF.utils.isEligibleForSinglePageLayout()})),s("p>4, desktop TD",["pun"],_WF.KEYS.UTMSOURCE,(function(e){return"td"===e&&_WF.utils.isDesktop()&&a>=5&&!_WF.utils.isEligibleForSinglePageLayout()})),s("spl lazy loading (splayout_ab:lazy)",["lbb","pon","tp1","tp2","tp3","tp4","tp5"],_WF.KEYS.UTMSOURCE,(function(e){return _WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("splayout_ab","lazy",!0)})),s("spl lazy loading (splayout_ab:lazy)",["sp0","sp1","sp2","sp3","sp4","sp5"],_WF.KEYS.UTMSOURCE,(function(e){return _WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("splayout_ab","lazy",!0)&&_WF.utils.isMobile()}
1)),s("default source",l.filter((function(e){return"pon"!==e&&"sp1"!==e})),_WF.KEYS.UTMSOURCE,_WF.utils.isDefaultUtm),s("p<3, social lite layout",l,_WF.KEYS.PAGENUMBER,(function(){return a<3&&_WF.utils.isSocialLiteLayoutSource()})),s("mobile/tablet (ftmobdelay_ab:enabled)",["put","pot","pui0"],_WF.KEYS.UTMSOURCE,(function(){return!_WF.utils.isDesktop()&&_WF.utils.isTesting("ftmobdelay_ab")})),s("desktop, lite spl (ftmobdelay_ab:enabled)",["anc1","lp1","lp2","lp3","sp3","sp5"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("ftmobdelay_ab")})),s("tablet spl",["sp2","sp4","sp5"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isTablet()&&_WF.utils.isEligibleForSinglePageLayout()})),s("desktop spl",["put","pot"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()})),s("desktop spl (desktop_spl_ab:disabled)",["anc1","lp1","lp2","sp3","sp5"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()&&!_WF.utils.isTesting("desktop_spl_ab")&&!_WF.utils.isPaidEmailSite()})),s("desktop spl + !desktop_spl_ab:sticky",["lp2","lp3"],_WF.KEYS.ISSINGLEPAGELAYOUT,(function(){return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()&&!_WF.utils.isTesting("desktop_spl_ab","sticky",!0)&&!_WF.utils.isSPLSite()})),s("desktop spl + window width",["lp2","lp3"],_WF.KEYS.ISSINGLEPAGELAYOUT,(function(){return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("desktop_spl_ab","sticky",!0)&&window.innerWidth<1440})),s("desktop, organic spl",["anc1","sp1"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isDesktop()&&_WF.utils.isSinglePageOrganicSource()&&_WF.utils.isEligibleForSinglePageLayout()})),s("organic, mobile/paginated, non-timera, (!quizlayout_ab:newLayout,newerLayout)",["anc1","lp1"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isOrganic()&&!(_WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout())&&!_WF.utils.isTesting("quizlayout_ab","newerLayout")&&!_WF.utils.isTesting("quizlayout_ab","newLayout",!0)&&!_WF.cache.getItem(_WF.KEYS.ISTIMERA)})),s("desktop, spl, no legal disclaimer",["sp2"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()&&!t(c,"sp2","legal_disclaimer_widget")&&!(t(c,"sp2","prebidv2")&&_WF.utils.isTesting("desktoplayout_ab","sprotate",!0))})),s("spl",["multi_avantis"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isEligibleForSinglePageLayout()})),s("spl (splayout_ab:!nativo)",["multi_nativo"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isEligibleForSinglePageLayout()&&!_WF.utils.isTesting("splayout_ab","nativo",!0)})),s("snap, spl, mobile",["put","pui0","pun"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isSnapSource()&&_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isMobile()})),s("spl base layout",["lp1"],_WF.KEYS.UTMSOURCE,(function(){return _WF.utils.isSinglePageBaseLayoutSource()})),s("spl, spl+, K3",["put","pot"],_WF.KEYS.UTMSOURCE,(function(e){return"k3"===e&&_WF.utils.isSinglePagePlusLayoutSource()&&_WF.utils.isEligibleForSinglePageLayout()})),s("browsi (browsi_ab:enabled)",l.filter((function(e){return e.indexOf("poh")>-1})),_WF.KEYS.TAGMAN_PREFIX+"browsi_ab",(function(){return _WF.utils.isTesting("browsi_ab")||_WF.utils.isDebugging("browsi")})),s("iwsmt not swarm",l.filter((function(e){return e.indexOf("poh")>-1})),_WF.KEYS.ISSWARMPOST,(function(e){return 68==o&&!e})),s("iwsmt is swarm",["lbb","lp1","lp2","sp1","sp3","sp6","pop"],_WF.KEYS.ISSWARMPOST,(function(e){return 68==o&&e})),_WF.where.testing("snlayout_ab",(function(){s("(snlayout_ab:!none)",["sp2","sp3","tp1","multi_nativo","multi_avantis"],_WF.KEYS.TAGMAN_PREFIX+"snlayout_ab",(function(e){return"none"!==e}))})),_WF.where.testing("teads_inread_ab",(function(){s("(teads_inread_ab:!none)",["anc1"],_WF.KEYS.TAGMAN_PREFIX+"teads_inread_ab",(function(e){return"none"!==e}))})),_WF.on(_WF.KEYS.TAGMAN_PREFIX+"putpoi_ab",(function(e){s("(putpoi_ab:poi)",["put"],_WF.KEYS.TAGMAN_PREFIX+"putpoi_ab",(function(){return"poi"===e})),s("desktop, (putpoi_ab:poi)",["poi"],_WF.KEYS.TAGMAN_PREFIX+"putpoi_ab",(function(){return"poi"!==e&&_WF.utils.isDesktop()}))})),_WF.where.testing("nativopre_ab",(function(){s("nativopre (nativopre_ab)",["pon"],_WF.KEYS.TAGMAN_PREFIX+"nativopre_ab",(function(e){return"nativopre"===e}))}));var g=Object.keys(c).filter((function(e){var t=c[e];if(Array.isArray(t)&&t.filter((function(e){return e.when&&"prebidv2"===e.when.tag})).length>0)return!0;return"prebidv2"===t}));_WF.where.testing("intermarkets_ab",(function(){s("desktop, !quiz, !facebook, !influencer (intermarkets_ab)",g,_WF.KEYS.TAGMAN_PREFIX+"intermarkets_ab",(function(){return!(_WF.utils.isMobile()||_WF.utils.isQuizPost()||_WF.utils.isFacebookSource()||_WF.utils.isInfluencerSource())}))})),_WF.utils.isDebugging("intermarkets")&&s("desktop, !quiz, !facebook, !influencer (debug:intermarkets_ab)",g,_WF.KEYS.TAGMAN_PREFIX+"intermarkets_ab",(function(){return!(_WF.utils.isMobile()||_WF.utils.isQuizPost()||_WF.utils.isFacebookSource()||_WF.utils.isInfluencerSource())})),_WF.where.testing("puinative_ab",(function(e){s("(puinative_ab:noqp)",7===o?["qp1"]:["qp2"],_WF.KEYS.TAGMAN_PREFIX+"puinative_ab",(function(){return e.indexOf("noqp")>-1}))}
1)),_WF.where.testing("taboolavideowidget_ab",(function(){s("!facebook, !influencer (taboolavideowidget_ab)",["anc1","tp1"],_WF.KEYS.TAGMAN_PREFIX+"taboolavideowidget_ab",(function(){return!_WF.utils.isFacebookSource()&&!_WF.utils.isInfluencerSource()}))})),_WF.utils.isDebugging("taboola_video_widget")&&s("!facebook, !influencer (debug:taboolavideowidget_ab)",["anc1","tp1"],_WF.KEYS.TAGMAN_PREFIX+"taboolavideowidget_ab",(function(){return!_WF.utils.isFacebookSource()&&!_WF.utils.isInfluencerSource()})),_WF.on(_WF.KEYS.TAGMAN_PREFIX+"putsp5_ab",(function(e){!_WF.utils.isMobile()||_WF.utils.isQuizPost()||_WF.utils.isEligibleForSinglePageLayout()||(s("mobile paginated, !quiz (putsp5_ab:put, pot)",["put","pot"],_WF.KEYS.TAGMAN_PREFIX+"putsp5_ab",(function(){return"sp5"===e})),s("mobile paginated, !quiz (putsp5_ab:sp5)",["sp5"],_WF.KEYS.TAGMAN_PREFIX+"putsp5_ab",(function(){return"sp5"!==e})))})),_WF.on(_WF.KEYS.TAGMAN_PREFIX+"sp2sp4_ab",(function(e){s("(sp2sp4_ab:sp2)",["sp2"],_WF.KEYS.TAGMAN_PREFIX+"sp2sp4_ab",(function(){return"sp4"===e})),s("(sp2sp4_ab:sp4)",["sp4"],_WF.KEYS.TAGMAN_PREFIX+"sp2sp4_ab",(function(){return"sp4"!==e}))})),_WF.on(_WF.KEYS.TAGMAN_PREFIX+"sp2sp0_ab",(function(e){s("(sp2sp0_ab:sp2)",["sp2"],_WF.KEYS.TAGMAN_PREFIX+"sp2sp0_ab",(function(){return"sp0"===e})),s("(sp2sp0_ab:sp0)",["sp0"],_WF.KEYS.TAGMAN_PREFIX+"sp2sp0_ab",(function(){return"sp0"!==e}))})),s("mobile paginated facebook",["poh1"],_WF.KEYS.DEVICETYPE,(function(){return _WF.utils.isFacebookSource()&&!_WF.utils.isDesktop()&&!_WF.utils.isEligibleForSinglePageLayout()})),_WF.where.testing("fbpoh_ab",(function(){s("!spl (fbpoh_ab)",["poh1"],_WF.KEYS.TAGMAN_PREFIX+"fbpoh_ab",(function(){return!_WF.utils.isEligibleForSinglePageLayout()}))}),"none"),_WF.on(_WF.KEYS.TAGMAN_PREFIX+"qptp_ab",(function(e){var t=["qp2"];7===o&&(t=["qp1"]),s("(qptp_ab:enabled)",t,_WF.KEYS.TAGMAN_PREFIX+"qptp_ab",(function(){return _WF.utils.isTesting("qptp_ab")})),s("(qptp_ab:disabled)",["tp2"],_WF.KEYS.TAGMAN_PREFIX+"qptp_ab",(function(){return!_WF.utils.isTesting("qptp_ab")}))})),_WF.where.testing("start_slideshow_ab",(function(e){var t=["pon","sp1","sp3"],i=Object.keys(c).filter((function(e){var i=~e.indexOf("multi"),n=~t.indexOf(e);return!i&&!n}));s("p1, slideshow, !view-all (start_slideshow_ab)",i,_WF.KEYS.PAGENUMBER,(function(){var e="view-all"in(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}),t=1===a,i=_WF.cache.getItem(_WF.KEYS.POSTID),n=_WF.cache.json.get("slidePostInfo");return _WF.utils.isSlideshow()&&t&&n!==i&&!e}))}),"v2"),_WF.where.testing("start_slideshow_ab",(function(e){s("p1, slideshow, !view-all (start_slideshow_ab)",["poi","pui0"],_WF.KEYS.PAGENUMBER,(function(){var e="view-all"in(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}),t=1===a,i=_WF.cache.getItem(_WF.KEYS.POSTID),n=_WF.cache.json.get("slidePostInfo");return _WF.utils.isSlideshow()&&_WF.utils.isMobile()&&t&&n!==i&&!e}))}),"v1"),_WF.where.testing("ielimited_ab",(function(e){var t=e.split(" "),i=Object.keys(c).filter((function(e){var i=~e.indexOf("multi"),n=~t.indexOf(e);return!i&&!n}));s("!multi, !eligible (ielimited_ab)",i,_WF.KEYS.PAGENUMBER,(function(){return!0}))})),_WF.where.testing("quiz_AB",(function(e){s("quiz (quiz_AB)",["pot","put","pui1","lp1"],_WF.KEYS.PAGENUMBER,(function(){return _WF.utils.isQuizPost()&&_WF.utils.isTesting("quiz_AB")})),s("mobile/tablet quiz (quiz_AB)",["sp1","sp2","sp3","sp4","sp5"],_WF.KEYS.PAGENUMBER,(function(){return _WF.utils.isQuizPost()&&_WF.utils.isTesting("quiz_AB")&&(_WF.utils.isMobile()||_WF.utils.isTablet())})),s("mobile quiz (quiz_AB)",["tp1"],_WF.KEYS.PAGENUMBER,(function(){return _WF.utils.isQuizPost()&&_WF.utils.isTesting("quiz_AB")&&_WF.utils.isMobile()}))}));var f=!0;_WF.where.testing("wideleader_ab",(function(){s("(wideleader_ab:none)",["lbb","lbt"],_WF.KEYS.PAGENUMBER,(function(){return!0}))}),"none",f),_WF.where.testing("wideleader_ab",(function(e){var t=[];-1===e.indexOf("header")&&t.push("lbt"),-1===e.indexOf("footer")&&t.push("lbb"),s("(wideleader_ab:-header,-footer)",t,_WF.KEYS.PAGENUMBER,(function(){return!0}))})),_WF.where.testing("wideleader_ab",(function(){s("(wideleader_ab:-put)",["put"],_WF.KEYS.PAGENUMBER,(function(){return!0}))}),"-put",f),_WF.where.testing("wideleader_ab",(function(){s("(wideleader_ab:-pot)",["pot"],_WF.KEYS.PAGENUMBER,(function(){return!0}))}),"-pot",f),_WF.emit(_WF.EVENTS.CONTAINERPROVIDERS)}))},2258:function(){function e(e){const t=e.length;for(let i=0;i<t;i++)e[i]()}const t=_WF.q;_WF.q={push:function(t){e([t])}},t&&t.length&&e(t)},9542:function(){var e=/iPhone/i,t=/iPod/i,i=/iPad/i,n=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,r=/Android/i,o=/(?=.*\bAndroid\b)(?=.*\bSD4930UR\b)/i,a=/(?=.*\bAndroid\b)(?=.*\b(?:KFOT|KFTT|KFJWI|KFJWA|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|KFARWI|KFASWI|KFSAWI|KFSAWA)\b)/i,s=/IEMobile/i,c=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,l=/Windows/i,u=/Mac/i,d=/X11/i,_=/Linux/i,p=/BlackBerry/i,m=/BB10/i,g=/PlayBook/i,f=/Opera Mini/i,F=/(CriOS|Chrome)(?=.*\bMobile\b)/i,h=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,E=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)i"),W=function(e,t){return e.test(t)},S=function(l){var u,d,_,S=function(l){var u=l||navigator.userAgent,d=u.split("[FBAN");if(void 0!==d[1]&&(u=d[0]),this.apple={phone:W(e,u),ipod:W(t,u),tablet:!W(e,u)&&W(i,u),device:W(e,u)||W(t,u)||W(i,u)},this.amazon={phone:W(o,u),tablet:!W(o,u)&&W(a,u),device:W(o,u)||W(a,u)},this.android={phone:W(o,u)||W(n,u),tablet:!W(o,u)&&!W(n,u)&&(W(a,u)||W(r,u)),device:W(o,u)||W(a,u)||W(n,u)||W(r,u)}
1,this.windows={phone:W(s,u),tablet:W(c,u),device:W(s,u)||W(c,u)},this.other={blackberry:W(p,u),blackberry10:W(m,u),blackberryPlaybook:W(g,u),opera:W(f,u),firefox:W(h,u),chrome:W(F,u),device:W(p,u)||W(m,u)||W(f,u)||W(h,u)||W(F,u)||W(g,u)},this.seven_inch=W(E,u),this.any=this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch,this.phone=this.apple.phone||this.android.phone||this.windows.phone,this.tablet=this.apple.tablet||this.android.tablet||this.windows.tablet,"undefined"==typeof window)return this};(d=new S(l)).Class=S,u=d;try{_=u?!0===u.phone?_WF.KEYS.MOBILE:!0===u.tablet||!0===u.seven_inch?_WF.KEYS.TABLET:!0===u.any?"othermobile":_WF.KEYS.DESKTOP:"unknown"}catch(e){_="err"}finally{return _}},b={getDeviceType:function(){var e=S();return window.innerWidth<768?e=_WF.KEYS.MOBILE:window.innerWidth>=768&&window.innerWidth<=1024&&(e=_WF.KEYS.TABLET),e},getActualDevice:S,getDeviceOS:function(n){var o=n||navigator.userAgent,a="other";try{W(e,o)||W(t,o)||W(i,o)?a="ios":W(r,o)?a="android":W(l,o)||W(s,o)?a="windows":W(u,o)?a="macos":W(d,o)?a="unix":W(_,o)&&(a="linux")}catch(e){a="err"}finally{return a}}};_WF.utils.extend(_WF.utils,b)},302:function(){var e=function(t){if(null==t||null==t){const t={};window.Error&&Error.captureStackTrace&&Error.captureStackTrace(t,e),_WF.emit(_WF.EVENTS.CONSTANTSKEYUNDEFINED,{type:"event",stackObj:t})}};_WF.utils.extend(_WF.utils,{attempt:function(e,t){for(var i=[],n=1;n<arguments.length;n++)i.push(arguments[n]);var r={};try{r.value=e.apply(this,i)}catch(e){!t&&_WF.utils.log&&_WF.utils.log("attempt exception> ",e),r.exception=e.message}return r}});var t,i,n,r,o,a=(t={},i=function(e,i){if(Object.prototype.hasOwnProperty.call(e,"value")){for(var n=e.subscribers,r=e.value,o=[];n.length;){var a=n.shift();"function"==typeof a&&o.push(a)}e.removeOnComplete&&delete t[i],o.forEach((function(e){!function(e,t){_WF.utils.attempt((function(){e(t)}),!1)}(e,r)}))}},n=function(e){t[e]||(t[e]={});var i=t[e];return i.subscribers||(i.subscribers=[]),i},o=function(e){return function(){for(var t=[],i=arguments.length,n=0;n<i;n++)t.push(arguments[n]);var r=t.pop(),o={expectedLength:t.length,handler:r,keys:t,list:{},pending:!0};t.forEach((function(t){e(t,function(e,t){return function(i){if(t.list[e]=i,t.pending&&Object.keys(t.list).length===t.expectedLength){t.pending=!1;var n=t.keys.map((function(e){return t.list[e]}));t.handler.apply(null,n)}}}(t,o))}))}},{on:o(r=function(t,r){e(t);var o=n(t);o.subscribers.push(r),i(o,t)}),sub:r,pub:function(t,r){e(t);var o=n(t);o.value=r,i(o,t)},once:o((function(t,r){e(t);var o=n(t);o.removeOnComplete=!0,o.subscribers.push(r),i(o,t)}))}),s={on:a.on,emit:a.pub,once:a.once};_WF.utils.extend(_WF,s)},2409:function(){var e;_WF.vigil.watch(_WF.vigil.events.render,(e={},function(t){e[t.auctionId]=e[t.auctionId]||[],_WF.winners=_WF.winners||{};var i=e[t.auctionId],n=!!t.originalAdUnitCode&&t.originalAdUnitCode,r=!!t.isThawed,o=t.sourceBidder||"",a={slot:t.adUnitCode,name:t.bidderCode,cpm:t.cpm||0,creative:t.ad,auctionId:t.auctionId,creativeId:t.creativeId,isCached:r,sourceadunit:n,sourceBidder:o};i.push(a),_WF.cache.json.set("winning_bid_info",i),_WF.winners[t.adUnitCode]=a}))},6616:function(){!function(){var e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID)}();var e=function(){let e=_WF.utils.abState("spo_ab","control"),t=_WF.cache.getItem(_WF.KEYS.SPOCONFIG)||{},i=_WF.utils.getSpoConfigKey(),n=t.configKey==i&&t.status;return n?"error"==n&&(e+="_error"):e+="_noconfig",e},t=function(){_WF.cache.getItem(_WF.BROWSERINFO.NAME),_WF.cache.getItem(_WF.KEYS.DEVICETYPE),_WF.cache.getItem(_WF.KEYS.UUID),document.location.protocol,this.id,_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH),_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN),_WF.cache.getItem(_WF.KEYS.BLOGNAME),_WF.cache.getItem(_WF.KEYS.SUBIDRAW),this.start,navigator.userAgent.
1substr(0,255),_WF.cache.getItem(_WF.KEYS.UTMSOURCE),_WF.utils.getPageToken(),_WF.emit(_WF.EVENTS.AUCTIONSTART)},i=function(){_WF.emit(_WF.EVENTS.AUCTIONEND)},n=function(t){if(t.bids){var i=this;t.bids.forEach((function(t){t.bidder,_WF.cache.getItem(_WF.BROWSERINFO.NAME),_WF.cache.getItem(_WF.KEYS.DEVICETYPE),_WF.cache.getItem(_WF.KEYS.UUID),t.adUnitCode,i.id,_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH),_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN),_WF.cache.getItem(_WF.KEYS.BLOGNAME),_WF.cache.getItem(_WF.KEYS.SUBIDRAW),e(),t.sizes.map((e=>e&&e[0]+"x"+e[1])).join(",")}))}},r=function(t,i){const n={name:t,payload:{adId:i.adId,biddercode:i.bidder,browser:_WF.cache.getItem(_WF.BROWSERINFO.NAME),cpm:i.cpm||0,devicetype:_WF.cache.getItem(_WF.KEYS.DEVICETYPE),fingerprint:_WF.cache.getItem(_WF.KEYS.UUID),placement:i.adUnitCode,requestid:i.auctionId,sessiondepth:_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH)||-1,sessiontoken:_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN),sitename:_WF.cache.getItem(_WF.KEYS.BLOGNAME),subid:_WF.cache.getItem(_WF.KEYS.SUBIDRAW),timestamp:i.requestTimestamp,timetorespond:i.timeToRespond,spostatus:e(),size:i.size}};"pbjs_bid_response"===t&&(n.payload.bid=JSON.stringify(i))},o=function(e){this.end?function(e){r("pbjs_bid_timeout",e)}(e):function(e){r("pbjs_bid_response",e)}(e)};_WF.utils.getBucketFromToken(.01,0,_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN))&&(_WF.vigil.watch(_WF.vigil.events.request,n),_WF.vigil.watch(_WF.vigil.events.response,o)),_WF.vigil.watch(_WF.vigil.events.start,t),_WF.vigil.watch(_WF.vigil.events.end,i)},2416:function(){var e,t,i=(e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID),function(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var r=[Date.now()-e];t("freezer",r.concat(i))}),n=function(){_WF.utils.gsc([],"purge b")},r=function(e){var t=_WF.utils.gsc().slice(),n=t.reduce((function(t,i,n){return e.adId===i.adId?n:t}),-1);n>-1&&t.splice(n,1),_WF.utils.gsc(t,"remove b"),i("clean",e.adId)},o=function(e){return function(t){if(!t.isThawed){var n=_WF.utils.gsc().slice();t.ttl=t.ttl||e[t.bidder]||20,t.expiry=t.responseTimestamp+1e3*(t.ttl||0),_WF.utils.isPrebidTesting()||function(e){e.adserverTargeting=e.adserverTargeting||{};var t={hb_adid:e.adserverTargeting.hb_adid||e.adId,hb_pb:e.adserverTargeting.hb_pb||e.pbCg};Object.assign(e.adserverTargeting,t)}(t),n.push(t),i("freezing",t.adUnitCode,t.bidder,t.cpm,t.adId),_WF.utils.gsc(n,"set b")}}},a=function(e){var t=_WF.utils.gsc();!function(e,t){i("frozen",t.length);var n=e.id;t.forEach((function(e){e.auctionId=n,delete e.status,e.isThawed=!0})),_WF.utils.gsc(t,"process b")}(e,t);var n=t.reduce((function(e,t){return e[t.adUnitCode]=e[t.adUnitCode]||t,t.cpm>e[t.adUnitCode].cpm&&(e[t.adUnitCode]=t),e}),{});i("thawed",Object.keys(n).map((function(e){var t=n[e];return[t.adUnitCode,t.bidder,t.cpm,t.adId]}))),e.freezer=t.reduce((function(e,t){return e[t.adUnitCode]=e[t.adUnitCode]||[],e[t.adUnitCode].push(t),e}),{}),e.pbjsAuction.addBidReceived(t)};_WF.on(_WF.KEYS.PREBID,_WF.EVENTS.SETUP,(function(e){"enabled"===_WF.utils.abState("bttl_ab")?i("break (bttl_ab running)",[]):function(e){var t=function(e){return e.live.reduce((function(e,t){return e[t.name]=t.ttlSeconds||0,e}),{})}(e);_WF.vigil.watch(_WF.vigil.events.response,o(t)),_WF.vigil.watch(_WF.vigil.events.won,r),_WF.utils.isOrganic()&&_WF.vigil.watch(_WF.vigil.events.start,n),_WF.utils.isPrebidTesting()||(i("start thaw(prebid_ab disabled)",[]),_WF.vigil.watch(_WF.vigil.events.start,a))}(e)}))},4112:function(){var e,t,i=(e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID),function(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var r=[Date.now()-e];t("refresh",r.concat(i))}),n=function(){i("auction "+this.id+" complete",this),i("trigger prebid refresh"),pbjs.processing=!1,pbjs.refreshing=!1,_WF.emit(_WF.EVENTS.ALLDFPSLOTSRENDERED)};_WF.vigil.watch(_WF.vigil.events.complete,n)},9589:function(){var e,t,i=(e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID),function(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var r=[Date.now()-e];t("reporter",r.concat(i))});_WF.vigil.watch(_WF.vigil.events.render,(function(e){_WF.utils.sendAuctionReconciliation(e,i),_WF.emit("pbjs_impression_"+e.adUnitCode,Object.assign(e,{isunfilled:e.isUnfilled,winner:e.isWinner,isCached:e.isThawed,impId:e.adId+":"+e.auctionId}))}))},946:function(){var e,t,i=(e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID),function(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var r=[Date.now()-e];t("revenue",r.concat(i))}),n=function(e,t){var i=Math.pow(10,t);return Math.round(e*i)/i},r=function(){var e=this,t=0;Object.keys(e.outcome).forEach((function(i){var n=e.outcome[i];t+=n.value/1e3}));var r=function(e){var t=_WF.cache.getItem(_WF.KEYS.RPP)||0,i=n(t
1+e,4);return _WF.cache.setItem(_WF.KEYS.RPP,i),i}(t),o=function(e){var t=_WF.cache.getItem(_WF.KEYS.RPS)||0,i=n(t+e,4);return _WF.cache.setItem(_WF.KEYS.RPS,i),i}(t);!function(e,t){var n=_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH);i("counters> [PR, SR, RPP]",e,t,t/n)}(r,o)};_WF.vigil.watch(_WF.vigil.events.complete,r)},4021:function(){var e,t,i=(e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID),function(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var r=[Date.now()-e];t("tracking",r.concat(i))}),n=function(){var e=function(e){return e.rendered.reduce((function(t,i){var n=e.outcome[i];return n.isUnfilled?t.unfilled+=1:n.isWinner?t.hbWins+=1:t.adxWins+=1,t}),{total:e.rendered.length,hbWins:0,adxWins:0,unfilled:0})}(this);i("counters> [total slots, hb wins, adx wins, unfilled]",[e.total,e.hbWins,e.adxWins,e.unfilled])};_WF.vigil.watch(_WF.vigil.events.complete,n)},7621:function(){var e,t,i=(e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID),function(){for(var i=[],n=0;n<arguments.length;n++)i.push(arguments[n]);var r=[Date.now()-e];t("twister",r.concat(i))}),n=function(){return{cpm:0,bidder:"twistplaceholderbidder",adId:"twistplaceholderadid",expiry:Date.now()+1}},r=function(e){var t=function(e){return e.reduce((function(e,t){var i=t.adUnitCode;return e[i]=e[i]||[],e[i].push(t),e}),{})}(e);return Object.keys(t).reduce((function(e,i){var n=t[i];if(n&&n.length){var r=n.reduce((function(e,t){return t.cpm>e.cpm?t:e}));e[i]=r}return e}),{})},o=function e(t,o,a){var s=0;if(Object.keys(o).forEach((function(e){var a=r(t),c=a[e]||n();
1i(e,"current highbid",c.cpm,c.adId,"~"+(Date.now()-c.expiry)+"ms till expiry");var l=Object.keys(o).reduce((function(e,t){var i=a[t];return i&&(e[i.adId]=!0),e}),{}),u=o[e].filter((function(e){return!l[e.adId]&&e.cpm>c.cpm}));if(u.length){i(e,"eligible values",u.map((function(e){return e.cpm})).join(", "));var d=u[0];d.originalAdUnitCode=d.originalAdUnitCode||d.adUnitCode,d.adUnitCode=e,i(e,"twist value",d.cpm,d.adId),i(e,"twist complete",d.originalAdUnitCode)}s+=u.length})),s)e(t,o,a);else{var c=r(t),l=0;Object.keys(o).forEach((function(e){var t,r,o,s=a[e]||n(),u=c[e]||n(),d=(t=u.cpm-s.cpm,r=2,o=Math.pow(10,r),Math.round(t*o)/o);d>0&&(i(e,"gain",d,u.adId),l+=d)})),l>0&&(i("total gain",l),i("results auction vs optimal",a,c))}};_WF.vigil.watch(_WF.vigil.events.end,(function(e){if(e&&e.pbjsAuction&&_WF.utils.isTopiaryEnabled()){var t;i("auction clone",(t=e,JSON.parse(JSON.stringify(t))));var n,a,s,c,l=e.pbjsAuction.getAdUnits(),u=e.pbjsAuction.getBidsReceived(),d=function(e){return e.reduce((function(e,t){var i=t.sizes||(t.mediaTypes&&t.mediaTypes.banner||{sizes:[]}).sizes;return e[t.code]=i.map((function(e){return e[0]+"x"+e[1]})),e}),{})}(l),_=function(e,t){var n={"320x50":"300x250","300x50":"300x250"},r={triplelift:n,sharethrough:n,teads:n,kargo:n};const o=_WF.utils.getPrebidExclusionDivIds();return e.filter((function(e){return e&&-1===e.adUnitCode.indexOf("anchored-P")&&"video"!=e.mediaType&&!o[e.adUnitCode]})).reduce((function(e,n){var o;return o=n.width&&n.height?n.width+"x"+n.height:(t[n.adUnitCode]||["0x0"])[0],r[n.bidder]&&r[n.bidder][o]&&(i("size override",[n.adUnitCode,n.bidder,n.adId,o+"->"+r[n.bidderCode][o]]),o=r[n.bidder][o]),e[o]=e[o]||[],e[o].push(n),e}),{})}(u,d),p=(n=d,a=_,s={triplelift:1,tripleliftdisplay:1,sharethrough:1,teads:1},Object.keys(n).reduce((function(e,t){var i=n[t];return e[t]=e[t]||[],i.forEach((function(i){var n=a[i];n&&n.length&&(0===t.indexOf("anchored-P")&&(n=n.filter((function(e){return!s[e.bidder]}))),e[t]=e[t].concat(n))})),e[t].filter((e=>e)),e}),{})),m=(c=p,Object.keys(c).forEach((function(e){c[e].sort((function(e,t){return t.cpm-e.cpm||e.expiry-t.expiry}))})),c),g=r(u);o(u,m,g),i("all twists complete",u)}else i("skip twister",e)}))},6578:function(){var e,t=_WF.utils.getLogger("gallery",_WF.LOGLEVEL.GALLERY),i=!1;if(!document.querySelector(".gallery-image")){var n=document.createElement("img");n.setAttribute("class",".gallery-image"),n.setAttribute("alt","");var r=document.querySelector(".gallery-slide-image");r&&r.appendChild(n)}_WF.utils.isAJAXPost()&&_WF.utils.createDynamicStyleSheet(" @media screen and (min-width: 1280px) { .single .site-content { margin: 63px 12px 128px 187px !important; } #lefternary { display: block !important; } #quaternary { display: none !important; } }","screen and (min-width: 1280px)");var o=function(e){t("displayGalleryPage> displaying pageNumber "+e);var n=document.querySelector(".gallery-description");n&&(n.innerHTML=_WF.postContent.description);var r=document.querySelector(".gallery-slide-header");r&&_WF.postContent.pages[e].h2&&(r.innerHTML=_WF.postContent.pages[e].h2);var o=document.querySelector(".gallery-image");if(o){o.setAttribute("src",_WF.postContent.pages[e].img),o.setAttribute("alt",_WF.postContent.pages[e].imgalt),o.onload=function(){var e=document.querySelector(".gallery-slide-wrapper"),t=document.querySelector(".gallery-navigation");_WF.utils.setStyles(e,{height:o.offsetHeight+t.offsetHeight+22+"px"})};var c=_WF.utils.parseInt(e)+1;if(_WF.postContent.pages[c]){var l=new Image;l.src=_WF.postContent.pages[c].img,c++,_WF.postContent.pages[c]&&((l=new Image).src=_WF.postContent.pages[c].img)}}var u=document.querySelector(".gallery-slide-image");u&&_WF.utils.setStyles(u,{display:"block"});var d=document.querySelector(".gallery-slide-text");d&&(d.innerHTML=_WF.postContent.pages[e].text);var _=document.querySelector(".gallery-page-info");_&&(_.innerHTML=e+" OF "+(_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES)-1));var p=document.querySelector(".overlay.current");p&&(p.className=p.className.replace(" current",""));var m=document.querySelector("div[data-pageNumber='"+e+"'] .overlay");m&&(m.className+=" current"),i||a(),s(!1)}
1,a=function(){if(E()){if(!_WF.utils.isMobile()){c();var e=_WF.gallery.currentPageNumber;_(e,"right"),_(e,"left"),p(e,"header-next-button"),p(e,"next-button")}}else t("updateNavLinks> skipping for viewall/pdr/quiz/no AB test set")},s=function(e){var t=document.querySelector(".gallery-slide-text"),i=document.querySelector(".gallery-image"),n=document.querySelector(".gallery-slide-wrapper"),r=document.querySelector(".gallery-navigation");e&&i?(_WF.utils.setStyles(i,{"margin-left":"10px",width:"50%"}),_WF.utils.setStyles(t,{display:"block"}),_WF.utils.setTimeout((function(){var e=Math.max(t.offsetHeight,i.offsetHeight);_WF.utils.setStyles(n,{height:e+r.offsetHeight+22+"px"})}),180)):(_WF.utils.setStyles(i,{width:"100%"}),_WF.utils.setTimeout((function(){_WF.utils.setStyles(n,{height:i.offsetHeight+r.offsetHeight+22+"px"})}),180),_WF.utils.setStyles(t,{display:"none"}))},c=function(){Array.prototype.slice.call(document.querySelectorAll(".point-arrow-container")).forEach((function(e){_WF.utils.setStyles(e,{cursor:"pointer",opacity:"1"})}))},l=function(){i&&(i=!1,a())},u=function(){i=!0,Array.prototype.slice.call(document.querySelectorAll(".point-arrow-container")).forEach((function(e){_WF.utils.setStyles(e,{cursor:"none",opacity:"0.3"}),e.href="javascript:void(0)",e.onclick=!1})),_WF.prebid.refreshAllSlots(),_WF.once(_WF.EVENTS.ALLDFPSLOTSRENDERED,l),_WF.utils.setTimeout(l,3e3)},d=function(e,i){t("handleArrowOnClick> start [nextPageNumber, currentPageNumber]",[e,i]);var n=document.querySelector(".gallery-slide-text");if(document.querySelector(".gallery-image")&&n&&m(n)&&i<e)t("handleArrowOnClick> display content"),s(!0);else{if(t("handleArrowOnClick> display next/prev slide"),!_WF.postContent.pages[e])return!0;history.pushState(null,null,_WF.postContent.pages[e].url),g()}return u(),!1},_=function(e,i){t("updateNavigationLink> start",[e,i]);var n=document.querySelector(".p-"+i),r=parseInt(e)+("right"===i?1:-1),o=_WF.postContent.pages[r],a=("left"===i?"prev":"next")+"-link-"+e;if(t("updateNavigationLink> nextPageNumber",r),o)_WF.utils.setStyles(n.parentNode,{visibility:"visible"}),n.parentNode.href=o.url,n.parentNode.onclick=function(){return F("click",a),d(r,e)};else if("right"===i&&_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES)==r){var s=_WF.cache.getItem(_WF.KEYS.POSTU
1RL);"/"!==s[s.length-1]&&(s+="/"),n.parentNode.href=s+r+"/",n.parentNode.onclick=function(){return F("click",a),d(r,e)}}else _WF.utils.setStyles(n.parentNode,{visibility:"hidden"})},p=function(e,i){t("updateNextButtonLinks> start",[e,i]);var n=parseInt(e)+1,r=document.getElementById(i),o="next-button-"+e;if(t("updateNextButtonLinks> nextPageNumber",n),r){var a=r.getElementsByTagName("a");if(a.length>0){var s=a.length>1?1:0,c=_WF.postContent.pages[n];if(c)a[s].href=c.url,a[s].parentNode.onclick=function(){return F("click",o),d(n,e)};else if(_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES)==n){var l=_WF.cache.getItem(_WF.KEYS.POSTURL);"/"!==l[l.length-1]&&(l+="/"),a[s].href=l+n+"/"}}}},m=function(e){return null===e.offsetParent},g=function(){if(!_WF.utils.isMobile()){var e=1,i=/\/(\d+)[\/]?$/g.exec(location.pathname);i&&i.length>1&&(e=i[1]),t("updateGalleryPageNumber> currentPageNumber, url pagenumber ",[_WF.gallery.currentPageNumber,e]),_WF.gallery.currentPageNumber!==e?(t("updateGalleryPageNumber> rendering pageNumber "+e),void 0!==_WF.gallery.currentPageNumber&&_WF.dataCollection.init(),_WF.cache.setItem(_WF.KEYS.PAGENUMBER,e),_WF.gallery.currentPageNumber=e,o(e),_WF.emit(_WF.EVENTS.SLIDEADDED)):t("updateGalleryPageNumber> already on pageNumber "+e+". skipping update")}},f=function(){var e=document.querySelector(".gallery-view-all");if(e){var i=m(e);t("toggleViewAllDisplay> isViewAllDivHidden: ",i),_WF.utils.setStyles(e,{display:i?"block":"none"});var n=document.querySelector(".p-right"),r=document.querySelector(".p-left"),o=_WF.utils.parseInt(_WF.gallery.currentPageNumber);_WF.utils.setStyles(r.parentNode,{visibility:!i&&_WF.postContent.pages[o-1]?"visible":"hidden"}),_WF.utils.setStyles(n.parentNode,{visibility:i?"hidden":"visible"});var a=document.querySelector(".gallery-slide-content");_WF.utils.setStyles(a,{display:i?"none":"block"});var s=document.querySelector(".gallery-slide-wrapper"),c=document.querySelector(".gallery-navigation"),l=document.querySelector(".gallery-image"),u=document.querySelector(".gallery-slide-text");if(l){var d=Math.max(e.offsetHeight,a.offsetHeight,l.offsetHeight,u.offsetHeight);_WF.utils.setStyles(s,{height:d+c.offsetHeight+22+"px"})}}},F=function(e,t){var i=window,n=document,r=n.documentElement,o=n.getElementsByTagName("body")[0];i.innerWidth||r&&r.clientWidth||o&&o.clientWidth,i.innerHeight||r&&r.clientHeight||o&&o.clientHeight},h=function(){var e=document.querySelector("#main");e&&_WF.utils.attempt((function(){_WF.utils.setStyles(e,{opacity:"1"})}))},E=function(){return!("view-all"in(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}))&&!_WF.utils.isQuizPost()&&(_WF.utils.isTesting("ajaxgallery_ab")||_WF.utils.isAJAXPost())&&!_WF.cache.getItem(_WF.KEYS.PDRSTATE)};_WF.gallery=_WF.gallery||{},_WF.utils.extend(_WF.gallery,{init:function(i){if(t("init> start"),t("ajaxgalleryResult",e=i),!E())return t("init> skipping for viewall/pdr/quiz/no AB test set"),void h();if(_WF.utils.attempt((function(){var e=document.querySelector(".inner-entry-content");e&&Array.prototype.slice.call(e.children).forEach((function(e){"SCRIPT"===e.tagName||_WF.utils.hasClass(e,"gallery-wrapper")||_WF.utils.setStyles(e,{display:"none"})}))})),_WF.on(_WF.EVENTS.FOOTERREADY,(function(){t("handleFirstPageLoad> reposition description");var e=document.querySelector(".gallery-description"),i=document.getElementById("next-button");e&&i&&(e.innerHTML=_WF.postContent.description,i.parentElement.insertBefore(e,i))})),h(),F("impression"),_WF.utils.isMobile()){var n=document.querySelector(".gallery-wrapper-mobile");n&&_WF.utils.setStyles(n,{display:"block"})}else{var r=document.querySelector(".gallery-wrapper");r&&_WF.utils.setStyles(r,{display:"block"}),function(){var i=document.querySelector(".gallery-navigation"),n=document.querySelector(".gallery-view-all-button"),r=document.querySelector(".gallery-page-info"),o=_WF.cache.getItem(_WF.BROWSERINFO.NAME);if("seeall"!==e?(t("setupABTests> hide see all slides"),n&&n.parentNode===i&&i.removeChild(n),_WF.utils.setStyles(i,{"grid-template-columns":"100px auto 100px"})):(t("setupABTests> setup see all slides"),i.insertBefore(r,i.firstElementChild),i.insertBefore(n,i.firstElementChild),_WF.utils.setStyles(n,{"margin-left":"10px",visibility:"visible"}),_WF.utils.setStyles(i,{"grid-template-columns":"150px auto 130px 100px"})),"msie"===o&&(_WF.utils.setStyles(n,{"margin-top":"4px"}),_WF.utils.setStyles(r,{"margin-top":"4px"})),"noprogress"===e&&(t("setupABTests> hide progress bar"),_WF.utils.setStyles(r,{visibility:"hidden"})),"nopon"===e){var a=document.querySelector(".gallery-description");t("setupABTests> hide description"),_WF.utils.setStyles(a,{display:"none"}),_WF.on(_WF.EVENTS.FOOTERREADY,(function(){t("setupABTests> hide next button");var e=document.getElementById("next-button");_WF.utils.setStyles(e,{display:"none"})}))}}(),function(){var e=_WF.postContent.pages,i=document.querySelector(".gallery-view-all"),n=document.querySelector(".gallery-view-all-button");if(i&&n){for(var r in e)if(e.hasOwnProperty(r)){var a=document.createElement("div");a.className="gallery-view-all-wrapper",a.setAttribute("data-pageNumber",r);var c=document.createElement("div");c.className="overlay",a.appendChild(c);var l=document.createElement("img");l.setAttribute("src",e[r].img),l.setAttribute("alt",e[r].imgalt),a.appendChild(l),a.onclick=function(e){return function(){if(t("image.onclick> pageNumber "+e),f(),e!==_WF.gallery.currentPageNumber){var i=document.querySelector(".gallery-image");i&&(i.setAttribute("src",""),i.setAttribute("alt","")),s(!1)}o(e)}}(r),i.appendChild(a)}n.onclick=function(){t("view all.onclick"),f()}}}(),g(),window.onhashchange=function(){t("onhashchange> start"),g()}}},isEligible:E,updateGalleryPageNumber:g,updateNavLinks:a}),_WF.on(_WF.EVENTS.FOOTERREADY,"updateGalleryNavLinks",(function(){_WF.gallery.updateNavLinks()})),_WF.where.testing("ajaxgallery_ab",(function(e){_WF.on("flexformat_init",(function(){_WF.gallery.init(e),_WF.emit("updateGalleryNavLinks")}))}))},8567:function(){var e={hash:function(t,i){var n="hex";switch("string"){default:case"string":t=e.utf8Encode(t);break;case"hex-bytes":t=e.hexBytesToString(t)}for(var r=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520],a=(t+=String.fromCharCode(128)).length/4+2,s=Math.ceil(a/16),c=new Array(s),l=0;l<s;l++){c[l]=new Array(16);for(var u=0;u<16;u++)c[l][u]=t.charCodeAt(64*l+4*u)<<24|t.charCodeAt(64*l+4*u+1)<<16|t.charCodeAt(64*l+4*u+2)<<8|t.charCodeAt(64*l+4*u+3)}c[s-1][14]=8*(t.length-1)/Math.pow(2,32),c[s-1][14]=Math.floor(c[s-1][14]),c[s-1][15]=8*(t.length-1)&4294967295;for(l=0;l<s;l++){for(var d=new Array(80),_=0;_<16;_++)d[_]=c[l][_];for(_=16;_<80;_++)d[_]=e.ROTL(d[_-3]^d[_-8]^d[_-14]^d[_-16],1);
1var p=o[0],m=o[1],g=o[2],f=o[3],F=o[4];for(_=0;_<80;_++){var h=Math.floor(_/20),E=e.ROTL(p,5)+e.f(h,m,g,f)+F+r[h]+d[_]>>>0;F=f,f=g,g=e.ROTL(m,30)>>>0,m=p,p=E}o[0]=o[0]+p>>>0,o[1]=o[1]+m>>>0,o[2]=o[2]+g>>>0,o[3]=o[3]+f>>>0,o[4]=o[4]+F>>>0}for(var W=0;W<o.length;W++)o[W]=("00000000"+o[W].toString(16)).slice(-8);var S="hex-w"==n?" ":"";return o.join(S)},f:function(e,t,i,n){switch(e){case 0:return t&i^~t&n;case 1:case 3:return t^i^n;case 2:return t&i^t&n^i&n}},ROTL:function(e,t){return e<<t|e>>>32-t},utf8Encode:function(e){return unescape(encodeURIComponent(e))},hexBytesToString:function(e){e=e.replace(" ","");for(var t="",i=0;i<e.length;i+=2)t+=String.fromCharCode(parseInt(e.slice(i,i+2),16));return t}},t={sha1:e};_WF.utils.extend(_WF.utils,t)},3070:function(){var e=0,t={},i=_WF.utils.getLogger("BB",_WF.LOGLEVEL.BB),n=function(e,t,i){_WF.utils.isTesting("cwv_ab","beacon",!0)&&"function"==typeof navigator.sendBeacon?function(e,t){var i=new Blob([t],{type:"application/json"});navigator.sendBeacon(e,i)}(e+t,i):function(e,t){const i={keepalive:_WF.utils.isTesting("cwv_ab","beacon",!0)||_WF.utils.isTesting("message_ab","beacon",!0)};_WF.utils.xhr(e,(function(){}),t,{"Content-type":"application/json"},!1,i)}(e+t,i)},r=function(e,t){var r="//"+document.location.host,o=(_WF.utils.isTesting("message_ab","clb",!0)?"/events2":"/events")+"/topic/"+e;i("url: "+r+o,t),n(r,o,JSON.stringify([t]))},o=function(){!function(){if(Object.keys(t).length){var e="//"+document.location.host,r="/eventsb/";i("url: "+e+r);var o=JSON.stringify(t);t={},n(e,r,o)}}()},a=function(i,n){_WF.utils.clearTimeout(e);const r=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("message_ab","bulk",1))||200;e=_WF.utils.setTimeout(o,r),t[i]=t[i]||[],t[i].push(n)},s={sendTracking:function(e,t){var i=new Date,n=_WF.utils.isPaidEmailSite()?"hive":_WF.utils.getNetworkName(),o={name:e.name,payload:{siteplatform:n,actualdevice:_WF.utils.getActualDevice(),localtimestamp:i.valueOf()+6e4*i.getTimezoneOffset(),minutessincemidnight:60*i.getHours()+i.getMinutes()}};Object.keys(e.payload).forEach((function(t){o.payload[t.toLowerCase()]=String(e.payload[t])})),t||_WF.utils.isTesting("message_ab","bulk",!0)?a(o.name,o.payload):r(o.name,o.payload)},track:function(e,t){var n=e.shift();t||i(n,e);var o=_WF.MESSAGEMAP[n];if(o){if(o.samplingRate){var s=Math.random();if(i(n,"sampling rate: "+o.samplingRate+"; dice roll: "+s),s>=o.samplingRate)return}var c=o.fields.reduce((function(t,i,n){return t[i]=String(e[n]),t}),{}),l=68==_WF.cache.getItem(_WF.KEYS.BLOGID)?"hive":_WF.utils.getNetworkName();c.messageversion=o.messageVersion,c.siteplatform=l,c.actualdevice=_WF.utils.getActualDevice();var u=new Date;c.localtimestamp=u.valueOf()+6e4*u.getTimezoneOffset(),c.minutessincemidnight=60*u.getHours()+u.getMinutes(),_WF.utils.isTesting("message_ab","bulk",!0)?a(o.name,c):r(o.name,c)}else i("missing map: "+n)},xhr:function(e,t,n,r,o,a,s){var c=function(e,t){var i=t;return!i&&e&&"function"!=typeof e&&(i=e),i}(t,n),l=t,u=c?"POST":"GET",d=!o,_=!_WF.utils.isTesting("message_ab","clb",!0)||_WF.utils.isTesting("message_ab","bulk",!0);if(void 0===s&&_WF.utils.isTesting("message_ab","bulk",!0)&&(s=1),_&&d)a=Object.assign({body:c,cache:"no-store",credentials:"omit",headers:r,method:u},a),fetch(e,a).then((i=>{i.ok?i.text().then(l):s&&s>0&&_WF.utils.xhr(e,t,n,r,o,a,s-1)})).catch((c=>{i(c.message),s&&s>0&&_WF.utils.xhr(e,t,n,r,o,a,s-1)}));else{const i=new XMLHttpRequest;i.open(u,e,d),c&&r&&Object.keys(r).forEach((function(e){i.setRequestHeader(e,r[e])})),i.onreadystatechange=function(){i.readyState&&4!==i.readyState||"function"!=typeof l||(200===i.status?l(i.responseText):s&&s>0&&_WF.utils.xhr(e,t,n,r,o,a,s-1))},i.send(c)}}};_WF.utils.extend(_WF.utils,s),_WF.on(_WF.EVENTS.BEFOREUNLOAD,(function(){o()})),window.addEventListener("message",(function(e){var t=e.data;t&&t.message&&_WF.MESSAGEMAP[t.message]&&s.track(t.fields)}))},9731:function(){var e={merge:function(e,t,i){i||(i=e&&"function"==typeof e.keys?e.keys():Object.keys(e||{})),t=t instanceof Array?t:[t],i.forEach((function(i){var n=e.getItem?e.getItem(i):e[i];void 0!==n&&"undefined"!==n&&null!==n&&"null"!==n&&t.forEach((function(e){e.setItem?e.setItem(i,n):e[i]=n}
1))}))},pickOne:function(e){return e instanceof Array?e[Math.floor(Math.random()*e.length)]:e}};_WF.utils.extend(_WF.utils,e),_WF.on(_WF.EVENTS.CONTAINERPROVIDERS,(function(){var e=_WF.utils.getLogger("placementFilter",_WF.LOGLEVEL.PREMAPPING),t=function(e){var t="no filter match",i=Object.keys(e.when);i.splice(i.indexOf("tag"),1);var n="AND";e.when.hasOwnProperty("operator")&&(n=e.when.operator,i.splice(i.indexOf("operator"),1));var r=[],o=!1;return i.forEach((function(t){var i=e.when[t];if("is_testing"===t)if(i.length>1){var n=i.shift();i.forEach((function(e){r.push(_WF.utils.isTesting(n,e,!0))}))}else r.push(_WF.utils.isTesting(i[0]));else{var a=_WF.utils.asStringOrDefault(_WF.cache.getItem(t),"null");-1!==i.indexOf(a)?r.push(!0):-1!==i.indexOf("*")?(r.push(!1),o=e.when.tag):r.push(!1)}})),"AND"==n?-1===r.indexOf(!1)?t=e.when.tag:!1!==o&&(t="*"+o):-1!==r.indexOf(!0)?t=e.when.tag:!1!==o&&(t="*"+o),t},i=function(e){if(e instanceof Object&&e.hasOwnProperty("when")&&(e=t(e).replace("*","")),e instanceof Array&&e[0].hasOwnProperty("when")){for(var i="no filter match",n=0,r=e.length;n<r;n++){var o=t(e[n]);if("no filter match"!=o&&-1===o.indexOf("*")){i=o;break}if(-1!==o.indexOf("*")){i=o.replace("*","");break}}e=i}return e},n=function(t,n){var r;return r=i(t[n]),r=function(t){for(var i,n={};i=_WF.utils.abState(t);){if(n[i]){e("provider allocation> key resolution> circular reference> "+i+":"+t);break}n[i]=!0,t=i}return t}(r=_WF.utils.pickOne(r))},r=function(e,t,n,r,o){for(var a=n[r],s=i(e[r]),c=e[r]instanceof Array&&!e[r][0].hasOwnProperty("when")?_WF.utils.pickOne(e[r]):[s],l=0;l<c.length;l++){var u=c[l],d=0===r.indexOf("multi_")?"multi":r,_=t[u]||t[((o[d]||{})[u]||{}).proxy||"?"]||{};if(!0===_||"function"==typeof _&&_(n[r],r,o[d])){a=u;break}}return a},o=function(e,t,i,o){var a={};if(t){for(var s in e)if(Object.prototype.hasOwnProperty.call(e,s)){if(a[s]=n(e,s),!t[s])continue;a[s]=r(t,i,a,s,o)}_WF.utils.merge(a,e)}return e},a=function(t,i,n){i&&(i=i.split(":")[0],"multi"===t&&(t=t+"_"+i),e(t+"> forcedActive: "+i),n.base[t]=i,delete n.overrides[t])},s=function(e,t,i){var n=Object.keys(i[t]||{}).filter((function(t){return 0===t.indexOf(e)}));return _WF.utils.pickOne(n)};_WF.on(_WF.KEYS.SLOTS,_WF.KEYS.PROVIDEROVERRIDES,_WF.KEYS.PROVIDERS,(function(t,i,n){if(_WF.cache.getItem(_WF.KEYS.PAGEELIGIBLE)){!function(t,i){var n=(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}).hm_debug;if(n){e("debug mode active");for(var r=Object.keys(t.base),o=0;o<r.length;o++){var c=r[o];c=0===c.indexOf("multi")?"multi":c;var l=s(n,c,i);a(c,l,t)}}}(n,t);var r=_WF.utils.attempt(o,n.base,n.overrides,i,t);if(r.exception&&e("overrideProviders exception",{message:r.exception}),window.performance){const e=window.performance.now(),t=performance.getEntriesByName(_WF.EVENTS.CONTENTREADY);if(_WF.utils.log("overrideProviders> content ready performance mark",t),t&&t.length){const i=t[0].startTime;if(_WF.utils.log("overrideProviders> delay since content ready",e-i),_WF.utils.isMobile()&&_WF.utils.isTesting("cwv_ab","inviewport",!0)){const t=_WF.utils.abState("cwv_ab").split("inviewport:");if(t.length>1){const n=_WF.utils.parseInt(t[1].split(" ")[0]);n>0&&e-i>n&&Object.keys(r.value).forEach((e=>{if("pdr"!==e&&("p"===e[0]||"lbt"===e||"ilt"===e||0===e.indexOf("ip"))&&"no filter match"!=r.value[e]&&"none"!=r.value[e]){let t=_WF.utils.abbreviationToSlotName(e),i=document.getElementById(t);if(i&&_WF.utils.isElementInViewport(i)||_WF.utils.isElementAboveViewport(i)){_WF.utils.log("overrideProviders> viewport filter",e);window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;delete r.value[e],!_WF.cache.getItem(_WF.KEYS.ISTIMERA)||"pp1"!==e&&"pp2"!==e||(window.timing=!0)}}}))}}}}_WF.cache.setItem(_WF.KEYS.PROVIDERS,r.value),_WF.emit(_WF.EVENTS.PLACEMENTPROVIDERS)}}))}))},3948:function(){var e={q:[],interval:50,ready:!0,id:0,create:function(t,i){return{id:++e.id,when:Date.now()+i,exec:t}},insert:function(t){var i;for(i=0;i<e.q.length&&!(e.q[i].when>t.when);i++);e.q.splice(i,0,t)},peek:function(){return e.q[0]},dequeue:function(){return e.q.shift()},poll:function(){for(var t=Date.now();e.peek()&&e.peek().when<=t;){var i=e.dequeue();setTimeout(i.exec,0)}e.peek()?setTimeout(e.poll,e.interval):e.ready=!0},remove:function(t){e.q=e.q.filter((function(e){return e.id!==t}))},add:function(t,i){var n=e.create(t,i);return e.insert(n),e.ready&&(e.ready=!1,e.poll()),n.id}};_WF.utils.extend(_WF.utils,{setTimeout:e.add,clearTimeout:e.remove})},135:function(){function e(e){return function(){console.log("behavioral override> ",e);try{(new Error).stack}catch(t){console.log("behavioral override> error",e,t.message)}}}Date.prototype.hm_stdTimezoneOffset=function(){var e=new Date(this.getFullYear(),0,1),t=new Date(this.getFullYear(),6,1);return Math.max(e.getTimezoneOffset(),t.getTimezoneOffset())},Date.prototype.hm_isDST=function(){return this.getTimezoneOffset()<this.hm_stdTimezoneOffset()},window.hm_scroll=window.scroll,window.hm_scrollTo=window.scrollTo,window.hm_scrollBy=window.scrollBy,window.hm_scrollByLines=window.scrollByLines,window.hm_scrollByPages=window.scrollByPages,Element.prototype.hm_scrollBy=Element.prototype.scrollBy,Element.prototype.hm_scrollIntoView=Element.prototype.scrollIntoView,Element.prototype.hm_scrollIntoViewIfNeeded=Element.prototype.scrollIntoViewIfNeeded,window.scroll=e("window.scroll"),window.scrollTo=e("window.scrollTo"),window.scrollBy=e("window.scrollBy"),window.scrollByLines=e("window.scrollByLines"),window.scrollByPages=e("window.scrollByPages"),Element.prototype.scrollBy=e("Element.prototype.scrollBy"),Element.prototype.scrollIntoView=e("Element.prototype.scrollIntoView"),Element.prototype.scrollIntoViewIfNeeded=e("Element.prototype.scrollIntoViewIfNeeded")},6943:function(){var e=!_WF.utils.isMobile()&&!_WF.utils.isTablet(),t="enabled"==_WF.utils.abState("puts_ab");_WF.cache.setItem("is_desktop",""+e),_WF.cache.setItem("is_ajax_desktop",""+_WF.utils.isAJAXDesktop()),_WF.cache.setItem("desktop_putsab_on",""+(e&&t)),_WF.cache.setItem("desktop_putsab_off",""+(e&&!t)),_WF.cache.setItem("is_quiz",""+_WF.utils.isQuizPost())},1377:function(){var e=_WF.utils.getLogger("providerOverrides",_WF.LOGLEVEL.PREMAPPING),t=function(t){if(!_WF.utils.isTesting(t))return!1;var i=_WF.utils.abState(t),n=i.split(":"),r=_WF.utils.parseInt(n[0]),o=n.length>1?parseFloat(n[1]):-1,a=_WF.cache.getItem(_WF.KEYS.RPS),s=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));return e(t+"_override> [abInfo, pageThreshold, pageNumber, rpsTreshold, rps]",[i,r,s,o,a]),s>=r&&a<o},i={none:function(){return!0},override_mobile:_WF.utils.isMobile,override_desktop:!_WF.utils.isMobile,organic:_WF.utils.isOrganic,override_mobileorganic:function(e,t){return _WF.utils.isOrganic()||_WF.utils.isMobile()},override_limited:function(e,t){var i=_WF.cache.getItem(_WF.KEYS.UTMSOURCE);return"fb"==i||"pn"==i||"aw"==i||"fs"==i||"ts"==i||(_WF.utils.isOrganic()||_WF.utils.isMobile())},fb_buttons:function(e,t){return!!_WF.utils.isFacebookSource()||_WF.utils.isOrganic()},share_buttons:function(e,t){return!!_WF.utils.isFacebookSource()||_WF.utils.isOrganic()},posts_widget:_WF.utils.isOrganic,prebidv2:function(t,i){if("sp2"===i&&(_WF.utils.isAJAXPost()||_WF.utils.isQuizPost()))return!0;
1if(_WF.utils.isTesting("qptp_ab")&&"tp1"===i)return!0;var n=_WF.utils.abState("tbmidarticle_ab");if(e("prebidv2 override> "+i+"> abInfo:"+n),n){var r=n.split("-");if(r.length>2){var o=_WF.utils.parseInt(r[2].replace("p",""));return _WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER))<=o?"pon"==i:"pun"==i}return"prebidv2"!=n&&("pun"==i&&~n.indexOf("pon")||"pon"==i&&~n.indexOf("pun"))}return!1},sharethrough:function(e,t){var i=_WF.utils.abState("liftigniter_ab");if(i&&~i.indexOf(t)){var n=i.split("_");return!(n.length>2)||_WF.cache.getItem(_WF.KEYS.PAGENUMBER)>n[2]}return!1},firstimpression:function(){return!1},adsense:_WF.utils.isMobile,facebook:_WF.utils.isMobile,adblade:function(e){if(e.indexOf("contentad")>-1&&"mg"===_WF.cache.getItem(_WF.KEYS.UTMSOURCE))return!0},contentad_widget:function(e){return 1===_WF.cache.getItem(_WF.KEYS.PAGENUMBER)&&"contentad_widget"===e},taboola_widget:function(e,t){var i=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));return _WF.utils.isMobile()&&_WF.utils.isTesting("tb_ab")&&("pun"==t&&i>=3&&i<7||"pon"==t&&i>=7)},undertone_override:function(e,t){var i=!0,n=_WF.utils.abState("undertone_ab"),r=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER)),o=n.indexOf(".")>-1?n.split(".")[1]:null;if(o){var a=parseInt(o.split(":")[0]),s=o.indexOf(":")>-1?parseInt(o.split(":")[1]):1;r>=a&&(r-a)%s==0&&(i=!1)}else i=!1;return i},revcontent_widget:function(e,t){var i=_WF.utils.abState("widgetoverride_ab"),n=_WF.cache.getItem(_WF.KEYS.UTMSOURCE),r=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));if("enabled"===i&&"tb"===n&&r>4){var o=_WF.cache.json.get(_WF.KEYS.LOCATION),a=navigator.language||navigator.userLanguage;if(o&&o.country_code&&{br:!0,pt:!0,ar:!0,mx:!0,co:!0,es:!0}[o.country_code.toLowerCase()]||{"pt-br":!0,pt:!0,"es-ar":!0,"es-mx":!0,"es-co":!0,"es-es":!0}[a.toLowerCase()])return!0}return _WF.utils.isMobile()&&"pon"==t&&r>2},outbrain_widget:function(e,t){var i=_WF.cache.getItem(_WF.KEYS.UTMSOURCE),n=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));return _WF.utils.isMobile()&&"pon"==t&&n>5&&"ob"==i},avantis_ani:function(e,t){var i=_WF.utils.abState("puianc1_ab")||_WF.utils.abState("slider_ab"),n=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));return i&&("teads_avantis"==i||"teads_content_avantis"==i)&&"anc1"==t&&n>5},avantis_video:function(e,t){var i=_WF.utils.abState("puianc1_ab")||_WF.utils.abState("slider_ab"),n=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));return i&&("teads_avantis"==i||"teads_content_avantis"==i)&&"anc1"==t&&n>5},widget_ab_override:function(){var t="widget_ab";if(_WF.utils.isOrganic())return e(t+"> skipping on organic check"),!0;_WF.cache.getItem(_WF.KEYS.UTMSOURCE);return _WF.utils.isFacebookSource()?(e(t+"> skipping on utmSource check"),!0):-1==function(t){var i=_WF.utils.abState(t);if(e(t+"> testResult",i),i){var n=i.indexOf("_p");if(n>0){var r=_WF.utils.parseInt(i.substring(n+2)),o=_WF.cache.getItem(_WF.KEYS.PAGENUMBER);return e(t+"> [page threshold, current page]",[r,o]),o<=r?-1:1}}return 0}("widget_ab")&&(e(t+"> skipping on page check"),!0)},quiz_override:function(e,t){var i=_WF.cache.getItem(_WF.KEYS.UTMSOURCE);return"sp3"===t&&_WF.utils.isQuizPost()||"sp4"===t&&!_WF.utils.isQuizPost()&&"fb"!==i&&"fs"!==i&&"pn"!==i},nativo_ab_override:function(t,i){var n=_WF.utils.abState("nativo_ab");return e("nativo_ab_override> "+i+"> abInfo:"+n),n&&"prebidv2"!==n},mobile_sp5_override:function(t,i){var n=_WF.utils.abState("putsp5_ab");return e("mobile_sp5_override> "+i+"> abInfo:"+n),!("sp5"===n&&_WF.utils.isMobile()&&!_WF.utils.isQuizPost()&&!_WF.utils.isEligibleForSinglePageLayout())&&_WF.utils.isMobile()},mobilelayout_ab_override:function(t,i){var n=_WF.utils.abState("mobilelayout_ab","none");return e("mobilelayout_ab_override> "+i+"> abInfo:"+n),_WF.utils.isMobile()&&!_WF.utils.isQuizPost()&&("none"===n||"poi"===i&&"enabled"===n)},yahoo_search_widget:function(e,i){return t("lk_ab")},arcamax:function(e,i){return t("arcamax_ab")}};_WF.cache.setItem(_WF.KEYS.PROVIDEROVERRIDES,i)},6726:function(){let e,t,i=15e3,n=3e4,r=0,o=0,a=!1;const s=["mousedown","mousemove","keydown","scroll","touchstart"];function c(){a&&(a=!1,_WF.utils.log("sessionDuration> User Active")),clearTimeout(e),e=setTimeout((()=>{a=!0,_WF.utils.log("sessionDuration> User Idle")}
1),i)}function l(){"function"==typeof gtag&&gtag("event","custom_timing_update",{event_category:"Engagement",custom_session_duration:r,custom_engaged_time:o,non_interaction:!0})}function u(){l()}function d(){_WF.utils.isTesting("session_duration_ab")&&(i=_WF.utils.getTestTreatmentSetting("session_duration_ab","idle",1)||i,n=_WF.utils.getTestTreatmentSetting("session_duration_ab","report",1)||n,s.forEach((e=>document.addEventListener(e,c,!0))),setInterval((()=>{r=performance.now()/1e3,"visible"!==document.visibilityState||a||(o+=1)}),1e3),t=setInterval(l,n),document.addEventListener("visibilitychange",(()=>{"hidden"===document.visibilityState?(a=!0,_WF.utils.log("sessionDuration> User Idle, tab hidden"),u()):"visible"===document.visibilityState&&(c(),_WF.utils.log("sessionDuration> User Active, tab visible"))})),window.addEventListener("beforeunload",u))}_WF.q.push((function(){_WF.on(_WF.EVENTS.DATACOLLECTIONREADY,d)}))},4947:function(){var e=function(e){this.store=e,this.prefix="hmk_"};e.prototype.isStore=!0,e.prototype.getItem=function(e){var t=this.prefix+e;return this.store[t]||this.store[e]},e.prototype.setItem=function(e,t){var i=this.prefix+e;this.store[i]=t;var n=this;_WF.utils.attempt((function(){n.store[e]=null,delete n.store[e]}))},e.prototype.removeItem=function(e){var t=this,i=t.prefix+e;_WF.utils.attempt((function(){t.store[e]=null,t.store[i]=null,delete t.store[e],delete t.store[i]}))};var t=function(){var e=this,t=new Date;t.setFullYear(t.getFullYear()+2);var i=t.toUTCString(),n=new Date(0);e.prefix="hmk_",e.isCookieStore=!0;var r=function(e){var t=new RegExp(e+"(=)(.*?)($|;)");return(document.cookie.match(t)||[])[2]};e.getItem=function(t){var i=e.prefix+t;return r(i)||r(t)},e.setItem=function(t,n,r){var o=e.prefix+t;if(void 0!==n&&"undefined"!==n){var a=r?r.toUTCString():i;document.cookie=o+"="+n+"; expires="+a+"; path=/;",document.cookie=t+"="+n+"; expires="+a+"; path=/;"}},e.removeItem=function(t){var i=e.prefix+t;e.setItem(t,"",n),e.setItem(i,"",n)}},i=function(e){return!_WF.utils.attempt((function(){var t="ihaz:adata",i="uhaez";if(e.setItem(t,i),e.getItem(t)!==i)throw{message:"get/set failed"};if(e.removeItem(t),e.getItem(t)===i)throw{message:"remove failed"}})).exception};_WF.emit("getStore",(function(){if(!_WF.utils.attempt((function(){if(!i(localStorage))throw{message:"localStorage invalid"}})).exception){var n=new e(localStorage);return n.setItem(_WF.KEYS.STORAGEACTIVE,"true"),n}var r=new t;return i(r)?(r.setItem(_WF.KEYS.STORAGEACTIVE,"[true]"),r):new e({})})),_WF.utils.extend(_WF,{cookieStore:new t})},6872:function(){function e(e){e.visible||(e.visible=!0,e.start=Date.now(),_WF.utils.log("timer> page visible [start]",e.start))}function t(e,t){if(e.visible){e.visible=!1;var i=Date.now(),n=i-e.start;_WF.trackPerformance("viewtime",n,t);const r=_WF.utils.getScrollDepthPercentage();_WF.trackPerformance("scrolldepthpct",r,t),_WF.utils.log("timer> page hidden [start, now, delta, scrollDepth]",[e.start,i,n,r])}}function i(i){return function(){document.hidden?t(i):e(i)}}function n(i){var r=_WF.cache.getItem(_WF.KEYS.PAGENUMBER),o=_WF.cache.getItem(_WF.KEYS.POSTID),a=_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH);_WF.once(_WF.EVENTS.PAGEVIEW,(function(){var s=_WF.cache.getItem(_WF.KEYS.PAGENUMBER),c=_WF.cache.getItem(_WF.KEYS.POSTID),l=_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH);s==r&&c==o&&l==a||(t(i,r),e(i)),n(i)}))}function r(){const t={};document.hasFocus()?e(t):"snapchat"===_WF.utils.getBrowserInfo()[_WF.BROWSERINFO.NAME]||_WF.utils.isSnapSource()&&_WF.utils.isMobile()?document.addEventListener("touchstart",i("touchstart"),{passive:!0}):e(t),document.addEventListener("visibilitychange",i(t)),n(t),_WF.utils.log("timer> initialized")}_WF.q.push((function(){_WF.on(_WF.EVENTS.DATACOLLECTIONREADY,r)}))},7327:function(){!function(e){var t=function(t){this._options={checkOnLoad:!1,resetOnEnd:!1,loopCheckTime:50,loopMaxNumber:5,baitClass:"pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links",baitStyle:"width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;",debug:!1},this._var={version:"3.2.1",bait:null,checking:!1,loop:null,loopNumber:0,event:{detected:[],notDetected:[]}},void 0!==t&&this.setOption(t);var i=this,n=function(){setTimeout((function(){!0===i._options.checkOnLoad&&(!0===i._options.debug&&i._log("onload->eventCallback","A check loading is launched"),null===i._var.bait&&i._creatBait(),setTimeout((function(){i.check()}),1))}),1)};void 0!==e.addEventListener?e.addEventListener("load",n,!1):e.attachEvent("onload",n)};t.prototype._options=null,t.prototype._var=null,t.prototype._bait=null,t.prototype._log=function(e,t){console.log("[BlockAdBlock]["+e+"] "+t)},t.prototype.setOption=function(e,t){if(void 0!==t){var i=e;(e={})[i]=t}for(var n in e)this._options[n]=e[n],!0===this._options.debug&&this._log("setOption",'The option "'+n+'" he was assigned to "'+e[n]+'"');return this},t.prototype._creatBait=function(){var t=document.createElement("div");t.setAttribute("class",this._options.baitClass),t.setAttribute("style",this._options.baitStyle),this._var.bait=e.document.body.appendChild(t),this._var.bait.offsetParent,this._var.bait.offsetHeight,this._var.bait.offsetLeft,this._var.bait.offsetTop,this._var.bait.offsetWidth,this._var.bait.clientHeight,this._var.bait.clientWidth,!0===this._options.debug&&this._log("_creatBait","Bait has been created")},t.prototype._destroyBait=function(){e.document.body.removeChild(this._var.bait),this._var.bait=null,!0===this._options.debug&&this._log("_destroyBait","Bait has been removed")},t.prototype.check=function(e){if(void 0===e&&(e=!0),!0===this._options.debug&&this._log("check","An audit was requested "+(!0===e?"with a":"without")+" loop"),!0===this._var.checking)return!0===this._options.debug&&this._log("check","A check was canceled because there is already an ongoing"),!1;this._var.checking=!0,null===this._var.bait&&this._creatBait();var t=this;
1return this._var.loopNumber=0,!0===e&&(this._var.loop=setInterval((function(){t._checkBait(e)}),this._options.loopCheckTime)),setTimeout((function(){t._checkBait(e)}),1),!0===this._options.debug&&this._log("check","A check is in progress ..."),!0},t.prototype._checkBait=function(t){var i=!1;if(null===this._var.bait&&this._creatBait(),null===e.document.body.getAttribute("abp")&&null!==this._var.bait.offsetParent&&0!=this._var.bait.offsetHeight&&0!=this._var.bait.offsetLeft&&0!=this._var.bait.offsetTop&&0!=this._var.bait.offsetWidth&&0!=this._var.bait.clientHeight&&0!=this._var.bait.clientWidth||(i=!0),void 0!==e.getComputedStyle){var n=e.getComputedStyle(this._var.bait,null);!n||"none"!=n.getPropertyValue("display")&&"hidden"!=n.getPropertyValue("visibility")||(i=!0)}!0===this._options.debug&&this._log("_checkBait","A check ("+(this._var.loopNumber+1)+"/"+this._options.loopMaxNumber+" ~"+(1+this._var.loopNumber*this._options.loopCheckTime)+"ms) was conducted and detection is "+(!0===i?"positive":"negative")),!0===t&&(this._var.loopNumber++,this._var.loopNumber>=this._options.loopMaxNumber&&this._stopLoop()),!0===i?(this._stopLoop(),this._destroyBait(),this.emitEvent(!0),!0===t&&(this._var.checking=!1)):null!==this._var.loop&&!1!==t||(this._destroyBait(),this.emitEvent(!1),!0===t&&(this._var.checking=!1))},t.prototype._stopLoop=function(e){clearInterval(this._var.loop),this._var.loop=null,this._var.loopNumber=0,!0===this._options.debug&&this._log("_stopLoop","A loop has been stopped")},t.prototype.emitEvent=function(e){!0===this._options.debug&&this._log("emitEvent","An event with a "+(!0===e?"positive":"negative")+" detection was called");var t=this._var.event[!0===e?"detected":"notDetected"];for(var i in t)!0===this._options.debug&&this._log("emitEvent","Call function "+(parseInt(i)+1)+"/"+t.length),t.hasOwnProperty(i)&&t[i]();return!0===this._options.resetOnEnd&&this.clearEvent(),this},t.prototype.clearEvent=function(){this._var.event.detected=[],this._var.event.notDetected=[],!0===this._options.debug&&this._log("clearEvent","The event list has been cleared")},t.prototype.on=function(e,t){return this._var.event[!0===e?"detected":"notDetected"].push(t),!0===this._options.debug&&this._log("on",'A type of event "'+(!0===e?"detected":"notDetected")+'" was added'),this},t.prototype.onDetected=function(e){return this.on(!0,e)},t.prototype.onNotDetected=function(e){return this.on(!1,e)};var i=new t({checkOnLoad:!0,resetOnEnd:!0});_WF.emit("babjs",i)}(window)},4298:function(e,t,i){e.exports=i(1942)},7661:function(e,t,i){"use strict";var n=i(7339);e.exports=n},8243:function(e,t,i){"use strict";var n=i(2065),r=i(8872),o=RegExp.prototype;e.exports=function(e){return e===o||n(o,e)?r(e):e.flags}},8872:function(e,t,i){"use strict";i(4721);var n=i(1940);e.exports=n},1942:function(e,t,i){"use strict";e.exports=i(2363)},2363:function(e,t,i){"use strict";var n=i(7661);e.exports=n},2762:function(e,t,i){"use strict";var n=i(6528),r=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(r(e)+" is not an object")}},8674:function(e){"use strict";var t="object"==typeof document&&document.all,i=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:i}},4358:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},4747:function(e,t,i){"use strict";var n=i(4358);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2071:function(e,t,i){"use strict";var n=i(4747),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},9611:function(e,t,i){"use strict";var n=i(4747),r=Function.prototype,o=r.call,a=n&&r.bind.bind(o,o);e.exports=n?a:function(e){return function(){return o.apply(e,arguments)}}},4929:function(e,t,i){"use strict";var n=i(9611),r=i(4078),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},2461:function(e,t,i){"use strict";var n=i(8674),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},3668:function(e){"use strict";e.exports=function(e){return null==e}},6528:function(e,t,i){"use strict";var n=i(2461),r=i(8674),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},2065:function(e,t,i){"use strict";var n=i(9611);e.exports=n({}.isPrototypeOf)},1144:function(e,t,i){"use strict";var n=i(2762);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},1940:function(e,t,i){"use strict";var n=i(2071),r=i(4929),o=i(2065),a=i(1144),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||r(e,"flags")||!o(s,e)?t:n(a,e)}},4875:function(e,t,i){"use strict";var n=i(3668),r=TypeError;e.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}},4078:function(e,t,i){"use strict";var n=i(4875),r=Object;e.exports=function(e){return r(n(e))}},4721:function(){},7339:function(e,t,i){"use strict";var n=i(8243);e.exports=n}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}
1o.m=n,o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,i){return o.f[i](e,t),t}),[]))},o.u=function(e){return(464===e?"layoutLoader-quizDelayNext":e)+"-chunk.v1.js?h="+{464:"6d5d0a90115ddde09fef",617:"430f4928f34db270811b"}[e]},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},i="outrigger:",o.l=function(e,n,r,a){if(t[e])t[e].push(n);else{var s,c;if(void 0!==r)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==i+r){s=d;break}}s||(c=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",i+r),s.src=e),t[e]=[n];var _=function(i,n){s.onerror=s.onload=null,clearTimeout(p);var r=t[e];if(delete t[e],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((function(e){return e(n)})),i)return i(n)},p=setTimeout(_.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=_.bind(null,s.onerror),s.onload=_.bind(null,s.onload),c&&document.head.appendChild(s)}},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/wp-content/plugins/outrigger/scripts/vendor/",function(){var e={322:0};o.f.j=function(t,i){var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else{var r=new Promise((function(i,r){n=e[t]=[i,r]}));i.push(n[2]=r);var a=o.p+o.u(t),s=new Error;o.l(a,(function(i){if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var r=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+r+": "+a+")",s.name="ChunkLoadError",s.type=r,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=function(t,i){var n,r,a=i[0],s=i[1],c=i[2],l=0;if(a.some((function(t){return 0!==e[t]}))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);if(c)c(o)}for(t&&t(i);l<a.length;l++)r=a[l],o.o(e,r)&&e[r]&&e[r][0](),e[r]=0},i=self.webpackChunkoutrigger=self.webpackChunkoutrigger||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}(),function(){"use strict";if(_WF=window._WF||{},_WF.utils||(_WF.utils={}),!_WF.utils.extend){var t=function(e,t){for(var i in t)e[i]||(e[i]=t[i])};t(_WF.utils,{extend:t}),_WF.utils.extend(_WF,{rendered:(new Date).valueOf(),ab_overrides:{},q:[]})}o(135),o(9637),o(302),o(4947),o(369),o(2258),o(3948),o(9542),o(9215);var i=o(4298),n=o.n(i);function r(e,t=null){var i=_WF.cache.getItem(e);return null!==i?i:t}function a(e){return JSON.parse(JSON.stringify([e])).shift()}function s(e,t){let i=[],n=(...e)=>{i.push(e)};return _WF.q.push((()=>{_WF.on(_WF.EVENTS.SETUP,(()=>{t=isNaN(t)?_WF.LOGLEVEL.PREBID:t,n=_WF.utils.getLogger(e,t),i.forEach((e=>n(...e)))}))})),function(e,...t){let i=t.length?t:"";if(1==t.length&&(i=t[0]),"string"==typeof i)i='"'+i+'"';n(e,i)}}function c(e){return Array.isArray(e)?e[e.length-1]:void 0}let l=function(){};function u(e){var t=function(){const e=_WF.utils.createElement('<input type="text" id="credential-pass-thru" style="display:none;">');return document.body.appendChild(e),e}();return function(i){if(i&&i.credential){l("onetap> received valid response",i);const n=function(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(atob(t).split("").map((e=>"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2))).join(""));return JSON.parse(i)}(i.credential);n.email&&(e(n.email),t.value=n.email)}else l("onetap> received invalid response",i)}}function d(e,t,i){l("onetap> init client"),_WF.utils.loadScript("https://accounts.google.com/gsi/client",(function(){!function(e,t){l("onetap> config settings");const i={client_id:e,callback:t,use_fedcm_for_prompt:!0};google.accounts.id.initialize(i)}(e,t),i.renderButtonParent?function(e,t){l("onetap> init button");const i=document.querySelector(e);google.accounts.id.renderButton(i,t)}(i.renderButtonParent,i.renderButton):(l("onetap> pop prompt"),google.accounts.id.prompt((e=>{l("onetap> received prompt notification",e)})))}),!0,null,{id:"hive-onetap-client"})}var _={getEmail:function(e,t,i){l=e,(i=i||{}).onetap=i.onetap||{};const n=function(){const e=_WF.utils.isTesting("gonetap_ab")||_WF.utils.isTesting("identity_ab","onetap",!0),t=document.getElementById("hive-onetap-client"),i=e&&!t;return l("onetap> isEligible [isEligibleBlog, isTesting, !isLoaded]",[!0,e,!t]),i}();return n&&function(e,t){l("onetap> init feature"),d("421556971864-1ms5eq75astmqnorakcmf5hcsars6fli.apps.googleusercontent.com",u(e),t.onetap)}(t,i),n},source:"gon"};var p={getEmail:function(e,t){const i=(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}).user_id||"";return i&&e("mailchimp> found email",i),t(i),i},source:"mac"};let m=function(){};var g={getEmail:function(e,t){m=e;const i=function(){const e=_WF.utils.isTesting("identity_ab","spotim",!0);return m("spotimIdentity> isEligible",e),e}();return i&&function(e){function t(t){t&&t.detail&&(t.detail.email?(m("spotimIdentity> found email"),e(t.detail.email)):t.detail.currentUser&&t.detail.currentUser.email&&(m("spotimIdentity> found new login email"),e(t.detail.currentUser.email)))}m("spotimIdentity> init listeners"),document.addEventListener("spot-im-user-auth-success",t),document.addEventListener("spot-im-post-login",t)}(t),i},source:"sim"};const f="um_result_token",F="um_result_token_hash";let h;const E={getEmail:function(e,t){const i=_WF.cache.getItem(f);let n="";return i&&(n=atob(i),e("found email: "+n)),t(n),n},source:""};var W={getEmail:function(e,t){if(h||(h=_WF.utils.getLogger("identity-core",_WF.LOGLEVEL["SUPA-RAISING-UPPA
1!"])),function(){const e=_WF.utils.isTesting("gonetap_ab")||_WF.utils.isTesting("identity_ab");return h("isTesting",e),e}()){const i=[E,p,_,g],n=function(e,t){return function(i){return function(n){if(n){h("set email: "+n,i);const r=btoa(n);if(_WF.cache.setItem(f,r).asPersistent(),t&&t.sha256){const t=_WF.cache.getItem(F);t?(_WF.utils.sha256Hash(n).then((function(e){_WF.cache.setItem(F,e).asPersistent()})),e(t)):_WF.utils.sha256Hash(n).then((function(t){_WF.cache.setItem(F,t).asPersistent(),e(t)}))}else _WF.utils.sha256Hash(n).then((function(e){_WF.cache.setItem(F,e).asPersistent()})),e(n)}}}}(e,t);for(let e of i)if(e.getEmail(h,n(e.source),t))break}}};const S=s("prebidFloor"),b="topiary",v="highbid",y="adunit",I="enforce",T="aps";function A(e){let t=.01;t=e[0]===v?function(e){const t=e[1]||.01,i=parseFloat(t);S("start highBid floor",e);const n=_WF.utils.gsc();S("cache",n);const r=n[0]||{cpm:0};S("highBid",r);const o=Math.max(r.cpm,i);return S("highbid floor",o),o}(e):function(e){S("start simple floor",e);const t=e[0],i=parseFloat(t);return S("simple floor",i),i}(e);const i=isNaN(t)?.01:t;return S("final floor",i),i}function w(e,t){const i=function(e,t){const i={};return"number"==typeof t?e.reduce(((e,i)=>(e[i.code]=t,e)),i):Object.assign(i,t),i}(e,t);e.forEach((e=>{e.bids&&e.bids.forEach((t=>{0===t.bidder.indexOf("vidazoo")&&(t.params.bidFloor=i[e.code])}))}))}function O(e,t,i,n){const r=parseFloat(t[1]||.01),o=function(e,t){const i=_WF.utils.gsc().reduce(((e,i)=>{if(i.adUnitCode==b)return e;if(!t.some((e=>e==i.adUnitCode)))return e;e[i.adUnitCode]=e[i.adUnitCode]||[0,0];const n=e[i.adUnitCode],r=parseFloat(i.cpm)||0;return r>n[0]?(n.pop(),n.unshift(r)):r>n[1]&&(n.pop(),n.push(r)),e}),{});return t.forEach((t=>{const n=i?.[t]?.[0]??0,r=i?.[t]?.[1]??0,o=r>e?r:n;i[t]=Math.max(o,e)})),i}(r,i);w(n,o),S("second floors",o),e.floors={data:{currency:"USD",default:r,schema:{fields:["adUnitCode"]},values:o},floorMin:r}}function C(e,t,i,n){const r=parseFloat(t[1]||.01),o=function(e,t){const i=_WF.utils.gsc().reduce(((e,t)=>{const i=e[t.adUnitCode]||0,n=parseFloat(t.cpm)||0;return e[t.adUnitCode]=Math.max(i,n),e}),{});return t.forEach((t=>{const n=i[t]||0;i[t]=Math.max(n,e)})),i}(r,i);w(n,o),S("adunit floors",o),e.floors={data:{currency:"USD",default:r,schema:{fields:["adUnitCode"]},values:o},floorMin:r}}var x=function(e,t){if(_WF.utils.isTesting("prebid_floor_ab")&&!_WF.utils.isTesting("optiyield_ab")){const i=_WF.utils.abState("prebid_floor_ab");if(i){S("start floor_ab",i);const[n]=i.toLowerCase().split(" "),r=n.split(":"),o={};return function(e){const t=new Set([I,T]),i=[...e];for(;t.has(c(i));)i.pop();const n=new Set([y,v]),r=i[0];return!n.has(r)||(i.length<3||c(i)<=_WF.cache.getItem(_WF.KEYS.PAGENUMBER)||e.shift(),!0)}(r)&&(r[0]===y?C(o,r,e,t):"secondbid"===r[0]?O(o,r,e,t):function(e,t,i){const n=A(t);w(i,n),e.floors={data:{currency:"USD",default:n,schema:{fields:["mediaType"]},values:{"*":n}},floorMin:n}}(o,r,t),function(e){_WF.utils.isPrebidTesting();const t=_WF.utils.isTesting("prebid_floor_ab",I,!0);e.floors.enforcement={bidAdjustment:!0,enforceJS:t,floorDeals:t}}(o)),o}}};function N(){var e=_WF.utils.iabcatlookup.byHost(document.location.host);return{site:{name:r(_WF.KEYS.BLOGNAME),domain:document.location.host,cat:e,sectioncat:e,pagecat:e,page:document.location.host+document.location.pathname,ref:document.referrer,privacypolicy:1,publisher:{domain:_WF.utils.getNetworkDomain()},keywords:(r(_WF.KEYS.POSTCATS)||[]).reduce((function(e,t){return e.push(t.name),e}),[]).join(","),content:{language:navigator.language,title:r(_WF.KEYS.POSTTITLE)||""}},device:{geo:{country:r(_WF.KEYS.LOCATION).country_code,utcoffset:(new Date).getTimezoneOffset()},h:window.innerHeight,js:1,language:navigator.language,os:r(_WF.KEYS.DEVICEOS),pxratio:window.devicePixelRatio,ua:navigator.userAgent,w:window.innerWidth},user:{geo:{country:r(_WF.KEYS.LOCATION).country_code,utcoffset:(new Date).getTimezoneOffset()}}}}function R(){if(!R.cache){const e=function(e,t){const i=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","{","}","[","]","(",")"," ",'"',":",",",".","-","+","*","/","?","!","@","$","%","^","&","|","_","~"],n=i.length;let r="";for(let o=0;o<e.length;o++){const a=i.indexOf(e[o]);r+=-1===a?e[o]:i[(a+t)%n]}return r}('*^uv8r^&647r|^(w)5 4"^&]_](|^(5})+5^&]_])|^((ov +p^&]_] |^5s8 ]t^&]_]"|^(4}s"]]^&]_]:|^n1y)v1^&]_],|^(n.: v-^&]_].|^1](x9]^&]_]-|^(0vyy8x^&]_]+|^,-4xr-^&]_(|^(:4oyq5^&]_((|^981y"9^&]_()|^(9r-z"t^&]_( |^s"rx0"^&]_("|^(rz}yz1^&]_(:|^y5"665^&]_(,|^(yn176p^&]_(.|^"]76p]^&]_(-|^( wr7ox^&]_(+|^7047)1^&]_)|^(7,o8)-^&]_)(|^p9u6x9^&]_))|^(ps(7xt^&]_) |^3.}o}-^&]_)"|^(23vp{5^&]_):|^-t1ott^&]_),|^(.[-pt]^&]_).|^[ yp."^&]_)-|^(}z:q,1^&]_)+|^upoo2p^&]_ |^(t78p19^&]_ (|^vt+2-t^&]_ )|^(u}63-]^&]_  |^1[131^&]_ "|^(].w23-^&]_ :|^4o92up^&]_ ,|^(37t3t9^&]_ .|^+xz1[x^&]_ -|^(+ ,2["^&]_ +|^z9 .p9^&]_"|^(zr0-pt^&]_"(|^:"6,8"^&]_")|^("0q.71^&]_" |^843.y5^&]_""|^(8nn-yp^&]_":|^r]t."]^&]_",|^(qw]- x^&]_".|^x1,tn1^&]_"-|^(x,3un-^&]_"+|^)99s59^&]_:|^()stt5t^&]_:(|^6w6twx^&]_:)|^(6)quw"^&]_: |^o5wt(5^&]_:"|^(oo u(p^&]_::|^2 [}s"^&]_:,|^(1zw[r1^&]_:.|^.p2{{p^&]_:-|^(,8+}99^&]_:+|^{[z}
11]^&]_,|^({v,[0x^&]_,(|^t-p},-^&]_,)|^(s39[:5^&]_, |^w]-9]]^&]_,"|^(vv59[x^&]_,:|^(-}8v-^&]_,,|^(]4v9u5^&]_,.|^4889-9^&]_,-|^(4rs{-t^&]_,+|^n"y84"^&]_.|^(+0:931^&]_.(|^0t)r"t^&]_.)|^(z}zs"]^&]_. |^:15qz1^&]_."|^(:.prz-^&]_.:|^9o2rqp^&]_.,|^(87+sp9^&]_..|^rxsq8x^&]_.-|^(r)[r8"^&]_.+|^y-:0)-^&]_-|^(x321(5^&]_-(|^ t8zxt^&]_-)|^()[s0x]^&]_- |^7 50o"^&]_-"|^(6zp1n1^&]_-:|^ppvz6p^&]_-,|^(o8)059^&]_-.|^20[:,1^&]_--|^(2,w,,-^&]_-+|^.92"19^&]_+|^(.s+:1t^&]_+(|^}wz:sx^&]_+)|^(}),,s"^&]_+ |^t5p"{5^&]_+"|^(tn9:{p^&]_+:|^u9nvt9^&]_+,|^(ur7wtt^&]_+.|^:]u["^&]_+-|^[0xv}1^&]_++|^34{v25^&(|^(3nuw2p^&(_](|^+]0v-]^&(_])|^(-w.w.x^&(_] |^zp"]yp^&(_]"|^(y71(x9^&(_]:|^"x7] x^&(_],|^(" r( "^&(_].|^8.4]7-^&(_]-|^(73o(65^&(_]+|^qtu]pt^&(_(|^(p[((p]^&(_((|^x".+w"^&(_()|^(wz4nv1^&(_( |^)p{+(p^&(_("|^((8un]9^&(_(:|^5[7+5]^&(_(,|^(5vrn4x^&(_(.|^o-x+n-^&(_(-|^(n4"n+5^&(_(+|^1x]40x^&(_)|^(1)x50"^&(_)(|^,534:5^&(_))|^(,on5:p^&(_) |^{s049t^&(_)"|^(9}.59]^&(_):|^s1q4r1^&(_),|^(s,{5r-^&(_).|^w7.1:p^&(_)-|^(wp42"9^&(_)+|^)){00x^&(_ |^((yu10"^&(_ (|^5271r-^&(_ )|^(5-r2q5^&(_  |^n}x09t^&(_ "|^(nu"19]^&(_ :|^1n(,+5^&(_ ,|^(05y.+p^&(_ .|^,v4:5]^&(_ -|^(,(o,4x^&(_ +|^{:1,v1^&(_"|^(91-.v-^&(_"(|^srr,]9^&(_")|^(r9}.]t^&(_" |^z)"s.x^&(_""|^(yx1t."^&(_":|^"n7r25^&(_",|^( 6rs2p^&(_".|^7{4stt^&(_"-|^(7tott]^&(_"+|^q,ur}1^&(_:|^(p2(s}-^&(_:(|^3u{{p]^&(_:)|^(3]u}ox^&(_: |^-3097-^&(_:"|^(-+.{65^&(_::|^[qx{x9^&(_:,|^(}9"}xt^&(_:.|^uzn{ "^&(_:-|^(u"7})1^&(_:+|^v3+nz-^&(_,|^(v-6oy5^&(_,(|^}[n"t^&(_,)|^(]uwo"]^&(_, |^4y9n8"^&(_,"|^(4"to71^&(_,:|^+7znqp^&(_,,|^(+q,op9^&(_,.|^0,)531^&(_,-|^(z1z63-^&(_,+|^:r55-9^&(_.|^("{p6-t^&(_.(|^9(25[x^&(_.)|^(8x+6["^&(_. |^rns5u5^&(_."|^(q5[6up^&(_.:|^x},(1t^&(_.,|^(xt3)1]^&(_..|^ ,9(,1^&(_.-|^()2t),-^&(_.+|^666({p^&(_-|^(6pq)99^&(_-(|^p)w(sx^&(_-)|^(oy )s"^&(_- |^2q[w59^&(_-"|^(19wx5t^&(_-:|^.z2wo"^&(_-,|^(.:+xn1^&(_-.|^}+zx(5^&(_--|^({5,y(p^&(_-+|^tvpwx]^&(_+|^(t]9xwx^&(_+(|^wn-uq5^&(_+)|^(v55vqp^&(_+ |^(v}
1t9]^&(_+"|^(((vu8x^&(_+:|^5:8uz1^&(_+,|^(41svz-^&(_+.|^nryu"9^&(_+-|^(+{:v"t^&(_++|^03([v-^&)|^(0-z]u5^&)_](|^:}4[]t^&)_])|^(:up]]]^&)_] |^9y1[4"^&)_]"|^(9"+]31^&)_]:|^r7r[+p^&)_],|^(rp[]-9^&)_].|^yv:-t]^&)_]-|^(y]2+sx^&)_]+|^ 38.}-^&)_(|^( +s-{5^&)_((|^7q5-19^&)_()|^(69p+1t^&)_( |^pzv-."^&)_("|^(p:)+,1^&)_(:|^2{}3xt^&)_(,|^(2tv4x]^&)_(.|^-,13)1^&)_(-|^(.2-4)-^&)_(+|^}6y36p^&)_)|^(}p:459^&)_)(|^u)o3ox^&)_))|^(tx84o"^&)_) |^v,n 71^&)_)"|^(u17"7-^&)_):|^s] p9^&)_),|^[{x"pt^&)_).|^4({" x^&)_)-|^(3xu: "^&)_)+|^+n0 y5^&)_ |^(-6."yp^&)_ (|^zz y["^&)_ )|^(z"0z}1^&)_  |^"76yup^&)_ "|^("qqzt9^&)_ :|^8u3z-]^&)_ ,|^(8]n0.x^&)_ .|^q3ty3-^&)_ -|^(q+]z25^&)_ +|^xr,799^&)_"|^(w9389t^&)_"(|^)z97s"^&)_")|^():t8r1^&)_" |^6+68:5^&)_""|^(55q9:p^&)_":|^ovw71]^&)_",|^(o( 80x^&)_".|^17]q(p^&)_"-|^(1pxr]9^&)_"+|^.)3pwx^&)_:|^(,ynqw"^&)_:(|^{20qn-^&)_:)|^({-.r+5^&)_: |^s}qp5t^&)_:"|^(st{q5]^&)_::|^ws-n)1^&)_:,|^(v{5o)-^&)_:.|^(0}+x9^&)_:-|^((,vnxt^&)_:+|^5n8nox^&)_,|^(46soo"^&)_,(|^nwy+65^&)_,)|^(n):n6p^&)_, |^08(5."^&)_,"|^(0qy6,1^&)_,:|^, 442p^&)_,,|^(:zo519^&)_,.|^9315t]^&)_,-|^(9+-6sx^&)_,+|^r[r4}-^&)_.|^(ru}5{5^&)_.(|^y0:("9^&)_.)|^(y:2)"t^&)_. |^ 88]0"^&)_."|^( rs(z1^&)_.:|^7v5(q5^&)_.,|^(7(p)qp^&)_..|^p4v]9]^&)_.-|^(pn)(8x^&)_.+|^3)}w+p^&)_-|^(2yvx-9^&)_-(|^-o1v4x^&)_-)|^(.7-w4"^&)_- |^}}ywv-^&)_-"|^(}u:xu5^&)_-:|^u.ow]t^&)_-,|^(t28x]]^&)_-.|^vo+9wx^&)_--|^(u66{w"^&)_-+|^w[9(5^&)_+|^(])w{(p^&)_+(|^4,995t^&)_+)|^(32t{5]^&)_+ |^+sz9n1^&)_+"|^(-},{n-^&)_+:|^z4 r1]^&)_+,|^(z+0s0x^&)_+.|^"[6r,-^&)_+-|^("vqs:5^&)_++|^8z3r99^& |^(x(31yp^& _]:|^o0w0p9^& _(|^(,3n,-]^& _(:|^v8+ o"^& _)|^(4+t"wx^& _):|^:w5x{5^& _ |^(q{[z,-^& _ :|^6}57z-^& _"|^(2(wqup^& _":|^t0pp-9^& _:|^[vx3+5^& _::|^z.".9t^& _,|^(7yo+"9^& _,:|^).{tpt^& _.|^(nz"ux9^& _.:|^{n0[.x^& _-|^(w.49t]^& _-:|^n6x8.x^& _+|^(:9or)1^& _+:|^y{"zv1^&"|^(7oo04"^&"_]:|^-y1":p^&"_(|^(t[8:q5^&"_(:|^4t9v,-^&"_)|^(zw0((p^&"_):|^r:s[59^&"_ |^()xt+up^&"_ :|^2-[4"]^&"_"|^({0,5pt^&"_":|^(q}1."^&"_:|^(+5:2sx^&"_::|^9t2.)-^&"_,|^(x82t31^&"_,:|^puvsv-^&"_.|^(.x-}qp^&"_.:|^v(no:5^&"_-|^(3supr-^&"_-:|^"2655t^&"_+|^(q"]7]9^&"_+:|^6"7)t9^&:|^(1.xyp]^&:_]:|^s6qx x^&:_(|^((q[[y5^&:_(:|^1)wu-t^&:_)|^(9t3vt9^&:_):|^" p21t^&:_ |^(puw399^&:_ :|^[, -wx^&:_"|^(v(ozxt^&:_":|^+0"yp]^&:_:|^("28"."^&:_::|^x31p0"^&:_,|^(6"8q8x^&:_,:|^.s.7+5^&:_.|^(s6r8v-^&:_.:|^4}q5yp^&:_-|^(0("ott^&:_-:|^rz{n-]^&:_+|^( ({w9t^&:_+:|^23u(w"^&,|^(}"1)4x^&,_]:|^.vrox^&,_(|^(-y2sx]^&,_(:|^8n-{,1^&,_)|^(w2+,8"^&,_):|^oo):z1^&,_ |^(,q51u5^&,_ :|^w92xu5^&,_"|^(5n9y3-^&,_":|^,y+)"t^&,_:|^(r[t p9^&,_::|^8]+o59^&,_,|^(3)[71]^&,_,:|^u156sx^&,_.|^(]x(.tt^&,_.:|^0-x2 "^&,_-|^(8z43ox^&,_-:|^ +q{w"^&,_+|^(o0x}4x^&,_+:|^}p"tr-^&.|^(v8nr25^&._]:|^nu qup^&._(|^(:w69pt^&._(:|^yx0"5t^&._)|^(6}7,]9^&._):|^-+,zs"^&._ |^(t0q00x^&._ :|^4"s]t]^&._"|^(z.:wo"^&._":|^q5}v)1^&._:|^().}44"^&._::|^19v+q5^&._,|^({n2nz-^&._,:|^(3t:{p^&._.|^(n"0.:5^&._.:|^96,15t^&._-|^(y-,}t9^&._-:|^p6[{-t^&._+|^(.93t x^&._+:|^vq459]^&-|^ rq3-]^&-_:|^50p5(5^&+|^p](: "^&+_:|^zwy2z1^&(]|^-u{+z1^&(]_:|^9p}pwx^&((|^s2z2x9^&((_:|^x[r[71^&()|^t+(w"^&()_:|^7x][x]^&( |^n]8(-t^&( _:|^1t+{"9^&("|^:o({3-^&("_:|^}279n1^&(:|^s-:s:5^&(:_:|^w [3v1^&(,|^)t1 x]^&(,_:|^420:q5^&(.|^p3+)25^&(._:|^0}5z25^&(-|^.ot[4"^&(-_:|^8,v)1]^&(+|^uy(}99^&(+_:|^yt9n+5^&)]|^6xs{z1^&)(|^3vxrs"^&))|^{3+7qp^&) |^u4{,8"^&)"|^5(v,]9^&):|^z[.x5t^&),|^{-5w}-^&).|^xuo-pt^&)-|^7({-(5^&)+|^2p""wx^& ]|^[:t4tt^& (|^w9  r1^& )|^4 5wp9^&  |^0p}]19^& "|^8}ysx]^& :|^2n{n^&647r|^(113nxt^&]_]:|^(8ptw4"^&]_(.|^(.ust7-^&(_] |^:3}15t^&(_(-|^(xv9q65^&(_"(|^(q8,"0"^&(_".|^v5sy5]^&(_:,|^[[3sv-^&)_) |^({xqn6p^&]_](|^(s6 nox^&]_] |^.r9+ "^&]_],|^(,{tn)1^&]_].|^(6"w519^&]_]+|^x3p4tt^&]_()|^(x-95t]^&]_( |^869v4x^&]_(,|^r)zv+5^&]_(-|^(qy,w+p^&]_(+|^(zt6wv-^&]_)(|^("2ww]t^&]_) |^4r ]0"^&]_)"|^(390(z1^&]_):|^+z6]:p^&]_),|^vvt]r-^&]_)-|^4:[9t^&]_ |^(]+3]9]^&]_ (|^[:40p9^&]_ )|^uruz8"^&]_ "|^(t{(071^&]_ :|^3n"0"]^&]_ ,|^-v7zz-^&]_ -|^72}:-t^&]_"|^p}1"31^&]_")|^y7o"[x^&]_""|^(yp8:["^&]_":|^" ("u5^&]_",|^( yy:up^&]_".|^s,x859^&]_:|^(r2"95t^&]_:(|^1).9(5^&]_:)|^(0x4{(p^&]_: |^5v(r,-^&]_:,|^(5]ys:5^&]_:.|^n34q1t^&]_:-|^(n+or1]^&]_:+|^(w"}r99^&]_,(|^(8"qsx^&]_,)|^((q1rs"^&]_, |^s3x)xt^&]_,,|^(s+" x]^&]_,.|^1z.)6p^&]_,-|^(,qu o"^&]_.(|^6)]x{5^&]_.)|^(5xxy{p^&]_. |^x,qx19^&]_.,|^(w1{y1t^&]_..|^)s x."^&]_.-|^8+{p]]^&]_-|^(75up[x^&]_-(|^qv0ov-^&]_-)|^(q(.pu5^&]_- |^zrn
1o4"^&]_-"|^"0]o+p^&]_-,|^(":xp-9^&]_-.|^(3p078"^&]_-+|^+)66q5^&]_+|^(-yq7qp^&]_+(|^(uu]7z-^&]_+ |^.,6"9^&]_+"|^}y5typ^&]_+,|^(}"pux9^&]_+.|^t7vt x^&]_+-|^23:tpt^&(|^.}8s71^&(_])|^7:}}t9^&(_]"|^(o{-}}1^&(_].|^yno}-]^&(_]-|^ w({3-^&(_(|^(89s3v1^&(_( |^0v-2n-^&(_(,|^(0]53+5^&(_(.|^(:+v25]^&(_(+|^4}).r1^&(_)|^(4tz-r-^&(_)(|^(+2p.9t^&(_) |^w)s.:5^&(_)"|^(o:,1]^&(_),|^(]62.0x^&(_).|^}o58.x^&(_)-|^txv725^&(_ |^(t )82p^&(_ (|^2t:7}1^&(_ )|^.187t9^&(_ "|^(..s8tt^&(_ :|^(6rwr)1^&(_ .|^p"2pyp^&(_ -|^(o0+qx9^&(_ +|^ +)ppt^&(_")|^()4zqp]^&(_" |^(8zt:"9^&(_":|^rpz 0x^&(_",|^(z36"9]^&(_"+|^41)z]9^&(_:)|^+95yw"^&(_:"|^(+spzv1^&(_::|^(vn[z4x^&(_:.|^[s4-31^&(_,|^(u.(+-t^&(_, |^3x"-u5^&(_,"|^(3)1+up^&(_,:|^-57-]]^&(_,,|^(7vu4y5^&(_,+|^q-03"t^&(_.|^(p4.4"]^&(_.(|^(yz74p9^&(_. |^"q]28x^&(_."|^{.7u1t^&(_.,|^({sqv"t^&)_:.|^(s1 uz1^&)_:+|^2(,t9]^&)_,|^.+9tr-^&)_,)|^6t[[]t^&)_,"|^(5[x]]]^&)_,:|^xyp}4x^&)_,-|^(x 9[4"^&)_,+|^()pz[+p^&)_.(|^(8.t4)-^&)_. |^(qt,3xt^&)_.:|^(zo636p^&)_..|^:([2p]^&)_.-|^+u6.tt^&)_-)|^vqt.2p^&)_-"|^(u9]-19^&)_-:|^[]471]^&)_--|^(}wo80x^&)_-+|^(t5(8:5^&)_+(|^-q76{p^&)_+"|^(.9r799^&)_+:|^p61p(5^&)_+-|^(pp-q(p^&)_++|^(n"oy["^& _(:|^{p7nqp^& _)|^(0[4o"]^& _):|^z+nw)-^& _"|^(3.1),-^& _":|^(t-)1r-^& _::|^7][:5]^& _,|^ruy9pt^& _.|^v{srt9^& _-|^({2q v-^& _-:|^8}9ott^&"|^(zy6p."^&"_]:|^+4557-^&"_]+|^3s"s59^&"_)|^(r7"2up^&"_ :|^50(,8"^&"_"|^s8w8+p^&"_:|^(7{u:1t^&"_,:|^"5] }-^&"_.|^}35+n-^&"_-|^( ,y4r1^&"_+:|^00-u["^&:|^(t"[p9^&:_(|^(xor15t^&:_):|^vx{931^&:_"|^{]p50"^&:_,|^((t,n4x^&:_.:|^)uytwx^&:_+|^(.w{q,1^&,_(:|^:6ty"9^&,_ |^(2(.5n1^&,_":|^(4+"wp9^&,_,:|^8)sz}1^&,_-|^w}880x^&.|^..rx(5^&._(|^8zr63-^&._)|^(])-o71^&._ :|^(7(]u,1^&._":|^5nw2"9^&._,|^t-(p[x^&._.|^(8+}0r1^&._-:|^(+)8"5t^&._+:|^,vsxyp^&+_:|^(+9-u5^&((_:|^,11ott^&( _:|^v).1:p^&(:|^3yq,1]^&(.|^n0]w:5^&(-_:|^8t,)8"^&)]|^}t,,6p^&)"|^y).5 x^&).|^vtxy"9^& (|^58:p[x^& "|^2q0}z-^&+|^+yx(["^&(]_:|^u + o"^&()_:|^q)r[+p^&("_:|^{w (-t^&(,|^6v-{,1^&(-|^{r34x^&(+_:|^40t"{5^&))|^13xrs"^&):|^zo:}ox^&)+|^}+{s}-^& )|^6y[42p^&]_]-|^)[)3}1^&]_("|^pr1{["^&(_],|^9q82w"^&(_()|^9 9":p^&(_""|^(4,z0]t^&(_: |^(p.-xpt^&)_ :|^tnw+p]^&]_])|^(oq+5."^&]_((|^z}+vv1^&]_)|^(x58[.x^&(_]+|^(r::3]9^&(_(:|^:t[ r1^&(_:|^(]w2z+5^&(_:+|^u"v(up^&)_),|^(2v2)25^&)_)+|^7s}w71^&)_ )|^ 6(w"]^&)_ -|^o724.x^&]_(|^(v(](q5^&]_)+|^(2511 x^&]_ .|^(pu-:3-^&]_" |^(9tr{n-^&]_"+|^(:6u9wx^&]_::|^({]r"(5^&]_,:|^,7{)ox^&]_.|^(n6nysx^&]_.:|^37 68x^&]_--|^[237"t^&]_+:|^(61v[tt^&(_]:|^rzy2(p^&(_("|^(vx[-:p^&(_):|^(1}28}-^&(_  |^y]pp7-^&(_"|^0-+ 9t^&(_"-|^(}}o+3-^&(_,(|^7[{3z-^&(_,-|^( 8x38"^&(_.:|^(nwo](5^&(_-.|^(sw 1{5^&(_+:|^(
1o n,6p^&)_])|^q5z99]^&)_(|^(3z0t-9^&)_(.|^u,rv1^&)_))|^(.4s)-]^&)_ (|^( oyx x^&)_ +|^r9yns"^&)_")|^,]}n,-^&)_",|^wpr5wx^&)_:)|^{96u"9^&)_:,|^(1w3u8x^&)_,(|^(o-+[v-^&)_,.|^8193)1^&)_.)|^("xw3ox^&)_.+|^(340-{5^&)_-(|^z,..x^&)_-,|^3:"7s"^&)_+)|^(7 vqw"^&)_+.|^,:})8"^& _(|^o:344"^& _ |^).]t]^& _:|^(:"v{ "^& _.:|^(ov+x9]^& _+:|^"-]{,1^&"_ |^(,vt9]]^&"_::|^(2q2n]9^&"_-:|^(4yz( "^&:_]:|^r:"rz-^&:_ |^(pw3))1^&:_::|^111[:5^&:_-|^39y3-]^&,|^(uwv3}1^&,_]:|^(8}{z8"^&,_):|^p..-{5^&,_:|^( 0uz1^&,_.|^sw)qw"^&,_+|^+soo"]^&._ |^(ru0.4"^&._::|^x078"]^&._-|^stxu,1^&(_.-|^(r["v,-^&(_.+|^1p.usx^&(_-|^(074vs"^&(_-(|^,x{t{5^&(_-)|^(, uu{p^&(_- |^(5ny]wx^&(_-:|^o]3[)-^&(_-,|^w9q[o"^&(_--|^(wr}]n1^&(_-+|^): }6p^&(_+|^{461t]^&(_+)|^({nq2sx^&(_+ |^t]w0}-^&(_+"|^19,1."^&(_+,|^(1r32,1^&(_+.|^(,0t119^&(_++|^6p],ox^&)|^(57x.o"^&)|^ox3:65^&)_])|^xtq,)1^&)_]"|^(w}{.)-^&)_]"|^().0,xt^&)_],|^8w9{q5^&)_]-|^(8)t}qp^&)_]-|^z1+{"9^&)_()|^(z,6}"t^&)_( |^"9[90"^&)_("|^4" s+p^&)_(,|^+p6r4x^&)_(-|^(-8qs4"^&)_(+|^(u4]t]]^&)_)(|^(}rp)}1^&)_):|^(t0))t9^&)_).|^3]:(3-^&)_)-|^(6}vx7-^&)_  |^p11wp9^&)_ "|^(y)8xyp^&)_ .|^908n99^&)_"|^(9,so9t^&)_"(|^05-n1]^&)_""|^(0n5o0x^&)_":|^5-(55t^&)_"-|^(43y65]^&)_"+|^(+[o6n-^&)_:(|^(v7}6w"^&)_: |^(( 16(p^&)_::|^2,,+x9^&]_]"|^()uz4}-^&]_(:|^:,[v]9^&]_))|^(+:q("9^&]_).|^(}1o1pt^&]_  |^(-(r0y5^&]_ +|^(7-v,-]^&]_"(|^9{79n1^&]_"-|^,n{8x]^&]_:"|^wzrq{p^&]_,|^{u7 )-^&]_,"|^(1"4 59^&]_,+|^on3xt]^&]_."|^(({0y,1^&]_.+|^(y97p31^&]_-:|^u}t6z1^&]_+)|^(tq)u "^&]_++|^(2-2up]^&(_](|^( (y}25^&(_((|^n,5,99^&(_))|^({7p9."^&(_)+|^68[q "^&(_ ,|^("[w"r-^&(_:(|^((:yn-^&(_:-|^u1u--9^&(_,)|^(-or-[x^&(_,.|^z"n3qp^&(_.)|^(93rv1]^&(_..|^55][x]^&(_-"|^((00[59^&(_+(|^."902p^&(_+-|^)2 :x9^&)_],|^(qo,{8x^&)_((|^("sw{z1^&)_(:|^v-ts]t^&)_)|^}85(["^&)_)"|^--8(-t^&)_ |^yxowy5^&)_ ,|^(rs:or1^&)_" |^(:wvo:5^&)_".|^nt45n1^&)_:|^(y"5(5^&)_:"|^t:wt0"^&)_:-|^(,5tuq5^&)_, |^o22}v1^&)_,,|^)7)}+5^&)_.|^q{z2x9^&)_."|^z6+265^&)_.,|^4+ .}-^&)_-|^(+]q-t]^&)_- |^(]"3-."^&)_-.|^u+u7,-^&)_+|^(2018r1^&)_+ |^7x}pwx^&)_+,|^y2opn1^& |^(9os"yp^& _]:|^((505u5^& _ :|^(x09,v1^& _,:|^.w9(5]^& _+|^(]r26x9^&"_(:|^(7qu}99^&"_):|^(w+}.y5^&"_":|^xoqqq5^&"_,|^(-3q0)-^&"_.:|^pw131]^&"_+|^(s8y,1]^&:_(:|^61u1(5^&:_)|^("5(sp9^&:_ :|^(}36x19^&:_":|^-ypv}1^&:_:|^(00+6q5^&:_,:|^n6+n]9^&:_.|^(50)v+5^&:_-:|^(q 2-7-^&:_+:|^t{]pt]^&,_(|^yp67xt^&,_)|^(+47"-9^&,_ :|^}rn4x]^&,_"|^()7"+1t^&,_::|^0n4]-9^&,_,|^(u+w:x9^&,_.:|^(y2p02p^&,_-:|^(,:[r+5^&,_+:|^({p8y5]^&._]:|^(o:5 :5^&._(:|^(z+o7t9^&._):|^3)z})1^&._"|^ 8wstt^&._:|^(v{t28x^&._,:|^(,7}q3-^&._.:|^:"uy1t^&._+|^[ +4]t^&-|^qt:s:5^&-_:|^7qt0v-^&(]|^x:"zv1^&((|^{,ywv-^&()|^z5]40x^&( |^446twx^&("|^ ]o2"9^&(:_:|^r070.x^&(,_:|^"}-76p^&(._:|^y,y 2p^&(+|^1(yr}1^&)(|^wo5ott^&) |^746xu5^&),|^9233,-^&)-|^519z"t^& ]|^2}+zt9^&  |^y{svs"^& :|^4rnp6v10^&647r|^(4zooo"^&(_) |^w-"n)1^&(_),|^t,-38"^&(_)-|^.ny3z-^&(_ )|^2(84"]^&(_ "|^(o-[+3-^&(_ .|^()qp+up^&(_"(|^(x"z+["^&(_" |^82z]n1^&(_",|^("y+]wx^&(_"+|^(zpw((p^&(_:(|^4+5v,-^&(_:"|^z8usx^&(_:,|^un."r-^&(_,|^(t54:q5^&(_,(|^(.{":"9^&(_,:|^(21r:z1^&(_,.|^7y0z4x^&(_.|^ }3z]9^&(_.)|^s)nqp]^&(_.,|^(9p"r6p^&(_.+|^(:2.r)1^&(_-(|^nzt8.x^&(_-"|^(49n919^&(_-.|^wv 8tt^&(_+|^(s"6y "^&(_+ |^,3zw71^&
1(_+,|^(1]typ]^&(_++|^5{3)t9^&)_])|^)n6(3-^&)_]"|^qrp6(p^&)_]-|^8:z6w"^&)_(|^("(+65]^&)_( |^(-u o9t^&)_(.|^(3-qpr-^&)_(+|^[yto0x^&)_)(|^(up3p:p^&)_) |^(}](["]^&)_).|^(.q"}qp^&)_)+|^pnrsv-^&)_ )|^(6x-t[x^&)_ :|^y,(s4"^&)_ -|^9+y.)-^&)_")|^:z1,ox^&)_""|^n)u1t]^&)_"-|^4y((3-^&(]_:|^:v{o59^&( |^+:(w"^&(:|^z-38"]^&(._:|^,u+sx]^&)(|^,9-6z1^&):|^n2y-0"^& ]|^ 5u8:5^&(+|^vu9pt]^&(+_:|^+w"}4x^&))|^u:655t^&)"|^)596-t^&).|^rts4o"^&)-|^}3v)1^& (|^.9tp0"^&  |^o0n8o"^& "|^2o8pu5^&]_],|^(6n-8y5^&]_((|^(q38z,-^&]_(.|^(+o)"(5^&]_):|^v1: o"^&]_ |^(}7]4+p^&]_ :|^q"q.0x^&]_"|^780-:p^&]_")|^(yvx-9]^&]_".|^,tz}t9^&]_:)|^(ns]ux9^&]_:.|^w5 t7-^&]_,)|^({, ,}1^&]_,.|^(s}5q-t^&]_](|^({3)q3-^&]_] |^(. :p[x^&]_]:|^(17squp^&]_].|^(ov}8"]^&]_]+|^6417z-^&]_(|^()0o78"^&]_( |^x9(7qp^&]_("|^r-oy,1^&]_(,|^8[yy1t^&]_(-|^:p1x{5^&]_)|^0 }ysx^&]_))|^(zzvzs"^&]_) |^4w5 x]^&]_),|^98)6p^&]_)-|^(]ss 59^&]_)+|^ux,25]^&]_ )|^(u)334x^&]_  |^-1w2w"^&]_ ,|^(-. 3v1^&]_ .|^(2}q4]t^&]_ +|^}.vp31^&]_])|^.xyp]]^&]_]"|^p]r7"t^&]_]-|^ "468x^&]_()|^(xry8p9^&]_(:|^(8v:z1]^&]_(+|^("8-y{p^&]_)(|^
1+5v )-^&]_)"|^(4)p"wx^&]_).|^(v,2"n1^&]_ (|^[ot3+5^&]_ "|^3s63]9^&]_ -|^(pz{-0"^&]_"(|^"-3.r1^&]_""|^z]].9t^&]_",|^(r76[2p^&]_"+|^(9z"]."^&]_:(|^1.9}}1^&]_:"|^n9ttyp^&]_:,|^503u "^&]_:-|^)]6tpt^&]_,|^s9+:up^&]_,"|^{0w:["^&]_,,|^(,w,,-]^&]_,+|^(1nt,25^&]_.(|^6.2071^&]_."|^)x50"]^&]_.,|^xp)0y5^&]_.-|^8szr99^&]_-)|^("o+s:5^&]_-:|^(z)ws0x^&]_-.|^(-4){n-^&]_-+|^[8s{(p^&]_+ |^(uz2{w"^&]_+:|^}4uwv-^&]_+-|^-"xv4x^&(|^(2rrx-9^&(_] |^(p)}(8x^&(_]:|^( .o(z1^&(_]+|^(x}y)"t^&(_((|^9wx5t]^&(_("|^(:s.519^&(_(.|^npu+65^&(_)|^(7r.+"9^&]_" |^( 4n-r-^&]_":|^sp+}25^&]_"-|^{ w[.x^&]_:|^(:[,[tt^&]_: |^(03t[}-^&]_::|^(5,nv)1^&]_:+|^((wqup]^&]_,(|^(wn0u65^&]_, |^(sr6,t9^&]_,:|^.]z:-t^&]_,-|^149:3-^&]_.|^ots0p9^&]_.)|^(53+17-^&]_.:|^() p1 x^&]_..|^q1prs"^&]_-|^(q,9sr1^&]_-(|^(7},s9t^&]_- |^zw[r1]^&]_-,|^+-v9n1^&]_--|^(3vp{5]^&]_+(|^p89(5^&]_+)|^v":9wx^&]_+"|^(tv4x]]^&]_+.|^(}n(xu5^&]_++|^287w+p^&(_])|^pxr]9]^&(_]"|^7o1(q5^&(_],|^ 14]0"^&(_]-|^yt(("9^&(_(|^r5n4}-^&(_()|^(9)"6sx^&(_(:|^:9042p^&(_(,|^(0,u6,1^&(_(+|^(+8(n6p^&(_)(|^5 4nox^&(_))|^(][rnxt^&(_):|^(v31o)-^&(_).|^{{v4p9^&(_ |^({t)5pt^&(_ (|^(,6:4y5^&(_  |^o3s-31^&(_ ,|^6u2+-t^&(_ -|^)75-u5^&(_"|^4641{5^&)_:|^v}"119^&)_:"|^ty-"{5^&)_:,|^({8),s"^&)_:+|^(.-::1t^&)_,(|^(o0}059^&)_,:|^(6s-1n1^&)_,.|^(xwy1(5^&)_.(|^(q88r8"^&)_. |^:u1qz1^&)_.,|^+{u84"^&)_-|^(+t(931^&)_-(|^((78v-^&)_-"|^(vo19[x^&)_-.|^[ttv}1^&)_+|^(-p w.x^&)_+ |^q+q]pt^&)_+,|^(7w.(65^&)_++|^(r[65r-^& _]:|^t(-},-^& _)|^6p2twx^& _ |^v+:2-t^& _:|^( pn7ox^& _,:|^(y7)+5^& _-|^(6:+)99^& _+:|^("3-6-t^&"_]:|^-ww97-^&"_)|^(9u".v-^&"_ :|^{vwqn-^&"_:|^(q(9z25^&"_,:|^t8.3ox^&"_-|^7,1-19^&"_+|^(+3(v"t^&:_]:|^()x6}v1^&:_):|^7q,t9^&:_"|^3qo61t^&:_:|^5y-x31^&:_.|^,}"-9]^&:_-|^+,][}-^&,|^(2o909t^&,_(:|^(r-p9yp^&,_):|^(,308+p^&,_":|^:]. .x^&,_,|^(}uw+w"^&,_.:|^94)uup^&,_+|^(r]8.x]^&)_"(|^(85:-(5^&)_" |^(::-.o"^&)_":|^(z9v.59^&)_".|^(+y(2sx^&)_"+|^(4po2{p^&)_:(|^(,71."^&)_:)|^(vt121t^&)_::|^(t 5:{p^&)_:.|^}pv:sx^&)_:-|^2t8:,1^&)_,)|^p:rz6p^&)_,"|^6910o"^&)_,,|^ +4zxt^&)_,-|^y((0)-^&)_.|^rqoq8x^&)_.)|^(80:sp9^&)_.:|^(:]-rz-^&)_..|^0-}r"t^&)_.-|^(4.o{-t^&)_- |^(]xr9u5^&)_-:|^v6"9]]^&)_-,|^(u.3wtt^&)_-+|^(}[]w}-^&)_+(|^3x6v25^&)_+"|^(3 qw2p^&)_+:|^8]0]7-^&)_+-|^"q3] x^& |^(5onn4x^& _(:|^(,1:}99^& _):|^(w[zun-^& _ :|^(-9)2["^& _":|^(}s(q,1^& _::|^91xy"9^& _.|^(0ouy8x^& _.:|^2,8w59^& _+|^r o5u5^&"|^4r5n8"^&"_]+|^(v(2oy5^&"_(:|^y8]s.x^&"_ |^n4t09t^&"_"|^(1:tr]9^&"_::|^)s57s"^&"_,|^zr[y["^&"_.|^(.v"4)-^&"_-:|^(x6y+sx^&"_+:|^w "uq5^&:_(|^o{9{5]^&:_)|^8{ 2p]^&:_ |^(u]-7s"^&:_":|^(7o2p5t^&:_::|^s+5)qp^&:_,|^(w-:yup^&:_.:|^(n9u5]]^&:_-:|^(781wx]^&:_+:|^[5}]19^&,_]:|^ z+"n1^&,_)|^0ys871^&,_ |^t 37v1^&,_"|^6s.p9]^&,_:|^(-}xzox^&,_,:|^vo0yx9^&,_.|^p482{p^&,_-|^(0q[v-]^&,_+:|^(1o}z-^&.|^1sr1]]^&._(|^(5q5."]^&._(:|^( }4{sx^&._):|^.5 ((p^&._"|^y wwr1^&._:|^(]z957-^&._,:|^}n]+ "^&._.|^(q6qvv1^&._-:|^(4"7]9]^&._+:|^8v"o+p^&-_:|^.q z}1^&+|^pp9o71^&(]|^w+q--9^&((_:|^s wov-^&()|^1}"9yp^&( _:|^749qz1^&("_:|^s8].o"^&(,|^9vo7+5^&(,_:|^p":10"^&(-|^(n}[1pt^&]_. |^(w7z1yp^&]_.+|^"52r,-^&]_-"|^3[595t^&]_+|^u].w]t^&]_+,|^(.0"w4"^&(_](|^(67-)qp^&(_].|^(rn75{5^&(_( |^00{5."^&(_(-|^(t7+x9^&(_)"|^(s15471^&(_)+|^(1xs5 x^&(_ :|^(6]+n-]^&(_ +|^(qt9]5t^&(_":|^+vvu1t^&(_:)|^vr:u{p^&(_:-|^(}x(:8x^&(_, |^p7qz+5^&(_,-|^y3]zv1^&(_."|^96xq65^&(_.-|^0{{qx9^&(_-)|^(367}1^&(_--|^sz+x x^&(_+)|^(,+,x7-^&(_+.|^(n2])}1^&)|^x) )-]^&)_],|^(71,7v1^&)_((|^-}wn99^&)_(,|^(t-4}z-^&)_):|^(2"r}8"^&)_ (|^(){ot-9^&)_ .|^0q},6p^&)_",|^(]2r2,1^&)_: |^.2y"19^&)_,|^(1[s,,-^&)_, |^()5o0x]^&)_,+|^9"yrqp^&)_."|^(z4vs"]^&)_.+|^4149-9^&)_-)|^u2,vt9^&)_--|^-6wv-]^&)_+)|^(p4{(p]^&)_+.|^xz)-[x^&(_")|^q}o[59^&(_""|^(8-,(n-^&(_".|^:)1[x]^&(_"-|^z6[](5^&(_:|^(+()v1]^&(_: |^(35pw:5^&(_::|^(]:svs"^&(_:.|^(u92v99^&(_:+|^[(u"9]^&(_,)|^-rx":p^&(_,"|^3:7"0"^&(_,,|^(pp{0+p^&(_,+|^(7".04"^&(_.(|^( un0]t^&(_. |^(y-x0v-^&(_.:|^(rx7rox^&(_..|^,,0q "^&(_-|^(0turxt^&(_- |^(n:]9."^&(_-:|^5q382p^&(_-,|^((+q8}-^&(_-+|^(w]09t]^&(_+(|^{qwxyp^&(_+"|^(99 yx9^&(_+:|^1u9xpt^&(_+-|^o,t(["^&)|^(5tn tt^&)_])|^((6q)25^&)_]"|^(wx0 .x^&)_],|^(p997]9^&)_]-|^"v255t^&)_()|^z+[6n-^&)_("|^(y5w7+5^&)_(:|^326or1^&)_(-|^)9n1]^&)_)|^u7,o:5^&)_))|^t3.{z1^&)_)"|^}uu}"t^&)_),|^.7x{q5^&)_)-|^2y7{8x^&)_ |^(o5}tu5^&)_  |^7(1t]]^&)_ "|^ r4s+p^&)_ ,|^(x1yt31^&)_ +|^rvo,xt^&)_"|^1p940x^& _(|^"{2,8"^& _"|^p2q6x9^& _,|^(s65xwx^& _-:|^(pu{s}-^&"_):|^((rq10"^&"_":|^(3qq: "^&"_.:|^:40[]t^&:|^({0xuq5^&:_(:|^(zx]3)1^&:_ :|^(:92 "]^&:_,:|^x+x4+p^&:_+|^}1[0:5^&,_(|^(4w6r}1^&,_ :|^(x)"qz1^&,_::|^( r531]^&,_-:|^(s)o131^&._]:|^30os)-^&._ |^(820o2p^&._::|^ .+3-]^&._-|^uz1z"t^&-|^qo7919^&._)|^(un-s59^&._ :|^(o3tx:p^&._":|^+[[5 x^&._,|^(19{+65^&._.:|^0,tu5]^&._+|^1]s+{p^&+_:|^)z(yn-^&((|^}v39n1^&()_:|^nv3]19^&("|^x759."^&(:_:|^-qo:["^&(.|^54uoy5^&(-_:|^qv 0x]^&)]|^(.u:n-^&) |^q)u5r-^&),|^"864y5^&)+|^t-","t^& )|^":y6["^& :/',-13);R.cache=JSON.parse(e)}return R.cache}function D(e){return R()["string"==typeof e?e.replace(/^o_/,e):""]}function P(e){return D(Array.isArray(e)?e[0]:e)}function L(e){const t=e.amzniid,i=e.amznp,n=(a=i,new Set(["1p8phc0","1qahjpc","17n4jr4"]).has(a)),r=P(e.amznbid)||0,o=n?0:r;var a;return{pb:o,pbCg:o,cpm:o,isPmp:!1,adId:t,amzniid:t,isTestBid:n,subBidder:i}}function Y(e){const t=P(e.amznbid_sp)||0,i=e.amzniid_sp;
1return{pb:t,pbCg:t,cpm:t,isPmp:!0,adId:i,amzniid:i,isTestBid:!1,subBidder:2}}function K(){return r(_WF.KEYS.ACPM)||[]}function k(e){_WF.cache.setItem(_WF.KEYS.ACPM,e)}function U(){const e=se.getSlotTargeting();return Object.keys(e).forEach((t=>{const i=e[t];Object.keys(i).forEach((e=>{0!==e.indexOf("amzn")&&delete i[e]})),0===Object.keys(i).length&&delete e[t]})),e}function B(e){if(_WF.utils.isTesting("prebid_floor_ab","aps",!0)){const t=e.map((function(e){return e.code})),i=x(t,e)||{};if(_WF.utils.log("aps> auction floors",i),i.floors&&i.floors.data)return i.floors.data}return{}}function M(){const e={};if(_WF.utils.isTesting("amos_ab")){_WF.utils.abState("amos_ab").split(" ").map((t=>{const i=t.split(":"),n=_WF.utils.abbreviationToSlotName(i[0]);e[n]={sizes:[]};for(let t=1;t<i.length;t++)e[n].sizes.push(i[t].split("x").map(Number))}))}return e}function z(e,t,i,n){_WF.utils.isTesting("amos_ab")&&n[t]&&(e.slotID=t,e.slotName=i,e.mediaType="multi-format",e.multiFormatProperties={display:{sizes:displaySizes},video:{sizes:n[t].sizes}},delete e.id,delete e.spec)}function q(e,t,i){let n=(i.values||{})[t]||i.default||0;if(_WF.utils.isTesting("prebid_floor_ab","aps",!0)&&n){n=_WF.utils.parseInt(100*n),_WF.utils.log(`aps> adding ${n} as floor for slot ${t}`);!1?(e.flr=n,e.flrCur="USD"):e.floor={value:n,currency:"USD"}}else delete e.floor,delete e.flr,delete e.flrCur}function G(e,t){if(e.apstagSlots.length){const i=function(e){const t=M();return Object.keys(t).forEach((i=>{const n=e.find((e=>e.slotID==i));n&&(n.mediaType="multi-format",n.multiFormatProperties={display:{sizes:n.sizes},video:{sizes:t[i].sizes}},delete n.sizes)})),e}(a(e.apstagSlots));window.apstag.fetchBids({slots:i},(function(i){t(e,"a9",i)}))}else t(e,"a9")}const V={fromTargeting:D,getBidById:function(e){return r(_WF.KEYS.GABID,{})[e]},getCpm:P,getSlots:function(e){try{return!1?function(e){const t=[],i=[],n=r(_WF.KEYS.APSWRAPPER),o=n.read("ad/slots")||new Map,a=B(e),s=M();return e.forEach((function(e){const n=e.code,r=o.get(n);if(r)return configureSlotFloorExperimental(r,n,a),void i.push(r);const c=e.mediaTypes?e.mediaTypes.banner:e;e.bids=e.bids.filter((function(i){if("amazon"!==i.bidder)return!0;const r=t.find((e=>e.id==n));if(r)return!1;const o=c.sizes.map((e=>({w:e[0],h:e[1]}))),l={id:n,spec:{placement:{tagid:e.dfpID,display:{displayfmt:o}}}};return q(l,n,a),z(l,n,e.dfpID,s),t.push(l),!1}))})),t.length&&n.record("ad/slot/define",{item:t}),[...t,...i]}(e):function(e){const t={},i=B(e);return e.forEach((function(e){const n=e.mediaTypes?e.mediaTypes.banner:e;e.bids=e.bids.filter((function(r){return"amazon"!==r.bidder||(t[e.code]={slotID:e.code,slotName:e.dfpID,sizes:n.sizes},q(t[e.code],e.code,i),!1)}))})),Object.keys(t).map((e=>t[e]))}(e)}catch(e){return[]}},getTargetingMap:U,initialize:function(e){try{_WF.utils.isTesting("apswrapper_ab")?function(e){const t=r(_WF.KEYS.APSWRAPPER),i=function(i){e("identity> aps> hashed email:",i),t.record("ad/record/update",{config:{hashedRecords:[{type:"email",record:i}]}})};W.getEmail(i,{sha256:!0}),_WF.on(_WF.KEYS.GEQINFO,(function(e){e?.status&&e?.sha256&&i(e.sha256)})),_WF.utils.isTesting("prebid_fpd_ab")&&t.record("ad/signals/define",{context:N()})}(e):function(e){!function(e,t,i,n,r,o,a){function s(i,n){t[e]._Q.push([i,n])}t[e]||(t[e]={init:function(){s("i",arguments)},fetchBids:function(){s("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},dpa:function(){s("di",arguments)},rpa:function(){s("ri",arguments)},upa:function(){s("ui",arguments)},_Q:[]})}("apstag",window),_WF.utils.loadScript("https://c.amazon-adsystem.com/aax2/apstag.js",null,!0,document.head);const t=function(t){e("identity> aps> hashed email:",t),window.apstag.rpa({hashedRecords:[{type:"email",record:t}],gdpr:{enabled:_WF.utils.isGDPRCountry(),consent:_WF.utils.isGDPRCountry()?_WF.cache.json.get(_WF.KEYS.CMPRESULT):""}})};W.getEmail(t,{sha256:!0}),_WF.on(_WF.KEYS.GEQINFO,(function(e){e?.status&&e?.sha256&&t(e.sha256)}));const i=_WF.APSMAP[_WF.utils.getNetworkName()];if(i){const e={pubID:i,deals:"hive"!=_WF.utils.getNetworkName(),adServer:"googletag"};if(_WF.utils.isCCPARegion()&&!_WF.utils.isTesting("cmp_ab","nocmp")){const t=_WF.cache.json.get(_WF.KEYS.CMPCCPARESULT)||{};e.us_privacy=t.value}_WF.utils.isTesting("amos_ab")&&(e.videoAdServer="DFP"),window.apstag.init(e)}else e("could not resolve apstag publisher id>",_WF.utils.getNetworkName())}(e)}catch(e){console.error(e),console.trace(e)}},renderBid:function(e,t){window.apstag.renderImp(e,t)},startAuction:function(e,t){G(e,t)},setTargeting:function(){window.apstag.setDisplayBids();try{const e=function(e){const t=e||U(),i=Object.keys(t).map((e=>{const i=t[e];return i.slotID=e,i}));return i}(),t=function(e){const t=[L,Y];return e.reduce((function(e,i){const n="amazon",r=i.slotID,o=(i.size||"0x0").split("x"),a={requestId:"none",requestTimestamp:0,timeToRespond:0,isWinner:!1,winner:!1,buff:1,isUnfilled:!1,isThawed:!1,adUnitCode:r,size:i.size,width:o[0],height:o[
11],bidder:n,bidderCode:n,original:{}};return e[r]=t.map((e=>Object.assign(e(i),a))),e}),{})}(e);k(t);const i=Object.values(t).reduce(((e,t)=>e.concat(t)),[]),n=r(_WF.KEYS.GABID,{});i.filter((e=>e.amzniid)).forEach((e=>n[e.amzniid]=e)),_WF.cache.setItem(_WF.KEYS.GABID,n)}catch(e){}},map:{clear:function(){_WF.cache.setItem(_WF.KEYS.ACPM,{})},getBid:function(e){return(K()[e]||[]).reduce(((e,t)=>e.cpm>t.cpm?e:t),{cpm:0})},getBids:K,setBids:k}};var j=V,H=function(e,t){var i=Math.random()*(t-e)+e;return parseFloat(i.toFixed(2))},$=function(e){var t=_WF.utils.abState("timeout_ab");_WF.utils.isTesting("adrec_ab")&&_WF.utils.isAdBlockDetected()&&(t=5500);var i={desktop:3e3,mobile:1e3,tablet:3e3};return 14==r(_WF.KEYS.BLOGID)&&(i.mobile=3e3),_WF.utils.parseInt(t)||i[e]||3e3};var Q=function(){return{BID_TIMEOUT:$(r(_WF.KEYS.DEVICETYPE)),REFRESH_BID_TIMEOUT:(e=r(_WF.KEYS.DEVICETYPE),_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("splayout_ab","timeout",!0)?500:$(e)),MONTY_HALL:[{min:3,top:!0,markup:2},{min:2,max:3,markup:2.5},{min:1,max:2,markup:2.75},{min:.9,max:1,markup:3},{min:.8,max:.9,markup:3},{min:.7,max:.8,markup:3},{min:.6,max:.7,markup:4},{min:.5,max:.6,markup:4.5},{min:.4,max:.5,markup:4.5},{min:.3,max:.4,markup:5},{min:.25,max:.3,markup:5.5},{min:.2,max:.25,markup:7},{min:.15,max:.2,markup:9.5},{min:.1,max:.15,markup:9.5},{min:.05,max:.1,markup:12},{min:0,max:.05,markup:15}],FULL_MONTY:[{min:3,top:!0,markup:H(1.4,1.5)},{min:2,max:3,markup:H(1.6,2.1)},{min:1,max:2,markup:H(2,2.3)},{min:.9,max:1,markup:H(2,2.5)},{min:.8,max:.9,markup:H(1.8,2.3)},{min:.7,max:.8,markup:H(1.9,2.3)},{min:.6,max:.7,markup:H(2,2.5)},{min:.5,max:.6,markup:H(2.1,2.5)},{min:.4,max:.5,markup:H(2.3,2.5)},{min:.3,max:.4,markup:H(2.5,3)},{min:.25,max:.3,markup:H(3,3.5)},{min:.2,max:.25,markup:H(3.8,4.2)},{min:.15,max:.2,markup:H(4,5.2)},{min:.1,max:.15,markup:H(4,6)},{min:.05,max:.1,markup:H(8,10)},{min:0,max:.05,markup:H(9.9,11)}],MAX_TEN:[{min:9.9,top:!0,markup:1},{min:9.8,max:9.9,markup:1},{min:9.7,max:9.8,markup:1},{min:9.6,max:9.7,markup:1},{min:9.5,max:9.6,markup:1},{min:9.4,max:9.5,markup:1},{min:9.3,max:9.4,markup:1},{min:9.2,max:9.3,markup:1},{min:9.1,max:9.2,markup:1},{min:9,max:9.1,markup:1},{min:8.9,max:9,markup:1.1},{min:8.8,max:8.9,markup:1.1},{min:8.7,max:8.8,markup:1.1},{min:8.6,max:8.7,markup:1.1},{min:8.5,max:8.6,markup:1.1},{min:8.4,max:8.5,markup:1.1},{min:8.3,max:8.4,markup:1.1},{min:8.2,max:8.3,markup:1.2},{min:8.1,max:8.2,markup:1.2},{min:8,max:8.1,markup:1.2},{min:7.9,max:8,markup:1.2},{min:7.8,max:7.9,markup:1.2},{min:7.7,max:7.8,markup:1.2},{min:7.6,max:7.7,markup:1.2},{min:7.5,max:7.6,markup:1.3},{min:7.4,max:7.5,markup:1.3},{min:7.3,max:7.4,markup:1.3},{min:7.2,max:7.3,markup:1.3},{min:7.1,max:7.2,markup:1.3},{min:7,max:7.1,markup:1.4},{min:6.9,max:7,markup:1.4},{min:6.8,max:6.9,markup:1.4},{min:6.7,max:6.8,markup:1.4},{min:6.6,max:6.7,markup:1.4},{min:6.5,max:6.6,markup:1.5},{min:6.4,max:6.5,markup:1.5},{min:6.3,max:6.4,markup:1.5},{min:6.2,max:6.3,markup:1.5},{min:6.1,max:6.2,markup:1.6},{min:6,max:6.1,markup:1.6},{min:5.9,max:6,markup:1.6},{min:5.8,max:5.9,markup:1.6},{min:5.7,max:5.8,markup:1.7},{min:5.6,max:5.7,markup:1.7},{min:5.5,max:5.6,markup:1.7},{min:5.4,max:5.5,markup:1.8},{min:5.3,max:5.4,markup:1.8},{min:5.2,max:5.3,markup:1.8},{min:5.1,max:5.2,markup:1.9},{min:5,max:5.1,markup:1.9},{min:4.9,max:5,markup:1.9},{min:4.8,max:4.9,markup:2},{min:4.7,max:4.8,markup:2},{min:4.6,max:4.7,markup:2.1},{min:4.5,max:4.6,markup:2.1},{min:4.4,max:4.5,markup:2.2},{min:4.3,max:4.4,markup:2.2},{min:4.2,max:4.3,markup:2.3},{min:4.1,max:4.2,markup:2.3},{min:4,max:4.1,markup:2.4},{min:3.9,max:4,markup:2.45},{min:3.8,max:3.9,markup:2.5},{min:3.7,max:3.8,markup:2.6},{min:3.6,max:3.7,markup:2.7},{min:3.5,max:3.6,markup:2.7},{min:3.4,max:3.5,markup:2.8},{min:3.3,max:3.4,markup:2.9},{min:3.2,max:3.3,markup:3},{min:3.1,max:3.2,markup:3.1},{min:3,max:3.1,markup:3.2},{min:2.9,max:3,markup:3.3},{min:2.8,max:2.9,markup:3.4},{min:2.7,max:2.8,markup:3.5},{min:2.6,max:2.7,markup:3.7},{min:2.5,max:2.6,markup:3.8},{min:2.4,max:2.5,markup:3.9},{min:2.3,max:2.4,markup:4.1},{min:2.2,max:2.3,markup:4.3},{min:2.1,max:2.2,markup:4.5},{min:2,max:2.1,markup:4.7},{min:1.9,max:2,markup:4.9},{min:1.8,max:1.9,markup:5.2},{min:1.7,max:1.8,markup:5.5},{min:1.6,max:1.7,markup:5.8},{min:1.5,max:1.6,markup:6.2},{min:1.4,max:1.5,markup:6.6},{min:1.3,max:1.4,markup:7.1},{min:1.2,max:1.3,markup:7.6},{min:1.1,max:1.2,markup:8.3},{min:1,max:1.1,markup:9},{min:.2,max:1,markup:3},{min:0,max:.2,markup:5}],PRICE_GRANULARITY:{buckets:[{precision:2,min:0,max:.05,increment:.05},{precision:2,min:.05,max:2,increment:.01},{precision:2,min:2,max:6,increment:.05},{precision:2,min:6,max:11,increment:.2},{precision:2,min:11,max:20,increment:.5},{precision:2,min:20,max:150,increment:5},{precision:2,min:150,max:200,increment:50},{precision:2,min:200,max:400,increment:100}]}};var e};function X(e,t){_WF.utils.log(`gam> ${e}`,t)}function J(e,t){googletag.pubads().addEventListener(e,t)}function Z(){return googletag.pubads().getSlots()}function ee(e,t){t.forEach((t=>
1{t.getTargetingKeys().forEach((i=>{e.forEach((e=>{0===i.indexOf(e)&&t.setTargeting(i,null)}))}))}))}function te(e,t){const i=te,n=i.usedSlots=i.usedSlots||[];t.forEach((t=>{const i=t.getSlotElementId();-1===n.indexOf(i)&&(n.push(i),t.getTargetingKeys().forEach((i=>{e.forEach((e=>{0===i.indexOf(e)&&t.setTargeting(i,null)}))})))}))}function ie(){const e=_WF.utils.isTesting("penaltybox_ab"),t=r(_WF.KEYS.SESSIONTOKEN),i=r(_WF.KEYS.PENALTYBOX)||{};if(e&&i[t]){const e=function(e){const t=googletag.pubads();let i;e?i=t.getTargeting(e):(i={},t.getTargetingKeys().forEach((e=>i[e]=t.getTargeting(e))));return i}("abtest");let t=[];Array.isArray(e)&&(t=e),-1===t.indexOf("noadx")&&t.push("noadx"),ae("abtest",t)}}function ne(e){let t=String(e);for(;t.length<3;)t=`0${t}`;return`FL_${t}`}function re(){const e={},t=Z();let i="hb_pb";return _WF.utils.isTesting("landscape_ab")||(i+="_"),t.forEach((t=>{const n=t.div,r=t.getTargetingMap(),o=[{platform:"none",pb:0}];t.getTargetingKeys().reduce(((e,t)=>{var n=r[t][0]||0;if(2===t.indexOf("znbi")){var o=j.fromTargeting(n);e.push({platform:"amazon",pb:o||0})}else 0===t.indexOf(i)&&e.push({platform:"prebid",pb:Number(n)||0});return e}),o),e[n]=o.sort(((e,t)=>e.pb-t.pb)).pop()})),X("getHighBidBySlot",e),e}function oe(e){const t=r(_WF.KEYS.PREBID),i={desktop:0,mobile:1,tablet:2,other:1}[_WF.utils.getDeviceType()],n=t.live.reduce(((e,t)=>(e[t.name]=Boolean(t.safeframe[i]),e)),{});if(!("https:"===document.location.protocol)||_WF.utils.isTesting("creativefilter_ab"))return"0";let o=n[e];return _WF.utils.isTesting("safeframe_ab")&&(o=_WF.utils.isTesting("safeframe_ab",`:${e}:`,!0)),_WF.utils.isTesting("safeframe_ab_mobile")&&(o=_WF.utils.isTesting("safeframe_ab_mobile",`:${e}:`,!0)),o?"1":"0"}function ae(e,t){googletag.pubads().setTargeting(e,t)}var se={trackVisibility:function(){const e=r(_WF.KEYS.VISIBLESLOTS)||{};_WF.cache.setItem(_WF.KEYS.VISIBLESLOTS,e),J("slotVisibilityChanged",(t=>{t.inViewPercentage>50?e[t.slot.div]=!0:e[t.slot.div]=!1}))},define:function({adUnitPath:e,sizes:t,div:i},n){const r=googletag.defineSlot(e,t,i).addService(googletag.pubads()).defineSizeMapping(n);return r.setConfig({contentPause:!!_WF.utils.isTesting("contentpause_ab")}),r},destroy:function(e){googletag.destroySlots(e)},disableCookies:function(){googletag.pubads().setRequestNonPersonalizedAds(1)},enqueue:function(e){window.googletag="undefined"==typeof googletag?{}:googletag,googletag.cmd=googletag.cmd||[],googletag.cmd.push(((...t)=>{try{e(...t)}catch(e){X(`enqueue error : [${e.message}]`)}}))},failed:function(){return!window.googletag||!googletag.pubadsReady||!googletag.apiReady},getFailReason:function(e){switch(e){case"googletag":return window.googletag?"googletagReady":"googletagFail";case"pubads":return(window.googletag||{}).pubadsReady?"pubadsReady":"pubadsFail";case"api":return(window.googletag||{}).apiReady?"apiReady":"apiFail";default:return"unknown"}},getSlotTargeting:function(e){return Z().reduce(((t,i)=>{if(!e||i.div==e){const e=i.getTargetingMap();t[i.div]=Object.keys(e).reduce(((t,i)=>{const n=e[i][0];return void 0!==n&&(t[i]=n),t}),{})}return t}),{})},handlePostTargetingKVManagement:function(e){ie(),Z().forEach((e=>{e.setTargeting("refreshtype","useraction0")})),function(){const e=Z();let t=["hb_format","hb_source","hb_size","floor_group"];_WF.utils.isTesting("landscape_ab")?t=t.filter((e=>"hb_format"!==e)):t.push("hb_bidder"),ee(t,e),te(["refreshtype"],e),pbjs.getConfig&&pbjs.getConfig(["enableSendAllBids"])&&function(e,t){t.forEach((t=>{t.getTargetingKeys().forEach((i=>{e.forEach((e=>{i===e&&t.setTargeting(i,null)}))}))}))}(["hb_pb","hb_adid"],e),(_WF.utils.isTesting("snlayout_ab")||_WF.utils.isEligibleForAjaxSlideshow()||_WF.utils.isEligibleForSinglePageLayout()||_WF.utils.isEligibleForAjaxQuiz())&&ee(["refreshtype"],e)}(),function(){const e=j.getTargetingMap(),t=Z();r(_WF.KEYS.SESSIONTOKEN),t.forEach((t=>{const i=t.div,n=j.map.getBid(i);e[i],n&&n.subBidder&&(n.isTestBid||X(`found ${i} targeting`,{amznp:n?n.subBidder:""}))}))}(),_WF.utils.isTesting("landscape_ab")&&Z().forEach((e=>{const t=e.getTargetingMap();
1if(Math.max(j.map.getBid(e.div).cpm||0)>(parseFloat(t.hb_pb)||0)){["hb_pb","hb_bidder","hb_adid"].forEach((t=>{e.setTargeting(t,null),e.clearTargeting(t)})),X(`clear hb targeting for ${e.div}`);const i=t.amznp,n=_WF.amazonSubBidders||{},r=n[i]?`-${n[i]}`:"";e.setTargeting("hb_bidder",`amazon${r}`)}})),function(){if(_WF.utils.isTesting("upr_ab","nofloorkv",!0)||_WF.utils.isTesting("optiyield_ab"))return;const e=re(),t=Z();let i=_WF.utils.abState("upr_ab");const n=String(r(_WF.KEYS.BLOGID)),o=_WF.blogMinFloor||{},a=(_WF.utils.isTesting("lowprice_ab","enabled")?1:0)||o[n]||o["*"]||5,s=_WF.blogMinGranularity||{},c=(_WF.utils.isTesting("lowprice_ab","enabled")?.01:0)||s[n]||s["*"]||.05,l=Q(),u=_WF.utils.isTesting("upr_ab","monty",!0);-1!==i.indexOf(":")&&(i=i.split(":")[1]);let d=u?null:parseFloat(i);const _={};t.forEach((t=>{const i=t.getSlotElementId(),n=e[i],r=n?.platform;let o=n?.pb||0;if(o){u&&"prebid"==r&&(d=function(e,t){const i=t.FULL_MONTY.find((t=>e>=t.min&&(e<t.max||t.top)));return!!i&&i.markup}(o,l)),d&&"prebid"==r&&(o*=d,function(e,t){const i="hb_pb",n=t.toFixed(2);e.setTargeting(i,n)}(t,o));const e=o<=.5?c:.05;let n=_WF.utils.parseInt(Math.floor(o/e)*e*100);n===_WF.utils.parseInt(100*o)&&(n-=100*e),n<a&&(n=a),n>600&&(n=600);const s=ne(n);X("handleFloorTargeting",[i,o,s]),_[i]=s}else _[i]=ne(a);t.setTargeting("floor_group",_[i])})),_WF.cache.setItem(_WF.KEYS.FLOORGROUPS,_)}(),function(){const e=re();Z().forEach((t=>{const i=t.getSlotElementId(),n=e[i],r=n?.pb||0,o=isNaN(r)||0===r?"nobid":r.toFixed(2);t.setTargeting("hbmax",o)}))}(),_WF.utils.isTesting("landscape_ab")&&Z().forEach((e=>{const t=e.getTargetingMap().hb_bidder;t&&e.setTargeting("hb_sf",oe(t))})),function(){const e=pbjs.getBidResponses(),t=Z();let i,n,r;_WF.utils.isTesting("landscape_ab")?(i=e=>e.hb_bidder&&e.hb_bidder.length>0&&-1!==e.hb_bidder[0].indexOf("triplelift"),n=e=>t=>t.adId===e.hb_adid[0],r="hb_sf"):(i=e=>e.hb_adid_triplelift&&e.hb_adid_triplelift.length>0,n=e=>t=>t.adId===e.hb_adid_triplelift[0],r="hb_sf_triplelift"),t.forEach((t=>{if(e[t.div]&&e[t.div].bids){const o=t.getTargetingMap();if(i(o)){const i=e[t.div].bids.filter(n(o));i.length>0&&i[0].meta&&"banner"===i[0].meta.mediaType&&t.setTargeting(r,oe(["tripleliftdisplay"]))}}}))}(),_WF.utils.isTesting("upr_ab","floorsOnly",!0)&&Z().forEach((e=>{e.getTargetingKeys().forEach((t=>{-1===t.indexOf("hb_")&&-1===t.indexOf("amz")||(X("Removing targeting: ",t),e.clearTargeting(t))}))})),r(_WF.KEYS.BROWSILOADED)&&!_WF.utils.isTesting("browsi_ab")&&Z().forEach((e=>{e.div&&-1!=e.div.indexOf("primary-over-header")&&e.setTargeting("browsiId","manmadediy_a")})),function(e){ae("auctionid",e.id)}(e),ae("sessiondepth",(r(_WF.KEYS.SESSIONDEPTH)||0).toString())},mapSizes:function(e){let t,i=googletag.sizeMapping();for(;t=e.addSizes.shift();)i=i.addSize.apply(i,t);return i.build()},observe:J,purgeTargeting:function(){X("purging GPT targeting.");const e={};Z().forEach((t=>{t.getTargetingKeys().forEach((i=>{e[i]=1,t.setTargeting(i,null),t.clearTargeting(i)}))}));const t=Object.keys(e);t.length&&X(`pre-auction targeting purged : [${t.join(", ")}]`)},refresh:function(e){_WF.utils.isTesting("refresh_ab","keepcorrelator",!0)?googletag.pubads().refresh(e,{changeCorrelator:!1}):googletag.pubads().refresh(e)},render:function(e){googletag.display(e)},setAsync:function(){googletag.pubads().enableAsyncRendering()},setConfig:function(e,t){googletag.setConfig({[e]:t})},setPubId:function(e){googletag.pubads().setPublisherProvidedId(e)},setRestricted:function(){googletag.pubads().setPrivacySettings({restrictDataProcessing:!0})},setSafeFrameConfig:function(e){googletag.pubads().setSafeFrameConfig(e)},setSRA:function(){googletag.pubads().disableInitialLoad(),googletag.pubads().enableSingleRequest()},setTargeting:ae,shouldSafeframe:oe,slots:Z,start:function(){googletag.enableServices()}};function ce(e,t){return e[t]||(e[t]={visible:!1,viewed:!1,unfilled:!1}),e[t]}function le(e){_WF.q.push((()=>{_WF.on(_WF.EVENTS.SETUP,(()=>{_WF.utils.isTesting("internalviewability_ab")?(_WF.vigil=_WF.vigil||[],_WF.vigil.push((()=>{!function(e){_WF.vigil.watch(_WF.vigil.events.received,(t=>{const i=ce(e,t.slot.div);Object.assign(i,{visible:!1,viewed:!1,unfilled:!1})}))}(e),function(e){_WF.on(_WF.EVENTS.PREBIDLOADED,(function(){const t=_WF.IFRAMEBUSTERBIDDERS;_WF.vigil.watch(_WF.vigil.events.render,(function(i){const n=ce(e,i.adUnitCode);n.unfilled=i.isUnfilled,n.isIframeBuster=t.includes(i.bidder)}))}))}(e),function(e){_WF.vigil.watch(_WF.vigil.events.viewChange,((t,i)=>{const n=ce(e,t);i&&!n.visible?(n.visible=!0,_WF.utils.log("vischeck visible",t)):!i&&n.visible&&(n.visible=!1,_WF.utils.log(`vischeck${n.visible?" ":" not "}visible`,t))}))}(e),function(e){_WF.vigil.watch(_WF.vigil.events.viewed,(t=>{ce(e,t).viewed=!0,_WF.utils.log("vischeck viewed",t)}))}(e)}))):se.enqueue((()=>{!function(e){se.observe("slotResponseReceived",(t=>{e[t.slot.div]={visible:!1,viewed:!1,unfilled:!1}}))}(e),function(e){_WF.on(_WF.EVENTS.PREBIDLOADED,(function(){const t=_WF.IFRAMEBUSTERBIDDERS;_WF.vigil.watch(_WF.vigil.events.render,(function(i){const n=e[i.adUnitCode];n.unfilled=i.isUnfilled,n.isIframeBuster=t.includes(i.bidder)}))}))}(e),function(e){se.observe("slotVisibilityChanged",(t=>{const i=e[t.slot.div],n=t.inViewPercentage>50;n&&!i.visible?(i.visible=!0,_WF.utils.log("vischeck visible",t.slot.div)):!n&&i.visible&&(i.visible=!1,_WF.utils.log("vischeck not visible",t.slot.div))}))}(e),function(e){se.observe("impressionViewable",(t=>{e[t.slot.div].viewed=!0,_WF.utils.log("vischeck viewed",t.slot.div)}))}(e)}))}))}))}var ue=function(){const e={},t={"primary-over-header-1":!0,"primary-over-header-2":!0,"primary-over-header-3":!0,"primary-over-header-4":!0,"primary-over-header-5":!0,"primary-over-header-6":!0,"primary-over-header-7":!0,"primary-over-header-8":!0,"primary-under-header-1":!0,"primary-under-header-2":!0,"primary-under-header-3":!0,"primary-under-header-4":!0,"primary-under-image-P1":!0,"primary-under-image-P2":!0,"primary-under-image-P3":!0,"primary-under-image-P4":!0,"primary-over-paragraph-1":!0,"primary-over-paragraph-2":!0,"primary-over-paragraph-3":!0,"primary-over-paragraph-4":!0,"primary-over-next-P2":!0,"primary-over-next-P3":!0};return le(e),function(e,t){let i,n,r,o,a;return function(s,c){if(!i){i=!0,r=_WF.utils.isEligibleForSinglePageLayout(),o=_WF.utils.isTesting("splayout_ab","inview",!0),a=_WF.utils.isTesting("refresh_ab","perslot",!0);const e=_WF.utils.isTesting("refresh_ab","inview",!0),s=_WF.utils.isQuizPost()&&_WF.utils.isTesting("quizlayout_ab","newLayout",!0),c=_WF.utils.isQuizPost()&&_WF.utils.isTesting("quizlayout_ab","inview",!0);n=e||s||c||r&&o,_WF.utils.isTesting("splayout_ab","doublemedrec",!0)&&t["primary-over-header-4"]&&delete t["primary-over-header-4"]}if(!n||a)return s;_WF.utils.log("vischeck adUnits before",JSON.parse(JSON.stringify(e))),_WF.utils.log("vischeck check divs",s),_WF.utils.isTesting("internalviewability_ab")&&document.hidden&&(s.length=0,_WF.utils.log("vischeck tab hidden, overriding divIds",s));const l=s.filter((i=>!o&&r&&t[i]||!e[i]||e[i].visible&&e[i].viewed||(e[i].unfilled||e[i].isIframeBuster)&&_WF.utils.isElementInViewport(document.getElementById(i))&&!document.hidden));return _WF.utils.log("vischeck result divs",l),c||(l.forEach((t=>{e[t]&&(e[t].viewed=!1,e[t].visible=!1)})),_WF.utils.log("vischeck adUnits after",JSON.parse(JSON.stringify(e)))),l}}(e,t)}();function de(e,t){let i=0;if(e.element){let n=document.querySelector(e.element);n&&(i=n.getBoundingClientRect().height+parseFloat(window.getComputedStyle(n).marginBottom),pe([t,"Updating offset, element found",n,"offsetElement.getBoundingClientRect().height + parseFloat(window.getComputedStyle(offsetElement).marginBottom)",n.getBoundingClientRect().height+" + "+parseFloat(window.getComputedStyle(n).marginBottom)]))}i+=e.additional,pe([t,"Updating offset, adding extra "+e.additional,"Final offset: "+i]);let n=_WF.cache.getItem(_WF.KEYS.STICKYSCROLLCONFIG);if(n&&n[t]&&(n[t].offsetTop&&n[t].offsetTop==i||n[t].minWidth&&n[t].minWidth!=e.minWidth))return;const r=`@media screen and (min-width: 768px) {\n                        #${t}.sticky-placement {\n                            top: ${i}px;\n                            ${e.minWidth?`min-width: ${e.minWidth}px;\n                        }`:"}"}\n                    } `,o=document.getElementById("sticky"+t+"CSS");!function(e,t,i){let n=_WF.cache.getItem(_WF.KEYS.STICKYSCROLLCONFIG);n||(n={}),n[e]={offsetTop:t,minWidth:i},_WF.cache.setItem(_WF.KEYS.STICKYSCROLLCONFIG,n)}(t,i,e.minWidth),o?o.innerText=r:_WF.utils.createDynamicStyleSheet(r,"screen and (min-width: 768px)","sticky"+t+"CSS")}function _e(e){return e+"-wrapper"}function pe(e){if("**"!=_WF.cache.getItem("logging"))return;let t=e[0];console.groupCollapsed("%cSticky logging "+t,"background-color: #b4b400; color:#000; padding: 0.2em 1em;"),e.splice(0,1),e.forEach((e=>console.info(e))),console.groupEnd("%cSticky logging "+t,"background-color: #b4b400; color:#000; padding: 0.2em 1em;")}var me=function(e,t={}){pe(["init","Setting for placement(s)",e,t]);let i=!1;if(t.offset=Object.assign({element:".header",additional:10},t.offset||{}),t.upper=Object.assign({element:null,internal:!1},t.upper||{}),t.lower=Object.assign({element:"footer",internal:!1},t.lower||{}),pe(["init","Processed options",e,t]),!document.getElementById("stickyPlacementCSS")){const e="@media screen and (min-width: 768px) {\n                            .sticky-placement {\n                                position: fixed !important;\n                                will-change: transform;\n                                backface-visibility: hidden;\n                            }\n                        } ";_WF.utils.createDynamicStyleSheet(e,"screen and (min-width: 768px)","stickyPlacementCSS")}if("object"==typeof e){const n=e,r=document.createElement("div");t.wrapperID?r.id=t.wrapperID:r.id=n[0]+"-sticky-wrapper";const o=_e(n[0]),a=document.getElementById(o);if(a){a.parentElement.insertBefore(r,a);for(let e in n){const t=_e(n[e]),i=document.getElementById(t);i?r.appendChild(i):_WF.utils.log(`stickyPlacements> error> Unable to query '#${t}'`)}pe([e=r.id,"Multiple placement resolved"])}else _WF.utils.log(`stickyPlacements> error> Unable to query '#${o}'`),i=!0}else e=_e(e);
1if(i)return void _WF.utils.log("stickyPlacements> error> there was an unrecoverableError for the placement, quitting",e);if(de(t.offset,e),"MutationObserver"in window){const i=document.querySelector(t.offset.element);if(i){new MutationObserver((i=>{i.forEach((i=>{"attributes"==i.type&&"style"==i.attributeName&&(pe([e,"Offset element mutation firing"]),de(t.offset,e))}))})).observe(i,{attributes:!0,childList:!1,characterData:!0});const n=document.querySelector("body");new MutationObserver((i=>{i.forEach((i=>{"attributes"==i.type&&"class"==i.attributeName&&(pe([e,"Body mutation firing",i]),de(t.offset,e))}))})).observe(n,{attributes:!0,childList:!1,characterData:!1})}}const n=document.getElementById(e);_WF.utils.addScrollListener((i=>{if(window.matchMedia("screen and (min-width: 768px)").matches&&n){const i=window.getComputedStyle(n),r=_WF.utils.getWindowScrollYPosition(),o=function(e,t,i){let n=null,r=null,o=0,a=5e5,s=_WF.utils.getWindowScrollYPosition(),c=_WF.cache.getItem(_WF.KEYS.STICKYSCROLLCONFIG);t.element&&(n=document.querySelector(t.element));i.element&&(r=document.querySelector(i.element));n&&t.internal?(o=s+n.getBoundingClientRect().top,pe([e.id,"top trigger","Upper element found, internal option",n,"y + topEl.getBoundingClientRect().top",s+" + "+n.getBoundingClientRect().top])):n?(o=s+n.getBoundingClientRect().bottom+parseFloat(window.getComputedStyle(n).marginBottom),pe([e.id,"top trigger","Upper element found, external option",n,"y + topEl.getBoundingClientRect().bottom + parseFloat(window.getComputedStyle(topEl).marginBottom)",s+" + "+n.getBoundingClientRect().bottom+" + "+parseFloat(window.getComputedStyle(n).marginBottom)])):(o=function(e,t){let i=_WF.cache.getItem(_WF.KEYS.STICKYSCROLLCONFIG),n=_WF.utils.getWindowScrollYPosition();i||(i={});i[e.id]||(i[e.id]={});i[e.id].upperBoundary&&e.classList.contains("sticky-placement")||(i[e.id].upperBoundary=n+e.getBoundingClientRect().top-parseFloat(t.marginTop),pe([e.id,"Updating upper boundary for no-upper-conf placements","y + placementElement.getBoundingClientRect().top - parseFloat(targetedPlacementStyle.marginTop)",n+" + "+e.getBoundingClientRect().top+" - "+parseFloat(t.marginTop)]),i[e.id].originalTop=parseFloat(t.top)||0,_WF.cache.setItem(_WF.KEYS.STICKYSCROLLCONFIG,i));return i[e.id].upperBoundary}(e,window.getComputedStyle(e)),pe([e.id,"top trigger","Upper element not found, calling getUpperBoundary"]));o-=parseFloat(c[e.id].offsetTop),o<0&&(o=0);pe([e.id,"top trigger","Updating trigger with offset","Subtracting "+parseFloat(c[e.id].offsetTop),"Result: "+o]),r&&i.internal?(a=s+r.getBoundingClientRect().bottom,pe([e.id,"bottom trigger","Lower element found, internal option",r,"y + bottomEl.getBoundingClientRect().bottom",s+" + "+r.getBoundingClientRect().bottom])):r?(a=s+r.getBoundingClientRect().top-parseFloat(window.getComputedStyle(r).marginTop),pe([e.id,"bottom trigger","Lower element found, external option",r,"y + bottomEl.getBoundingClientRect().top - parseFloat(window.getComputedStyle(bottomEl).marginTop)",s+" + "+r.getBoundingClientRect().top+" - "+parseFloat(window.getComputedStyle(r).marginTop)])):(a=document.querySelector("body").offsetTop+document.querySelector("body").offsetHeight,pe([e.id,"bottom trigger","Lower element not found, default option",'document.querySelector("body").offsetTop + document.querySelector("body").offsetHeight',document.querySelector("body").offsetTop+" + "+document.querySelector("body").offsetHeight]));return{top:o,bottom:a}}(n,t.upper,t.lower);pe([e,"onscroll calls for triggers",o]);const a=_WF.cache.getItem(_WF.KEYS.STICKYSCROLLCONFIG)[e].offsetTop+parseFloat(i.marginTop)+n.offsetHeight+parseFloat(i.marginBottom);if(r+a>=o.bottom){_WF.utils.addClass(n,"sticky-placement");let t=window.innerHeight+r-o.bottom-parseFloat(i.marginBottom);n.style.top="auto",n.style.bottom=t+"px",pe([e,"Footer event triggered","scrollYPosition + elHeight >= triggers.bottom",r+" + "+a+" >= "+o.bottom,"Bottom set to fix","window.innerHeight + scrollYPosition - triggers.bottom - parseFloat(targetedPlacementStyle.marginBottom)",window.innerHeight+" + "+r+" - "+o.bottom+" - "+parseFloat(i.marginBottom)])}else r>=o.top?(_WF.utils.addClass(n,"sticky-placement"),n.style.bottom="",n.style.top="",pe([e,"Sticky event triggered","scrollYPosition >= triggers.top",r+" >= "+o.top])):(_WF.utils.removeClass(n,"sticky-placement"),n.style.top="",pe([e,"Top trigger below threshold, no sticky"]))}}))},ge=function(e,t){var i=_WF.cache.getItem(e);return null!==i?i:t},fe=function(e){!function(e){var t=_WF.cache.getItem(_WF.KEYS.RECONCILEDPLACEMENTS);(t=t||[]).push(e.placement),_WF.cache.setItem(_WF.KEYS.RECONCILEDPLACEMENTS,t)}(e);var t={name:"pbjs_auction_result",payload:{browser:ge(_WF.BROWSERINFO.NAME),bucketid:ge(_WF.KEYS.BUCKETID,""),countrycode:ge(_WF.KEYS.LOCATION,{}).country_code||"",deviceos:_WF.utils.getDeviceOS()||"",devicetype:ge(_WF.KEYS.DEVICETYPE),fingerprint:ge(_WF.KEYS.UUID),isrefreshauction:pbjs.refreshCounter>0,messagetimestamp:Date.now(),name:ge(_WF.KEYS.BLOGNAME),pbjsversion:pbjs.version||"",pstdatehour:ge(_WF.KEYS.PSTDATEHOUR),sessiondepth:ge(_WF.KEYS.SESSIONDEPTH,-1),sessiontoken:ge(_WF.KEYS.SESSIONTOKEN),subid:ge(_WF.KEYS.SUBIDRAW),utmcampaign:ge(_WF.KEYS.UTMCAMPAIGN,""),utmcontent:ge(_WF.KEYS.UTMCONTENT,""),utmmedium:ge(_WF.KEYS.UTMMEDIUM,""),utmsource:ge(_WF.KEYS.UTMSOURCE,""),pagetoken:_WF.utils.getPageToken(),posttype:_WF.utils.getPostType()}};Object.assign(t.payload,e),_WF.utils.sendTracking(t)},Fe=function(e){var t=document.getElementById(e.adUnitCode),i=0,n=0;if(t){var r=t.querySelector("div:not([id^='google_ads_iframe'])");if(r)t=r;else{var o=t.querySelector("iframe[id^='google_ads_iframe']");o&&o.offsetHeight>0&&(t=o)}var a=t.getBoundingClientRect();i=_WF.utils.parseInt(a.width),n=_WF.utils.parseInt(a.height),_WF.utils.log("trackCreativeSize> creative dimensions ",[e.adUnitCode,e.bidder,i,n]);e.bidder,e.adUnitCode,pbjs.refreshCounter,ge(_WF.KEYS.SESSIONTOKEN),ge(_WF.KEYS.DEVICETYPE),ge(_WF.KEYS.BLOGNAME),ge(_WF.KEYS.SESSIONDEPTH),ge(_WF.BROWSERINFO.NAME),_WF.utils.getPageToken(),e.auctionId||e.requestId,e.cpm}},he=function(e,t){var i=new RegExp(e.pattern,n()(e));return!!t.match(i)},Ee={trackGenericEvent:function(e,t,...i){if(!function(e,t,i){var n=!1;return _WF.eventSkipList=_WF.eventSkipList||[],_WF.eventSkipList.forEach((i=>{(i.class||i.event)&&(i.class&&!he(i.class,e)||i.event&&!he(i.event,t)||(n=!0))})),n}(e,t)){var n=["hive_reconciliation",e,t,...i.map((e=>""+e))];_WF.utils.track?_WF.utils.track(n):(Ee.trackGenericEvent.cache=Ee.trackGenericEvent.cache||{needsListener:!0,queue:[]},Ee.trackGenericEvent.cache.queue.push(n),Ee.trackGenericEvent.cache.needsListener&&(Ee.trackGenericEvent.cache.needsListener=!1,_WF.on(_WF.EVENTS.DATACOLLECTIONREADY,(function(){Ee.trackGenericEvent.cache.queue.forEach((function(e){_WF.utils.track(e)})),Ee.trackGenericEvent.cache.queue.length=0}))))}},safePC:function(e,t){for(var i=_WF.postContent||{},n=0;n<e.length;n++){if(!(i=i[e[n]]))break}return void 0!==i?i:t},isGDPRCountry:function(e){var t=e||_WF.cache.json.get(_WF.KEYS.LOCATION);return t&&!Ee.isGDPRCountry.cache&&(Ee.isGDPRCountry.cache={result:t&&_WF.MANAGEDPRIVACYG
1EOS.GDPR.COUNTRY_CODE.reduce((function(e,i){return i.toLowerCase()===t.country_code.toLowerCase()||e}),!1)}),(Ee.isGDPRCountry.cache||{}).result},isCCPARegion:function(e){var t=e||_WF.cache.json.get(_WF.KEYS.LOCATION);return t&&!Ee.isCCPARegion.cache&&(Ee.isCCPARegion.cache={result:t&&_WF.MANAGEDPRIVACYGEOS.CCPA.COUNTRY_CODE.reduce((function(e,i){return i.toLowerCase()===t.country_code.toLowerCase()||e}),!1)&&_WF.MANAGEDPRIVACYGEOS.CCPA.REGION_CODE.reduce((function(e,i){return i.toLowerCase()===t.region_code.toLowerCase()||e}),!1)}),(Ee.isCCPARegion.cache||{}).result},isCCPAOptOut:function(){var e=String((_WF.cache.json.get(_WF.KEYS.CMPCCPARESULT)||{}).value||"");return e.length>2&&"Y"===e.charAt(2)},isManagedPrivacyGeo:function(){var e=_WF.cache.json.get(_WF.KEYS.LOCATION)||{country_code:_WF.cookieStore.getItem(_WF.KEYS.COUNTRYCODE)||"00",region_code:_WF.cookieStore.getItem(_WF.KEYS.REGIONCODE)||"00"};return Ee.isGDPRCountry(e)||Ee.isCCPARegion(e)},loadScript:function(e,t,i,n,r){var o=document.createElement("script");if(o.type="text/javascript",o.src=e,o.async=!0,r)for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&o.setAttribute(a,r[a]);var s=!1;o.onerror=function(){o.onload=o.onerror=o.onreadystatechange=null,"function"==typeof t&&t(s),i||o&&o.parentNode&&o.parentNode.removeChild(o)},o.onload=o.onreadystatechange=function(){s||this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||(s=!0,o.onload=o.onerror=o.onreadystatechange=null,"function"==typeof t&&t(s),i||o&&o.parentNode&&o.parentNode.removeChild(o))},(n||document.body||document.head).appendChild(o)},hasClass:function(e,t){if(e&&"string"==typeof e.className)return e.className.split(" ").filter((function(e){return t===e})).length>0},addClass:function(e,t){if(e&&!_WF.utils.hasClass(e,t)){var i=e.className.split(" ");i.push(t),e.className=i.join(" ")}},removeClass:function(e,t){if(e&&"string"==typeof e.className){var i=e.className.split(" ");e.className=i.filter((function(e){return t!==e})).join(" ")}},objectFilter:function(e,...t){return t.reduce(((t,i)=>(t[i]=e[i],t)),{})},sendViewMessage:function(e,t){e.bidderCode,e.adUnitCode,e.original&&e.original.source,ge(_WF.KEYS.SUBIDRAW),ge(_WF.KEYS.SESSIONTOKEN),ge(_WF.KEYS.DEVICETYPE),ge(_WF.KEYS.BLOGNAME),ge(_WF.KEYS.SESSIONDEPTH),e.unfilled,e.isCached,ge(_WF.BROWSERINFO.NAME),pbjs.refreshCounter,ge(_WF.KEYS.UTMCAMPAIGN,""),ge(_WF.KEYS.FLOORGROUP,""),ge(_WF.KEYS.LOCATION,{}).country_code,e.auctionId||e.requestId},sendOverlayStatus:function(e){_WF.utils.setTimeout((function(){var t=function(e,t){var i=_WF.cache.getItem(e);return null!==i?i:t},i=!1,n=document.getElementById(e.adUnitCode);try{n&&n.firstElementChild&&(i=Ee.detectOverlay(n))}catch(t){_WF.utils.log("overlay detection> could not attach to adunit",[e.adUnitCode])}var r="winner"in e?!!e.winner:!!e.isWinner,o=!!e.isUnfilled||!!e.unfilled,a=t(_WF.KEYS.UTMSOURCE,""),s=o?"unfilled":e.bidder||e.bidderCode,c=t(_WF.KEYS.BLOGNAME),l=i?"overlay":"no-overlay",u=!o&&!r,d="desktop"!==t(_WF.KEYS.DEVICETYPE);e.subBidder||(e.original||{}).subBidder,r?e.cpm:e.pbCg||e.pb,e.adUnitCode,pbjs.refreshCounter,pbjs.version,t(_WF.KEYS.UUID),t(_WF.KEYS.SESSIONTOKEN),t(_WF.KEYS.SESSIONDEPTH),t(_WF.KEYS.SUBIDRAW),t(_WF.BROWSERINFO.NAME),t(_WF.KEYS.DEVICETYPE),t(_WF.KEYS.PSTDATEHOUR),(t(_WF.KEYS.LOCATION)||{}).country_code,t(_WF.KEYS.UTMCAMPAIGN,""),t(_WF.KEYS.UTMMEDIUM,""),t(_WF.KEYS.UTMCONTENT,""),t(_WF.KEYS.BUCKETID,""),e.adUnitCode}),5e3)},adUnitVisibilityChecker:ue,sendAuctionReconciliation:function(e,t){var i=ge(_WF.KEYS.FLOORGROUPS,{}),n=e.floorData?e.floorData.floorValue:0,r=e.floor||0,o="vidazooserver"==e.bidder&&e.meta&&e.meta.demandSource&&_WF.vidazooSubBidders[e.meta.demandSource]&&`${e.bidder}-${_WF.vidazooSubBidders[e.meta.demandSource]}`,a={adomain:Array.isArray(e.meta?.advertiserDomains)?e.meta.advertiserDomains.join(","):e.meta?.advertiserName||"",adid:e.adId,bidder:o||e.bidder,bidmarkupfactor:e.buff||0,cpm:e.cpm,cpmraw:e.originalCpm||e.cpm,creativeid:e.isWinner?e.creativeId||"":document.getElementById(e.adUnitCode)?.getAttribute("data-google-query-id"),encodedbid:e.subBidder||"",bidderfloor:r||n,floorgroup:i[e.adUnitCode]||"",highbidder:e.sourceBidder||e.bidderCode,iscached:!!e.isThawed,isfallback:!!e.isFallback||"",iswinner:!!e.isWinner,latency:e.timeToRespond,placement:e.adUnitCode,adunitpath:e.adUnitPath,pricebucket:e.pbCg||0,requestid:e.auctionId||e.requestId,sourceadunit:(e.originalAdUnitCode||e.original&&e.original.source||e.adUnitCode)!=e.adUnitCode?e.originalAdUnitCode||e.original&&e.original.source:"",timestamp:e.requestTimestamp,unfilled:!!e.isUnfilled,mediatype:e.meta&&e.meta.mediaType||e.mediaType||"",dealid:e.dealId||"",bidnet
1workname:e?.meta?.networkName||e?.meta?.networkId||""};e.cpm&&r>e.cpm&&_WF.utils.log("price resolution> floor cpm mismatch",[n,r,e.cpm,e]),_WF.utils.log("price resolution> ",[e.adUnitCode,e.bidder,[e.cpm,"*",e.isWinner?1:e.buff,"~",e.value||0].join(" ")]),fe(a),_WF.utils.sendOverlayStatus(e),function(e){if(_WF.utils.getBucketFromToken(.1,0,_WF.utils.getPageToken())){if(_WF.utils.creativeSizeCache=_WF.utils.creativeSizeCache||{bids:{},attached:!1,timeouts:{}},!_WF.utils.creativeSizeCache.attached){function i(e){Fe(e),_WF.utils.clearTimeout(_WF.utils.creativeSizeCache.timeouts[e.adUnitCode])}function n(e,t){var n=e.id;return(r,o)=>{_WF.utils.clearTimeout(_WF.utils.creativeSizeCache.timeouts[n]);var a=e.querySelector("div:not([id^='google_ads_iframe'])");_WF.utils.log(`determineCreativeSize> mutation found for ${n} under ${e.parentElement}`,a),a&&a.getBoundingClientRect().height>0&&(_WF.utils.creativeSizeCache.timeouts[n]=_WF.utils.setTimeout((()=>{i(t)}),100),o.disconnect())}}function r(e){const t=e.adUnitCode,i=document.getElementById(t),r=new MutationObserver(n(i,e));_WF.utils.log(`determineCreativeSize> starting observer for ${t} under `,i.parentElement),r.observe(i.parentNode,{subtree:!0,childList:!0})}_WF.utils.creativeSizeCache.attached=!0,se.observe("slotRenderEnded",(e=>{try{_WF.once("determineCreativeSize_"+e.slot.div,(function(){var t=_WF.utils.creativeSizeCache.bids[e.slot.div];_WF.utils.log("determineCreativeSize> slotRenderEnded for "+e.slot.div,t),t&&(delete _WF.utils.creativeSizeCache.bids[e.slot.div],r(t),_WF.utils.creativeSizeCache.timeouts[e.slot.div]=_WF.utils.setTimeout((()=>{_WF.utils.log("determineCreativeSize> mutation complete fallback triggered for "+e.slot.div,t),i(t)}),5e3))}))}catch(e){_WF.utils.log("determineCreativeSize error ",e)}}))}var t=_WF.IFRAMEBUSTERBIDDERS;_WF.utils.log(`determineCreativeSize> final auction info for ${e.adUnitCode}`,e),e.isWinner&&(t.includes(e.bidder)||"native"===e.mediaType||e.meta&&"native"===e.meta.mediaType)?(_WF.utils.log("determineCreativeSize> setting cache for bid",e.adUnitCode),_WF.utils.creativeSizeCache.bids[e.adUnitCode]=e,_WF.emit("determineCreativeSize_"+e.adUnitCode)):Fe(e),_WF.utils.log("price resolution> ",[e.adUnitCode,e.bidder,[e.cpm,"*",e.isWinner?1:e.buff,"~",e.value||0].join(" ")])}}(e)},sendAuctionResult:function(e,t){var i=ge(_WF.KEYS.FLOORGROUPS,{}),n={adomain:"",adId:e.original&&e.original.adId,bidder:e.bidderCode,bidmarkupfactor:e.original.markup||0,cpm:e.cpm,cpmraw:e.originalCpm||e.cpm,creativeId:e.creativeId||"",encodedbid:e.original.subBidder||"",floorgroup:i[e.adUnitCode]||"",highBidder:e.sourceBidder||e.bidderCode,iscached:e.original.requestId!==pbjs.auctionId,isfallback:!!e.isFallback||"",iswinner:!!e.winner,latency:e.timeToRespond,placement:e.adUnitCode,pricebucket:e.pb||0,requestid:e.requestId,sourceadunit:(e.original&&e.original.source||e.adUnitCode)!=e.adUnitCode?e.original.source:"",timestamp:e.requestTimestamp,unfilled:!!e.unfilled,mediaType:e.meta&&e.meta.mediaType||e.mediaType||""};_WF.utils.log("markup> pb> ",[e.adUnitCode,e.bidderCode,e.cpm,"*",e.original.markup||0,"~",e.pb||0]),fe(n),_WF.utils.sendOverlayStatus(e)},trackLoaderStatus:function(e,t,i,n,r,o,a,s,c,l){var u=_WF.cache.json.get(_WF.KEYS.LOCATION)||{},d={name:"hive_placement_status",payload:{status:i,provider:e,placement:t,sitename:ge(_WF.KEYS.BLOGNAME),fingerprint:ge(_WF.KEYS.UUID)||"",subid:ge(_WF.KEYS.SUBID)||"",utmmedium:ge(_WF.KEYS.UTMMEDIUM)||"",devicetype:ge(_WF.KEYS.DEVICETYPE)||"",sessiontoken:ge(_WF.KEYS.SESSIONTOKEN),sessiondepth:ge(_WF.KEYS.SESSIONDEPTH),browser:ge(_WF.BROWSERINFO.NAME),postid:ge(_WF.KEYS.POSTID)||0,utmcampaign:ge(_WF.KEYS.UTMCAMPAIGN)||"",description:n||"",cpm:r||"",countrycode:u.country_code||"",utmsource:ge(_WF.KEYS.UTMSOURCE)||"",utmcontent:ge(_WF.KEYS.UTMCONTENT)||"",bucketid:ge(_WF.KEYS.BUCKETID)||"",bidder:o||"",tagid:a||"",auctiontype:s||"",floor:c||"",pstdatehour:ge(_WF.KEYS.PSTDATEHOUR)||"",callbackobject:JSON.stringify(l)||"",posttype:_WF.utils.getPostType(),timeonpage:window.performance.now()}};_WF.utils.sendTracking(d)},tryAddTimeraPageviews:function(){if(!_WF.utils.tryAddTimeraPageviews.attached&&_WF.cache.getItem(_WF.KEYS.ISTIMERA)){_WF.utils.tryAddTimeraPageviews.attached=!0;var e={},t=1,i=window.location.pathname,n=window.history.pushState;e[i]=t,window.history.pushState=function(...r){n.apply(window.history,r),i=window.location.pathname,e[i]||(t++,e[i]=t),_WF.cache.setItem(_WF.KEYS.PAGENUMBER,e[i]),pbjs.refreshCounter=-1,_WF.dataCollection.init()}}},token:function(){if(crypto){if(crypto.randomUUID)return crypto.randomUUID();if(crypto.getRandomValues)return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)))}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},strContains:function(e,t){t=t instanceof Array?t:[t];for(var i=0;i<t.length;i++){var n=t[i];if(~e.indexOf(n))return!0}return!1},isBot:function(){var e=_WF.KEYS;return _WF.cache.removeItem(e.QFPRESULT),!1},isMonetizationBlacklisted:function(e){var t=_WF.cache.json.get(_WF.KEYS.LOCATION),i=_WF.cache.getItem(_WF.KEYS.BROWSERHASH)!==_WF.cache.getItem(_WF.KEYS.UAHASH),n=(_WF.cache.getItem(_WF.KEYS.BADNAV),t&&t.country_code&&t.country_code.toLowerCase(),_WF.cache.getItem(_WF.BROWSERINFO.NAME),_WF.KEYS.UNSAFE,_WF.utils.isProviderBlacklisted(e),_WF.cache.getItem(_WF.KEYS.EXPLICIT),_WF.utils.isBot()),r=_WF.cache.getItem(_WF.KEYS.QUERYSTRING).hasOwnProperty("hmbl_debug"),o=_WF.cache.getItem(_WF.KEYS.IS404)||!!document.querySelector(".error404"),a=_WF.utils.isAdvertorial(),s=_WF.cache.getItem(_WF.KEYS.BDDC)||!1,c=_WF.cache.getItem(_WF.KEYS.ISRSOC),l=_WF.cache.getItem(_WF.KEYS.ISSEARCH);_WF.cache.getItem(_WF.KEYS.ISINDEX);return o||r||a||i||(l||c)&&(n||s)},isProviderBlacklisted:function(e){var t=(_WF.cache.json.get(_WF.KEYS.BLACKLSITEDPROVIDERS)||{})[e]||{},i=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.POSTID)),n=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));return!0===t||t.duration===_WF.DURATION.SESSION||t.duration===_WF.DURATION.SINGLEPAGE&&t.postId===i&&t.pageNumber===n}
1,blacklistProvider:function(e,t){_WF.utils.log("blacklistProvider> blacklisting provider for duration: ",[e,t]);var i=_WF.cache.json.get(_WF.KEYS.BLACKLSITEDPROVIDERS)||{};i[e]={postId:_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.POSTID)),pageNumber:_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER)),duration:t},_WF.cache.json.set(_WF.KEYS.BLACKLSITEDPROVIDERS,i)},aspectFilter:function(e){var t=e[0],i=e[1],n=48===_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID))?600:315;return 1===t&&1===i||(_WF.utils.isMobile()?t<728&&i<=n:!_WF.utils.isTablet()||_WF.utils.isQuizPost()&&_WF.utils.isTesting("quiz_AB","enabled")?i>50:t<728)},isLeaderboardSize:function(e){var t=e[1];return 50==t||90==t},leaderboardSizeFilter:function(e){var t=e[1];return _WF.utils.isMobile()?50==t:90==t},hbDiscountTo:function(e){if(_WF.utils.isTesting("intentiq_ab")||_WF.utils.isDebugging("intentiq_ab")){var t=_WF.IIQ_RS||0;e-=t/100}var i=_WF.utils.getLogger("hbDiscount",_WF.LOGLEVEL.PREBID);return function(t,n,r){var o=Ee.clone(n),a=Ee.clone(r);t&&i(`MESSAGE: >>> bid adjustment --- discounting > initial bid: ${t} for adid ${o.adId}`,[o,a]);var s=100*t,c=s*e,l=_WF.utils.parseInt(c.toPrecision(8))/100;return t&&i(`MESSAGE: >>> bid adjustment --- discounting > adjusted bid: ${l} for adid ${o.adId}`),t&&i(`MESSAGE: >>> bid adjustment --- discounting > discounted to: ${(100*(c/s||0)).toFixed(0)}% for adid ${o.adId}`),l}},hbUpdatePrebidConfiguration:function(e,t){var i=[],n=_WF.utils.getLogger("hbUpdatePrebidConfiguration",_WF.LOGLEVEL.PREBID);e.adUnits.forEach((function(e,r){var o=e.code,a=t[o];switch(t.action){case"append":a&&a.length&&(e.bids=e.bids.concat(a));break;case"replace":a&&a.length&&(e.bids=a);break;case"excludeSlots":t.names&&t.names.forEach((function(e){o==e&&i.push(r)}));break;case"exclude":e.bids=e.bids.filter((function(e){return e.bidder!==t.name}));break;case"isolate":e.bids=e.bids.filter((function(e){return e.bidder===t.name}));break;case"filterByDeviceSize":(o=e.mediaTypes?e.mediaTypes.banner:e).sizes=o.sizes.filter(_WF.utils.aspectFilter),e.bids=e.bids.filter((function(e){if(e.sizes){var t=e.sizes;return delete e.sizes,t[0]instanceof Array?t.filter(_WF.utils.aspectFilter).length>0:aspectFilter(t)}return!0})),n("FILTERING RESULT: "+o,{updated:e})}})),i.reverse().forEach((function(e){_WF.cache.getItem(_WF.KEYS.PREBID).adUnits.splice(e,1)}))},hbUpdateBidderSettings:function(e,t){for(var i in t){var n=e[i]=e[i]||{};_WF.utils.merge(t[i],n)}},clone:function e(t){var i=t?t.constructor():t,n=t?Object.keys(t):t;return t&&i&&n?n.forEach((function(n){i[n]=e(t[n])})):t&&(i=t.valueOf()),i},getNetworkName:function(){return["hive","paxa","reaction"][_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.NETWORKID))]},getNetworkDomain:function(){return`${["hivemedia","paxamedia","reactionm"][_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.NETWORKID))]}.com`},detectOverlay:function(e){var t,i=e.firstElementChild;if(i){var n=i.firstElementChild,r=n&&n.contentDocument;r&&(t=r.getElementById("common_15click_overlay")||r.getElementById("common_15click_anchor")||r.getElementById("confirmedClickVisible"))}return t&&_WF.utils.isTesting("penaltybox_ab")&&_WF.cache.setItem(_WF.KEYS.PENALTYBOX,{[ge(_WF.KEYS.SESSIONTOKEN)]:!0}).asPersistent(),!!t},addClickObserver:function(e,t,i){var n,r,o,a=i||document.getElementById(e)||document.getElementsByClassName(e)[0],s=a.id,c=Ee.addClickObserver.attached||{},l=function(e,t){for(var i=!1,n=Array.prototype.slice.call(e.children);n.length;){var r=n.shift();if(r===t){i=!0;break}n=n.concat(Array.prototype.slice.call(r.children))}return i},u=function(){_WF.utils.log("observer> over> ",s),F()},d=function(){_WF.utils.log("observer> out> ",s),_WF.utils.clearTimeout(n)},_=function(e){return _WF.cache.getItem(_WF.KEYS[e])||""},p=function(){_WF.utils.trackLoaderStatus(t,s,"click")},m=function(){_WF.utils.log("removing click tracking",e),a.removeEventListener("click",f),a.removeEventListener("mouseover",u),a.removeEventListener("mouseout",d),c[e]=!1},g=function(e){if(a&&a.getAttribute("data-google-query-id")){!!e&&e.currentTarget.offsetWidth-e.offsetX<=40&&!_WF.utils.hasClass(a,"n
1o-before")&&_WF.utils.isTesting("cc_ab")?_WF.utils.isTesting("cc_ab")&&(_WF.utils.log("cc> first"),_WF.utils.addClass(a,"no-before")):(_WF.utils.isTesting("cc_ab")&&(_WF.utils.log("cc> "+(_WF.utils.hasClass(a,"no-before")?"second":"first")),_WF.utils.hasClass(a,"no-before")||_WF.utils.addClass(a,"no-before")),m(),function(){var e={quiz:!0,gallery:!0,muffintop:!0,ajaxgallery:!0,playbuzzquiz:!0,slideshow:!0},t=_("WIDTH"),i=_("BLOGNAME"),n=_("HEIGHT"),r=_("POSTTAX"),o=_("DEVICETYPE"),c=_("UTMSOURCE"),l=_("PAGENUMBER"),u=_("SESSIONTOKEN"),d=_WF.cache.getItem(_WF.BROWSERINFO.NAME),p=Ee.detectOverlay(a.firstElementChild),m=document.location.pathname+document.location.search,g=((r&&r.hiveformat?r.hiveformat.filter((function(t){return t&&e[t.slug]}))[0]:{slug:"none"})||{}).slug,f=_("BUCKETID");_WF.cache.setItem(_WF.KEYS.CLICKVERF,[Date.now(),p,s,c,o,d,t,n,g,f,i,m,l,u]).asPersistent()}(),_WF.utils.setTimeout((function(){_WF.utils.verifyClick("navintercept",6e3)}),5e3)),p()}else{var i=a&&_WF.utils.hasClass(a,"afs-related"),n=a&&_WF.utils.hasClass(a,"afs-container");if(i||n||m(),p(),t.indexOf("rsoc")>-1){const i=_WF.cache.getItem(_WF.KEYS.PROVIDERS),n=_WF.cache.getItem(_WF.KEYS.SLOTS),r=Object.keys(i).filter((e=>i[e]==t)).pop();if(r&&n[r]&&n[r][t]){const i=n[r][t].config;if(i&&!i.isRelatedSearch){const i=_WF.utils.abbreviationToSlotName(r);_WF.emit(_WF.EVENTS.RSOCCONVERSION,{event:e,adUnit:a,provider:t,placement:i}),_WF.utils.getPartnerClickIdType()===_WF.KEYS.CLICKFLARECLICKID&&_WF.utils.trackRsocConversion("clickflare",null,null,i),_WF.utils.fireRsocPostback()}}}}},f=function(e){_WF.utils.log("observer> widget> clicked> ",[s,t]),g(e),h()},F=function(){var e=document.activeElement;e!==document.body&&l(a,e)?(_WF.utils.log("observer> observer clicked> ",[s,t]),g(),h()):n=_WF.utils.setTimeout(F,50)},h=function(){setTimeout((()=>{window.focus()}),0)};Ee.addClickObserver.attached=c,c[e]!==a?(_WF.utils.log("attaching click tracking for",e),c[e]=a,h(),r=a,o=!0,window.addEventListener("blur",(()=>{if(o){var e=document.activeElement;e!==document.body&&l(r,e)&&(_WF.utils.isSlotAssigned(_WF.utils.abbreviateSlotNames(r?.id),"rsoc",!0)||(o=!1),g(),_WF.utils.log("observer> blur clicked> ",[r.id,t]),h())}})),a.addEventListener("mouseover",u),a.addEventListener("mouseout",d),a.addEventListener("click",f),a.addEventListener("touchstart",f,{passive:!0})):_WF.utils.log("skipping click tracking for",e)},countWords:function(e){var t=JSON.parse('"[A-Za-z0-9_]+(\'s)?(’s)?|[\\u3040-\\u309F]+|[\\u30A0-\\u30FF]+|[\\u4E00-\\u9FFF\\uF900-\\uFAFF\\u3400-\\u4DBF]"'),i=new RegExp(t,"g");return e=(e=(e=e.replace(/(^\s*)|(\s*$)/gi,"")).replace(/[ ]{2,}/gi," ")).replace(/\n /,"\n"),Math.max(e.split(" ").length,(e.match(i)||[]).length)},removeHTMLTagsFromString:function(e){return e.replace(/<\/?[^>]+(>|$)/g,"")},createElement:function(e){var t=document.createDocumentFragment(),i=document.createElement("div"),n=t.appendChild(i);return n.innerHTML=e,n.firstElementChild},setInnerHTML:function(e,t){e.innerHTML=t,Array.from(e.querySelectorAll("script")).forEac
1h((e=>{const t=document.createElement("script");Array.from(e.attributes).forEach((e=>t.setAttribute(e.name,e.value))),t.appendChild(document.createTextNode(e.innerHTML)),e.parentNode.replaceChild(t,e)}))},sourcelessIframe:function(e,t){var i=_WF.utils.createElement("<iframe>");i.id=t,i.setAttribute("marginheight","0"),i.setAttribute("marginwidth","0"),i.setAttribute("frameborder","0"),i.setAttribute("height","1"),i.setAttribute("width","1"),i.style.display="none",i.style.height="0px",i.style.width="0px",document.body.appendChild(i);var n={container:i,document:i.contentDocument,window:i.contentWindow};return n.document.open(),n.window.win=window,n.window.doc=document,n.document.write(e),n.document.close(),n},getLocalizedAttributionText:function(){return _WF.cache.getItem(_WF.KEYS.LOCALIZEDATTRIBUTION)||"ADVERTISEMENT"},getLocalizedCallToActionText:function(){return _WF.cache.getItem(_WF.KEYS.LOCALIZEDCALLTOACTIONATTRIBUTION)||"Continue Reading Below"},isInContentAd:function(e){return(_WF.inContentExceptions||["secondary","lefternary","quaternary","next","anchored"]).every((t=>!e.toLowerCase().includes(t)))},abbreviationToSlotName:function(e){for(var t=[/^pp(\d)$/,"primary-P",/^sp(\d)$/,"secondary-P",/^tp(\d)$/,"tertiary-P",/^qp(\d)$/,"quaternary-P",/^puc$/,"primary-under-content",/^puc(\d)$/,"primary-under-content-P",/^put$/,"primary-under-title",/^pun$/,"primary-under-next",/^pui(\d)$/,"primary-under-image-P",/^pot$/,"primary-over-title",/^pop(\d)$/,"primary-over-paragraph-",/^pon$/,"primary-over-next",/^pon(\d)$/,"primary-over-next-P",/^poi$/,"primary-over-image",/^poi(\d)$/,"primary-over-image-",/^poh(\d)$/,"primary-over-header-",/^pof$/,"primary-over-footer",/^porm$/,"primary-over-read-more",/^purm$/,"primary-under-read-more",/^posr$/,"primary-over-search-results",/^pusr$/,"primary-under-search-results",/^prs$/,"primary-related-searches",/^lp(\d)$/,"lefternary-P",/^is(\d)$/,"index-secondary-P",/^ip(\d)$/,"index-primary-P",/^ipp(\d)$/,"index-primary-P",/^anc$/,"anchored-P1",/^anc(\d)$/,"anchored-P",/^lbt$/,"leaderboard-top",/^lbb$/,"leaderboard-bottom",/^com$/,"comments"],i="unknown-slot-abbreviation",n=e.toLowerCase(),r=0;r<t.length;r+=2){var o=t[r],a=n.match(o);if(a){i=t[r+1];var s=a[1];isNaN(s)||(i+=s);break}}return i},abbreviateSlotNames:function(e){for(var t=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID)),i=[/^anchored-p/,"anc",/^index-primary-p/,10===t||12===t?"ip":"ipp",/^index-secondary-p/,"is",/^lefternary-p/,"lp",/^leaderboard-bottom$/,"lbb",/^leaderboard-top$/,"lbt",/over-footer/,"of",/over-header-/,"oh",/over-image-/,"oi",/over-image/,"oi",/over-next-p/,"on",/over-next/,"on",/over-paragraph-/,"op",/over-read-more/,"orm",/over-search-results/,"osr",/over-title/,"ot",/related-searches/,"rs",/^primary-/,"p",/^quaternary-p/,"qp",/^secondary-p/,"sp",/^tertiary-p/,"tp",/under-image-p/,"ui",/under-content/,"uc",/under-next/,"un",/under-read-more/,"urm",/under-search-results/,"usr",/under-title/,"ut",/^video-/,"v",/^comments-/,"com"],n=e.toLowerCase(),r=0;r<i.length;r+=2){var o=i[r];n=n.replace(o,i[r+1])}return n==e.toLowerCase()?"unk":n},initLoader:function(e,t){_WF.utils.log("initLoader> providerName, containerId: ",[e,t]),_WF.on(_WF.EVENTS.LOADERSREADY,_WF.KEYS.SLOTS,(function(i){var n=_WF.cache.getItem(_WF.KEYS.SLOTS)[t];if(_WF.utils.log("initLoader> slotConfig: ",n),n&&n[e]){var r=n[e],o=document.querySelector(n.container_identifier);_WF.utils.log("initLoader> providerConfig: ",r),_WF.utils.log("initLoader> container: ",o),r&&r.proxy&&(e=r.proxy),_WF.utils.log("initLoader> providerName: ",e),i[e]&&r&&r.config&&o&&i[e].init(r.config,o)}}))},setStyles:function(e,t){Object.keys(t).forEach((function(i){var n=t[i];_WF.utils.attempt((function(){var t=0,r=i.replace(/-?(\w)(\w+)/gi,(function(){return 1===++t?arguments[0]:arguments[1].toUpperCase()+arguments[2]}));e.style[r]=n}),!1)}))},setupStickySecondaryPlacements:function(){var e,t=document.getElementById("secondary-wrapper");if(!t&&!_WF.utils.isMobile()&&((t=document.createElement("div")).id="secondary-wrapper",e=_WF.utils.isQuizPost()?document.getElementById("secondary-P1-wrapper")||document.getElementById("secondary-P1"):document.getElementById("secondary-P2-wrapper")||document.getElementById("secondary-P2"))){for(e.parentNode.insertBefore(t,e.nextElementSibling);t.nextElementSibling;)t.appendChild(t.nextElementSibling);if(10===_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID))){var i=document.getElementById("secondary-P5-wrapper")||document.getElementById("secondary-P5");i&&i.previousElementSibling&&~i.previousElementSibling.className.indexOf("attribution")&&t.appendChild(i.previousElementSibling),t.appendChild(i)}}},handleSecondarySticky:function(){var e;if(e=_WF.utils.isTesting("quizlayout_ab","newLayout",!0)?document.getElementById("secondary-P2-wrapper"):document.getElementById("secondary-P5-wrapper")){var t,i=document.querySelector("footer");if(t=_WF.utils.isQuizPost()?document.getElementById("secondary-P1-wrapper")||document.getElementById("secondary-P1"):document.getElementById("secondary-P4-wrapper")||document.getElementById("secondary-P4")){var n=window.getComputedStyle(t),r=t.getBoundingClientRect(),o=r.bottom+parseFloat(n.marginBottom),a=7===_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID))?83:63,s=_WF.utils.getWindowScrollYPosition();i&&s+e.offsetHeight>=i.offsetTop||r&&o>a?_WF.utils.removeClass(e,"secondary-wrapper"):r&&o<=a&&_WF.utils.addClass(e,"secondary-wrapper")}}},getWindowScrollYPosition:function(){return window.scrollY||window.pageYOffset},getScrollDepthPercentage:function(){const e=_WF.utils.getWindowScrollYPosition(),t=document.documentElement.scrollHeight-document.documentElement.clientHeight;return(t>0?e/t*100:NaN).toFixed(2)}
1,isPhotoCredit:function(e){if("P"!==e.nodeName)return!1;if(/((Photo|Image|Foto)( Credit)?s?):/gi.test(e.innerText))return!0;var t=Array.prototype.slice.call(e.childNodes);return 0===(t=t.filter((function(e){return(e.nodeValue||e.innerText).trim().length>0}))).filter((function(e){return"I"!==e.nodeName&&"A"!==e.nodeName})).length},appendFBLikeButtonsToImages:function(e){},repositionCaption:function(e){e&&!_WF.cache.getItem(_WF.KEYS.ISSWARMPOST)&&Array.prototype.slice.call(e.querySelectorAll("img")).forEach((function(e){var t="PICTURE"===e.parentNode.nodeName&&_WF.utils.hasClass(e.parentNode.parentNode,"picture-container")?e.parentNode.parentNode.nextElementSibling:e.nextElementSibling;if(!_WF.utils.hasClass(e,"no-fb-buttons"))for(;t;){if(_WF.utils.isPhotoCredit(t)){"PICTURE"===e.parentNode.nodeName&&_WF.utils.hasClass(e.parentNode.parentNode,"picture-container")?e.parentNode.parentNode.querySelector(".caption").appendChild(t):(_WF.utils.setStyles(t,{"font-size":"75%",color:"#a2a2a2","font-style":"italic","margin-top":"0.5em"}),e.parentNode.insertBefore(t,e.nextElementSibling));break}if(t=t.nextElementSibling,_WF.utils.hasClass(t,"picture-container"))break}}))},handlePowrEmebdResponsiveness:function(){Array.prototype.slice.call(document.querySelectorAll("iframe[class*='powr_embed']")).forEach((function(e){var t=e.offsetWidth,i=_WF.utils.parseInt(.5625*t);_WF.utils.setStyles(e,{width:"100%",height:i+"px"})}))},isCategoryPage:function(){return _WF.cache.getItem(_WF.KEYS.ISCATEGORYPAGE)},isDecoistGallery:function(){return"48"===_WF.cache.getItem(_WF.KEYS.BLOGID)&&(-1!==document.getElementsByTagName("body")[0].getAttribute("class").indexOf("attachment-png")||-1!==document.getElementsByTagName("body")[0].getAttribute("class").indexOf("attachment-jpeg"))},isMobileSnapSource:function(){return _WF.utils.isSnapSource()&&_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isMobile()},isDarkMode:function(){let e=!1;window.matchMedia("(prefers-color-scheme: dark)")&&(e=!0);const t=_WF.cache.getItem(_WF.KEYS.DARKMODE);return e=null!=t&&!1!==t,e},isValidUrl:function(e){var t=!1;try{t=new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%@_.~+&:]*)*(\\?[;&a-z\\d%@_.,~+&:=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}catch(e){return!1}return t},isEligibleForSessionTransfer:function(){if(!1===_WF.cache.getItem(_WF.KEYS.STORAGEACTIVE))return!0;if("ios"===_WF.utils.getDeviceOS()&&_WF.utils.isRsocPost())return!0;var e=_WF.cache.getItem(_WF.BROWSERINFO.NAME),t=_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH);return!_WF.utils.isCrawler()&&"android"===_WF.utils.getDeviceOS()&&t<3&&{electron:!0,applenews:!0,news:!0,pinterest:!0,twitter:!0,applewebkit:!0,espn:!0}[e]},removeLargeQueryStringParamsFromUrl:function(e){const t=new Set([_WF.KEYS.RSOCADCREATIVEOVERRIDE.toLowerCase(),_WF.KEYS.RSOCTERMSOVERRIDEQUERYSTRINGKEY.toLowerCase()]),i=e;let n=!1;const r=e.split("?");if(r.length>1){const i=r[1].split("&"),o=i.filter((function(e){let i=e.split("=")[0];return!t.has(i.toLowerCase())||(n=!0,!1)}));o.length!==i.length&&(e=r[0]+(o.length>0?"?"+o.join("&"):""))}const o=_WF.cache.getItem(_WF.KEYS.QUERYSTRING);if(o&&(Object.keys(o).forEach((function(e){t.has(e.toLowerCase())&&delete o[e]})),_WF.cache.setItem(_WF.KEYS.QUERYSTRING,o)),n&&e!==i&&"undefined"!=typeof window&&window.history)try{window.history.replaceState(null,null,e)}catch(e){}return e},updateUrlForSessionTransfer:function(e){if(!_WF.utils.isEligibleForSessionTransfer())return e;const t=_WF.cache.getItem(_WF.KEYS.QUERYSTRING),i=_WF.utils.processQueryString(e),n=t&&Object.keys(t).reduce(((e,n)=>(i.hasOwnProperty(n)||(""!=e&&(e+="&"),e+=`${n}=`,t[n]&&(e+=t[n])),e)),"");n&&(-1===e.indexOf("?")?e+="?":e+="&",e+=n);var r=[_WF.KEYS.SESSIONTOKEN,_WF.KEYS.UTMSOURCE,_WF.KEYS.UTMCAMPAIGN,_WF.KEYS.UTMMEDIUM,_WF.KEYS.UTMCONTENT,_WF.KEYS.BUCKETID,_WF.KEYS.UTMTERM,_WF.KEYS.UTMPLACEMENT,_WF.KEYS.UUID,_WF.KEYS.GADSOURCE],o=(r=r.concat(_WF.utils.getPartnerClickIdQueryStrings())).reduce((function(t,i){return e.indexOf("?"+i)>-1||e.indexOf("&"+i)>-1||!_WF.cache.getItem(i)?t:(""!==t&&(t+="&"),t+=i+"="+_WF.cache.getItem(i))}),"");return e+(-1===e.indexOf("?")?"?":"&")+o},handleSessionTransfer:function(){_WF.utils.isEligibleForSessionTransfer()&&(Array.prototype.slice.call(document.querySelectorAll(".next-button a,#next-button a,#header-next-button a,.nextButtonImageOverlay")).forEac
1h((function(e){e.href=_WF.utils.updateUrlForSessionTransfer(e.href)})),window.history.pushState(null,null,_WF.utils.updateUrlForSessionTransfer(window.location.href)))},gsc:function(e,t){let i;try{i=function(e){const t=Date.now(),i=_WF.utils.isTesting("splayout_ab","bttl",!0)?_WF.utils.getPageToken():_WF.cache.getItem(_WF.KEYS.POSTID)||Math.floor(9999*Math.random()),n=_WF.cache.json.get(_WF.KEYS.BTTL)||{},r="object"==typeof n&&n[i]?n:{};return Array.isArray(e)?(r[i]=e.sort(((e,t)=>t.cpm-e.cpm||e.expiry-t.expiry)).slice(0,64),_WF.cache.json.set(_WF.KEYS.BTTL,r)):r[i]=(Array.isArray(r[i])?r[i]:[]).filter((e=>e.expiry&&e.expiry>t)),r[i]}(e)}catch(e){}return i},getPBJSBucketString:function(e,t){var i=t.buckets.reduce((function(e,t){return e.max>t.max?e:t})),n=t.buckets.reduce((function(t,i){return i.min<=e&&i.max>e?i:t}),i),r=n.increment,o=n.precision,a=e>n.max,s=e,c=1/r;return s=e>2?Math.floor(1*(c*e).toPrecision(8))/c:c*e/c,(a?n.max:s).toFixed(o)},isPrebidTesting:function(){return!0},getBucketFromToken:function(e,t,i){t||(t=0),i||(i=_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN));const n=_WF.cache.getItem(_WF.KEYS.TOKENBUCKETRESULTS)||{},r=`${e}_${t}_${i}`;if(n&&void 0!==n[r])return n[r];var o=_WF.utils.sha1.hash(i);t%=o.length-3;var a=parseInt(o.substring(t,t+3),16)<16*e*16*16;return n[r]=a,_WF.cache.setItem(_WF.KEYS.TOKENBUCKETRESULTS,n).asPersistent(),a},isPassiveBucketEnabled:function(e){if(!_WF.passiveSessionBuckets)return!1;_WF.passiveSessionBuckets.sort((function(e){return"*"===e.sites?1:-1}));for(var t=_WF.cache.getItem(_WF.KEYS.BLOGNAME),i=0;i<_WF.passiveSessionBuckets.length;i++){var n=_WF.passiveSessionBuckets[i];if(n.name===e&&n.active){var r=!1;if("*"===n.sites?r=!0:"object"==typeof n.sites&&(r=n.sites.some((function(e){return e===t}))),r)return _WF.utils.getBucketFromToken(n.percentage,n.name.charCodeAt(0))}}return!1},isTopiaryEnabled:function(){var e=_WF.utils.abState("topiary_ab");return"none"!==e&&(""!==e||_WF.utils.isPassiveBucketEnabled("topiary"))},awaitFocus:function(e,t){document.hasFocus()?e():_WF.utils.setTimeout((function(){_WF.utils.awaitFocus(e,t)}),t||100)},handleOrganicCampaignInCache:function(){var e="organic",t=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||e;t===e&&_WF.REFERRERLIST.forEach((function(e){document.referrer.toLocaleLowerCase().indexOf(e)>-1&&(t=e,_WF.cache.setItem(_WF.KEYS.UTMSOURCE,t).asPersistent())}));var i=_WF.cache.getItem(_WF.KEYS.UTMCAMPAIGN),n=i||e;n===e&&t!==e&&(n+="-"+t),n!==i&&_WF.cache.setItem(_WF.KEYS.UTMCAMPAIGN,n).asPersistent()},sendPageView:function(e,t,i){if(!i){i=_WF.cache.getItem(_WF.KEYS.POSTU
1RL);var n=_WF.cache.getItem(_WF.KEYS.BLOGID);e>1&&(i+=e,10!==n&&12!==n&&(i+="/"))}i+=document.location.search+document.location.hash,t?window.history.pushState(null,null,i):window.history.replaceState(null,null,i),_WF.utils.log("track pageview",e),_WF.cache.setItem(_WF.KEYS.PAGENUMBER,e),pbjs.refreshCounter=-1,_WF.dataCollection.init()},createAttributionDiv:function(){var e=document.createElement("div");return e.className="attribution attribution-over attribution-center",e.innerHTML=_WF.utils.getLocalizedAttributionText(),e},isC2SEnabled:function(){return!0===_WF.cache.getItem(_WF.KEYS.ISN2S)&&(_WF.utils.isTesting("lk_ab")||_WF.utils.inQsp("rmd","lk"))},copyLinkToClipboard:function(e,t){var i=document.getElementById(e),n=i.value.length;i.focus(),i.select(),i.setSelectionRange(0,n),document.execCommand("copy")},trackUnfilled:function(e){(se.slots()||[]).forEach((t=>{if(t.div==e){var i=t.getTargetingMap();JSON.stringify(Object.assign({},i))}}))},clearDivChildren:function(e){Array.prototype.slice.call(e.childNodes).forEach((function(t){e.removeChild(t)}))},sendInjectorAlert:function(e,t,i){_WF.utils.sendTracking({name:e,payload:{messagetime:_WF.utils.time(),sitename:_WF.cache.getItem(_WF.KEYS.BLOGNAME),provider:t,position:i,fingerprint:_WF.cache.getItem(_WF.KEYS.UUID),subid:_WF.cache.getItem(_WF.KEYS.SUBID),utmsource:_WF.cache.getItem(_WF.KEYS.UTMSOURCE),devicetype:_WF.cache.getItem(_WF.KEYS.DEVICETYPE),useragent:navigator.userAgent,postname:_WF.cache.getItem(_WF.KEYS.POSTNAME),pagenumber:_WF.cache.getItem(_WF.KEYS.PAGENUMBER)}})},setupBounceTracking:function(){var e=_WF.utils.parseInt(ge(_WF.KEYS.SESSIONDEPTH)),t=!!ge(_WF.KEYS.BACKTRACK);if(0===e&&!t){window.onpopstate=function(e){_WF.utils.setTimeout((function(){history.back()}),100)};
1var i=_WF.cache.getItem(_WF.KEYS.POSTURL);i+=document.location.search+document.location.hash,window.history.pushState(null,null,i),_WF.cache.setItem(_WF.KEYS.BACKTRACK,!0)}},getPerformanceNow:function(){return window.performance&&window.performance.now&&window.performance.now()||0},getPageType:function(){var e=!!_WF.cache.getItem(_WF.KEYS.ISATTACHMENT),t=0==_WF.cache.getItem(_WF.KEYS.PAGENUMBER);return _WF.cache.getItem(_WF.KEYS.ISSEARCH)?"search":e?"gallery":t?"index":"article"},getPostType:function(){const e=_WF.utils.isEligibleForSinglePageLayout(),t=_WF.utils.getPostFormat(),i=_WF.utils.isTesting("quizlayout_ab","spl",!0);return"quiz"===t&&i?"splquiz":e?"singlepage":t},getPreviousSlideUrl:function(){var e=_WF.cache.getItem(_WF.KEYS.POSTURL),t=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER)),i=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID));if(t<3)return e;var n=e+(t-1).toString();return 0!==i&&12!==i&&(n+="/"),n},addPreviousNavButton:function(){var e=document.getElementById("next-button"),t=document.createElement("div"),i=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER));if(_WF.utils.createDynamicStyleSheet([".navButtonContainer { display: flex; justify-content: center; }",".navButtonContainer div { margin: 10px !important; width: 40%; }"].join("\n")),t.className="navButtonContainer",_WF.utils.log("addPreviousNavButton> adding nav button container"),i>1){var n=document.getElementById("next-button").cloneNode(!0),r=n.querySelector("a");r.innerText="Prev",r.href=_WF.utils.getPreviousSlideUrl(),t.appendChild(n),_WF.utils.log("addPreviousNavButton> adding prev button")}e.parentElement.insertBefore(t,e),t.appendChild(e)},readMoreClickHandler:function(){var e=document.getElementById("read-more-link"),t=document.getElementById("read-more-text"),i=document.getElementById("read-more-content");if(e&&_WF.utils.setStyles(e,{display:"none"}),t&&_WF.utils.setStyles(t,{display:"inline"}),_WF.utils.isRsocPost()){let e;if(i){_WF.utils.setStyles(i,{display:"block"});
1Array.prototype.slice.call(i.querySelectorAll("iframe")).forEach((function(t){t&&t.dataset&&t.dataset.src&&(t.src=t.dataset.src,e=t.src)}))}}_WF.emit(_WF.EVENTS.READMORECLICK)},updateVideoCss:function(e,t,i,n,r){let o={};const a=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID));let s=_WF.utils.isSlotAssigned("anc1","prebidv2")&&!_WF.utils.isTesting("anc_ab","top",!0)&&(!_WF.utils.isTesting("desktop_spl_ab","sticky",!0)&&!_WF.utils.isTesting("clear_ads_ab","narrowanc",!0)&&52!=a&&48!=a||window.innerWidth<1800||_WF.utils.isTesting("anc_ab","double",!0))&&!(_WF.utils.isTesting("gonetap_ab")||_WF.utils.isTesting("identity_ab","onetap",!0)&&!_WF.utils.isTesting("identity_ab","bottomanc",!0)),c="",l=!0,u=!_WF.utils.isTesting("mobilelayout_ab","leftvideo",!0);if(t.anchorLocation&&(c+=`transform-origin: ${t.anchorLocation} !important; transform: scale(0.5) !important;`,-1!==t.anchorLocation.indexOf("top")&&(l=!1,s=!1),-1!==t.anchorLocation.indexOf("left")&&(u=!1)),_WF.utils.isDesktop()&&_WF.utils.isTesting("splayout_ab","leftvideo",!0)&&window.innerWidth>=1480&&(u=!1),t.anchorTop&&(l=!1,s=!1),l&&s){const e=_WF.utils.isDesktop()?146:80;c+=`bottom: ${e}px !important; margin-bottom: 0px !important;`,o.bottom=e,o.marginBottom=0,n&&(c+=`margin-top: ${e}px !important;`,o.marginTop=e)}if(!l){let e;if(_WF.utils.isTesting("anc_ab","both",!0)?e=document.getElementById("anchory2"):_WF.utils.isTesting("anc_ab","top",!0)?e=document.getElementById("anchory"):_WF.utils.isDesktop()&&(e=document.querySelector("header")),e){const t=_WF.utils.objectFilter(window.getComputedStyle(e),"height");if(t&&t.height){let e=_WF.utils.parseInt(t.height.replace("px",""));_WF.utils.isDesktop()&&(e+=25),c+=`top: ${e}px !important; margin-top: 0px !important;`,o.top=e,o.marginTop=0,n&&(c+=`margin-bottom: ${e}px !important;`,o.marginBottom=e)}}}return u||(c+="left: 5px !important;",o.left=5),""===c||r||(_WF.utils.log(`updating video CSS for ${e}`,c),i?_WF.utils.createDynamicStyleSheet(`${e} { ${c} }`,null,null,i):_WF.utils.createDynamicStyleSheet(`${e} { ${c} }`)),o},isInScriptWhitelist:function(e){return(_WF.whitelist&&_WF.whitelist.oembed?_WF.whitelist.oembed:{oembed:[]}).filter((function(t){return-1!==e.indexOf(t)})).length>0},evaluateScriptTags:function(e){for(var t=e.getElementsByTagName("script"),i=t.length,n=0;n<i;n++){var r=t[n];if(r.parentElement.removeChild(r),_WF.utils.isInScriptWhitelist(r.src)){var o=document.createElement("script");o.setAttribute("type","text/javascript"),o.textContent=r.innerText,o.src=r.src,e.appendChild(o),_WF.utils.log("evaluateScriptTags> ",e.id)}else _WF.utils.log("Skipping evaluateScriptTags due to whitelist>",e.id)}},forceComputedStyles:function(e,...t){var i=window.getComputedStyle(e),n=_WF.utils.objectFilter(i,...t);e.removeAttribute("style"),Object.assign(e.style,n)},interpretAniviewResponse:function(t){var i,n,r;_WF.utils.log("aniview> callback",t);var o=(t=t||{}).adsoruce||t.adSoruce||t.adsource||t.adSource||t.asid||!1,a=t.auctionType,s=t.bidCode,c=0;if(s){var l=s.slice(2);c=.85*(j.getCpm(l)||0)}var u=t.pCpm||t.cpm||(t.tagInfo||{}).bidCpm;if(0==a||2==a)r=u||t.floorPrice;else if(n=c||u,r=t.floorPrice,n)try{var d=parseFloat(n);if(!isNaN(d)){d/=1e3;var _=_WF.cache.getItem(_WF.KEYS.RPS),p=(_=null==_||isNaN(parseFloat(_))?0:parseFloat(_))+d;_WF.cache.setItem(_WF.KEYS.RPS,p)}}catch(t){log("avantis> cpm -> rps error",e)}var m=t.bidder;if(t.amznp){var g=(_WF.amazonSubBidders||{})[t.amznp];g&&(m+="-"+g)}if("avantis"===t.demandOwner&&(m?m+="-avantis":m=t.demandOwner),o){var f=o.split("|"),F=_WF.aniviewAdSourceIdMap||{};F[i=f.length>1?f[1]:f[0]]&&(m=F[i])}return{adSourceId:i,cpm:n,bidder:m,auctionType:a,floor:r,amznp:t.amznp}},getAbsoluteDivHeight:function(e){if(!(e="string"==typeof e?document.querySelector(e):e)||0===e.offsetHeight)return 0;var t=window.getComputedStyle(e),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom)||0;return Math.ceil(e.offsetHeight+i)},getAbsoluteDivWidth:function(e){if(!(e="string"==typeof e?document.querySelector(e):e)||0===e.offsetWidth)return 0;const t=window.getComputedStyle(e),i=Math.max(0,parseFloat(t.marginLeft)||0)+Math.max(0,parseFloat(t.marginRight)||0);return Math.ceil(e.offsetWidth+i)},getDivDimensions:function(e,t=!1){var i={totalArea:0,totalHeight:0,totalWidth:0};if(!(e="string"==typeof e?document.querySelector(e):e)||1!==e.nodeType)return _WF.utils.log("getDivDimensions> div skipped",e),i;function n(e){return-1!==e.className.indexOf("ad-widget")||e.firstElementChild&&-1!==e.firstElementChild.className.indexOf("flexible-ads-sticky")}if(!t&&n(e))return _WF.utils.log("getDivDimensions>
1 div ad skipped",e),i;const r=_WF.utils.getAbsoluteDivHeight(e),o=_WF.utils.getAbsoluteDivWidth(e);return 0==e.childElementCount||"DIV"!=e.nodeName?(_WF.utils.log("getDivDimensions> [div, div.childElementCount, div.clientHeight, width, height]",[e,e.childElementCount,e.clientHeight,o,r]),i.totalArea+=o*r,i.totalHeight+=r,i.totalWidth+=o):([...e.children].reduce(((e,i)=>{if(t||!n(i)){var r=_WF.utils.getAbsoluteDivHeight(i),o=_WF.utils.getAbsoluteDivWidth(i);_WF.utils.log("getDivDimensions> [childNode, childNode.childElementCount, childNode.clientHeight, width, height]",[i,i.childElementCount,i.clientHeight,o,r]),e.totalArea+=o*r,e.totalHeight+=r,e.totalWidth+=o}else _WF.utils.log("getDivDimensions> childNode ad skipped",i);return e}),i),i.totalHeight>r&&(i.totalHeight=r),i.totalWidth>o&&(i.totalWidth=o)),i},isElementInViewport:function(e){if(!e||!e.getBoundingClientRect)return!1;var t=e.getBoundingClientRect();return!!(t.bottom||t.right||t.top||t.left)&&(t.bottom>=0&&t.right>=0&&t.top<=(window.innerHeight||document.documentElement.clientHeight)&&t.left<=(window.innerWidth||document.documentElement.clientWidth))},isElementAboveViewport:function(e){if(!e||!e.getBoundingClientRect)return!1;var t=e.getBoundingClientRect();return t.bottom<0&&t.right>=0&&t.top<0&&t.left<=(window.innerWidth||document.documentElement.clientWidth)},refreshAirfind:function(){_WF.utils.log("refreshAirfind> attempting to refresh airfind");var e=_WF.cache.getItem(_WF.KEYS.PROVIDERS);Object.keys(e).forEach((t=>{var i=e[t];i&&-1!=i.indexOf("airfind")&&(_WF.utils.log("refreshAirfind> refreshing airfind in placement",[i,t]),_WF.utils.initLoader(i,t))}))},sha256Hash:async function(e){const t=(new TextEncoder).encode(e),i=await window.crypto.subtle.digest("SHA-256",t),n=Array.from(new Uint8Array(i)).map((e=>e.toString(16).padStart(2,"0"))).join("");return n},getPrebidExclusionDivIds:function(){return se.slots().filter((e=>e.getAdUnitPath().indexOf("_spotim")>=0||"primary-video-P1"===e.div)).reduce(((e,t)=>(e[t.div]=!0,e)),{topiary:!0})},isAdBlockDetected:function(){return!0===_WF.cache.getItem(_WF.KEYS.ADBLOCK)||!0===_WF.cache.getItem(_WF.KEYS.FADBLOCK)||!0===_WF.cache.getItem(_WF.KEYS.DADBLOCK)},getRoi:function(){const e=function(e){let t=_WF.cache.getItem(_WF.KEYS.DPC)||0;if(!t||isNaN(t)){const i=_WF.cache.getItem(_WF.KEYS.UTM_CPC);if(i&&"{cpc}"!=i||e(-1),isNaN(i))try{const e=[[-475357351,-1235649102,768481599,-329621097],[-1736382764,-2117684436,1232527505,-1608474799]],n=CryptoJS.enc.Base64.parse(i.replace(/_/g,"/").replace(/-/g,"+")),r=CryptoJS.lib.CipherParams.create({ciphertext:n}),o={mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7};e.forEach((e=>{try{const i=CryptoJS.AES.decrypt(r,{words:e,sigBytes:16},o).toString(CryptoJS.enc.Utf8);/^(\d)+((\.)\d+)?\_/.test(i)&&(t=parseFloat(i))}catch(e){}}))}catch(e){}else t=parseFloat(i)}const i=_WF.cache.getItem(_WF.KEYS.RPS);t&&!isNaN(t)&&(_WF.cache.setItem(_WF.KEYS.DPC,t).asPersistent(),_WF.utils.log("dpc> ",t),e(100*(i-t)/t)),e(-1)};return new Promise((function(t,i){window.CryptoJS?e(t):_WF.utils.loadScript("https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js",(function(){e(t)}),!0)}))},propagateElementHeight:function(e){var t=window.getComputedStyle(e)||{},i=_WF.utils.parseInt(String(t.height||0).replace(/px/g,"")),n=_WF.utils.parseInt(String(t.marginTop||0).replace(/px/g,""))||8,r=_WF.utils.parseInt(String(t.marginBottom||0).replace(/px/g,""))||8;_WF.utils.setStyles(e,{"min-height":i+"px","margin-top":n+"px","margin-bottom":r+"px"})},shuffleArray:function(e){let t=e.slice(0);for(let e=t.length-1;e>0;e--){const i=Math.floor(Math.random()*(e+1));[t[e],t[i]]=[t[i],t[e]]}return t},trackUrlUpdates:function(e){window.addEventListener("hashchange",(()=>{_WF.utils.log("trackUrlUpdates> hash change triggered ",window.location.hash),e(window.location.hash)}))},observeDivForHeightChange:function(e,t,i){if(!(e&&e.getBoundingClientRect&&ResizeObserver&&i))return;const n=new ResizeObserver((function(){requestAnimationFrame((()=>{var r=_WF.utils.getAbsoluteDivHeight(e);r>t&&(i(r),n.disconnect())}))}));n.observe(e)},getSpoConfigKey:function(){const e=_WF.cache.getItem(_WF.KEYS.DEVICETYPE),t=_WF.utils.getPostType(),i=_WF.cache.getItem(_WF.BROWSERINFO.NAME),n=_WF.cache.getItem(_WF.KEYS.COUNTRYCODE)?.toLowerCase();return _WF.utils.isTesting("spo_ab","v2",!0)?`${e}-${n}`:`${e}-${t}-${i}`},setupSecondaryStickyRotation:function(e){const t=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("desktoplayout_ab","sprotate",1))||1200,i=[...document.querySelectorAll(".secondary-ad-widget")].filter((e=>e&&_WF.utils.isSlotAssigned(_WF.utils.abbreviateSlotNames(e.id),"prebidv2")));if(0===i.length)return;const n=i.pop();
1i.forEach((i=>{const n=_WF.utils.abbreviateSlotNames(i?.id);if(_WF.utils.isSlotAssigned(n,"prebidv2")){const n=document.getElementById(i.id+"-wrapper");if(n){_WF.utils.setStyles(n,{"justify-content":"start"});const r=document.createElement("div");r.id=i.id+"-sticky-wrapper",n.parentNode.insertBefore(r,n),_WF.utils.setStyles(r,{"min-height":t+"px"}),r.appendChild(n),me(i.id,Object.assign({},e||{},{lower:{element:"#"+r.id,internal:!0}}))}}})),me(n.id,e)},getPartnerClickId:function(){for(const t of _WF.utils.getPartnerClickIdQueryStrings()){var e=_WF.cache.getItem(t);if(e)return e}return""},getPartnerClickIdType:function(){for(const e of _WF.utils.getPartnerClickIdQueryStrings()){if(_WF.cache.getItem(e))return e}return""},trackRsocConversion:function(e,t,i,n){_WF.utils.trackGenericEvent("rsoc_conversion",e,t,i||_WF.utils.token(),_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN),_WF.cache.getItem(_WF.KEYS.UTMCAMPAIGN),_WF.cache.getItem(_WF.KEYS.UTMTERM),_WF.utils.getPartnerClickId(),_WF.utils.getPartnerClickIdType(),(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}).s,_WF.cache.getItem(_WF.KEYS.RSOCKEYWORDCHANNELID),n)},getRsocTrafficSource:function(){switch(_WF.utils.getPartnerClickIdType()){case _WF.KEYS.FBCLID:return"facebook";case _WF.KEYS.TWCLID:return"twitter";case _WF.KEYS.GCLID:case _WF.KEYS.GBRAID:case _WF.KEYS.WBRAID:return"google";default:return""}},fireRsocPostback:function(){const e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE);let t=_WF.RSOCPOSTBACKS[e];t&&(t=t.replace("{click_id}",_WF.utils.getPartnerClickId()),t=t.replace("{campaign}",_WF.cache.getItem(_WF.KEYS.UTMCAMPAIGN)),t=t.replace("{channel}",_WF.cache.getItem(_WF.KEYS.UTMTERM)),t=t.replace("{source}",e),t=t.replace("{medium}",_WF.cache.getItem(_WF.KEYS.UTMMEDIUM)),t=t.replace("{content}",_WF.cache.getItem(_WF.KEYS.UTMCONTENT)),t=t.replace("{placement}",_WF.cache.getItem(_WF.KEYS.UTMPLACEMENT)),t=t.replace("{country}",_WF.cache.getItem(_WF.KEYS.LOCATION)?.country_code||""),t=t.replace("{device_name}",_WF.cache.getItem(_WF.KEYS.DEVICETYPE)),t=t.replace("{device_code}",_WF.cache.getItem(_WF.KEYS.DEVICETYPE).charAt(0)),t=t.replace("{traffic_source}",_WF.utils.getRsocTrafficSource()),t=t.replace("{useragent}",navigator.userAgent),t=t.replace("{user_agent}",navigator.userAgent),t=t.replace("{ip}",_WF.cookieStore.getItem("akaclientip")||""),t=t.replace("{mlid}",_WF.cache.getItem(_WF.KEYS.MLID)||""),fetch(t),_WF.utils.trackGenericEvent("rsoc_postback",e,_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN),t,JSON.stringify(_WF.utils.processQueryString(t))))},memoize:function(e){var t={};return i=>{if(i in t)return t[i];var n=e(i);return t[i]=n,n}}};_WF.utils.extend(_WF.utils,Ee),Date.now||(Date.now=function(){return _WF.utils.time});var We,Se,be,ve,ye,Ie,Te,Ae,we,Oe,Ce,xe,Ne,Re={iabcatlookup:(Ne=JSON.parse('{\n            "www.trend-chaser.com":["IAB1-2"],\n            "www.giveitlove.com":["IAB6-4"],\n            "www.idolator.com":["IAB1-6"],\n            "www.pastfactory.com":["IAB1-2"],\n            "www.desafiomundial.com":["IAB17"],\n            "www.hooch.net":["IAB1-2"],\n            "www.postfun.com":["IAB1-2"],\n            "www.buzznet.com":["IAB1-2"],\n            "www.moneypop.com":["IAB13"],\n            "www.healthygem.com":["IAB7"],\n            "www.quizscape.com":["IAB1-2"],\n            "www.gamedaynews.com":["IAB17"],\n            "www.bleacherbreaker.com":["IAB1-2"],\n            "www.dadpatrol.com":["IAB6-4"],\n            "www.purevolume.com":["IAB1-2"],\n            "www.tacorelish.com":["IAB1-2"],\n            "www.brakeforit.com":["IAB2"],\n            "www.themystique.com":["IAB1-2"],\n            "www.bavardist.com":["IAB1-2"],\n            "www.exploredplanet.com":["IAB20"],\n            "www.factable.com":["IAB1-2"],\n            "www.thisiswhyimsingle.com":["IAB1-4"],\n            "www.dailyfunny.com":["IAB1-4"],\n            "www.lifestylelatino.com":["IAB1-2"],\n            "www.vidabrilhante.com":["IAB1-2"],\n            "www.japacrunch.com":["IAB1-2"],\n            "www.editorchoice.com":["IAB1-2"],\n            "www.decoist.com":["IAB10"],\n            "www.manmadediy.
1com":["IAB10-5"],\n            "www.abandonedspaces.com":["IAB15-8"],\n            "www.outdoorrevival.com":["IAB9"],\n            "www.thevintagenews.com":["IAB1-2"],\n            "www.warhistoryonline.com":["IAB5-2"],\n            "www.iwastesomuchtime.com":["IAB1-4"],\n            "www.iwastesomuchmoney.com":["IAB1-4"],\n            "www.slowrobot.com":["IAB1-4"],\n            "www.higherperspectives.com":["IAB15-1"],\n            "www.thecouplething.com":["IAB1"],\n            "www.lvtimes.com":["IAB1"],\n            "www.hareal.com":["IAB1"],\n            "www.modernhomelife.com":["IAB1"]\n        }'),{byHost:function(e){return Ne[e]||[]}}),dfpInfo:(be=_WF.DFPI,ve=be.decoders,ye=ve[4],Ie=ve[2],Te=ve[3],Ae=ve[6],we=ve[1],Oe=Object.keys(be.orders).reduce(((e,t)=>{var i=be.orders[t];return e[t]=ve[i],e}),{}),Ce=be.companies,xe={5252403816:{name:"NextRoll_DC_ROS",cpm:6},5252691533:{name:"Criteo_DC_ROS",cpm:6}},_WF.on(_WF.KEYS.PREBID,(function(e){var t=(e||{}).pmps||{};xe=JSON.parse(JSON.stringify(t))})),{getPmpDetails:function(e){var t=String(e.sourceAgnosticLineItemId);return{bidderCode:xe[t].name,bidder:xe[t].name,cpm:xe[t].cpm,markup:1,pb:xe[t].cpm,pbCg:String(xe[t].cpm),value:xe[t].cpm}},isAdsense:function(e){var t=String(e.campaignId);return Oe[t]===ye&&{bidder:"AdSense",bidderCode:"AdSense"}},isAdx:function(e){var t="AdExchange",i=String(e.campaignId),n=e.companyIds?e.companyIds[0]:e.advertiserId,r=Ce[n]||"Unknown EBDA";return(Oe[i]===Ie||r===t)&&{bidder:t,bidderCode:t}},isAmazon:function(e){var t=String(e.campaignId);return Oe[t]===Te},isInvalid:function(e){var t=e.campaignId;return!t||t===String(void 0)||t===String(null)},isPmp:function(e){var t=String(e.sourceAgnosticLineItemId);return!!xe[t]},isUnfilled:function(e){var t=String(e.campaignId);return Oe[t]===Ae||e.isEmpty},isYieldGroup:function(e){var t=e.yieldGroupIds,i=e.companyIds?e.companyIds[0]:e.advertiserId,n=Ce[i]||"Unknown EBDA";return null!==t&&{bidder:n,bidderCode:n,subBidder:i||t}},isAdp:function(e){var t=String(e.campaignId);return Oe[t]===we&&{bidder:"Adipolo",bidderCode:"Adipolo"}}}),addScrollListener:(We=[],Se=!1,window.addEventListener("scroll",(function(e){Se||(Se=!0,window.requestAnimationFrame(function(e){return function(){We=We.filter((function(t){return!t(e)})),Se=!1}}(e)))})),window.addEventListener.toString().indexOf("[native code]"),function(e){We.push(e)})};_WF.utils.extend(_WF.utils,Re);var De=function(e,t){var i=!1,n=_WF.cache.getItem(e)||"";if("function"==typeof t)i=t(n);else for(var r=0;r<t.length;r++)if(t[r]===n){i=!0;break}return!!i},Pe={isMobile:function(){var e=!1,t=_WF.KEYS;return(_WF.cache.getItem(t.DEVICETYPE)===t.MOBILE||window.innerWidth<768)&&(e=!0),e},isTablet:function(){var e=!1,t=_WF.KEYS;return(_WF.cache.getItem(t.DEVICETYPE)===t.TABLET||window.innerWidth>=768&&window.innerWidth<=1024)&&(e=!0),e},keyMeetsCriteria:De,meetsCriteria:De};_WF.utils.extend(_WF.utils,Pe);var Le={lessThan:function(e){return function(t){return t<e}},greaterThan:function(e){return function(t){return t>e}},equals:function(e){return function(t){return t==e}},contains:function(e){return function(t){return~t.indexOf(e)}}};_WF.utils.extend(_WF,{conditionals:Le});var Ye=function(e){return e.map((function(e){return Array.isArray(e[0])||(e=[e]),e.map((function(e){return _WF.utils.keyMeetsCriteria.apply(this,e)})).reduce((function(e,t){return e&&t}),!0)})).reduce((function(e,t){return e||t}),!1)},Ke={isDFPUnitEligibleToRun:function(e,t,i=!1){var n,r=e.name||e.adUnitPath,o=!((n=e.blacklist||[]).length&&Ye(n))&&function(e){var t=e.whitelist||[];return!t.length||Ye(t)}(e);t||i||(o=o&&(function(e){return!e.div}(e)||function(e){var t=_WF.cache.getItem(_WF.KEYS.PROVIDERS);return t&&t[e.name]&&(t[e.name].indexOf("prebidv2")>-1||"dfp"===t[e.name])}(e)));var a=e.adUnitPath||r,s=e.adUnitPath?"tag":"group";return _WF.utils.log(s+" "+(o?"eligible":"ineligible")+"> "+a+" for "+r),o}};_WF.utils.extend(_WF.utils,Ke);_WF.utils.extend(_WF.utils,{locationTagFilter:function(e){function t(e,t,i){return e&&e!=t||(e=i),e}const i=_WF.cache.getItem(_WF.KEYS.LOCATION)||{};let n=e;try{let e=t(i.friendly_city||i.city,"00","your city"),r=t(i.friendly_state||i.region_code,"00","your state"),o=t(i.zip_code,"00000","your zip code");
1n=n.replace(/\{city\}/g,e).replace(/\{state\}/g,r).replace(/\{zip-code\}/g,o)}catch(t){return _WF.utils.errorReport("location tag filter > Failed to replace location tags"),e}return n}});_WF.utils.extend(_WF.utils,{disclaimerInjector:function(e,t=null){if(!_WF.disclaimers)return;if(e.getElementsByClassName("disclaimer").length>0)return;let i=_WF.disclaimers;if(t&&(i=i[t]??i),i&&(e.id&&i[e.id]&&(i=i[e.id]??i),i&&i)){let t=_WF.cache.getItem(_WF.KEYS.POSTCATS).flatMap((e=>Object.keys(e).map((t=>i[e[t]])).filter((e=>e))))[0];if(!t&&i.default&&(t=i.default),!i||!t)return;const n=_WF.utils.createElement(`<div class="disclaimer">\n                                                          <p>${t}</p>\n                                                          </div>`);e.appendChild(n)}}});o(8567);function ke(e,...t){_WF.utils.log(`Temporal Treatment Allocation> ${e}`,...t)}function Ue(e){var t=function(e){for(var t=0,i=1779033703^e.length;t<e.length;t++)i=(i=Math.imul(i^e.charCodeAt(t),3432918353))<<13|i>>>19;return function(){return i=Math.imul(i^i>>>16,2246822507),i=Math.imul(i^i>>>13,3266489909),(i^=i>>>16)>>>0}}(String(e));return function(e){return function(){var t=e+=1831565813;return t=Math.imul(t^t>>>15,1|t),(((t^=t+Math.imul(t^t>>>7,61|t))^t>>>14)>>>0)/4294967296}}(t())}function Be(e,t,i){var n=t-e+1;return Math.floor(i()*n+e)}function Me(e,t,i){for(var n=e%t,r=e-n,o=r/t,a=1,s=o,c=[],l=0;l<r;l++)l==s&&(a++,s+=o),c.push(a);ke("evenly allocated treatments",c.slice());var u=[];for(l=0;l<n;l++){a=Be(1,t,i);u.push(a)}ke("randomly allocated treatments",u.slice());var d=c.concat(u);ke("total treatments",d);var _=function(e,t){for(var i=e.length;i>0;){var n=Math.floor(t()*i),r=e[--i];e[i]=e[n],e[n]=r}return e}(d,i);return ke("treatments by period",_),_}var ze=function(e,t){if(function(e){return!!~(e.notes||"").indexOf("temporal")}(e)){t=0;var i=function(e){var t=(e.notes||"").split(" ").reduce((function(e,t){if(~t.indexOf("i:")){var i=t.split(":")[1];e=_WF.utils.parseInt(i)}return e}),0);return ke("period duration",t),t}(e);if(i){var n=function(e){var t=Math.floor(1440/e);return ke("period frequency",t),t}(i),r=function(e){var t=e.groups.length;return ke("count of test treatments",t),t}(e),o=Me(n,r,Ue((s=new Date,ke("PRNG seedValue",c=`${s.getUTCFullYear()}-${s.getUTCMonth()+1}-${s.getUTCDate()}`),c))),a=function(e){var t=new Date,i=t.getUTCMinutes()+60*t.getUTCHours(),n=Math.floor(i/e);return ke("current period",n),n}(i);t=o[a]}ke("treatment for current period",t)}var s,c;return t};var qe={init:function(){_WF.q.push((function(){_WF.on(_WF.EVENTS.SETUP,(function(){const e=_WF.utils.getLogger("intentiq",_WF.LOGLEVEL.PREBID),t=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.NETWORKID)),i=2==t?13566750:1==t?1549460875:1161350937,n=`intentIq_${i}`;if(e("check active"),_WF.utils.isTesting("intentiq_ab")||_WF.utils.isDebugging("intentiq_ab")){e("active");const t=function(){e("script loaded"),window.pbjs=window.pbjs||{},pbjs.que=pbjs.que||[];let t=!1;e("object created"),window[n]=new IntentIqObject({partner:i,pbjs:pbjs,callback:function(i){e("try configure prebid",i);try{if(t)e("prebid already configured");else{e("trigger prebid configuration"),pbjs.que.push((function(){pbjs.mergeConfig({userSync:{userIds:[{name:"pubProvidedId",params:{eids:i}}]}})}));const n=function(e){e.eids&&(e=e.eids);for(let t=0;t<e.length;t++){const i=e[t];if("intentiq.com"===i.source){const e=i.uids;for(let t=0;t<e.length;t++){const i=e[t];if("ppuid"===i.ext.stype)return i.id}}}return null}(i);_WF.on(_WF.EVENTS.DFPLOADED,(function(){window.googletag.pubads().setPublisherProvidedId(n)})),_WF.emit(_WF.EVENTS.IIQLOADED),t=!0}}catch(t){_WF.emit(_WF.EVENTS.IIQLOADED),e("iiqCallbackMethod error",t)}},timeoutInMillis:500,ABTestingConfigurationSource:"IIQServer",manualWinReportEnabled:!0,domainName:document.location.host,sourceMetaData:_WF.cookieStore.getItem("akaclientip"),vrBrowserBlackList:["chrome"],gamObjectReference:window.googletag,gamParameterName:"intent_iq_group"}),pbjs.que.push((function(){pbjs.onEvent("bidWon",(function(t){e("bidWon",t);const i={biddingPlatformId:1,partnerAuctionId:t.auctionId,bidderCode:t.bidderCode,prebidAuctionId:t.auctionId,cpm:t.cpm,currency:t.currency,originalCpm:t.originalCpm,originalCurrency:t.originalCurrency,status:t.status,placementId:t.adUnitCode};window[n].reportExternalWin(i)}))}))},r=_WF.cache.json.get(_WF.KEYS.LOCATION);if(r&&"br"===(r.country_code||"").toLowerCase()){const e=_WF.cache.getItem(_WF.KEYS.UUID);_WF.utils.createElement("<img width='0' height='0' style='display:none;' src='https://sync.intentiq.com/profiles_engine/ProfilesEngineServlet?at=20&mi=10&dpi="+i+"&pcid"+e+"'/>")}e("load script");const o=_WF.cache.getItem(_WF.KEYS.CODEVERSION);
1_WF.utils.loadScript(`/iiquid.js?ver=${o}`,t,!0,document.head)}else e("inactive")}))}))}};qe.init();var Ge=function(e){return~~e},Ve=function(e,t){var i=performance.timing.navigationStart,n=_WF.history=_WF.history||[],r=_WF.cache.getItem(_WF.KEYS.LOGGINGAPIS),o=_WF.cache.getItem(_WF.KEYS.LOGGING),a=Ge(o),s="*"===o,c=!!a&&t&a,l="h"==r||"h"==o,u=/warn|error|exception/gim,d=_WF.utils.memoize((e=>new RegExp(e,"gmi")));return function(t,r){var a=_WF.utils.time(),_="e"==o&&((e.match(u)||[]).length||(t.match(u)||[]).length),p=c||s||_;if(l&&n.push({time:a-i,name:e,message:t,object:r||{}}),p){var m=_WF.cache.getItem(_WF.KEYS.LOGGINGFILTERAPIS)||"",g=_WF.cache.getItem(_WF.KEYS.LOGGINGSTYLESAPIS)||[],f=_WF.cache.getItem(_WF.KEYS.LOGGINGSETTINGSAPIS)||{};if(f.logOverrideEnabled&&(m||g.length>0)){var F=d(m),h="";try{h=JSON.stringify(r)||""}catch(e){}if((t.match(F)||e.match(F)||f.objectSearchEnabled&&h.match(F)||[]).length){for(var E of g){var W=d(E.regex);if(E.enabled&&W&&(t.match(W)||e.match(W)||f.objectSearchEnabled&&h.match(W)||[]).length)return void console.log("%chive> "+Ge(a-i)+"ms> "+e+"> "+t,E.style,r||"")}console.log("hive> "+Ge(a-i)+"ms> "+e+"> "+t,r||"")}}else console.log("hive> "+Ge(a-i)+"ms> "+e+"> "+t,r||"")}}},je=function(){var e=_WF.cache.getItem(_WF.KEYS.UTMMEDIUM);return e&&e.toLocaleLowerCase().indexOf("msn")>-1},He=function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE),t=_WF.cache.getItem(_WF.KEYS.UTMCAMPAIGN),i=_WF.cache.getItem(_WF.KEYS.UTMCONTENT),n=_WF.cache.getItem(_WF.KEYS.UTMMEDIUM);return t&&_WF.DEFAULTUTM[_WF.KEYS.UTMCAMPAIGN].indexOf(t.toLocaleLowerCase())>-1||i&&_WF.DEFAULTUTM[_WF.KEYS.UTMCONTENT].indexOf(i.toLocaleLowerCase())>-1||n&&_WF.DEFAULTUTM[_WF.KEYS.UTMMEDIUM].indexOf(n.toLocaleLowerCase())>-1||e&&_WF.DEFAULTUTM[_WF.KEYS.UTMSOURCE].indexOf(e.toLocaleLowerCase())>-1},$e=function(){var e=!0,t=_WF.KEYS,i=_WF.cache.getItem(t.UTMSOURCE),n=_WF.cache.getItem(_WF.KEYS.BLOGID);-1!==_WF.ORGBLOGLIST.indexOf(n)&&(e=!1),_WF.cache.getItem(t.UTMCAMPAIGN)&&-1===_WF.cache.getItem(t.UTMCAMPAIGN).indexOf("organic")&&i&&(e=!1),i&&~i.indexOf("test")&&(e=!0);var r=_WF.cache.json.get(t.LOCATION);return r&&(_WF.GEOLIST.COUNTRY[r.country_code]||_WF.GEOLIST.REGION[r.region_code]||_WF.GEOLIST.METRO[r.metro_code]||_WF.GEOLIST.ZIPCODE[r.zip_code])&&(e=!0),(He()||_WF.utils.isCrawler()||_WF.cache.getItem(_WF.BROWSERINFO.NAME)===_WF.KEYS.UNSAFE)&&(e=!0),e},Qe=function(e){var t=_WF.cache.getItem(_WF.KEYS.POSTTAX);return t&&t.hiveformat&&t.hiveformat.filter((function(t){return t.slug===e})).length>0},Xe=function(){return Qe("quiz")},Je=function(){return Qe("gallery")},Ze=function(){return Qe("ajaxgallery")},et=function(){return Qe("advertorial")},tt=function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"",t=_WF.INFLUENCERSOURCEMETADATAMAP[e];return!!t&&!1!==t.isInfluencer},it=function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"",t=_WF.INFLUENCERSOURCEMETADATAMAP[e];return-1!==_WF.FACEBOOKSOURCES.indexOf(e)||!!t&&!0===t.isFacebook&&(!0!==t.mobileOnly||_WF.utils.isMobile())},nt=function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SHOPPERSOURCES?.indexOf(e)},rt=function(){return rt.result=rt.result||function(){const e=_WF.cache.getItem(_WF.KEYS.VIEWALL),t=_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES),i="disabled"==_WF.ab_overrides.spallcontent_ab||_WF.utils.isTesting("spallcontent_ab","disabled",!0);return(_WF.utils.isAllContentEnabled()&&!_WF.utils.isDynamicContentEnabled()||t>1&&!_WF.utils.isGalleryPost()&&!_WF.utils.isQuizPost()&&!e&&!i)&&!_WF.cache.getItem(_WF.KEYS.ISTIMERA)}(),rt.result},ot=function(e){var t={};return(e||window.location.search).replace(new RegExp("([^?=&]+)(=([^&?]*))?","g"),(function(e,i,n,r){t[
1i]=r})),t},at=function(e,t=13){var i,n,r;if(e)return 0==t?e:(t=Number(t),e=String(e),t=(t=t>26||t<-26?t%26:t)<0?t+26:t,e.split("").map((function(e){if((i=e.charCodeAt(0))>=97&&i<=122)r=97,n=122;else{if(!(i>=65&&i<=90))return e;r=65,n=90}return i=i+t<=n?i+t:(i+t)%n+(r-1),String.fromCharCode(i)})).join(""))},st=function(e,t,i){var n=_WF.cache.getItem(_WF.KEYS.TAGMAN_PREFIX+e);return!!n&&(t?i?n.indexOf(t)>-1:n===t:"none"!==n&&-1===n.indexOf("control"))},ct=function(e,t,i){var n=ct.cache,r=String(e)+String(t)+String(i);if(n||(n=ct.cache={}),Object.prototype.hasOwnProperty.call(n,r))return n[r];var o=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{};if(Object.prototype.hasOwnProperty.call(o,e)){var a=o[e];n[r]=void 0===t||(void 0!==i?a.indexOf(t)>-1:t.toString()===a)}else n[r]=!1;return n[r]},lt=function(e,t=!1){const i=_WF.cache.getItem(_WF.KEYS.ADSIZEMAP),n=_WF.cache.getItem(_WF.KEYS.PROVIDERS),r=_WF.cache.getItem(_WF.KEYS.SLOTS);if(_WF.utils.isTesting("flexible_ads_ab")&&!e.includes("video")&&(e.includes("primary")||t)){let o=0,a=i[e];if(!a)switch(e){case".pohcontainer":a=i["#primary-over-header-1"];break;case".puicontainer":a=i["#primary-under-image-P1"];break;case".poicontainer":a=i["#primary-over-image-1"];break;case".popcontainer":a=i["#primary-over-paragraph-1"];break;case".puhcontainer":a=i["#primary-under-header-1"]}a&&a.forEach((e=>{e[1]>o&&(o=e[1])}));let s=8;const c=_WF.utils.abState("flexible_ads_ab","50"),l=o+Math.floor(o*(_WF.utils.parseInt(c)/100)),u=document.querySelector("header"),d=_WF.utils.isDesktop(),_=_WF.utils.isTesting("anc_ab","top",!0)||_WF.utils.isTesting("anc_ab","both",!0);if("11"===_WF.cache.getItem(_WF.KEYS.BLOGID))d&&(s+=50);else if(u&&d){const e=_WF.utils.objectFilter(window.getComputedStyle(u),"height");e&&e.height&&(s+=_WF.utils.parseInt(e.height.replace("px","")))}if(_&&(s+=80),_WF.utils.isMobile()){let e=[];for(const t in n)n[t].includes("vidazoo")&&e.push([n[t],t]);e&&e.length>0&&e.forEach((e=>{const t=r[e[1]];if(t){const i=t[e[0]];i&&i.config&&i.config.anchorTop&&(s+=130)}}))}if(_WF.utils.log(`flexible_ads_ab: Slot:${e} | minHeightMax:${l} | Offset:${s}`),t){return`section .inner-entry-content ${e}, .article-content .inner-entry-content ${e} {\n                    display: block;\n                    min-height: ${_WF.utils.parseInt(l)}px;\n                }\n                ${e} .flexible-ads-sticky {\n                    position: sticky;\n                    top: ${s}px;   \n                }`}return _WF.on(_WF.EVENTS.FOOTERSTART,(function(){const t=document.querySelector(`${e}-wrapper`);if(t){const i=document.createElement("div");i.classList.add("flexible-ads-sticky"),t.appendChild(i);const n=document.querySelector(`${e}-wrapper .attribution`);n&&i.appendChild(n);const r=document.querySelector(`${e}`);r&&i.appendChild(r)}})),`${e}-wrapper.ad-widget-wrapper {\n                display: block;\n                min-height: ${l}px;\n            }\n            ${e}-wrapper.ad-widget-wrapper .flexible-ads-sticky {\n                position: sticky;\n                top: ${s}px;   \n            }`}return""},ut=function(){return[_WF.KEYS.FBCLID,_WF.KEYS.GBRAID,_WF.KEYS.GCLID,_WF.KEYS.JEUUID,_WF.KEYS.NBCLID,_WF.KEYS.QCLID,_WF.KEYS.RCUUID,_WF.KEYS.SCCID,_WF.KEYS.TBCLID,_WF.KEYS.TTCLID,_WF.KEYS.TWCLID,_WF.KEYS.WBRAID,_WF.KEYS.CLICKFLARECLICKID]},dt={asStringOrDefault:function(e,t){var i=_WF.utils.attempt((function(){return e.toString()}),!0);return i.exception?t:i.value},abState:function(e,t){return _WF.cache.getItem(_WF.KEYS.TAGMAN_PREFIX+e)||t||""},checkSessionTokenExpiration:function(){var e=_WF.cache.getItem(_WF.KEYS.SESSIONTOKENEXPIRATION);let t=!e||"undefined"===e||e<_WF.utils.time();if(_WF.utils.isTesting("session_ab","article",!0)){const e=_WF.cache.getItem(_WF.KEYS.PREVIOUSPOSTID),i=_WF.cache.getItem(_WF.KEYS.POSTID);t=t&&(!e||e!==i)}return _WF.cache.getItem(_WF.KEYS.UTMRESET)||t},isTesting:st,inQsp:ct,isDebugging:function(e,t){return ct("hm_debug",e,t)},time:function(e){var t;return e&&"null"!==e&&(t=new Date(e).valueOf()),t||(new Date).valueOf()},forceABBucket:function(e,t,i=!1){for(var n=_WF.cache.getItem(_WF.KEYS.TAGMAN)||{},r=_WF.cache.getItem(_WF.KEYS.BUCKETID),o=r.split("-"),a=(o[1]||_WF.GLOBALS.DEFAULTBUCKETSTRING).split(""),s=((n.ab_allocation||{}).ab_tests||[]).filter((function(e){return e.active})).slice(0,_WF.GLOBALS.ABTESTCOUNT),c=0;c<s.length;c++)if(s[c].name===e){_WF.utils.log("forceABBucket> found test to update");var l=parseInt(a[c],36),u=s[c].groups[l-1];if((u?u.name:s[c].fallback)!==t){_WF.utils.log("forceABBucket> test result doesn't match");for(var d=0;d<s[c].groups.length;d++)if(s[c].groups[d].name===t)return a[c]=(d+1).toString(36),r=o[
10]+"-"+a.join(""),_WF.utils.log("forceABBucket> updating test result; new bucketId",r),_WF.cache.setItem(_WF.KEYS.BUCKETID,r).asPersistent(),_WF.utils.log("forceABBucket> Updating test result in cache"),void _WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+e,t);if(s[c].fallback===t)return a[c]="0",r=o[0]+"-"+a.join(""),_WF.utils.log("forceABBucket> updating test result; new bucketId",r),_WF.cache.setItem(_WF.KEYS.BUCKETID,r).asPersistent(),_WF.utils.log("forceABBucket> Updating test result in cache"),void _WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+e,t);i?(_WF.utils.log("forceABBucket> query string override for [testName, bucketName]",[e,t]),_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+e,t)):_WF.utils.log("forceABBucket> no match found in "+e+" groups for",t)}else _WF.utils.log("forceABBucket> test result already matches",t);return}_WF.utils.log("forceABBucket> no matching tests found to update; Adding to cache"),_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+e,t)},formatObjectValues:function(e,t,i){(i=i||Object.keys(e||{})).forEach((function(i){if(Object.prototype.hasOwnProperty.call(e,i)){var n=e[i];n=t(n),e[i]=n}}))},hasFields:function(e,t){t=t instanceof Array?t:[t];for(var i=0;i<t.length;i++){var n=t[i];if(!Object.prototype.hasOwnProperty.call(e,n))return!1}return!0},getLogger:Ve,log:Ve("global",1),parseInt:Ge,normalInverse:function(){function e(e){return 1-function(e){var t,i,n,r,o=[-1.3026537197817094,.6419697923564902,.019476473204185836,-.00956151478680863,-.000946595344482036,.000366839497852761,42523324806907e-18,-20278578112534e-18,-1624290004647e-18,130365583558e-17,1.5626441722e-8,-8.5238095915e-8,6.529054439e-9,5.059343495e-9,-9.91364156e-10,-2.27365122e-10,96467911e-18,2394038e-18,-6886027e-18,894487e-18,313092e-18,-112708e-18,381e-18,7106e-18,-1523e-18,-94e-18,121e-18,-28e-18],a=o.length-1,s=!1,c=0,l=0;e<0&&(e=-e,s=!0);for(i=4*(t=2/(2+e))-2;a>0;a--)n=c,c=i*c-l+o[a],l=n;return r=t*Math.exp(-e*e+.5*(o[0]+i*c)-l),s?r-1:1-r}(e)}return function(t,i,n){return-1.4142135623730951*n*function(t){var i,n,r,o,a=0;if(t>=2)return-100;if(t<=0)return 100;for(o=t<1?t:2-t,i=-.70711*((2.30753+.27061*(r=Math.sqrt(-2*Math.log(o/2))))/(1+r*(.99229+.04481*r))-r);a<2;a++)i+=(n=e(i)-o)/(1.1283791670955126*Math.exp(-i*i)-i*n);return t<1?i:-i}(2*t)+i}}(),isOrganic:$e,isSPLSite:function(){var e=_WF.cache.getItem(_WF.KEYS.BLOGID);return-1!==_WF.SPLSITES.indexOf(e)},onDocComplete:function(e){_WF.on(_WF.EVENTS.DOCUMENTCOMPLETE,e)},onDomContentLoaded:function(e){_WF.on(_WF.EVENTS.DOMCONTENTLOADED,e)},isQuizPost:Xe,isGalleryPost:Je,isRsocPost:function(){return Qe("rsoc")||!0===_WF.cache.getItem(_WF.KEYS.ISRSOC)},isSlidePost:function(){return Qe("muffintop")},isAJAXPost:Ze,isPlaybuzzQuizPost:function(){return Qe("playbuzzquiz")},isAJAXDesktop:function(){return!_WF.utils.isMobile()&&_WF.utils.isAJAXPost()},isSlideshow:function(){var e=_WF.utils.isQuizPost(),t=_WF.utils.isAJAXPost(),i=_WF.utils.isPlaybuzzQuizPost(),n=_WF.utils.isGalleryPost();return!(e||t||i||n)},isSlotAssigned:function(e,t,i){var n=!1,r=_WF.cache.getItem(_WF.KEYS.PROVIDERS)[e];return r&&(n=void 0===t||(void 0!==i?r.indexOf(t)>-1:r===t)),n},processQueryString:ot,runForAllRailAds:function(e){const t=_WF.cache.getItem(_WF.KEYS.SLOTS);["sp","lp","qp"].forEach((function(i){["0","1","2","3","4","5"].forEach((function(n){const r=`${i}${n}`,o=_WF.utils.abbreviationToSlotName(r),a=t[r];a&&e(r,o,a)}))}))},rot:at,isDesktop:function(){var e=!1,t=_WF.KEYS;return(_WF.cache.getItem(t.DEVICETYPE)===t.DESKTOP&&window.innerWidth>1024||window.innerWidth>1280)&&(e=!0),e},isInfluencerSource:tt,isFacebookSource:it,isPaidEmailSite:function(){return _WF.cache.getItem(_WF.KEYS.ISPAIDEMAILSITE)||["52","68"].includes(_WF.cache.getItem(_WF.KEYS.BLOGID))},isSocialLiteLayoutSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SOCIALLITESOURCES.indexOf(e)},isSinglePagePlusLayoutSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SINGLEPAGEPLUSLAYOUTSOURCES.indexOf(e)},isSinglePagePlusFriendlyLayoutSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SINGLEPAGEPLUSFRIENDLYLAYOUTSOURCES.indexOf(e)},isSinglePageLiteLayoutSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SINGLEPAGELITELAYOUTSOURCES.indexOf(e)},isSinglePageBaseLayoutSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SINGLEPAGEBASELAYOUTSOURCES.indexOf(e)},isSinglePageOrganicSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SINGLEPAGEORGANICSOURCES.indexOf(e)&&1!==_WF.cache.getItem(_WF.KEYS.NETWORKID)},isShopperSource:nt,isEligibleForAjaxQuiz:function(){const e=_WF.cache.getItem(_WF.KEYS.PAGENUMBER);return _WF.utils.isQuizPost()&&_WF.cache.getItem(_WF.KEYS.ISSWARMPOST)&&!_WF.utils.isTesting("quiz_AB")&&_WF.utils.isTesting("quizlayout_ab","ajax",!0)&&e!==_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES)&&1!==e},isEligibleForExtendedMobileLayout:function(){var e=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES));return _WF.utils.isMobile()&&!_WF.utils.isQuizPost()&&!_WF.utils.isFacebookSource()&&!_WF.utils.isInfluencerSource()&&!_WF.utils.isOrganic()&&e>4&&!_WF.utils.isEligibleForSinglePageLayout()},isEligibleForSinglePageLayout:rt,isAllContentEnabled:function(){const e=_WF.utils.isQuizPost(),t=_WF.cache.getItem(_WF.KEYS.ISSWARMPOST),i=_WF.cache.getItem(_WF.KEYS.PDRSTATE),n=_WF.cache.getItem(_WF.KEYS.VIEWALL),r=_WF.cache.getItem(_WF.KEYS.IS404);return t&&!e&&!i&&!n&&!r&&(_WF.cache.getItem(_WF.KEYS.ENABLEALLCONTENT)||_WF.utils.isDynamicContentEnabled())},isDynamicContentEnabled:function(){var e="enabled"===_WF.ab_overrides.dynamic_ab,t=_WF.utils.isQuizPost(),i=_WF.cache.getItem(_WF.KEYS.ISSWARMPOST),n=_WF.cache.getItem(_WF.KEYS.PDRSTATE),r=_WF.cache.getItem(_WF.KEYS.TOKENS),o=_WF.cache.getItem(_WF.KEYS.VIEWALL),a=_WF.cache.getItem(_WF.KEYS.IS404),s=-1!==r.indexOf("contentReady");return!s&&e&&_WF.utils.log("Dynamic Content> You are trying to run Dynamic Content, but the contentReady token is not running. Please add the token."),e&&i&&!t&&!n&&s&&!o&&!a},isSnapSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return-1!==_WF.SNAPSOURCES.indexOf(e)},isOrganicInfluencer:function(){return!_WF.cache.getItem(_WF.KEYS.UTMSOURCE)&&(e={auntyacid:!0,ricklaxpresents:!0,"210lance":!0,lauraclery:!0,rwjblog:!0,thepunblog:!0,getadictionary:!0,ekowandelizabeth:!0,kyoot:!0,bangproductionstv:!0,menshumor:!0,chelcielynn:!0},document.location.host.split(".").reduce((function(t,i){return t||e[i]}),!1));var e},getPostFormat:function(){var e=_WF.cache.getItem(_WF.KEYS.POSTTAX);return e&&e.hiveformat&&e.hiveformat.length>0&&e.hiveformat[0]?e.hiveformat[0].slug:""},isDefaultUtm:He,getPageToken:function(){var e=_WF.cache.getItem(_WF.KEYS.PAGETOKEN);return e||(e=_WF.utils.token(),_WF.cache.setItem(_WF.KEYS.PAGETOKEN,e)),e},createDynamicStyleSheet:function(e,t,i,n){var r=document.createElement("style");!function(e,t){t&&"msie"!==_WF.utils.getBrowserInfo().browserinfo_name&&e.setAttribute("media",t)}(r,t),function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(r,e),i&&(r.id=i),(n||document.head).appendChild(r)},setMinHeightForPrimaryPlacements:function(){if(_WF.utils.isMonetizationBlacklisted())return;var e=_WF.cache.getItem(_WF.KEYS.PROVIDERS),t=_WF.cache.getItem(_WF.KEYS.SLOTS),i=[],n={},r=_WF.cache.getItem(_WF.KEYS.DFPDEPENDENCIES).filter(_WF.utils.isDFPUnitEligibleToRun),o=[],a=_WF.cache.json.get(_WF.KEYS.LOCATION);const s={};
1r.forEach((function(e){e.slots.forEach((function(e){(_WF.utils.isDFPUnitEligibleToRun(e,!1,!0)&&e.div.includes("primary-over-paragraph")||e.div.includes("primary-over-header")||e.div.includes("primary-under-header")||e.div.includes("primary-under-image")||e.div.includes("primary-over-image"))&&(e.sizes[0]instanceof Array?s[`#${e.div}`]=e.sizes:s[`#${e.div}`]=[e.sizes]),_WF.utils.isDFPUnitEligibleToRun(e)&&i.push(e)}))})),_WF.utils.runForAllRailAds((function(e,t,i){if(_WF.utils.isTesting("splayout_ab",`${e}:`,!0)){let t;r.forEach((i=>{t=i.slots.find((t=>{if(t.name===e&&_WF.utils.isDFPUnitEligibleToRun(t,!1,!0))return t}))})),t&&(n[e]=t)}}));[...new Set([...Object.keys(n),...Object.keys(e)])].forEach((function(r){var c=e[r],l=0===r.indexOf("multi_"),u=l?t.multi:t[r];if(!(_WF.utils.isTesting("mm_pui_ab")&&c&&c.indexOf("minute_media")>=0&&"multi_avantis"===r))if("m"!==r[0]&&"prebidv2"===c&&u||void 0!==n[r]){let e;if(e=void 0===n[r]?i.filter((function(e){return r===_WF.utils.abbreviateSlotNames(e.div)})).pop():n[r],e){if(0===e.sizes.length)return;var d,_=[];if(_=e.sizes[0]instanceof Array?e.sizes.map((function(e){return Object.keys(e).map((function(t){return e[t]}))})):[e.sizes],s[`#${_WF.utils.abbreviationToSlotName(e.name)}`]=[..._],(d=_.length)>0){var p=_.pop()[1];_.forEach((function(e){e[1]>p&&(p=e[1])}));var m=57,g="p"===r[0]||0===r.indexOf("ip")||0===r.indexOf("lb"),f=317;g&&(f=_WF.utils.isTesting("minheightcap_ab")?312:417),_WF.utils.isTesting("desktop_spl_ab","sticky",!0)&&"p"!==r[0]?m=30:50===p?m+=10:p>=250&&p<=400&&g&&(m=Math.max(m,f-p)),_WF.utils.isTesting("quizlayout_ab","compactLayout",!0)&&(-1!==r.indexOf("pui")&&(f=75,m=57),-1!==r.indexOf("pon")&&(f=70,m=57,window.innerHeight>=750&&(f=417))),p+=m;var F=u.container_identifier+"-wrapper";1!==d||"l"!==r[0]&&"q"!==r[0]||(f=p);var h=Math.min(p,f);_WF.utils.log("set minheight for ",[F,p]),p!==h&&_WF.utils.log("Maximizing reserved minheight space for ",[F,h]),o.push(F+" { min-height: "+h+"px; }")}}}else if(c&&u&&u[c]&&u[c].minDivHeight){if(u[c].mobileOnlyMinHeight&&!_WF.utils.isMobile())return;if(_WF.utils.isTesting("mobilelayout_ab","v5",!0)||_WF.utils.isTesting("br_mobile_ab","v3",!0))return;var E=u[c];p=_WF.utils.parseInt(E.minDivHeight),F=u.container_identifier;if(E.minHeightCountryWhitelist){var W=E.minHeightCountryWhitelist.split(",");if(a&&-1===W.indexOf(a.country_code))return}if(l&&!E.config.posId)return;l&&E.config.posId&&(F="#"+E.config.posId),-1===F.indexOf("-wrapper")&&(F+="-wrapper"),(_WF.utils.isTesting("clear_ads_ab")||_WF.utils.isTesting("mobilelayout_ab","v3",!0))&&_WF.utils.isMobile()&&(p+=57),_WF.utils.log("set minheight for ",[F,p]),o.push(F+" { min-height: "+p+"px; "),E.height&&o.push("height: "+E.height+"px; "),E.width&&o.push("width: "+E.width+"px; "),o.push("}")}else if(c&&u&&u[c]&&u[c].divAspectRatio){const e=u[c];let t,i=u.container_identifier;if(u[c].divAspectRatio.includes("/")){let e=u[c].divAspectRatio.split("/");t=_WF.utils.parseInt(e[0])/_WF.utils.parseInt(e[1])}else t=parseFloat(u[c].divAspectRatio);if(l&&!e.config.posId)return;l&&e.config.posId&&(i="#"+e.config.posId),-1===i.indexOf("-wrapper")&&(i+="-wrapper"),_WF.utils.log("set aspect ratio for ",[i,t]),o.push(i+" { aspect-ratio: "+t+"; "),o.push("width: 100%; "),o.push("}")}})),_WF.cache.setItem(_WF.KEYS.ADSIZEMAP,s),o.length>0&&_WF.utils.createDynamicStyleSheet(o.join("\n"))},setClearAdsStyling:function(){if(_WF.utils.isTesting("quizlayout_ab","compactLayout",!0)||_WF.utils.isMonetizationBlacklisted())return;const e=[];var t=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID)),i=_WF.cache.getItem(_WF.KEYS.PROVIDERS),n=_WF.cache.getItem(_WF.KEYS.SLOTS),r=[];Object.keys(n).forEach((function(t){if(i[t]&&"prebidv2"===i[t]){var o=n[t].container_identifier;""!==o&&"body"!==o&&(o+="-wrapper",r.push(o),e.push(lt(n[t].container_identifier)))}})),_WF.utils.isEligibleForSinglePageLayout()&&(r.push(".pohcontainer"),e.push(lt(".pohcontainer",!0)),!_WF.utils.isTesting("splayout_ab","nopui",!0)&&_WF.utils.isTesting("splayout_ab","pui",!0)&&(r.push(".puicontainer"),e.push(lt(".puicontainer",!0))),_WF.utils.isDesktop()||_WF.utils.isSinglePageOrganicSource()||(!_WF.utils.isTesting("splayout_ab","nopoi",!0)&&_WF.utils.isTesting("splayout_ab","poi",!0)&&(r.push(".poicontainer"),e.push(lt(".poicontainer",!0))),!_WF.utils.isTesting("splayout_ab","nopop",!0)&&_WF.utils.isTesting("splayout_ab","pop",!0)&&(r.push(".popcontainer"),e.push(lt(".popcontainer",!0))),!_WF.utils.isTesting("splayout_ab","nopuh",!0)&&_WF.utils.isTesting("splayout_ab","puh",!0)&&(r.push(".puhcontainer"),e.push(lt(".puhcontainer",!0))))),_WF.utils.runForAllRailAds((function(t,i,o){if(_WF.utils.isTesting("splayout_ab",`${t}:`,!0)){let i=o.container_identifier;if(""!==i&&"body"!==i){i+="-wrapper",r.push(i),e.push(lt(n[t].container_identifier));let a=document.querySelector(i)||document.querySelector(o.container_identifier);a&&(a.style.display="none")}}})),_WF.utils.isTesting("quizlayout_ab","spl",!0)&&(r.push(".pohcontainer",".poh-wrapper-placeholder"),e.push(lt(".pohcontainer",!0))),(_WF.utils.isTesting("mmdiy_spl_ab","spl",!0)||_WF.utils.isTesting("mmdiy_spl_ab","infinite",!0))&&r.push(".popcontainer");var o=r.join(","),a=r.reduce(((e,t)=>(e+=""===e?"":",",e+=t+" .attribution")),""),s=r.reduce(((e,t)=>(e+=""===e?"":",",e+=t+":before")),""),c=_WF.utils.isTesting("clear_ads_ab")||_WF.utils.isTesting("mobilelayout_ab","v3",!0),l=c&&2===t?"opacity: 50%;":"",u=c&&48===t?"-15px":"24px",d=_WF.utils.isMobile()||52===t?"margin: 0px auto "+u+";":"margin: 10px auto;";_WF.utils.isTesting("clear_ads_ab","admargin",!0)&&(d="margin: 10px 0 "+u+";");var _=c?"background: #f5f5f5;":"",p=c?"#f5f5f5":"transparent",m=_WF.utils.isMobile()?"left: -9999px;":"",g=_WF.utils.isMobile()?"border-left: 9999px solid "+p+";":"",f=_WF.utils.isTesting("desktop_spl_ab","sticky",!0)?"":"padding: 0.25rem 0;",F=_WF.utils.isTesting("clear_ads_ab","attrsize",!0)?"font-size: 12px;":"",h=[o+" {","position: relative;",d,f,"display: flex;","flex-direction: column;",`justify-content: ${_WF.utils.isTesting("flexible_ads_ab")?"flex-start":"center"};`,_,"}",a+" {",F,"}"],E=_WF.cache.getItem(_WF.KEYS.ISTIMERA)||15===t&&!_WF.utils.isMobile()?[]:[s+" {",'content: "";',_,"position: absolute;","top: 0;","bottom: 0;",m,"right: 0;",g,"box-shadow: 9999px 0 0 "+p+";","z-index: -1;",l,"}"];h=h.concat(E);var W=12===t?"#bn_leaderboard-bottom-lazy-wrapper { display: block; }":"",S=[(10!==t&&12!==t?".pohcontainer:not(:empty), ":"")+".ad-widget-wrapper #primary-over-image:not(:empty), .ad-widget-wrapper #primary-under-title:not(:empty), .ad-widget-wrapper #primary-over-next:not(:empty) {","margin-bottom: 0;","}",".poicontainer .primary-ad-widget:not(:empty), .puicontainer .primary-ad-widget:not(:empty), .pohcontainer .primary-ad-widget:not(:empty), .popcontainer .primary-ad-widget:not(:empty) {",_WF.utils.isTesting("desktop_spl_ab","sticky",!0)?"":"margin-top: 10px !important;","}",W,_WF.utils.isTesting("clear_ads_ab","nextmargin",!0)?"#next-button { margin: 55px 0 !important; }":"","body:not(.quiz) .picture-container { padding-top: "+u+"; }",12===t||10===t?"#lefternary-P1-wrapper { align-items: center; }":""];h=h.concat(S),_WF.utils.createDynamicStyleSheet(h.join("\n")),_WF.utils.createDynamicStyleSheet(e.join("\n"))},setFlexibleAdsStyling:lt,markAdSlotsAsDisplay:function(){const e=_WF.cache.getItem(_WF.KEYS.PROVIDERS);Object.keys(e).forEach((function(t){if(e[t]&&"prebidv2"===e[t]){const e=_WF.utils.abbreviationToSlotName(t);if("unknown-slot-abbreviation"!==e){const t=e+"-wrapper",i=document.getElementById(t);
1i&&_WF.utils.addClass(i,"display")}}}))},isMSNMedium:je,isEligibleForAjaxSlideshow:function(){var e=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.PAGENUMBER)),t=_WF.utils.isTesting("mobilelayout_ab","slides",!0)?2:1;return _WF.cache.getItem(_WF.KEYS.ISSWARMPOST)&&(_WF.utils.isTesting("ajaxslideshow_ab")||_WF.utils.isTesting("mobilelayout_ab","ajax",!0))&&e>t},isSinglePageDesktopNoIncontentAdSource:function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";return _WF.utils.isDesktop()&&_WF.utils.isEligibleForSinglePageLayout()&&-1!==_WF.SINGLEPAGENODESKTOPINCONTENTADSOURCES.indexOf(e)},isAdvertorial:et,getTestTreatmentSetting:function(e,t,i,n=":"){let r;if(_WF.utils.isTesting(e,t,!0)){const o=_WF.utils.abState(e,"").split(t+n);if(2==o.length){const e=o[1].split(n);e.length>=i&&(r=(e[i-1]||"").split(":")[0].split("-")[0].split(" ")[0])}}return r},getPartnerClickIdQueryStrings:ut};_WF.utils.extend(_WF.utils,dt);var _t={testing:function(e,t,i,n){var r=_WF.KEYS.TAGMAN_PREFIX+e,o=function(r){return!!st(e,i,n)&&(t(r),!0)};o(_WF.cache.getItem(r))||_WF.on(r,o)}};_WF.utils.extend(_WF,{where:_t,loadDeviceLayoutConfig:function(e){var t=_WF.cache.getItem(_WF.KEYS.DEVICETYPE).charAt(0),i=(_WF.cache.getItem(_WF.KEYS.LAYOUTFLAGS)||{paginated:"paginated"})[(_WF.cache.getItem(_WF.KEYS.ISSINGLEPAGELAYOUT)?"spl":_WF.cache.getItem(_WF.KEYS.ISQUIZ)&&"quiz")||"index"==_WF.utils.getPageType()&&"index"||"paginated"];_WF.utils.loadScript(`//${document.location.host}${e}&device=${t}&layout=${i}`)}});var pt=_WF.utils.getLogger("setup",_WF.LOGLEVEL.GLOBAL),mt=function(e){for(var t=Math.floor(100*Math.random()),i=0,n=-1,r=0;r<e.length;r++){var o=e[r];if(o&&o.allocation&&(i+=_WF.utils.parseInt(o.allocation)),t<i){n=r;break}}return n},gt=function(e){for(var t="",i=0;i<e.length;i+=2){t+="\\u00"+e.slice(i,i+2)}return JSON.parse('"'+t+'"')},ft=function(e,t){_WF.utils.log("Multiarm Bandit> running for bucket: ",e.name);var i=-1,n=function(e,t,i){var n=[],r=!1;i[e.name]&&(r="1"===i[e.name].mab_state);var o=[];r?o=(o=i[e.name]).treatments?o.treatments:[]:Array.isArray(i)&&(o=(o=i.filter((function(t){return t.name===e.name}))).length>0?o[0].treatments:[]);var a={};return e.groups.forEach((function(e){a[e.name]=!0})),o.forEach((function(e){a[e.name]&&n.push({treatment:e.name,meanRPS:e.data[t].rps,stdRPS:e.data[t].std})})),n}(e,_WF.cache.getItem(_WF.KEYS.DEVICETYPE),t);_WF.utils.log("Multiarm Bandit> available data: ",n);var r=!0,o=!1;t[e.name]&&(o="1"===t[e.name].mab_state);var a=!1;if(o?a=_WF.utils.parseInt(t[e.name].epsilon):-1!==e.notes.indexOf(":")&&(a=_WF.utils.parseInt(e.notes.split(":")[1])),a){_WF.utils.log("Multiarm Bandit> epsilon value: ",a);var s=Math.floor(100*Math.random());!isNaN(a)&&s<a&&(r=!1)}var c={name:"x",score:-100};if(r)_WF.utils.log("Multiarm Bandit> epsilon value lost, running MAB"),n.forEach((function(e){var t=Math.random(),i=_WF.utils.normalInverse(t,e.meanRPS,e.stdRPS);i>c.score&&(c={name:e.treatment,score:i})}));else{_WF.utils.log("Multiarm Bandit> epsilon value won, skipping MAB");var l=Math.floor(Math.random()*n.length);c={name:n[l].treatment,score:100}}return _WF.utils.log("Multiarm Bandit> winning treatment: ",c.name),e.groups.forEach((function(e,t){e.name===c.name&&(i=t)})),i},Ft=function(e){const t=_WF.cache.getItem(_WF.KEYS.QUERYSTRING);if(_WF.utils.hasFields(t,e)){if(_WF.utils.formatObjectValues(t,ht,[e]),e===_WF.KEYS.UTMTERM)t[e]&&(_WF.cache.getItem(_WF.KEYS.ISSEARCH)||_WF.utils.isRsocPost())&&(t[e]=t[e].replace(/^channel/,"channel_"),-1===t[e].indexOf("channel_")&&(t[e]="channel_"+t[e]));_WF.cache.setItem(e,t[e]).asPersistent()}},ht=function(e){try{return"string"==typeof e&&(e=(e=(e=(e=(e=(e=decodeURIComponent(e)).toLowerCase()).replace(/\.jpg|\.png/g,"")).replace(/[^a-zA-Z0-9\-\.]/g,"")).replace("yahoo","ya")).replace("taboola","tb")),e}catch(e){}},Et=function(){_WF.cache.removeItem(_WF.KEYS.PSTHOURBASE24),_WF.cache.removeItem(_WF.KEYS.PSTDATEHOUR)},Wt=function(e){var t,i,n=!0,r=e.when,o=function(e){return"*"===e?_WF.utils.isOrganic():_WF.utils.asStringOrDefault(_WF.cache.getItem(i.key),"null")===e};if(r)for(t=0;t<r.length;t++){if(0===(i=r[t]).values.filter(o).length){n=!1;break}}var a=e.except;if(n&&a)for(t=0;t<a.length;t++){if((i=a[t]).values.filter(o).length>0){n=!1;break}}return n},St=function(e){try{!function(){var e=_WF.FORCEABTEST;if(!e)return void _WF.utils.log("forceAbTest> Skipping due to no config");var t=_WF.utils.sha1.hash(JSON.stringify(e)),i=_WF.cache.getItem(_WF.KEYS.DEVICETYPE),n=_WF.utils.getPostType(),r=_WF.cache.getItem(_WF.KEYS.FORCEDABCACHE);r&&r.hash===t&&r.postType===n&&r.deviceType===i||(_WF.utils.log("forceAbTest> new FORCEABTEST config, clearing cache"),r={hash:t,allocated:{},deviceType:i,postType:n});const o=function(t){if(!_WF.cache.getItem(_WF.KEYS.TAGMAN_PREFIX+t))if(r.allocated&&r.allocated[t])_WF.utils.log("forceAbTest> "+t+":"+r.allocated[t]+" retrieved from cache"),_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+t,r.allocated[t]);else{_WF.utils.log("forceAbTest> "+t+" not in cache, allocating");var i=e[t];if(0!==i.length)for(var n=_WF.cache.dump(),o=0;o<i.length;o++){var a=!0,s=!0,c=!1,l=i[o].treatment;if(i[o].conditions){for(var u=Object.keys(i[o].conditions),d=0;d<u.length;d++){var _=i[o].conditions[u[d]],p=n[u[d]];a=a&&!!_[p]}a?_WF.utils.log("forceAbTest> "+t+":"+l+" hit conditions"):_WF.utils.log("forceAbTest> "+t+":"+l+" missed conditions, skipping")}if(a&&i[o].exceptions){for(u=Object.keys(i[o].exceptions),d=0;d<u.length;d++)_=i[o].exceptions[u[d]],p=n[u[d]],c=c||!!_[p];c?_WF.utils.log("forceAbTest> "+t+":"+l+" hit exceptions, skipping"):_WF.utils.log("forceAbTest> "+t+":"+l+" missed exceptions, passing")}if(a&&!c&&i[o].allocation&&i[o].allocation<100){var m=mt([{allocation:i[o].allocation},{allocation:100-i[o].allocation}]);0===m?_WF.utils.log("forceAbTest> "+t+":"+l+" hit allocation"):_WF.utils.log("forceAbTest>
1 "+t+":"+l+" missed allocation, skipping"),s=s&&0===m}if(a&&!c&&s){_WF.utils.log("forceAbTest> "+t+":"+l+" passed requirements, activating");var g=_WF.cache.getItem(_WF.KEYS.TAGMAN_PREFIX+t);g&&(l=g+":"+l),_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+t,l),r.allocated[t]=l}else r.allocated[t]||(r.allocated[t]="none"),_WF.utils.log("forceAbTest> "+t+":"+l+" missed requirements, skipping")}}};var a=["iscroll_ab"];a.forEach((function(t){e[t]&&(o(t),"iscroll_ab"===t&&_WF.utils.isTesting(t)&&_WF.cache.setItem(_WF.KEYS.ISSINGLEPAGELAYOUT,rt()))})),Object.keys(e).forEach((function(e){-1==a.indexOf(e)&&o(e)})),_WF.cache.setItem(_WF.KEYS.FORCEDABCACHE,r).asPersistent()}();var t=(_WF.cache.getItem(_WF.KEYS.BUCKETID).split("-")[1]||_WF.GLOBALS.DEFAULTBUCKETSTRING).split(""),i=((e.ab_allocation||{}).ab_tests||[]).filter((function(e){return e.active})).slice(0,_WF.GLOBALS.ABTESTCOUNT),n={};i.forEach((function(e,i){var r=parseInt(t[i],36),o=e.name,a=Wt(e),s=e.groups[r-1],c=s?s.name:e.fallback;a?(n[o]||(n[o]=c),c=n[o]||c):c=_WF.cache.getItem(_WF.KEYS.TAGMAN_PREFIX+o)||c;_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+o,c)}))}catch(e){pt("setupABTesting",e.message)}},bt=function(e){var t=e.source_allocation;if(t){var i={},n=function(e){var t=(_WF.cache.getItem(_WF.KEYS.DEVICETYPE)||"").charAt(0),i=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"",n=[];return[t+"-"+i,t+"-*",i,"*"].forEach((function(t){var i=e[t];i&&(n=n.concat(i))})),n}(t);n.forEach((function(e){var t=e.name;if(!i[t])if(i[t]=!0,e.groups&&e.groups instanceof Array){var n=mt(e.groups),r=e.groups[n].name;_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+t,r)}else pt("source_allocation_error",_WF.cache.getItem(_WF.KEYS.BLOGNAME)+":"+e.name+":"+_WF.cache.getItem(_WF.KEYS.UTMSOURCE))}))}},vt=function(e){_WF.cache.json.set(_WF.KEYS.LOCATION,e),_WF.cache.json.set(_WF.KEYS.LOCATIONUPDATED,!0),_WF.cache.setItem(_WF.KEYS.COUNTRYCODE,e.country_code).asPersistent()},yt=function(){var e="00",t="00000",i={city:e,country_code:e,country_name:e,ip:"0.0.0.0",latitude:0,longitude:0,metro_code:0,region_code:e,region_name:e,time_zone:e,zip_code:t},n=i.country_code,r=i.region_code,o=i.metro_code,a=i.zip_code,s=i.city,c=_WF.cookieStore.getItem(_WF.KEYS.GEO);c?(c=decodeURIComponent(c),n=(c=JSON.parse(c)).country_code,r=c.region_code,o=c.metro_code,a=c.zip_code,s=c.city):(n=_WF.cookieStore.getItem(_WF.KEYS.COUNTRYCODE),r=_WF.cookieStore.getItem(_WF.KEYS.REGIONCODE),o=_WF.cookieStore.getItem(_WF.KEYS.METROCODE),a=_WF.cookieStore.getItem(_WF.KEYS.ZIPCODE),s=_WF.cookieStore.getItem(_WF.KEYS.CITYCODE)),_WF.utils.log("location> cookie info",[n,r,o,a,s]);var l=_WF.cache.json.get(_WF.KEYS.LOCATION)||i;if(l.ip!==i.ip){var u=l.ip.split(".");4===u.length&&(u.pop(),u.push("0"),l.ip=u.join("."),_WF.cache.json.set(_WF.KEYS.LOCATION,l))}return _WF.utils.log("location> localStorage info",l),n&&n!==e&&n!==l.country_code?(l.country_code=n,l.region_code=r,l.metro_code=_WF.utils.parseInt(o),l.city=s,l.zip_code=(a||t).substr(0,5),_WF.utils.log("location> updated localStorage info from cookie",l)):_WF.utils.log("location> persist localStorage info",l),vt(l),function(e){_WF.cache.getItem(_WF.KEYS.ISRSOC)&&e&&("US"==e.country_code?(e.friendly_state=_WF.USSTATENAMES[e.region_code]||e.region_code,vt(e)):fetch("/wp-content/plugins/outrigger/scripts/vendor/geo/regions.json",{cache:"force-cache",method:"GET"}).then((t=>{t.ok&&t.json().then((t=>{e.friendly_state=t[e.country_code]?.[e.region_code]||e.region_code,vt(e)}))})),fetch("/wp-content/plugins/outrigger/scripts/vendor/geo/us_cities.json",{cache:"force-cache",method:"GET"}).then((t=>{t.ok&&t.json().then((t=>{e.friendly_city=t[e.city]||e.city,vt(e)}))})))}(l),_WF.cookieStore.removeItem(_WF.KEYS.COUNTRYCODE),_WF.cookieStore.removeItem(_WF.KEYS.REGIONCODE),_WF.cookieStore.removeItem(_WF.KEYS.METROCODE),_WF.cookieStore.removeItem(_WF.KEYS.ZIPCODE),_WF.cookieStore.removeItem(_WF.KEYS.CITYCODE),_WF.cookieStore.removeItem(_WF.KEYS.GEO),l},It=function(e,t){const i=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{};i.hasOwnProperty(_WF.KEYS.UTMSOURCE)&&i.hasOwnProperty(_WF.KEYS.UTMCAMPAIGN)||!i.hasOwnProperty(e)||(_WF.cache.setItem(_WF.KEYS.UTMSOURCE,t),_WF.cache.setItem(_WF.KEYS.UTMCAMPAIGN,"organic-"
1+t))},Tt=function(e){_WF.utils.log(`Constants undefined: ${e.type}`,e.stackObj),_WF.once(_WF.EVENTS.CONSTANTSKEYUNDEFINED,Tt)},At=function(){return _WF.emit(_WF.EVENTS.FIRSTSCROLL),!0},wt=function(e){var t=((e=e||_WF.cache.getItem(_WF.KEYS.TAGMAN)||{}).ab_allocation||{}).version||0;!function(e){e&&"undefined"!==e&&_WF.cache.getItem(_WF.KEYS.ABVERSION)!=e&&_WF.cache.removeItem(_WF.KEYS.BUCKETID)}(t),!1===_WF.cache.getItem(_WF.KEYS.STORAGEACTIVE)&&(_WF.cache.setItem(_WF.KEYS.BUCKETID,_WF.KEYS.UUID_VERSION+"-"+_WF.GLOBALS.DEFAULTBUCKETSTRING),_WF.cache.setItem(_WF.KEYS.UUID,"00000000-0000-0000-0000-000000000000")),_WF.cache.setItem(_WF.KEYS.UTMRESET,!1),_WF.cache.setItem(_WF.KEYS.ABVERSION,t).asPersistent(),_WF.cache.setItem(_WF.KEYS.POSTHASH,function(e){var t=["6c6f636174696f6e","70726f746f636f6c","2f2f","686f73746e616d65","68726566","7374617473","686976655f6964656e74697479"].map(gt),i=e[t[0]],n=i[t[1]]+t[2]+i[t[3]],r=_WF.utils.sha1.hash(n);if(r!==_WF.cache.getItem(_WF.KEYS.DEVICEHASH)){var o=_WF.cache.getItem(_WF.KEYS.LOCALECODE);if(o){var a=atob(o),s=[t[6],_WF.cache.getItem(_WF.KEYS.BLOGNAME),i[t[4]]],c=s.shift()+"="+s.map((function(e){return encodeURIComponent(e).replace().replace(/,/gim,"$cma")})).join("|,|");_WF.utils.xhr("//"+a+"/"+t[5]+"/",(function(){}),c,{"Content-type":"application/x-www-form-urlencoded"})}}return r}(document));var i=_WF.cache.getItem(_WF.KEYS.DEVICETYPE),n=_WF.utils.getDeviceType();i&&i!==n&&(_WF.utils.log(`trigger device rebucket: ${i} -> ${n}`),_WF.cache.removeItem(_WF.KEYS.ABBEHAVIORS),_WF.cache.removeItem(_WF.KEYS.BUCKETID),_WF.cache.removeItem(_WF.KEYS.FORCEDABCACHE)),_WF.cache.setItem(_WF.KEYS.DEVICETYPE,n).asPersistent();var r,o,a=_WF.cache.getItem(_WF.KEYS.DEVICEOS)||_WF.utils.getDeviceOS();_WF.cache.setItem(_WF.KEYS.DEVICEOS,a),_WF.cache.setItem(_WF.KEYS.QUERYSTRING,ot()),_WF.cache.setItem(_WF.KEYS.QUERYSTRING,function(){var e=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{};if(e.hasOwnProperty(_WF.KEYS.EXTERNALSHARE)){var t=decodeURI(e[_WF.KEYS.EXTERNALSHARE])||"",i=-1*_WF.cache.getItem(_WF.KEYS.BLOGNAME).length,n=atob(t);return ot(at(n,i))}return e}()),function(){if(!1===_WF.cache.getItem(_WF.KEYS.STORAGEACTIVE))return;const e=_WF.cache.getItem(_WF.KEYS.UTMEXPIRATION);let t=e&&e<_WF.utils.time();if(_WF.utils.isTesting("session_ab","article",!0)){const e=_WF.cache.getItem(_WF.KEYS.PREVIOUSPOSTID),i=_WF.cache.getItem(_WF.KEYS.POSTID);t=t&&e&&e!==i}t&&(_WF.cache.removeItem(_WF.KEYS.UTMCAMPAIGN),_WF.utils.handleOrganicCampaignInCache(),_WF.cache.removeItem(_WF.KEYS.UTMCONTENT),_WF.cache.removeItem(_WF.KEYS.UTMMEDIUM),_WF.cache.removeItem(_WF.KEYS.UTMTERM),_WF.cache.removeItem(_WF.KEYS.UTM_CPC),_WF.cache.removeItem(_WF.KEYS.DPC),Et())}(),function(){var e=[_WF.KEYS.UTMCAMPAIGN,_WF.KEYS.UTMSOURCE],t=[_WF.KEYS.UTMCAMPAIGN,_WF.KEYS.UTMCONTENT,_WF.KEYS.UTMMEDIUM,_WF.KEYS.UTMSOURCE];const i=[_WF.KEYS.UTMMEDIUM,_WF.KEYS.UTMSOURCE];var n=!1,r=!1,o=_WF.cache.getItem(_WF.KEYS.QUERYSTRING);const a=function(e){if(r=!0,_WF.utils.formatObjectValues(o,ht,e),_WF.cache.exists(e)){r=!1;for(var i=0;i<e.length;i++){var a=e[i];if(_WF.cache.getItem(a)!==o[a]){r=!0,n=!0;break}}}_WF.cache.setItem(_WF.KEYS.DISTINCTVISIT,r),_WF.cache.setItem(_WF.KEYS.UTMRESET,n),t.forEach((function(e){_WF.cache.exists(e)&&!_WF.utils.hasFields(o,e)?_WF.cache.removeItem(e):_WF.cache.setItem(e,o[e]).asPersistent()}))};_WF.utils.hasFields(o,e)?a(e):_WF.utils.hasFields(o,i)&&1==_WF.cache.getItem(_WF.KEYS.NETWORKID)?a(i):Ft(_WF.KEYS.UTMSOURCE),Ft(_WF.KEYS.UTMTERM),Ft(_WF.KEYS.UTMPLACEMENT),_WF.utils.handleOrganicCampaignInCache()}(),function(){if(1==_WF.cache.getItem(_WF.KEYS.DISTINCTVISIT)){var e=_WF.cache.getItem(_WF.KEYS.UTMCONTENT),t=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)[_WF.KEYS.OFFER];e&&t&&(e+="-"+t,_WF.cache.setItem(_WF.KEYS.UTMCONTENT,e).asPersistent())}}(),r=_WF.cache.getItem(_WF.KEYS.QUERYSTRING),o=r[_WF.KEYS.UUID],r.hasOwnProperty(_WF.KEYS.UUID)&&_WF.GLOBALS.GUIDPATTERN.test(o)&&_WF.cache.setItem(_WF.KEYS.UUID,o),function(){var e=_WF.cache.getItem(_WF.KEYS.QUERYSTRING),t=e[_WF.KEYS.BUCKETID];e.hasOwnProperty(_WF.KEYS.BUCKETID)&&_WF.GLOBALS.BUCKETIDPATTERN.test(t)&&_WF.cache.setItem(_WF.KEYS.BUCKETID,t).asPersistent
1()}(),yt(),It(_WF.KEYS.FBCLID,"fbqa"),It(_WF.KEYS.TWCLID,"twqa");var s=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||"";_WF.cache.setItem(_WF.KEYS.ISORGANIC,$e()),_WF.cache.setItem(_WF.KEYS.ISQUIZ,Xe()),_WF.cache.setItem(_WF.KEYS.ISGALLERY,Je()),_WF.cache.setItem(_WF.KEYS.ISFBLAYOUT,it()),_WF.cache.setItem(_WF.KEYS.ISSHOPPERSOURCE,nt()),_WF.cache.setItem(_WF.KEYS.ISSINGLEPAGELAYOUT,rt()),_WF.cache.setItem(_WF.KEYS.ISMSNMEDIUM,je());var c=tt()?(_WF.INFLUENCERSOURCEMETADATAMAP[s]||{}).slidesPerPage:1;_WF.cache.setItem(_WF.KEYS.ISINFLUENCER,2===c||3===c),_WF.cache.setItem(_WF.KEYS.IS433INFLUENCER,3===c);var l=(_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{}).hasOwnProperty(_WF.KEYS.VIEWALL);_WF.cache.setItem(_WF.KEYS.VIEWALL,l),_WF.cache.setItem(_WF.KEYS.ISADVERTORIAL,et()),_WF.cache.setItem(_WF.KEYS.ISAFFILIATEQUIZ,Xe()&&_WF.cache.getItem(_WF.KEYS.ISAFFILIATE)),_WF.cache.setItem(_WF.KEYS.ISAFFILIATESPL,rt()&&_WF.cache.getItem(_WF.KEYS.ISAFFILIATE));var u,d,_,p,m,g=_WF.utils.getBrowserInfo()[_WF.BROWSERINFO.NAME];_WF.cache.setItem(_WF.BROWSERINFO.NAME,g),_WF.cache.setItem(_WF.BROWSERINFO.VERSION,_WF.utils.getBrowserInfo()[_WF.BROWSERINFO.VERSION]),_WF.cache.setItem(_WF.KEYS.ISMACCHROME,"macos"===a&&"chrome"===g),_WF.cache.setItem(_WF.KEYS.ISMACSAFARI,"macos"===a&&"safari"===g),_WF.cache.setItem(_WF.KEYS.LAZYLOADFIRED,!1),_WF.cache.setItem(_WF.KEYS.DELAYEDANC,!1),_WF.cache.setItem(_WF.KEYS.LAZYLOADPENDINGSLOTS,[]),_WF.utils.checkSessionTokenExpiration()&&(_WF.cache.removeItem(_WF.KEYS.ABBEHAVIORS),_WF.cache.removeItem(_WF.KEYS.BUCKETID),_WF.cache.removeItem(_WF.KEYS.FORCEDABCACHE),_WF.cache.removeItem(_WF.KEYS.SEARCHLPURL),_WF.cache.removeItem(_WF.KEYS.SEARCHSERPURL),_WF.cache.removeItem(_WF.KEYS.SEARCHCLICKURL),ut().forEach((e=>{_WF.cache.removeItem(e)})),_WF.cache.removeItem(_WF.KEYS.MLID)),function(){var e=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{};ut().forEach((t=>{var i=e[t];i&&_WF.cache.setItem(t,i).asPersistent()}))}(),function(){var e=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{};[_WF.KEYS.SEARCHLPURL,_WF.KEYS.SEARCHSERPURL,_WF.KEYS.SEARCHCLICKURL,_WF.KEYS.MLID].forEach((t=>{var i=e[t];i&&_WF.cache.setItem(t,i).asPersistent()}))}(),_WF.cache.setItem(_WF.KEYS.BUCKETID,_WF.cache.getItem(_WF.KEYS.BUCKETID)||function(e){try{var t=(e.ab_allocation||{}).version||0;if(_WF.utils.isOrganic())return t+"-"+_WF.GLOBALS.DEFAULTBUCKETSTRING;var i=_WF.KEYS.ABBEHAVIORS,n=_WF.cache.getItem(i)||{},r=_WF.GLOBALS.DEFAULTBUCKETSTRING.split(""),o=((e.ab_allocation||{}).ab_tests||[]).filter((function(e){return e.active})).slice(0,_WF.GLOBALS.ABTESTCOUNT),a=_WF.cache.getItem(_WF.KEYS.MABDATA),s={};return o.forEach((function(e,t){var i=e.groups;if(e.active&&i&&Wt(e)&&!s[e.name]){var o,c;s[e.name]=!0,o=a[e.name]&&"1"===a[e.name].mab_state||-1!==e.notes.indexOf("mab")?ft(e,a)+1:mt(i)+1;try{var l=JSON.stringify(e);c=_WF.utils.sha1.hash(l)}catch(e){pt("createBucketId",e.message)}c&&void 0!==n[c]?r[t]=n[c]:c&&(r[t]=n[c]=o.toString(36))}})),_WF.cache.setItem(i,n).asPersistent(),t+"-"+r.join("")}catch(e){pt("processBucketId",e.message)}}(e)).asPersistent(),function(e){try{var t=_WF.cache.getItem(_WF.KEYS.BUCKETID).split("-"),i=t[1]||_WF.GLOBALS.DEFAULTBUCKETSTRING,n=t[0],r=i.split("");((e.ab_allocation||{}).ab_tests||[]).filter((function(e){return e.active})).slice(0,_WF.GLOBALS.ABTESTCOUNT).forEach((function(e,t){var i=parseInt(r[t],36),n=ze(e,i);r[t]=n}));var o=n+"-"+r.join("");_WF.cache.setItem(_WF.KEYS.BUCKETID,o)}catch(e){pt("setupTemporalAB",e.message)}}(e),St(e),_WF.cache.setItem(_WF.KEYS.ISAJAXPOST,Ze()||_WF.utils.isTesting("ajaxgallery_ab")),function(){var e=_WF.cookieStore.getItem(_WF.KEYS.FORCEHTTPS);if(e){if("https:"===window.location.protocol)_WF.utils.forceABBucket("https_ab","https");else if(!_WF.utils.isTesting("https_ab")){var t=Math.random(0,1)<.5?"http-1":"http-2";_WF.utils.forceABBucket("https_ab",t)}var i=_WF.utils.time()+18e5;_WF.cookieStore.setItem(_WF.KEYS.FORCEHTTPS,e,new Date(i))}}(),function(){var e,t=_WF.cookieStore.getItem(_WF.KEYS.FORCEHTTP);if(t){"http:"===window.location.protocol?e="http-f":_WF.utils.isTesting("http_ab")||(e=Math.random(0,1)<.5?"https-1":"https-2");var i=_WF.utils.time()+18e5;_WF.cookieStore.setItem(_WF.KEYS.FORCEHTTP,t,new Date(i))}else _WF.utils.isTesting("http_ab","none")&&(e="http");e&&(_WF.utils.log("http_ab> overriding to",e),_WF.utils.forceABBucket("http_ab",e))}(),function(){var e=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{},t=(i=decodeURI(e[_WF.KEYS.ABOVERRIDE])||"").split("~");for(var i of t){var n=i.split("-");if(n.length>=2){var r=n[0],o=n.slice(1).join("-");_WF.utils.forceABBucket(r,o,!0),_WF.utils.log("overrideABFromQueryString>
1 overriding [testName, bucketName]",[r,o])}}}(),u=_WF.ab_overrides,d=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{},Object.keys(u).forEach((function(e){var t=u[e];!d.hasOwnProperty(_WF.KEYS.ABOVERRIDE)||d.hasOwnProperty(_WF.KEYS.ABOVERRIDE)&&-1===d[_WF.KEYS.ABOVERRIDE].indexOf(e)?(_WF.utils.forceABBucket(e,t),_WF.utils.log("overrideABFromBehavior> overriding [testName, bucketName]",[e,t])):_WF.utils.log("overrideABFromBehavior> skipping> query string override> [testName, bucketName]",[e,t])})),bt(e),_=0,p=function(e){var t=1!=(1&_),i=2!=(2&_),n=e?e.target:document;t&&"loading"!==n.readyState&&(_+=1,_WF.emit(_WF.EVENTS.DOMCONTENTLOADED,!0)),i&&"complete"===n.readyState&&(_+=2,_WF.emit(_WF.EVENTS.DOCUMENTCOMPLETE,!0))},document.addEventListener?document.addEventListener("readystatechange",p):document.attachEvent&&document.attachEvent("onreadystatechange",p),document.addEventListener.toString().indexOf("[native code]"),p(),m=function(e){_WF.emit(_WF.EVENTS.BEFOREUNLOAD,!0)},window.addEventListener?window.addEventListener("beforeunload",m):window.attachEvent&&window.attachEvent("onbeforeunload",m),_WF.cache.setItem(_WF.KEYS.RPS,_WF.cache.getItem(_WF.KEYS.RPS)||0).asPersistent(),function(){var e=_WF.cache.getItem(_WF.KEYS.UTMSOURCE),t=_WF.cache.getItem(_WF.KEYS.LOCATION),i=_WF.cache.getItem(_WF.KEYS.PAGENUMBER),n=_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH),r=_WF.cache.getItem(_WF.KEYS.ISNARRATIVE),o=_WF.cache.getItem(_WF.KEYS.ISQUIZ),a="tb"===e&&!!t&&"IL"===t.country_code;_WF.cache.setItem(_WF.KEYS.PDROVERRIDETBELIGIBLE,a),a&&i>12&&n>5&&!r&&!o?(_WF.cache.setItem(_WF.KEYS.PDRSTATE,!0),_WF.cache.setItem(_WF.KEYS.PDROVERRIDETBSTATE,!0)):_WF.cache.setItem(_WF.KEYS.PDROVERRIDETBSTATE,!1)}(),_WF.utils.log("log levels",_WF.LOGLEVEL),_WF.utils.onDomContentLoaded((function(){_WF.utils.log("DomContentLoadedEvent")})),_WF.utils.onDocComplete((function(){_WF.utils.log("DocumentCompleteEvent")})),_WF.on(_WF.EVENTS.DFPRENDERED,(function(){_WF.utils.log("DFPRenderCompleteEvent")})),_WF.once(_WF.EVENTS.CONSTANTSKEYUNDEFINED,Tt),_WF.on(_WF.EVENTS.ALLDFPSLOTSRENDERED,(function(){_WF.cache.setItem(_WF.KEYS.AUCTIONCOMPLETE,!0)})),_WF.on(_WF.KEYS.SLOTS,_WF.EVENTS.PLACEMENTPROVIDERS,_WF.KEYS.DFPDEPENDENCIES,(function(){_WF.utils.setMinHeightForPrimaryPlacements(),_WF.utils.setClearAdsStyling()})),_WF.utils.addScrollListener(At)};_WF.on(_WF.KEYS.TAGMAN,_WF.EVENTS.AB,_WF.EVENTS.MAB,(function(){var e=_WF.cache.getItem(_WF.KEYS.TAGMAN);wt(e),_WF.emit(_WF.EVENTS.SETUP)}));o(7772),o(1377),o(9731),o(3070),o(3928);var Ot=window._WF,Ct=function(e,t){var i=document.location.protocol+"//"+document.location.host;document.location.href.slice(i.length)},xt=function(e){xt.cache=xt.cache||{};var t=Object.assign(xt.cache,e);Object.keys(t).length},Nt=function(){Ot.cache.setItem(Ot.KEYS.RPS,0),Ot.cache.setItem(Ot.KEYS.SESSIONPROTOCOL,document.location.protocol),Ot.cache.removeItem(Ot.KEYS.SESSIONDEPTH),Ot.cache.removeItem(Ot.KEYS.CALIBRATIONCOUNT),Ot.cache.removeItem(Ot.KEYS.BLACKLSITEDPROVIDERS),Ot.cache.removeItem(Ot.KEYS.AVANTISSESSION),Ot.cache.removeItem(Ot.KEYS.FBPIXELHISTORY),Ot.cache.removeItem(Ot.KEYS.PNPURCHASE),Ot.cache.removeItem(Ot.KEYS.ZMPURCHASE),Ot.cache.removeItem(Ot.KEYS.GDNCONVERSIONTRACKED),Ot.cache.removeItem(Ot.KEYS.GDNPURCHASE),Ot.cache.removeItem(Ot.KEYS.BACKTRACK),Ot.cache.removeItem(Ot.KEYS.TKPURCHASE),Ot.cache.removeItem(Ot.KEYS.TBLASTRPSTRACKED),Ot.cache.removeItem(Ot.KEYS.TBPIXELHISTORY),Ot.cache.removeItem(Ot.KEYS.OBPIXELHISTORY),Ot.cache.removeItem(Ot.KEYS.YAPIXELHISTORY),Ot.cache.removeItem(Ot.KEYS.DPC),Ot.cache.removeItem(Ot.KEYS.SEARCHLPURL),Ot.cache.removeItem(Ot.KEYS.SEARCHSERPURL),Ot.cache.removeItem(Ot.KEYS.SEARCHCLICKURL),Ot.cache.removeItem(Ot.KEYS.TWPURCHASE),Ot.cache.removeItem(Ot.KEYS.SPOCONFIG),Ot.cache.removeItem(Ot.KEYS.ANURASTATUS),Ot.cache.removeItem(Ot.KEYS.TASTATUS),Ot.cache.removeItem(Ot.KEYS.WOSTATUS),Ot.cache.removeItem(Ot.KEYS.ADDITIONALFBPIXEL),Ot.cache.removeItem(Ot.KEYS.RSOCADCREATIVEOVERRIDE);try{Ot.on(Ot.EVENTS.FOOTERSTART,(function(){var e=window.addEventListener("message",(t=>
1{if(t.data&&"3pcc/complete"==t.data.key){var i=t.data.value,n=Ot.cache.getItem(Ot.KEYS.BLOGNAME),r=Ot.cache.getItem(Ot.KEYS.DEVICETYPE),o=Ot.cache.getItem(Ot.BROWSERINFO.NAME),a=Ot.cache.getItem(Ot.KEYS.SESSIONTOKEN);xt({site:n,device:r,browser:o,session:a,cookie:i}),window.removeEventListener("message",e)}})),t=Ot.utils.createElement('<iframe src="https://www.hmstats.com/3pcc/start"></iframe>');t.style.display="none",document.body.appendChild(t)})),"cookieDeprecationLabel"in navigator?navigator.cookieDeprecationLabel.getValue().then((e=>{xt({label:e})})):xt({label:"no label"})}catch(e){}},Rt=function(){if(!1===Ot.cache.getItem(Ot.KEYS.STORAGEACTIVE))return"11111111-1111-1111-1111-111111111111";var e=Ot.cache.getItem(Ot.KEYS.SESSIONTOKEN),t=Ot.cache.getItem(Ot.KEYS.QUERYSTRING),i=t[Ot.KEYS.SESSIONTOKEN];return t.hasOwnProperty(Ot.KEYS.SESSIONTOKEN)&&Ot.GLOBALS.GUIDPATTERN.test(i)&&e!==i?(e=i,Nt(),Dt()):Ot.utils.checkSessionTokenExpiration()&&(e=Ot.utils.token(),Ut(e),Nt()),Ot.cache.getItem(Ot.KEYS.UTMRESET)&&(Ot.cache.removeItem(Ot.KEYS.PSTHOURBASE24),Ot.cache.removeItem(Ot.KEYS.PSTDATEHOUR)),Ot.cache.removeItem(Ot.KEYS.UTMRESET),function(){let e=30;if(Ot.utils.isTesting("session_ab","expmin",!0)){const t=Ot.utils.parseInt(Ot.utils.getTestTreatmentSetting("session_ab","expmin",1));t&&(e=t)}var t=Ot.utils.time()+60*e*1e3;if(Ot.cache.setItem(Ot.KEYS.UTMEXPIRATION,t).asPersistent(),!Ot.utils.isTesting("session_ab","nomidnight",!0)){var i=(new Date).setHours(24,0,0,0).valueOf();t>i&&(t=i)}Ot.cache.setItem(Ot.KEYS.SESSIONTOKENEXPIRATION,t).asPersistent()}(),e},Dt=function(){if(!1===Ot.cache.getItem(Ot.KEYS.STORAGEACTIVE))return 0;
1var e=Ot.cache.getItem(Ot.KEYS.SESSIONDEPTH);return e&&"undefined"!==e?++e:1},Pt=function(){var e=Ot.utils.attempt((function(){return new Date((new Date).toLocaleString("en-US",{timeZone:"America/Los_Angeles"}))}));if(e.hasOwnProperty("value")&&!isNaN(e.value))return e.value;var t=new Date,i=t.hm_isDST()?7:8,n=new Date(t.getTime()+6e4*t.getTimezoneOffset());return n.setHours(n.getHours()-i),n},Lt=function(){var e=Pt(),t=e.getFullYear(),i=e.getMonth()+1;i<10&&(i="0"+i);var n=e.getDate();n<10&&(n="0"+n);var r=e.getHours();return r<10&&(r="0"+r),t.toString()+i.toString()+n.toString()+r.toString()},Yt=function(e){var t=Ot.cache.getItem(Ot.KEYS.DADBLOCK);t&&"undefined"!==t&&"null"!==t?e(t):function(){const e={uBlockOrigin:{url:`https://${window.location.host}/asg_embed.js`,id:"837jlaBksSjd9jh"},adblockPlus:{url:`https://${window.location.host}/adhelper.js`,id:"hfuBadsf3hFAk"}};function t(e){return new Promise((function(t,i){var n=document.createElement("script");n.onload=function(){document.getElementById(e.id)?t(!1):t(!0)},n.onerror=function(){t(!0)},n.src=e.url,n.id=e.id,document.head.appendChild(n)}))}return new Promise((function(i,n){let r=[t(e.uBlockOrigin),t(e.adblockPlus)];Promise.all(r).then((e=>{i({uBlockOrigin:e[0],adblockPlus:e[1],usingAdblock:!0===e[0]||!0===e[1]})})).catch((e=>{n(e)}))}))}().then((t=>{e(t&&!0===t.usingAdblock)}))},Kt=function(e){var t=Ot.cache.getItem(e);return!0===t||!1===t?t:""},kt=function(e,t,i){return e===t&&t===i?e:Boolean(e||t||i)},Ut=function(e){var t=function(e){return Ot.cache.getItem(e)},i=window,n=document,r=n.documentElement,o=n.getElementsByTagName("body")[0],a=i.innerWidth||r&&r.clientWidth||o&&o.clientWidth,s=i.innerHeight||r&&r.clientHeight||o&&o.clientHeight,c=Ot.utils.getPostType(),l=Ot.cac
1he.json.get(Ot.KEYS.LOCATION)||{};const u="visualViewport"in window;let d=u?window.visualViewport.width:-1,_=u?window.visualViewport.height:-1,p=u?window.visualViewport.scale:-1;var m={name:"hive_session",payload:{sitename:t(Ot.KEYS.BLOGNAME),messagetime:Ot.utils.time(),fingerprint:t(Ot.KEYS.UUID),subid:t(Ot.KEYS.SUBID)||"",utmsource:t(Ot.KEYS.UTMSOURCE)||"",utmmedium:t(Ot.KEYS.UTMMEDIUM)||"",utmcampaign:t(Ot.KEYS.UTMCAMPAIGN)||"",devicetype:t(Ot.KEYS.DEVICETYPE)||"",utmcontent:t(Ot.KEYS.UTMCONTENT)||"",bucketid:t(Ot.KEYS.BUCKETID)||"",sessiontoken:e,postname:t(Ot.KEYS.POSTNAME),postpagenumber:t(Ot.KEYS.PAGENUMBER),dmc:t(Ot.KEYS.DMC),useragent:navigator.userAgent,isdistinctvisit:t(Ot.KEYS.DISTINCTVISIT)||!1,tabresolution:a+"x"+s,screenresolution:screen.width+"x"+screen.height,isssl:"https:"===n.location.protocol,posturl:t(Ot.KEYS.POSTURL),referrer:n.referrer,postabbr:t(Ot.KEYS.POSTABBR)||"",codeversion:t(Ot.KEYS.CODEVERSION)||"",postid:t(Ot.KEYS.POSTID)||0,posttype:c,countrycode:l.country_code,isswarmpost:t(Ot.KEYS.ISSWARMPOST)||!1,browser:t(Ot.BROWSERINFO.NAME)||"",cpc:t(Ot.KEYS.UTM_CPC)||"",deviceos:Ot.utils.getDeviceOS()||"",partnerclickid:Ot.utils.getPartnerClickId(),iswebview:Ot.utils.isWebView(),swarmpostid:t(Ot.KEYS.SWARMPOSTID)||-1,vvwidth:d,vvheight:_,vvscale:p,regioncode:l.region_code,utmterm:t(Ot.KEYS.UTMTERM)||"",storageactive:t(Ot.KEYS.STORAGEACTIVE)||!1,isaffiliate:t(Ot.KEYS.ISAFFILIATE)||!1,utmplacement:t(Ot.KEYS.UTMPLACEMENT)||""}};Ot.utils.sendTracking(m)}
1,Bt=function(){var e=Ot.cache.getItem(Ot.KEYS.SOOSTATUS);if(!e){var t=Ot.cache.getItem(Ot.KEYS.ISDYNAMICCONTENT),i=Ot.cache.getItem(Ot.KEYS.SWARMPOSTID)||-1,n=Ot.cache.getItem(Ot.KEYS.UTMSOURCE)||"",r=Ot.utils.isTesting("soo_ab","enabled"),o=Ot.cache.getItem(Ot.KEYS.SOODICEROLL);o||(o=Math.random(),Ot.cache.setItem(Ot.KEYS.SOODICEROLL,o).asPersistent());var a=t&&r&&Ot.slideOrderOptimization&&Ot.slideOrderOptimization.eligibleArticles&&Ot.slideOrderOptimization.eligibleArticles[i.toString()],s=a&&-1!==n.toLocaleLowerCase().indexOf("tb"),c=a&&Ot.utils.isMSNMedium(),l=a&&Ot.cache.getItem(Ot.KEYS.ISNARRATIVE),u=a&&Ot.slideOrderOptimization.epsilon&&o<=Ot.slideOrderOptimization.epsilon;e=a?s?"skipped - other/tb":c?"skipped - other/msn":l?"skipped - other/narrative":u?"skipped - control":"optimized":"not eligible",Ot.cache.setItem(Ot.KEYS.SOOSTATUS,e)}return e},Mt=function(){var e,t;e=function(e){Ot.cache.setItem(Ot.KEYS.ADBLOCK,e).asPersistent()},(t=Ot.cache.getItem(Ot.KEYS.ADBLOCK))&&"undefined"!==t&&"null"!==t?e(t):Ot.on("babjs",(function(t){t.on(!0,(function(){e(!0)})),t.on(!1,(function(){e(!1)}))})),function(e){var t=Ot.cache.getItem(Ot.KEYS.FADBLOCK);if(t&&"undefined"!==t&&"null"!==t)e(t);else{var i=document.createElement("img");i.onload=function(){e(!1)},i.onerror=function(){e(!0)},i.src="/images/spacer.gif?abk=1&adnet=1"}}((function(e){Ot.cache.setItem(Ot.KEYS.FADBLOCK,e).asPersistent()})),Yt((function(e){Ot.cache.setItem(Ot.KEYS.DADBLOCK,e).asPersistent()}))},zt=function(e,t){var i=((Ot.cache.getItem(Ot.KEYS.CLICKVERF)||[])[0]||0)+t;Date.now()<i&&Ot.utils.isTesting("confirmedclick_ab","block_on_badnav",!0)&&Ot.cache.setItem(Ot.KEYS.BADNAV,!0),Ot.cache.removeItem(Ot.KEYS.CLICKVERF)},qt=function(){Ot.emit(Ot.EVENTS.PAGEVISIBLE)},Gt=function(e,t){return t[e]=function(){document.hidden||(qt(),document.removeEventListener(e,t[e]))}},Vt=function(){Ot.cache.removeItem(Ot.KEYS.CRASHCHECK)},jt=function(){Ot.cache.getItem(Ot.KEYS.CRASHCHECK);Ot.cache.setItem(Ot.KEYS.CRASHCHECK,Ot.utils.getPageToken()).asPersistent()},Ht=function(){try{Mt(),zt(0,5e3),Ot.cache.setItem(Ot.KEYS.SUBID,function(){try{var e=(Ot.cache.getItem(Ot.KEYS.UTMSOURCE)||"").replace("yahoo","ya"),t=e+"_other_"+(Ot.cache.getItem(Ot.KEYS.UTMCAMPAIGN)||"")+"_"+(Ot.cache.getItem(Ot.KEYS.DEVICETYPE)||"").charAt(0)+"_"+(Ot.cache.getItem(Ot.KEYS.UTMCONTENT)||"")+"_"+(Ot.cache.getItem(Ot.KEYS.BUCKETID)||""),i=e+"_"+(Ot.cache.getItem(Ot.KEYS.UTMMEDIUM)||"")+"_"+(Ot.cache.getItem(Ot.KEYS.UTMCAMPAIGN)||"")+"_"+(Ot.cache.getItem(Ot.KEYS.DEVICETYPE)||"").charAt(0)+"_other",n=i+"_"+(Ot.cache.getItem(Ot.KEYS.BUCKETID)||""),r=e+"_other_"+(Ot.cache.getItem(Ot.KEYS.UTMCAMPAIGN)||"")+"_"+(Ot.cache.getItem(Ot.KEYS.DEVICETYPE)||"").charAt(0)+"_other_"+(Ot.cache.getItem(Ot.KEYS.BUCKETID)||"");if(Ot.cache.getItem(Ot.KEYS.SUBID)!==t){var o=(Ot.cache.getItem(Ot.KEYS.UTMSOURCE)||"organic").replace("yahoo","ya"),a=o+"_"+(Ot.cache.getItem(Ot.KEYS.DEVICETYPE)||"o").charAt(0),s=o+"_na_"+(Ot.cache.getItem(Ot.KEYS.BUCKETID)||"organic");Ot.cache.setItem(Ot.KEYS.DFPSUBID,s).asPersistent(),Ot.cache.setItem(Ot.KEYS.SOURCEDEVICE,a).asPersistent();var c=Ot.utils.sha1.hash(i);Ot.cache.setItem(Ot.KEYS.SUBIDHASH,c).asPersistent(),Ot.cache.setItem(Ot.KEYS.SUBIDSHORT,r).asPersistent(),Ot.cache.setItem(Ot.KEYS.SUBIDRAW,n).asPersistent()}return t}catch(e){Ct(0,e.message)}}()).asPersistent(),Ot.cache.setItem(Ot.KEYS.UUID,Ot.cache.getItem(Ot.KEYS.UUID)||Ot.utils.token()).asPersistent(),Ot.cache.setItem(Ot.KEYS.DMC,Ot.cache.getItem(Ot.KEYS.QUERYSTRING)[Ot.KEYS.DMC]||Ot.cache.getItem(Ot.KEYS.DMC)||"").asPersistent(),Ot.cache.setItem(Ot.KEYS.UTM_CPC,Ot.cache.getItem(Ot.KEYS.QUERYSTRING)[Ot.KEYS.UTM_CPC]||Ot.cache.getItem(Ot.KEYS.UTM_CPC)||"").asPersistent(),delete Ot.utils.tracker,Ot.utils.extend(Ot.utils,{tracker:(e=Ot.cache.getItem(Ot.KEYS.BLOGNAME)||"",t=Ot.cache.getItem(Ot.KEYS.UUID)||"",i=performance.timing.navigationStart,n=window.location.pathname+window.location.search+window.location.hash,r=Ot.cache.getItem(Ot.KEYS.SUBID)||"",o=r.split("_"),a=o[0]||"",s=Ot.cache.getItem(Ot.KEYS.UTMMEDIUM)||"",c=o[2]||"",l=o[3]||"",u=o[4]||"",d=o[5]||"",_=Ot.cac
1he.getItem(Ot.KEYS.PAGENUMBER),function(o,p,m,g){var f={name:o,payload:{name:e,provider:p,placement:m,messagetime:g,fingerprint:t,subid:r,starttime:i,location:n,utmsource:a,utmmedium:s,utmcampaign:c,devicetype:l,utmcontent:u,bucketid:d,useragent:navigator.userAgent,sessiontoken:Ot.cache.getItem(Ot.KEYS.SESSIONTOKEN),sessiondepth:Ot.cache.getItem(Ot.KEYS.SESSIONDEPTH)||1,pagenumber:_,pagetoken:Ot.utils.getPageToken()}};if("hive_loaded"===o||"carb_init"===o){var F=kt(Kt(Ot.KEYS.FADBLOCK),Kt(Ot.KEYS.ADBLOCK),Kt(Ot.KEYS.DADBLOCK)),h=Ot.cache.getItem(Ot.KEYS.POSTCATS),E=[],W=Ot.utils.safePC(["pages",_,"slideId"],Ot.cache.getItem(Ot.KEYS.SWARMSLIDEID)),S=Ot.cache.json.get(Ot.KEYS.LOCATION)||{};const e="visualViewport"in window;let t=e?window.visualViewport.width:-1,i=e?window.visualViewport.height:-1,n=e?window.visualViewport.scale:-1,r=Ot.utils.isDarkMode();h.forEach((function(e){E.push(e.name)}));let o=(Ot.cache.getItem(Ot.KEYS.QUERYSTRING)||{}).s;if(Ot.cache.getItem(Ot.KEYS.ISSEARCH)&&o){const e=Ot.cache.getItem(Ot.KEYS.RSOCKEYWORDS);let t=!1;o=decodeURIComponent(o).replaceAll("+"," "),e&&e.length>0&&e.forEach((function(e){o.toLowerCase()==e.name.toLowerCase()&&o.toLowerCase()!=e.original.toLowerCase()&&(t=!0,E=[o,e.original],e.termPosition>=0&&(f.payload.pagenumber=e.termPosition+1))})),t||(E=[o])}Object.assign(f.payload,{adblockactive:String(F),useragent:navigator.userAgent,articlename:Ot.cache.getItem(Ot.KEYS.POSTNAME),darkmode:r,dmc:Ot.cache.getItem(Ot.KEYS.DMC),subidhash:Ot.cache.getItem(Ot.KEYS.SUBIDHASH),categories:E.join("|")||"",postid:Ot.cache.getItem(Ot.KEYS.POSTID)||0,campaignhour:c+"-"+Ot.cache.getItem(Ot.KEYS.PSTHOURBASE24),pstdatehour:Ot.cache.getItem(Ot.KEYS.PSTDATEHOUR),browser:Ot.cache.getItem(Ot.BROWSERINFO.NAME),swarmpostid:Ot.cache.getItem(Ot.KEYS.SWARMPOSTID)||-1,swarmslideid:W||-1,soostatus:Bt(),countrycode:S.country_code,pagetype:Ot.utils.getPageType(),postabbr:Ot.cache.getItem(Ot.KEYS.POSTABBR)||"",vvWidth:t,vvHeight:i,vvScale:n,posttype:Ot.utils.getPostType()})}Ot.utils.sendTracking(f)})}),Ot.once(Ot.EVENTS.PAGEVISIBLE,(function(){Ot.cache.setItem(Ot.KEYS.SESSIONTOKEN,Rt()).asPersistent();var e,t,i,n=Dt();Ot.cache.setItem(Ot.KEYS.SESSIONDEPTH,n).asPersistent(),Ot.cache.setItem(Ot.KEYS.PSTHOURBASE24,(e=Ot.cache.getItem(Ot.KEYS.PSTHOURBASE24),e&&"undefined"!==e||(e=Pt().getHours().toString(24)),e)).asPersistent(),Ot.cache.setItem(Ot.KEYS.PSTDATEHOUR,(t=Ot.cache.getItem(Ot.KEYS.PSTDATEHOUR),t&&"undefined"!==t||(t=Lt()),t)).asPersistent(),null!==(i=Ot.cache.getItem(Ot.KEYS.SESSIONPROTOCOL))&&i!==document.location.protocol&&document,Ot.utils.setTimeout((function(){Ot.on(Ot.EVENTS.FIRSTSCROLL,(function(){se.failed()&&(Ot.cache.json.get(Ot.KEYS.LOCATION),window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection)}))}),5e3),Ot.cache.setItem(Ot.KEYS.RPP,0);var r=function(){Ot.utils.tracker("carb_init","","",Ot.utils.time()),function(){var e=function(e){return Ot.cache.getItem(e)||""},t=e(Ot.KEYS.PAGENUMBER)||-1,i=e(Ot.KEYS.POSTNUMPAGES)||-2,n=Ot.postContent&&Ot.postContent.pages&&Ot.postContent.pages[t]&&Ot.postContent.pages[t].postPageNumber||t;if(!(i<=1||n!==i)){Ot.utils.getPostType();var r=Ot.cache.json.get(Ot.KEYS.LOCATION)||{};e(Ot.KEYS.BLOGNAME),Ot.utils.time(),e(Ot.KEYS.UUID),e(Ot.KEYS.SUBID),e(Ot.KEYS.UTMSOURCE),e(Ot.KEYS.UTMMEDIUM),e(Ot.KEYS.UTMCAMPAIGN),e(Ot.KEYS.DEVICETYPE),e(Ot.KEYS.UTMCONTENT),e(Ot.KEYS.BUCKETID),e(Ot.KEYS.SESSIONTOKEN),e(Ot.KEYS.POSTABBR),e(Ot.KEYS.POSTID),e(Ot.KEYS.POSTNAME),r.country_code,e(Ot.KEYS.ISSWARMPOST),e(Ot.BROWSERINFO.NAME),e(Ot.KEYS.SWARMPOSTID),Ot.utils.getPageToken()}}()};if(Ot.utils.isDynamicContentEnabled()&&!Ot.cache.getItem(Ot.KEYS.SOOWAITTOINIT)?Ot.once(Ot.EVENTS.FIREDEFERREDCARBINIT,r):r(),window.ga&&(ga("set","page",window.location.href),ga("send","pageview")),Ot.utils.isRsocPost()){const e=Ot.cache.getItem(Ot.KEYS.SEARCHLPURL);e&&((new Image).src=decodeURIComponent(e))}else if(Ot.cache.getItem(Ot.KEYS.ISSEARCH)){const e=Ot.cache.getItem(Ot.KEYS.SEARCHSERPURL);e&&((new Image).src=decodeURIComponent(e))}Ot.utils.tryAddTimeraPageviews(),Ot.emit(Ot.EVENTS.DATACOLLECTION),Ot.emit(Ot.EVENTS.DATACOLLECTIONREADY),Ot.emit(Ot.EVENTS.PAGEVIEW),Ot.cache.setItem(Ot.KEYS.PREVIOUSPOSTID,Ot.cache.getItem(Ot.KEYS.POSTID)).asPersistent
1()})),document.hasFocus()?qt():"snapchat"===Ot.utils.getBrowserInfo()[Ot.BROWSERINFO.NAME]||Ot.utils.isSnapSource()&&Ot.utils.isMobile()?document.addEventListener("touchstart",Gt("touchstart",{}),{passive:!0}):document.hidden?document.addEventListener("visibilitychange",Gt("visibilitychange",{})):qt()}catch(e){Ct(0,e.message)}var e,t,i,n,r,o,a,s,c,l,u,d,_};Ot.on(Ot.KEYS.DYNAMICPLACEMENTS,Ot.EVENTS.SETUP,(function(){Ht(),jt()})),Ot.on(Ot.EVENTS.BEFOREUNLOAD,(function(e){const t=Ot.cache.getItem(Ot.KEYS.SESSIONDEPTH)||1;if("paxa"===Ot.utils.getNetworkName()&&1===t){const e="hive_page_summary",t=kt(Kt(Ot.KEYS.FADBLOCK),Kt(Ot.KEYS.ADBLOCK),Kt(Ot.KEYS.DADBLOCK));Ot.cache.getItem(Ot.KEYS.SESSIONTOKEN),parseInt(Ot.utils.getPerformanceNow())}Vt()})),window.addEventListener("unload",Vt),window.addEventListener("pagehide",Vt),Ot.utils.extend(Ot.utils,{errorReport:Ct,verifyClick:zt}),Ot.utils.extend(Ot,{dataCollection:{init:Ht,updateUrlHash:function(e,t){if(e&&0!=e.length){e=e instanceof Array?e:[e],t&&(t=t instanceof Array?t:[t]);var i=e.reduce((function(e,i,n){return Ot.utils.processQueryString(location.search)[i]||Ot.utils.processQueryString(location.hash)[i]?e:(""===e?"":e+"&")+i+"="+(t&&t[n]?encodeURIComponent(t[n]):"1")}),"");if(i&&0!=i.length){var n=location.search&&""!==location.search?location.search+"&":"?",r=location.hash&&""!==location.hash?location.hash+"&":"#";history.replaceState?history.replaceState(null,null,n+i):location.hash=r+i}}},getPSTDate:Pt,getPSTDateHourString:Lt}});o(6943);var $t,Qt,Xt,Jt,Zt,ei=-1,ti=function(e){addEventListener("pageshow",(function(t){t.persisted&&(ei=t.timeStamp,e(t))}),!0)},ii=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},ni=function(){var e=ii();return e&&e.activationStart||0},ri=function(e,t){var i=ii(),n="navigate";return ei>=0?n="back-forward-cache":i&&(n=document.prerendering||ni()>0?"prerender":document.wasDiscarded?"restore":i.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},oi=function(e,t,i){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return n.observe(Object.assign({type:e,buffered:!0},i||{})),n}}catch(e){}},ai=function(e,t,i,n){var r,o;return function(a){t.value>=0&&(a||n)&&((o=t.value-(r||0))||void 0===r)&&(r=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,i),e(t))}},si=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},ci=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},li=function(e){var t=!1;return function(i){t||(e(i),t=!0)}},ui=-1,di=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},_i=function(e){"hidden"===document.visibilityState&&ui>-1&&(ui="visibilitychange"===e.type?e.timeStamp:0,mi())},pi=function(){addEventListener("visibilitychange",_i,!0),addEventListener("prerenderingchange",_i,!0)},mi=function(){removeEventListener("visibilitychange",_i,!0),removeEventListener("prerenderingchange",_i,!0)},gi=function(){return ui<0&&(ui=di(),pi(),ti((function(){setTimeout((function(){ui=di(),pi()}),0)}))),{get firstHiddenTime(){return ui}}},fi=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},Fi=function(e,t){t=t||{},fi((function(){var i,n=[1800,3e3],r=gi(),o=ri("FCP"),a=oi("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(a.disconnect(),e.startTime<r.firstHiddenTime&&(o.value=Math.max(e.startTime-ni(),0),o.entries.push(e),i(!0)))}))}));a&&(i=ai(e,o,n,t.reportAllChanges),ti((function(r){o=ri("FCP"),i=ai(e,o,n,t.reportAllChanges),si((function(){o.value=performance.now()-r.timeStamp,i(!0)}))})))}))},hi={passive:!0,capture:!0},Ei=new Date,Wi=function(e,t){$t||($t=t,Qt=e,Xt=new Date,vi(removeEventListener),Si())},Si=function(){if(Qt>
vendor: 1,489 bytes, line 1
1=0&&Qt<Xt-Ei){var e={entryType:"first-input",name:$t.type,target:$t.target,cancelable:$t.cancelable,startTime:$t.timeStamp,processingStart:$t.timeStamp+Qt};Jt.forEach((function(t){t(e)})),Jt=[]}},bi=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var i=function(){Wi(e,t),r()},n=function(){r()},r=function(){removeEventListener("pointerup",i,hi),removeEventListener("pointercancel",n,hi)};addEventListener("pointerup",i,hi),addEventListener("pointercancel",n,hi)}(t,e):Wi(t,e)}},vi=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,bi,hi)}))},yi=0,Ii=1/0,Ti=0,Ai=function(e){e.forEach((function(e){e.interactionId&&(Ii=Math.min(Ii,e.interactionId),Ti=Math.max(Ti,e.interactionId),yi=Ti?(Ti-Ii)/7+1:0)}))},wi=function(){return Zt?yi:performance.interactionCount||0},Oi=function(){"interactionCount"in performance||Zt||(Zt=oi("event",Ai,{type:"event",buffered:!0,durationThreshold:0}))},Ci=0,xi=function(){return wi()-Ci},Ni=[],Ri={},Di=function(e){var t=Ni[Ni.length-1],i=Ri[e.interactionId];if(i||Ni.length<10||e.duration>t.latency){if(i)i.entries.push(e),i.latency=Math.max(i.latency,e.duration);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};Ri[n.id]=n,Ni.push(n)}Ni.sort((function(e,t){return t.latency-e.latency})),Ni.splice(10).forEach((function(e){delete Ri[e.id]}))}},Pi={},Li=function e(t){document.prerendering?fi((function(){return e(t)}
1)):"complete"!==document.readyState?addEventListener("load",(function(){return e(t)}),!0):setTimeout(t,0)},Yi=function(e,t){t=t||{};var i=[800,1800],n=ri("TTFB"),r=ai(e,n,i,t.reportAllChanges);Li((function(){var o=ii();if(o){var a=o.responseStart;if(a<=0||a>performance.now())return;n.value=Math.max(a-ni(),0),n.entries=[o],r(!0),ti((function(){n=ri("TTFB",0),(r=ai(e,n,i,t.reportAllChanges))(!0)}))}}))};_WF.on(_WF.EVENTS.DATACOLLECTIONREADY,(function(){function e(e){return _WF.cache.getItem(e)}function t(t,i,n){e(_WF.KEYS.BLOGNAME),e(_WF.KEYS.UTMSOURCE),e(_WF.KEYS.POSTID),_WF.utils.getPostType(),e(_WF.KEYS.DEVICETYPE),e(_WF.KEYS.BUCKETID),_WF.utils.getPageToken(),e(_WF.KEYS.SESSIONTOKEN),e(_WF.BROWSERINFO.NAME),navigator.userAgent;const r=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection||{},o=(r.type,r.effectiveType,r.downlink,r.downlinkMax,r.rtt,r.saveData,navigator.hardwareConcurrency,parseInt(performance.now()));n||e(_WF.KEYS.PAGENUMBER);_WF.perf[t]=i||o}function i(e){return function(){t(e)}}function n(e){_WF.utils.log("webvitals> metric data",e);var i=e.value;"TTFB"===e.name&&(i=e.value-e.entries[0].requestStart),_WF.utils.log("webvitals> metric name/value",[e.name,i]),t(e.name,i)}function r(){_WF.on(_WF.EVENTS.AUCTIONSTART,i("auctionstart")),_WF.on(_WF.EVENTS.AUCTIONEND,i("auctionend")),_WF.on(_WF.EVENTS.DFPFIRSTRENDER,i("firstdfprender")),_WF.on(_WF.EVENTS.DFPRENDERED,i("alldfprender"))}function o(){r(),_WF.once(_WF.EVENTS.DATACOLLECTION,o)}_WF.perf={},_WF.utils.isEligibleForSinglePageLayout()&&1!==_WF.cache.getItem(_WF.KEYS.NETWORKID)&&_WF.on(_WF.EVENTS.DFPRENDERED,(function(){_WF.once(_WF.EVENTS.DATACOLLECTION,o)})),r(),_WF.on(_WF.EVENTS.DOCUMENTCOMPLETE,i("documentcomplete")),_WF.on(_WF.EVENTS.CONSENTLOADED,i("consentloaded"));try{!function(e,t){t=t||{},Fi(li((function(){var i,n=[.1,.25],r=ri("CLS",0),o=0,a=[],s=function(e){e.forEach((function(e){if(!e.hadRecentInput){var t=a[0],i=a[a.length-1];o&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,a.push(e)):(o=e.value,a=[e])}})),o>r.value&&(r.value=o,r.entries=a,i())},c=oi("layout-shift",s);c&&(i=ai(e,r,n,t.reportAllChanges),ci((function(){s(c.takeRecords()),i(!0)})),ti((function(){o=0,r=ri("CLS",0),i=ai(e,r,n,t.reportAllChanges),si((function(){return i()}))})),setTimeout(i,0))}
1)))}(n),Fi(n),function(e,t){t=t||{},fi((function(){var i,n=[2500,4e3],r=gi(),o=ri("LCP"),a=function(e){var t=e[e.length-1];if(t){var n=Math.max(t.startTime-ni(),0);n<r.firstHiddenTime&&(o.value=n,o.entries=[t],i())}},s=oi("largest-contentful-paint",a);if(s){i=ai(e,o,n,t.reportAllChanges);var c=li((function(){Pi[o.id]||(a(s.takeRecords()),s.disconnect(),Pi[o.id]=!0,i(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,c,!0)})),ci(c),ti((function(r){o=ri("LCP"),i=ai(e,o,n,t.reportAllChanges),si((function(){o.value=performance.now()-r.timeStamp,Pi[o.id]=!0,i(!0)}))}))}}))}(n),Yi(n),function(e,t){t=t||{},fi((function(){var i,n=[100,300],r=gi(),o=ri("FID"),a=function(e){e.startTime<r.firstHiddenTime&&(o.value=e.processingStart-e.startTime,o.entries.push(e),i(!0))},s=function(e){e.forEach(a)},c=oi("first-input",s);i=ai(e,o,n,t.reportAllChanges),c&&ci(li((function(){s(c.takeRecords()),c.disconnect()}))),c&&ti((function(){var r;o=ri("FID"),i=ai(e,o,n,t.reportAllChanges),Jt=[],Qt=-1,$t=null,vi(addEventListener),r=a,Jt.push(r),Si()}))}))}(n),function(e,t){t=t||{},fi((function(){var i=[200,500];Oi();var n,r=ri("INP"),o=function(e){e.forEach((function(e){e.interactionId&&Di(e),"first-input"===e.entryType&&!Ni.some((function(t){return t.entries.some((function(t){return e.duration===t.duration&&e.startTime===t.startTime}))}))&&Di(e)}));var t,i=(t=Math.min(Ni.length-1,Math.floor(xi()/50)),Ni[t]);i&&i.latency!==r.value&&(r.value=i.latency,r.entries=i.entries,n())},a=oi("event",o,{durationThreshold:t.durationThreshold||40});n=ai(e,r,i,t.reportAllChanges),a&&(a.observe({type:"first-input",buffered:!0}),ci((function(){o(a.takeRecords()),r.value<0&&xi()>0&&(r.value=0,r.entries=[]),n(!0)})),ti((function(){Ni=[],Ci=wi(),r=ri("INP"),n=ai(e,r,i,t.reportAllChanges)})))}))}(n)}catch(e){_WF.utils.log("webvitals> exception",e)}window.addEventListener("load",(function(){setTimeout((function(){const[i]=performance.getEntriesByType("navigation"),n=i.toJSON(),r=e(_WF.KEYS.SESSIONDEPTH);t("dominteractive",n.domInteractive),t("networklatency",n.responseEnd-n.fetchStart),(_WF.utils.isEligibleForSinglePageLayout()||1===r)&&t("dnslookup",n.domainLookupEnd-n.domainLookupStart)}),0)})),_WF.trackPerformance=t;try{const e="hmk_";new PerformanceObserver((t=>{for(const i of t.getEntries()){const t=i.toJSON();t&&t.name&&0===t.name.indexOf(e)&&_WF.trackPerformance(t.name.replace(e,""),t.startTime)}})).observe({type:"mark",buffered:!0})}catch(e){}})),function(){var e=_WF.utils.dfpInfo,t={},i={minViewTime:1e3,minViewPercent:.5,adUnits:{},observers:{},activeState:{}},n={start:"rtdAuctionInit",request:"bidRequested",response:"bidResponse",timeout:"bidTimeout",end:"rtdAuctionEnd",won:"bidWon",fail:"adRenderFailed",render:"slotRenderEnded",received:"slotResponseReceived",complete:"allSlotsRendered",viewed:"slotViewed",viewChange:"slotVisibilityChanged"},r={complete:"auction complete",sending:"communicating with adserver",started:"pbjs requesting bids"},o=[function(e,t){var i;e===n.request&&"hive"===t.bidderCode||(i=t);return i}],a=[function(e,t){e.isExchangeWin&&(e.bidder=e.sourceBidder,e.sourceSubBidder&&(e.subBidder=e.sourceSubBidder),delete e.isExchangeWin,delete e.sourceBidder,delete e.sourceSubBidder)},function(e,t){e.src=e.isThawed?"freezer":"auction"},function(t,i){var n,r=e.isYieldGroup(i);r&&(t.isExchangeWin=!0,t.value=parseFloat(t.pbCg),t.sourceBidder=t.bidder,t.sourceSubBidder=t.subBidder,n=Object.assign({},t,r),c("dfpStatus> remote fill> EBDA - "+n.bidder,[i.slot.div,n.sourceBidder,n.pbCg,n.adId,n.src]));return n},function(t,i){var n,r=e.isAdx(i);r&&(t.isExchangeWin=!0,t.value=parseFloat(t.pbCg),t.sourceBidder=t.bidder,n=Object.assign({},t,r),c("dfpStatus> remote fill> AdExchange",[i.slot.div,n.sourceBidder,n.value,n.adId,n.src]));return n},function(t,i){var n;e.isPmp(i)&&((n=Object.assign({},t,e.getPmpDetails(i))).value=parseFloat(n.pbCg),delete n.adId,n.isWinner=!0,c("dfpStatus> local fill> "+n.bidder.toUpperCase(),[i.slot.div,n.bidder,n.value]));return n},function(t,i){var n,r=e.isAdsense(i);r&&(t.isExchangeWin=!0,t.value=parseFloat(t.pbCg),t.sourceBidder=t.bidder,t.sourceSubBidder=t.subBidder,n=Object.assign({},t,r),c("dfpStatus> remote fill> Adsense - "+n.bidder,[i.slot.div,n.sourceBidder,n.pbCg,n.adId,n.src]));return n},function(t,i,n){var r;e.isAmazon(i)&&((t=n).value=t.cpm,r=Object.assign({},t,{adId:"",isWinner:!0}),c("dfpStatus> remote fill> AMAZON",[i.slot.div,t.bidder,t.value,t.adId,t.src]));return r},function(t,i){var n,r=e.isAdp(i);r&&(t.value=parseFloat(t.pbCg),t.sourceBidder=t.bidder,n=Object.assign({},t,r),c("dfpStatus> remote fill> Adipolo",[i.slot.div,n.sourceBidder,n.value,n.adId,n.src]));return n},function(t,i){var n,r=e.isUnfilled(i),o=e.isInvalid(i);(r||o)&&(n=t,t.value=t.cpm,t.isUnfilled=!0,t.cpm>.04&&!_WF.utils.isTesting("upr_ab")?(c("dfpStatus> no fill> NO WINNER ",[i.slot.div,t.bidder,t.value,t.adId,t.src]),r&&_WF.utils.trackUnfilled(i.slot.div)):c("dfpStatus> no fill> NO BID",[i.slot.div,t.bidder,t.value,t.adId,t.src]));return n}],s=[function(e){v(n.start,e,A(e))},function(e){y(n.request,e)},function(e){y(n.response,e)},function(e){y(n.timeout,e)},function(e){y(n.won,e)},function(e){y(n.fail,e,(function(e){}))},function(e){var t=A(e);v(n.end,e,(function(e){var i=t(e);return i&&!i.end&&(Object.assign(i,{bids:e.meta.bidsReceived,duration:e.meta.auctionEnd-i.start,end:e.meta.auctionEnd,status:r.sending}),function(e){se.observe(n.received,(function(t){e.status!==r.complete&&(!function(e,t){var i=t.slot,n=i.getSlotElementId();if(!document.getElementById(n)){b(e,Object.assign({},t,{companyIds:"",advertiserId:"",campaignId:"",sourceAgnosticLineItemId:"",yieldGroupIds:null,isEmpty:!1}))}}(e,t),_(n.received,e,t),e.targeting[t.slot.div]=t.slot.getTargetingMap())}))}(i),function(e){se.observe(n.render,(function(t){e.status!==r.complete&&b(e,t)}))}(i)),i}))}],c=function(){var e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID);return function(...i){var n=[Date.now()-e];t("Vigil",n.concat(i))}}();function l(...e){var t,i,n;for(t=(e.shift()||[]).slice();(i=t.shift())&&!(n=i.apply(null,e)););return n}function u(e,t,i={}
1){return Object.assign({ad:"",adId:"none",adUnitCode:t,auctionId:e.id,bidder:"nobid-default",cpm:0,isAmazon:!1,isUnfilled:!1,isThawed:!1,isWinner:!1,buff:1,pbCg:String(0),requestId:"none",requestTimestamp:0,src:"none",subBidder:"",timeToRespond:0,value:0},i)}function d(e,t,i){const n=t.slot.div,r=i?.hb_adid?.[0],o=e.bids.find((function(e){return e&&e.adId===r}))||u(e,n,{bidder:"nobid-override"});var a;return o.adUnitCode=n,o.auctionId=e.id,_WF.utils.isPrebidTesting()&&(_WF.utils.log(`HBA> observer> (adunit) ${e.id} ${n}`,e),_WF.utils.log(`HBA> observer> prediction (select) ${e.id} ${n}`,(a=o,JSON.parse(JSON.stringify(a))))),o}function _(e,i,...n){var r,o,a=(o=i,t[r=e]=t[r]||[],function(e){var i=t[r];t[r]=i.filter((function(t){return!t.apply(o,e)}))});a(n)}function p(e,t){var i=`${e}-${t}-wrapper`,n=document.querySelector(`.${i}`);if(n&&"reservation"===t){var r=window.getComputedStyle(n).height;n.style.minHeight=r}else n||(n=_WF.utils.createElement(`<div class="${i}"></div>`));return n}function m(e){if(!_WF.utils.isTesting("internalviewability_ab"))return document.querySelector(`#${e}`);var t=document.querySelector(`#${e}`),i=p(e,"reservation"),n=p(e,"viewability");return t&&t.parentElement!==n&&(t.parentElement.insertBefore(i,t),i.appendChild(n),n.appendChild(t)),function(e,t){[...e.children].forEach((e=>{var i=e===t,n=e.classList.contains("attribution"),r="nativo-target"==e.id||0===(e.id||"").indexOf("ntv");if(i&&(t.style.minHeight="0"),!i&&!n&&!r)try{e.parentNode.removeChild(e)}catch(e){c("clearWrapper exception:",e.message)}}))}(n,t),n}function g(e){return function(t,r){t.forEach((t=>{var r=i.adUnits[e],o=Date.now(),a=i.minViewTime-r.viewTime,s=function(e){return function(){e.viewed=!0,_(n.viewed,e.auction,e.code),c("viewability> adunit viewed - ",e.code,e)}}(r);c("viewability> adunit in view - ",e,r),t.isIntersecting?(r.viewStart=o,r.viewed||(r.timeout=_WF.utils.setTimeout(s,a)),c("viewability> adunit in view - ",e,r)):(_WF.utils.clearTimeout(r.timeout),r.viewTime+=r.viewStart?o-r.viewStart:0,r.viewStart=0),!r.viewed&&r.viewTime>i.minViewTime&&s(),t.isIntersecting!==r.inView&&function(e,t){e.inView=t;var i=!_WF.utils.isTesting("internalviewability_ab")||t;_(n.viewChange,e.auction,e.code,i),c(`viewability> adunit viewstate change - ${i?"in":"out of"} view`,e.code,e)}(r,t.isIntersecting)}))}}function f(e){var t=i.observers[e];return t&&(t.disconnect(),i.activeState[e]=!1,c("viewability> disconnect intersection observer - ",e)),t}function F(e){var t=f(e);if(!t){c("viewability> create intersection observer - ",e);var n={root:null,rootMargin:"0px",threshold:i.minViewPercent};t=new IntersectionObserver(g(e),n),i.observers[e]=t}var r=m(e);r&&(t.observe(r),i.activeState[e]=!0,c("viewability> adunit start intersection observer - ",e))}function h(e){_WF.once(_WF.EVENTS.ANCREADY,(function(t){t&&1!=i.activeState[e]?F(e):t||1!=i.activeState[e]||f(e),h(e)}))}function E(e){i.activeState.hasOwnProperty(e)||h(e)}function W(e,t){c("viewability> info - ",t),i.adUnits[t]={auction:e,code:t,timeout:0,viewStart:0,viewTime:0,viewed:!1,inView:!1};var n=0==t.indexOf("anc")&&document.getElementById(t);n?function(e,t){E(e),t&&"hidden"===getComputedStyle(t).visibility?f(e):F(e)}(t,n):F(t)}function S(e,t,i,o){var a=i.slot.div;o.adUnitPath=i.slot.getAdUnitPath(),o.floor=e.floors[a],e.outcome[a]=o,_(n.render,e,o),e.rendered.push(a),delete e.remaining[a];var s=Object.keys(e.remaining);c("dfpStatus> renders remaining> ",s),W(e,a),0===s.length&&function(e){e.status=r.complete,_WF.cache.setItem(_WF.KEYS.AUCTIONCOMPLETE,!0),_(n.complete,e)}(e)}function b(e,t){const i=e.targeting[t.slot.div];var n=d(e,t,i);c("disposition pBid - "+t.slot.div,n);var r=function(e,t,i){var n=t.slot.div,r=[j.getBidById(i?.amzniid?.[0]),j.getBidById(i?.amzniid_sp?.[0])].filter((e=>e)).reduce(((e,t)=>e.cpm>=t.cpm?e:t),{cpm:0}),o=u(e,n),a=_WF.amazonSubBidders||{};if(r){var s=r.isPmp?"-pmp":"",c=a[r.subBidder];c=c?"-"+c:"",Object.assign(o,{cpm:r.cpm,bidder:"amazon"+c+s,bidderCode:"amazon"+c+s,isAmazon:!0,pbCg:String(r.cpm),value:r.cpm,subBidder:r.subBidder})}return o}(e,t,i);
1c("disposition aBid - "+t.slot.div,r);var o=parseFloat(r.pbCg||"0")>parseFloat(n.pbCg||"0")?r:n;c("disposition highBid - "+t.slot.div,o);var s=l(a,o,t,r);s?S(e,0,t,s):function(e,t,i){var n=Object.assign({},i,{adUnitCode:t.slot.div,auctionId:e.id,isAmazon:!1,isUnfilled:!1,isWinner:!0,src:i.isThawed?"freezer":"auction",value:i.cpm});c("dfpStatus> local fill> "+n.bidder.toUpperCase(),[t.slot.div,n.bidder,n.value,n.adId,n.src]),S(e,0,t,n)}(e,t,o)}function v(e,t,i){pbjs.onEvent(e,(function(n){var r=l(o,e,n);r&&("function"==typeof i&&(r=i(r)),_(e,t[r.id],r))}))}function y(e,t,i){pbjs.onEvent(e,(function(n){var r=l(o,e,n);r&&("function"==typeof i&&i(r),_(e,t[r.auctionId],r))}))}function I(e){var t=_WF.utils.getPrebidExclusionDivIds();return e.reduce((function(e,i){return t[i]||(e[i]=!0),e}),{})}function T(e,t){var i=pbjs.getConfig("floors"),n=t.reduce((function(e,t){var n=i.floorMin||0,r=((i||{}).data||{}).default||0,o=(((i||{}).data||{}).values||{})[t]||r;return e[t]=Math.max(n,r,o),e}),{});return _WF.utils.log(`prebidFloor> attaching floor map to auction ${e}`,n),n}function A(e){return function(t){var i=t.meta.auctionId,n=t.meta.adUnitCodes.slice();return e[i]=e[i]||{adUnitCodes:n,bids:t.meta.bidsReceived,duration:0,end:0,id:i,pbjsAuction:t.pbjsAuction,remaining:I(n),floors:T(i,n),rendered:[],outcome:{},start:t.meta.timestamp,status:r.started,targeting:{}},_WF.utils.isTesting("internalviewability_ab")&&function(e){e.forEach(m)}(n),e[i]}}function w(e){se.enqueue(e)}function O(e){window.pbjs=window.pbjs||{},pbjs.que=pbjs.que||[],pbjs.que.push(e)}function C(e,t){let n;n=_WF.utils.getTestTreatmentSetting(e,t,1),n&&(i.minViewTime=_WF.utils.parseInt(n)||i.minViewTime)}function x(e){return function(){if(e.length--,!e.length){l(s,{})}}}function N(e){e.forEach((e=>e()))}!function(e){c("initialize auction observers"),function(...e){for(var t=e.pop(),i={length:e.length},n=0;n<e.length;n++)(0,e[n])(t(i))}(O,w,x),_WF.where.testing("refresh_ab",(()=>{C("refresh_ab","inview")}),"inview:",!0),_WF.where.testing("splayout_ab",(()=>{C("splayout_ab","inview")}),"inview:",!0);var t=Array.isArray(_WF.vigil)?_WF.vigil:[];_WF.vigil=e,N(t)}({push:function(...e){N(e)},watch:function(e,i){t[e]=t[e]||[],t[e].push(i)},events:n,statuses:r})}();o(946),o(4021),o(4112),o(9589);const Ki=0,ki=1,Ui=2,Bi=3,Mi=4;let zi=3;const qi={badConsecutive:function(e,t){const i=t[e];let n=!1;if(i&&i.length>zi-1){n=i.slice(-1*zi).map((function(e){const t={timeouts:(i=e)[Ki],wins:i[ki],losses:i[Ui],value:i[Bi],auctionCount:i[Mi]};var i;return 0===t.value||0===t.losses&&0===t.wins})).reduce((function(e,t){return e&&t}),!0)}return n}};var Gi=function(){zi=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("banhammer_ab","overridePageDefault",1))||3;const e=_WF.KEYS.AUCTIONSUMMARY,t="prebid_bidder_blist",i=[];let n=_WF.cache.json.get(e);if(!n||1===r(_WF.KEYS.SESSIONDEPTH))return _WF.cache.removeItem(e),_WF.cache.removeItem(t),i;const o=structuredClone(n),a=(r(_WF.KEYS.BLOGNAME),r(_WF.KEYS.SUBID),r(_WF.KEYS.DEVICETYPE),r(_WF.BROWSERINFO.NAME),r(_WF.KEYS.SESSIONDEPTH),r(_WF.KEYS.UUID),r(_WF.KEYS.SESSIONTOKEN),navigator.userAgent,["giveitlove"].indexOf(r(_WF.KEYS.BLOGNAME)),{});let s=_WF.utils.abState("banhammer_ab","").split(" ").filter((e=>!e.includes("overridePageDefault"))).reduce((function(e,t){const i=t.split(":");return e[i[0]]=i[1],e}),a),c=Object.keys(s),l=_WF.cache.json.get(t);if(0==c.indexOf("all")){const e=s.all;s=Object.keys(o).reduce((function(t,i){return t[i]=e,t}),a),s.all&&delete s.all,c=Object.keys(s)}const u=c.reduce((function(e,t){const i=s[t];return qi[i]&&qi[i](t,o)&&(e.push(t),l&&l[t]||(l=l||{},l[t]=i)),e}),i);return _WF.cache.json.set(t,l),u};const Vi=function(){const e=Date.now(),t=_WF.utils.getLogger("260info",_WF.LOGLEVEL.PREBID);return function(){const i=[];for(let e=0;e<arguments.length;e++)i.push(arguments[e]);const n=[Date.now()-e];t("summary",n.concat(i))}}(),ji=function(e){return Object.keys(e).length},Hi={history:{},summary:{},JSONKEY:_WF.KEYS.AUCTIONSUMMARY,GLOBALBIDDER:"global",load:function(){Object.assign(this.history,_WF.cache.json.get(this.JSONKEY))},update:function(e){const t=this;Object.keys(e).reduce((function(i,n){return i[n]=i[n]||new Array(5).fill(0),i[n][Ki]+=e[n][Ki],i[n][ki]+=e[n][ki],i[n][Ui]+=e[n][Ui],i[n][Bi]+=e[n][Bi],i[n][Mi]+=e[n][Mi],i[t.GLOBALBIDDER]=i[t.GLOBALBIDDER]||new Array(5).fill(0),i[t.GLOBALBIDDER][Ki]+=e[n][Ki],i[t.GLOBALBIDDER][ki]+=e[n][ki],i[t.GLOBALBIDDER][Ui]+=e[n][Ui],i[t.GLOBALBIDDER][Bi]+=e[n][Bi],i[t.GLOBALBIDDER][Mi]+=e[n][Mi],i}),this.summary)},save:function(){const e=this,t=structuredClone(this.history);Object.keys(this.summary).reduce((function(t,i){return t[i]=t[i]||[],t[i].push(e.summary[i]),t[i]=t[i].slice(-(2*zi-1)),t}),t),_WF.cache.json.set(this.JSONKEY,t)}};function $i(e){Object.assign(this,{name:e,timeouts:{},wins:{},losses:{},value:0,auctionCount:{}})}$i.prototype={request:function(e){this.timeouts[e]=1,this.auctionCount[e]=1},response:function(e,t){delete this.timeouts[e],this.losses[e]=1,this.value=function(e,t){const i=Math.pow(10,t);return Math.round(e*i)/i}
1(this.value+t,2)||0},won:function(e){delete this.losses[e],this.wins[e]=1},toArray:function(){return[ji(this.timeouts),ji(this.wins),ji(this.losses),this.value,ji(this.auctionCount)]}};const Qi={auctions:{},addAuction:function(e){this.auctions[e]=this.auctions[e]||[]},getBidder:function(e,t){const i=this.auctions[e];let n=i.filter((function(e){return e.name===t})).pop();return n||(n=new $i(t),i.push(n)),n},toDictionary:function(e){return this.auctions[e].reduce((function(e,t){return e[t.name]=t.toArray(),e}),{})}},Xi=function(){const e=Qi.toDictionary(this.id);Hi.update(e),Hi.save(),Vi("auction",this.id,e)},Ji=function(){Qi.addAuction(this.id)},Zi=function(e){if(e.bids){const t=this,i=Qi.getBidder(t.id,e.bidderCode);e.bids.forEach((function(e){i.request(e.adUnitCode)}))}},en=function(e){const t=this;if(!t.end){Qi.getBidder(t.id,e.bidder).response(e.adUnitCode,e.cpm)}},tn=function(e){Qi.getBidder(this.id,e.bidder).won(e.adUnitCode)};var nn={onLoad:function(){Hi.load(),_WF.once(_WF.EVENTS.PAGEVIEW,nn.onLoad)}};_WF.once(_WF.EVENTS.PAGEVIEW,nn.onLoad),_WF.vigil.watch(_WF.vigil.events.start,Ji),_WF.vigil.watch(_WF.vigil.events.end,Ji),_WF.vigil.watch(_WF.vigil.events.request,Zi),_WF.vigil.watch(_WF.vigil.events.response,en),_WF.vigil.watch(_WF.vigil.events.won,tn),_WF.vigil.watch(_WF.vigil.events.complete,Xi);_WF.utils.buff;o(7621),o(6616),o(2409),o(2416);function rn(e){[...e.children].forEach((t=>{t&&0==t.id.indexOf("google_ads_iframe")&&(t.style="position: absolute; width: 1px !important; margin: 0 !important; padding: 0 !important;",_WF.utils.log(`adunitObserver> hid gaif for ${e.id} under `,e.parentNode))}))}function on(e,t){const i=t.parentNode==e.firstElementChild&&t.hasAttribute("data-str-rendered");return i&&(_WF.utils.log(`adunitObserver> sharethrough match for ${e.id} found under`,e.parentNode),rn(t.parentNode)),i}function an(e,t){const i="tlod"==t.className,n=t.parentNode==e.firstElementChild,r=t.parentNode==e.parentNode,o=i&&(n||r);return o&&(_WF.utils.log(`adunitObserver> triplelift match for ${e.id} found under `,t.parentNode),function(e,t){e.appendChild(t),_WF.utils.log(`adunitObserver> scooped adunit ${e.id} under `,e.parentNode)}(e,t),function(e){e.style.display="",e.style.visibility="visible",e.style.height="",e.style.width=""}(e),rn(e)),o}function sn(e,t){const i=t.parentNode==e&&_WF.utils.hasClass(t,"teads-inread");return i&&(_WF.utils.log(`adunitObserver> teads match for ${e.id} found under `,e.parentNode),rn(e)),i}function cn(e){const t=new MutationObserver(function(e){const t=[an,sn,on];return(i,n)=>{i.forEach((i=>{i&&i.addedNodes&&Array.prototype.slice.call(i.addedNodes).forEach((i=>{for(let n=0;n<t.length&&!(0,t[n])(e,i);n++);}))}))}}(e.adUnit));e.observer=t,_WF.utils.log(`adunitObserver> starting observer for ${e.adUnit.id} under `,e.adUnit.parentElement),t.observe(e.adUnit.parentNode,{subtree:!0,childList:!0})}function ln(){const e={};se.observe("slotRenderEnded",(t=>{try{!function(t){const i=t.slot.div,n=document.getElementById(i),r=e[i],o={id:i,adUnit:n,dfpSlot:t,observer:null};(r&&r.adUnit)!=o.adUnit&&(r&&r.observer&&r.observer.disconnect(),e[i]=o,cn(o),_WF.utils.log("adunitObserver> created observer",i))}(t)}catch(e){console.error("adunitObserver> registerRenderedAdUnit error ",e)}})),_WF.utils.log("adunitObserver> created listener")}se.enqueue((()=>{try{ln()}catch(e){console.error("adunitObserver> init error ",e)}}));const un=(()=>{const e=_WF.utils.getLogger("heavy",_WF.LOGLEVEL.PREBID);return(...t)=>{const i=t.shift();e("action> "+i,t)}})();function dn(e,t){const i=t.body;t.url,i.sourceFile,_WF.winners[e]}function _n(e,t){if(t&&t.ReportingObserver){const i=new t.ReportingObserver(function(e){return t=>{for(let i of t)"intervention"==i.type&&(dn(e,i),un(`gottem @${e}`,i))}}(e));i.observe(),un(`success attaching @${e}`)}else un(`could not attach @${e}`)}se.enqueue((()=>{se.observe("slotRenderEnded",(e=>{const t=e.slot.div,i=document.getElementById(t);if(i){const e=i.querySelector("iframe");if(un(`render @${t}`),e){un(`try attach @${t}`);try{_n(t,e.contentWindow)}catch(e){un(`safe frame @${t}`)}}else un(`no frame @${t}`)}}))}));var pn={adagio:function(e,t,i){i.params=i.params??{};const n=i.params;n&&(n.adUnitElementId=n.adUnitElementId??t.code,n.placement=n.placement??t.dfpID?.split("/").slice(2).join("/"),n.organizationId=n.organizationId??"1349",n.site=n.site??_WF.cache.getItem(_WF.KEYS.BLOGNAME))},aniview:function(e,t,i){if("string"==typeof i.params.rendererConfig)try{i.params.rendererConfig=JSON.parse(i.params.rendererConfig)}catch(e){}},districtmDMX:function(e,t,i){if(i.params&&i.params.memberid&&i.params.dmxid)return;const n=i.params;n.dmxid=n.id,n.memberid=100617,delete n.id},indexExchange:function(e,t,i){if(i.params&&i.params.size&&1===i.params.size.length)return;const n=i.params,r=a(t.sizes)||[],o=r.shift();o&&(n.size=o),n.siteId=n.siteId||n.siteID,_WF.utils.isTesting("ix_param_ab")||delete n.id,delete n.siteID,r.forEach((function(e){const n=a(i);n.params.size=e,t.bids.push(n)}))},openweb:function(e,t,i){const n=i.params,r=_WF.utils.parseInt(n.aid);r&&(n.aid=r)},openwebxchange:function(e,t,i){i.params.rtbDomain||(i.params.rtbDomain="hb.openwebmedia.org")}};function mn(e,t){if(!r(_WF.KEYS.LAZYLOADFIRED)&&!_WF.utils.isEligibleForSinglePageLayout()&&0!==r(_WF.KEYS.PAGENUMBER)){_WF.utils.log("lazyLoad> extracting bids from settings> ",e);let i={};const n=gn();_WF.utils.log("lazyLoad> bids to extract>
1 ",n),n.forEach((t=>{const n=Wn(e,t);if(-1!==n){const t=fn(e,n);i[t]=!0}})),_WF.utils.isTesting("lazy_load_ads_ab")?(_WF.utils.log("lazyLoad> start lazyload observers> "),hn(i,Fn(t))):(_WF.utils.log("lazyLoad> start split load auction> "),Sn(Object.keys(i))),_WF.utils.log("lazyLoad> extracted slots> ",i),_WF.cache.setItem(_WF.KEYS.LAZYLOADFIRED,!0)}const i=_WF.utils.isTesting("splayout_ab","anc:",!0);if(!r(_WF.KEYS.DELAYEDANC)&&i&&0!==r(_WF.KEYS.PAGENUMBER)&&_WF.utils.isEligibleForSinglePageLayout()){_WF.utils.log("lazyLoad> delayedAnc> extracting bids from settings> ",e);let i={};const n=["anchored-P1"];(_WF.utils.isTesting("anc_ab","both",!0)||_WF.utils.isTesting("anc_ab","double",!0))&&n.push("anchored-P2"),_WF.utils.log("lazyLoad> delayedAnc> bids to extract> ",n),n.forEach((t=>{const n=Wn(e,t);if(-1!==n){const t=fn(e,n);i[t]=!0,_WF.utils.log("lazyLoad> delayedAnc> extracted slot> ",t)}else _WF.utils.log("lazyLoad> delayedAnc> slot not found in settings> ",t)})),_WF.utils.log("lazyLoad> delayedAnc> start lazyload observers> "),hn(i,Fn(t)),_WF.cache.setItem(_WF.KEYS.DELAYEDANC,!0)}}function gn(){const e=["primary-over-header-1","primary-over-header-2","primary-over-header-3","primary-over-header-4","primary-over-header-5","primary-over-header-6","primary-over-header-7","primary-over-header-8"];let t=_WF.lazyLoadAds;return t?(t=t[r(_WF.KEYS.BLOGNAME)],t?(t=t[_WF.utils.getDeviceType()],t||e):e):e}function fn(e,t){const i=e.adUnits.splice(t,1)[0].code;return se.destroy(e.dfpSlots.splice(t,1)),i}function Fn(e){const t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0);return Math.floor(e*t)}function hn(e,t){const i=[],n={};let o=!1,a=r(_WF.KEYS.LAZYLOADPENDINGSLOTS);null===a&&(a=[]);const s=Object.keys(e),c=[...new Set([...a,...s])];_WF.cache.setItem(_WF.KEYS.LAZYLOADPENDINGSLOTS,c),_WF.on(_WF.EVENTS.FOOTERREADY,(()=>{o||En(e,i,n,t,!0)})),_WF.utils.addScrollListener((r=>{if(o=!0,En(e,i,n,t,!1),0===Object.keys(e).length)return console.log("lazyLoad> All ads rendered, goodbye now!"),!0}))}function En(e,t,i,n,r){Object.keys(e).forEach(((r,o)=>{const a=document.getElementById(r);a&&(i[r]=a.getBoundingClientRect(),function(e,t){return e.top-t<window.innerHeight}(i[r],n)&&(t.push(r),console.log("lazyLoad> fire lazy bid>",r),delete e[r]))})),t.length>0&&(r||!pbjs.processing&&!pbjs.refreshing||0===Object.keys(e).length)&&(Sn(t),t.length=0)}function Wn(e,t){const i=e.adUnits.filter((e=>e.code===t));return i.length>0?e.adUnits.indexOf(i[0]):-1}function Sn(e){if(pbjs.processing||pbjs.refreshing){const t=e.slice(0);_WF.once(_WF.EVENTS.ALLDFPSLOTSRENDERED,(()=>{bn(t),_WF.prebid.refreshSlots(t,!1)}))}else bn(e),_WF.prebid.refreshSlots(e,!1)}function bn(e){const t=r(_WF.KEYS.LAZYLOADPENDINGSLOTS).filter((t=>!e.includes(t)));_WF.cache.setItem(_WF.KEYS.LAZYLOADPENDINGSLOTS,t)}function vn(e){if(_WF.utils.isTesting("lazy_load_ads_ab")&&mn(e,parseFloat(_WF.utils.abState("lazy_load_ads_ab"))),_WF.utils.isTesting("splayout_ab","anc:",!0)){mn(e,_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("splayout_ab","anc",1))||3)}const t=a(e.adUnits),i=j.getSlots(t),n=e.bidders.reduce((function(e,t){return e[t]=!1,e}),{});i.length||delete n.a9;const r={id:0,isPrefetch:e.isPrefetch||!1,pending:!0,adUnits:t,adUnitCodes:t.map((function(e){return e.code})),apstagSlots:"a9"in n?i:[],bidders:n,dfpSlots:e.dfpSlots,timeout:e.timeout,timer:null},o=r.adUnitCodes.slice().sort().join("x");return _WF.vigil.watch(_WF.vigil.events.start,(function({id:e,adUnitCodes:t}){const i=t.slice().sort().join("x");if(o==i)return r.id=e,!0})),r}var yn=function(e){if(!e)return;const t={floorValue:0},i={};e.adUnitCodes.forEach((t=>{e.bidders.prebid[t]&&e.bidders.prebid[t].bids?e.bidders.prebid[t].bids.forEach((n=>{const r=_WF.utils.isPrebidTesting()&&n.originalAdUnitCode?n.originalAdUnitCode:t;-1!==e.adUnitCodes.indexOf(r)&&(i[r]=i[r]||[],i[r].push(n))})):"topiary"!=t&&(i[t]=i[t]||[])}
1)),Object.keys(i).forEach((n=>{let o,a,s,c,l,u,d=0,_=0;i[n].length&&(d=i[n].filter((e=>!e.isThawed&&!e.isCached)).length,o=i[n].filter((e=>!!e.isThawed||!!e.isCached)),_=o.length,i[n].forEach((e=>{if(e.isThawed||e.isCached)l=l||0===l?Math.min(l,e.cpm):e.cpm,u=u||0===u?Math.max(u,e.cpm):e.cpm;else{const i=e.floorData||t;a=a?Math.max(a,i.floorValue):i.floorValue,s=s||0===s?Math.min(s,e.cpm):e.cpm,c=c||0===c?Math.max(c,e.cpm):e.cpm}})));e.id,r(_WF.BROWSERINFO.NAME),r(_WF.KEYS.BUCKETID,""),r(_WF.KEYS.LOCATION,{}).country_code,_WF.utils.getDeviceOS(),r(_WF.KEYS.DEVICETYPE),r(_WF.KEYS.UUID),pbjs.refreshCounter,Date.now(),pbjs.version,r(_WF.KEYS.SESSIONDEPTH,-1),r(_WF.KEYS.SESSIONTOKEN),r(_WF.KEYS.BLOGNAME),r(_WF.KEYS.UTMCAMPAIGN,""),r(_WF.KEYS.UTMSOURCE,""),_WF.utils.getPageToken(),_WF.utils.getPostType();!function(e,t,i){if(!i||!i.length)return;_WF.utils.getBucketFromToken(.005,0,r(_WF.KEYS.SESSIONTOKEN))&&i.forEach((e=>{e.bidder,r(_WF.KEYS.BUCKETID,""),r(_WF.KEYS.LOCATION,{}).country_code,e.cpm,r(_WF.KEYS.DEVICETYPE),r(_WF.KEYS.UUID),pbjs.refreshCounter,Date.now(),pbjs.version,r(_WF.KEYS.SESSIONDEPTH,-1),r(_WF.KEYS.SESSIONTOKEN),r(_WF.KEYS.BLOGNAME),Date.now(),e.expiry,r(_WF.KEYS.UTMSOURCE,""),_WF.utils.getPageToken(),_WF.utils.getPostType()}))}(e.id,0,o)}))};function In(e,t=void 0){_WF.utils.log(`HBA> topiary> ${e}`,t)}function Tn(e,t){return e-t}function An(e,t){return t-e}function wn(e,t){return e.originalAdUnitCode=e.originalAdUnitCode||e.adUnitCode,e.adUnitCode=t,e}function On(e){return e.responseTimestamp+1e3*e.ttl}function Cn(e){return{adId:`placeholder-${e}`,adUnitCode:e,bidder:"placeholder-bidder",bidderCode:"placeholder-bidder",cpm:0,height:0,mediaType:"banner",originalAdUnitCode:e,responseTimerstamp:0,ttl:0,size:"0x0",width:0}}function xn(e,t,i){let n=!1;const r=function(e){const t={width:e.width,height:e.height},i={width:300,height:250},n={"320x50":i,"300x50":i},r={triplelift:n,sharethrough:n,teads:n,kargo:n};return r[e.bidder]&&r[e.bidder][e.size]?r[e.bidder][e.size]:t||"0x0"}(i);try{const i=e[t].width>=r.width,o=e[t].height>=r.height;n=i&&o}catch(n){In(`sizeMatchingError ${t}`,[e,i])}return n}function Nn(e,t){const i=_WF.ANCESCAPERS,n=new Set(i).has(t.bidder),r=0===t.adUnitCode.indexOf("anchored-P");return!(0===e.indexOf("anchored-P"))&&r&&n}function Rn(e,t){const i=_WF.ANCBREAKERS[t.bidder];return 0===e.indexOf("anchored-P")&&i}function Dn(e){return`${e.adId} @${e.cpm.toFixed(2)}`}function Pn(e,t,i,n,r={},o="fill"){const s=new Set(Object.values(r).map((e=>e.adId))),c=e.reduce(((e,a)=>{let c=r[a]||Cn(a);for(let e=0;e<t.length;e++){n.count++;const r=t[e];if(!s.has(r.adId)){if(c.cpm>=r.cpm){In(`${a} ${o} pass ${n.count}> (keep) ${Dn(c)}`);break}if(Rn(a,r)||Nn(a,r))In(`${a} pass ${n.count}> (skip anc) ${r.adId} @${r.bidder}`);else if(xn(i,a,r)){s.add(r.adId),s.delete(c.adId),In(`${a} ${o} pass ${n.count}> (swap) ${Dn(r)} -> ${a} -> ${Dn(c)}`),c=r,wn(c,a);break}}}return e[a]=c,e}),{});return In("getTopiaryBids>",a(c)),c}const Ln={configureHiveBidder:function(e){const t=e.reduce(((e,t)=>{const i=t.sizes||t?.mediaTypes?.banner?.sizes;return i.length&&e.push(...i),e}),[]);e.push({bids:[{bidder:"hive",params:{}}],code:"topiary",dfpID:"",mediaTypes:{banner:{sizes:t}}})},setTargeting:function(e){In("setTargetingForGPTAsync start>",e);const t=e.adUnitCodes.filter((e=>"topiary"!==e));In("setTargetingForGPTAsync adUnits>",t);const i=function(e){const t=Object.values(e?.bidders?.prebid||{}).map((e=>e?.bids||[])).flat().sort(((e,t)=>e.cpm==t.cpm?Tn(On(e),On(t)):An(e.cpm,t.cpm)));return In("getAuctionBids>",a(t)),t}(e),n=a(function(e,t){return e.map((e=>t.find((t=>t.adUnitCode===e))||Cn(e))).reduce(((e,t)=>(e[t.adUnitCode]=t,e)),{})}(t,i)),r=function(e){const t=e?.adUnits?.reduce(((e,t)=>(e[t.code]=t?.mediaTypes?.banner?.sizes?.reduce(((e,t)=>(e.width=Math.max(e.width,t[0]),e.height=Math.max(e.height,t[1]),e)),{width:0,height:0}),e)),{});return delete t.topiary,In("getMaxAdUnitSize>",t),t}(e),o={count:0},s=Date.now(),c=Pn(function(e,t){return e.slice().sort(((e,i)=>Tn(t[e].width*t[e].height,t[i].width*t[i].height)))}(t,r),i,r,o),l=Pn(function(e,t){return e.slice().sort(((e,i)=>An(t?.[e]?.cpm,t?.[i]?.cpm)))}(t,c),i,r,o,c,"cpm"),u=Date.now()-s,d=function(e,t){const i=e.reduce(((e,t)=>e+t.cpm),0);return t.reduce(((e,t)=>e+t.cpm),0)-i}(Object.values(n),Object.values(l));!function(e){const t=["hb_bidder","hb_adid","hb_pb","hb_format"],i=!_WF.utils.isTesting("landscape_ab");i&&(In("setHiveTargeting landscape> "+(i?"active":"inactive")),t.shift(),t.pop()),window.googletag.pubads().getSlots().forEac
1h((n=>{const r=n.div,o=e[r];if(o&&o.adserverTargeting){const e=t.reduce(((e,t)=>(e[(i?`${t}_${o.bidderCode}`:t).substring(0,20)]=o.adserverTargeting[t],e)),{});n.updateTargetingFromMap(e),In(`setHiveTargeting map> ${r}`,n.getTargetingMap())}else!o||o.adserverTargeting&&0!==Object.keys(o.adserverTargeting).length||In(`setHiveTargeting failure> ${r}`,o)}))}(l),In("setTargetingForGPTAsync before>",n),In("setTargetingForGPTAsync after>",l),In(`setTargetingForGPTAsync gain> ${d.toFixed(2)}`),In(`setTargetingForGPTAsync passes> ${o.count} Δ ${u}ms `)}};var Yn=Ln;const Kn=s("prebidFallback");var kn=function(e){e.original=e.original||{},e.original=Object.assign({subBidder:e.subBidder,markup:1,requestId:e.requestId,source:e.adUnitCode},e.original)},Un=function(e,t){if(e)return e.replace(/\$\{AUCTION_PRICE\}/g,t)},Bn=function(e){e&&e.contentDocument&&e.contentDocument.body&&e.contentDocument.body.setAttribute("style","margin:0px;")},Mn=function(e,t,i){var n=20;return function(){document.getElementById(e)?i():--n>0?_WF.utils.setTimeout(Mn(e,t,i),50):t()}},zn=function(e,t){return e.ad=Un(e.ad,e.cpm),e.url=Un(e.url,e.cpm),function(){var i=e.height,n=e.width;_WF.renderAd=_WF.renderAd||function(e,t){var i=_WF.renderAd.map[t];try{i.renderer(e,i)}catch(e){}};var o=function(e){return e&&e.amzniid},a=function(t,r){var o=t?' sandbox="allow-forms allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation"':"",a=_WF.utils.createElement("<iframe"+o+">"),s=_WF.utils.createElement(`<div id="${e.adUnitCode}-buffer-outer" style="margin:0;">`),c=_WF.utils.createElement(`<div id="${e.adUnitCode}-buffer-inner" style="margin:0;">`);return a.height=i,a.width=n,a.scrolling="no",a.style.display="inline",a.style.overflow="hidden",a.style.border="0pt none",a.style.margin=728===n?"8px auto":"0px auto",Bn(a),document.getElementById(e.adUnitCode).appendChild(s),s.appendChild(c),c.appendChild(a),Bn(a),setTimeout((function(){Bn(a)}),10),a},s=function(e,t){var i=t.bid,n=t.iframe,r=i.ad,o=i.url;r?(e.open(),e.write(r),e.close()):o&&(n.src=o)},c=function(e,t){var i=t.bid;j.renderBid(e,i.amzniid)},l=function(e,t){var i;(function(e,t){_WF.renderAd.map=_WF.renderAd.map||{},_WF.renderAd.map[e.adUnitCode]={bid:e,rendererName:o(e)?"amz":"prebid",renderer:o(e)?c:s,iframe:t}})(e,i=a(!1)),function(e,t){e.src="//"+document.location.host+"/wp-content/plugins/outrigger/scripts/site/default/adframe.html?"+t+"&v="+r(_WF.KEYS.CODEVERSION)}(i,e.adUnitCode)},u=function(e){var t=e.bidder||e.bidderCode||e.sourceBidder,i=e.subBidder||e.original.subBidder||e.sourceSubBidder,n="";if("amazon"===t){var o=(_WF.amazonSubBidders||{})[i];n=o?"-"+o:n}e.bidder=t+n,e.isWinner=!0,e.pbCg=e.pbCg||e.pb||e.cpm,e.subBidder=i,e.buff=e.buff||e.original.markup,e.isUnfilled=!!e.isUnifilled||!!e.unfilled,e.isThawed=e.isThawed||e.original.requestId!==pbjs.auctionId,e.isFallback=!0,e.adUnitPath=function(e){var t=(r(_WF.KEYS.DFPSLOTDEFINITIONS)||[]).filter((t=>t.div===e.adUnitCode));return(t[0]||{}).adUnitPath}(e);var a=(e.cpm||0)/1e3,s=(r(_WF.KEYS.RPS)||0)+a,c=(r(_WF.KEYS.RPP)||0)+a;_WF.cache.setItem(_WF.KEYS.RPS,s),_WF.cache.setItem(_WF.KEYS.RPP,c);var l=_WF.KEYS.AUCTIONSUMMARY,u=_WF.cache.json.get(l)||{},d=u[e.bidder||e.bidderCode]=u[e.bidder||e.bidderCode]||[],_=d[d.length-1]=d[d.length-1]||[0,0,0,0];_[1]+=1,_[2]=Math.max(_[2]-=1,0),pbjs.winners=pbjs.winners||{},pbjs.winners[e.adId]=!0;var p=_WF.utils.gsc().filter((function(t){return t.adId!==e.adId}));_WF.utils.gsc(p,"remove c1"),Kn("hm-render> remove bid from bttl",[e.adUnitCode,e.adId,e.width,e.height,e.bidderCode,e.cpm]),_WF.utils.sendAuctionReconciliation(e,Kn)};Mn(e.adUnitCode,t,(function(){var i=document.getElementById(e.adUnitCode)||{failed:!0};if(!i.failed)try{!function(e){e.style="",e.innerHTML="",e.previousElementSibling&&"tlod"===e.previousElementSibling.className&&e.parentElement.removeChild(e.previousElementSibling),e.nextElementSibling&&"tlod"===e.nextElementSibling.className&&e.parentElement.removeChild(e.nextElementSibling)}(i),l(e),kn(e),u(e)}catch(e){}t()}))()}},qn=function(e,t){return function(i){var n=(i.sizes||i.mediaTypes.banner.sizes).map((function(e){return e[0]+"x"+e[1]})).reduce((function(t,i){var n=e[i]||[];return t=t.concat(n)}),[]).filter((function(e){return!t[e.adId]})).filter(function(e){var t=_WF.utils.abState("fallback_ab","").toLowerCase().split(":"),i=new Set(t),n=!1;return Kn("hm-render> skiplist",i),function(t){return"video"===t.mediaType||~t.adUnitCode.indexOf("anchored-P")&&0!==e.code.indexOf("anchored-P")?n:!i.has(t.bidder.toLowerCase())||n}}(i)).sort((function(e,t){return t.cpm-e.cpm}));Kn("hm-render> get adUnitBids",n);var r=n.shift();return r&&(kn(r),r.adUnitCode!==i.code&&(Kn("hm-render> shift",[r.adId,"from",r.adUnitCode,"to",i.code]),r.adUnitCode=i.code)),r}},Gn={adUnits:{},used:{},auctionChecklist:{}
1,auctionAdUnits:[],auctionDfpSlots:[],resolicit:void 0,blocklist:new Set,add:function(e,t){const i=_WF.utils.getPrebidExclusionDivIds(),n=e.filter((e=>!i[e.code]));n.forEach((function(e){Gn.adUnits[e.code]=e})),Gn.auctionDfpSlots=t.slice(0),Gn.auctionChecklist=n.reduce((function(e,t){return e[t.code]=!0,e}),{})},skip:function(e){var t=e.slot.div;Kn("hm-render> fallback> skip adUnit",[t]),Gn.blocklist.delete(t),Gn.disposeAndCheckReadyState(t)},render:function(e){var t=e.slot.div;Gn.auctionChecklist[t]?(Kn("hm-render> fallback> register adUnit",[t]),Gn.auctionAdUnits.push(e),Gn.disposeAndCheckReadyState(t)):Kn("hm-render> fallback> registration failed; unrecognized adUnit",[t])},disposeAndCheckReadyState:function(e){delete Gn.auctionChecklist[e];var t=Object.keys(Gn.auctionChecklist).length,i="disabled"===_WF.utils.abState("fallback_ab","");if(Gn.resolicit=void 0!==Gn.resolicit?Gn.resolicit:"resolicit"===_WF.utils.abState("fallback_ab",""),!t&&!i){var n=Gn.auctionAdUnits.map((e=>e.slot.div)),r=[...new Set(n).keys()];_WF.vigil.watch(_WF.vigil.events.complete,(function(e){return Kn("hm-render> fallback> parent auction complete>"),Gn.resolicit?(r=r.filter((e=>{const t=Gn.resolicit&&Gn.blocklist.has(e),i=!t;return t&&(Gn.blocklist.delete(e),Kn("hm-render> fallback> blocked resolicit for adUnitCode>",e)),i})),r.length&&(Kn("hm-render> fallback> resoliciting adUnitCodes>",r),r.forEach((e=>Gn.blocklist.add(e))),_WF.prebid.refreshSlots(r)),Gn.auctionAdUnits.length=0):Gn.renderAll(),!0}))}},renderAll:function(e=null){if(Gn.auctionAdUnits.length)for(Kn("hm-render> fallback> render adUnits> [ "+Gn.auctionAdUnits.map((e=>e.slot.div)).join(", ")+" ]");e=Gn.auctionAdUnits.pop();)Gn.renderDfpSlot(e);else Kn("hm-render> fallback> no registered adUnits> [ ] ")},renderAllViaDFP:function(e=null){for(Kn("hm-render> fallback> DFPSlots render adUnits>");e=Gn.auctionDfpSlots.pop();)Gn.renderDfpSlot(e)},renderDfpSlot:function(e){var t=e.div||e.slot.div,i=Gn.adUnits[t];if(0!==t.indexOf("anchored-P")){var n=_WF.utils.gsc(),r=n.reduce((function(e,t){t.size=t.size||t.width+"x"+t.height;var i=t.size;return e[i]=e[i]||[],e[i].push(t),e}),{}),o=j.map.getBid(t);if(Object.keys(r).length){var a,s=qn(r,Gn.used)(i);s&&o?a=s.cpm>=o.cpm?s:o:s&&(a=s),a?(Gn.used[a.adId]=!0,setTimeout(zn(a,(function(){Kn("hm-render> fallback rendered "+t,[a.bidder,a.cpm])})),0)):Kn("hm-render> fallback failed> no bid found "+t)}else Kn("hm-render> fallback failed> no bids found "+t)}else Kn("hm-render> fallback failed> ineligible",[t,i,e])}},Vn=Gn;const jn=s("targeting");function Hn(e){e.pending=!1,jn("setDfpTargeting",e),function(e){if(r(_WF.KEYS.QUERYSTRING).hmhb_debug)return;const t=new Set(["standard","hive"]);Object.keys(pbjs.bidderSettings).filter((e=>!t.has(e))).length?pbjs.adUnits.forEach((t=>{t.bids.length||(e.id,t.code)})):(e.id,e.adUnitCodes.join(","))}(e),__tcfapi("ping",2,(t=>{t.cmpLoaded?(jn("cmp found - starting gam",t),function(e){try{_WF.utils.isPrebidTesting()?Yn.setTargeting(e):pbjs.setTargetingForGPTAsync(e.adUnitCodes),j.setTargeting(),se.handlePostTargetingKVManagement(e)}catch(e){jn("targeting error",e)}se.refresh(e.dfpSlots),_WF.emit(_WF.EVENTS.DFPTARGETING),Vn.add(e.adUnits,e.dfpSlots)}(e)):(jn("cmp bypass - skipping gam",t),function(e){Vn.add(e.adUnits,e.dfpSlots),Vn.renderAllViaDFP(),pbjs.processing=!1,pbjs.refreshing=!1,_WF.emit(_WF.EVENTS.DFPTARGETING),_WF.emit(_WF.EVENTS.ALLDFPSLOTSRENDERED)}(e))}))}const $n=s("auctioneer");function Qn(e){const t=[];for(let i=0;i<e.length;i++){const n=e[i];Array.isArray(n)?t.push(...Qn(n)):t.push(n)}return t}function Xn(e){const t={aniview:!0},i={"300x250":[300,250]},n={airfind:!0};e.adUnits.forEach((function(r){r.mediaTypes=r.mediaTypes||{},r.mediaTypes.banner=r.mediaTypes.banner||{sizes:r.sizes},function(e,t,i){if(e.bids.filter((e=>t[e.bidder])).length){const t=Qn(e.sizes);for(let n=0;n<t.length;n+=2){const r=i[`${t[n]}x${t[n+1]}`];if(r){e.mediaTypes.video=e.mediaTypes.video||{playerSize:r,context:"outstream"};break}}}}(r,t,i),function(e,t){if(e.bids.filter((e=>t[e.bidder])).length){const t=Qn(e.sizes);t[0],t[1],e.mediaTypes.native={title:{required:!0},image:{required:!0,aspect_ratios:[{min_width:300,ratio_width:2,ratio_height:1}]}}}}(r,n),r.bids.forEach((function(t){pn[t.bidder]&&pn[t.bidder](e,r,t)})),delete r.sizes}))}function Jn(e){const t=pbjs.adUnits.reduce((function(e,t){return e[t.code]=!0,e}),{});Xn(e),pbjs.addAdUnits(e.adUnits.filter((function(e){return!t[e.code]})))}function Zn(e,t,i){e.pending&&(e.bidders[t]=i,$n("headerBidderBack",[t,e,i]),function(e){const t=Object.keys(e.bidders);return t.map((function(t){return e.bidders[t]}
1)).filter(Boolean).length===t.length}(e)&&(_WF.utils.clearTimeout(e.timer),e.isPrefetch?$n("prefetch allBiddersBack"):($n("allBiddersBack"),yn(e),Hn(e)))),$n("headerBidderBack",[t,e])}function er(e){$n("auctioneer",e),se.purgeTargeting(),function(e){const t=_WF.utils.gsc,i=window.pbjs;i.setConfig({bidderTimeout:e.timeout}),Jn(e),tr({},!0);const n=x(e.adUnitCodes,i.adUnits);n&&i.setConfig(n),i.isPrefetch=e.isPrefetch,$n("pbjsAuction bttl preauction",a(t())),_WF.utils.isTesting("uid_ab","nobidC",!0)&&"undefined"!=typeof nobidCarbonizer&&nobidCarbonizer.carbonizeAdunits(e.adUnits),i.requestBids({timeout:e.timeout,adUnitCodes:e.adUnitCodes,bidsBackHandler:function(i){$n("pbjsAuction bttl postauction",a(t())),Zn(e,"prebid",i)}},(function(){}))}(e),j.startAuction(e,Zn),function(e){e.timer=_WF.utils.setTimeout((function(){e.pending&&(e.isPrefetch?$n("prefetch auctioneer timed out",e):($n("auctioneer timed out",e),Hn(e)))}),e.timeout+1e3)}(e),_WF.on(_WF.EVENTS.ALLDFPSLOTSRENDERED,(function(){_WF.emit("calculate_truesignal")}))}function tr(e={},t=!1){const i=[];if(_WF.utils.isTesting("secondarybidders_ab")){const e=_WF.utils.abState("secondarybidders_ab");i.push(...e.split(" "))}i.push(...Gi());const n=Array.from(new Set(i.filter(Boolean)));n.length>0&&(e.auctionOptions={secondaryBidders:n}),t&&pbjs.setConfig(e)}function ir(e,t,i,n=null){if(_WF.utils.isPrebidTesting()&&Yn.configureHiveBidder(e),e.length){const r=vn({adUnits:e,dfpSlots:t,bidders:["a9","prebid"],timeout:i});!e.length||"topiary"===r.adUnits[0].code&&1===r.adUnits.length?($n("bootAuctioneer> no adUnits after factory",r),"function"==typeof n&&n()):($n("bootAuctioneer",r),er(r))}else"function"==typeof n&&n()}function nr(e,t,i){if(e.length){const n=vn({adUnits:e,dfpSlots:t,bidders:["prebid"],timeout:i});n.adUnits.forEach((function(e){pbjs.removeAdUnit(e.code),e.bids=[{bidder:"hive",params:{}}]})),$n("recycleAuctioneer",n),er(n)}}function rr(e){_WF.on("gppCMP",(function(){e.consentManagement.gpp={allowAuctionWithoutConsent:!0,cmpApi:"iab",timeout:1e4}}))}var or=function(e){if(_WF.utils.isTesting("cmp_ab","control",!0)){if(_WF.utils.isGDPRCountry()){var t=_WF.cache.json.get(_WF.KEYS.CMPRESULT);e.consentManagement={cmpApi:"static",allowAuctionWithoutConsent:!0,consentData:t,gdpr:{cmpApi:"static",allowAuctionWithoutConsent:!0,consentData:t,timeout:0}}}if(_WF.utils.isCCPARegion()){var i=_WF.cache.json.get(_WF.KEYS.CMPCCPARESULT)||{};e.consentManagement={cmpApi:"static",usp:{cmpApi:"static",consentData:{getUSPData:{uspString:i.value}},timeout:0,allowAuctionWithoutConsent:!0}}}}else _WF.utils.isGDPRCountry()&&(e.consentManagement={},e.consentManagement.gdpr={allowAuctionWithoutConsent:!0,cmpApi:"iab",timeout:1e4,defaultGdprScope:!0},rr(e)),_WF.utils.isCCPARegion()&&(e.consentManagement={},e.consentManagement.usp={allowAuctionWithoutConsent:!0,cmpApi:"iab",timeout:1e4},rr(e))};function ar(...e){var t=e.join(" ");_WF.utils.log("adUnitThrottle> "+t)}const sr={},cr={},lr={};function ur(e,t=Date.now()){Array.isArray(e)?e.forEach((e=>ur(e,t))):sr[e]=t}var dr={initializeThrottleEligibleAdUnits:function(e){if(!_WF.utils.isTesting("refresh_ab","throttle",!0))return;const t=e.map((e=>e.code)),i=Date.now();ar(`initializing slots for throttle eligibility. throttle: ${_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("refresh_ab","throttle",1))} slots: [${t.join(", ")}]`),t.forEach((e=>{ur(e,i)}))},filterThrottleEligibleDivs:function(e){if(!_WF.utils.isTesting("refresh_ab","throttle",!0))return e;const t=Date.now(),i=[],n=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("refresh_ab","throttle",1));return ar(`filtering slots for throttle eligibility. throttle: ${n} slots: [${e.join(", ")}]`),e.forEach((e=>{const r=t-sr[e];if(function(e,t){return void 0===e||Number.isNaN(e)||function(e,t){return e>=t}(e,t)}(r,n))return ur(e,t),void i.push(e);!function(e,t){if(void 0!==cr[e])return;ar(`slot ${e} is not eligible for refresh. throttle: ${t}ms`),lr[t]=lr[t]||[],lr[t].push(e)}(e,r)})),i.length===e.length&&ar("All slots are eligible for refresh, no throttle applied."),Object.keys(lr).forEach((e=>{const t=lr[e],i=_WF.utils.setTimeout((()=>{ar(`slots [${t.join(", ")}] are now eligible. Refreshing`),t.forEach((e=>{delete cr[e]})),_WF.prebid.refreshSlots(t)}),_WF.utils.parseInt(e));t.forEach((e=>{cr[e]=i})),delete lr[e]})),i}};function _r(...e){var t=e.join(" ");_WF.utils.log("aurm> "+t)}function pr(e){_WF.utils.clearTimeout(pr.timer),pr.adUnitCodes=pr.adUnitCodes||{},pr.adUnitCodes[e]=!0,pr.timer=_WF.utils.setTimeout((()=>{const e=Object.keys(pr.adUnitCodes);_r("debounceRefresh> list>",JSON.stringify(e)),_WF.prebid.refreshSlots(e),pr.adUnitCodes={}}),1e3)}function mr(e){!e.debounced&&e.renderMark&&e.viewMark&&e.isVisible&&(e.debounced=!0,pr(e.code),_r("markReady> debounce>",e.code))}function gr(e,t){return function(){e[t]||(e[t]=!0,_r("markReady> mark>",e.code,t)),mr(e)}}function fr(e,t){se.enqueue((function(){!function(e,t){_WF.vigil.watch(_WF.vigil.events.received,(i=>{if(!e[i.slot.div])return;t[i.slot.div]&&_WF.utils.clearTimeout(t[i.slot.div].renderTimer);const n={code:i.slot.div,debounced:!1,isVisible:!1,renderTimer:0,renderMark:!1,viewMark:!1,viewed:function(){}};n.viewed=gr(n,"viewMark"),t[i.slot.div]=n}))}(e,t),function(e){_WF.vigil.watch(_WF.vigil.events.render,(t=>{const i=e[t.adUnitCode];if(i){const e=_WF.prebid.getRefreshDelay();i.renderTimer=_WF.utils.setTimeout(gr(i,"renderMark"),e)}}))}(t),function(e){_WF.vigil.watch(_WF.vigil.events.viewed,(function(t){const i=e[t];i&&i.viewed&&i.viewed()}))}(t),function(e){const t=_WF.utils.isTesting("refresh_ab","perslotinview",!0),i=_WF.utils.isTesting("splayout_ab","perslotinview",!0),n=t||i;_WF.vigil.watch(_WF.vigil.events.viewChange,(function(t,i){const r=e[t];r&&(r.isVisible=!n||i,mr(r))}))}(t)}))}function Fr(){const e=_WF.utils.isTesting("refresh_ab","perslot",!0),t=_WF.utils.isTesting("refresh_ab","infinite",!0),i=_WF.utils.isTesting("splayout_ab","perslot",!0),n=_WF.utils.isTesting("splayout_ab","infinite",!0),r=e||i,o=e?"refresh_ab":"splayout_ab",a=r&&!(t||n);return r&&!a&&(_r(`warning> ${o} : perslot treatment activation failed -`),_r(`warning> ${o} set to perslot. ✔️`),t&&_r("warning> refresh_ab set to infinite. ❌"),n&&_r("warning> splayout_ab set to infinite. ❌")),a}var hr={initialize:function(){if(Fr()){_r("initialize> treatment active (refresh_ab:perslot)");const e={},t=_WF.prebid.getTimerRefreshSlots().reduce(((e,t)=>(e[t]=!0,e)),{});_r("initialize> refreshable adUnits>",Object.keys(t)),fr(t,e)}else _r("initialize> treatment inactive (refresh_ab:perslot)")},isEligibleToRun:Fr};function Er(e){switch(e){case"hive":return"HIVP250925";case"paxa":return"PAXP250929";case"reaction":return"REAP250930";default:return null}}function Wr(e){return e.some((e=>"contxtful"===e.name&&1===e.active))}function Sr(e,t){if(!Wr(t.live))return;const i=function(){const e={name:"contxtful",waitForIt:!0,params:{version:"v1",customer:"",hostname:"api.receptivity.io",bidders:["contxtful"],adServerTargeting:!0}},t=_WF.utils.getNetworkName();return e.params.customer=Er(t)||"",e}();e.realTimeData.auctionDelay=1e3,e.realTimeData.dataProviders.push(i)}function br(e,t){!function(e){e.realTimeData.dataProviders.push({name:"hive-rtd",params:{}})}(e),function(e){_WF.utils.isTesting("goldfish_ab")&&(e.realTimeData.auctionDelay=300,e.realTimeData.dataProviders.push({name:"goldfishAdsRtd",waitForIt:!0,params:{key:"hivemedia-3j4n5jxg"}}
1))}(e),function(e){if(_WF.utils.isTesting("qortex_ab")){let t;switch(_WF.cache.getItem(_WF.KEYS.BLOGNAME).toLowerCase()){case"exploredplanet":t="tL5wzOQfnUGWDTjl5p2g";break;case"healthygem":t="P4rzyj6WkKZ2xkUs7pPfg";break;default:return}e.realTimeData.auctionDelay=1e3,e.realTimeData.dataProviders.push({name:"qortex",waitForIt:!0,params:{groupId:t,enableBidEnrichment:!0,tagConfig:{bidEnrichment:!0}}})}}(e),Sr(e,t)}_WF.on(_WF.KEYS.PREBID,_WF.EVENTS.SETUP,(function(e){if(!_WF.cache.getItem(_WF.KEYS.DISCOUNTS)){var t={bidderSettings:e.live.reduce(((e,t)=>(e[t.name]={bidCpmAdjustment:_WF.utils.hbDiscountTo(t.discount||1)},e)),{})};_WF.cache.setItem(_WF.KEYS.DISCOUNTS,t)}})),_WF.on(_WF.KEYS.DISCOUNTS,(()=>{window.pbjs=window.pbjs||{};var e=window.pbjs,t=_WF.utils.getLogger("prebidReboot",_WF.LOGLEVEL.PREBID),i=[],n=Q(),r=function(e,i=""){if("string"==typeof i)i='"'+i+'"';t(e,i||"")};if(_WF.utils.isRsocPost()||_WF.cache.getItem(_WF.KEYS.ISSEARCH))_WF.on(_WF.KEYS.PREBID,(function(){r("skipping prebid setup > rsoc"),_WF.emit
1(_WF.EVENTS.PREBIDLOADED),_WF.emit(_WF.EVENTS.DFPTARGETING)}));else{var o=function(e,t){t.forEach((function(t){if(e.debug)r("test mode> disabled during debug mode");else{var i={action:"exclude",name:t};r("test mode> "+t+" excluded from running configuration"),_WF.utils.hbUpdatePrebidConfiguration(e,i)}}))},a=function(e,t){var i=t.adUnits.reduce((function(e,t){return e[t.code]=t,e}),{});e.forEach((function(e){var n=e.getAdUnitPath(),r=e.getSlotElementId();if(!i[r]){var o={code:r,bids:[]};t.adUnits.push(o),i[r]=o}var a=e.getSizes().map((function(e){return Object.keys(e).map((function(t){return e[t]}))}));i[r].dfpID=n,i[r].sizes=a})),t.adUnits=t.adUnits.filter((function(e){var t=!!e.dfpID;return r(t?"prebid config eligible> dfp tag found> "+e.code:"prebid config ineligible> no dfp tag found> "+e.code),t}))},s=function(e){r("getAdUnits");var t,i=(t=e,JSON.parse(JSON.stringify([t])).shift()),n=[];return se.slots().forEach((function(e){for(var t,o=e.getSlotElementId(),a=0;a<i.length;a++)if(i[a].code===o){r("slot",e),t=a;break}if("number"==typeof t){var s=i.splice(t,1)[0];r("adUnit",s),n.push(s)}})),n},c=function(){let e=se.slots().map((e=>e.div));_WF.cache.getItem(_WF.KEYS.DISABLEANCREFRESH)&&(e=e.filter((e=>-1===e.indexOf("anchored-P")))),_WF.cache.getItem(_WF.KEYS.DISABLEPUIREFRESH)&&(e=e.filter((e=>-1===e.indexOf("primary-under-image-P0")))),_WF.utils.isTesting("uti_ab")&&(e=e.filter((e=>"tertiary-P5"!==e))),_WF.utils.isTesting("ipupm_ab","newrefresh",!0)&&(e=e.filter((e=>-1===e.indexOf("primary-"))));const t=_WF.utils.getPrebidExclusionDivIds();e=e.filter((e=>!t[e]));return e=[...ue(e,!0)],r("refresh> post visibility checker divIds: ",e),e},l=function(){const e=_WF.cache.getItem(_WF.KEYS.TESTING.REFRESHDELAYOVERRIDE);let t,i=_WF.utils.isQuizPost()?3e4:e||3e4;return _WF.utils.isTesting("ipupm_ab","newrefresh",!0)&&(i=4e4),_WF.utils.isTesting("refresh_ab","delay",!0)&&(t=_WF.utils.abState("refresh_ab").split("delay:")),_WF.utils.isTesting("ajaxslideshow_ab","delay",!0)&&(t=_WF.utils.abState("aja
1xslideshow_ab").split(":")),t&&t.length>1&&(i=_WF.utils.parseInt(t[1].split(" ")[0])||i),i},u=function(){r("allDFPSlotsRenderHandler"),_WF.prebid.refreshSlots([]),_WF.where.testing("prefetch_ab",(function(){_WF.utils.isEligibleForSinglePageLayout()?r("skip ATF prefetch on sp-layout"):(r("requesting ATF prefetch"),E())}));var t=_WF.cache.getItem(_WF.KEYS.TESTING.REFRESHDELAYOVERRIDE),i=l(),n=!(_WF.utils.isTesting("refresh_ab","full",!0)||_WF.utils.isEligibleForSinglePageLayout()),o=!_WF.utils.isOrganic()&&(_WF.utils.isTesting("refresh_ab","infinite",!0)||_WF.utils.isQuizPost()&&_WF.utils.isTesting("quizlayout_ab","newLayout",!0));if(i>0&&function(){if(_WF.utils.isTesting("refresh_ab","disablerefresh",!0))return!1;if(hr.isEligibleToRun())return!1;if(_WF.utils.isTesting("refresh_ab","infinite",!0)){var t=_WF.utils.abState("refresh_ab").split("infinite:");if(t.length>1){var i=_WF.utils.parseInt(t[1].split(" ")[0]);if(i&&e.refreshCounter>=i)return!1}}return!(!(_WF.utils.isQuizPost()&&_WF.utils.isTesting("quizlayout_ab","newLayout",!0)||_WF.utils.isEligibleForAjaxSlideshow())&&(_WF.utils.isTesting("refresh_ab","nomobilerefresh",!0)&&_WF.utils.isMobile()||_WF.utils.isQuizPost()||_WF.utils.isAJAXDesktop()||_WF.utils.isTesting("snlayout_ab")||_WF.utils.isTesting("ajaxgallery_ab")||(!_WF.utils.isEligibleForSinglePageLayout()||_WF.utils.isMobile())&&_WF.utils.isOrganic()))}()){r(t?"refresh> overriding timeout for refresh with [delay, serveFromCache]: ":"refresh> setting timeout for refresh with [delay, serveFromCache]: ",[i,n=!o&&n]);const a=function(){var t=c();t.length>0?(r("refresh> processing slots: ",t),_WF.prebid.refreshSlots(t,n),(o||_WF.utils.isEligibleForSinglePageLayout()||_WF.utils.isTesting("refresh_ab","x2",!0)&&e.refreshCounter<2||!_WF.utils.isMobile()&&_WF.utils.isEligibleForSinglePageLayout())&&_WF.once(_WF.EVENTS.ALLDFPSLOTSRENDERED,u)):(u(),r("refresh> no refreshable slots found: ",t))};_WF.prebid.refreshTimeout=_WF.utils.setTimeout(a,i),_WF.once(_WF.EVENTS.RESETREFRESHTIMER,(function e(){r("refresh> resetting refresh timer"),_WF.utils.clearTimeout(_WF.prebid.refreshTimeout),r("refresh> resetting timeout for refresh with [delay, serveFromCache]: ",[i,n]),_WF.prebid.refreshTimeout=_WF.utils.setTimeout(a,i),_WF.once(_WF.EVENTS.RESETREFRESHTIMER,e)}))}},d=function(){_WF.utils.isTesting("nogamp_ab","fallback",!0)&&(r("noGampFallback> Rendering all slots through secondary auction"),Vn.renderAllViaDFP(),e.processing=!1,e.refreshing=!1,_WF.emit(_WF.EVENTS.ALLDFPSLOTSRENDERED));_WF.cache.json.get(_WF.KEYS.LOCATION),window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;_WF.once(_WF.EVENTS.NOGAMP,d)},_=function(e){_WF.once(_WF.EVENTS.BADQUERY,_)},p=function(t,i,n){_WF.once(_WF.EVENTS.BADQUERY,_),_WF.utils.isTesting("optiyield_ab")||(_WF.once(_WF.EVENTS.NOGAMP,d),se.observe("slotRenderEnded",(function(e){try{e.isEmpty?Vn.render(e):Vn.skip(e)}catch(e){}}))),dr.initializeThrottleEligibleAdUnits(t),ir(t,i,n,(function(){_WF.emit(_WF.EVENTS.ALLDFPSLOTSRENDERED),e.processing=!1,e.refreshing=!1})),(!t.length||"topiary"===t[0].code&&1===t.length)&&_WF.emit(_WF.EVENTS.DFPTARGETING),_WF.on(_WF.EVENTS.ALLDFPSLOTSRENDERED,u),_WF.emit(_WF.EVENTS.PREBIDINITIALIZED)},m=function(t){_WF.utils.isTesting("lowprice_ab","enabled")&&(n.PRICE_GRANULARITY.buckets.shift(),n.PRICE_GRANULARITY.buckets[0].min=.01);var i={bidderTimeout:n.BID_TIMEOUT,disableAjaxTimeout:!1,enableSendAllBids:!0,enableTIDs:!1,eventHistoryTTL:5,floors:{},maxRequestsPerOrigin:4,performanceMetrics:!1,priceGranularity:n.PRICE_GRANULARITY,realTimeData:{dataProviders:[]},timeoutBuffer:400,currency:{adServerCurrency:"USD"}};try{!function(e){if(_WF.utils.isTesting("prebid_fpd_ab")){if(e.ortb2=N(),_WF.utils.isTesting("uid_ab","anonymised",!0)){const t=localStorage.getItem("cohort_ids");t&&(e.ortb2.user.data=e.ortb2.user.data||[],e.ortb2.user.data.push({name:"id-ward.com",segment:JSON.parse(t).map((e=>({id:e})))}))}}else e.firstPartyData={skipEnrichments:!0,skipValidations:!0}}(i),or(i),br(i,t),function(e,t){if(Wr(t.live)){const t=_WF.utils.getNetworkName();e.contxtful=e.contxtful||{},e.contxtful.version="v1",e.contxtful.customer=Er(t)||""}}(i,t)}catch(e){r("setPrebidConfig",e.message)}tr(i),_WF.utils.isTesting("landscape_ab")&&(i.enableSendAllBids=!1),e.aliasBidder("adyoulike","ayl",{gvlid:259}),e.aliasBidder("gumgum","gumgumanc",{gvlid:61}),e.aliasBidder("ix","indexExchange",{gvlid:10}),e.aliasBidder("teads","teadsvideo",{gvlid:132}),e.aliasBidder("triplelift","tripleliftdisplay",{gvlid:28}),e.aliasBidder("undertone","undertoneanc",{gvlid:677}),e.aliasBidder("vidazoo","vidazoodisplay",{gvlid:744}),e.aliasBidder("vidazoo","vidazooserver",{gvlid:744}),e.aliasBidder("rise","openwebxchange",{gvlid:280}),e.setConfig(i)},g=function(t,i){t=s(t);var o=_WF.cache.getItem(_WF.KEYS.DFPSLOTS);e.bidderSettings=function(e){r("getBidderSettings");var t=Object.keys(e),i={};return t.forEach((function(t){i[t]=e[t]})),i}(i),e.optimal=!0,p(t,o,n.BID_TIMEOUT)},f=function(t,i,o){return function(){if(r("configurePrebid"),!e.processing)if(i.length>0&&(e.processing=!0),"fullmonty"===_WF.utils.abState("markup_ab","")&&(e.curve=n.FULL_MONTY),m(t),function(){var t={userSync:{auctionDelay:0,syncsPerBidder:0,userIds:e?.getConfig()?.userSync?.userIds||[],syncDelay:0,aliasSyncEnabled:!0,filterSettings:{all:{bidders:"*",filter:"include"}}}};if((_WF.utils.isTesting("uid_ab","ppid",!0)||_WF.utils.isTesting("usersync_ab","v2",!0)&&_WF.utils.isMobile())&&t.userSync.userIds.push({name:"pubProvidedId",params:{eids:[{source:window.location.host,uids:[{id:_WF.cache.getItem(_WF.KEYS.UUID),atype:1,ext:{stype:"ppuid"}}]}]}}),_WF.utils.isTesting("usersync_ab","v2",!0)&&(_WF.utils.isMobile()?(t.userSync.aliasSyncEnabled=!0,t.userSync.iframeEnabled=!0,t.userSync.syncDelay=1):(t.userSync.filterSettings={image:{bidders:"*",filter:"include"}},t.userSync.syncDelay=3e3),t.userSync.auctionDelay=0,t.userSync.syncEnabled=!0,t.userSync.syncsPerBidder=5),_WF.utils.isTesting("uid_ab","sharedid",!0)&&(t.userSync.syncDelay=3e3,t.userSync.userIds.push({name:"sharedId",params:{extend:!0},storage:{type:"cookie",name:"_pubcid",expires:10}})),_WF.utils.isTesting("uid_ab","id5",!0)||_WF.utils.isTesting("identity_ab","retention",!0)){var i=function(e){const t={5:_WF.cache.getItem(_WF.KEYS.UUID),8:document.location.href,9:document.domain,10:_WF.cookieStore.getItem("akaclientip"),12:navigator.userAgent};e&&(t[1]=e);const i=Object.keys(t).reduce(((e,i)=>(e&&(e+="&"),e+`${i}=${t[i]}`)),""),n=encodeURIComponent(i);return{name:"id5Id",params:{partner:437,pd:btoa(n),externalModuleUrl:"https://cdn.id5-sync.com/api/1.0/id5PrebidModule.js",abTesting:{enabled:!0,controlGroupPct:.1},disableExtensions:!1},storage:{type:"html5",name:"id5id",expires:90,refreshInSeconds:28800}}};if(_WF.utils.isTesting("identity_ab","retention",!0))_WF.on(_WF.KEYS.GEQINFO,(function(t){if(t?.status&&t?.sha256){const n=i(t.sha256);e.mergeConfig({userSync:{userIds:[n]}}),e.refreshUserIds()}}));else{const e=i();t.userSync.auctionDelay=Math.max(t.userSync.auctionDelay,50),t.userSync.userIds.push(e)}}_WF.utils.isTesting("uid_ab","ats",!0)&&(t.userSync.syncDelay=3e3,t.userSync.userIds.push({name:"identityLink",params:{pid:"13307"},storage:{type:"cookie",name:"idl_env",expires:1}}));if(_WF.utils.isTesting("uid_ab","TTD",!0)&&(t.userSync.syncDelay=3e3,t.userSync.userIds.push({name:"unifiedId",params:{partner:"TTD_PID_HERE"},storage:{type:"html5",name:"pbjs-unifiedid",expires:60}})),_WF.utils.isTesting("uid_ab","anonymised",!0)){const e=localStorage.getItem("cohort_ids");e&&(t.appnexusAuctionKeywords={perid:JSON.parse(e)})}if(_WF.utils.isTesting("uid_ab","nobid",!0)){const t=50602;e.enableAnalytics({provider:"nobidAnalytics",options:{siteId:t}})}e.setConfig(t)}(),se.trackVisibility(),_WF.utils.isTesting("ipupm_ab","initdelay",!0)){const e=function(){_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH))>=(_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("ipupm_ab","initdelay",1))||2)?(r("calling beginPrebidInitialization after session depth delay"),g(i,o)):(r("delaying beginPrebidInitialization"),_WF.once(_WF.EVENTS.DATACOLLECTION,e))};e()}else g(i,o)}},F=function(e,t){var i=_WF.utils.defineDFPSlot(e);if(i){var n=_WF.cache.getItem(_WF.KEYS.DFPSLOTS);return i.div=t,n.push(i),_WF.cache.setItem(_WF.KEYS.DFPSLOTS,n),i}},h=function(e){var t=[],i=_WF.cache.getItem(_WF.KEYS.DFPSLOTS),n=_WF.cache.getItem(_WF.KEYS.DFPSLOTDEFINITIONS);return e.forEach((function(e){var o=i.filter((function(t){return t.div===e})).pop();if(o)r("refresh> slot already defined ",e),t.push(o);else{var a=n.filter((function(t){return t.div===e})).pop();if(a){r("refresh> create new slot using existing slotDefinition for ",e);var s=F(a,e);
1s&&t.push(s)}else r("refresh> creating new slot and slotDefinition for ",e),n.forEach((function(i){var n=Object.assign({},i,{div:e}),r=F(n,e);r&&t.push(r)}))}})),r("refresh> dfpSlots",t),t},E=function(){var e=_WF.ATFMAP[_WF.utils.getDeviceType()];r("prefetchAuctioneer",e);var t=_WF.cache.getItem(_WF.KEYS.ADUNITCODES);r("prefetchAuctioneer",t);var i=t.filter((function(t){return e[t]}));r("prefetchAuctioneer",i);h(i);!function(e,t,i){if(e.forEach((function(e){e.bids=[{bidder:"hive",params:{}}]})),e.length){const t=vn({adUnits:e,bidders:["prebid"],isPrefetch:!0,timeout:1e3});$n("prefetchAuctioneer",t),er(t)}}(i,0,n.REFRESH_BID_TIMEOUT)},W=function(e,t,i,o){e?(r("recycle_ab> recycled auction"),r("recycle_ab> start recycled auction"),function(e,t){r("refresh_ab> recycled auction> init");var i=(_WF.cache.getItem(_WF.KEYS.PREBID)||{adUnits:[]}).adUnits.reduce((function(e,t){return e[t.code]=t,e}),{});nr(e.reduce((function(e,t){return i[t]&&e.push(i[t]),e}),[]),t,1e3)}(t,i)):(r("recycle_ab> full auction"),function(e,t){ir(e,t,n.REFRESH_BID_TIMEOUT)}(o,i))},S=function(t){var n=function(){var e=[];r("spy> refreshQueue",i);var t=i.reduce(((e,t)=>(e[t]=!0,e)),{});return e.push(...Object.keys(t)),i.length=0,r("refresh> processing divids:",e),e}();if((n=dr.filterThrottleEligibleDivs(n)).length){n.forEach((e=>{var t,i=document.getElementById(e);~e.indexOf("primary-over-header")&&0==i.parentElement.className.indexOf("pohcontainer")&&(t=i.parentElement),~e.indexOf("primary-under-header")&&0==i.parentElement.className.indexOf("puhcontainer")&&(t=i.parentElement),~e.indexOf("primary-over-image")&&0==i.parentElement.className.indexOf("poicontainer")&&(t=i.parentElement),~e.indexOf("primary-under-image")&&0==i.parentElement.className.indexOf("puicontainer")&&(t=i.parentElement),~e.indexOf("primary-over-paragraph")&&0==i.parentElement.className.indexOf("popcontainer")&&(t=i.parentElement),t||(t=document.getElementById(e+"-wrapper")),t||(t=i),t&&(_WF.utils.propagateElementHeight(i),i.innerHTML="")})),_WF.utils.isEligibleForSinglePageLayout()&&function(e){var t=_WF.cache.getItem(_WF.KEYS.DFPSLOTS)||[],i=t.filter((function(t){return e.indexOf(t.div)>-1}));i.length>0&&(r("destroySlots",i),t=t.filter((function(t){return-1===e.indexOf(t.div)})),_WF.cache.setItem(_WF.KEYS.DFPSLOTS,t),se.destroy(i))}(n);var o=h(n),s=function(e){var t=_WF.cache.getItem(_WF.KEYS.ADUNITCODES);const i=O();var n=i.filter((function(t){return e.indexOf(t.code)>-1}));!function(e,t){const i=[];e.forEach((e=>{e.dfpID&&e.sizes||i.push(e.code)})),i.forEach((e=>{t.splice(t.indexOf(e),1)}))}(n,t);var o=e.filter((function(e){return-1===t.indexOf(e)}));if(r("refresh> setupPrebidSlots> missingDivIds",o),o.length<1)return n;var s=n,c=_WF.cache.getItem(_WF.KEYS.DFPSLOTS).filter((function(e){return o.indexOf(e.div)>=0}));return n=n.filter((function(e){return o.indexOf(e.code)>=0})),a(c,{adUnits:n}),n.forEach((function(e){r("refresh> creating new pbjsAdUnit for ",e.code),-1===s.indexOf(e)&&(s.push(e),i.push(e)),t.push(e.code),_WF.cache.setItem(_WF.KEYS.ADUNITCODES,t),_WF.cache.setItem(_WF.KEYS.ADUNITDEFINITIONS,i)})),r("refresh> pbjsAdUnits",s),s}(n);!function(t){var i=[];e.adUnits.forEach((function(e){t.indexOf(e.code)>-1&&(e.bids=e.bids.filter((function(e){return-1===i.indexOf(e.bidder)})),r("refresh> blacklistRefreshBidders> updated adUnit",e))}))}(n),_WF.emit(_WF.EVENTS.BEGINREFRESHAUCTION),e.refreshCounter++,j.map.clear(),_WF.once(_WF.EVENTS.ALLDFPSLOTSRENDERED,(function(){_WF.utils.log("Refresh> AllDfpSlotsRenderedHandler> noop")})),W(t,n,o,s)}else e.refreshing=!1},b=function(){if(_WF.utils.isTesting("ipupm_ab","rps",!0)){const e=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("ipupm_ab","rps",1))||5,t=parseFloat(_WF.utils.getTestTreatmentSetting("ipupm_ab","rps",2))||2e-4;if(_WF.cache.getItem(_WF.KEYS.PAGENUMBER)>e&&_WF.cache.getItem(_WF.KEYS.RPS)<t)return!0}return!1},v=function(){if(_WF.utils.isTesting("ipupm_ab","unfilled",!0)){const e=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("ipupm_ab","unfilled",1))||3,t=_WF.cache.getItem(_WF.KEYS.AUCTIONSUMMARY),i=t&&t.global;if(i&&Array.isArray(i)&&i.length>=e){if(0===i.slice(-e).reduce(((e,t)=>{const i=Array.isArray(t)?t[Bi]:void 0;return"number"==typeof i?e+i:e}),0))return!0}}return!1},y=function(t,n=!1){_WF.on(_WF.EVENTS.PREBIDINITIALIZED,(function(){if(b())return void r("refresh> ipupm_ab> skipping refresh for low rps");if(v())return void r("refresh> ipupm_ab> skipping refresh for consecutive unfilled auctions");t=t instanceof Array?t:[t];const o=_WF.cache.getItem(_WF.KEYS.LAZYLOADPENDINGSLOTS);t=t.filter((function(e){return e&&document.getElementById(e)&&-1===o.indexOf(e)})),_WF.cache.getItem(_WF.KEYS.DISABLEANCREFRESH)&&(r("refresh> skipping anc refresh"),t=t.filter((e=>-1===e.indexOf("anchored-P")))),_WF.cache.getItem(_WF.KEYS.DISABLEPUIREFRESH)&&(r("refresh> skipping pui0 refresh"),t=t.filter((e=>-1===e.indexOf("primary-under-image-P0"))));const a=_WF.utils.getPrebidExclusionDivIds();if(a&&(r("refresh> skipping prebid exclusions"),t=t.filter((e=>!a[e]))),r("refresh> divIds: ",t),t.length||i.length){i=i.concat(t.filter((function(e){return-1===i.indexOf(e)})));var s=_WF.cache.getItem(_WF.KEYS.DFPSLOTDEFINITIONS);if(!s||s.length<1)r("refresh> no dfp slot definitions> queue: ",i);else{var c=_WF.cache.getItem(_WF.KEYS.ADUNITDEFINITIONS);if(n||c&&!(c.length<1))if(e.processing||e.refreshing)r("refresh> process blocked> queue: ",i);else{if(t.filter((e=>-1!==e.indexOf("anchored-P"))).length>0)if(T())_WF.cache.removeItem(_WF.KEYS.DISABLEANCHOREDAD);else{var l=t.indexOf("anchored-P1");t.splice(l,1),l=t.indexOf("anchored-P2"),t.splice(l,1),r("refresh> failed to handle anc refresh, removing anc from queue: ",t)}e.refreshing=!0,S(n)}else r("refresh> no refresh adunit codes> queue: ",i)}}else r("refresh> nothing to process")}))},I=function(e){var t=_WF.cache.json.get(_WF.KEYS.LOCATION);!function(e,t){_WF.utils.isGDPRCountry(t)&&o(e,["sharethrough","conversant"])}(e,t),function(e,t){var i={undertone:{US:1},undertoneanc:{US:1},kargo:{US:1},minutemedia:{CA:1,GB:1,US:1},adyoulike:{AR:1,AU:1,BR:1,CA:1,CL:1,CO:1,CR:1,DE:1,ES:1,GB:1,IN:1,MX:1,NL:1,NZ:1,PE:1,PH:1,PR:1,US:1,VE:1,ZA:1},ayl:{AR:1,AU:1,BR:1,CA:1,CL:1,CO:1,CR:1,DE:1,ES:1,GB:1,IN:1,MX:1,NL:1,NZ:1,PE:1,PH:1,PR:1,US:1,VE:1,ZA:1},rise:{CA:1,US:1}},n=(t||{}).country_code||"no-geo",r=e.live.reduce((function(e,t){var r=t.name,o=i[r];return o&&!o[n]&&e.push(r),e}),[]);r.length&&o(e,r)}(e,t)},T=function(){var e,t=_WF.cache.getItem(_WF.KEYS.ANCWINNER),i=!0;switch(r("handleAncRefresh> lastAncWinner",t),t){case"kargo":i=!1;var n=[...document.querySelectorAll('div[class^="kargo-ad-"]')];["hover","sidekick","anchor","breakout","videoanchor"].forEach((t=>{e=e||n.filter((e=>(e.getAttribute("data-format")||"").toLowerCase()===t))[0]}));break;case"seedtag":e=document.querySelector('div[class^="st-placement"].inScreen');break;case"ogury":e=document.querySelectorAll('div[id^="ogy-ad-slot"]');break;case"gumgum":case"gumgumanc":i=!0,window.GUMGUM&&GUMGUM.removeISAd&&GUMGUM.removeISAd()}if(r("handleAncRefresh> divToRemove",e),e)try{e.parentElement.removeChild(e)&&(i=!0)}catch(e){}var o=document.getElementById("anchored-P1");_WF.utils.clearDivChildren(o);var a=document.getElementById("anchored-P2");return a&&_WF.utils.clearDivChildren(a),r("handleAncRefresh> success",i),i},A=function(e){"aniview"===e.bidder&&e.params&&e.params.length&&_WF.utils.loadScript("https://track1.aniview.com/track?pid="+e.params[0].AV_PUBLISHERID+"&cid="+e.params[0].AV_CHANNELID+"&r="+window.location.host+"&e=AV_M3&sn=prebidWin")},w=function(){e.que.push((function(){_WF.vigil.watch(_WF.vigil.events.render,(function(e){!function(e){if(0===e.adUnitCode.indexOf("anchored-P")){var t=e.bidderCode||e.bidder;r("trackAnchoredWin>",e),_WF.cache.setItem(_WF.KEYS.ANCWINNER,t),["gumgumanc","gumgum","kargo","undertone","consumable","seedtag","ogury"].indexOf(t)>-1&&(r("trackAnchoredWin> disabling anc div"),_WF.cache.setItem(_WF.KEYS.DISABLEANCHOREDAD,!0))}}(e)})),e.onEvent("bidWon",A)}))},O=function(){const e=_WF.cache.getItem(_WF.KEYS.ADUNITDEFINITIONS);if(_WF.utils.isTesting("spo_ab","rev:",!0)){const t=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("spo_ab","rev",3))||5,i={};
1_WF.utils.gsc().forEach((e=>{i[e.bidderCode]=i[e.bidderCode]||0,i[e.bidderCode]++})),e.forEach((e=>{const n=[];e.bids.forEach((e=>{if(!i[e.bidder]||i[e.bidder]<=t)n.push(e);else{0==n.filter((t=>t.bidder==e.bidder)).filter((t=>JSON.stringify(t.params)==JSON.stringify(e.params))).length&&n.push(e)}})),e.bids=n})),_WF.cache.setItem(_WF.KEYS.ADUNITDEFINITIONS,e)}return e},C=function(){if(_WF.utils.isTesting("spo_ab")){const e=_WF.cache.getItem(_WF.KEYS.SPOCONFIG),t=_WF.utils.getSpoConfigKey();if(e&&e.configKey==t&&"active"===e.status)D();else if(_WF.utils.isTesting("spo_ab","standard",!0)||_WF.utils.isTesting("spo_ab","adjusted",!0)||_WF.utils.isTesting("spo_ab","ltv",!0)){const e=_WF.cache.getItem(_WF.KEYS.BLOGABBREVIATION),t=(_WF.cache.getItem(_WF.KEYS.DEVICETYPE)||"").charAt(0),i=_WF.utils.getPostType(),n=_WF.cache.getItem(_WF.BROWSERINFO.NAME),r=_WF.cache.getItem(_WF.KEYS.COUNTRYCODE)?.toLowerCase(),o=_WF.utils.isTesting("spo_ab","v2",!0)?"spo_v2":"spo",a=_WF.utils.isTesting("spo_ab","v2",!0)?`${e}-${t}-${r}`:`${e}-${i}-${n}-${t}`;fetch(`/wp-content/uploads/lists/${o}/${a}.csv`,{method:"GET"}).then(x).catch(R)}!function(){if(!_WF.utils.isTesting("spo_ab","rev:",!0))return;let e=["amazon"];_WF.utils.isEligibleForSinglePageLayout()&&(_WF.SPOREVSPLBLACKLIST?e=e.concat(_WF.SPOREVSPLBLACKLIST):e.push("grid","nativo","rise","sharethrough","vidazoo","vidazooserver")),_WF.utils.isQuizPost()&&(_WF.SPOREVQUIZBLACKLIST?e=e.concat(_WF.SPOREVQUIZBLACKLIST):e.push("minutemedia","nativo","openwebxchange","seedtag","sovrn"));const t=_WF.cache.getItem(_WF.KEYS.ADUNITDEFINITIONS);t.forEach((t=>{const i=new Set,n=_WF.utils.shuffleArray(t.bids),o=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("spo_ab","rev",1));if(o<2)return;const a=_WF.utils.parseInt(_WF.utils.getTestTreatmentSetting("spo_ab","rev",2))||100,s=n.length,c=Math.round(a/s),l=Math.min(c,o);if(l<2)return;r(`Bidder enrichment for ${t.code} with initial count ${s} limit ${l} : ${o} bids`);const u=n.map((t=>{if(i.has(t.bidder)||e.includes(t.bidder))return t;i.add(t.bidder);const n=new Array(l);return n.fill(t),n}));r(`Bidder enrichment for ${t.code} target ${u.flat().length} : ${a} total`),t.bids.length=0,t.bids.push(...u.flat())})),_WF.cache.setItem(_WF.KEYS.ADUNITDEFINITIONS,t)}()}},x=function(e){e.ok?e.text().then((e=>{const t={configKey:_WF.utils.getSpoConfigKey(),status:"error"},i=e.split("\n");for(let e=0;e<i.length;e++){const n=i[e].split(",");if(n.length>2){const e=n.shift(),i=n.shift(),r=n.shift(),o=_WF.utils.isTesting("spo_ab","v2",!0)?n.shift():null;e&&0!=e.indexOf("TARGET")&&i&&r&&!isNaN(i)&&!isNaN(r)&&(t[e]={responseProbability:parseFloat(i),adjustedProbability:parseFloat(r),ltv:parseFloat(o)})}}t.status="active",_WF.cache.setItem(_WF.KEYS.SPOCONFIG,t).asPersistent(),D(t)})):R(e)},R=function(e){const t={configKey:_WF.utils.getSpoConfigKey(),status:"error"};_WF.cache.setItem(_WF.KEYS.SPOCONFIG,t)},D=function(e){e=e||_WF.cache.getItem(_WF.KEYS.SPOCONFIG);const t=_WF.utils.abState("spo_ab"),i=t?.split(":"),n=i?.[0],o=parseFloat(i?.[1]);let a=!1;if(e&&e.configKey==_WF.utils.getSpoConfigKey()&&"active"===e.status&&n&&o){const t=_WF.cache.getItem(_WF.KEYS.ADUNITDEFINITIONS);t.forEach((t=>{const i=_WF.utils.abbreviateSlotNames(t.code).replace(/\d+$/,"").toLowerCase(),s=[];t.bids.forEach((c=>{const l=_WF.utils.isTesting("spo_ab","v2",!0)?c.bidder.toLowerCase():`${c.bidder.toLowerCase()}-${i}`;if(e[l]){("standard"==n&&o>e[l].responseProbability||"adjusted"==n&&o>e[l].adjustedProbability||"ltv"==n&&!isNaN(e[l].ltv)&&o>e[l].ltv)&&(s.push(c.bidder),r("spo> remove bidder",[t.code,c.bidder]),a=!0)}})),t.bids=t.bids.filter((e=>-1===s.indexOf(e.bidder)))})),a&&_WF.cache.setItem(_WF.KEYS.ADUNITDEFINITIONS,t)}},P={refreshSlots:y,refreshAllSlots:function(){var e=se.slots().map((e=>e.div));r("refresh> refreshAllSlots> divIds to refresh",e),y(e)},getRefreshDelay:l,getTimerRefreshSlots:c,checkIpupmRpsBlock:b,checkIpupmUnfilledBlock:v};_WF.utils.extend(_WF,{prebid:P}),_WF.on(_WF.KEYS.PREBID,_WF.EVENTS.DFPLOADED,((t,i)=>{if(r("dfp & prebid data loaded"),_WF.utils.isMonetizationBlacklisted())return void r("skipping prebid setup > blacklisted");if(_WF.utils.isTesting("esme_ab")){if(-1!==_WF.cache.getItem(_WF.KEYS.TOKENS).indexOf("esme"))return r("skipping prebid setup > esme"),void _WF.emit(_WF.EVENTS.ESMEBOOT,{dfpSlots:i})}var n={};t.adUnits=t.adUnits.filter((function(e){var t=1,i=100,o=e.bids.reduce((function(o,a){if(n[a.bidder]=!0,a.blackl
1ist){var s=a.blacklist.filter((function(e){return Object.keys(e).reduce((function(t,i){var n=e[i];return _WF.utils.asStringOrDefault(_WF.cache.getItem(i),"null")===n||t}),!1)}));if(s.length)return r("prebid config blacklist> remove bidder> ",[e.code,a.bidder,a]),o}if(a.whitelist){var c=a.whitelist.reduce((function(e,t){return e&&Object.keys(t).reduce((function(e,i){var n=t[i];return 0===i.indexOf("ab_active")?(i=i.replace("ab_active:",""),_WF.utils.isTesting(i,n,!0)&&e):_WF.utils.asStringOrDefault(_WF.cache.getItem(i),"null")===n&&e}),!0)}),!0);if(c){var l=a.whitelist.length,u=!1,d=!1,_=!1,p=100;a.whitelist.forEach((e=>{Object.keys(e).forEach((e=>{u=u||0===e.indexOf("ab_active"),d=d||"is_single_page_layout"===e,_=_||0===e.indexOf("is_")&&e.indexOf("_ajax")>1})),p=u?1:d?2:_?3:100}));var m="";l>t?(t=l,i=p,o.whitelist.length&&(m=" and remove previous whitelist for condition count"),o.whitelist=[a],r("prebid config whitelist> add bidder"+m+"> ",[e.code,a.bidder,a])):l===t&&p<i?(i=p,o.whitelist.length&&(m=" and remove previous whitelist for prioirty check"),o.whitelist=[a],r("prebid config whitelist> add bidder"+m+"> ",[e.code,a.bidder,a])):l===t&&p===i?(o.whitelist.push(a),r("prebid config whitelist> add bidder> ",[e.code,a.bidder,a])):r("prebid config whitelist> remove bidder - didn't meet condition count or priority check> ",[e.code,a.bidder,a])}else r("prebid config whitelist> remove bidder - didn't meet whtielist check> ",[e.code,a.bidder,a]);return o}return r("prebid config base> add bidder> ",[e.code,a.bidder,a]),o.base.push(a),o}),{whitelist:[],base:[]});return e.bids=o.whitelist.length?o.whitelist:o.base,(e.bids.length>1||e.bids[0]&&"amazon"!=e.bids[0].bidder)&&r("prebid config> final bids>",JSON.parse(JSON.stringify(e))),e.bids.length>0})),t.adUnits.map((e=>{e.bids=e.bids.filter((e=>"amazon"!==e.bidder)),e.bids.push({bidder:"amazon",params:[]})})),_WF.cache.setItem(_WF.KEYS.ADUNITDEFINITIONS,t.adUnits);var s=Object.keys(n).filter((function(e){var i=!t.live.filter((function(t){return t.active&&t.name===e})).length;return r(e+" "+(i?"disabled":"enabled")+" by portal"),i}));"bidder-blacklist"===_WF.cache.getItem(_WF.BROWSERINFO.NAME)&&(t.adUnits=t.adUnits.map((function(e){return e.bids=e.bids.filter((function(){return!1})),e}))),j.initialize(r),function(e){var t={hmhb_debug:{action:"isolate"}},i=_WF.cache.getItem(_WF.KEYS.QUERYSTRING)||{};Object.keys(t).forEach((function(n){var o=i[n];if(o){r("debug mode> active");var a=t[n][o]||t[n];a&&(e.debug=o,a.name=o,r("debug mode> "+a.name+" running in "+a.action+" mode"),_WF.utils.hbUpdatePrebidConfiguration(e,a))}}))}(t),o(t,s),function(e){_WF.on(_WF.KEYS.TAGMAN_PREFIX+"hb_ab",(function(t){t&&"none"!==t&&o(e,t.split(" "))}))}(t),function(e){_WF.on(_WF.KEYS.TAGMAN_PREFIX+"hbpd_ab",(function(t){if(t&&"none"!==t){var i=t.split(":"),n=i[0].split(" "),r=_WF.utils.parseInt(i[1]);_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH))<r&&o(e,n)}}))}(t),function(e){_WF.where.testing("adrec_ab",(function(t){_WF.utils.isAdBlockDetected()&&o(e,["rubicon","openx"])}))}(t),I(t),function(e){_WF.on(_WF.KEYS.TAGMAN_PREFIX+"onebid_ab",(function(t){if(t&&"none"!==t){var i={action:"isolate",name:"highbid"};r("all bidders deactivated"),_WF.utils.hbUpdatePrebidConfiguration(e,i),_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+"floorcpm_ab",.6)}}))}(t),function(t){_WF.utils.isTesting("retag_ab")&&_WF.utils.forceABBucket("landscape_ab","enabled");var i=_WF.utils.isTesting("quizlayout_ab","noansref",!0)&&_WF.utils.isQuizPost();t.bidderSettings=(i?{}:_WF.cache.getItem(_WF.KEYS.DISCOUNTS).bidderSettings)||{},t.bidderSettings.standard={storageAllowed:!0},t.bidderSettings.hive={allowAlternateBidderCodes:!0};var n={},r=_WF.utils.isTesting("spo_ab","rev:",!0)?{}:{"33across":function(){e.que.push((()=>{e.setBidderConfig({bidders:["33across"],config:{ttxSettings:{enableSRAMode:!0}}})}))},rubicon:function(){e.que.push((()=>{e.setConfig({rubicon:{singleRequest:!0}})}))}};t.live.filter((function(e){return e.active})).map((function(e){return e.name})).forEach((function(e){"amazon"!==e&&(_WF.utils.isTesting("landscape_ab")||(n[e]={adserverTargeting:[{key:"hb_sf_"+e,val:function(){return se.shouldSafeframe(e)}}]}),"openx"===e&&(n[e]=n[e]||{adserverTargeting:[]},n[e].adserverTargeting.push({key:"oxb",val:function(e){var t;return t=e.cpm<20?(Math.floor(100*e.cpm)/100*100).toFixed(0):"2000",e.width+"x"+e.height+"_"+t}})),r[e]&&r[e]())})),_WF.utils.hbUpdateBidderSettings(t.bidderSettings,n)}(t),function(e){var t=["appnexusAst"],i=[{utmSource:_WF.cache.getItem(_WF.KEYS.UTMSOURCE)}];i.push({trafficSourceCode:i.map((function(e){return e[Object.keys(e).shift()]})).join("")});var n=i.reduce((function(e,t){var i=Object.keys(t).shift();return e[i]=t[i],e}),{});e.adUnits.map((function(e){e.bids.map((function(e){t.indexOf(e.bidder)>-1&&_WF.utils.extend(e.params,n)}))}))}(t),a(i.dfpSlots,t),_WF.cache.setItem(_WF.KEYS.DFPSLOTDEFINITIONS,i.dfpEligibleSlotDefinitions),_WF.cache.setItem(_WF.KEYS.DFPSLOTS,i.dfpSlots),function(e){r("setupByDevice> filtering bidders and sizes by deviceType"),_WF.utils.hbUpdatePrebidConfiguration(e,{action:"filterByDeviceSize"}
1),_WF.utils.isMobile()||o(e,["audienceNetwork"]),_WF.utils.isTesting("anc_ab")&&!_WF.utils.isTesting("anc_ab","gumgum",!0)&&o(e,["gumgum"])}(t),function(e){var t={openx:1};e.adUnits.forEach((function(e){for(var i={},n=e.bids.length-1;n>=0;){var o=e.bids[n];t[o.bidder]&&i[o.bidder]>=t[o.bidder]?(r("limitBidCountByBidder> excluding bidder",[e.code,i[o.bidder],o.bidder]),e.bids.splice(n,1)):i[o.bidder]?i[o.bidder]++:i[o.bidder]=1,n--}}))}(t);var c=t.adUnits||[],l=t.bidderSettings||[],u=_WF.cache.getItem(_WF.KEYS.LOGGING),d=c.map((function(e){return e.code}));_WF.cache.setItem(_WF.KEYS.ADUNITCODES,d),hr.initialize(t.adUnits),window.pbjs=window.pbjs||{},e.que=e.que||[],e.que.push((function(){e.setConfig({debug:!!(_WF.LOGLEVEL.PREBIDVERBOSE&_WF.utils.parseInt(u))})})),e.refreshCounter=0;const _=[_WF.EVENTS.DATACOLLECTION,_WF.EVENTS.CONSENTLOADED];(_WF.utils.isTesting("intentiq_ab")||_WF.utils.isDebugging("intentiq_ab"))&&_.push(_WF.EVENTS.IIQLOADED),_WF.on(..._,(function(){C();var i=function(){i.configurationComplete||(_WF.emit(_WF.EVENTS.PREBIDLOADED),w(),e.que.push(f(t,c,l)),i.configurationComplete=!0)};if(_WF.utils.isTesting("assertiveYield_ab")||_WF.utils.isDebugging("assertiveYield")){if(_WF.on(_WF.EVENTS.AYLOADED,(function(){r("calling beginPrebidConfiguration from AYLOADED event"),i()})),_WF.utils.isTesting("assertiveYield_ab","maxdelay",!0)){var n=_WF.utils.abState("assertiveYield_ab").split(":"),o=50;n.length>1&&(o=_WF.utils.parseInt(n[1].split(" ")[0])),_WF.utils.setTimeout((function(){r("calling beginPrebidConfiguration from setTimeout"),i()}),o)}}else r("calling beginPrebidConfiguration regular"),i()}))}))}}));var vr=_WF.utils.getLogger("dfp",1),yr="organic",Ir={sandbox:!0},Tr=_WF.utils.isDFPUnitEligibleToRun,Ar=function(e){return e[1].length>0},wr=function(e){var t=e.slot;(function(e){return e&&_WF.utils.dfpInfo.isAdx(e)})(e)||function(e){return e&&_WF.utils.dfpInfo.isUnfilled(e)}(e)||setTimeout((function(){var e=t.div,i=document.getElementById(e),n=i&&i.querySelector("div");n?(n.removeAttribute("style"),n.style.border="0pt none"):console.error("set SafeframeStyle couldn't find div or adunit for #"+e)}),0)},Or=function(e,t,i,n){var r=xr(e[1]);return Cr(r,i)&&!Cr(r,t)&&(r.push(t),e[1]=r,n=e),n},Cr=function(e,t){for(var i of e)if(i[0]===t[0]&&i[1]===t[1])return!0;return!1},xr=function(e){return!e||e.length<1?[]:(Array.isArray(e[0])||(e=[e]),e)},Nr=function(e){if(_WF.utils.isTesting("larger_sizes_ab")){var t=[366,280],i=function(e,t,i){var n=!1;if(!Array.isArray(e)||e.length<1)return!1;for(var r of e)!Array.isArray(r)||r.length<2||(n=Or(r,t,i,n))&&(r=n);return!!n&&e}(e.addSizes,t,[300,250]);e.sizes=xr(e.sizes),i&&!Cr(e.sizes,t)&&(e.addSizes=i,e.sizes.push(t))}var n,r=se.mapSizes(e);vr("dfp filter> "+e.name+" sizeMapping: ",r);try{n=se.define(e,r)}catch(e){}return n},Rr=function(e){Object.keys(e).forEach((function(t){e[t]&&se.setTargeting(t,e[t])}))};_WF.utils.extend(_WF.utils,{defineDFPSlot:Nr,setDfpKeys:Rr,setAbbreviatedDfpKeys:function(e){var t=Object.keys(e).reduce((function(t,i){var n=_WF.utils.abbreviateSlotNames(i),r=_WF.utils.abbreviateSlotNames(e[i]);return t[n]=r,t}),{});Rr(t)},getDFPAdUnitPath:function(e){var t=(_WF.cache.getItem(_WF.KEYS.DFPSLOTS)||[]).filter((function(t){return t.div===e})).pop(),i="";return t&&(i=t.getAdUnitPath()),i}});const Dr=[_WF.EVENTS.PLACEMENTPROVIDERS,_WF.KEYS.DFPDEPENDENCIES,_WF.EVENTS.DATACOLLECTION];_WF.utils.isMobile()&&_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isTesting("splayout_ab","delayscroll",!0)&&Dr.push(_WF.EVENTS.FIRSTSCROLL),_WF.on(...Dr,(function(){if(window.top===window&&!_WF.utils.isMonetizationBlacklisted()){var e=[],t={},i=0,n=_WF.cache.getItem(_WF.KEYS.UTMSOURCE)||yr,r=_WF.cache.getItem(_WF.KEYS.UTMCAMPAIGN),o=_WF.cache.getItem(_WF.KEYS.BUCKETID),a={bucketid:o,campaign:r,sessiontoken:_WF.cache.getItem(_WF.KEYS.SESSIONTOKEN),sitedomain:`${document.location.protocol}//${document.location.hostname}`,source:n},s=(_WF.cache.getItem(_WF.KEYS.DEVICETYPE)||"o").charAt(0),c=[];if(o){var l=o.split("-");if(l.length>1)l[1].split("").forEach((function(e,t){var i=n+"_"+s+"_"+e;a["sourceDeviceBucket-"+(t+1)]=i,c.push(i)})),a.sourceDeviceBucket=c}_WF.CAMPAIGNMEDIUMSOURCES&&-1!==_WF.CAMPAIGNMEDIUMSOURCES.indexOf(n)&&(a.campaignMedium=(r||yr)+"_"+(_WF.cache.getItem(_WF.KEYS.UTMMEDIUM)||yr));var u,d="iu sz fsb scp adx ady adk uci psz msz fws".split(" "),_=[];
1if(!_WF.utils.isTesting("optiyield_ab"))if(_WF.utils.isAdBlockDetected()){var p="FL_10000";a.floor_group=p,_WF.cache.setItem(_WF.KEYS.FLOORGROUP,p)}else _WF.where.testing("floor_ab",(function(e){var t=e.split(".")[0].split("_"),i=t.pop().split("-"),n={multi:m,optimized:m}[t.pop()];if(n&&!_WF.utils.isTesting("optiyield_ab")){var r=n(i);a.floor_group=r,_WF.cache.setItem(_WF.KEYS.FLOORGROUP,r)}}));_WF.where.testing("pmp_ab",(function(e){if(e){var t=e.split(" ");t.length&&(a.abtest=t)}})),_WF.where.testing("splayout_ab",(function(){a.abtest||(a.abtest=[]),a.abtest.push("ebvideo")}),"ebvideo",!0),_WF.where.testing("adp_ab",(u="1",function(){a.adp_ab||(a.adp_ab=[]),a.adp_ab.push(u)})),se.enqueue((function(){_WF.utils.setDfpKeys(a)})),se.enqueue((function(){var e,n=_WF.cache.getItem(_WF.KEYS.DFPDEPENDENCIES),r=(e=[],n.forEach((function(t){Tr(t,!0)&&t.slots.forEach((function(t){Tr(t,!0)&&e.push(JSON.parse(JSON.stringify(t)))}))})),e),o=n.filter(Tr),a=[],s={};if(_WF.utils.isTesting("esme_ab")||se.observe("slotRenderEnded",g),o.forEach((function(e){e.slots.forEach((function(t){if(Tr(t))if(function(e){e.sizes[0]instanceof Array?e.sizes=e.sizes.filter(_WF.utils.aspectFilter):_WF.utils.aspectFilter(e.sizes)||(e.sizes=[]);for(var t=0;t<e.addSizes.length;t++){var i=e.addSizes[t][1];i=i[0]instanceof Array?i.filter(_WF.utils.aspectFilter):[i].filter(_WF.utils.aspectFilter),e.addSizes[t][1]=i}e.addSizes=e.addSizes.filter(Ar),vr("dfp filter> "+e.name+" result: ",e)}(t),s[t.div])vr("SLOT DEFINITION FAILED>",[e.name,t]);else{var n=Nr(t);s[t.div]=n,n.div=t.div,a.push(n),i++}}))})),!_WF.utils.isTesting("esme_ab")){function c(e){var i=e.slot?e.slot.getSlotElementId():e,n="pbjs_impression_"+i;_WF.emit(_WF.EVENTS.DFPFIRSTVIEW),"primary-under-title"==i&&_WF.emit(_WF.EVENTS.PUTVIEWABLE),_WF.once(n,(function(e){t[e.impId]||(t[e.impId]=!0,_WF.utils.sendViewMessage(e,vr))}))}vr("hive viewhandler> enabled"),_WF.vigil=_WF.vigil||[],_WF.vigil.push((()=>{_WF.vigil.watch(_WF.vigil.events.viewed,c),vr("hive viewhandler> connected")})),se.observe("slotResponseReceived",(function(e){var t=e.slot.getSlotElementId();if(!document.getElementById(t)){if(_WF.utils.log("element for slot",t,"missing.",e),"primary-over-next"==t&&-1!=_WF.cache.getItem(_WF.KEYS.PROVIDERS).multi_nativo.indexOf("nativo"))return;if(-1!=t.indexOf("interstitial"))return;g(Object.assign({},e,{companyIds:"",advertiserId:"",campaignId:"",sourceAgnosticLineItemId:"",yieldGroupIds:null,isEmpty:!1}))}})),se.observe("slotOnload",(function(e){_WF.emit(_WF.EVENTS.DFPFIRSTLOAD)})),_WF.on(_WF.EVENTS.ALLDFPSLOTSRENDERED,(function(){if(!0!==_WF.gamptrunc){var e=function(e,t){for(var i,n=e[0],r=!1,o=function(e){for(var t=!1,i=0;i<e.length;i++)if(e[i].indexOf("trunc=1")>-1){t=!0;break}return t}(e),a=1;a<e.length;a++){i=_WF.utils.processQueryString(e[a]);for(var s=0;s<t.length;s++)n+=i[t[s]]+"iiii"}return n&&n.length>8192&&(r=!0),{multiTrunc:r,singleTrunc:o}}(_,d);e.multiTrunc||e.singleTrunc,_WF.gamptrunc=!0}}))}if(_WF.utils.isTesting("uid_ab","ppid",!0)&&!_WF.utils.isTesting("intentiq_ab")&&se.setPubId(_WF.cache.getItem(_WF.KEYS.UUID)),W.getEmail((function(e){vr("identity> dfp> hashed email:",e),e&&se.setPubId(e)}),{sha256:!0}),"enable multi-request-architecture"!==_WF.utils.abState("sra_ab")&&se.setSRA(),_WF.utils.isTesting("sfdomain_ab")&&(Ir.useUniqueDomain=!0),se.setSafeFrameConfig(Ir),_WF.utils.isTesting("contentpause_ab")?se.setConfig("contentPause",!0):se.setConfig("contentPause",!1),_WF.utils.isTesting("cwv_ab","gamadyield",!0)){let l;_WF.utils.isTesting("cwv_ab","gamadyield:all",!0)?l="ENABLED_ALL_SLOTS":_WF.utils.isTesting("cwv_ab","gamadyield:none",!0)&&(l="DISABLED"),l&&se.setConfig("threadYield",l)}try{se.setAsync(),!1===_WF.cache.json.get(_WF.KEYS.COOKIECONSENT)&&se.disableCookies(),_WF.utils.isCCPARegion()&&_WF.utils.isCCPAOptOut()&&se.setRestricted()}catch(u){}se.start(),_WF.emit(_WF.EVENTS.DFPLOADED,{dfpSlots:a,dfpEligibleSlotDefinitions:r})}))}function m(e){var t=e.reduce((function(e,t){if(t){var i=t.split(":"),n=i.shift().toUpperCase(),r=_WF.utils.parseInt(i.shift()),o=_WF.utils.parseInt(i.shift()),a=_WF.utils.parseInt(i.shift())||1,s=_WF.utils.parseInt(i.shift())||0,c=_WF.utils.parseInt(i.shift())||0,l=_WF.utils.parseInt(i.shift())||1;e[n]={floor:r,ceiling:o,increment:a,decrement:s,min:c,decrementStart:l}}return e}),{}),i=t[_WF.cache.getItem(_WF.KEYS.DEVICETYPE).charAt(0).toUpperCase()],n=function(e,t,i){for(var n=t-e,r=Math.random()*(n+i),o=1;o*i<r;)o++;return e+(o-1)*i}(i.floor,i.ceiling,i.increment);if(i.decrement){var r=_WF.cache.getItem(_WF.KEYS.SESSIONDEPTH)||1;if(r>i.decrementStart){var o=i.decrement*(r-i.decrementStart);n=n-o>i.min?n-o:i.min}}for(n=n.toString();n.length<3;)n="0"+n;return"FL_"+n}function g(t){var n=t.slot.div||t.slot.getSlotId().getDomId();vr("renderDispatch onSlotRendered>",[n,t]);var r=t.slot.getContentUrl();_.push(r),e.push(t),_WF.emit(n),_WF.emit(_WF.EVENTS.DFPFIRSTRENDER),_WF.emit("dfp_reconciliation_"+n,t),_WF.emit("dfp_slot_rendered",e),wr(t),--i||_WF.emit(_WF.EVENTS.DFPRENDERED),_WF.utils.attempt(_WF.utils.addClickObserver,n,"prebidv2")}}));o(6872),o(6726),o(6578);function Pr(e,t){_WF.cache.getItem(e)?t():_WF.on(e,t)}let Lr,Yr,Kr,kr,Ur;function Br(e=0){!function(e=0){Lr("update call to action > update text");const t=document.getElementById("call-to-action");t.id=`call-to-action-${e}`,t.classList.add("call-to-action")}(e),function(e=0){Lr("update call to action > update text");const t=document.getElementById(`call-to-action-${e}`);t.innerHTML="Scroll Down to Answer Question"}(e),function(e=0){Lr("update call to action > add animated arrows");const t=document.getElementById(`call-to-action-${e}`),i=document.createElement("span");i.className="down-arrow",t.insertBefore(i,t.firstChild),t.appendChild(i.cloneNode(!0))}(e),function(){Lr("update call to action > style and reveal call to action");const e=document.querySelector("#next-button a"),t=window.getComputedStyle(e).backgroundColor,i=window.getComputedStyle(e).color;_WF.utils.createDynamicStyleSheet(`\n        .quiz #call-to-action, .quiz .call-to-action {\n            background-color: ${t};\n            color: ${i};\n            padding: 6px 0px;\n            font-size: 13px;\n            display: block;\n            margin-bottom: 30px;\n            text-align: center;\n            flex-direction: column;\n            width: 100%;\n            height: 50px;\n        }\n\n        @media (min-width: 360px) {\n            .quiz #call-to-action, .quiz .call-to-action {\n                font-size: 18px;\n                padding: 9px 0px;\n            }\n        }\n\n        @media (min-width: 412px) {\n            .quiz #call-to-action, .quiz .call-to-action {\n                font-size: 21px;\n                padding: 8px 0px;\n            }\n        }\n    `)}()}function Mr(){Yr("reveal byline"),_WF.utils.createDynamicStyleSheet("\n        .quiz .byline {\n            display: block;\n        }\n    "),Yr("setup answer styles"),_WF.utils.createDynamicStyleSheet("\n        .quiz .greyed-out {\n            filter: opacity(0.5);\n            pointer-events: none;\n        }\n        \n        .quiz .hide {\n            display: none;\n        }\n\n        .quiz .answers {\n            min-height: 240px;\n        }\n\n        .quiz li.answer {\n            width: 100%;\n            float: none;\n            height: unset;\n            min-height: 50px;\n            padding: 11px;\n            flex-direction: column;\n        }\n\n        .quiz .anchor {\n            display: block;\n            position: relative;\n            top: -35px;\n            visibility: hidden;\n        }\n\n        .quiz li.answer.hide {\n            display: none;\n        }\n\n        .quiz .quiz-wrap .hide {\n            display: none;\n        }\n\n        .quiz #next-button.hide {\n            display: none;\n        }\n\n        .quiz li.answer .feedback {\n            display: none;\n            text-transform: initial;\n            font-style: italic;\n        }        \n\n        .quiz li.answer .feedback.reveal {\n            display: block;\n        }\n\n        .quiz .quiz-wrap.answered .summary {\n            display: none;\n        }\n\n        .quiz #quiz-result.hide {\n            display: none;\n        }\n\n        .quiz .progress {\n            display: none;\n        }\n\n        .quiz #quiz-result #call-to-action {\n            display: none;\n        }\n    "),Yr("hide photo controls"),_WF.utils.createDynamicStyleSheet("\n        .quiz .quiz-wrap .photo-controls .button {\n            display: none;\n        }\n    "),Yr("setup animated arrows styles"),_WF.utils.createDynamicStyleSheet('\n        .quiz #call-to-action .down-arrow, .quiz .call-to-action .down-arrow {\n            padding: 5px;\n        }\n\n        .quiz #call-to-action .down-arrow::after, .quiz .call-to-action .down-arrow::after {\n            content: "↓";\n            font-size: 20px;\n            position: relative;\n            animation: arrow-down 0.5s ease-in-out alternate infinite;\n        }\n\n        .quiz #call-to-action .up-arrow, .quiz .call-to-action .up-arrow {\n            padding: 2px;\n        }\n\n        .quiz #call-to-action .up-arrow::after, .quiz .call-to-action .up-arrow::after {\n            content: "↑";\n            font-size: 20px;\n            position: relative;\n            animation: arrow-down 0.5s ease-in-out alternate infinite;\n        }\n        \n        .quiz #call-to-action-continue {\n            display: block;\n            font-size: 14px;\n            padding: 5px 0px;\n        }\n        \n        @keyframes arrow-down {\n            from {\n                top: -5px;\n            }\n            to {\n                top: 5px;\n            }\n        }'),function(){if(!_WF.utils.isMobile())return;Yr("reserve ad height");const e=_WF.utils.isDesktop()?147:417;_WF.utils.createDynamicStyleSheet(`\n        #primary-over-header-1-wrapper, #primary-over-header-2-wrapper, #primary-over-header-3-wrapper, #primary-over-header-4-wrapper { display: block; min-height: ${e}px; }`)}()}function zr(e){Kr("building quiz result");const t=document.createElement("div");return t.className="quiz-result hide",t.id="quiz-result",t.innerHTML=function(e){const t=e.result,i=t.content.map((e=>e.level?e.level:"0")).join(","),n=t.content.map(function(e){return(t,i)=>{const n=e.images[i];return{title:t.title,text:t.text,level:t.level,image:{src:n.url,width:n.dimensions.width,height:n.dimensions.height,alt:n.text.alt?n.text.alt:"",title:n.text.title?n.text.title:"",caption:n.text.caption?n.text.caption:""}}}}(e.result)).map(qr).join("\n"),r=function(e){const t=`${e.meta.url}?utm_content=quiz-${e.meta.id}&utm_medium=quizresultsshare`,i=encodeURIComponent(t);return`\n    <li>\n        <a class="quizicon qfacebook" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=${i}"></a>\n    </li>\n    <li>\n        <a class="quizicon qtwitter" target="_blank" href="https://twitter.com/intent/tweet?url=${i}"></a>\n    </li>\n    <li>\n        <a class="quizicon qlink"></a>\n        <input name="qlink" value="${t}">\n    </li>    \n    `}(e);return`\n    <div class="quiz-wrap end type-normal" data-buckets="${i}">\n        \x3c!-- header --\x3e\n        <h2 class="desktop-only">Congrats, you finished! Here are your results:</h2>\n        <div class="picture-container quiz-img">\n            <picture>\n                <img class="quiz-image" src=""  alt="" data-pin-nopin="true">\n            </picture>\n            <div class="quiz-info">\n                <h2 class="mobile-only">Congrats, you finished! Here are your results:</h2>
1\n                <span class="summary">\n                    <span class="results cf clearfix">\n                        <a class="score"></a>\n                        <a href="${e.meta.url}" class="reset-quiz">\n                            <i class="quizicon qretry"></i> Retry\n                        </a>\n                    </span>\n                    <span class="title">\n                        ${n}\n                    </span>\n                <span class="content"></span>\n                </span>\n            </div>\n            <div class="photo-controls">\n                <span class="share">\n                    <span class="title">Share Your Results</span>\n                    <span class="content">\n                        <ul>\n                            ${r}\n                        </ul>\n                    </span>\n                </span>\n            </div>\n            <div class="photo-extras-wrap no-caption">\n                <div class="photo-extras">\n                    <div class="caption"></div>\n                    <div class="caption mobile"></div>\n                </div>\n            </div>\n        </div>\n    </div>\n    `}(e),t.outerHTML}function qr(e,t){return`\n    <span class="tier tier-${t+1}" data-src="${e.image.src}" data-alt="${e.image.alt}" data-caption="${e.image.caption}">\n        <span class="tier-title">${e.title}</span>\n        <span class="tier-summary">${e.text}</span>\n    </span>\n    `}function Gr(){kr=_WF.utils.getLogger("header > layoutLoader > splQuiz > question",_WF.LOGLEVEL.GLOBAL),Kr=_WF.utils.getLogger("header > layoutLoader > splQuiz > result",_WF.LOGLEVEL.GLOBAL)}function Vr(e,t,i=0,n=0){kr("inserting quiz questions");let r=e.pages.length-1;e.result&&(r=e.pages.length);for(let i=0;i<r;i++)t.push(Hr(e,i,n));e.result?t.push(zr(e)):t.push(function(e,t){Kr("inserting quiz result");const i=e.pages[t],n=document.createElement("div");n.className="quiz-result hide",n.id="quiz-result",n.innerHTML=i.content;const r=n.querySelector("#call-to-action");r&&r.remove();const o=n.querySelectorAll(".ad-widget-wrapper");return o.length>0&&o.forEach((e=>e.remove())),n.outerHTML}(e,e.pages.length-1));const o=t.join("\n");document.getElementById(`call-to-action-${i}`).insertAdjacentHTML("afterend",o)}function jr(e,t=""){return null==e?t:e}function Hr(e,t,i=0){kr("building quiz question for index",t);const n=e.pages[t],r=n.answers.sort(((e,t)=>.5-Math.random())),o=r.map((e=>e.bucket?e.bucket:"0")).join(","),a=document.createElement("div");a.className="quiz-question",a.id=`quiz-question-${i+t}`,(i&&i>0||!i&&t>0)&&a.classList.add("greyed-out"),t>4&&a.classList.add("hide");let s="",c="",l="";_WF.utils.isTesting("quizlayout_ab","splImg",!0)&&(c=`\n<div class="picture-container quiz-img">\n    <picture>\n        <img decoding="async" class="quiz-image"\n            src="${jr(n.img)}"\n            alt="${jr(n.imgalt)}"\n            loading="lazy"\n            width="${n.imgWidth}"\n            height="${n.imgHeight}">\n    </picture>\n    <div class="photo-extras-wrap ">\n        <div class="photo-extras">\n            <div class="caption">${jr(n.caption)}</div>\n            <div class="caption mobile">${jr(n.caption)}</div>\n        </div>\n    </div>\n</div>\n        `),0==t&&(l='    \n<div class="call-to-action hide">\n    <span class="down-arrow"></span>\n    Scroll to the Next Question\n    <span class="down-arrow"></span>\n</div>'),s=`\n<a class="anchor" id="anchor-quiz-question-${t}"></a>\n<div class="quiz-wrap  type-normal" data-buckets="[${o}]">\n    \x3c!-- header --\x3e\n    <h2 class="desktop-only">${n.question}</h2>\n    <h2 class="mobile-only">${n.question}</h2>\n    ${c}\n    <ul class="answers cf clearfix">\n    `;let u=!1;return"personality"===_WF.cache.getItem(_WF.KEYS.QUIZTYPE)&&(u=!0),r.forEach(((e,t)=>{let i="";(e.correct||u)&&(i=`<span class="feedback">${n.response}</span>`),s+=`\n        <li class="answer ${e.correct?"correct":""}" ${u?`data-bucket=${e.bucket}`:""}>\n            <span>${e.text}</span>\n            ${i}\n        </li>\n        `})),s+=`\n    ${l}\n    </ul>\n    <span class="summary">
1\n        <span class="results cf clearfix">\n            <a class="score"></a>\n            <a href="${location.href}" class="reset-quiz">\n                <i class="quizicon qretry"></i> Retry </a>\n        </span>\n        <span class="title">\n            <span class="correct">\n                <i class="quizicon qcheck"></i> Correct </span>\n            <span class="incorrect">\n                <i class="quizicon qclose"></i> Incorrect </span>\n        </span>\n        <span class="content">${n.response}</span>\n    </span>\n</div>\n    `,a.innerHTML=s,a.outerHTML}let $r=0,Qr=!1,Xr=[];const Jr=[],Zr=["primary-over-header-1","primary-over-header-2","primary-over-header-3","primary-over-header-4","anchored-P1"];function eo(){return Zr.filter((e=>"anchored-P1"!==e))}function to(){return eo().length}function io(e){_WF.utils.isMobile()&&e&&(e.previousElementSibling&&(_WF.utils.hasClass(e.previousElementSibling,"poh-wrapper-placeholder")||_WF.utils.hasClass(e.previousElementSibling,"pohcontainer"))?e.previousElementSibling.classList.remove("hide"):e.parentElement.insertBefore(ao(),e))}function no(e,t=0,i=!0){if(!_WF.utils.isMobile())return;Ur("Inserting poh ads");const n=to();e.forEach(((e,r)=>{const o=document.getElementById(`quiz-question-${t+r}`);o&&(2==r&&0==t?function(e){const t=document.getElementById("primary-over-image-wrapper");t&&e&&(e.parentElement.insertBefore(t,e),_WF.utils.initLoader("vidazoo_video_poi","poi"))}(o):$r<n&&0==t?(Ur(`Inserting primary-over-header-${$r+1} before quiz-question-${t+r}`),o.parentElement.insertBefore(Jr[$r],o),$r++):(Ur(`Inserting placeholder ad before quiz-question-${t+r}`),o.parentElement.insertBefore(ao(r,i),o)))}));const r=document.getElementById("quiz-result");r&&($r<n&&0==t?(r.parentElement.insertBefore(Jr[$r],r),$r++):r.parentElement.insertBefore(ao(),r)),$r=0}function ro(e){if(!_WF.utils.isMobile())return;const t=["anchored-P1"];Jr.forEach((e=>{(function(e){if(e.getBoundingClientRect().bottom<=0)return-1==Xr.indexOf(e);return!1})(e)&&Xr.push(e)})),Xr.length>0&&Xr.forEach((e=>{const i=document.querySelectorAll(".poh-wrapper-placeholder:not(.swapped)");if(i.length>0){let n=Array.from(i);n=n.sort((function(e,t){return e===t?0:2&e.compareDocumentPosition(t)?1:-1})),n[0].classList.add("swapped"),n[0].classList.remove("hide"),function(e,t){if(e&&t){const i=e.nextSibling,n=t.nextSibling;i.parentNode.insertBefore(t,i),n.parentNode.insertBefore(e,n)}else{const i=[];!e&&i.push("oldSlot"),!t&&i.push("dummySlot"),_WF.utils.errorReport(`swapSlots - ${i.join(",")} missing`)}}(e,n[0]);const r=e.querySelector(".primary-ad-widget");!function(e){_WF.utils.clearDivChildren(e),e.removeAttribute("data-google-query-id"),e.removeAttribute("style")}(r),t.push(r.id)}})),_WF.prebid.refreshSlots([...new Set([...t,...ue(Zr,!0)])]),Xr=[],io(document.querySelector(e))}function oo(e){Ur(`Building primary-over-header-${e}`);const t=document.createElement("div");t.id=`primary-over-header-${e}-wrapper`,t.classList.add("ad-widget-wrapper"),t.classList.add("primary-ad-wrapper"),t.classList.add("pohcontainer");const i=document.createElement("div");i.classList.add("flexible-ads-sticky"),i.appendChild(_WF.utils.createAttributionDiv()),t.appendChild(i);const n=document.createElement("div");return n.id=`primary-over-header-${e}`,n.classList.add("primary-ad-widget"),n.classList.add("iscrollpoh"),i.appendChild(n),Pr(_WF.KEYS.ADSIZEMAP,(()=>{const e=_WF.utils.setFlexibleAdsStyling(`#${t.id}`,`#${t.id}`);_WF.utils.createDynamicStyleSheet(e)})),t}function ao(e,t){Ur("Building primary-over-header placeholder");const i=document.createElement("div");i.classList.add("poh-wrapper-placeholder"),i.classList.add("ad-widget-wrapper"),i.classList.add("primary-ad-wrapper");let n=to();t||n++,(!e||e>=n)&&i.classList.add("hide");const r=document.createElement("div");return r.classList.add("primary-ad-widget"),r.classList.add("iscrollpoh"),i.appendChild(r),Qr||(_WF.utils.createDynamicStyleSheet("\n            .poh-wrapper-placeholder {\n                height: 417px;\n            }"),Qr=!0),i}let so,co,lo={},uo=[],_o=0,po=0;function mo(){var e;so=_WF.utils.getLogger("header > layoutLoader > splQuiz",_WF.LOGLEVEL.GLOBAL),so("init"),Lr=_WF.utils.getLogger("header > layoutLoader > splQuiz > callToAction",_WF.LOGLEVEL.GLOBAL),Yr=_WF.utils.getLogger("header > layoutLoader > splQuiz > css",_WF.LOGLEVEL.GLOBAL),Gr(),Ur=_WF.utils.getLogger("header > layoutLoader > splQuiz > ads",_WF.LOGLEVEL.GLOBAL),e=go,Pr(_WF.EVENTS.FOOTERREADY,e)}function go(){Mr(),function(){if(!_WF.utils.isMobile())return;Ur("Setting up poh ads");const e=to();for(let t=0;t<e;t++)Jr.push(oo(t+1))}(),function(){so("hiding quiz button");document.querySelector("#next-button").classList.add("hide")}(),function(){Lr("add continue CTA");const e=document.getElementById("call-to-action"),t=_WF.utils.createElement('<p id="call-to-action-continue" class="call-to-action">
1\n        <span class="up-arrow"></span>\n        Answer the questions above to reveal the rest!\n        <span class="up-arrow"></span>\n    <p>');e.parentNode.insertBefore(t,e.nextSibling)}(),Br(),document.getElementById("call-to-action-continue").addEventListener("click",(()=>{const e=document.getElementById("quiz-question-"+(po+_o-1));window.hm_scrollTo(0,function(e){var t=0;if(e.offsetParent){do{t+=e.offsetTop}while(e=e.offsetParent);return t}}(e)-100)})),fo(),function(){const e=document.querySelector("#next-button a");e.innerHTML=_WF.cache.getItem("ajaxQuizNextQuizButtonText"),e.href=lo.nextPostLink}(),Vr(lo,uo),no(uo),_WF.utils.isMobile()&&_WF.prebid.refreshSlots(eo()),_WF.quiz.spl.init(),ho()}function fo(e=_WF.postContent){lo={...e},po+=_o,_o=0,lo.pages=Object.values(lo.pages||{}),so("quiz content",lo)}function Fo(e){_WF.cache.setItem(_WF.KEYS.PAGENUMBER,po+e+1),pbjs.refreshCounter=-1,_WF.dataCollection.init()}function ho(){if(_o+1<uo.length){so("setting up next question");const e=`#quiz-question-${po+_o}`;_WF.quiz.spl.updateProperties(e),function(e){const t=document.querySelector(e);t&&t.classList.remove("greyed-out")}(e),function(e){const t=document.querySelectorAll(`${e} .answer`),i=document.querySelector(`${e} .call-to-action`);let n;_WF.once(_WF.EVENTS.QUIZANSWERED,(()=>{n="personality"===_WF.cache.getItem(_WF.KEYS.QUIZTYPE)?document.querySelector(`${e} .answer.selected .feedback`):document.querySelector(`${e}  .feedback`),n.classList.add("reveal"),t.forEach((e=>{e.classList.contains("correct")||e.classList.contains("incorrect")||e.classList.contains("selected")||e.classList.add("hide")})),i&&i.classList.remove("hide")}))}(e),_o++,_WF.quiz.spl.setupAnswers(),_WF.once(_WF.EVENTS.QUIZANSWERED,(()=>{const e=to(),t=`#quiz-question-${po+_o+e}`;!function(e){const t=document.querySelector(e);t&&t.classList.remove("hide")}(t),Fo(_o),ro(t),ho()}))}else{so("setting up results"),_WF.quiz.spl.updateProperties("#quiz-result"),_WF.quiz.spl.setupResults();const e=document.querySelector("#quiz-result"),t=document.querySelector("#next-button");e.classList.remove("hide"),t.classList.remove("hide"),_WF.utils.isTesting("quizlayout_ab","infinite",!0)&&o.e(617).then(o.bind(o,9617)).then((e=>{e.init(),e.getNextQuiz(lo.nextPostId).then((i=>{fo(i),uo=[];const n=e.buildIntro(lo);io(n),function(e,t){Lr("clone call to action");const i=document.getElementById("call-to-action-"+(e-1)),n=i.cloneNode(!0);n.id=`call-to-action-${e}`,i.parentNode.insertBefore(n,t.nextSibling)}(e.quizNumber,n),Vr(lo,uo,e.quizNumber,po),Fo(_o),no(uo,po,!1),ro(),ho(),t.classList.add("hide")}))}))}}class Eo{timeout=null;timeoutLen=1e4;constructor(e){this.identifier=e}removeAfterTimeout(){document.querySelector(this.identifier)&&(_WF.utils.log("loadingPlaceholder > removeAfterTimeout > Setting Timeout",this.identifier),this.timeout=setTimeout(this.removeLoader.bind(this),this.timeoutLen))}removeLoader(){const e=document.querySelector(this.identifier);e&&(_WF.utils.log("loadingPlaceholder > removeLoader > Removing Lodaer",this.identifier),e.remove()),null!=this.timeout&&clearTimeout(this.timeout)}}_WF.on(_WF.EVENTS.SETUP,(function(){var e=_WF.utils.parseInt(_WF.cache.getItem(_WF.KEYS.BLOGID));if(co=_WF.utils.getLogger("header > layoutLoader",_WF.LOGLEVEL.GLOBAL),co("init"),_WF.utils.attempt((()=>{_WF.utils.isTesting("quizlayout_ab","spl",!0)&&(co("loading spl quiz layout"),mo()),_WF.utils.isTesting("quizlayout_ab","delayedNext",!0)&&o.e(464).then(o.bind(o,160)).then((({default:e})=>{e()}))})),new Eo("#porm_loader").removeAfterTimeout(),new Eo("#posr_loader").removeAfterTimeout(),(_WF.cache.getItem(_WF.KEYS.ISSEARCH)||_WF.utils.isRsocPost())&&_WF.on(_WF.EVENTS.CONTENTREADY,(function(){const e=document.querySelector("#inner-content");if(e){const t=e.innerHTML;e.innerHTML=_WF.utils.locationTagFilter(t)}})),_WF.utils.isRsocPost()){_WF.utils.createDynamicStyleSheet([".iscrollpoh, .iscrollpuh, .iscrollpoi, .iscrollpui, .iscrollpop { display: none; }"].join("\n"));if(!_WF.utils.isTesting("rsoc_ab","readmore",!0)?(_WF.utils.createDynamicStyleSheet(["#read-more-link { display: none !important; }","#read-more-content { display: block !important; }"].join("\n")),_WF.on(_WF.EVENTS.CONTENTREADY,(function(){_WF.utils.readMoreClickHandler()}))):_WF.on(_WF.EVENTS.CONTENTREADY,(function(){var e=document.getElementById("read-more-link");e&&e.addEventListener("click",(function(){_WF.utils.readMoreClickHandler()}))})),_WF.utils.isTesting("porm_ab","porm-margin",!0)){const e=/porm-margin:(\d*(px|em|%|vh|rem))/gi.exec(_WF.utils.abState("porm_ab"))[1];_WF.utils.createDynamicStyleSheet(`#primary-over-read-more-wrapper { margin-bottom: ${e}; }`)}_WF.utils.isTesting("porm_ab","wide-margin",!0)&&_WF.utils.createDynamicStyleSheet("#primary-over-read-more-wrapper, #primary-under-read-more-wrapper { margin: 0 -15px; }")}if(_WF.utils.isTesting("mobilelayout_ab","wideimg",!0)){var t=function(){document.querySelectorAll(".inner-entry-content picture source").forEach((e=>e?.parentNode?.removeChild(e))),_WF.once(_WF.EVENTS.INFITESCROLLRENDERCONTENT,t)};_WF.on(_WF.EVENTS.CONTENTREADY,t)}if(_WF.utils.isTesting("adratio_ab","font",!0)&&_WF.utils.createDynamicStyleSheet(["body,.article-content { font-size: 20px !important; line-height: 2 !important; }"].join("\n")),_WF.utils.isMobile()&&_WF.utils.isTesting("cc_ab")){var i=_WF.utils.abState("cc_ab").split(":"),n=i[0],r=(parseInt(i[1])||100)+(-1==String(i[1]).indexOf("pct")?"px":"%"),a=~n.indexOf("all")?[]:n.split(" ").map(_WF.utils.abbreviationToSlotName),s=a.map((function(e){return"#"+e+":before"})).join(", ")||".primary-ad-widget:before, .secondary-ad-widget:before, #anchored-P1:before",c=a.map((function(e){return"#"+e})).join(", ")||".primary-ad-widget, .secondary-ad-widget, #anchored-P1",l=a.map((function(e){return"#"+e+".no-before:before"})).join(", ")||".primary-ad-widget.no-before:before, .secondary-ad-widget.no-before:before, #anchored-P1.no-before:before";_WF.utils.createDynamicStyleSheet([s+" { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: "+r+"; z-index: 9999999 !important; }",c+" { position: relative; }",l+" { content:none; }"].join("\n")),_WF.utils.log("cc> setup")}if(_WF.utils.isTesting("desktoplayout_ab","delay",!0)&&!_WF.utils.isEligibleForSinglePageLayout()&&_WF.utils.isDesktop()){_WF.utils.createDynamicStyleSheet(["#header-next-button, #next-button, a.nextButtonImageOverlay {","display: none;","}"].join("\n"),null,"desktoplayout_abStyle")}if(_WF.utils.isTesting("quizlayout_ab","newerLayout")&&_WF.utils.isQuizPost()){var u=[".quiz #lefternary {","width: 300px;","right: 1064px;","padding-right: 0px;","}"];_WF.utils.isMobile()&&u.push(".quiz li.answer {","height: 100px;","}",".quiz div.progress {","margin-bottom: 10px;","}",".quiz div.progress.progress-top {","display: block;","}",".quiz div.progress.progress-bottom {","display: none;","}"),_WF.cache.getItem(_WF.KEYS.PAGENUMBER)>1&&u.push(".quiz .entry-title {","display: none;","}"),_WF.utils.createDynamicStyleSheet(u.join("\n"))}if(_WF.on(_WF.KEYS.SLOTS,_WF.KEYS.PROVIDERS,(function(){var e=[];48==_WF.cache.getItem(_WF.KEYS.BLOGID)&&!_WF.utils.isMobile()&&_WF.utils.isSlotAssigned("lbt","prebidv2")&&e.push(".headerunit { padding: 10px; border: 1px solid #ddd; }"),_WF.utils.isTesting("desktop_poi_ab","nocls",!0)&&!_WF.utils.isQuizPost()&&_WF.utils.isSlotAssigned("poi","prebidv2")&&e.push("#primary-over-image-wrapper { min-height: 276px !important; margin-top: -20px; }"),e.length&&_WF.utils.createDynamicStyleSheet(e.join("\n"))})),(_WF.utils.isTesting("srinfinite_ab")||_WF.utils.isTesting("iwinfinite_ab"))&&((_WF.utils.isTesting("srinfinite_ab","splUnits",!0)||_WF.utils.isTesting("iwinfinite_ab","splUnits",!0))&&_WF.utils.createDynamicStyleSheet(".ad_container_btf { min-height: 0; padding: 0; }"),_WF.utils.createDynamicStyleSheet("#page_container .pohcontainer .primary-ad-wrapper, .main-box .pohcontainer .primary-ad-wrapper { min-height: 275px !important; }")),_WF.utils.isTesting("mmdiy_spl_ab","spl",!0)||_WF.utils.isTesting("mmdiy_spl_ab","infinite",!0)){const e=[];_WF.utils.isDesktop()?e.push(".inner-entry-content .popcontainer { min-height: 147px; }"):e.push(".inner-entry-content .popcontainer { min-height: 417px; }"),_WF.utils.createDynamicStyleSheet(e.join("\n"))}if(_WF.utils.isEligibleForSinglePageLayout()){if(_WF.utils.isTesting("splayout_ab","cwv",!0)||_WF.utils.isTesting("splayout_ab","lazy",!0)){const e=function(){const e=_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES);let t=2,i=!1;for(;t<e;t++){const e=document.getElementById("page-"+t);if(e){if(_WF.utils.isElementInViewport(e)){i=!0;continue}if(i)break}}let n=[];if(i)for(let e=2;e<=t;e++)document.getElementById("page-"+e)&&n.push("#page-"+e);return 0===n.length&&(n=["#page-2"]),n}();var d=["div[id^='page-']:not("+e.join(", ")+"){ display: none; }
1",".pohcontainer:has(+ div[id^='page-']:not("+e.join(", ")+")) { display: none; }","footer > *, .footer > * { display: none !important; }","footer, .footer { padding: 0 !important; }","#primary { padding-bottom: 100px; }"];_WF.utils.createDynamicStyleSheet(d.join("\n"));const t=function(e){!0!==e&&"true"!==e||_WF.utils.createDynamicStyleSheet("div[id^='page-']{ display: block; }")};_WF.on(_WF.KEYS.ADBLOCK,t),_WF.on(_WF.KEYS.FADBLOCK,t),_WF.on(_WF.KEYS.DADBLOCK,t)}if(_WF.utils.isTesting("splayout_ab","readmore",!0)){const e=["#spl-read-more-button { font-size: 2.2em; line-height: 1.65; margin: 30px 0 55px; padding: 0.1em 0; text-align:center; width: 100%; }","#spl-read-more-button ~.pohcontainer, #spl-read-more-button ~div[id^='page-'] { display: none; }","#spl-read-more-button:before, #spl-read-more-button:after { content: none; }","#next-button.hide { display: none; }"];_WF.utils.createDynamicStyleSheet(e.join("\n"))}if(_WF.utils.isDesktop()){var _=[".inner-entry-content .poicontainer, .inner-entry-content .popcontainer, .inner-entry-content .puhcontainer { display: none; }"];_WF.utils.isSinglePageDesktopNoIncontentAdSource()||_WF.utils.isMonetizationBlacklisted()?_.push(".inner-entry-content .pohcontainer, .inner-entry-content .puicontainer { display: none; }"):(_WF.utils.isTesting("splayout_ab","nopoh",!0)?_.push(".inner-entry-content .pohcontainer { display: none; }"):_.push(".inner-entry-content .pohcontainer { min-height: 147px; }"),_WF.utils.isSinglePageOrganicSource()||!_WF.utils.isTesting("desktop_spl_ab")||_WF.utils.isTesting("splayout_ab","nopui",!0)?_.push(".inner-entry-content .puicontainer { display: none; }"):_.push(".inner-entry-content .puicontainer { min-height: 147px; }")),_WF.utils.isTesting("splayout_ab","doublemedrec",!0)&&(_.push(".inner-entry-content .pohcontainer.doublemedrec { column-count: 2; flex-direction: row; min-height: 290px; padding-top: 10px; }"),_.push(".inner-entry-content .pohcontainer.doublemedrec .flexible-ads-sticky { flex: 1; }")),_.length&&_WF.utils.createDynamicStyleSheet(_.join("\n"))}else{var p=[];if(_WF.utils.isMonetizationBlacklisted())p=[".inner-entry-content .pohcontainer, .inner-entry-content .poicontainer, .inner-entry-content .popcontainer, .inner-entry-content .puhcontainer, .inner-entry-content .puicontainer { display: none; }"];else if(_WF.utils.isTesting("splayout_ab","nopoh",!0)?p.push(".inner-entry-content .pohcontainer { display: none; }"):p.push(".inner-entry-content .pohcontainer { min-height: 417px; }"),_WF.utils.isTesting("splayout_ab","nopoi",!0)||!_WF.utils.isTesting("splayout_ab","poi",!0)||_WF.utils.isSinglePageOrganicSource()||_WF.utils.isOrganic()?p.push(".inner-entry-content .poicontainer { display: none; }"):p.push(".inner-entry-content .poicontainer { display:block; min-height: 417px; }"),_WF.utils.isTesting("splayout_ab","nopop",!0)||!_WF.utils.isTesting("splayout_ab","pop",!0)||_WF.utils.isSinglePageOrganicSource()||_WF.utils.isOrganic()?p.push(".inner-entry-content .popcontainer { display: none; }"):p.push(".inner-entry-content .popcontainer { display:block; min-height: 417px; }"),_WF.utils.isTesting("splayout_ab","nopuh",!0)||!_WF.utils.isTesting("splayout_ab","puh",!0)||_WF.utils.isSinglePageOrganicSource()||_WF.utils.isOrganic()?p.push(".inner-entry-content .puhcontainer { display: none; }"):p.push(".inner-entry-content .puhcontainer { display:block; min-height: 117px; }"),_WF.utils.isOrganic()||_WF.utils.isTesting("splayout_ab","nopui",!0))p.push(".inner-entry-content .puicontainer { display: none; }");else{var m=_WF.utils.isTesting("splayout_ab","pui",!0)?"display: block; ":"",g=_WF.utils.isTesting("splayout_ab","puimedrec",!0)?"417":"117";p.push(`.inner-entry-content .puicontainer { ${m}min-height: ${g}px; }`)}_WF.utils.createDynamicStyleSheet(p.join("\n"))}_WF.utils.createDynamicStyleSheet(["#primary-over-header-1-wrapper, #primary-over-header-2-wrapper, #primary-over-header-3-wrapper, #primary-over-header-4-wrapper, ","#primary-under-header-1-wrapper, #primary-under-header-2-wrapper, #primary-under-header-3-wrapper, #primary-under-header-4-wrapper, ","#primary-over-image-1-wrapper, #primary-over-image-2-wrapper, #primary-over-image-3-wrapper, #primary-over-image-4-wrapper, ","#primary-under-image-1-wrapper, #primary-under-image-2-wrapper, #primary-under-image-3-wrapper, #primary-under-image-4-wrapper, ","#primary-over-paragraph-1-wrapper, #primary-over-paragraph-2-wrapper, #primary-over-paragraph-3-wrapper, #primary-over-paragraph-4-wrapper","{ display: none; }"].join(""))}else{let e="";_WF.utils.isTesting("mmdiy_spl_ab","spl",!0)||_WF.utils.isTesting("mmdiy_spl_ab","infinite",!0)||(e=", .inner-entry-content .popcontainer"),_WF.utils.createDynamicStyleSheet([".inner-entry-content .pohcontainer, .inner-entry-content .puhcontainer, .inner-entry-content .poicontainer, .inner-entry-content .puicontainer"+e+" { display: none; }"].join("\n"))}if(_WF.utils.isTesting("carousel_ab")){_WF.utils.createDynamicStyleSheet([".carousel-wrap { overflow: hidden; width: calc(100% + 40px); position: relative; margin-left: -20px; }",".carousel-inner { white-space: nowrap; position: relative; transition: all .2s ease; }",".single .carousel-inner picture, .carousel-inner picture { display: inline-block; margin: 0; width: 100%; text-align: left; }",".carousel-inner picture img { width: 100% }",".carousel-inner picture .caption { display: none; }",".entry-content .carousel-inner img { margin: 0 auto; }
1",".carousel-controls { text-align: center; margin-top: -10px; position: relative; background: #D9D9D9; width: calc(100% + 40px); margin-left: -20px; height: 30px; }",".carousel-controls .prev, .carousel-controls .next { cursor: pointer; background: #9B9B9B; top: 0; bottom: 0; left: 0; width: 30px; position: absolute; }",".carousel-controls .next { right: 0; left: auto; }",".carousel-controls .prev:before, .carousel-controls .next:before { content: ''; position: absolute; height: 0; width: 0; top: 5px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; pointer-events: none; }",".carousel-controls .prev:before { border-right: 10px solid #FFFFFF; left: 8px; }",".carousel-controls .next:before { border-left: 10px solid #FFFFFF; left: 11px; }",".carousel-controls ul { margin: 2px 0 0; display: inline-block; width: calc(100% - 60px); }",".carousel-controls li { margin-right: 5px; border-radius: 50%; height: 15px; width: 15px; background: #FFFFFF; display: inline-block; }",".carousel-controls li.active  { background: #9B9B9B; }",".carousel-next { margin: 10px 0 10px -10px; display: flex; justify-content: space-between; width: calc(100% + 20px); }",".carousel-next * { align-self: flex-start; }",".entry-content .carousel-next a { white-space: nowrap; min-width: 118px; text-align: center; color: #FFFFFF; background: #004bb7; text-transform: uppercase; display: inline-block; padding: 5px 10px; }",".entry-content .carousel-next a:hover, .entry-content .carousel-next a:focus { color: #FFFFFF; background: #005ee5; }",".carousel-next .caption { color: #B5B5B5; display: inline-block; font-size: 10px; line-height: 1; white-space: normal; padding-right: 10px; vertical-align: top; }","@media screen and (min-width: 768px) {",".carousel-wrap, .carousel-controls { width: 100%; margin-left: auto; }",".carousel-controls { margin-top: -25px; }",".carousel-next { margin: 20px 0 10px; width: 100%; }","}","@media screen and (min-width: 1030px) {",".entry-content .carousel-next a { display: none }","}"].join("\n"))}var f=_WF.cache.getItem(_WF.KEYS.POSTNUMPAGES)||1,F=_WF.utils.isTesting("publish_date_ab");if(f<3||F){var h=["@media screen and (max-width: 768px) {",".byline { border-bottom: 1px solid #E9E9E9; display: "+(16==e?"flex":"block")+"; font-size: 14px; margin: 5px 0; }",".byline a { color: cornflowerblue; }",".firstImageWrapper { margin-top: 30px; position: relative; }"];h.push(" }"),_WF.utils.createDynamicStyleSheet(h.join("\n"),"screen and (max-width: 768px)")}_WF.utils.isEligibleForAjaxSlideshow()&&_WF.utils.createDynamicStyleSheet(["html { scroll-behavior: smooth; }"].join("\n")),_WF.utils.isQuizPost()||!_WF.utils.isMobile()||_WF.utils.isTesting("snlayout_ab")||_WF.utils.isTesting("mobilelayout_ab","nospnext",!0)||_WF.utils.isEligibleForAjaxSlideshow()||_WF.on(_WF.EVENTS.DOCUMENTCOMPLETE,(function(){if(!(window.innerWidth>=768)){var e=document.getElementById("begin-slideshow-button")||document.getElementById("next-button");if(e){var t=e.cloneNode(!0),i=document.getElementById("sidebar")||document.getElementById("secondary")||document.querySelector(".main-sidebar-column");i&&i.clientHeight>100&&i.parentNode.insertBefore(t,i.nextElementSibling);var n=e.cloneNode(!0),r=document.getElementById("tertiary");r&&r.clientHeight>100&&r.parentNode.insertBefore(n,r.nextElementSibling)}}}));_WF.utils.createDynamicStyleSheet(["@media screen and (min-width: 768px) {",".secondary-wrapper { position: fixed !important; top: 60px; width: 300px; will-change: transform; backface-visibility: hidden; }",".trendchaser .secondary-wrapper { top: 83px; }",".quizscape .secondary-wrapper {top: 92px; }",".abandonedspaces .secondary-wrapper { top: 0px; width: unset; }"," }"].join("\n"),"screen and (min-width: 768px)");var E=_WF.utils.isTesting("desktoplayout_ab","lpnoqp",!0),W=_WF.utils.isTesting("desktoplayout_ab","lpandqp",!0),S=1280;if(window.innerWidth>=S&&(E||W)&&!_WF.cache.getItem(_WF.KEYS.ISINDEX)){var b=1440,v=_WF.utils.isTesting("desktoplayout_ab","lpandqp:lp",!0);window.innerWidth>=b&&W&&(S=b),window.innerWidth>=b&&E&&(S+=140);var y=[];(E||window.innerWidth>=b||v)&&(y=["@media screen and (min-width: "+S+"px) {","#lefternary { display: block !important; height: unset !important; }"]),(E||window.innerWidth<b&&v)&&y.push("#quaternary { display: none !important; }"),window.innerWidth>=b&&E&&y.push("#lefternary { width: 300px !important; }"),y.push(" }"),_WF.utils.createDynamicStyleSheet(y.join("\n"),"screen and (min-width: "+S+"px)")}const I=_WF.utils.isTesting("quizlayout_ab","compactLayout",!0);if(_WF.utils.isEligibleForAjaxQuiz()&&I||I){let e=[];_WF.utils.isMobile()&&(e.push("\n                .quiz .quiz-wrap .picture-container picture {\n                    height: 175px;\n                }\n                .quiz .quiz-wrap .picture-container picture img {\n                    object-position: top;\n                }\n                .quiz .entry-content .quiz-wrap div.picture-container {\n                    margin-bottom: 0px;\n                }\n                .quiz .answer {\n                    height: 50px;\n                }\n                .quiz h2 {\n                    font-size: 1em;\n                }\n                .quiz .progress {\n                    display: none;\n                }\n                .quiz #primary-over-next-wrapper {\n                    display: block;\n                }\n                .quiz .entry-content p {\n                    margin: unset;\n                }\n                .quiz .quiz-wrap.answered .picture-container div.quiz-info {\n                    margin-top: 0;\n                }\n                .quiz .picture-container div.quiz-info {\n                    position: relative;\n                    bottom: 0;\n                    order: initial;\n                    margin-top: 0;\n                }\n                .quiz .picture-container div.quiz-info span.summary {\n                    position: absolute;\n                    top: -170px;\n                    background: #ffffff;\n                    display: block;\n                    padding: 10px;\n                    order: 2;\n                    width: 73%;\n                }\n                .quiz .picture-container div.quiz-info span.summary span.title {\n                    font-size: 17px;\n                    height: 16px;\n                }\n                .quiz .picture-container div.quiz-info span.summary span.content {\n                    font-size: 12px;\n                }\n            "),_WF.cache.getItem(_WF.KEYS.PAGENUMBER)>=2&&(_WF.utils.addClass(document.querySelector("body"),"scrolled"),e.push("\n                    .quiz header.header {\n                        display: none;\n                    }\n                    .quiz div#fixed-fixer {\n                        height: 0px;\n                    }\n                    .quiz h1.entry-title {\n                        display: none;\n                    }\n                    .quiz h2.mobile-only {\n                        margin: 0 !important;\n                    }\n                    .quiz .quiz-wrap {\n                        margin-bottom: 0;\n                    }\n                    .quiz div#inner-content {\n                        padding-top: 0px;\n                        margin-top: 0px;\n                    }\n                    .quiz div#inner-content {\n                        padding-top: 0px;\n                        margin-top: 0px;\n                    }\n                    .quiz .picture-container {\n                        padding-top: 0px;\n                    }\n                    .quiz .picture-container .caption.mobile {\n                        margin: 0;\n                    }\n                    .quiz #next-button {\n                        display: none;\n                    }\n                "))),_WF.utils.isDesktop()&&(e.push("\n                .quiz .entry-content .quiz-wrap div.picture-container {\n                    margin-bottom: 0px;\n                    padding-top: 0px;\n                }\n            "),_WF.cache.getItem(_WF.KEYS.PAGENUMBER)>=2&&(_WF.utils.addClass(document.querySelector("body"),"scrolled"),e.push("\n                    .quiz #fixed-fixer {\n                        height: 35px;\n                    }\n                    .quiz .progress {\n                        display: none;\n                    }\n                    .quiz .progress {\n                        margin-bottom: 0px;\n                    }\n                    .quiz .quiz-wrap {\n                        margin-bottom: 0px;\n                    }\n                    .quiz h1.entry-title {\n                        display: none;\n                    }\n                    .quiz .answer {\n                        height: 50px;\n                    }\n                    .quiz .entry-content p {\n                        margin: 0;\n                    }\n                    @media only screen and (max-height: 699px) {\n                        .quiz .entry-content .quiz-wrap div.picture-container picture {\n                            max-height: 230px;\n                        }\n                    }\n                "))),_WF.utils.createDynamicStyleSheet(e.join("\n")),document.querySelector("div.quiz-info").appendChild(document.querySelector("span.summary"))}if(_WF.utils.isEligibleForSinglePageLayout()||_WF.utils.isTesting("mmdiy_layout_ab","lp",!0)){_WF.utils.createDynamicStyleSheet([".single-page .byline a { color: #0095ff !important; }",".single-page-thumbnail img { width: 100% }",".article-content .big-next a { color: #ffffff !important; }"].join("\n"))}if(_WF.where.testing("start_slideshow_ab",(function(e){if(!_WF.utils.isEligibleForSinglePageLayout()){var t=_WF.cache.getItem(_WF.KEYS.POSTTHUMBNAIL);if(t){var i=t.url;document.createElement("img").src=i}_WF.utils.createDynamicStyleSheet(["#main { opacity : 0 }"].join("\n"))}})),(_WF.cache.getItem(_WF.KEYS.PDROVERRIDETBELIGIBLE)||_WF.utils.isTesting("splayout_ab","noTeasers",!0))&&_WF.utils.createDynamicStyleSheet(["p.content-teaser { display : none }"].join("\n")),_WF.cache.getItem(_WF.KEYS.PDROVERRIDETBSTATE)&&(_WF.utils.createDynamicStyleSheet(["div.inner-entry-content.cf { opacity : 0 }"].join("\n")),_WF.on(_WF.EVENTS.FOOTERSTART,(function(){var e=document.querySelector("div.inner-entry-content.cf"),t=e.previousElementSibling;e.parentNode.removeChild(e);var i=document.createElement("div");i.setAttribute("class","inner-entry-content cf");var n=document.createElement("div");n.setAttribute("id","related-container");var r=document.createElement("div");r.setAttribute("id","primary-display-related"),r.setAttribute("class","primary-ad-widget"),n.appendChild(r),i.appendChild(n),t.parentNode.insertBefore(i,t.nextSibling),_WF.emit(_WF.EVENTS.PDROVERRIDEREADY)}))),_WF.utils.isTesting("featuredimage_ab")&&1===_WF.cache.getItem(_WF.KEYS.PAGENUMBER)&&f>1&&(10!==e&&12!==e||_WF.utils.createDynamicStyleSheet(".featured-embed-holder { display: none; }")),_WF.utils.createDynamicStyleSheet([".gallery-wrapper-mobile, .gallery-wrapper { display: none; }"].join("\n")),_WF.where.testing("ajaxgallery_ab",(function(e){!_WF.utils.isMobile()&&0!=_WF.cache.getItem(_WF.KEYS.PAGENUMBER)&&_WF.gallery.isEligible()&&_WF.utils.createDynamicStyleSheet(["#main { opacity : 0 }"].join("\n"))})),_WF.utils.isTesting("delay_ab")){var T=_WF.utils.abState("delay_ab").split(":");if(3===T.length){_WF.utils.log("delay_ab: hiding content"),_WF.utils.createDynamicStyleSheet(["div.inner-entry-content { display : none }div.inner-entry-content.cf { display : none }"].join("\n"));var A="true"===T[0];if("fake"===T[2]&&function(){_WF.utils.createDynamicStyleSheet(["#fake-content-container {opacity: 0.4}@-webkit-keyframes placeHolderShimmer { 0% {  background-position: -468px 0 } 100% { background-position: 468px 0 }} @keyframes placeHolderShimmer { 0% { background-position: -468px 0 } 100% { background-position: 468px 0 }} .content-placeholder { display: inline-block; -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: forwards; animation-fill-mode: forwards; -webkit-animation-iteration-count: infinite; animation-iteration-count: infinite; -webkit-animation-name: placeHolderShimmer; animation-name: placeHolderShimmer; -webkit-animation-timing-function: linear; animation-timing-function: linear; background: #d4d5d6; background: -webkit-gradient(linear, left top, right top, color-stop(8%, #c9c9c9), c
1olor-stop(18%, #ababab), color-stop(33%, #c9c9c9)); background: -webkit-linear-gradient(left, #c9c9c9 8%, #ababab 18%, #c9c9c9 33%); background: linear-gradient(to right, #c9c9c9 8%, #ababab 18%, #c9c9c9 33%); -webkit-background-size: 800px 104px; background-size: 800px 104px; height: inherit; position: relative}"].join("\n")),_WF.utils.createDynamicStyleSheet([".content-placeholder.content-placeholder-line { width: 100%; height: 19px; margin-bottom: 0.8px; }.content-placeholder.content-placeholder-title { width: 100%; height: 40px; margin-bottom: 24px; margin-top:20px }.content-placeholder.content-placeholder-image { width: 100%; height: 200px; margin-top: 23px; }.content-placeholder.content-placeholder-caption { width: 100%; height: 12.75px; margin-bottom: 6px; }@media only screen and (min-width:768px) { .content-placeholder.content-placeholder-image { height: 215px; } }@media only screen and (min-width:1030px) { .content-placeholder.content-placeholder-image { height: 550px; } }"].join("\n"));var e=function(e,t){for(var i=0;i<e;i++){var n=document.createElement("p");n.setAttribute("class","content-placeholder content-placeholder-line"),t.appendChild(n)}},t=document.createElement("p");t.setAttribute("class","content-placeholder content-placeholder-title");var i=document.createElement("div");i.setAttribute("class","content-placeholder content-placeholder-image");var n=document.createElement("p");n.setAttribute("class","content-placeholder content-placeholder-caption");var r=document.createElement("div");r.setAttribute("id","fake-content-container"),e(5,r),r.appendChild(t),e(3,r),r.appendChild(i),r.appendChild(n),e(3,r),_WF.on(_WF.EVENTS.CONTENTREADY,(function(){var e=document.querySelector("div.inner-entry-content");e.parentNode.insertBefore(r,e.nextSibling)}))}(),A){_WF.utils.log("delay_ab: loading content via ajax");var w=new XMLHttpRequest,O=window.location.origin+"/wp-json/content/v1/post/"+_WF.cache.getItem(_WF.KEYS.POSTID);w.open("GET",O),w.send(),w.onreadystatechange=function(e){4===e.target.readyState&&(_WF.utils.log("delay_ab: content loaded, emiting reveal event"),_WF.emit(_WF.EVENTS.SHOWEMULATEDHIDDENCONTENT))}}else _WF.utils.log("delay_ab: emiting reveal event"),_WF.emit(_WF.EVENTS.SHOWEMULATEDHIDDENCONTENT)}}const C=_WF.utils.abState("dc_gallery_ab","none");if("none"!==C){if(C.includes("galleryBottom")){const e=document.querySelector(".post-content"),t=document.getElementById("gallery-1");e&&t&&e.append(t)}if(C.includes("noImgHover")){document.querySelectorAll(".hoverlogo").forEach((e=>{e.parentElement&&e.parentElement.parentElement&&e.parentElement.parentElement.removeAttribute("href"),e.remove()}))}}var x=_WF.utils.abState("lp_ab","none"),N=_WF.utils.abState("gallery_ab","none");("none"!==x||"none"!==N&&_WF.utils.isGalleryPost())&&(_WF.utils.createDynamicStyleSheet(".main-alignment { max-width: 1480px !important; }"),_WF.utils.createDynamicStyleSheet(" @media screen and (min-width: 1460px) { .single .site-content { width: calc(100% - (180px + 180px + 8px)) !important; margin: 63px 12px 128px 187px !important; } #lefternary { display: block; } }","screen and (min-width: 1460px)")),"none"!==N&&_WF.utils.isGalleryPost()&&!_WF.cache.getItem(_WF.KEYS.PDRSTATE)&&_WF.utils.createDynamicStyleSheet(".entry-content .inner-entry-content{display:block;position:relative;max-height:50px;overflow:hidden;-webkit-transition:max-height .75s linear;-moz-transition:max-height .75s linear;-o-transition:max-height .75s linear;transition:max-height .75s linear}.entry-content .inner-entry-content:after{content:'';display:block;width:100%;height:30px;max-height:30px;position:absolute;bottom:4px;background:-moz-linear-gradient(top,rgba(255,255,255,.2) 0,rgba(255,255,255,.2) 1%,rgba(255,255,255,.5) 50%,rgba(255,255,255,1) 100%);background:-webkit-linear-gradient(top,rgba(255,255,255,.2) 0,rgba(255,255,255,.2) 1%,rgba(255,255,255,.5) 50%,rgba(255,255,255,1) 100%);background:linear-gradient(to bottom,rgba(255,255,255,.2) 0,rgba(255,255,255,.2) 1%,rgba(255,255,255,.5) 50%,rgba(255,255,255,1) 100%);-webkit-transition:max-height 1.25s linear;-moz-transition:max-height 1.25s linear;-o-transition:max-height 1.25s linear;transition:max-height 1.25s linear}.entry-content.more-content .inner-entry-content{max-height:100000px}.entry-content.more-content .inner-entry-content:after{height:0;max-height:0}.entry-content #more-content,.entry-content #next-button a{font-size:26px;height:60px;font-family:montserrat-med,Helvetica,Arial,sans-serif;display:block;line-height:1}.entry-content #more-content{cursor:pointer;width:100%;text-align:center;border:2px solid #959595;padding:16px;margin-bottom:12px}.entry-content #next-button{margin-top:0}.entry-content #next-button a{padding:17px;color:#fff;float:right;-webkit-transition:max-width .25s linear;-moz-transition:max-width .25s linear;-o-transition:max-width .25s linear;transition:max-width .25s linear}.entry-content .full #next-button a{max-width:none}.entry-content #next-button a:focus,.entry-content #next-button a:hover{color:#fff}.entry-content #gallery-wrap{border:1px solid #ccc;text-align:center;height:300px;overflow:hidden}.entry-content #gallery-wrap img{margin:0 auto;display:block;max-height:300px;width:auto;max-width:100%;opacity:0;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear}.entry-content #gallery-wrap.show img{opacity:1}
1.entry-content #gallery-wrap+.inner-entry-content h2{display:none}.entry-content #gallery-wrap+.inner-entry-content img{display:none}.entry-content #gallery-wrap.show+.inner-entry-content h2{display:block}.entry-content #gallery-wrap.show+.inner-entry-content img{height:auto!important;margin:0 0 1.5em;display:block}.entry-content #gallery-title h2{font-size:20px;line-height:1;margin:0}.entry-content #gallery-title h2 p{margin:0}.entry-content #gallery-title{display:block!important;min-height:20px;margin-bottom:10px}#primary-over-next-P2,#primary-over-next{margin:0}"),x&&~x.indexOf("_stick")&&(_WF.on(_WF.EVENTS.LOADERSREADY,(function(e){var t=document.querySelector("#lefternary-P1");t&&_WF.utils.addClass(t,"leftStick")})),_WF.on(_WF.EVENTS.DOCUMENTCOMPLETE,(function(e){var t=document.querySelector("#lefternary .attribution");t&&_WF.utils.addClass(t,"leftStickAttr")})));var R=_WF.utils.abState("next_ab");if(R&&"none"!==R){var D=function(){_WF.cache.setItem(_WF.KEYS.TAGMAN_PREFIX+"nextbutton_ab","nav")},P=function(){_WF.cache.getItem(_WF.KEYS.PDRSTATE)||_WF.on(_WF.EVENTS.LOADERSREADY,(function(){var e=document.getElementById("next-button").cloneNode(!0),t=document.getElementById("tertiary-P3");t.parentNode.insertBefore(e,t.nextElementSibling)}))};switch(R){case"recoloredwedges":D();break;case"belowtp3":P();break;case"grayboxes":grayboxes();break;case"all":D(),grayboxes(),P()}}}));o(7327)}()}();

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.