logo
Already a member? Login here

Movie Rental´s archives ↓

Cornell Cinema Reels Students in After Reopening

After closing its doors for a year, Cornell Cinema has reopened this semester as a place to relax, unwind and celebrate the world of film.

With many COVID guidelines in place to ensure a safe and comfortable viewing experience, movie attendees are required to wear masks throughout the entirety of the showing, provide a Cornell ID or proof of vaccination and practice respectful distancing. The concessions stand is also closed, as per the University guidelines.

The theater currently operates at 75 percent capacity, filling 255 of its 340 seats. 

Free Guy Review: Ryan Reynolds’ Video Game Movie Rules

Anyone who has seen the trailer for Free Guy probably thinks they know exactly what the film is going to be—and that’s partially true. Directed by Shawn Levy (Night at the Museum, Stranger Things), it’s a big-budget, video game-influenced movie about Guy (Ryan Reynolds), a NPC (non-playable character) in a massive online shooter video game called Free City, which is kind of Fortnite meets Grand Theft Auto. He walks around Free City oblivious to everything while real-life players cause unheard of carnage all around him. Until, one day, he realizes what’s actually happening and does something about it.

That much is obvious. What those trailers don’t tell you about the film is that Guy’s story is much more impactful and complex. It’s a love story. A story about human acceptance, empathy, and even the nature of existence itself, packaged in a bright, beautiful popcorn movie with plenty of comedy and action along the way. All of which is to say, Free Guy is way better than you may have been expecting—in fact, it’s absolutely joyful.

While Guy is the central character in the movie, things really kick into gear with the introduction of Millie, played by Killing Eve breakout Jodie Comer. She’s a top-level Free City player who also happens to be a game designer and believes the person who made Free City—the rich and powerful Antoine (Thor: Love and Thunder’s Taika Waititi)—stole important work she and her partner Keys (Stranger Things’ Joe Keery) did and used it in this game. So Millie goes into Free City to try and expose him, which is where Guy sees her, quickly falls in love, and breaks out of his usual NPC routine.

The downside to Free Guy is that once those basic bones of the story are set, you’ll probably figure out exactly what’s going to happen—even if there are a bunch of steps along the way. However predictable, the journey to get there makes up for it by being akin to a rocket ship; from the moment Free Guy begins, Levy and his team do not let up. It’s fast-paced with a light, breezy tone, and every scene is jam-packed with jokes, both through the story and in the background, plus tons of Easter eggs. The action is used not just to entertain, but to develop characters, which in turn endears them to the audience. While it’s very respectful and true to gaming culture, it’s one of those movies that almost anyone could watch and find enjoyment in.

Chill out
Get capsules, topicals, tinctures, and more in a variety of strengths at a steep markdown.

As Guy, Ryan Reynolds is basically just Ryan Reynolds. That’s not a bad thing, he’s great. But for the most part, he’s mostly presenting his usual wisecracking, handsome self. It works perfectly for the character and there’s a dash of innocence that gives Guy a bit of a twist but, for the most part, what you expect is what you get. Beyond just Reynolds though, the cast shines even brighter. Comer has a level of authority and swagger mixed with naivety and vulnerability which makes Millie hugely endearing. Waititi is laugh-out-loud hilarious as the villainous megalomaniac Antoine, and while Keery’s Keys is basically the straight man in the story, he does so with confidence and care. Throw in Pitch Perfect’s Utkarsh Ambudkar as Keys’ malleable co-worker, Get Out’s Lil Rel Howery as Guy’s best friend Buddy, and a laundry list of cameos, and the cast really brings Free Guy to a whole new level.

The visual effects of Free Guy are noteworthy too, not because they’re particularly flashy, but because they’re just flashy enough to make the world of Free City seem both fun to live in and kind of real. That’s important so we buy into Guy’s journey and feel like the game is as important as our reality, and ultimately, that balance is what makes Free Guy so good. On one level, it’s just a fun, simple story set primarily in a video game. But by weaving the real and fantasy worlds together, Free Guy makes us care about the characters in ways that elevate it from any potential mediocrity. Guy’s journey becomes a window into the way you should treat strangers and his feelings for Millie are revealed to come from somewhere pure and heartfelt. The film also explores the idea that something original should be celebrated for its originality, instead of simply mass-marketed and repackaged. The way people have their eyes opened to new realities can be seen as literal or through a social lens, and as people in the world watch Guy’s journey, everyone seems to find their own unique brand of inspiration.

Free Guy has a lot of ideas floating throughout, but never to a point where it feels preachy. If you just want to go along for the ride, you can do that too. Oh, and the film’s final act is a surprised-filled cornucopia—a cathartic cacophony of satisfying payoffs both narratively and emotionally that brings everything together beautifully. Sure, you knew how Free Guy was going to end 10 minutes after it started, but seeing how it all plays out is not only good old-fashioned fun, it’s got heart and smarts to boot. I feel safe putting Free Guy on a list with Wreck-It Ralph and Scott Pilgrim vs. The World as some of the best video game-themed movies in recent memory.

Free Guy opens in theaters only on August 13.


Wondering where our RSS feed went? You can pick the new up one here.

William Shatner’s Blue Origin launch on New Shepard: Live updates

2021-10-04T19:28:50.966Z

William Shatner to launch on Blue Origin’s New Shepard

Actor William Shatner, at left, and Blue Origin Vice President of Mission Flight Operations, at right, will fill the final two seats on the Oct. 12, 2021, New Shepard crewed flight. (Image credit: Blue Origin)

Captain Kirk is headed to space.

William Shatner, the 90-year-old actor who starred as Captain Kirk on “Star Trek: The Original Series,” will launch on a suborbital spaceflight aboard Blue Origin’s New Shepard spacecraft on Oct. 12, 2021, the company announced today (Oct. 4). 

Shatner, whose flight was hinted at last month by TMZ, is officially launching on Blue Origin‘s second crewed spaceflight. Liftoff is scheduled for 9:30 a.m. EDT (1330 GMT) from the company’s Launch Site One in West Texas near the town of Van Horn. He will become the oldest person ever to fly in space with the mission.

Star Trek streaming guide: Where to watch the Star Trek movies and TV shows online

Joining Shatner on New Shepard will be: Audrey Powers, Blue Origin’s vice president of missions and flight operations; Chris Boshuizen, co-founder of Earth observation company Planet Labs, and Glen de Vries, vice chair for life sciences and healthcare at French software company Dassault Systèmes. Shatner and Powers were announced as crewmembers today, while Boshuizen and de Vries were announced on Sept. 27.

Related: Star Trek movies, ranked worst to best

Chris Boshuizen (left) and Glen de Vries (right) are two of the four space tourists scheduled to fly on Blue Origin’s second crewed flight on Oct. 12. 2021 (Image credit: Blue Origin)

The upcoming flight comes less than three months after Blue Origin’s First Human Flight mission, which launched Jeff Bezos, his brother Mark, 82-year-old Wally Funk and 18-year-old Oliver Daemen on a suborbital flight on July 20. That mission set four Guinness World Records for the oldest person to fly in space (Funk), the youngest person to fly in space (Daemen), the first siblings to launch into space together and the first paying passenger to launch into space (Daemen, whose father paid for the trip), according to a GWR statement on Friday (Oct. 1). 

Shatner’s flight follows the 55th anniversary of “Star Trek,” which debuted on TV on Sept. 8, 1966, and on the heels of the actor’s latest album “Bill,” an autobiographical collection of spoken word pieces.

We’ll be posting updates of Shatner’s launch into space, landing and post-flight celebrations here throughout the mission, so be sure to check back for updates. In the meantime, here’s a recap of Blue Origin’s First Human Flight mission.

Everything We Know (and Don’t) About the Averted IATSE Strike

At any moment, thousands of entertainment workers could walk off the job in the largest coordinated labor action in Hollywood since World War II. Talk shows would freeze in time, picketers would encircle Burbank’s back lots, and movie sets would collect dust as the people who power the entertainment industry collectively suspend their work. I’m not sure if the American public understands the sheer pandemonium an IATSE-authorized strike could wreak, nor is it cognizant of the baffling conditions the below-the-line workers of the TV business operate under on a day-to-day basis.

IATSE stands for International Alliance of Theatrical Stage Employees. Founded in 1893, it’s one of the longest-running labor organizations in the world, and it covers over 150,000 workers across basically every facet of the performing arts: television, concerts, trade shows, Broadway, and more. Most people who work behind the scenes in entertainment, from ushers to animators, are represented by IATSE, in the same way screenwriters are represented by the WGA. As of this week, the union has approved a work stoppage if the ongoing negotiations between IATSE and AMPTP (Alliance of Motion Picture and Television Producers, comprising bigwigs like Disney, paramount, and Universal) over a contract renewal break down — and reports over the last few months of negotiations have suggested this is possible. It goes without saying that if this workforce (estimated to be around 60,000 people) suspends its labor, much of the United States’ contribution to the global content apparatus will cease to function, sending Tinseltown into uncharted territory as the backlog of unreleased film and television slowly dries up. The stakes are high, which is why we’ve put together this guide to understanding the demands of IATSE and what to expect from a potential lockout.

How did it come to this?

That’s a complicated question. Basically, 13 West Coast IATSE chapters and the AMPTP have been at the bargaining table all summer after their previous contract expired at the end of July. The union is looking for a three-year basic agreement that addresses a variety of grievances, including a higher minimum wage, humane off-hours between shifts, and increased pay for jobs on nonbroadcast streaming shows, which the Los Angeles Times notes are often saddled with rates and residuals that, IATSE claims, are “unfairly discounted” and bereft of pension hours due to their classification as “New Media.” (Scarlett Johansson would agree!) Thus far, the two sides have failed to gain any traction, with IATSE president Matthew Loeb openly questioning if a deal with producers is even feasible.

“We are fighting for core union principles: A living wage for the lowest paid among us, health and safety for those members who suffer abuse working unsafe hours or days without breaks, and the fulfillment of an unkept promise to share streaming success,” Loeb wrote in late August. “If the employers refuse to engage in substantive negotiations, refuse to change the culture by managing the workflow, and refuse to put human interests before corporate profits, the failure to reach an agreement will be their choice.”

On September 20, Loeb’s warning came to fruition. After AMPTP informed IATSE that it would not respond to the union’s latest proposal, IATSE leadership asked its members to authorize a strike. On October 4, union membership approved the stoppage by a 98 percent margin, with a massive 89 percent voter turnout. AMPTP now understands exactly what’s at risk if it can’t broker a deal. The threat has become real.

What’s the reaction from the industry?

You will not be surprised to learn that most celebrities are on the side of the stagehands here, because seriously, who wants to throw in their lot with a bunch of movie-house CEOs? Big names like Seth Rogen, Ben Stiller, Cynthia Nixon, and Susan Sarandon have all voiced their support for IATSE. Aidy Bryant flaunted a union-branded shirt at the season premiere of SNL. The WGA East has offered its solidarity, and the American Cinema Editors, though not a trade union, is actively encouraging IATSE’s members to strike.

But the starkest evidence of anger in the industry might be the IA_Stories Instagram page, which has racked up over 140,000 followers and frequently disperses anonymous disclosures from the grind. “I’m on a show right now that’s consistently pushing 17+ hour days,” reads one. “We’ve had three PAs fall asleep at the wheel.” It’s pretty grim, and has also served as fuel for the movement. The Hollywood Reporter quoted one anonymous Motion Picture Editors Guild member who believes the internet has fostered a tighter sense of harmony among Hollywood workers: “Because of social media, people are really saying, ‘Oh, I’m not the only one going through this.’”

Okay, that sounds bad. But what’s going to happen? Are they really going to strike?

Nobody knows for sure, but conventional wisdom says that both IATSE and AMPTP will work something out before everything goes nuclear. The Los Angeles Times notes that the workers have a lot of leverage right now; studios are eager to ramp up production after a COVID-shortened schedule, and that will be strictly impossible if all the grips are picketing outside. Loeb released a new statement Monday that effectively said the future hinges on the AMPTP: “I hope that the studios will see and understand the resolve of our members,” it reads. “The ball is in their court. If they want to avoid a strike, they will return to the bargaining table and make us a reasonable offer.”

Variety reports that as of Thursday, October 7, AMPTP conceded to some of IATSE’s demands concerning shorter production hours. However, an agent of IATSE Local 487 told members a contract is still “a ways off.”

Over 60,000 IATSE members agreed to move forward with a strike on Monday, October 18, if no suitable agreement was reached, giving negotiations four days to make a deal. “We will continue bargaining with the producers this week in the hopes of reaching an agreement that addresses core issues, such as reasonable rest periods, meal breaks, and a living wage for those on the bottom of the wage scale,” tweeted IATSE president Matthew D. Loeb. “However, the current pace of bargaining doesn’t reflect any sense of urgency. Without an end date, we could keep talking forever.”

If IATSE and AMPTP can’t find a way to establish détente, well …

Is there an IATSE strike update?

The 2021 IATSE strike was averted by a deal announced on Saturday, October 16. However, many members of IATSE say they will vote against ratifying the new contract for not adequately addressing the working conditions on set. The tentative agreement provides a 54-hour weekend and ten-hour humane turnaround time between shifts for all workers on all productions. Employees were fighting to make wider changes to the conditions on set, described as unsustainable. Work will continue in the weeks it takes to write up the contract and plan a ratification vote. On social media, frustration with the deal continues to grow, aggregated onto accounts like @IA_Stories and @IA_members on Instagram. “A 54 hour weekend plus 10 hour turnaround four nights a week comes out to 94 hours for sleep and ourselves,” one anonymous crew member wrote to @IA_Stories. “This leaves 74 hour work weeks. That’s it. The contract is for a 74 hour work week. Why would we want that?” In their Electoral College–style system, delegates participate in a winner-takes-all vote. Should they vote no on the ratification, union leadership would be back to the table with AMPTP. And their 98 percent strike approval still stands.

What happens if they do strike?

Absolute bedlam. This is the most interesting scenario, by far. We got a taste of the chaos in 2008, when the writers’ strike put countless network dramas on ice and forced late-night hosts to improvise without a script. (Remember Conan spinning his ring? Good times.) But that was limited to the writers’ room back then. Today, we might be headed toward a scenario where cameramen, makeup artists, and lighting technicians are completely MIA — which will gut the industry like a fish. “Striking workers would include almost everyone who works on a film set,” reports Brenden Gallagher at Jacobin. “[The labor stoppage] would be one of the largest in Hollywood history. And with so many different crafts walking out, it would also be the most disruptive. Film and television in the United States would grind to a halt.” It’s honestly hard to get one’s head around the scope of a potential lockout. Some scripted series will have enough content banked to last through the rest of the year, but others, especially those on networks, could start running out of content within a month. (As for who might not be affected, the Hollywood Reporter writes that “union crewmembers working on ads, union productions budgeted under $15 million, and HBO, Showtime, Starz, and Cinemax-produced projects for their cable channels would likely continue to show up for work.”)

Theoretically, since the stoppage pertains to the 13 West Coast IATSE chapters at the bargaining table, production houses elsewhere in the country — and internationally — might remain up and running. But nobody knows exactly what to expect. Will a fresh set of ambiguous release-date delays sweep through the nation? Will Jimmy Fallon be hosting The Tonight Show in his bedroom again? A lengthy stoppage conjures images of panicked production companies hiring scab script coordinators off the street to keep the machine running, leading to a production season that is somehow even more strange than last year’s wasteland. Or IATSE’s members will receive what they deserve, and everyone can eschew all this nasty business entirely. Imagine that.

See Pig and Tremble Before Your Own Mortality

-1}module.exports=listCacheHas;
}, {“868”:868}];
window.modules[“818″] = [function(require,module,exports){var getNative=require(801),root=require(800),Map=getNative(root,”Map”);module.exports=Map;
}, {“800″:800,”801”:801}];
window.modules[“819”] = [function(require,module,exports){var mapCacheClear=require(824),mapCacheDelete=require(823),mapCacheGet=require(820),mapCacheHas=require(822),mapCacheSet=require(821);function MapCache(e){var a=-1,p=null==e?0:e.length;for(this.clear();++a

-1}module.exports=arrayIncludes;
}, {“844”:844}];
window.modules[“844”] = [function(require,module,exports){var baseFindIndex=require(899),baseIsNaN=require(916),strictIndexOf=require(917);function baseIndexOf(e,s,n){return s==s?strictIndexOf(e,s,n):baseFindIndex(e,baseIsNaN,n)}module.exports=baseIndexOf;
}, {“899″:899,”916″:916,”917”:917}];
window.modules[“845”] = [function(require,module,exports){function arrayIncludesWith(r,n,e){for(var t=-1,u=null==r?0:r.length;++t-1e%1==0e=o?e:o)),e}module.exports=baseClamp;
}, {}];
window.modules[“875″] = [function(require,module,exports){var Stack=require(830),arrayEach=require(840),assignValue=require(867),baseAssign=require(869),baseAssignIn=require(871),cloneBuffer=require(879),copyArray=require(858),copySymbols=require(882),copySymbolsIn=require(880),getAllKeys=require(881),getAllKeysIn=require(876),getTag=require(877),initCloneArray=require(878),initCloneByTag=require(886),initCloneObject=require(883),isArray=require(179),isBuffer=require(850),isMap=require(884),isObject=require(118),isSet=require(885),keys=require(178),keysIn=require(872),CLONE_DEEP_FLAG=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG=4,argsTag=”[object Arguments]”,arrayTag=”[object Array]”,boolTag=”[object Boolean]”,dateTag=”[object Date]”,errorTag=”[object Error]”,funcTag=”[object Function]”,genTag=”[object GeneratorFunction]”,mapTag=”[object Map]”,numberTag=”[object Number]”,objectTag=”[object Object]”,regexpTag=”[object RegExp]”,setTag=”[object Set]”,stringTag=”[object String]”,symbolTag=”[object Symbol]”,weakMapTag=”[object WeakMap]”,arrayBufferTag=”[object ArrayBuffer]”,dataViewTag=”[object DataView]”,float32Tag=”[object Float32Array]”,float64Tag=”[object Float64Array]”,int8Tag=”[object Int8Array]”,int16Tag=”[object Int16Array]”,int32Tag=”[object Int32Array]”,uint8Tag=”[object Uint8Array]”,uint8ClampedTag=”[object Uint8ClampedArray]”,uint16Tag=”[object Uint16Array]”,uint32Tag=”[object Uint32Array]”,cloneableTags={};function baseClone(e,a,r,n,g,o){var t,l=aCLONE_DEEP_FLAG,i=aCLONE_FLAT_FLAG,s=aCLONE_SYMBOLS_FLAG;if(r(t=g?r(e,n,g,o):r(e)),void 0!==t)return t;if(!isObject(e))return e;var c=isArray(e);if(c){if(t=initCloneArray(e),!l)return copyArray(e,t)}else{var T=getTag(e),b=T==funcTag||T==genTag;if(isBuffer(e))return cloneBuffer(e,l);if(T==objectTag||T==argsTag||b!g){if(t=i||b?{}:initCloneObject(e),!l)return i?copySymbolsIn(e,baseAssignIn(t,e)):copySymbols(e,baseAssign(t,e))}else{if(!cloneableTags[T])return g?e:{};t=initCloneByTag(e,T,l)}}o||(o=new Stack);var u=o.get(e);if(u)return u;o.set(e,t),isSet(e)?e.forEach(function(n){t.add(baseClone(n,a,r,n,e,o))}):isMap(e)e.forEach(function(n,g){t.set(g,baseClone(n,a,r,g,e,o))});var y=c?void 0:(s?i?getAllKeysIn:getAllKeys:i?keysIn:keys)(e);return arrayEach(y||e,function(n,g){y(n=e[g=n]),assignValue(t,g,baseClone(n,a,r,g,e,o))}),t}cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=!0,cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=!1,module.exports=baseClone;
}, {“118″:118,”178″:178,”179″:179,”830″:830,”840″:840,”850″:850,”858″:858,”867″:867,”869″:869,”871″:871,”872″:872,”876″:876,”877″:877,”878″:878,”879″:879,”880″:880,”881″:881,”882″:882,”883″:883,”884″:884,”885″:885,”886”:886}];
window.modules[“876”] = [function(require,module,exports){var baseGetAllKeys=require(909),getSymbolsIn=require(1007),keysIn=require(872);function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,getSymbolsIn)}module.exports=getAllKeysIn;
}, {“872″:872,”909″:909,”1007”:1007}];
window.modules[“877″] = [function(require,module,exports){var DataView=require(799),Map=require(818),Promise=require(825),Set=require(826),WeakMap=require(838),baseGetTag=require(910),toSource=require(933),mapTag=”[object Map]”,objectTag=”[object Object]”,promiseTag=”[object Promise]”,setTag=”[object Set]”,weakMapTag=”[object WeakMap]”,dataViewTag=”[object DataView]”,dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataViewgetTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||MapgetTag(new Map)!=mapTag||PromisegetTag(Promise.resolve())!=promiseTag||SetgetTag(new Set)!=setTag||WeakMapgetTag(new WeakMap)!=weakMapTag)(getTag=function(e){var a=baseGetTag(e),t=a==objectTag?e.constructor:void 0,r=t?toSource(t):””;if(r)switch(r){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag}return a}),module.exports=getTag;
}, {“799″:799,”818″:818,”825″:825,”826″:826,”838″:838,”910″:910,”933”:933}];
window.modules[“878″] = [function(require,module,exports){var objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function initCloneArray(t){var r=t.length,n=new t.constructor(r);return r”string”==typeof t[0]hasOwnProperty.call(t,”index”)(n.index=t.index,n.input=t.input),n}module.exports=initCloneArray;
}, {}];
window.modules[“879”] = [function(require,module,exports){var root=require(800),freeExports=”object”==typeof exportsexports!exports.nodeTypeexports,freeModule=freeExports”object”==typeof modulemodule!module.nodeTypemodule,moduleExports=freeModulefreeModule.exports===freeExports,Buffer=moduleExports?root.Buffer:void 0,allocUnsafe=Buffer?Buffer.allocUnsafe:void 0;function cloneBuffer(e,o){if(o)return e.slice();var r=e.length,f=allocUnsafe?allocUnsafe(r):new e.constructor(r);return e.copy(f),f}module.exports=cloneBuffer;
}, {“800”:800}];
window.modules[“880”] = [function(require,module,exports){var copyObject=require(870),getSymbolsIn=require(1007);function copySymbolsIn(e,o){return copyObject(e,getSymbolsIn(e),o)}module.exports=copySymbolsIn;
}, {“870″:870,”1007”:1007}];
window.modules[“881”] = [function(require,module,exports){var baseGetAllKeys=require(909),getSymbols=require(1006),keys=require(178);function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols)}module.exports=getAllKeys;
}, {“178″:178,”909″:909,”1006”:1006}];
window.modules[“882”] = [function(require,module,exports){var copyObject=require(870),getSymbols=require(1006);function copySymbols(e,o){return copyObject(e,getSymbols(e),o)}module.exports=copySymbols;
}, {“870″:870,”1006”:1006}];
window.modules[“883″] = [function(require,module,exports){var baseCreate=require(810),getPrototype=require(1039),isPrototype=require(945);function initCloneObject(e){return”function”!=typeof e.constructor||isPrototype(e)?{}:baseCreate(getPrototype(e))}module.exports=initCloneObject;
}, {“810″:810,”945″:945,”1039”:1039}];
window.modules[“884”] = [function(require,module,exports){var baseIsMap=require(929),baseUnary=require(888),nodeUtil=require(1049),nodeIsMap=nodeUtilnodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap;
}, {“888″:888,”929″:929,”1049”:1049}];
window.modules[“885”] = [function(require,module,exports){var baseIsSet=require(936),baseUnary=require(888),nodeUtil=require(1049),nodeIsSet=nodeUtilnodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet;
}, {“888″:888,”936″:936,”1049”:1049}];
window.modules[“886″] = [function(require,module,exports){var cloneArrayBuffer=require(1001),cloneDataView=require(1002),cloneRegExp=require(1003),cloneSymbol=require(1004),cloneTypedArray=require(960),boolTag=”[object Boolean]”,dateTag=”[object Date]”,mapTag=”[object Map]”,numberTag=”[object Number]”,regexpTag=”[object RegExp]”,setTag=”[object Set]”,stringTag=”[object String]”,symbolTag=”[object Symbol]”,arrayBufferTag=”[object ArrayBuffer]”,dataViewTag=”[object DataView]”,float32Tag=”[object Float32Array]”,float64Tag=”[object Float64Array]”,int8Tag=”[object Int8Array]”,int16Tag=”[object Int16Array]”,int32Tag=”[object Int32Array]”,uint8Tag=”[object Uint8Array]”,uint8ClampedTag=”[object Uint8ClampedArray]”,uint16Tag=”[object Uint16Array]”,uint32Tag=”[object Uint32Array]”;function initCloneByTag(e,a,r){var t=e.constructor;switch(a){case arrayBufferTag:return cloneArrayBuffer(e);case boolTag:case dateTag:return new t(+e);case dataViewTag:return cloneDataView(e,r);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(e,r);case mapTag:return new t;case numberTag:case stringTag:return new t(e);case regexpTag:return cloneRegExp(e);case setTag:return new t;case symbolTag:return cloneSymbol(e)}}module.exports=initCloneByTag;
}, {“960″:960,”1001″:1001,”1002″:1002,”1003″:1003,”1004”:1004}];
window.modules[“888”] = [function(require,module,exports){function baseUnary(n){return function(r){return n(r)}}module.exports=baseUnary;
}, {}];
window.modules[“889”] = [function(require,module,exports){function cacheHas(a,c){return a.has(c)}module.exports=cacheHas;
}, {}];
window.modules[“890”] = [function(require,module,exports){var baseForOwn=require(891),createBaseEach=require(892),baseEach=createBaseEach(baseForOwn);module.exports=baseEach;
}, {“891″:891,”892”:892}];
window.modules[“891”] = [function(require,module,exports){var baseFor=require(903),keys=require(178);function baseForOwn(e,r){return ebaseFor(e,r,keys)}module.exports=baseForOwn;
}, {“178″:178,”903”:903}];
window.modules[“892”] = [function(require,module,exports){var isArrayLike=require(951);function createBaseEach(r,e){return function(a,i){if(null==a)return a;if(!isArrayLike(a))return r(a,i);for(var t=a.length,n=e?t:-1,u=Object(a);(e?n–:++n0r(u)?e1?baseFlatten(u,e-1,r,t,l):arrayPush(l,u):t||(l[l.length]=u)}return l}module.exports=baseFlatten;
}, {“853″:853,”902”:902}];
window.modules[“902”] = [function(require,module,exports){var Symbol=require(836),isArguments=require(848),isArray=require(179),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;function isFlattenable(e){return isArray(e)||isArguments(e)||!!(spreadableSymbolee[spreadableSymbol])}module.exports=isFlattenable;
}, {“179″:179,”836″:836,”848”:848}];
window.modules[“903”] = [function(require,module,exports){var createBaseFor=require(904),baseFor=createBaseFor();module.exports=baseFor;
}, {“904”:904}];
window.modules[“904”] = [function(require,module,exports){function createBaseFor(e){return function(r,t,a){for(var n=-1,o=Object(r),c=a(r),u=c.length;u–;){var f=c[e?u:++n];if(!1===t(o[f],f,o))break}return r}}module.exports=createBaseFor;
}, {}];
window.modules[“906”] = [function(require,module,exports){var castPath=require(907),toKey=require(908);function baseGet(e,t){for(var a=0,r=(t=castPath(t,e)).length;null!=eat}module.exports=baseGt;
}, {}];
window.modules[“915”] = [function(require,module,exports){function baseHasIn(n,e){return null!=ne in Object(n)}module.exports=baseHasIn;
}, {}];
window.modules[“916”] = [function(require,module,exports){function baseIsNaN(e){return e!=e}module.exports=baseIsNaN;
}, {}];
window.modules[“917”] = [function(require,module,exports){function strictIndexOf(r,t,e){for(var n=e-1,f=r.length;++n=120y.length=120)?new SetCache(iy):void 0}y=a[0];var l=-1,o=s[0];a:for(;++ln))return!1;var f=u.get(e),o=u.get(r);if(fo)return f==ro==e;var _=-1,s=!0,R=aCOMPARE_UNORDERED_FLAG?new SetCache:void 0;for(u.set(e,r),u.set(r,e);++_-1e%1==0e=o?p:p*(“desc”==i[n]?-1:1)}return e.index-r.index}module.exports=compareMultiple;
}, {“1005”:1005}];
window.modules[“968”] = [function(require,module,exports){var baseGet=require(906),baseSet=require(969),castPath=require(907);function basePickBy(e,a,t){for(var r=-1,s=a.length,b={};++rn?0:n+r),(a=an?n:a)a?0:a-r0,r=0;for(var o=Array(n);++l=LARGE_ARRAY_SIZE){var h=r?null:createSet(e);if(h)return setToArray(h);c=!1,t=cacheHas,n=new SetCache}else n=r?[]:i;e:for(;++sr||lus!m!c||nus||!es||!o)return 1;if(!n!l!ci1?r[i-1]:void 0,n=i2?r[2]:void 0;for(s=e.length3″function”==typeof s?(i–,s):void 0,nisIterateeCall(r[0],r[1],n)(s=i-1?a[n?r[s]:s]:void 0}}module.exports=createFind;
}, {“178″:178,”939″:939,”951”:951}];
window.modules[“1018″] = [function(require,module,exports){var flatten=require(119),overRest=require(979),setToString=require(980);function flatRest(e){return setToString(overRest(e,void 0,flatten),e+””)}module.exports=flatRest;
}, {“119″:119,”979″:979,”980”:980}];
window.modules[“1025”] = [function(require,module,exports){var toNumber=require(1028),INFINITY=1/0,MAX_INTEGER=1.7976931348623157e308;function toFinite(e){return e?(e=toNumber(e))===INFINITY||e===-INFINITY?(e0){if(++r=HOT_COUNT)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}module.exports=shortOut;
}, {}];
window.modules[“1053″] = [function(require,module,exports){var rsAstralRange=”\ud800-\udfff”,rsComboMarksRange=”\u0300-\u036f”,reComboHalfMarksRange=”\ufe20-\ufe2f”,rsComboSymbolsRange=”\u20d0-\u20ff”,rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsDingbatRange=”\u2700-\u27bf”,rsLowerRange=”a-z\xdf-\xf6\xf8-\xff”,rsMathOpRange=”\xac\xb1\xd7\xf7″,rsNonCharRange=”\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf”,rsPunctuationRange=”\u2000-\u206f”,rsSpaceRange=” \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000″,rsUpperRange=”A-Z\xc0-\xd6\xd8-\xde”,rsVarRange=”\ufe0e\ufe0f”,rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos=”[‘’]”,rsBreak=”[“+rsBreakRange+”]”,rsCombo=”[“+rsComboRange+”]”,rsDigits=”\d+”,rsDingbat=”[“+rsDingbatRange+”]”,rsLower=”[“+rsLowerRange+”]”,rsMisc=”[^”+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+”]”,rsFitz=”\ud83c[\udffb-\udfff]”,rsModifier=”(?:”+rsCombo+”|”+rsFitz+”)”,rsNonAstral=”[^”+rsAstralRange+”]”,rsRegional=”(?:\ud83c[\udde6-\uddff]){2}”,rsSurrPair=”[\ud800-\udbff][\udc00-\udfff]”,rsUpper=”[“+rsUpperRange+”]”,rsZWJ=”\u200d”,rsMiscLower=”(?:”+rsLower+”|”+rsMisc+”)”,rsMiscUpper=”(?:”+rsUpper+”|”+rsMisc+”)”,rsOptContrLower=”(?:”+rsApos+”(?:d|ll|m|re|s|t|ve))?”,rsOptContrUpper=”(?:”+rsApos+”(?:D|LL|M|RE|S|T|VE))?”,reOptMod=rsModifier+”?”,rsOptVar=”[“+rsVarRange+”]?”,rsOptJoin=”(?:”+rsZWJ+”(?:”+[rsNonAstral,rsRegional,rsSurrPair].join(“|”)+”)”+rsOptVar+reOptMod+”)*”,rsOrdLower=”\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])”,rsOrdUpper=”\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])”,rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji=”(?:”+[rsDingbat,rsRegional,rsSurrPair].join(“|”)+”)”+rsSeq,reUnicodeWord=RegExp([rsUpper+”?”+rsLower+”+”+rsOptContrLower+”(?=”+[rsBreak,rsUpper,”$”].join(“|”)+”)”,rsMiscUpper+”+”+rsOptContrUpper+”(?=”+[rsBreak,rsUpper+rsMiscLower,”$”].join(“|”)+”)”,rsUpper+”?”+rsMiscLower+”+”+rsOptContrLower,rsUpper+”+”+rsOptContrUpper,rsOrdUpper,rsOrdLower,rsDigits,rsEmoji].join(“|”),”g”);function unicodeWords(r){return r.match(reUnicodeWord)||[]}module.exports=unicodeWords;
}, {}];
window.modules[“1057”] = [function(require,module,exports){var root=require(800),now=function(){return root.Date.now()};module.exports=now;
}, {“800”:800}];
window.modules[“1058″] = [function(require,module,exports){var baseRest=require(978),eq=require(866),isIterateeCall=require(1010),keysIn=require(872),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,defaults=baseRest(function(e,r){e=Object(e);var t=-1,o=r.length,a=o2?r[2]:void 0;for(aisIterateeCall(r[0],r[1],a)(o=1);++t=f)break;if(l=f)break;if(l”,l=y+=2;break}c+=i(r[o]),l=y+=2;break;case 115:if(o=f)break;lencodeURIComponent(e).replace(/[!'()*]/g,e=`%${e.charCodeAt(0).toString(16).toUpperCase()}`));
}, {}];
window.modules[“1194”] = [function(require,module,exports){“use strict”;module.exports=((e,t)={if(“string”!=typeof e||”string”!=typeof t)throw new TypeError(“Expected the arguments to be of type `string`”);if(“”===t)return[e];const r=e.indexOf(t);return-1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]});
}, {}];
window.modules[“1197”] = [function(require,module,exports){“use strict”;var undef,has=Object.prototype.hasOwnProperty;function decode(e){try{return decodeURIComponent(e.replace(/+/g,” “))}catch(e){return null}}function encode(e){try{return encodeURIComponent(e)}catch(e){return null}}function querystring(e){for(var n,r=/([^=?]+)=?([^]*)/g,t={};n=r.exec(e);){var o=decode(n[1]),u=decode(n[2]);null===o||null===u||o in t||(t[o]=u)}return t}function querystringify(e,n){n=n||””;var r,t,o=[];for(t in”string”!=typeof n(n=”?”),e)if(has.call(e,t)){if((r=e[t])||null!==rr!==undef!isNaN(r)||(r=””),t=encode(t),r=encode(r),null===t||null===r)continue;o.push(t+”=”+r)}return o.length?n+o.join(“”):””}exports.stringify=querystringify,exports.parse=querystring;
}, {}];
window.modules[“1214”] = [function(require,module,exports){“use strict”;var __awaiter=thisthis.__awaiter||function(t,e,n,r){return new(n||(n=Promise))(function(a,i){function o(t){try{s(r.next(t))}catch(t){i(t)}}function c(t){try{s(r.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,c)}s((r=r.apply(t,e||[])).next())})},__generator=thisthis.__generator||function(t,e){var n,r,a,i,o={label:0,sent:function(){if(1a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},”function”==typeof Symbol(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError(“Generator is already executing.”);for(;o;)try{if(n=1,r(a=2i[0]?r.return:i[0]?r.throw||((a=r.return)a.call(r),0):r.next)!(a=a.call(r,i[1])).done)return a;switch(r=0,a(i=[2i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=(a=o.trys).length0a[a.length-1])(6===i[0]||2===i[0])){o=0;continue}if(3===i[0](!a||i[1]a[0]i[1]“:”akbar-men”,”∑”:”majmou”,”¤”:”omla”},az:{},ca:{“∆”:”delta”,”∞”:”infinit”,”♥”:”amor”,””:”i”,”|”:”o”,””:”mes que”,”∑”:”suma dels”,”¤”:”moneda”},cz:{“∆”:”delta”,”∞”:”nekonecno”,”♥”:”laska”,””:”a”,”|”:”nebo”,””:”vice jako”,”∑”:”soucet”,”¤”:”mena”},de:{“∆”:”delta”,”∞”:”unendlich”,”♥”:”Liebe”,””:”und”,”|”:”oder”,””:”groesser als”,”∑”:”Summe von”,”¤”:”Waehrung”},dv:{“∆”:”delta”,”∞”:”kolunulaa”,”♥”:”loabi”,””:”aai”,”|”:”noonee”,””:”ah vure bodu”,”∑”:”jumula”,”¤”:”faisaa”},en:{“∆”:”delta”,”∞”:”infinity”,”♥”:”love”,””:”and”,”|”:”or”,””:”greater than”,”∑”:”sum”,”¤”:”currency”},es:{“∆”:”delta”,”∞”:”infinito”,”♥”:”amor”,””:”y”,”|”:”u”,””:”mas que”,”∑”:”suma de los”,”¤”:”moneda”},fr:{“∆”:”delta”,”∞”:”infiniment”,”♥”:”Amour”,””:”et”,”|”:”ou”,””:”superieure a”,”∑”:”somme des”,”¤”:”monnaie”},gr:{},hu:{“∆”:”delta”,”∞”:”vegtelen”,”♥”:”szerelem”,””:”es”,”|”:”vagy”,””:”nagyobb mint”,”∑”:”szumma”,”¤”:”penznem”},it:{“∆”:”delta”,”∞”:”infinito”,”♥”:”amore”,””:”e”,”|”:”o”,””:”maggiore di”,”∑”:”somma”,”¤”:”moneta”},lt:{},lv:{“∆”:”delta”,”∞”:”bezgaliba”,”♥”:”milestiba”,””:”un”,”|”:”vai”,””:”lielaks neka”,”∑”:”summa”,”¤”:”valuta”},my:{“∆”:”kwahkhyaet”,”∞”:”asaonasme”,”♥”:”akhyait”,””:”nhin”,”|”:”tho”,””:”kyithaw”,”∑”:”paungld”,”¤”:”ngwekye”},mk:{},nl:{“∆”:”delta”,”∞”:”oneindig”,”♥”:”liefde”,””:”en”,”|”:”of”,””:”groter dan”,”∑”:”som”,”¤”:”valuta”},pl:{“∆”:”delta”,”∞”:”nieskonczonosc”,”♥”:”milosc”,””:”i”,”|”:”lub”,””:”wieksze niz”,”∑”:”suma”,”¤”:”waluta”},pt:{“∆”:”delta”,”∞”:”infinito”,”♥”:”amor”,””:”e”,”|”:”ou”,””:”maior que”,”∑”:”soma”,”¤”:”moeda”},ro:{“∆”:”delta”,”∞”:”infinit”,”♥”:”dragoste”,””:”si”,”|”:”sau”,””:”mai mare ca”,”∑”:”suma”,”¤”:”valuta”},ru:{“∆”:”delta”,”∞”:”beskonechno”,”♥”:”lubov”,””:”i”,”|”:”ili”,””:”bolshe”,”∑”:”summa”,”¤”:”valjuta”},sk:{“∆”:”delta”,”∞”:”nekonecno”,”♥”:”laska”,””:”a”,”|”:”alebo”,””:”viac ako”,”∑”:”sucet”,”¤”:”mena”},sr:{},tr:{“∆”:”delta”,”∞”:”sonsuzluk”,”♥”:”ask”,””:”ve”,”|”:”veya”,””:”buyuktur”,”∑”:”toplam”,”¤”:”para birimi”},uk:{“∆”:”delta”,”∞”:”bezkinechnist”,”♥”:”lubov”,””:”i”,”|”:”abo”,””:”bilshe”,”∑”:”suma”,”¤”:”valjuta”},vn:{“∆”:”delta”,”∞”:”vo cuc”,”♥”:”yeu”,””:”va”,”|”:”hoac”,””:”lon hon”,”∑”:”tong”,”¤”:”tien te”}};if(“string”!=typeof e)return””;if(“string”==typeof a(A=a),m=I.en,c=C.en,”object”==typeof a)for(g in n=a.maintainCase||!1,O=a.custom”object”==typeof a.custom?a.custom:O,u=+a.truncate1a.truncate||!1,l=a.uric||!1,s=a.uricNoSlash||!1,r=a.mark||!1,S=!1!==a.symbols!1!==a.lang,A=a.separator||A,l(p+=b.join(“”)),s(p+=z.join(“”)),r(p+=[“.”,”!”,”~”,”*”,”‘”,”(“,”)”].join(“”)),m=a.langI[a.lang]S?I[a.lang]:S?I.en:{},c=a.langC[a.lang]?C[a.lang]:!1===a.lang||!0===a.lang?{}:C.en,a.titleCase”number”==typeof a.titleCase.lengthArray.prototype.toString.call(a.titleCase)?(a.titleCase.forEach(function(e){O[e+””]=e+””}),t=!0):t=!!a.titleCase,a.custom”number”==typeof a.custom.lengthArray.prototype.toString.call(a.custom)a.custom.forEach(function(e){O[e+””]=e+””}),Object.keys(O).forEach(function(a){var n;n=a.length1?new RegExp(“\b”+o(a)+”\b”,”gi”):new RegExp(o(a),”gi”),e=e.replace(n,O[a])}),O)p+=g;for(p=o(p+=A),f=!1,y=!1,d=0,k=(e=e.replace(/(^s+|s+$)/g,””)).length;d=0?(j+=g,g=””):!0===y?(g=U[j]+v[g],j=””):g=fv[g].match(/[A-Za-z0-9]/)?” “+v[g]:v[g],f=!1,y=!1):g in U?(j+=g,g=””,d===k-1(g=U[j]),y=!0):!m[g]||l-1!==b.join(“”).indexOf(g)||s-1!==z.join(“”).indexOf(g)?(!0===y?(g=U[j]+g,j=””,y=!1):f(/[A-Za-z0-9]/.test(g)||E.substr(-1).match(/A-Za-z0-9]/))(g=” “+g),f=!1):(g=f||E.substr(-1).match(/[A-Za-z0-9]/)?A+m[g]:m[g],g+=void 0!==e[d+1]e[d+1].match(/[A-Za-z0-9]/)?A:””,f=!0),E+=g.replace(new RegExp(“[^\w\s”+p+”_-]”,”g”),A);return t(E=E.replace(/(w)(S*)/g,function(e,a,n){var t=a.toUpperCase()+(null!==n?n:””);return Object.keys(O).indexOf(t.toLowerCase())u(h=E.charAt(u)===A,E=E.slice(0,u),h||(E=E.slice(0,E.lastIndexOf(A)))),n||t||(E=E.toLowerCase()),E},t=function(e){return function(a){return n(a,e)}},o=function(e){return e.replace(/[-\^$*+?.()|[]{}/]/g,”\$”)},i=function(e,a){for(var n in a)if(a[n]===e)return!0};if(“undefined”!=typeof modulemodule.exports)module.exports=n,module.exports.createSlug=t;else if(“undefined”!=typeof definedefine.amd)define([],function(){return n});else try{if(e.getSlug||e.createSlug)throw”speakingurl: globals exists /(getSlug|createSlug)/”;e.getSlug=n,e.createSlug=t}catch(e){}}(this);
}, {}];
window.modules[“1230″] = [function(require,module,exports){var namespace=”expire_mixin”;function expirePlugin(){var e=this.createStore(this.storage,null,this._namespacePrefix+namespace);return{set:function(t,n,a,r){this.hasNamespace(namespace)||e.set(n,r);return t()},get:function(e,n){this.hasNamespace(namespace)||t.call(this,n);return e()},remove:function(t,n){this.hasNamespace(namespace)||e.remove(n);return t()},getExpiration:function(t,n){return e.get(n)},removeExpiredKeys:function(e){var n=[];this.each(function(e,t){n.push(t)});for(var a=0;a=0;r–){var l=localStorage().key(r);e(read(l),l)}}function remove(e){return localStorage().removeItem(e)}function clearAll(){return localStorage().clear()}module.exports={name:”localStorage”,read:read,write:write,each:each,remove:remove,clearAll:clearAll};
}, {“1232”:1232}];
window.modules[“1234″] = [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]}function write(e,r){memoryStorage[e]=r}function each(e){for(var r in memoryStorage)memoryStorage.hasOwnProperty(r)e(memoryStorage[r],r)}function remove(e){delete memoryStorage[e]}function clearAll(e){memoryStorage={}}
}, {}];
window.modules[“1255″] = [function(require,module,exports){!function(e){var t=function(e){return new y(e)};t.version=”0.6.8″,”undefined”!=typeof modulemodule.exports?module.exports=t:”function”==typeof definedefine.amd?define(function(){return t}):e.typogr=t;var n=function(e,t){return new RegExp(e,t)},s=/]*/i,r=t.amp=function(e){var t=/(s| )()(s| )/g;if(e||”string”==typeof e)return e.replace(/()?([^)?/g,function(e,n,r,a){return a=a||””,(n=n||””).match(s)?n+r+a:n+(r=r.replace(t,’$1$3′))+a})},a=t.ord=function(e){if(e||”string”==typeof e){var t,n=f(e),r=[],a=!1,p=/(d+)(st|nd|rd|th)/g;return n.forEach(function(e){“tag”===e.type?(r.push(e.txt),t=s.exec(e.txt),a=!(!t||void 0!==t[1])):a?r.push(e.txt):r.push(e.txt.replace(p,’$1$2‘))}),r.join(“”)}},p=t.initQuotes=function(e){var t=n(“(?:(?:]*|^)\s*(?:]*\s*)*)(?:(“|“|“)|(‘|‘|‘))”,”i”);if(e||”string”==typeof e)return e.replace(t,function(e,t,n){var s=t?”dquo”:”quo”,r=treturn[e.slice(0,e.lastIndexOf(r)),’‘,r,”“].join(“”)})},c=t.widont=function(e){var t=”(?:]*?)*?[^\s]+(?:(?:a|em|span|strong|i|b)[^]*?)*?”,s=n(“(\s+”+t+”\s+”+t+”)(?:\s+)([^\s]+(?:\s*(?:a|em|span|strong|i|b)[^]*?\s*\.*)*?(?:\s*?(?:p|h[1-6]|li|dt|dd)|$))”,”gi”);return e.replace(s,’$1 $2′)},i=t.caps=function(e){var t,r=f(e),a=[],p=!1,c=n(“((\b[A-Z\d]*[A-Z]\d*[A-Z][A-Z\d’]*\b)|(\b[A-Z]+\.\s?(?:[A-Z]+\.\s?)+)(?:\s|\b|$))”,”g”);return r.forEach(function(e){“tag”===e.type?(a.push(e.txt),t=s.exec(e.txt),p=!(!t||void 0!==t[1])):p?a.push(e.txt):a.push(e.txt.replace(c,function(e,t,n,s){var r,a;return n?’%s‘.replace(“%s”,n):(” “===s.slice(-1)?(r=s.slice(0,-1),a=” “):(r=s,a=””),’%s1%s2′.replace(“%s1”,r).replace(“%s2”,a))}))}),a.join(“”)};t.typogrify=function(e){var t=e;return e.jquerye.html(t=e.html()),t=r(t),t=c(t),t=u(t),t=i(t),t=p(t),t=a(t)};var l,o,u=t.smartypants=function(e){var t,n,r=f(e),a=[],p=[],c=””,i=””,l=!1,o=””;return r.forEach(function(e){if(“tag”===e.type)a.push(e.txt),null!==(i=s.exec(e.txt))(c=i[2].toLowerCase(),i[1]?(p.length0c===p[p.length-1]p.pop(),0===p.length(l=!1)):(p.push(c),l=!0));else{if(n=(n=e.txt).replace(/(rock )’n'( roll)/gi,”$1’n’$2″),t=n.slice(-1),!l)switch(n=g(n),n=h(n),n=d(n),n=x(n)){case”‘”:n=/S/.test(o)?”’”:”‘”;break;case'”‘:n=/S/.test(o)?”””:”“”;break;default:n=m(n)}o=t,a.push(n)}}),a.join(“”)},f=t.tokenize=function(e){for(var t,n=[],s=0,r=/([^]*)/gi;null!==(t=r.exec(e));){var a=t[1],p=t[2];an.push({type:”text”,txt:a}),n.push({type:”tag”,txt:p}),s=r.lastIndex}return r.lastIndex)/g,”$1–”)},d=t.smartEllipses=function(e){return e.replace(/…/g,”…”).replace(/. . ./g,”…”)},x=t.smartBackticks=function(e){return e.replace(/“/g,”“”).replace(/”/g,”””)},m=t.smartQuotes=function(e){var t=”(?=%s\B)”.replace(“%s”,”[!”#\$\%\'()*+,-.\/:;?\@\[\\]\^_`{|}~]”),s=”[^\ \t\r\n\[\{\(\-]”,r=n(“(\s| |–[mn]dash;|–|—|ȁ[34];)'(?=\w)”,”g”),a=n(“(“+s+”)'(?!\s | s\b | \d)”,”g”),p=n(“(“+s+”)'(?!\s | s\b)”,”g”),c=n(‘(\s| |–[mn]dash;|–|—|ȁ[34];)”(?=\w)’,”g”),i=n(‘”(?=\s)’,”g”),l=n(“(“+s+’)”‘,”g”);return e.replace(n(“^’%s”.replace(“%s”,t),”g”),”’”).replace(n(‘^”%s’.replace(“%s”,t),”g”),”””).replace(/”‘(?=w)/g,”“‘”).replace(/'”(?=w)/g,”‘“”).replace(/b'(?=d{2}s)/g,”’”).replace(r,”$1‘”).replace(a,”$1’”).replace(p,”$1’$2″).replace(“‘”,”’”).replace(c,”$1“”).replace(i,”””).replace(l,”$1””).replace(‘”‘,”“”)},y=function(e){this._wrapped=e},v=function(e,n){y.prototype[e]=function(){return e=n.call(t,this._wrapped),this._chain?t(e).chain():e;var e}};for(l in t)t.hasOwnProperty(l)((o=t[l])o.constructoro.callo.apply)v(l,t[l]);y.prototype.chain=function(){return this._chain=!0,this},y.prototype.value=function(){return this._wrapped}}(this);
}, {}];
window.modules[“1352”] = [function(require,module,exports){“use strict”;const _map=require(80),_get=require(6),_isArray=require(179),_set=require(137),_isObject=require(118),_cloneDeep=require(91),_uniq=require(121);function formatSearchResult(e){return _map(e.hits.hits,”_source”)}function newQuery(e){if(!e)throw new Error(“An `index` is required to construct a query”);return{index:e,type:”_doc”,body:{query:{}}}}function addShould(e,o){var t=_get(e,”body.query.bool.should”,void 0),r=_isArray(o);return t?r?_set(e,”body.query.bool.should”,t.concat(o)):(t.push(o),_set(e,”body.query.bool.should”,t)):_set(e,”body.query.bool.should”,r?o:[o]),e}function addMust(e,o){var t=_get(e,”body.query.bool.must”,void 0),r=_isArray(o);return t?r?_set(e,”body.query.bool.must”,t.concat(o)):(t.push(o),_set(e,”body.query.bool.must”,t)):_set(e,”body.query.bool.must”,r?o:[o]),e}function addMustNot(e,o){var t=_get(e,”body.query.bool.must_not”,void 0),r=_isArray(o);return t?r?_set(e,”body.query.bool.must_not”,t.concat(o)):(t.push(o),_set(e,”body.query.bool.must_not”,t)):_set(e,”body.query.bool.must_not”,r?o:[o]),e}function addFilter(e,o){var t=_get(e,”body.query.bool.filter”,void 0);if(!_isObject(o))throw new Error(“Filter query required to be an object”);return t?_isArray(t)?(t.push(o),_set(e,”body.query.bool.filter”,t)):_set(e,”body.query.bool.filter”,[_cloneDeep(t),o]):_set(e,”body.query.bool.filter”,o),e}function addMinimumShould(e,o){if(“number”!=typeof o)throw new Error(“A number is required as the second argument”);return _set(e,”body.query.bool.minimum_should_match”,o),e}function addSort(e,o){var t=_get(e,”body.sort”);return _isArray(t)||_set(e,”body.sort”,t=[]),t.push(o),e}function addSize(e,o){if(!o0!==o)return e;if(o=parseInt(o),isNaN(o))throw new Error(`Second argument must be a number: ${o}`);return _set(e,”body.size”,o)}function addFrom(e,o){if(!o0!==o)return e;if(o=parseInt(o),isNaN(o))throw new Error(`Second argument must be a number: ${o}`);return _set(e,”body.from”,o)}function onlyWithTheseFields(e,o){if(!_isArray(o))throw new Error(“Second argument is required to be an Array”);return _set(e,”body._source.include”,_uniq(o)),e}function onlyWithinThisSite(e,o){return o.subsiteSlug?addFilter(e,{term:{subsite:o.subsiteSlug}}):(addFilter(e,{term:{site:o.slug}}),addMustNot(e,{exists:{field:”subsite”}})),e}function onlyWithinThisDomain(e,o){return addFilter(e,{prefix:{canonicalUrl:`http://${o.host}`}}),e}function withinThisSiteAndCrossposts(e,o){var t={term:{}},r={bool:{should:[],minimum_should_match:1}};return t.term[“crosspost.”+(o.subsiteSlug||o.slug)]=!0,r.bool.should.push(t),o.subsiteSlug?r.bool.should.push({term:{subsite:o.subsiteSlug}}):(r.bool.should.push({term:{site:o.slug}}),addMustNot(e,{exists:{field:”subsite”}})),addFilter(e,r),e}function withinThisDomainOrCrossposts(e,o){return addShould(e,{term:{[`crosspost.${o.subsiteSlug||o.slug}`]:!0}}),addShould(e,{prefix:{canonicalUrl:`http://${o.host}`}}),addMinimumShould(e,1),e}function moreLikeThis(e,o,t){let r={fields:[“tags”],like:{_index:e.index,_type:”_doc”,_id:o},include:!1,min_term_freq:1,max_query_terms:12,min_doc_freq:1};return{more_like_this:Object.assign(r,t)}}function addAggregation(e={},o){const{body:t={}}=e;return o?(t.aggs?_set(e,”body.aggs”,Object.assign(t.aggs,o)):_set(e,”body.aggs”,o),e):e}function formatAggregationResults({aggregationName:e=””,field:o=””,subfield:t=””,skipEmpty:r=!0}){return function(s={}){let u=_get(s,`aggregations.${e}${t?”.”+t+”.”:”.”}buckets`,[]);return r(u=u.filter(e=0!==_get(e,”doc_count”,0))),u.map(e=e[o]||””)}}function addGeo(e,o){if(!_isArray(o))throw new Error(“Second argument is required to be an Array”);if(2!==o.length)throw new Error(“Array must be length 2”);if(o.some(isNaN))throw new Error(“Array must only contain numbers”);return _set(e,”body.query.geo_shape.location.shape.type”,”point”),_set(e,”body.query.geo_shape.location.shape.coordinates”,o),e}function combineFunctionScoreQueries(e,o){let t=_cloneDeep(_get(e,”body.query”,{})),r=_cloneDeep(_get(o,”body.query”,{})),s=_get(e,”body.sort”);return _set(e,”body.query”,{}),_set(e,”body.query.function_score.functions”,[]),e.body.query.function_score.functions.push({filter:t,weight:20}),e.body.query.function_score.functions.push({filter:r,weight:10}),e.body.query.function_score.score_mode=”max”,e.body.query.function_score.min_score=10,_isArray(s)||_set(e,”body.sort”,s=[]),s.unshift({_score:”desc”}),e}function addNestedObjQuery(e,o,t){if(!e)throw new Error(“There is no base query to perform the addNestedObjQuery operation”);if(!o)throw new Error(“There is no nested object path to perform the nested query against”);if(!t)throw new Error(“There is no nested query path to perform the nested query against”);return _set(e,”nested”,{path:o,query:t}),e}function addMatchAll(e){return _set(e,”body.query”,{match_all:{}}),e}function addMultiMatch(e,o){const t=_get(e,”body.query.bool.must”,void 0),{fields:r,type:s,string:u}=o,i={multi_match:{query:u,fields:r,type:s}};return t?(t.push(i),_set(e,”body.query.bool.must”,t)):_set(e,”body.query.bool.must”,[i]),e}module.exports=newQuery,module.exports.addGeo=addGeo,module.exports.addAggregation=addAggregation,module.exports.addShould=addShould,module.exports.addFilter=addFilter,module.exports.addMust=addMust,module.exports.addMustNot=addMustNot,module.exports.addMinimumShould=addMinimumShould,module.exports.addSort=addSort,module.exports.addSize=addSize,module.exports.addFrom=addFrom,module.exports.onlyWithTheseFields=onlyWithTheseFields,module.exports.onlyWithinThisSite=onlyWithinThisSite,module.exports.onlyWithinThisDomain=onlyWithinThisDomain,module.exports.withinThisSiteAndCrossposts=withinThisSiteAndCrossposts,module.exports.withinThisDomainOrCrossposts=withinThisDomainOrCrossposts,module.exports.formatAggregationResults=formatAggregationResults,module.exports.formatSearchResult=formatSearchResult,module.exports.moreLikeThis=moreLikeThis,module.exports.combineFunctionScoreQueries=combineFunctionScoreQueries,module.exports.addNestedObjQuery=addNestedObjQuery,module.exports.addMatchAll=addMatchAll,module.exports.addMultiMatch=addMultiMatch;
}, {“6″:6,”80″:80,”91″:91,”118″:118,”121″:121,”137″:137,”179”:179}];
window.modules[“1353”] = [function(require,module,exports){(function (process,__filename){(function (){
“use strict”;const _forEach=require(70),_get=require(6),_filter=require(163),_map=require(80),_isEmpty=require(117),urlParse=require(81),log=require(13).setup({file:__filename}),queryService=require(1352),universalRest=require(22),agoraLib=require(360),AGORA_HOST=window.process.env.AGORA_HOST,AGORA_ELASTIC_PREFIX=window.process.env.AGORA_ELASTIC_PREFIX,AGORA_ENDPOINT=AGORA_HOST?`${AGORA_HOST}/api/v1`:null,requestHeader={“Content-Type”:”application/json”},PRODUCTS_INDEX=”agora-products”,AFFILIATES_INDEX=”affiliates”,RETAILERS_INDEX=”retailers”,RETAILER_FIELDS=[“id”,”name”],FILTER_KEY={merchants:”name”,affiliates:”affiliate”},URL_RE=/^https?://.*$/;function getProducts(e,t){const{limit:r=100,start:a=0,search:s=””,sortDate:i=”desc”}=e,n=`${AGORA_ENDPOINT}/products?limit=${r}start=${a}search=${encodeURIComponent(s)}sortDate=${i}`;return fetch(n).then(handleResponse).then(e=t?filterByLocale(e,t):e).then(e=({total:e.length,products:e})).catch(handleError(n))}function getProduct(e,t){const r=`${AGORA_ENDPOINT}/products/${e}`;if(!AGORA_ENDPOINT)throw new Error(“No Agora endpoint has been set”);if(“string”!=typeof e)throw new Error(“request must provide a product id”);return fetch(r).then(handleResponse).then(e=t?filterByLocale(e,t):e).catch(handleError(r))}function postProduct(e){const t=`${AGORA_ENDPOINT}/products`,r={method:”POST”,headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function putProduct(e,t){const r=`${AGORA_ENDPOINT}/products/${e}`,a={method:”PUT”,headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function patchProduct(e,t){const r=`${AGORA_ENDPOINT}/products/${e}`,a={method:”PATCH”,headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function deleteProduct(e){const t=`${AGORA_ENDPOINT}/products/${e}`;return fetch(t,{method:”DELETE”,headers:requestHeader}).then(handleResponse).catch(handleError(t))}function getMerchantList(e){const{limit:t=100,fields:r=””}=e;return Promise.resolve([{name:”Amazon”}]).catch(handleError(“”))}function getMerchant(e){const t=`${AGORA_ENDPOINT}/merchants/${e}`;if(“string”!=typeof e)throw new Error(“request must provide a merchant id”);return fetch(t).then(handleResponse).catch(handleError(t))}function patchMerchant(e,t){const r=`${AGORA_ENDPOINT}/merchants/${e}`,a={method:”PATCH”,headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function postMerchant(e){const t=`${AGORA_ENDPOINT}/merchants`,r={method:”POST”,headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function putMerchant(e,t){const r=`${AGORA_ENDPOINT}/merchants/${e}`,a={method:”PUT”,headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function deleteMerchant(e){const t=`${AGORA_ENDPOINT}/merchants/${e}`;return fetch(t,{method:”DELETE”,headers:requestHeader}).then(handleResponse).catch(handleError(t))}function migrateMerchants(e){const t=`${AGORA_ENDPOINT}/merchants/migrate-affiliate`,r={method:”POST”,headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function getRetailers(e){const{limit:t=100,start:r=0}=e,a=`${AGORA_ENDPOINT}/retailers?limit=${t}start=${r}`;return fetch(a).then(handleResponse).then(e=({total:e.length,retailers:e})).catch(handleError(a))}function getRetailer(e){const t=`${AGORA_ENDPOINT}/retailers/${e}`;return fetch(t).then(handleResponse).catch(handleError(t))}function postRetailer(e){const t=`${AGORA_ENDPOINT}/retailers`,r={method:”POST”,headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function putRetailer(e,t){const r=`${AGORA_ENDPOINT}/retailers/${e}`,a={method:”PUT”,headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function deleteRetailer(e){const t=`${AGORA_ENDPOINT}/retailers/${e}`;return fetch(t,{method:”DELETE”,headers:requestHeader}).then(handleResponse).catch(handleError(t))}function getAffiliates(e){const{limit:t=100,start:r=0}=e,a=`${AGORA_ENDPOINT}/affiliates?limit=${t}start=${r}`;return fetch(a).then(handleResponse).then(e=({total:e.length,affiliates:e})).catch(handleError(a))}function getAffiliateRetailers(e){const t=`${AGORA_ENDPOINT}/retailers/${e}/affiliates`;return fetch(t).then(handleResponse).catch(handleError(t))}function getAffiliateRetailer(e,t){const r=`${AGORA_ENDPOINT}/retailers/${e}/affiliates/${t}`;return fetch(r).then(handleResponse).catch(handleError(r))}function postAffiliateRetailer(e,t,r=!1){const a=`${AGORA_ENDPOINT}/retailers/${e}/affiliates${r?”?updateElasticWithinRequestCycle=true”:””}`,s={method:”POST”,headers:requestHeader,body:JSON.stringify(t)};return fetch(a,s).then(handleResponse).catch(handleError(a))}function putAffiliateRetailer(e,t,r){const a=`${AGORA_ENDPOINT}/retailers/${e}/affiliates/${t}`,s={method:”PUT”,headers:requestHeader,body:JSON.stringify(r)};return fetch(a,s).then(handleResponse).catch(handleError(a))}function deleteAffiliateRetailer(e,t){const r=`${AGORA_ENDPOINT}/retailers/${e}/affiliates/${t}`;return fetch(r,{method:”DELETE”,headers:requestHeader}).catch(handleError(r))}function postLocale(e){const t=`${AGORA_ENDPOINT}/locales/`,r={method:”POST”,headers:requestHeader,body:JSON.stringify(e)};return fetch(t,r).then(handleResponse).catch(handleError(t))}function patchLocale(e,t){const r=`${AGORA_ENDPOINT}/locales/${e}`,a={method:”PATCH”,headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}function handleResponse(e){try{return e.json().then(t={if(e.status=400){const e=_get(t,”message.details[0].message”);throw new Error(e)}return t})}catch(e){throw new Error(e.message)}}function handleError(e){return t={throw log(“warn”,`Failed request to ${e}`,t),new Error(`request to ${e} failed`)}}function buildProductsQuery({search:e=””,limit:t=100,start:r=0,sortDate:a=””,filters:s,locale:i}){const n=queryService(PRODUCTS_INDEX),c=sObject.keys(s).length?Object.keys(s).filter(e=Array.isArray(s[e])s[e].length):[],o={},l={};if(prependElasticPrefix(n),e||c.length||i||queryService.addMatchAll(n),i(queryService.addMust(o,{match:{“locales.locale”:i}}),queryService.addMust(l,{match:{“merchants.locale”:i}})),e)if(isURL(e))queryService.addMust(n,[queryService.addNestedObjQuery({},”merchants”,{match:{“merchants.buyUrl”:e}})]);else{const t={};queryService.addShould(t,[{match:{“locales.productId”:e}},{match:{“locales.name”:{query:e,boost:2}}}]),queryService.addMinimumShould(t,1),queryService.addMust(o,_get(t,”body.query”))}if(c.length){const e={};c.forEach(t={const r=s[t],a=FILTER_KEY[t],i={};a(i[`merchants.${a}`]=r,queryService.addMust(e,{terms:i}))}),queryService.addMust(l,_get(e,”body.query”))}return _isEmpty(o)||queryService.addMust(n,[queryService.addNestedObjQuery({},”locales”,_get(o,”body.query”))]),_isEmpty(l)||queryService.addMust(n,[queryService.addNestedObjQuery({},”merchants”,_get(l,”body.query”))]),queryService.addSize(n,t),r=0queryService.addFrom(n,r),”desc”===a||”asc”===a?queryService.addSort(n,{updatedAt:{order:a}}):equeryService.addSort(n,{_score:{order:”desc”}}),n}function prependElasticPrefix(e){return e.index=AGORA_ELASTIC_PREFIX?`${AGORA_ELASTIC_PREFIX}_${e.index}`:e.index,e}function buildMerchantsAggregation(e=1e6,t){const r=queryService(PRODUCTS_INDEX);return prependElasticPrefix(r),queryService.addMust(r,{match:{active:!0}}),tqueryService.addMust(r,queryService.addNestedObjQuery({},”merchants”,_get(queryService.addMust({},{match:{“merchants.locale”:t}}),”body.query”))),queryService.addAggregation(r,{merchants:{nested:{path:”merchants”},aggs:{name:{terms:{field:”merchants.name”,size:e}}}}}),queryService.addSize(r,0),r}function isURL(e){return URL_RE.test(e)}function filterByLocale(e,t,r={locales:”US”}){const a=Array.isArray(e);if(_isEmpty(e))return a?[]:{};const s=[“locales”,”merchants”],i=a?e:[e],n=Object.keys(r),c=_map(i,e={const a=Object.assign({},e);return _forEach(s,s={if(Object.keys(a).includes(s)){const i=t?_filter(e[s],[“locale”,t]):e[s];a[s]=i,!i.lengthn.includes(s)(a[s]=(_filter(e[s],[“locale”,r[s]])||[]).map(e=(e.id=null,e.locale=t,e)))}}),a.name=_get(a,”locales[0].name”,””),a});return ac.length?c:_get(c,”[0]”,{})}function searchByQueryWithRawResults(e,t){const r=`//${t.site.host}${80!==t.site.port?`:${t.site.port}`:””}${t.site.path}/_agora/_search`;return universalRest.post(r,e,!0)}function buildMerchantsByUrlQuery(e){const t=queryService(PRODUCTS_INDEX);return prependElasticPrefix(t),queryService.addNestedObjQuery(t.body.query,”merchants”,{match:{“merchants.buyUrl”:e}}),t}function getAffiliatesByLocale(e,t){const r=queryService(AFFILIATES_INDEX);return prependElasticPrefix(r),queryService.addMust(r,{match:{locale:e}}),queryService.addSize(r,1e3),queryService.addSort(r,{name:”asc”}),searchByQueryWithRawResults(r,t).then(e=_get(e,”hits.hits”,[]).map(e=_get(e,”_source”,{})))}function buildRetailersQuery({search:e=””,limit:t=50,start:r=0,direction:a=”asc”,locale:s=”US”,sortColumn:i=”retailers”}){const n=queryService(RETAILERS_INDEX);if(prependElasticPrefix(n),queryService.addMust(n,{match:{locale:s}}),equeryService.addMultiMatch(n,{fields:[“name”,”domains^2″],string:e,type:”phrase_prefix”}),”retailers”===iqueryService.addSort(n,{“name.keyword”:a}),”affiliates”===i){let e={};queryService.addNestedObjQuery(e,”affiliateRetailers”,{match_all:{}}),queryService.addMust(n,e),queryService.addSort(n,{“affiliateRetailers.affiliateName.keyword”:{order:a,nested_path:”affiliateRetailers”}})}return queryService.addSize(n,t),queryService.addFrom(n,r),n}function getRetailersList(e,t){return searchByQueryWithRawResults(buildRetailersQuery(e),t).then(e=({total:_get(e,”hits.total”,0),retailers:_get(e,”hits.hits”,[]).map(e=_get(e,”_source”,{}))}))}function getRetailersByAffiliateId(e,t,r){const a=queryService(RETAILERS_INDEX);return e?(prependElasticPrefix(a),queryService.addMust(a,{match:{locale:r}}),queryService.addMust(a,[queryService.addNestedObjQuery({},”affiliateRetailers”,{match:{“affiliateRetailers.affiliateId”:e}})]),queryService.addSize(a,1e4),queryService.addSort(a,{“name.keyword”:”asc”}),queryService.onlyWithTheseFields(a,RETAILER_FIELDS),searchByQueryWithRawResults(a,t).then(e=_get(e,”hits.hits”,[]).map(e=_get(e,”_source”,{})))):Promise.reject()}function getMerchantsList(e){return searchByQueryWithRawResults(buildMerchantsAggregation(1e6,_get(e,”site.agoraLocale”)),e).then(queryService.formatAggregationResults({aggregationName:”merchants”,field:”key”,subfield:”name”}))}function queryRetailersByUrl(e,t,r){const a=urlParse(e).host.split(“www.”).join(“”),s=queryService(RETAILERS_INDEX);return queryService.addMust(s,{match:{locale:r}}),queryService.addMust(s,{match:{domains:a}}),prependElasticPrefix(s),queryService.addSize(s,10),searchByQueryWithRawResults(s,t).then(e=_get(e,”hits.hits”,[]).map(e=_get(e,”_source”,{})))}function queryRetailersByName(e,t,r){const a=queryService(RETAILERS_INDEX);return queryService.addMust(a,{match:{locale:r}}),queryService.addMust(a,{match:{“name.keyword”:e}}),prependElasticPrefix(a),queryService.addSize(a,10),searchByQueryWithRawResults(a,t).then(e=_get(e,”hits.hits”,[]).map(e=_get(e,”_source”,{})))}require(238),module.exports={buildProductsQuery:buildProductsQuery,buildMerchantsAggregation:buildMerchantsAggregation,getProducts:getProducts,getProduct:getProduct,postProduct:postProduct,putProduct:putProduct,patchProduct:patchProduct,deleteProduct:deleteProduct,getMerchantList:getMerchantList,getMerchant:getMerchant,postMerchant:postMerchant,patchMerchant:patchMerchant,putMerchant:putMerchant,deleteMerchant:deleteMerchant,migrateMerchants:migrateMerchants,getRetailers:getRetailers,getRetailersList:getRetailersList,getRetailer:getRetailer,postRetailer:postRetailer,putRetailer:putRetailer,deleteRetailer:deleteRetailer,getRetailersByAffiliateId:getRetailersByAffiliateId,getAffiliates:getAffiliates,getAffiliateRetailers:getAffiliateRetailers,getAffiliateRetailer:getAffiliateRetailer,postAffiliateRetailer:postAffiliateRetailer,putAffiliateRetailer:putAffiliateRetailer,deleteAffiliateRetailer:deleteAffiliateRetailer,isURL:isURL,filterByLocale:filterByLocale,patchLocale:patchLocale,postLocale:postLocale,buildMerchantsByUrlQuery:buildMerchantsByUrlQuery,getAffiliatesByLocale:getAffiliatesByLocale,searchByQueryWithRawResults:searchByQueryWithRawResults,getMerchantsList:getMerchantsList,queryRetailersByUrl:queryRetailersByUrl,queryRetailersByName:queryRetailersByName,linkAutomation:agoraLib.linkAutomation};

}).call(this)}).call(this,require(29),”/services/universal/agora.js”)}, {“6″:6,”13″:13,”22″:22,”29″:29,”70″:70,”80″:80,”81″:81,”117″:117,”163″:163,”238″:238,”360″:360,”1352”:1352}];
window.modules[“1354”] = [function(require,module,exports){“use strict”;const _map=require(80),_mapValues=require(233),_reduce=require(120),_assign=require(167),_get=require(6),_pickBy=require(168),{getAffiliateMetadata:getAffiliateMetadata,getAffiliateByUrl:getAffiliateByUrl}=require(75),affiliateFields=[“siteShortKey”,”pageUri”,”productId”,”utmMedium”,”utmSource”,”sessionCount”,”format”,”utmCampaign”,”referrer”,”deviceAbbreviation”,”zone”],affiliateSettings={“Amazon Associates”:{domains:_get(getAffiliateMetadata(“Amazon Associates”),”domains”,[]),subtagKey:”ascsubtag”,maxLength:99,delimiter:”standard”,encode:!1},Narrativ:{domains:_get(getAffiliateMetadata(“Narrativ”),”domains”,[]),subtagKey:”u1″,maxLength:99,delimiter:”standard”,encode:!0},Rakuten:{domains:_get(getAffiliateMetadata(“Rakuten”),”domains”,[]),subtagKey:”u1″,maxLength:72,delimiter:”standard”,encode:!1},Shareasale:{domains:_get(getAffiliateMetadata(“Shareasale”),”domains”,[]),subtagKey:”afftrack”,maxLength:99,delimiter:”standard”,encode:!1},Skimlinks:{domains:_get(getAffiliateMetadata(“Skimlinks”),”domains”,[]),subtagKey:”xcust”,maxLength:50,delimiter:”alt”,encode:!1},Impact:{domains:_get(getAffiliateMetadata(“Impact”),”domains”,[]),subtagKey:”subId2″,maxLength:99,delimiter:”standard”,encode:!1},Avantlink:{domains:_get(getAffiliateMetadata(“Avantlink”),”domains”,[]),subtagKey:”ctc”,maxLength:64,delimiter:”alt”,encode:!1},CJ:{domains:_get(getAffiliateMetadata(“CJ”),”domains”,[]),subtagKey:”sid”,maxLength:64,delimiter:”alt”,encode:!1,joinBy:”/”,assignBy:”/”,positioned:!0,position:”after”,positionKey:”type/dlg/”},Partnerize:{domains:_get(getAffiliateMetadata(“Partnerize”),”domains”,[]),subtagKey:”pubref”,maxLength:100,delimiter:”alt”,encode:!1,joinBy:”/”,assignBy:”:”,positioned:!0,position:”before”,positionKey:”destination”},Pepperjam:{domains:_get(getAffiliateMetadata(“Pepperjam”),”domains”,[]),subtagKey:”sid”,maxLength:100,delimiter:”alt”,encode:!1},Awin:{domains:_get(getAffiliateMetadata(“Awin”),”domains”,[]),subtagKey:”pref1″,maxLength:100,delimiter:”alt”,encode:!1,positioned:!0,position:”before”,positionKey:”ued”}},subtagDictionary={siteShortKey:””,pageUri:”p”,productId:”i”,zone:”z”,deviceAbbreviation:”d”,utmSource:”s”,utmMedium:”m”,utmCampaign:”c”,sessionCount:”u”,referrer:”r”,format:”t”},delimiters={standard:[“[“,”]”],alt:[“__”,”_”]};function parseValueFromSubtag(t,e,a){const i=e[0]+t+e[1],s=a.split(i)[1]||””;return s?s.split(e[0])[0]:null}function parseSubtag(t,e=delimiters.standard){return _pickBy(_mapValues(subtagDictionary,a=parseValueFromSubtag(a,e,t)))}function generateSubtag(t,e,a=delimiters.standard,i=!1){const s=(t=e=`${t[0]}${e}${t[1]}`)(a);let n=_reduce(affiliateFields,(e,a)={const i=s(subtagDictionary[a]),n=t[a];return e+(n?i+n:””)},””);return i(n=encodeURIComponent(n)),n}function applySubtagMaxlength(t,e){var a=e-3*(t.split(“,”).length-1+t.split(“|”).length-1);return t.substr(0,a)}function getSubtagData({getters:t,fields:e=[],visitState:a,locals:i,productLink:s}){let n={};return e.forEach(e={n[e]=t[e]t[e]({visitState:a,locals:i,productLink:s})}),n}function parseQuery(t=””){return t.split(“”).reduce((t,e)={const a=e.split(“=”)[0],i=e.split(“=”)[1];return void 0!==i(t[a]=i),t},{})}function processSubtagPosition({url:t,positionKey:e,subtagKey:a,position:i=”after”,subtagString:s,joinBy:n,assignBy:r}={}){const[o,g]=t.split(e),l=`${a}${r}${s}`,u=[];if(“after”===i){if(!g)return t;const[i,s=””]=g.split(`${a}${r}`),d=s.split(n).slice(1).join(n);u.push(`${o}${e}`,l),iu.push(i),du.push(d)}if(“before”===i){const[t,i=””]=o.split(`${a}${r}`),s=i.split(n).slice(1).join(n);u.push(t),su.push(s),u.push(l,`${e}${g}`)}return u.reduce((t,e)={return t.slice(-1)===n(t=t.slice(0,-1)),t.length?[t,e].join(n):e},””)}function processSubtag({getters:t,affiliate:e,url:a,visitState:i={},locals:s}){const n=affiliateFields,r=_get(affiliateSettings[e],”subtagKey”),o=_get(affiliateSettings[e],”maxLength”),g=_get(affiliateSettings[e],”encode”),l=_get(affiliateSettings[e],”delimiter”),u=_get(affiliateSettings[e],”positioned”,!1),d=_get(affiliateSettings[e],”position”),f=_get(affiliateSettings[e],”positionKey”),p=_get(affiliateSettings[e],”assignBy”,”=”),c=_get(affiliateSettings[e],”joinBy”,””),m=delimiters[l];let b,y,S=a.indexOf(“?”)=0?a.split(“?”).pop():””,_=parseQuery(S),h=getSubtagData({getters:t,fields:n,visitState:i,locals:s,productLink:a});return r(y=_[r]||””,y=applySubtagMaxlength(b=generateSubtag(h=_assign(parseSubtag(y,m),_pickBy(h)),e,m,g),o),_[r]=y,S=_map(_,(t,e)=`${e}=${t}`).join(“”),a=u?processSubtagPosition({url:a,positionKey:f,subtagKey:r,position:d,subtagString:y,joinBy:c,assignBy:p}):a.split(“?”)[0]+`?${S}`),a}function createSubtagProcessor(t){return({url:e,visitState:a,locals:i,affiliate:s})=(s=getAffiliateByUrl(e)||s)?processSubtag({getters:t,url:e,affiliate:s,visitState:a,locals:i}):””}module.exports.generateSubtag=generateSubtag,module.exports.createSubtagProcessor=createSubtagProcessor,module.exports.processSubtag=processSubtag;
}, {“6″:6,”75″:75,”80″:80,”120″:120,”167″:167,”168″:168,”233”:233}];
window.modules[“article-nav.client”] = [function(require,module,exports){“use strict”;const dom=require(2),_throttle=require(66),$visibility=require(5),$popup=require(83),$gtm=require(4),{reportSocial:reportSocial}=require(82),auth0=require(16);module.exports=(t={let e=dom.find(“.page-header”),i=dom.find(“.article-content”),r=dom.find(t,”.deepscroll-headline”),o=dom.find(t,”.deepscroll-rubric”),s=dom.find(t,”.deepscroll-rubric-sponsored”),l=dom.find(“.article .article-header .rubric”),n=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=mm.getAttribute(“href”),g=dom.find(‘meta[property=”og:image”]’)?dom.find(‘meta[property=”og:image”]’).getAttribute(“content”):””,h=dom.find(‘meta[property=”og:title”]’)?dom.find(‘meta[property=”og:title”]’).getAttribute(“content”):””,y=dom.find(t,”.share-link.facebook”),w=dom.find(t,”.share-link.twitter”),v=dom.find(t,”.share-link.pinterest”),b=t.classList.contains(“header-simple”),x=window.getComputedStyle(d,null).getPropertyValue(“–targetFlexBasis”),L=window.getComputedStyle(d,null).getPropertyValue(“–verticalStart”)||0,C=window.getComputedStyle(d,null).getPropertyValue(“–verticalEnd”)||0,$=!1,_=55;function k(){_=parseInt(window.getComputedStyle(d,null).getPropertyValue(“–stickyTop”))||_,C=$visibility.getViewportWidth()=1180?window.getComputedStyle(d,null).getPropertyValue(“–verticalEndDesktop”)||C:window.getComputedStyle(d,null).getPropertyValue(“–verticalEnd”)||C}function S(){$=!1,P()}function P(){let{top:r}=t.getBoundingClientRect(),o=window.getComputedStyle(d,null).getPropertyValue(“–baseFlexBasis”),s=o-x,l=(_-e.getBoundingClientRect().top)/_,n=Math.max(0,Math.min(1,l)),m=L-C-2,f=Math.round(L-(m*n+2)),g=Math.ceil(o-s*n);if(lt?e.classList.add(“header-after-scroll”):e.classList.remove(“header-after-scroll”),p.style.transform=`translateY(${C}px)`,u.style.transform=`translateY(${C}px)`,void(d.style.flexBasis=x+”px”)}window.scrollYr?t.classList.add(“after-scroll”):t.classList.remove(“after-scroll”),window.scrollYr?e.classList.add(“header-after-scroll”):e.classList.remove(“header-after-scroll”),p.style.transform=`translateY(${f}px)`,u.style.transform=`translateY(${f}px)`,d.style.flexBasis=g+”px”,c(c.style.flexBasis=g+”px”),$visibility.getViewportWidth()=1180ifunction(){const t=a?$visibility.getPageOffset(a).top-70:0,e=$visibility.getPageOffset(i).top,r=Math.max(e,t);return Math.max(window.scrollY,document.body.scrollTop)=r}()?t.classList.add(“deep-scroll”):t.classList.remove(“deep-scroll”)}function V(t){var e=t.currentTarget,i=e.getAttribute(“href”),r=e.getAttribute(“data-handle”),o=$popup.getPopupClass(e.classList),s=$visibility.isBelowPrimaryContent(e)?”bottom”:”top”;$gtm.reportNow({event:”social-share-widget”,clickLocation:s,socialNetwork:o}),reportSocial(o),$visibility.getViewportWidth()=768o(t.preventDefault(),$popup.popWindow(o,r,i))}!function(){const e=_throttle(P,30);if(k(),dom.findAll(t,”.share-link”).forEach(t=t.addEventListener(“click”,V)),y(y.href=”http://www.facebook.com/sharer/sharer.php?u=”+f+”?utm_source=fbutm_medium=s3utm_campaign=sharebutton-t”),w(w.href=”https://twitter.com/share?text=”+encodeURIComponent(h)+”url=”+f+”?utm_source=twutm_medium=s3utm_campaign=sharebutton-tvia=”+w.getAttribute(“data-handle”)),v(v.href=”http://pinterest.com/pin/create/button/?url=”+f+”?utm_source=pinutm_medium=s3utm_campaign=sharebutton-tdescription=”+encodeURIComponent(h)+”media=”+g),b)return;auth0.on(“init”,()={auth0.isSubscriber()t.classList.add(“subscribed”)}),window.addEventListener(“scroll”,e),window.addEventListener(“resize”,S),window.addEventListener(“resize”,k),l?l.classList.contains(“rubric-sponsor-story”)s?(o.classList.remove(“visible”),s.classList.add(“visible”),s.textContent=l.text||l.textContent):(o.textContent=l.text||l.textContent,o.href=l.href||”#”):(n.style.display=”none”,o.style.display=”none”);S(),r.textContent=h}()});
}, {“2″:2,”4″:4,”5″:5,”16″:16,”66″:66,”82″:82,”83”:83}];
window.modules[“nav-search-button.client”] = [function(require,module,exports){“use strict”;const dom=require(2),$gtm=require(4),{reportSearch:reportSearch}=require(82),openClass=”open”,closeClass=”closed”;module.exports=(e={const s=e,t=dom.find(e,”.nav-search-button-trigger”),n=dom.find(e,”.nav-search-form”),o=dom.find(e,”.search-input”);function i(){const e=dom.find(“body”);s.classList.toggle(closeClass),s.classList.toggle(openClass),e.classList.toggle(“disabled”),e.classList.toggle(“search-active”)}function c(){i(),s.classList.contains(openClass)o.focus()}function a(e){!s.contains(e.target)s.classList.contains(openClass)i()}function r(e){27===e.keyCodes.classList.contains(openClass)i()}function d(e){e.preventDefault(),$gtm.reportCustomEvent({category:”search”,label:”on=”+window.location.href,action:o.value}),reportSearch((o.value||””).split(” “),()=n.submit())}!function(e,s,t){ss.addEventListener(“click”,c);tt.addEventListener(“submit”,d);e.addEventListener(“click”,a),document.addEventListener(“keydown”,r),e.addEventListener(“touchend”,a),n.addEventListener(“submit”,d)}(dom.find(“body”),t,dom.find(e,”.nav-search-form submit”))});
}, {“2″:2,”4″:4,”82”:82}];
window.modules[“nav-dropdown-button.client”] = [function(require,module,exports){“use strict”;const dom=require(2),visibility=require(5),{reportSearch:reportSearch}=require(82);function getNextSiblings(e){const t=[];let i=e;for(;i=i.nextElementSibling;)t.push(i);return t}function getMainChildren(e,t){let i=[],n=e.firstChild;for(;n=n.nextElementSibling;)n.contains(t)?n.isSameNode(t)||(i=i.concat(getMainChildren(n,t))):i.push(n);return i}function isMobile(){return visibility.getViewportWidth(){let t;const i=e.querySelector(“.nav-dropdown-button-trigger”),n=dom.find(“body”),o=dom.find(“.top”),l=dom.find(“.confetti-list”),s=dom.find(“.nav-dropdown-button_nymag-homepage”),r=dom.find(“header.page-header”)||o,c=dom.find(‘[data-editable=”main”]’),a=dom.closest(e,”.page-header”),d=a?a.querySelectorAll(“.confetti-image.blue”):””,g=a?a.querySelectorAll(“.confetti-image.green”):””,u=a?a.querySelectorAll(“.confetti-image.orange”):””,f=a?a.querySelectorAll(“.confetti-image.orange2″):””,m=a?a.querySelectorAll(“.confetti-image.pink”):””,p=a?a.querySelectorAll(“.confetti-image.purple”):””,h=a?a.querySelectorAll(“.confetti-image.yellow”):””,y=e.querySelectorAll(“.dropdown-nav-search-form”);function b(e){let t=e.currentTarget,i=t.querySelector(“.nav-search-input”),n=i?i.value.split(” “):[];e.preventDefault(),reportSearch(n,()=t.submit())}i.addEventListener(“click”,()={initializeHeight(e),v()});for(let e=0,t=y.length;e(function(e){e.classList.remove(“c-right”,”c-rightdown”,”c-left”,”c-leftdown”)})(e))},500)}()):(i.setAttribute(“aria-expanded”,”true”),t=window.scrollY),e.classList.toggle(“closed”),e.classList.toggle(“open”),n.classList.toggle(“disabled”),ae.isSameNode(s)?function(){if(o.contains(e)){const e=getMainChildren(o,s);S(e),w(o)}if(c.contains(e)){const e=getMainChildren(c,s);o.classList.toggle(“hidden-component”),w(c),S(e)}e.classList.toggle(“open-mobile”)}():a!yr(w(r),function(){const i=e.classList.contains(“open”)?0:t;window.scrollTo({top:i})}())}function w(e){S(getNextSiblings(e))}function S(e){e.forEach(e={e.classList.toggle(“hidden-component”)})}n.addEventListener(“click”,t={!e.contains(t.target)e.classList.contains(“open”)v()}),document.addEventListener(“keydown”,t={27===t.keyCodee.classList.contains(“open”)v()})});
}, {“2″:2,”5″:5,”82”:82}];
window.modules[“follow.client”] = [function(require,module,exports){“use strict”;const _find=require(71),$popup=require(83);DS.controller(“follow”,[function(){function e(e){this.el=e,this.handle=e.getAttribute(“data-handle”)}return e.prototype={events:{click:”openFollow”},openFollow:function(e){var t,n,a=$popup.position,o=$popup.params,l={},r={w:780,h:500},s=new a(r.w,r.h),c=this.el.classList;l.handle=this.handle,r.left=s.left,r.top=s.top,n=_find([{className:”facebook”,url:”https://facebook.com/{handle}”,network:”Facebook”},{className:”pinterest”,url:”http://www.pinterest.com/{handle}”,network:”Pinterest”},{className:”instagram”,url:”https://www.instagram.com/{handle}”,network:”Instagram”},{className:”rss”,url:”http://feeds.feedburner.com/{handle}”,network:”RSS”},{className:”twitter”,url:”https://twitter.com/intent/follow?screen_name={handle}tw_p=followbuttonvariant=2.0″,network:”Twitter”},{className:”snapchat”,url:”https://www.snapchat.com/discover/{handle}”,network:”Snapchat”}],function(e){return c.contains(e.className)}),l.url=n.url.replace(“{handle}”,l.handle),l.network=n.network,l.name=”Follow “+l.handle+” on “+l.network,t=new o(l,r),window.open(t.address,t.name,t.features),e.preventDefault()}},e}]);
}, {“71″:71,”83”:83}];
window.modules[“comments-link.client”] = [function(require,module,exports){“use strict”;const dom=require(2),_get=require(6),_isFinite=require(140),ajax=require(139);DS.controller(“comments-link”,[function(){var t,e=”http://”+document.documentElement.getAttribute(“data-uri”)+”.html”;function n(n){var o;(this.el=n,this.coral_talk_root=n.getAttribute(“data-coral-talk”),this.commentsCount=dom.find(n,”.comments-link-count”),this.commentsText=dom.find(n,”.comments-link-text”),this.isNavVariation=n.classList.contains(“comments-link_article-nav”),this.cutoffCnt=n.getAttribute(“data-cutoffCnt”)||1e3,t=`${this.coral_talk_root}/api/v1/graph/ql`,this.shouldRenderCommentStream())(o=this.onCommentCountFetched.bind(this),ajax.sendReceiveJson({method:”GET”,url:t+’?query={asset(url:”‘+e+'”){totalCommentCount}}’,dataType:”json”},function(t,e){var n=_get(e,”data.asset.totalCommentCount”,0);return t?o(t):_isFinite(n)?void o(null,n):o(“Unexpected Coral-Talk response”)}))}return n.prototype.onCommentCountFetched=function(t,e){if(t)return console.warn(t);e0(this.isNavVariatione1?”s”:””),this.el.classList.remove(“no-comments”))},n.prototype.shouldRenderCommentStream=function(){return-1!==e.indexOf(“@published”)},n}]);
}, {“2″:2,”6″:6,”139″:139,”140”:140}];
window.modules[“head-gtm.client”] = [function(require,module,exports){“use strict”;const{getCLS:getCLS,getFID:getFID,getLCP:getLCP}=require(171),isProduction=require(11)();function reportWebVitals(e){isProduction||console.log(“reportWebVitals: %O”,e);const t=”string”==typeof e.name?e.name.toUpperCase():e.name;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:”analyticsEvent”,event_action:t,event_category:”Web Vitals”,event_label:e.id,event_value:e.delta,eventAction:t,eventCategory:”Web Vitals”,eventLabel:e.id,eventNonInt:!0,eventValue:e.delta,nonInteraction:!0,transport:”beacon”})}getCLS(e={e.delta=Math.round(1e3*e.delta),reportWebVitals(e)}),getFID(e={e.delta=Math.round(e.delta),reportWebVitals(e)}),getLCP(e={e.delta=Math.round(e.delta),reportWebVitals(e)});
}, {“11″:11,”171”:171}];
window.modules[“concert-ads.client”] = [function(require,module,exports){“use strict”;const customMappings={“crime-assault”:”Power”,”career money productivity”:”Power”,”feminism-politics-identity”:”Power”,”culture-media”:”Culture”,celebrity:”Culture”,living:”Style”,fashion:”Style”,shopping:”Style”,weddings:”Style”,beauty:”Style”,animals:”Self”,”learning creativity”:”Self”,”relationships-friends family”:”Self”,”mental health personality social behavior”:”Self”,”learning creativity”:”Self”,”health-wellness”:”Self”,parenting:”Self”,”relationships-sex dating marriage”:”Self”},striptags=require(84),auth0=require(16);function installConcertAds(){const e=new URLSearchParams(window.location.search).get(“concert_config_url”),t=e||window.concertConfigUrl;window._nymPermutive||console.warn(“ConcertAds initializing without Permutive”),window.concertAds=createConcertAds(),window.concertAds.loadRemoteConfig(t).then(function(){window.concertAds.install()})}function createConcertAds(){const e=getAuthStatus();let t=getData(“title”),n=window.location.href,i=getData(“section”),r=””,o=getData(“type”),a=getData(“vertical”);t(t=striptags(htmlDecode(t)).split(” “)),n=n.slice(n.lastIndexOf(“/”)+1);const c={kw:getKeywords(),network:a,page_type:o,entry_group:i,keywords:t,pn:n};return”Homepage”===o?r=”homepage”:”Section Page”===o(r=(r=window.location.pathname).replace(///g,””)),i-1===i.indexOf(” “)(r=i),customMappings[i](r=customMappings[i]),window.location.hostname.match(/.aws./i)(c.clay_sandbox_env=a),new window.ConcertAds({cmd:[],slots:[],dfpVariables:c,slugPath:”/”+r.replace(/—|–/g,”-“),loggedIn:”unauthenticated”!==e,paywallActive:getPaywallStatus(e)})}function getKeywords(){try{const e=window._nymPermutive.article.keywords;return ee.length0e.some(Boolean)?e:(document.querySelector(‘meta[name=”keywords”]’)||document.querySelector(‘meta[property=”article:tag”]’)).getAttribute(“content”).split(“,”).map(function(e){return e.trim()})}catch(e){return}}function getData(e){if(window._nymPermutive){if(e in window._nymPermutive)return window._nymPermutive[e];if(window._nymPermutive.articlee in window._nymPermutive.article)return window._nymPermutive.article[e];if(window._nymPermutive.usere in window._nymPermutive.user)return window._nymPermutive.user[e]}}function htmlDecode(e){var t=document.createElement(“div”);return t.innerHTML=e,0===t.childNodes.length?””:t.childNodes[0].nodeValue}function getAuthStatus(){const e=auth0.getAppMetadata();return e?e.has_subscription?”entitled”:”unentitled”:”unauthenticated”}function getPaywallStatus(e){const t=getData(“totalCount”)return Boolean(t=3″entitled”!==e)}auth0.on(“init”,()={window.ConcertAds?installConcertAds():window.addEventListener(“concertAdsReady”,installConcertAds)});
}, {“16″:16,”84”:84}];
window.modules[“latest-news.client”] = [function(require,module,exports){“use strict”;const dom=require(2),lazyLoad=require(126);function lazyLoadImage(a){const o=dom.find(a,”img[data-src]”),d=dom.findAll(a,”source[data-srcset]”),e=dom.closest(a,”.result”);if(oe){new lazyLoad.LazyLoader(e,o,d).init()}}function handleLazyLoad(a){(dom.findAll(a,”.result”)||[]).forEach(lazyLoadImage)}module.exports=(a={handleLazyLoad(a)});
}, {“2″:2,”126”:126}];
window.modules[“coral-talk.client”] = [function(require,module,exports){“use strict”;const dom=require(2),visibility=require(5),auth0=require(16);let coralEmbed,hasEmbedScriptLoaded=!1,hasCoralTalkRendered=!1;function renderComments(e){if(hasEmbedScriptLoaded!hasCoralTalkRendered){const t={talk:`${e.CORAL_TALK_HOST}`,auth_token:auth0.getAuthJwt(),asset_url:e.TALK_ASSET_URL};hasCoralTalkRendered=!0,coralEmbed=window.Coral.Talk.render(e.commentStreamContainer,t)}}function coralLogin(){coralEmbed.login(auth0.getAuthJwt())}function embedScript(e,t){let i=document.createElement(“script”);i.type=”text/javascript”,i.async=!0,i.src=e,i.addEventListener(“load”,()={console.log(“LOADING EMBED SCRIPT”),hasEmbedScriptLoaded=!0,renderComments(t)}),document.getElementsByTagName(“head”)[0].appendChild(i)}function initVerificationMessage(){let e=document.querySelector(“.coral-talk-container”);auth0.isAuthenticated()!auth0.isEmailVerified()(e.insertAdjacentHTML(“beforebegin”,’n ‘),document.querySelector(“.activation-link”).addEventListener(“click”,sendVerificationEmail))}function sendVerificationEmail(){let e=document.querySelector(“.coral-talk-verify-address”);return fetch(`https://${window.location.host}/_user/verification-email?user_id=${auth0.getUserID()}`,{method:”GET”,headers:{“Content-Type”:”application/json”}}).then(e=e).then(t={t200==t.status?e.innerHTML=”Verification email was sent successfully”:e.innerHTML=`${t.statusText}`}).catch(e=console.log(e))}function attemptScriptEmbedding(e,t){initVerificationMessage(),hasEmbedScriptLoaded?renderComments(t):embedScript(t.EMBED_URL,t)}function addVisibilityListener(e,t){new visibility.Visible(e,{preloadThreshold:750}).on(“preload”,()=attemptScriptEmbedding(e,t))}function removeSignInButton(e){ee.parentNodedom.removeElement(e)}function init(e){const t=e.getAttribute(“data-coral-talk-host”),i=`${t}/static/embed.js`,n=`http://${document.documentElement.getAttribute(“data-uri”)}.html`,a=”true”===e.getAttribute(“data-maintenance”),r=-1!==n.indexOf(“@published”),o=e.querySelector(“.coral-talk-container”),c=e.querySelector(“.coral-talk-btn-signin”),d={commentStreamContainer:o,CORAL_TALK_HOST:t,EMBED_URL:i,signInButton:c,TALK_ASSET_URL:n};!arauth0.on(“init”,()={addVisibilityListener(e,d),c.addEventListener(“click”,()=auth0.showLogin()),auth0.isAuthenticated()removeSignInButton(c),visibility.isElementInViewport(e)attemptScriptEmbedding(d),hasCoralTalkRenderedcoralLogin()})}module.exports=init;
}, {“2″:2,”5″:5,”16”:16}];
window.modules[“choreographer.client”] = [function(require,module,exports){“use strict”;const cookie=require(69),_get=require(6),_omit=require(110),{insertSpeedBumpComponents:insertSpeedBumpComponents}=require(107),{insertNewsletterSpeedBumpComponents:insertNewsletterSpeedBumpComponents}=require(108),{generateGrowl:generateGrowl}=require(106),gtm=require(4),{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(53),{reportPaywall:reportPaywall}=require(82),moment=require(58),{getClientHistory:getClientHistory,updateClientHistoryWithPageData:updateClientHistoryWithPageData}=require(109),auth0=require(16),{Scenario:Scenario}=require(103),cidReadyEvent=”nymcid-set”,cidKey=”nymcid”,isProduction=require(11)(),logger=require(104).Logger(()=getLocalStorage(“show_choreographer_logs”)),{Verdon:Verdon}=require(105),TEST_COHORT_FLAG=”optimizeCohort”;function displayDebug(e=””){if(“entitlement”!==e.split(“#”).pop())return;const t=_get(window,”dataLayer[0].userDetails”,{}),o=_get(window,”dataLayer[0].pageDetails.featureTypes”,””),n=o.includes(“magazine”)?”magazine”:””,r=o.includes(“feature”)?”featured”:””,i=`Value of Article: ${n||r||”article”}`,a=`Authentication Status: ${auth0.isAuthenticated()?”authenticated”:”unauthenticated”}`,l=`Entitlement Status: ${auth0.isSubscriber()?”entitled”:”unentitled”}`,s=`Email: ${auth0.getEmail()}`,c=Object.keys(_omit(t,”newYorkMediaUserID”)).map(e=`${e}: ${t[e]}`),d=document.body,u=document.createElement(“div”),g=document.createElement(“ul”);[s,i,a,l,…c].map(e={const t=document.createElement(“li”);return t.classList.add(“debug-item”),t.appendChild(document.createTextNode(e)),t}).forEach(e={g.appendChild(e)}),g.classList.add(“data-bullets”),u.classList.add(“debug-choreographer”),u.classList.add(“display-debug-data”),u.appendChild(g),d.appendChild(u)}function initializeChoreographer(e){const t=e.getAttribute(“data-site-slug”),o=pageShouldCountAsView(t),n=auth0.isSubscriber();return t?getClientId(cidKey,8e3).then(e=(logger.h1(“Choreographer initialized”),logger.log(`clientId: ${e}`),logger.log(`page counts as a view: ${o}`),window.nymViewsResponse||(o?updateClientHistoryWithPageData(e,t):getClientHistory(e)))).then(r={if(logger.group(),logger.h2(“Client history”),logger.table(r),logger.groupEnd(),isNCR())return;const{scenarios:i,touts:a,testCohort:l=””}=readJSONFromScript(e.querySelector(“script”));if(!(l===(document.body.dataset[TEST_COHORT_FLAG]||””)))return;const s=i.map(e=Scenario(Object.assign({},e,{history:r,siteSlug:t,isSubscriber:n}))).filter(e=(logger.group(),logger.h2(“Evaluating scenarios”),logger.log(e),logger.groupEnd(),e.shouldShow)).reduce((e,{action:t,min:o,count:n})={const r=a.find(({value:e})=e===t);return r?(e[r.type]=r,e[r.type].viewCount=n-o,e):e},{});logger.group(),logger.h2(“Active Touts”),logger.log(s),logger.groupEnd(),executeTouts(e,o,s,r)}).catch(console.error):console.error(“siteSlug not found.”)}function containsBlockedTags(e){return!!new RegExp([“assault”,”death”,”deaths”,”in memoriam”,”murder”,”obituary”,”obituaries”,”obit”,”remembrance”,”rape”,”remove interruptions”,”rip”,”sexual abuse”,”sexual assault”,”tribute”].join(“|”),”i”).test(e)}function documentIncludesComponent(e){return document.querySelector(`[data-uri*=”/${e}/”]`)}function pageShouldCountAsView(e){const t=”strategist”===e,o=[“product”,”product-grid”].find(e=documentIncludesComponent(e));return t||!o}function executeTouts(e,t,o={},n){const{global:r}=n,i={featureArticleCount:r.Feature||0,magazineArticleCount:r.Magazine||0,standardArticleCount:r.Article||0,totalArticleCount:r.total||0},a=window.concertAds,l=window.ConcertAds;if(o[“speed-bump”]!containsBlockedTags(window._nymGtmPage.tags)(_get(a,”adsBlocked”,!0)?insertSpeedBumpComponents(findTemplate(e,”speed-bump”),o[“speed-bump”],i):a.lifecycle.listenAndPlayback(l.events.slotsInserted,()={insertSpeedBumpComponents(findTemplate(e,”speed-bump”),o[“speed-bump”],i)})),o[“newsletter-speed-bump”]!containsBlockedTags(window._nymGtmPage.tags)(_get(a,”adsBlocked”,!0)?insertNewsletterSpeedBumpComponents(findTemplate(e,”newsletter-speed-bump”),o[“newsletter-speed-bump”],i):a.lifecycle.listenAndPlayback(l.events.slotsInserted,()={insertNewsletterSpeedBumpComponents(findTemplate(e,”newsletter-speed-bump”),o[“newsletter-speed-bump”],i)})),o[“branded-growl”]brandedTakeoverTime(o[“branded-growl”])t)return logger.log(“should show branded growl”),void growlManager(findTemplate(e,”branded-growl”),{baseTrackingData:i,body:o[“branded-growl”].brandedGrowlBody,contentClass:”branded-content”,cta:o[“branded-growl”].brandedGrowlCTA,imageUrl:o[“branded-growl”].imageUrl,link:o[“branded-growl”].brandedGrowlLink,name:o[“branded-growl”].name,scrollDepth:o[“branded-growl”].brandedGrowlScrollDepth,title:o[“branded-growl”].brandedGrowlTitle,toutType:”branded growl”},”#branded-growl”);if(to[“content-cliff”])contentCliff(findTemplate(e,”content-cliff”),o[“content-cliff”],o[“content-cliff”].viewsLeft,n);else{if(to[“cliff-takeover”])return/coronavirus news|pivot|paywall exclude/i.test(window._nymGtmPage.tags)?void(isProductionlogger.log(“Content cliff no-op due to excluded tag match: “,window._nymGtmPage.tags)):void cliffTakeover(findTemplate(e,”paywall-reader-interface”),i,o[“cliff-takeover”]);if(o[“growl-newletter”]||!o[“promo-growl”])if(o[“baby-growl”])babyGrowl(findTemplate(e,”paywall-reader-interface”),i,o[“baby-growl”]);else{if(!o[“warning-growl-2”])return o[“warning-growl”]shouldWarn()?(setContentCliffWarningDisplayed(),logger.log(“should show warning”),void growlManager(findTemplate(e,”warning-growl”),{contentClass:”warning-content”,title:o[“warning-growl”].warningGrowlTitle,name:o[“warning-growl”].name,scrollDepth:o[“warning-growl”].warningGrowlScrollDepth,cta:o[“warning-growl”].warningGrowlCTA,body:o[“warning-growl”].warningGrowlBody,link:o[“warning-growl”].warningGrowlLink,baseTrackingData:i,toutType:”warning growl”},”#warning-growl”)):void 0;warningGrowl(findTemplate(e,”paywall-reader-interface”),i,o[“warning-growl-2″])}else growlManager(findTemplate(e,”growl-message”),{contentClass:”promo-content”,title:void 0,name:o[“promo-growl”].name,scrollDepth:o[“promo-growl”].promoGrowlScrollDepth,cta:o[“promo-growl”].promoGrowlCTA,body:o[“promo-growl”].promoGrowlMessage,link:o[“promo-growl”].promoGrowlLink,baseTrackingData:i,toutType:”promo growl”},”#growl-message”)}}function shouldWarn(){return!contentCliffWarningDisplayed()}function getContentCliffWarningDisplayedKey(){const e=new Date,t=e.getMonth();return`content-cliff-warning-displayed-${e.getFullYear()}-${t}`}function contentCliffWarningDisplayed(){const e=getContentCliffWarningDisplayedKey();return”true”===getLocalStorage(e)}function setContentCliffWarningDisplayed(){const e=getContentCliffWarningDisplayedKey();return setLocalStorage(e,”true”)}function growlManager(e,{contentClass:t,scrollDepth:o,name:n,title:r,body:i,cta:a,link:l,baseTrackingData:s,toutType:c,imageUrl:d=null},u=””){const g=function(){const e=`n n n n n ${d?”:””}n n ${d?“:””}n ${a}n n n n `;return document.createRange().createContextualFragment(e)}(),p={creative:i,id:c,name:n,position:”growl”};g.querySelector(“a”).addEventListener(“click”,()=promotionReport(“Click”,s,p)),generateGrowl(e,u,{content:g,scrollDepth:o,onShow:()=promotionReport(“View”,s,p)})}function contentCliff(e,t,o,n){const{first_visit:r,global:i}=n,a={totalArticleCount:i.total||0,standardArticleCount:i.Article||0,featureArticleCount:i.Feature||0,magazineArticleCount:i.Magazine||0},{contentCliffBody:l}=t,s=document.importNode(e,!0).querySelector(“.content-cliff”),c=document.querySelector(“.article-content .clay-paragraph”),d={creative:l,id:”content cliff”,name:”Content Cliff”,position:”in-article”};s(c.insertAdjacentHTML(“afterend”,s.outerHTML),require(“content-cliff.client”)(document.querySelector(“.content-cliff”),{contentCliffOptions:t,viewsLeft:o,firstVisit:Number(r),onShow:()=promotionReport(“View”,a,d),onClickCliff:()=promotionReport(“Click”,a,d)}))}function verdonFosseToutSetter(e,t,o,n,r){const i=new Verdon({container:”.paywall-reader-interface”,url:”https://fosse.nymag.com/fosse/v1.7.0/index.html”}),a=e.type,l={email:auth0.getEmail(),isAuthenticated:auth0.isAuthenticated(),isSubscriber:auth0.isSubscriber()};n.classList.add(a),window.addEventListener(“resize”,()=i.frameri.sendMessage(“frame:height”)),i.once(“frame:ready”,()={i.sendMessage(“tout:show”,{readerState:l,toutType:a,toutData:e}),rsetTimeout(()={i.sendMessage(“frame:height”)},1200)}),i.on(“tout:visible”,()={promotionReport(“View”,t,o)}),i.on(“tout:sign-in”,()={auth0.showLogin()}),i.on(“tout:log-out”,()={auth0.logout()}),i.on(“tout:dismiss”,()={n.classList.add(“dismiss”),i.sendMessage(“tout:hide”,{toutType:a,toutData:e})}),i.on(“tout:subscribe”,()={e.ctaLink=replaceQueryParams(e.ctaLink),promotionReport(“Click”,t,o),window.location.href=e.ctaLink}),i.on(“frame:height”,e={n.style.transform=`translateY(calc(100% – ${e.payload.currentHeight+10}px))`}),i.on(“tout:view-account”,()={window.location.href=”https://subs.nymag.com/account”})}function promotionReport(e,t,o){const{creative:n,id:r,name:i,position:a}=o;t.event=`eec.promotion${e}`,t.ecommerce={promoView:{promotions:[{creative:n.trim(),id:r,name:i,position:a}]}},gtm.reportNow(t),reportPaywall({creative:n.trim(),eventType:e,id:r,name:i,position:a})}function babyGrowl(e,t,o){const n=document.importNode(e,!0).querySelector(“.paywall-reader-interface”),r={creative:o.babygrowlDescription,id:”baby growl”,name:”baby growl”,position:”growl”};document.body.appendChild(n),o.ctaLink=o.babygrowlCtaLink,o.ctaText=o.babygrowlMessage,o.headline=o.babygrowlDescription,verdonFosseToutSetter(o,t,r,n)}function cliffTakeover(e,t,o){const{cliffTakeoverCTA:n,cliffTakeoverCtaLink:r,cliffTakeoverDescription:i,cliffTakeoverImage:a,cliffTakeoverPromo:l,cliffTakeoverStatus:s,type:c}=o,d=document.importNode(e,!0).querySelector(“.paywall-reader-interface”),u=document.querySelectorAll(“.clay-paragraph”),g={creative:l,id:”content cliff”,name:”Content Cliff”,position:”growl”},p={cta:n,ctaLink:r,description:i,image:a,promo:l,status:s,type:c};document.body.appendChild(d),u.forEach((e,t)={0!==te.remove()}),verdonFosseToutSetter(p,t,g,d,!0),document.querySelector(“html”).style.overflowY=”hidden”,document.body.style.position=”fixed”}function warningGrowl(e,t,o){const{type:n,warningGrowl2CTA:r,warningGrowl2CtaLink:i,warningGrowl2Description:a,warningGrowl2Image:l,warningGrowl2Promo:s,warningGrowl2Status:c}=o,d=document.importNode(e,!0).querySelector(“.paywall-reader-interface”),u={creative:s,id:”warning growl”,name:”Warning Growl”,position:”growl”},g={cta:r,ctaLink:i,description:a,image:l,promo:s,status:c,type:n};document.body.appendChild(d),verdonFosseToutSetter(g,t,u,d,!0)}function getClientId(e=””,t=8e3){let o=cookie.get(e);return o?Promise.resolve(o):new Promise((o,n)={const r=setTimeout(()={n(`could not find key: ${e} on cookie after ${t}ms`)},t);window.addEventListener(cidReadyEvent,()={clearTimeout(r),o(cookie.get(e))})})}function readJSONFromScript(e){try{return JSON.parse(e.innerHTML)}catch(e){return{touts:[],scenarios:[]}}}function findTemplate(e,t=””){const o=ee.querySelector(`[data-template-id=”${t}”]`);return oo.content}function isNCR(){return/[?]source=ncr/.test(location.search)}function brandedTakeoverTime(e){const{startTime:t,endTime:o,startDate:n,endDate:r}=e,i=n.concat(” “,t),a=r.concat(” “,o),l=moment(i),s=moment(a);return moment().isBetween(l,s)}function optimizeDebugger(){return new Promise(e={const t=window.location.search||””;if(t){const o=new URLSearchParams(t),n=o.get(“optimize-attribute-name”)||””,r=o.get(“optimize-attribute-value”)||””,i=o.get(“optimize-delay”)||0,a=o.get(“optimize-cookie”)||!1;setTimeout(()={a(document.cookie=randomNymcid()),document.body.setAttribute(`data-${n}`,r),e()},i)}else e()})}function randomNymcid(){return`nymcid=${(()=([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e=(e^16*crypto.getRandomValues(new Uint8Array(1))[0]e/4).toString(16)[0]))()}`}function replaceQueryParams(e){const t=window.location.search||””;if(t){const o=new URLSearchParams(t);if(e.includes(“?”)){const t=e.split(“?”),n=new URLSearchParams(t[1]);for(let e of o.entries())n.set(e[0],e[1]);e=`${t[0]}?${n.toString()}`}else e=`${e}?${o.toString()}`}return e}module.exports=(e=new Promise(e={auth0.on(“init”,()={e()})}).then(()=optimizeDebugger()).then(()={displayDebug(window.location.href),initializeChoreographer(e)}));
}, {“4″:4,”6″:6,”11″:11,”16″:16,”53″:53,”58″:58,”69″:69,”82″:82,”103″:103,”104″:104,”105″:105,”106″:106,”107″:107,”108″:108,”109″:109,”110″:110,”content-cliff.client”:”content-cliff.client”}];
window.modules[“growl.client”] = [function(require,module,exports){“use strict”;require(169);const _some=require(90),dom=require(2),localStorageKeyRoot=”slideout-“,{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(53);module.exports=((e,t)={const{content:o,onShow:s,scrollDepth:r=50,dismissable:i=!1}=t,n=Number(r||e.getAttribute(“data-display-at-page-scroll-percentage”)),a=dom.find(e,”.modal”),l=”slideout-“+(t.id||e.getAttribute(“id”)),c=getLocalStorage(l);function d(){a.classList.add(“hidden”)}function g(){setLocalStorage(l,!0),d()}ic?e.remove():(oe.querySelector(“[data-content]”).appendChild(o),nfunction(e=50){const t=new IntersectionObserver(e={_some(e,”isIntersecting”)(a.style.top=”inherit”,a.classList.remove(“hidden”,”initial”),”function”==typeof ss(),t.unobserve(a))});a.style.top=`${document.querySelector(“body”).scrollHeight/(100/e)}px`,t.observe(a)}(n),e.querySelector(“.dismiss-modal”).addEventListener(“click”,()=i?g():d()),e.addEventListener(“growl:hide”,d),e.addEventListener(“growl:dismiss”,g))});
}, {“2″:2,”53″:53,”90″:90,”169”:169}];
window.modules[“speed-bump.client”] = [function(require,module,exports){“use strict”;const gtm=require(4),visibility=require(5);module.exports=((e,i)={if(!i||!e)return;const{name:o,speedbumpDescription:r,speedbumpMessage:t,speedbumpLink:n,baseTrackingData:s}=i,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)){let e=s;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{name:o,creative:r,id:”speed bump”,position:”in-article”}]}},gtm.reportNow(e),c.destroy()}}),e.querySelector(“.promo-link”).addEventListener(“click”,function(){let e=s;e.event=”eec.promotionClick”,e.ecommerce={promoClick:{promotions:[{name:o,creative:r,id:”speed bump”,position:”in-article”}]}},gtm.reportNow(e)})});
}, {“4″:4,”5”:5}];
window.modules[“newsletter-speed-bump.client”] = [function(require,module,exports){“use strict”;const{loadRecaptcha:loadRecaptcha}=require(138),_isEmpty=require(117),_set=require(137),_kebabCase=require(111),gtm=require(4),auth0=require(16),visibility=require(5),COMPONENT_NAME=”newsletter-speed-bump”,EMAIL_VALID_REGEX=/^(?:(?:[^()[]\.,;:s@”]+(?:.[^()[]\.,;:s@”]+)*)|(“.+”))@(?:(?:[[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}])|(?:(?:[a-zA-Z-0-9]+.)+[a-zA-Z]{2,}))$/,LOCAL_STORAGE_KEY_NAME=”newsletterSpeedBumpSignUpStatus_”,MAX_EMAIL_LENGTH=50;function setClass(e,t){e.classList.add(t)}function getRequestUrl(e){return e.getAttribute(“action”)}function getPageType(e){const t=e?e.getAttribute(“content”):””;return _kebabCase(t)}function getPayloadObject(e,t,r,s){const n={};return _set(n,`vars.source_${t}`,`${COMPONENT_NAME}_${s}`),n.email=r,n.lists={},n.lists[t]=!0,n.recaptcha=e,n.signuppage=`${document.location.href}_${t}`,n[`source_${t}`]=”newsleter_speedbump”,n}module.exports=((e,t)={if(!t||!e)return;if(“success”===window.localStorage.getItem(`${LOCAL_STORAGE_KEY_NAME}${t.newsletterSpeedBumpNewsletterId}`))return void e.remove();const{baseTrackingData:r,name:s,newsletterSpeedBumpCtaCopy:n,newsletterSpeedBumpDescription:i,newsletterSpeedBumpHeadline:a,newsletterSpeedBumpNewsletterId:o,newsletterSpeedBumpThankYouMessage:c,RECAPTCHA_PUBLIC_KEY:l}=t,u=auth0.getEmail(),d=e.querySelector(“.description”),p=e.querySelector(“.input.email”),m=e.querySelector(“.error-message”),h=e.querySelector(“.form”),E=e.querySelector(“.form-container”),y=e.querySelector(“.form-recaptcha-container”),g=e.querySelector(“.headline”),v=e.querySelector(“.container”),S=e.querySelector(“.input.newsletterId”),_=e.querySelector(“.recaptcha-wrapper”),L=e.querySelector(“.input.submit”),w=e.querySelector(“.text-container”),q=new visibility.Visible(e,{shownThreshold:.5});u(p.removeAttribute(“required”),e.classList.add(“signed-in”)),d.innerHTML=i,g.innerHTML=a,S.value=o,L.value=n,q.on(“shown”,function(){if(visibility.isElementNotHidden(e)){const e=r;e.event=”eec.promotionView”,e.ecommerce={promoView:{promotions:[{creative:`${a} | ${i}`,id:”newsletter speed bump”,name:s,position:”in-article”}]}},gtm.reportNow(e),q.destroy()}}),p.addEventListener(“focus”,()={_.classList.remove(“hidden”)}),h.addEventListener(“submit”,t={t.preventDefault();const s=new XMLHttpRequest,n=u||e.querySelector(“.input.email”).value,i=getPageType(document.querySelector(‘meta[name=”type”]’));u||!(n.length=50)EMAIL_VALID_REGEX.test(n)?loadRecaptcha(l,”newsletterSubmit”,!0).then(a={s.open(“POST”,getRequestUrl(h),!0),s.setRequestHeader(“Content-Type”,”application/json;charset=UTF-8″),s.addEventListener(“load”,s={const a=s.currentTarget||s.target;if(a.status=200a.statussetClass(e,”success”)),[d,E,m,_].forEach(e=setClass(e,”hidden”)),g.innerHTML=c.replace(“{{email}}”,n),m.innerHTML=””;const s=JSON.parse(a.response),l=_isEmpty(s.sailthruIds)?””:Object.values(s.sailthruIds)[0],u=r;u.event=”eec.purchase”,u.ecommerce={purchase:{actionField:{id:l,revenue:”0.00″},products:[{category:”newsletter signup”,name:S.value,quantity:1,variant:`${COMPONENT_NAME} – ${i}`}]}},gtm.reportNow(u),setTimeout(()={e.classList.add(“hidden”)},5e3),t.preventDefault()}else m.innerHTML=”*An error has occurred. Please try again.”}),s.addEventListener(“error”,()={m.classList.remove(“hidden”),m.innerHTML=”*An error has occurred. Please try again.”}),s.send(JSON.stringify(getPayloadObject(a,o,n,i))),t.preventDefault()}):m.innerHTML=”*Please enter a valid email”})});
}, {“4″:4,”5″:5,”16″:16,”111″:111,”117″:117,”137″:137,”138”:138}];
window.modules[“content-cliff.client”] = [function(require,module,exports){“use strict”;const auth0=require(16),isProduction=require(11)(),logger=require(104).Logger(()=!isProduction);module.exports=((t,e)={if(!e)return;logger.group(),logger.h2(“Content Cliff”);const{contentCliffOptions:o,firstVisit:n,onShow:r,onClickCliff:i}=e,c=300,l=Number(document.querySelector(“[data-components-count]”).getAttribute(“data-components-count”)),u=3,s=[“taboola”],a=”#content-cliff”,f=t,d=function(){let t=0;return document.querySelectorAll(“[data-word-count]”).forEach(function(e){t+=Number(e.getAttribute(“data-word-count”)||0,10)||0}),t}(),g=function(t,e){function o(t){return Math.round(t.getTime()/1e3/60)}const n=o(t),r=o(e);return n-r}(new Date,new Date(n)){},show:()={r(),function(){(p=function(t=””){return document.querySelectorAll(`${t} ~ *`)}(a)).forEach(t=t.remove()),function(){const{contentCliffStatus:e,contentCliffPromo:n,contentCliffCTA:r,contentCliffURL:c}=o,l=t.querySelector(“[data-content-cliff-status]”),u=t.querySelector(“[data-content-cliff-promo]”),s=t.querySelector(“[data-content-cliff-cta]”);ss.setAttribute(“href”,c),ss.insertAdjacentHTML(“afterbegin”,r),ll.insertAdjacentHTML(“afterbegin”,e),uu.insertAdjacentHTML(“afterbegin”,n),ss.addEventListener(“click”,i)}(),f.classList.remove(“collapsed”),e=s,e.forEach(t={const e=document.querySelector(`[data-uri*=”/${t}/”]`);ee.remove()}),m.addEventListener(“click”,()=auth0.showLogin());var e}()}}[function(){if(dl)return logger.log(`article word count ${d} was too short for the cliff`),logger.log(`article components count is smaller than ${u} and not eligible for the cliff`),”noop”;if(gisProduction)return”noop”;glogger.log(`First session check was ${g}! Showing the cliff anyway: isProduction = ${isProduction}`);if(/coronavirus news|pivot|paywall exclude/i.test(window._nymGtmPage.tags))return isProductionlogger.log(“Content cliff no-op due to excluded tag match: “,window._nymGtmPage.tags),”noop”;return”show”}()],m=t.querySelector(“.content-cliff-login”);let p=[];return logger.log(`should noop in production due to 30-minute first-session window: ${g}`),logger.groupEnd(),auth0.on(“login”,()={f.classList.add(“collapsed”),(p=Array.prototype.slice.call(p,0).reverse()).forEach(t=f.insertAdjacentElement(“afterend”,t)),p=[]}),”function”==typeof h?h():void 0});
}, {“11″:11,”16″:16,”104”:104}];
window.modules[“ad.client”] = [function(require,module,exports){“use strict”;const _forEach=require(70),_max=require(72),_find=require(71),_includes=require(73),$visibility=require(5),dom=require(2),MAX_MOBILE_RE=/[[0-9]{1,3}-(768|600)/,MAX_TABLET_RE=/[0-9]{3}-(1024|1180)/,DESKTOP_RE=/(1024|1180)-plus/,AD_NAME_SELECTOR='[data-name^=”/4088/”], [data-name^=”/172968584/”]’;var flaggedComponentsOnPage=function(){var e,t=document.querySelector(“.article-content”),n=[];return t_forEach([‘.article-sidebar[data-width=”large”]’],function(a){e=t.querySelectorAll(a),_forEach(e,function(e){n.push(e)})}),n}();function getElementsVerticalOverlap(e,t){var n=e.getBoundingClientRect(),a=t.getBoundingClientRect();return!(n.topa.bottom||n.right
a.right)?a.bottom-n.top:0}function getElementsOverlapAmount(e,t){var n,a=[];return _forEach(t,function(t){n=getElementsVerticalOverlap(e,t),a.push(n)}),_max(a)}function getNYMagAdChannel(e){var t=””;switch(e){case”company information”:t=”company”;break;case”new york guides things to do”:t=”to-do”;break;case”other”:t=e;break;case”sponsored guides”:t=”s-guides”;break;case”urbanist”:t=”urbanist”;break;default:t=””}return t}function appendSectionToDfpAds(){var e,t,n,a=document.querySelector(“meta[property=’og:site_name’]”),o=document.querySelector(“article[data-content-channel]”),i=document.querySelectorAll(AD_NAME_SELECTOR);a(e=a.content),o(t=o.getAttribute(“data-content-channel”).toLowerCase()),t”New York Magazine”===e(n=getNYMagAdChannel(t)),nappendToAdd(i,n)}function appendPageTypeToDfpAds(){let e=document.querySelector(“.body div”)||{},t=document.querySelector(“body”)||{},n=ee.classList,a=nn.length?[…n]:[],o=_find(a,e=e.includes(“feature”)),i=document.querySelectorAll(AD_NAME_SELECTOR);n(o?appendPageNumberPositionToDfpAds(i,”Feature”):n.contains(“lede-gallery-content”)?appendPageNumberPositionToDfpAds(i,”Image_Gallery”):t.classList.contains(“one-column-layout”)?appendPageNumberPositionToDfpAds(i,”One_Column_Article”):n.contains(“article-content”)appendPageNumberPositionToDfpAds(i,”Standard_Article”))}function appendPageNumberPositionToDfpAds(e,t){const n=[“528×379″,”1100×200″,”1×1”];let a=e||[],o=dom.find(“.ad-splash”),i=dom.find(“section.wrapper”),r=dom.find(“.secondary”),d=dom.find(“.bottom”),s=dom.find(“.primary”),c={IA:{xsMobile:{normal:1,grid:1},mobile:{normal:1,grid:1},tablet:{normal:1,grid:1},desktop:{normal:1,grid:1}},BA:{xsMobile:{normal:1,grid:1},mobile:{normal:1,grid:1},tablet:{normal:1,grid:1},desktop:{normal:1,grid:1}}};a.forEach(e={let a,l=””,u=e.dataset.sizes,m=e.classList.value,p=_find(n,e=u.includes(e)),g=e.parentElement.classList.contains(“image-gallery-mobile-grid-ad”);if(u!p||e.setAttribute(“data-name”,e.getAttribute(“data-name”)+”/”+t),iu!p){let n,u;if(oo.contains(e)?l=”LB”:ii.contains(e)?l=”IA”:(rr.contains(e)||dd.contains(e)||ss.contains(e))(l=”BA”),c[l]){if(!(u=checkForAdViewport(m)))return;g?(n=c[l][u].grid,c[l][u].grid++):(n=c[l][u].normal,c[l][u].normal++),a=n{e.setAttribute(“data-name”,e.getAttribute(“data-name”)+”/”+t)})}function injectGoogleScripts(){var e=document.createElement(“script”),t=document.createElement(“script”),n=document.createDocumentFragment();e.src=”//www.googletagservices.com/tag/js/gpt.js”,e.async=”async”,t.src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”,t.async=”async”,n.appendChild(e),n.appendChild(t),document.getElementsByTagName(“body”)[0].appendChild(n)}appendSectionToDfpAds(),appendPageTypeToDfpAds(),injectGoogleScripts(),DS.controller(“ad”,[“adService”,function(e){return function(t){var n,a,o,i=t.getAttribute(“data-offload”),r=new $visibility.Visible(t,{preloadThreshold:i?window.innerHeight/4:200}),d=!1;function s(){window.innerWidth=1180t.parentElement.classList.contains(“ad-repeat”)flaggedComponentsOnPage.length(a=getElementsOverlapAmount(t,flaggedComponentsOnPage),o=parseInt(t.parentElement.getAttribute(“data-gap”),10),t.style.marginTop=o+30+a+”px”)}function c(){s(),e.refresh(n)}function l(){e.remove(n),d||(d=!0,r.on(“shown”,c))}document.querySelector(‘script[data-name=”concert-ads”]’)||(n=e.create(t),r.preload$visibility.isElementNotHidden(t)?(e.addToPageLoadQueue(n),ir.on(“hidden”,l)):(r.on(“preload”,function(){!n.slot$visibility.isElementNotHidden(t)(s(),e.load(n))}),ir.on(“hidden”,l)),this.adData=n)}}]);
}, {“2″:2,”5″:5,”70″:70,”71″:71,”72″:72,”73”:73}];
window.modules[“sticky-list.client”] = [function(require,module,exports){“use strict”;const dom=require(2),$gtm=require(4),_get=require(6),stickyContainer=require(“sticky-container.client”);DS.controller(“sticky-list”,[“$window”,function(t){var e=require(248),i=40;function s(s){let n,r=function(t){let s=t[0],n=0,r=e.height(this.contentArea),o=this.contentArea.offsetHeight;if(this.containersthis.containers.length){if(s.target.offsetHeight){let t=this.breakouts.findIndex(t=(function(t,e){return t!==document.bodyt.contains(e)})(t,s.target.parentElement));if(t-1this.breakouts[t]){let e=this.breakouts[t].offsetHeight+i;this.containers[t].style.marginBottom=`${e}px`}}if(o!==this.currentHeigh){const t=e.rect(this.rightRail,this.contentArea);this.currentHeight=o,this.rightRail.style.height=r-t.top-a(this.rightRail)+”px”,this.breakouts.forEach((s,r)={let a=e.rect(s,this.contentArea),o=e.intersection(a,t);if(o){let e,s=o.top-t.top-n;n+=s+o.height+i,this.containers[r].style.height=`${s}px`,this.containers[r].style.minHeight=`${s}px`,e=this.breakouts[r].offsetHeight+i,this.containers[r].style.marginBottom=`${e}px`}})}}}.bind(this);t.innerWidth{let n=_get(e,”dataset.name”,””),r=n.slice(-1)||”1″,a=[“Image_Gallery”,”Standard_Article”,”Feature”,”One_Column_Article”].find(t=n.includes(t))||””;this.rightRail.parentElement.classList.contains(“tertiary”)a(e.dataset.name=parseInt(i,10)+se===t)return i.slice(s+1).reduce((t,e)=t+(e.offsetHeight||0),0)||0}return s.prototype={setPins:function(){const t=e.rect(this.rightRail,this.contentArea),i=e.height(this.contentArea),s=i-t.top-a(this.rightRail);let n,o,h,l;if(this.populatePinsList(),s1t.classList.add(“multi-children”),l=0;l{const t=Array.from(e.children);let o,a,i=0;for(;i{handleLazyLoad(a)});
}, {“2″:2,”126”:126}];
window.modules[“article.client”] = [function(require,module,exports){“use strict”;const $visibility=require(5),$gtm=require(4),ImageZoom=require(86),$sentry=require(87);DS.controller(“article”,[function(){var e=40;function t(t){const i=document.querySelector(“.wrapper .tertiary”),n=t.querySelector(“.lede-image-wrapper.full-bleed”),r=t.querySelector(“.attribution.full-bleed”),o=t.querySelector(“.article-header”),l=o?o.querySelector(“img”):null,c=function(){let t=o.getBoundingClientRect().height;n(t=n.getBoundingClientRect().height+25,r(t+=r.getBoundingClientRect().height)),i.style.paddingTop=t+e+”px”};io(window.innerWidtht(e)),document.addEventListener(“closeBanner”,function(){i(e)}),$sentry.initializeIDListeners()}}]);
}, {“4″:4,”5″:5,”86″:86,”87”:87}];
window.modules[“tags.client”] = [function(require,module,exports){“use strict”;const _forEach=require(70);DS.controller(“tags”,[function(){function e(e){this.el=e}return e.prototype={events:{“a.more click”:”showAll”},showAll:function(e){var t=e.target,o=this.el.querySelectorAll(“li.hidden”);_forEach(o,function(e){e.classList.remove(“hidden”)}),t.parentNode.removeChild(t),e.preventDefault()}},e}]);
}, {“70”:70}];
window.modules[“memo-pixel.client”] = [function(require,module,exports){“use strict”;(()={var e=document.createElement(“script”);e.async=!0,e.type=”text/javascript”,e.src=document.location.protocol+”//d16xpr36wrmcmk.cloudfront.net/js/memo.js”,(document.getElementsByTagName(“head”)[0]||document.getElementsByTagName(“body”)[0]).appendChild(e)})(),module.exports=(()={});
}, {}];
window.modules[“affiliate-links.client”] = [function(require,module,exports){“use strict”;const dom=require(2),_includes=require(73),_startsWith=require(78),globalClick=require(76),visit=require(77),productSubtags=require(79),{getAffiliateByUrl:getAffiliateByUrl}=require(75);var excludedHostnames,skimlinksBaseUrl,skimlinksId,visitState,productUrl,ignoreDataAttribute=”data-affiliate-links-ignore”,article=window.document.querySelector(“article”),isSponsored=article”Sponsor Story”===article.getAttribute(“data-type”);function setExcludedHostnames(e){excludedHostnames=(e.getAttribute(“data-excluded-hostnames”)||””).toLowerCase().split(“,”)}function isSkimLink(e){return!!(skimlinksId=e.getAttribute(“data-skimlinks”))}function isExcluded(e){return _includes(excludedHostnames,e)||_startsWith(e,”www.”)_includes(excludedHostnames,e.slice(4))||isSponsored}function isUrlProtocol(e){return 0!==e.indexOf(“mailto:”)0!==e.indexOf(“javascript:”)}function getTargetHostname(e){return(e.hostname||e.host||e.href||””).toLowerCase()}function convertSkimlinkUrl(e){return(skimlinksBaseUrl=skimlinksBaseUrl||skimlinksId?”//go.redirectingat.com/?xs=1id=”+skimlinksId+”sref=”+encodeURIComponent(window.location.href)+”url=”:void 0)skimlinksBaseUrl+encodeURIComponent(e)}function hasIgnoreAttribute(e){return”true”===e.getAttribute(ignoreDataAttribute)}function convertSkimlink(e){var t,i,r,s=dom.closest(e.target,”a”),n=ss.href;nn.length!e.defaultPrevented(i=getTargetHostname(s),!isUrlProtocol(n)||isExcluded(i)||hasIgnoreAttribute(s)||getAffiliateByUrl(n)||(t=convertSkimlinkUrl(n))(productUrl=n,r=ss.getAttribute(“data-track-id”),s.href=productSubtags.ensureSubtag({url:t,productId:r,visitState:visitState,anchorEl:s})))}function revertSkimLink(e){var t=dom.closest(e.target,”a”),i=tt.href||””;i.includes(skimlinksBaseUrl)ii.lengthproductUrl(t.href=productUrl)}module.exports=(e={const t=isSkimLink(e);visit.onceReady(function(e){visitState=e}),t(setExcludedHostnames(e),globalClick.addHandler(convertSkimlink,revertSkimLink))});
}, {“2″:2,”73″:73,”75″:75,”76″:76,”77″:77,”78″:78,”79”:79}];
window.modules[“gtm.client”] = [function(require,module,exports){“use strict”;const $gtm=require(4);DS.controller(“gtm”,[function(){return function(t){$gtm.init(t.getAttribute(“data-container-id”),t.getAttribute(“data-site-slug”))}}]);
}, {“4”:4}];
window.modules[“global-nav.client”] = [function(require,module,exports){“use strict”;const dom=require(2),auth0=require(16),signInButton=dom.find(“.user-signin”),signOutButton=dom.find(“.user-signout”),globalNav=dom.find(‘[class^=”global-nav”]’),body=dom.find(“body”),dropdownItems=dom.findAll(“.dropdown-wrap”),gtm=require(4),pageUri=require(165).getPageUri(),subscriptionPromoLinks=dom.findAll(“.persist-params”),searchString=window.location.search||””;function closeDropdowns(e){let t=globalNav.querySelectorAll(“.dropdown.open”);dropdownItems.forEach(function(n){let o=n.querySelector(“.dropdown”);!t||n.contains(e.target)27!==e.keyCode||o.classList.remove(“open”)})}function gtmSendReport(e,t,n){let o={eventCategory:”ecommerce”,eventAction:”componentClick”,brand:e,dimension23:”global-nav”,list:pageUri,pageZone:”header”,variant:”nav-link”};”global-nav-link”===n(o.eventLabel=t.href),gtm.reportNow(o)}function updateElementTargetUrlsIfQueryStrings(e){if(searchString){const t=new URLSearchParams(searchString);let n=e.href;if(n.includes(“?”)){const o=n.split(“?”),i=new URLSearchParams(o[1]);for(let e of t.entries())i.set(e[0],e[1]);n=`${o[0]}?${i.toString()}`,e.href=n}else e.href=`${n}?${t.toString()}`}}function init(e){auth0.checkLogin().then(()={signInButton.addEventListener(“click”,function(e){e.preventDefault(),auth0.showLogin()}),signOutButton.addEventListener(“click”,function(e){e.preventDefault(),gtmSendReport(“Sign Out”,e.target,”user-info-link”),auth0.logout()}),auth0.isAuthenticated()e.classList.add(“signed-in”),auth0.isSubscriber()e.classList.add(“subscribed”),e.querySelectorAll(“.user-link”).forEach(e={e.classList.add(“active”)}),subscriptionPromoLinks.forEach(e={updateElementTargetUrlsIfQueryStrings(e)})})}dropdownItems.forEach(function(e){e.addEventListener(“click”,function(){e.querySelector(“.dropdown”).classList.toggle(“open”)})}),body.addEventListener(“click”,closeDropdowns),document.addEventListener(“keydown”,closeDropdowns),globalNav.addEventListener(“click”,function(e){let t=e.target;t.classList.contains(“global-nav-track”)gtmSendReport(t.text,t,”global-nav-link”)}),module.exports=init;
}, {“2″:2,”4″:4,”16″:16,”165”:165}];
window.modules[“aaa-module-mounting.legacy”] = [function(require,module,exports){“use strict”;const _pickBy=require(168),_each=require(332),Fingerprint2=require(331),DS=require(330),Eventify=require(193);function registerGlobals(){window.DS=DS,window.Eventify=Eventify,window.Fingerprint2=Fingerprint2,DS.value(“Eventify”,Eventify),DS.value(“Fingerprint2”,Fingerprint2),DS.value(“$document”,window.document),DS.value(“$window”,window)}function mountDollarSliceComponents(){DS.service(“components”,[“$document”,”$module”,function(e,n){var o=_pickBy(n.definitions,e=e.providerStrategy===n.providers.controller),r=Object.keys(o);function t(e){return o={try{n.get(e,o)}catch(e){logMountError(o,e)}}}_each(r,n={var o=e.querySelectorAll(‘[data-uri*=”/_components/’+n+’/”]’),r=e.querySelectorAll(‘[data-uri$=”/_components/’+n+'”]’);_each(o,t(n)),_each(r,t(n))}),this.components=r}]),DS.get(“components”)}function logMountError(e,n){const o=e.outerHTML.slice(0,e.outerHTML.indexOf(e.innerHTML));console.error(“Error attaching controller to “+o,n)}registerGlobals(),”loading”===document.readyState?document.addEventListener(“DOMContentLoaded”,()={mountDollarSliceComponents()}):mountDollarSliceComponents();
}, {“168″:168,”193″:193,”330″:330,”331″:331,”332”:332}];
window.modules[“ads.legacy”] = [function(require,module,exports){“use strict”;const _map=require(80),_forEach=require(70),_isString=require(212),_intersectionWith=require(333),_isEqual=require(219),_each=require(332),_debounce=require(130),_sortBy=require(152),page=require(165),visit=require(77);DS.service(“adService”,[“Eventify”,”$cid”,”$document”,”$window”,function(e,t,a,i){var o,n,s,r,d,c,l,u,g,p,h={},m=this,f=[],b=visit.getQueryParamsObject([“utm_campaign”]),w=document.querySelector(‘script[data-type=”ad-a9″]’),v=[],y=!1,_=[],S=document.querySelector(‘script[data-name=”ad-doubleverify”]’);document.querySelector(‘script[data-name=”concert-ads”]’)||(i.NYM={},i.NYM.analytics={},i.NYM.analytics.adStartTime=i.performance.now(),i.googletag=i.googletag||{},i.googletag.cmd=i.googletag.cmd||[],c=i.googletag,(w||S)(i.googletag.cmd=i.googletag.cmd||[],i.googletag.cmd.push(function(){i.googletag.pubads().disableInitialLoad()})),w(l=i.setInterval(function(){void 0!==window.apstagvoid 0!==window.apstag.timeout(i.clearInterval(l),window.apstag.cleared=!0,l=null)},10),setTimeout(function(){l(i.clearInterval(l),i.googletag.pubads().refresh(),window.apstag||console.log(“MESSAGE: Timeout for A9 load exceeded, aborting”))},500)),Sv.push(new Promise(function(e){y?e():_.push(e)})),u=document.createElement(“script”),g=document.createDocumentFragment(),p=document.getElementsByTagName(“head”)[0],u.src=”https://z.moatads.com/voxprebidheader841653991752/moatheader.js”,g.appendChild(u),p.insertBefore(g,p.firstChild),o=function(e){var t,a,o=e.data,n=[];return o.loaded?e:(o.loaded=!0,t=null,(t=o.sizes?c.defineSlot(o.name,o.sizes,o.id).addService(c.pubads()):c.defineOutOfPageSlot(o.name,o.id).addService(c.pubads())).setTargeting(“adid”,o.id),b.hasOwnProperty(“utm_campaign”)t.setTargeting(“utmcamp”,b.utm_campaign),a=m.getAdCount(o.label),t.setTargeting(“label”,o.label+”_”+o.site+”-“+a),c.display(o.id),c.pubads().addEventListener(“slotOnload”,function(){i.NYM.analytics.firstAdLoadTime||(i.NYM.analytics.firstAdLoadTime=i.performance.now(),i.NYM.analytics.firstAdLoadLabel=e.data.label)}),n=T(o),Promise.all(v).then(function(){n?window.apstagwindow.apstag.cleared?window.apstag.fetchBids({slots:[n],timeout:window.apstag.timeout},function(){c.cmd.push(function(){window.apstag.setDisplayBids(),c.pubads().refresh([t],{changeCorrelator:!1})})}):Sc.pubads().refresh([t],{changeCorrelator:!1}):c.pubads().refresh([t],{changeCorrelator:!1})}),e.slot=t,e)},n=function(e){var a,i,o,n=t(),s=e.getAttribute(“data-name”),r=e.getAttribute(“data-sizes”),d=e.getAttribute(“data-label”),c=e.getAttribute(“data-site”);n=e.id,rr.length?(r=r.split(“,”),a=[],_map(r,function(e){e=e.split(“x”),i=parseInt(e[0]),o=parseInt(e[1]),a.push([i,o])})):(e.classList.add(“oop”),a=!1),this.data={id:n,name:s,sizes:a,loaded:!1,label:d,site:c},h[n]=this},r=function(e){c.cmd.push(function(){var t=o(e);h[e.data.id]=t})},s=function(e){var t=[];e.slot?(t=T(e))window.apstagwindow.apstag.clearedwindow.apstag.fetchBids({slots:[t],timeout:window.apstag.timeout},function(){c.cmd.push(function(){window.apstag.setDisplayBids(),c.pubads().refresh([e.slot],{changeCorrelator:!1})})}):er(e)},c.cmd.push(function(){var e,t,o,n=page.getMeta(“article:tag”),s=page.getMeta(“author”),r=i.location.href,d=(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”:””);o=[],_forEach([n,s,d],function(e){_forEach(e.split(“,”),function(e){(e=e.trim().toLowerCase().replace(/s/g,”-“).replace(/’|’/g,””)).lengtho.push(e)})}),c.pubads().setTargeting(“kw”,o),c.pubads().setTargeting(“entry_group”,o),r=r.slice(r.lastIndexOf(“/”)+1),c.pubads().setTargeting(“pn”,r),c.companionAds().setRefreshUnfilledSlots(!0),c.pubads().enableAsyncRendering(),c.enableServices()}),this.load=r,this.create=function(e){return new n(e)},this.refresh=function(e){var t;_isString(e)?(t=this.getById(e),s(t)):s(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(h);return _each(i,function(i){(t=h[i]).data.loadedt.data.label===ea++}),a},this.getById=function(e){return h[e]},d=_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 e.data.sizes?r(e):i.setTimeout(function(){r(e)},2e3)}),Swindow.PQ.cmd.push(()={try{window.PQ.loadSignals([“ids”,”bsc”,”vlp”],q)}catch(e){q(),console.error(`There has been an error loading Double Verify signals: ${e}`)}}),f=[]},10),this.addToPageLoadQueue=function(e){f.push(e),d()});function T(e){var t,a=e.sizes;return a=_intersectionWith(a,[[970,250],[970,90],[728,90],[300,600],[300,250],[320,100],[320,50]],_isEqual),e.sizese.sizes.length(t={slotID:e.id,sizes:a,slotName:e.label}),t}function q(){y=!0,_forEach(_,function(e){e()})}}]);
}, {“70″:70,”77″:77,”80″:80,”130″:130,”152″:152,”165″:165,”212″:212,”219″:219,”332″:332,”333”:333}];
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[“client.legacy”] = [function(require,module,exports){“use strict”;require(“cid.legacy”),require(“ads.legacy”),require(“facebook.legacy”),require(“aaa-module-mounting.legacy”);
}, {“ads.legacy”:”ads.legacy”,”cid.legacy”:”cid.legacy”,”facebook.legacy”:”facebook.legacy”,”aaa-module-mounting.legacy”:”aaa-module-mounting.legacy”}];
window.modules[“facebook.legacy”] = [function(require,module,exports){“use strict”;DS.service(“facebook”,[function(){this.fb=function(i){window.FBwindow.FB[i].apply(this,Array.prototype.slice.call(arguments,1))}}]);
}, {}];
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);
}
}
});
} // Make sure that a `window.process.env.NODE_ENV` is available in the client for any dependencies,
// services, or components that could require it
// note: the “ value is swapped for the actual environment variable in /lib/cmd/compile/scripts.js

window.process = window.process || {};
window.process.env = window.process.env || {};

if (!window.process.env.NODE_ENV) {
window.process.env.NODE_ENV = ”;
} // 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();
// ]]

Houston’s Rooftop Cinema Club celebrates spooky season with spine-chilling Halloween lineup

Cinephiles, take your love of movies outdoors with a trip to one of the Space City’s coolest theaters: Rooftop Cinema Club Uptown. The popular open-air, rooftop venue reopened in September after closing in 2020 amid the COVID-19 pandemic. Come October, the venue will screen several spooky favorites, including The Nightmare Before Christmas, Hocus Pocus, Texas Chainsaw Massacre, Halloween and The Addams Family.

Rooftop Cinema Club is located at 1700 Post Oak Blvd. in the BLVD Place shopping complex, directly above Whole Foods, at the intersection of Post Oak Blvd. and San Felipe Street in the Uptown District. Moviegoers can park in the BLVD Place parking garage free of charge.

Ticket information and schedule

Rooftop Cinema Club Uptown operates daily and screens as many as three movies a night. Doors open an hour before the first screening, which usually begins between 7:45 and 8 p.m., and fifteen minutes before the second screening, which typically starts at 10:30 p.m. The venue, which normally only allows adults, will offer new matinee screenings Friday through Sunday each week. The matinee screenings will begin at 5 p.m. and cater to younger audiences.

Rooftop Cinema Club Uptown will offer a variety of ticket options — a single lounge seat with or without popcorn, a new beanbag option with popcorn, or an Adirondack chair that comes with popcorn and a side table. Prices range from $17.50 to $25.25, depending on the ticket type and day of the week. , ranging from $13.50–$17.50. Kids tickets for the matinee screenings are $13.50 to $17.50.

Rooftop Cinema Club’s October movie lineup

October 4: Grease; Eternal Sunshine of the Spotless Mind

October 5: La La Land; A Quiet Place Part II

October 6: Cruella; A Nightmare on Elm Street

October 7: E.T.: The Extra-Terrestrial; Urban Cowboy; House Party

October 8: The Goonies; Love Jones; The Great Gatsby

October 9: Hocus Pocus; Coming to America

October 10: Black Panther; Once Upon a Time…In Hollywood

October 11: Pretty Woman; Zombieland

October 12: Poetic Justice; Step Brothers

October 13: A Quiet Place Part II; Get Out

October 14: Corpse Bride; Cruella; Donnie Darko

October 15: The Nightmare Before Christmas; Beetlejuice; Blade

October 16: Space Jam; The Princess Bride; Top Gun; The Thing

October 17: Night at the Museum; Hocus Pocus; Death Becomes Her

October 18: The Notebook; The Lost Boys

October 19: Ghost; Texas Chain Saw Massacre

October 20: Clue; Child’s Play

October 21: Back to the Future; Hocus Pocus; Candyman

October 22: The Addams Family; Jurassic Park; Friday The 13th

October 23: Paranorman; Harry Potter and The Sorcerer’s Stone; Beetlejuice; Poltergeist

October 24: Labyrinth; The Rocky Horror Picture Show

October 25: Hocus Pocus; It

October 26: Edward Scissorhands; Carrie

October 27: The Craft; Eve’s Bayou

October 28: Harry Potter and The Chamber of Secrets; Scream; Scream 2

October 29: Coraline; T.B.D. (People’s Choice: Stephen King); Tales From The Crypt: Demon Knight

October 30: Halloweentown; Practical Magic; The Exorcist (theatrical cut)

October 31: Hocus Pocus; Halloween

For additional information, visit rooftopcinemaclub.com.

Searching for more things to do in the Houston area? Visit our things to do page.

Crew member yelled ‘cold gun’ as he handed Alec Baldwin prop weapon, court document shows

(CNN)An assistant director handed Alec Baldwin a prop firearm and yelled “cold gun” before the actor fired the weapon, killing cinematographer Halyna Hutchins and injuring director Joel Souza, according to a court document.

Prop guns: What they are and how they can kill

Updated 1:23 PM ET, Fri October 22, 2021

Director of photography killed, movie director injured after Alec Baldwin discharged prop firearm on movie set

Updated 7:53 PM ET, Fri October 22, 2021

“Watching Blue Films In Assembly”: HD Kumaraswamy’s Swipe At RSS

'Watching Blue Films In Assembly': HD Kumaraswamy's Swipe At RSS

HD Kumaraswamy was speaking about ministers who were caught watching porn in the Assembly (File)

Vijayapura, Karnataka:

Former Karnataka Chief Minister and JD(S) leader HD Kumaraswamy on Tuesday said he has nothing to learn from the RSS “Shakha” as he alleged that people who had been trained there have indulged in watching “blue film” at the legislative Assembly when the session was on.

The JD(S) leader was responding to state BJP President Nalin Kumar Kateel’s recent invitation to him to visit an RSS Shakha and learn about the activities of the Sangh.

“… I don’t want their (RSS) companionship. Haven’t we seen what was taught in RSS Shakha? How to behave in the Vidhana Soudha… watching blue films when the Assembly session was on. Isn’t such a thing taught to them (BJP) at RSS Shakha? Do I have to go there (to RSS shakha) to learn this?” HD Kumaraswamy asked.

Speaking to reporters on the sidelines of the bypoll campaign, he said, “I don’t want their Shakha. Whatever I have learned from the Shakha, the Shakha of the poor is enough. I have nothing to learn from theirs (RSS Shakha).”

HD Kumaraswamy was referring to an incident in 2012, when three ministers were caught on camera as they allegedly watched pornography on their mobile phones in the state Assembly during its proceedings, causing an embarrassment to then BJP government.

The three ministers had resigned following the incident.

Recently while referring to a book, HD Kumaraswamy had said that the RSS, as part of its “hidden agenda”, has created a team of bureaucrats in this country who are now placed at various institutions.

The BJP governments at both the Centre and in Karnataka were functioning on the directions of the RSS, and PM Narendra Modi is its “puppet”, Mr Kumaraswamy further said.

Following this, Nalin Kateel had invited him to come to an RSS Shakha and learn about the Sangh’s activities.

Page 99 of 221:« First« 96 97 98 99 100 101 102 »Last »