Home Life style

0 31

When, suddenly and without explanation, Fan Bingbing, China’s most famous actress and its highest-paid celebrity, vanished, in July, conspiracy theories abounded. Had she been abducted? Was she in exile? Or had “the No. 1 beauty under the heavens,” as she is known, been having an affair with the Vice-President, and been forced into hiding? In China, where the movie industry favors fantasies and mysteries, the story of Fan’s disappearance suggested the kind of thriller in which she herself might star. But, last week, after an absence of more than three months, she resurfaced to issue a statement that could have earned her a part in a well-known TV drama series: the coerced public apology.

Fan did not speak on camera, but it was hard to imagine what could have prompted a more lip-quivering performance than the open letter that she published on Weibo, the Chinese equivalent of Twitter, where she has sixty-two million followers. After expressing “deep shame and sorrow,” she admitted to years of underreporting her earnings, through the practice of “yin and yang” contracts, in which a smaller contract is disclosed but a larger one is paid to the star. She was ordered to pay a hundred and thirty million dollars in back taxes and penalties. Her actions amounted not only to a personal misstep, she wrote, but to a betrayal of China. “I owe my success to the support from my country and the people. Without the great policies of the [Chinese Communist] Party and the country, without the love of the people, there would be no Fan Bingbing,” she wrote. “I have failed my country. ”

In a nation of runaway economic growth, where tax evasion is rampant among the wealthy, what struck many people was not Fan’s alleged misdeed—that was predictable enough to be banal—but the startling way in which her case was handled. The state has a record of disappearing human-rights activists and political dissidents, whose absences tend to attract little notice in the country. But the apparent detention of China’s top star—the South China Morning Post reported that she had been held in a “holiday resort”—marks a new era that also seems like a return to an older one. For the Chinese who lived through the Cultural Revolution, which lasted from 1966 to 1976, the tone of Fan’s contrition was reminiscent of the degrading self-criticisms that accused counter-revolutionaries were forced to write under penalty of torture or death. During that decade of heedless violence and persecution, show trials and public struggle sessions were tools that the state used to both intimidate the population and, perversely, to discredit accusations of abuses of power. When Fan professed shame for not “safeguarding the interests of my country and our society against my personal interests,” the language could have been copied from the speeches of Mao Zedong—or, for that matter, Xi Jinping—on the importance of social responsibility and patriotic duty.

Born to a humble family in the eastern city of Qingdao, in 1981, Fan grew up in the transformative years of Deng Xiaoping’s “reform and opening” free-market boom, when liberal policies presented cultural and economic opportunities that just a few years earlier the state would have deemed subversive. Vertiginous change quickly followed. The entrepreneurial ethos that Deng championed meant that, in Fan’s case, at least, if you were lucky enough to be born beautiful, worked hard, and cultivated the right patrons, you could ascend to stratospheric heights of fame and fortune. “I don’t need to marry into a wealthy family,” Fan once boasted. “I am my own wealthy family.”

By the time Fan was thirty-three, she was the fourth-highest-paid actress in the world, out-earning Angelina Jolie and Julia Roberts, and she topped Forbes’s China Celebrity List for four years. International brands and Hollywood studios looking to break into the Chinese market flocked to her. She has had roles in the “X-Men” series and in “Iron Man 3,” and will appear in the upcoming war drama “Air Strike,” starring Bruce Willis and Adrien Brody. In China, her ubiquity—she has been a brand ambassador for Louis Vuitton, Cartier, and Mercedes-Benz, among others—was rivalled only by Xi’s. For every gleaming billboard hawking a nationalist slogan below Xi’s airbrushed face there was one of a bejewelled Fan, languidly posing above a luxury-brand logo.

In China, reality has a way of resembling thriller-movie plots, with disparate events playing out like sequels of a common franchise. The day after Fan resurfaced, it was reported that Meng Hongwei, the sixty-four-year-old president of Interpol, and China’s vice-minister of public security, had vanished shortly after arriving in China on a flight from Lyon, France, where Interpol is headquartered. On Sunday, Beijing issued a brief statement that Meng was under investigation. A few hours later, Interpol reported that Meng had resigned as president. Then, on Monday, Chinese authorities announced that he was being detained on charges of bribery and corruption. His wife, Grace, who had made a public appeal for his safety—a rare move in such cases—and maintains his innocence, has not heard from him since last month. She also reported a threat on her life and is now under the protection of the French police, as are the couple’s two seven-year-old sons.

If the trials of past senior officials are any indication, Meng’s fate is already sealed. Under the Chinese legal system, the accused, once in custody, is unlikely to be granted an opportunity to present exculpatory evidence. The conviction rate across the country is more than ninety-nine per cent. Despite hints that Meng’s error may have involved political “willfulness,” we may never know the exact nature of his alleged transgression. The irony is that no one is more familiar with the internal workings of the legal system than Meng, who played a major role in the country’s policing operations, including the repatriation of high-ranking officials suspected of corruption. During the past five years, more than a million and a half officials have been punished as part of Xi’s anti-corruption crackdown. Meng’s failure to retrieve Guo Wengui, the exiled billionaire real-estate tycoon whose criticism of the Chinese government has made him a high-profile enemy of the regime, may have contributed to his downfall.

Taken together, the abrupt, spectacular falls of both Fan and Meng suggest a drastic widening of a dragnet that is primarily about Xi’s consolidation of authority. Since assuming the Presidency, in 2013, he has assiduously preached the supremacy of the Communist Party. Central to “Xi Jinping Thought,” which was enshrined in the Party’s constitution last year, at its annual conference, is the idea that fealty to the Party is no longer a choice but, once again, a duty. As Fan’s confession makes clear, the personal is necessarily political.

Deng Xiaoping’s policies—which were a deliberate correction to the devastation and the excesses of the Cultural Revolution, and which were popularly summarized as “To get rich is glorious”—remade Chinese society in such a way that people aspired to personal gain rather than revolutionary glory. People sought to build their lives around the pursuit of wealth, fame, and worldly sophistication. More troubling for the state, élites, both within the Party and outside it, came to view vast fortunes and international prominence as protections against the Party’s will.

If economic liberalization was the animating principle of Deng’s tenure, what defines Xi’s “socialism with Chinese characteristics” is a political adherence to his vision. His strategy may seem brutal, but it’s hardly illogical. Authoritarianism short-circuits when any single person, no matter how exceptional, is able to extricate himself from political obligation. (The announcement of Meng’s detention referred to the importance of an “absolute loyal political character.”) Other forms of power—outsized wealth, fame, and prestige—present the possibility of success independent of Party patronage, and, most alarming to Xi, a vision of China without the Communist state. The existence of a troublemaker like Guo Wengui is an unforgivable offense, but the possibility that China is rearing a generation of connected, monied individuals who live unbeholden to the Party is an existential terror.

Western analysts have described the arrest of Meng as a “self-inflicted blow” to the Party’s legitimacy; in conducting a secretive investigation, the theory goes, China has hurt its international profile and damaged global good will. But it’s likely that, in Xi’s calculation, a political threat at home is far costlier than a few unflattering op-eds in the international press. His refusal to submit to international norms may even mark a brash attempt to build a new framework, one underwritten by might rather than by the perception of what is right.

0 37

Use of and/or registration on any portion of this site constitutes acceptance of our User Agreement (updated 5/28/18) and Privacy Policy and Cookie Statement (updated 5/28/18).

Your CA Privacy Rights.

The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of Condé Nast.

0 33

‘:””},t.getDefinedParams=function(e,t){return t.filter(function(t){return e[t]}).reduce(function(t,r){return n(t,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},r,e[r]))},{})},t.isValidMediaTypes=function(e){var t=["banner","native","video"];return!!Object.keys(e).every(function(e){return t.includes(e)})(!e.video||!e.video.context||["instream","outstream"].includes(e.video.context))},t.unsupportedBidderMessage=function(e,t){var r=e.mediaType||Object.keys(e.mediaTypes).join(“, “),n=1===t.length?”This bidder”:”These bidders”;return”n “+e.code+” is a “+r+” ad unitn containing bidders that don’t support “+r+”: “+t.join(“, “)+”.n “+n+” won’t fetch demand.n “};var o,a=r(8),s=(o=r(61))o.__esModule?o:{default:o},d=r(2),u=!1,c=Object.prototype.toString,l=null;try{l=console.info.bind(window.console)}catch(e){}t.replaceTokenInString=function(e,t,r){return this._each(t,function(t,n){t=void 0===t?””:t;var i=r+n.toUpperCase()+r,o=new RegExp(i,”g”);e=e.replace(o,t)}),e};var f,p=(f=0,function(){return++f});function g(){return p()+Math.random().toString(16).substr(2)}function v(e){if(t.isArray(e)2===e.length!isNaN(e[0])!isNaN(e[1]))return e[0]+”x”+e[1]}function m(){return window.consolewindow.console.log}t.getUniqueIdentifierStr=g,t.generateUUID=function e(t){return t?(t^16*Math.random()t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},t.getBidIdParameter=function(e,t){return tt[e]?t[e]:””},t.tryAppendQueryString=function(e,t,r){return r?e+(t+”=”)+encodeURIComponent(r)+””:e},t.parseQueryStringParameters=function(e){var t=””;for(var r in e)e.hasOwnProperty(r)(t+=r+”=”+encodeURIComponent(e[r])+””);return t},t.transformAdServerTargetingObj=function(e){return eObject.getOwnPropertyNames(e).length0?S(e).map(function(t){return t+”=”+encodeURIComponent(E(e,t))}).join(“”):””},t.getTopWindowLocation=function(){var e=void 0;try{window.top.location.toString(),e=window.top.location}catch(t){e=window.location}return e},t.getTopWindowUrl=function(){var e=void 0;try{e=this.getTopWindowLocation().href}catch(t){e=””}return e},t.getTopWindowReferrer=function(){try{return window.top.document.referrer}catch(e){return document.referrer}},t.logWarn=function(e){b()console.warnconsole.warn(“WARNING: “+e)},t.logInfo=function(e,t){b()m()l(t0!==t.length||(t=””),l(“INFO: “+e+(“”===t?””:” : params : “),t))},t.logMessage=function(e){b()m()console.log(“MESSAGE: “+e)},t.hasConsoleLogger=m;var b=function(){if(!1===a.config.getConfig(“debug”)!1===u){var e=”TRUE”===y(d.DEBUG_MODE).toUpperCase();a.config.setConfig({debug:e}),u=!0}return!!a.config.getConfig(“debug”)};t.debugTurnedOn=b,t.logError=function(){b()window.consolewindow.console.errorconsole.error.apply(console,arguments)},t.createInvisibleIframe=function(){var e=document.createElement(“iframe”);return e.id=g(),e.height=0,e.width=0,e.border=”0px”,e.hspace=”0″,e.vspace=”0″,e.marginWidth=”0″,e.marginHeight=”0″,e.style.border=”0″,e.scrolling=”no”,e.frameBorder=”0″,e.src=”about:blank”,e.style.display=”none”,e};var y=function(e){var t=new RegExp(“[\?]“+e+”=([^]*)”).exec(window.location.search);return null===t?””:decodeURIComponent(t[1].replace(/+/g,” “))};t.getParameterByName=y,t.hasValidBidRequest=function(e,t,r){var n=!1;function i(e,r){r===t[o](n=!0)}for(var o=0;o0);for(var r in e)if(hasOwnProperty.call(e,r))return!1;return!0},t.isEmptyStr=function(e){return this.isStr(e)(!e||0===e.length)},t._each=function(e,t){if(!this.isEmpty(e)){if(this.isFn(e.forEach))return e.forEach(t,this);var r=0,n=e.length;if(n0)for(;r’+”:””},t.createTrackPixelIframeHtml=function(e){var r=!(arguments.length1void 0!==arguments[1])||arguments[1],n=arguments.length2void 0!==arguments[2]?arguments[2]:””;return e?(r(e=encodeURI(e)),n(n=’sandbox=”‘+n+’”‘),”‘):””},t.getIframeDocument=function(e){if(e){var t=void 0;try{t=e.contentWindow?e.contentWindow.document:e.contentDocument.document?e.contentDocument.document:e.contentDocument}catch(e){this.logError(“Cannot get iframe document”,e)}return t}},t.getValueString=function(e,t,r){return null==t?r:this.isStr(t)?t:this.isNumber(t)?t.toString():void this.logWarn(“Unsuported type for param: “+e+” required type: String”)}},function(e,t,r){var n=Object.assign||function(e){for(var t=1;t2void 0!==arguments[2]?arguments[2]:{}).supportedMediaTypes,i=void 0===n?[]:n;er?”function”==typeof e.callBids?(f[r]=e,i.includes(“video”)t.videoAdapters.push(r),i.includes(“native”)a.nativeAdapters.push(r)):d.logError(“Bidder adaptor error for bidder code: “+r+”bidder must implement a callBids() function”):d.logError(“bidAdaptor or bidderCode not specified”)},t.aliasBidAdapter=function(e,r){var i,o;if(void 0===f[r]){var u=f[e];if(void 0===u)d.logError(‘bidderCode “‘+e+’” is not an existing bidder.’,”adaptermanager.aliasBidAdapter”);else try{var c=void 0,l=(i=e,o=[],t.videoAdapters.includes(i)o.push(“video”),a.nativeAdapters.includes(i)o.push(“native”),o);if(u.constructor.prototype!=Object.prototype)(c=new u.constructor).setBidderCode(r);else{var p=u.getSpec();c=(0,s.newBidder)(n({},p,{code:r}))}this.registerBidAdapter(c,r,{supportedMediaTypes:l})}catch(t){d.logError(e+” bidder does not currently support aliasing.”,”adaptermanager.aliasBidAdapter”)}}else d.logMessage(‘alias name “‘+r+’” has been already specified.’)},t.registerAnalyticsAdapter=function(e){var t=e.adapter,r=e.code;tr?”function”==typeof t.enableAnalytics?(t.code=r,m[r]=t):d.logError(‘Prebid Error: Analytics adaptor error for analytics “‘+r+’”n analytics adapter must implement an enableAnalytics() function’):d.logError(“Prebid Error: analyticsAdapter or analyticsCode not specified”)},t.enableAnalytics=function(e){d.isArray(e)||(e=[e]),d._each(e,function(e){var t=m[e.provider];t?t.enableAnalytics(e):d.logError(“Prebid Error: no analytics adapter found in registry forn “+e.provider+”.”)})},t.setBidderSequence=function(e){v[e]?b=e:d.logWarn(“Invalid order: “+e+”. Bidder Sequence was not set.”)},t.getBidAdapter=function(e){return f[e]},t.setS2SConfig=function(e){p=e},t.setS2STestingModule=function(e){l=e}},function(e,t){e.exports={JSON_MAPPING:{PL_CODE:”code”,PL_SIZE:”sizes”,PL_BIDS:”bids”,BD_BIDDER:”bidder”,BD_ID:”paramsd”,BD_PL_ID:”placementId”,ADSERVER_TARGETING:”adserverTargeting”,BD_SETTING_STANDARD:”standard”},REPO_AND_VERSION:”prebid_prebid_0.34.16″,DEBUG_MODE:”pbjs_debug”,STATUS:{GOOD:1,NO_BID:2},CB:{TYPE:{ALL_BIDS_BACK:”allRequestedBidsBack”,AD_UNIT_BIDS_BACK:”adUnitBidsBack”,BID_WON:”bidWon”,REQUEST_BIDS:”requestBids”}},EVENTS:{AUCTION_INIT:”auctionInit”,AUCTION_END:”auctionEnd”,BID_ADJUSTMENT:”bidAdjustment”,BID_TIMEOUT:”bidTimeout”,BID_REQUESTED:”bidRequested”,BID_RESPONSE:”bidResponse”,BID_WON:”bidWon”,SET_TARGETING:”setTargeting”,REQUEST_BIDS:”requestBids”,ADD_AD_UNITS:”addAdUnits”},EVENT_ID_PATHS:{bidWon:”adUnitCode”},GRANULARITY_OPTIONS:{LOW:”low”,MEDIUM:”medium”,HIGH:”high”,AUTO:”auto”,DENSE:”dense”,CUSTOM:”custom”},TARGETING_KEYS:["hb_bidder","hb_adid","hb_pb","hb_size","hb_deal"],S2S:{DEFAULT_ENDPOINT:”https://prebid.adnxs.com/pbs/v1/auction”,SRC:”s2s”,ADAPTER:”prebidServer”,SYNC_ENDPOINT:”https://prebid.adnxs.com/pbs/v1/cookie_sync”,SYNCED_BIDDERS_KEY:”pbjsSyncs”}}},function(e,t,r){var n=Object.assign||function(e){for(var t=1;tpbjs.cbTimeout+pbjs.timeoutBuffert.executeCallback(!0)}function w(e){var r;m.emit(p.EVENTS.BID_RESPONSE,e),pbjs._bidsReceived.push(e),e.adUnitCodefunction(e){var t=this;return pbjs._bidsRequested.map(function(r){return r.bids.filter(o.adUnitsFilter.bind(t,pbjs._adUnitCodes)).filter(function(t){return t.placementCode===e})}).reduce(o.flatten,[]).map(function(e){return”indexExchange”===e.bidder?e.sizes.length:1}).reduce(I,0)===pbjs._bidsReceived.filter(function(t){return t.adUnitCode===e}).length}(e.adUnitCode)(r=[e.adUnitCode],x(b.byAdUnit,r)),S()t.executeCallback()}function T(e,t){var r={},i=pbjs.bidderSettings;return tiA(r,j(),t),etii[e]i[e][p.JSON_MAPPING.ADSERVER_TARGETING]?(A(r,i[e],t),t.alwaysUseBid=i[e].alwaysUseBid,t.sendStandardTargeting=i[e].sendStandardTargeting):y[e](A(r,y[e],t),t.alwaysUseBid=y[e].alwaysUseBid,t.sendStandardTargeting=y[e].sendStandardTargeting),t.native(r=n({},r,(0,s.getNativeTargeting)(t))),r}function A(e,t,r){var n=t[p.JSON_MAPPING.ADSERVER_TARGETING];return r.size=r.getSize(),v._each(n,function(n){var i=n.key,o=n.val;if(e[i]v.logWarn(“The key: “+i+” is getting ovewritten”),v.isFn(o))try{o=o(r)}catch(e){v.logError(“bidmanager”,”ERROR”,e)}(void 0===t.suppressEmptyKeys||!0!==t.suppressEmptyKeys)”hb_deal”!==i||!v.isEmptyStr(o)null!=o?e[i]=o:v.logInfo(“suppressing empty key ‘”+i+”‘ from adserver targeting”)}),e}function x(e,t){var r=this;v.isArray(e)e.forEach(function(e){var n=t||pbjs._adUnitCodes,i=[pbjs._bidsReceived.filter(o.adUnitsFilter.bind(r,n)).reduce(D,{})];e.apply(pbjs,i)})}function D(e,t){return e[t.adUnitCode]||(e[t.adUnitCode]={bids:[]}),e[t.adUnitCode].bids.push(t),e}function C(e){var t=e.bidderCode,r=e.cpm,i=void 0;if(pbjs.bidderSettings(tpbjs.bidderSettings[t]“function”==typeof pbjs.bidderSettings[t].bidCpmAdjustment?i=pbjs.bidderSettings[t].bidCpmAdjustment:pbjs.bidderSettings[p.JSON_MAPPING.BD_SETTING_STANDARD]“function”==typeof pbjs.bidderSettings[p.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment(i=pbjs.bidderSettings[p.JSON_MAPPING.BD_SETTING_STANDARD].bidCpmAdjustment),i))try{r=i(e.cpm,n({},e))}catch(e){v.logError(“Error during bid adjustment”,”bidmanager.js”,e)}r=0(e.cpm=r)}function j(){var e=l.config.getConfig(“priceGranularity”),t=pbjs.bidderSettings;return t[p.JSON_MAPPING.BD_SETTING_STANDARD]||(t[p.JSON_MAPPING.BD_SETTING_STANDARD]={}),t[p.JSON_MAPPING.BD_SETTING_STANDARD][p.JSON_MAPPING.ADSERVER_TARGETING]||(t[p.JSON_MAPPING.BD_SETTING_STANDARD][p.JSON_MAPPING.ADSERVER_TARGETING]=[{key:"hb_bidder",val:function(e){return e.bidderCode}},{key:"hb_adid",val:function(e){return e.adId}},{key:"hb_pb",val:function(t){return e===p.GRANULARITY_OPTIONS.AUTO?t.pbAg:e===p.GRANULARITY_OPTIONS.DENSE?t.pbDg:e===p.GRANULARITY_OPTIONS.LOW?t.pbLg:e===p.GRANULARITY_OPTIONS.MEDIUM?t.pbMg:e===p.GRANULARITY_OPTIONS.HIGH?t.pbHg:e===p.GRANULARITY_OPTIONS.CUSTOM?t.pbCg:void 0}},{key:"hb_size",val:function(e){return e.size}},{key:"hb_deal",val:function(e){return e.dealId}}]),t[p.JSON_MAPPING.BD_SETTING_STANDARD]}t.getTimedOutBidders=function(){return pbjs._bidsRequested.map(h).filter(o.uniques).filter(function(e){return pbjs._bidsReceived.map(_).filter(o.uniques).indexOf(e)0||e.dealId)(s=T(e.bidderCode,e)),e.adserverTargeting=n(e.adserverTargeting||{},s)}(t,e),”video”===t.mediaType?(r=t,l.config.getConfig(“usePrebidCache”)!r.videoCacheKey?(0,u.store)([r],function(e,t){e?v.logWarn(“Failed to save to the video cache: “+e+”. Video bid must be discarded.”):(r.videoCacheKey=t[0].uuid,r.vastUrl||(r.vastUrl=(0,u.getCacheUrl)(r.videoCacheKey)),w(r)),E(r)}):(w(r),E(r))):(w(t),E(t)))}),t.getKeyValueTargetingPairs=function(){return T.apply(void 0,arguments)},t.registerDefaultBidderSetting=function(e,t){y[e]=t},t.executeCallback=function(e){if(!eb.timerclearTimeout(b.timer),!0!==b.all.called(x(b.all),b.all.called=!0,e)){var r=t.getTimedOutBidders();r.lengthm.emit(p.EVENTS.BID_TIMEOUT,r)}if(b.oneTime){m.emit(g);try{x([b.oneTime])}catch(e){v.logError(“Error executing bidsBackHandler”,null,e)}finally{b.oneTime=null,b.timer=!1,pbjs.clearAuction()}}},t.externalCallbackReset=function(){b.all.called=!1},t.addOneTimeCallback=function(e,t){b.oneTime=e,b.timer=t},t.addCallback=function(e,t,r){t.id=e,p.CB.TYPE.ALL_BIDS_BACK===r?b.all.push(t):p.CB.TYPE.AD_UNIT_BIDS_BACK===rb.byAdUnit.push(t)},m.on(p.EVENTS.BID_ADJUSTMENT,function(e){C(e)}),t.adjustBids=function(){return C.apply(void 0,arguments)},t.getStandardBidderAdServerTargeting=function(){return j()[p.JSON_MAPPING.ADSERVER_TARGETING]}},function(e,t,r){var n=r(0);t.createBid=function(e,t){return new function(e,t){var r=tt.bidId||n.getUniqueIdentifierStr(),i=ethis.bidderCode=tt.bidder||””,this.width=0,this.height=0,this.statusMessage=function(){switch(i){case 0:return”Pending”;case 1:return”Bid available”;case 2:return”Bid returned empty or error response”;case 3:return”Bid timed out”}}(),this.adId=r,this.mediaType=”banner”,this.getStatusCode=function(){return i},this.getSize=function(){return this.width+”x”+this.height}}(e,t)}},function(e,t,r){var n=r(0),i={};function o(e,t){var r=document.createElement(“script”);r.type=”text/javascript”,r.async=!0,t”function”==typeof t(r.readyState?r.onreadystatechange=function(){“loaded”!==r.readyState”complete”!==r.readyState||(r.onreadystatechange=null,t())}:r.onload=function(){t()}),r.src=e;var n=document.getElementsByTagName(“head”);(n=n.length?n:document.getElementsByTagName(“body”)).length(n=n[0]).insertBefore(r,n.firstChild)}t.loadScript=function(e,t,r){e?r?i[e]?t”function”==typeof t(i[e].loaded?t():i[e].callbacks.push(t)):(i[e]={loaded:!1,callbacks:[]},t”function”==typeof ti[e].callbacks.push(t),o(e,function(){i[e].loaded=!0;try{for(var t=0;t3void 0!==arguments[3]?arguments[3]:{};try{var c=void 0,l=!1,f=u.method||(r?”POST”:”GET”),p=”object”===(void 0===t?”undefined”:i(t))?t:{success:function(){a.logMessage(“xhr success”)},error:function(e){a.logError(“xhr error”,null,e)}};if(“function”==typeof t(p.success=t),window.XMLHttpRequest?void 0===(c=new window.XMLHttpRequest).responseType(l=!0):l=!0,l?((c=new window.XDomainRequest).onload=function(){p.success(c.responseText,c)},c.onerror=function(){p.error(“error”,c)},c.ontimeout=function(){p.error(“timeout”,c)},c.onprogress=function(){a.logMessage(“xhr onprogress”)}):c.onreadystatechange=function(){if(c.readyState===s){var e=c.status;e=200e0;)try{this.cmd.shift().call()}catch(e){i.logError(“Error processing Renderer command: “,e)}}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.userSync=void 0;var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!ns.returns.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError(“Invalid attempt to destructure non-iterable instance”)},i=Object.assign||function(e){for(var t=1;t=u.syncsPerBidder?o.logWarn(‘Number of user syncs exceeded for “{$bidder}”‘):u.enabledBiddersu.enabledBidders.lengthu.enabledBidders.indexOf(t)0void 0!==arguments[0]?arguments[0]:0;if(e)return window.setTimeout(c,Number(e));c()},t.triggerUserSyncs=function(){u.enableOverridet.syncUsers()},t}a.config.setDefaults({userSync:{syncEnabled:!0,pixelEnabled:!0,syncsPerBidder:5,syncDelay:3e3}});var d=!o.isSafariBrowser()o.cookiesAreEnabled();t.userSync=s({config:a.config.getConfig(“userSync”),browserSupportsCookies:d})},function(e,t){var r=e.exports=”undefined”!=typeof windowwindow.Math==Math?window:”undefined”!=typeof selfself.Math==Math?self:Function(“return this”)();”number”==typeof __g(__g=r)},function(e,t){var r=e.exports={version:”2.5.3″};”number”==typeof __e(__e=r)},function(e,t){e.exports=function(e){return”object”==_typeof(e)?null!==e:”function”==typeof e}},function(e,t,r){var n=r(16),i=r(14),o=r(28),a=r(412),s=r(48),d=”prototype”,u=function e(t,r,u){var c,l,f,p,g=te.F,v=te.G,m=te.P,b=te.B,y=v?n:te.S?n[r]||(n[r]={}):(n[r]||{})[d],h=v?i:i[r]||(i[r]={}),_=h[d]||(h[d]={});for(c in v(u=r),u)f=((l=!gyvoid 0!==y[c])?y:u)[c],p=bl?s(f,n):m”function”==typeof f?s(Function.call,f):f,ya(y,c,f,te.U),h[c]!=fo(h,c,p),m_[c]!=f(_[c]=f)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=function(e){return”object”==_typeof(e)?null!==e:”function”==typeof e}},function(e,t,r){var n=r(19),i=r(20),o=r(36),a=r(103),s=”prototype”,d=function e(t,r,d){var u,c,l,f=te.F,p=te.G,g=te.S,v=te.P,m=te.B,b=te.W,y=p?i:i[r]||(i[r]={}),h=y[s],_=p?n:g?n[r]:(n[r]||{})[s];for(u in p(d=r),d)(c=!f_void 0!==_[u])u in y||(l=c?_[u]:d[u],y[u]=p”function”!=typeof _[u]?d[u]:mc?o(l,n):b_[u]==l?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t[s]=e[s],t}(l):v”function”==typeof l?o(Function.call,l):l,v((y.virtual||(y.virtual={}))[u]=l,te.Rh!h[u]a(h,u,l)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},function(e,t,r){e.exports=!r(37)(function(){return 7!=Object.defineProperty({},”a”,{get:function(){return 7}}).a})},function(e,t){e.exports=function(){}},function(e,t,r){var n=r(0),i=r(8),o=r(15);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(3),d=r(0),u=r(2),c=t,l=[];function f(e){return”string”==typeof e?[e]:d.isArray(e)?e:pbjs._adUnitCodes||[]}function p(){return s.getStandardBidderAdServerTargeting().map(function(e){return e.key}).concat(u.TARGETING_KEYS).filter(n.uniques)}function g(e){return{adUnitCode:e,cpm:0,adserverTargeting:{},timeToRespond:0}}c.resetPresetTargeting=function(e){if((0,n.isGptPubadsDefined)()){var t=f(e),r=pbjs.adUnits.filter(function(e){return t.includes(e.code)});window.googletag.pubads().getSlots().forEach(function(e){l.forEach(function(t){r.forEach(function(r){r.code!==e.getAdUnitPath()r.code!==e.getSlotElementId()||e.setTargeting(t,null)})})})}},c.getAllTargeting=function(e){var t,r,s,d,v,m,b=f(e),y=(d=b,v=c.getWinningBids(d),m=p(),v=v.map(function(e){return a({},e.adUnitCode,Object.keys(e.adserverTargeting).filter(function(t){return void 0===e.sendStandardTargeting||e.sendStandardTargeting||-1===m.indexOf(t)}).map(function(t){return a({},t.substring(0,20),[e.adserverTargeting[t]])}))})).concat(function(e){var t=p();return pbjs._bidsReceived.filter(n.adUnitsFilter.bind(this,e)).map(function(e){if(e.alwaysUseBid)return a({},e.adUnitCode,Object.keys(e.adserverTargeting).map(function(r){if(!(t.indexOf(r)-1))return a({},r.substring(0,20),[e.adserverTargeting[r]])}).filter(function(e){return e}))}).filter(function(e){return e})}(b)).concat(i.config.getConfig(“enableSendAllBids”)?(t=u.TARGETING_KEYS.concat(o.NATIVE_TARGETING_KEYS),r=[],s=(0,n.groupBy)(pbjs._bidsReceived,”adUnitCode”),Object.keys(s).forEach(function(e){var t=(0,n.groupBy)(s[e],”bidderCode”);Object.keys(t).forEach(function(e){return r.push(t[e].reduce(n.getHighestCpm,g()))})}),r.map(function(e){if(e.adserverTargeting)return a({},e.adUnitCode,(r=e,t.filter(function(t){return void 0!==e.adserverTargeting[t]}).map(function(e){return a({},(e+”_”+r.bidderCode).substring(0,20),[r.adserverTargeting[e]])})));var r}).filter(function(e){return e})):[]);return y.map(function(e){Object.keys(e).map(function(t){e[t].map(function(e){-1===l.indexOf(Object.keys(e)[0])(l=Object.keys(e).concat(l))})})}),y},c.setTargeting=function(e){window.googletag.pubads().getSlots().forEach(function(t){e.filter(function(e){return Object.keys(e)[0]===t.getAdUnitPath()||Object.keys(e)[0]===t.getSlotElementId()}).forEach(function(e){return e[Object.keys(e)[0]].forEach(function(e){e[Object.keys(e)[0]].map(function(r){return d.logMessage(“Attempting to set key value for slot: “+t.getSlotElementId()+” key: “+Object.keys(e)[0]+” value: “+r),r}).forEach(function(r){t.setTargeting(Object.keys(e)[0],r)})})})})},c.getWinningBids=function(e){var t=f(e);return pbjs._bidsReceived.filter(function(e){return t.includes(e.adUnitCode)}).filter(function(e){return e.cpm0}).map(function(e){return e.adUnitCode}).filter(n.uniques).map(function(e){return pbjs._bidsReceived.filter(function(t){return t.adUnitCode===e?t:null}).reduce(n.getHighestCpm,g(e))})},c.setTargetingForAst=function(){var e=pbjs.getAdserverTargeting();Object.keys(e).forEach(function(t){return Object.keys(e[t]).forEach(function(r){if(d.logMessage(“Attempting to set targeting for targetId: “+t+” key: “+r+” value: “+e[t][r]),d.isStr(e[t][r])||d.isArray(e[t][r])){var n={};n[r.toUpperCase()]=e[t][r],window.apntag.setKeywords(t,n)}})})},c.isApntagDefined=function(){if(window.apntagd.isFn(window.apntag.setKeywords))return!0}},function(e,t,r){var n=r(406),i=r(411);e.exports=r(29)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){e.exports=!r(30)(function(){return 7!=Object.defineProperty({},”a”,{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return”Symbol(“.concat(void 0===e?””:e,”)_”,(++r+n).toString(36))}},function(e,t,r){var n=r(50);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==n(e)?e.split(“”):Object(e)}},function(e,t,r){var n=r(55)(“unscopables”),i=Array.prototype;null==i[n]r(28)(i,n,{}),e.exports=function(e){i[n][e]=!0}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0});var n=r(0),i=2,o={buckets:[{min:0,max:5,increment:.5}]},a={buckets:[{min:0,max:20,increment:.1}]},s={buckets:[{min:0,max:20,increment:.01}]},d={buckets:[{min:0,max:3,increment:.01},{min:3,max:8,increment:.05},{min:8,max:20,increment:.5}]},u={buckets:[{min:0,max:5,increment:.05},{min:5,max:10,increment:.1},{min:10,max:20,increment:.5}]};function c(e,t,r){var n=””;if(!l(t))return n;var o=t.buckets.reduce(function(e,t){return e.maxt.max?e:t},{max:0}),a=t.buckets.find(function(t){if(eo.max*r){var a=t.precision;void 0===a(a=i),n=(t.max*r).toFixed(a)}else if(e=t.min*r)return t});return a(n=function(e,t,r,n){void 0===r(r=i);var o=1/(t*n);return(Math.floor(e*o)/o).toFixed(r)}(e,a.increment,a.precision,r)),n}function l(e){if(n.isEmpty(e)||!e.buckets||!Array.isArray(e.buckets))return!1;var t=!0;return e.buckets.forEach(function(e){void 0!==e.mine.maxe.increment||(t=!1)}),t}t.getPriceBucketString=function(e,t){var r=arguments.length2void 0!==arguments[2]?arguments[2]:1,n=parseFloat(e);return isNaN(n)(n=””),{low:””===n?””:c(e,o,r),med:””===n?””:c(e,a,r),high:””===n?””:c(e,s,r),auto:””===n?””:c(e,u,r),dense:””===n?””:c(e,d,r),custom:””===n?””:c(e,t,r)}},t.isValidPriceConfig=l},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.hasNonVideoBidder=t.videoBidder=t.videoAdUnit=void 0,t.isValidVideoBid=function(e){var t=(0,i.getBidRequest)(e.adId),r=t(0,i.deepAccess)(t,”mediaTypes.video”),n=r(0,i.deepAccess)(r,”context”);return!t||rn!==a?o.config.getConfig(“usePrebidCache”)||!e.vastXml||e.vastUrl?!(!e.vastUrl!e.vastXml):((0,i.logError)(“n This bid contains only vastXml and will not work when prebid-cache is disabled.n Try enabling prebid-cache with pbjs.setConfig({ usePrebidCache: true });n “),!1):n!==a||!(!e.renderer!t.renderer)};var n=r(1),i=r(0),o=r(8),a=”outstream”,s=(t.videoAdUnit=function(e){var t=”video”===e.mediaType,r=(0,i.deepAccess)(e,”mediaTypes.video”);return t||r},t.videoBidder=function(e){return n.videoAdapters.includes(e.bidder)});t.hasNonVideoBidder=function(e){return e.bids.filter(function(e){return!s(e)}).length}},function(e,t,r){var n=r(102);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},,function(e,t,r){var n=r(40);e.exports=Object(“z”).propertyIsEnumerable(0)?Object:function(e){return”String”==n(e)?e.split(“”):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,r){var n=r(43),i=Math.min;e.exports=function(e){return e0?i(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e0?n:r)(e)}},function(e,t,r){r(147),e.exports=r(20).Array.includes},function(e,t){var r;r=function(){return this}();try{r=r||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==(“undefined”==typeof window?”undefined”:_typeof(window))(r=window)}e.exports=r},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.getGlobal=function(){return window.pbjs},window.pbjs=window.pbjs||{},window.pbjs.cmd=window.pbjs.cmd||[],window.pbjs.que=window.pbjs.que||[]},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(413);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){var n=r(48),i=r(32),o=r(51),a=r(53),s=r(414);e.exports=function(e,t){var r=1==e,d=2==e,u=3==e,c=4==e,l=6==e,f=5==e||l,p=treturn function(t,s,g){for(var v,m,b=o(t),y=i(b),h=n(s,g,3),_=a(y.length),I=0,S=r?p(t,_):d?p(t,0):void 0;_I;I++)if((f||I in y)(m=h(v=y[I],I,b),e))if(r)S[I]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return I;case 2:S.push(v)}else if(c)return!1;return l?-1:u||c?c:S}}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(52);e.exports=function(e){return Object(n(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError(“Can’t call method on “+e);return e}},function(e,t,r){var n=r(54),i=Math.min;e.exports=function(e){return e0?i(n(e),9007199254740991):0}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e0?n:r)(e)}},function(e,t,r){var n=r(56)(“wks”),i=r(31),o=r(16).Symbol,a=”function”==typeof o;(e.exports=function(e){return n[e]||(n[e]=ao[e]||(a?o:i)(“Symbol.”+e))}).store=n},function(e,t,r){var n=r(16),i=”__core-js_shared__”,o=n[i]||(n[i]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,r){var n=r(58),i=r(53),o=r(421);e.exports=function(e){return function(t,r,a){var s,d=n(t),u=i(d.length),c=o(a,u);if(er!=r){for(;uc;)if((s=d[c++])!=s)return!0}else for(;uc;c++)if((e||c in d)d[c]===r)return e||creturn!e-1}}},function(e,t,r){var n=r(32),i=r(52);e.exports=function(e){return n(i(e))}},,,function(e,t){e.exports=function e(t){var r=Array.isArray(t)?[]:{};for(var n in t){var i=t[n];r[n]=i”object”==_typeof(i)?e(i):i}return r}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.setWindow=t.getScreenWidth=t.mapSizes=void 0;var n=function(e){if(ee.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)(t[r]=e[r]);return t.default=e,t}(r(0)),i=void 0;function o(e){var t=e||i||window,r=t.document;return t.innerWidth?t.innerWidth:r.body.clientWidth?r.body.clientWidth:r.documentElement.clientWidth?r.documentElement.clientWidth:0}t.mapSizes=function(e){if(t=e.sizeMapping,!(n.isArray(t)t.length0||(n.logInfo(“No size mapping defined”),0)))return e.sizes;var t,r=o();if(!r){var i=e.sizeMapping.reduce(function(e,t){return e.minWidth=e.minWidth});return ss.sizess.sizes.length?(a=s.sizes,n.logMessage(“AdUnit : “+e.code+” resized based on device width to : “+a)):n.logMessage(“AdUnit : “+e.code+” not mapped to any sizes for device width. This request will be suppressed.”),a},t.getScreenWidth=o,t.setWindow=function(e){i=e}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.store=function(e,t){var r,a={puts:e.map(o)};(0,n.ajax)(i,(r=t,{success:function(e){var t=void 0;try{t=JSON.parse(e).responses}catch(e){return void r(e,[])}t?r(null,t):r(new Error(“The cache server didn’t respond with a responses property.”),[])},error:function(e,t){r(new Error(“Error storing video ad in the cache: “+e+”: “+JSON.stringify(t)),[])}}),JSON.stringify(a),{contentType:”text/plain”,withCredentials:!0})},t.getCacheUrl=function(e){return i+”?uuid=”+e};var n=r(7),i=”https://prebid.adnxs.com/pbc/v1/cache”;function o(e){return{type:”xml”,value:e.vastXml?e.vastXml:’n n n prebid.org wrappern n n n n n “}}},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0});var n=Object.assign||function(e){for(var t=1;t1void 0!==arguments[1]?arguments[1]:10;”function”==typeof e(a.push({fn:e,priority:t}),a.sort(function(e,t){return t.priority-e.priority}))},removeHook:function(e){a=a.filter(function(r){return r.fn===t||r.fn!==e})}};return”string”==typeof r(o[r]=d),n(function(){for(var r=arguments.length,n=Array(r),i=0;i1?arguments[1]:void 0)}}),r(26)(“includes”)},function(e,t,r){var n=r(149),i=r(42),o=r(150);e.exports=function(e){return function(t,r,a){var s,d=n(t),u=i(d.length),c=o(a,u);if(er!=r){for(;uc;)if((s=d[c++])!=s)return!0}else for(;uc;c++)if((e||c in d)d[c]===r)return e||creturn!e-1}}},function(e,t,r){var n=r(39),i=r(41);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(43),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))0void 0!==arguments[0]?arguments[0]:{},t=e.bidsBackHandler,r=e.timeout,n=e.adUnits,i=e.adUnitCodes;S.emit(“requestBids”);var o=m.cbTimeout=r||g.config.getConfig(“bidderTimeout”);if(n=n||m.adUnits,y.logInfo(“Invoking pbjs.requestBids”,arguments),ii.length?n=n.filter(function(e){return i.includes(e.code)}):i=nn.map(function(e){return e.code}),n.filter(s.videoAdUnit).filter(s.hasNonVideoBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,s.videoBidder)(e)}).map(function(e){return e.bidder});y.logWarn(y.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(s.videoBidder)}),n.filter(d.nativeAdUnit).filter(d.hasNonNativeBidder).forEach(function(e){var t=e.bids.filter(function(e){return!(0,d.nativeBidder)(e)}).map(function(e){return e.bidder});y.logWarn(y.unsupportedBidderMessage(e,t)),e.bids=e.bids.filter(d.nativeBidder)}),j)B.push(function(){m.requestBids({bidsBackHandler:t,timeout:o,adUnits:n,adUnitCodes:i})});else{if(j=!0,m._adUnitCodes=i,h.externalCallbackReset(),m._bidsRequested=[],m._bidsReceived=m._bidsReceived.filter(function(e){return!m._adUnitCodes.includes(e.adUnitCode)}),!n||0===n.length)return y.logMessage(“No adUnits configured. No bids requested.”),”function”==typeof th.addOneTimeCallback(t,!1),void h.executeCallback();var a=h.executeCallback.bind(h,!0),u=setTimeout(a,o);(0,p.setAjaxTimeout)(o),”function”==typeof th.addOneTimeCallback(t,u),_.callBids({adUnits:n,adUnitCodes:i,cbTimeout:o}),0===m._bidsRequested.lengthh.executeCallback()}},m.addAdUnits=function(e){y.logInfo(“Invoking pbjs.addAdUnits”,arguments),y.isArray(e)?(e.forEach(function(e){return e.transactionId=y.generateUUID()}),m.adUnits.push.apply(m.adUnits,e)):”object”===(void 0===e?”undefined”:n(e))(e.transactionId=y.generateUUID(),m.adUnits.push(e)),S.emit(C)},m.onEvent=function(e,t,r){y.logInfo(“Invoking pbjs.onEvent”,arguments),y.isFn(t)?!r||O[e].call(null,r)?S.on(e,t,r):y.logError(‘The id provided is not valid for event “‘+e+’” and no handler was set.’):y.logError(‘The event handler provided is not a function and was not set on event “‘+e+’”.’)},m.offEvent=function(e,t,r){y.logInfo(“Invoking pbjs.offEvent”,arguments),r!O[e].call(null,r)||S.off(e,t,r)},m.addCallback=function(e,t){y.logWarn(“pbjs.addCallback will be removed in Prebid 1.0. Please use onEvent instead”),y.logInfo(“Invoking pbjs.addCallback”,arguments);var r=null;return et”function”==typeof t?(r=y.getUniqueIdentifierStr,h.addCallback(r,t,e),r):(y.logError(“error registering callback. Check method signature”),r)},m.removeCallback=function(){return y.logWarn(“pbjs.removeCallback will be removed in Prebid 1.0. Please use offEvent instead.”),null},m.registerBidAdapter=function(e,t){y.logInfo(“Invoking pbjs.registerBidAdapter”,arguments);try{_.registerBidAdapter(e(),t)}catch(e){y.logError(“Error registering bidder adapter : “+e.message)}},m.registerAnalyticsAdapter=function(e){y.logInfo(“Invoking pbjs.registerAnalyticsAdapter”,arguments);try{_.registerAnalyticsAdapter(e)}catch(e){y.logError(“Error registering analytics adapter : “+e.message)}},m.bidsAvailableForAdapter=function(e){y.logInfo(“Invoking pbjs.bidsAvailableForAdapter”,arguments),m._bidsRequested.find(function(t){return t.bidderCode===e}).bids.map(function(t){return i(t,I.createBid(1),{bidderCode:e,adUnitCode:t.placementCode})}).map(function(e){return m._bidsReceived.push(e)})},m.createBid=function(e){return y.logInfo(“Invoking pbjs.createBid”,arguments),I.createBid(e)},m.addBidResponse=function(e,t){y.logWarn(“pbjs.addBidResponse will be removed in Prebid 1.0. Each bidder will be passed a reference to addBidResponse function in callBids as an argument. See https://github.com/prebid/Prebid.js/issues/1087 for more details.”),y.logInfo(“Invoking pbjs.addBidResponse”,arguments),h.addBidResponse(e,t)},m.loadScript=function(e,t,r){y.logInfo(“Invoking pbjs.loadScript”,arguments),(0,f.loadScript)(e,t,r)},m.enableAnalytics=function(e){e!y.isEmpty(e)?(y.logInfo(“Invoking pbjs.enableAnalytics for: “,e),_.enableAnalytics(e)):y.logError(“pbjs.enableAnalytics should be called with option {}”)},m.aliasBidder=function(e,t){y.logInfo(“Invoking pbjs.aliasBidder”,arguments),et?_.aliasBidAdapter(e,t):y.logError(“bidderCode and alias must be passed as arguments”,”pbjs.aliasBidder”)},m.setPriceGranularity=function(e){y.logWarn(“pbjs.setPriceGranularity will be removed in Prebid 1.0. Use pbjs.setConfig({ priceGranularity: }) instead.”),y.logInfo(“Invoking pbjs.setPriceGranularity”,arguments),g.config.setConfig({priceGranularity:e})},m.enableSendAllBids=function(){g.config.setConfig({enableSendAllBids:!0})},m.getAllWinningBids=function(){return m._winningBids},m.buildMasterVideoTagFromAdserverTag=function(e,t){y.logWarn(“pbjs.buildMasterVideoTagFromAdserverTag will be removed in Prebid 1.0. Include the dfpVideoSupport module in your build, and use the pbjs.adservers.dfp.buildVideoAdUrl function instead”),y.logInfo(“Invoking pbjs.buildMasterVideoTagFromAdserverTag”,arguments);var r=(0,u.parse)(e);if(0===m._bidsReceived.length)return e;if(“dfp”===t.adserver.toLowerCase()){var n=E.dfpAdserver(t,r);return n.verifyAdserverTag()||y.logError(“Invalid adserverTag, required google params are missing in query string”),n.appendQueryParams(),(0,u.format)(n.urlComponents)}y.logError(“Only DFP adserver is supported”)},m.setBidderSequence=_.setBidderSequence,m.getHighestCpmBids=function(e){return w.getWinningBids(e)},m.setS2SConfig=function(e){if(y.contains(Object.keys(e),”accountId”))if(y.contains(Object.keys(e),”bidders”)){var t=i({enabled:!1,endpoint:b.S2S.DEFAULT_ENDPOINT,timeout:1e3,maxBids:1,adapter:b.S2S.ADAPTER,syncEndpoint:b.S2S.SYNC_ENDPOINT,cookieSet:!0,bidders:[]},e);_.setS2SConfig(t)}else y.logError(“bidders missing in Server to Server config”);else y.logError(“accountId missing in Server to Server config”)},m.getConfig=g.config.getConfig,m.setConfig=g.config.setConfig,m.que.push(function(){return(0,c.listenMessagesFromCreative)()}),m.cmd.push=function(e){if(“function”==typeof e)try{e.call()}catch(e){y.logError(“Error processing command :”,e.message,e.stack)}else y.logError(“Commands written into pbjs.cmd.push must be wrapped in a function”)},m.que.push=m.cmd.push,m.processQueue=function(){P(m.que),P(m.cmd)}},function(e,t,r){r(404),r(417),r(419),r(422),Number.isInteger=Number.isInteger||function(e){return”number”==typeof eisFinite(e)Math.floor(e)===e}},function(e,t,r){r(405),e.exports=r(14).Array.find},function(e,t,r){var n=r(22),i=r(49)(5),o=”find”,a=!0;o in[]Array(1)[o](function(){a=!1}),n(n.P+n.F*a,”Array”,{find:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),r(33)(o)},function(e,t,r){var n=r(407),i=r(408),o=r(410),a=Object.defineProperty;t.f=r(29)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if(“get”in r||”set”in r)throw TypeError(“Accessors not supported!”);return”value”in r(e[t]=r.value),e}},function(e,t,r){var n=r(23);e.exports=function(e){if(!n(e))throw TypeError(e+” is not an object!”);return e}},function(e,t,r){e.exports=!r(29)!r(30)(function(){return 7!=Object.defineProperty(r(409)(“div”),”a”,{get:function(){return 7}}).a})},function(e,t,r){var n=r(23),i=r(16).document,o=n(i)n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){var n=r(23);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t”function”==typeof(r=e.toString)!n(i=r.call(e)))return i;if(“function”==typeof(r=e.valueOf)!n(i=r.call(e)))return i;if(!t”function”==typeof(r=e.toString)!n(i=r.call(e)))return i;throw TypeError(“Can’t convert object to primitive value”)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1e),configurable:!(2e),writable:!(4e),value:t}}},function(e,t,r){var n=r(16),i=r(28),o=r(47),a=r(31)(“src”),s=”toString”,d=Function[s],u=(“”+d).split(s);r(14).inspectSource=function(e){return d.call(e)},(e.exports=function(e,t,r,s){var d=”function”==typeof r;d(o(r,”name”)||i(r,”name”,t)),e[t]!==r(d(o(r,a)||i(r,a,e[t]?””+e[t]:u.join(String(t)))),e===n?e[t]=r:s?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,r)))})(Function.prototype,s,function(){return”function”==typeof thisthis[a]||d.call(this)})},function(e,t){e.exports=function(e){if(“function”!=typeof e)throw TypeError(e+” is not a function!”);return e}},function(e,t,r){var n=r(415);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,r){var n=r(23),i=r(416),o=r(55)(“species”);e.exports=function(e){var t;return i(e)(“function”!=typeof(t=e.constructor)||t!==Array!i(t.prototype)||(t=void 0),n(t)null===(t=t[o])(t=void 0)),void 0===t?Array:t}},function(e,t,r){var n=r(50);e.exports=Array.isArray||function(e){return”Array”==n(e)}},function(e,t,r){r(418),e.exports=r(14).Array.findIndex},function(e,t,r){var n=r(22),i=r(49)(6),o=”findIndex”,a=!0;o in[]Array(1)[o](function(){a=!1}),n(n.P+n.F*a,”Array”,{findIndex:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),r(33)(o)},function(e,t,r){r(420),e.exports=r(14).Array.includes},function(e,t,r){var n=r(22),i=r(57)(!0);n(n.P,”Array”,{includes:function(e){return i(this,e,arguments.length1?arguments[1]:void 0)}}),r(33)(“includes”)},function(e,t,r){var n=r(54),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))u;)for(var f,p=s(arguments[u++]),g=c?n(p).concat(c(p)):n(p),v=g.length,m=0;vm;)l.call(p,f=g[m++])(r[f]=p[f]);return r}:d},function(e,t,r){var n=r(426),i=r(428);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(47),i=r(58),o=r(57)(!1),a=r(427)(“IE_PROTO”);e.exports=function(e,t){var r,s=i(e),d=0,u=[];for(r in s)r!=an(s,r)u.push(r);for(;t.lengthd;)n(s,r=t[d++])(~o(u,r)||u.push(r));return u}},function(e,t,r){var n=r(56)(“keys”),i=r(31);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports=”constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf”.split(“,”)},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){Object.defineProperty(t,”__esModule”,{value:!0}),t.listenMessagesFromCreative=function(){addEventListener(“message”,s,!1)};var n,i=(n=r(12))n.__esModule?n:{default:n},o=r(15),a=r(2).EVENTS.BID_WON;function s(e){var t,r,n,s,d,u,c,l,f,p,g,v,m,b=e.message?”message”:”data”,y={};try{y=JSON.parse(e[b])}catch(e){return}if(y.adId){var h=pbjs._bidsReceived.find(function(e){return e.adId===y.adId});”Prebid Request”===y.message(t=h,r=y.adServerDomain,n=e.source,s=t.adId,d=t.ad,u=t.adUrl,c=t.width,l=t.height,s(p=(f=t).adUnitCode,g=f.width,v=f.height,(m=document.getElementById(window.googletag.pubads().getSlots().find(function(e){return e.getAdUnitPath()===p||e.getSlotElementId()===p}).getSlotElementId()).querySelector(“iframe”)).width=””+g,m.height=””+v,n.postMessage(JSON.stringify({message:”Prebid Response”,ad:d,adUrl:u,adId:s,width:c,height:l}),r)),pbjs._winningBids.push(h),i.default.emit(a,h)),”Prebid Native”===y.message((0,o.fireNativeTrackers)(y,h),pbjs._winningBids.push(h),i.default.emit(a,h))}}},function(e,t,r){var n=r(13),i=r(27);t.dfpAdserver=function(e,t){var r=new function(e){this.name=e.adserver,this.code=e.code,this.getWinningBidByCode=function(){return(0,i.getWinningBids)(this.code)[0]}}(e);r.urlComponents=t;var o={env:”vp”,gdfp_req:”1″,impl:”s”,unviewed_position_start:”1″},a=["output","iu","sz","url","correlator","description_url","hl"];return r.appendQueryParams=function(){var e,t=r.getWinningBidByCode();t(this.urlComponents.search.description_url=encodeURIComponent(t.vastUrl),this.urlComponents.search.cust_params=(e=t.adserverTargeting,encodeURIComponent((0,n.formatQS)(e))),this.urlComponents.search.correlator=Date.now())},r.verifyAdserverTag=function(){for(var e in o)if(!this.urlComponents.search.hasOwnProperty(e)||this.urlComponents.search[e]!==o[e])return!1;for(var t in a)if(!this.urlComponents.search.hasOwnProperty(a[t]))return!1;return!0},r}}]),pbjsChunk([119],{138:function(e,t,r){e.exports=r(139)},139:function(e,t,r){var n,i,o=Object.assign||function(e){for(var t=1;t0(p=”size=”+g[0],v1)){p+=”promo_sizes=”;for(var m=1;mn let win = window;n for (const i=0; i’):(i.width=e.width,i.height=e.height,i.ad=e.creative)):i=c(),i}return{callBids:function(t){!window.criteo_pubtag||window.criteo_pubtag instanceof Array?(d(t),o.loadScript(e,function(){},!0)):d(t)}}};a.registerBidAdapter(new d,”criteo”),e.exports=d}},[178]),pbjsChunk([99],{218:function(e,t,r){e.exports=r(219)},219:function(e,t,r){var n=Object.assign||function(e){for(var t=1;t=0(this.timeoutDelay=r),this.siteID=e,this.impressions=[],this._parseFnName=void 0,this.sitePage=void 0;try{this.sitePage=d.getTopWindowUrl()}catch(e){}if(void 0!==this.sitePage””!==this.sitePage||(top===self?this.sitePage=location.href:this.sitePage=document.referrer),top===self?this.topframe=1:this.topframe=0,void 0!==t){if(“function”!=typeof t)throw”Invalid jsonp target function”;this._parseFnName=”cygnus_index_args.parseFn”}void 0===_IndexRequestData.requestCounter?_IndexRequestData.requestCounter=Math.floor(256*Math.random()):_IndexRequestData.requestCounter=(_IndexRequestData.requestCounter+1)%256,this.requestID=String((new Date).getTime()%2592e3*256+_IndexRequestData.requestCounter+256),this.initialized=!0}i.prototype.serialize=function(){var e=’{“id”:”‘+this.requestID+’”,”site”:{“page”:”‘+n(this.sitePage)+’”‘;”string”==typeof document.referrer””!==document.referrer(e+=’,”ref”:”‘+n(document.referrer)+’”‘),e+=’},”imp”:[';for(var t=0;t0(e+=',"ext": {'+i.join()+"}"),t+1===this.impressions.length?e+="}":e+="},"}return e+"]}”},i.prototype.setPageOverride=function(e){return”string”==typeof e!e.match(/^s*$/)(this.sitePage=e,!0)},i.prototype.addImpression=function(e,t,r,n,i,o){var a={id:String(this.impressions.length+1)};if(“number”!=typeof e||e=0))return null;a.siteID=o}return this.impressions.push(a),a.id},i.prototype.buildRequest=function(){if(0!==this.impressions.length!0===this.initialized){var e,t=encodeURIComponent(this.serialize());(function(e){for(var t=window,r=””,n=0;n=0(e+=”t=”+this.timeoutDelay),e}};try{if(“undefined”==typeof cygnus_index_args||void 0===cygnus_index_args.siteID||void 0===cygnus_index_args.slots)return;var o,a,s=new i(cygnus_index_args.siteID,cygnus_index_args.parseFn,cygnus_index_args.timeout);cygnus_index_args.url”string”==typeof cygnus_index_args.urls.setPageOverride(cygnus_index_args.url),_IndexRequestData.impIDToSlotID[s.requestID]={},_IndexRequestData.reqOptions[s.requestID]={};for(var u=0;u 0. Got: “+r),0))(void 0!==(t=e.params.video.playerType)d.isStr(t)?(t=t.toUpperCase(),_[t]||(d.logError(“Player type is invalid, must be one of: “+Object.keys(_)),0)):(d.logError(“Player type is invalid, must be one of: “+Object.keys(_)),0))function(e){if(!d.isArray(e)||d.isEmpty(e))return d.logError(“Protocol array is not an array. Got: “+e),!1;for(var t=0;t0)return e;var t,r,n}(e)){e=function(e){e.params.video.siteID=+e.params.video.siteID,e.params.video.maxduration=+e.params.video.maxduration,e.params.video.protocols=e.params.video.protocols.reduce(function(e,t){return e.concat(I[t])},[]);var t=e.params.video.minduration;void 0!==tO(t)||(d.logInfo(“Using default value for ‘minduration’, default: “+h.minduration),e.params.video.minduration=h.minduration);var r=e.params.video.startdelay;void 0!==rfunction(e){if(void 0===w[e]){var t=+e;if(isNaN(t)||!d.isNumber(t)||t= -2. Got: “+e),!1}return!0}(r)||(d.logInfo(“Using default value for ‘startdelay’, default: “+h.startdelay),e.params.video.startdelay=h.startdelay);var n,i=e.params.video.linearity;void 0!==i(E[n=i]||(d.logInfo(“Linearity is invalid, must be one of: “+Object.keys(E)+”. Got: “+n),0))||(d.logInfo(“Using default value for ‘linearity’, default: “+h.linearity),e.params.video.linearity=h.linearity);var o=e.params.video.mimes,a=e.params.video.playerType.toUpperCase();void 0!==ofunction(e){if(!d.isArray(e)||d.isEmpty(e))return d.logError(“MIMEs array is not an array. Got: “+e),!1;for(var t=0;t0function(e,t){var r,n,i,o={id:e,imp:t,site:{page:d.getTopWindowUrl()}};if(!d.isEmpty(o.imp)){var a=(r=o.imp[0].ext.siteID,n=o,(i=”https:”===window.location.protocol?c.parse(“https://as-sec.casalemedia.com/cygnus?v=8fn=pbjs.handleCygnusResponse”):c.parse(“http://as.casalemedia.com/cygnus?v=8fn=pbjs.handleCygnusResponse”)).search.s=r,i.search.r=encodeURIComponent(JSON.stringify(n)),c.format(i));l.default.loadScript(a)}}(e.bidderRequestId,o),cygnus_index_args.slots.length20d.logError(“Too many unique sizes on slots, will use the first 20.”,v),cygnus_index_args.slots.length0l.default.loadScript(C());var u=!1;window.cygnus_index_ready_state=function(){if(!u){u=!0;try{var e=_IndexRequestData.targetIDToBid;for(var r in t){var n=t[r].placementCode,o=[];for(var c in e){var l=/^(Td_)?(.+)_(d+)$/.exec(c);if(l){var p=l[1]||””,b=l[2],y=l[3],h=j(cygnus_index_args,p+b);if(b===r){var _=a.default.createBid(1);_.cpm=y/100,_.ad=e[c][0],_.bidderCode=m,_.width=h.width,_.height=h.height,_.siteID=h.siteID,”object”===i(_IndexRequestData.targetIDToResp)”object”===i(_IndexRequestData.targetIDToResp[c])void 0!==_IndexRequestData.targetIDToResp[c].dealID?(void 0===_IndexRequestData.targetAggregate.private[n](_IndexRequestData.targetAggregate.private[n]=[]),_.dealId=_IndexRequestData.targetIDToResp[c].dealID,_IndexRequestData.targetAggregate.private[n].push(b+”_”+_IndexRequestData.targetIDToResp[c].dealID)):(void 0===_IndexRequestData.targetAggregate.open[n](_IndexRequestData.targetAggregate.open[n]=[]),_IndexRequestData.targetAggregate.open[n].push(b+”_”+y)),o.push(_)}}else d.logError(“Unable to parse “+c+”, skipping slot”,v)}if(o.length0)for(var I=0;I0r.length0a.push({code:t.id,sizes:r,bids:n})}),a}(),r=new Event(“nymPrebidCleared”),n.length0?window.pbjs.que.push(function(){window.pbjs.addAdUnits(n),window.pbjs.requestBids({bidsBackHandler:h})}):a=0,setTimeout(function(){window.prebid.cleared=!0,h(),window.dispatchEvent(r)},a))},10),setTimeout(function(){c(i.clearInterval(c),i.googletag.pubads().refresh(),i.location.href.indexOf(“pbjs_debug=true”)-1console.log(“MESSAGE: Timeout for prebid load exceeded, aborting”))},500)),r=function(e){var t,a,n=e.data;return n.loaded?e:(n.loaded=!0,t=null,(t=n.sizes?l.defineSlot(n.name,n.sizes,n.id).addService(l.pubads()):l.defineOutOfPageSlot(n.name,n.id).addService(l.pubads())).setTargeting(“adid”,n.id),b.hasOwnProperty(“utm_campaign”)t.setTargeting(“utmcamp”,b.utm_campaign),a=p.getAdCount(n.label),t.setTargeting(“label”,n.label+”_”+n.site+”-”+a),l.display(n.id),l.pubads().addEventListener(“slotOnload”,function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),window.prebidwindow.prebid.cleared(window.pbjs.setTargetingForGPTAsync(),l.pubads().refresh([t],{changeCorrelator:!1})),e.slot=t,e)},o=function(e){var a,i,n,r=t(),o=e.getAttribute(“data-name”),d=e.getAttribute(“data-sizes”),s=e.getAttribute(“data-label”),u=e.getAttribute(“data-site”);r=e.id,dd.length?(d=d.split(“,”),a=[],_map(d,function(e){e=e.split(“x”),i=parseInt(e[0]),n=parseInt(e[1]),a.push([i,n])})):(e.classList.add(“oop”),a=!1),this.data={id:r,name:o,sizes:a,loaded:!1,label:s,site:u},g[r]=this},s=function(e){l.cmd.push(function(){var t=r(e);g[e.data.id]=t})},d=function(e){e.slot?(window.pbjs.setTargetingForGPTAsync(),l.pubads().refresh([e.slot],{changeCorrelator:!1})):es(e)},l.cmd.push(function(){var e,t,n,r=page.getMeta(“article:tag”),o=page.getMeta(“author”),d=i.location.href,s=(e=a.head.querySelector(“.head-gtm”),t=a.body.querySelector(“.gtm”),e”top”===e.getAttribute(“data-gtm”)?”gtmtop”:t”bottom”===t.getAttribute(“data-gtm”)?”gtmbottom”:””);n=[],_forEach([r,o,s],function(e){_forEach(e.split(“,”),function(e){(e=e.trim().toLowerCase().replace(/s/g,”-”).replace(/’|’/g,””)).lengthn.push(e)})}),l.pubads().setTargeting(“kw”,n),d=d.slice(d.lastIndexOf(“/”)+1),l.pubads().setTargeting(“pn”,d),l.companionAds().setRefreshUnfilledSlots(!0),l.pubads().enableAsyncRendering(),l.enableServices()}),this.load=s,this.create=function(e){return new o(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),d(t)):d(e)},this.remove=function(e){var t=e.data.id;a.getElementById(t).innerHTML=””},this.getAdCount=function(e){var t,a=0,i=Object.keys(g);return _each(i,function(i){(t=g[i]).data.loadedt.data.label===ea++}),a},this.getById=function(e){return g[e]},u=_debounce(function(){var e={TopLeaderboard:1,RightColTopMPU:2,outOfPage:99,”homepageTakeover/TopLeaderboard”:1},t=_sortBy(f,function(t){return e[t.data.label]||10});_forEach(t,function(e){return s(e)}),f=[]},10),this.addToPageLoadQueue=function(e){f.push(e),u()}}]);
}, {“7″:7,”15″:15,”27″:27,”39″:39,”63″:63,”67″:67,”116″:116,”120″:120,”125″:125,”129″:129,”165″:165}];
window.modules["chartbeat.legacy"] = [function(require,module,exports){"use strict";var page=require(125);DS.service("chartbeat",["$document","$window","login",function(t,e,a){var n,o,c,s,i,r,g,p=t.getElementById("cb-sponsor-data");e._sf_async_config={uid:19989,useCanonical:!0,domain:"nymag.com",sections:(n=page.getSiteBase(),o=page.getSiteName(),c=o||n,"The Cut"!==c"Vulture"!==c||(c+=[",",c,page.getChannel()].join(” “)),c)},(s=page.getPrimaryPageComponent())”Sponsored Story”===s.getAttribute(“data-type”)?(e._sf_async_config.sponsorName=pp.getAttribute(“data-sponsor”),e._sf_async_config.type=”Sponsored”):e._sf_async_config.sponsorName=void 0,(i=t.querySelectorAll(“.article-author”)).length(e._sf_async_config.authors=i[0].textContent.trim()),e._cbq=e._cbq||[],e._cbq.push(["_acct",a.isLoggedIn()?"lgdin":"anon"]),r=function(){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)},”complete”===t.readyState?r():(g=”function”==typeof e.onload?e.onload:function(){},e.onload=function(){g(),r()})}]),setTimeout(function(){DS.get(“chartbeat”)},0);
}, {“125″:125}];
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["cookie.legacy"] = [function(require,module,exports){"use strict";DS.service("cookie",["$document",function(t){var e=this;this.set=function(t,i,n){var s,r="";n((s=new Date).setTime(s.getTime()+864e5*n),r="; expires="+s.toGMTString()),e.nativeSet(t+"="+i+r+"; path=/")},this.get=function(t){var i,n,s,r=e.nativeGet().split(";");for(t+="=",i=0,n=r.length;i0(t.dataLayer.push.apply(t.dataLayer,u),u=[]),d=!1)}function L(t,i){var n=(i||e.body).querySelectorAll(“["+l+"]“);_each(n,function(e){var i=e.getAttribute(l),n=f[i];nn.initn.init(e,i,t)})}t.dataLayer=t.dataLayer||[],this.init=function(u){var d=!!e.head.querySelector(“.head-gtm”);r||(r=!0,i.onceReady(function(i){n=i,d||function(i,n){a.reportNow({event:”dataLayer-initialized”,userDetails:{newYorkMediaUserID:n.clientId,loyaltyLevel:n.userLoyalty},pageDetails:{pageUri:n.pageUri,vertical:o,pageType:c,author:s}}),function(t,e,i,n,a){t[n]=t[n]||[],t[n].push({“gtm.start”:(new Date).getTime(),event:”gtm.js”});var r=e.getElementsByTagName(i)[0],o=e.createElement(i);o.async=!0,o.src=”https://www.googletagmanager.com/gtm.js?id=”+a,r.parentNode.insertBefore(o,r)}(t,e,”script”,”dataLayer”,i)}(u,i),L(i),a.reportNow(),e.addEventListener(“mouseleave”,function(t){t.clientY=_size(o)}function m(){var e;e=_mapValues(o,n.get),a=_omitBy(e,function(e){return””===e||_isUndefined(e)||_isNull(e)})}function h(){return f()||m()||f()}function g(){return h()a}function _(e){s.redirect(“login”,function(e){return{userId:e.id,session_id:e.session,username:e.username,remember_me:!!e.rememberMe}}(e))}function v(e,n){d(c+”/account/email/”+(e||””),n)}function w(e,n){d(c+”/account/username/”+(e||””),n)}function b(e,n){v(e,function(t,i){w(e,function(e,s){var a=in(a?null:t||e,a)})})}function p(e,n){var t,i=(t=[e.first_name,e.last_name,n],_filter(t,_isString).join(“.”).toLowerCase().replace(/[^.'A-Za-z]+/g,””));w(i,function(t,a){a||t?p(e,n?n+1:1):(e.username=i,s.trigger(“open:register-fb-account”,e))})}function k(e){ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account/social/login/facebook”,data:u(r,e)},function(n,t,i){if(n||200!==i.status)switch(_get(t,”reasonCode”)){case 0:p(e);break;case 2:s.trigger(“open:link-fb-account”,e)}else _(l(t))})}function q(e){var n=window.location.search.match(new RegExp(“[?]“+e+”=([^]*)”));return nn[1]}e.enable(s),this.isLoggedIn=h,this.logOut=function(){s.redirect(“logout”)},this.logIn=_,this.nymAuth=function(e,n){var t;b(e.id,function(i,s){i?n({form:”request failed”}):s?ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account/login”,data:e},function(e,i){e422===e.status?n({password:”invalid”}):e?n({form:”request failed”}):(_(t=l(i)),n(null,t))}):n({id:”invalid”})})},this.getCred=g,this.getProfile=function(e){var n=g()a.session;n?ajax.sendReceiveJson(c+”/account/profile?session_id=”+n,e):e(“User not logged in”)},this.getActivationStatus=function(){var e;switch(q(“account_activation”)){case”0″:e=”activated”;break;case”1″:e=”activation-expired”;break;case”2″:e=”activation-used”}return e},this.getResetRequest=function(){if(!_isNull(q(“reset-password”)))return{id:q(“email”),oldP:q(“code”)}},this.requestReset=function(e,n){ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account/password/reset”,data:e},function(e,t){var i;switch(_get(t,”status”)){case”1″:i=”nym”;break;case”2″:i=”fb”;break;case”0″:default:i=null}n(e,i)})},this.resetPassword=function(e,n){ajax.sendJson({method:”POST”,url:c+”/account/password/update”,data:e},function(e,t){422===t.status?n(“Your password has already been changed.”):e||200!==t.status?n(“Error”):n(null)})},this.register=function(e,n){var t;ajax.sendJsonReceiveJson({method:”POST”,url:c+”/account”,data:e},function(e,i,s){e||200!==s.status?(t=(_get(s,”responseText”)||””).indexOf(“Invalid email”)-1,n(t?{email:”Please enter a valid email address”}:{form:i.message||”Request failed, please try again”})):n(null,!0)})},this.checkUserEmail=v,this.checkUsername=w,this.checkUserId=b,this.connectFacebookUser=k,this.linkFbNymUser=function(e){ajax.sendJson({method:”POST”,url:c+”/account/social/facebook/link”,data:e},function(n){var t;n?console.warn(n):k((t=e,u(_invert(r),t)))})},this.redirect=function(e,n){window.location.href=c+”/account/”+e+”/cookie?”+_reduce(n,function(e,n,t){return e+t+”=”+n+””},””)+”origin=”+window.location.href.split(“?”)[0]}}]),DS.get(“facebook”);
}, {“11″:11,”27″:27,”51″:51,”82″:82,”111″:111,”116″:116,”135″:135,”167″:167,”168″:168,”169″:169,”170″:170,”171″:171}];
window.modules["visit.legacy"] = [function(require,module,exports){"use strict";var _reduce=require(82),_get=require(11),_includes=require(10),_assign=require(33),_clone=require(34),_remove=require(165);DS.service("visit",["$window","$document","cookie","login","Fingerprint2",function(e,i,t,r,n){var o,s=e.localStorage,c="data-uri",l="visitServiceCount",u="visitServicePreviousTimestamp",d="visitServiceFirstVisitTimestamp",a="visitServiceVisitStartTimestamp",f="visitServiceInitialRefferer",h="nyma",_="visitDates",m=864e5,v=18e5,I=30,g={},p=Object.create(Object.prototype,{_processQ:{value:function(){var e,i=this._q.slice(0),t=i.length;for(this._q=[],e=0;tS(u),t=e-mS(a);return i||t}function M(){var e=Date.now();!B(e)O(e)}function F(e){p.clientId=t.get(h),p.clientId||function(e){new n({excludeJsFonts:!0,excludeFlashFonts:!0,excludeCanvas:!0,excludeWebGL:!0,excludePixelRatio:!0}).get(function(i){p.clientId=i+”.”+e})}(e)}function q(i){return i=Array.isArray(i)?i:[],_reduce(_get(e,”location.search”,””).substr(1).split(“”),function(e,t){var r=t.split(“=”),n=r[0],o=r[1];return o_includes(i,n)(e[n]=decodeURIComponent(o)),e},{})}function C(){var i=e.navigator,t=i.userAgent,r=function(e,i,t){return t||_includes(e,” OPR/”)?_includes(e,”Mini”)?”Opera Mini”:”Opera”:/(BlackBerry|PlayBook|BB10)/i.test(e)?”BlackBerry”:_includes(e,”IEMobile”)||_includes(e,”WPDesktop”)?”Internet Explorer Mobile”:_includes(e,”Edge”)?”Microsoft Edge”:_includes(e,”FBIOS”)?”Facebook Mobile”:_includes(e,”Chrome”)?”Chrome”:_includes(e,”CriOS”)?”Chrome iOS”:_includes(e,”FxiOS”)?”Firefox iOS”:_includes(i,”Apple”)?_includes(e,”Mobile”)?”Mobile Safari”:”Safari”:_includes(e,”Android”)?”Android Mobile”:_includes(e,”Konqueror”)?”Konqueror”:_includes(e,”Firefox”)?”Firefox”:_includes(e,”MSIE”)||_includes(e,”Trident/”)?”Internet Explorer”:_includes(e,”Gecko”)?”Mozilla”:””}(t,i.vendor,e.opera);return{browser:r,browserVersion:function(e,i){var t={“Internet Explorer Mobile”:/rv:(d+(.d+)?)/,”Microsoft Edge”:/Edge/(d+(.d+)?)/,Chrome:/Chrome/(d+(.d+)?)/,”Chrome iOS”:/CriOS/(d+(.d+)?)/,Safari:/Version/(d+(.d+)?)/,”Mobile Safari”:/Version/(d+(.d+)?)/,Opera:/(Opera|OPR)/(d+(.d+)?)/,Firefox:/Firefox/(d+(.d+)?)/,”Firefox iOS”:/FxiOS/(d+(.d+)?)/,Konqueror:/Konqueror:(d+(.d+)?)/,BlackBerry:/BlackBerry (d+(.d+)?)/,”Android Mobile”:/androids(d+(.d+)?)/,”Internet Explorer”:/(rv:|MSIE )(d+(.d+)?)/,Mozilla:/rv:(d+(.d+)?)/}[e],r=ti.match(t);return r?parseFloat(r[r.length-2]):null}(r,t),os:function(e){return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?”Windows Phone”:”Windows”:/(iPhone|iPad|iPod)/.test(e)?”iOS”:/Android/.test(e)?”Android”:/(BlackBerry|PlayBook|BB10)/i.test(e)?”BlackBerry”:/Mac/i.test(e)?”Mac OS X”:/Linux/.test(e)?”Linux”:””}(t)}}function k(t,n){var o,l;g=_assign({clientId:t,currentUrl:e.location.href,firstVisitTimestamp:w(),initialReferrer:s.getItem(f),isNewVisit:p.isNewVisit,isLoggedIn:r.isLoggedIn(),pageUri:(l=i.querySelector(“["+c+'*="/_pages/"]‘),ll.getAttribute(c)),referrer:i.referrer,screenHeight:e.screen.height,screenWidth:e.screen.width,timestamp:n,visitCount:b(),userLoyalty:(o=(s.getItem(_)||””).split(“,”),o.lengthr}),(0===t.length||n-t[0]=864e5)t.unshift(n),s.setItem(_,t.join(“,”));try{s.setItem(f,i.referrer)}catch(e){}}var t,r,n;O(o),k(e,o)}),e.document.addEventListener(“click”,M),this.onceReady=function(e){p.onceClientIdIsReady(function(){e.call(null,_clone(g))})},this.getQueryParamsObject=q,this.getBrowserInfo=C}]);
}, {“10″:10,”11″:11,”33″:33,”34″:34,”82″:82,”165″:165}];
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==”function”require;if(!ua)return a(o,!0);if(i)return i(o,!0);var f=new Error(“Cannot find module ‘”+o+”‘”);throw f.code=”MODULE_NOT_FOUND”,f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(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==”function”require;for(var o=0;o typeof key === ‘string’ key.match(/.legacy$/))
.forEach((key) = window.require(key));
}

function tryToMount(fn, el, name) {
try {
fn(el); // init the controller
} catch (e) {
const elementTag = el.outerHTML.slice(0, el.outerHTML.indexOf(el.innerHTML));

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

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

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

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

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

// note: legacy controllers that require legacy services (e.g. dollar-slice) must
// wait for DOMContentLoaded to initialize themselves, as the files themselves must be mounted first
mountLegacyServices();
mountComponentModules();

// ]]

0 33

Rockell Baldwin, a 14-year-old girl and middle school student, was tackled to the ground and handcuffed by a school resource officer in Winston-Salem, North Carolina, on October 5, according to the Winston-Salem Journal.

As video of the incident captured by a neighbor circulated on Facebook, the Winston-Salem Urban League, the Ministers’ Conference of Winston-Salem and Vicinity, as well as Rockell’s mother, Tamkea McLean, are all calling for an investigation into the incident, as well as the firing of the officer who perpetrated the excessively violent detainment, according to the Journal.

Rockell wasn’t feeling well when she requested a hall pass so she could step outside her classroom to call her mother, according to WXII 12 News. Upon exiting her classroom, she was approached by the on-duty school resource officer, later identified as Salem-Winston police officer Tyler McCormick, who, she says, asked where she was going, according to local NBC affiliate WXII 12.

Rockell told McCormick she had a hall pass, according to an account as reported by the Journal, but McCormick told her she shouldn’t be outside the classroom. Rockell, who told Bishop Todd Fulton of the Ministers’ Conference that she was scared of McCormick at the time, then exited the school building, according to the Journal.

At that point, according to a press release from the Ministers’ Conference obtained by the * Journal*, it alleges that McCormick tried to trip Rockell, who attempted to step over his leg before he subsequently tackled her to the ground.

“I couldn’t believe it,” McLean said, according to WXII 12. “Especially the part when he had his hand on her face and just holding it on the concrete like that. She’s a child. I wouldn’t want that to happen to anyone.”

“While we are still collecting facts, in the disturbing and violent arrest of 14-year-old Rockell Baldwin at Hanes Magnet School, the current available information provides no reasonable explanation for an adult male to slam a child to the hot pavement, put his knee in her back, apply the full weight of his body to her, and hold her face against the hot pavement and handcuff her,” said Winston-Salem Urban League president James Perry, according to the Journal.

On October 5, the Winston-Salem police issued in a release that they were investigating the incident, according to the Winston-Salem Journal. On October 9, the police department issued new comments on the matter, according to WXII 12. Per the police department, McCormick was contacted by a school staff member earlier that day about the need for him to conduct a “disorderly conduct by fighting” investigation. In order to document his handling of said investigation, McCormick was wearing a body camera that day and at the time he arrested Rockell.

However, police body camera footage is not made available to the public in North Carolina, according to the AP. The video of the arrest, which was posted to Facebook by bystander George Timbers, according to the Winston-Salem Journal, starts with the physical altercation, and does not show what happened prior to the arrest.

The Journal spoke with Winston-Salem/Forsyth County Schools spokesman Brent Campbell on October 5, who said because of privacy laws, they can’t discuss potential student disciplinary action, or about police investigation, but that
that the district is aware of the incident and cooperating with police on their investigation.

The Ministers’ Conference has taken the position that the violent nature of Rockell’s arrest was racially motivated, according to the Journal. They compared it to the 2015 incident in South Carolina when a male school resource officer, Ben Fields, was videotaped, appearing to throw a black female high school student to the ground after she refused to give up her cell phone, according to CNN. CNN reported that Fields was fired from that job, but the Journal noted that he was not charged in this incident.

“Race is at the core of this,” said Reverend Carlton Eversley, a member of the Ministers’ Conference, according to the Journal. “This officer did not see this child as he would his own child.”

“We are unambiguously clear that this would not have happened to a young white middle-school girl,” the Ministers’ Conference said in their news release, according to the Journal.

According to WXII 12, both Rockell and her twin sister, who reportedly witnessed the incident, were punished with out-of -school suspensions.

McLean spoke in a press conference on October 10. In the video of the press conference, McLean is surrounded by members of the Ministers’ Conference, who hosted the press conference. One minister held a Black Lives Matter sign.

“I would like justice served for my child, and I would also like for him to not be able to do the things he is doing in the police department,” McLean said, according to the Winston-Salem Journal. “I would like for him to lose his job.”

Get the Teen Vogue Take. Sign up for the Teen Vogue weekly email.

Want more from Teen Vogue? Check this out: How the School-to-Prison Pipeline Works

0 30

Brikk, une marque de produits et accessoires technologiques qui a pour slogan “opulence defined”, propose “la collection la plus opulente d’appareils de communication disponible à ce jour” : des iPhone XS et XS Max 512 Go customisés avec des matériaux précieux. Il ne s’agit pas de simples coques pour iPhone en matériaux précieux : les surfaces des téléphones – parfois incrustés de diamants – sont recouvertes d’or jaune ou rose, de platine voire de météorite (!) ou de jade. C’est cette dernière qui coûte le plus cher : pour créér un “Lux iPhone X Royal Jade”, le service de Brikk Concierge propose au client de choisir exactement la zone de la pierre qui servira à habiller le téléphone qui coûtera finalement entre 49 995 et… 3 000 000$. C’est un peu dommage pour un smartphone qui sera obsolète dans 2 ans, non ?

0 24

UPDATE (October 12,2018): According to the Metropolitan Museum of Art as reported by ArtNet, “Heavenly Bodies” has become the institution’s most visited exhibition. The showcase attracted 1,659,647 visitors during its run, beating out 1978’s “Treasures of Tutankhamun,” which had 1,360,957 visitors.


Since May 10 of this year, The Metropolitan Museum of Art has been captivating public audiences with the new “Heavenly Bodies: Fashion and the Catholic Imagination” exhibition. Now, as several outlets have noted, it looks like acclaimed showcase has broken the record for the most-visited exhibit at The Met’s Costume Institute.

Specifically, more than 1.3 million attendees at the Upper East Side museum and almost 200,000 at The Met Cloisters have experienced “Heavenly Bodies: Fashion and the Catholic Imagination.” With several days to go until its October 8 closing, this means its also close to racking up the top spot for the most-visited event in The Met’s history. The current record-holder for The Met’s most-attended exhibit goes to 1978’s “Treasures of Tutankhamun.”

You can find out where to experience The Metropolitan Museum of Art’s “Heavenly Bodies: Fashion and the Catholic Imagination” exhibition below.

“Heavenly Bodies: Fashion and the Catholic Imagination”

Now – October 8, 2018

The Met Fifth Avenue
1000 5th Avenue
New York, NY 10028

The Met Cloisters
99 Margaret Corbin Drive
New York, NY 10040

0 36

The good news: A recent scourge of fake Adobe installers really does provide an update to the latest version of Flash. The bad news: It places cryptomining malware on your machine too.

The hack

Researchers at Palo Alto Networks warned this week of the latest evolution in both cryptojacking and fake Flash updates—two popular forms of cyber malfeasance united in one unpleasant parcel. Over the past several months, the researchers have found 113 of these fake updaters, which deposit a cryptocurrency miner called XMRig on the affected device.

Once in place, XMRig works quietly in the background, leeching your computer’s resources to generate Monero, a popular privacy-focused cryptocurrency. What makes this attack especially curious, though, is that it bothers to place the actual Flash update on the device as well. Which is considerate, but also just plain practical, from a cryptojacking perspective.

“It’s likely to make the user think that nothing had gone wrong,” says Ryan Olson, vice president of threat intelligence at Palo Alto Networks’ Unit 42. “Performing the update, and making the user think nothing bad had happened, goes hand in hand with the cryptomining business model. With an attack like ransomware, you’re going to be in the user’s face. Within a few minutes, you’re going to have their files, you’re going to have a pop-up saying, ‘Hey, I stole your data, you need to pay me money.’ But with cryptomining, you want that computer to keep running your software as long as possible.”

Think of it like a parasite that needs to keep its host alive. Gross! Palo Alto Networks says that victims, in this case, were tricked into clicking a phony URL; your best bet to stay safe may be, as always, to mind your browsing.

Who’s affected?

It’s unclear how many users were affected by this particular effort. Beyond the 113 instances Palo Alto Networks found, Olson says they don’t know how many people globally might have encountered or run the impostor installers.

Cryptojacking generally has become quite a scourge. It has run rampant on all corners of the internet, threatening even critical infrastructure. Recent research suggested that $250,000 of Monero was generated by cryptomining software Coinhive alone.

Not all cryptomining necessarily comes with bad intentions; some sites have deployed it as a way to generate revenue. But instances of voluntary cryptomining pale in comparison to the covert sort that chews up CPU power—like the kind Palo Alto Networks discovered.

How serious is this?

Without knowing how many people were fooled, it’s hard to quantify the impact. It is serious in that it’s an extension of the broader trend of cryptojacking, which doesn’t seem to be abating. And if you’re someone who was affected by this, your computer is likely taking a pretty serious performance hit right now.

In the broader scheme of things, though? Not that serious. In fact, given how buggy and vulnerability-ridden Flash has been for, well, years, the fact that this fake installer actually keeps it up to date is about as big a silver lining as we’re going to get.


More Great WIRED Stories

  • How the US fought China’s cybertheft—with a Chinese spy
  • Robocars could make humans unhealthier than ever
  • Turning California’s weed into the champagne of cannabis
  • Welcome to Voldemorting, the ultimate SEO dis
  • PHOTOS: From Mars, Pennsylvania to the Red Planet
  • Get even more of our inside scoops with our weekly Backchannel newsletter

0 21

Aimé Leon Dore is back with the newest drop of its FW18 accessories. The latest offering follows September’s launch which comprised of headwear and bags. Today, the New York-bred line expands its selection with new shoulder bags and neck wallets. You’ll also find premium bucket hats using materials such as tweed, wool and corduroy. More traditional caps are also included in the mix in a variation of the same materials with Aimé Leon Dore’s home crest logo. A graphic silk bandana, foam basketball and a tandem of BIC lighters round out the latest release. Prices for each item range from $5 to $110 USD.

Aimé Leon Dore’s second wave of accessories drops can be purchased at the brand’s official webshop. You can also take a look at ALD’s recent collaboration with Suicoke.

STAY CONNECTED