Let Kelly Lack Be Your San Fransisco Tour Guide - PlayJunkie Home Art Food Animals Trending Search PlayJunkie Home Art Food Animals Trending Home Travel Let Kelly Lack Be Your San Fransisco Tour Guide Let Kelly Lack Be Your San Fransisco Tour Guide By Ron K - May 25, 2022 Travel writer and social media manager Kelly Lack is always up for a good adventure. Based in San Francisco, her work has appeared in publications like Martha Stewart Weddings, Travel + Leisure, and AFAR, and her clients include brands like Zappos, Conde Nast Traveler, and One Kings Lane. Aside from writing, she’s also amassed an impressive following on Instagram, where she shares her experiences with her fans. “When I’m traveling, I go nuts trying to capture it all from sweeping scenic shots to quiet moments in markets to the comings and goings of locals,” she admitted once in an interview with Lonny. View this post on Instagram A post shared by Kelly Lack (@kellyalack) But with travel being more or less impossible these past months, Lack stays close to home. In a piece she wrote for Harper’s BAZAAR, she sums up the 88 things to do and see in San Francisco. Her recommendations include spending the afternoon at Mission Dolores Park (which she calls “the ultimate hipster hang”), and experiencing the Camera Obscura in the shadow of the Cliff House. “I love an adventure,” says Lack, “I get bored when standing still. I also love how [traveling] smashes the pre-conceived notions you have about the world, even when you don’t realize you have them! We’re all human, trying to get by and struggling with and finding joy in the same things—only in different settings.” Make sure you follow her lead when visiting California (or elsewhere). View this post on Instagram A post shared by Kelly Lack (@kellyalack) View this post on Instagram A post shared by Kelly Lack (@kellyalack) View this post on Instagram A post shared by Kelly Lack (@kellyalack) View this post on Instagram A post shared by Kelly Lack (@kellyalack) View this post on Instagram A post shared by Kelly Lack (@kellyalack) TAGS San Francisco Travel Travel Journal Previous articleThis Artist Twists the World Around Him in His Paintings Next articleAstonishing Surreal Portraits by Rafael Silveira Ron K RELATED ARTICLESMORE FROM AUTHOR Liz Carlson’s Manifesto to the Solo Female Traveler is a Must Read! Canoeing, Fishing, Exploring: Follow Jenny Anderson’s Travels Danielle and Tommy Will Inspire You to Hit the Road Popular These Sausage Dogs are Actual Squad Goals Ava K - May 13, 2022 0 Some squads are superior to others—and Harriet Birch's Sausage Squad is high above the rest. Composed of five adorable Daschunds, this is... Get Reacquainted With Your Kitchen With Minimalist Baker Lee - May 11, 2022 0 If there's a silver lining to the pandemic, it's that it has completely changed the ways in which we approach food. While in... Metal Butterflies Escape the Canvas in Vincent Salvo’s Art Jas Cilas - May 9, 2022 0 Austin-based painter and sculptor Vincent Salvo had an unusual artistic journey. That journey reflects in his intriguing works, especially the ones that... Graphic Designer Creates Funny Comics To Brighten Up People’s Day Ron K - May 6, 2022 0 A good laugh doesn’t hurt anybody, right? If you feel the world is falling apart, finding and enjoying a funny comic is... The Paper Animals of Patrick Cabral Chris L - May 4, 2022 0 Manila, Philippines-based artist Patrick Cabral is a jack of all trades. A multi-disciplinary designer and type artist, he has mastered calligraphy and... Just Fun Immerse Yourself In Tess Gray’s Landscapes Ava K - May 2, 2022 0 Art, as the saying goes, is the only way to run away without leaving home. Although not a permanent form of escape,... Cat Rabbit’s Plush Toys Aren’t Meant to Be Played With Rose B - May 1, 2022 0 Melbourne-based textile artist Cat Rabbit is known for her original plush toys, meant to be cherished as works of art rather than... From Tacos to Muffins: Lindsay Ostrom is Cooking Up a Storm Lee - April 30, 2022 0 The past year has seen most of us in the kitchen and we've settled into routines that involved a lot more home... Step Inside Polly Townsend’s Eerily Secluded Landscapes Chris L - April 29, 2022 0 Solemn landscapes have never been more of an appropriate backdrop than in the past few years. As we have cocooned ourselves in... This Rescue Pup Will Encourage You to Adopt a New Best Friend Ben - April 28, 2022 0 Described as a chewer of feet, destroyer of toys, and breaker of stereotypes, Baloo, an 80-pound American Staffordshire Terrier and Red Heeler... About Us Terms & Conditions Privacy Policy Cookie Policy DMCA '); var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) { return ' url(\'' + dir_path + '/' + str.replace(/url\(\'/gi, '').replace(/^\s+|\s+$/gm,''); }); splited_css += ""; } var td_theme_css = jQuery('link#td-theme-css'); if (td_theme_css.length) { td_theme_css.after(splited_css); } } }); } })(); Edit with Live CSS Impressum '.trim(),t=document.querySelector(".site-footer__legal--link-right")):window.plj.utils.isTablet()||(e.innerHTML='Impressum'.trim(),t=document.querySelectorAll(".menu__static__link__container")[document.querySelectorAll(".menu__static__link__container").length-1]);var n=e.firstChild;t&&n&&!document.querySelector("#impressum_elem")&&t.insertAdjacentElement("afterEnd",n)},500):setTimeout(function e(){var t=document.querySelector(".td-subfooter-menu");if(t){var n=t.querySelector(".menu-item");if(n){var i=n.cloneNode(!0),o=i.querySelector("a");if(o)return o.href="https://"+document.location.host+"/impressum-"+u.getSiteName()+"-latest-update/",o.innerText="Impressum",void t.appendChild(i)}}setTimeout(e,500)},500)),i.get("enable_gfc")||!r.isCountryList(["us"])&&r.getCountryCode()&&"xx"!==!r.getGeoCode()||u.isMinuteSite()||setTimeout(function e(){var t=document.querySelector(".td-subfooter-menu");if(t){var n=t.querySelector(".menu-item");if(n){var i=n.cloneNode(!0),o=i.querySelector("a");if(o)return o.href='javascript:Didomi.preferences.show("purposes");',o.innerText="Do Not Sell My Personal Information",void t.appendChild(i)}}setTimeout(e,500)},500),i.get("prevent_clicks")&&(a+=".__plj__adv-block {pointer-events: none;}"),i.get("ad_no_overflow")&&(a+=".__plj__adv-block {overflow: hidden;}"),i.get("wide_mobile")&&n.isGalleryPage()&&(a+="@media (max-width: 1018px) {.td-container {padding-left: 0px!important;padding-right: 0px!important;}.post-body-wrap {padding-left: 0px!important;padding-right: 0px!important;}.td-post-title {padding-left: 10px!important;padding-right: 10px!important;}.__plj__sldshw {padding-left: 0px!important;padding-right: 0px!important;}.__plj__sldshw-slide-text p {padding-left: 10px!important;padding-right: 10px!important;}.__plj__content-container .__plj__sldshw-container h2 {padding: 10px!important;}.__plj__sldshw-img-credit-text {padding: 0px!important;}}@media (max-width: 1018px) and (min-width: 768px) {.td-pb-span8 {padding-right: 0px!important; padding-left: 0px!important;}}",u.isWazSite()&&(a+="@media (max-width: 1018px) and (min-width: 768px) {.__plj__sldshw-slide-text p {padding-left: 30px!important;padding-right: 30px!important;}.__plj__content-container .__plj__sldshw-container h2 {padding-left: 30px!important;padding-right: 30px!important;padding-top: 30px!important;}}")),i.get("no_block_titles")&&n.isGalleryPage()&&(a+="@media (max-width: 770px) {.__plj__sldshw-header-text {display: none!important;}}"),i.get("no_block_borders")&&n.isGalleryPage()&&!u.isSite("hom")&&(a+="@media (max-width: 770px) {.__plj__content-container .__plj__sldshw-container .__plj__sldshw {border-radius: 0px!important;box-shadow: 0 0 0 0 rgba(0, 0, 0, 0)!important;}}"),n.isGalleryPage()||(a+=".__plj__adspot-title-container {margin-top: 35px;}"),n.isDesktop()&&n.isGalleryPage()&&!t.getIsInfiniteScroll()&&(a+=".__plj__sldshw-header-text {margin-top: 25px!important;}",a+=".__plj__sldshw {margin-bottom: 10px;}"),!n.isGalleryPage()&&i.get("fansided_logo")&&(a+=".fansided_img {display: block;margin-left: auto;margin-right: auto;width: 70%;}",n.waitForElement(".td-sub-footer-menu",function(e){var t=" ";e.insertAdjacentHTML(n.isDesktop()?"afterbegin":"beforebegin",t)})),a+=u.getParam("css"),n.injectStyleTag(a),n.isGalleryPage()&&!u.isMinuteSite()&&(d(),document.addEventListener("DOMContentLoaded",function(e){d()})),i.get("manual_scroll")&&t.getIsInfiniteScroll()&&window.history&&window.history.scrollRestoration&&(window.history.scrollRestoration="manual"),i.get("gtm_id"))for(var p=i.get("gtm_id").split(","),c=0;c div").length?(n.waitForValidDiv(t,0,function(e){e.insertAdjacentHTML("beforeBegin",' '),e.insertAdjacentHTML("beforeBegin",' ')}),void n.waitForValidDiv(t,1,function(e){e.insertAdjacentHTML(i.get("desktop_new_inf_scrl")?"afterEnd":"beforeBegin",' '),e.insertAdjacentHTML("afterEnd",' ')})):(e.insertAdjacentHTML("beforeBegin",' '),e.insertAdjacentHTML("beforeBegin",' '),e.insertAdjacentHTML(i.get("desktop_new_inf_scrl")?"afterEnd":"beforeBegin",' '),void e.insertAdjacentHTML("afterEnd",' '))}),o+=".td-ss-main-sidebar > .td_block_wrap { margin-bottom: 25px!important; }"),n.isDesktop()&&n.isGalleryPage()&&e.getIsInfiniteScroll()&&(o+=".__plj__sldshw-container {position: relative; min-height: 1000px;}#__plj__sldshw-container-0 {min-height: auto;}.__plj__sbrtinscrl {position: absolute; height: 620px; width: 336px; left:800px; padding-top:20px;}.__plj__sbrbinscrl {position: absolute; height: 320px; width: 336px; left: 800px; top: 630px; padding-top:20px;}.__plj__sbltinscrl {position: absolute; height: 620px; padding-top:20px;}.__plj__sblbinscrl {position: absolute; height: 320px; padding-top:20px;}.__plj__sblebinscrl {position: absolute; height: 320px; padding-top:20px;}@media (min-width: 1100px) {.__plj__sbltinscrl {width: 160px; left:-190px;}}@media (max-width: 1400px) {.__plj__sblbinscrl {display: none;}.__plj__sblebinscrl {display: none;}}@media (min-width: 1400px) {.__plj__sbltinscrl {width: 336px; left:-370px;}.__plj__sblbinscrl {width: 336px; left:-370px; top: 630px;}.__plj__sblebinscrl {width: 336px; left:-370px; top: 630px;}}@media (min-width: 1800px) {.__plj__sbltinscrl {width: 336px; left:-400px;}.__plj__sblbinscrl {width: 336px; left:-400px; top: 630px;}.__plj__sblebinscrl {width: 336px; left:-400px; top: 630px;}}.twitter-tweet {margin-left: auto;margin-right: auto;}",i.get("enable_lsb")&&1400<=window.innerWidth&&(o+=".__plj__sbltinscrl {position: absolute; height: 320px; }@media (min-width: 1400px) {.__plj__sblbinscrl {top: 330px;}.__plj__sblebinscrl {top: 660px;}}")),n.isGalleryPage()&&(o+=".td-post-content { margin-top: 0px!important;}header .td-module-meta-info {\tmargin-bottom: 0px!important;}.__plj__main-container { margin-top: 0px!important;}.__plj__content-container {\tpadding-top: 0px!important;\tmargin-top: 0px!important;}.__plj__sldshw-container {\tpadding-top: 0px!important;}.__plj__sldshw-details {\tmargin-top: 0px!important;}"),n.isDesktop()||(o+="#__plj__ad-med-rec-above-nnxxtt-button-left-wrapper { display: none; }"),n.isDesktop()&&e.getIsInfiniteScroll()&&"before"===i.get("image_position")&&(o+=".__plj__sldshw-header-text { margin-bottom: 25px!important; }"),n.isTablet()||(o+="#__plj__ad-tab-med-rec-above-nnxxtt-button-left-wrapper { display: none; }#__plj__ad-tab-med-rec-above-nnxxtt-button-right-wrapper { display: none; }"),n.isGalleryPage()||n.waitForElement(u.isWazSite()?".tdb_single_content":".td-post-content",function(e){e.insertAdjacentHTML(u.isWazSite()?"beforeend":"afterend",' ')}),n.isGalleryPage()&&(o+="img.entry-thumb {opacity: 1!important;} #td-top-mobile-toggle {display:none!important;}#comments {display:none!important;}.author-box-wrap {display:none!important;}"),i.get("sticky_ads")&&(o+=".ad_block_stick {position: sticky; top: 0;} #td-outer-wrap {overflow: visible;}"),i.get("hero_image")&&e.getIsInfiniteScroll()&&(o+=".td-main-content-wrap {margin-top: 0px;}.__plj__content-container {margin-top: 0px!important;}.__plj__main-container {margin-top: 0px!important;}.td-post-content {margin-top: 0px!important;}"),n.injectStyleTag(o)}catch(e){console.error(e)}},add_template_ad_units:function(){var n=window.plj.utils;n.isGalleryPage()&&(n.waitForElement("#__plj__page-block-spacer",function(e){var t="";n.isMobile()?t=' ':n.isTablet()?t=' ':n.isDesktop()&&(t=' '),e.innerHTML=t}),n.waitForElement("#__plj__ba_widget",function(e){var t="";n.isMobile()?t=' ':n.isTablet()?t=' ':n.isDesktop()&&(t=' '),e.insertAdjacentHTML("beforebegin",t)})),n.isMobile()&&n.waitForElement(n.isGalleryPage()?".__plj__main-container":"#td-outer-wrap",function(e){e.appendChild(n.createFragment(' '))}),n.waitForElement(u.getParam("title_selector"),function(e){var t=(n.isMobile()?' ':"")+(n.isTablet()?' ':"")+(n.isDesktop()?' ':"");e.insertAdjacentHTML(u.isWazSite()?"beforeBegin":"afterEnd",t)}),n.isGalleryPage()||!n.isDesktop()||u.isWazSite()||n.waitForElement(".td-main-content-wrap .td-container",function(e){e.insertAdjacentHTML("afterBegin",' ')})},title_selector:function(){return window.plj.utils.isGalleryPage()?".td-post-header":window.plj.config.isWazSite()?".td-post-content p:nth-child(2)":".td-post-content p"},get_post_header_elem:function(){return document.getElementsByClassName("td-post-header")[0]},get_slideshow_container:function(){return document.getElementById(window.plj.config.getContainerId())||document.getElementById(window.plj.config.getSiteName()+"-container")},states:function(){return e(t)},max_img_width_desktop:720,max_img_width:function(){return window.plj.utils.isDesktop()&&"number"==typeof window.plj.config.getParam("max_img_width_desktop")?window.plj.config.getParam("max_img_width_desktop"):window.plj.utils.isTablet()&&"number"==typeof window.plj.config.getParam("max_img_width_tablet")?window.plj.config.getParam("max_img_width_tablet"):window.innerWidth},"nxt-btn-text":"NEXT","prv-btn-text":function(){return window.plj.utils.isMobile()?"<<":"<<"},"prv-btn":!0,"url-lst":"https://"+document.location.host+"/","next-btn-header":!0,"dsh-1im":function(){return"boolean"==typeof window.plj.tests.get("dsh_1im")?window.plj.tests.get("dsh_1im"):!(!window.plj.utils.isMobile()||!window.plj.utms.isValid()||"string"!=typeof g||0!==g.toLowerCase().indexOf("facebook"))},"dsh-1bl":!1,"dct-1bl":!1,"dsh-ttl":!0,"header-btn-selector":".td-header-main-menu",dmn:function(){return document.location.host.replace("www.","").replace("staging.","")},"mnt-on":!0,on_update_page_content:function(e){var t=1;"number"==typeof window.plj.tests.get("push_req_slide")&&(t=window.plj.tests.get("push_req_slide")),window.plj.push&&window.plj.utms.isValid()&&u.getParam("onesignal_app_id")&&e===t&&window.plj.push.showPermissionRequest()},gdpr_enabled:!0},window.plj.config.data.plj={"thm-clr":"ff771d"}}(window.plj.config),window.plj=window.plj||{},window.plj.config=window.plj.config||{},function(r){r.getSiteName=function(){return"plj"},r.isSite=function(e){return window.plj.utils.isArray(e)||(e=[e]),-1!==e.indexOf(r.getSiteName())},r.isWazSite=function(){return!(!window.__cf||!window.__cf.isWazSite)},r.getSiteParam=function(e,t,n){return r.data[e]?"function"==typeof r.data[e][t]?r.data[e][t](n):r.data[e][t]:""},r.getParam=function(e,t){var n=window.plj.tests.get(e);if(void 0!==n)return n;var i=r.getSiteName(),o=r.getSiteParam(i,e,t);return void 0!==o?o:r.getSiteParam("defaults",e,t)},r.getSiteCallback=function(e,t){return!r.data[e]||"function"!=typeof r.data[e][t]?null:r.data[e][t]},r.getCallback=function(e){var t=r.getSiteName(),n=r.getSiteCallback(t,e);if(n)return n;var i=r.getSiteCallback("defaults",e);return i||function(){}},r.getNumericConfig=function(e){var t=parseInt(r.getParam(e));return"number"!=typeof t||isNaN(t)?null:t},r.getBooleanConfig=function(e){var t=r.getParam(e);return"true"===t||!0===t||"1"===t||1===t},r.getColorConfig=function(e){var t=r.getParam(e);return/^[0-9A-F]{6}$$/i.test(t)?t:null},r.getContainerId=function(){return"shz-container"},r.getLoaderId=function(){return"shz-loader"},r.getMgidAccount=function(){return r.getParam("mgid_account")},r.getSnapAccount=function(){return r.getParam("snap_account")},r.getTaboolaPixelAccount=function(){return r.getParam("tbl_pixel_act")||window.plj.utils.getQueryParam("tbl_pixel_act")},r.getTaboolaAccountName=function(){if(!1===window.plj.tests.get("enable_taboola_widget"))return"";if(window.plj.utms.getSource()&&0===window.plj.utms.getSource().toLowerCase().indexOf("outbrain"))return"";if(window.plj.utms.getSource()&&0===window.plj.utms.getSource().toLowerCase().indexOf("revcontent"))return"";var e=r.getParam("tbl_act")||window.plj.utils.getQueryParam("tbl_act");return e||document.location.host.replace(".com","").replace("www","").replace("staging.","")+window.plj.utils.getDevicePlatformLetter()},r.isBot=function(){return!(!window.__cf||!window.__cf.botName)},r.getDfpId=function(){if(r.isBot())return window.plj.tests.get("bot_gam_id")?window.plj.tests.get("bot_gam_id").replace(/_/g,""):"460410644";var e=r.getParam("dfp_id");return"string"==typeof e?e.replace(/_/g,""):"460410644"},r.getGaToken=function(){var e=r.getParam("ga_token");return"string"==typeof e&&(e=[e]),window.plj.utils.isArray(e)?e:null},r.getBidFloor=function(e){return window.plj.tests.get("pb_no_bid_floor")?0:"number"==typeof window.plj.tests.get("pb_floor_"+e)?window.plj.tests.get("pb_floor_"+e):"number"==typeof window.plj.tests.get("pb_floor_"+window.plj.utils.os().toLowerCase())?window.plj.tests.get("pb_floor_"+window.plj.utils.os().toLowerCase()):"number"==typeof window.plj.tests.get("pb_floor_default")?window.plj.tests.get("pb_floor_default"):0},r.getBidders=function(e){if(window.plj.tests.get("use_one_bidder_only"))return[window.plj.tests.get("use_one_bidder_only")];var t=[];if(!window.plj.pbjsUtils||!window.plj.pbjsUtils.adUnitsParams)return[];for(var n in window.plj.pbjsUtils.adUnitsParams)if(window.plj.pbjsUtils.adUnitsParams.hasOwnProperty(n)&&window.plj.tests.get("enable_"+n.toLowerCase())){if(e&&"number"==typeof e[n]&&"number"===window.plj.tests.get("max_bidder_errors")&&e[n]>=window.plj.tests.get("max_bidder_errors"))continue;t.push(n)}return t},r.getDomain=function(){return r.getParam("dmn")},r.getMmpVideoId=function(){var e=window.plj.tests;return e.get("new_mmp_player")&&e.get("new_mmp_player_id")?e.get("new_mmp_player_id"):(e.get("video_by_force")||e.get("mmp_vid_full_player")||"mmp_vid"===e.get("vid_full_player"))&&e.get("mmp_vid_id_top")?e.get("mmp_vid_id_top"):r.getParam("mmp_vid_id")},r.isMinuteSite=function(){return r.isSite("tup")||r.isSite("dbl")||r.isSite("mnt")||r.isSite("nmi")},r.overrideCpmConfig=function(e,t){var n=!1;if("string"==typeof e&&"number"==typeof t){for(var i in window.plj.extConfig.cpm_config){var o=window.plj.extConfig.cpm_config[i];window.plj.utils.isValidTargetingData(o)&&"string"==typeof o.partner&&o.partner.toLowerCase()===e&&(window.plj.extConfig.cpm_config[i].cpm=t,n=!0)}n||(window.plj.extConfig.cpm_config||(window.plj.extConfig.cpm_config=[]),window.plj.extConfig.cpm_config.push({partner:e,cpm:t,priority:1}))}},r.adjustCpm=function(e,t){var n=window.plj.tests,i=t;return!!!n.get("disable_revshare")&&"number"==typeof n.get("revshare_"+e.toLowerCase())&&n.get("revshare_"+e.toLowerCase())<=1&&(i*=n.get("revshare_"+e.toLowerCase())),"number"==typeof n.get("gross_to_net_"+e.toLowerCase())&&n.get("gross_to_net_"+e.toLowerCase())<=1&&(i*=n.get("gross_to_net_"+e.toLowerCase())),"number"==typeof n.get("discrepancy_"+e.toLowerCase())&&n.get("discrepancy_"+e.toLowerCase())<=2&&(i*=n.get("discrepancy_"+e.toLowerCase())),"number"==typeof n.get("cpm_mul_"+e.toLowerCase())&&(i*=n.get("cpm_mul_"+e.toLowerCase())),"number"==typeof n.get("cpm_mul_all")&&(i*=n.get("cpm_mul_all")),"number"==typeof n.get("cpm_add_"+e.toLowerCase())&&(i+=n.get("cpm_add_"+e.toLowerCase())),"number"==typeof n.get("cpm_add_all")&&(i+=n.get("cpm_add_all")),"number"==typeof n.get("cpm_override_"+e.toLowerCase())&&(i=n.get("cpm_override_"+e.toLowerCase())),i},r.getCpmConfig=function(e){if("number"==typeof window.plj.utils.getQueryParam("cpm_"+e))return window.plj.utils.getQueryParam("cpm_"+e);window.plj.tests;if(!window.plj.extConfig||!window.plj.extConfig.cpm_config||!window.plj.utils.isArray(window.plj.extConfig.cpm_config))return null;for(var t in window.plj.extConfig.cpm_config.sort(function(e,t){return e.priority>t.priority?-1:1}),window.plj.extConfig.cpm_config){var n=window.plj.extConfig.cpm_config[t];if(window.plj.utils.isValidTargetingData(n)&&("string"==typeof n.partner&&n.partner.toLowerCase()===e.toLowerCase()))return r.adjustCpm(n.partner,n.cpm)}return null}}(window.plj.config),window.plj=window.plj||{},window.plj.utils=window.plj.utils||{},function(s){s.hashCode=function(e){var t,n=0;if(0===e.length)return n;for(t=0;t=parseInt(o[0])&&e<=parseInt(o[o.length-1]))return!0}return!1},s.isValidPixelData=function(e){return!!s.isValidTargetingData(e)&&(!("string"!=typeof e.source||!e.source)&&!!e.id)},s.getUtmConfig=function(){var e={nmo:!1,nvmo:!1,nnmo:!1,nemo:!1};if(!window.plj.extConfig||!window.plj.extConfig.utms_config||!s.isArray(window.plj.extConfig.utms_config))return e;for(var t in window.plj.extConfig.utms_config){var n=window.plj.extConfig.utms_config[t];s.isValidTargetingData(n)&&(e.nmo=e.nmo||n.nmo,e.nvmo=e.nvmo||n.nvmo,e.nnmo=e.nnmo||n.nnmo,e.nemo=e.nemo||n.nemo)}return e},s.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},s.fillArray=function(e,t,n){if(!s.isArray(e))return e;if("number"!=typeof n)return e;for(var i=0;ii&&(i=e[n]);return i},s.insertHtml=function(e,t){var n=document.getElementById(e.replace("#",""));return!!n&&(n.innerHTML=t,!0)},s.removeAttribute=function(e,t){var n=document.getElementById(e.replace("#",""));return!!n&&(n.removeAttribute(t),!0)},s.createElementFromHTML=function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild},s.createFragment=function(e){var t=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=e;n.firstChild;)t.appendChild(n.firstChild);return t},s.insertAsFirstChild=function(e,t){var n=document.getElementById(e.replace("#",""));if(!n)return!1;n.insertBefore(s.createFragment(t),n.firstChild)},s.insertBefore=function(e,t){var n=document.getElementById(e.replace("#",""));if(!n)return!1;n.parentNode.insertBefore(s.createFragment(t),n)},s.insertAfterFirstOfClass=function(e,t){if(!e)return!1;if("string"!=typeof e)return!1;var n=document.getElementsByClassName(e.replace(".",""));return!!n&&(!!n[0]&&(elChild=document.createElement("div"),!!elChild&&(elChild.innerHTML=t,!!n[0].parentNode&&(n[0].parentNode.insertBefore(elChild,n[0].nextSibling),!0))))},s.createElementFromHTML=function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t.firstChild},s.insertAdjacentHTML=function(e,t,n){var i=document.querySelector(e);return!!i&&i.insertAdjacentHTML(t,n)},s.insertAfter=function(e,t){var n=document.getElementById(e.replace("#",""));return!!n&&(elChild=document.createElement("div"),!!elChild&&(elChild.innerHTML=t,n.appendChild(elChild),!0))},s.removeElementById=function(e){var t=document.getElementById(e);t&&t.parentNode&&t.parentNode.removeChild&&t.parentNode.removeChild(t)},s.removeElements=function(e,t){for(var n=(t=t||document).querySelectorAll(e),i=0;i=-n&&t.left>=-i&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+i&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+n},s.getLastBlockInViewPort=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".__bts__sldshw-container"),0).reverse(),t=0;tt?n(i[t]):setTimeout(function(){s.waitForValidDiv(e,t,n)},50)},s.removeDivsFromSidebar=function(){for(var e=document.querySelectorAll(".td-ss-main-sidebar > div"),t=0;tt?n[t]:null},s.getValidDivs=function(e){for(var t=[],n=document.querySelector(e).children,i=0;i>>8,n[2*i+1]=r%256}return n},decompressFromUint8Array:function(e){if(null==e)return a.decompress(e);for(var t=new Array(e.length/2),n=0,i=t.length;n>=1}else{for(o=1,i=0;i>=1}0==--d&&(d=Math.pow(2,c),c++),delete _[s]}else for(o=l[s],i=0;i>=1;0==--d&&(d=Math.pow(2,c),c++),l[a]=p++,s=String(r)}if(""!==s){if(Object.prototype.hasOwnProperty.call(_,s)){if(s.charCodeAt(0)<256){for(i=0;i<<=1,g==t-1?(g=0,w.push(n(u)),u=0):g++;for(o=s.charCodeAt(0),i=0;i<8;i++)u=u<<1|1&o,g==t-1?(g=0,w.push(n(u)),u=0):g++,o>>=1}else{for(o=1,i=0;i>=1}0==--d&&(d=Math.pow(2,c),c++),delete _[s]}else for(o=l[s],i=0;i>=1;0==--d&&(d=Math.pow(2,c),c++)}for(o=2,i=0;i>=1;for(;;){if(u<<=1,g==t-1){w.push(n(u));break}g++}return w.join("")},decompress:function(t){return null==t?"":""==t?null:a._decompress(t.length,32768,function(e){return t.charCodeAt(e)})},_decompress:function(e,t,n){for(var i,o,r,a,l,_,s=[],d=4,p=4,c=3,w="",u=[],g={val:n(0),position:t,index:1},m=0;m<3;m+=1)s[m]=m;for(o=0,a=Math.pow(2,2),l=1;l!=a;)r=g.val&g.position,g.position>>=1,0==g.position&&(g.position=t,g.val=n(g.index++)),o|=(0<<=1;switch(o){case 0:for(o=0,a=Math.pow(2,8),l=1;l!=a;)r=g.val&g.position,g.position>>=1,0==g.position&&(g.position=t,g.val=n(g.index++)),o|=(0<<=1;_=f(o);break;case 1:for(o=0,a=Math.pow(2,16),l=1;l!=a;)r=g.val&g.position,g.position>>=1,0==g.position&&(g.position=t,g.val=n(g.index++)),o|=(0<<=1;_=f(o);break;case 2:return""}for(i=s[3]=_,u.push(_);;){if(g.index>e)return"";for(o=0,a=Math.pow(2,c),l=1;l!=a;)r=g.val&g.position,g.position>>=1,0==g.position&&(g.position=t,g.val=n(g.index++)),o|=(0<<=1;switch(_=o){case 0:for(o=0,a=Math.pow(2,8),l=1;l!=a;)r=g.val&g.position,g.position>>=1,0==g.position&&(g.position=t,g.val=n(g.index++)),o|=(0<<=1;s[p++]=f(o),_=p-1,d--;break;case 1:for(o=0,a=Math.pow(2,16),l=1;l!=a;)r=g.val&g.position,g.position>>=1,0==g.position&&(g.position=t,g.val=n(g.index++)),o|=(0<<=1;s[p++]=f(o),_=p-1,d--;break;case 2:return u.join("")}if(0==d&&(d=Math.pow(2,c),c++),s[_])w=s[_];else{if(_!==p)return null;w=i+i.charAt(0)}u.push(w),s[p++]=i+w.charAt(0),i=w,0==--d&&(d=Math.pow(2,c),c++)}}},"function"==typeof define&&define.amd?define(function(){return s}):"undefined"!=typeof module&&null!=module&&(module.exports=s))}catch(e){}function p(e,t){if(!r[e]){r[e]={};for(var n=0;n<=1||2!==e.split("-")[0].length?"xx":e.split("-")[0]},l.getCampaignDevice=function(){var e=n("campaign");return"string"!=typeof e||!e||e.split("-").length<=3||1!==e.split("-")[2].length?"x":e.split("-")[2]},l.getCampaignCountry=function(){var e=n("campaign");return"string"!=typeof e||!e||e.split("-").length<=2||2!==e.split("-")[1].length?"xx":e.split("-")[1]},l.getCampaign=function(){return n("campaign")},l.getMedium=function(){return n("medium")},l.getFormattedMedium=function(){return(l.getMedium()||"").replace(/\W/g," ").replace(/\s\s+/g," ").replace(/-/g,"_").replace(/\s/g,"_").trim().substr(0,30).toLowerCase()},l.getSource=function(){return n("source")},l.getTerm=function(){return n("term")},l.getContent=function(){return n("content")},l.isValid=function(){return!!(window.__cf&&window.__cf.validCamp&&window.plj.extConfig&&window.plj.extConfig.validSrc)},l.getSourceOrDefault=function(){var e=n("source");return e||"default-xx"},l.getCampaignOrDefault=function(){var e=n("campaign");return e||"xx-ww-a-"+window.plj.config.getSiteName()+"-default"}}(window.plj.utms),window.plj.utms.init(),window.plj=window.plj||{},window.plj.tests=window.plj.tests||{},window.plj.tests.keyValues=[],window.plj.tests.keyValuesDict={},window.plj.tests.trackedKeyValuesDict={},window.plj.tests.trackedKeyToUserType={},window.plj.tests.arr=[],function(d){window.plj.log;var p=window.plj.utils,c=window.plj.storage,w="T_",s={unknown:"00",andr:"01",win:"02",ios:"03",mac_os_x:"04",chromium_os:"05",linux:"06",other:"07"};function u(e){return!1===e?"bfalse":0===e?"n0":e}function g(e,t,n,i){var o=window.plj.config,r=window.plj.utms,a={};a[e]=t,d.keyValuesDict=p.mergeObjects(d.keyValuesDict,a),d.keyValues.push({key:e,value:t});var l,_=w+e;n||c.get(_+"_DNT")||"__NA__"===t||!r.isValid()||(l="xx",-1!==["x0","x1","x2","x3","x4","x5","x6","x7","x8","x9"].indexOf(e)?l=r.getCampaignPrefix():(l=function(e){if(!e)return"00";var t=s[e];return t||"07"}(window.rtaData?window.rtaData.os:null),d.trackedKeyValuesDict=p.mergeObjects(d.trackedKeyValuesDict,a),i&&(window.plj.tests.trackedKeyToUserType[e]=i)),d.arr.push(l+p.getDevicePlatformLetter()+o.getSiteName()+e.replace(/-/g,"_")+"-"+(""+t).replace(/\.|\,|\s|\'|\!|\?|\’|\`|\~|\;|\+|\=|\>|\>|\"/g,"_").substr(0,34-e.length-1)))}function e(e){window.plj.config;var t=window.plj.extConfig;window.plj.utms;if(t&&t.tests&&p.isArray(t.tests)){t.tests;for(var n,i=[],o=0;o=n.value&&(_.sendPixel(n),a[n.id]=!0);else if("epc"===e&&"epc"===i)!a[n.id]&&window.plj.pbjsUtils.getEpc()>=n.value&&(_.sendPixel(n),a[n.id]=!0);else if("pagenumber"===e&&"everypage"===i)_.sendPixel(n);else if("pagenumber"===e&&"adblockdetected"===i)!a[n.id]&&window.plj.consent&&window.googlefc&&window.googlefc.AdBlockerStatusEnum&&(window.plj.consent.AD_BLOCK_STATUS!==googlefc.AdBlockerStatusEnum.EXTENSION_LEVEL_AD_BLOCKER&&window.plj.consent.AD_BLOCK_STATUS!==googlefc.AdBlockerStatusEnum.NETWORK_LEVEL_AD_BLOCKER||(_.sendPixel(n),a[n.id]=!0));else if("reached_epc_goal"===e&&"reached_epc_goal"===i)for(var o=0,r=window.plj.pbjsUtils.checkReachedEpcGoal();null!==r;)"number"==typeof s.getQueryParam("repc")?s.getQueryParam("repc").toFixed(2)===r.toFixed(2)&&S(n.account_id,r,1):S(n.account_id,r,1e3*++o),r=window.plj.pbjsUtils.checkReachedEpcGoal();p.set("pixels_sent",a,ONE_HOUR_IN_SECONDS)}}},_.getPixelsSent=function(){return a},_.sendFacebookPixel=function(e,t,n){var i;window.fbq?s.getQueryParam("fb_s2s")||(i=s.createRandomString(32),fbq("trackCustom",t,-1!==t.indexOf("depc")?null:n,{eventID:i}),c.get("rta_fb_pixel")&&_.sendRta("fb_pixel",{eid:i,pixel_id:e,pixel_value_to_send:t,pixel_value_to_eval:n.reached_epc_goal||n.value})):console.error("window.fbq not defined !")},_.sendPinterestPixel=function(e){var t,n,i;e&&e.account_id&&(window.pintrk||(window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))},(t=window.pintrk).queue=[],t.version="3.0",(n=document.createElement("script")).async=!0,n.src="https://s.pinimg.com/ct/core.js",(i=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,i)),pintrk("load",e.account_id,{}),pintrk("track","checkout",{value:""+(e.value_to_send?e.value_to_send:0),order_quantity:1,currency:"USD"}))},_.sendIsPixel=function(e){var t=document.location.href.split("?")[1]||"";s.createImageTag("https://pxlsrc.com/px.gif?gao="+e+"&"+t+"&cb="+(new Date).getTime())},_.sendTikTokPixel=function(n){n&&n.account_id&&(window.ttq&&"function"==typeof window.ttq.page?"epc"===n.type?window.ttq.track("ViewContent",{value:parseFloat(n.value_to_send),currency:"USD"}):window.ttq.page():function(e,i){e.TiktokAnalyticsObject=i;var o=e.ttq=e.ttq||[];o.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],o.setAndDefer=function(e,t){e[t]=function(){e.push([t].concat(Array.prototype.slice.call(arguments,0)))}};for(var t=0;twindow.LATEST_COMSCORE_PV)&&(window.LATEST_COMSCORE_PV=s.getPageNumber(),window.COMSCORE.beacon({c1:"2",c2:"35334712"}),s.httpGet("https://"+document.location.host+"/pageview_candidate?cachebust="+(new Date).getTime())),++m,p.set("total_page_loads",m);var t=o?(new Date).getTime()-o:null;o=(new Date).getTime(),_.sendRta("pv",{ms_since_last_pv:t,prev_page_num:e||null},1===m);var n=w.getGaToken();if(window.ga&&s.isArray(n))for(var i=0;iwindow.pageYOffset}function de(){function e(){var e=[],t=I.getBlocksPerSlide();9999===I.getPageNumber()&&(t=9999);for(var n=0;n<9999;++n)e.push(t);return e}var t=[],n=""+N.getParam("bar");I.getQueryParam("bpp")&&(n=null);var i=0;if(!n)return e();if("string"!=typeof n)return e();n="9999"===n||9999===I.getPageNumber()||I.getQueryParam("debug-slides")?["9999"]:n.split("");for(var o=0;o'+(I.isDesktop()?' ':"")+(I.isTablet()?' ':"")+(I.isMobile()?' ':"")+" ";return i+=1,e}var r="";if("string"==typeof t.text&&(t.text=[t.text]),Array.isArray(t.text)&&1<=t.text.length)for(var a=0;a");for(e=(t?" ":"")+e+(t?" ":"");-1!==e.indexOf("\n");)e=e.replace("\n"," "+o()+" ");return e}(t.text[a]),r+=o();var l="";return(I.getQueryParam("debug-slides")||I.getQueryParam("slides-info"))&&(l+="--- STATS START --- ",l+=""+JSON.stringify(A.getArticleStats(t),null,2).replace(/\,/g," ").replace(/\{/g,"").replace(/\}/g,"").replace(/\"/g,""),l+=" --- STATS END --- "),l+(r=r.replace(/ <\/p>/g,"").replace(/\u0024\u0024/g,"$$"))}A.getIsInfiniteScroll=function(){return!!I.isGalleryPage()&&(!!window.plj.config.getParam("always_inf_scroll")||("boolean"==typeof B.get("inf_scroll")?B.get("inf_scroll"):!window.plj.extConfig||"boolean"!=typeof window.plj.extConfig.isInfScrl||window.plj.extConfig.isInfScrl))},A.getCurrentSlideNumber=function(){return U||parseInt(I.getPageFromUrl(),10)},A.getCurrentBlockNumber=function(){return H},A.getLandingPageNumber=function(){return t},A.getHighestContainerInView=function(e){for(var t="",n=0;n<(t+=A.slides[n].length))return n+1}return n},A.getFirstBlockOfPage=function(e){void 0===e&&(e=U);for(var t=0,n=0;n/g,"").replace(/<\/p>/g,"").length,i+=d.replace(/ /g,"").replace(/<\/p>/g,"").split(" ").length}}"string"==typeof e.text&&(e.text=[e.text]);for(var d,s=0;s/g,"").replace(/<\/p>/g,"").length,r+=d.replace(/ /g,"").replace(/<\/p>/g,"").split(" ").length}return{totalBlocks:n,totalWords:i,totalChars:o,wordsPerBlock:Math.floor(100*i/n)/100,wordsInCurBlock:r,charsInCurBlock:a}},A.getNumberOfParasInGlobalBlock=function(e){var t=document.querySelectorAll("#__plj__sldshw-details-"+e+" .__plj__sldshw-slide-text p"),n=0;if(t&&t.length)for(var i=0;i"+o+" ")))),!r)return 0;var a=r.getElementsByTagName("p"),l=0;if(a&&a.length)for(var _=0;_I.getQueryParam("skip")&&(window.plj.article.blocks=window.plj.article.blocks.slice(I.getQueryParam("skip"),window.plj.article.blocks.length-1)),"number"==typeof I.getQueryParam("mixs")&&window.plj.article&&window.plj.article.blocks&&2<=window.plj.article.blocks.length&&I.getQueryParam("mixs")')}catch(e){console.error(e)}}("og:url",e)))}var i,o,r,a,l,_;if(i=N.getParam("page_num_in_qs")?document.location.pathname.endsWith("/")?document.location.pathname.slice(0,-1):document.location.pathname:"",o="",r=N.getParam("page_num_qs_param")||"page",a=I.getQueryString(),l=I.removeUrlParameter("?"+a,r).replace("?",""),_=N.getParam("no_slash_at_end")?"":"/",-1!==document.location.pathname.indexOf(".htm")&&(_=""),1!=n?t(o=N.getParam("page_num_in_qs")?i+_+"?"+(l?l+"&":"")+r+"="+n:i+"/"+I.getArticleName()+"/"+n+"/"+(a?"?"+a:"")):1===n&&0!==e?t(o=N.getParam("page_num_in_qs")?i+_+(l?"?"+l:""):i+"/"+I.getArticleName()+"/"+(a?"?"+a:"")):1===n&&parseInt(I.getPageFromUrl(),10)>A.slides.length&&(o=N.getParam("page_num_in_qs")?i+_+(l?"?"+l:""):i+"/"+I.getArticleName()+"/"+(a?"?"+a:""),I.history.replaceState("","",o)),0,function(n){if(!A.slides||!A.slides.length)return console.error("slideshow.updatePageContent - no pages"),!1;if(n>A.slides.length)return p(),!1;if(n<=0)return function(){var e=U;c(U=A.slides.length,e)}(),!1;{var e,t,i,o,r,a,l;1===n?((e=document.getElementById("__plj__sldshw-view-single-page-link"))&&A.getCurrentBlocksInSlide()Article was originally published on our site'+(B.get("original_site_link")?' '+window.plj.article.meta.originalSite+"":" "+window.plj.article.meta.originalSite+""),a=N.isMinuteSite()?"":".td-module-meta-info",document.getElementById("__plj__previously_seen_top")||B.get("hero_image")&&A.getIsInfiniteScroll()||I.insertAfterFirstOfClass(a,r),l=' Article was originally published on our site '+window.plj.article.meta.originalSite+" ",document.getElementById("__plj__previously_seen_bottom")||I.insertAfter("#"+N.getSiteName()+"-container",l))):(A.getIsInfiniteScroll()||g("__plj__sldshw-view-single-page-container","__plj__hidden"),A.getIsInfiniteScroll()||m("__plj__sldshw-view-single-page-container","__plj__hidden"),!A.getIsInfiniteScroll()&&B.get("hide_post_header")&&m("td-post-header","__plj__hidden"))}N.getCallback("on_update_page_content")(n),A.getIsInfiniteScroll()||(b("__plj__main-column"),b("__plj__sldshw-container"));var _=A.slides[n-1];if(A.getIsInfiniteScroll())for(var s=0;s<=n&&I.isDesktop()&&!A.getIsInfiniteScroll()&&I.removeDivsFromSidebar()}}function d(e){if(i)return e&&e.stopPropagation&&e.stopPropagation(),!1;i=!0,setTimeout(function(){i=!1},F);var t=U;return"number"==typeof e?U=e:--U,c(U,t),!0}function u(e,t){if("function"!=typeof t&&(t=function(){}),i)return e&&e.stopPropagation&&e.stopPropagation(),t(),!1;if(i=!0,setTimeout(function(){i=!1},F),!A.isLastSlide()){var n=U;return"number"==typeof e?U=e:U+=1,2===U&&!0===B.get("opac_ttle")&&I.injectStyleTag(".td-post-header {opacity: 0.01; position: absolute;}.td-post-sharing-top {opacity: 0.01; position: absolute;}"),N.isSite("mnt")&&I.injectStyleTag(".hero-image-section {display: none!important;}"),N.isMinuteSite()&&O.isValid()&&!A.getIsInfiniteScroll()&&"test"!==O.getSource()&&2===U&&(N.isSite("mnt")?I.injectStyleTag(".main-header {display: none!important;}"):I.injectStyleTag(".page-wrap {margin-top: 0px!important;}#site-header {display: none!important;}.mobile-nav-main-wrapper {display: none!important;}.post-cover {display: none!important;}.post-after__external-widget {display: none!important;}.post-details {display: none!important;}")),c(U,n),window.plj.cmp&&"function"==typeof window.plj.cmp.onNextButtonClicked&&window.plj.cmp.onNextButtonClicked(),t(),!0}p(t)}function w(){if(B.get("enable_loading_window")){var e=function(){for(var e=99999,t=0;te&&(e=n.index)}return e}();if(t-H=Math.max(H-oe,0);--n)o=y(n,!1)||o;o&&k()}if(H+ie ':"")+(I.isTablet()?' ':"")+(I.isMobile()?' ':"");B.get("enable_inf_ntv")&&(o=" "+o);var r=(I.isDesktop()?' ':"")+(I.isTablet()?' ':"")+(I.isMobile()?' ':""),a="";B.get("btn_on_first_image")&&(0!==i||A.getIsInfiniteScroll()||1!=N.getParam("bar")||1!==A.getCurrentSlideNumber()||(a=' ')),imgContainer=I.createFragment(' '+o+' '+a+' '+r+" ");var l=imgContainer.querySelector(".__plj__sldshw-img");if(!l)return;l.src=e,l.dataset=l.dataset||{},l.dataset.src=e,l.alt=t,B.get("lazy_image_load")&&(l.loading="lazy",setTimeout(function(){(new Image).src=e},i*("number"==typeof B.get("lazy_image_load")?B.get("lazy_image_load"):1e3)));var _,s,d,p=Math.min(window.innerWidth,L);return p&&0 '+p+" ",(u=(u=(u="string"==typeof t.link&&t.link?t.link:"")||("string"==typeof t.creditUrl&&t.creditUrl?t.creditUrl:""))||(e&&e.image&&"string"==typeof e.image.creditUrl&&e.image.creditUrl?e.image.creditUrl:""))?(w=I.htmlDecode(' '+w+" "))&&(w.onclick=function(e){window.open(u,"_blank","noopener"),(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0}):w=I.htmlDecode(' '+w+" "),d&&(m=d.querySelector(".__plj__sldshw-img"))&&m.insertAdjacentElement("afterend",w)),d&&(g="__plj__sldshw-image-container-"+a,(m=document.getElementById(g))&&m.parentNode&&m.parentNode.removeChild&&m.parentNode.removeChild(m),f=B.get("image_position"),0===a&&B.get("first_p_image_position")&&(f=B.get("first_p_image_position")),"before"===f?((x=n.querySelector(".__plj__sldshw"))&&x.insertBefore(d,x.querySelector("#__plj__sldshw-details-"+a)),I.injectStyleTag("#__plj__sldshw-header-after-text-0 {margin-bottom: 20px;}")):"after"===f?y():"middle"!==f&&"after_first"===f?!(v=n.querySelectorAll("p"))||v.length<=1?y():(b=v[1])&&b.parentNode&&b.parentNode.insertBefore(d,b):k(),j=g+"-cursor",t.clickUrl?(I.isDesktop()&&I.injectStyleTag("#"+g+"{cursor: pointer;}","",j),P(g,function(e){return window.open(t.clickUrl,"_blank","noopener"),(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0,!1})):!I.isDesktop()||(h=document.querySelector("#"+j))&&h.remove())))}function h(e,t,n,i){var o,r,a,l,_,s,d=window.plj.article.meta,p=document.getElementById("__plj__sldshw-container-"+n);p&&(v(p,n),o=I.getQueryParam("debug-slides")||I.getQueryParam("slides-info")?n+1+". ":"","string"==typeof t.title&&t.title||o?((a=p.querySelector(".__plj__sldshw-header-text"))||I.insertAdjacentHTML(".__plj__sldshw","afterbegin",' '),r=decodeURIComponent("%24"),f("__plj__sldshw-header-text",o+("string"==typeof t.title?t.title:"").replace(r+r,r),null,p)):(a=p.querySelector(".__plj__sldshw-header-text"))&&a.parentNode&&a.parentNode.removeChild&&a.parentNode.removeChild(a),f("__plj__current",""+e),l=pe(0,t,n),"string"==typeof t.videoEmbedUrl&&(0!==t.videoEmbedUrl.indexOf("https://www.youtube.com")&&0!==t.videoEmbedUrl.indexOf("https://youtube.com")||(l+=' ')),"string"!=typeof l||-1===l.indexOf("twitter-tweet")||window.twitterAdded||(I.insertJs("https://platform.twitter.com/widgets.js",!0),window.twitterAdded=!0),"string"!=typeof l||-1===l.indexOf("instagram-media")||window.instaAdded||(I.insertJs("https://www.instagram.com/embed.js",!0),window.instaAdded=!0),"string"!=typeof l||-1===l.indexOf("apester-media")||window.apesterAdded||(I.insertJs("//static.apester.com/js/sdk/v2.0/apester-javascript-sdk.min.js",!0),window.apesterAdded=!0),f("__plj__sldshw-slide-text",l,null,p),p.querySelectorAll("p").forEach(function(e){e.innerText||e.parentNode.removeChild(e)}),s=t,_=Array.isArray(s.image)&&1<=o&&!a&&(i=!0)),i&&!a?(K=!1,_()):n&&!a&&(K=!0,_()))}window.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e),window.addEventListener("resize",e),window.addEventListener("scroll",function(){R++,e()}),"number"==typeof B.get("check_loader_every")&&B.get("check_loader_every")&&setInterval(e,B.get("check_loader_every"))}function T(e,t){!function(e,t,n){var i=document.getElementsByClassName(e);if(i&&i.length)for(var o=0;oU&&(u(),setTimeout(function(){s()},1)))},A.loadNextArticle=function(e,t,p){"function"!=typeof p&&(p=function(){}),window.plj.oldArticle=window.plj.article;var c=JSON.parse(JSON.stringify(Q.blocksPerSlideArray)),w=JSON.parse(JSON.stringify(A.slides));window.plj.article=null,A.slides=null,Q.blocksPerSlideArray=null,window.startArticleLoad=new Date,window.__cf&&window.__cf.nextArticleData&&window.__cf.nextArticleData.meta&&window.__cf.nextArticleData.meta.id===t?(window.plj.article=window.__cf.nextArticleData,window.__cf.nextArticleData=null,window.articleLoadDuration=new Date-window.startArticleLoad):I.insertJs(e,!1,t,function(){window.articleLoadDuration=new Date-window.startArticleLoad}),a(function(){Q.blocksPerSlideArray||(Q.blocksPerSlideArray=de());var e=A.getIsInfiniteScroll()?q:0;var t,n=(t=N.getCallback("get_post_header_elem")())?A.getIsInfiniteScroll()?t.cloneNode(!0):t:null;if(n){n.style.marginTop="20px",(n.querySelector(".entry-title")||n.querySelector(".shinez-article-title"))&&((n.querySelector(".entry-title")||n.querySelector(".shinez-article-title")).innerHTML=window.plj.article.meta.title),(n.querySelector(".td-author-by")||n.querySelector(".shinez-article-author"))&&((n.querySelector(".td-author-by")||n.querySelector(".shinez-article-author")).innerHTML=window.plj.article.meta.author?window.plj.article.meta.author:""),n.querySelector("#__plj__previously_seen_top")&&n.querySelector("#__plj__previously_seen_top").remove(),n.querySelector("#__plj__previously_seen_bottom")&&n.querySelector("#__plj__previously_seen_bottom").remove();for(var i,o,r=n.querySelectorAll("a"),a=0;a<350&&I.injectStyleTag("#__plj__sldshw-start-btn-global-text {font-size: 21px;}")):I.injectStyleTag("#__plj__sldshw-image-0 .__plj__buttons.__plj__strt-btn {width: 80vw; top: 55%; left: 0%; font-size: 1.5rem; box-shadow: rgba(207, 207, 207, 0.5) 0px 0px 10px 5px;}")),(p=document.getElementById("__plj__sldshw-start-btn-global-text"))&&(p.innerHTML=s)))},A.build=function(){Q.showPrevButton=N.getBooleanConfig("prv-btn"),Q.nextButtonText=N.getParam("nxt-btn-text"),Q.prevButtonText=N.getParam("prv-btn-text"),Q.nextButtonHeader=N.getBooleanConfig("next-btn-header"),Q.dontShowFirstImage=N.getBooleanConfig("dsh-1im"),"boolean"==typeof B.get("show_first_image")&&(Q.dontShowFirstImage=!B.get("show_first_image")),I.isDesktop()&&A.getIsInfiniteScroll()&&!B.get("hero_image")&&(Q.dontShowFirstImage=!1),Q.dontShowFirstBlock=N.getBooleanConfig("dsh-1bl"),Q.dontCountFirstBlock=N.getBooleanConfig("dct-1bl"),Q.blocksPerSlideArray=de(),window.plj.utils.waitForElement(".__plj__sldshw-container",function(){var e;B.get("worker_html")||(e=(I.isDesktop()?' ':"")+(I.isTablet()?' ':"")+(I.isMobile()?' ':""),I.isMobile()?e+=' ':I.isTablet()?e+=' ':I.isDesktop()&&(e+=' '),I.insertHtml("__plj__page-block-spacer-0",e),I.isDesktop()&&A.getIsInfiniteScroll()&&I.insertAdjacentHTML("#__plj__sldshw-container-0","afterbegin",' '));var t=document.getElementsByClassName("__plj__sldshw-container")[0];A.origSlideshowContainer=t.cloneNode(!0),t.remove();var n,i,o,r=A.origSlideshowContainer.querySelector(".fa-play-circle-o-span-container");r&&r.parentNode&&r.parentNode.removeChild&&r.parentNode.removeChild(r),window.plj.article.meta.lastTimePublished&&(window.plj.article.meta.lastTimePublished=(n=window.plj.article.meta.lastTimePublished.split("_")[0],o=15552e6,2*(i=31536e6)+(n=new Date(n)).getTime()<(new Date).getTime()?n=new Date(2*i+n.getTime()):i+o+n.getTime()<(new Date).getTime()?n=new Date(3*o+n.getTime()):i+n.getTime()<(new Date).getTime()?n=new Date(28512e6+n.getTime()):o+n.getTime()<(new Date).getTime()?n=new Date(1296e7+n.getTime()):7776e6+n.getTime()<(new Date).getTime()&&(n=new Date(7776e6+n.getTime())),n.getFullYear()+"-"+I.padWithZeros(n.getMonth()+1,2)+"-"+I.padWithZeros(n.getDate(),2))),a(function(e){var r,t,n;B.get("hero_image")&&A.getIsInfiniteScroll()&&(r="",r+="By "+window.plj.article.meta.author,r+=" - "+window.plj.article.meta.lastTimePublished,!1!==B.get("show_orig_art_link")&&window.plj.article&&window.plj.article.meta&&"string"==typeof window.plj.article.meta.title&&window.plj.article.meta.title&&"string"==typeof window.plj.article.meta.originalSite&&window.plj.article.meta.originalSite&&document.location.host!==window.plj.article.meta.originalSite&&(r+=" (Article was originally published on our site "+window.plj.article.meta.originalSite+")"),I.waitForElement(".td-post-header",function(e){var t=A.getImageUrl(window.plj.article.blocks[0].image);window.plj.article.meta.coverImageUrl&&(t=A.getImageUrl(window.plj.article.meta.coverImageUrl));var n=I.isMobile()?"80":I.isDesktop()?"250":"200",i=I.isMobile()||I.isDesktop()?"0":"20";e.innerHTML=' '+window.plj.article.meta.title+' '+r+" ";var o=".td-main-content-wrap {padding-top: 0px;}";t===A.getImageUrl(window.plj.article.blocks[0].image)&&(o+="#__plj__sldshw-image-0 {display: none;}"),I.injectStyleTag(o)})),N.isSite("nmi")&&(I.insertAdjacentHTML("article","afterbegin",' '),(t=document.querySelector(".header_wrapper"))&&(t.appendChild(document.querySelector(".post-article__post-title")),(n=document.querySelector(".post-details"))&&t.appendChild(n)),I.removeElements(".post-metadata__author-name")),N.getCallback("update_article_cover_and_title")(),document.title=window.plj.article.meta.title;var i=!!I.getQueryParam("pre-ldb")||B.get("preload_blocks");9999===(U=I.getPageNumber())&&(U=1),U>A.slides.length&&(U=1),1<=se?B.get("enable_refresh")&&window.plj.pbjsUtils&&("function"==typeof window.plj.pbjsUtils.getModalOpenState&&window.plj.pbjsUtils.getModalOpenState()||"function"==typeof window.plj.pbjsUtils.startAuction&&document.hasFocus()&&(le<=ae||window.plj.pbjsUtils&&window.plj.pbjsUtils.invalidForVid()||O.get()&&O.isValid()&&(re=re||setTimeout(function(){if(re=null,document.hasFocus()){var e=document.getElementById("__plj__sldshw-container-"+A.getCurrentBlockNumber());if(e){var t=e.querySelectorAll(".__plj__adv-block");if(t)for(var n=0;n$$||I.isDesktop()||I.isTablet())&&(X=!1,I.waitForFunction("pbjsUtils","onNewPageLoaded",function(){window.plj.pbjsUtils.onNewPageLoaded(U,!1,!0)})),e=A.getHighestContainerInView,"up"==(Y&&window.pageYOffset>Y?"down":"up")&&(e=A.getLowestContainerInView),Y=window.pageYOffset,(t=e(document.querySelectorAll(".__plj__sldshw-container")))?(n=H,H=parseInt(t.replace("__plj__sldshw-container-",""),10),isNaN(H)||(B.get("enable_loading_window")&&H!==n&&((i=ee.find(function(e){return e.index===H}))&&(i.height=i.block.offsetHeight),(i=ee.find(function(e){return e.index===n}))&&(i.height=i.block.offsetHeight),ne&&(clearTimeout(ne),ne=null),ne=setTimeout(w,500)),o=A.getPageOfBlock(H),U<2*window.innerHeight&&p(function(){document.querySelectorAll(".__plj__sldshw-container")}):n!==H&&0!==n&&0!==H&&window.plj.pbjsUtils&&"function"==typeof window.plj.pbjsUtils.startAuction&&I.isMobile()&&A.getIsInfiniteScroll()&&!1!==B.get("enable_mobilefooter")&&window.plj.pbjsUtils.startAuction("mobilefooter_320x50"))):A.isLastSlide()&&document.querySelector("#__plj__blocks-end").getBoundingClientRect().top<2*window.innerHeight&&p(function(){document.querySelectorAll(".__plj__sldshw-container")}))},100)):(C(),B.get("upper_loader")&&setInterval(function(){for(var e=document.querySelectorAll(".__plj__page-block-spacer"),t=0;t-screen.height,o=document.querySelector("#__plj__sldshw-container-"+t);if(o){var r=o.querySelector(".__plj__sldshw");if(r)if(i){if(""===r.style.display)return;r.style.display="",n.style.height="auto"}else"none"!==r.style.display&&(r.style.display="none",n.style.height=screen.height+"px",I.removeElements(".__plj__adv-block",r),I.removeElements(".__plj__adv-block",n),I.removeElements(".__plj__adspot-title-container",r),I.removeElements(".__plj__adspot-title-container",n))}}},100))),B.get("prevent_clicks")||0===B.get("pevntd")||(I.injectStyleTag(".__plj__adv-block{pointer-events:none;}","","adv-block-pnt"),setTimeout(function(){I.injectStyleTag(".__plj__adv-block{pointer-events:auto;}","","adv-block-pnt")},B.get("pevntd")?B.get("pevntd"):1e4))})})}}}(window.plj.content),window.plj=window.plj||{},window.plj.init=function(){if(window.plj.initFlag)return window.rta("dup_init"),void console.warn("Duplicate init");window.plj.log;var e=window.plj.utils,t=window.plj.config,n=window.plj.utms,i=window.plj.tests;window[t.getSiteName()]||(window[t.getSiteName()]=window.plj),window.plj.initFlag=!0,window.plj.config.init(),window.plj.analytics.init(),window.plj.cmp&&window.plj.cmp.init(),window.plj.content.init(),window.plj.getBuilds=function(){return{js_ver:"2022-09-22 11:22:33.319 UTC",js_hash:"2efdbc60",pbjs_ver:window.pbjs&&window.pbjs.version?window.pbjs.version:"na",worker_ver:window.__cf&&window.__cf.workerVersion?window.__cf.workerVersion:"na",worker_hash:window.__cf&&window.__cf.workerCodeHash?window.__cf.workerCodeHash:"na"}},window.plj.analytics.sendPV(),e.isGalleryPage()&&(n.clean(),i.delete("x0"),i.set("x0",""+e.getArticleId()),window.plj.article=window.__cf.article,i.get("worker_html")?window.plj.content.build():e.setSlideshowContainer(window.plj.content.build),function e(){try{if(!window.performance||!window.performance.getEntriesByType)return;var t=window.performance.getEntriesByType("navigation")[0];if(!t)return;if(0===Math.round(t.domComplete))return void setTimeout(e,1e3);Math.round(t.domInteractive),Math.round(t.responseEnd-t.requestStart),Math.round(t.responseEnd-t.responseStart),Math.round(t.responseStart-t.requestStart)}catch(e){console.error(e)}}(),i.get("enable_pixalate")&&e.insertJs("https://q.adrta.com/s/snz/aa.js?cb=[CACHEBUSTER]#snz;paid=snz;avid=[ADVERTISER_ID];caid=[CAMPAIGN_ID];plid=[CREATIVE_ID];publisherId=[PUBLISHER_ID];siteId=[SITE_ID];kv1=[WxH];kv2=[URL];kv3=[USER_ID];kv4=[IP];kv7=[SELLER_ID];kv11=[IMP_ID];kv15=[GEO];kv26=[DEVICE_OS];kv27=[UA];kv24=[PLACEMENT_ID];".replace("[CACHEBUSTER]",(new Date).getTime()).replace("[ADVERTISER_ID]",n.getSource()||"na").replace("[CAMPAIGN_ID]",n.getCampaign()||"na").replace("[CREATIVE_ID]",e.getArticleId()||"na").replace("[PUBLISHER_ID]",n.getMedium()||"na").replace("[SITE_ID]",window.plj.config.getSiteName()).replace("[WxH]",window.innerWidth+"x"+window.innerHeight).replace("[URL]",document.location.href).replace("[USER_ID]",window.plj.analytics.getUid()).replace("[IP]",window.__cf&&window.__cf.reqAdrs?window.__cf.reqAdrs:null).replace("[SELLER_ID]",n.getSource()?n.getSource().split("-")[0]:"na").replace("[IMP_ID]",window.sessionId).replace("[GEO]",window.plj.geo.getCountryCode()).replace("[PLACEMENT_ID]",e.getDevicePlatformLetter()).replace("[DEVICE_OS]",e.os().toLowerCase()).replace("[UA]",navigator.userAgent)))},window.plj.init(); // COMMON-MIN.JS END ':""}function we(e){var t=2\n ')):""}function xe(e,t,n){return null==t?n:re(t)?t:oe(t)?t.toString():void j.logWarn("Unsuported type for param: "+e+" required type: String")}function Ie(e,t,n){return n.indexOf(e)===t}function je(e,t){return e.concat(t)}function Se(n,e){var r;if(n)return e.some(function(e){var t=(0,l.sE)(e.bids,function(t){return["bidId","adId","bid_id"].some(function(e){return t[e]===n})});return t&&(r=t),t}),r}function Oe(e){return Object.keys(e)}function Ce(e,t){return e[t]}function Te(e,t){for(var n in e)if(e.hasOwnProperty(n)&&e[n]===t)return n}function Ee(){return(0<1)throw new Error("numRequiredCalls must be a positive number. Got ".concat(t));var n=0;return function(){++n===t&&e.apply(this,arguments)}}function Ge(e,n){return e.reduce(function(e,t){return(e[t[n]]=e[t[n]]||[]).push(t),e},{})}function Ke(n,e){return e.filter(function(e){return n[e]}).reduce(function(e,t){return Object.assign(e,(0,s.Z)({},t,n[t]))},{})}function Ye(e){var t=["banner","native","video"];return!!Object.keys(e).every(function(e){return(0,l.q9)(t,e)})&&(!e.video||!e.video.context||(0,l.q9)(["instream","outstream","adpod"],e.video.context))}function Je(e,t,n){return e.filter(function(e){return e.code===t}).map(function(e){return e.bids}).reduce(je,[]).filter(function(e){return e.bidder===n}).map(function(e){return e.params||{}})}function Qe(){return"1"===navigator.doNotTrack||"1"===window.doNotTrack||"1"===navigator.msDoNotTrack||"yes"===navigator.doNotTrack}var $$e=function(e,t){return e.getAdUnitPath()===t||e.getSlotElementId()===t};function et(t){return function(e){return $$e(t,e)}}function tt(t){return function(e){return $$e(e,t)}}function nt(e){var t;return ke()&&(t=(0,l.sE)(window.googletag.pubads().getSlots(),tt(e))),t?{gptSlot:t.getAdUnitPath(),divId:t.getSlotElementId()}:{}}function rt(e,t){var n=Object.keys(e.mediaTypes||{banner:"banner"}).join(", ");return"\n ".concat(e.code," is a ").concat(n," ad unit\n containing bidders that don't support ").concat(n,": ").concat(t,".\n This bidder won't fetch demand.\n ")}function it(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function ot(e){return e.replace(/(?:^|\.?)([A-Z])/g,function(e,t){return"_"+t.toLowerCase()}).replace(/^_/,"")}function at(n){return Object.keys(n).reduce(function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e},{})}function dt(a,d){return"object"!==(0,c.Z)(a)?{}:d.reduce(function(e,t,n){if("function"==typeof t)return e;var r=t,i=t.match(/^(.+?)\sas\s(.+?)$$/i);i&&(t=i[1],r=i[2]);var o=a[t];return"function"==typeof d[n+1]&&(o=d[n+1](o,e)),void 0!==o&&(e[r]=o),e},{})}function st(e){var r=1t[n]?-1:0}}function bt(e){return e?e.replace(/^\?/,"").split("&").reduce(function(e,t){var n=t.split("="),r=(0,a.Z)(n,2),i=r[0],o=r[1];return/\[\]$$/.test(i)?(e[i=i.replace("[]","")]=e[i]||[],e[i].push(o)):e[i]=o||"",e},{}):{}}function vt(e){return Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return"".concat(t,"[]=").concat(e)}).join("&"):"".concat(t,"=").concat(e[t])}).join("&")}function yt(e,t){var n=document.createElement("a");t&&"noDecodeWholeURL"in t&&t.noDecodeWholeURL?n.href=e:n.href=decodeURIComponent(e);var r=t&&"decodeSearchAsString"in t&&t.decodeSearchAsString;return{href:n.href,protocol:(n.protocol||"").replace(/:$$/,""),hostname:n.hostname,port:+n.port,pathname:n.pathname.replace(/^(?!\/)/,"/"),search:r?n.search:j.parseQS(n.search||""),hash:(n.hash||"").replace(/^#/,""),host:n.host||window.location.host}}function ht(e){return(e.protocol||"http")+"://"+(e.host||e.hostname+(e.port?":".concat(e.port):""))+(e.pathname||"")+(e.search?"?".concat(j.formatQS(e.search||"")):"")+(e.hash?"#".concat(e.hash):"")}function _t(e,t){var n=(2>>16,2246822507)^t(o^o>>>13,3266489909),(4294967296*(2097151&(o=t(o^o>>>16,2246822507)^t(i^i>>>13,3266489909)))+(i>>>0)).toString()}function It(e){return e?e.defaultView:null}function jt(e){try{return JSON.parse(e)}catch(e){}}function St(e,t){for(var n in t)t.hasOwnProperty(n)&&e.setAttribute(n,t[n])}},68792:function(e,t,n){n.d(t,{P:function(){return u},Z:function(){return i}});var l=n(93324),d=n(15671),o=n(43144),s=n(97326),a=n(88301),c=n(60136),p=n(82963),f=n(61120),r=n(7112),g=n(18916),m=n(42793);function b(e,t,n){!function(){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(),t.set(e,n)}var v=new WeakMap,y=new WeakMap,h=new WeakMap,i=function(e){(0,c.Z)(u,e);var r,i,t=(r=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t,n=(0,f.Z)(r);return t=i?(e=(0,f.Z)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,p.Z)(this,t)});function u(o){var e;(0,d.Z)(this,u);var r=[],i=[];function a(t,n){return function(e){if(!r.length){for(r.push(t,e);i.length;)i.shift()();n(e)}}}return e=t.call(this,"function"!=typeof o?o:function(e,t){var n,r=a(1,t),i=(n=a(0,e),function(e){return"function"==typeof(null==e?void 0:e.then)?e.then(n,r):n(e)});try{o(i,r)}catch(e){r(e)}}),b((0,s.Z)(e),v,{writable:!0,value:void 0}),b((0,s.Z)(e),y,{writable:!0,value:void 0}),b((0,s.Z)(e),h,{writable:!0,value:null}),(0,m.Z)((0,s.Z)(e),v,r),(0,m.Z)((0,s.Z)(e),y,i),e}return(0,o.Z)(u,[{key:"then",value:function(d,s){var t=this;if("function"==typeof s)for(var e=this;e;){(0,a.Z)((0,f.Z)(u.prototype),"then",this).call(e,null,function(){return null});var n=(0,g.Z)(e,h);(0,m.Z)(e,h,null),e=n}var c=(0,g.Z)(this,v),r=new u(function(o,a){function e(){var e=c[1],t=0===c[0]?[d,o]:[s,a],n=(0,l.Z)(t,2),r=n[0],i=n[1];if("function"==typeof r){try{e=r(e)}catch(e){return void a(e)}i=o}i(e)}c.length?e():(0,g.Z)(t,y).push(e)});return(0,m.Z)(r,h,this),r}}],[{key:"timeout",value:function(){var t=0"):"",'\n \n \n prebid.org wrapper\n \n ").concat(r,"\n \n \n \n ")),d=o.getAuction(e),s={type:"xml",value:a,ttlseconds:Number(e.ttl)};return c.vc.getConfig("cache.vasttrack")&&(s.bidder=e.bidder,s.bidid=e.requestId,s.aid=e.auctionId),null!=d&&(s.timestamp=d.getAuctionStart()),"string"==typeof e.customCacheKey&&""!==e.customCacheKey&&(s.key=e.customCacheKey),s}function r(e,t){var n,r={puts:e.map(o)};(0,i.h)(c.vc.getConfig("cache.url"),(n=t,{success:function(e){var t;try{t=JSON.parse(e).responses}catch(e){return void n(e,[])}t?n(null,t):n(new Error("The cache server didn't respond with a responses property."),[])},error:function(e,t){n(new Error("Error storing video ad in the cache: ".concat(e,": ").concat(JSON.stringify(t))),[])}}),JSON.stringify(r),{contentType:"text/plain",withCredentials:!0})}function a(e){return"".concat(c.vc.getConfig("cache.url"),"?uuid=").concat(e)}},20265:function(e,t,n){function r(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r>>0,o=0;if(t)n=t;else{for(;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n<3?e:n):i.value}}).apply(this,arguments)}},61120:function(e,t,n){function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},60136:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},48989:function(e,t,n){function r(e){return-1!==Function.toString.call(e).indexOf("[native code]")}n.d(t,{Z:function(){return r}})},78814:function(e,t,n){function r(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}n.d(t,{Z:function(){return r}})},59199:function(e,t,n){function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},31902:function(e,t,n){function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,d=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){d=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(d)throw i}}return o}}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},42786:function(e,t,n){function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},82963:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(71002),i=n(97326);function o(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},89611:function(e,t,n){function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},93324:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(83878),i=n(31902),o=n(40181),a=n(25267);function d(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,a.Z)()}},18415:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(61120);function i(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}},89062:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(45057),i=n(59199),o=n(40181),a=n(42786);function d(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,a.Z)()}},71002:function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$$/.test(n)?(0,r.Z)(e,t):void 0}}},7112:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(61120),i=n(89611),o=n(48989),a=n(5647);function d(e){var n="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||!(0,o.Z)(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return(0,a.Z)(e,arguments,(0,r.Z)(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),(0,i.Z)(t,e)})(e)}},5644:function(e){e.exports=JSON.parse('{"k2":{"xn":"adserverTargeting","zF":"standard"},"f":"pbjs_debug","Q_":{"GOOD":1,"NO_BID":2},"FP":{"AUCTION_INIT":"auctionInit","AUCTION_END":"auctionEnd","BID_ADJUSTMENT":"bidAdjustment","BID_TIMEOUT":"bidTimeout","BID_REQUESTED":"bidRequested","BID_RESPONSE":"bidResponse","NO_BID":"noBid","BID_WON":"bidWon","BIDDER_DONE":"bidderDone","BIDDER_ERROR":"bidderError","SET_TARGETING":"setTargeting","BEFORE_REQUEST_BIDS":"beforeRequestBids","BEFORE_BIDDER_HTTP":"beforeBidderHttp","REQUEST_BIDS":"requestBids","ADD_AD_UNITS":"addAdUnits","AD_RENDER_FAILED":"adRenderFailed","AD_RENDER_SUCCEEDED":"adRenderSucceeded","TCF2_ENFORCEMENT":"tcf2Enforcement","AUCTION_DEBUG":"auctionDebug","BID_VIEWABLE":"bidViewable","STALE_RENDER":"staleRender","BILLABLE_EVENT":"billableEvent"},"q_":{"PREVENT_WRITING_ON_MAIN_DOCUMENT":"preventWritingOnMainDocument","NO_AD":"noAd","EXCEPTION":"exception","CANNOT_FIND_AD":"cannotFindAd","MISSING_DOC_OR_ADID":"missingDocOrAdid"},"aI":{"bidWon":"adUnitCode"},"Ql":{"yE":"low","M2":"medium","lj":"high","B7":"auto","uN":"dense","qN":"custom"},"TD":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","SOURCE":"hb_source","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_ID":"hb_cache_id","CACHE_HOST":"hb_cache_host","ADOMAIN":"hb_adomain"},"kF":{"BIDDER":"hb_bidder","AD_ID":"hb_adid","PRICE_BUCKET":"hb_pb","SIZE":"hb_size","DEAL":"hb_deal","FORMAT":"hb_format","UUID":"hb_uuid","CACHE_HOST":"hb_cache_host"},"FY":{"title":"hb_native_title","body":"hb_native_body","body2":"hb_native_body2","privacyLink":"hb_native_privacy","privacyIcon":"hb_native_privicon","sponsoredBy":"hb_native_brand","image":"hb_native_image","icon":"hb_native_icon","clickUrl":"hb_native_linkurl","displayUrl":"hb_native_displayurl","cta":"hb_native_cta","rating":"hb_native_rating","address":"hb_native_address","downloads":"hb_native_downloads","likes":"hb_native_likes","phone":"hb_native_phone","price":"hb_native_price","salePrice":"hb_native_saleprice","rendererUrl":"hb_renderer_url","adTemplate":"hb_adTemplate"},"os":{"YZ":"s2s"},"UE":{"CK":"targetingSet","fe":"rendered","G9":"bidRejected"},"V1":{"body":"desc","body2":"desc2","sponsoredBy":"sponsored","cta":"ctatext","rating":"rating","address":"address","downloads":"downloads","likes":"likes","phone":"phone","price":"price","salePrice":"saleprice","displayUrl":"displayurl"},"s$$":{"sponsored":1,"desc":2,"rating":3,"likes":4,"downloads":5,"price":6,"saleprice":7,"phone":8,"address":9,"desc2":10,"displayurl":11,"ctatext":12},"oF":{"ICON":1,"MAIN":3},"zA":["sendTargetingKeys","adTemplate","rendererUrl","type"]}')}},i={};function u(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e].call(n.exports,n,n.exports,u),n.exports}u.m=r,c=[],u.O=function(e,t,n,r){if(!t){for(var i=1/0,o=0;or;o--)c[o]=c[o-1];c[o]=[t,n,r]},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},u.d=function(e,t){for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var c={5602:0};u.O.j=function(e){return 0===c[e]};function e(e,t){var n,r,i,o=t[0],a=t[1],d=t[2],s=0;if(o.some(function(e){return 0!==c[e]})){for(n in a)u.o(a,n)&&(u.m[n]=a[n]);d&&(i=d(u))}for(e&&e(t);s1e3*n.config.storage.refreshInSeconds),!d||c||o||null==i||i!==B(r)?a=n.submodule.getId(n.config,r,d):"function"==typeof n.submodule.extendId&&(a=n.submodule.extendId(n.config,r,d)),(0,x.isPlainObject)(a)&&(a.id&&(D(n,a.id),d=a.id),"function"==typeof a.callback&&(n.callback=a.callback)),d&&(n.idObj=n.submodule.decode(d,n.config))):n.config.value?n.idObj=n.config.value:(u=n.submodule.getId(n.config,r,void 0),(0,x.isPlainObject)(u)&&("function"==typeof u.callback&&(n.callback=u.callback),u.id&&(n.idObj=n.submodule.decode(u.id,n.config)))),e.push(t)}catch(e){(0,x.logError)("Error in userID module '".concat(t.submodule.name,"':"),e)}var n,r,i,o,a,d,s,c,u;return e},[]);return u.length&&(s=u,"function"==typeof(c=(0,x.getPrebidInternal)().setEidPermissions)&&(0,x.isArray)(s)&&c((0,g.Pv)(s))),u.forEach(function(e,t){for(var n=!1,r=0;r<_(t).length}return!1}function h(e){var t=e.params;this.adUnitCode=e.adUnitCode,this.bidId=e.bidId,this.bidderRequestId=e.bidderRequestId,this.auctionId=e.auctionId,this.transactionId=e.transactionId,this.gpid=(0,a.Z)(e,"ortb2Imp.ext.gpid")||(0,a.Z)(e,"ortb2Imp.ext.data.pbadslot"),this.pubId=t.pubId,this.ext=t.ext,t.pubClick&&(this.click=t.pubClick),t.dealId&&(this.dealId=t.dealId);var n=function(e){var t=document.getElementById(e);try{for(var n=t.getBoundingClientRect(),r=n.top,i=n.left,o=n.width,a=n.height,d=t.ownerDocument.defaultView,s={top:r+d.pageYOffset,left:i+d.pageXOffset,width:o,height:a},c=d.frameElement;null!=c;){var u=c.getBoundingClientRect(),l=u.top,p=u.left;s.top+=l+d.pageYOffset,s.left+=p+d.pageXOffset,c=(d=d.parent).frameElement}return s}catch(e){return null}}(e.adUnitCode);n&&(this.coords=n)}function _(e){var t=e.mediaTypes.video.playerSize;return void 0!==t&&Array.isArray(t)&&0e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){d=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(d)throw o}}}}(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value;e.iframeEnabled&&a.body.params.userSyncURL&&r.push({type:"iframe",url:a.body.params.userSyncURL}),e.pixelEnabled&&(0,y.isArray)(a.body.params.userSyncPixels)&&(o=a.body.params.userSyncPixels.map(function(e){return{type:"image",url:e}}),r.push.apply(r,(0,d.Z)(o)))}}catch(e){i.e(e)}finally{i.f()}return r},onBidWon:function(e){null!=e&&((0,y.logInfo)("onBidWon:",e),e.hasOwnProperty("nurl")&&0e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){d=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(d)throw o}}}}(t);try{for(i.s();!(n=i.n()).done;){var o,a=n.value;e.iframeEnabled&&a.body.params.userSyncURL&&r.push({type:"iframe",url:a.body.params.userSyncURL}),e.pixelEnabled&&(0,y.isArray)(a.body.params.userSyncPixels)&&(o=a.body.params.userSyncPixels.map(function(e){return{type:"image",url:e}}),r.push.apply(r,(0,d.Z)(o)))}}catch(e){i.e(e)}finally{i.f()}return r},onBidWon:function(e){null!=e&&((0,y.logInfo)("onBidWon:",e),e.hasOwnProperty("nurl")&&0<(t=t.filter(function(e){return"string"==typeof e||((0,C.logWarn)("PubMatic: acat: Each category should be a string, ignoring category: "+e),!1)}).map(function(e){return e.trim()}).filter(function(e,t,n){return n.indexOf(e)===t})).length&&((0,C.logWarn)("PubMatic: acat: Selected: ",t),e.ext.acat=t)}function m(e){return!0===(0,C.isArray)(e)&&0<=r.indexOf('span class="PubAPIAd"'))t.mediaType=k.Mk;else if(i.test(r))t.mediaType=k.pX;else try{(n=JSON.parse(r.replace(/\\/g,"")))&&n.native&&(t.mediaType=k.B5)}catch(e){(0,C.logWarn)("PubMatic: Error: Cannot parse native reponse for ad response: "+r)}}}(t,n),n.mediaType){case k.Mk:break;case k.pX:n.width=t.hasOwnProperty("w")?t.w:e.video.w,n.height=t.hasOwnProperty("h")?t.h:e.video.h,n.vastXml=t.adm,function(e,t){var n,r,i;if(t.bidderRequest&&t.bidderRequest.bids){for(var o=0;ot.length&&(t=n[r])}}catch(e){t=null}return t}((0,g.parseUrl)(d).hostname),u=s||d,l=e[0].params.publisherId,p="".concat("https://hb.undertone.com/hb","?pid=").concat(l,"&domain=").concat(c),f=v(t.gdprConsent);return f&&(p+="&".concat(f)),t.uspConsent&&(p+="&ccpa=".concat(t.uspConsent)),e.map(function(t){var e={bidRequestId:t.bidId,coordinates:function(e){var t=document.getElementById(e),n=-1,r=-1;if(t){n=t.offsetLeft,r=t.offsetTop;var i=t.offsetParent;return i&&(n+=i.offsetLeft,r+=i.offsetTop),[n,r]}return null}(t.adUnitCode),hbadaptor:"prebid",url:u,domain:c,placementId:null!=t.params.placementId?t.params.placementId:null,publisherId:t.params.publisherId,sizes:t.sizes,params:t.params},n=(0,m.Z)(t,"mediaTypes.video"),r=n?b.pX:b.Mk;e.mediaType=r,e.bidfloor=function(){if("function"!=typeof t.getFloor)return 0;var e=t.getFloor({currency:"USD",mediaType:r,size:"*"});return e&&"USD"===e.currency&&e.floor||0}(),n&&(e.video={playerSize:(0,m.Z)(t,"mediaTypes.video.playerSize")||null,streamType:(0,m.Z)(t,"mediaTypes.video.context")||null,playbackMethod:(0,m.Z)(t,"params.video.playbackMethod")||null,maxDuration:(0,m.Z)(t,"params.video.maxDuration")||null,skippable:(0,m.Z)(t,"params.video.skippable")||null}),a["x-ut-hb-params"].push(e)}),{method:"POST",url:p,withCredentials:!0,data:JSON.stringify(a)}},interpretResponse:function(e,t){var n=[],r=e.body;return r&&Array.isArray(r)&&0<=(r.floor=parseFloat(r.floor))?r.floor:void 0,rp_secure:"1",tk_flint:"".concat(j.int_type||"pbjs_lite","_v7.10.0"),"x_source.tid":e.transactionId,l_pb_bid_id:e.bidId,"x_source.pchain":r.pchain,p_screen_res:[window.screen.width,window.screen.height].join("x"),tk_user_key:r.userId,"p_geo.latitude":isNaN(parseFloat(d))?void 0:parseFloat(d).toFixed(4),"p_geo.longitude":isNaN(parseFloat(s))?void 0:parseFloat(s).toFixed(4),"tg_fl.eid":e.code,rf:O(e,t)};if("function"==typeof e.getFloor&&!j.disableFloors){try{n=e.getFloor({currency:"USD",mediaType:"banner",size:"*"})}catch(e){(0,y.logError)("Rubicon: getFloor threw an error: ",e)}c.rp_hard_floor="object"!==(0,v.Z)(n)||"USD"!==n.currency||isNaN(parseInt(n.floor))?void 0:n.floor}var u={1:"atf",3:"btf"}[(0,h.Z)(e,"mediaTypes.banner.pos")]||"";c.p_pos="atf"===r.position||"btf"===r.position?r.position:u;var l=w.vc.getConfig("user.id");return l&&(c.ppuid=l),e.userIdAsEids&&e.userIdAsEids.forEach(function(e){try{var t;"adserver.org"===e.source?(c.tpid_tdid=e.uids[0].id,c["eid_adserver.org"]=e.uids[0].id):"liveintent.com"===e.source?(c["tpid_liveintent.com"]=e.uids[0].id,c["eid_liveintent.com"]=e.uids[0].id,e.ext&&Array.isArray(e.ext.segments)&&e.ext.segments.length&&(c["tg_v.LIseg"]=e.ext.segments.join(","))):"liveramp.com"===e.source?c.x_liverampidl=e.uids[0].id:"id5-sync.com"===e.source?c["eid_id5-sync.com"]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype,"^").concat(e.uids[0].ext&&e.uids[0].ext.linkType||""):c["eid_".concat(e.source)]="".concat(e.uids[0].id,"^").concat(e.uids[0].atype||""),c.ppuid||(t=(0,p.sE)(e.uids,function(e){return e.ext&&"ppuid"===e.ext.stype}))&&t.id&&(c.ppuid=t.id)}catch(t){(0,y.logWarn)("Rubicon: error reading eid:",e,t)}}),t.gdprConsent&&("boolean"==typeof t.gdprConsent.gdprApplies&&(c.gdpr=Number(t.gdprConsent.gdprApplies)),c.gdpr_consent=t.gdprConsent.consentString),t.uspConsent&&(c.us_privacy=encodeURIComponent(t.uspConsent)),c.rp_maxbids=t.bidLimit||1,T(e,x.Mk,c),!0===w.vc.getConfig("coppa")&&(c.coppa=1),e.schain&&k(e.schain)&&(c.rp_schain=S.serializeSupplyChain(e.schain)),c},serializeSupplyChain:function(e){if(!k(e))return"";var t=e.ver,n=e.complete,r=e.nodes;return"".concat(t,",").concat(n,"!").concat(S.serializeSupplyChainNodes(r))},serializeSupplyChainNodes:function(e){var n=["asi","sid","hp","rid","name","domain"];return e.map(function(t){return n.map(function(e){return encodeURIComponent(t[e]||"")}).join(",")}).join("!")},interpretResponse:function(c,e){var u=e.bidRequest;if(!(c=c.body)||"object"!==(0,v.Z)(c))return[];if(c.seatbid){var t=(0,h.Z)(c,"ext.errors.rubicon");Array.isArray(t)&&0\n\n \n\x3c!-- Rubicon Project Ad Tag --\x3e\n \n \n \n")),a=g[t.size_id].split("x").map(function(e){return Number(e)}),d=(0,f.Z)(a,2),o.width=d[0],o.height=d[1]),o.rubiconTargeting=(Array.isArray(t.targeting)?t.targeting:[]).reduce(function(e,t){return e[t.key]=t.values[0],e},{rpfl_elemid:s.adUnitCode}),e.push(o)):(0,y.logError)("Rubicon: bidRequest undefined at index position:".concat(n),u,c),e},[]).sort(function(e,t){return(t.cpm||0)-(e.cpm||0)})},getUserSyncs:function(e,t,n,r){if(!u&&e.iframeEnabled){var i={};return n&&("boolean"==typeof n.gdprApplies&&(i.gdpr=Number(n.gdprApplies)),"string"==typeof n.consentString&&(i.gdpr_consent=n.consentString)),r&&(i.us_privacy=encodeURIComponent(r)),i=Object.keys(i).length?"?".concat((0,y.formatQS)(i)):"",u=!0,{type:"iframe",url:"https://".concat(j.syncHost||"eus",".rubiconproject.com/usync.html")+i}}},transformBidParams:function(e,t){return(0,y.convertTypes)({accountId:"number",siteId:"number",zoneId:"number"},e)}};function O(e,t){var n=e.params.referrer?e.params.referrer:t.refererInfo.page;return e.params.secure?n.replace(/^http:/i,"https:"):n}function d(e){var t,n,r,i=document.getElementById(e.adUnitCode);(t=i.querySelector("div[id^='google_ads']"))&&t.style.setProperty("display","none"),n=i.querySelector("script[id^='sas_script']"),(r=n&&n.nextSibling)&&"iframe"===r.localName&&r.style.setProperty("display","none");var o=e.renderer.getConfig();e.renderer.push(function(){window.MagniteApex.renderAd({width:e.width,height:e.height,vastUrl:e.vastUrl,placement:{attachTo:i,align:o.align||"center",position:o.position||"append"},closeButton:o.closeButton||!1,label:o.label||void 0,collapse:o.collapse||!0})})}function C(e,t){var n=e.params;if("video"===t){var r=[];return n.video&&n.video.playerWidth&&n.video.playerHeight?r=[n.video.playerWidth,n.video.playerHeight]:Array.isArray((0,h.Z)(e,"mediaTypes.video.playerSize"))&&1===e.mediaTypes.video.playerSize.length?r=e.mediaTypes.video.playerSize[0]:Array.isArray(e.sizes)&&0<2?void(r&&(0,y.logError)("Rubicon: could not determine the playerSize of the video")):(r&&(0,y.logMessage)("Rubicon: making video request for adUnit",e.adUnitCode),"video"):0===C(e,"banner").length?void(r&&(0,y.logError)("Rubicon: could not determine the sizes for banner request")):(r&&(0,y.logMessage)("Rubicon: making banner request for adUnit",e.adUnitCode),"banner")}function k(e){var t=!1,n=["asi","sid","hp"];return e.nodes&&((t=e.nodes.reduce(function(e,t){return e?n.every(function(e){return t.hasOwnProperty(e)}):e},!0))||(0,y.logError)("Rubicon: required schain params missing")),t}function o(e,t){return"rp_schain"===e?"rp_schain=".concat(t):"".concat(e,"=").concat(encodeURIComponent(t))}var u=!1;(0,r.dX)(S),window.pbjs.installedModules.push("rubiconBidAdapter")}},function(e){e(e.s=40060)}]),(self.pbjsChunk=self.pbjsChunk||[]).push([[3286],{64898:function(e,t,n){var l=n(64358),p=n(20265),r=n(14699),a=n(24679),i=n(35706),o=n(34614),d=n(25102),s="emx_digital",c="https://js.brealtime.com/outstream/1.30.0/bundle.js",u=[{key:"idl_env",source:"liveramp.com",rtiPartner:"idl",queryParam:"idl"},{key:"uid2.id",source:"uidapi.com",rtiPartner:"UID2",queryParam:"uid2"}],f={validateSizes:function(e){return(0,l.isArray)(e)&&void 0!==e[0]?e.every(function(e){return(0,l.isArray)(e)&&2===e.length}):((0,l.logWarn)("emx_digital: Sizes should be an array"),!1)},checkVideoContext:function(e){return e&&e.mediaTypes&&e.mediaTypes.video&&e.mediaTypes.video.context&&("instream"===e.mediaTypes.video.context||"outstream"===e.mediaTypes.video.context)},buildBanner:function(e){var t=[],t=e.mediaTypes&&e.mediaTypes.banner&&e.mediaTypes.banner.sizes?e.mediaTypes.banner.sizes:e.sizes;return f.validateSizes(t)||((0,l.logWarn)("emx_digital: could not detect mediaType banner sizes. Assigning to bid sizes instead"),t=e.sizes),{format:t.map(function(e){return{w:e[0],h:e[1]}}),w:t[0][0],h:t[0][1]}},formatVideoResponse:function(t,e,n){return t.vastXml=e.adm,n.bidderRequest&&n.bidderRequest.bids&&0 ").concat(i)),i}return(0,I.logWarn)("[33Across Adapter] Unable to locate element for ad unit code: '".concat(e,"'")),null}(i)),n=d.sizes,c=(0,I.isArray)(n)&&2===n.length&&!(0,I.isArray)(n[0])?[U(n)]:n.map(U),u="function"==typeof r.getFloor?c.map(function(e){var t,n=B(r,e,w.Mk);return n&&(t={ext:{ttx:{bidfloors:[n]}}}),Object.assign({},e,t)}):c,l=c.reduce(function(e,t){return t.h*t.w=t.right)return null;if(t.top=Math.max(t.top,e[n].top),t.bottom=Math.min(t.bottom,e[n].bottom),t.top>=t.bottom)return null}return t.width=t.right-t.left,t.height=t.bottom-t.top,t}([{left:0,top:0,right:t.innerWidth,bottom:t.innerHeight},o]);return null!==a?a.width*a.height/(o.width*o.height)*100:0}(e,t,{w:i,h:o}):0}(s,(0,I.getWindowTop)(),l),{ttx:{viewability:{amount:isNaN(o)?o:Math.round(o)}}})}))),(0,_.Z)(t,"mediaTypes.video")&&(f.video=function(e){var t=(0,_.Z)(e,"mediaTypes.video",{}),n=(0,_.Z)(e,"params.video",{}),r=j(j({},t),n),i={},o=U(r.playerSize[0]),a=o.w,d=o.h;i.w=a,i.h=d,O.forEach(function(e){r.hasOwnProperty(e)&&(i[e]=r[e])});var s,c=R(e);return i.placement=i.placement||2,c===S&&(i.startdelay=i.startdelay||0,i.placement=1),"function"!=typeof e.getFloor||(s=B(e,{w:i.w,h:i.h},w.pX))&&Object.assign(i,{ext:{ttx:{bidfloors:[s]}}}),i}(t)),f))}),b.site={id:y},b.device=(t=(0,I.getWindowSelf)(),{ext:{ttx:j(j({},(r=(0,I.getWindowSelf)(),i=r.innerWidth,o=r.innerHeight,a=r.screen,d=[Math.max(a.width,a.height),Math.min(a.width,a.height)],s=d[0],c=d[1],i | )/gm,"\t").replace(/(<\/td>|<\/th>)/gm,"\n").replace(/^ /gm,"").replace(/( \n| )/gm,"\n").replace(/ (.*)<\/h1>/gm,"\n\n===== $$1 =====\n\n").replace(/(.*)<\/h[2-6]>/gm,"\n\n*** $$1 ***\n\n").replace(/(<([^>]+)>)/gim,""),(0,U.logMessage)("https://console.appnexus.com/docs/understanding-the-debug-auction"),(0,U.logMessage)(n)),a;var r="in response for ".concat(o.bidderCode," adapter");return e&&e.error&&(r+=": ".concat(e.error)),(0,U.logError)(r),a},getMappingFileInfo:function(){return{url:"https://acdn.adnxs-simple.com/prebid/appnexus-mapping/mappings.json",refreshInDays:2}},getUserSyncs:function(e,t,n){if(e.iframeEnabled&&(0,Z.h)(n))return[{type:"iframe",url:"https://acdn.adnxs.com/dmp/async_usersync.html"}]},transformBidParams:function(n,e,t,r){var i,o,a=U.transformBidderParamKeywords;return!0===e&&(i=null,o=R.vc.getConfig("s2sConfig"),(0,U.isPlainObject)(o)?i=(0,D.Z)(o,"endpoint.p1Consent"):(0,U.isArray)(o)&&o.forEach(function(e){(0,B.q9)(e.bidders,t.bids[0].bidder)&&(i=(0,D.Z)(e,"endpoint.p1Consent"))}),i&&i.match("/openrtb2/prebid")&&(a=c)),n=(0,U.convertTypes)({member:"string",invCode:"string",placementId:"number",keywords:a,publisherId:"number"},n),e&&(n.use_pmt_rule="boolean"==typeof n.usePaymentRule&&n.usePaymentRule,n.usePaymentRule&&delete n.usePaymentRule,s(n.keywords)&&n.keywords.forEach(W),Object.keys(n).forEach(function(e){var t=(0,U.convertCamelToUnderscore)(e);t!==e&&(n[t]=n[e],delete n[e])})),n},onBidWon:function(e){e.native&&function(e){var t,n,r,i=function(e){var t;if((0,U.isStr)(e)&&w(e))t=e;else if((0,U.isArray)(e))for(var n=0;n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,d=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){d=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(d)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt.video.maxduration)return(0,V.logError)("IX Bid Adapter: video minduration [".concat(t.video.minduration,"] cannot be greater than video maxduration [").concat(t.video.maxduration,"]"),{bidder:G,code:g}),{};var o=r&&r.context||n&&n.context;if(o&&!t.video.hasOwnProperty("placement")&&(o===v.LD?t.video.placement=1:o===v.gZ?(0,W.Z)(r,"playerConfig.floatOnScroll")?t.video.placement=5:t.video.placement=4:(0,V.logWarn)("IX Bid Adapter: Video context '".concat(o,"' is not supported"))),!t.video.w||!t.video.h){var a=ce((0,W.Z)(t,"video.playerSize"))||ce((0,W.Z)(e,"params.size"));if(!a)return(0,V.logWarn)("IX Bid Adapter: Video size is missing in [mediaTypes.video]"),{};t.video.w=a[0],t.video.h=a[1],(0,W.Z)(t,"ext.sid")||(t.ext.sid=(0,V.parseGPTSingleSizeArray)(a))}return ie(e,t,H.pX),t}function re(e){var t={};return t.id=e.bidId,t.ext={},t.ext.siteID=e.params.siteId.toString(),!e.params.hasOwnProperty("id")||"string"!=typeof e.params.id&&"number"!=typeof e.params.id||(t.ext.sid=String(e.params.id)),t}function ie(e,t,n){var r=null,i=null;if(e.params.bidFloor&&e.params.bidFloorCur&&(r={floor:e.params.bidFloor,currency:e.params.bidFloorCur}),(0,V.isFn)(e.getFloor)){var o,a="*",d="*";n&&(0,V.contains)(I,n)&&(d=[(o=t[a=n]).w,o.h]);try{i=e.getFloor({mediaType:a,size:d})}catch(e){(0,V.logWarn)("priceFloors module call getFloor failed, error : ",e)}}i?(t.bidfloor=i.floor,t.bidfloorcur=i.currency,t.ext.fl=u):r&&(t.bidfloor=r.floor,t.bidfloorcur=r.currency,t.ext.fl=l)}function oe(e,t,n){var r={},i=!(!(0,W.Z)(e,"exp")||!(0,V.isInteger)(e.exp)),o=(0,W.Z)(e,"dealid")||(0,W.Z)(e,"ext.dealid");c.hasOwnProperty(t)?r.cpm=e.price/c[t]:r.cpm=e.price/100,r.requestId=e.impid,o&&(r.dealId=o),r.netRevenue=!0,r.currency=t,r.creativeId=e.hasOwnProperty("crid")?e.crid:"-",e.mtype==te?r.vastXml=e.adm:e.ext&&e.ext.vasturl&&(r.vastUrl=e.ext.vasturl);var a=null;if("string"==typeof e.adm&&"{"===e.adm[0]&&"}"===e.adm[e.adm.length-1])try{a=JSON.parse(e.adm)}catch(e){(0,V.logWarn)("adm looks like JSON but failed to parse: ",e)}return e.ext&&e.ext.vasturl||e.mtype==te?(r.width=n.video.w,r.height=n.video.h,r.mediaType=H.pX,r.mediaTypes=n.mediaTypes,r.ttl=i?e.exp:3600):a&&a.native?(r.native=function(e){var t,n,r,i,o,a,d,s,c={clickUrl:e.link.url,privacyLink:e.privacy},u=x(e.assets);try{for(u.s();!(t=u.n()).done;){var l=t.value,p=l.id%100;switch(l.id-p){case E:c.title=l.title&&l.title.text;break;case k:var f={url:l.img&&l.img.url,height:l.img&&l.img.h,width:l.img&&l.img.w};c[p===U?"icon":"image"]=f;break;case P:c.video=l.video&&l.video.vasttag;break;case A:n=c,r=l,(i=p)in D?n[D[i]]=r.data&&r.data.value:(0,V.logWarn)("IX Bid Adapter: native data asset type ".concat(i," is not supported"));break;default:(0,V.logWarn)("IX Bid Adapter: native asset ID ".concat(l.id," could not be recognized"))}}}catch(e){u.e(e)}finally{u.f()}return a=e,(o=c).impressionTrackers=[],Array.isArray(a.imptrackers)&&(d=o.impressionTrackers).push.apply(d,(0,F.Z)(a.imptrackers)),Array.isArray(a.link.clicktrackers)&&(s=o.impressionTrackers).push.apply(s,(0,F.Z)(a.link.clicktrackers)),Array.isArray(a.eventtrackers)&&a.eventtrackers.forEach(function(e){if(e.event===M)switch(e.method){case N:o.impressionTrackers.push(e.url);break;case q:o.javascriptTrackers=' ');var e=googletag.defineSlot("/430837318/TOTAL_TAS/Shinez",[1,1],Oe).addService(googletag.pubads()).setTargeting("tmPtS",[r.getSource()]).setTargeting("tmPtM",[r.getMedium()]).setTargeting("tmDmn",[document.location.hostname]).setTargeting("tmClnt",["Shinez"]);googletag.pubads().refresh([e])},5e3)})}catch(e){handleError("googletag",e)}}),window.plj.ademand&&(y.get("enable_aps")||y.get("enable_ademand"))&&window.plj.ademand.init(),_.getCallback("add_template_ad_units")(),_.getCallback("on_mont_init")(),_.isMinuteSite()&&window.pbjs&&(delete window.pbjs,window.pbjs=null),function(){function r(r,e,i){if(0===e)return e;if(_.getBidFloor(r)>e)return 0;if(function(){if("vidazoo"!==r&&"rise"!==r&&"ogury"!==r&&!y.get("dont_filter_bids"))try{var e="";try{e=decodeURIComponent(i.ad).toLowerCase()}catch(e){}if(!e||0===e.length)try{e=i.ad.toLowerCase()}catch(e){}if(e)for(var t=["memevideo","cbarsrv","algovid","cedato","lkqd","streamrail","spotx","allinviews","vidazoo","player.js","vplayer","videounit","springserve","freewheel","livevideo"],n=0;n<=(t=a.split("-")).length&&h.isNumeric(t[1])?parseInt(t[1],10):null))||0;d&&"number"==typeof s&&Math.abs(d-s)>i&&(n.push(a),h.updateCSS("#"+a,"width",h.getElementWidth("#"+a)+"px"),h.updateCSS("#"+a,"height",h.getElementHeight("#"+a)+"px"),h.insertHtml("#"+a,""),h.removeAttribute("#"+a,"data-google-query-id"))}0"),a="__AD_ID__-adspot-title".replace("__AD_ID__",e.code),s||(s=!0,h.updateStyle((y.get("wrap_adv_title")?".__plj__adspot-title-container {line-height: 1px!important;}":".__plj__adspot-title-container {line-height: 20px!important; text-align: center; background-color: "+(_.getParam("adv_bg_color")||"rgba(128,128,128,0.1)")+";}")+".__plj__adv-block {text-align: center}.__plj__adspot-title {font-size: 12px;font-weight:bold;text-transform: none;text-align: center;color: #bbbbbb!important;margin-bottom: 10px!important;}#__plj__mobilefooter_320x50-adspot-title-container {z-index: 99998;}")),document.getElementById(a.replace("#",""))||h.waitForElement("#"+e.code,function(){document.getElementById((a+"-container").replace("#",""))||h.insertBefore(e.code,' '+o+'Advertisement'+o+" ")})))}function K(){G(me.adUnitsConfig.mobilefooter_320x50);var e=100;y.get("video_by_force")&&(e=50),h.updateStyle("#__plj__mobilefooter_container {display:block!important;}.td-sub-footer-container { margin-bottom: "+e+"px; }","mob-foot","mob-foot");var t=document.querySelector(".jpx-ms-wrapper");t&&t.remove()}function Y(a,v,d){function s(e,t,n,r){t.bids=[];var i=_.getBidders(T)||[];"number"==typeof window.plj.tests.get("dtr_rnd_biddrs")?i=h.deterministicShuffle(i,y.get("dtr_rnd_biddrs")):"number"==typeof _.getParam("dtr_rnd_biddrs")&&(i=h.deterministicShuffle(i,_.getParam("dtr_rnd_biddrs"))),Ue&&(i=[]);for(var o,a,d,s=0;se)&&!("number"==typeof y.get("page_start_"+c)&&y.get("page_start_"+c)>e||"number"==typeof y.get("page_skip_"+c)&&e%y.get("page_skip_"+c)!=1)){if("sonobi"===c&&f.ad_unit)f.ad_unit=f.ad_unit.replace("__SITE__",_.getSiteName()).replace("__DFP_ID__",_.getDfpId());else if("vidazoo"===c){if("number"==typeof y.get("vidazoo_wpl")&&y.get("vidazoo_wpl")+1>e)continue;f.cId=f.cId||_.getParam("vidazoo_prebid_cid"),f.pId=f.pId||_.getParam("vidazoo_prebid_pid"),f.ext={},f.ext.containerId=t.getCode(e,v)}else if("teads"===c){var g=["mobilefooter_320x50","belowtitle_728x90","betweenpages_728x90","tabbnbc_728x90","tabbt_728x90","tabmt_728x90"];if(-1!==g.indexOf(n)||-1!==g.indexOf(u))continue}if(f.not_for_horizontal){var m=["mobilefooter_320x50","belowtitle_728x90","betweenpages_728x90","tabbnbc_728x90","tabbt_728x90","tabmt_728x90"];if(-1!==m.indexOf(n)||-1!==m.indexOf(u))continue;delete(f=JSON.parse(JSON.stringify(f))).not_for_horizontal}if(!("number"==typeof y.get("max_bidder_timedout")&&E[r.split("/")[2]]&&E[r.split("/")[2]][c]&&E[r.split("/")[2]][c]>y.get("max_bidder_timedout")||"number"==typeof y.get("max_bidder_no_bid")&&k[r.split("/")[2]]&&k[r.split("/")[2]][c]&&k[r.split("/")[2]][c]>y.get("max_bidder_no_bid"))){if("number"==typeof y.get("max_bidder_no_win")){var b=me.getRecordedImpressions(r.split("/")[2]);if(b.length>=y.get("max_bidder_no_win"))if(0===b.slice(-y.get("max_bidder_no_win")).filter(function(e){return e.imp_data_bidder===c}).length)continue}t.bids.push({bidder:c,params:f})}}}}}}}function e(e){var t,n,r,i,o=me.adUnitsConfig[e];return t=o,n=window.plj.tests,!(h.isMobile()&&-1===t.platforms.indexOf("m")||h.isTablet()&&-1===t.platforms.indexOf("t")||h.isDesktop()&&-1===t.platforms.indexOf("d")?"wrong_platform":!0===h.getQueryParam("napo")&&1===a?"napo":!0===n.get("no_ads_p1")&&1===a?"no_ads_p1":!1===n.get("enable_"+t.original_name.split("_")[0])?"tests_disabled":"number"==typeof n.get("page_"+t.original_name.split("_")[0])&&n.get("page_"+t.original_name.split("_")[0])>a?"tests_page":t.getCode(a,v)?"string"==typeof d&&d&&d!==t.original_name?"wrong_ad_unit":h.isGalleryPage()&&"mobilefooter_320x50"===t.original_name&&"mobilefooter_320x50"!==d?"remove_mobile_footer":"mobilefooter_320x50"===t.original_name&&document.getElementById(_.getSiteName()+"_udm_edge")?"external_footer":"":"getcode")&&((y.get("recollect_bidders")||!o.bids||!o.bids.length||h.getQueryParam("vida_adapter")||y.get("enable_vidazoo")&&_.getParam("vida_pb"))&&(o.bids=[],s(a,o,e,me.createDfpAdUnitName(e))),o.code=o.getCode(a,v),"function"==typeof o.getSizes&&(o.mediaTypes={},o.mediaTypes.banner={},o.mediaTypes.banner.sizes=o.getSizes(o.code,a),y.get("sort_sizes")&&o.mediaTypes.banner.sizes.sort(function(e,t){var n=e[0]*e[1],r=t[0]*t[1];return rwindow.innerHeight||2===y.get("hide_empty_ads"))&&(r.style.display="none",(n=document.getElementById(e+"-adspot-title-container"))&&(n.style.display="none"))}}}function Q(e){var t,n,r=(t=e).slot&&"function"==typeof t.slot.getSlotElementId?t.slot.getSlotElementId():"";if(5061555111===(n=e).advertiserId||(5062050448===n.advertiserId||(5062050388===n.advertiserId||5061540890===n.advertiserId)))-1!==r.indexOf("footer")&&K();else if(e&&e.slot&&e.slot.getTargeting("blocked_by_ge")&&e.slot.getTargeting("blocked_by_ge")[0])L("blocked_by_ge");else{var i,o,a,d,s,c,u,l=e.isEmpty;if(e.isEmpty,e.isEmpty,r!==Oe&&Ce!==e.slot){if(l){var p=H(e.slot);p&&O[p]&&re(O[p].auctionId)}else{function f(e){c.children[0].style["pointer-events"]="auto",c.removeEventListener("click",f)}-1!==r.indexOf("footer")&&K(),!le(e)&&e.slot.getTargeting("display_inventory")&&e.slot.getTargeting("display_inventory")[0]&&r&&-1===r.indexOf("sbrtinscrl")&&-1===r.indexOf("sbltinscrl")&&-1===r.indexOf("footer")&&-1===r.indexOf("ssbar")&&-1===r.indexOf("sidebarextrabottom")&&-1===r.indexOf("left_")&&-1===r.indexOf("right_")&&-1===r.indexOf("vida_")&&-1===r.indexOf("mmp_")&&-1===r.indexOf("mmp_")&&-1===r.indexOf("con_")&&-1===r.indexOf("anbl_")&&-1===r.indexOf("anbr_")&&(i=e.size&&"number"==typeof e.size[0]?e.size[0]:1,1===(o=e.size&&"number"==typeof e.size[1]?e.size[1]:1)&&document.getElementById(r)&&document.getElementById(r).getElementsByTagName("div")&&document.getElementById(r).getElementsByTagName("div")[0]&&"number"==typeof document.getElementById(r).getElementsByTagName("div")[0].clientHeight&&(o=document.getElementById(r).getElementsByTagName("div")[0].clientHeight),a=h.getElementHeight("#"+r),y.get("sticky_ads")?(d=document.querySelector("#"+r+" > div"))&&(d.className+=" ad_block_stick"):h.updateCSS("#"+r,"padding-top",(_.isSite("tup")&&h.isDesktop()?0:y.get("ad_300250_only")&&h.isMobile()&&280===o?y.get("wrap_adv_title")?30:20:900<=i?250<150?50:0:500<=a&&280<=o&&o<=290?300:500<=a&&240<=o&&o<280?320:320<=a&&290<=o&&o<320||200<=a&&280<=o&&o<=290?10:200<=a&&240<=o&&o<280?20:200<=a&&90<=o&&o<=120?110:200<=a&&50===o?125:0)+"px"),99!==y.get("inf_scrl_old_ads_kept")&&g.getIsInfiniteScroll()&&(-1!==(s=I.indexOf(r))&&I.splice(s,1),I.push(r))),e.slot.getTargeting("display_inventory")&&e.slot.getTargeting("display_inventory")[0]&&r&&y.get("dblclk_protect")&&pe(e)&&((c=document.querySelector("#"+r))&&c.children&&c.children[0]&&c.children[0].style&&(c.children[0].style["pointer-events"]="none",c.removeEventListener("click",f),c.addEventListener("click",f,!1)));try{!function(e){if(!e)return;if(e.isEmpty)return;if(le(e))return;var t=e.slot,n=t.getSlotElementId();if(!document.getElementById(n))return;var r=parseInt(t.getAdUnitPath().split("/")[1],10);if(!y.get("is_valid_gam_"+r))return;var i="na";pe(e)?21859949935===r||21804970969===r?i="t3_adx":22370725889===r?i="ax_adx":460410644===r?i="ma_adx":21740326310===r&&(i="mp_adx"):!function(e){return 219971764===e.advertiserId||(4759861670===e.advertiserId||(4801666957===e.advertiserId||(5035779551===e.advertiserId||5129822329===e.advertiserId)))}(e)?!function(e){return 4594983038===e.advertiserId||(4798864250===e.advertiserId||(4865419161===e.advertiserId||(5038381405===e.advertiserId||4681115516===e.advertiserId)))}(e)?function(e){return y.get("direct_display_id_"+e.advertiserId)}(e)&&(i="direct"):i="a9":i="pb";var o=t.getTargeting(ke)[0]||null,a=t.getTargeting("hb_adid")[0]||null,d={slot_id:n,imp_data_ad_unit:t.getAdUnitPath().split("/")[2],imp_data_type:"display",imp_data_cpm:function(e,t,n,r){var i=0,o=fe(e,"hb_pb"),a=e.getTargeting(Ee)&&e.getTargeting(Ee)[0]?se(e.getTargeting(Ee)[0]):0;-1!==t.indexOf("adx")?i=function(e,t,n){var r="number"==typeof _.getCpmConfig("adx")?_.getCpmConfig("adx"):0;if(r)return r;var i=ge(e)||0;{var o;r=t||n?Math.max(t,n,i,.01):(o="number"==typeof _.getCpmConfig("adxnobid")?_.getCpmConfig("adxnobid"):0,Math.max(o,i,.01))}return r}(e,o,a):"pb"===t?i=o:"a9"===t?i=a:"direct"===t&&((i=y.get("direct_display_cpm_"+r.sourceAgnosticLineItemId))&&"number"==typeof i||(i=y.get("direct_display_cpm_"+r.advertiserId)));var d=t;-1!==d.indexOf("_adx")&&(d=t.split("_")[0]);var s=y.get("gam_fee_"+d+"_"+n)||y.get("gam_fee_"+n);s&&"number"==typeof s&&(i-=s);{var c;"a9"===d||(c=y.get("gam_li_"+d+"_revshare_"+n))&&"number"==typeof c&&(i-=i*(1-c))}return i}(t,i,r,e),imp_data_bidder:"pb"===i?o:-1!==i.indexOf("adx")?"adx":i,imp_data_elem_id:n,floor_cpm:ge(t)||null,pb_bidder_floor:_.getBidFloor(o)||null,pb_ad_id:a,pb_cpm:fe(t,"hb_pb")||null,pb_bidder:o,a9_iid:t.getTargeting("amzniid")[0]||null,gam_advertiser_id:e.advertiserId,gam_creative_id:e.sourceAgnosticCreativeId,gam_line_item_id:e.sourceAgnosticLineItemId,gam_id:r},s=H(e.slot);if(!s)return;O[s]&&(d.auction_id=O[s].auctionId,d.auction_time=O[s].auctionTime,O[s].auctionId&&y.get("send_pbjs_extra_data")&&(v[O[s].auctionId]&&v[O[s].auctionId][t.getAdUnitPath()]&&(d.pb_timed_out_bidders_array=JSON.stringify(v[O[s].auctionId][t.getAdUnitPath()]),d.pb_timed_out_bidders=v[O[s].auctionId][t.getAdUnitPath()].length),w[O[s].auctionId]&&w[O[s].auctionId][t.getAdUnitPath()]&&(d.pb_no_bids_bidders_array=JSON.stringify(w[O[s].auctionId][t.getAdUnitPath()]),d.pb_no_bids_bidders=w[O[s].auctionId][t.getAdUnitPath()].length),x[O[s].auctionId]&&x[O[s].auctionId][t.getAdUnitPath()]&&(d.pb_bidding_bidders_array=JSON.stringify(x[O[s].auctionId][t.getAdUnitPath()]),d.pb_bidding_bidders=x[O[s].auctionId][t.getAdUnitPath()].length)));{var c;!a||"pb"!==i||(c=me.getAllBidResponses(a))&&(d.imp_data_orig_cpm=c.originalCpm,d.pb_creative_id=c.creativeId,d.pb_request_id=c.requestId,d.ttl=c.ttl,d.orig_auction_id=c.auctionId,d.is_cached_bid=d.orig_auction_id!=d.auction_id)}(function(e,t,n){var r=H(n.slot);if(!r)return;j[r]||(j[r]={eventName:e,eventData:t,divId:n.slot.getSlotElementId()});S[r]||(S[r]={eventName:e,eventData:t,divId:n.slot.getSlotElementId()})})(i,d,e),(y.get("send_on_slot_render")||y.get("send_all_events"))&&L(i+"_slot_render",d);{var u,l;"ogury"!==o||"pb"!==i||!n||(u=document.getElementById(n))&&(u.style.display="none",(l=document.getElementById(n+"-adspot-title-container"))&&(l.style.display="none"))}}(e)}catch(e){console.error(e)}}!function(e){for(var t=e.getTargetingKeys(),n=0;n<=20?void setTimeout(te,n,e,t+1,Math.floor(1.3*n)):void handleError("finding_event_memo",r.slot.getAdUnitPath()||null);ie(e)}function ne(e,t){isNaN(parseFloat(h.getQueryParam("pmul")))||(t.imp_data_cpm=t.imp_data_cpm*parseFloat(h.getQueryParam("pmul"))),y.get("adjust_rta_mff")&&window.plj.extConfig&&window.plj.extConfig.mff&&"number"==typeof window.plj.extConfig.mff&&(t.imp_data_cpm=t.imp_data_cpm*(window.plj.extConfig.mff/100)),t.imp_data_cpm=Math.max(t.imp_data_cpm,.01),"adx"===t.imp_data_bidder&&(t.before_factor_cpm=t.imp_data_cpm,t.misc=Ae,t.imp_data_cpm=t.imp_data_cpm*Pe),t.imp_data_cpm_rs=t.imp_data_cpm,window.plj.extConfig&&window.plj.extConfig.rsp&&"number"==typeof window.plj.extConfig.rsp&&(t.imp_data_cpm_rs=t.imp_data_cpm_rs*(window.plj.extConfig.rsp/100)),window.plj.extConfig&&window.plj.extConfig.rsboost&&"number"==typeof window.plj.extConfig.rsboost&&(t.imp_data_cpm_rs=t.imp_data_cpm_rs*(window.plj.extConfig.rsboost/100)),t.imp_data_cpm_rs=Math.max(t.imp_data_cpm_rs,.01),"dup_pb"!==e?(me.updateEpc(t.imp_data_cpm_rs),-1===e.indexOf("_imp")&&(e+="_imp"),t.event&&-1===t.event.indexOf("_imp")&&(t.event+="_imp"),L(e,t,!!t.send_immediately),n.push(t)):L(e,t,!!t.send_immediately)}function re(e){e?p[e]?(++p[e].renderedAds,p[e].renderedAds===p[e].adsToRender&&((y.get("send_auc_rendered_rta")||y.get("send_all_events"))&&L("auction_rendered",{auction_id:e,auction_time:new Date-p[e].startTime}),y.get("rst_after_auc_render")&&N===e&&(N=M=null))):console.warn("Can't find auction data",e):console.error("Empty auction id")}function ie(e){if(j[e]){var t=j[e].eventName,n=j[e].eventData;j[e].divId;if(delete j[e],"pb"===t&&n.pb_ad_id){if(-1!==B.indexOf(n.pb_ad_id))return void ne("dup_pb",n);B.push(n.pb_ad_id)}re(n.auction_id),ne(t,n)}else console.warn("Can't find event memo",e)}function oe(e){}function ae(e){var t,n,r=H(e.slot);r&&S[r]&&(t=S[r].eventName,n=S[r].eventData,S[r].divId,delete S[r],y.get("enable_vimp_event")&&L(t+"_view",n))}function de(){function e(e,t){return window.googletag.pubads().setTargeting(e,t)}googletag.pubads().clearTargeting();var t=window.plj.utms;y.get("use_active_gam_key")&&window.plj.extConfig&&window.plj.extConfig.activeKey&&(e("campaign_"+window.plj.extConfig.activeKey,t.getCampaignOrDefault()),e("tests_"+window.plj.extConfig.activeKey,function(){if(!y.arr)return[];if(!y.arr.length)return[];for(var e,t,n,r=[],i=0;i<=b)){var r=(new Date).getTime()-M;if(Z&&ri&&(l=!1));var p=!0;!function(e){if(e&&e.length)for(var t=0;t>2,d=(3&d)<<4|(s=(r=n+1>4,s=(15&s)<<2|(a=(i=n+2>6;a&=63,i||(a=64,r||(s=64)),t.push(e[o],e[d],e[s]||"",e[a]||"")}return t.join("")};try{return JSON.stringify(this.a&&this.a,D)}finally{Uint8Array.prototype.toJSON=e}}:function(){return JSON.stringify(this.a&&this.a,D)};var D=function(e,t){return"number"!=typeof t||!isNaN(t)&&1/0!==t&&-1/0!==t?t:String(t)};t.prototype.toString=function(){return this.a.toString()};function R(e){n(this,e)}e(R,t);function B(e){n(this,e)}e(B,t);function Z(e,t){this.c=new r(e);var n=a(t,R,5),n=new u(s,v(n,4)||"");this.b=new i(e,n,v(t,4)),this.a=t}function M(e,d){z(e,"internal_api_load_with_sb",function(e,t,n){var r,i,o,a;r=d,o=t,a=n,i=new R((i=e)?JSON.parse(i):null),i=new u(s,v(i,4)||""),y(r.c,i,3,!1,o,function(){b(function(){c(r.b),a(!1)},function(){a(!0)},v(r.a,2),v(r.a,3),v(r.a,1))})}),z(e,"internal_api_sb",function(){c(d.b)})}function N(e,t,n){for(var r=[],i=2;i