COVID-19 and the People Who Don’t Want to Return to Normalcy

Pandemic isolation has been a blessing for some. Photo: Justin Paget/Getty Images

William absolutely loved getting COVID. His symptoms weren’t severe: lethargy and the loss of taste and smell. “My girlfriend somehow tested negative. She packed a bag and went to her parents’ house for like three weeks and it was amazing,” he said. “I had a great excuse to do nothing … It was the best. I feel guilty saying it. I just really love solitude. I ate Thanksgiving by myself. I binge-watched Boardwalk Empire on HBO. I got to set up the apartment the way I wanted. It was amazing. When I think about it, like you know how when you think back to a summer between grades when you were a kid or a vacation? Like, I want to catch it again on some level.”

It’s not like William is particularly proud of how much he’s loved his pandemic life. (He asked me to refer to him only by his middle name due to the sensitive nature of his job working with people who have substance-use disorder.) “I have COVID-love shame,” he said. “I don’t tell anybody about this … A lot of my dread is purely, for lack of a better word, selfish.” Pandemic life has been easy for him: He is in the business of conducting interventions, which are trickier on Zoom than they are in person — the interventionee can “just get up and leave the room” — but nevertheless, work has been mostly great. He got a promotion after the pandemic started. He’s in “the best shape of [his] life” because he’s been using “the extra time” lockdown has given him to ride his bike, box, and swim. “I’ve had explicit permission to just stay home and I have got my own self-sustaining ecosystem here … work, food, exercise, recreation,” he said. “I just feel so much more control of my experiences. I’m just dreading traffic, ‘meet me at the coffee shop at three,’ ‘I’m ten minutes late,’ baby showers, [gender] reveals. Like, I don’t want to do any of that fucking shit.”

The pandemic year has been hard for many, with all the sickness, death, layoffs, confinement, and isolation. But for a socially anxious and solitude-loving crew, it has been a sort of strange blessing. William is certainly not the only person who is worried about returning to a world of everyday in-person communication. According to a recent study by the American Psychological Association, many adults “feel uneasy about adjusting to in-person interactions once the pandemic ends.” (57 percent of Black adults, 51 percent of Asian adults, 50 percent of Hispanic adults, and 47 percent of white adults said they somewhat/strongly agree with that sentiment.)

“I’ve always been very self-conscious in public,” said Breanna Martins, a high-school art teacher and painter who lives in Boston. “I’m intersex, so I always felt like I got extra stares while I was out in public. I tried to compensate for that by being extra gregarious and outgoing.” It wasn’t until lockdown began that Martins realized she preferred a slower, less intensely social life. The pandemic turned out to be a boon for her art practice. “I’ve never been as productive as I was those first three months of quarantine,” she said. “I was able to segment off from the world and just focus on my art, creation without expectations and fear of other people critiquing it or seeing it because I knew there weren’t going to be any shows anytime soon.” 2020 was one of the best years of her life, Martins told me, and she feels guilty about that.

Arthur, who asked me to only refer to him by his first name, got sober in July 2019, and the world shutting down a few months later gave him space to figure out who he is without alcohol. When he was drinking, he always fancied himself an extrovert, using alcohol as social lubrication. His work involves a fair amount of wining and dining, which was really hard after he quit drinking but before the pandemic began. Being off the hook for those high-pressure social situations came as an immense relief. “One of the epiphanies I had was that I’m really an introvert,” he told me.

He’s used the extra time and solitude that the pandemic has given him for self-discovery. He’s learned that he loves to read, hike, and sit outside and daydream. The pandemic, he said, “has been like a cave for a hibernating bear.” Arthur doesn’t feel guilty about how much he’s enjoyed the last year. “I feel gratitude for it,” he said.

Not everybody who is dreading reopening had a really great year. For William Strecker, a 28-year-old who lives in Texas, the pandemic year allowed him to put his life on pause. After getting laid off from his job in March of last year, he moved from Austin to his parents’ house in the Dallas area. “It was the best-case scenario for me at the time,” he said. “I was kind of happy to get out of there, happy to get severance.” Moving back in with his parents has given him the opportunity to “build a new adult relationship with them.”

But his year of unemployment has been one of inertia. “I wanted to be a writer,” Strecker said, having studied English in college. “I was hoping that this would be an opportunity for me to kind of reevaluate things and start putting myself on a path [to the] career that I actually wanted to be doing. But I guess being in isolation all the time, I started drinking too much, maybe smoking too much, just kind of letting all of the bad habits that weren’t habits before COVID take over. Everything’s been kind of a blur.”

For Strecker, the prospect of having to play an active role in his life is scary. “I’m really worried whenever things open up again …” he trailed off. “I’ve spent six months just like in a void, in limbo. I’m not really confident what that will look like when things start to open up again … I don’t have a job lined up yet. And then I’m worried that some of my social skills have deteriorated a little bit with so much time being anti-social.”

Vinh Hoang, a 32-year-old attorney in San Diego, has a straightforward reason for not being excited about the country reopening: social anxiety. He moved back in with parents in 2020, and hasn’t really socialized with friends, as to not put them at risk. “The ability to be social in a public place with strangers, it’s kind of like a muscle I haven’t used for a year-plus,” Hoang said. “If someone asked me on a date or something, and said, ‘Hey let’s go to a brewery,’ I would definitely feel, not fear, but more anxiety. It feels like I’m rusty and out of practice because I definitely haven’t talked to anyone for a good length of time during quarantine.”

Whenever things go back to normal, Martins, the teacher, hopes that people don’t forget all that they learned over the past year. “We learned about what it means to have a home,” she said. “I think about all the people who started gardens or started baking or really leaned into things they were passionate about or found new passions. I know it’s Pollyannaish to say, but it worries me that people might lose that sense of what fulfills them.”

Sign Up for the Intelligencer Newsletter

Daily news about the politics, business, and technology shaping our world.

By submitting your email, you agree to our Terms and Privacy Notice and to receive email correspondence from us. The People Who Don’t Want to Return to Normalcy 1:28 a.m.

death from above

death from above

Congratulations, You Weren’t Crushed by Space Debris Today

By Chas Danner

That enormous Chinese space rocket has finished its uncontrolled fall back to earth.

rip

The Obama Family’s First Dog, Bo, Has Died

By Chas Danner

The Obamas’ beloved Portuguese water dog, who became a White House celebrity in his own right, was 12.

5/8/2021

the national interest

the national interest

Elizabeth Warren’s Book Shows She Has No Idea Why Her Campaign Failed

By Jonathan Chait

Persist is an account of a campaign bubble that doesn’t know it was in a bubble.

5/8/2021

political animals

political animals

How the White House Polices Language in Washington

By Olivia Nuzzi

Including the president’s.

covid-19

Have Over 343,000 More Americans Died From COVID?

By Chas Danner

A new analysis suggests COVID has killed far more people than the CDC estimates, as well as twice as many globally, but some experts are skeptical.

covid-19

NYC Still Storing COVID-19 Victims in Makeshift Morgues

By Paola Rosa-Aquino

The remains of 750 bodies are being kept in the trailers, which opened in April 2020 as COVID-19 deaths overwhelmed the city.

the economy

5 Explanations for April’s Bad Jobs Report

By Eric Levitz

Day cares are shuttered, the pandemic isn’t over, UI benefits are generous, and two other theories for last month’s big miss.

crime

Federal Grand Jury Indicts Former Officers in George Floyd’s Death

By Nia Prater

Derek Chauvin and three other former Minneapolis police officers have been indicted on charges of violating George Floyd’s civil rights.

don't panic

Hopefully You Won’t Be Crushed by Space Debris This Weekend

By Mia Mercado

Experts don’t know exactly where a 23-ton Chinese rocket part will land.

5/7/2021

A disappointing jobs report

The American jobs engine slowed markedly last month, confounding rosy forecasts of the pace of the recovery and sharpening debates over how best to revive a labor market that was severely weakened by the coronavirus pandemic.

Employers added 266,000 jobs in April, the government reported Friday, far below the vigorous gains registered in March. The jobless rate rose slightly to 6.1 percent, as more people rejoined the labor force.

… Economists had forecast an addition of about a million jobs. The increase for March was revised down to 770,000 from 916,000.

gop

Meet Trump’s New Apprentice

By Matt Stieb

A one-time moderate from New York, Elise Stefanik embraced Trump’s election-fraud claims and may soon be rewarded with Liz Cheney’s leadership seat.

5/7/2021

Full approval would allow the companies to market the vaccine directly to customers, and may make it easier for employers and schools to require vaccinations

Pfizer and the German company BioNTech have become the first companies to apply to the U.S. Food and Drug Administration for full approval of their Covid-19 vaccine for use in people 16 and older. The vaccine is currently being administered to adults in America under an emergency use authorization granted in December.

The approval process is likely to take months.

The companies said in a statement on Friday that had submitted their clinical data, which includes six months of information on the vaccine’s safety and efficacy, to the F.D.A. They plan to submit additional material, including information about the manufacturing of the vaccine, in the coming weeks.

politics

Tish James Wants In on Jacob Wohl Election Robocall Suit

By Nia Prater

New York’s AG moved to join a federal suit over Jacob Wohl and Jack Burkman’s alleged voter-suppression plot, seeking fines of $2.75 million.

5/6/2021

the national interest

the national interest

When Trump’s Next Coup Happens, the Republican Party Will Fully Support It

By Jonathan Chait

The Cheney debate shows the party elite has made up its mind.

5/6/2021

nyc mayoral race

nyc mayoral race

All the Endorsements in the NYC Mayoral Race

By Nia Prater

With the June 22 primary approaching, Democratic mayoral candidates are racking up endorsements from politicians, organizations, and celebrities.

5/6/2021

the sports section

the sports section

Uh-oh, Jim Dolan Found a New Team to Meddle With

By Joe DeLessio

The widely reviled Knicks owner had mostly left his hockey club alone. Not anymore.

politics

DeSantis Signs Voting Restrictions Into Law in Fox News ‘Exclusive’

By Nia Prater

The Florida governor turned the enactment of yet another restrictive Republican voting measure into a segment on Fox & Friends.

politics

New Survey Finds Republicans More Eager to Get Vaccinated

By Paola Rosa-Aquino

Enthusiasm has plateaued, but there are positive developments in the rush to inoculate the country, according to the Kaiser Family Foundation.

5/6/2021

5/6/2021

intelligencer chats

intelligencer chats

Can Biden’s Low-Key Strategy Work Forever?

By Gabriel Debenedetti and Benjamin Hart

His executive branch has seemed almost invisible at times — a stark contrast to his predecessor’s.

politics

The Sexist Backlash to Universal Day Care

By Sarah Jones

Women left the workforce. The right wants to keep it that way.

5/6/2021

A DeSantis spokeswoman said the bill signing was a “Fox exclusive”

Breaking: Ron DeSantis signs Georgia-style voter suppression bill

#SB90@AriBerman

5/6/2021

More positive news on the economy

Weekly jobless claims hit a fresh pandemic-era low for the fourth consecutive week, the Labor Department reported Thursday, with 498,000 Americans filing for initial unemployment benefits in the week that ended May 1.

That’s down 92,000 from last week’s upwardly revised level, the lowest figure since mid-March of last year. The streak of weekly declines, which started with a surprise drop in mid-April, suggests the recovery is gaining traction, pulling scores of workers back into the folds of the labor market as business restrictions continue to loosen and vaccinations pick up.

5/6/2021

just asking questions

just asking questions

Suzanne Simard Changed How the World Sees Trees

By Robert Moor

The pathbreaking ecologist on what she’s learned about interspecies collaboration, tree sentience, and nature’s resilience.

5/5/2021

nyc mayoral race

nyc mayoral race

Working Families Party Issues Dual Endorsement of Maya Wiley and Dianne Morales

By Matt Stieb

The progressive group’s co-sign — revoked from Stringer following a groping allegation — could help the candidates gain much-needed momentum.

5/5/2021

the national interest

the national interest

Liz Cheney Wants to Save American Democracy From Trump’s Next Coup

By Jonathan Chait

A Republican who seems to have read How Democracies Die.

5/5/2021

coronavirus vaccine

coronavirus vaccine

U.S. Supports WTO Plan to Lift Vaccine Patent Protections

By Matt Stieb

The Biden administration will now encourage other countries to agree to a WTO measure waiving IP protections for the vaccines.

crime

What Happens Next After the Derek Chauvin Verdict

By Nia Prater

Derek Chauvin’s attorney has filed a motion for a new trial, and many other legal issues remain unresolved.

babies

No Country for New Babies

By Eric Levitz

In 2020, the U.S. birth rate declined by 4 percent, bringing the nation’s fertility to its lowest point in over a century.

"]:[0,"",""]};function parse(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var a=/",""],map.option=map.optgroup=[1,'"],map.thead=map.tbody=map.colgroup=map.caption=map.tfoot=[1,""],map.polyline=map.ellipse=map.polygon=map.circle=map.text=map.line=map.path=map.rect=map.g=[1,'',""]; }, {}]; window.modules["345"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),types_1=require(349),utils_1=require(350),eventbuilder_1=require(346),transports_1=require(351),BrowserBackend=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return tslib_1.__extends(e,t),e.prototype.eventFromException=function(t,e){return eventbuilder_1.eventFromException(this._options,t,e)},e.prototype.eventFromMessage=function(t,e,r){return void 0===e&&(e=types_1.Severity.Info),eventbuilder_1.eventFromMessage(this._options,t,e,r)},e.prototype._setupTransport=function(){if(!this._options.dsn)return t.prototype._setupTransport.call(this);var e=tslib_1.__assign(tslib_1.__assign({},this._options.transportOptions),{dsn:this._options.dsn,_metadata:this._options._metadata});return this._options.transport?new this._options.transport(e):utils_1.supportsFetch()?new transports_1.FetchTransport(e):new transports_1.XHRTransport(e)},e}(core_1.BaseBackend);exports.BrowserBackend=BrowserBackend; }, {"346":346,"347":347,"348":348,"349":349,"350":350,"351":351}]; window.modules["346"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),types_1=require(349),utils_1=require(350),parsers_1=require(356),tracekit_1=require(355);function eventFromException(e,t,r){var n=eventFromUnknownInput(t,r&&r.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return utils_1.addExceptionMechanism(n,{handled:!0,type:"generic"}),n.level=types_1.Severity.Error,r&&r.event_id&&(n.event_id=r.event_id),utils_1.SyncPromise.resolve(n)}function eventFromMessage(e,t,r,n){void 0===r&&(r=types_1.Severity.Info);var i=eventFromString(t,n&&n.syntheticException||void 0,{attachStacktrace:e.attachStacktrace});return i.level=r,n&&n.event_id&&(i.event_id=n.event_id),utils_1.SyncPromise.resolve(i)}function eventFromUnknownInput(e,t,r){var n;if(void 0===r&&(r={}),utils_1.isErrorEvent(e)&&e.error)return e=e.error,n=parsers_1.eventFromStacktrace(tracekit_1.computeStackTrace(e));if(utils_1.isDOMError(e)||utils_1.isDOMException(e)){var i=e,s=i.name||(utils_1.isDOMError(i)?"DOMError":"DOMException"),a=i.message?s+": "+i.message:s;return n=eventFromString(a,t,r),utils_1.addExceptionTypeValue(n,a),"code"in i&&(n.tags=tslib_1.__assign(tslib_1.__assign({},n.tags),{"DOMException.code":""+i.code})),n}if(utils_1.isError(e))return n=parsers_1.eventFromStacktrace(tracekit_1.computeStackTrace(e));if(utils_1.isPlainObject(e)||utils_1.isEvent(e)){var o=e;return n=parsers_1.eventFromPlainObject(o,t,r.rejection),utils_1.addExceptionMechanism(n,{synthetic:!0}),n}return n=eventFromString(e,t,r),utils_1.addExceptionTypeValue(n,""+e,void 0),utils_1.addExceptionMechanism(n,{synthetic:!0}),n}function eventFromString(e,t,r){void 0===r&&(r={});var n={message:e};if(r.attachStacktrace&&t){var i=tracekit_1.computeStackTrace(t),s=parsers_1.prepareFramesForEvent(i.stack);n.stacktrace={frames:s}}return n}exports.eventFromException=eventFromException,exports.eventFromMessage=eventFromMessage,exports.eventFromUnknownInput=eventFromUnknownInput,exports.eventFromString=eventFromString; }, {"347":347,"349":349,"350":350,"355":355,"356":356}]; window.modules["347"] = [function(require,module,exports){(function (global){(function (){ var __extends,__assign,__rest,__decorate,__param,__metadata,__awaiter,__generator,__exportStar,__values,__read,__spread,__spreadArrays,__await,__asyncGenerator,__asyncDelegator,__asyncValues,__makeTemplateObject,__importStar,__importDefault,__classPrivateFieldGet,__classPrivateFieldSet,__createBinding;!function(e){var t="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:{};function r(e,r){return e!==t&&("function"==typeof Object.create?Object.defineProperty(e,"__esModule",{value:!0}):e.__esModule=!0),function(t,n){return e[t]=r?r(t,n):n}}"function"==typeof define&&define.amd?define("tslib",["exports"],function(n){e(r(t,r(n)))}):"object"==typeof module&&"object"==typeof module.exports?e(r(t,r(module.exports))):e(r(t))}(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};__extends=function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)},__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;i--)(o=e[i])&&(_=(a3?o(t,r,_):o(t,r))||_);return a>3&&_&&Object.defineProperty(t,r,_),_},__param=function(e,t){return function(r,n){t(r,n,e)}},__metadata=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter=function(e,t,r,n){return new(r||(r=Promise))(function(o,a){function _(e){try{c(n.next(e))}catch(e){a(e)}}function i(e){try{c(n.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(_,i)}c((n=n.apply(e,t||[])).next())})},__generator=function(e,t){var r,n,o,a,_={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;_;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return _.label++,{value:a[1],done:!1};case 5:_.label++,n=a[1],a=[0];continue;case 7:a=_.ops.pop(),_.trys.pop();continue;default:if(!(o=(o=_.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){_=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),_=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)_.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return _},__spread=function(){for(var e=[],t=0;t1||i(e,t)})})}function i(e,t){try{(r=o[e](t)).value instanceof __await?Promise.resolve(r.value.v).then(c,u):l(a[0][2],r)}catch(e){l(a[0][3],e)}var r}function c(e){i("next",e)}function u(e){i("throw",e)}function l(e,t){e(t),a.shift(),a.length&&i(a[0][0],a[0][1])}},__asyncDelegator=function(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:"return"===n}:o?o(t):t}:o}},__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,o){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,o,(t=e[r](t)).done,t.value)})}}},__makeTemplateObject=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},__importDefault=function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet=function(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r},e("__extends",__extends),e("__assign",__assign),e("__rest",__rest),e("__decorate",__decorate),e("__param",__param),e("__metadata",__metadata),e("__awaiter",__awaiter),e("__generator",__generator),e("__exportStar",__exportStar),e("__createBinding",__createBinding),e("__values",__values),e("__read",__read),e("__spread",__spread),e("__spreadArrays",__spreadArrays),e("__await",__await),e("__asyncGenerator",__asyncGenerator),e("__asyncDelegator",__asyncDelegator),e("__asyncValues",__asyncValues),e("__makeTemplateObject",__makeTemplateObject),e("__importStar",__importStar),e("__importDefault",__importDefault),e("__classPrivateFieldGet",__classPrivateFieldGet),e("__classPrivateFieldSet",__classPrivateFieldSet)}); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}]; window.modules["348"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var minimal_1=require(378);exports.addBreadcrumb=minimal_1.addBreadcrumb,exports.captureException=minimal_1.captureException,exports.captureEvent=minimal_1.captureEvent,exports.captureMessage=minimal_1.captureMessage,exports.configureScope=minimal_1.configureScope,exports.startTransaction=minimal_1.startTransaction,exports.setContext=minimal_1.setContext,exports.setExtra=minimal_1.setExtra,exports.setExtras=minimal_1.setExtras,exports.setTag=minimal_1.setTag,exports.setTags=minimal_1.setTags,exports.setUser=minimal_1.setUser,exports.withScope=minimal_1.withScope;var hub_1=require(373);exports.addGlobalEventProcessor=hub_1.addGlobalEventProcessor,exports.getCurrentHub=hub_1.getCurrentHub,exports.getHubFromCarrier=hub_1.getHubFromCarrier,exports.Hub=hub_1.Hub,exports.makeMain=hub_1.makeMain,exports.Scope=hub_1.Scope;var api_1=require(369);exports.API=api_1.API;var baseclient_1=require(372);exports.BaseClient=baseclient_1.BaseClient;var basebackend_1=require(370);exports.BaseBackend=basebackend_1.BaseBackend;var request_1=require(376);exports.eventToSentryRequest=request_1.eventToSentryRequest,exports.sessionToSentryRequest=request_1.sessionToSentryRequest;var sdk_1=require(377);exports.initAndBind=sdk_1.initAndBind;var noop_1=require(371);exports.NoopTransport=noop_1.NoopTransport;var version_1=require(375);exports.SDK_VERSION=version_1.SDK_VERSION;var Integrations=require(379);exports.Integrations=Integrations; }, {"369":369,"370":370,"371":371,"372":372,"373":373,"375":375,"376":376,"377":377,"378":378,"379":379}]; window.modules["349"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var loglevel_1=require(387);exports.LogLevel=loglevel_1.LogLevel;var session_1=require(385);exports.SessionStatus=session_1.SessionStatus;var severity_1=require(386);exports.Severity=severity_1.Severity;var status_1=require(388);exports.Status=status_1.Status;var transaction_1=require(389);exports.TransactionSamplingMethod=transaction_1.TransactionSamplingMethod; }, {"385":385,"386":386,"387":387,"388":388,"389":389}]; window.modules["350"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347);tslib_1.__exportStar(require(390),exports),tslib_1.__exportStar(require(391),exports),tslib_1.__exportStar(require(393),exports),tslib_1.__exportStar(require(394),exports),tslib_1.__exportStar(require(407),exports),tslib_1.__exportStar(require(392),exports),tslib_1.__exportStar(require(400),exports),tslib_1.__exportStar(require(396),exports),tslib_1.__exportStar(require(401),exports),tslib_1.__exportStar(require(399),exports),tslib_1.__exportStar(require(408),exports),tslib_1.__exportStar(require(397),exports),tslib_1.__exportStar(require(402),exports),tslib_1.__exportStar(require(398),exports),tslib_1.__exportStar(require(403),exports),tslib_1.__exportStar(require(404),exports),tslib_1.__exportStar(require(405),exports),tslib_1.__exportStar(require(406),exports); }, {"347":347,"390":390,"391":391,"392":392,"393":393,"394":394,"396":396,"397":397,"398":398,"399":399,"400":400,"401":401,"402":402,"403":403,"404":404,"405":405,"406":406,"407":407,"408":408}]; window.modules["351"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var base_1=require(366);exports.BaseTransport=base_1.BaseTransport;var fetch_1=require(367);exports.FetchTransport=fetch_1.FetchTransport;var xhr_1=require(368);exports.XHRTransport=xhr_1.XHRTransport; }, {"366":366,"367":367,"368":368}]; window.modules["352"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),utils_1=require(350),backend_1=require(345),helpers_1=require(353),integrations_1=require(354),BrowserClient=function(e){function t(t){void 0===t&&(t={});return t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:core_1.SDK_VERSION}],version:core_1.SDK_VERSION},e.call(this,backend_1.BrowserBackend,t)||this}return tslib_1.__extends(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),utils_1.getGlobalObject().document&&(this._isEnabled()?helpers_1.injectReportDialog(tslib_1.__assign(tslib_1.__assign({},e),{dsn:e.dsn||this.getDsn()})):utils_1.logger.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,r,n){return t.platform=t.platform||"javascript",e.prototype._prepareEvent.call(this,t,r,n)},t.prototype._sendEvent=function(t){var r=this.getIntegration(integrations_1.Breadcrumbs);r&&r.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(core_1.BaseClient);exports.BrowserClient=BrowserClient; }, {"345":345,"347":347,"348":348,"350":350,"353":353,"354":354}]; window.modules["353"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),utils_1=require(350),ignoreOnError=0;function shouldIgnoreOnError(){return ignoreOnError>0}function ignoreNextOnError(){ignoreOnError+=1,setTimeout(function(){ignoreOnError-=1})}function wrap(r,e,t){if(void 0===e&&(e={}),"function"!=typeof r)return r;try{if(r.__sentry__)return r;if(r.__sentry_wrapped__)return r.__sentry_wrapped__}catch(e){return r}var n=function(){var n=Array.prototype.slice.call(arguments);try{t&&"function"==typeof t&&t.apply(this,arguments);var o=n.map(function(r){return wrap(r,e)});return r.handleEvent?r.handleEvent.apply(this,o):r.apply(this,o)}catch(r){throw ignoreNextOnError(),core_1.withScope(function(t){t.addEventProcessor(function(r){var t=tslib_1.__assign({},r);return e.mechanism&&(utils_1.addExceptionTypeValue(t,void 0,void 0),utils_1.addExceptionMechanism(t,e.mechanism)),t.extra=tslib_1.__assign(tslib_1.__assign({},t.extra),{arguments:n}),t}),core_1.captureException(r)}),r}};try{for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}catch(r){}r.prototype=r.prototype||{},n.prototype=r.prototype,Object.defineProperty(r,"__sentry_wrapped__",{enumerable:!1,value:n}),Object.defineProperties(n,{__sentry__:{enumerable:!1,value:!0},__sentry_original__:{enumerable:!1,value:r}});try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get:function(){return r.name}})}catch(r){}return n}function injectReportDialog(r){if(void 0===r&&(r={}),r.eventId)if(r.dsn){var e=document.createElement("script");e.async=!0,e.src=new core_1.API(r.dsn).getReportDialogEndpoint(r),r.onLoad&&(e.onload=r.onLoad),(document.head||document.body).appendChild(e)}else utils_1.logger.error("Missing dsn option in showReportDialog call");else utils_1.logger.error("Missing eventId option in showReportDialog call")}exports.shouldIgnoreOnError=shouldIgnoreOnError,exports.ignoreNextOnError=ignoreNextOnError,exports.wrap=wrap,exports.injectReportDialog=injectReportDialog; }, {"347":347,"348":348,"350":350}]; window.modules["354"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var globalhandlers_1=require(362);exports.GlobalHandlers=globalhandlers_1.GlobalHandlers;var trycatch_1=require(363);exports.TryCatch=trycatch_1.TryCatch;var breadcrumbs_1=require(361);exports.Breadcrumbs=breadcrumbs_1.Breadcrumbs;var linkederrors_1=require(364);exports.LinkedErrors=linkederrors_1.LinkedErrors;var useragent_1=require(365);exports.UserAgent=useragent_1.UserAgent; }, {"361":361,"362":362,"363":363,"364":364,"365":365}]; window.modules["355"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),UNKNOWN_FUNCTION="?",chrome=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gecko=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,winjs=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,geckoEval=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,chromeEval=/\((\S*)(?::(\d+))(?::(\d+))\)/,reactMinifiedRegexp=/Minified React error #\d+;/i;function computeStackTrace(e){var n=null,a=0;e&&("number"==typeof e.framesToPop?a=e.framesToPop:reactMinifiedRegexp.test(e.message)&&(a=1));try{if(n=computeStackTraceFromStacktraceProp(e))return popFrames(n,a)}catch(e){}try{if(n=computeStackTraceFromStackProp(e))return popFrames(n,a)}catch(e){}return{message:extractMessage(e),name:e&&e.name,stack:[],failed:!0}}function computeStackTraceFromStackProp(e){if(!e||!e.stack)return null;for(var n,a,r,t=[],c=e.stack.split("\n"),s=0;s eval")>-1&&(n=geckoEval.exec(a[3]))?(a[1]=a[1]||"eval",a[3]=n[1],a[4]=n[2],a[5]=""):0!==s||a[5]||void 0===e.columnNumber||(t[0].column=e.columnNumber+1),r={url:a[3],func:a[1]||UNKNOWN_FUNCTION,args:a[2]?a[2].split(","):[],line:a[4]?+a[4]:null,column:a[5]?+a[5]:null}}!r.func&&r.line&&(r.func=UNKNOWN_FUNCTION),t.push(r)}return t.length?{message:extractMessage(e),name:e.name,stack:t}:null}function computeStackTraceFromStacktraceProp(e){if(!e||!e.stacktrace)return null;for(var n,a=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,r=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,t=e.stacktrace.split("\n"),c=[],s=0;s"}0!==t.length&&core_1.getCurrentHub().addBreadcrumb({category:"ui."+e.name,message:t},{event:e.event,name:e.name,global:e.global})},e.prototype._xhrBreadcrumb=function(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},r=t.method,a=t.url,s=t.status_code,o=t.body;core_1.getCurrentHub().addBreadcrumb({category:"xhr",data:{method:r,url:a,status_code:s},type:"http"},{xhr:e.xhr,input:o})}else;},e.prototype._fetchBreadcrumb=function(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?core_1.getCurrentHub().addBreadcrumb({category:"fetch",data:e.fetchData,level:types_1.Severity.Error,type:"http"},{data:e.error,input:e.args}):core_1.getCurrentHub().addBreadcrumb({category:"fetch",data:tslib_1.__assign(tslib_1.__assign({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))},e.prototype._historyBreadcrumb=function(e){var t=utils_1.getGlobalObject(),r=e.from,a=e.to,s=utils_1.parseUrl(t.location.href),o=utils_1.parseUrl(r),n=utils_1.parseUrl(a);o.path||(o=s),s.protocol===n.protocol&&s.host===n.host&&(a=n.relative),s.protocol===o.protocol&&s.host===o.host&&(r=o.relative),core_1.getCurrentHub().addBreadcrumb({category:"navigation",data:{from:r,to:a}})},e.id="Breadcrumbs",e}();exports.Breadcrumbs=Breadcrumbs; }, {"347":347,"348":348,"349":349,"350":350}]; window.modules["362"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),types_1=require(349),utils_1=require(350),eventbuilder_1=require(346),helpers_1=require(353),GlobalHandlers=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=tslib_1.__assign({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(utils_1.logger.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(utils_1.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(utils_1.addInstrumentationHandler({callback:function(n){var r=n.error,i=core_1.getCurrentHub(),a=i.getIntegration(e),o=r&&!0===r.__sentry_own_request__;if(a&&!helpers_1.shouldIgnoreOnError()&&!o){var l=i.getClient(),s=utils_1.isPrimitive(r)?t._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):t._enhanceEventWithInitialFrame(eventbuilder_1.eventFromUnknownInput(r,void 0,{attachStacktrace:l&&l.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);utils_1.addExceptionMechanism(s,{handled:!1,type:"onerror"}),i.captureEvent(s,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(utils_1.addInstrumentationHandler({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(e){}var i=core_1.getCurrentHub(),a=i.getIntegration(e),o=r&&!0===r.__sentry_own_request__;if(!a||helpers_1.shouldIgnoreOnError()||o)return!0;var l=i.getClient(),s=utils_1.isPrimitive(r)?t._eventFromRejectionWithPrimitive(r):eventbuilder_1.eventFromUnknownInput(r,void 0,{attachStacktrace:l&&l.getOptions().attachStacktrace,rejection:!0});s.level=types_1.Severity.Error,utils_1.addExceptionMechanism(s,{handled:!1,type:"onunhandledrejection"}),i.captureEvent(s,{originalException:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,n,r){var i,a=utils_1.isErrorEvent(e)?e.message:e;if(utils_1.isString(a)){var o=a.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);o&&(i=o[1],a=o[2])}var l={exception:{values:[{type:i||"Error",value:a}]}};return this._enhanceEventWithInitialFrame(l,t,n,r)},e.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,n,r){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var i=isNaN(parseInt(r,10))?void 0:r,a=isNaN(parseInt(n,10))?void 0:n,o=utils_1.isString(t)&&t.length>0?t:utils_1.getLocationHref();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:i,filename:o,function:"?",in_app:!0,lineno:a}),e},e.id="GlobalHandlers",e}();exports.GlobalHandlers=GlobalHandlers; }, {"346":346,"347":347,"348":348,"349":349,"350":350,"353":353}]; window.modules["363"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),utils_1=require(350),helpers_1=require(353),DEFAULT_EVENT_TARGET=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],TryCatch=function(){function t(e){this.name=t.id,this._options=tslib_1.__assign({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},e)}return t.prototype.setupOnce=function(){var t=utils_1.getGlobalObject();(this._options.setTimeout&&utils_1.fill(t,"setTimeout",this._wrapTimeFunction.bind(this)),this._options.setInterval&&utils_1.fill(t,"setInterval",this._wrapTimeFunction.bind(this)),this._options.requestAnimationFrame&&utils_1.fill(t,"requestAnimationFrame",this._wrapRAF.bind(this)),this._options.XMLHttpRequest&&"XMLHttpRequest"in t&&utils_1.fill(XMLHttpRequest.prototype,"send",this._wrapXHR.bind(this)),this._options.eventTarget)&&(Array.isArray(this._options.eventTarget)?this._options.eventTarget:DEFAULT_EVENT_TARGET).forEach(this._wrapEventTarget.bind(this))},t.prototype._wrapTimeFunction=function(t){return function(){for(var e=[],n=0;n=this._limit)return t;var i=tracekit_1.computeStackTrace(r[e]),n=parsers_1.exceptionFromStacktrace(i);return this._walkErrorTree(r[e],e,tslib_1.__spread([n],t))},r.id="LinkedErrors",r}();exports.LinkedErrors=LinkedErrors; }, {"347":347,"348":348,"350":350,"355":355,"356":356}]; window.modules["365"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),utils_1=require(350),global=utils_1.getGlobalObject(),UserAgent=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){core_1.addGlobalEventProcessor(function(r){var t,s,i;if(core_1.getCurrentHub().getIntegration(e)){if(!global.navigator&&!global.location&&!global.document)return r;var n=(null===(t=r.request)||void 0===t?void 0:t.url)||(null===(s=global.location)||void 0===s?void 0:s.href),l=(global.document||{}).referrer,o=(global.navigator||{}).userAgent,a=tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({},null===(i=r.request)||void 0===i?void 0:i.headers),l&&{Referer:l}),o&&{"User-Agent":o}),u=tslib_1.__assign(tslib_1.__assign({},n&&{url:n}),{headers:a});return tslib_1.__assign(tslib_1.__assign({},r),{request:u})}return r})},e.id="UserAgent",e}();exports.UserAgent=UserAgent; }, {"347":347,"348":348,"350":350}]; window.modules["366"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),types_1=require(349),utils_1=require(350),CATEGORY_MAPPING={event:"error",transaction:"transaction",session:"session"},BaseTransport=function(){function t(t){this.options=t,this._buffer=new utils_1.PromiseBuffer(30),this._rateLimits={},this._api=new core_1.API(t.dsn,t._metadata),this.url=this._api.getStoreEndpointWithUrlEncodedAuth()}return t.prototype.sendEvent=function(t){throw new utils_1.SentryError("Transport Class has to implement `sendEvent` method")},t.prototype.close=function(t){return this._buffer.drain(t)},t.prototype._handleResponse=function(t){var e=t.requestType,r=t.response,s=t.headers,i=t.resolve,n=t.reject,a=types_1.Status.fromHttpCode(r.status);this._handleRateLimit(s)&&utils_1.logger.warn("Too many requests, backing off until: "+this._disabledUntil(e)),a!==types_1.Status.Success?n(r):i({status:a})},t.prototype._disabledUntil=function(t){var e=CATEGORY_MAPPING[t];return this._rateLimits[e]||this._rateLimits.all},t.prototype._isRateLimited=function(t){return this._disabledUntil(t)>new Date(Date.now())},t.prototype._handleRateLimit=function(t){var e,r,s,i,n=Date.now(),a=t["x-sentry-rate-limits"],o=t["retry-after"];if(a){try{for(var l=tslib_1.__values(a.trim().split(",")),u=l.next();!u.done;u=l.next()){var _=u.value.split(":",2),p=parseInt(_[0],10),d=1e3*(isNaN(p)?60:p);try{for(var f=(s=void 0,tslib_1.__values(_[1].split(";"))),y=f.next();!y.done;y=f.next()){var h=y.value;this._rateLimits[h||"all"]=new Date(n+d)}}catch(t){s={error:t}}finally{try{y&&!y.done&&(i=f.return)&&i.call(f)}finally{if(s)throw s.error}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return!0}return!!o&&(this._rateLimits.all=new Date(n+utils_1.parseRetryAfterHeader(n,o)),!0)},t}();exports.BaseTransport=BaseTransport; }, {"347":347,"348":348,"349":349,"350":350}]; window.modules["367"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),utils_1=require(350),base_1=require(366);function getNativeFetchImplementation(){var e,t,r=utils_1.getGlobalObject();if(utils_1.isNativeFetch(r.fetch))return r.fetch.bind(r);var i=r.document,s=r.fetch;if("function"==typeof(null===(e=i)||void 0===e?void 0:e.createElement))try{var n=i.createElement("iframe");n.hidden=!0,i.head.appendChild(n),(null===(t=n.contentWindow)||void 0===t?void 0:t.fetch)&&(s=n.contentWindow.fetch),i.head.removeChild(n)}catch(e){utils_1.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return s.bind(r)}var FetchTransport=function(e){function t(t,r){void 0===r&&(r=getNativeFetchImplementation());var i=e.call(this,t)||this;return i._fetch=r,i}return tslib_1.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(core_1.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(core_1.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var r=this;if(this._isRateLimited(e.type))return Promise.reject({event:t,type:e.type,reason:"Transport locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var i={body:e.body,method:"POST",referrerPolicy:utils_1.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(i,this.options.fetchParameters),void 0!==this.options.headers&&(i.headers=this.options.headers),this._buffer.add(new utils_1.SyncPromise(function(t,s){r._fetch(e.url,i).then(function(i){var n={"x-sentry-rate-limits":i.headers.get("X-Sentry-Rate-Limits"),"retry-after":i.headers.get("Retry-After")};r._handleResponse({requestType:e.type,response:i,headers:n,resolve:t,reject:s})}).catch(s)}))},t}(base_1.BaseTransport);exports.FetchTransport=FetchTransport; }, {"347":347,"348":348,"350":350,"366":366}]; window.modules["368"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),core_1=require(348),utils_1=require(350),base_1=require(366),XHRTransport=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return tslib_1.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(core_1.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(core_1.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var s=this;return this._isRateLimited(e.type)?Promise.reject({event:t,type:e.type,reason:"Transport locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429}):this._buffer.add(new utils_1.SyncPromise(function(t,r){var n=new XMLHttpRequest;for(var o in n.onreadystatechange=function(){if(4===n.readyState){var o={"x-sentry-rate-limits":n.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":n.getResponseHeader("Retry-After")};s._handleResponse({requestType:e.type,response:n,headers:o,resolve:t,reject:r})}},n.open("POST",e.url),s.options.headers)s.options.headers.hasOwnProperty(o)&&n.setRequestHeader(o,s.options.headers[o]);n.send(e.body)}))},t}(base_1.BaseTransport);exports.XHRTransport=XHRTransport; }, {"347":347,"348":348,"350":350,"366":366}]; window.modules["369"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(350),SENTRY_API_VERSION="7",API=function(){function t(t,e){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new utils_1.Dsn(t),this.metadata=e}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.getBaseApiEndpoint=function(){var t=this._dsnObject,e=t.protocol?t.protocol+":":"",n=t.port?":"+t.port:"";return e+"//"+t.host+n+(t.path?"/"+t.path:"")+"/api/"},t.prototype.getStoreEndpoint=function(){return this._getIngestEndpoint("store")},t.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return this.getStoreEndpoint()+"?"+this._encodedAuth()},t.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this._dsnObject;return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this._dsnObject,o=["Sentry sentry_version="+SENTRY_API_VERSION];return o.push("sentry_client="+t+"/"+e),o.push("sentry_key="+n.publicKey),n.pass&&o.push("sentry_secret="+n.pass),{"Content-Type":"application/json","X-Sentry-Auth":o.join(", ")}},t.prototype.getReportDialogEndpoint=function(t){void 0===t&&(t={});var e=this._dsnObject,n=this.getBaseApiEndpoint()+"embed/error-page/",o=[];for(var r in o.push("dsn="+e.toString()),t)if("dsn"!==r)if("user"===r){if(!t.user)continue;t.user.name&&o.push("name="+encodeURIComponent(t.user.name)),t.user.email&&o.push("email="+encodeURIComponent(t.user.email))}else o.push(encodeURIComponent(r)+"="+encodeURIComponent(t[r]));return o.length?n+"?"+o.join("&"):n},t.prototype._getEnvelopeEndpoint=function(){return this._getIngestEndpoint("envelope")},t.prototype._getIngestEndpoint=function(t){return""+this.getBaseApiEndpoint()+this._dsnObject.projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this._dsnObject.publicKey,sentry_version:SENTRY_API_VERSION};return utils_1.urlEncode(t)},t}();exports.API=API; }, {"350":350}]; window.modules["370"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(350),noop_1=require(371),BaseBackend=function(){function t(t){this._options=t,this._options.dsn||utils_1.logger.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return t.prototype.eventFromException=function(t,e){throw new utils_1.SentryError("Backend has to implement `eventFromException` method")},t.prototype.eventFromMessage=function(t,e,n){throw new utils_1.SentryError("Backend has to implement `eventFromMessage` method")},t.prototype.sendEvent=function(t){this._transport.sendEvent(t).then(null,function(t){utils_1.logger.error("Error while sending event: "+t)})},t.prototype.sendSession=function(t){this._transport.sendSession?this._transport.sendSession(t).then(null,function(t){utils_1.logger.error("Error while sending session: "+t)}):utils_1.logger.warn("Dropping session because custom transport doesn't implement sendSession")},t.prototype.getTransport=function(){return this._transport},t.prototype._setupTransport=function(){return new noop_1.NoopTransport},t}();exports.BaseBackend=BaseBackend; }, {"350":350,"371":371}]; window.modules["371"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(349),utils_1=require(350),NoopTransport=function(){function e(){}return e.prototype.sendEvent=function(e){return utils_1.SyncPromise.resolve({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:types_1.Status.Skipped})},e.prototype.close=function(e){return utils_1.SyncPromise.resolve(!0)},e}();exports.NoopTransport=NoopTransport; }, {"349":349,"350":350}]; window.modules["372"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),hub_1=require(373),types_1=require(349),utils_1=require(350),integration_1=require(374),BaseClient=function(){function t(t,e){this._integrations={},this._processing=0,this._backend=new t(e),this._options=e,e.dsn&&(this._dsn=new utils_1.Dsn(e.dsn))}return t.prototype.captureException=function(t,e,n){var r=this,i=e&&e.event_id;return this._process(this._getBackend().eventFromException(t,e).then(function(t){return r._captureEvent(t,e,n)}).then(function(t){i=t})),i},t.prototype.captureMessage=function(t,e,n,r){var i=this,s=n&&n.event_id,o=utils_1.isPrimitive(t)?this._getBackend().eventFromMessage(String(t),e,n):this._getBackend().eventFromException(t,n);return this._process(o.then(function(t){return i._captureEvent(t,n,r)}).then(function(t){s=t})),s},t.prototype.captureEvent=function(t,e,n){var r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then(function(t){r=t})),r},t.prototype.captureSession=function(t){"string"!=typeof t.release?utils_1.logger.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1}))},t.prototype.getDsn=function(){return this._dsn},t.prototype.getOptions=function(){return this._options},t.prototype.flush=function(t){var e=this;return this._isClientProcessing(t).then(function(n){return e._getBackend().getTransport().close(t).then(function(t){return n&&t})})},t.prototype.close=function(t){var e=this;return this.flush(t).then(function(t){return e.getOptions().enabled=!1,t})},t.prototype.setupIntegrations=function(){this._isEnabled()&&(this._integrations=integration_1.setupIntegrations(this._options))},t.prototype.getIntegration=function(t){try{return this._integrations[t.id]||null}catch(e){return utils_1.logger.warn("Cannot retrieve integration "+t.id+" from the current Client"),null}},t.prototype._updateSessionFromEvent=function(t,e){var n,r,i,s=!1,o=!1,a=e.exception&&e.exception.values;if(a){o=!0;try{for(var u=tslib_1.__values(a),l=u.next();!l.done;l=u.next()){var _=l.value.mechanism;if(_&&!1===_.handled){s=!0;break}}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}var c=e.user;if(!t.userAgent){var p=e.request?e.request.headers:{};for(var d in p)if("user-agent"===d.toLowerCase()){i=p[d];break}}t.update(tslib_1.__assign(tslib_1.__assign({},s&&{status:types_1.SessionStatus.Crashed}),{user:c,userAgent:i,errors:t.errors+Number(o||s)})),this.captureSession(t)},t.prototype._sendSession=function(t){this._getBackend().sendSession(t)},t.prototype._isClientProcessing=function(t){var e=this;return new utils_1.SyncPromise(function(n){var r=0,i=setInterval(function(){0==e._processing?(clearInterval(i),n(!0)):(r+=1,t&&r>=t&&(clearInterval(i),n(!1)))},1)})},t.prototype._getBackend=function(){return this._backend},t.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},t.prototype._prepareEvent=function(t,e,n){var r=this,i=this.getOptions().normalizeDepth,s=void 0===i?3:i,o=tslib_1.__assign(tslib_1.__assign({},t),{event_id:t.event_id||(n&&n.event_id?n.event_id:utils_1.uuid4()),timestamp:t.timestamp||utils_1.dateTimestampInSeconds()});this._applyClientOptions(o),this._applyIntegrationsMetadata(o);var a=e;n&&n.captureContext&&(a=hub_1.Scope.clone(a).update(n.captureContext));var u=utils_1.SyncPromise.resolve(o);return a&&(u=a.applyToEvent(o,n)),u.then(function(t){return"number"==typeof s&&s>0?r._normalizeEvent(t,s):t})},t.prototype._normalizeEvent=function(t,e){if(!t)return null;var n=tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({},t),t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(function(t){return tslib_1.__assign(tslib_1.__assign({},t),t.data&&{data:utils_1.normalize(t.data,e)})})}),t.user&&{user:utils_1.normalize(t.user,e)}),t.contexts&&{contexts:utils_1.normalize(t.contexts,e)}),t.extra&&{extra:utils_1.normalize(t.extra,e)});return t.contexts&&t.contexts.trace&&(n.contexts.trace=t.contexts.trace),n},t.prototype._applyClientOptions=function(t){var e=this.getOptions(),n=e.environment,r=e.release,i=e.dist,s=e.maxValueLength,o=void 0===s?250:s;"environment"in t||(t.environment="environment"in e?n:"production"),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=utils_1.truncate(t.message,o));var a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=utils_1.truncate(a.value,o));var u=t.request;u&&u.url&&(u.url=utils_1.truncate(u.url,o))},t.prototype._applyIntegrationsMetadata=function(t){var e=Object.keys(this._integrations);e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=tslib_1.__spread(t.sdk.integrations||[],e))},t.prototype._sendEvent=function(t){this._getBackend().sendEvent(t)},t.prototype._captureEvent=function(t,e,n){return this._processEvent(t,e,n).then(function(t){return t.event_id},function(t){utils_1.logger.error(t)})},t.prototype._processEvent=function(t,e,n){var r=this,i=this.getOptions(),s=i.beforeSend,o=i.sampleRate;if(!this._isEnabled())return utils_1.SyncPromise.reject(new utils_1.SentryError("SDK not enabled, will not send event."));var a="transaction"===t.type;return!a&&"number"==typeof o&&Math.random()>o?utils_1.SyncPromise.reject(new utils_1.SentryError("Discarding event because it's not included in the random sample (sampling rate = "+o+")")):this._prepareEvent(t,n,e).then(function(t){if(null===t)throw new utils_1.SentryError("An event processor returned null, will not send event.");if(e&&e.data&&!0===e.data.__sentry__||a||!s)return t;var n=s(t,e);if(void 0===n)throw new utils_1.SentryError("`beforeSend` method has to return `null` or a valid event.");return utils_1.isThenable(n)?n.then(function(t){return t},function(t){throw new utils_1.SentryError("beforeSend rejected with "+t)}):n}).then(function(t){if(null===t)throw new utils_1.SentryError("`beforeSend` returned `null`, will not send event.");var e=n&&n.getSession&&n.getSession();return!a&&e&&r._updateSessionFromEvent(e,t),r._sendEvent(t),t}).then(null,function(t){if(t instanceof utils_1.SentryError)throw t;throw r.captureException(t,{data:{__sentry__:!0},originalException:t}),new utils_1.SentryError("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+t)})},t.prototype._process=function(t){var e=this;this._processing+=1,t.then(function(t){return e._processing-=1,t},function(t){return e._processing-=1,t})},t}();exports.BaseClient=BaseClient; }, {"347":347,"349":349,"350":350,"373":373,"374":374}]; window.modules["373"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var scope_1=require(383);exports.addGlobalEventProcessor=scope_1.addGlobalEventProcessor,exports.Scope=scope_1.Scope;var session_1=require(384);exports.Session=session_1.Session;var hub_1=require(382);exports.getActiveDomain=hub_1.getActiveDomain,exports.getCurrentHub=hub_1.getCurrentHub,exports.getHubFromCarrier=hub_1.getHubFromCarrier,exports.getMainCarrier=hub_1.getMainCarrier,exports.Hub=hub_1.Hub,exports.makeMain=hub_1.makeMain,exports.setHubOnCarrier=hub_1.setHubOnCarrier; }, {"382":382,"383":383,"384":384}]; window.modules["374"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),hub_1=require(373),utils_1=require(350);function getIntegrationsToSetup(e){var t=e.defaultIntegrations&&tslib_1.__spread(e.defaultIntegrations)||[],n=e.integrations,r=[];if(Array.isArray(n)){var s=n.map(function(e){return e.name}),a=[];t.forEach(function(e){-1===s.indexOf(e.name)&&-1===a.indexOf(e.name)&&(r.push(e),a.push(e.name))}),n.forEach(function(e){-1===a.indexOf(e.name)&&(r.push(e),a.push(e.name))})}else"function"==typeof n?(r=n(t),r=Array.isArray(r)?r:[r]):r=tslib_1.__spread(t);var i=r.map(function(e){return e.name});return-1!==i.indexOf("Debug")&&r.push.apply(r,tslib_1.__spread(r.splice(i.indexOf("Debug"),1))),r}function setupIntegration(e){-1===exports.installedIntegrations.indexOf(e.name)&&(e.setupOnce(hub_1.addGlobalEventProcessor,hub_1.getCurrentHub),exports.installedIntegrations.push(e.name),utils_1.logger.log("Integration installed: "+e.name))}function setupIntegrations(e){var t={};return getIntegrationsToSetup(e).forEach(function(e){t[e.name]=e,setupIntegration(e)}),t}exports.installedIntegrations=[],exports.getIntegrationsToSetup=getIntegrationsToSetup,exports.setupIntegration=setupIntegration,exports.setupIntegrations=setupIntegrations; }, {"347":347,"350":350,"373":373}]; window.modules["375"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION="6.3.5"; }, {}]; window.modules["376"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347);function getSdkMetadataForEnvelopeHeader(e){if(e.metadata&&e.metadata.sdk){var t=e.metadata.sdk;return{name:t.name,version:t.version}}}function enhanceEventWithSdkInfo(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=tslib_1.__spread(e.sdk.integrations||[],t.integrations||[]),e.sdk.packages=tslib_1.__spread(e.sdk.packages||[],t.packages||[]),e):e}function sessionToSentryRequest(e,t){var n=getSdkMetadataForEnvelopeHeader(t);return{body:JSON.stringify(tslib_1.__assign({sent_at:(new Date).toISOString()},n&&{sdk:n}))+"\n"+JSON.stringify({type:"session"})+"\n"+JSON.stringify(e),type:"session",url:t.getEnvelopeEndpointWithUrlEncodedAuth()}}function eventToSentryRequest(e,t){var n=getSdkMetadataForEnvelopeHeader(t),s=e.type||"event",a="transaction"===s,r=e.debug_meta||{},i=r.transactionSampling,d=tslib_1.__rest(r,["transactionSampling"]),o=i||{},g=o.method,p=o.rate;0===Object.keys(d).length?delete e.debug_meta:e.debug_meta=d;var _={body:JSON.stringify(n?enhanceEventWithSdkInfo(e,t.metadata.sdk):e),type:s,url:a?t.getEnvelopeEndpointWithUrlEncodedAuth():t.getStoreEndpointWithUrlEncodedAuth()};if(a){var u=JSON.stringify(tslib_1.__assign({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}))+"\n"+JSON.stringify({type:e.type,sample_rates:[{id:g,rate:p}]})+"\n"+_.body;_.body=u}return _}exports.sessionToSentryRequest=sessionToSentryRequest,exports.eventToSentryRequest=eventToSentryRequest; }, {"347":347}]; window.modules["377"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var hub_1=require(373),utils_1=require(350);function initAndBind(e,n){!0===n.debug&&utils_1.logger.enable();var i=hub_1.getCurrentHub(),t=new e(n);i.bindClient(t)}exports.initAndBind=initAndBind; }, {"350":350,"373":373}]; window.modules["378"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),hub_1=require(373);function callOnHub(t){for(var e=[],r=1;r=0?tslib_1.__spread(this._breadcrumbs,[e]).slice(-s):tslib_1.__spread(this._breadcrumbs,[e]),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,s){var e;if(this._extra&&Object.keys(this._extra).length&&(t.extra=tslib_1.__assign(tslib_1.__assign({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=tslib_1.__assign(tslib_1.__assign({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=tslib_1.__assign(tslib_1.__assign({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=tslib_1.__assign(tslib_1.__assign({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=tslib_1.__assign({trace:this._span.getTraceContext()},t.contexts);var i=null===(e=this._span.transaction)||void 0===e?void 0:e.name;i&&(t.tags=tslib_1.__assign({transaction:i},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=tslib_1.__spread(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(tslib_1.__spread(getGlobalEventProcessors(),this._eventProcessors),t,s)},t.prototype._notifyEventProcessors=function(t,s,e,i){var n=this;return void 0===i&&(i=0),new utils_1.SyncPromise(function(r,_){var o=t[i];if(null===s||"function"!=typeof o)r(s);else{var a=o(tslib_1.__assign({},s),e);utils_1.isThenable(a)?a.then(function(s){return n._notifyEventProcessors(t,s,e,i+1).then(r)}).then(null,_):n._notifyEventProcessors(t,a,e,i+1).then(r).then(null,_)}})},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(function(s){s(t)}),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function getGlobalEventProcessors(){var t=utils_1.getGlobalObject();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}function addGlobalEventProcessor(t){getGlobalEventProcessors().push(t)}exports.Scope=Scope,exports.addGlobalEventProcessor=addGlobalEventProcessor; }, {"347":347,"350":350}]; window.modules["384"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(349),utils_1=require(350),Session=function(){function t(t){this.errors=0,this.sid=utils_1.uuid4(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=types_1.SessionStatus.Ok,this.init=!0,t&&this.update(t)}return t.prototype.update=function(t){void 0===t&&(t={}),t.user&&(t.user.ip_address&&(this.ipAddress=t.user.ip_address),t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Date.now(),t.sid&&(this.sid=32===t.sid.length?t.sid:utils_1.uuid4()),void 0!==t.init&&(this.init=t.init),t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),"number"==typeof t.duration?this.duration=t.duration:this.duration=this.timestamp-this.started,t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),t.ipAddress&&(this.ipAddress=t.ipAddress),t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===types_1.SessionStatus.Ok?this.update({status:types_1.SessionStatus.Exited}):this.update()},t.prototype.toJSON=function(){return utils_1.dropUndefinedKeys({sid:""+this.sid,init:this.init,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:utils_1.dropUndefinedKeys({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}();exports.Session=Session; }, {"349":349,"350":350}]; window.modules["385"] = [function(require,module,exports){var SessionStatus;Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e.Ok="ok",e.Exited="exited",e.Crashed="crashed",e.Abnormal="abnormal"}(SessionStatus=exports.SessionStatus||(exports.SessionStatus={})); }, {}]; window.modules["386"] = [function(require,module,exports){var Severity;Object.defineProperty(exports,"__esModule",{value:!0}),function(r){r.Fatal="fatal",r.Error="error",r.Warning="warning",r.Log="log",r.Info="info",r.Debug="debug",r.Critical="critical"}(Severity=exports.Severity||(exports.Severity={})),function(r){r.fromString=function(e){switch(e){case"debug":return r.Debug;case"info":return r.Info;case"warn":case"warning":return r.Warning;case"error":return r.Error;case"fatal":return r.Fatal;case"critical":return r.Critical;case"log":default:return r.Log}}}(Severity=exports.Severity||(exports.Severity={})); }, {}]; window.modules["387"] = [function(require,module,exports){var LogLevel;Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e[e.None=0]="None",e[e.Error=1]="Error",e[e.Debug=2]="Debug",e[e.Verbose=3]="Verbose"}(LogLevel=exports.LogLevel||(exports.LogLevel={})); }, {}]; window.modules["388"] = [function(require,module,exports){var Status;Object.defineProperty(exports,"__esModule",{value:!0}),function(t){t.Unknown="unknown",t.Skipped="skipped",t.Success="success",t.RateLimit="rate_limit",t.Invalid="invalid",t.Failed="failed"}(Status=exports.Status||(exports.Status={})),function(t){t.fromHttpCode=function(e){return e>=200&&e=400&&e=500?t.Failed:t.Unknown}}(Status=exports.Status||(exports.Status={})); }, {}]; window.modules["389"] = [function(require,module,exports){var TransactionSamplingMethod;Object.defineProperty(exports,"__esModule",{value:!0}),function(e){e.Explicit="explicitly_set",e.Sampler="client_sampler",e.Rate="client_rate",e.Inheritance="inheritance"}(TransactionSamplingMethod=exports.TransactionSamplingMethod||(exports.TransactionSamplingMethod={})); }, {}]; window.modules["390"] = [function(require,module,exports){function forget(e){e.then(null,function(e){console.error(e)})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.forget=forget; }, {}]; window.modules["391"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(392);function htmlTreeAsString(e){try{for(var t=e,r=[],n=0,i=0,s=" > ".length,l=void 0;t&&n++1&&i+r.length*s+l.length>=80);)r.push(l),i+=l.length,t=t.parentNode;return r.reverse().join(" > ")}catch(e){return""}}function _htmlElementAsString(e){var t,r,n,i,s,l=e,h=[];if(!l||!l.tagName)return"";if(h.push(l.tagName.toLowerCase()),l.id&&h.push("#"+l.id),(t=l.className)&&is_1.isString(t))for(r=t.split(/\s+/),s=0;s1&&(l=E.slice(0,-1).join("/"),a=E.pop()),a){var _=a.match(/^\d+/);_&&(a=_[0])}this._fromComponents({host:n,pass:s,path:l,projectId:a,port:c,protocol:i,publicKey:e})},t.prototype._fromComponents=function(t){"user"in t&&!("publicKey"in t)&&(t.publicKey=t.user),this.user=t.publicKey||"",this.protocol=t.protocol,this.publicKey=t.publicKey||"",this.pass=t.pass||"",this.host=t.host,this.port=t.port||"",this.path=t.path||"",this.projectId=t.projectId},t.prototype._validate=function(){var t=this;if(["protocol","publicKey","host","projectId"].forEach(function(r){if(!t[r])throw new error_1.SentryError(ERROR_MESSAGE+": "+r+" missing")}),!this.projectId.match(/^\d+$/))throw new error_1.SentryError(ERROR_MESSAGE+": Invalid projectId "+this.projectId);if("http"!==this.protocol&&"https"!==this.protocol)throw new error_1.SentryError(ERROR_MESSAGE+": Invalid protocol "+this.protocol);if(this.port&&isNaN(parseInt(this.port,10)))throw new error_1.SentryError(ERROR_MESSAGE+": Invalid port "+this.port)},t}();exports.Dsn=Dsn; }, {"347":347,"394":394}]; window.modules["394"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(347),polyfill_1=require(395),SentryError=function(r){function t(t){var e=this.constructor,o=r.call(this,t)||this;return o.message=t,o.name=e.prototype.constructor.name,polyfill_1.setPrototypeOf(o,e.prototype),o}return tslib_1.__extends(t,r),t}(Error);exports.SentryError=SentryError; }, {"347":347,"395":395}]; window.modules["395"] = [function(require,module,exports){function setProtoOf(t,e){return t.__proto__=e,t}function mixinProperties(t,e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r]);return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.setPrototypeOf=Object.setPrototypeOf||({__proto__:[]}instanceof Array?setProtoOf:mixinProperties); }, {}]; window.modules["396"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var Memo=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t=0;n--){var i=r[n];"."===i?r.splice(n,1):".."===i?(r.splice(n,1),t++):t&&(r.splice(n,1),t--)}if(e)for(;t--;t)r.unshift("..");return r}Object.defineProperty(exports,"__esModule",{value:!0});var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function splitPath(r){var e=splitPathRe.exec(r);return e?e.slice(1):[]}function resolve(){for(var r=[],e=0;e=-1&&!n;i--){var o=i>=0?r[i]:"/";o&&(t=o+"/"+t,n="/"===o.charAt(0))}return(n?"/":"")+(t=normalizeArray(t.split("/").filter(function(r){return!!r}),!n).join("/"))||"."}function trim(r){for(var e=0;e=0&&""===r[t];t--);return e>t?[]:r.slice(e,t-e+1)}function relative(r,e){r=resolve(r).substr(1),e=resolve(e).substr(1);for(var t=trim(r.split("/")),n=trim(e.split("/")),i=Math.min(t.length,n.length),o=i,s=0;s"}return e.event_id||""}function consoleSandbox(e){var t=getGlobalObject();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach(function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)});var a=e();return Object.keys(r).forEach(function(e){n[e]=r[e]}),a}function addExceptionTypeValue(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function addExceptionMechanism(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach(function(n){e.exception.values[0].mechanism[n]=t[n]})}catch(e){}}function getLocationHref(){try{return document.location.href}catch(e){return""}}exports.getGlobalObject=getGlobalObject,exports.uuid4=uuid4,exports.parseUrl=parseUrl,exports.getEventDescription=getEventDescription,exports.consoleSandbox=consoleSandbox,exports.addExceptionTypeValue=addExceptionTypeValue,exports.addExceptionMechanism=addExceptionMechanism,exports.getLocationHref=getLocationHref;var SEMVER_REGEXP=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function parseSemver(e){var t=e.match(SEMVER_REGEXP)||[],n=parseInt(t[1],10),r=parseInt(t[2],10),a=parseInt(t[3],10);return{buildmetadata:t[5],major:isNaN(n)?void 0:n,minor:isNaN(r)?void 0:r,patch:isNaN(a)?void 0:a,prerelease:t[4]}}exports.parseSemver=parseSemver;var defaultRetryAfter=6e4;function parseRetryAfterHeader(e,t){if(!t)return defaultRetryAfter;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?defaultRetryAfter:r-e}function addContextToFrame(e,t,n){void 0===n&&(n=5);var r=t.lineno||0,a=e.length,o=Math.max(Math.min(a,r-1),0);t.pre_context=e.slice(Math.max(0,o-n),o).map(function(e){return string_1.snipLine(e,0)}),t.context_line=string_1.snipLine(e[Math.min(a-1,o)],t.colno||0),t.post_context=e.slice(Math.min(o+1,a),o+1+n).map(function(e){return string_1.snipLine(e,0)})}function stripUrlQueryAndFragment(e){return e.split(/[\?#]/,1)[0]}exports.parseRetryAfterHeader=parseRetryAfterHeader,exports.addContextToFrame=addContextToFrame,exports.stripUrlQueryAndFragment=stripUrlQueryAndFragment; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"399":399,"403":403}]; window.modules["402"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var error_1=require(394),syncpromise_1=require(405),PromiseBuffer=function(){function e(e){this._limit=e,this._buffer=[]}return e.prototype.isReady=function(){return void 0===this._limit||this.length()0&&t(!1)},e);syncpromise_1.SyncPromise.all(r._buffer).then(function(){clearTimeout(n),t(!0)}).then(null,function(){t(!0)})})},e}();exports.PromiseBuffer=PromiseBuffer; }, {"394":394,"405":405}]; window.modules["403"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(392);function truncate(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n?t:t.lengthr&&(n=r);var i=Math.max(n-60,0);ir-5&&(s=r),s===r&&(i=Math.max(s-140,0)),e=e.slice(i,s),i>0&&(e="'{snip} "+e),s2?t[2]:void 0;if(n){var o=lastHref,a=String(n);lastHref=a,triggerHandlers("history",{from:o,to:a})}return e.apply(this,t)}}}exports.addInstrumentationHandler=addInstrumentationHandler;var debounceTimerID,lastCapturedEvent,debounceDuration=1e3;function shouldShortcircuitPreviousDebounce(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}function shouldSkipDOMEvent(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}function makeDOMEventHandler(e,t){return void 0===t&&(t=!1),function(r){if(r&&lastCapturedEvent!==r&&!shouldSkipDOMEvent(r)){var n="keypress"===r.type?"input":r.type;void 0===debounceTimerID?(e({event:r,name:n,global:t}),lastCapturedEvent=r):shouldShortcircuitPreviousDebounce(lastCapturedEvent,r)&&(e({event:r,name:n,global:t}),lastCapturedEvent=r),clearTimeout(debounceTimerID),debounceTimerID=global.setTimeout(function(){debounceTimerID=void 0},debounceDuration)}}}function instrumentDOM(){if("document"in global){var e=triggerHandlers.bind(null,"dom"),t=makeDOMEventHandler(e,!0);global.document.addEventListener("click",t,!1),global.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(function(t){var r=global[t]&&global[t].prototype;r&&r.hasOwnProperty&&r.hasOwnProperty("addEventListener")&&(object_1.fill(r,"addEventListener",function(t){return function(r,n,o){if("click"===r||"keypress"==r)try{var a=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},i=a[r]=a[r]||{refCount:0};if(!i.handler){var l=makeDOMEventHandler(e);i.handler=l,t.call(this,r,l,o)}i.refCount+=1}catch(e){}return t.call(this,r,n,o)}}),object_1.fill(r,"removeEventListener",function(e){return function(t,r,n){if("click"===t||"keypress"==t)try{var o=this.__sentry_instrumentation_handlers__||{},a=o[t];a&&(a.refCount-=1,a.refCount"}try{o.currentTarget=is_1.isElement(i.currentTarget)?browser_1.htmlTreeAsString(i.currentTarget):Object.prototype.toString.call(i.currentTarget)}catch(e){o.currentTarget=""}for(var n in"undefined"!=typeof CustomEvent&&is_1.isInstanceOf(e,CustomEvent)&&(o.detail=i.detail),i)Object.prototype.hasOwnProperty.call(i,n)&&(o[n]=i);return o}return e}function utf8Length(e){return~-encodeURI(e).split(/%..|./).length}function jsonSize(e){return utf8Length(JSON.stringify(e))}function normalizeToSize(e,r,t){void 0===r&&(r=3),void 0===t&&(t=102400);var n=normalize(e,r);return jsonSize(n)>t?normalizeToSize(e,r-1,t):n}function serializeValue(e){var r=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===r)return"[Object]";if("[object Array]"===r)return"[Array]";var t=normalizeValue(e);return is_1.isPrimitive(t)?t:r}function normalizeValue(e,r){return"domain"===r&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===r?"[DomainEmitter]":"undefined"!=typeof global&&e===global?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":is_1.isSyntheticEvent(e)?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+stacktrace_1.getFunctionName(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e}function walk(e,r,t,n){if(void 0===t&&(t=1/0),void 0===n&&(n=new memo_1.Memo),0===t)return serializeValue(r);if(null!=r&&"function"==typeof r.toJSON)return r.toJSON();var i=normalizeValue(r,e);if(is_1.isPrimitive(i))return i;var o=getWalkSource(r),a=Array.isArray(r)?[]:{};if(n.memoize(r))return"[Circular ~]";for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(a[s]=walk(s,o[s],t-1,n));return n.unmemoize(r),a}function normalize(e,r){try{return JSON.parse(JSON.stringify(e,function(e,t){return walk(e,t,r)}))}catch(e){return"**non-serializable**"}}function extractExceptionKeysForMessage(e,r){void 0===r&&(r=40);var t=Object.keys(getWalkSource(e));if(t.sort(),!t.length)return"[object has no keys]";if(t[0].length>=r)return string_1.truncate(t[0],r);for(var n=t.length;n>0;n--){var i=t.slice(0,n).join(", ");if(!(i.length>r))return n===t.length?i:string_1.truncate(i,r)}return""}function dropUndefinedKeys(e){var r,t;if(is_1.isPlainObject(e)){var n=e,i={};try{for(var o=tslib_1.__values(Object.keys(n)),a=o.next();!a.done;a=o.next()){var s=a.value;void 0!==n[s]&&(i[s]=dropUndefinedKeys(n[s]))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(r)throw r.error}}return i}return Array.isArray(e)?e.map(dropUndefinedKeys):e}exports.fill=fill,exports.urlEncode=urlEncode,exports.normalizeToSize=normalizeToSize,exports.walk=walk,exports.normalize=normalize,exports.extractExceptionKeysForMessage=extractExceptionKeysForMessage,exports.dropUndefinedKeys=dropUndefinedKeys; }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"347":347,"391":391,"392":392,"396":396,"398":398,"403":403}]; window.modules["432"] = [function(require,module,exports){}, {}]; window.modules["437"] = [function(require,module,exports){(function (process,global){(function (){ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).auth0={})}(this,function(t){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t,e){return t(e={exports:{}},e.exports),e.exports}var n=r(function(t){var r,n;r=e,n=function(){return function(){return function(t){var e=[];if(0===t.length)return"";if("string"!=typeof t[0])throw new TypeError("Url must be a string. Received "+t[0]);if(t[0].match(/^[^/:]+:\/*$/)&&t.length>1){var r=t.shift();t[0]=r+t[0]}t[0].match(/^file:\/\/\//)?t[0]=t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0]=t[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n0&&(i=i.replace(/^[\/]+/,"")),i=n0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},t.exports?t.exports=n():r.urljoin=n()}),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var t=[],e=0;e1;){var e=t.pop(),r=e.obj[e.prop];if(o(r)){for(var n=[],i=0;i=48&&a=65&&a=97&&a>6]+s[128|63&a]:a=57344?i+=s[224|a>>12]+s[128|a>>6&63]+s[128|63&a]:(o+=1,a=65536+((1023&a)>18]+s[128|a>>12&63]+s[128|a>>6&63]+s[128|63&a])}return i},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var r=[],n=0;n-1?t.split(","):t},C=function(t,e,r,n){if(t){var i=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(i),a=s?i.slice(0,s.index):i,u=[];if(a){if(!r.plainObjects&&T.call(Object.prototype,a)&&!r.allowPrototypes)return;u.push(a)}for(var c=0;r.depth>0&&null!==(s=o.exec(i))&&c=0;--o){var s,a=t[o];if("[]"===a&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(u,10);r.parseArrays||""!==u?!isNaN(c)&&a!==u&&String(c)===u&&c>=0&&r.parseArrays&&c0?h+p:""},x=r(function(t){function e(t){if(t)return function(t){for(var r in e.prototype)t[r]=e.prototype[r];return t}(t)}t.exports=e,e.prototype.on=e.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},e.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},e.prototype.off=e.prototype.removeListener=e.prototype.removeAllListeners=e.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;ie?1:0}function U(t,e,r){var n,i=function t(e,r,n,i){var o;if("object"==typeof e&&null!==e){for(o=0;o0)for(var n=0;n=this._maxRetries)return!1;if(this._retryCallback)try{var r=this._retryCallback(t,e);if(!0===r)return!0;if(!1===r)return!1}catch(t){console.error(t)}if(e&&e.status&&e.status>=500&&501!==e.status)return!0;if(t){if(t.code&&z.includes(t.code))return!0;if(t.timeout&&"ECONNABORTED"===t.code)return!0;if(t.crossDomain)return!0}return!1},H.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},H.prototype.then=function(t,e){var r=this;if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){n.on("abort",function(){if(!(r._maxRetries&&r._maxRetries>r._retries))if(r.timedout&&r.timedoutError)e(r.timedoutError);else{var t=new Error("Aborted");t.code="ABORTED",t.status=r.status,t.method=r.method,t.url=r.url,e(t)}}),n.end(function(r,n){r?e(r):t(n)})})}return this._fullfilledPromise.then(t,e)},H.prototype.catch=function(t){return this.then(void 0,t)},H.prototype.use=function(t){return t(this),this},H.prototype.ok=function(t){if("function"!=typeof t)throw new Error("Callback required");return this._okCallback=t,this},H.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status=0){var r=this.url.slice(e+1).split("&");"function"==typeof this._sort?r.sort(this._sort):r.sort(),this.url=this.url.slice(0,e)+"?"+r.join("&")}}},H.prototype._appendQueryString=function(){console.warn("Unsupported")},H.prototype._timeoutError=function(t,e,r){if(!this._aborted){var n=new Error("".concat(t+e,"ms exceeded"));n.timeout=e,n.code="ECONNABORTED",n.errno=r,this.timedout=!0,this.timedoutError=n,this.abort(),this.callback(n)}},H.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))};var W=V;function V(t){if(t)return function(t){for(var e in V.prototype)Object.prototype.hasOwnProperty.call(V.prototype,e)&&(t[e]=V.prototype[e]);return t}(t)}function F(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0||t instanceof Object)?e(t):null)},h.prototype.toError=function(){var t=this.req,e=t.method,r=t.url,n="cannot ".concat(e," ").concat(r," (").concat(this.status,")"),i=new Error(n);return i.status=this.status,i.method=e,i.url=r,i},o.Response=h,x(l.prototype),N(l.prototype),l.prototype.type=function(t){return this.set("Content-Type",o.types[t]||t),this},l.prototype.accept=function(t){return this.set("Accept",o.types[t]||t),this},l.prototype.auth=function(t,e,n){1===arguments.length&&(e=""),"object"===r(e)&&null!==e&&(n=e,e=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});return this._auth(t,e,n,function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")})},l.prototype.query=function(t){return"string"!=typeof t&&(t=a(t)),t&&this._query.push(t),this},l.prototype.attach=function(t,e,r){if(e){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,r||e.name)}return this},l.prototype._getFormData=function(){return this._formData||(this._formData=new n.FormData),this._formData},l.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var r=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),r(t,e)},l.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},l.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},l.prototype.ca=l.prototype.agent,l.prototype.buffer=l.prototype.ca,l.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},l.prototype.pipe=l.prototype.write,l.prototype._isHost=function(t){return t&&"object"===r(t)&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},l.prototype.end=function(t){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||i,this._finalizeQueryString(),this._end()},l.prototype._setUploadTimeout=function(){var t=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout(function(){t._timeoutError("Upload timeout of ",t._uploadTimeout,"ETIMEDOUT")},this._uploadTimeout))},l.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var t=this;this.xhr=o.getXHR();var e=this.xhr,r=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var r=e.readyState;if(r>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4===r){var n;try{n=e.status}catch(t){n=0}if(!n){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var n=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100,100===r.percent&&clearTimeout(t._uploadTimeoutTimer)),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{e.addEventListener("progress",n.bind(null,"download")),e.upload&&e.upload.addEventListener("progress",n.bind(null,"upload"))}catch(t){}e.upload&&this._setUploadTimeout();try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!=typeof r&&!this._isHost(r)){var i=this._header["content-type"],s=this._serializer||o.serialize[i?i.split(";")[0]:""];!s&&p(i)&&(s=o.serialize["application/json"]),s&&(r=s(r))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&e.setRequestHeader(a,this.header[a]);this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0===r?null:r)},o.agent=function(){return new $},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(t){$.prototype[t.toLowerCase()]=function(e,r){var n=new o.Request(t,e);return this._setDefaults(n),r&&n.end(r),n}}),$.prototype.del=$.prototype.delete,o.get=function(t,e,r){var n=o("GET",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},o.head=function(t,e,r){var n=o("HEAD",t);return"function"==typeof e&&(r=e,e=null),e&&n.query(e),r&&n.end(r),n},o.options=function(t,e,r){var n=o("OPTIONS",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},o.del=f,o.delete=f,o.patch=function(t,e,r){var n=o("PATCH",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},o.post=function(t,e,r){var n=o("POST",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n},o.put=function(t,e,r){var n=o("PUT",t);return"function"==typeof e&&(r=e,e=null),e&&n.send(e),r&&n.end(r),n}}),Q=(X.Request,[]),Z=[],K=("undefined"!=typeof Uint8Array?Uint8Array:Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),G=0,Y=K.length;G0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function et(t,e,r){for(var n,i,o=[],s=e;s>18&63]+Q[i>>12&63]+Q[i>>6&63]+Q[63&i]);return o.join("")}Z["-".charCodeAt(0)]=62,Z["_".charCodeAt(0)]=63;var rt=function(t){for(var e,r=t.length,n=r%3,i=[],o=0,s=r-n;os?s:o+16383));return 1===n?(e=t[r-1],i.push(Q[e>>2]+Q[e>10]+Q[e>>4&63]+Q[e=65&&e=48&&e=48&&e=65&&e0&&(t=t.retry(this._timesToRetryFailedRequests)),e.noHeaders)return t;var r=this.headers;t=t.set("Content-Type","application/json");for(var n=Object.keys(this.headers),i=0;i0&&t.warning("Following parameters are not allowed on the `/authorize` endpoint: ["+r.join(",")+"]"),e},Pt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Mt(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}var Lt=Mt(function(t,e){t.exports=function(){function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},r=0,n=void 0,i=void 0,o=function(t,e){l[r]=t,l[r+1]=e,2===(r+=2)&&(i?i(f):v())},s="undefined"!=typeof window?window:void 0,a=s||{},u=a.MutationObserver||a.WebKitMutationObserver,c="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var t=setTimeout;return function(){return t(f,1)}}var l=new Array(1e3);function f(){for(var t=0;t>>2]|=(r[o>>>2]>>>24-o%4*8&255)>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,r=this.sigBytes;e[r>>>2]&=4294967295>16)&n)>16)&n)&n;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n>>3]|=parseInt(t.substr(n,2),16)>>2]>>>24-i%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n>>2]|=(255&t.charCodeAt(n))>>7)^(d>>18)^d>>>3)+c[f-7]+((y>>17)^(y>>19)^y>>>10)+c[f-16]}var m=n&i^n&o^i&o,g=l+((a>>6)^(a>>11)^(a>>25))+(a&p^~a&h)+u[f]+c[f];l=h,h=p,p=a,a=s+g|0,s=o,o=i,i=n,n=g+(((n>>2)^(n>>13)^(n>>22))+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+a|0,r[5]=r[5]+p|0,r[6]=r[6]+h|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128>>9>>9>>2]>>>24-o%4*8&255)>>2]>>>24-(o+1)%4*8&255)>>2]>>>24-(o+2)%4*8&255,a=0;a>>6*(3-a)&63));var u=n.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(t){var e=t.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o>>6-s%4*2;i[o>>>2]|=(a|u)>15;--o>=0;){var u=32767&this[t],c=this[t++]>>15,p=a*u+c*s;i=((u=s*u+((32767&p)>>30)+(p>>>15)+a*c+(i>>>30),r[n++]=1073741823&u}return i},e=30):i&&"Netscape"!=navigator.appName?(r.prototype.am=function(t,e,r,n,i,o){for(;--o>=0;){var s=e*this[t++]+r[n]+i;i=Math.floor(s/67108864),r[n++]=67108863&s}return i},e=26):(r.prototype.am=function(t,e,r,n,i,o){for(var s=16383&e,a=e>>14;--o>=0;){var u=16383&this[t],c=this[t++]>>14,p=a*u+c*s;i=((u=s*u+((16383&p)>28)+(p>>14)+a*c,r[n++]=268435455&u}return i},e=28),r.prototype.DB=e,r.prototype.DM=(1>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function l(t){this.m=t}function f(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function b(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function w(){}function _(t){return t}function T(t){this.r2=n(),this.q3=n(),r.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}l.prototype.convert=function(t){return t.s=0?t.mod(this.m):t},l.prototype.revert=function(t){return t},l.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},l.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},l.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},f.prototype.convert=function(t){var e=n();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s0&&this.m.subTo(e,e),e},f.prototype.revert=function(t){var e=n();return t.copyTo(e),this.reduce(e),e},f.prototype.reduce=function(t){for(;t.t>15)*this.mpl&this.um)=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},f.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},f.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},r.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},r.prototype.fromInt=function(t){this.t=1,this.s=t0?this[0]=t:t=0;){var a=8==n?255&t[i]:c(t,i);athis.DB?(this[this.t-1]|=(a&(1>this.DB-s):this[this.t-1]|=a=this.DB&&(s-=this.DB))}8==n&&0!=(128&t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(10&&this[this.t-1]==t;)--this.t},r.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},r.prototype.drShiftTo=function(t,e){for(var r=t;r=0;--r)e[r+s+1]=this[r]>>i|a,a=(this[r]&o)=0;--r)e[r]=0;e[s]=a,e.t=this.t+s+1,e.s=this.s,e.clamp()},r.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,i=this.DB-n,o=(1>n;for(var s=r+1;s>n;n>0&&(e[this.t-r-1]|=(this.s&o)>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=t.s}e.s=n0&&(e[r++]=n),e.t=r,e.clamp()},r.prototype.multiplyTo=function(t,e){var n=this.abs(),i=t.abs(),o=n.t;for(e.t=o+i.t;--o>=0;)e[o]=0;for(o=0;o=0;)t[r]=0;for(r=0;r=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},r.prototype.divRemTo=function(t,e,i){var o=t.abs();if(!(o.t0?(o.lShiftTo(p,a),s.lShiftTo(p,i)):(o.copyTo(a),s.copyTo(i));var l=a.t,f=a[l-1];if(0!=f){var d=f*(11?a[l-2]>>this.F2:0),y=this.FV/d,m=(1=0&&(i[i.t++]=1,i.subTo(w,i)),r.ONE.dlShiftTo(l,w),w.subTo(a,a);a.t=0;){var _=i[--v]==f?this.DM:Math.floor(i[v]*y+(i[v-1]+g)*m);if((i[v]+=a.am(0,_,i,b,0,l))0&&i.rShiftTo(p,i),u0?this.DV-e:-e},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(t,e){if(t>4294967295||t=0;)if(e.sqrTo(i,o),(t&10)e.mulTo(o,s,i);else{var u=i;i=o,o=u}return e.revert(i)},r.prototype.toString=function(t){if(this.s0)for(a>a)>0&&(i=!0,o=u(r));s>=0;)a>(a+=this.DB-e)):(r=this[s]>>(a-=e)&n,a0&&(i=!0),i&&(o+=u(r));return i?o:"0"},r.prototype.negate=function(){var t=n();return r.ZERO.subTo(this,t),t},r.prototype.abs=function(){return this.s=0;)if(0!=(e=this[r]-t[r]))return e;return 0},r.prototype.bitLength=function(){return this.t0&&t.subTo(e,e),e},r.prototype.modPowInt=function(t,e){var r;return r=t2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)=0;)t.subTo(this.m,t)},T.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},T.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var O,k,S,A=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],C=(1>8&255,k[S++]^=t>>16&255,k[S++]^=t>>24&255,S>=U&&(S-=U)}if(r.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},r.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t36)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),i=p(r),o=n(),s=n(),a="";for(this.divRemTo(i,o,s);o.signum()>0;)a=(r+s.intValue()).toString(t).substr(1)+a,o.divRemTo(i,o,s);return s.intValue().toString(t)+a},r.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var n=this.chunkSize(e),i=Math.pow(e,n),o=!1,s=0,a=0,u=0;u=n&&(this.dMultiply(i),this.dAddOffset(a,0),s=0,a=0))}s>0&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(a,0)),o&&r.ZERO.subTo(this,this)},r.prototype.fromNumber=function(t,e,n){if("number"==typeof e)if(tt&&this.subTo(r.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=1+(t>>3),e.nextBytes(i),o>0?i[0]&=(1>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n+=t.s}e.s=n0?e[r++]=n:n=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},r.prototype.multiplyLowerTo=function(t,e,r){var n,i=Math.min(this.t+t.t,e);for(r.s=0,r.t=i;i>0;)r[--i]=0;for(n=r.t-this.t;i=0;)r[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)r=this[0]%t;else for(var n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},r.prototype.millerRabin=function(t){var e=this.subtract(r.ONE),i=e.getLowestSetBit();if(i>1)>A.length&&(t=A.length);for(var s=n(),a=0;a>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]>16},r.prototype.signum=function(){return this.s0)for(n>n)!=(this.s&this.DM)>>n&&(e[i++]=r|this.s=0;)n>(n+=this.DB-8)):(r=this[t]>>(n-=8)&255,n0||r!=this.s)&&(e[i++]=r);return e},r.prototype.equals=function(t){return 0==this.compareTo(t)},r.prototype.min=function(t){return this.compareTo(t)0?this:t},r.prototype.and=function(t){var e=n();return this.bitwiseTo(t,d,e),e},r.prototype.or=function(t){var e=n();return this.bitwiseTo(t,y,e),e},r.prototype.xor=function(t){var e=n();return this.bitwiseTo(t,m,e),e},r.prototype.andNot=function(t){var e=n();return this.bitwiseTo(t,g,e),e},r.prototype.not=function(){for(var t=n(),e=0;e=this.t?0!=this.s:0!=(this[e]&11){var y=n();for(i.sqrTo(a[1],y);u=0;){for(o>=c?m=t[v]>>o-c&d:(m=(t[v]&(10&&(m|=t[v-1]>>this.DB+o-c)),u=r;0==(1&m);)m>>=1,--u;if((o-=u)1;)i.sqrTo(s,w),i.sqrTo(w,s),u-=2;u>0?i.sqrTo(s,w):(g=s,s=w,w=g),i.mulTo(w,a[m],s)}for(;v>=0&&0==(t[v]&1=0?(n.subTo(i,n),e&&o.subTo(a,o),s.subTo(u,s)):(i.subTo(n,i),e&&a.subTo(o,a),u.subTo(s,u))}return 0!=i.compareTo(r.ONE)?r.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()0&&(e.rShiftTo(o,e),r.rShiftTo(o,r));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},r.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]>>8,k[S++]=255&x;S=0,D()}function I(){if(null==O){for(D(),(O=new R).init(k),S=0;S0&&e.length>0))throw new Error("Invalid key data");this.n=new Wt.BigInteger(t,16),this.e=parseInt(e,16)}Jt.prototype.verify=function(t,e){e=e.replace(/[^0-9a-f]|[\s\n]]/gi,"");var r=new Wt.BigInteger(e,16);if(r.bitLength()>this.n.bitLength())throw new Error("Signature does not match with the key modulus.");var n=function(t){for(var e in Vt){var r=Vt[e],n=r.length;if(t.substring(0,n)===r)return{alg:e,hash:t.substring(n)}}return[]}(r.modPowInt(this.e,this.n).toString(16).replace(/^1f+00/,""));if(0===n.length)return!1;if(!Ft.hasOwnProperty(n.alg))throw new Error("Hashing algorithm is not supported.");var i=Ft[n.alg](t).toString();return n.hash===i};for(var $t=[],Xt=[],Qt="undefined"!=typeof Uint8Array?Uint8Array:Array,Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Kt=0,Gt=Zt.length;Kt0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}(t),i=n[0],o=n[1],s=new Qt(3*(i+o)/4-o),a=0,u=o>0?i-4:i;for(r=0;r>16&255,s[a++]=e>>8&255,s[a++]=255&e;return 2===o&&(e=Xt[t.charCodeAt(r)]>4,s[a++]=255&e),1===o&&(e=Xt[t.charCodeAt(r)]>2,s[a++]=e>>8&255,s[a++]=255&e),s};function te(t){var e=t.length%4;return 0===e?t:t+new Array(4-e+1).join("=")}function ee(t){return t=te(t).replace(/\-/g,"+").replace(/_/g,"/"),decodeURIComponent(function(t){for(var e="",r=0;r1){var r=t.shift();t[0]=r+t[0]}t[0]=t[0].match(/^file:\/\/\//)?t[0].replace(/^([^/:]+):\/*/,"$1:///"):t[0].replace(/^([^/:]+):\/*/,"$1://");for(var n=0;n0&&(i=i.replace(/^[\/]+/,"")),i=i.replace(/[\/]+$/,n0?"?":"")+s.join("&")}("object"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},t.exports?t.exports=r():e.urljoin=r()});function ie(t){if(t.ok)return t.json();var e=new Error(t.statusText);return e.response=t,Promise.reject(e)}function oe(t){this.name="ConfigurationError",this.message=t||""}function se(t){this.name="TokenValidationError",this.message=t||""}oe.prototype=Error.prototype,se.prototype=Error.prototype;var ae=function(){function t(){}var e=t.prototype;return e.get=function(){return null},e.has=function(){return null},e.set=function(){return null},t}();Lt.polyfill();var ue=function(t){return"number"==typeof t},ce=function(){return new Date};function pe(t){var e=t||{};if(this.jwksCache=e.jwksCache||new ae,this.expectedAlg=e.expectedAlg||"RS256",this.issuer=e.issuer,this.audience=e.audience,this.leeway=0===e.leeway?0:e.leeway||60,this.jwksURI=e.jwksURI,this.maxAge=e.maxAge,this.__clock="function"==typeof e.__clock?e.__clock:ce,this.leeway300)throw new oe("The leeway should be positive and lower than five minutes.");if("RS256"!==this.expectedAlg)throw new oe('Signature algorithm of "'+this.expectedAlg+'" is not supported. Expected the ID token to be signed with "RS256".')}function he(t,e){this.plugins=e;for(var r=0;r1){if(!d||"string"!=typeof d)return r(new se("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values",!1));if(d!==v.audience)return r(new se('Authorized Party (azp) claim mismatch in the ID token; expected "'+v.audience+'", found "'+d+'"',!1))}if(!h||!ue(h))return r(new se("Expiration Time (exp) claim must be a number present in the ID token",!1));if(!f||!ue(f))return r(new se("Issued At (iat) claim must be a number present in the ID token"));var a=h+v.leeway,b=new Date(0);if(b.setUTCSeconds(a),g>b)return r(new se('Expiration Time (exp) claim error in the ID token; current time "'+g+'" is after expiration time "'+b+'"',!1));if(l&&ue(l)){var w=l-v.leeway,_=new Date(0);if(_.setUTCSeconds(w),gO)return r(new se('Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time "'+g+'" is after last auth time at "'+O+'"'))}return r(null,n.payload)})},pe.prototype.getRsaVerifier=function(t,e,r){var n=this,i=t+e;Promise.resolve(this.jwksCache.has(i)).then(function(r){return r?n.jwksCache.get(i):(o={jwksURI:n.jwksURI,iss:t,kid:e},("undefined"==typeof fetch?function(t,e){return e=e||{},new Promise(function(r,n){var i=new XMLHttpRequest,o=[],s=[],a={},u=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(JSON.parse(i.responseText))},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:u,headers:{keys:function(){return o},entries:function(){return s},get:function(t){return a[t.toLowerCase()]},has:function(t){return t.toLowerCase()in a}}}};for(var c in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,r){o.push(e=e.toLowerCase()),s.push([e,r]),a[e]=a[e]?a[e]+","+r:r}),r(u())},i.onerror=n,i.withCredentials="include"==e.credentials,e.headers)i.setRequestHeader(c,e.headers[c]);i.send(e.body||null)})}:fetch)(o.jwksURI||ne(o.iss,".well-known","jwks.json")).then(ie).then(function(t){var e,r,n,i=null;for(e=0;e-1&&null!==new RegExp("rv:([0-9]{2,2}[.0-9]{0,})").exec(e)&&(t=parseFloat(RegExp.$1)),t>=8}();return"undefined"!=typeof window&&window.JSON&&window.JSON.stringify&&window.JSON.parse&&window.postMessage?{open:function(i,o){if(!o)throw"missing required callback argument";var s,a;i.url||(s="missing required 'url' parameter"),i.relay_url||(s="missing required 'relay_url' parameter"),s&&setTimeout(function(){o(s)},0),i.window_name||(i.window_name=null),i.window_features&&!function(){try{var t=navigator.userAgent;return-1!=t.indexOf("Fennec/")||-1!=t.indexOf("Firefox/")&&-1!=t.indexOf("Android")}catch(t){}return!1}()||(i.window_features=void 0);var u,c=i.origin||r(i.url);if(c!==r(i.relay_url))return setTimeout(function(){o("invalid arguments: origin of url and relay_url must match")},0);n&&((a=document.createElement("iframe")).setAttribute("src",i.relay_url),a.style.display="none",a.setAttribute("name","__winchan_relay_frame"),document.body.appendChild(a),u=a.contentWindow);var p=i.popup||window.open(i.url,i.window_name,i.window_features);i.popup&&(p.location.href=i.url),u||(u=p);var h=setInterval(function(){p&&p.closed&&(f(),o&&(o("User closed the popup window"),o=null))},500),l=JSON.stringify({a:"request",d:i.params});function f(){if(a&&document.body.removeChild(a),a=void 0,h&&(h=clearInterval(h)),e(window,"message",d),e(window,"unload",f),p)try{p.close()}catch(t){u.postMessage("die",c)}p=u=void 0}function d(t){if(t.origin===c){try{var e=JSON.parse(t.data)}catch(t){if(o)return o(t);throw t}"ready"===e.a?u.postMessage(l,c):"error"===e.a?(f(),o&&(o(e.d),o=null)):"response"===e.a&&(f(),o&&(o(null,e.d),o=null))}}return t(window,"unload",f),t(window,"message",d),{originalPopup:p,close:f,focus:function(){if(p)try{p.focus()}catch(t){}}}},onOpen:function(r){var i="*",o=n?function(){for(var t=window.opener.frames,e=t.length-1;e>=0;e--)try{if(t[e].location.protocol===window.location.protocol&&t[e].location.host===window.location.host&&"__winchan_relay_frame"===t[e].name)return t[e]}catch(t){}}():window.opener;if(!o)throw"can't find relay frame";function s(t){t=JSON.stringify(t),n?o.doPost(t,i):o.postMessage(t,i)}function a(t){if("die"===t.data)try{window.close()}catch(t){}}t(n?o:window,"message",function t(n){var o;try{o=JSON.parse(n.data)}catch(t){}o&&"request"===o.a&&(e(window,"message",t),i=n.origin,r&&setTimeout(function(){r(i,o.d,function(t){r=void 0,s({a:"response",d:t})})},0))}),t(n?o:window,"message",a);try{s({a:"ready"})}catch(e){t(o,"load",function(t){s({a:"ready"})})}var u=function(){try{e(n?o:window,"message",a)}catch(t){}r&&s({a:"error",d:"client closed window"}),r=void 0;try{window.close()}catch(t){}};return t(window,"unload",u),{detach:function(){e(window,"unload",u)}}}}:{open:function(t,e,r,n){setTimeout(function(){n("unsupported browser")},0)},onOpen:function(t){setTimeout(function(){t("unsupported browser")},0)}}}();t.exports&&(t.exports=e)}),we=function(t){/^https?:\/\//.test(t)||(t=window.location.href);var e=/^(https?:\/\/[-_a-zA-Z.0-9:]+)/.exec(t);return e?e[1]:t};function _e(){this._current_popup=null}function Te(t,e){this.baseOptions=e,this.baseOptions.popupOrigin=e.popupOrigin,this.client=t.client,this.webAuth=t,this.transactionManager=new fe(this.baseOptions),this.crossOriginAuthentication=new me(t,this.baseOptions),this.warn=new St({disableWarnings:!!e._disableDeprecationWarnings})}function Oe(t){this.authenticationUrl=t.authenticationUrl,this.timeout=t.timeout||6e4,this.handler=null,this.postMessageDataType=t.postMessageDataType||!1,this.postMessageOrigin=t.postMessageOrigin||_t.getWindow().location.origin||_t.getWindow().location.protocol+"//"+_t.getWindow().location.hostname+(_t.getWindow().location.port?":"+_t.getWindow().location.port:"")}function ke(t){this.baseOptions=t,this.request=new bt(t),this.transactionManager=new fe(this.baseOptions)}function Se(t,e){this.baseOptions=e,this.client=t,this.baseOptions.universalLoginPage=!0,this.request=new bt(this.baseOptions),this.warn=new St({disableWarnings:!!e._disableDeprecationWarnings})}_e.prototype.calculatePosition=function(t){var e=t.width||500,r=t.height||600,n=_t.getWindow(),i=void 0!==n.screenX?n.screenX:n.screenLeft,o=void 0!==n.screenY?n.screenY:n.screenTop,s=void 0!==n.outerWidth?n.outerWidth:n.document.body.clientWidth,a=void 0!==n.outerHeight?n.outerHeight:n.document.body.clientHeight;return{width:e,height:r,left:t.left||i+(s-e)/2,top:t.top||o+(a-r)/2}},_e.prototype.preload=function(t){var e=this,r=_t.getWindow(),n=this.calculatePosition(t.popupOptions||{}),i=mt.merge(n).with(t.popupOptions),o=t.url||"about:blank",s=D(i,{encode:!1,delimiter:","});return this._current_popup&&!this._current_popup.closed||(this._current_popup=r.open(o,"auth0_signup_popup",s),this._current_popup.kill=function(){this.close(),e._current_popup=null}),this._current_popup},_e.prototype.load=function(t,e,r,n){var i=this,o=this.calculatePosition(r.popupOptions||{}),s=mt.merge(o).with(r.popupOptions),a=mt.merge({url:t,relay_url:e,window_features:D(s,{delimiter:",",encode:!1}),popup:this._current_popup}).with(r),u=be.open(a,function(t,e){if(!t||"SyntaxError"!==t.name)return i._current_popup=null,n(t,e)});return u.focus(),u},Te.prototype.buildPopupHandler=function(){var t=this.baseOptions.plugins.get("popup.getPopupHandler");return t?t.getPopupHandler():new _e},Te.prototype.preload=function(t){t=t||{};var e=this.buildPopupHandler();return e.preload(t),e},Te.prototype.getPopupHandler=function(t,e){return t.popupHandler?t.popupHandler:e?this.preload(t):this.buildPopupHandler()},Te.prototype.callback=function(t){var e=this,r=_t.getWindow(),n=(t=t||{}).popupOrigin||this.baseOptions.popupOrigin||_t.getOrigin();r.opener?be.onOpen(function(r,i,o){if(r!==n)return o({error:"origin_mismatch",error_description:"The popup's origin ("+r+") should match the `popupOrigin` parameter ("+n+")."});e.webAuth.parseHash(t||{},function(t,e){return o(t||e)})}):r.doPost=function(t){r.parent&&r.parent.postMessage(t,n)}},Te.prototype.authorize=function(t,e){var r,i,o={},s=this.baseOptions.plugins.get("popup.authorize"),a=mt.merge(this.baseOptions,["clientID","scope","domain","audience","tenant","responseType","redirectUri","_csrf","state","_intstate","nonce","organization","invitation"]).with(mt.blacklist(t,["popupHandler"]));return ct.check(a,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),i=n(this.baseOptions.rootUrl,"relay.html"),t.owp?a.owp=!0:(o.origin=we(a.redirectUri),i=a.redirectUri),t.popupOptions&&(o.popupOptions=mt.pick(t.popupOptions,["width","height","top","left"])),s&&(a=s.processParams(a)),(a=this.transactionManager.process(a)).scope=a.scope||"openid profile email",delete a.domain,r=this.client.buildAuthorizeUrl(a),this.getPopupHandler(t).load(r,i,o,Et(e,{keepOriginalCasing:!0}))},Te.prototype.loginWithCredentials=function(t,e){t.realm=t.realm||t.connection,t.popup=!0,t=mt.merge(this.baseOptions,["redirectUri","responseType","state","nonce"]).with(mt.blacklist(t,["popupHandler","connection"])),t=this.transactionManager.process(t),this.crossOriginAuthentication.login(t,e)},Te.prototype.passwordlessVerify=function(t,e){var r=this;return this.client.passwordless.verify(mt.blacklist(t,["popupHandler"]),function(n){if(n)return e(n);t.username=t.phoneNumber||t.email,t.password=t.verificationCode,delete t.email,delete t.phoneNumber,delete t.verificationCode,delete t.type,r.client.loginWithResourceOwner(t,e)})},Te.prototype.signupAndLogin=function(t,e){var r=this;return this.client.dbConnection.signup(t,function(n){if(n)return e(n);r.loginWithCredentials(t,e)})},Oe.create=function(t){return new Oe(t)},Oe.prototype.login=function(t,e){this.handler=new de({auth0:this.auth0,url:this.authenticationUrl,eventListenerType:t?"message":"load",callback:this.getCallbackHandler(e,t),timeout:this.timeout,eventValidator:this.getEventValidator(),timeoutCallback:function(){e(null,"#error=timeout&error_description=Timeout+during+authentication+renew.")},usePostMessage:t||!1}),this.handler.init()},Oe.prototype.getEventValidator=function(){var t=this;return{isValid:function(e){switch(e.event.type){case"message":return e.event.origin===t.postMessageOrigin&&e.event.source===t.handler.iframe.contentWindow&&(!1===t.postMessageDataType||e.event.data.type&&e.event.data.type===t.postMessageDataType);case"load":if("about:"===e.sourceObject.contentWindow.location.protocol)return!1;default:return!0}}}},Oe.prototype.getCallbackHandler=function(t,e){return function(r){var n;n=e?"object"==typeof r.event.data&&r.event.data.hash?r.event.data.hash:r.event.data:r.sourceObject.contentWindow.location.hash,t(null,n)}},ke.prototype.login=function(t,e){var r,i;return r=n(this.baseOptions.rootUrl,"usernamepassword","login"),t.username=t.username||t.email,t=mt.blacklist(t,["email","onRedirecting"]),i=mt.merge(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience"]).with(t),i=this.transactionManager.process(i),i=mt.toSnakeCase(i,["auth0Client"]),this.request.post(r).send(i).end(Et(e))},ke.prototype.callback=function(t){var e,r=_t.getDocument();(e=r.createElement("div")).innerHTML=t,r.body.appendChild(e).children[0].submit()},Se.prototype.login=function(t,e){if(_t.getWindow().location.host!==this.baseOptions.domain)throw new Error("This method is meant to be used only inside the Universal Login Page.");var r,n=mt.merge(this.baseOptions,["clientID","redirectUri","tenant","responseType","responseMode","scope","audience","_csrf","state","_intstate","nonce"]).with(t);return ct.check(n,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(r=new ke(this.baseOptions)).login(n,function(n,i){if(n)return e(n);function o(){r.callback(i)}if("function"==typeof t.onRedirecting)return t.onRedirecting(function(){o()});o()})},Se.prototype.signupAndLogin=function(t,e){var r=this;return r.client.client.dbConnection.signup(t,function(n){return n?e(n):r.login(t,e)})},Se.prototype.getSSOData=function(t,e){var r,i="";return"function"==typeof t&&(e=t,t=!1),ct.check(t,{type:"boolean",message:"withActiveDirectories parameter is not valid"}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),t&&(i="?"+D({ldaps:1,client_id:this.baseOptions.clientID})),r=n(this.baseOptions.rootUrl,"user","ssodata",i),this.request.get(r,{noHeaders:!0}).withCredentials().end(Et(e))};var Ae=function(){},Ce={lang:"en",templates:{auth0:function(t){var e="code"===t.type?"Enter the code shown above":"Solve the formula shown above";return'

\n

\n

\n

\n'},recaptcha_v2:function(){return''},error:function(){return'

Error getting the bot detection challenge. Please contact the system administrator.

'}}};var De=function(t,e,r,n){function i(n){n=n||Ae,t.getChallenge(function(t,o){return t?(e.innerHTML=r.templates.error(t),n(t)):o.required?(e.style.display="","auth0"===o.provider?function(t,e,r,n){t.innerHTML=e.templates[r.provider](r),t.querySelector(".captcha-reload").addEventListener("click",function(t){t.preventDefault(),n()})}(e,r,o,i):"recaptcha_v2"===o.provider&&function(t,e,r){var n=t.hasAttribute("data-wid")&&t.getAttribute("data-wid");function i(e){t.querySelector('input[name="captcha"]').value=e||""}if(n)return i(),void window.grecaptcha.reset(n);t.innerHTML=e.templates[r.provider](r);var o=t.querySelector(".recaptcha");!function(t,e,r){var n="recaptchaCallback_"+Math.floor(1000001*Math.random());window[n]=function(){delete window[n],r()};var i=window.document.createElement("script");i.src="https://www.google.com/recaptcha/api.js?hl="+e+"&onload="+n,i.async=!0,window.document.body.appendChild(i)}(0,e.lang,function(){n=window.grecaptcha.render(o,{callback:i,"expired-callback":function(){i()},"error-callback":function(){i()},sitekey:r.siteKey}),t.setAttribute("data-wid",n)})}(e,r,o),void n()):(e.style.display="none",void(e.innerHTML=""))})}return r=mt.merge(Ce).with(r||{}),i(n),{reload:i,getValue:function(){var t=e.querySelector('input[name="captcha"]');if(t)return t.value}}};function xe(){return new Date}function je(t){ct.check(t,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},popupOrigin:{optional:!0,type:"string",message:"popupOrigin is not valid"},leeway:{optional:!0,type:"number",message:"leeway is not valid"},plugins:{optional:!0,type:"array",message:"plugins is not valid"},maxAge:{optional:!0,type:"number",message:"maxAge is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"},_timesToRetryFailedRequests:{optional:!0,type:"number",message:"_timesToRetryFailedRequests option is not valid"}}),t.overrides&&ct.check(t.overrides,{type:"object",message:"overrides option is not valid"},{__tenant:{optional:!0,type:"string",message:"__tenant option is required"},__token_issuer:{optional:!0,type:"string",message:"__token_issuer option is required"},__jwks_uri:{optional:!0,type:"string",message:"__jwks_uri is required"}}),this.baseOptions=t,this.baseOptions.plugins=new he(this,this.baseOptions.plugins||[]),this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions._timesToRetryFailedRequests=t._timesToRetryFailedRequests?parseInt(t._timesToRetryFailedRequests,0):0,this.baseOptions.tenant=this.baseOptions.overrides&&this.baseOptions.overrides.__tenant||this.baseOptions.domain.split(".")[0],this.baseOptions.token_issuer=this.baseOptions.overrides&&this.baseOptions.overrides.__token_issuer||"https://"+this.baseOptions.domain+"/",this.baseOptions.jwksURI=this.baseOptions.overrides&&this.baseOptions.overrides.__jwks_uri,this.transactionManager=new fe(this.baseOptions),this.client=new qe(this.baseOptions),this.redirect=new ve(this,this.baseOptions),this.popup=new Te(this,this.baseOptions),this.crossOriginAuthentication=new me(this,this.baseOptions),this.webMessageHandler=new ye(this),this._universalLogin=new Se(this,this.baseOptions),this.ssodataStorage=new Dt(this.baseOptions)}function Ee(t,e){this.baseOptions=e,this.request=t}function Ie(t,e){this.baseOptions=e,this.request=t}function qe(t,e){2===arguments.length?this.auth0=t:e=t,ct.check(e,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=e,this.baseOptions._sendTelemetry=!1!==this.baseOptions._sendTelemetry||this.baseOptions._sendTelemetry,this.baseOptions.rootUrl=this.baseOptions.domain&&0===this.baseOptions.domain.toLowerCase().indexOf("http")?this.baseOptions.domain:"https://"+this.baseOptions.domain,this.request=new bt(this.baseOptions),this.passwordless=new Ee(this.request,this.baseOptions),this.dbConnection=new Ie(this.request,this.baseOptions),this.warn=new St({disableWarnings:!!e._disableDeprecationWarnings}),this.ssodataStorage=new Dt(this.baseOptions)}function Re(t){ct.check(t,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},token:{type:"string",message:"token option is required"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=t,this.baseOptions.headers={Authorization:"Bearer "+this.baseOptions.token},this.request=new bt(this.baseOptions),this.baseOptions.rootUrl=n("https://"+this.baseOptions.domain,"api","v2")}je.prototype.parseHash=function(t,e){var r,n;e||"function"!=typeof t?t=t||{}:(e=t,t={});var i=_t.getWindow(),o=void 0===t.hash?i.location.hash:t.hash;if((r=function(t,e){var r=function(t){if(!t)return k;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?k.charset:t.charset;return{allowDots:void 0===t.allowDots?k.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:k.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:k.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:k.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:k.comma,decoder:"function"==typeof t.decoder?t.decoder:k.decoder,delimiter:"string"==typeof t.delimiter||u.isRegExp(t.delimiter)?t.delimiter:k.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:k.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:k.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:k.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:k.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:k.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var n="string"==typeof t?function(t,e){var r,n={},i=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=e.parameterLimit===1/0?void 0:e.parameterLimit,s=i.split(e.delimiter,o),a=-1,c=e.charset;if(e.charsetSentinel)for(r=0;r-1&&(h=O(h)?[h]:h),T.call(n,p)?n[p]=u.combine(n[p],h):n[p]=h}return n}(t,r):t,i=r.plainObjects?Object.create(null):{},o=Object.keys(n),s=0;s0&&-1!==s.indexOf("token")&&!r.hasOwnProperty("access_token")?e(jt.buildResponse("invalid_hash","response_type contains `token`, but the parsed hash does not contain an `access_token` property")):s.length>0&&-1!==s.indexOf("id_token")&&!r.hasOwnProperty("id_token")?e(jt.buildResponse("invalid_hash","response_type contains `id_token`, but the parsed hash does not contain an `id_token` property")):this.validateAuthenticationResponse(t,r,e)},je.prototype.validateAuthenticationResponse=function(t,e,r){var n=this;t.__enableIdPInitiatedLogin=t.__enableIdPInitiatedLogin||t.__enableImpersonation;var i=e.state,o=this.transactionManager.getStoredTransaction(i),s=t.state||o&&o.state||null,a=s===i;if((i||s||!t.__enableIdPInitiatedLogin)&&!a)return r({error:"invalid_token",errorDescription:"`state` does not match."});var u=t.nonce||o&&o.nonce||null,c=o&&o.organization,p=t.state||o&&o.appState||null,h=function(t,i){return t?r(t):(o&&o.lastUsedConnection&&(i&&(s=i.sub),n.ssodataStorage.set(o.lastUsedConnection,s)),r(null,function(t,e,r){return{accessToken:t.access_token||null,idToken:t.id_token||null,idTokenPayload:r||null,appState:e||null,refreshToken:t.refresh_token||null,state:t.state||null,expiresIn:t.expires_in?parseInt(t.expires_in,10):null,tokenType:t.token_type||null,scope:t.scope||null}}(e,p,i)));var s};return e.id_token?this.validateToken(e.id_token,u,function(t,r){if(!t){if(c){if(!r.org_id)return h(jt.invalidToken("Organization Id (org_id) claim must be a string present in the ID token"));if(r.org_id!==c)return h(jt.invalidToken('Organization Id (org_id) claim value mismatch in the ID token; expected "'+c+'", found "'+r.org_id+'"'))}return e.access_token&&r.at_hash?(new pe).validateAccessToken(e.access_token,"RS256",r.at_hash,function(t){return t?h(jt.invalidToken(t.message)):h(null,r)}):h(null,r)}if("invalid_token"!==t.error||t.errorDescription&&t.errorDescription.indexOf("Nonce (nonce) claim value mismatch in the ID token")>-1)return h(t);var i=(new pe).decode(e.id_token);return"HS256"!==i.header.alg?h(t):(i.payload.nonce||null)!==u?h({error:"invalid_token",errorDescription:'Nonce (nonce) claim value mismatch in the ID token; expected "'+u+'", found "'+i.payload.nonce+'"'}):e.access_token?n.client.userInfo(e.access_token,function(t,e){return t?h(t):h(null,e)}):h({error:"invalid_token",description:"The id_token cannot be validated because it was signed with the HS256 algorithm and public clients (like a browser) can’t store secrets. Please read the associated doc for possible ways to fix this. Read more: https://auth0.com/docs/errors/libraries/auth0-js/invalid-token#parsing-an-hs256-signed-id-token-without-an-access-token"})}):h(null,null)},je.prototype.validateToken=function(t,e,r){new pe({issuer:this.baseOptions.token_issuer,jwksURI:this.baseOptions.jwksURI,audience:this.baseOptions.clientID,leeway:this.baseOptions.leeway||60,maxAge:this.baseOptions.maxAge,__clock:this.baseOptions.__clock||xe}).verify(t,e,function(t,e){if(t)return r(jt.invalidToken(t.message));r(null,e)})},je.prototype.renewAuth=function(t,e){var r=!!t.usePostMessage,n=t.postMessageDataType||!1,i=t.postMessageOrigin||_t.getWindow().origin,o=t.timeout,s=this,a=mt.merge(this.baseOptions,["clientID","redirectUri","responseType","scope","audience","_csrf","state","_intstate","nonce"]).with(t);a.responseType=a.responseType||"token",a.responseMode=a.responseMode||"fragment",a=this.transactionManager.process(a),ct.check(a,{type:"object",message:"options parameter is not valid"}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),a.prompt="none",a=mt.blacklist(a,["usePostMessage","tenant","postMessageDataType","postMessageOrigin"]),Oe.create({authenticationUrl:this.client.buildAuthorizeUrl(a),postMessageDataType:n,postMessageOrigin:i,timeout:o}).login(r,function(t,r){if("object"==typeof r)return e(t,r);s.parseHash({hash:r},e)})},je.prototype.checkSession=function(t,e){var r=mt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(t);return"code"===r.responseType?e({error:"error",error_description:"responseType can't be `code`"}):(t.nonce||(r=this.transactionManager.process(r)),r.redirectUri?(ct.check(r,{type:"object",message:"options parameter is not valid"}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=mt.blacklist(r,["usePostMessage","tenant","postMessageDataType"]),void this.webMessageHandler.run(r,Et(e,{forceLegacyError:!0,ignoreCasing:!0}))):e({error:"error",error_description:"redirectUri can't be empty"}))},je.prototype.changePassword=function(t,e){return this.client.dbConnection.changePassword(t,e)},je.prototype.passwordlessStart=function(t,e){var r=mt.merge(this.baseOptions,["responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce"]).with(t.authParams);return t.authParams=this.transactionManager.process(r),this.client.passwordless.start(t,e)},je.prototype.signup=function(t,e){return this.client.dbConnection.signup(t,e)},je.prototype.authorize=function(t){var e=mt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","organization","invitation"]).with(t);ct.check(e,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),(e=this.transactionManager.process(e)).scope=e.scope||"openid profile email",_t.redirect(this.client.buildAuthorizeUrl(e))},je.prototype.signupAndAuthorize=function(t,e){var r=this;return this.client.dbConnection.signup(mt.blacklist(t,["popupHandler"]),function(n){if(n)return e(n);t.realm=t.connection,t.username||(t.username=t.email),r.client.login(t,e)})},je.prototype.login=function(t,e){var r=mt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting","organization","invitation"]).with(t);r=this.transactionManager.process(r),_t.getWindow().location.host===this.baseOptions.domain?(r.connection=r.realm,delete r.realm,this._universalLogin.login(r,e)):this.crossOriginAuthentication.login(r,e)},je.prototype.passwordlessLogin=function(t,e){var r=mt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(t);if(r=this.transactionManager.process(r),_t.getWindow().location.host===this.baseOptions.domain)this.passwordlessVerify(r,e);else{var n=mt.extend({credentialType:"http://auth0.com/oauth/grant-type/passwordless/otp",realm:r.connection,username:r.email||r.phoneNumber,otp:r.verificationCode},mt.blacklist(r,["connection","email","phoneNumber","verificationCode"]));this.crossOriginAuthentication.login(n,e)}},je.prototype.crossOriginAuthenticationCallback=function(){this.crossOriginVerification()},je.prototype.crossOriginVerification=function(){this.crossOriginAuthentication.callback()},je.prototype.logout=function(t){_t.redirect(this.client.buildLogoutUrl(t))},je.prototype.passwordlessVerify=function(t,e){var r=this,n=mt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","nonce","onRedirecting"]).with(t);return ct.check(n,{type:"object",message:"options parameter is not valid"},{responseType:{type:"string",message:"responseType option is required"}}),n=this.transactionManager.process(n),this.client.passwordless.verify(n,function(i){if(i)return e(i);function o(){_t.redirect(r.client.passwordless.buildVerifyUrl(n))}if("function"==typeof t.onRedirecting)return t.onRedirecting(function(){o()});o()})},je.prototype.renderCaptcha=function(t,e,r){return De(this.client,t,e,r)},Ee.prototype.buildVerifyUrl=function(t){var e,r;return ct.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(t){return!t.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(t){return!t.phoneNumber}}}),e=mt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience","_csrf","state","_intstate","protocol","nonce"]).with(t),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e=mt.toSnakeCase(e,["auth0Client"]),r=D(e),n(this.baseOptions.rootUrl,"passwordless","verify_redirect","?"+r)},Ee.prototype.start=function(t,e){var r,i;return ct.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},send:{type:"string",message:"send option is required",values:["link","code"],value_message:"send is not valid ([link, code])"},phoneNumber:{optional:!0,type:"string",message:"phoneNumber option is required",condition:function(t){return"code"===t.send||!t.email}},email:{optional:!0,type:"string",message:"email option is required",condition:function(t){return"link"===t.send||!t.phoneNumber}},authParams:{optional:!0,type:"object",message:"authParams option is required"}}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"passwordless","start"),(i=mt.merge(this.baseOptions,["clientID","responseType","redirectUri","scope"]).with(t)).scope&&(i.authParams=i.authParams||{},i.authParams.scope=i.authParams.scope||i.scope),i.redirectUri&&(i.authParams=i.authParams||{},i.authParams.redirect_uri=i.authParams.redirectUri||i.redirectUri),i.responseType&&(i.authParams=i.authParams||{},i.authParams.response_type=i.authParams.responseType||i.responseType),delete i.redirectUri,delete i.responseType,delete i.scope,i=mt.toSnakeCase(i,["auth0Client","authParams"]),this.request.post(r).send(i).end(Et(e))},Ee.prototype.verify=function(t,e){var r,i;return ct.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(t){return!t.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(t){return!t.phoneNumber}}}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),i=mt.pick(t,["connection","verificationCode","phoneNumber","email","auth0Client"]),i=mt.toSnakeCase(i,["auth0Client"]),r=n(this.baseOptions.rootUrl,"passwordless","verify"),this.request.post(r).send(i).end(Et(e))},Ie.prototype.signup=function(t,e){var r,i,o;return ct.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"},password:{type:"string",message:"password option is required"}}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"dbconnections","signup"),o=(i=mt.merge(this.baseOptions,["clientID","state"]).with(t)).user_metadata||i.userMetadata,i=mt.blacklist(i,["scope","userMetadata","user_metadata"]),i=mt.toSnakeCase(i,["auth0Client"]),o&&(i.user_metadata=o),this.request.post(r).send(i).end(Et(e))},Ie.prototype.changePassword=function(t,e){var r,i;return ct.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"}}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"dbconnections","change_password"),i=mt.merge(this.baseOptions,["clientID"]).with(t,["email","connection"]),i=mt.toSnakeCase(i,["auth0Client"]),this.request.post(r).send(i).end(Et(e))},qe.prototype.buildAuthorizeUrl=function(t){var e,r;return ct.check(t,{type:"object",message:"options parameter is not valid"}),e=mt.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience"]).with(t),ct.check(e,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},redirectUri:{optional:!0,type:"string",message:"redirectUri option is required"},responseType:{type:"string",message:"responseType option is required"},nonce:{type:"string",message:"nonce option is required",condition:function(t){return-1===t.responseType.indexOf("code")&&-1!==t.responseType.indexOf("id_token")}},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e.connection_scope&&ct.isArray(e.connection_scope)&&(e.connection_scope=e.connection_scope.join(",")),e=mt.blacklist(e,["username","popupOptions","domain","tenant","timeout","appState"]),e=mt.toSnakeCase(e,["auth0Client"]),e=Ut(this.warn,e),r=D(e),n(this.baseOptions.rootUrl,"authorize","?"+r)},qe.prototype.buildLogoutUrl=function(t){var e,r;return ct.check(t,{optional:!0,type:"object",message:"options parameter is not valid"}),e=mt.merge(this.baseOptions,["clientID"]).with(t||{}),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e=mt.toSnakeCase(e,["auth0Client","returnTo"]),r=D(mt.blacklist(e,["federated"])),t&&void 0!==t.federated&&!1!==t.federated&&"false"!==t.federated&&(r+="&federated"),n(this.baseOptions.rootUrl,"v2","logout","?"+r)},qe.prototype.loginWithDefaultDirectory=function(t,e){return ct.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),t.grantType="password",this.oauthToken(t,e)},qe.prototype.login=function(t,e){return ct.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},realm:{type:"string",message:"realm option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),t.grantType="http://auth0.com/oauth/grant-type/password-realm",this.oauthToken(t,e)},qe.prototype.oauthToken=function(t,e){var r,i;return ct.check(t,{type:"object",message:"options parameter is not valid"}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"oauth","token"),i=mt.merge(this.baseOptions,["clientID","scope","audience"]).with(t),ct.check(i,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},grantType:{type:"string",message:"grantType option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),i=mt.toSnakeCase(i,["auth0Client"]),i=Rt(this.warn,i),this.request.post(r).send(i).end(Et(e))},qe.prototype.loginWithResourceOwner=function(t,e){var r,i;return ct.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},connection:{type:"string",message:"connection option is required"},scope:{optional:!0,type:"string",message:"scope option is required"}}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"oauth","ro"),i=mt.merge(this.baseOptions,["clientID","scope"]).with(t,["username","password","scope","connection","device"]),(i=mt.toSnakeCase(i,["auth0Client"])).grant_type=i.grant_type||"password",this.request.post(r).send(i).end(Et(e))},qe.prototype.getSSOData=function(t,e){if(this.auth0||(this.auth0=new je(this.baseOptions)),_t.getWindow().location.host===this.baseOptions.domain)return this.auth0._universalLogin.getSSOData(t,e);"function"==typeof t&&(e=t),ct.check(e,{type:"function",message:"cb parameter is not valid"});var r=this.baseOptions.clientID,n=this.ssodataStorage.get()||{};this.auth0.checkSession({responseType:"token id_token",scope:"openid profile email",connection:n.lastUsedConnection,timeout:5e3},function(t,i){return t?"login_required"===t.error?e(null,{sso:!1}):("consent_required"===t.error&&(t.error_description="Consent required. When using `getSSOData`, the user has to be authenticated with the following scope: `openid profile email`."),e(t,{sso:!1})):n.lastUsedSub&&n.lastUsedSub!==i.idTokenPayload.sub?e(t,{sso:!1}):e(null,{lastUsedConnection:{name:n.lastUsedConnection},lastUsedUserID:i.idTokenPayload.sub,lastUsedUsername:i.idTokenPayload.email||i.idTokenPayload.name,lastUsedClientID:r,sessionClients:[r],sso:!0})})},qe.prototype.userInfo=function(t,e){var r;return ct.check(t,{type:"string",message:"accessToken parameter is not valid"}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"userinfo"),this.request.get(r).set("Authorization","Bearer "+t).end(Et(e,{ignoreCasing:!0}))},qe.prototype.getChallenge=function(t){if(ct.check(t,{type:"function",message:"cb parameter is not valid"}),!this.baseOptions.state)return t();var e=n(this.baseOptions.rootUrl,"usernamepassword","challenge");return this.request.post(e).send({state:this.baseOptions.state}).end(Et(t,{ignoreCasing:!0}))},qe.prototype.delegation=function(t,e){var r,i;return ct.check(t,{type:"object",message:"options parameter is not valid"},{grant_type:{type:"string",message:"grant_type option is required"}}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"delegation"),i=mt.merge(this.baseOptions,["clientID"]).with(t),i=mt.toSnakeCase(i,["auth0Client"]),this.request.post(r).send(i).end(Et(e))},qe.prototype.getUserCountry=function(t){var e;return ct.check(t,{type:"function",message:"cb parameter is not valid"}),e=n(this.baseOptions.rootUrl,"user","geoloc","country"),this.request.get(e).end(Et(t))},Re.prototype.getUser=function(t,e){var r;return ct.check(t,{type:"string",message:"userId parameter is not valid"}),ct.check(e,{type:"function",message:"cb parameter is not valid"}),r=n(this.baseOptions.rootUrl,"users",t),this.request.get(r).end(Et(e,{ignoreCasing:!0}))},Re.prototype.patchUserMetadata=function(t,e,r){var i;return ct.check(t,{type:"string",message:"userId parameter is not valid"}),ct.check(e,{type:"object",message:"userMetadata parameter is not valid"}),ct.check(r,{type:"function",message:"cb parameter is not valid"}),i=n(this.baseOptions.rootUrl,"users",t),this.request.patch(i).send({user_metadata:e}).end(Et(r,{ignoreCasing:!0}))},Re.prototype.patchUserAttributes=function(t,e,r){var i;return ct.check(t,{type:"string",message:"userId parameter is not valid"}),ct.check(e,{type:"object",message:"user parameter is not valid"}),ct.check(r,{type:"function",message:"cb parameter is not valid"}),i=n(this.baseOptions.rootUrl,"users",t),this.request.patch(i).send(e).end(Et(r,{ignoreCasing:!0}))},Re.prototype.linkUser=function(t,e,r){var i;return ct.check(t,{type:"string",message:"userId parameter is not valid"}),ct.check(e,{type:"string",message:"secondaryUserToken parameter is not valid"}),ct.check(r,{type:"function",message:"cb parameter is not valid"}),i=n(this.baseOptions.rootUrl,"users",t,"identities"),this.request.post(i).send({link_with:e}).end(Et(r,{ignoreCasing:!0}))};var Ue={Authentication:qe,Management:Re,WebAuth:je,version:it};t.Authentication=qe,t.Management=Re,t.WebAuth=je,t.default=Ue,t.version=it,Object.defineProperty(t,"__esModule",{value:!0})}); }).call(this)}).call(this,require(17),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"17":17}]; window.modules["504"] = [function(require,module,exports){}, {}]; window.modules["506"] = [function(require,module,exports){(function (global){(function (){ !function(e){var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,n="object"==typeof module&&module&&!module.nodeType&&module,t="object"==typeof global&&global;t.global!==t&&t.window!==t&&t.self!==t||(e=t);var r,u,i=2147483647,f=36,c=1,l=26,s=38,d=700,p=72,a=128,h="-",v=/^xn--/,g=/[^\x20-\x7E]/,w=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},b=f-c,y=Math.floor,C=String.fromCharCode;function m(e){throw RangeError(x[e])}function j(e,o){for(var n=e.length,t=[];n--;)t[n]=o(e[n]);return t}function A(e,o){var n=e.split("@"),t="";return n.length>1&&(t=n[0]+"@",e=n[1]),t+j((e=e.replace(w,".")).split("."),o).join(".")}function I(e){for(var o,n,t=[],r=0,u=e.length;r=55296&&o65535&&(o+=C((e-=65536)>>>10&1023|55296),e=56320|1023&e),o+=C(e)}).join("")}function F(e,o){return e+22+75*(e>1,e+=y(e/o);e>b*l>>1;t+=f)e=y(e/b);return y(t+(b+1)*e/(e+s))}function S(e){var o,n,t,r,u,s,d,v,g,w,x,b=[],C=e.length,j=0,A=a,I=p;for((n=e.lastIndexOf(h))=128&&m("not-basic"),b.push(e.charCodeAt(t));for(r=n>0?n+1:0;r=C&&m("invalid-input"),((v=(x=e.charCodeAt(r++))-48=f||v>y((i-j)/s))&&m("overflow"),j+=v*s,!(v=I+l?l:d-I));d+=f)s>y(i/(w=f-g))&&m("overflow"),s*=w;I=O(j-u,o=b.length+1,0==u),y(j/o)>i-A&&m("overflow"),A+=y(j/o),j%=o,b.splice(j++,0,A)}return E(b)}function T(e){var o,n,t,r,u,s,d,v,g,w,x,b,j,A,E,S=[];for(b=(e=I(e)).length,o=a,n=0,u=p,s=0;s=o&&xy((i-n)/(j=t+1))&&m("overflow"),n+=(d-o)*j,o=d,s=0;si&&m("overflow"),x==o){for(v=n,g=f;!(v=u+l?l:g-u));g+=f)E=v-w,A=f-w,S.push(C(F(w+E%A,0))),v=y(E/A);S.push(C(F(v,0))),u=O(n,j,t==r),n=0,++t}++n,++o}return S.join("")}if(r={version:"1.3.2",ucs2:{decode:I,encode:E},decode:S,encode:T,toASCII:function(e){return A(e,function(e){return g.test(e)?"xn--"+T(e):e})},toUnicode:function(e){return A(e,function(e){return v.test(e)?S(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return r});else if(o&&n)if(module.exports==o)n.exports=r;else for(u in r)r.hasOwnProperty(u)&&(o[u]=r[u]);else e.punycode=r}(this); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}]; window.modules["507"] = [function(require,module,exports){"use strict";module.exports={isString:function(n){return"string"==typeof n},isObject:function(n){return"object"==typeof n&&null!==n},isNull:function(n){return null===n},isNullOrUndefined:function(n){return null==n}}; }, {}]; window.modules["521"] = [function(require,module,exports){(function (process){(function (){ function normalizeArray(r,t){for(var e=0,n=r.length-1;n>=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),e++):e&&(r.splice(n,1),e--)}if(t)for(;e--;e)r.unshift("..");return r}function basename(r){"string"!=typeof r&&(r+="");var t,e=0,n=-1,o=!0;for(t=r.length-1;t>=0;--t)if(47===r.charCodeAt(t)){if(!o){e=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":r.slice(e,n)}function filter(r,t){if(r.filter)return r.filter(t);for(var e=[],n=0;n=-1&&!t;e--){var n=e>=0?arguments[e]:process.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(r=n+"/"+r,t="/"===n.charAt(0))}return(t?"/":"")+(r=normalizeArray(filter(r.split("/"),function(r){return!!r}),!t).join("/"))||"."},exports.normalize=function(r){var t=exports.isAbsolute(r),e="/"===substr(r,-1);return(r=normalizeArray(filter(r.split("/"),function(r){return!!r}),!t).join("/"))||t||(r="."),r&&e&&(r+="/"),(t?"/":"")+r},exports.isAbsolute=function(r){return"/"===r.charAt(0)},exports.join=function(){var r=Array.prototype.slice.call(arguments,0);return exports.normalize(filter(r,function(r,t){if("string"!=typeof r)throw new TypeError("Arguments to path.join must be strings");return r}).join("/"))},exports.relative=function(r,t){function e(r){for(var t=0;t=0&&""===r[e];e--);return t>e?[]:r.slice(t,e-t+1)}r=exports.resolve(r).substr(1),t=exports.resolve(t).substr(1);for(var n=e(r.split("/")),o=e(t.split("/")),s=Math.min(n.length,o.length),i=s,u=0;u=1;--s)if(47===(t=r.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?e?"/":".":e&&1===n?"/":r.slice(0,n)},exports.basename=function(r,t){var e=basename(r);return t&&e.substr(-1*t.length)===t&&(e=e.substr(0,e.length-t.length)),e},exports.extname=function(r){"string"!=typeof r&&(r+="");for(var t=-1,e=0,n=-1,o=!0,s=0,i=r.length-1;i>=0;--i){var u=r.charCodeAt(i);if(47!==u)-1===n&&(o=!1,n=i+1),46===u?-1===t?t=i:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){e=i+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===e+1?"":r.slice(t,n)};var substr="b"==="ab".substr(-1)?function(r,t,e){return r.substr(t,e)}:function(r,t,e){return t-1&&(l=!1);"function"==typeof i&&(i.error=i.fatal=i.warn=i.info=i.debug=i.trace=i),!1===e.enabled&&(e.level="silent");var n=e.level||"info",a=Object.create(i);a.log||(a.log=noop),Object.defineProperty(a,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(a,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,set(o,a,"error","log"),set(o,a,"fatal","error"),set(o,a,"warn","error"),set(o,a,"info","log"),set(o,a,"debug","log"),set(o,a,"trace","log")}});var o={transmit:r,serialize:s,asObject:e.browser.asObject,levels:["error","fatal","warn","info","debug","trace"]};return a.levels=pino.levels,a.level=n,a.setMaxListeners=a.getMaxListeners=a.emit=a.addListener=a.on=a.prependListener=a.once=a.prependOnceListener=a.removeListener=a.removeAllListeners=a.listeners=a.listenerCount=a.eventNames=a.write=a.flush=noop,a.serializers=t,a._serialize=s,a._stdErrSerialize=l,a.child=function(i){if(!i)throw new Error("missing bindings for child Pino");var l=i.serializers;if(s&&l){var n=Object.assign({},t,l),a=!0===e.browser.serialize?Object.keys(n):s;delete i.serializers,applySerializers([i],a,n,this._stdErrSerialize)}function o(e){this._childLevel=1+(0|e._childLevel),this.error=bind(e,i,"error"),this.fatal=bind(e,i,"fatal"),this.warn=bind(e,i,"warn"),this.info=bind(e,i,"info"),this.debug=bind(e,i,"debug"),this.trace=bind(e,i,"trace"),n&&(this.serializers=n,this._serialize=a),r&&this._logEvent.bindings.push(i)}return o.prototype=this,new o(this)},r&&(a._logEvent=createLogEventShape()),a}function set(e,r,i,t){var s=Object.getPrototypeOf(r);r[i]=r.levelVal>r.levels.values[i]?noop:s[i]?s[i]:_console[i]||_console[t]||noop,wrap(e,r,i)}function wrap(e,r,i){var t;(e.transmit||r[i]!==noop)&&(r[i]=(t=r[i],function(){for(var s=Date.now(),l=new Array(arguments.length),n=Object.getPrototypeOf&&Object.getPrototypeOf(this)===_console?_console:this,a=0;a-1&&l in i&&(e[s][l]=i[l](e[s][l]))}function bind(e,r,i){return function(){var t=new Array(1+arguments.length);t[0]=r;for(var s=1;s"],[10097,">"],[65310,">"],[10100,"{"],[65371,"{"],[10101,"}"],[65373,"}"],[8314,"+"],[8330,"+"],[65291,"+"],[8316,"="],[8332,"="],[65309,"="],[65281,"!"],[8252,"!!"],[8265,"!?"],[65283,"#"],[65284,"$"],[8274,"%"],[65285,"%"],[65286,"&"],[8270,"*"],[65290,"*"],[65292,","],[65294,"."],[8260,"/"],[65295,"/"],[65306,":"],[8271,";"],[65307,";"],[65311,"?"],[8263,"??"],[8264,"?!"],[65312,"@"],[65340,"\\"],[8248,"^"],[65342,"^"],[65343,"_"],[8275,"~"],[65374,"~"]]),module.exports=ASCIIFolder; }, {}]; window.modules["684"] = [function(require,module,exports){(function (global){(function (){ !function(r){var e="object"==typeof exports&&exports,a="object"==typeof module&&module&&module.exports==e&&module,t="object"==typeof global&&global;t.global!==t&&t.window!==t||(r=t);var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,c=/\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,l={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},i=/["&'`]/g,n={'"':""","&":"&","'":"'","":">","`":"`"},p=/(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|([0-9]+)(;?)|[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"=55296&&r1114111?(e&&x("character reference outside the permissible Unicode range"),"�"):w(b,r)?(e&&x("disallowed character reference"),b[r]):(e&&function(r,e){for(var a=-1,t=r.length;++a65535&&(a+=q((r-=65536)>>>10&1023|55296),r=56320|1023&r),a+=q(r))},A=function(r){return""+r.toString(16).toUpperCase()+";"},E=function(r){return""+r+";"},x=function(r){throw Error("Parse error: "+r)},k=function(r,e){(e=D(e,k.options)).strict&&d.test(r)&&x("forbidden code point");var a=e.encodeEverything,t=e.useNamedReferences,n=e.allowUnsafeSymbols,p=e.decimal?E:A,g=function(r){return p(r.charCodeAt(0))};return a?(r=r.replace(s,function(r){return t&&w(l,r)?"&"+l[r]+";":g(r)}),t&&(r=r.replace(/>\u20D2/g,"&nvgt;").replace(/<\u20D2/g,"&nvlt;").replace(/fj/g,"&fjlig;")),t&&(r=r.replace(c,function(r){return"&"+l[r]+";"}))):t?(n||(r=r.replace(i,function(r){return"&"+l[r]+";"})),r=(r=r.replace(/>\u20D2/g,"&nvgt;").replace(/<\u20D2/g,"&nvlt;")).replace(c,function(r){return"&"+l[r]+";"})):n||(r=r.replace(i,g)),r.replace(o,function(r){var e=r.charCodeAt(0),a=r.charCodeAt(1);return p(1024*(e-55296)+a-56320+65536)}).replace(u,g)};k.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var L=function(r,e){var a=(e=D(e,L.options)).strict;return a&&p.test(r)&&x("malformed character reference"),r.replace(g,function(r,t,o,s,u,c,l,i,n){var p,d,g,b,h,q;return t?m[h=t]:o?(h=o,(q=s)&&e.isAttributeValue?(a&&"="==q&&x("`&` did not start a character reference"),r):(a&&x("named character reference was not terminated by a semicolon"),f[h]+(q||""))):u?(g=u,d=c,a&&!d&&x("character reference was not terminated by a semicolon"),p=parseInt(g,10),y(p,a)):l?(b=l,d=i,a&&!d&&x("character reference was not terminated by a semicolon"),p=parseInt(b,16),y(p,a)):(a&&x("named character reference was not terminated by a semicolon"),r)})};L.options={isAttributeValue:!1,strict:!1};var S={version:"1.2.0",encode:k,decode:L,escape:function(r){return r.replace(i,function(r){return n[r]})},unescape:L};if("function"==typeof define&&"object"==typeof define.amd&&define.amd)define(function(){return S});else if(e&&!e.nodeType)if(a)a.exports=S;else for(var C in S)w(S,C)&&(e[C]=S[C]);else r.he=S}(this); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}]; window.modules["685"] = [function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){return e=unmatchedRightQuotes(e=unmatchedLeftQuotes(e=appendPlurals(e=appendWhitelist(e=quote(e=specialCase(e=inWord(e=prependDecades(e=prependWhitelist(e)))))))))};var a="’",l="‘",r="’";function prependWhitelist(e){return e.replace(/'(tis|twas)/gi,a+"$1")}function prependDecades(e){return e.replace(/'(\d0s)/gi,a+"$1")}function inWord(e){return e.replace(/(\S)'(\S)/gi,"$1"+a+"$2").replace(/(\S)'(\S)/gi,"$1"+a+"$2")}function specialCase(e){return e.replace(/'(n)'/gi,a+"$1"+a)}function quote(e){return e.replace(/(^|\s)(?:"(.*?)"|'(.*?[^(?:o|ol|s)])')(\s|$)/,"$1"+l+"$2$3"+r+"$4")}function appendWhitelist(e){return e.replace(/(o|ol)'/gi,"$1"+a)}function appendPlurals(e){return e.replace(/(s)'(\s|$)/gi,"$1"+a+"$2")}function unmatchedLeftQuotes(e){return e.replace(/(^|\s)['"](.*?)/gi,"$1"+l+"$2")}function unmatchedRightQuotes(e){return e.replace(/(.*?)['"](\s|$)/gi,"$1"+r+"$2")}module.exports=exports.default; }, {}]; window.modules["708"] = [function(require,module,exports){!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.WHATWGFetch={})}(this,function(t){"use strict";var e="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==e&&e,r={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(r.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],n=ArrayBuffer.isView||function(t){return t&&o.indexOf(Object.prototype.toString.call(t))>-1};function i(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function s(t){return"string"!=typeof t&&(t=String(t)),t}function a(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return r.iterable&&(e[Symbol.iterator]=function(){return e}),e}function h(t){this.map={},t instanceof h?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function f(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function u(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function c(t){var e=new FileReader,r=u(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:r.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:r.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():r.arrayBuffer&&r.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):r.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||n(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r.blob&&(this.blob=function(){var t=f(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=f(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(c)}),this.text=function(){var t,e,r,o=f(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=u(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function m(t,e){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.statuse.position}),e=0;c.length>e;e+=1)c[e]=c[e].data;c.unshift(null),n.apply(null,c)},o=function(o,i){e(a[l],function(e,o){if(!t){if(t=e,e)return n(e);c.push({data:o,position:i}),c.length===a.length&&r()}})},l=0;a.length>l;l+=1)o(a[l],l)};i.noConflict=function(){return n.jsonpClient=t,i},e=o?function(){var n,e,t=document.getElementsByTagName("head")[0];return e=function(n,e){var o=document.createElement("script"),r=!1;o.src=n,o.async=!0,o.onload=o.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,o.onload=o.onreadystatechange=null,o&&o.parentNode&&o.parentNode.removeChild(o),e())},t.appendChild(o)},n=function(n,e){var t=n.match(r);if(!t)return e(new Error("Could not find callback on URL"));e(null,t[1])},function(t,o){n(t,function(n,r){var i,a=window[r];if(n)return o(n);window[r]=function(n){i=n},e(t,function(n){if(n||i||(n=new Error("Calling to "+r+" did not returned a JSON response.Make sure the callback "+r+" exists and is properly formatted.")),a)window[r]=a;else try{delete window[r]}catch(n){window[r]=void 0}o(n,i)})})}}():require(739),"undefined"!=typeof module&&module.exports?module.exports=i:n.jsonpClient=i}(this); }).call(this)}).call(this,require(17))}, {"17":17,"739":739}]; window.modules["739"] = [function(require,module,exports){(function (process,global){(function (){ "use strict";var evalJsonp,parseJsonp,evalOrParseJavascript,fetchRemoteJsonp,fetchUrl,fetchLocalJsonp,request=require(432),vm=require(740),fs=require(504),parensRegex=/(^\(|\);?\s*$)/,functionRegex=/^[a-z\d_]*\(/i,functionNameRegex=/([\w\d_]*)\(/,enableLocalFileSupport="test"===window.process.env.NODE_ENV||window.process.env.JSONP_CLIENT_ENABLE_LOCAL_SUPPORT;if("test"===window.process.env.NODE_ENV&&window.process.env.SUPERAGENT_MOCK){var mockConfig=global.superAgentMockConfig||require(window.process.env.SUPERAGENT_MOCK);require(432)(request,mockConfig)}parseJsonp=function(e,t){var r,n,o=null;try{r=e.replace(functionRegex,"").replace(parensRegex,""),n=JSON.parse(r)}catch(e){o=e}t(o,n)},evalJsonp=function(e,t){var r,n;e=(e||"")+"",r=vm.createContext({error:null,cbData:null}),n="function "+(e.match(functionNameRegex)||[null,!1])[1]+" (data) { cbData = data } try { "+e+" } catch(e) { error = e;} ";try{vm.runInContext(n,r)}catch(e){t(new Error(e))}if(r.error)return t(new Error(r.error));t(null,r.cbData)},evalOrParseJavascript=function(e,t){e=e.toString(),parseJsonp(e,function(r,n){if(r)return evalJsonp(e,function(e,r){t(e,r)});t(r,n)})},fetchUrl=function(e,t){request.get(e).buffer(!0).accept("application/javascript").parse(function(e,t){e.text="",e.setEncoding("utf8"),e.on("data",function(t){e.text=e.text+t}),e.on("end",t)}).end(function(r,n){!r&&n&&n.status&&n.status>=400&&(r=new Error("Could not fetch url "+e+", with status "+(n&&n.status||"unknown")+". Got error: "+(r&&r.message)+".")),t(r,n&&n.text||"cb({})")})},fetchRemoteJsonp=function(e,t){fetchUrl(e,function(e,r){if(e)return t(e);evalOrParseJavascript(r,t)})},fetchLocalJsonp=enableLocalFileSupport?function(e,t){e=e.split("?")[0],fs.readFile(e,function(e,r){if(e)return t(e);evalOrParseJavascript(r,t)})}:fetchRemoteJsonp,module.exports=function(e,t){e.match(/^http/)?fetchRemoteJsonp(e,t):fetchLocalJsonp(e,t)}; }).call(this)}).call(this,require(17),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {"17":17,"432":432,"504":504,"740":740}]; window.modules["740"] = [function(require,module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n-1}module.exports=listCacheHas; }, {"811":811}]; window.modules["758"] = [function(require,module,exports){var assocIndexOf=require(811);function listCacheSet(s,e){var t=this.__data__,a=assocIndexOf(t,s);return a-1}module.exports=arrayIncludes; }, {"787":787}]; window.modules["787"] = [function(require,module,exports){var baseFindIndex=require(842),baseIsNaN=require(859),strictIndexOf=require(860);function baseIndexOf(e,s,n){return s==s?strictIndexOf(e,s,n):baseFindIndex(e,baseIsNaN,n)}module.exports=baseIndexOf; }, {"842":842,"859":859,"860":860}]; window.modules["788"] = [function(require,module,exports){function arrayIncludesWith(r,n,e){for(var t=-1,u=null==r?0:r.length;++t-1&&e%1==0&&e=o?e:o)),e}module.exports=baseClamp; }, {}]; window.modules["818"] = [function(require,module,exports){var Stack=require(773),arrayEach=require(783),assignValue=require(810),baseAssign=require(812),baseAssignIn=require(814),cloneBuffer=require(822),copyArray=require(800),copySymbols=require(825),copySymbolsIn=require(823),getAllKeys=require(824),getAllKeysIn=require(819),getTag=require(820),initCloneArray=require(821),initCloneByTag=require(829),initCloneObject=require(826),isArray=require(162),isBuffer=require(792),isMap=require(827),isObject=require(99),isSet=require(828),keys=require(161),keysIn=require(815),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=a&CLONE_DEEP_FLAG,i=a&CLONE_FLAT_FLAG,s=a&CLONE_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; }, {"99":99,"161":161,"162":162,"773":773,"783":783,"792":792,"800":800,"810":810,"812":812,"814":814,"815":815,"819":819,"820":820,"821":821,"822":822,"823":823,"824":824,"825":825,"826":826,"827":827,"828":828,"829":829}]; window.modules["819"] = [function(require,module,exports){var baseGetAllKeys=require(852),getSymbolsIn=require(950),keysIn=require(815);function getAllKeysIn(e){return baseGetAllKeys(e,keysIn,getSymbolsIn)}module.exports=getAllKeysIn; }, {"815":815,"852":852,"950":950}]; window.modules["820"] = [function(require,module,exports){var DataView=require(742),Map=require(761),Promise=require(768),Set=require(769),WeakMap=require(781),baseGetTag=require(853),toSource=require(876),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;(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map)!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set)!=setTag||WeakMap&&getTag(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; }, {"742":742,"761":761,"768":768,"769":769,"781":781,"853":853,"876":876}]; window.modules["821"] = [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["822"] = [function(require,module,exports){var root=require(743),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module&&module&&!module.nodeType&&module,moduleExports=freeModule&&freeModule.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; }, {"743":743}]; window.modules["823"] = [function(require,module,exports){var copyObject=require(813),getSymbolsIn=require(950);function copySymbolsIn(e,o){return copyObject(e,getSymbolsIn(e),o)}module.exports=copySymbolsIn; }, {"813":813,"950":950}]; window.modules["824"] = [function(require,module,exports){var baseGetAllKeys=require(852),getSymbols=require(949),keys=require(161);function getAllKeys(e){return baseGetAllKeys(e,keys,getSymbols)}module.exports=getAllKeys; }, {"161":161,"852":852,"949":949}]; window.modules["825"] = [function(require,module,exports){var copyObject=require(813),getSymbols=require(949);function copySymbols(e,o){return copyObject(e,getSymbols(e),o)}module.exports=copySymbols; }, {"813":813,"949":949}]; window.modules["826"] = [function(require,module,exports){var baseCreate=require(753),getPrototype=require(982),isPrototype=require(888);function initCloneObject(e){return"function"!=typeof e.constructor||isPrototype(e)?{}:baseCreate(getPrototype(e))}module.exports=initCloneObject; }, {"753":753,"888":888,"982":982}]; window.modules["827"] = [function(require,module,exports){var baseIsMap=require(872),baseUnary=require(831),nodeUtil=require(992),nodeIsMap=nodeUtil&&nodeUtil.isMap,isMap=nodeIsMap?baseUnary(nodeIsMap):baseIsMap;module.exports=isMap; }, {"831":831,"872":872,"992":992}]; window.modules["828"] = [function(require,module,exports){var baseIsSet=require(879),baseUnary=require(831),nodeUtil=require(992),nodeIsSet=nodeUtil&&nodeUtil.isSet,isSet=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;module.exports=isSet; }, {"831":831,"879":879,"992":992}]; window.modules["829"] = [function(require,module,exports){var cloneArrayBuffer=require(944),cloneDataView=require(945),cloneRegExp=require(946),cloneSymbol=require(947),cloneTypedArray=require(903),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; }, {"903":903,"944":944,"945":945,"946":946,"947":947}]; window.modules["831"] = [function(require,module,exports){function baseUnary(n){return function(r){return n(r)}}module.exports=baseUnary; }, {}]; window.modules["832"] = [function(require,module,exports){function cacheHas(a,c){return a.has(c)}module.exports=cacheHas; }, {}]; window.modules["833"] = [function(require,module,exports){var baseForOwn=require(834),createBaseEach=require(835),baseEach=createBaseEach(baseForOwn);module.exports=baseEach; }, {"834":834,"835":835}]; window.modules["834"] = [function(require,module,exports){var baseFor=require(846),keys=require(161);function baseForOwn(e,r){return e&&baseFor(e,r,keys)}module.exports=baseForOwn; }, {"161":161,"846":846}]; window.modules["835"] = [function(require,module,exports){var isArrayLike=require(894);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--:++n0&&r(u)?e>1?baseFlatten(u,e-1,r,t,l):arrayPush(l,u):t||(l[l.length]=u)}return l}module.exports=baseFlatten; }, {"796":796,"845":845}]; window.modules["845"] = [function(require,module,exports){var Symbol=require(779),isArguments=require(791),isArray=require(162),spreadableSymbol=Symbol?Symbol.isConcatSpreadable:void 0;function isFlattenable(e){return isArray(e)||isArguments(e)||!!(spreadableSymbol&&e&&e[spreadableSymbol])}module.exports=isFlattenable; }, {"162":162,"779":779,"791":791}]; window.modules["846"] = [function(require,module,exports){var createBaseFor=require(847),baseFor=createBaseFor();module.exports=baseFor; }, {"847":847}]; window.modules["847"] = [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["849"] = [function(require,module,exports){var castPath=require(850),toKey=require(851);function baseGet(e,t){for(var a=0,r=(t=castPath(t,e)).length;null!=e&&at}module.exports=baseGt; }, {}]; window.modules["858"] = [function(require,module,exports){function baseHasIn(n,e){return null!=n&&e in Object(n)}module.exports=baseHasIn; }, {}]; window.modules["859"] = [function(require,module,exports){function baseIsNaN(e){return e!=e}module.exports=baseIsNaN; }, {}]; window.modules["860"] = [function(require,module,exports){function strictIndexOf(r,t,e){for(var n=e-1,f=r.length;++n=120&&y.length>=120)?new SetCache(i&&y):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(f&&o)return f==r&&o==e;var _=-1,s=!0,R=a&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(u.set(e,r),u.set(r,e);++_-1&&e%1==0&&e=o?p:p*("desc"==i[n]?-1:1)}return e.index-r.index}module.exports=compareMultiple; }, {"948":948}]; window.modules["911"] = [function(require,module,exports){var baseGet=require(849),baseSet=require(912),castPath=require(850);function basePickBy(e,a,t){for(var r=-1,s=a.length,b={};++rn?0:n+r),(a=a>n?n:a)a?0:a-r>>>0,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||l&&u&&s&&!m&&!c||n&&u&&s||!e&&s||!o)return 1;if(!n&&!l&&!c&&i1?r[i-1]:void 0,n=i>2?r[2]:void 0;for(s=e.length>3&&"function"==typeof s?(i--,s):void 0,n&&isIterateeCall(r[0],r[1],n)&&(s=i-1?a[n?r[s]:s]:void 0}}module.exports=createFind; }, {"161":161,"882":882,"894":894}]; window.modules["961"] = [function(require,module,exports){var flatten=require(101),overRest=require(922),setToString=require(923);function flatRest(e){return setToString(overRest(e,void 0,flatten),e+"")}module.exports=flatRest; }, {"101":101,"922":922,"923":923}]; window.modules["968"] = [function(require,module,exports){var toNumber=require(971),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["996"] = [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["1000"] = [function(require,module,exports){var root=require(743),now=function(){return root.Date.now()};module.exports=now; }, {"743":743}]; window.modules["1001"] = [function(require,module,exports){var baseRest=require(921),eq=require(808),isIterateeCall=require(953),keysIn=require(815),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,defaults=baseRest(function(e,r){e=Object(e);var t=-1,o=r.length,a=o>2?r[2]:void 0;for(a&&isIterateeCall(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["1178"] = [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["1179"] = [function(require,module,exports){"use strict";function hasOwnProperty(r,e){return Object.prototype.hasOwnProperty.call(r,e)}module.exports=function(r,e,t,n){e=e||"&",t=t||"=";var o={};if("string"!=typeof r||0===r.length)return o;var a=/\+/g;r=r.split(e);var s=1e3;n&&"number"==typeof n.maxKeys&&(s=n.maxKeys);var p=r.length;s>0&&p>s&&(p=s);for(var y=0;y

=0?(u=f.substr(0,v),c=f.substr(v+1)):(u=f,c=""),i=decodeURIComponent(u),l=decodeURIComponent(c),hasOwnProperty(o,i)?isArray(o[i])?o[i].push(l):o[i]=[o[i],l]:o[i]=l}return o};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)}; }, {}]; window.modules["1180"] = [function(require,module,exports){"use strict";var stringifyPrimitive=function(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}};module.exports=function(r,e,t,n){return e=e||"&",t=t||"=",null===r&&(r=void 0),"object"==typeof r?map(objectKeys(r),function(n){var i=encodeURIComponent(stringifyPrimitive(n))+t;return isArray(r[n])?map(r[n],function(r){return i+encodeURIComponent(stringifyPrimitive(r))}).join(e):i+encodeURIComponent(stringifyPrimitive(r[n]))}).join(e):n?encodeURIComponent(stringifyPrimitive(n))+t+encodeURIComponent(stringifyPrimitive(r)):""};var isArray=Array.isArray||function(r){return"[object Array]"===Object.prototype.toString.call(r)};function map(r,e){if(r.map)return r.map(e);for(var t=[],n=0;n0&&a[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.truncate>1&&a.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.lang&&I[a.lang]&&S?I[a.lang]:S?I.en:{},c=a.lang&&C[a.lang]?C[a.lang]:!1===a.lang||!0===a.lang?{}:C.en,a.titleCase&&"number"==typeof a.titleCase.length&&Array.prototype.toString.call(a.titleCase)?(a.titleCase.forEach(function(e){O[e+""]=e+""}),t=!0):t=!!a.titleCase,a.custom&&"number"==typeof a.custom.length&&Array.prototype.toString.call(a.custom)&&a.custom.forEach(function(e){O[e+""]=e+""}),Object.keys(O).forEach(function(a){var n;n=a.length>1?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=f&&v[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 module&&module.exports)module.exports=n,module.exports.createSlug=t;else if("undefined"!=typeof define&&define.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["1210"] = [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}; }, {"1212":1212}]; window.modules["1214"] = [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["1235"] = [function(require,module,exports){!function(e){var t=function(e){return new y(e)};t.version="0.6.8","undefined"!=typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.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| )(&|&|&\#38;)(\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=t||n;return[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.jquery&&e.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.length>0&&c===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];a&&n.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.constructor&&o.call&&o.apply)&&v(l,t[l]);y.prototype.chain=function(){return this._chain=!0,this},y.prototype.value=function(){return this._wrapped}}(this); }, {}]; window.modules["1331"] = [function(require,module,exports){"use strict";const universalAgora=require(1333),universalRest=require(31),universalQuery=require(1332),_get=require(9);function searchByQueryWithRawResults(e,r){const t=`//${r.site.host}${80!==r.site.port?`:${r.site.port}`:""}${r.site.path}/_agora/_search`;return universalRest.post(t,e,!0)}function getProducts(e,r,t){return searchByQueryWithRawResults(universalAgora.buildProductsQuery(e),r).then(e=>{const r=universalQuery.formatSearchResult(e);return{total:e.hits.total,products:t?universalAgora.filterByLocale(r):r}})}function getMerchantsList(e){return searchByQueryWithRawResults(universalAgora.buildMerchantsAggregation(1e6,_get(e,"site.agoraLocale")),e).then(universalQuery.formatAggregationResults({aggregationName:"merchants",field:"key",subfield:"name"}))}module.exports.getProduct=universalAgora.getProduct,module.exports.getProducts=getProducts,module.exports.getMerchantsList=getMerchantsList,module.exports.searchByQueryWithRawResults=searchByQueryWithRawResults,module.exports.buildMerchantsByUrlQuery=universalAgora.buildMerchantsByUrlQuery; }, {"9":9,"31":31,"1332":1332,"1333":1333}]; window.modules["1332"] = [function(require,module,exports){"use strict";const _map=require(63),_get=require(9),_isArray=require(162),_set=require(120),_isObject=require(99),_cloneDeep=require(81),_uniq=require(104);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(!o&&0!==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(!o&&0!==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; }, {"9":9,"63":63,"81":81,"99":99,"104":104,"120":120,"162":162}]; window.modules["1333"] = [function(require,module,exports){(function (process,__filename){(function (){ "use strict";const _forEach=require(53),_get=require(9),_filter=require(146),_map=require(63),_isEmpty=require(100),urlParse=require(64),log=require(19).setup({file:__filename}),queryService=require(1332),universalRest=require(31),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",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){const r=`${AGORA_ENDPOINT}/retailers/${e}/affiliates`,a={method:"POST",headers:requestHeader,body:JSON.stringify(t)};return fetch(r,a).then(handleResponse).catch(handleError(r))}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=s&&Object.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.addShould(e,{terms:i}))}),queryService.addMinimumShould(e,1),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>=0&&queryService.addFrom(n,r),"desc"===a||"asc"===a?queryService.addSort(n,{updatedAt:{order:a}}):e&&queryService.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}}),t&&queryService.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.length&&n.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 a&&c.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"}){const i=queryService(RETAILERS_INDEX);return prependElasticPrefix(i),queryService.addMust(i,{match:{locale:s}}),e?queryService.addMultiMatch(i,{fields:["name^2","domains"],string:e,type:"phrase_prefix"}):(queryService.addSort(i,{"name.keyword":a}),queryService.addSize(i,t),r>=0&&queryService.addFrom(i,r)),i}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"}),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(220),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}; }).call(this)}).call(this,require(17),"/services/universal/agora.js")}, {"9":9,"17":17,"19":19,"31":31,"53":53,"63":63,"64":64,"100":100,"146":146,"220":220,"1332":1332}]; window.modules["1334"] = [function(require,module,exports){"use strict";const _map=require(63),_mapValues=require(215),_reduce=require(103),_assign=require(150),_get=require(9),_pickBy=require(151),_find=require(56),affiliateFields=["siteShortKey","pageUri","productId","utmMedium","utmSource","sessionCount","format","utmCampaign","referrer","deviceAbbreviation","zone"],affiliateSettings={amazon:{domains:["amazon.com","amazon.co.uk"],subtagKey:"ascsubtag",maxLength:99,delimiter:"standard",encode:!1},narrativ:{domains:["shop-links.co/"],subtagKey:"u1",maxLength:99,delimiter:"standard",encode:!0},rakuten:{domains:["click.linksynergy.com/deeplink","linksynergy.walmart.com/deeplink"],subtagKey:"u1",maxLength:72,delimiter:"standard",encode:!1},shareasale:{domains:["shareasale.com"],subtagKey:"afftrack",maxLength:99,delimiter:"standard",encode:!1},skimlinks:{domains:["go.redirectingat.com"],subtagKey:"xcust",maxLength:50,delimiter:"alt",encode:!1},impact:{domains:[],subtagKey:"subId2",maxLength:99,delimiter:"standard",encode:!1},avantlink:{domains:["avantlink.com"],subtagKey:"ctc",maxLength:64,delimiter:"alt",encode:!1},cj:{domains:["tkqlhce.com","jdoqocy.com","dpbolvw.net","anrdoezrs.net","kqzyfj.com"],subtagKey:"sid",maxLength:64,delimiter:"alt",encode:!1,joinBy:"/",assignBy:"/",positioned:!0,position:"after",positionKey:"type/dlg/"},partnerize:{domains:["prf.hn"],subtagKey:"pubref",maxLength:100,delimiter:"alt",encode:!1,joinBy:"/",assignBy:":",positioned:!0,position:"before",positionKey:"destination"},pepperjam:{domains:["gopjn.com","pntrac.com","pjtra.com","pjatr.com","pntrs.com","pntra.com"],subtagKey:"sid",maxLength:100,delimiter:"alt",encode:!1},awin:{domains:["awin1.com"],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(e,t,i){const a=t[0]+e+t[1],s=i.split(a)[1]||"";return s?s.split(t[0])[0]:null}function parseSubtag(e,t=delimiters.standard){return _pickBy(_mapValues(subtagDictionary,i=>parseValueFromSubtag(i,t,e)))}function generateSubtag(e,t,i=delimiters.standard,a=!1){const s=(e=>t=>`${e[0]}${t}${e[1]}`)(i);let n=_reduce(affiliateFields,(t,i)=>{const a=s(subtagDictionary[i]),n=e[i];return t+(n?a+n:"")},"");return a&&(n=encodeURIComponent(n)),n}function applySubtagMaxlength(e,t){var i=t-3*(e.split(",").length-1+e.split("|").length-1);return e.substr(0,i)}function getSubtagData({getters:e,fields:t=[],visitState:i,locals:a,productLink:s}){let n={};return t.forEach(t=>{n[t]=e[t]&&e[t]({visitState:i,locals:a,productLink:s})}),n}function parseQuery(e=""){return e.split("&").reduce((e,t)=>{const i=t.split("=")[0],a=t.split("=")[1];return void 0!==a&&(e[i]=a),e},{})}function processSubtagPosition({url:e,positionKey:t,subtagKey:i,position:a="after",subtagString:s,joinBy:n,assignBy:o}={}){const[r,l]=e.split(t),u=`${i}${o}${s}`,g=[];if("after"===a){if(!l)return e;const[a,s=""]=l.split(`${i}${o}`),d=s.split(n).slice(1).join(n);g.push(`${r}${t}`,u),a&&g.push(a),d&&g.push(d)}if("before"===a){const[e,a=""]=r.split(`${i}${o}`),s=a.split(n).slice(1).join(n);g.push(e),s&&g.push(s),g.push(u,`${t}${l}`)}return g.reduce((e,t)=>{return e.slice(-1)===n&&(e=e.slice(0,-1)),e.length?[e,t].join(n):t},"")}function processSubtag({getters:e,affiliate:t,url:i,visitState:a={},locals:s}){const n=affiliateFields,o=_get(affiliateSettings[t],"subtagKey"),r=_get(affiliateSettings[t],"maxLength"),l=_get(affiliateSettings[t],"encode"),u=_get(affiliateSettings[t],"delimiter"),g=_get(affiliateSettings[t],"positioned",!1),d=_get(affiliateSettings[t],"position"),c=_get(affiliateSettings[t],"positionKey"),p=_get(affiliateSettings[t],"assignBy","="),m=_get(affiliateSettings[t],"joinBy","&"),f=delimiters[u];let b,y,S=i.indexOf("?")>=0?i.split("?").pop():"",h=parseQuery(S),_=getSubtagData({getters:e,fields:n,visitState:a,locals:s,productLink:i});return o&&(y=h[o]||"",y=applySubtagMaxlength(b=generateSubtag(_=_assign(parseSubtag(y,f),_pickBy(_)),t,f,l),r),h[o]=y,S=_map(h,(e,t)=>`${t}=${e}`).join("&"),i=g?processSubtagPosition({url:i,positionKey:c,subtagKey:o,position:d,subtagString:y,joinBy:m,assignBy:p}):i.split("?")[0]+`?${S}`),i}function getAffiliate(e){const t=Object.keys(affiliateSettings);return _find(t,t=>_find(affiliateSettings[t].domains,t=>e.includes(t.toLowerCase())))||""}function createSubtagProcessor(e){return({url:t,visitState:i,locals:a,affiliate:s})=>(s=getAffiliate(t)||s)?processSubtag({getters:e,url:t,affiliate:s,visitState:i,locals:a}):""}module.exports.generateSubtag=generateSubtag,module.exports.getAffiliate=getAffiliate,module.exports.createSubtagProcessor=createSubtagProcessor,module.exports.processSubtag=processSubtag; }, {"9":9,"56":56,"63":63,"103":103,"150":150,"151":151,"215":215}]; window.modules["article-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),_throttle=require(50),$visibility=require(5),$popup=require(65),$gtm=require(3),{reportSocial:reportSocial}=require(66),auth0=require(7);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=m&&m.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.scrollY>r?t.classList.add("after-scroll"):t.classList.remove("after-scroll"),window.scrollY>r?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()>=1180&&i&&function(){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()>=768&&o&&(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=fb&utm_medium=s3&utm_campaign=sharebutton-t"),w&&(w.href="https://twitter.com/share?text="+encodeURIComponent(h)+"&url="+f+"?utm_source=tw&utm_medium=s3&utm_campaign=sharebutton-t&via="+w.getAttribute("data-handle")),v&&(v.href="http://pinterest.com/pin/create/button/?url="+f+"?utm_source=pin&utm_medium=s3&utm_campaign=sharebutton-t&description="+encodeURIComponent(h)+"&media="+g),b)return;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}()}); }, {"3":3,"4":4,"5":5,"7":7,"50":50,"65":65,"66":66}]; window.modules["nav-search-button.client"] = [function(require,module,exports){"use strict";const dom=require(4),$gtm=require(3),{reportSearch:reportSearch}=require(66),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.keyCode&&s.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){s&&s.addEventListener("click",c);t&&t.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"))}); }, {"3":3,"4":4,"66":66}]; window.modules["nav-dropdown-button.client"] = [function(require,module,exports){"use strict";const dom=require(4),visibility=require(5),{reportSearch:reportSearch}=require(66);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"),a&&e.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&&!y&&r&&(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.keyCode&&e.classList.contains("open")&&v()})}); }, {"4":4,"5":5,"66":66}]; window.modules["follow.client"] = [function(require,module,exports){"use strict";const _find=require(56),$popup=require(65);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=followbutton&variant=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}]); }, {"56":56,"65":65}]; window.modules["comments-link.client"] = [function(require,module,exports){"use strict";const dom=require(4),_get=require(9),_isFinite=require(122),ajax=require(121);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);e>0&&(this.isNavVariation&&e1?"s":""),this.el.classList.remove("no-comments"))},n.prototype.shouldRenderCommentStream=function(){return-1!==e.indexOf("@published")},n}]); }, {"4":4,"9":9,"121":121,"122":122}]; window.modules["head-gtm.client"] = [function(require,module,exports){"use strict";const{getCLS:getCLS,getFID:getFID,getLCP:getLCP}=require(154),isProduction=require(8)();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)}); }, {"8":8,"154":154}]; 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(67);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"),o="",a=getData("type"),r=getData("vertical");t&&(t=striptags(htmlDecode(t)).split(" ")),n=n.slice(n.lastIndexOf("/")+1);const l={kw:getKeywords(),network:r,page_type:a,entry_group:i,keywords:t,pn:n};return"Homepage"===a?o="homepage":"Section Page"===a&&(o=(o=window.location.pathname).replace(/\//g,"")),i&&-1===i.indexOf(" ")&&(o=i),customMappings[i]&&(o=customMappings[i]),window.location.hostname.match(/\.aws\./i)&&(l.clay_sandbox_env=r),new window.ConcertAds({cmd:[],slots:[],dfpVariables:l,slugPath:"/"+o.replace(/—|–/g,"-"),loggedIn:"unauthenticated"!==e,paywallActive:getPaywallStatus(e)})}function getKeywords(){try{const e=window._nymPermutive.article.keywords;return e&&e.length>0&&e.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.article&&e in window._nymPermutive.article)return window._nymPermutive.article[e];if(window._nymPermutive.user&&e 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=JSON.parse(localStorage.getItem("auth0:profile")),t=e?e["http://nymag.com/app_metadata"]:null;return t?t.has_subscription?"entitled":"unentitled":"unauthenticated"}function getPaywallStatus(e){const t=getData("totalCount")||0;return Boolean(t>=3&&"entitled"!==e)}window.ConcertAds?installConcertAds():window.addEventListener("concertAdsReady",installConcertAds); }, {"67":67}]; window.modules["curated-feed.client"] = [function(require,module,exports){"use strict";const dom=require(4),lazyLoad=require(108);function lazyLoadImage(e){const o=dom.find(e,"img[data-src]"),t=dom.findAll(e,"source[data-srcset]"),a=dom.closest(e,".feed-item");if(o&&a){new lazyLoad.LazyLoader(a,o,t).init()}}function handleLazyLoad(e){(dom.findAll(e,".feed-item")||[]).forEach(lazyLoadImage)}module.exports=(e=>{const o=e.querySelectorAll("button.show-more");function t(e){const{currentTarget:o}=e;if(o){const e=o.parentElement.parentElement;e&&e.querySelector(".content").classList.toggle("collapsed")}}o&&o.forEach(function(e){e.addEventListener("click",t)}),handleLazyLoad(e)}); }, {"4":4,"108":108}]; window.modules["coral-talk.client"] = [function(require,module,exports){"use strict";const dom=require(4),store=require(128),visibility=require(5),auth0=require(7),TALK_AUTH="talk:auth_token";let coralEmbed,hasEmbedScriptLoaded=!1,hasCoralTalkRendered=!1;function renderComments(e){if(hasEmbedScriptLoaded&&!hasCoralTalkRendered){const t={talk:`${e.CORAL_TALK_HOST}`,auth_token:getAuthToken(),asset_url:e.TALK_ASSET_URL};hasCoralTalkRendered=!0,coralEmbed=window.Coral.Talk.render(e.commentStreamContainer,t)}}function getAuthToken(e){var t=e&&e["http://nymag.com/coral_talk"]||auth0.getTalkJwt(),i=store.get(TALK_AUTH);return t?i&&t==i?i:(store.set(TALK_AUTH,t),t):(i&&store.remove(TALK_AUTH),null)}function coralLogin(){coralEmbed.login(getAuthToken())}function embedScript(e,t){let i=document.createElement("script");i.type="text/javascript",i.async=!0,i.src=e,i.addEventListener("load",()=>{hasEmbedScriptLoaded=!0,renderComments(t)}),document.getElementsByTagName("head")[0].appendChild(i)}function initVerificationMessage(){auth0.isAuthenticated()&&auth0.refresh();let e=document.querySelector(".coral-talk-container");auth0.isAuthenticated()&&!auth0.isEmailVerified()&&(e.insertAdjacentHTML("beforebegin",'\n

\n Please verify your account to enable commenting. Didn\'t receive a verification email? Re-send email now. \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=>{t&&200==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){e&&e.parentNode&&dom.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"),o=-1!==n.indexOf("@published"),r=e.querySelector(".coral-talk-container"),s=e.querySelector(".coral-talk-btn-signin"),c={CORAL_TALK_HOST:t,EMBED_URL:i,commentStreamContainer:r,signInButton:s,TALK_ASSET_URL:n};!a&&o&&(auth0.on("init",()=>{addVisibilityListener(e,c),s.addEventListener("click",()=>auth0.showLogin()),auth0.isAuthenticated()&&removeSignInButton(s)}),auth0.on("login",t=>{removeSignInButton(s),getAuthToken(t),visibility.isElementInViewport(e)&&attemptScriptEmbedding(c),hasCoralTalkRendered&&coralLogin()}),auth0.on("logout",()=>{store.remove(TALK_AUTH)}))}module.exports=init; }, {"4":4,"5":5,"7":7,"128":128}]; window.modules["choreographer.client"] = [function(require,module,exports){"use strict";const cookie=require(54),_get=require(9),_omit=require(86),{insertSpeedBumpComponents:insertSpeedBumpComponents}=require(90),{insertNewsletterSpeedBumpComponents:insertNewsletterSpeedBumpComponents}=require(91),{generateGrowl:generateGrowl}=require(89),gtm=require(3),{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(33),{reportPaywall:reportPaywall}=require(66),moment=require(38),{getClientHistory:getClientHistory,updateClientHistoryWithPageData:updateClientHistoryWithPageData}=require(92),auth0=require(7),{Scenario:Scenario}=require(87),cidReadyEvent="nymcid-set",cidKey="nymcid",isProduction=require(8)(),logger=require(85).Logger(()=>getLocalStorage("show_choreographer_logs")),{Verdon:Verdon}=require(88),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=_get(JSON.parse(localStorage.getItem("auth0:profile")),"http://nymag.com/app_metadata"),l="Authentication Status: "+(a?"authenticated":"unauthenticated"),s="Entitlement Status: "+(!!a&&a.has_subscription?"entitled":"unentitled"),c=Object.keys(_omit(t,"newYorkMediaUserID")).map(e=>`${e}: ${t[e]}`),d=document.body,g=document.createElement("div"),u=document.createElement("ul");[i,l,s,...c].map(e=>{const t=document.createElement("li");return t.classList.add("debug-item"),t.appendChild(document.createTextNode(e)),t}).forEach(e=>{u.appendChild(e)}),u.classList.add("data-bullets"),g.classList.add("debug-choreographer"),g.classList.add("display-debug-data"),g.appendChild(u),d.appendChild(g)}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 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"]&&(_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"]&&(_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(t&&o["content-cliff"])contentCliff(findTemplate(e,"content-cliff"),o["content-cliff"],o["content-cliff"].viewsLeft,n);else{if(t&&o["cliff-takeover"])return/coronavirus news|pivot|paywall exclude/i.test(window._nymGtmPage.tags)?void(isProduction&&logger.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},g=""){const u=function(){const e=`\n \n `;return document.createRange().createContextualFragment(e)}(),p={creative:i,id:c,name:n,position:"growl"};u.querySelector("a").addEventListener("click",()=>promotionReport("Click",s,p)),generateGrowl(e,g,{content:u,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.6.1/index.html"}),a=e.type,l={email:auth0.getEmail(),isAuthenticated:auth0.isAuthenticated(),isSubscriber:auth0.isSubscriber()};n.classList.add(a),i.once("frame:ready",()=>{i.sendMessage("tout:show",{readerState:l,toutType:a,toutData:e}),r&&i.sendMessage("frame:height")}),i.on("tout:visible",()=>{promotionReport("View",t,o)}),i.on("tout:sign-in",()=>{auth0.showLogin(window.location.href)}),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.open(e.ctaLink,"_blank")}),i.on("frame:height",e=>{n.style.height=`${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"),g=document.querySelectorAll(".clay-paragraph"),u={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),g.forEach((e,t)=>{0!==t&&e.remove()}),verdonFosseToutSetter(p,t,u,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"),g={creative:s,id:"warning growl",name:"Warning Growl",position:"growl"},u={cta:r,ctaLink:i,description:a,image:l,promo:s,status:c,type:n};document.body.appendChild(d),verdonFosseToutSetter(u,t,g,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=e&&e.querySelector(`[data-template-id="${t}"]`);return o&&o.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)})); }, {"3":3,"7":7,"8":8,"9":9,"33":33,"38":38,"54":54,"66":66,"85":85,"86":86,"87":87,"88":88,"89":89,"90":90,"91":91,"92":92,"content-cliff.client":"content-cliff.client"}]; window.modules["growl.client"] = [function(require,module,exports){"use strict";require(152);const _some=require(75),dom=require(4),localStorageKeyRoot="slideout-",{getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage}=require(33);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()}i&&c?e.remove():(o&&e.querySelector("[data-content]").appendChild(o),n&&function(e=50){const t=new IntersectionObserver(e=>{_some(e,"isIntersecting")&&(a.style.top="inherit",a.classList.remove("hidden","initial"),"function"==typeof s&&s(),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))}); }, {"4":4,"33":33,"75":75,"152":152}]; window.modules["speed-bump.client"] = [function(require,module,exports){"use strict";const gtm=require(3),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)})}); }, {"3":3,"5":5}]; window.modules["newsletter-speed-bump.client"] = [function(require,module,exports){"use strict";const{loadRecaptcha:loadRecaptcha}=require(119),_isEmpty=require(100),_set=require(120),_kebabCase=require(93),gtm=require(3),auth0=require(7),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>=200&&a.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"})}); }, {"3":3,"5":5,"7":7,"93":93,"100":100,"119":119,"120":120}]; window.modules["content-cliff.client"] = [function(require,module,exports){"use strict";const auth0=require(7),isProduction=require(8)(),logger=require(85).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]");s&&s.setAttribute("href",c),s&&s.insertAdjacentHTML("afterbegin",r),l&&l.insertAdjacentHTML("afterbegin",e),u&&u.insertAdjacentHTML("afterbegin",n),s&&s.addEventListener("click",i)}(),f.classList.remove("collapsed"),e=s,e.forEach(t=>{const e=document.querySelector(`[data-uri*="/${t}/"]`);e&&e.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(g&&isProduction)return"noop";g&&logger.log(`First session check was ${g}! Showing the cliff anyway: isProduction => ${isProduction}`);if(/coronavirus news|pivot|paywall exclude/i.test(window._nymGtmPage.tags))return isProduction&&logger.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}); }, {"7":7,"8":8,"85":85}]; window.modules["most-popular.client"] = [function(require,module,exports){"use strict";const dom=require(4),lazyLoad=require(108);function lazyLoadImage(a){const o=dom.find(a,"img[data-src]"),d=a&&dom.findAll(a,"source[data-srcset]"),e=o&&dom.closest(o,".feed-image-wrap");if(o&&e){new lazyLoad.LazyLoader(e,o,d).init()}}function handleLazyLoad(a){(dom.findAll(a,".most-popular-item")||[]).forEach(lazyLoadImage)}module.exports=(a=>{handleLazyLoad(a)}); }, {"4":4,"108":108}]; window.modules["collection-package.client"] = [function(require,module,exports){"use strict";const dom=require(4),Hammer=require(112),lazyLoad=require(108),_debounce=require(111),BREAKPOINT=768,ANIMATION_DURATION=250;module.exports=(e=>{const t=dom.find(".collection-simple_text-top"),n=e.querySelector(".list-wrapper"),i=e.querySelector(".package-content"),o=dom.findAll(e,".article"),r=e.classList.contains("carousel-layout");var a,s=0,c=!1;if(r){if(!n)return;function d(){a.off("swipeleft").off("swiperight"),s=0,n.style.transform="translate(0px)",window.innerWidth1?(window.cancelAnimationFrame(s),i&&i()):(t=r+(c=d)*(2-c)*a,e.style.transform="translate("+t+"px)",window.requestAnimationFrame(s))};n||(n=0);window.requestAnimationFrame(s)}(n,i,ANIMATION_DURATION,function(){s=e,c=!1})}function f(){c||s>0&&l(s-1)}function u(){c||s{!function(e){const t=dom.findAll(e,"source[data-srcset]"),n=dom.find(e,"img[data-src]"),i=dom.find(e,".article-img-wrapper");if(t&&n&&i){const e=new lazyLoad.LazyLoader(i,n,t);i.classList.add("contains-image"),e.init()}}(e)})}); }, {"4":4,"108":108,"111":111,"112":112}]; window.modules["sticky-list.client"] = [function(require,module,exports){"use strict";const dom=require(4),$gtm=require(3),_get=require(9),stickyContainer=require("sticky-container.client");DS.controller("sticky-list",["$window",function(t){var e=require(230),i=40;function s(s){let n,r=function(t){let s=t[0],n=0,r=e.height(this.contentArea),h=this.contentArea.offsetHeight;if(this.containers&&this.containers.length){if(s.target.offsetHeight){let t=this.breakouts.findIndex(t=>(function(t,e){return t!==document.body&&t.contains(e)})(t,s.target.parentElement));if(t>-1&&this.breakouts[t]){let e=this.breakouts[t].offsetHeight+i;this.containers[t].style.marginBottom=`${e}px`}}if(h!==this.currentHeigh){const t=e.rect(this.rightRail,this.contentArea);this.currentHeight=h,this.rightRail.style.height=r-t.top-a(this.rightRail)+"px",this.breakouts.forEach((s,r)=>{let a=e.rect(s,this.contentArea),h=e.intersection(a,t);if(h){let e,s=h.top-t.top-n;n+=s+h.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)||0;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,h,o,l;if(this.populatePinsList(),s1&&t.classList.add("multi-children"),l=0;l{const t=Array.from(e.children);let o,a,i=0;for(;ia.bottom||n.righta.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)),n&&appendToAdd(i,n)}function appendPageTypeToDfpAds(){let e=document.querySelector(".body > div")||{},t=document.querySelector("body")||{},n=e&&e.classList,a=n&&n.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=["528x379","1100x200","1x1"];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),i&&u&&!p){let n,u;if(o&&o.contains(e)?l="LB":i&&i.contains(e)?l="IA":(r&&r.contains(e)||d&&d.contains(e)||s&&s.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="https://www.googletagservices.com/tag/js/gpt.js",e.async="async",t.src="https://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>=1180&&t.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),i&&r.on("hidden",l)):(r.on("preload",function(){!n.slot&&$visibility.isElementNotHidden(t)&&(s(),e.load(n))}),i&&r.on("hidden",l)),this.adData=n)}}]); }, {"4":4,"5":5,"53":53,"55":55,"56":56,"57":57}]; window.modules["article.client"] = [function(require,module,exports){"use strict";const $visibility=require(5),$gtm=require(3),ImageZoom=require(69),$sentry=require(70);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"};i&&o&&(window.innerWidtht(e)),$sentry.initializeIDListeners()}}]); }, {"3":3,"5":5,"69":69,"70":70}]; window.modules["tags.client"] = [function(require,module,exports){"use strict";const _forEach=require(53);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}]); }, {"53":53}]; window.modules["newsletter-flex-text.client"] = [function(require,module,exports){"use strict";const dom=require(4),_kebabCase=require(93),_isEmpty=require(100),_set=require(120),permutive=require(66),cmptName="newsletter-flex-text",{loadRecaptcha:loadRecaptcha}=require(119),gtm=require(3),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,}))$/,MAX_EMAIL_LENGTH=50;DS.controller(cmptName,["$window",function(e){function t(t){this.el=t,this.email=dom.find(t,".email"),this.title=dom.find(t,".title"),this.description=dom.find(t,".description"),this.source=dom.find(t,".source"),this.form=dom.find(t,".form"),this.returnMsg=dom.find(t,".return-message"),this.newsletterId=dom.find(t,".newsletterId").value,this.expandedTerms=dom.find(t,".expanded-terms"),this.recaptchaKey=this.form.dataset.recaptchaPublicKey,this.local=e.localStorage,this.session=e.sessionStorage,this.apiEndpoint=this.form.dataset.post,this.displayComponent()}return t.prototype={getPageType:function(){var e=dom.find('meta[name="type"]'),t=e?e.getAttribute("content"):"";return _kebabCase(t)},getPayloadObject:function(e){var t={};return t.email=this.email.value,t.recaptcha=e,_set(t,`vars.source_${this.newsletterId}`,`${cmptName}_${this.getPageType()}`),t.lists={},t.lists[this.newsletterId]=!0,t},displayComponent:function(){var t=this,s="success"===this.local["signUpColumnStatus"+this.newsletterId.toString()],i="true"===this.form.getAttribute("data-display-after-sign-up");if(!s||i){if(this.el.classList.remove("initially-hidden"),this.form.classList.remove("initially-hidden"),setTimeout(function(){t.el.classList.remove("opacity-zero")},100),this.session)try{this.session.setItem("signUpColumn","displayed")}catch(e){}}else t.el.parentElement.classList.add("newsletter-collapsed");e.addEventListener("unload",function(){t.session.removeItem("signUpColumn")})},events:{".form submit":"submitForm",".email keypress":"clearMsg",".terms-button click":"showTerms"},clearMsg:function(){this.returnMsg.innerHTML=""},showTerms:function(){this.expandedTerms.classList.add("active"),this.expandedTerms.setAttribute("aria-hidden","false")},submitForm:function(e){let t=this.form.getAttribute("data-error-msg");e.preventDefault(),this.email.value.length>=50||!EMAIL_VALID_REGEX.test(this.email.value)?(t&&""!==t||(t="*Please enter a valid email"),this.returnMsg.innerHTML=t,this.returnMsg.focus()):loadRecaptcha(this.recaptchaKey,"newsletterSubmit",!0).then(e=>fetch(this.apiEndpoint,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(this.getPayloadObject(e))}).then(e=>e.json()).then(e=>{e&&e.ok?this.successHandle(e):this.errorHandle()}).catch(e=>this.errorHandle(e)))},reportGTM:function(e){const t=_isEmpty(e.sailthruIds)?"":Object.values(e.sailthruIds)[0];let s={event:"eec.purchase"};s.ecommerce={purchase:{actionField:{id:t,revenue:"0.00"},products:[{category:"newsletter signup",quantity:1,name:this.newsletterId.toString(),variant:`${cmptName} - ${this.getPageType()}`}]}},gtm.reportNow(s)},errorHandle:function(e){this.returnMsg.classList.add("error"),this.returnMsg.innerHTML=e||"An error occurred. Please try again.",this.returnMsg.focus()},successHandle:function(e){let t=this,s=this.form.getAttribute("data-success-title-msg"),i=this.form.getAttribute("data-success-description-msg");if(s&&""!==s||(s="Thanks, you're all set!"),i&&""!==i||(i="You'll receive the next newsletter in your inbox."),window.fbq&&window.fbq("track","Lead"),permutive.reportNewsletterSubscribe([this.newsletterId]),this.reportGTM(e),this.title.innerHTML=s,this.description.innerHTML=i,this.returnMsg.focus(),this.el.classList.add("success"),setTimeout(function(){t.el.classList.add("opacity-zero"),setTimeout(function(){t.el.classList.add("initially-hidden"),t.el.parentElement.classList.add("newsletter-collapsed")},1e3)},5e3),this.local)try{this.local.setItem("signUpColumnStatus"+this.newsletterId.toString(),"success")}catch(e){}}},t}]); }, {"3":3,"4":4,"66":66,"93":93,"100":100,"119":119,"120":120}]; 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(4),_includes=require(57),_startsWith=require(61),globalClick=require(60),visit=require(59),productSubtags=require(62);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(t){excludedHostnames=(t.getAttribute("data-excluded-hostnames")||"").toLowerCase().split(",")}function isSkimLink(t){return!!(skimlinksId=t.getAttribute("data-skimlinks"))}function isExcluded(t){return _includes(excludedHostnames,t)||_startsWith(t,"www.")&&_includes(excludedHostnames,t.slice(4))||isSponsored}function isUrlProtocol(t){return 0!==t.indexOf("mailto:")&&0!==t.indexOf("javascript:")}function getTargetHostname(t){return(t.hostname||t.host||t.href||"").toLowerCase()}function convertSkimlinkUrl(t){return(skimlinksBaseUrl=skimlinksBaseUrl||skimlinksId?"//go.redirectingat.com/?xs=1&id="+skimlinksId+"&sref="+encodeURIComponent(window.location.href)+"&url=":void 0)&&skimlinksBaseUrl+encodeURIComponent(t)}function hasIgnoreAttribute(t){return"true"===t.getAttribute(ignoreDataAttribute)}function convertSkimlink(t){var e,i,r,s=dom.closest(t.target,"a"),n=s&&s.href;n&&n.length&&!t.defaultPrevented&&(i=getTargetHostname(s),!isUrlProtocol(n)||isExcluded(i)||hasIgnoreAttribute(s)||productSubtags.getAffiliate(n)||(e=convertSkimlinkUrl(n))&&(productUrl=n,r=s&&s.getAttribute("data-track-id"),s.href=productSubtags.ensureSubtag({url:e,productId:r,visitState:visitState,anchorEl:s})))}function revertSkimLink(t){var e=dom.closest(t.target,"a"),i=e&&e.href||"";i.includes(skimlinksBaseUrl)&&i&&i.length&&productUrl&&(e.href=productUrl)}module.exports=(t=>{const e=isSkimLink(t);visit.onceReady(function(t){visitState=t}),e&&(setExcludedHostnames(t),globalClick.addHandler(convertSkimlink,revertSkimLink))}); }, {"4":4,"57":57,"59":59,"60":60,"61":61,"62":62}]; window.modules["gtm.client"] = [function(require,module,exports){"use strict";const $gtm=require(3);DS.controller("gtm",[function(){return function(t){$gtm.init(t.getAttribute("data-container-id"),t.getAttribute("data-site-slug"))}}]); }, {"3":3}]; window.modules["banner-callout.client"] = [function(require,module,exports){"use strict";const visit=require(59),_get=require(9);module.exports=(t=>{let e;const s=t.querySelector(".banner-trigger"),i=window.localStorage,a=`banner-callout-${_get(window.kiln,"preloadSite.slug","nymag")}`;visit.onceReady(function(){!function(){try{e=JSON.parse(i.getItem(a))||{}}catch(t){e={}}}(),e.dismissed||t.classList.add("show")}),t.addEventListener("click",n=>{(n.target.matches("a")||n.target.matches("span.banner-link")||n.target.matches(".banner-trigger"))&&(e.dismissed=Date.now().toString(),function(){try{i.setItem(a,JSON.stringify(e))}catch(t){}}(),function(){t.classList.contains("show")?s.setAttribute("aria-expanded","false"):s.setAttribute("aria-expanded","true");t.classList.remove("show")}())})}); }, {"9":9,"59":59}]; window.modules["global-nav.client"] = [function(require,module,exports){"use strict";const dom=require(4),auth0=require(7),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(3),pageUri=require(148).getPageUri();function closeDropdowns(e){let n=globalNav.querySelectorAll(".dropdown.open");dropdownItems.forEach(function(t){let o=t.querySelector(".dropdown");!n||t.contains(e.target)&&27!==e.keyCode||o.classList.remove("open")})}function gtmSendReport(e,n,t){let o={eventCategory:"ecommerce",eventAction:"componentClick",brand:e,dimension23:"global-nav",list:pageUri,pageZone:"header",variant:"nav-link"};"global-nav-link"===t&&(o.eventLabel=n.href),gtm.reportNow(o)}function init(e){auth0.on("init",()=>{signInButton.addEventListener("click",function(e){e.preventDefault(),auth0.showLogin()}),signOutButton.addEventListener("click",function(e){e.preventDefault(),auth0.logout(),gtmSendReport("Sign Out",e.target,"user-info-link")}),auth0.isAuthenticated()&&e.classList.add("signed-in"),auth0.isSubscriber()&&e.classList.add("subscribed"),e.querySelectorAll(".user-link").forEach(e=>{e.classList.add("active")})}),auth0.on("login",()=>{e.classList.add("signed-in"),auth0.isSubscriber()&&e.classList.add("subscribed")}),auth0.on("logout",()=>{e.classList.remove("signed-in"),e.classList.remove("subscribed")})}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 n=e.target;n.classList.contains("global-nav-track")&&gtmSendReport(n.text,n,"global-nav-link")}),module.exports=init; }, {"3":3,"4":4,"7":7,"148":148}]; window.modules["aaa-module-mounting.legacy"] = [function(require,module,exports){"use strict";const eventify=require(176),_pickBy=require(151),_each=require(312),fingerprintjs2=require(311),DS=require(310);function registerGlobals(){window.DS=DS,window.Eventify=eventify,window.Fingerprint2=fingerprintjs2,DS.value("Eventify",eventify),DS.value("Fingerprint2",fingerprintjs2),DS.value("$document",window.document),DS.value("$window",window)}function mountDollarSliceComponents(){DS.service("components",["$document","$module",function(e,n){var r=_pickBy(n.definitions,e=>e.providerStrategy===n.providers.controller),o=Object.keys(r);function t(e){return r=>{try{n.get(e,r)}catch(e){logMountError(r,e)}}}_each(o,n=>{var r=e.querySelectorAll('[data-uri*="/_components/'+n+'/"]'),o=e.querySelectorAll('[data-uri$="/_components/'+n+'"]');_each(r,t(n)),_each(o,t(n))}),this.components=o}]),DS.get("components")}function logMountError(e,n){const r=e.outerHTML.slice(0,e.outerHTML.indexOf(e.innerHTML));console.error("Error attaching controller to "+r,n)}registerGlobals(),document.addEventListener("DOMContentLoaded",()=>{mountDollarSliceComponents()}); }, {"151":151,"176":176,"310":310,"311":311,"312":312}]; window.modules["ads.legacy"] = [function(require,module,exports){"use strict";const _map=require(63),_forEach=require(53),_isString=require(195),_intersectionWith=require(313),_isEqual=require(201),_each=require(312),_debounce=require(111),_sortBy=require(134),page=require(148),visit=require(59);DS.service("adService",["Eventify","$cid","$document","$window",function(e,t,a,i){var o,n,s,r,d,c,l,u,g,p,m={},h=this,f=[],b=visit.getQueryParamsObject(["utm_campaign"]),w=document.querySelector('script[data-type="ad-a9"]');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&&(i.googletag.cmd=i.googletag.cmd||[],i.googletag.cmd.push(function(){i.googletag.pubads().disableInitialLoad()}),l=i.setInterval(function(){void 0!==window.apstag&&void 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)),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=h.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=v(o))?window.apstag&&window.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})})}):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,r&&r.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},m[n]=this},r=function(e){c.cmd.push(function(){var t=o(e);m[e.data.id]=t})},s=function(e){var t=[];e.slot?(t=v(e))&&window.apstag&&window.apstag.cleared&&window.apstag.fetchBids({slots:[t],timeout:window.apstag.timeout},function(){c.cmd.push(function(){window.apstag.setDisplayBids(),c.pubads().refresh([e.slot],{changeCorrelator:!1})})}):e&&r(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,"")).length&&o.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(m);return _each(i,function(i){(t=m[i]).data.loaded&&t.data.label===e&&a++}),a},this.getById=function(e){return m[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)}),f=[]},10),this.addToPageLoadQueue=function(e){f.push(e),d()});function v(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.sizes&&e.sizes.length&&(t={slotID:e.id,sizes:a,slotName:e.label}),t}}]); }, {"53":53,"59":59,"63":63,"111":111,"134":134,"148":148,"195":195,"201":201,"312":312,"313":313}]; window.modules["cid.legacy"] = [function(require,module,exports){"use strict";DS.service("$cid",function(){var r=Math.floor(100*Math.random());return function(){return"cid-"+ ++r}}); }, {}]; window.modules["facebook.legacy"] = [function(require,module,exports){"use strict";DS.service("facebook",[function(){this.fb=function(i){window.FB&&window.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(!u&&a)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(); // ]]

https://nymag.com/intelligencer/2021/04/covid-19-and-the-people-who-dont-want-to-return-to-normalcy.html