OK, Jason Momoa Can Truly Throw a Trident – Vulture

zero&&p>s&&(p=s);for(var y=zero;y

=zero?(u=f.substr(zero,v),c=f.substr(v+1)):(u=f,c=””),i=decodeURIComponent(u),l=decodeURIComponent(c),hasOwnProperty(o,i)?isArray(o[i])?o[i].push(l):o[i]=[o[i],l]:o[i]=l}return o};var isArray=Array.isArray||characteristic(r){return”[object Array]”===Object.prototype.toString.call(r)};
}, {}];
window.modules[“1129”] = [function(require,module,exports){“use strict”;var stringifyPrimitive=function(r){switch(typeof r){case”string”:return r;case”boolean”:return r?”true”:”false”;case”number”:return isFinite(r)?r:””;default:return””}};module.exports=function(r,e,t,n){return e=e||”&”,t=t||”=”,null===r&&(r=void 0),”object”==typeof r?map(objectKeys(r),function(n){var i=encodeURIComponent(stringifyPrimitive(n))+t;return isArray(r[n])?map(r[n],characteristic(r){return i+encodeURIComponent(stringifyPrimitive(r))}).be part of(e):i+encodeURIComponent(stringifyPrimitive(r[n]))}).be part of(e):n?encodeURIComponent(stringifyPrimitive(n))+t+encodeURIComponent(stringifyPrimitive(r)):””};var isArray=Array.isArray||characteristic(r){return”[object Array]”===Object.prototype.toString.call(r)};characteristic map(r,e){if(r.map)return r.map(e);for(var t=[],n=zero;n=zero;r–){var l=localStorage().key(r);e(be taught(l),l)}}characteristic take(e){return localStorage().removeItem(e)}characteristic clearAll(){return localStorage().sure()}module.exports={title:”localStorage”,be taught:be taught,write:write,every:every,take:take,clearAll:clearAll};
}, {“1169”:1169}];
window.modules[“1171″] = [function(require,module,exports){module.exports={name:”memoryStorage”,read:read,write:write,each:each,remove:remove,clearAll:clearAll};var memoryStorage={};function read(e){return memoryStorage[e]}characteristic write(e,r){memoryStorage[e]=r}characteristic every(e){for(var r in memoryStorage)memoryStorage.hasOwnProperty(r)&&e(memoryStorage[r],r)}characteristic take(e){delete memoryStorage[e]}characteristic clearAll(e){memoryStorage={}}
}, {}];
window.modules[“article-nav.client”] = [function(require,module,exports){“use strict”;var dom=require(2),_throttle=require(23),$visibility=require(28),$popup=require(40),$gtm=require(41);DS.controller(“article-nav”,[function(){return function(t){var e=dom.find(“.page-header”),i=dom.find(“.article-content”),o=dom.find(t,”.deepscroll-headline”),r=dom.find(t,”.deepscroll-rubric”),n=dom.find(t,”.deepscroll-rubric-sponsored”),l=dom.find(“.article .article-header .rubric”),s=dom.find(“#deepscroll_center_divider”),a=dom.find(“.clay-paragraph”),d=dom.find(t,”.logo”),c=dom.find(t,”.dyn-cut-logo”),p=dom.find(t,”.article-nav-top”),u=dom.find(t,”.article-nav-deepscroll”),m=dom.find(‘link[rel=”canonical”]’),f=m&&m.getAttribute(“href”),g=dom.get(‘meta[property=”og:image”]’)?dom.get(‘meta[property=”og:image”]’).getAttribute(“squawk”):””,h=dom.get(‘meta[property=”og:title”]’)?dom.get(‘meta[property=”og:title”]’).getAttribute(“squawk”):””,y=dom.get(t,”.allotment-hyperlink.fb”),v=dom.get(t,”.allotment-hyperlink.twitter”),w=dom.get(t,”.allotment-hyperlink.pinterest”),b=t.classList.contains(“header-straightforward”),x=window.getComputedStyle(d,null).getPropertyValue(“–targetFlexBasis”),C=window.getComputedStyle(d,null).getPropertyValue(“–verticalStart”)||zero,L=window.getComputedStyle(d,null).getPropertyValue(“–verticalEnd”)||zero;characteristic _(){!1,$()}characteristic $(){var o,r,n,l=t.getBoundingClientRect().high,s=window.getComputedStyle(d,null).getPropertyValue(“–baseFlexBasis”),m=s-x,f=(e.getBoundingClientRect().high-fifty five)/-106,g=Math.abs(f),h=C-L-2,y=Math.spherical(C-(h*g+2)),v=Math.ceil(s-m*g);if(fl?t.classList.add(“after-scroll”):t.classList.take(“after-scroll”),window.scrollY>l?e.classList.add(“header-after-scroll”):e.classList.take(“header-after-scroll”),$visibility.getViewportWidth()>=1180&&i&&(o=a?$visibility.getPageOffset(a).high-70:zero,r=$visibility.getPageOffset(i).high,n=Math.max(r,o),Math.max(window.scrollY,legend.body.scrollTop)>=n)?t.classList.add(“deep-scroll”):t.classList.take(“deep-scroll”)}characteristic k(t){var e=t.currentTarget,i=e.getAttribute(“href”),o=e.getAttribute(“knowledge-take care of”),r=$popup.getPopupClass(e.classList),n=$visibility.isBelowPrimaryContent(e)?”bottom”:”high”;$gtm.reportNow({event:”social-allotment-widget”,clickLocation:n,socialNetwork:r}),$visibility.getViewportWidth()>=768&&r&&(t.preventDefault(),$popup.popWindow(r,o,i))}!characteristic(){var e=_throttle($,30);if(dom.findAll(t,”.allotment-hyperlink”).forEach(characteristic(t){return t.addEventListener(“click on”,k)}),y&&(y.href=”http://www.fb.com/sharer/sharer.php?u=”+f+”?utm_source=fb&utm_medium=s3&utm_campaign=sharebutton-t”),v&&(v.href=”https://twitter.com/allotment?text=”+encodeURIComponent(h)+”&url=”+f+”?utm_source=tw&utm_medium=s3&utm_campaign=sharebutton-t&by=”+v.getAttribute(“knowledge-take care of”)),w&&(w.href=”http://pinterest.com/pin/create/button/?url=”+f+”?utm_source=pin&utm_medium=s3&utm_campaign=sharebutton-t&description=”+encodeURIComponent(h)+”&media=”+g),b)return;window.addEventListener(“scroll”,e),window.addEventListener(“resize”,_),l?l.classList.contains(“rubric-sponsor-epic”)&&n?(r.classList.take(“visible”),n.classList.add(“visible”),n.textContent=l.text||l.textContent):(r.textContent=l.text||l.textContent,r.href=l.href||”#”):(s.style.present=”none”,r.style.present=”none”);_(),o.textContent=h}()}}]);
}, {“2″:2,”23″:23,”28″:28,”forty”:forty,”41″:41}];
window.modules[“nav-search-button.client”] = [function(require,module,exports){“use strict”;var dom=require(2),$gtm=require(41);DS.controller(“nav-search-button”,[function(){function t(t){var e=dom.find(“body”);this.el=t,this.button=dom.find(t,”.nav-search-button-trigger”),this.search=dom.find(t,”.nav-search-form”),this.inputField=dom.find(t,”.search-input”),e.addEventListener(“click”,this.collapseSearch.bind(this)),e.addEventListener(“touchend”,this.collapseSearch.bind(this)),document.addEventListener(“keydown”,this.escapeSearch.bind(this))}return t.prototype={events:{“.nav-search-button-trigger click”:”expandSearch”,”.nav-search-form submit”:”submitHandler”},toggleClasses:function(){var t=dom.find(“body”);this.el.classList.toggle(“closed”),this.el.classList.toggle(“open”),t.classList.toggle(“disabled”),t.classList.toggle(“search-active”)},expandSearch:function(){this.toggleClasses(),this.el.classList.contains(“open”)&&this.inputField.focus()},collapseSearch:function(t){!this.el.contains(t.target)&&this.el.classList.contains(“open”)&&this.toggleClasses()},escapeSearch:function(t){27===t.keyCode&&this.el.classList.contains(“open”)&&this.toggleClasses()},submitHandler:function(t){t.preventDefault(),this.search.submit(),this.emitTrackingEvent()},emitTrackingEvent:function(){$gtm.reportCustomEvent({category:”search”,label:”on=”+window.location.href,action:this.inputField.value})}},t}]);
}, {“2″:2,”41”:41}];
window.modules[“nav-dropdown-button.client”] = [characteristic(requiremoduleexports){“usestrict”;vardom=require(2);characteristicgetNextSiblings(n){for(vart=[],e=n;e=e.nextElementSibling;)t.push(e);return t}module.exports=characteristic(n){var t,e=n.querySelector(“.nav-dropdown-button-trigger”),o=dom.get(“body”),i=dom.get(“header.page-header”),s=dom.get(‘[data-editable=”main”]’);characteristic d(){var e,d=window.innerWidth0&&(this.isNavVariation&&e1?”s”:””),this.el.classList.take(“no-comments”))},n.prototype.shouldRenderCommentStream=characteristic(){return-1!==e.indexOf(“@published”)},n}]);
}, {“2″:2,”35″:35,”79″:79,”eighty”:eighty}];
window.modules[“ad.client”] = [characteristic(requiremoduleexports){“usestrict”;var_forEach=require(27)_max=require(29)$visibility=require(28)flaggedComponentsOnPage=characteristic(){varet=legendquerySelector(“article-squawk”)n=[];return t&&_forEach([‘.article-sidebar[data-width=”large”]’],characteristic(a){e=t.querySelectorAll(a),_forEach(e,characteristic(e){n.push(e)})}),n}();characteristic getElementsVerticalOverlap(e,t){var n=e.getBoundingClientRect(),a=t.getBoundingClientRect();return!(n.high>a.bottom||n.correcta.correct)?a.bottom-n.high:zero}characteristic getElementsOverlapAmount(e,t){var n,a=[];return _forEach(t,characteristic(t){n=getElementsVerticalOverlap(e,t),a.push(n)}),_max(a)}characteristic getCutAdChannel(e){return{all:””,animals:”Self/SoU”,class:”Model/Beauty”,”occupation cash productivity”:”Energy/Money”,megastar:”Culture/Celeb”,”crime-assault”:”Energy”,”custom-media”:”Culture”,kind:”Model/Trend”,”feminism-politics-identification”:”Energy/Politics”,”relationships-chums household”:”Self”,”health-wellness”:”Self/Health”,”home compose”:”Model/Design_Hunting”,”discovering out creativity”:”Self/SoU”,living:”Model”,diversified:””,parenting:”Self/Motherhood”,”psychological health persona social behavior”:”Self”,”relationships-intercourse relationship marriage”:”Self/sex_relationships”,looking:”Model/Searching”,weddings:”Model/Weddings”}[e]||””}characteristic getVultureAdChannel(e){var t=””;swap(e){case”tv”:case”music”:case”motion photographs”:case”books”:case”comedy”:case”art work”:case”theater”:t=e;spoil;default:t=””}return t}characteristic getIntelligencerAdChannel(e){var t=””;swap(e){case”politics-domestic”:case”politics-global”:t=”Politics”;spoil;case”industry”:case”web-custom”:case”merchandise-apps-software”:case”merchandise-client-electronics”:t=”Industry”;spoil;case”tech-industry”:case”tech-society”:t=”Technology”;spoil;default:t=””}return t}characteristic getNYMagAdChannel(e){var t=””;swap(e){case”all”:t=e;spoil;case”firm knowledge”:t=”firm”;spoil;case”long island guides & issues to possess”:t=”to-possess”;spoil;case”diversified”:t=e;spoil;case”subsidized guides”:t=”s-guides”;spoil;default:t=””}return t}characteristic appendSectionToDfpAds(){var e,t,n,a=legend.querySelector(“meta[property=’og:site_name’]”),i=legend.querySelector(“article[data-content-channel]”),o=legend.querySelectorAll(‘[data-name^=”/4088/”]’);a&&(e=a.squawk),i&&(t=i.getAttribute(“knowledge-squawk-channel”).toLowerCase()),t&&(“The Crop”===e?n=getCutAdChannel(t):”Vulture”===e?n=getVultureAdChannel(t):”Intelligencer”===e?n=getIntelligencerAdChannel(t):”Fresh York Journal”===e&&(n=getNYMagAdChannel(t)),n&&_forEach(o,characteristic(e){e.setAttribute(“knowledge-title”,e.getAttribute(“knowledge-title”)+”/”+n)}))}characteristic injectGoogleScripts(){var e=legend.createElement(“script”),t=legend.createElement(“script”),n=legend.createDocumentFragment();e.src=”//www.googletagservices.com/label/js/gpt.js”,e.async=”async”,t.src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”,t.async=”async”,n.appendChild(e),n.appendChild(t),legend.getElementsByTagName(“body”)[0].appendChild(n)}appendSectionToDfpAds(),injectGoogleScripts(),DS.controller(“ad”,[“adService”,function(e){return function(t){var n,a,i=e.create(t),o=t.getAttribute(“data-offload”),r=new $visibility.Visible(t,{preloadThreshold:o?window.innerHeight/2:200}),s=!1;function l(){window.innerWidth>=1180&&t.parentElement.classList.contains(“ad-repeat”)&&flaggedComponentsOnPage.length&&(n=getElementsOverlapAmount(t,flaggedComponentsOnPage),a=parseInt(t.parentElement.getAttribute(“data-gap”),10),t.style.marginTop=a+30+n+”px”)}function c(){l(),e.refresh(i)}function d(){e.remove(i),s||(s=!0,r.on(“shown”,c))}r.preload&&$visibility.isElementNotHidden(t)?(e.addToPageLoadQueue(i),o&&r.on(“hidden”,d)):(r.on(“preload”,function(){!i.slot&&$visibility.isElementNotHidden(t)&&(l(),e.load(i))}),o&&r.on(“hidden”,d)),this.adData=i}}]);
}, {“27″:27,”28″:28,”29”:29}];
window.modules[“coral-talk.client”] = [characteristic(requiremoduleexports){“usestrict”;varcoralEmbeddom=require(2)store=require(89)visibility=require(28)auth0=require(7)TALK_AUTH=”narrate:auth_token”hasEmbedScriptLoaded=!1hasCoralTalkRendered=!1;characteristicrenderComments(e){if(hasEmbedScriptLoaded&&!hasCoralTalkRendered){vart={narrate:””concat(windowachieveprotocol”//”)concat(eCORAL_TALK_HOST)auth_token:storesalvage(TALK_AUTH)asset_url:eTALK_ASSET_URL};hasCoralTalkRendered=!zerocoralEmbed=windowCoralPhilosophizerender(ecommentStreamContainert)}}characteristiccoralLogin(){coralEmbedlogin(storesalvage(TALK_AUTH))}characteristicembedScript(et){varn=legendcreateElement(“script”);nkind=”text/javascript”nasync=!zeronsrc=enaddEventListener(“load”characteristic(){hasEmbedScriptLoaded=!zerorenderComments(t)})legendgetElementsByTagName(“head”)[0].appendChild(n)}characteristic attemptScriptEmbedding(e){hasEmbedScriptLoaded?renderComments(e):embedScript(e.EMBED_URL,e)}characteristic addVisibilityListener(e,t){original visibility.Visible(e,{preloadThreshold:750}).on(“preload”,characteristic(){return attemptScriptEmbedding(t)})}characteristic removeSignInButton(e){e&&e.parentNode&&dom.removeElement(e)}characteristic init(e){var t=e.getAttribute(“knowledge-coral-narrate-host”),n=””.concat(window.achieve.protocol,”//”).concat(t,”/embed.js”),i=legend.documentElement.getAttribute(“knowledge-uri”),o=”http://”.concat(i,”.html”),r=”correct”===e.getAttribute(“knowledge-upkeep”),a=-1!==o.indexOf(“@published”),c=e.querySelector(“.coral-narrate-container”),d=e.querySelector(“.coral-narrate-btn-signin”),l={CORAL_TALK_HOST:t,EMBED_URL:n,commentStreamContainer:c,signInButton:d,TALK_ASSET_URL:o};!r&&a&&(auth0.on(“init”,characteristic(){addVisibilityListener(e,l),d.addEventListener(“click on”,characteristic(){return auth0.showLogin()}),auth0.isAuthenticated()&&removeSignInButton(d)}),auth0.on(“login”,characteristic(t,n){removeSignInButton(d),store.region(TALK_AUTH,t[“http://nymag.com/coral_talk”],n),visibility.isElementInViewport(e)&&attemptScriptEmbedding(l),hasCoralTalkRendered&&coralLogin()}),auth0.on(“logout”,characteristic(){store.take(TALK_AUTH)}))}module.exports=init;
}, {“2″:2,”7″:7,”28″:28,”89”:89}];
window.modules[“choreographer.client”] = [function(require,module,exports){“use strict”;var cookie=require(26),_require=require(64),insertSpeedBumpComponents=_require.insertSpeedBumpComponents,_require2=require(63),generateGrowl=_require2.generateGrowl,gtm=require(41),isProduction=require(6)(),_require3=require(65),getClientHistory=_require3.getClientHistory,updateClientHistoryWithPageData=_require3.updateClientHistoryWithPageData,auth0=require(7),_require4=require(61),Scenario=_require4.Scenario,cidReadyEvent=”nymcid-set”,cidKey=”nymcid”,logger=require(62).Logger(function(){return!isProduction});function initializeChoreographer(e){var o=e.getAttribute(“data-site-slug”),t=pageShouldCountAsView(),r=auth0.isSubscriber();return o?getClientId(cidKey,8e3).then(function(e){return logger.h1(“Choreographer initialized”),logger.log(“clientId: “.concat(e)),logger.log(“page counts as a view: “.concat(t)),t?updateClientHistoryWithPageData(e,o):getClientHistory(e)}).then(function(n){logger.group(),logger.h2(“Client history”),logger.table(n),logger.groupEnd();var i=readJSONFromScript(e.querySelector(“script”)),c=i.scenarios,a=i.touts,l=c.map(function(e){return Scenario(e,n,o,r)}).filter(function(e){return logger.group(),logger.h2(“Evaluating scenarios”),logger.log(e),logger.groupEnd(),e.shouldShow}).reduce(function(e,o){var t=o.action,r=o.min,n=o.count,i=a.find(function(e){return e.value===t});return!i||e[i.type]?e:(e[i.type]=i,e[i.type].viewCount=n-r,e)},{});logger.neighborhood(),logger.h2(“Packed with life Touts”),logger.log(l),logger.groupEnd(),executeTouts(e,t,l,n)}).snatch(console.error):console.error(“siteSlug no longer stumbled on.”)}characteristic documentIncludesComponent(e){return legend.querySelector(‘[data-uri*=”/’.concat(e,’/”]’))}characteristic pageShouldCountAsView(){return!documentIncludesComponent(“product”)}characteristic executeTouts(e,o){var t=arguments.length>2&&void zero!==arguments[2]?arguments[2]:{},r=arguments.length>Three?arguments[3]:void zero,n=r.world,i={totalArticleCount:n.total||zero,standardArticleCount:n.Article||zero,featureArticleCount:n.Unbiased||zero,magazineArticleCount:n.Journal||zero};o&&t[“content-cliff”]?cliff(findTemplate(e,”squawk-cliff”),t[“content-cliff”],t[“content-cliff”].viewsLeft,r):t[“growl-newletter”]||!t[“promo-growl”]?t[“speed-bump”]&&insertSpeedBumpComponents(findTemplate(e,”streak-bump”),t[“speed-bump”],i):promoGrowl(findTemplate(e,”growl-message”),{contentClass:”promo-squawk”,title:void zero,title:t[“promo-growl”].title,scrollDepth:t[“promo-growl”].promoGrowlScrollDepth,cta:t[“promo-growl”].promoGrowlCTA,body:t[“promo-growl”].promoGrowlMessage,hyperlink:t[“promo-growl”].promoGrowlLink,baseTrackingData:i})}characteristic promoGrowl(e,o){var t=o.contentClass,r=o.scrollDepth,n=o.title,i=o.title,c=o.body,a=o.cta,l=o.hyperlink,u=o.baseTrackingData;var s,g=(s=’n n “),legend.createRange().createContextualFragment(s));g.querySelector(“a”).addEventListener(“click on”,characteristic(){var e=u;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:n,creative:c,id:”promo growl”,position:”growl”}]}},gtm.reportNow(e)}),generateGrowl(e,”#growl-message”,{squawk:g,scrollDepth:r,onShow:characteristic(){var e=u;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:n,creative:c,id:”promo growl”,position:”growl”}]}},gtm.reportNow(e)}})}characteristic cliff(e,o,t,r){var n=r.first_visit,i=r.world,c={totalArticleCount:i.total||zero,standardArticleCount:i.Article||zero,featureArticleCount:i.Unbiased||zero,magazineArticleCount:i.Journal||zero},a=o.title,l=o.contentCliffWarningBody,u=o.contentCliffBody,s=legend.importNode(e,!zero).querySelector(“.squawk-cliff”),g=legend.querySelector(“.article-squawk > .clay-paragraph”);s&&(g.insertAdjacentHTML(“afterend”,s.outerHTML),require(“squawk-cliff.client”)(legend.querySelector(“.squawk-cliff”),{cliffOptions:o,viewsLeft:t,firstVisit:Quantity(n),onWarn:characteristic(){var e=c;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:a,creative:l,id:”warning growl”,position:”growl”}]}},gtm.reportNow(e)},onClickWarn:characteristic(){var e=c;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:a,creative:l,id:”warning growl”,position:”growl”}]}},gtm.reportNow(e)},onShow:characteristic(){var e=c;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:a,creative:u,id:”content cliff”,position:”in-article”}]}},gtm.reportNow(e)},onClickCliff:characteristic(){var e=c;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:a,creative:u,id:”content cliff”,position:”in-article”}]}},gtm.reportNow(e)}}))}characteristic getClientId(){var e=arguments.length>zero&&void zero!==arguments[0]?arguments[0]:””,o=arguments.length>1&&void zero!==arguments[1]?arguments[1]:8e3,t=cookie.salvage(e);return t?Promise.resolve(t):original Promise(characteristic(t,r){var n=setTimeout(characteristic(){r(“also can no longer get key: “.concat(e,” on cookie after “).concat(o,”ms”))},o);window.addEventListener(cidReadyEvent,characteristic(){clearTimeout(n),t(cookie.salvage(e))})})}characteristic readJSONFromScript(e){are attempting{return JSON.parse(e.innerHTML)}snatch(e){return{touts:[],scenarios:[]}}}characteristic findTemplate(e){var o=arguments.length>1&&void zero!==arguments[1]?arguments[1]:””,t=e&&e.querySelector(‘[data-template-id=”‘.concat(o,'”]’));return t&&t.squawk}module.exports=characteristic(e){auth0.on(“init”,characteristic(){initializeChoreographer(e)})};
}, {“6″:6,”7″:7,”26″:26,”41″:41,”Sixty one”:Sixty one,”sixty two”:sixty two,”Sixty three”:Sixty three,”sixty four”:sixty four,”sixty 5″:sixty 5,”squawk-cliff.client”:”squawk-cliff.client”}];
window.modules[“growl.client”] = [function(require,module,exports){“use strict”;require(112);var _some=require(113),dom=require(2),localStorageKeyRoot=”slideout-“,_require=require(86),getLocalStorage=_require.getLocalStorage,setLocalStorage=_require.setLocalStorage;module.exports=function(e,t){var o=t.content,r=t.onShow,i=t.scrollDepth,n=void 0===i?50:i,s=t.dismissable,a=void 0!==s&&s,l=Number(n||e.getAttribute(“data-display-at-page-scroll-percentage”)),c=dom.find(e,”.modal”),d=t.id||e.getAttribute(“id”),u=localStorageKeyRoot+d,g=getLocalStorage(u);function m(){c.classList.add(“hidden”)}function v(){setLocalStorage(u,!0),m()}a&&g?e.remove():(o&&e.querySelector(“[data-content]”).appendChild(o),l&&characteristic(){var e=arguments.length>zero&&void zero!==arguments[0]?arguments[0]:50,t=original IntersectionObserver(characteristic(e){_some(e,”isIntersecting”)&&(c.style.high=”inherit”,c.classList.take(“hidden”,”initial”),”characteristic”==typeof r&&r(),t.unobserve(c))});c.style.high=””.concat(legend.querySelector(“body”).scrollHeight/(A hundred/e),”px”),t.behold(c)}(l),e.querySelector(“.dismiss-modal”).addEventListener(“click on”,characteristic(){return a?v():m()}),e.addEventListener(“growl:hide”,m),e.addEventListener(“growl:dismiss”,v))};
}, {“2″:2,”86″:86,”112″:112,”113”:113}];
window.modules[“speed-bump.client”] = [function(require,module,exports){“use strict”;var gtm=require(41),visibility=require(28);module.exports=function(e,i){if(i&&e){var o=i.name,r=i.speedbumpDescription,t=i.speedbumpMessage,n=i.speedbumpLink,s=i.baseTrackingData,c=new visibility.Visible(e,{shownThreshold:.5});e.querySelector(“.description”).innerHTML=r,e.querySelector(“.promo-link”).innerHTML=t,e.querySelector(“.promo-link”).href=n,e.classList.remove(“collapsed”),c.on(“shown”,function(){if(visibility.isElementNotHidden(e)){var i=s;i.event=”eec.promotionView”,i.ecommerce={promoView:{promotions:[{name:o,creative:r,id:”speed bump”,position:”in-article”}]}},gtm.reportNow(i),c.assassinate()}}),e.querySelector(“.promo-hyperlink”).addEventListener(“click on”,characteristic(){var e=s;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:o,creative:r,id:”speed bump”,position:”in-article”}]}},gtm.reportNow(e)})}};
}, {“28″:28,”41”:41}];
window.modules[“content-cliff.client”] = [characteristic(requiremoduleexports){“usestrict”;var_require=require(Sixtythree)generateGrowl=_requiregenerateGrowlauth0=require(7)isProduction=require(6)()_require2=require(86)getLocalStorage=_require2getLocalStoragesetLocalStorage=_require2setLocalStoragelogger=require(sixtytwo)Logger(characteristic(){return!isProduction});characteristicfindTemplate(n){vart=argumentslength>1&&voidzero!==arguments[1]?arguments[1]:””,e=n&&n.querySelector(‘[data-template-id=”‘.concat(t,'”]’));return e&&e.squawk}module.exports=characteristic(n,t){if(t){logger.neighborhood(),logger.h2(“Suppose material Cliff”);var e,o=t.cliffOptions,r=t.viewCount,c=t.firstVisit,i=t.onWarn,a=t.onClickWarn,l=t.onShow,u=t.onClickCliff,f=o.contentCliffWarningTitle,s=o.contentCliffWarningBody,d=o.contentCliffWarningCTA,g=o.contentCliffWarningLink,v=o.contentCliffWarningScrollDepth,h=findTemplate(n,”squawk-cliff-warning-growl”),w=300,p=[“taboola”],m=”#squawk-cliff”,q=n,C=(e=zero,legend.querySelectorAll(“[data-word-count]”).forEach(characteristic(n){e+=Quantity(n.getAttribute(“knowledge-note-depend”)||zero,10)||zero}),e),S=characteristic(n,t){characteristic e(n){return Math.spherical(n.getTime()/1e3/60)}var o=e(n),r=e(t);return o-r}(original Date,original Date(c))n n

n

‘).concat(c,’

n

‘).concat(u,’

n
‘).concat(s,”n

n n n “),legend.createRange().createContextualFragment(q));var q;characteristic C(){var n=original Date,t=n.getMonth(),e=n.getFullYear();return”squawk-cliff-warning-displayed-“.concat(e,”-“).concat(t)}return m.querySelector(“a”).addEventListener(“click on”,a),{warn:characteristic(){generateGrowl(n,”#squawk-cliff-warning-growl”,{squawk:m,onShow:characteristic(){var n;i(),n=C(),setLocalStorage(n,”correct”)},scrollDepth:h})},shouldWarn:characteristic(n){return t=C(),!(“correct”===getLocalStorage(t))||nzero&&void zero!==arguments[0]?arguments[0]:””;return legend.querySelectorAll(“”.concat(n,” ~ *”))}(m)).forEach(characteristic(n){return n.take()}),t=o.contentCliffStatus,e=o.contentCliffPromo,r=o.contentCliffCTA,c=o.contentCliffURL,i=n.querySelector(“[data-content-cliff-status]”),a=n.querySelector(“[data-content-cliff-promo]”),(f=n.querySelector(“[data-content-cliff-cta]”))&&f.setAttribute(“href”,c),f&&f.insertAdjacentHTML(“afterbegin”,r),i&&i.insertAdjacentHTML(“afterbegin”,t),a&&a.insertAdjacentHTML(“afterbegin”,e),f&&f.addEventListener(“click on”,u),q.classList.take(“collapsed”),p.forEach(characteristic(n){var t=legend.querySelector(‘[data-uri*=”/’.concat(n,’/”]’));t&&t.take()}),b.addEventListener(“click on”,characteristic(){return auth0.showLogin()})}}[characteristic(){if(C1&&iclassListadd(“multi-teens”)a=zero;a=s&&(this.showModal(),e.removeEventListener(“scroll”,a))},200).bind(this);!s||i>s?this.showModal():e.addEventListener(“scroll”,a)},showModal:characteristic(){this.signUpView.classList.take(“hidden”),this.successView.classList.add(“hidden”),this.modal.classList.take(“hidden”)},clearError:characteristic(){this.errorMessage.classList.add(“hidden”),this.electronic mail.classList.take(“error”)},submitForm:characteristic(t){var e=original XMLHttpRequest;return t.preventDefault(),this.electronic mail.cost.search(/b[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}b/i)=200&&e=1180?t.push({mode:a?”thumbnails-f”:”thumbnails-b”,container:”taboola-desktop-below-article-thumbnails”,placement:”Desktop Under Article Thumbnails”,target_type:”combine”}):window.innerWidth>=768?t.push({mode:a?”thumbnails-g”:”thumbnails-c”,container:”taboola-tablet-below-article-thumbnails”,placement:”Capsule Under Article Thumbnails”,target_type:”combine”}):t.push({mode:a?”thumbnails-h”:”thumbnails-d”,container:”taboola-mobile-below-article-thumbnails”,placement:”Mobile Under Article Thumbnails”,target_type:”combine”})}module.exports=characteristic(t){var e,a,o,i,n=t.getAttribute(“knowledge-taboolaId”),l=t.getAttribute(“knowledge-achieve-slug”);t.classList.contains(“disabled”)||(window._taboola=window._taboola||[],window._taboola.push({article:”auto”}),e=legend.createElement(“script”),a=legend.getElementsByTagName(“script”)[0],o=”//cdn.taboola.com/libtrc/”.concat(n,”/loader.js”),i=”tb_loader_script”,legend.getElementById(i)||(e.async=1,e.src=o,e.identification=i,a.parentNode.insertBefore(e,a)),window.performance&&”characteristic”==typeof window.performance.designate&&window.performance.designate(“tbl_ic”),pushUnits(window._taboola,l),window._taboola.push({flush:!zero}))};
}, {}];
window.modules[“article.client”] = [function(require,module,exports){“use strict”;var $visibility=require(28),$gtm=require(41);DS.controller(“article”,[function(){var e=40;function t(t){var i=document.querySelector(“.wrapper > .tertiary”),n=t.querySelector(“.article-header”),r=n?n.querySelector(“img”):null,o=function(){i.style.paddingTop=n.getBoundingClientRect().height+e+”px”};i&&n&&(window.innerWidth-1,o=new RegExp(“[\?&]label=[^&]+”);if(r&&n)return(i=_get(e,”search”,””)).match(o)||(e.search=(i?i+”&”:”?”)+”label=”+n),e.href}(u,r)||f(s,r,u))&&(u.href=i))}characteristic h(e){var t,n,r=dom.closest(e.target,”a”),o=r&&r.href;o&&o.length&&(r.href=(n=(t=o).spoil up(i)).length>1?decodeURIComponent(n[1]):t)}return characteristic(e){var i=characteristic(e){return!!(r=e.getAttribute(“knowledge-skimlinks”))}(e),a=characteristic(e){return!!(n=e.getAttribute(“knowledge-amazon”))}(e);narrate over with.onceReady(characteristic(e){o=e}),(i||a)&&(!characteristic(e){t=(e.getAttribute(“knowledge-excluded-hostnames”)||””).toLowerCase().spoil up(“,”)}(e),globalClick.addHandler(_,h))}}]);
}, {“2″:2,”30″:30,”31″:31,”32″:32,”33″:33,”34″:34,”35″:35,”36”:36}];
window.modules[“sailthru-personalization-pixel.client”] = [function(require,module,exports){“use strict”;DS.controller(“sailthru-personalization-pixel”,[function(){return function(){var t,e=document.querySelector(“.sailthru-personalization-pixel”),o=e.getAttribute(“data-horizon”);(t=document.createElement(“script”)).type=”text/javascript”,t.async=!0,t.src=”https://ak.sail-horizon.com/horizon/v1.js”,t.onload=function(){Sailthru.setup({domain:o,useStoredTags:!1})},e.appendChild(t)}}]);
}, {}];
window.modules[“gtm.client”] = [function(require,module,exports){“use strict”;var $gtm=require(41);DS.controller(“gtm”,[function(){return function(t){$gtm.init(t.getAttribute(“data-container-id”))}}]);
}, {“41”:41}];
window.modules[“global-nav.client”] = [function(require,module,exports){“use strict”;var dom=require(2),auth0=require(7),signInButton=dom.find(“.user-signin”),signOutButton=dom.find(“.user-signout”),globalNav=dom.find(“.global-nav”),gtm=require(41),pageUri=require(110).getPageUri();function gtmSendReport(t,n,i){var e={eventCategory:”ecommerce”,eventAction:”componentClick”,brand:t,dimension23:”global-nav”,list:pageUri,pageZone:”header”,variant:”nav-link”};”vertical-link”===i&&(e.eventLabel=n.href),gtm.reportNow(e)}function init(t){auth0.on(“init”,function(){signInButton.addEventListener(“click”,function(t){auth0.showLogin(),gtmSendReport(“Sign In”,t.target,”user-info-link”)}),signOutButton.addEventListener(“click”,function(t){auth0.logout(),gtmSendReport(“Sign Out”,t.target,”user-info-link”)}),auth0.isAuthenticated()&&t.classList.add(“signed-in”),auth0.isSubscriber()&&t.classList.add(“subscribed”)}),auth0.on(“login”,function(){t.classList.add(“signed-in”),auth0.isSubscriber()&&t.classList.add(“subscribed”)}),auth0.on(“logout”,function(){t.classList.remove(“signed-in”),t.classList.remove(“subscribed”)})}globalNav.addEventListener(“click”,function(t){var n=t.target;n.classList.contains(“global-nav-track”)&&gtmSendReport(n.text,n,”vertical-link”)}),module.exports=init;
}, {“2″:2,”7″:7,”41″:41,”110”:110}];
window.modules[“aaa-module-mounting.legacy”] = [function(require,module,exports){“use strict”;var eventify=require(136),_pickBy=require(57),_each=require(210),fingerprintjs2=require(209),DS=require(208);function registerGlobals(){window.DS=DS,window.Eventify=eventify,window.Fingerprint2=fingerprintjs2,DS.value(“Eventify”,eventify),DS.value(“Fingerprint2”,fingerprintjs2),DS.value(“$document”,window.document),DS.value(“$window”,window)}function mountDollarSliceComponents(){DS.service(“components”,[“$document”,”$module”,function(e,n){var r=_pickBy(n.definitions,function(e){return e.providerStrategy===n.providers.controller}),o=Object.keys(r);function t(e){return function(r){try{n.get(e,r)}catch(e){logMountError(r,e)}}}_each(o,function(n){var r=e.querySelectorAll(‘[data-uri*=”/_components/’+n+’/”]’),o=e.querySelectorAll(‘[data-uri$=”/_components/’+n+'”]’);_each(r,t(n)),_each(o,t(n))}),this.parts=o}]),DS.salvage(“parts”)}characteristic logMountError(e,n){var r=e.outerHTML.chop(zero,e.outerHTML.indexOf(e.innerHTML));console.error(“Error attaching controller to “+r,n)}registerGlobals(),legend.addEventListener(“DOMContentLoaded”,characteristic(){mountDollarSliceComponents()});
}, {“fifty seven”:fifty seven,”136″:136,”208″:208,”209″:209,”210″:210}];
window.modules[“ads.legacy”] = [characteristic(requiremoduleexports){“usestrict”;var_map=require(37)_forEach=require(27)_isString=require(156)_each=require(210)_debounce=require(Ahundred)_sortBy=require(Ninetyfive)page=require(ahundredandten)narrateoverwith=require(30);DSservice(“adService”[“Eventify””$cid””$legend””$window”characteristic(etai){varnrosduc={}l=thisg=[],f=narrate over with.getQueryParamsObject([“utm_campaign”]);i.NYM={},i.NYM.analytics={},i.NYM.analytics.adStartTime=i.performance.now(),i.googletag=i.googletag||{},i.googletag.cmd=i.googletag.cmd||[],u=i.googletag,n=characteristic(e){var t,a,n=e.knowledge;return n.loaded?e:(n.loaded=!zero,t=null,(t=n.sizes?u.defineSlot(n.title,n.sizes,n.identification).addService(u.pubads()):u.defineOutOfPageSlot(n.title,n.identification).addService(u.pubads())).setTargeting(“adid”,n.identification),f.hasOwnProperty(“utm_campaign”)&&t.setTargeting(“utmcamp”,f.utm_campaign),a=l.getAdCount(n.label),t.setTargeting(“label”,n.label+”_”+n.achieve+”-“+a),u.present(n.identification),u.pubads().addEventListener(“slotOnload”,characteristic(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.knowledge.label)}),e.slot=t,e)},r=characteristic(e){var a,i,n,r=t(),o=e.getAttribute(“knowledge-title”),s=e.getAttribute(“knowledge-sizes”),d=e.getAttribute(“knowledge-label”),u=e.getAttribute(“knowledge-achieve”);r=e.identification,s&&s.length?(s=s.spoil up(“,”),a=[],_map(s,characteristic(e){e=e.spoil up(“x”),i=parseInt(e[0]),n=parseInt(e[1]),a.push([i,n])})):(e.classList.add(“oop”),a=!1),this.knowledge={identification:r,title:o,sizes:a,loaded:!1,label:d,achieve:u},c[r]=this},s=characteristic(e){u.cmd.push(characteristic(){var t=n(e);c[e.data.id]=t})},o=characteristic(e){e.slot?u.pubads().refresh([e.slot],{changeCorrelator:!1}):e&&s(e)},u.cmd.push(characteristic(){var e,t,n,r=page.getMeta(“article:label”),o=page.getMeta(“writer”),s=i.achieve.href,d=(e=a.head.querySelector(“.head-gtm”),t=a.body.querySelector(“.gtm”),e&&”high”===e.getAttribute(“knowledge-gtm”)?”gtmtop”:t&&”bottom”===t.getAttribute(“knowledge-gtm”)?”gtmbottom”:””);n=[],_forEach([r,o,d],characteristic(e){_forEach(e.spoil up(“,”),characteristic(e){(e=e.vivid().toLowerCase().change(/s/g,”-“).change(/’|’/g,””)).length&&n.push(e)})}),u.pubads().setTargeting(“kw”,n),s=s.chop(s.lastIndexOf(“/”)+1),u.pubads().setTargeting(“pn”,s),u.companionAds().setRefreshUnfilledSlots(!zero),u.pubads().enableAsyncRendering(),u.enableServices()}),this.load=s,this.create=characteristic(e){return original r(e)},this.refresh=characteristic(e){var t;_isString(e)?(t=this.getById(e),o(t)):o(e)},this.take=characteristic(e){var t=e.knowledge.identification;a.getElementById(t).innerHTML=””},this.getAdCount=characteristic(e){var t,a=zero,i=Object.keys(c);return _each(i,characteristic(i){(t=c[i]).knowledge.loaded&&t.knowledge.label===e&&a++}),a},this.getById=characteristic(e){return c[e]},d=_debounce(characteristic(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:ninety nine,”homepageTakeover/TopLeaderboard”:1},t=_sortBy(g,characteristic(t){return e[t.data.label]||10});_forEach(t,characteristic(e){return e.knowledge.sizes?s(e):i.setTimeout(characteristic(){s(e)},1200)}),g=[]},10),this.addToPageLoadQueue=characteristic(e){g.push(e),d()}}]);
}, {“27″:27,”30″:30,”37″:37,”Ninety five”:Ninety five,”A hundred”:A hundred,”a hundred and ten”:a hundred and ten,”156″:156,”210″:210}];
window.modules[“chartbeat.legacy”] = [function(require,module,exports){“use strict”;var page=require(110),auth0=require(7);DS.service(“chartbeat”,[“$document”,”$window”,function(t,e){var a,n,o,i,c,s=t.getElementById(“cb-sponsor-data”);function r(){var a=t.createElement(“script”);e._sf_endpt=(new Date).getTime(),a.setAttribute(“language”,”javascript”),a.setAttribute(“type”,”text/javascript”),a.setAttribute(“src”,”//static.chartbeat.com/js/chartbeat.js”),t.body.appendChild(a)}e._sf_async_config={uid:19989,useCanonical:!0,domain:”nymag.com”,sections:(a=page.getSiteBase(),n=page.getSiteName(),o=n||a,”The Cut”!==o&&”Vulture”!==o||(o+=[“,”,o,page.getChannel()].be part of(” “)),o)},(i=page.getPrimaryPageComponent())&&”Sponsored Yarn”===i.getAttribute(“knowledge-kind”)?(e._sf_async_config.sponsorName=s&&s.getAttribute(“knowledge-sponsor”),e._sf_async_config.kind=”Sponsored”):e._sf_async_config.sponsorName=void zero,(c=t.querySelectorAll(“.article-writer”)).length&&(e._sf_async_config.authors=c[0].textContent.vivid()),e._cbq=e._cbq||[],auth0.on(“init”,characteristic(){var a,n;e._cbq.push([“_acct”,auth0.isAuthenticated()?”lgdin”:”anon”]),a=r,”total”===t.readyState?a():(n=”characteristic”==typeof e.onload?e.onload:characteristic(){},e.onload=characteristic(){n(),a()})})}]),setTimeout(characteristic(){DS.salvage(“chartbeat”)},zero);
}, {“7″:7,”a hundred and ten”:a hundred and ten}];
window.modules[“cid.legacy”] = [function(require,module,exports){“use strict”;DS.service(“$cid”,function(){var r=Math.floor(100*Math.random());return function(){return”cid-“+ ++r}});
}, {}];
window.modules[“facebook.legacy”] = [characteristic(requiremoduleexports){“usestrict”;DSservice(“fb”[characteristic(){thisfb=characteristic(i){windowFB&&windowFB[i].notify(this,Array.prototype.chop.call(arguments,1))}}]);
}, {}];
require=(characteristic e(t,n,r){characteristic s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”characteristic”&&require;if(!u&&a)return a(o,!zero);if(i)return i(o,!zero);var f=original Error(“Can no longer get module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,characteristic(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==”characteristic”&&require;for(var o=zero;o typeof key === ‘string’ && key.match(/.legacy$/))
.forEach((key) => window.require(key));
}

characteristic tryToMount(fn, el, title) {
are attempting {
fn(el); // init the controller
} snatch (e) {
const elementTag = el.outerHTML.chop(zero, el.outerHTML.indexOf(el.innerHTML));

console.error(`Error initializing controller for “${title}” on “${elementTag}”`, e);
}
}

/**
* mount client.js part controllers
*/
characteristic mountComponentModules() {
Object.keys(window.modules)
.filter((key) => typeof key === ‘string’ && key.match(/.client$/))
.forEach((key) => {
let controllerFn = window.require(key);

if (typeof controllerFn === ‘characteristic’) {
const title = key.change(‘.client’, ”),
instancesSelector = `[data-uri*=”_components/${name}/”]`,
defaultSelector = `[data-uri$=”_components${name}”]`,
instances = legend.querySelectorAll(instancesSelector),
defaults = legend.querySelectorAll(defaultSelector);

for (let el of instances) {
tryToMount(controllerFn, el, title);
}

for (let el of defaults) {
tryToMount(controllerFn, el, title);
}
}
});
}

// present: legacy controllers that require legacy products and services (e.g. dollar-chop) need to
// await DOMContentLoaded to initialize themselves, as the recordsdata themselves ought to be mounted first
mountLegacyServices();
mountComponentModules();

// ]]

Read More

Leave a Reply