HBO to Feature Rex Ryan, Occasionally Some Jets Players - TV - Vulture Intelligencer The Cut Vulture The Strategist Curbed Grub Street Magazine Subscribe to the Magazine Give a Gift Subscription Buy Back Issues Current Issue Contents Subscribe Sign In Account Profile Sign Out Menu Menu Close Close Search Intelligencer Politics Technology Business Ideas The Cut Style Self Culture Power Vulture TV Movies Comedy Music Books Art Theater What to Stream Curbed Cityscape Design Hunting The Real Estate Corner Shop The Strategist Gift Guides Sales Beauty Home Kitchen + Dining Fashion Travel Tech + Electronics Fitness Kids & Babies Grub Street Restaurants & Bars The Thousand Best The Magazine Current Issue Crossword Subscribe Gift Subscriptions Buy Back Issues More About Newsletters Podcasts Videos Best of New York Best Doctors Top Rated Lawyers Subscribe Search Like Us Follow Us Follow Us Search Search Close Subscribe Give A Gift Menu Menu Close Close Search Intelligencer Politics Technology Business Ideas The Cut Style Self Culture Power Vulture TV Movies Comedy Music Books Art Theater What to Stream Curbed Cityscape Design Hunting The Real Estate Corner Shop The Strategist Gift Guides Sales Beauty Home Kitchen + Dining Fashion Travel Tech + Electronics Fitness Kids & Babies Grub Street Restaurants & Bars The Thousand Best The Magazine Current Issue Crossword Subscribe Gift Subscriptions Buy Back Issues More About Newsletters Podcasts Videos Best of New York Best Doctors Top Rated Lawyers Subscribe Search Like Us Follow Us Follow Us Share Tweet Pin It +Comments Leave a Comment Search Search Close hard knocks Mar. 25, 2010 HBO to Feature Rex Ryan, Occasionally Some Jets Players By Will Leitch This morning, the Jets made official what everyone already knew yesterday: The Jets will be on HBO’s Hard Knocks this season. We’ll confess to having never watched the program: We are crazy enough to restrict our sports reality television viewing to actual live sporting events. Nevertheless, people seem to like it, so if that’s your bag, go to it. Meanwhile, the Daily News’ Rich Cimini points out that the main reason the notoriously secretive Jets are agreeing to letting HBO cameras in is … unsold PSLs. Because nothing makes people rush through the turnstiles like a preening Rex Ryan, fresh off his lap-band surgery. Tags: football hard knocks jets rex ryan sports More HBO to Feature Rex Ryan, Occasionally Some Jets Players Don’t Worry, Darling, It’s Judgment Day The Problem With Dahmer Constance Wu Alleges Sexual Harassment, Intimidation on Fresh Off the Boat Lorne Michaels to SNL Spouses: You Got Two Years to Host or No Big Party for You Another Famous Man Revealed to Be Criminally Bad at Sexting Don’t Worry, Darling, It’s Judgment Day Meghan of Montecito The Problem With Dahmer The Haunting of a Dream House The Sordid Saga of Hunter Biden’s Laptop The Latest exhibit a 9:00 a.m. It’s Blindingly Clear the Feds Failed to Investigate Trump’s Finances Letitia James’s fraud lawsuit is also an indictment of the Justice Department. rip 12:59 a.m. One Flew Over the Cuckoo’s Nest Actress Louise Fletcher Has Died The 88-year-old was also known for recurring roles on shows like Star Trek: Deep Space Nine and Shameless. overnights Yesterday at 11:31 p.m. Los Espookys Recap: Oh No, My Bibi-lungs! Our typically nonconformist crew is flirting with the idea of following the rules. bah humbug buddies Yesterday at 11:25 p.m. Will Ferrell and Ryan Reynolds to Sing a Modern Christmas Carol Apple is adapting the Dickens classic as a musical comedy called Spirited. coming soon Yesterday at 9:43 p.m. The Original High School Musical Cast Is (Almost) All in This Together “This” being season four of High School Musical: The Musical: The Series. overnights Yesterday at 9:31 p.m. RuPaul’s Secret Celebrity Drag Race Recap: Celebrity Snatch Who thought this was a good idea? allegations Yesterday at 7:34 p.m. Constance Wu Alleges Sexual Harassment, Intimidation on Fresh Off the Boat She says she kept quiet about the way a senior producer treated her because she didn’t want to stain the historic show’s reputation. design edit Yesterday at 6:45 p.m. Nature-Inspired Glass Lighting, Soft Seating at Lincoln Center, and More Finds Plus a monument to a historic Filipino settlement in Louisiana. always shopping Yesterday at 6:10 p.m. 22 Affordable Sweaters That Look Expensive The best way to prepare for sweater season without spending a fortune. By Brooke LaMantia and Andrew Nguyen tv review Yesterday at 6:00 p.m. The Problem With Dahmer The series states its aim to humanize those affected by the serial killer’s crimes, but it can’t resist a base attraction to its central monster. fashion Yesterday at 5:56 p.m. Seeing Double at Gucci As a tribute to his mother, Alessandro Michele cast all twin models. blank space Yesterday at 5:46 p.m. If Taylor Swift Isn’t Playing the Super Bowl Halftime Show, Who Is? We have some guesses and suggestions. ex-wife guy Yesterday at 5:37 p.m. Jesse Eisenberg Summons Divorced-Man Energy for Fleishman Is in Trouble Claire Danes and Lizzy Caplan co-star in the upcoming FX limited series. harris's foam book Yesterday at 5:34 p.m. Comedy Bang! Bang! Podcast to Perform in Character As a Book Coming April 2023 wherever you find books (not podcasts). 2022 midterms Yesterday at 5:30 p.m. House Republicans Release Their Vague ‘Agenda’ for 2023 There’s nothing about climate change, Russia, or extremist threats to democracy, and their abortion stance is very hard to find. the money game Yesterday at 5:22 p.m. Why the Global Economy Just Cracked Up A recession is all but certain. now streaming Yesterday at 5:00 p.m. What’s Leaving Netflix: October 2022 Schitt’s Creek seasons 1-6, Miss Congeniality, Ferris Bueller’s Day Off, and more. saw something said something Yesterday at 4:56 p.m. Doing Revenge? We Found Drea’s Daisy Tumbler Perfect for sipping from while working on your Yale admissions essay. invite only Yesterday at 4:54 p.m. Lorne Michaels to SNL Spouses: You Got Two Years to Host or No Big Party for You No pressure. tremendous content Yesterday at 4:47 p.m. Mehmet Oz: Buying a House for $1 Is Shameful (Unless My Family Does It) The Republican Senate candidate picked the wrong detail to use against his opponent, John Fetterman. Email You\'ll receive the next newsletter in your inbox. *Sorry, there was a problem signing you up. This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. or Already a subscriber? Sign In What is your email? This email will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us. Enter your email: Please enter a valid email address. Submit Email or Connect with Google Connect with Facebook Sign in | Subscribe Today Sign In To Continue Reading Create Your Free Account edit email Sign in with Facebook Sign in with Google Choose a password to create an account: Enter your password or sign in with a different email Forgot Password? Password must be at least 8 characters and contain: Lower case letters (a-z) Upper case letters (A-Z) Numbers (0-9) Special Characters (!@#$%^&*) This password will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us. Sign In Create Account You’re in! As part of your account, you’ll receive occasional updates and offers from New York, which you can opt out of anytime. Continue Reading or Already a subscriber? Sign In What is your email? This email will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us. Enter your email: Please enter a valid email address. Submit Email or Connect with Google Connect with Facebook Sign in | Subscribe Today Sign In To Continue Reading Create Your Free Account edit email Sign in with Facebook Sign in with Google Choose a password to create an account: Enter your password or sign in with a different email Forgot Password? Password must be at least 8 characters and contain: Lower case letters (a-z) Upper case letters (A-Z) Numbers (0-9) Special Characters (!@#$%^&*) This password will be used to sign into all New York sites. By submitting your email, you agree to our Terms and Privacy Policy and to receive email correspondence from us. Sign In Create Account You’re in! As part of your account, you’ll receive occasional updates and offers from New York, which you can opt out of anytime. Continue Reading Already a subscriber? Sign In View Account Log Out Already a subscriber? Sign In View Account Log Out Sign In to Comment Like Us Follow Us Follow Us Newsletters About Us Contact Media Kit We’re Hiring Press Trademark Privacy Terms Ad Choices Do Not Sell My Info Accessibility New York is a Vox Media Network. © 2022 Vox Media, LLC. All rights reserved. `).sort().join("")}function not(e){return!e}function isProduction(e){return!/(\.aws\.|dev\.|localhost|stg\.)/.test(e)}function isComponentInstance(e,t){return"string"==typeof e&&e.indexOf(`/_components/${t}/instances/`)>-1}function findComponentRef(e,t){let r;return function e(n){"object"==typeof n&&null!==n?isComponentInstance(n._ref,t)?r=n._ref:_each(n,e):isComponentInstance(n,t)&&(r=n)}(e),r}function findComponentData(e,t){let r;return function e(n){"object"==typeof n&&null!==n&&(isComponentInstance(n._ref,t)?delete(r=_cloneDeep(n))._ref:_each(n,e))}(e),r}function isConcertAds(e){return sitesWithConcert.includes(e)}function notIncludes(e,t){return!(!e||!t)&&!e.includes(t)}function isValidImageFeed(e){return"https://pyxis.nymag.com/v1/imgs/d7b/6d0/c207dc5ba42fb69e8f2d67796485a84bff-Careers-Mobile-BG.jpg"!==e}function isTwoMonthsOrLess(e,t){const r=new Date,n=t<=2,s=r.getMonth()+1;let o=!1;return e!==r.getFullYear()||n||(o=t<=r.getMonth()+3),e===r.getFullYear()+1&&n&&(11===s&&1===t||12===s&&t<=2)&&(o=!0),o}function checkDifferenceInDays(e,t,r){const n=new Date(e),s=new Date(t),o=Math.abs(n.getTime()-s.getTime());return Math.floor(o/864e5)>r}function isValidName(e,t){const r=_deburr(e);return r.length&&r.length<=27&&/^[A-Za-z][\-'A-Za-z ]{1,}[A-Za-z]*$/.test(r)?"":`Please enter a valid ${t} name`}function isValidRange(e,t,r){return e>t&&e<=r}function isEmailValid(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.length>0&&e.length<=50&&/^(?:(?:[^<>()\[\]\\.,;:\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,}))$/.test(e)}const formValidator={firstName:e=>isValidName(e,"first"),lastName:e=>isValidName(e,"last"),address1(e){const t=isValidRange(e.length,0,50);return e?t?"":"Address is too long":"Please enter a street address"},city:e=>isValidRange(e.length,0,40)&&/\w{3}/.test(e)?"":"Please enter a valid city name",country:e=>e?"":"Please select a country",stateCode:e=>e?"":"Please select a state",provinceCode:e=>e?"":"Please select a province",zipCode:e=>/^\d{5}$/.test(e)?"":"Please enter a valid five-digit ZIP code",postalCodeCA:e=>/^\w{3}\s\w{3}$/.test(e)?"":"Please enter a valid six-character postal code",postalCodeAU:e=>/^\d{4}$/.test(e)?"":"Please enter a valid four-character postal code",intPostalCode:e=>e&&e.length<10?"":"Please add a postal code"},passwordValidators={hasLowerCase:{fn:e=>e.match(/[a-z]/),err:"Must have at least one lowercase letter"},hasUpperCase:{fn:e=>e.match(/[A-Z]/),err:"Must have at least one uppercase letter"},hasNumber:{fn:e=>e.match(/[0-9]/),err:"Must have at least one number"},hasSpecialCharacter:{fn:e=>e.match(/[!@#$%^&*()_+=-]/),err:"Must have at least one special character"}};module.exports.formValidator=formValidator,module.exports.passwordValidators=passwordValidators,module.exports.isFieldEmpty=isFieldEmpty,module.exports.isValidName=isValidName,module.exports.isValidRange=isValidRange,module.exports.has=has,module.exports.replaceVersion=replaceVersion,module.exports.uriToUrl=uriToUrl,module.exports.urlToUri=urlToUri,module.exports.canonicalUrlToUri=canonicalUrlToUri,module.exports.formatStart=formatStart,module.exports.getSiteBaseUrl=getSiteBaseUrl,module.exports.getSiteRootHost=getSiteRootHost,module.exports.isPublishedVersion=isPublishedVersion,module.exports.ensurePublishedVersion=ensurePublishedVersion,module.exports.isInstance=isInstance,module.exports.isPage=isPage,module.exports.urlToCanonicalUrl=urlToCanonicalUrl,module.exports.getInstanceId=getInstanceId,module.exports.prefixElasticIndex=prefixElasticIndex,module.exports.normalizeTags=normalizeTags,module.exports.crosspostedFromSite=crosspostedFromSite,module.exports.isSponsored=isSponsored,module.exports.keyObjectToArray=keyObjectToArray,module.exports.valuesToOptions=valuesToOptions,module.exports.not=not,module.exports.isProduction=isProduction,module.exports.findComponentRef=findComponentRef,module.exports.findComponentData=findComponentData,module.exports.isComponentInstance=isComponentInstance,module.exports.isConcertAds=isConcertAds,module.exports.notIncludes=notIncludes,module.exports.isValidImageFeed=isValidImageFeed,module.exports.isTwoMonthsOrLess=isTwoMonthsOrLess,module.exports.checkDifferenceInDays=checkDifferenceInDays,module.exports.isEmailValid=isEmailValid; }).call(this)}).call(this,require(46))}, {"7":7,"20":20,"46":46,"72":72,"86":86,"99":99,"108":108,"131":131,"135":135,"137":137,"138":138,"197":197,"230":230,"334":334,"356":356,"1226":1226,"1228":1228}]; window.modules["7"] = [function(require,module,exports){"use strict";const speakingurl=require(1398),he=require(888),typogr=require(1471),headQuotes=require(889),striptags=require(102),_isString=require(230),_isPlainObject=require(1121),_mapValues=require(252),_isArray=require(197),_toLower=require(1237),{fold:fold}=require(829),NON_ALPHANUMERIC_RE=/[_\W]/g,UNICODE_RE=/[^A-Za-z 0-9\.,\?!@#\$%\^&\*\(\)-_=\+;:<>\/\\\|\}\{\[\]~]*/g,DISPLAYNAME_RE=/^[a-z0-9_.+-]{3,32}$/gi;function toSmartHeadline(e){return headQuotes(he.decode(e)).replace("---","—").replace("--","–").replace("...","…")}function toSmartText(e){let r=typogr(he.decode(e||"")).chain().smartypants().value().replace(/^(\'|‘|’)/g,"‘").replace(/’\$2/g,"’");return he.decode(r)}function stripUnicode(e){return e.replace(UNICODE_RE,"")}function toPlainText(e){return _isString(e)?he.decode(striptags(e.replace(/ /g," "))):""}function cleanSlug(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{replaceAccentCharacters:!1}).replaceAccentCharacters&&(e=normalizeName(e)),speakingurl(toPlainText(stripUnicode(e)),{custom:{_:"-"}})}function validateTagContent(e){var r=striptags(e);return""===r||r.match(/^\s+$/)?"":e}function recursivelyStripSeperators(e){return _isPlainObject(e)?_mapValues(e,recursivelyStripSeperators):_isArray(e)?e.map(recursivelyStripSeperators):_isString(e)?e.replace(/(\u2028|\u2029)/g,""):e}function removeNonAlphanumericCharacters(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(NON_ALPHANUMERIC_RE,"")}function normalizeName(e){return fold(_toLower(e.trim()))}function validateDisplayName(e){return e.match(DISPLAYNAME_RE)}module.exports.toSmartHeadline=toSmartHeadline,module.exports.toSmartText=toSmartText,module.exports.stripUnicode=stripUnicode,module.exports.toPlainText=toPlainText,module.exports.cleanSlug=cleanSlug,module.exports.validateTagContent=validateTagContent,module.exports.recursivelyStripSeperators=recursivelyStripSeperators,module.exports.removeNonAlphanumericCharacters=removeNonAlphanumericCharacters,module.exports.normalizeName=normalizeName,module.exports.validateDisplayName=validateDisplayName; }, {"102":102,"197":197,"230":230,"252":252,"829":829,"888":888,"889":889,"1121":1121,"1237":1237,"1398":1398,"1471":1471}]; window.modules["13"] = [function(require,module,exports){"use strict";const{isProduction:isProduction}=require(6);module.exports=function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hostname;return isProduction(o)}; }, {"6":6}]; window.modules["19"] = [function(require,module,exports){(function (process){(function (){ "use strict";const clayLog=require(233),_defaults=require(1217);let sitesLogInstance,navigatorReference;function init(e,s){var n={};"undefined"!=typeof window&&void 0===window.process?sitesLogInstance=null:(e&&(n.sitesVersion=e),s&&(n.browserVersion=navigatorReference.userAgent),clayLog.init({name:"sites",meta:n}),sitesLogInstance=clayLog.getLogger())}function setup(e){return e=_defaults({},e,{file:"File not specified! Please declare a file"}),sitesLogInstance?clayLog.meta(e,sitesLogInstance):console.log}process.versions&&process.versions.node||(navigatorReference=navigator,init(null,!0)),module.exports.init=init,module.exports.setup=setup,module.exports.assignNavigator=function(e){navigatorReference=e},module.exports.assignLogInstance=function(e){sitesLogInstance=e}; }).call(this)}).call(this,require(46))}, {"46":46,"233":233,"1217":1217}]; window.modules["20"] = [function(require,module,exports){var baseGet=require(1065);function get(e,t,r){var a=null==e?void 0:baseGet(e,t);return void 0===a?r:a}module.exports=get; }, {"1065":1065}]; window.modules["22"] = [function(require,module,exports){"use strict";const _get=require(20),isProd=require(13)(),queryString=require(136),store=require(299),gtm=require(4),AUTH0_AUTH="auth0:access_token",AUTH0_EXPIRATION="auth0:expiration",AUTH0_PROFILE="auth0:profile",USER_LAST_VISIT="LastLogIn",USER_DATA="userData",AUTHORIZE_ROUTE="/oauth/authorize",LOGIN_ROUTE="/oauth/login",LOGOUT_ROUTE="/oauth/logout",RESET_PASSWORD_ROUTE="/oauth/user/reset-password",SIGNIN_ROUTE="/oauth/signin",SIGNUP_ROUTE="/oauth/signup",USER_CANCELED_SUB_CHECK_ROUTE="/oauth/user/update/canceled-subscription-check",USER_FIND_BY_EMAIL_ROUTE="/oauth/user/find-by-email",USER_PAYMENT_INFO_ROUTE="/oauth/user/update/payment-info",USER_PROFILE_ROUTE="/oauth/user/profile",USER_UPDATE_ROUTE="/oauth/user/update",enableLog=!isProd||document.location.search.match("auth0Debug");let tokenRenewalTimeout,userProfile={};function checkLogin(){return!isUserAuthenticatedInLocalStorage()&&userProfile.isAuthenticated?Promise.resolve(userProfile):fetch(`https://${location.host}${USER_PROFILE_ROUTE}`).then(e=>e.json()).then(e=>(userProfile=e,isUserAuthenticatedInLocalStorage()&&userProfile.isAuthenticated&&clearLocalSession(),userProfile)).catch(e=>console.log(e))}function getUpdatedUserProfile(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return fetch(`https://${location.host}${USER_PROFILE_ROUTE}?refresh&fetch=${e}`).then(e=>e.json()).then(e=>userProfile=e).catch(e=>console.log(e))}function showEmbeddedLoginFlow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.href;if(e){const t={event:"authentication",authenticationMethod:`${e} - sign up/sign in`};gtm.reportNow(t)}const o=window.location.hostname,n=o.includes("localhost.")?"localhost.":"",r=o.includes("stg.")?"stg.":"",s=o.includes(".dev.")?/.*.dev./gm.exec(o)[0]:"",i=isProd?"subs.nymag.com/account":(n||r||s)+"nymag.com/_pages/ckocyts9z0000m9ogqb81pgwv@published.html";window.location.href=`https://${i}?redirectUrl=${encodeURIComponent(t)}`}function showLogin(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.href,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0;if(o){const e={event:"authentication",authenticationMethod:`${n} - sign up/sign in`};gtm.reportNow(e)}const r=encodeURIComponent(t),s=e?`&socialConnection=${e}`:"";window.location.href=`${window.location.origin}${AUTHORIZE_ROUTE}?originalUrl=${r}${s}`}function logout(){const e=`${window.location.href}`,t=encodeURIComponent(e);authlog("auth0 logging out"),clearLocalSession(),window.location.href=`${window.location.origin}${LOGOUT_ROUTE}?originalUrl=${t}`}function createUser(e,t){let{email:o,password:n}=e;const r={email:o,password:n},s=queryString.stringify({email:o});return new Promise((e,o)=>(t?Promise.resolve({status:200}):fetch(`https://${location.host}/_user/email/verify?${s}`,{headers:{"Content-Type":"application/json"}}).then(e=>e.json())).then(t=>t&&t.status?fetch(`${window.location.origin}${SIGNUP_ROUTE}`,{body:JSON.stringify(r),credentials:"include",headers:{"Content-Type":"application/json"},method:"post",redirect:"follow"}).then(()=>e()).catch(e=>o(e)):o(t)).catch(e=>{if(e.status>=400)return e.json().then(e=>o(JSON.parse(e.message)))}))}function loginUser(e){let{email:t,password:o}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.location.href;const r=window.location.origin,s={email:t,password:o},i=encodeURIComponent(n);return fetch(`${window.location.origin}${SIGNIN_ROUTE}`,{body:JSON.stringify(s),credentials:"include",headers:{"Content-Type":"application/json"},method:"post",redirect:"follow"}).then(e=>{if(!(e.status<400))return e.json().then(e=>Promise.reject(JSON.parse(e.message)));window.location.href=`${r}${LOGIN_ROUTE}?originalUrl=${i}`})}function triggerPasswordReset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=window.location.origin,o=e?`?email=${encodeURIComponent(e)}`:"";return fetch(`${t}${RESET_PASSWORD_ROUTE}${o}`).then(e=>{if(!e.ok)return e.json().then(e=>Promise.reject(JSON.parse(e.message)))})}function updateUserAttributes(e,t){const o=window.location.origin;return fetch(`${o}${USER_UPDATE_ROUTE}`,{body:JSON.stringify({userId:e,attributes:t}),credentials:"include",headers:{"Content-Type":"application/json"},method:"post"}).then(e=>e.status>=400?e.json().then(e=>Promise.reject(JSON.parse(e.message))):e)}function updateUserCanceledSubscriptionCheck(e){const t=window.location.origin;return fetch(`${t}${USER_CANCELED_SUB_CHECK_ROUTE}`,{body:JSON.stringify({date:e}),credentials:"include",headers:{"Content-Type":"application/json"},method:"post"}).then(e=>e.status>=400?e.json().then(e=>Promise.reject(JSON.parse(e.message))):e.json().then(e=>(userProfile.lastDateCanceledSubscriptionChecked=e,e))).catch(e=>console.error("THERE WAS AN ERROR SETTING THE USER PROFILE PROPERTY: ",e))}function updateUserPaymentInfo(e){const t=window.location.origin;return fetch(`${t}${USER_PAYMENT_INFO_ROUTE}`,{body:JSON.stringify({paymentInfo:e}),credentials:"include",headers:{"Content-Type":"application/json"},method:"post"}).then(e=>e.status>=400?e.json().then(e=>Promise.reject(JSON.parse(e.message))):e.json().then(e=>(userProfile.paymentInfo=e,e))).catch(e=>console.error("THERE WAS AN ERROR SETTING THE PAYMENT: ",e))}function getUserByEmail(e,t){const o=new URLSearchParams({email:e});return fetch(`https://${t.host}/_user/find-by-email?${o}`).then(e=>e.json()).then(e=>e).catch(e=>console.log(e))}function getLastIdentity(){return getUserInfoById().then(e=>{const t=_get(e,"identities");return!!t&&t.slice(t.length-1)[0]}).catch(e=>console.log(e))}function getUserInfoByEmail(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getEmail();const t=window.location.origin;return fetch(`${t}${USER_FIND_BY_EMAIL_ROUTE}?email=${encodeURIComponent(e)}`).then(e=>e.json()).catch(e=>console.log(e))}function getUserInfoById(){const e=window.location.origin;return fetch(`${e}${USER_PROFILE_ROUTE}?userId=${getUserID()}`).then(e=>e.json()).catch(e=>console.log(e))}function updateDisplayName(e,t){const o=e.toLowerCase(),n=queryString.stringify({displayName:o}),r=`https://${t.host}/_user/check-displayname?${n}`,s=getUserID();return fetch(r).then(e=>e.text()).then(e=>{if("ok"!==e)return{message:e};return updateUserAttributes(s,{user_metadata:{displayName:o}})})}function authlog(e){enableLog&&console.log(e)}function isAuthenticated(){return userProfile.isAuthenticated||!!store.get(AUTH0_AUTH)}function getUserID(){const e=store.get(AUTH0_PROFILE);return userProfile.sub||e&&e.sub||""}function getEmail(){const e=store.get(AUTH0_PROFILE);return userProfile.email||e&&e.email}function getGivenName(){const e=store.get(AUTH0_PROFILE);return userProfile&&userProfile.given_name||e&&e.given_name||""}function getUserMetadata(){const e=store.get(AUTH0_PROFILE);return userProfile["http://nymag.com/user_metadata"]||e&&e["http://nymag.com/user_metadata"]}function getUserLastDateCanceledSubscriptionChecked(){return userProfile.lastDateCanceledSubscriptionChecked}function getUserPaymentInfo(){return userProfile&&userProfile.paymentInfo||{}}function getAppMetadata(){const e=store.get(AUTH0_PROFILE);return userProfile["http://nymag.com/app_metadata"]||e&&e["http://nymag.com/app_metadata"]}function getAuthJwt(){return userProfile.authJwt}function getCoralJwt(){const e=store.get(AUTH0_PROFILE);return userProfile.coralJwt||e&&e["http://nymag.com/coral_talk"]}function isSubscriber(){const e=getAppMetadata();return!!e&&e.has_subscription}function isEmailVerified(){const e=store.get(AUTH0_PROFILE);return userProfile.email_verified||!!e&&e.email_verified}function clearLocalSession(){authlog("clearing local store"),clearTimeout(tokenRenewalTimeout),store.remove(AUTH0_AUTH),store.remove(AUTH0_PROFILE),store.remove(AUTH0_EXPIRATION),store.remove(USER_LAST_VISIT),store.remove(USER_DATA)}function isUserAuthenticatedInLocalStorage(){return!!store.get(AUTH0_AUTH)}function getNymcid(){return userProfile.nymcid||""}function load(){return checkLogin().then(()=>{authlog(`USER ${isAuthenticated()?"":"NOT"} LOGGED IN, INIT EVENT ${Date.now()}`);const e=new CustomEvent("auth0:init",{detail:userProfile});window.dispatchEvent(e)}).catch(console.log)}module.exports.checkLogin=checkLogin,module.exports.clearLocalSession=clearLocalSession,module.exports.createUser=createUser,module.exports.getAppMetadata=getAppMetadata,module.exports.getAuthJwt=getAuthJwt,module.exports.getCoralJwt=getCoralJwt,module.exports.getEmail=getEmail,module.exports.getGivenName=getGivenName,module.exports.getLastIdentity=getLastIdentity,module.exports.getNymcid=getNymcid,module.exports.getUserByEmail=getUserByEmail,module.exports.getUserID=getUserID,module.exports.getUserInfo=getUserInfoById,module.exports.getUserInfoByEmail=getUserInfoByEmail,module.exports.getUserLastDateCanceledSubscriptionChecked=getUserLastDateCanceledSubscriptionChecked,module.exports.getUserMetadata=getUserMetadata,module.exports.getUserPaymentInfo=getUserPaymentInfo,module.exports.isAuthenticated=isAuthenticated,module.exports.isEmailVerified=isEmailVerified,module.exports.isSubscriber=isSubscriber,module.exports.isUserAuthenticatedInLocalStorage=isUserAuthenticatedInLocalStorage,module.exports.loginUser=loginUser,module.exports.logout=logout,module.exports.getUpdatedUserProfile=getUpdatedUserProfile,module.exports.showEmbeddedLoginFlow=showEmbeddedLoginFlow,module.exports.showLogin=showLogin,module.exports.triggerPasswordReset=triggerPasswordReset,module.exports.updateDisplayName=updateDisplayName,module.exports.updateUserAttributes=updateUserAttributes,module.exports.updateUserCanceledSubscriptionCheck=updateUserCanceledSubscriptionCheck,module.exports.updateUserPaymentInfo=updateUserPaymentInfo,authlog("Loading auth0"),load(); }, {"4":4,"13":13,"20":20,"136":136,"299":299}]; window.modules["30"] = [function(require,module,exports){(function (process){(function (){ "use strict";const getJSONP=require(953),_defaults=require(1217);function authenticate(t){return t.headers.Authorization="Token "+window.process.env.CLAY_ACCESS_KEY,t.credentials="same-origin",t}function addFakeCallback(){return("&callback=cb"+Math.random()).replace(".","")}function checkStatus(t){if(t.status>=200&&t.status<300)return t;{const e=new Error(t.statusText);throw e.response=t,e}}require(257),module.exports.get=function(t,e){const n=_defaults({method:"GET"},e);return fetch(t,n).then(checkStatus).then(function(t){return t.json()})},module.exports.getJSONP=function(t){return new Promise(function(e,n){getJSONP(t+addFakeCallback(),function(t,o){t?n(t):e(o)})})},module.exports.getHTML=function(t){return fetch(t).then(checkStatus).then(function(t){return t.text()})},module.exports.put=function(t,e,n){const o={method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};return n&&authenticate(o),fetch(t,o).then(checkStatus).then(function(t){return t.json()})},module.exports.post=function(t,e,n){const o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};return n&&authenticate(o),fetch(t,o).then(checkStatus).then(function(t){return t.json()})},module.exports.patch=function(t,e,n){const o={method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};return n&&authenticate(o),fetch(t,o).then(checkStatus).then(function(t){return t.json()})},module.exports.purge=function(t){return fetch(t,{method:"PURGE",headers:{"Content-Type":"application/json",Method:"PURGE"}}).then(checkStatus).then(function(t){return t.json()})},module.exports.crummashiePurge=function(t){const e={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`url=${encodeURIComponent(t)}`};return fetch("http://crummashie.prd.nymetro.com/invalidate/",e).then(checkStatus)},module.exports.checkStatus=checkStatus; }).call(this)}).call(this,require(46))}, {"46":46,"257":257,"953":953,"1217":1217}]; window.modules["41"] = [function(require,module,exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ReCaptchaInstance=exports.getInstance=exports.load=void 0;var ReCaptchaLoader_1=require(1364);Object.defineProperty(exports,"load",{enumerable:!0,get:function(){return ReCaptchaLoader_1.load}}),Object.defineProperty(exports,"getInstance",{enumerable:!0,get:function(){return ReCaptchaLoader_1.getInstance}});var ReCaptchaInstance_1=require(1363);Object.defineProperty(exports,"ReCaptchaInstance",{enumerable:!0,get:function(){return ReCaptchaInstance_1.ReCaptchaInstance}}); }, {"1363":1363,"1364":1364}]; window.modules["46"] = [function(require,module,exports){var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(cachedSetTimeout===setTimeout)return setTimeout(e,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(e,0);try{return cachedSetTimeout(e,0)}catch(t){try{return cachedSetTimeout.call(null,e,0)}catch(t){return cachedSetTimeout.call(this,e,0)}}}function runClearTimeout(e){if(cachedClearTimeout===clearTimeout)return clearTimeout(e);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(e);try{return cachedClearTimeout(e)}catch(t){try{return cachedClearTimeout.call(null,e)}catch(t){return cachedClearTimeout.call(this,e)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var e=runTimeout(cleanUpNextTick);draining=!0;for(var t=queue.length;t;){for(currentQueue=queue,queue=[];++queueIndex1)for(var r=1;r>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},W={};function C(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(W[e]=i),t&&(W[t[0]]=function(){return T(i.apply(this,arguments),t[1],t[2])}),n&&(W[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e,t){return e.isValid()?(t=H(t,e.localeData()),R[t]=R[t]||function(e){var t,n,s,i=e.match(N);for(t=0,n=i.length;t=0&&P.test(e);)e=e.replace(P,s),P.lastIndex=0,n-=1;return e}var F={};function L(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function V(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function G(e){var t,n,s={};for(n in e)r(e,n)&&(t=V(n))&&(s[t]=e[n]);return s}var E={};function A(e,t){E[e]=t}function j(e){return e%4==0&&e%100!=0||e%400==0}function I(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Z(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=I(t)),n}function z(e,t){return function(s){return null!=s?(q(this,e,s),n.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&j(e.year())&&1===e.month()&&29===e.date()?(n=Z(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Te(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var B,J=/\d/,Q=/\d\d/,X=/\d{3}/,K=/\d{4}/,ee=/[+-]?\d{6}/,te=/\d\d?/,ne=/\d\d\d\d?/,se=/\d\d\d\d\d\d?/,ie=/\d{1,3}/,re=/\d{1,4}/,ae=/[+-]?\d{1,6}/,oe=/\d+/,ue=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,de=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ce(e,t,n){B[e]=O(t)?t:function(e,s){return e&&n?n:t}}function fe(e,t){return r(B,e)?B[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i})))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}B={};var _e={};function ye(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),u(t)&&(s=function(e,n){n[t]=Z(e)}),n=0;n<=9999?T(e,4):"+"+e}),C(0,["YY",2],0,function(){return this.year()%100}),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),L("year","y"),A("year",1),ce("Y",ue),ce("YY",te,Q),ce("YYYY",re,K),ce("YYYYY",ae,ee),ce("YYYYYY",ae,ee),ye(["YYYYY","YYYYYY"],ve),ye("YYYY",function(e,t){t[ve]=2===e.length?n.parseTwoDigitYear(e):Z(e)}),ye("YY",function(e,t){t[ve]=n.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[ve]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return Z(e)+(Z(e)>68?1900:2e3)};var Ve=z("FullYear",!0);function Ge(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ee(e,t,n){var s=7+t-n;return-((7+Ge(e,0,s).getUTCDay()-t)%7)+s-1}function Ae(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+Ee(e,s,i);return o<=0?a=Le(r=e-1)+o:o>Le(e)?(r=e+1,a=o-Le(e)):(r=e,a=o),{year:r,dayOfYear:a}}function je(e,t,n){var s,i,r=Ee(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ie(i=e.year()-1,t,n):a>Ie(e.year(),t,n)?(s=a-Ie(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ie(e,t,n){var s=Ee(e,t,n),i=Ee(e+1,t,n);return(Le(e)-s+i)/7}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),A("week",5),A("isoWeek",5),ce("w",te),ce("ww",te,Q),ce("W",te),ce("WW",te,Q),ge(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=Z(e)});function Ze(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),C("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),C("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),A("day",11),A("weekday",11),A("isoWeekday",11),ce("d",te),ce("e",te),ce("E",te),ce("dd",function(e,t){return t.weekdaysMinRegex(e)}),ce("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ce("dddd",function(e,t){return t.weekdaysRegex(e)}),ge(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),ge(["d","e","E"],function(e,t,n,s){t[s]=Z(e)});var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),$e="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Be=de,Je=de,Qe=de;function Xe(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=c([2e3,1]).day(t),s=me(this.weekdaysMin(n,"")),i=me(this.weekdaysShort(n,"")),r=me(this.weekdays(n,"")),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);a.sort(e),o.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function et(e,t){C(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Ke),C("k",["kk",2],0,function(){return this.hours()||24}),C("hmm",0,0,function(){return""+Ke.apply(this)+T(this.minutes(),2)}),C("hmmss",0,0,function(){return""+Ke.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),C("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),C("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),et("a",!0),et("A",!1),L("hour","h"),A("hour",13),ce("a",tt),ce("A",tt),ce("H",te),ce("h",te),ce("k",te),ce("HH",te,Q),ce("hh",te,Q),ce("kk",te,Q),ce("hmm",ne),ce("hmmss",se),ce("Hmm",ne),ce("Hmmss",se),ye(["H","HH"],De),ye(["k","kk"],function(e,t,n){var s=Z(e);t[De]=24===s?0:s}),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[De]=Z(e),f(n).bigHour=!0}),ye("hmm",function(e,t,n){var s=e.length-2;t[De]=Z(e.substr(0,s)),t[Se]=Z(e.substr(s)),f(n).bigHour=!0}),ye("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[De]=Z(e.substr(0,s)),t[Se]=Z(e.substr(s,2)),t[Ye]=Z(e.substr(i)),f(n).bigHour=!0}),ye("Hmm",function(e,t,n){var s=e.length-2;t[De]=Z(e.substr(0,s)),t[Se]=Z(e.substr(s))}),ye("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[De]=Z(e.substr(0,s)),t[Se]=Z(e.substr(s,2)),t[Ye]=Z(e.substr(i))});var nt=z("Hours",!0);var st,it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ne,monthsShort:Pe,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:qe,weekdaysShort:$e,meridiemParse:/[ap]\.?m?\.?/i},rt={},at={};function ot(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n0;){if(s=lt(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&ot(i,n)>=t-1)break;t--}r++}return st}(e)}function ft(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[ke]<0||n[ke]>11?ke:n[Me]<1||n[Me]>Te(n[ve],n[ke])?Me:n[De]<0||n[De]>24||24===n[De]&&(0!==n[Se]||0!==n[Ye]||0!==n[Oe])?De:n[Se]<0||n[Se]>59?Se:n[Ye]<0||n[Ye]>59?Ye:n[Oe]<0||n[Oe]>999?Oe:-1,f(e)._overflowDayOfYear&&(tMe)&&(t=Me),f(e)._overflowWeeks&&-1===t&&(t=be),f(e)._overflowWeekday&&-1===t&&(t=xe),f(e).overflow=t),e}var mt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_t=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yt=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],wt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,vt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e){var t,n,s,i,r,a,o=e._i,u=mt.exec(o)||_t.exec(o);if(u){for(f(e).iso=!0,t=0,n=gt.length;t<=49?2e3+t:t<=999?1900+t:t}function St(e){var t,n,s,i,r,a,o,u,l=vt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){if(n=l[4],s=l[3],i=l[2],r=l[5],a=l[6],o=l[7],u=[Dt(n),Pe.indexOf(s),parseInt(i,10),parseInt(r,10),parseInt(a,10)],o&&u.push(parseInt(o,10)),t=u,!function(e,t,n){return!e||$e.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return kt[e];if(t)return 0;var s=parseInt(n,10),i=s%100;return(s-i)/100*60+i}(l[8],l[9],l[10]),e._d=Ge.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Yt(e,t,n){return null!=e?e:null!=t?t:n}function Ot(e){var t,s,i,r,a,o=[];if(!e._d){for(i=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[Me]&&null==e._a[ke]&&function(e){var t,n,s,i,r,a,o,u,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=Yt(t.GG,e._a[ve],je(Nt(),1,4).year),s=Yt(t.W,1),((i=Yt(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=je(Nt(),r,a),n=Yt(t.gg,e._a[ve],l.year),s=Yt(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r);s<1||s>Ie(n,r,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(o=Ae(n,s,i,r,a),e._a[ve]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=Yt(e._a[ve],i[ve]),(e._dayOfYear>Le(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),s=Ge(a,0,e._dayOfYear),e._a[ke]=s.getUTCMonth(),e._a[Me]=s.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[De]&&0===e._a[Se]&&0===e._a[Ye]&&0===e._a[Oe]&&(e._nextDay=!0,e._a[De]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[De]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function bt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],f(e).empty=!0;var t,s,i,r,a,o,u=""+e._i,l=u.length,h=0;for(i=H(e._f,e._locale).match(N)||[],t=0;t0&&f(e).unusedInput.push(a),u=u.slice(u.indexOf(s)+s.length),h+=s.length),W[r]?(s?f(e).empty=!1:f(e).unusedTokens.push(r),we(r,s,e)):e._strict&&!s&&f(e).unusedTokens.push(r);f(e).charsLeftOver=l-h,u.length>0&&f(e).unusedInput.push(u),e._a[De]<=12&&!0===f(e).bigHour&&e._a[De]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[De]=function(e,t,n){var s;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}(e._locale,e._a[De],e._meridiem),null!==(o=f(e).era)&&(e._a[ve]=e._locale.erasConvertYear(o,e._a[ve])),Ot(e),ft(e)}else St(e);else Mt(e)}function xt(e){var t=e._i,r=e._f;return e._locale=e._locale||ct(e._l),null===t||void 0===r&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new p(ft(t)):(l(t)?e._d=t:s(r)?function(e){var t,n,s,i,r,a,o=!1;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:_()});function Wt(e,t){var n,i;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return Nt();for(n=t[0],i=1;i<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){C(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+T(~~(e/60),2)+t+T(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),ce("Z",he),ce("ZZ",he),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Gt(he,e)});var Vt=/([\+\-]|\d\d)/gi;function Gt(e,t){var n,s,i=(t||"").match(e);return null===i?null:0===(s=60*(n=((i[i.length-1]||[])+"").match(Vt)||["-",0,0])[1]+Z(n[2]))?0:"+"===n[0]?s:-s}function Et(e,t){var s,i;return t._isUTC?(s=t.clone(),i=(v(e)||l(e)?e.valueOf():Nt(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),n.updateOffset(s,!1),s):Nt(e).local()}function At(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var It=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,s,i,a=e,o=null;return Ht(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=It.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:Z(o[Me])*n,h:Z(o[De])*n,m:Z(o[Se])*n,s:Z(o[Ye])*n,ms:Z(Ft(1e3*o[Oe]))*n}):(o=Zt.exec(e))?(n="-"===o[1]?-1:1,a={y:$t(o[2],n),M:$t(o[3],n),w:$t(o[4],n),d:$t(o[5],n),h:$t(o[6],n),m:$t(o[7],n),s:$t(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Et(t,e),e.isBefore(t)?n=qt(e,t):((n=qt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Nt(a.from),Nt(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),s=new Ut(a),Ht(e)&&r(e,"_locale")&&(s._locale=e._locale),Ht(e)&&r(e,"_isValid")&&(s._isValid=e._isValid),s}function $t(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Bt(e,t){return function(n,s){var i;return null===s||isNaN(+s)||(Y(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=s,s=i),Jt(this,zt(n,s),e),this}}function Jt(e,t,s,i){var r=t._milliseconds,a=Ft(t._days),o=Ft(t._months);e.isValid()&&(i=null==i||i,o&&Ue(e,$(e,"Month")+o*s),a&&q(e,"Date",$(e,"Date")+a*s),r&&e._d.setTime(e._d.valueOf()+r*s),i&&n.updateOffset(e,a||o))}zt.fn=Ut.prototype,zt.invalid=function(){return zt(NaN)};var Qt=Bt(1,"add"),Xt=Bt(-1,"subtract");function Kt(e){return"string"==typeof e||e instanceof String}function en(e){return v(e)||l(e)||Kt(e)||u(e)||function(e){var t=s(e),n=!1;t&&(n=0===e.filter(function(t){return!u(t)&&Kt(e)}).length);return t&&n}(e)||function(e){var t,n,s=i(e)&&!a(e),o=!1,u=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<100&&e>=0?new Date(e+400,t,n)-ln:new Date(e,t,n).valueOf()}function cn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ln:Date.UTC(e,t,n)}function fn(e,t){return t.erasAbbrRegex(e)}function mn(){var e,t,n=[],s=[],i=[],r=[],a=this.eras();for(e=0,t=a.length;e(r=Ie(e,s,i))&&(t=r),function(e,t,n,s,i){var r=Ae(e,t,n,s,i),a=Ge(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}.call(this,e,t,n,s,i))}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),ce("N",fn),ce("NN",fn),ce("NNN",fn),ce("NNNN",function(e,t){return t.erasNameRegex(e)}),ce("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ye(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?f(n).era=i:f(n).invalidEra=e}),ce("y",oe),ce("yy",oe),ce("yyy",oe),ce("yyyy",oe),ce("yo",function(e,t){return t._eraYearOrdinalRegex||oe}),ye(["y","yy","yyy","yyyy"],ve),ye(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ve]=n._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),C(0,["gg",2],0,function(){return this.weekYear()%100}),C(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),L("weekYear","gg"),L("isoWeekYear","GG"),A("weekYear",1),A("isoWeekYear",1),ce("G",ue),ce("g",ue),ce("GG",te,Q),ce("gg",te,Q),ce("GGGG",re,K),ce("gggg",re,K),ce("GGGGG",ae,ee),ce("ggggg",ae,ee),ge(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=Z(e)}),ge(["gg","GG"],function(e,t,s,i){t[i]=n.parseTwoDigitYear(e)}),C("Q",0,"Qo","quarter"),L("quarter","Q"),A("quarter",7),ce("Q",J),ye("Q",function(e,t){t[ke]=3*(Z(e)-1)}),C("D",["DD",2],"Do","date"),L("date","D"),A("date",9),ce("D",te),ce("DD",te,Q),ce("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ye(["D","DD"],Me),ye("Do",function(e,t){t[Me]=Z(e.match(te)[0])});var gn=z("Date",!0);C("DDD",["DDDD",3],"DDDo","dayOfYear"),L("dayOfYear","DDD"),A("dayOfYear",4),ce("DDD",ie),ce("DDDD",X),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Z(e)}),C("m",["mm",2],0,"minute"),L("minute","m"),A("minute",14),ce("m",te),ce("mm",te,Q),ye(["m","mm"],Se);var wn=z("Minutes",!1);C("s",["ss",2],0,"second"),L("second","s"),A("second",15),ce("s",te),ce("ss",te,Q),ye(["s","ss"],Ye);var pn,vn,kn=z("Seconds",!1);for(C("S",0,0,function(){return~~(this.millisecond()/100)}),C(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,function(){return 10*this.millisecond()}),C(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),C(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),C(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),C(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),C(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),L("millisecond","ms"),A("millisecond",16),ce("S",ie,J),ce("SS",ie,Q),ce("SSS",ie,X),pn="SSSS";pn.length<=9;pn+="S")ce(pn,oe);function Mn(e,t){t[Oe]=Z(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ye(pn,Mn);vn=z("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var Dn=p.prototype;function Sn(e){return e}Dn.add=Qt,Dn.calendar=function(e,t){1===arguments.length&&(arguments[0]?en(arguments[0])?(e=arguments[0],t=void 0):function(e){var t,n=i(e)&&!a(e),s=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;tn.valueOf():n.valueOf()<0||n.year()>9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Dn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,s="moment",i="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Dn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Dn.toJSON=function(){return this.isValid()?this.toISOString():null},Dn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Dn.unix=function(){return Math.floor(this.valueOf()/1e3)},Dn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Dn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Dn.eraName=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<=n&&n<=s[e].since)return s[e].name}return""},Dn.eraNarrow=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<=n&&n<=s[e].since)return s[e].narrow}return""},Dn.eraAbbr=function(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<=n&&n<=s[e].since)return s[e].abbr}return""},Dn.eraYear=function(){var e,t,s,i,r=this.localeData().eras();for(e=0,t=r.length;e<16&&!s&&(e*=60);return!this._isUTC&&t&&(i=At(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Jt(this,zt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:At(this)},Dn.utc=function(e){return this.utcOffset(0,e)},Dn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(At(this),"m")),this},Dn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Gt(le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Dn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Nt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Dn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Dn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Dn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Dn.isUtc=jt,Dn.isUTC=jt,Dn.zoneAbbr=function(){return this._isUTC?"UTC":""},Dn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Dn.dates=M("dates accessor is deprecated. Use date instead.",gn),Dn.months=M("months accessor is deprecated. Use month instead",He),Dn.years=M("years accessor is deprecated. Use year instead",Ve),Dn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),Dn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=xt(t))._a?(e=t._isUTC?c(t._a):Nt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var s,i=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(s=0;s0):this._isDSTShifted=!1,this._isDSTShifted});var Yn=x.prototype;function On(e,t,n,s){var i=ct(),r=c().set(s,t);return i[n](r,e)}function bn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return On(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=On(e,s,n,"month");return i}function xn(e,t,n,s){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,r=ct(),a=e?r._week.dow:0,o=[];if(null!=n)return On(t,(n+a)%7,s,"day");for(i=0;i<7;i++)o[i]=On(t,(i+a)%7,s,"day");return o}Yn.calendar=function(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return O(s)?s.call(t,n):s},Yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},Yn.invalidDate=function(){return this._invalidDate},Yn.ordinal=function(e){return this._ordinal.replace("%d",e)},Yn.preparse=Sn,Yn.postformat=Sn,Yn.relativeTime=function(e,t,n,s){var i=this._relativeTime[n];return O(i)?i(e,t,n,s):i.replace(/%d/i,e)},Yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(n)?n(t):n.replace(/%s/i,t)},Yn.set=function(e){var t,n;for(n in e)r(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Yn.eras=function(e,t){var s,i,r,a=this._eras||ct("en")._eras;for(s=0,i=a.length;s=0)return u[s]},Yn.erasConvertYear=function(e,t){var s=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*s},Yn.erasAbbrRegex=function(e){return r(this,"_erasAbbrRegex")||mn.call(this),e?this._erasAbbrRegex:this._erasRegex},Yn.erasNameRegex=function(e){return r(this,"_erasNameRegex")||mn.call(this),e?this._erasNameRegex:this._erasRegex},Yn.erasNarrowRegex=function(e){return r(this,"_erasNarrowRegex")||mn.call(this),e?this._erasNarrowRegex:this._erasRegex},Yn.months=function(e,t){return e?s(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"][e.month()]:s(this._months)?this._months:this._months.standalone},Yn.monthsShort=function(e,t){return e?s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Re.test(t)?"format":"standalone"][e.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Yn.monthsParse=function(e,t,n){var s,i,r;if(this._monthsParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=c([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=pe.call(this._shortMonthsParse,a))?i:null:-1!==(i=pe.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=pe.call(this._shortMonthsParse,a))?i:-1!==(i=pe.call(this._longMonthsParse,a))?i:null:-1!==(i=pe.call(this._longMonthsParse,a))?i:-1!==(i=pe.call(this._shortMonthsParse,a))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=c([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}},Yn.monthsRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Fe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(r(this,"_monthsRegex")||(this._monthsRegex=Ce),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},Yn.monthsShortRegex=function(e){return this._monthsParseExact?(r(this,"_monthsRegex")||Fe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(r(this,"_monthsShortRegex")||(this._monthsShortRegex=We),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},Yn.week=function(e){return je(e,this._week.dow,this._week.doy).week},Yn.firstDayOfYear=function(){return this._week.doy},Yn.firstDayOfWeek=function(){return this._week.dow},Yn.weekdays=function(e,t){var n=s(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ze(n,this._week.dow):e?n[e.day()]:n},Yn.weekdaysMin=function(e){return!0===e?Ze(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},Yn.weekdaysShort=function(e){return!0===e?Ze(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},Yn.weekdaysParse=function(e,t,n){var s,i,r;if(this._weekdaysParseExact)return function(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=c([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=pe.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=pe.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=pe.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=pe.call(this._weekdaysParse,a))?i:-1!==(i=pe.call(this._shortWeekdaysParse,a))?i:-1!==(i=pe.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=pe.call(this._shortWeekdaysParse,a))?i:-1!==(i=pe.call(this._weekdaysParse,a))?i:-1!==(i=pe.call(this._minWeekdaysParse,a))?i:null:-1!==(i=pe.call(this._minWeekdaysParse,a))?i:-1!==(i=pe.call(this._weekdaysParse,a))?i:-1!==(i=pe.call(this._shortWeekdaysParse,a))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=c([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}},Yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(r(this,"_weekdaysRegex")||(this._weekdaysRegex=Be),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},Yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(r(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(r(this,"_weekdaysRegex")||Xe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(r(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},Yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Z(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=M("moment.lang is deprecated. Use moment.locale instead.",ht),n.langData=M("moment.langData is deprecated. Use moment.localeData instead.",ct);var Tn=Math.abs;function Nn(e,t,n,s){var i=zt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Pn(e){return e<0?Math.floor(e):Math.ceil(e)}function Rn(e){return 4800*e/146097}function Wn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}var Un=Cn("ms"),Hn=Cn("s"),Fn=Cn("m"),Ln=Cn("h"),Vn=Cn("d"),Gn=Cn("w"),En=Cn("M"),An=Cn("Q"),jn=Cn("y");function In(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zn=In("milliseconds"),zn=In("seconds"),$n=In("minutes"),qn=In("hours"),Bn=In("days"),Jn=In("months"),Qn=In("years");var Xn=Math.round,Kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};var es=Math.abs;function ts(e){return(e>0)-(e<0)||+e}function ns(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s,i,r,a,o,u=es(this._milliseconds)/1e3,l=es(this._days),h=es(this._months),d=this.asSeconds();return d?(e=I(u/60),t=I(e/60),u%=60,e%=60,n=I(h/12),h%=12,s=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",r=ts(this._months)!==ts(d)?"-":"",a=ts(this._days)!==ts(d)?"-":"",o=ts(this._milliseconds)!==ts(d)?"-":"",i+"P"+(n?r+n+"Y":"")+(h?r+h+"M":"")+(l?a+l+"D":"")+(t||e||u?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(u?o+s+"S":"")):"P0D"}var ss=Ut.prototype;return ss.isValid=function(){return this._isValid},ss.abs=function(){var e=this._data;return this._milliseconds=Tn(this._milliseconds),this._days=Tn(this._days),this._months=Tn(this._months),e.milliseconds=Tn(e.milliseconds),e.seconds=Tn(e.seconds),e.minutes=Tn(e.minutes),e.hours=Tn(e.hours),e.months=Tn(e.months),e.years=Tn(e.years),this},ss.add=function(e,t){return Nn(this,e,t,1)},ss.subtract=function(e,t){return Nn(this,e,t,-1)},ss.as=function(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+s/864e5,n=this._months+Rn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Wn(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}},ss.asMilliseconds=Un,ss.asSeconds=Hn,ss.asMinutes=Fn,ss.asHours=Ln,ss.asDays=Vn,ss.asWeeks=Gn,ss.asMonths=En,ss.asQuarters=An,ss.asYears=jn,ss.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Z(this._months/12):NaN},ss._bubble=function(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*Pn(Wn(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=I(r/1e3),u.seconds=e%60,t=I(e/60),u.minutes=t%60,n=I(t/60),u.hours=n%24,a+=I(n/24),o+=i=I(Rn(a)),a-=Pn(Wn(i)),s=I(o/12),o%=12,u.days=a,u.months=o,u.years=s,this},ss.clone=function(){return zt(this)},ss.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},ss.milliseconds=Zn,ss.seconds=zn,ss.minutes=$n,ss.hours=qn,ss.days=Bn,ss.weeks=function(){return I(this.days()/7)},ss.months=Jn,ss.years=Qn,ss.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,s,i=!1,r=Kn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(r=Object.assign({},Kn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),s=function(e,t,n,s){var i=zt(e).abs(),r=Xn(i.as("s")),a=Xn(i.as("m")),o=Xn(i.as("h")),u=Xn(i.as("d")),l=Xn(i.as("M")),h=Xn(i.as("w")),d=Xn(i.as("y")),c=r<=n.ss&&["s",r]||r<=1&&["m"]||a<=1&&["h"]||o<=1&&["d"]||u0,c[4]=s,function(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}.apply(null,c)}(this,!i,r,n=this.localeData()),i&&(s=n.pastFuture(+this,s)),n.postformat(s)},ss.toISOString=ns,ss.toString=ns,ss.toJSON=ns,ss.locale=nn,ss.localeData=rn,ss.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ns),ss.lang=sn,C("X",0,0,"unix"),C("x",0,0,"valueOf"),ce("x",ue),ce("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),ye("x",function(e,t,n){n._d=new Date(Z(e))}),n.version="2.29.1",e=Nt,n.fn=Dn,n.min=function(){return Wt("isBefore",[].slice.call(arguments,0))},n.max=function(){return Wt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=c,n.unix=function(e){return Nt(1e3*e)},n.months=function(e,t){return bn(e,t,"months")},n.isDate=l,n.locale=ht,n.invalid=_,n.duration=zt,n.isMoment=v,n.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},n.parseZone=function(){return Nt.apply(null,arguments).parseZone()},n.localeData=ct,n.isDuration=Ht,n.monthsShort=function(e,t){return bn(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},n.defineLocale=dt,n.updateLocale=function(e,t){if(null!=t){var n,s,i=it;null!=rt[e]&&null!=rt[e].parentLocale?rt[e].set(b(rt[e]._config,t)):(null!=(s=lt(e))&&(i=s._config),t=b(i,t),null==s&&(t.abbr=e),(n=new x(t)).parentLocale=rt[e],rt[e]=n),ht(e)}else null!=rt[e]&&(null!=rt[e].parentLocale?(rt[e]=rt[e].parentLocale,e===ht()&&ht(e)):null!=rt[e]&&delete rt[e]);return rt[e]},n.locales=function(){return D(rt)},n.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},n.normalizeUnits=V,n.relativeTimeRounding=function(e){return void 0===e?Xn:"function"==typeof e&&(Xn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Kn[e]&&(void 0===t?Kn[e]:(Kn[e]=t,"s"===e&&(Kn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=Dn,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}); }, {}]; window.modules["72"] = [function(require,module,exports){var arrayReduce=require(1013),baseEach=require(1049),baseIteratee=require(1098),baseReduce=require(1135),isArray=require(197);function reduce(e,r,a){var u=isArray(e)?arrayReduce:baseReduce,s=arguments.length<3;return u(e,baseIteratee(r,4),a,s,baseEach)}module.exports=reduce; }, {"197":197,"1013":1013,"1049":1049,"1098":1098,"1135":1135}]; window.modules["84"] = [function(require,module,exports){var debounce=require(149),isObject=require(138),FUNC_ERROR_TEXT="Expected a function";function throttle(e,i,t){var n=!0,r=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);return isObject(t)&&(n="leading"in t?!!t.leading:n,r="trailing"in t?!!t.trailing:r),debounce(e,i,{leading:n,maxWait:i,trailing:r})}module.exports=throttle; }, {"138":138,"149":149}]; window.modules["86"] = [function(require,module,exports){function last(l){var t=null==l?0:l.length;return t?l[t-1]:void 0}module.exports=last; }, {}]; window.modules["87"] = [function(require,module,exports){!function(e){var n;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var t=window.Cookies,o=window.Cookies=e();o.noConflict=function(){return window.Cookies=t,o}}}(function(){function e(){for(var e=0,n={};e<0&&(i=nativeMax(a+i,0)),isString(e)?i<=a&&e.indexOf(r,i)>-1:!!a&&baseIndexOf(e,r,i)>-1}module.exports=includes; }, {"120":120,"230":230,"1003":1003,"1110":1110,"1186":1186}]; window.modules["91"] = [function(require,module,exports){var baseExtremum=require(1055),baseGt=require(1072),identity=require(1099);function max(e){return e&&e.length?baseExtremum(e,identity,baseGt):void 0}module.exports=max; }, {"1055":1055,"1072":1072,"1099":1099}]; window.modules["93"] = [function(require,module,exports){"use strict";const $window=window,$document=document;class service{constructor(){var t,e,n=[],l=[],o=Object.create({_el:null,_to:null,_ttl:300,_reset:function(){i({target:this._el}),this._el=null}},{latest:{get:function(){return this._el},set:function(t){$window.clearTimeout(this._to),this._el=t,this._to=$window.setTimeout(this._reset.bind(this),this._ttl)}}});function r(e){var l,r=e.target,i=n.length;if(o.latest!==r){for(l=0;l-1;n--)l[n]&&l[n].call(null,t)}$document.body.addEventListener("touchstart",r),$document.body.addEventListener("mousedown",r),$document.body.addEventListener("click",r),$document.body.addEventListener("contextmenu",i),this.addHandler=function(t,e){var o="function"==typeof t?n.push(t)-1:-1;return o>-1&&"function"==typeof e&&(l[o]=e),o},this.removeHandler=function(t){var e=!("number"!=typeof t||!n.splice(t,1));return e&&l.splice(t,1),e},this.setFinalHandler=function(n,l){if(t)throw new Error("a final handler already exists; use `addHandler` to add a new handler or `unsetFinalHandler` to remove the current final handler.");t=n,e=l},this.unsetFinalHandler=function(){t=null,e=null}}}module.exports=new service; }, {}]; window.modules["94"] = [function(require,module,exports){"use strict";const _reduce=require(72),_get=require(20),_includes=require(90),_assign=require(185),_clone=require(177),_remove=require(106),Fingerprint2=require(358),cookie=require(87),dom=require(2),gtmEl=dom.find(".gtm"),siteShortKey=gtmEl&&gtmEl.getAttribute("data-site-short-key");var localStorage=window.localStorage,uriAttr="data-uri",visitCountKey=`'visitServiceCount'_${siteShortKey}`,previousActionTimestampKey=`'visitServicePreviousTimestamp'_${siteShortKey}`,firstVisitTimestampKey=`'visitServiceFirstVisitTimestamp'_${siteShortKey}`,visitStartTimestampKey=`'visitServiceVisitStartTimestamp'_${siteShortKey}`,initialReferrerKey=`'visitServiceInitialRefferer'_${siteShortKey}`,visitDatesKey=`'visitDates'_${siteShortKey}`,clientIdCookieKey="nyma",maxVisitDuration=864e5,sessionTTL=18e5,visitDatesLimit=30,publicState={},publicStateIsReady=!1,onceReadyQueue=[],state=Object.create(Object.prototype,{_processQ:{value:function(){var e,t=this._q.slice(0),i=t.length;for(this._q=[],e=0;egetNumberFromLocalStorage(previousActionTimestampKey),i=e-maxVisitDuration>getNumberFromLocalStorage(visitStartTimestampKey);return t||i}function updateNewVisitState(e){state.isNewVisit=isNewVisit(e)}function extendVisit(){var e=Date.now();!isNewVisit(e)&&setPreviousActionTimestamp(e)}function createClientId(e){new Fingerprint2({excludeJsFonts:!0,excludeFlashFonts:!0,excludeCanvas:!0,excludeWebGL:!0,excludePixelRatio:!0}).get(function(t){state.clientId=t+"."+e})}function ensureClientId(e){state.clientId=cookie.get(clientIdCookieKey),state.clientId||createClientId(e)}function getPageUri(){var e=document.querySelector("["+uriAttr+'*="/_pages/"]');return e&&e.getAttribute(uriAttr)}function getQueryParamsObject(e){return e=Array.isArray(e)?e:[],_reduce(_get(window,"location.search","").substr(1).split("&"),function(t,i){var r=i.split("="),s=r[0],n=r[1];return n&&_includes(e,s)&&(t[s]=decodeURIComponent(n)),t},{})}function getUtmParams(){return getQueryParamsObject(["utm_source","utm_medium","utm_campaign","utm_content","utm_term"])}function getBrowserName(e,t,i){return i||_includes(e," OPR/")?_includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":_includes(e,"IEMobile")||_includes(e,"WPDesktop")?"Internet Explorer Mobile":_includes(e,"Edge")?"Microsoft Edge":_includes(e,"FBIOS")?"Facebook Mobile":_includes(e,"Chrome")?"Chrome":_includes(e,"CriOS")?"Chrome iOS":_includes(e,"FxiOS")?"Firefox iOS":_includes(t,"Apple")?_includes(e,"Mobile")?"Mobile Safari":"Safari":_includes(e,"Android")?"Android Mobile":_includes(e,"Konqueror")?"Konqueror":_includes(e,"Firefox")?"Firefox":_includes(e,"MSIE")||_includes(e,"Trident/")?"Internet Explorer":_includes(e,"Gecko")?"Mozilla":""}function browserNameToVersion(e,t){var i={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/}[e],r=i&&t.match(i);return r?parseFloat(r[r.length-2]):null}function userAgentToOs(e){return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":""}function getBrowserInfo(){var e=window.navigator,t=e.userAgent,i=getBrowserName(t,e.vendor,window.opera);return{browser:i,browserVersion:browserNameToVersion(i,t),os:userAgentToOs(t)}}function setPublicState(e,t){publicState=_assign({clientId:e,currentUrl:window.location.href,firstVisitTimestamp:getFirstVisitTimestamp(),initialReferrer:localStorage.getItem(initialReferrerKey),isNewVisit:state.isNewVisit,pageUri:getPageUri(),referrer:document.referrer,screenHeight:window.screen.height,screenWidth:window.screen.width,timestamp:t,visitCount:getVisitCount(),userLoyalty:getUserLoyaltyLevel()},getBrowserInfo(),getUtmParams()),publicStateIsReady=!0}function getPublicStateOnceReady(e){publicStateIsReady?e(_clone(publicState)):onceReadyQueue.push(e)}function executeOnceReadyQueue(){onceReadyQueue.forEach(e=>e(_clone(publicState))),onceReadyQueue=[]}function updateVisitDates(){var e=(localStorage.getItem(visitDatesKey)||"").split(","),t=24*visitDatesLimit*60*60*1e3,i=Date.now();_remove(e,function(e){return i-e>t}),(0===e.length||i-e[0]>=864e5)&&e.unshift(i),localStorage.setItem(visitDatesKey,e.join(","))}function getUserLoyaltyLevel(){var e=(localStorage.getItem(visitDatesKey)||"").split(",");return e.length<=1?"new":e.length<4?"return":"loyal"}function init(){var e=Date.now();ensureClientId(e),state.onceClientIdIsReady(function(t){if(ensureFirstVisitTimestamp(t),updateNewVisitState(e),state.isNewVisit){setVisitStartTimestamp(e),incrementVisitCount(),updateVisitDates();try{localStorage.setItem(initialReferrerKey,document.referrer)}catch(e){}}setPreviousActionTimestamp(e),setPublicState(t,e),executeOnceReadyQueue()}),window.document.addEventListener("click",extendVisit)}init(),module.exports.onceReady=getPublicStateOnceReady,module.exports.getQueryParamsObject=getQueryParamsObject,module.exports.getBrowserInfo=getBrowserInfo; }, {"2":2,"20":20,"72":72,"87":87,"90":90,"106":106,"177":177,"185":185,"358":358}]; window.modules["95"] = [function(require,module,exports){var baseClamp=require(1033),baseToString=require(1145),toInteger=require(1186),toString=require(1155);function startsWith(e,t,r){return e=toString(e),r=null==r?0:baseClamp(toInteger(r),0,e.length),t=baseToString(t),e.slice(r,r+t.length)==t}module.exports=startsWith; }, {"1033":1033,"1145":1145,"1155":1155,"1186":1186}]; window.modules["96"] = [function(require,module,exports){"use strict";module.exports.linkAutomation=require(398),module.exports.affiliates=require(397),module.exports.subtags=require(396); }, {"396":396,"397":397,"398":398}]; window.modules["97"] = [function(require,module,exports){"use strict";const dom=require(2),_memoize=require(1207),_includes=require(90),page=require(179),{createSubtagProcessor:createSubtagProcessor}=require(1568),internalHosts=["nymag.com","vulture.com","grubstreet.com","thecut.com","curbed.com","thestrategist.co.uk"],gtm=dom.find(".gtm"),siteShortKey=gtm&&gtm.getAttribute("data-site-short-key"),shortenedPageUri=shortenUri(page.getPageUri()),zoneAttr="data-track-zone";function guessDeviceAbbreviation(e,t){switch(e){case"Windows Phone":case"iOS":case"Android":case"BlackBerry":return t<728?"M":"T";case"Linux":case"Windows":case"Mac OS X":return"D";default:return t<728?"M":t>1024?"D":"T"}}function getPageZone(e){var t=dom.closest(e,"["+zoneAttr+"]");return(t&&t.getAttribute(zoneAttr)||"").substr(0,1)}function shortenHost(e){return"www."===e.substr(0,4)?e.substr(4):e}function shortenReferrer(e){var t,r,s=e&&e.match(/\/\/([^\/]+)(\/[^\/#?]+)?/),a="";return s&&(t=shortenHost(s[1]||"").toLowerCase(),r=s[2]||"",a=t+(_includes(internalHosts,t)?r:"")),a}function shortenUri(e){return(e||"").split("/").pop().replace("ambrose-","a-").replace("@published","")}function ensureSubtagFromProductSearch(e){const t=new URLSearchParams(window.location.search),r=t.get("itm_source")||"",s=t.get("itm_medium")||"",a=t.get("q")||"";"search"===r&&["article","product"].includes(s)&&(e.itmSearch=(()=>s.charAt(0).toLowerCase())),"search"===shortenedPageUri&&(e.pageUri=(()=>`s.${a.replace(" ",".")}`))}function variation(e){const t=e.dataset.trackVariant;return t&&t.includes("summary")?"s":"o"}function abTest(){return window.google_optimize&&window.optimize_subtags_ab_test?window.optimize_subtags_ab_test:null}function ensureSubtag(e){let{url:t,productId:r,visitState:s,anchorEl:a}=e;const o=abTest(),i={siteShortKey:()=>siteShortKey,pageUri:()=>shortenedPageUri,productId:()=>r,deviceAbbreviation:_memoize(e=>{let{visitState:t}=e;return guessDeviceAbbreviation(t.os,t.screenWidth)}),utmSource:_memoize(e=>{let{visitState:t}=e;return(t.utm_source||"").substr(0,3)}),utmMedium:_memoize(e=>{let{visitState:t}=e;return(t.utm_medium||"").substr(0,2)}),utmCampaign:_memoize(e=>{let{visitState:t}=e;return(t.utm_campaign||"").substr(0,17)}),referrer:_memoize(e=>{let{visitState:t}=e;return shortenReferrer(t.referrer)}),zone:()=>getPageZone(a),format:()=>"w",sessionCount:_memoize(e=>{let{visitState:t}=e;return t.visitCount||""}),abTest:()=>o,variation:()=>o?variation(a):null},u=createSubtagProcessor(i),n=t.match(/subId[1-2]=/)?"Impact":"";ensureSubtagFromProductSearch(i);const{urlWithSubtag:c,subtag:m}=u({url:t,visitState:s,anchorEl:a,affiliate:n});return a&&(a.dataset.affiliateSubtag=m),c||""}module.exports.ensureSubtag=ensureSubtag,module.exports.ensureSubtagFromProductSearch=ensureSubtagFromProductSearch; }, {"2":2,"90":90,"179":179,"1207":1207,"1568":1568}]; window.modules["98"] = [function(require,module,exports){var arrayMap=require(1011),baseIteratee=require(1098),baseMap=require(1109),isArray=require(197);function map(a,r){return(isArray(a)?arrayMap:baseMap)(a,baseIteratee(r,3))}module.exports=map; }, {"197":197,"1011":1011,"1098":1098,"1109":1109}]; window.modules["99"] = [function(require,module,exports){(function (global){(function (){ "use strict";var required=require(1388),qs=require(1362),slashes=/^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/,protocolre=/^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i,whitespace="[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]",left=new RegExp("^"+whitespace+"+");function trimLeft(e){return(e||"").toString().replace(left,"")}var rules=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],ignore={hash:1,query:1};function lolcation(e){var t,o=("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).location||{},r={},s=typeof(e=e||o);if("blob:"===e.protocol)r=new Url(unescape(e.pathname),{});else if("string"===s)for(t in r=new Url(e,{}),ignore)delete r[t];else if("object"===s){for(t in e)t in ignore||(r[t]=e[t]);void 0===r.slashes&&(r.slashes=slashes.test(e.href))}return r}function extractProtocol(e){e=trimLeft(e);var t=protocolre.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!(t[2]&&t[2].length>=2),rest:t[2]&&1===t[2].length?"/"+t[3]:t[3]}}function resolve(e,t){if(""===e)return t;for(var o=(t||"/").split("/").slice(0,-1).concat(e.split("/")),r=o.length,s=o[r-1],a=!1,n=0;r--;)"."===o[r]?o.splice(r,1):".."===o[r]?(o.splice(r,1),n++):n&&(0===r&&(a=!0),o.splice(r,1),n--);return a&&o.unshift(""),"."!==s&&".."!==s||o.push(""),o.join("/")}function Url(e,t,o){if(e=trimLeft(e),!(this instanceof Url))return new Url(e,t,o);var r,s,a,n,l,i,h=rules.slice(),c=typeof t,p=this,u=0;for("object"!==c&&"string"!==c&&(o=t,t=null),o&&"function"!=typeof o&&(o=qs.parse),t=lolcation(t),r=!(s=extractProtocol(e||"")).protocol&&!s.slashes,p.slashes=s.slashes||r&&t.slashes,p.protocol=s.protocol||t.protocol||"",e=s.rest,s.slashes||(h[3]=[/(.*)/,"pathname"]);u/g;return function(s,n,c){s=s||"";var b,o,k,u=e,l=0,d="",h="",p=!1;for("string"==typeof n?n=function(e){for(var r,a=[];null!==(r=i.exec(e));)a.push(r[1]);return 0!==a.length?a:null}(n):Array.isArray(n)||(n=null),b=0,o=s.length;b":if(l){l--;break}if(p)break;if(u==r){p=u=0,n&&(h+=">",y());break}if(u==a){p=u=0,h="";break}if(u==t&&"-"==s[b-1]&&"-"==s[b-2]){p=u=0,h="";break}g(k);break;case'"':case"'":u==r&&(p==k?p=!1:p||(p=k)),g(k);break;case"!":if(u==r&&"<"==s[b-1]){u=a;break}g(k);break;case"-":if(u==a&&"-"==s[b-1]&&"!"==s[b-2]){u=t;break}g(k);break;case"E":case"e":if(u==a&&"doctype"==s.substr(b-6,7).toLowerCase()){u=r;break}g(k);break;default:g(k)}function g(a){u==e?d+=a:n&&u==r&&(h+=a)}function y(){var e,r,a,t="",i=!1;e:for(e=0,r=h.length;e":break e;case"/":i=!0;break;default:if(a.match(f)){if(i)break e}else i=!0,t+=a}-1!==n.indexOf(t)?d+=h:c&&(d+=c),h=""}return d}}); }, {}]; window.modules["104"] = [function(require,module,exports){"use strict";const dom=require(2),throttle=require(84),{getSiteName:getSiteName}=require(179),body=dom.find("body"),imgClassesBlocked=["image-reveal","zoom-block","image-zoom-container","brand-url","secondary-area","product-image-hotspot","multiple-choice-quiz-question","front-image","back-image","tab-image","image-slide-object","timeline-image","image-hotspot-image-img","image-divider-img","image-hover-image-img","slide-image","embedly"],globalNav=dom.find(".global-nav"),pageStickyHeader=dom.find(".page-sticky-header"),pageStickyHeaderHeight=pageStickyHeader.getBoundingClientRect().height,globalNavHeight=globalNav.getBoundingClientRect().height,overlay=insertClassyDom("div","image-zoom-overlay"),mainContent=dom.find("section.main"),imageZoomContainer=insertClassyDom("img","image-zoom-container"),imageZoomDom=insertClassyDom("div","image-zoom-stage"),DESKTOP_WIDTH=1180,DEFAULT_PADDING_SPACE=25;var imgZoomCss,imgZoom,originalCssString,verticalPadding,horizontalPadding,zoomActive=!1,isInitialised=!1;function currentWindow(){return{width:window.innerWidth,height:window.innerHeight,centerX:Math.floor(window.innerWidth/2),centerY:Math.floor(window.innerHeight/2),scrollY:window.scrollY,ratio:window.innerWidth/window.innerHeight}}function currentPadding(){const e=window.getComputedStyle(imageZoomContainer,null),o=window.innerWidthtoggleImageZoom(e)))}function toggleImageZoom(e){body.classList.contains("disabled")||imgClassesBlocked.filter(o=>e.target.classList.contains(o)).length>0||"IMG"!==e.target.tagName||zoomActive?unZoomImage():(imgZoom=e.target,(imgZoomCss=imgZoom.getBoundingClientRect()).ratio=imgZoomCss.width/imgZoomCss.height,imgZoomCss.centerY=imgZoomCss.top+Math.ceil(imgZoomCss.height/2),imgZoomCss.centerX=imgZoomCss.left+Math.ceil(imgZoomCss.width/2),Object.assign(imageZoomContainer.style,{top:imgZoomCss.top+currentWindow().scrollY+"px",left:imgZoomCss.left+"px",width:imgZoomCss.width+"px",height:imgZoomCss.height+"px"}),imageZoomContainer.classList.add("forward"),globalNav.style.transform="translateY(-"+globalNavHeight+"px)",pageStickyHeader.style.transform="translateY(-"+(globalNavHeight+pageStickyHeaderHeight)+"px)",imageZoomContainer.src=imgZoomSrc(imgZoom))}function imgZoomSrc(e){return"PICTURE"===e.parentNode.nodeName?e.currentSrc:e.src}function insertClassyDom(e,o){let i=document.createElement(e);return i.className=o,i}function zoomUp(){const e=currentWindow();let o=e.ratio>=imgZoomCss.ratio?(e.height-2*verticalPadding)/imgZoomCss.height:(e.width-2*horizontalPadding)/imgZoomCss.width,i=(e.centerX-imgZoomCss.centerX)/o,t=(e.centerY-imgZoomCss.centerY)/o;overlayShow(),imgZoom.classList.add("transparent"),mainContent.classList.add("zoom-active"),originalCssString=imageZoomContainer.style.cssText,imageZoomContainer.style.transform="scale("+o+") translate("+i+"px,"+t+"px)"}function zoomDown(){imageZoomContainer.style.cssText=originalCssString}function unZoomImage(){zoomActive&&(pageStickyHeader.style.removeProperty("transform"),globalNav.style.removeProperty("transform"),overlayHide(),zoomDown())}function overlayShow(){overlay.classList.add("forward","show-shade"),zoomActive=!0}function overlayHide(){overlay.classList.remove("show-shade"),mainContent.classList.remove("zoom-active"),zoomActive=!1}function checkOverlayTransition(e){"opacity"===e.propertyName&&e.target.classList.contains("image-zoom-overlay")&&!zoomActive&&(imgZoom.classList.remove("transparent"),overlay.classList.remove("forward"),imageZoomContainer.classList.remove("forward"),imageZoomContainer.src="")}function isEligible(e){for(;e;){if("A"===e.tagName||e.classList&&imgClassesBlocked.filter(o=>e.classList.contains(o)).length>0)return!1;e=e.parentNode}return!0}module.exports=(e=>{isInitialised||"The Strategist"===getSiteName()||(imageZoomContainer.setAttribute("style","transform: scale(1) translate(0px, 0px)"),imageZoomDom.appendChild(overlay),imageZoomDom.appendChild(imageZoomContainer),window.addEventListener("scroll",throttle(unZoomImage.bind(void 0),200)),window.addEventListener("resize",throttle(()=>{unZoomImage.bind(void 0),currentPadding.bind(void 0)},200)),imageZoomContainer.addEventListener("load",()=>zoomUp()),overlay.addEventListener("transitionend",e=>checkOverlayTransition(e)),imageZoomDom.addEventListener("click",e=>toggleImageZoom(e)),e.appendChild(imageZoomDom),attachZoomClassClick(),currentPadding(),isInitialised=!0)}); }, {"2":2,"84":84,"179":179}]; window.modules["105"] = [function(require,module,exports){"use strict";const sentry=require(129),cookie=require(87),isProd=require(13)(),SENTRY_ENDPOINT="https://e1a6d9e4fa1c4f0a862e0943ab248dbb@o4682.ingest.sentry.io/5673564";function initializeIDListeners(){const e={local:{envHost:"localhost.",prefix:"local"},featureBranch:{envHost:".dev.",prefix:"fb"},staging:{envHost:"stg.",prefix:"stg"}},t=isProd?"":Object.keys(e).find(t=>window.location.hostname.includes(e[t].envHost)).prefix+"_";window.addEventListener("load",()=>{const e=cookie.get("nymcid"),n=cookie.get("first-nymcid"),i=cookie.get(`${t}nymag_sid`);(e||n)&&sentry.addBreadcrumb({category:"User info",data:{nymcid:e,firstNymcid:n,nymag_sid:i}})})}function captureManualError(){sentry.captureException(...arguments)}function configureScope(e){sentry.configureScope(e)}sentry.isSetup||sentry.init({dsn:SENTRY_ENDPOINT,environment:isProd?"production":"development",attachStacktrace:!0,defaultIntegrations:!1,integrations:[new sentry.Integrations.UserAgent],sampleRate:.05}),module.exports={initializeIDListeners:initializeIDListeners,captureManualError:captureManualError,configureScope:configureScope}; }, {"13":13,"87":87,"129":129}]; window.modules["106"] = [function(require,module,exports){var baseIteratee=require(1098),basePullAt=require(1131);function remove(e,r){var t=[];if(!e||!e.length)return t;var a=-1,u=[],l=e.length;for(r=baseIteratee(r,3);++a0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};try{localStorage.setItem(t,e)}catch(t){o(t)}}function removeLocalStorage(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};try{localStorage.removeItem(t)}catch(t){e(t)}}function getLocalStorage(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};try{return localStorage.getItem(t)}catch(t){return void e(t)}}module.exports={getLocalStorage:getLocalStorage,setLocalStorage:setLocalStorage,removeLocalStorage:removeLocalStorage}; }, {}]; window.modules["122"] = [function(require,module,exports){"use strict";function Logger(){const o=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>!0)(),e={h1:"font-size: 15px; font-weight: bold; font-family: \n sans-serif; margin: 1em 0 0.25em; border-bottom: 1px dotted black; padding-right: 100px",h2:"font-size: 13px; font-weight: bold; margin-top: 1em"};return{log(){o&&console.log(...arguments)},table(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";o&&console.table(e)},error(e){o&&console.error(e)},group(){o&&console.group()},groupEnd(){o&&console.groupEnd()},styled(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";o&&console.log(`%c ${e}`,t)},h1(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.styled(o,e.h1)},h2(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.styled(o,e.h2)}}}module.exports={Logger:Logger}; }, {}]; window.modules["123"] = [function(require,module,exports){"use strict";function Scenario(e){const{action:n="",articleType:t="any",history:i={},isSubscriber:r=!1,isLoggedIn:o=!1,pageviewCount:a={min:0,max:1/0},restrictedPublishTimeFrame:s=0,siteName:u="",siteScope:l="singleSite",targetUsers:c="",targetUsersByLogInStatus:g=""}=e,m=function(){const e=function(){if(!i)return null;if("anySite"===l)return i.global;if("singleSite"===l)return i[u];if("crossSite"===l&&Object.keys(i).filter(e=>i[e].total).length>=3)return i.global;return null}();if(null==e)return console.warn("could not find scoped counts"),0;return e[t.includes("magazine")?"magazine":"total"]}(),d=a.max||1/0,f=a.min;return{action:n,articleType:t,count:m,max:d==1/0?null:d,min:f,shouldRestrictByPublishTimeFrame:!!s,shouldShow:("allUsers"===c||!("subscribers"!==c||!r)||"nonSubscribers"===c&&!r)&&("anyLogInStatus"===g||"loggedIn"===g&&o||"notLoggedIn"===g&&!o)&&function(){if(!s)return!0;const e=new Date(window._nymGtmPage.publishDateISO),n=new Date;return n.getMonth()-e.getMonth()+12*(n.getFullYear()-e.getFullYear())>=s}()&&m>=f&&m<=d&&function(){const e=new RegExp(t.split(",").join("|"),"i").exec(window._nymGtmPage.featureTypes);return{any:()=>!e,magazine:()=>!!e||window._nymGtmPage.tags.includes("new york magazine"),"news-aggregation":()=>!!e,"tv recap,list or roundup,feature":()=>!!e}[t]()}(),siteScope:l}}module.exports={Scenario:Scenario}; }, {}]; window.modules["124"] = [function(require,module,exports){"use strict";function generate(e,t,o){let n,{content:r,scrollDepth:c,onShow:l}=o;document.querySelector("body").appendChild(e),n=document.querySelector(t),require("growl.client")(n,{content:r,onShow:l,scrollDepth:c})}module.exports.generateGrowl=generate; }, {"growl.client":"growl.client"}]; window.modules["125"] = [function(require,module,exports){"use strict";const isProduction=require(13)(),{get:get,post:post}=require(30),{getPageId:getPageId}=require(179),_memoize=require(1207),viewsServiceBase=getViewsServiceBase();function getClientHistory(e){return get(`${viewsServiceBase}/views/${e}`)}function updateClientHistory(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return post(`${viewsServiceBase}/views/${e}`,{type:i,site:t,pageid:o})}function updateClientHistoryWithPageData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return module.exports.updateClientHistory(e,t,getArticleType(),getPageId())}function getViewsServiceBase(){return isProduction?`https://client.${getSiteDomain()}`:`https://client.dev.${getSiteDomain()}`}function getSiteDomain(){return window.location.hostname.replace(/^(localhost|stg|[^.]+\.dev|www)\./,"")}function getArticleType(){const e=document.querySelector("article[data-type]"),t=e?e.dataset.type.split(",").map(e=>e.trim()):[],i=e?e.dataset.tags.split(",").map(e=>e.trim()):[],o=t.includes("new york magazine story")||i.includes("new york magazine"),r=/tv recap|list or roundup|feature|news-aggregation/i.exec(t);return o?"Magazine":r&&r[0].toLowerCase()||"Article"}module.exports={getClientHistory:_memoize(getClientHistory),updateClientHistory:_memoize(updateClientHistory),updateClientHistoryWithPageData:_memoize(updateClientHistoryWithPageData)}; }, {"13":13,"30":30,"179":179,"1207":1207}]; window.modules["126"] = [function(require,module,exports){"use strict";const _get=require(20),isMobile=require(133)(),isProduction=require(13)();function getComponentName(e){const t=/_components\/(.+?)[\/\.]/.exec(e)||/_components\/(.*)/.exec(e);return t&&t[1]}function insertNewsletterSpeedBumpComponents(e,t,n){const o=isMobile?"mobile":"desktop",r={[o]:{componentMin:2,container:function(t){const n=document.importNode(e,!0).querySelector(".newsletter-speed-bump");return n.classList.remove("newsletter-speed-bump"),n.classList.add(t),n}(`newsletter-speed-bump${isMobile?"":"_desktop"}`),type:o,wordCountMin:150,componentCounter:0,placed:!1,wordCounter:0}},s=document.querySelector(".article-content").children;for(let e=0;e=e.wordCountMin||e.componentCounter>=e.componentMin){isProduction&&console.log(`[Paywall-Newsletter-Speed-Bump-Placement]: Found Position for ${s}`,{configuration:e,positionAfter:o});const{container:r}=e,{name:i,newsletterSpeedBumpCtaCopy:a,newsletterSpeedBumpNewsletterList:c,newsletterSpeedBumpThankYouMessage:p,RECAPTCHA_PUBLIC_KEY:l}=t;let d=o;const u=o.nextElementSibling,m=!!_get(u,"dataset.concertAdsName"),C=o.previousElementSibling,w=!!_get(C,"dataset.concertAdsName");if(!!_get(o,"dataset.concertAdsName"))return;if(m&&!w&&(d=C),e.placed=!0,e.wordCounter=e.wordCountMin||e.componentCounter>=e.componentMin){isProduction&&console.log(`[Paywall-Speed-Bump-Placement]: Found Position for ${i}`,{configuration:e,positionAfter:o});const{container:r}=e,{name:s,speedbumpDescription:c,speedbumpMessage:a,speedbumpLink:p}=t;let d=o;const u=o.nextElementSibling,m=!!_get(u,"dataset.concertAdsName"),l=o.previousElementSibling,g=!!_get(l,"dataset.concertAdsName");if(!!_get(o,"dataset.concertAdsName"))return;if(m&&!g&&(d=l),e.placed=!0,e.wordCounter1),t}),copyObject(e,getAllKeysIn(e),r),a&&(r=baseClone(r,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var n=t.length;n--;)baseUnset(r,t[n]);return r});module.exports=omit; }, {"1011":1011,"1029":1029,"1034":1034,"1035":1035,"1066":1066,"1132":1132,"1177":1177,"1189":1189}]; window.modules["129"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409);tslib_1.__exportStar(require(419),exports);var core_1=require(410),utils_1=require(411),BrowserIntegrations=require(416),Transports=require(413);exports.Transports=Transports;var windowIntegrations={},_window=utils_1.getGlobalObject();_window.Sentry&&_window.Sentry.Integrations&&(windowIntegrations=_window.Sentry.Integrations);var INTEGRATIONS=tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({},windowIntegrations),core_1.Integrations),BrowserIntegrations);exports.Integrations=INTEGRATIONS; }, {"409":409,"410":410,"411":411,"413":413,"416":416,"419":419}]; window.modules["130"] = [function(require,module,exports){var createCompounder=require(1173),kebabCase=createCompounder(function(e,r,o){return e+(o?"-":"")+r.toLowerCase()});module.exports=kebabCase; }, {"1173":1173}]; window.modules["131"] = [function(require,module,exports){"use strict";const rest=require(30),utils=require(6);function get(t,e){return rest.get(utils.uriToUrl(t,e))}function put(t,e,r){return rest.put(utils.uriToUrl(t,r),e,!0)}module.exports.get=get,module.exports.put=put; }, {"6":6,"30":30}]; window.modules["133"] = [function(require,module,exports){"use strict";module.exports=(()=>{const t=window.matchMedia("(max-width: 768px)");return void 0!==window.orientation&&"ontouchstart"in document.documentElement&&(0===window.orientation||-180===window.orientation)&&t.matches}); }, {}]; window.modules["135"] = [function(require,module,exports){"use strict";function encode(e){return"string"!=typeof e?e:window.btoa(e)}function decode(e){return"string"!=typeof e?e:window.atob(e)}module.exports.encode=encode,module.exports.decode=decode; }, {}]; window.modules["136"] = [function(require,module,exports){"use strict";const strictUriEncode=require(1359),decodeComponent=require(739),splitOnFirst=require(1358),filterObject=require(828),isNullOrUndefined=e=>null==e;function encoderForArrayFormat(e){switch(e.arrayFormat){case"index":return r=>(t,o)=>{const n=t.length;return void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?t:null===o?[...t,[encode(r,e),"[",n,"]"].join("")]:[...t,[encode(r,e),"[",encode(n,e),"]=",encode(o,e)].join("")]};case"bracket":return r=>(t,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?t:null===o?[...t,[encode(r,e),"[]"].join("")]:[...t,[encode(r,e),"[]=",encode(o,e)].join("")];case"comma":case"separator":return r=>(t,o)=>null==o||0===o.length?t:0===t.length?[[encode(r,e),"=",encode(o,e)].join("")]:[[t,encode(o,e)].join(e.arrayFormatSeparator)];default:return r=>(t,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?t:null===o?[...t,encode(r,e)]:[...t,[encode(r,e),"=",encode(o,e)].join("")]}}function parserForArrayFormat(e){let r;switch(e.arrayFormat){case"index":return(e,t,o)=>{r=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),r?(void 0===o[e]&&(o[e]={}),o[e][r[1]]=t):o[e]=t};case"bracket":return(e,t,o)=>{r=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),r?void 0!==o[e]?o[e]=[].concat(o[e],t):o[e]=[t]:o[e]=t};case"comma":case"separator":return(r,t,o)=>{const n="string"==typeof t&&t.includes(e.arrayFormatSeparator),a="string"==typeof t&&!n&&decode(t,e).includes(e.arrayFormatSeparator);t=a?decode(t,e):t;const s=n||a?t.split(e.arrayFormatSeparator).map(r=>decode(r,e)):null===t?t:decode(t,e);o[r]=s};default:return(e,r,t)=>{void 0!==t[e]?t[e]=[].concat(t[e],r):t[e]=r}}}function validateArrayFormatSeparator(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function encode(e,r){return r.encode?r.strict?strictUriEncode(e):encodeURIComponent(e):e}function decode(e,r){return r.decode?decodeComponent(e):e}function keysSorter(e){return Array.isArray(e)?e.sort():"object"==typeof e?keysSorter(Object.keys(e)).sort((e,r)=>Number(e)-Number(r)).map(r=>e[r]):e}function removeHash(e){const r=e.indexOf("#");return-1!==r&&(e=e.slice(0,r)),e}function getHash(e){let r="";const t=e.indexOf("#");return-1!==t&&(r=e.slice(t)),r}function extract(e){const r=(e=removeHash(e)).indexOf("?");return-1===r?"":e.slice(r+1)}function parseValue(e,r){return r.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!r.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function parse(e,r){validateArrayFormatSeparator((r=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},r)).arrayFormatSeparator);const t=parserForArrayFormat(r),o=Object.create(null);if("string"!=typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;for(const n of e.split("&")){if(""===n)continue;let[e,a]=splitOnFirst(r.decode?n.replace(/\+/g," "):n,"=");a=void 0===a?null:["comma","separator"].includes(r.arrayFormat)?a:decode(a,r),t(decode(e,r),a,o)}for(const e of Object.keys(o)){const t=o[e];if("object"==typeof t&&null!==t)for(const e of Object.keys(t))t[e]=parseValue(t[e],r);else o[e]=parseValue(t,r)}return!1===r.sort?o:(!0===r.sort?Object.keys(o).sort():Object.keys(o).sort(r.sort)).reduce((e,r)=>{const t=o[r];return Boolean(t)&&"object"==typeof t&&!Array.isArray(t)?e[r]=keysSorter(t):e[r]=t,e},Object.create(null))}exports.extract=extract,exports.parse=parse,exports.stringify=((e,r)=>{if(!e)return"";validateArrayFormatSeparator((r=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},r)).arrayFormatSeparator);const t=t=>r.skipNull&&isNullOrUndefined(e[t])||r.skipEmptyString&&""===e[t],o=encoderForArrayFormat(r),n={};for(const r of Object.keys(e))t(r)||(n[r]=e[r]);const a=Object.keys(n);return!1!==r.sort&&a.sort(r.sort),a.map(t=>{const n=e[t];return void 0===n?"":null===n?encode(t,r):Array.isArray(n)?n.reduce(o(t),[]).join("&"):encode(t,r)+"="+encode(n,r)}).filter(e=>e.length>0).join("&")}),exports.parseUrl=((e,r)=>{r=Object.assign({decode:!0},r);const[t,o]=splitOnFirst(e,"#");return Object.assign({url:t.split("?")[0]||"",query:parse(extract(e),r)},r&&r.parseFragmentIdentifier&&o?{fragmentIdentifier:decode(o,r)}:{})}),exports.stringifyUrl=((e,r)=>{r=Object.assign({encode:!0,strict:!0},r);const t=removeHash(e.url).split("?")[0]||"",o=exports.extract(e.url),n=exports.parse(o,{sort:!1}),a=Object.assign(n,e.query);let s=exports.stringify(a,r);s&&(s=`?${s}`);let c=getHash(e.url);return e.fragmentIdentifier&&(c=`#${encode(e.fragmentIdentifier,r)}`),`${t}${s}${c}`}),exports.pick=((e,r,t)=>{t=Object.assign({parseFragmentIdentifier:!0},t);const{url:o,query:n,fragmentIdentifier:a}=exports.parseUrl(e,t);return exports.stringifyUrl({url:o,query:filterObject(n,r),fragmentIdentifier:a},t)}),exports.exclude=((e,r,t)=>{const o=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return exports.pick(e,o,t)}); }, {"739":739,"828":828,"1358":1358,"1359":1359}]; window.modules["137"] = [function(require,module,exports){var baseKeys=require(1103),getTag=require(1036),isArguments=require(1007),isArray=require(197),isArrayLike=require(1110),isBuffer=require(1008),isPrototype=require(1104),isTypedArray=require(1010),mapTag="[object Map]",setTag="[object Set]",objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function isEmpty(r){if(null==r)return!0;if(isArrayLike(r)&&(isArray(r)||"string"==typeof r||"function"==typeof r.splice||isBuffer(r)||isTypedArray(r)||isArguments(r)))return!r.length;var e=getTag(r);if(e==mapTag||e==setTag)return!r.size;if(isPrototype(r))return!baseKeys(r).length;for(var t in r)if(hasOwnProperty.call(r,t))return!1;return!0}module.exports=isEmpty; }, {"197":197,"1007":1007,"1008":1008,"1010":1010,"1036":1036,"1103":1103,"1104":1104,"1110":1110}]; window.modules["138"] = [function(require,module,exports){function isObject(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}module.exports=isObject; }, {}]; window.modules["139"] = [function(require,module,exports){var baseFlatten=require(1060);function flatten(e){return(null==e?0:e.length)?baseFlatten(e,1):[]}module.exports=flatten; }, {"1060":1060}]; window.modules["140"] = [function(require,module,exports){var baseUniq=require(1148);function uniq(e){return e&&e.length?baseUniq(e):[]}module.exports=uniq; }, {"1148":1148}]; window.modules["143"] = [function(require,module,exports){"use strict";const queryString=require(136),escapeStringRegExp=require(822),utils=require(6),agoraService=require(245),{affiliates:{getMerchantsByPriority:getMerchantsByPriority,getAffiliateByUrl:getAffiliateByUrl}}=require(96),_get=require(20),_cloneDeep=require(108),_set=require(157),_uniqBy=require(1239),urlParse=require(99),{ensureSubtag:ensureSubtag}=require(97),productComponentNames=["product","product-grid","product-grid-item","products-package"],moment=require(58),anchorTagRegex=new RegExp(/]*>.+?<\/a>/),ECOMM_EXCLUDE_DOMAINS=["curbed.com","grubstreet.com","nymag.com","thecut.com","thestrategist.co.uk","vulture.com","vox.com","polygon.com","sbnation.com","theverge.com"],ecommRelAttribute='rel="sponsored,nofollow"',ecommDataTrackAttribute='data-track-type="product-link"';function getProductIdFromUrl(e,t){const r=agoraService.buildMerchantsByUrlQuery(e,t);return agoraService.searchByQueryWithRawResults(r,t).then(e=>_get(e,"hits.hits[0]._source.productId",""))}function addProductIdToProduct(e,t){var r=e.url;return r?getProductIdFromUrl(r,t).then(e=>e).then(t=>(e.productId=t,e)).catch(e=>{throw new Error(`Error occurred while retrieving product entry from elastic: ${e}`)}):e}function mapUrlsToProducts(e,t){return Object.keys(e).map(function(r){const n={url:r,text:e[r],productId:"",amazonSubtag:""},a=agoraService.buildMerchantsByUrlQuery(r,t);return agoraService.searchByQueryWithRawResults(a,t).then(e=>(_set(n,"productId",_get(e,"hits.hits[0]._source.productId","")),n)).catch(()=>n)})}function isAmazonUrl(e){const t=(e.split("://")[1]||"").split("/")[0].toLowerCase(),r=e.includes("amazon.co.uk")?"amazon.co.uk":"amazon.com";return 0===t.indexOf(r)||t.indexOf(`.${r}`)>0}function reduceToUniqueAmazonUrls(e){return e.split('"),n=t.substr(0,r),a=n.indexOf('" '),i=a>-1?n.substr(0,a):n.substr(0,n.length-1),o=t.substr(r+1).split("")[0];return isAmazonUrl(i)&&(e[i]=o),e},{})}function parseAnchorTag(e){const t=_get(e.match(/href=".*"/),"[0]","").split('"')[1],r=e.indexOf(">")+1,n=e.indexOf(""),a=e.slice(r,n),i=!e.match(anchorTagRegex),o=e.split(anchorTagRegex).filter(Boolean).length>0;return i?{}:o?{}:{anchor:e,url:t,anchorText:a}}function extractAnchorElements(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=new RegExp(/]*>.+?<\/a>/g),n=e=>!e.includes('data-track-type="product-link"');return t?((e=e.replace(//,"")).match(r)||[]).filter(n):(e.match(r)||[]).filter(e=>{const t=e.match(/href=".*"/gi),r=_get(t,"[0]","").split(/['"]/);return r&&!isInternalUrl(r)})}function constructEcommAnchorTag(e,t){let{url:r,productId:n,anchorText:a}=e;if(!r)return"";return`${a}`}function isInternalUrl(e){return!!ECOMM_EXCLUDE_DOMAINS.find(t=>e.includes(t))}function manageEcommAnchorTags(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=extractAnchorElements(e,!1).map(parseAnchorTag);return n.length?(n.forEach(n=>{const{anchor:a,url:i}=n,o=getAffiliateByUrl(i);let c=`${a}`;if(r.suppressAmazon&&"Amazon Associates"===o){const t=urlParse(i),r=t.query.split(/[?&]/);return t.query=r.filter(Boolean).filter(e=>!e.match(/(tag=|ascsubtag=)/)).reduce((e,t,r)=>0===r?`${e}?${t}`:`${e}&${t}`,""),c=(c=(c=c.replace(i,t.toString())).replace(ecommRelAttribute,"")).replace(ecommDataTrackAttribute,""),void(e=e.replace(a,c))}if(o){const{anchor:r,anchorText:a}=n,o=constructEcommAnchorTag({url:i,anchorText:a},t);e=e.replace(r,o)}}),e):e}function addAmazonLinkTrackingAttributes(e,t){const r=mapUrlsToProducts(reduceToUniqueAmazonUrls(e.text||""),t);return Promise.all(r).then(r=>(e.text=r.reduce(function(e,r){var n=generateBuyUrlWithSubtag({buyUrl:r.url,productId:r.productId},t),a=new RegExp(`]*`,"g"),i=`0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;const n=urlParse(e),a=n.query&&n.query.match(/[?&]tag=/);return r=r||getSiteAmazonAssociateId(t),e&&r&&!a&&(n.query=n.query?n.query+`&tag=${r}`:`&tag=${r}`),n.toString()}function generateBuyUrlWithSubtag(e,t,r){let{productId:n,buyUrl:a,affiliate:i}=e,{urlWithSubtag:o,subtag:c}=ensureSubtag({url:a,productId:n,locals:t,affiliate:i});return e.subtag=c,a="Amazon Associates"===getAffiliateByUrl(a=o||"")?ensureSiteTag(a,t,r):a}function getSiteAmazonAssociateId(e){return _get(e,"site.amazon","")}function removeDuplicateProducts(e){var t=new RegExp("/(dp|gp/product)/"),r=new RegExp("/(dp|gp/product)/[^?/]+");return e=_uniqBy(e,e=>e.imageUrl),e=_uniqBy(e,e=>e.name),_uniqBy(e,e=>{var n=_get(e,"buyUrl","")||_get(e.merchants[0],"buyUrl",""),a=_get(n.match(r),"[0]");return a?a.replace(t,""):n})}function generateSubtags(e,t){const r=_set(_cloneDeep(t),"params.ext","rss");e.forEach(e=>{e.BuyUrlForRSS=generateBuyUrlWithSubtag(e,r),e.buyUrlWithSubtag=generateBuyUrlWithSubtag(e,t)})}function isNarrativClickmateLink(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").includes("https://shop-links.co/link/?")}function isNarrativSmartlink(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.includes("shop-links.co")&&!isNarrativClickmateLink(e)}function isSkimlinksLink(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").includes("go.redirectingat.com")}function sanitizeNarrativUrl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=urlParse(e.replace(".anf",""));return t.protocol?(t.protocol="https:",t.slashes=!0,t.query=null,encodeURIComponent(t.toString())):sanitizeNarrativUrl(`https://${e}`)}function generateNarrativClickmateLink(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nymagtestaccount",r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;const a=_get(n,"url",""),i=(_get(n,"pageUri")||a).replace("@published",""),{articleName:o,articleUrl:c,lockNarrativLink:s=!0}=r,u=a.match(/_(pages|components)/)?null:a;if(isNarrativClickmateLink(e)){const t=e.split("?")?e.split("?").pop():"";e=queryString.parse(t).url||e}return"https://shop-links.co/link/?"+`url=${encodeURIComponent(e)}`+`&publisher_slug=${t}`+(o?`&article_name=${encodeURIComponent(o)}`:"")+"&article_url="+sanitizeNarrativUrl(c||i)+`&exclusive=${s?1:0}`+(u?`&display_url=${encodeURIComponent(u)}`:"")}function handleNarrativeLinks(e,t,r,n){const a=utils.isProduction(r.url),i=utils.isPublishedVersion(e),o=a&&i?"nymag":"nymagtestaccount";t.forEach(e=>{const t=isNarrativSmartlink(e.buyUrl);"Narrativ"!==e.affiliate||t||(e.buyUrl=generateNarrativClickmateLink(e.buyUrl,o,n,r))})}function handleRatingsAndReviews(e){e.forEach(e=>{const{ratings:t,reviews:r}=parseRatingsAndReviews(e.ratingsAndReviews);_set(e,"ratings",t?`${t} stars`:null),_set(e,"reviews",r?`${r} reviews`:null)})}function parseRatingsAndReviews(e){const t=e||"",r=_get(t.match(/[0-9][.0-9]* star[s]*/i),"[0]",""),n=_get(t.match(/[0-9,]* reviews/i),"[0]","");return{ratings:_get(r.match(/[0-9][.0-9]*/),"[0]",""),reviews:_get(n.match(/[0-9,]*/),"[0]","")}}function processAgoraMerchants(e,t,r,n){return handleNarrativeLinks(e,t,r,n),generateSubtags(t,r),handleRatingsAndReviews(t),t}function handleSalePrice(e){return(e.merchants?e.merchants:[]).forEach(e=>{merchantHasActiveSale(e)||(e.salePrice=null)}),e}function merchantHasActiveSale(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=moment();return(!e.saleBeginDateTime||t>=moment(e.saleBeginDateTime))&&!(e.saleEndDateTime&&moment(e.saleEndDateTime){e.affiliateRetailerId&&(e.name=e.retailerName),e.automatedBuyUrl&&(e.buyUrl=e.automatedBuyUrl)}),e}function orderMerchantsByPriority(e){return getMerchantsByPriority(e)}function isProductComponentUri(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return!!productComponentNames.find(t=>{const r=new RegExp(t);return!!utils.isComponentInstance(e,t)&&!!t.match(r)})}require(257),module.exports.addAmazonLinkTrackingAttributes=addAmazonLinkTrackingAttributes,module.exports.generateBuyUrlWithSubtag=generateBuyUrlWithSubtag,module.exports.handleNarrativeLinks=handleNarrativeLinks,module.exports.getProductIdFromUrl=getProductIdFromUrl,module.exports.isAmazonUrl=isAmazonUrl,module.exports.addProductIdToProduct=addProductIdToProduct,module.exports.removeDuplicateProducts=removeDuplicateProducts,module.exports.processAgoraMerchants=processAgoraMerchants,module.exports.isNarrativClickmateLink=isNarrativClickmateLink,module.exports.isNarrativSmartlink=isNarrativSmartlink,module.exports.isSkimlinksLink=isSkimlinksLink,module.exports.orderMerchantsByPriority=orderMerchantsByPriority,module.exports.sanitizeNarrativUrl=sanitizeNarrativUrl,module.exports.parseRatingsAndReviews=parseRatingsAndReviews,module.exports.handleLinkAutomation=handleLinkAutomation,module.exports.isProductComponentUri=isProductComponentUri,module.exports.merchantHasActiveSale=merchantHasActiveSale,module.exports.handleSalePrice=handleSalePrice,module.exports.parseAnchorTag=parseAnchorTag,module.exports.extractAnchorElements=extractAnchorElements,module.exports.constructEcommAnchorTag=constructEcommAnchorTag,module.exports.manageEcommAnchorTags=manageEcommAnchorTags,module.exports.ensureSiteTag=ensureSiteTag; }, {"6":6,"20":20,"58":58,"96":96,"97":97,"99":99,"108":108,"136":136,"157":157,"245":245,"257":257,"822":822,"1239":1239}]; window.modules["144"] = [function(require,module,exports){"use strict";const _debounce=require(149);let body=document.body,scriptTagsAdded={},debounceFns={};function removeProtocol(e){var n=e.split("//");return"//"+(n.length>1?n[1]:n[0])}function shouldAppendScript(e){return!scriptTagsAdded[e]}function appendScript(e){var n=document.createElement("script");n.type="text/javascript",n.src=e,n.async=!0,body.appendChild(n),scriptTagsAdded[e]=!0}function includeScript(e){shouldAppendScript(e=removeProtocol(e))&&appendScript(e)}function debouncedIncludeScript(e,n){const c=n||0;e&&(debounceFns[e]||(debounceFns[e]=_debounce(includeScript.bind(null,e),c)),debounceFns[e]())}module.exports.includeScript=debouncedIncludeScript; }, {"149":149}]; window.modules["145"] = [function(require,module,exports){"use strict";const $window=window,$visibility=require(5);var LazyLoader=function(i,t,s){let e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.wrapper=i,this.img=t,this.sources=s,this.visibility=new $visibility.Visible(i,{preloadThreshold:2*$window.innerHeight}),this.callback=e};LazyLoader.prototype={init:function(){this.visibility.preload?this.onPreload():this.visibility.on("preload",this.onPreload.bind(this))},onPreload:function(){this.callback?(this.callback(),this.fadeIn(),this.onShown()):(this.setImgSrc(),this.addImgLoadListener())},setImgSrc:function(){this.img.setAttribute("src",this.img.getAttribute("data-src")),this.sources&&this.sources.forEach(function(i){i.setAttribute("srcset",i.getAttribute("data-srcset"))})},addImgLoadListener:function(){this.img.complete?this.onImageLoad():this.img.addEventListener("load",this.onImageLoad.bind(this))},onImageLoad:function(){this.visibility.seen?this.onShown():this.visibility.on("shown",this.onShown.bind(this))},onShown:function(){this.fadeIn(),this.visibility.destroy()},fadeIn:function(){var i=this.wrapper;i.classList.remove("hidden"),i.classList.add("fade-in-element"),setTimeout(function(){i.classList.remove("fade-in-element")},2e3)}},module.exports.LazyLoader=LazyLoader; }, {"5":5}]; window.modules["146"] = [function(require,module,exports){var baseFindIndex=require(1058),baseIteratee=require(1098),toInteger=require(1186),nativeMax=Math.max;function findIndex(e,n,r){var t=null==e?0:e.length;if(!t)return-1;var a=null==r?0:toInteger(r);return a<0&&(a=nativeMax(t+a,0)),baseFindIndex(e,baseIteratee(n,3),a)}module.exports=findIndex; }, {"1058":1058,"1098":1098,"1186":1186}]; window.modules["149"] = [function(require,module,exports){var isObject=require(138),now=require(1216),toNumber=require(1187),FUNC_ERROR_TEXT="Expected a function",nativeMax=Math.max,nativeMin=Math.min;function debounce(n,i,t){var e,r,o,u,a,c,v=0,f=!1,m=!1,d=!0;if("function"!=typeof n)throw new TypeError(FUNC_ERROR_TEXT);function T(i){var t=e,o=r;return e=r=void 0,v=i,u=n.apply(o,t)}function s(n){var t=n-c;return void 0===c||t>=i||t<0||m&&n-v>=o}function b(){var n=now();if(s(n))return l(n);a=setTimeout(b,function(n){var t=i-(n-c);return m?nativeMin(t,o-(n-v)):t}(n))}function l(n){return a=void 0,d&&e?T(n):(e=r=void 0,u)}function w(){var n=now(),t=s(n);if(e=arguments,r=this,c=n,t){if(void 0===a)return function(n){return v=n,a=setTimeout(b,i),f?T(n):u}(c);if(m)return clearTimeout(a),a=setTimeout(b,i),T(c)}return void 0===a&&(a=setTimeout(b,i)),u}return i=toNumber(i)||0,isObject(t)&&(f=!!t.leading,o=(m="maxWait"in t)?nativeMax(toNumber(t.maxWait)||0,i):o,d="trailing"in t?!!t.trailing:d),w.cancel=function(){void 0!==a&&clearTimeout(a),v=0,e=c=r=a=void 0},w.flush=function(){return void 0===a?u:l(now())},w}module.exports=debounce; }, {"138":138,"1187":1187,"1216":1216}]; window.modules["156"] = [function(require,module,exports){"use strict";const{load:load}=require(41);function loadRecaptcha(e,t){let c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return load(e,{autoHideBadge:c}).then(e=>e.execute(t)).catch(console.error)}function injectRecaptchaScript(){const e=document.createElement("script"),t=document.createDocumentFragment(),c=document.getElementsByTagName("footer")[0]||document.querySelector(".main");e.src="https://www.google.com/recaptcha/api.js?render=explicit",e.async="async",t.appendChild(e),insertAfter(t,c.lastChild)}function insertAfter(e,t){t&&t.parentNode.insertBefore(e,t.nextSibling)}injectRecaptchaScript(),module.exports.loadRecaptcha=loadRecaptcha; }, {"41":41}]; window.modules["157"] = [function(require,module,exports){var baseSet=require(1128);function set(e,t,r){return null==e?e:baseSet(e,t,r)}module.exports=set; }, {"1128":1128}]; window.modules["158"] = [function(require,module,exports){"use strict";function getProductionCanonicalUrl(t){return t&&t.replace(/^https?:\/\/(?:(?:stg|localhost|www|[^.]+\.dev)\.)?([^\/]+)/,"https://www.$1").replace("www.nymag.com","nymag.com")}module.exports=getProductionCanonicalUrl; }, {}]; window.modules["170"] = [function(require,module,exports){var baseFlatten=require(1060),baseOrderBy=require(1123),baseRest=require(1137),isIterateeCall=require(1169),sortBy=baseRest(function(e,r){if(null==e)return[];var t=r.length;return t>1&&isIterateeCall(e,r[0],r[1])?r=[]:t>2&&isIterateeCall(r[0],r[1],r[2])&&(r=[r[0]]),baseOrderBy(e,baseFlatten(r,1),[])});module.exports=sortBy; }, {"1060":1060,"1123":1123,"1137":1137,"1169":1169}]; window.modules["177"] = [function(require,module,exports){var baseClone=require(1034),CLONE_SYMBOLS_FLAG=4;function clone(e){return baseClone(e,CLONE_SYMBOLS_FLAG)}module.exports=clone; }, {"1034":1034}]; window.modules["179"] = [function(require,module,exports){"use strict";const _get=require(20),_memoize=require(1207);function getPrimaryPageComponent(){return document.querySelector(".article")||document.querySelector(".lede-video")}function getPrimaryPageComponentChannel(){const e=getPrimaryPageComponent();return e&&e.getAttribute("data-content-channel")||"Undefined Channel"}function getPageUri(){return document.documentElement.getAttribute("data-uri")}function getPageId(){return getPageUri().split("/_pages/")[1]}function getSiteBase(){return(getPageUri()||"").split("/_pages/")[0]}function getMetaContent(e){var t=document.querySelector('meta[name="'+e+'"]')||document.querySelector('meta[property="'+e+'"]');return _get(t,"content","")}module.exports.getMeta=_memoize(getMetaContent),module.exports.getVertical=module.exports.getMeta.bind(void 0,"vertical"),module.exports.getPageType=module.exports.getMeta.bind(void 0,"type"),module.exports.getAuthor=module.exports.getMeta.bind(void 0,"author"),module.exports.getSiteName=module.exports.getMeta.bind(void 0,"og:site_name"),module.exports.getSiteBase=_memoize(getSiteBase),module.exports.getPageUri=_memoize(getPageUri),module.exports.getPageId=_memoize(getPageId),module.exports.getChannel=_memoize(getPrimaryPageComponentChannel),module.exports.getPrimaryPageComponent=getPrimaryPageComponent; }, {"20":20,"1207":1207}]; window.modules["182"] = [function(require,module,exports){var arrayFilter=require(1001),baseFilter=require(1057),baseIteratee=require(1098),isArray=require(197);function filter(r,e){return(isArray(r)?arrayFilter:baseFilter)(r,baseIteratee(e,3))}module.exports=filter; }, {"197":197,"1001":1001,"1057":1057,"1098":1098}]; window.modules["185"] = [function(require,module,exports){var assignValue=require(1026),copyObject=require(1029),createAssigner=require(1168),isArrayLike=require(1110),isPrototype=require(1104),keys=require(196),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,assign=createAssigner(function(e,r){if(isPrototype(r)||isArrayLike(r))copyObject(r,keys(r),e);else for(var s in r)hasOwnProperty.call(r,s)&&assignValue(e,s,r[s])});module.exports=assign; }, {"196":196,"1026":1026,"1029":1029,"1104":1104,"1110":1110,"1168":1168}]; window.modules["186"] = [function(require,module,exports){var arrayMap=require(1011),baseIteratee=require(1098),basePickBy=require(1127),getAllKeysIn=require(1035);function pickBy(e,r){if(null==e)return{};var a=arrayMap(getAllKeysIn(e),function(e){return[e]});return r=baseIteratee(r),basePickBy(e,a,function(e,a){return r(e,a[0])})}module.exports=pickBy; }, {"1011":1011,"1035":1035,"1098":1098,"1127":1127}]; window.modules["187"] = [function(require,module,exports){!function(t,e){"use strict";if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},i.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},i.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(t,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(i){var r=i.element,s=h(r),c=this._rootContainsTarget(r),a=i.entry,u=e&&c&&this._computeTargetAndRootIntersection(r,n),l=i.entry=new o({time:t.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:n,intersectionRect:u});a?e&&c?this._hasCrossedThreshold(a,l)&&this._queuedEntries.push(l):a&&a.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(n,o){if("none"!=t.getComputedStyle(n).display){for(var i,r,s,c,u,l,p,d,f=h(n),g=a(n),_=!1;!_;){var v=null,m=1==g.nodeType?t.getComputedStyle(g):{};if("none"==m.display)return;if(g==this.root||g==e?(_=!0,v=o):g!=e.body&&g!=e.documentElement&&"visible"!=m.overflow&&(v=h(g)),v&&(i=v,r=f,s=void 0,c=void 0,u=void 0,l=void 0,p=void 0,d=void 0,s=Math.max(i.top,r.top),c=Math.min(i.bottom,r.bottom),u=Math.max(i.left,r.left),l=Math.min(i.right,r.right),d=c-s,!(f=(p=l-u)>=0&&d>=0&&{top:s,bottom:c,left:u,right:l,width:p,height:d})))break;g=a(g)}return f}},i.prototype._getRootRect=function(){var t;if(this.root)t=h(this.root);else{var n=e.documentElement,o=e.body;t={top:0,left:0,right:n.clientWidth||o.clientWidth,width:n.clientWidth||o.clientWidth,bottom:n.clientHeight||o.clientHeight,height:n.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},i.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i(t||100)-1)return n||i;if(n=n?i+">"+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},f=-1,l=function(){return f},d=function(e){addEventListener("pageshow",function(t){t.persisted&&(f=t.timeStamp,e(t))},!0)},m=function(){var e=o();return e&&e.activationStart||0},v=function(e,t){var n=o(),r="navigate";return l()>=0?r="back-forward-cache":n&&(r=document.prerendering||m()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){t(e.getEntries())});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},h=function(e,t){var n=function n(r){"pagehide"!==r.type&&"hidden"!==document.visibilityState||(e(r),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},g=function(e,t,n,r){var i,a;return function(o){t.value>=0&&(o||r)&&((a=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},T=-1,y=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},E=function(){h(function(e){var t=e.timeStamp;T=t},!0)},S=function(){return T<0&&(T=y(),E(),d(function(){setTimeout(function(){T=y(),E()},0)})),{get firstHiddenTime(){return T}}},b=function(e,t){t=t||{};var n,r=[1800,3e3],i=S(),a=v("FCP"),o=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(c&&c.disconnect(),e.startTime=0&&n1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){M(e,t),i()},r=function(){i()},i=function(){removeEventListener("pointerup",n,L),removeEventListener("pointercancel",r,L)};addEventListener("pointerup",n,L),addEventListener("pointercancel",r,L)}(t,e):M(t,e)}},B=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,x,L)})},I=function(e,r){r=r||{};var a,o=[100,300],u=S(),c=v("FID"),s=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};_[r.id]=r,j.push(r)}j.sort(function(e,t){return t.latency-e.latency}),j.splice(10).forEach(function(e){delete _[e.id]})}},U={},z=function(e,t){t=t||{};var n=[800,1800],r=v("TTFB"),i=g(e,r,n,t.reportAllChanges);!function e(t){document.prerendering?addEventListener("prerenderingchange",function(){return e(t)},!0):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)}(function(){var a=o();if(a){if(r.value=Math.max(a.responseStart-m(),0),r.value<0||r.value>performance.now())return;r.entries=[a],i(!0),d(function(){r=v("TTFB",0),(i=g(e,r,n,t.reportAllChanges))(!0)})}})};e.onCLS=function(e,t){!function(e,t){t=t||{};var n=[.1,.25];C||(b(function(e){w=e.value}),C=!0);var r,i=function(t){w>-1&&e(t)},a=v("CLS",0),o=0,u=[],c=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],n=u[u.length-1];o&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(o+=e.value,u.push(e)):(o=e.value,u=[e]),o>a.value&&(a.value=o,a.entries=u,r())}})},s=p("layout-shift",c);s&&(r=g(i,a,n,t.reportAllChanges),h(function(){c(s.takeRecords()),r(!0)}),d(function(){o=0,w=-1,a=v("CLS",0),r=g(i,a,n,t.reportAllChanges)}))}(function(t){!function(e){if(e.entries.length){var t=e.entries.reduce(function(e,t){return e&&e.value>t.value?e:t});if(t&&t.sources&&t.sources.length){var n=(r=t.sources).find(function(e){return e.node&&1===e.node.nodeType})||r[0];n&&(e.attribution={largestShiftTarget:s(n.node),largestShiftTime:t.startTime,largestShiftValue:t.value,largestShiftSource:n,largestShiftEntry:t,loadState:u(t.startTime)})}}else e.attribution={};var r}(t),e(t)},t)},e.onFCP=function(e,t){b(function(t){!function(e){if(e.entries.length){var t=o(),n=e.entries[e.entries.length-1];if(t){var r=t.activationStart||0,i=Math.max(0,t.responseStart-r);e.attribution={timeToFirstByte:i,firstByteToFCP:e.value-i,loadState:u(e.entries[0].startTime),navigationEntry:t,fcpEntry:n}}}else e.attribution={timeToFirstByte:0,firstByteToFCP:e.value,loadState:u(l())}}(t),e(t)},t)},e.onFID=function(e,t){I(function(t){!function(e){var t=e.entries[0];e.attribution={eventTarget:s(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:u(t.startTime)}}(t),e(t)},t)},e.onINP=function(e,t){!function(e,t){t=t||{};var n=[200,500];R();var r,i=v("INP"),a=function(e){e.forEach(function(e){e.interactionId&&V(e),"first-input"===e.entryType&&!j.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})&&V(e)});var t,n=(t=Math.min(j.length-1,Math.floor(O()/50)),j[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},o=p("event",a,{durationThreshold:t.durationThreshold||40});r=g(e,i,n,t.reportAllChanges),o&&(o.observe({type:"first-input",buffered:!0}),h(function(){a(o.takeRecords()),i.value<0&&O()>0&&(i.value=0,i.entries=[]),r(!0)}),d(function(){j=[],H=q(),i=v("INP"),r=g(e,i,n,t.reportAllChanges)}))}(function(t){!function(e){if(e.entries.length){var t=e.entries.sort(function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)})[0];e.attribution={eventTarget:s(t.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:u(t.startTime)}}else e.attribution={}}(t),e(t)},t)},e.onLCP=function(e,t){!function(e,t){t=t||{};var n,r=[2500,4e3],i=S(),a=v("LCP"),o=function(e){var t=e[e.length-1];if(t){var r=t.startTime-m();r!!e),t=e.split(",").map(e=>e.trim()).filter(e=>!!e).filter(e=>"_"!=e[0]).map(e=>{for(let t=0;t!!e);return 0==t.length?e=>e:1==t.length?t[0]:t.reduce((e,r)=>(...t)=>r(e(...t)))}function meta(e,r){var t=r||logger;if(e&&Object.keys(e).length)return log(t.child(e));throw new Error("Clay Log: `meta` function requires object argument")}function log(e){return isNode&&!plugins&&(e=initPlugins()(e)),function(r,t,o){o=o||{},r instanceof Error&&(t=r,r="error"),r&&t?(o._label=r.toUpperCase(),e[r](o,t)):e.error(new Error("level or msg arguments required"))}}function setLogger(e){pino=e}function getLogger(){return logger}module.exports.init=init,module.exports.meta=meta,module.exports.getLogger=getLogger,module.exports.log=log,module.exports.setLogger=setLogger,module.exports.resolvePluginPath=resolvePluginPath; }).call(this)}).call(this,require(46))}, {"46":46,"650":650,"651":651}]; window.modules["237"] = [function(require,module,exports){var baseIsEqual=require(1083);function isEqual(a,s){return baseIsEqual(a,s)}module.exports=isEqual; }, {"1083":1083}]; window.modules["239"] = [function(require,module,exports){(function (__filename){(function (){ "use strict";const _get=require(20),auth0=require(22),isLocal=window.location.hostname.includes("localhost"),isProd=require(13)(),log=require(19).setup({file:__filename}),ENV_KEY=isProd?"prd":"stg",graphqlEndpoint=isLocal?"https://subs.localhost/graphql":`https://subs.${ENV_KEY}.aws.nymetro.com/graphql`;function retrieveSubscribedNewsletters(e){const t=JSON.stringify({query:`{\n user(email: "${e}") {\n newsletterList {\n alias\n subscribed\n }\n }\n }`});return fetch(graphqlEndpoint,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${auth0.getAuthJwt()}`,user:window.btoa(e)},body:t}).then(e=>e.json()).then(e=>{const t=_get(e,"data.user.newsletterList");return t?t.filter(e=>!!e.subscribed).map(e=>e.alias):[]}).catch(e=>{log("error",`Error retrieving newsletters: ${e.message}`)})}module.exports=retrieveSubscribedNewsletters; }).call(this)}).call(this,"/services/client/retrieveUserNewsletters.js")}, {"13":13,"19":19,"20":20,"22":22}]; window.modules["245"] = [function(require,module,exports){"use strict";const universalAgora=require(1567),universalRest=require(30),universalQuery=require(1566),_get=require(20);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 getProductWithVariations(e,r,t){return universalAgora.getProduct(e,t).then(s=>s.referenceId?getVariations(s.referenceId,r,t).then(r=>{const{products:t}=r,u=[];let a={},o=!0;return t.forEach(r=>{r.productId!==e&&u.push(r),r.productId===s.referenceId&&(a=r)}),s.productId!==s.referenceId&&(o=!1),s.isCanonical=o,s.variations=u,s.canonical=a,s}):(s.isCanonical=!0,s.variations=[],s.canonical={},s))}function getVariations(e,r){return searchByQueryWithRawResults(universalAgora.findVariationsQuery({filters:{referenceId:e}}),r).then(e=>{const r=universalQuery.formatSearchResult(e);return{total:e.hits.total,products:r}})}function getMerchantsList(e){return searchByQueryWithRawResults(universalAgora.buildMerchantsAggregation(1e6,_get(e,"site.agoraLocale")),e).then(universalQuery.formatAggregationResults({aggregationName:"merchants",field:"key",subfield:"name"}))}function getProductsByProductIds(e,r){return searchByQueryWithRawResults(universalAgora.buildProductsByProductIdsQuery(e,_get(r,"site.agoraLocale")),r).then(e=>universalQuery.formatSearchResult(e))}module.exports.getProduct=universalAgora.getProduct,module.exports.getProducts=getProducts,module.exports.getMerchantsList=getMerchantsList,module.exports.searchByQueryWithRawResults=searchByQueryWithRawResults,module.exports.buildMerchantsByUrlQuery=universalAgora.buildMerchantsByUrlQuery,module.exports.getProductWithVariations=getProductWithVariations,module.exports.getProductsByProductIds=getProductsByProductIds; }, {"20":20,"30":30,"1566":1566,"1567":1567}]; window.modules["252"] = [function(require,module,exports){var baseAssignValue=require(1024),baseForOwn=require(1050),baseIteratee=require(1098);function mapValues(e,a){var s={};return a=baseIteratee(a,3),baseForOwn(e,function(e,r,u){baseAssignValue(s,r,a(e,r,u))}),s}module.exports=mapValues; }, {"1024":1024,"1050":1050,"1098":1098}]; window.modules["257"] = [function(require,module,exports){require(920),module.exports=self.fetch.bind(self); }, {"920":920}]; window.modules["265"] = [function(require,module,exports){"use strict";const queryString=require(136),parseurl=require(99),{ensureSubtag:ensureSubtag}=require(97),_includes=require(90),thirdParty=require(144),permutive=require(100),{getPageUri:getPageUri}=require(179),narrativDomain="shop-links.co/",{isNarrativClickmateLink:isNarrativClickmateLink,isSkimlinksLink:isSkimlinksLink}=require(143),utils=require(6),article=document.querySelector("article.article"),articleHeadline=article&&article.dataset&&article.dataset.headline||"";function handleBuyClick(e,i){return function(t){window.fbq&&window.fbq("trackCustom",i,{domain:e}),permutive.reportProductClick(t.currentTarget)}}function amazonOnetagSrc(){return"https://z-na.associates-amazon.com/onetag/v2?MarketPlace=US&instanceId=74e5d3e9-e5c4-4fa2-85e4-0e43ae3f0f84"}function attachThirdPartyScripts(e,i){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=_includes(i,"amazon.com/")||_includes(i,"amazon.co.uk/"),a="product-link"===e.getAttribute("data-track-type");r&&a&&thirdParty.includeScript(amazonOnetagSrc(),2500),(_includes(i,narrativDomain)||t)&&thirdParty.includeScript("static.bam-x.com/tags/nymag.js")}function ensureClickmateParams(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=getPageUri(),t=utils.isProduction(i),r=utils.isPublishedVersion(i),a=t&&r?"nymag":"nymagtestaccount";let n=e.href,s=n.split("?")?n.split("?").pop():"",c=queryString.parse(s),u=isNarrativClickmateLink(n),l=e.getAttribute("data-narrativ-title");if(u){let i=l||articleHeadline;i&&(c.article_name=i),c.publisher_slug=a,e.href=n.split("?").shift()+`?${queryString.stringify(c)}`}}function ensureSkimlinksParams(e){const i=e.href,t=parseurl(i);if(isSkimlinksLink(i)){const i=window.location.href,r=t.query?"&":"?";t.query+=`${r}sref=${encodeURIComponent(i)}`,e.href=t.toString()}}function initLink(e,i){var t,r=e&&e.href,a=e.classList.contains("narrativ-link");r&&(e.addEventListener("click",handleBuyClick(r,"Click-Out")),e.addEventListener("contextmenu",handleBuyClick(r,"Click-Out-Right")),t=e&&e.getAttribute("data-track-id"),e.href=ensureSubtag({url:r,productId:t,visitState:i,anchorEl:e})||r,ensureClickmateParams(e),ensureSkimlinksParams(e),attachThirdPartyScripts(e,r,a),permutive.initProductLink(e))}module.exports.initLink=initLink; }, {"6":6,"90":90,"97":97,"99":99,"100":100,"136":136,"143":143,"144":144,"179":179}]; window.modules["268"] = [function(require,module,exports){!function(t,e){"function"==typeof define&&define.amd?define([],function(){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(t):t.mezr=e(t)}(this,function(t,e){"use strict";var o=t.document&&t.self===t.document.defaultView?t:window,n=o.document,r=n.documentElement,i=n.body;if(!i)throw Error("Mezr needs access to body element.");var f,l=Math.abs,a=Math.max,p=Math.min,u={content:1,padding:2,scroll:3,border:4,margin:5},c=["inline","table-column","table-column-group"],h={};function s(t,e){return j("width",t,(e=e&&u[e]||4)>1,e>2,e>3,e>4)}function d(t,e){return j("height",t,(e=e&&u[e]||4)>1,e>2,e>3,e>4)}function g(t,e){var i,f,l,a,p;if(t===n)return null;if(t===o)return n;var u=e||w(t,"position");if("relative"===u)return t;if("fixed"===u||"absolute"===u){if("fixed"===u&&h.transformLeaksFixed)return o;if(i=t===r?n:t.parentElement||null,"fixed"===u){for(;i&&i!==n&&!b(i);)i=i.parentElement||n;return i===n?o:i}for(;i&&i!==n&&"static"===w(i,"position")&&!b(i);)i=i.parentElement||n;return i}if("sticky"===u||"-webkit-sticky"===u){for(f=["overflow","overflow-y","overflow-x"],l=t.parentNode,t=null;!t&&l&&l!==n;){for(p=0;p<3;p++)if("auto"===(a=w(l,f[p]))||"scroll"===a){t=l;break}t||(l=l.parentNode)}return t||o}return null}function m(t){return"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)}function b(t){var e=w(t,h.transform.styleName),o=w(t,"display");return"none"!==e&&"inline"!==o&&"none"!==o}function v(t){return parseFloat(t)||0}function w(t,e){return o.getComputedStyle(t,null).getPropertyValue(e)}function y(t,e){return v(w(t,e))}function x(t,e){Object.keys(e).forEach(function(o){t.style[o]=e[o]})}function O(t,e){var o=A(t),n=A(e);return{left:o.left-n.left,right:n.left+n.width-(o.left+o.width),top:o.top-n.top,bottom:n.top+n.height-(o.top+o.height)}}function k(t,e){var o={},n=A(t),r=O(n,A(e)),i=a(n.width+p(r.left,0)+p(r.right,0),0),f=a(n.height+p(r.top,0)+p(r.bottom,0),0),u=i>0&&f>0;return u&&(o.width=i,o.height=f,o.left=n.left+l(p(r.left,0)),o.top=n.top+l(p(r.top,0)),o.right=o.left+o.width,o.bottom=o.top+o.height),u?o:null}function C(t,e,o,n){return Math.sqrt(Math.pow(o-t,2)+Math.pow(n-e,2))}function j(t,l,p,u,h,s){var d,g,m,b,v,x,O,k="height"===t,C=k?"Height":"Width",j="inner"+C,M="client"+C,A="scroll"+C,E=0;return l.self===o.self?d=u?o[j]:r[M]:l===n?u?(E=o[j]-r[M],d=a(r[A]+E,i[A]+E,o[j])):d=a(r[A],i[A],r[M]):(g=k?"top":"left",m=k?"bottom":"right",d=(f||l.getBoundingClientRect())[t],u||(l===r?E=o[j]-r[M]:c.indexOf(w(l,"display"))<0&&(b=y(l,"border-"+g+"-width"),v=y(l,"border-"+m+"-width"),E=Math.round(d)-(l[M]+b+v)),d-=E>0?E:0),p||(d-=y(l,"padding-"+g),d-=y(l,"padding-"+m)),h||(d-=b!==e?b:y(l,"border-"+g+"-width"),d-=v!==e?v:y(l,"border-"+m+"-width")),s&&(d+=(x=y(l,"margin-"+g))>0?x:0,d+=(O=y(l,"margin-"+m))>0?O:0)),d>0?d:0}function M(t,e){var r={left:0,top:0};if(t===n)return r;if(r.left=o.pageXOffset||0,r.top=o.pageYOffset||0,t.self===o.self)return r;var i=f||t.getBoundingClientRect();if(r.left+=i.left,r.top+=i.top,5===(e=e&&u[e]||4)){var l=y(t,"margin-left"),a=y(t,"margin-top");r.left-=l>0?l:0,r.top-=a>0?a:0}return e<4&&(r.left+=y(t,"border-left-width"),r.top+=y(t,"border-top-width")),1===e&&(r.left+=y(t,"padding-left"),r.top+=y(t,"padding-top")),r}function A(t,e){return t?m(t)?t:E((t=[].concat(t))[0],t[1],e):null}function E(t,e,r){var i,a=t!==n&&t.self!==o.self;return e=e||"border",r&&(i=function(t,e){if(e=e||"border",t===o||t===n)return M(t,e);var r=w(t,"position"),i="absolute"===r||"fixed"===r?M(g(t)||n,"padding"):M(t,e);if("relative"===r){var f=w(t,"left"),a=w(t,"right"),c=w(t,"top"),h=w(t,"bottom");"auto"===f&&"auto"===a||(i.left-="auto"===f?-v(a):v(f)),"auto"===c&&"auto"===h||(i.top-="auto"===c?-v(h):v(c))}else if("absolute"===r||"fixed"===r){e=u[e];var s=y(t,"margin-left"),d=y(t,"margin-top");5===e&&(i.left-=l(p(s,0)),i.top-=l(p(d,0))),e<5&&(i.left+=s,i.top+=d),e<4&&(i.left+=y(t,"border-left-width"),i.top+=y(t,"border-top-width")),1===e&&(i.left+=y(t,"padding-left"),i.top+=y(t,"padding-top"))}return i}(t,e)),a&&(f=t.getBoundingClientRect()),r||(i=M(t,e)),i.width=s(t,e),i.height=d(t,e),i.bottom=i.top+i.height,i.right=i.left+i.width,a&&(f=null),i}function R(t,e,o,n,r,i,f){var l=t.charAt(0)+e.charAt(0),a=n+f-i;return"ll"===l||"tt"===l?a:"lc"===l||"tc"===l?a+o/2:"lr"===l||"tb"===l?a+o:"cl"===l||"ct"===l?a-r/2:"cr"===l||"cb"===l?a+o-r/2:"rl"===l||"bt"===l?a-r:"rc"===l||"bc"===l?a-r+o/2:"rr"===l||"bb"===l?a-r+o:a+o/2-r/2}function B(t,e,o){var n=0,r=o?"top":"left",i=o?"bottom":"right",f=t[r],a=t[i],p=e[r],u=e[i],c=p+u;return"push"!==f&&"forcepush"!==f||"push"!==a&&"forcepush"!==a||!(p<0||u<0)?("forcepush"===f||"push"===f)&&p<0?n-=p:("forcepush"===a||"push"===a)&&u<0&&(n+=u):(pl||cp||sl?sl?u-l:h>p?h-p:f-c);var r,i,f,l,a,p,u,c,h,s},intersection:function(){var t=k(arguments[0],arguments[1]);if(arguments.length>2)for(var e=2;e-1?v(g)/100*l.width:v(g),b="string"==typeof b&&b.indexOf("%")>-1?v(b)/100*l.height:v(b),r.left=R(f[0],f[2],a.width,a.left,l.width,l.left,g),r.top=R(f[1],f[3],a.height,a.top,l.height,l.top,b),l.left+=r.left,l.top+=r.top,u&&c&&(((o=O(l,e=A(u))).left<0||o.right<0)&&(s=B(c,o),r.left+=s),(o.top<0||o.bottom<0)&&(d=B(c,o,1),r.top+=d)),"function"==typeof i.adjust&&(0!==s&&(l.left+=s,l.right=l.left+l.width),0!==d&&(l.top+=d,l.bottom=l.left+l.width),e=u?e||A(u):null,n=m(i.element)?i.element:M.apply(null,[].concat(i.element)),o=e?O(l,e):null,i.adjust(r,{elementRect:l,targetRect:a,containerRect:e,shift:{left:l.left-n.left,top:l.top-n.top},overflow:o?{left:-o.left,right:-o.right,top:-o.top,bottom:-o.bottom}:null,overflowCorrection:{left:s,top:d}})),r},_settings:h}}); }, {}]; window.modules["299"] = [function(require,module,exports){"use strict";const engine=require(1427);module.exports=engine.createStore([require(1429),require(1430)],[require(1426)]); }, {"1426":1426,"1427":1427,"1429":1429,"1430":1430}]; window.modules["334"] = [function(require,module,exports){var deburrLetter=require(1190),toString=require(1155),reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsComboMarksRange="\\u0300-\\u036f",reComboHalfMarksRange="\\ufe20-\\ufe2f",rsComboSymbolsRange="\\u20d0-\\u20ff",rsComboRange=rsComboMarksRange+reComboHalfMarksRange+rsComboSymbolsRange,rsCombo="["+rsComboRange+"]",reComboMark=RegExp(rsCombo,"g");function deburr(r){return(r=toString(r))&&r.replace(reLatin,deburrLetter).replace(reComboMark,"")}module.exports=deburr; }, {"1155":1155,"1190":1190}]; window.modules["356"] = [function(require,module,exports){module.exports=require(88); }, {"88":88}]; window.modules["357"] = [function(require,module,exports){var Module=function(){"use strict";function t(t,e){var n=new(Function.prototype.bind.apply(t,[null].concat(e)));return t.module.context[t.refName]=n,n}function e(t,e,n){var i=function(t){var e,n;for(e=0;ewindow.screen.width?[window.screen.height,window.screen.width]:[window.screen.width,window.screen.height],e.addPreprocessedComponent({key:"resolution",value:t}),e},availableScreenResolutionKey:function(e){return this.options.excludeAvailableScreenResolution?e:this.getAvailableScreenResolution(e)},getAvailableScreenResolution:function(e){var t;return window.screen.availWidth&&window.screen.availHeight&&(t=this.options.detectScreenOrientation?window.screen.availHeight>window.screen.availWidth?[window.screen.availHeight,window.screen.availWidth]:[window.screen.availWidth,window.screen.availHeight]:[window.screen.availHeight,window.screen.availWidth]),void 0!==t&&e.addPreprocessedComponent({key:"available_resolution",value:t}),e},timezoneOffsetKey:function(e){return this.options.excludeTimezoneOffset||e.addPreprocessedComponent({key:"timezone_offset",value:(new Date).getTimezoneOffset()}),e},sessionStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasSessionStorage()&&e.addPreprocessedComponent({key:"session_storage",value:1}),e},localStorageKey:function(e){return!this.options.excludeSessionStorage&&this.hasLocalStorage()&&e.addPreprocessedComponent({key:"local_storage",value:1}),e},indexedDbKey:function(e){return!this.options.excludeIndexedDB&&this.hasIndexedDB()&&e.addPreprocessedComponent({key:"indexed_db",value:1}),e},addBehaviorKey:function(e){return!this.options.excludeAddBehavior&&document.body&&document.body.addBehavior&&e.addPreprocessedComponent({key:"add_behavior",value:1}),e},openDatabaseKey:function(e){return!this.options.excludeOpenDatabase&&window.openDatabase&&e.addPreprocessedComponent({key:"open_database",value:1}),e},cpuClassKey:function(e){return this.options.excludeCpuClass||e.addPreprocessedComponent({key:"cpu_class",value:this.getNavigatorCpuClass()}),e},platformKey:function(e){return this.options.excludePlatform||e.addPreprocessedComponent({key:"navigator_platform",value:this.getNavigatorPlatform()}),e},doNotTrackKey:function(e){return this.options.excludeDoNotTrack||e.addPreprocessedComponent({key:"do_not_track",value:this.getDoNotTrack()}),e},canvasKey:function(e){return!this.options.excludeCanvas&&this.isCanvasSupported()&&e.addPreprocessedComponent({key:"canvas",value:this.getCanvasFp()}),e},webglKey:function(e){return!this.options.excludeWebGL&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl",value:this.getWebglFp()}),e},webglVendorAndRendererKey:function(e){return!this.options.excludeWebGLVendorAndRenderer&&this.isWebGlSupported()&&e.addPreprocessedComponent({key:"webgl_vendor",value:this.getWebglVendorAndRenderer()}),e},adBlockKey:function(e){return this.options.excludeAdBlock||e.addPreprocessedComponent({key:"adblock",value:this.getAdBlock()}),e},hasLiedLanguagesKey:function(e){return this.options.excludeHasLiedLanguages||e.addPreprocessedComponent({key:"has_lied_languages",value:this.getHasLiedLanguages()}),e},hasLiedResolutionKey:function(e){return this.options.excludeHasLiedResolution||e.addPreprocessedComponent({key:"has_lied_resolution",value:this.getHasLiedResolution()}),e},hasLiedOsKey:function(e){return this.options.excludeHasLiedOs||e.addPreprocessedComponent({key:"has_lied_os",value:this.getHasLiedOs()}),e},hasLiedBrowserKey:function(e){return this.options.excludeHasLiedBrowser||e.addPreprocessedComponent({key:"has_lied_browser",value:this.getHasLiedBrowser()}),e},fontsKey:function(e,t){return this.options.excludeJsFonts?this.flashFontsKey(e,t):this.jsFontsKey(e,t)},flashFontsKey:function(e,t){return this.options.excludeFlashFonts?t(e):this.hasSwfObjectLoaded()&&this.hasMinFlashInstalled()?void 0===this.options.swfPath?t(e):void this.loadSwfAndDetectFonts(function(n){e.addPreprocessedComponent({key:"swf_fonts",value:n.join(";")}),t(e)}):t(e)},jsFontsKey:function(e,t){var n=this;return setTimeout(function(){var i=["monospace","sans-serif","serif"],a=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];n.options.extendedJsFonts&&(a=a.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),a=(a=a.concat(n.options.userDefinedFonts)).filter(function(e,t){return a.indexOf(e)===t});var r=document.getElementsByTagName("body")[0],o=document.createElement("div"),s=document.createElement("div"),l={},d={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},c=function(e){for(var t=!1,n=0;nt.name?1:e.name<=t.indexOf("win")?"Windows":0<=t.indexOf("android")?"Android":0<=t.indexOf("linux")?"Linux":0<=t.indexOf("iphone")||0<=t.indexOf("ipad")?"iOS":0<=t.indexOf("mac")?"Mac":"Other",("ontouchstart"in window||0<=i.indexOf("win")&&"Windows"!==e&&"Windows Phone"!==e||(0<=i.indexOf("linux")||0<=i.indexOf("android")||0<=i.indexOf("pike"))&&"Linux"!==e&&"Android"!==e||(0<=i.indexOf("mac")||0<=i.indexOf("ipad")||0<=i.indexOf("ipod")||0<=i.indexOf("iphone"))&&"Mac"!==e&&"iOS"!==e||(-1===i.indexOf("win")&&-1===i.indexOf("linux")&&-1===i.indexOf("mac"))!=("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e},getHasLiedBrowser:function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(("Chrome"==(e=0<=t.indexOf("firefox")?"Firefox":0<=t.indexOf("opera")||0<=t.indexOf("opr")?"Opera":0<=t.indexOf("chrome")?"Chrome":0<=t.indexOf("safari")?"Safari":0<=t.indexOf("trident")?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var i,a=eval.toString().length;if(37===a&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===a&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===a&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),i=!0}catch(e){i=!1}}return!(!i||"Firefox"===e||"Other"===e)},isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},isWebGlSupported:function(){if(!this.isCanvasSupported())return!1;var e=this.getWebglCanvas();return!!window.WebGLRenderingContext&&!!e},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},hasSwfObjectLoaded:function(){return void 0!==window.swfobject},hasMinFlashInstalled:function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},addFlashDivNode:function(){var e=document.createElement("div");e.setAttribute("id",this.options.swfContainerId),document.body.appendChild(e)},loadSwfAndDetectFonts:function(e){var t="___fp_swf_loaded";window[t]=function(t){e(t)};var n=this.options.swfContainerId;this.addFlashDivNode();var i={onReady:t};window.swfobject.embedSWF(this.options.swfPath,n,"1","1","9.0.0",!1,i,{allowScriptAccess:"always",menu:"false"},{})},getWebglCanvas:function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},each:function(e,t,n){if(null!==e)if(this.nativeForEach&&e.forEach===this.nativeForEach)e.forEach(t,n);else if(e.length===+e.length){for(var i=0,a=e.length;i>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},x64Multiply:function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},x64Rotl:function(e,t){return 32==(t%=64)?[e[1],e[0]]:t<32?[e[0]<>>32-t,e[1]<>>32-t]:(t-=32,[e[1]<>>32-t,e[0]<>>32-t])},x64LeftShift:function(e,t){return 0==(t%=64)?e:t<32?[e[0]<>>32-t,e[1]<<>>1]),e=this.x64Multiply(e,[4283543511,3981806797]),e=this.x64Xor(e,[0,e[0]>>>1]),e=this.x64Multiply(e,[3301882366,444984403]),this.x64Xor(e,[0,e[0]>>>1])},x64hash128:function(e,t){t=t||0;for(var n=(e=e||"").length%16,i=e.length-n,a=[0,t],r=[0,t],o=[0,0],s=[0,0],l=[2277735313,289559509],d=[1291169091,658871167],u=0;u>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)}},e.VERSION="1.8.0",e}); }, {}]; window.modules["359"] = [function(require,module,exports){var arrayMap=require(1011),baseIntersection=require(1077),baseRest=require(1137),castArrayLikeObject=require(1153),last=require(86),intersectionWith=baseRest(function(e){var r=last(e),t=arrayMap(e,castArrayLikeObject);return(r="function"==typeof r?r:void 0)&&t.pop(),t.length&&t[0]===e[0]?baseIntersection(t,void 0,r):[]});module.exports=intersectionWith; }, {"86":86,"1011":1011,"1077":1077,"1137":1137,"1153":1153}]; window.modules["396"] = [function(require,module,exports){"use strict";const _map=require(98),_mapValues=require(252),_assign=require(185),_pickBy=require(186),{getAffiliateByUrl:getAffiliateByUrl}=require(397),affiliateFields=["siteKey","pageId","productId","utmMedium","utmSource","sessionCount","format","utmCampaign","itmSearch","referrer","device","zone"],affiliateSettings={"Amazon Associates":{subtagKey:"ascsubtag",maxLength:99,delimiter:"standard",encode:!1},Narrativ:{subtagKey:"u1",maxLength:99,delimiter:"standard",encode:!0},Rakuten:{subtagKey:"u1",maxLength:72,delimiter:"standard",encode:!1},Shareasale:{subtagKey:"afftrack",maxLength:99,delimiter:"standard",encode:!1},Skimlinks:{subtagKey:"xcust",maxLength:100,delimiter:"alt",encode:!1},Impact:{subtagKey:"subId2",maxLength:99,delimiter:"standard",encode:!1},Avantlink:{subtagKey:"ctc",maxLength:64,delimiter:"alt",encode:!1},CJ:{subtagKey:"sid",maxLength:64,delimiter:"alt",encode:!1,joinBy:"/",assignBy:"/",positioned:!0,position:"after",positionKey:"type/dlg/"},Partnerize:{subtagKey:"pubref",maxLength:100,delimiter:"alt",encode:!1,joinBy:"/",assignBy:":",positioned:!0,position:"before",positionKey:"destination"},Pepperjam:{subtagKey:"sid",maxLength:100,delimiter:"alt",encode:!1},Awin:{subtagKey:"pref1",maxLength:100,delimiter:"alt",encode:!1,positioned:!0,position:"before",positionKey:"ued"}},subtagDictionary={siteKey:"",pageId:"p",productId:"i",zone:"z",device:"d",utmSource:"s",utmMedium:"m",utmCampaign:"c",sessionCount:"u",itmSearch:"q",referrer:"r",format:"t"},delimiters={standard:["[","]"],alt:["__","_"]},parseValueFromSubtag=(e,t,i)=>{const a=t[0]+e+t[1],s=i.split(a)[1]||"";return s?s.split(t[0])[0]:null},parseSubtag=(e,t=delimiters.standard)=>_pickBy(_mapValues(subtagDictionary,i=>parseValueFromSubtag(i,t,e))),parseQuery=(e="")=>e.split("&").reduce((e,t)=>{const i=t.split("=")[0],a=t.split("=")[1];return void 0!==a&&(e[i]=a),e},{}),applySubtagMaxlength=(e,t)=>{const i=t-3*(e.split(",").length-1+e.split("|").length-1);return e.substr(0,i)},generateSubtag=(e,t=delimiters.standard,i=!1)=>{const a=(e=>t=>`${e[0]}${t}${e[1]}`)(t);let s=affiliateFields.reduce((t,i)=>{const s=a(subtagDictionary[i]),r=e[i];return t+(r?s+r:"")},"");return i&&(s=encodeURIComponent(s)),s},getSubtagData=e=>{let t={};return affiliateFields.forEach(i=>{e[i]&&(t[i]=e[i])}),t},processSubtagPosition=({url:e,positionKey:t,subtagKey:i,subtagString:a,joinBy:s,assignBy:r,position:n="after"})=>{const[o,u]=e.split(t),g=`${i}${r}${a}`,l=[];if("after"===n){if(!u)return e;const[a,n=""]=u.split(`${i}${r}`),p=n.split(s).slice(1).join(s);l.push(`${o}${t}`,g),a&&l.push(a),p&&l.push(p)}if("before"===n){const[e,a=""]=o.split(`${i}${r}`),n=a.split(s).slice(1).join(s);l.push(e),n&&l.push(n),l.push(g,`${t}${u}`)}return l.reduce((e,t)=>{return e.slice(-1)===s&&(e=e.slice(0,-1)),e.length?[e,t].join(s):t},"")},processSubtag=({subtagKeys:e,affiliate:t,url:i})=>{const a=affiliateSettings[t].subtagKey,s=affiliateSettings[t].maxLength,r=affiliateSettings[t].encode,n=affiliateSettings[t].delimiter,o=affiliateSettings[t].positioned||!1,u=affiliateSettings[t].position,g=affiliateSettings[t].positionKey,l=affiliateSettings[t].assignBy||"=",p=affiliateSettings[t].joinBy||"&",d=delimiters[n];let m,c,f=i.indexOf("?")>=0?i.split("?").pop():"",b=parseQuery(f),y=getSubtagData(e);return c=b[a]||"",y=_assign(parseSubtag(c,d),_pickBy(y)),m=generateSubtag(y,d,r),c=applySubtagMaxlength(m,s),b[a]=c,f=_map(b,(e,t)=>`${t}=${e}`).join("&"),i=o?processSubtagPosition({url:i,positionKey:g,subtagKey:a,subtagString:c,joinBy:p,assignBy:l,position:u}):i.split("?")[0]+`?${f}`},ensureSubtagOnUrl=(e,{siteKey:t,pageId:i,device:a,utmSource:s,utmMedium:r,utmCampaign:n,referrer:o,format:u,sessionCount:g,itmSearch:l,productId:p,zone:d})=>{const m=getAffiliateByUrl(e)||"";return m?processSubtag({subtagKeys:{siteKey:t,pageId:i,productId:p,utmMedium:r,utmSource:s,sessionCount:g,format:u,utmCampaign:n,itmSearch:l,referrer:o,device:a,zone:d},affiliate:m,url:e}):e};module.exports.ensureSubtagOnUrl=ensureSubtagOnUrl,module.exports.getSubtagData=getSubtagData,module.exports.__tests__={processSubtag:processSubtag,processSubtagPosition:processSubtagPosition,generateSubtag:generateSubtag,parseQuery:parseQuery,parseSubtag:parseSubtag}; }, {"98":98,"185":185,"186":186,"252":252,"397":397}]; window.modules["397"] = [function(require,module,exports){"use strict";const{orderedAffiliates:orderedAffiliates,orderedRetailers:orderedRetailers}=require(399),_=require(400);function getAffiliateByUrl(e){if(!e)return"";const t=orderedAffiliates.find(t=>!!t.domains.find(t=>e.includes(t.toLowerCase())));return _.get(t,"name","")}function affiliateAllowsCustomRetailer(e){const t=getAffiliateMetadata(e);return t&&t.allowCustomRetailer}function affiliateSuppressSkimlinks(e){const t=getAffiliateMetadata(e);return!!t.hasOwnProperty("defaultToSkimlinks")&&!t.defaultToSkimlinks}function getAffiliateMetadata(e=""){return orderedAffiliates.find(t=>{const i=new RegExp(t.name,"i");return e&&e.match(i)})||{}}function getAffiliatePriority(e=""){return _.findIndex(orderedAffiliates,t=>{const i=new RegExp(t.name,"i");return e&&e.match(i)})}function getRetailersPriority(e=""){return _.findIndex(orderedRetailers,t=>{const i=new RegExp(t,"i");return e&&e.match(i)})}function getMerchantsByPriority(e=[]){let t=[],i=[];e.forEach(e=>{const r=getRetailersPriority(_.get(e,"name"));if(r>-1)e.orderIndex=r,t.push(e);else{const t=getAffiliatePriority(_.get(e,"affiliate"));e.orderIndex=t>-1?t:1/0,i.push(e)}});const r=_.sortBy(t,e=>e.orderIndex).concat(_.sortBy(i,e=>e.orderIndex));return _.map(r,e=>(delete e.orderIndex,e))}function getMerchantByAffiliatePriority(e=[]){const t=getMerchantsByPriority(e);return t.length?t[0]:{}}module.exports.getAffiliateByUrl=getAffiliateByUrl,module.exports.getAffiliateMetadata=getAffiliateMetadata,module.exports.getAffiliatePriority=getAffiliatePriority,module.exports.getRetailersPriority=getRetailersPriority,module.exports.affiliateAllowsCustomRetailer=affiliateAllowsCustomRetailer,module.exports.affiliateSuppressSkimlinks=affiliateSuppressSkimlinks,module.exports.getMerchantByAffiliatePriority=getMerchantByAffiliatePriority,module.exports.getMerchantsByPriority=getMerchantsByPriority,module.exports.affiliateList=orderedAffiliates.map(e=>e.name); }, {"399":399,"400":400}]; window.modules["398"] = [function(require,module,exports){(function (process){(function (){ "use strict";const _=require(400),validUrl=require(402),{blockList:blockList}=require(401),AFFILIATES={shareasale:{masterDomain:"https://shareasale.com/r.cfm?",codes:{campaignCode:"b=",retailerCode:"m=",order:["campaignCode","retailerCode"]},parameters:{campaignCode:"b=",retailerCode:"m=",siteCode:"u=",buyUrl:"urllink=",order:["campaignCode","siteCode","retailerCode","buyUrl"]},encode:!0,paramsOnly:!0,joinedBy:"&"},impact:{masterDomain:"",codes:{baseUrl:"/c/",campaignCode:"/",retailerCode:"/",siteCode:"/",order:["baseUrl","siteCode","campaignCode","retailerCode"]},linkAddons:{campaignCode:"/",retailerCode:"/",siteCode:"/",order:["siteCode","campaignCode","retailerCode"]},parameters:{buyUrl:"?u=",order:["buyUrl"]},encode:!0,paramsOnly:!1,joinedBy:"/",removeTrailingSlash:!0,networks:{verge:{US:{siteCode:"482924"}}}},partnerize:{masterDomain:"https://nymag.prf.hn/click/",codes:{retailerCode:"camref:",order:["retailerCode"]},parameters:{retailerCode:"camref:",campaignCode:"pubref:",buyUrl:"destination:",siteCode:e=>`%5Bp_id:${e}%5D`,order:["retailerCode","campaignCode","siteCode","buyUrl"]},encode:!0,paramsOnly:!1,joinedBy:"/"},rakuten:{masterDomain:"https://click.linksynergy.com/deeplink?",codes:{retailerCode:"mid=",order:["retailerCode"]},parameters:{campaignCode:"u1=",retailerCode:"mid=",siteCode:"id=",buyUrl:"murl=",order:["siteCode","retailerCode","campaignCode","buyUrl"]},encode:!0,paramsOnly:!0,joinedBy:"&",networks:{verge:{US:{siteCode:"nOD/rLJHOac"}}}},avantlink:{masterDomain:"https://www.avantlink.com/click.php?tt=cl&",codes:{retailerCode:"merchant_id=",order:["retailerCode"]},parameters:{retailerCode:"merchant_id=",siteCode:"website_id=",buyUrl:"url=",order:["retailerCode","siteCode","buyUrl"]},encode:!0,paramsOnly:!0,joinedBy:"&"},pepperjam:{masterDomain:"https://www.pjatr.com/t",codes:{retailerCode:"/",order:["retailerCode"]},linkAddons:{retailerCode:"/",order:["retailerCode"]},parameters:{siteCode:"?website=",buyUrl:"url=",order:["siteCode","buyUrl"]},domains:["https://www.gopjn.com/t","https://www.pntrac.com/t","https://www.pjtra.com/t","https://www.pntrs.com/t","https://www.pntra.com/t"],encode:!0,paramsOnly:!1,joinedBy:"&"},cj:{masterDomain:"https://www.anrdoezrs.net/links",codes:{},linkAddons:{siteCode:"/",order:["siteCode"]},parameters:{buyUrl:"/type/dlg/",order:["buyUrl"]},encode:!1,paramsOnly:!1,joinedBy:"/",networks:{verge:{US:{siteCode:"8532386"}}}},skimlinks:{masterDomain:"https://go.redirectingat.com/?xs=1",codes:{},parameters:{retailerCode:"merchant_id=",siteCode:"&id=",buyUrl:"url=",order:["siteCode","buyUrl"]},paramsOnly:!0,encode:!0,joinedBy:"&",networks:{verge:{US:{siteCode:window.process.env.SKIMLINKS_US_VERGE_SITE_CODE||"66960X1514734"}}}},awin:{masterDomain:"https://www.awin1.com/cread.php?",codes:{retailerCode:"awinmid=",order:["retailerCode"]},parameters:{retailerCode:"awinmid=",siteCode:"awinaffid=",buyUrl:"ued=",order:["retailerCode","siteCode","buyUrl"]},encode:!0,paramsOnly:!0,joinedBy:"&"},amazon:{masterDomain:"",codes:{baseUrl:"/",order:["baseUrl"]},paramsOnly:!1,joinedBy:"/"},narrativ:{codes:{}},"non-monetizeable":{codes:{}},"non-network":{codes:{}}},disabledAffiliates={amazon:"Amazon Associates",narrativ:"Narrativ",skimlinks:"Skimlinks","non-monetizeable":"Non-Monetizeable","non-network":"Non-Network Affiliate Partner"},optionalSiteCode={cj:"cj",partnerize:"partnerize",pepperjam:"pepperjam"};function constructBaseUrl(e,t,r){if(_.isEmpty(t))return e;const{order:i}=t;return i.forEach(i=>{r[i]&&(e=`${e}${t[i]}${r[i]}`)}),e}function getConfigByAffiliate(e){if(!e)return{};const t=e.toLowerCase().split(" ")[0];return AFFILIATES[t]||{}}function isDisabledAffiliate(e=""){const t=e.toLowerCase().split(" ")[0];return!!disabledAffiliates[t]}function overrideSettingsAndValuesByNetworkId(e,t,r="nymag-us"){if(["nymag-us","nymag-uk"].includes(r))return{settings:e,params:t};const[i]=r.split("-"),{locale:a,siteCode:o}=t,n=_.get(e,`networks.${i}.${a}`);return t.siteCode=_.get(n,"siteCode",o),{settings:e,params:t}}function buildAutomatedLink(e,t,r="nymag-us"){const i=getConfigByAffiliate(e),{settings:a,params:o}=overrideSettingsAndValuesByNetworkId(i,t,r),{buyUrl:n,siteCode:s,retailerCode:d,campaignCode:l,baseUrl:c}=o,{masterDomain:m="",parameters:u={},joinedBy:p="",encode:f=!0,linkAddons:C={}}=a,{order:y}=u,g=f?encodeURIComponent(n):n,b=constructBaseUrl(m||c,C,{siteCode:s,retailerCode:d,campaignCode:l});let k=[],w="";return blockList.includes(c)?n:"verge-us"===r&&e.match(/amazon/i)?`${n}?tag=theverge02-20`:_.isEmpty(i)||"Skimlinks"!==e&&isDisabledAffiliate(e)?"":(y.forEach(e=>{t[e]&&("buyUrl"===e?k.push(`${u[e]}${g}`):"function"==typeof u[e]?k.push(u[e](t[e])):k.push(`${u[e]}${t[e]}`))}),w=`${b}${k.join(p)}`,validUrl.isUri(w)?w:n)}function buildVanityLink(e,t){const{affiliateName:r,baseUrl:i}=e,a=Object.assign({},e,{buyUrl:t});if(!r||isDisabledAffiliate(r))return"";const o=module.exports.getConfigByAffiliate(r),{masterDomain:n="",parameters:s={},joinedBy:d="",encode:l=!0,linkAddons:c={}}=o,{order:m}=s,u=l?encodeURIComponent(t):t,p=constructBaseUrl(n||i,c,a);let f=[];return _.isEmpty(o)?"":(m.forEach(e=>{if(a[e]){const t="buyUrl"===e?`${s[e]}${u}`:`${s[e]}${a[e]}`;f.push(t)}}),`${p}${f.join(d)}`)}function buildAutomatedLinkForMerchant(e,t="nymag-us"){return buildAutomatedLink(e.affiliateName||e.affiliate,e,t)}function matchesAffiliateDomain(e){const t=Object.keys(AFFILIATES).map(e=>{const t=getConfigByAffiliate(e);return t.masterDomain?t.masterDomain.replace("www.",""):""}).filter(e=>!!e);return e=e.replace("www.",""),!!t.find(t=>e.includes(t))}function retrieveCodeStructures(e,t,r){const{siteCode:i}=t,a=_.get(t,"name","").toLowerCase().split(" ")[0],{paramsOnly:o,joinedBy:n,masterDomain:s,domains:d=[],codes:l,removeTrailingSlash:c}=e,{order:m,baseUrl:u}=l,p=d.some(e=>r.includes(e))||r.includes(s),f={baseUrl:null,campaignCode:null,retailerCode:null,success:!1},C=`https://${r.replace(/^https?\:\/\//i,"")}`;if(isDisabledAffiliate(a))return f.success=!0,f;if(!p||!r.includes(i)&&!optionalSiteCode[a])return f;try{const t=new URL(C);if(o)m.forEach(e=>{l[e]&&(f[e]=t.searchParams.get(l[e].replace("=","")))});else{if(_.isEmpty(e)||_.isEmpty(l))return{baseUrl:null,campaignCode:null,retailerCode:null,success:!0};const i=u?`https://${t.hostname}${u}`:void 0,a=d.find(e=>r.includes(e))||s,o=C.replace(`${i||a}`,"").split("?")[0].split(n),p=c?i.slice(0,-1):i;i&&o.unshift(p),m.forEach((e,t)=>{l[e]&&(f[e]=o[t].replace(l[e],""))})}f.success=!0}catch(e){return f}return f}function destructureAutomatedLink(e){if(_.isEmpty(e)||_.isEmpty(e.affiliateSelection))return{};const{affiliateSelection:t,link:r=""}=e,i=retrieveCodeStructures(getConfigByAffiliate(_.get(t,"name","").toLowerCase().split(" ")[0]),t,r.includes("nymag.prf.hn")?r:r.replace("prf.hn","nymag.prf.hn"));return _.get(i,"siteCode","")&&delete i.siteCode,i}module.exports.getConfigByAffiliate=getConfigByAffiliate,module.exports.isDisabledAffiliate=isDisabledAffiliate,module.exports.buildAutomatedLink=buildAutomatedLink,module.exports.buildVanityLink=buildVanityLink,module.exports.buildAutomatedLinkForMerchant=buildAutomatedLinkForMerchant,module.exports.matchesAffiliateDomain=matchesAffiliateDomain,module.exports.destructureAutomatedLink=destructureAutomatedLink,module.exports.__tests__={constructBaseUrl:constructBaseUrl,getConfigByAffiliate:getConfigByAffiliate,destructureAutomatedLink:destructureAutomatedLink,isDisabledAffiliate:isDisabledAffiliate,retrieveCodeStructures:retrieveCodeStructures,overrideSettingsAndValuesByNetworkId:overrideSettingsAndValuesByNetworkId,AFFILIATES:AFFILIATES}; }).call(this)}).call(this,require(46))}, {"46":46,"400":400,"401":401,"402":402}]; window.modules["399"] = [function(require,module,exports){const impactDomains=["adidas.njih.net","adorama.rfvk.net","airbnb.pvxt.net","allswellhome.mvvx.net","apple.sjv.io","arhaus.fx3vf7.net","avocadomattress.n5ka.net","bala.pxf.io","balooliving.xayxet.net","becausemarket.sjv.io","bestbuy.7tiv.net","birch.fziv.net","brandless.pxf.io","brooklinen.pxf.io","bulletproof.fdf2.net","burstoralcare.bts6.net","by-humankind.ayph.net","casper.5ad6.net","caviar.n76h.net","cbsallaccess.qflm.net","cornbread.pxf.io","cuyana.64ud.net","devacurl.pxf.io","dieux.sjv.io","disneyplus.bn5x.net","eastbay.wrjfga.net","eight-sleep.ioym.net","eyebobs.pxf.io","fanatics.ncw6.net","feather-home-inc.lf49oc.net","felixgray.ntaf.net","foco.vegb.net","funimation.8u86.net","getquip.d67ag4.net","ghostbed.3uu8.net","glossier.79ic8e.net","goby.pxf.io","goto.target.com","goto.walmart.com","go.web.plus.espn.com","happy-dance.pxf.io","harrys.3tvl.net","helix-sleep.tkjf.net","homedepot.sjv.io","iliabeauty.nhuie7.net","imp.i141824.net","imp.i168918.net","imp.i209368.net","imp.i240138.net","imp.i277339.net","imp.i305175.net","imp.i309903.net","imp.i312864.net","imp.i358707.net","jayson-home.jvam.net","john-lewis-and-partners.pxf.io","johnny-was.sjv.io","kin-euphorics.pxf.io","leesasleep.lvuv.net","levis.pfm4.net","lord-jones.sjv.io","lsg.zlwlj8.net","luminary.imlz.net","mamask.sjv.io","mancrates.ln72.net","mejuri.pxf.io","mirrorco.hu6f.net","mynuface.pxf.io","nectar.xovt.net","nestbedding.uxsi.net","nomadnoe.pxf.io","oliveandjune.kk2kau.net","paulachoiceusca.l3km.net","prima.xq2wid.net","razer.a9yw.net","savagexfentyaffiliate.pxf.io","serta.qq3wj3.net","showtime.i7cdw9.net","splendidspoon.z724.net","stasher.thj6q2.net","stockx.pvxt.net","studs.pxf.io","sun-basket-meal-delivery-purchase.sjv.io","surlatable.aiy7.net","the-company-store.7eer.net","thefarmersdog.otegtm.net","thetot.deg5.net","tommyjohn.bxvfun.net","tonic-cbd.pxf.io","tradecoffee.pxf.io","traeger.uym8.net","tuftandneedle.attfm2.net","ubisoft.pxf.io","ulta.ztk5.net","visible.pxf.io","wealthfront.4fq8.net","westelm.e54b.net","winc.mivh.net","zola.pxf.io","lovehoneyus.sjv.io"],orderedAffiliates=[{name:"Amazon Associates",alwaysInclude:!0,defaultToSkimlinks:!1,domains:["amazon.com","amazon.co.uk"]},{name:"Shareasale",alwaysInclude:!1,defaultToSkimlinks:!1,domains:["shareasale.com"]},{name:"Rakuten",alwaysInclude:!1,defaultToSkimlinks:!1,domains:["click.linksynergy.com/deeplink","linksynergy.walmart.com/deeplink"]},{name:"CJ",alwaysInclude:!1,allowCustomRetailer:!1,domains:["tkqlhce.com","jdoqocy.com","dpbolvw.net","anrdoezrs.net","kqzyfj.com"]},{name:"Pepperjam",alwaysInclude:!1,defaultToSkimlinks:!1,domains:["gopjn.com","pntrac.com","pjtra.com","pjatr.com","pntrs.com","pntra.com"]},{name:"Impact",alwaysInclude:!1,defaultToSkimlinks:!1,domains:impactDomains},{name:"Partnerize",alwaysInclude:!1,defaultToSkimlinks:!1,domains:["prf.hn"]},{name:"Avantlink",alwaysInclude:!1,defaultToSkimlinks:!1,domains:["avantlink.com"]},{name:"Awin",alwaysInclude:!0,defaultToSkimlinks:!1,domains:["awin1.com"]},{name:"Skimlinks",alwaysInclude:!0,allowCustomRetailer:!0,defaultToSkimlinks:!1,domains:["go.redirectingat.com","go.skimresources.com"]},{name:"Narrativ",alwaysInclude:!0,defaultToSkimlinks:!1,domains:["shop-links.co/"]},{name:"Non-Network Affiliate Partner",alwaysInclude:!0,defaultToSkimlinks:!0,domains:[]},{name:"Non-Monetizeable",alwaysInclude:!0,defaultToSkimlinks:!0,domains:[]}],orderedRetailers=["Amazon","Target","Nordstrom","Dermstore","Chewy","Skinstore","Sephora","REI","West Elm","Backcountry","Best Buy","Walmart","Shopbop","Ssense","Zappos"];module.exports.orderedAffiliates=orderedAffiliates,module.exports.orderedRetailers=orderedRetailers; }, {}]; window.modules["400"] = [function(require,module,exports){(function (global){(function (){ (function(){var n,t=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",e="Expected a function",u="Invalid `variable` option passed into `_.template`",i="__lodash_hash_undefined__",o=500,f="__lodash_placeholder__",a=1,c=2,l=4,s=1,h=2,p=1,v=2,_=4,g=8,y=16,d=32,b=64,w=128,m=256,x=512,j=30,A="...",k=800,O=16,I=1,R=2,E=1/0,z=9007199254740991,S=1.7976931348623157e308,L=NaN,W=4294967295,C=W-1,U=W>>>1,B=[["ary",w],["bind",p],["bindKey",v],["curry",g],["curryRight",y],["flip",x],["partial",d],["partialRight",b],["rearg",m]],T="[object Arguments]",D="[object Array]",$="[object AsyncFunction]",M="[object Boolean]",F="[object Date]",N="[object DOMException]",P="[object Error]",q="[object Function]",Z="[object GeneratorFunction]",K="[object Map]",V="[object Number]",G="[object Null]",H="[object Object]",J="[object Proxy]",Y="[object RegExp]",Q="[object Set]",X="[object String]",nn="[object Symbol]",tn="[object Undefined]",rn="[object WeakMap]",en="[object WeakSet]",un="[object ArrayBuffer]",on="[object DataView]",fn="[object Float32Array]",an="[object Float64Array]",cn="[object Int8Array]",ln="[object Int16Array]",sn="[object Int32Array]",hn="[object Uint8Array]",pn="[object Uint8ClampedArray]",vn="[object Uint16Array]",_n="[object Uint32Array]",gn=/\b__p \+= '';/g,yn=/\b(__p \+=) '' \+/g,dn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,bn=/&(?:amp|lt|gt|quot|#39);/g,wn=/[&<>"']/g,mn=RegExp(bn.source),xn=RegExp(wn.source),jn=//g,An=//g,kn=//g,On=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,In=/^\w*$/,Rn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,En=/[\\^$.*+?()[\]{}|]/g,zn=RegExp(En.source),Sn=/^\s+/,Ln=/\s/,Wn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Cn=/\{\n\/\* \[wrapped with (.+)\] \*/,Un=/,? & /,Bn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Tn=/[()=,{}\[\]\/\s]/,Dn=/\\(\\)?/g,$n=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Mn=/\w*$/,Fn=/^[-+]0x[0-9a-f]+$/i,Nn=/^0b[01]+$/i,Pn=/^\[object .+?Constructor\]$/,qn=/^0o[0-7]+$/i,Zn=/^(?:0|[1-9]\d*)$/,Kn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vn=/($^)/,Gn=/['\n\r\u2028\u2029\\]/g,Hn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Jn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Yn="[\\ud800-\\udfff]",Qn="["+Jn+"]",Xn="["+Hn+"]",nt="\\d+",tt="[\\u2700-\\u27bf]",rt="[a-z\\xdf-\\xf6\\xf8-\\xff]",et="[^\\ud800-\\udfff"+Jn+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ut="\\ud83c[\\udffb-\\udfff]",it="[^\\ud800-\\udfff]",ot="(?:\\ud83c[\\udde6-\\uddff]){2}",ft="[\\ud800-\\udbff][\\udc00-\\udfff]",at="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ct="(?:"+rt+"|"+et+")",lt="(?:"+at+"|"+et+")",st="(?:"+Xn+"|"+ut+")"+"?",ht="[\\ufe0e\\ufe0f]?"+st+("(?:\\u200d(?:"+[it,ot,ft].join("|")+")[\\ufe0e\\ufe0f]?"+st+")*"),pt="(?:"+[tt,ot,ft].join("|")+")"+ht,vt="(?:"+[it+Xn+"?",Xn,ot,ft,Yn].join("|")+")",_t=RegExp("['’]","g"),gt=RegExp(Xn,"g"),yt=RegExp(ut+"(?="+ut+")|"+vt+ht,"g"),dt=RegExp([at+"?"+rt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Qn,at,"$"].join("|")+")",lt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Qn,at+ct,"$"].join("|")+")",at+"?"+ct+"+(?:['’](?:d|ll|m|re|s|t|ve))?",at+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nt,pt].join("|"),"g"),bt=RegExp("[\\u200d\\ud800-\\udfff"+Hn+"\\ufe0e\\ufe0f]"),wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,mt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],xt=-1,jt={};jt[fn]=jt[an]=jt[cn]=jt[ln]=jt[sn]=jt[hn]=jt[pn]=jt[vn]=jt[_n]=!0,jt[T]=jt[D]=jt[un]=jt[M]=jt[on]=jt[F]=jt[P]=jt[q]=jt[K]=jt[V]=jt[H]=jt[Y]=jt[Q]=jt[X]=jt[rn]=!1;var At={};At[T]=At[D]=At[un]=At[on]=At[M]=At[F]=At[fn]=At[an]=At[cn]=At[ln]=At[sn]=At[K]=At[V]=At[H]=At[Y]=At[Q]=At[X]=At[nn]=At[hn]=At[pn]=At[vn]=At[_n]=!0,At[P]=At[q]=At[rn]=!1;var kt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ot=parseFloat,It=parseInt,Rt="object"==typeof global&&global&&global.Object===Object&&global,Et="object"==typeof self&&self&&self.Object===Object&&self,zt=Rt||Et||Function("return this")(),St="object"==typeof exports&&exports&&!exports.nodeType&&exports,Lt=St&&"object"==typeof module&&module&&!module.nodeType&&module,Wt=Lt&&Lt.exports===St,Ct=Wt&&Rt.process,Ut=function(){try{var n=Lt&&Lt.require&&Lt.require("util").types;return n||Ct&&Ct.binding&&Ct.binding("util")}catch(n){}}(),Bt=Ut&&Ut.isArrayBuffer,Tt=Ut&&Ut.isDate,Dt=Ut&&Ut.isMap,$t=Ut&&Ut.isRegExp,Mt=Ut&&Ut.isSet,Ft=Ut&&Ut.isTypedArray;function Nt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Pt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function Ht(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function dr(n,t){for(var r=n.length;r--&&ur(t,n[r],0)>-1;);return r}var br=cr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"}),wr=cr({"&":"&","<":"<",">":">",'"':""","'":"'"});function mr(n){return"\\"+kt[n]}function xr(n){return bt.test(n)}function jr(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function Ar(n,t){return function(r){return n(t(r))}}function kr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"});var Lr=function Ln(Hn){var Jn,Yn=(Hn=null==Hn?zt:Lr.defaults(zt.Object(),Hn,Lr.pick(zt,mt))).Array,Qn=Hn.Date,Xn=Hn.Error,nt=Hn.Function,tt=Hn.Math,rt=Hn.Object,et=Hn.RegExp,ut=Hn.String,it=Hn.TypeError,ot=Yn.prototype,ft=nt.prototype,at=rt.prototype,ct=Hn["__core-js_shared__"],lt=ft.toString,st=at.hasOwnProperty,ht=0,pt=(Jn=/[^.]+$/.exec(ct&&ct.keys&&ct.keys.IE_PROTO||""))?"Symbol(src)_1."+Jn:"",vt=at.toString,yt=lt.call(rt),bt=zt._,kt=et("^"+lt.call(st).replace(En,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rt=Wt?Hn.Buffer:n,Et=Hn.Symbol,St=Hn.Uint8Array,Lt=Rt?Rt.allocUnsafe:n,Ct=Ar(rt.getPrototypeOf,rt),Ut=rt.create,tr=at.propertyIsEnumerable,cr=ot.splice,Wr=Et?Et.isConcatSpreadable:n,Cr=Et?Et.iterator:n,Ur=Et?Et.toStringTag:n,Br=function(){try{var n=Mi(rt,"defineProperty");return n({},"",{}),n}catch(n){}}(),Tr=Hn.clearTimeout!==zt.clearTimeout&&Hn.clearTimeout,Dr=Qn&&Qn.now!==zt.Date.now&&Qn.now,$r=Hn.setTimeout!==zt.setTimeout&&Hn.setTimeout,Mr=tt.ceil,Fr=tt.floor,Nr=rt.getOwnPropertySymbols,Pr=Rt?Rt.isBuffer:n,qr=Hn.isFinite,Zr=ot.join,Kr=Ar(rt.keys,rt),Vr=tt.max,Gr=tt.min,Hr=Qn.now,Jr=Hn.parseInt,Yr=tt.random,Qr=ot.reverse,Xr=Mi(Hn,"DataView"),ne=Mi(Hn,"Map"),te=Mi(Hn,"Promise"),re=Mi(Hn,"Set"),ee=Mi(Hn,"WeakMap"),ue=Mi(rt,"create"),ie=ee&&new ee,oe={},fe=ho(Xr),ae=ho(ne),ce=ho(te),le=ho(re),se=ho(ee),he=Et?Et.prototype:n,pe=he?he.valueOf:n,ve=he?he.toString:n;function _e(n){if(Sf(n)&&!wf(n)&&!(n instanceof be)){if(n instanceof de)return n;if(st.call(n,"__wrapped__"))return po(n)}return new de(n)}var ge=function(){function t(){}return function(r){if(!zf(r))return{};if(Ut)return Ut(r);t.prototype=r;var e=new t;return t.prototype=n,e}}();function ye(){}function de(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=n}function be(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=W,this.__views__=[]}function we(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=r?t:r)),t}function Te(t,r,e,u,i,o){var f,s=r&a,h=r&c,p=r&l;if(e&&(f=i?e(t,u,i,o):e(t)),f!==n)return f;if(!zf(t))return t;var v=wf(t);if(v){if(f=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&st.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(t),!s)return ui(t,f)}else{var _=Pi(t),g=_==q||_==Z;if(Af(t))return Qu(t,s);if(_==H||_==T||g&&!i){if(f=h||g?{}:Zi(t),!s)return h?function(n,t){return ii(n,Ni(n),t)}(t,function(n,t){return n&&ii(t,aa(t),n)}(f,t)):function(n,t){return ii(n,Fi(n),t)}(t,We(f,t))}else{if(!At[_])return i?t:{};f=function(n,t,r){var e,u,i,o=n.constructor;switch(t){case un:return Xu(n);case M:case F:return new o(+n);case on:return function(n,t){var r=t?Xu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case fn:case an:case cn:case ln:case sn:case hn:case pn:case vn:case _n:return ni(n,r);case K:return new o;case V:case X:return new o(n);case Y:return(i=new(u=n).constructor(u.source,Mn.exec(u))).lastIndex=u.lastIndex,i;case Q:return new o;case nn:return e=n,pe?rt(pe.call(e)):{}}}(t,_,s)}}o||(o=new Ae);var y=o.get(t);if(y)return y;o.set(t,f),Bf(t)?t.forEach(function(n){f.add(Te(n,r,e,n,t,o))}):Lf(t)&&t.forEach(function(n,u){f.set(u,Te(n,r,e,u,t,o))});var d=v?n:(p?h?Wi:Li:h?aa:fa)(t);return qt(d||t,function(n,u){d&&(n=t[u=n]),ze(f,u,Te(n,r,e,u,t,o))}),f}function De(t,r,e){var u=e.length;if(null==t)return!u;for(t=rt(t);u--;){var i=e[u],o=r[i],f=t[i];if(f===n&&!(i in t)||!o(f))return!1}return!0}function $e(t,r,u){if("function"!=typeof t)throw new it(e);return io(function(){t.apply(n,u)},r)}function Me(n,r,e,u){var i=-1,o=Gt,f=!0,a=n.length,c=[],l=r.length;if(!a)return c;e&&(r=Jt(r,vr(e))),u?(o=Ht,f=!1):r.length>=t&&(o=gr,f=!1,r=new je(r));n:for(;++i<0?n:r[e][1]},me.prototype.has=function(n){return Se(this.__data__,n)>-1},me.prototype.set=function(n,t){var r=this.__data__,e=Se(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},xe.prototype.clear=function(){this.size=0,this.__data__={hash:new we,map:new(ne||me),string:new we}},xe.prototype.delete=function(n){var t=Di(this,n).delete(n);return this.size-=t?1:0,t},xe.prototype.get=function(n){return Di(this,n).get(n)},xe.prototype.has=function(n){return Di(this,n).has(n)},xe.prototype.set=function(n,t){var r=Di(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},je.prototype.add=je.prototype.push=function(n){return this.__data__.set(n,i),this},je.prototype.has=function(n){return this.__data__.has(n)},Ae.prototype.clear=function(){this.__data__=new me,this.size=0},Ae.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Ae.prototype.get=function(n){return this.__data__.get(n)},Ae.prototype.has=function(n){return this.__data__.has(n)},Ae.prototype.set=function(n,r){var e=this.__data__;if(e instanceof me){var u=e.__data__;if(!ne||u.length0&&r(f)?t>1?Ke(f,t-1,r,e,u):Yt(u,f):e||(u[u.length]=f)}return u}var Ve=ci(),Ge=ci(!0);function He(n,t){return n&&Ve(n,t,fa)}function Je(n,t){return n&&Ge(n,t,fa)}function Ye(n,t){return Vt(t,function(t){return If(n[t])})}function Qe(t,r){for(var e=0,u=(r=Gu(r,t)).length;null!=t&&et}function ru(n,t){return null!=n&&st.call(n,t)}function eu(n,t){return null!=n&&t in rt(n)}function uu(t,r,e){for(var u=e?Ht:Gt,i=t[0].length,o=t.length,f=o,a=Yn(o),c=1/0,l=[];f--;){var s=t[f];f&&r&&(s=Jt(s,vr(r))),c=Gr(s.length,c),a[f]=!e&&(r||i>=120&&s.length>=120)?new je(f&&s):n}s=t[0];var h=-1,p=a[0];n:for(;++h=f)return a;var c=r[e];return a*("desc"==c?-1:1)}}return n.index-t.index}(n,t,r)})}function wu(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)f!==n&&cr.call(f,a,1),cr.call(n,a,1);return n}function xu(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;Vi(u)?cr.call(n,u,1):Mu(n,u)}}return n}function ju(n,t){return n+Fr(Yr()*(t-n+1))}function Au(n,t){var r="";if(!n||t<1||t>z)return r;do{t%2&&(r+=n),(t=Fr(t/2))&&(n+=n)}while(t);return r}function ku(n,t){return oo(to(n,t,Wa),n+"")}function Ou(n){return Oe(ga(n))}function Iu(n,t){var r=ga(n);return co(r,Be(t,0,r.length))}function Ru(t,r,e,u){if(!zf(t))return t;for(var i=-1,o=(r=Gu(r,t)).length,f=o-1,a=t;null!=a&&++iu?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=Yn(u);++e>>1,o=n[i];null!==o&&!Df(o)&&(r?o<=t:o=t){var l=r?null:Ai(n);if(l)return Or(l);f=!1,i=gr,c=new je}else c=r?[]:a;n:for(;++u=u?t:Lu(t,r,e)}var Yu=Tr||function(n){return zt.clearTimeout(n)};function Qu(n,t){if(t)return n.slice();var r=n.length,e=Lt?Lt(r):new n.constructor(r);return n.copy(e),e}function Xu(n){var t=new n.constructor(n.byteLength);return new St(t).set(new St(n)),t}function ni(n,t){var r=t?Xu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ti(t,r){if(t!==r){var e=t!==n,u=null===t,i=t==t,o=Df(t),f=r!==n,a=null===r,c=r==r,l=Df(r);if(!a&&!l&&!o&&t>r||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&t1?e[i-1]:n,f=i>2?e[2]:n;for(o=t.length>3&&"function"==typeof o?(i--,o):n,f&&Gi(e[0],e[1],f)&&(o=i<3?n:o,i=1),r=rt(r);++u-1?i[o?r[f]:f]:n}}function vi(t){return Si(function(r){var u=r.length,i=u,o=de.prototype.thru;for(t&&r.reverse();i--;){var f=r[i];if("function"!=typeof f)throw new it(e);if(o&&!a&&"wrapper"==Ui(f))var a=new de([],!0)}for(i=a?i:u;++i1&&g.reverse(),s&&c<2)return e?Au(r,t):r;var u=Au(r,Mr(t/Rr(r)));return xr(r)?Ju(Er(u),0,t).join(""):u.slice(0,t)}function wi(t){return function(r,e,u){return u&&"number"!=typeof u&&Gi(r,e,u)&&(e=u=n),r=Pf(r),e===n?(e=r,r=0):e=Pf(e),function(n,t,r,e){for(var u=-1,i=Vr(Mr((t-n)/(r||1)),0),o=Yn(i);i--;)o[e?i:++u]=n,n+=r;return o}(r,e,u=u===n?ra))return!1;var l=o.get(t),p=o.get(r);if(l&&p)return l==r&&p==t;var v=-1,_=!0,g=e&h?new je:n;for(o.set(t,r),o.set(r,t);++v-1&&n%1==0&&n<2?n:Qe(n,Lu(t,0,-1))}function eo(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var uo=ao(Eu),io=$r||function(n,t){return zt.setTimeout(n,t)},oo=ao(zu);function fo(n,t,r){var e=t+"";return oo(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(Wn,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return qt(B,function(r){var e="_."+r[0];t&r[1]&&!Gt(n,e)&&n.push(e)}),n.sort()}(function(n){var t=n.match(Cn);return t?t[1].split(Un):[]}(e),r)))}function ao(t){var r=0,e=0;return function(){var u=Hr(),i=O-(u-e);if(e=u,i>0){if(++r>=k)return arguments[0]}else r=0;return t.apply(n,arguments)}}function co(t,r){var e=-1,u=t.length,i=u-1;for(r=r===n?u:r;++e<0&&(u=Vr(e+u,0)),er(n,Ti(t,3),u)}function bo(t,r,e){var u=null==t?0:t.length;if(!u)return-1;var i=u-1;return e!==n&&(i=qf(e),i=e<0?Vr(u+i,0):Gr(i,u-1)),er(t,Ti(r,3),i,!0)}function wo(n){return null!=n&&n.length?Ke(n,1):[]}function mo(t){return t&&t.length?t[0]:n}var xo=ku(function(n){var t=Jt(n,Ku);return t.length&&t[0]===n[0]?uu(t):[]}),jo=ku(function(t){var r=ko(t),e=Jt(t,Ku);return r===ko(e)?r=n:e.pop(),e.length&&e[0]===t[0]?uu(e,Ti(r,2)):[]}),Ao=ku(function(t){var r=ko(t),e=Jt(t,Ku);return(r="function"==typeof r?r:n)&&e.pop(),e.length&&e[0]===t[0]?uu(e,n,r):[]});function ko(t){var r=null==t?0:t.length;return r?t[r-1]:n}var Oo=ku(Io);function Io(n,t){return n&&n.length&&t&&t.length?mu(n,t):n}var Ro=Si(function(n,t){var r=null==n?0:n.length,e=Ue(n,t);return xu(n,Jt(t,function(n){return Vi(n,r)?+n:n}).sort(ti)),e});function Eo(n){return null==n?n:Qr.call(n)}var zo=ku(function(n){return $u(Ke(n,1,jf,!0))}),So=ku(function(t){var r=ko(t);return jf(r)&&(r=n),$u(Ke(t,1,jf,!0),Ti(r,2))}),Lo=ku(function(t){var r=ko(t);return r="function"==typeof r?r:n,$u(Ke(t,1,jf,!0),n,r)});function Wo(n){if(!n||!n.length)return[];var t=0;return n=Vt(n,function(n){if(jf(n))return t=Vr(n.length,t),!0}),hr(t,function(t){return Jt(n,ar(t))})}function Co(t,r){if(!t||!t.length)return[];var e=Wo(t);return null==r?e:Jt(e,function(t){return Nt(r,n,t)})}var Uo=ku(function(n,t){return jf(n)?Me(n,t):[]}),Bo=ku(function(n){return qu(Vt(n,jf))}),To=ku(function(t){var r=ko(t);return jf(r)&&(r=n),qu(Vt(t,jf),Ti(r,2))}),Do=ku(function(t){var r=ko(t);return r="function"==typeof r?r:n,qu(Vt(t,jf),n,r)}),$o=ku(Wo);var Mo=ku(function(t){var r=t.length,e=r>1?t[r-1]:n;return e="function"==typeof e?(t.pop(),e):n,Co(t,e)});function Fo(n){var t=_e(n);return t.__chain__=!0,t}function No(n,t){return t(n)}var Po=Si(function(t){var r=t.length,e=r?t[0]:0,u=this.__wrapped__,i=function(n){return Ue(n,t)};return!(r>1||this.__actions__.length)&&u instanceof be&&Vi(e)?((u=u.slice(e,+e+(r?1:0))).__actions__.push({func:No,args:[i],thisArg:n}),new de(u,this.__chain__).thru(function(t){return r&&!t.length&&t.push(n),t})):this.thru(i)});var qo=oi(function(n,t,r){st.call(n,r)?++n[r]:Ce(n,r,1)});var Zo=pi(yo),Ko=pi(bo);function Vo(n,t){return(wf(n)?qt:Fe)(n,Ti(t,3))}function Go(n,t){return(wf(n)?Zt:Ne)(n,Ti(t,3))}var Ho=oi(function(n,t,r){st.call(n,r)?n[r].push(t):Ce(n,r,[t])});var Jo=ku(function(n,t,r){var e=-1,u="function"==typeof t,i=xf(n)?Yn(n.length):[];return Fe(n,function(n){i[++e]=u?Nt(t,n,r):iu(n,t,r)}),i}),Yo=oi(function(n,t,r){Ce(n,r,t)});function Qo(n,t){return(wf(n)?Jt:vu)(n,Ti(t,3))}var Xo=oi(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]});var nf=ku(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Gi(n,t[0],t[1])?t=[]:r>2&&Gi(t[0],t[1],t[2])&&(t=[t[0]]),bu(n,Ke(t,1),[])}),tf=Dr||function(){return zt.Date.now()};function rf(t,r,e){return r=e?n:r,r=t&&null==r?t.length:r,Oi(t,w,n,n,n,n,r)}function ef(t,r){var u;if("function"!=typeof r)throw new it(e);return t=qf(t),function(){return--t>0&&(u=r.apply(this,arguments)),t<=1&&(r=n),u}}var uf=ku(function(n,t,r){var e=p;if(r.length){var u=kr(r,Bi(uf));e|=d}return Oi(n,e,t,r,u)}),of=ku(function(n,t,r){var e=p|v;if(r.length){var u=kr(r,Bi(of));e|=d}return Oi(t,e,n,r,u)});function ff(t,r,u){var i,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof t)throw new it(e);function _(r){var e=i,u=o;return i=o=n,s=r,a=t.apply(u,e)}function g(t){var e=t-l;return l===n||e>=r||e<0||p&&t-s>=f}function y(){var n=tf();if(g(n))return d(n);c=io(y,function(n){var t=r-(n-l);return p?Gr(t,f-(n-s)):t}(n))}function d(t){return c=n,v&&i?_(t):(i=o=n,a)}function b(){var t=tf(),e=g(t);if(i=arguments,o=this,l=t,e){if(c===n)return function(n){return s=n,c=io(y,r),h?_(n):a}(l);if(p)return Yu(c),c=io(y,r),_(l)}return c===n&&(c=io(y,r)),a}return r=Kf(r)||0,zf(u)&&(h=!!u.leading,f=(p="maxWait"in u)?Vr(Kf(u.maxWait)||0,r):f,v="trailing"in u?!!u.trailing:v),b.cancel=function(){c!==n&&Yu(c),s=0,i=l=o=c=n},b.flush=function(){return c===n?a:d(tf())},b}var af=ku(function(n,t){return $e(n,1,t)}),cf=ku(function(n,t,r){return $e(n,Kf(t)||0,r)});function lf(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new it(e);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(lf.Cache||xe),r}function sf(n){if("function"!=typeof n)throw new it(e);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}lf.Cache=xe;var hf=Hu(function(n,t){var r=(t=1==t.length&&wf(t[0])?Jt(t[0],vr(Ti())):Jt(Ke(t,1),vr(Ti()))).length;return ku(function(e){for(var u=-1,i=Gr(e.length,r);++u=t}),bf=ou(function(){return arguments}())?ou:function(n){return Sf(n)&&st.call(n,"callee")&&!tr.call(n,"callee")},wf=Yn.isArray,mf=Bt?vr(Bt):function(n){return Sf(n)&&nu(n)==un};function xf(n){return null!=n&&Ef(n.length)&&!If(n)}function jf(n){return Sf(n)&&xf(n)}var Af=Pr||Ka,kf=Tt?vr(Tt):function(n){return Sf(n)&&nu(n)==F};function Of(n){if(!Sf(n))return!1;var t=nu(n);return t==P||t==N||"string"==typeof n.message&&"string"==typeof n.name&&!Cf(n)}function If(n){if(!zf(n))return!1;var t=nu(n);return t==q||t==Z||t==$||t==J}function Rf(n){return"number"==typeof n&&n==qf(n)}function Ef(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=z}function zf(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function Sf(n){return null!=n&&"object"==typeof n}var Lf=Dt?vr(Dt):function(n){return Sf(n)&&Pi(n)==K};function Wf(n){return"number"==typeof n||Sf(n)&&nu(n)==V}function Cf(n){if(!Sf(n)||nu(n)!=H)return!1;var t=Ct(n);if(null===t)return!0;var r=st.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&<.call(r)==yt}var Uf=$t?vr($t):function(n){return Sf(n)&&nu(n)==Y};var Bf=Mt?vr(Mt):function(n){return Sf(n)&&Pi(n)==Q};function Tf(n){return"string"==typeof n||!wf(n)&&Sf(n)&&nu(n)==X}function Df(n){return"symbol"==typeof n||Sf(n)&&nu(n)==nn}var $f=Ft?vr(Ft):function(n){return Sf(n)&&Ef(n.length)&&!!jt[nu(n)]};var Mf=mi(pu),Ff=mi(function(n,t){return n<=t});function Nf(n){if(!n)return[];if(xf(n))return Tf(n)?Er(n):ui(n);if(Cr&&n[Cr])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Cr]());var t=Pi(n);return(t==K?jr:t==Q?Or:ga)(n)}function Pf(n){return n?(n=Kf(n))===E||n===-E?(n<0?-1:1)*S:n==n?n:0:0===n?n:0}function qf(n){var t=Pf(n),r=t%1;return t==t?r?t-r:t:0}function Zf(n){return n?Be(qf(n),0,W):0}function Kf(n){if("number"==typeof n)return n;if(Df(n))return L;if(zf(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=zf(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=pr(n);var r=Nn.test(n);return r||qn.test(n)?It(n.slice(2),r?2:8):Fn.test(n)?L:+n}function Vf(n){return ii(n,aa(n))}function Gf(n){return null==n?"":Du(n)}var Hf=fi(function(n,t){if(Qi(t)||xf(t))ii(t,fa(t),n);else for(var r in t)st.call(t,r)&&ze(n,r,t[r])}),Jf=fi(function(n,t){ii(t,aa(t),n)}),Yf=fi(function(n,t,r,e){ii(t,aa(t),n,e)}),Qf=fi(function(n,t,r,e){ii(t,fa(t),n,e)}),Xf=Si(Ue);var na=ku(function(t,r){t=rt(t);var e=-1,u=r.length,i=u>2?r[2]:n;for(i&&Gi(r[0],r[1],i)&&(u=1);++e1),t}),ii(n,Wi(n),r),e&&(r=Te(r,a|c|l,Ei));for(var u=t.length;u--;)Mu(r,t[u]);return r});var ha=Si(function(n,t){return null==n?{}:function(n,t){return wu(n,t,function(t,r){return ea(n,r)})}(n,t)});function pa(n,t){if(null==n)return{};var r=Jt(Wi(n),function(n){return[n]});return t=Ti(t),wu(n,r,function(n,r){return t(n,r[0])})}var va=ki(fa),_a=ki(aa);function ga(n){return null==n?[]:_r(n,fa(n))}var ya=si(function(n,t,r){return t=t.toLowerCase(),n+(r?da(t):t)});function da(n){return Oa(Gf(n).toLowerCase())}function ba(n){return(n=Gf(n))&&n.replace(Kn,br).replace(gt,"")}var wa=si(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),ma=si(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),xa=li("toLowerCase");var ja=si(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()});var Aa=si(function(n,t,r){return n+(r?" ":"")+Oa(t)});var ka=si(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Oa=li("toUpperCase");function Ia(t,r,e){return t=Gf(t),(r=e?n:r)===n?function(n){return wt.test(n)}(t)?function(n){return n.match(dt)||[]}(t):function(n){return n.match(Bn)||[]}(t):t.match(r)||[]}var Ra=ku(function(t,r){try{return Nt(t,n,r)}catch(n){return Of(n)?n:new Xn(n)}}),Ea=Si(function(n,t){return qt(t,function(t){t=so(t),Ce(n,t,uf(n[t],n))}),n});function za(n){return function(){return n}}var Sa=vi(),La=vi(!0);function Wa(n){return n}function Ca(n){return lu("function"==typeof n?n:Te(n,a))}var Ua=ku(function(n,t){return function(r){return iu(r,n,t)}}),Ba=ku(function(n,t){return function(r){return iu(n,r,t)}});function Ta(n,t,r){var e=fa(t),u=Ye(t,e);null!=r||zf(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=Ye(t,fa(t)));var i=!(zf(r)&&"chain"in r&&!r.chain),o=If(n);return qt(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=ui(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Yt([this.value()],arguments))})}),n}function Da(){}var $a=di(Jt),Ma=di(Kt),Fa=di(nr);function Na(n){return Hi(n)?ar(so(n)):function(n){return function(t){return Qe(t,n)}}(n)}var Pa=wi(),qa=wi(!0);function Za(){return[]}function Ka(){return!1}var Va=yi(function(n,t){return n+t},0),Ga=ji("ceil"),Ha=yi(function(n,t){return n/t},1),Ja=ji("floor");var Ya,Qa=yi(function(n,t){return n*t},1),Xa=ji("round"),nc=yi(function(n,t){return n-t},0);return _e.after=function(n,t){if("function"!=typeof t)throw new it(e);return n=qf(n),function(){if(--n<1)return t.apply(this,arguments)}},_e.ary=rf,_e.assign=Hf,_e.assignIn=Jf,_e.assignInWith=Yf,_e.assignWith=Qf,_e.at=Xf,_e.before=ef,_e.bind=uf,_e.bindAll=Ea,_e.bindKey=of,_e.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return wf(n)?n:[n]},_e.chain=Fo,_e.chunk=function(t,r,e){r=(e?Gi(t,r,e):r===n)?1:Vr(qf(r),0);var u=null==t?0:t.length;if(!u||r<1)return[];for(var i=0,o=0,f=Yn(Mr(u/r));ii?0:i+e),(u=u===n||u>i?i:qf(u))<0&&(u+=i),u=e>u?0:Zf(u);e>>0)?(t=Gf(t))&&("string"==typeof r||null!=r&&!Uf(r))&&!(r=Du(r))&&xr(t)?Ju(Er(t),0,e):t.split(r,e):[]},_e.spread=function(n,t){if("function"!=typeof n)throw new it(e);return t=null==t?0:Vr(qf(t),0),ku(function(r){var e=r[t],u=Ju(r,0,t);return e&&Yt(u,e),Nt(n,this,u)})},_e.tail=function(n){var t=null==n?0:n.length;return t?Lu(n,1,t):[]},_e.take=function(t,r,e){return t&&t.length?Lu(t,0,(r=e||r===n?1:qf(r))<0?0:r):[]},_e.takeRight=function(t,r,e){var u=null==t?0:t.length;return u?Lu(t,(r=u-(r=e||r===n?1:qf(r)))<0?0:r,u):[]},_e.takeRightWhile=function(n,t){return n&&n.length?Nu(n,Ti(t,3),!1,!0):[]},_e.takeWhile=function(n,t){return n&&n.length?Nu(n,Ti(t,3)):[]},_e.tap=function(n,t){return t(n),n},_e.throttle=function(n,t,r){var u=!0,i=!0;if("function"!=typeof n)throw new it(e);return zf(r)&&(u="leading"in r?!!r.leading:u,i="trailing"in r?!!r.trailing:i),ff(n,t,{leading:u,maxWait:t,trailing:i})},_e.thru=No,_e.toArray=Nf,_e.toPairs=va,_e.toPairsIn=_a,_e.toPath=function(n){return wf(n)?Jt(n,so):Df(n)?[n]:ui(lo(Gf(n)))},_e.toPlainObject=Vf,_e.transform=function(n,t,r){var e=wf(n),u=e||Af(n)||$f(n);if(t=Ti(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:zf(n)&&If(i)?ge(Ct(n)):{}}return(u?qt:He)(n,function(n,e,u){return t(r,n,e,u)}),r},_e.unary=function(n){return rf(n,1)},_e.union=zo,_e.unionBy=So,_e.unionWith=Lo,_e.uniq=function(n){return n&&n.length?$u(n):[]},_e.uniqBy=function(n,t){return n&&n.length?$u(n,Ti(t,2)):[]},_e.uniqWith=function(t,r){return r="function"==typeof r?r:n,t&&t.length?$u(t,n,r):[]},_e.unset=function(n,t){return null==n||Mu(n,t)},_e.unzip=Wo,_e.unzipWith=Co,_e.update=function(n,t,r){return null==n?n:Fu(n,t,Vu(r))},_e.updateWith=function(t,r,e,u){return u="function"==typeof u?u:n,null==t?t:Fu(t,r,Vu(e),u)},_e.values=ga,_e.valuesIn=function(n){return null==n?[]:_r(n,aa(n))},_e.without=Uo,_e.words=Ia,_e.wrap=function(n,t){return pf(Vu(t),n)},_e.xor=Bo,_e.xorBy=To,_e.xorWith=Do,_e.zip=$o,_e.zipObject=function(n,t){return Zu(n||[],t||[],ze)},_e.zipObjectDeep=function(n,t){return Zu(n||[],t||[],Ru)},_e.zipWith=Mo,_e.entries=va,_e.entriesIn=_a,_e.extend=Jf,_e.extendWith=Yf,Ta(_e,_e),_e.add=Va,_e.attempt=Ra,_e.camelCase=ya,_e.capitalize=da,_e.ceil=Ga,_e.clamp=function(t,r,e){return e===n&&(e=r,r=n),e!==n&&(e=(e=Kf(e))==e?e:0),r!==n&&(r=(r=Kf(r))==r?r:0),Be(Kf(t),r,e)},_e.clone=function(n){return Te(n,l)},_e.cloneDeep=function(n){return Te(n,a|l)},_e.cloneDeepWith=function(t,r){return Te(t,a|l,r="function"==typeof r?r:n)},_e.cloneWith=function(t,r){return Te(t,l,r="function"==typeof r?r:n)},_e.conformsTo=function(n,t){return null==t||De(n,t,fa(t))},_e.deburr=ba,_e.defaultTo=function(n,t){return null==n||n!=n?t:n},_e.divide=Ha,_e.endsWith=function(t,r,e){t=Gf(t),r=Du(r);var u=t.length,i=e=e===n?u:Be(qf(e),0,u);return(e-=r.length)>=0&&t.slice(e,i)==r},_e.eq=gf,_e.escape=function(n){return(n=Gf(n))&&xn.test(n)?n.replace(wn,wr):n},_e.escapeRegExp=function(n){return(n=Gf(n))&&zn.test(n)?n.replace(En,"\\$&"):n},_e.every=function(t,r,e){var u=wf(t)?Kt:Pe;return e&&Gi(t,r,e)&&(r=n),u(t,Ti(r,3))},_e.find=Zo,_e.findIndex=yo,_e.findKey=function(n,t){return rr(n,Ti(t,3),He)},_e.findLast=Ko,_e.findLastIndex=bo,_e.findLastKey=function(n,t){return rr(n,Ti(t,3),Je)},_e.floor=Ja,_e.forEach=Vo,_e.forEachRight=Go,_e.forIn=function(n,t){return null==n?n:Ve(n,Ti(t,3),aa)},_e.forInRight=function(n,t){return null==n?n:Ge(n,Ti(t,3),aa)},_e.forOwn=function(n,t){return n&&He(n,Ti(t,3))},_e.forOwnRight=function(n,t){return n&&Je(n,Ti(t,3))},_e.get=ra,_e.gt=yf,_e.gte=df,_e.has=function(n,t){return null!=n&&qi(n,t,ru)},_e.hasIn=ea,_e.head=mo,_e.identity=Wa,_e.includes=function(n,t,r,e){n=xf(n)?n:ga(n),r=r&&!e?qf(r):0;var u=n.length;return r<0&&(r=Vr(u+r,0)),Tf(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&ur(n,t,r)>-1},_e.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:qf(r);return u<0&&(u=Vr(e+u,0)),ur(n,t,u)},_e.inRange=function(t,r,e){return r=Pf(r),e===n?(e=r,r=0):e=Pf(e),function(n,t,r){return n>=Gr(t,r)&&n=-z&&n<=z},_e.isSet=Bf,_e.isString=Tf,_e.isSymbol=Df,_e.isTypedArray=$f,_e.isUndefined=function(t){return t===n},_e.isWeakMap=function(n){return Sf(n)&&Pi(n)==rn},_e.isWeakSet=function(n){return Sf(n)&&nu(n)==en},_e.join=function(n,t){return null==n?"":Zr.call(n,t)},_e.kebabCase=wa,_e.last=ko,_e.lastIndexOf=function(t,r,e){var u=null==t?0:t.length;if(!u)return-1;var i=u;return e!==n&&(i=(i=qf(e))<0?Vr(u+i,0):Gr(i,u-1)),r==r?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(t,r,i):er(t,or,i,!0)},_e.lowerCase=ma,_e.lowerFirst=xa,_e.lt=Mf,_e.lte=Ff,_e.max=function(t){return t&&t.length?qe(t,Wa,tu):n},_e.maxBy=function(t,r){return t&&t.length?qe(t,Ti(r,2),tu):n},_e.mean=function(n){return fr(n,Wa)},_e.meanBy=function(n,t){return fr(n,Ti(t,2))},_e.min=function(t){return t&&t.length?qe(t,Wa,pu):n},_e.minBy=function(t,r){return t&&t.length?qe(t,Ti(r,2),pu):n},_e.stubArray=Za,_e.stubFalse=Ka,_e.stubObject=function(){return{}},_e.stubString=function(){return""},_e.stubTrue=function(){return!0},_e.multiply=Qa,_e.nth=function(t,r){return t&&t.length?du(t,qf(r)):n},_e.noConflict=function(){return zt._===this&&(zt._=bt),this},_e.noop=Da,_e.now=tf,_e.pad=function(n,t,r){n=Gf(n);var e=(t=qf(t))?Rr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return bi(Fr(u),r)+n+bi(Mr(u),r)},_e.padEnd=function(n,t,r){n=Gf(n);var e=(t=qf(t))?Rr(n):0;return t&&er){var u=t;t=r,r=u}if(e||t%1||r%1){var i=Yr();return Gr(t+i*(r-t+Ot("1e-"+((i+"").length-1))),r)}return ju(t,r)},_e.reduce=function(n,t,r){var e=wf(n)?Qt:lr,u=arguments.length<3;return e(n,Ti(t,4),r,u,Fe)},_e.reduceRight=function(n,t,r){var e=wf(n)?Xt:lr,u=arguments.length<3;return e(n,Ti(t,4),r,u,Ne)},_e.repeat=function(t,r,e){return r=(e?Gi(t,r,e):r===n)?1:qf(r),Au(Gf(t),r)},_e.replace=function(){var n=arguments,t=Gf(n[0]);return n.length<3?t:t.replace(n[1],n[2])},_e.result=function(t,r,e){var u=-1,i=(r=Gu(r,t)).length;for(i||(i=1,t=n);++uz)return[];var r=W,e=Gr(n,W);t=Ti(t),n-=W;for(var u=hr(e,t);++r=o)return t;var a=e-Rr(u);if(a<1)return u;var c=f?Ju(f,0,a).join(""):t.slice(0,a);if(i===n)return c+u;if(f&&(a+=c.length-a),Uf(i)){if(t.slice(a).search(i)){var l,s=c;for(i.global||(i=et(i.source,Gf(Mn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===n?a:h)}}else if(t.indexOf(Du(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},_e.unescape=function(n){return(n=Gf(n))&&mn.test(n)?n.replace(bn,Sr):n},_e.uniqueId=function(n){var t=++ht;return Gf(n)+t},_e.upperCase=ka,_e.upperFirst=Oa,_e.each=Vo,_e.eachRight=Go,_e.first=mo,Ta(_e,(Ya={},He(_e,function(n,t){st.call(_e.prototype,t)||(Ya[t]=n)}),Ya),{chain:!1}),_e.VERSION="4.17.21",qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){_e[n].placeholder=_e}),qt(["drop","take"],function(t,r){be.prototype[t]=function(e){e=e===n?1:Vr(qf(e),0);var u=this.__filtered__&&!r?new be(this):this.clone();return u.__filtered__?u.__takeCount__=Gr(e,u.__takeCount__):u.__views__.push({size:Gr(e,W),type:t+(u.__dir__<0?"Right":"")}),u},be.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}}),qt(["filter","map","takeWhile"],function(n,t){var r=t+1,e=r==I||3==r;be.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:Ti(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),qt(["head","last"],function(n,t){var r="take"+(t?"Right":"");be.prototype[n]=function(){return this[r](1).value()[0]}}),qt(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");be.prototype[n]=function(){return this.__filtered__?new be(this):this[r](1)}}),be.prototype.compact=function(){return this.filter(Wa)},be.prototype.find=function(n){return this.filter(n).head()},be.prototype.findLast=function(n){return this.reverse().find(n)},be.prototype.invokeMap=ku(function(n,t){return"function"==typeof n?new be(this):this.map(function(r){return iu(r,n,t)})}),be.prototype.reject=function(n){return this.filter(sf(Ti(n)))},be.prototype.slice=function(t,r){t=qf(t);var e=this;return e.__filtered__&&(t>0||r<0)?new be(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),r!==n&&(e=(r=qf(r))<0?e.dropRight(-r):e.take(r-t)),e)},be.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},be.prototype.toArray=function(){return this.take(W)},He(be.prototype,function(t,r){var e=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),i=_e[u?"take"+("last"==r?"Right":""):r],o=u||/^find/.test(r);i&&(_e.prototype[r]=function(){var r=this.__wrapped__,f=u?[1]:arguments,a=r instanceof be,c=f[0],l=a||wf(r),s=function(n){var t=i.apply(_e,Yt([n],f));return u&&h?t[0]:t};l&&e&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){r=_?r:new be(this);var g=t.apply(r,f);return g.__actions__.push({func:No,args:[s],thisArg:n}),new de(g,h)}return v&&_?t.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),qt(["pop","push","shift","sort","splice","unshift"],function(n){var t=ot[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);_e.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(wf(u)?u:[],n)}return this[r](function(r){return t.apply(wf(r)?r:[],n)})}}),He(be.prototype,function(n,t){var r=_e[t];if(r){var e=r.name+"";st.call(oe,e)||(oe[e]=[]),oe[e].push({name:t,func:r})}}),oe[_i(n,v).name]=[{name:"wrapper",func:n}],be.prototype.clone=function(){var n=new be(this.__wrapped__);return n.__actions__=ui(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=ui(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=ui(this.__views__),n},be.prototype.reverse=function(){if(this.__filtered__){var n=new be(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},be.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=wf(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e=this.__values__.length;return{done:t,value:t?n:this.__values__[this.__index__++]}},_e.prototype.plant=function(t){for(var r,e=this;e instanceof ye;){var u=po(e);u.__index__=0,u.__values__=n,r?i.__wrapped__=u:r=u;var i=u;e=e.__wrapped__}return i.__wrapped__=t,r},_e.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof be){var r=t;return this.__actions__.length&&(r=new be(this)),(r=r.reverse()).__actions__.push({func:No,args:[Eo],thisArg:n}),new de(r,this.__chain__)}return this.thru(Eo)},_e.prototype.toJSON=_e.prototype.valueOf=_e.prototype.value=function(){return Pu(this.__wrapped__,this.__actions__)},_e.prototype.first=_e.prototype.head,Cr&&(_e.prototype[Cr]=function(){return this}),_e}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(zt._=Lr,define(function(){return Lr})):Lt?((Lt.exports=Lr)._=Lr,St._=Lr):zt._=Lr}).call(this); }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})}, {}]; window.modules["401"] = [function(require,module,exports){const blockList=["paypal.com","newyorker.com","nature.com","nytimes.com","thetimes.co.uk","Link.springer.com","rev.com","linkedin.com","vanityfair.com","wired.com","theatlantic.com","washingtonpost.com","thedailybeast.com","theinformation.com","goo.gl","espn.com","nba.com","nfl.com","dazn.com","aboutamazon.com","surveymonkey.com","liverpoolfc.com","apple.com"];module.exports={blockList:blockList}; }, {}]; window.modules["402"] = [function(require,module,exports){!function(t){"use strict";t.exports.is_uri=r,t.exports.is_http_uri=i,t.exports.is_https_uri=s,t.exports.is_web_uri=n,t.exports.isUri=r,t.exports.isHttpUri=i,t.exports.isHttpsUri=s,t.exports.isWebUri=n;var e=function(t){return t.match(/(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/)};function r(t){if(t&&!/[^a-z0-9\:\/\?\#\[\]\@\!\$\&\'\(\)\*\+\,\;\=\.\-\_\~\%]/i.test(t)&&!/%[^0-9a-f]/i.test(t)&&!/%[0-9a-f](:?[^0-9a-f]|$)/i.test(t)){var r,i,s,n,f,o="",u="";if(o=(r=e(t))[1],i=r[2],s=r[3],n=r[4],f=r[5],o&&o.length&&s.length>=0){if(i&&i.length){if(0!==s.length&&!/^\//.test(s))return}else if(/^\/\//.test(s))return;if(/^[a-z][a-z0-9\+\-\.]*$/.test(o.toLowerCase()))return u+=o+":",i&&i.length&&(u+="//"+i),u+=s,n&&n.length&&(u+="?"+n),f&&f.length&&(u+="#"+f),u}}}function i(t,i){if(r(t)){var s,n,f,o,u="",a="",h="",p="";if(u=(s=e(t))[1],a=s[2],n=s[3],f=s[4],o=s[5],u){if(i){if("https"!=u.toLowerCase())return}else if("http"!=u.toLowerCase())return;if(a)return/:(\d+)$/.test(a)&&(h=a.match(/:(\d+)$/)[0],a=a.replace(/:\d+$/,"")),p+=u+":",p+="//"+a,h&&(p+=h),p+=n,f&&f.length&&(p+="?"+f),o&&o.length&&(p+="#"+o),p}}}function s(t){return i(t,!0)}function n(t){return i(t)||s(t)}}(module); }, {}]; window.modules["406"] = [function(require,module,exports){module.exports=parse;var bugTestDiv,innerHTMLBug=!1;"undefined"!=typeof document&&((bugTestDiv=document.createElement("div")).innerHTML=' a ',innerHTMLBug=!bugTestDiv.getElementsByTagName("link").length,bugTestDiv=void 0);var map={legend:[1," "," "],tr:[2," "," "],col:[2," "," "],_default:innerHTMLBug?[1,"X "," "]:[0,"",""]};function parse(e,t){if("string"!=typeof e)throw new TypeError("String expected");t||(t=document);var a=/<([\w:]+)/.exec(e);if(!a)return t.createTextNode(e);e=e.replace(/^\s+|\s+$/g,"");var r=a[1];if("body"==r)return(l=t.createElement("html")).innerHTML=e,l.removeChild(l.lastChild);var l,i=Object.prototype.hasOwnProperty.call(map,r)?map[r]:map._default,p=i[0],o=i[1],n=i[2];for((l=t.createElement("div")).innerHTML=o+e+n;p--;)l=l.lastChild;if(l.firstChild==l.lastChild)return l.removeChild(l.firstChild);for(var d=t.createDocumentFragment();l.firstChild;)d.appendChild(l.removeChild(l.firstChild));return d}map.td=map.th=[3," "," "],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["407"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),types_1=require(412),utils_1=require(411),eventbuilder_1=require(408),transports_1=require(413),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,tunnel:this._options.tunnel,_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; }, {"408":408,"409":409,"410":410,"411":411,"412":412,"413":413}]; window.modules["408"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),types_1=require(412),utils_1=require(411),parsers_1=require(418),tracekit_1=require(417);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; }, {"409":409,"411":411,"412":412,"417":417,"418":418}]; window.modules["409"] = [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&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},__decorate=function(e,t,r,n){var o,a=arguments.length,_=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)_=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(_=(a<3?o(_):a>3?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["410"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var minimal_1=require(439);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(434);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(430);exports.API=api_1.API;var baseclient_1=require(433);exports.BaseClient=baseclient_1.BaseClient;var basebackend_1=require(431);exports.BaseBackend=basebackend_1.BaseBackend;var request_1=require(437);exports.eventToSentryRequest=request_1.eventToSentryRequest,exports.sessionToSentryRequest=request_1.sessionToSentryRequest;var sdk_1=require(438);exports.initAndBind=sdk_1.initAndBind;var noop_1=require(432);exports.NoopTransport=noop_1.NoopTransport;var version_1=require(436);exports.SDK_VERSION=version_1.SDK_VERSION;var Integrations=require(440);exports.Integrations=Integrations; }, {"430":430,"431":431,"432":432,"433":433,"434":434,"436":436,"437":437,"438":438,"439":439,"440":440}]; window.modules["411"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409);tslib_1.__exportStar(require(452),exports),tslib_1.__exportStar(require(453),exports),tslib_1.__exportStar(require(455),exports),tslib_1.__exportStar(require(456),exports),tslib_1.__exportStar(require(469),exports),tslib_1.__exportStar(require(454),exports),tslib_1.__exportStar(require(462),exports),tslib_1.__exportStar(require(458),exports),tslib_1.__exportStar(require(463),exports),tslib_1.__exportStar(require(461),exports),tslib_1.__exportStar(require(470),exports),tslib_1.__exportStar(require(459),exports),tslib_1.__exportStar(require(464),exports),tslib_1.__exportStar(require(460),exports),tslib_1.__exportStar(require(465),exports),tslib_1.__exportStar(require(466),exports),tslib_1.__exportStar(require(467),exports),tslib_1.__exportStar(require(468),exports); }, {"409":409,"452":452,"453":453,"454":454,"455":455,"456":456,"458":458,"459":459,"460":460,"461":461,"462":462,"463":463,"464":464,"465":465,"466":466,"467":467,"468":468,"469":469,"470":470}]; window.modules["412"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var loglevel_1=require(448);exports.LogLevel=loglevel_1.LogLevel;var session_1=require(447);exports.SessionStatus=session_1.SessionStatus,exports.RequestSessionStatus=session_1.RequestSessionStatus;var severity_1=require(450);exports.Severity=severity_1.Severity;var status_1=require(449);exports.Status=status_1.Status;var transaction_1=require(451);exports.TransactionSamplingMethod=transaction_1.TransactionSamplingMethod; }, {"447":447,"448":448,"449":449,"450":450,"451":451}]; window.modules["413"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var base_1=require(427);exports.BaseTransport=base_1.BaseTransport;var fetch_1=require(428);exports.FetchTransport=fetch_1.FetchTransport;var xhr_1=require(429);exports.XHRTransport=xhr_1.XHRTransport; }, {"427":427,"428":428,"429":429}]; window.modules["414"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),utils_1=require(411),backend_1=require(407),helpers_1=require(415),integrations_1=require(416),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; }, {"407":407,"409":409,"410":410,"411":411,"415":415,"416":416}]; window.modules["415"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),utils_1=require(411),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; }, {"409":409,"410":410,"411":411}]; window.modules["416"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var globalhandlers_1=require(423);exports.GlobalHandlers=globalhandlers_1.GlobalHandlers;var trycatch_1=require(424);exports.TryCatch=trycatch_1.TryCatch;var breadcrumbs_1=require(422);exports.Breadcrumbs=breadcrumbs_1.Breadcrumbs;var linkederrors_1=require(425);exports.LinkedErrors=linkederrors_1.LinkedErrors;var useragent_1=require(426);exports.UserAgent=useragent_1.UserAgent; }, {"422":422,"423":423,"424":424,"425":425,"426":426}]; window.modules["417"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),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!==e.length&&core_1.getCurrentHub().addBreadcrumb({category:"ui."+t.name,message:e},{event:t.event,name:t.name,global:t.global})},t.prototype._xhrBreadcrumb=function(t){if(t.endTimestamp){if(t.xhr.__sentry_own_request__)return;var e=t.xhr.__sentry_xhr__||{},r=e.method,a=e.url,o=e.status_code,s=e.body;core_1.getCurrentHub().addBreadcrumb({category:"xhr",data:{method:r,url:a,status_code:o},type:"http"},{xhr:t.xhr,input:s})}else;},t.prototype._fetchBreadcrumb=function(t){t.endTimestamp&&(t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method||(t.error?core_1.getCurrentHub().addBreadcrumb({category:"fetch",data:t.fetchData,level:types_1.Severity.Error,type:"http"},{data:t.error,input:t.args}):core_1.getCurrentHub().addBreadcrumb({category:"fetch",data:tslib_1.__assign(tslib_1.__assign({},t.fetchData),{status_code:t.response.status}),type:"http"},{input:t.args,response:t.response})))},t.prototype._historyBreadcrumb=function(t){var e=utils_1.getGlobalObject(),r=t.from,a=t.to,o=utils_1.parseUrl(e.location.href),s=utils_1.parseUrl(r),n=utils_1.parseUrl(a);s.path||(s=o),o.protocol===n.protocol&&o.host===n.host&&(a=n.relative),o.protocol===s.protocol&&o.host===s.host&&(r=s.relative),core_1.getCurrentHub().addBreadcrumb({category:"navigation",data:{from:r,to:a}})},t.id="Breadcrumbs",t}();exports.Breadcrumbs=Breadcrumbs; }, {"409":409,"410":410,"411":411,"412":412}]; window.modules["423"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),types_1=require(412),utils_1=require(411),eventbuilder_1=require(408),helpers_1=require(415),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; }, {"408":408,"409":409,"410":410,"411":411,"412":412,"415":415}]; window.modules["424"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),utils_1=require(411),helpers_1=require(415),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; }, {"409":409,"410":410,"411":411,"417":417,"418":418}]; window.modules["426"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),utils_1=require(411),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; }, {"409":409,"410":410,"411":411}]; window.modules["427"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),types_1=require(412),utils_1=require(411),CATEGORY_MAPPING={event:"error",transaction:"transaction",session:"session",attachment:"attachment"},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,t.tunnel),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 "+e+" 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(";"))),h=f.next();!h.done;h=f.next()){var c=h.value;this._rateLimits[c||"all"]=new Date(n+d)}}catch(t){s={error:t}}finally{try{h&&!h.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; }, {"409":409,"410":410,"411":411,"412":412}]; window.modules["428"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),utils_1=require(411),base_1=require(427);function getNativeFetchImplementation(){var e,t,r=utils_1.getGlobalObject();if(utils_1.isNativeFetch(r.fetch))return r.fetch.bind(r);var s=r.document,i=r.fetch;if("function"==typeof(null===(e=s)||void 0===e?void 0:e.createElement))try{var n=s.createElement("iframe");n.hidden=!0,s.head.appendChild(n),(null===(t=n.contentWindow)||void 0===t?void 0:t.fetch)&&(i=n.contentWindow.fetch),s.head.removeChild(n)}catch(e){utils_1.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return i.bind(r)}var FetchTransport=function(e){function t(t,r){void 0===r&&(r=getNativeFetchImplementation());var s=e.call(this,t)||this;return s._fetch=r,s}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 for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var s={body:e.body,method:"POST",referrerPolicy:utils_1.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(s,this.options.fetchParameters),void 0!==this.options.headers&&(s.headers=this.options.headers),this._buffer.add(new utils_1.SyncPromise(function(t,i){r._fetch(e.url,s).then(function(s){var n={"x-sentry-rate-limits":s.headers.get("X-Sentry-Rate-Limits"),"retry-after":s.headers.get("Retry-After")};r._handleResponse({requestType:e.type,response:s,headers:n,resolve:t,reject:i})}).catch(i)}))},t}(base_1.BaseTransport);exports.FetchTransport=FetchTransport; }, {"409":409,"410":410,"411":411,"427":427}]; window.modules["429"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),core_1=require(410),utils_1=require(411),base_1=require(427),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 for "+e.type+" requests 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; }, {"409":409,"410":410,"411":411,"427":427}]; window.modules["430"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(411),SENTRY_API_VERSION="7",API=function(){function t(t,e,n){void 0===e&&(e={}),this.dsn=t,this._dsnObject=new utils_1.Dsn(t),this.metadata=e,this._tunnel=n}return t.prototype.getDsn=function(){return this._dsnObject},t.prototype.forceEnvelope=function(){return!!this._tunnel},t.prototype.getBaseApiEndpoint=function(){var t=this.getDsn(),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.forceEnvelope()?this._tunnel:this._getEnvelopeEndpoint()+"?"+this._encodedAuth()},t.prototype.getStoreEndpointPath=function(){var t=this.getDsn();return(t.path?"/"+t.path:"")+"/api/"+t.projectId+"/store/"},t.prototype.getRequestHeaders=function(t,e){var n=this.getDsn(),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.getDsn(),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._tunnel?this._tunnel:""+this.getBaseApiEndpoint()+this.getDsn().projectId+"/"+t+"/"},t.prototype._encodedAuth=function(){var t={sentry_key:this.getDsn().publicKey,sentry_version:SENTRY_API_VERSION};return utils_1.urlEncode(t)},t}();exports.API=API; }, {"411":411}]; window.modules["431"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require(411),noop_1=require(432),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; }, {"411":411,"432":432}]; window.modules["432"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(412),utils_1=require(411),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; }, {"411":411,"412":412}]; window.modules["433"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),hub_1=require(434),types_1=require(412),utils_1=require(411),integration_1=require(435),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){this._isEnabled()?"string"!=typeof t.release?utils_1.logger.warn("Discarded session because of missing or non-string release"):(this._sendSession(t),t.update({init:!1})):utils_1.logger.warn("SDK not enabled, will not capture session.")},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=!1,s=!1,o=e.exception&&e.exception.values;if(o){s=!0;try{for(var a=tslib_1.__values(o),u=a.next();!u.done;u=a.next()){var l=u.value.mechanism;if(l&&!1===l.handled){i=!0;break}}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}var _=t.status===types_1.SessionStatus.Ok;(_&&0===t.errors||_&&i)&&(t.update(tslib_1.__assign(tslib_1.__assign({},i&&{status:types_1.SessionStatus.Crashed}),{errors:t.errors||Number(s||i)})),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 capture 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);return r._ensureBeforeSendRv(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.prototype._ensureBeforeSendRv=function(t){var e="`beforeSend` method has to return `null` or a valid event.";if(utils_1.isThenable(t))return t.then(function(t){if(!utils_1.isPlainObject(t)&&null!==t)throw new utils_1.SentryError(e);return t},function(t){throw new utils_1.SentryError("beforeSend rejected with "+t)});if(!utils_1.isPlainObject(t)&&null!==t)throw new utils_1.SentryError(e);return t},t}();exports.BaseClient=BaseClient; }, {"409":409,"411":411,"412":412,"434":434,"435":435}]; window.modules["434"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var scope_1=require(444);exports.addGlobalEventProcessor=scope_1.addGlobalEventProcessor,exports.Scope=scope_1.Scope;var session_1=require(445);exports.Session=session_1.Session;var sessionFlusher_1=require(446);exports.SessionFlusher=sessionFlusher_1.SessionFlusher;var hub_1=require(443);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; }, {"443":443,"444":444,"445":445,"446":446}]; window.modules["435"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),hub_1=require(434),utils_1=require(411);function filterDuplicates(e){return e.reduce(function(e,t){return e.every(function(e){return t.name!==e.name})&&e.push(t),e},[])}function getIntegrationsToSetup(e){var t=e.defaultIntegrations&&tslib_1.__spread(e.defaultIntegrations)||[],n=e.integrations,r=tslib_1.__spread(filterDuplicates(t));Array.isArray(n)?r=tslib_1.__spread(r.filter(function(e){return n.every(function(t){return t.name!==e.name})}),filterDuplicates(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);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; }, {"409":409,"411":411,"434":434}]; window.modules["436"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.SDK_VERSION="6.7.2"; }, {}]; window.modules["437"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409);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),s="aggregates"in e?"sessions":"session";return{body:JSON.stringify(tslib_1.__assign(tslib_1.__assign({sent_at:(new Date).toISOString()},n&&{sdk:n}),t.forceEnvelope()&&{dsn:t.getDsn().toString()}))+"\n"+JSON.stringify({type:s})+"\n"+JSON.stringify(e),type:s,url:t.getEnvelopeEndpointWithUrlEncodedAuth()}}function eventToSentryRequest(e,t){var n=getSdkMetadataForEnvelopeHeader(t),s=e.type||"event",a="transaction"===s||t.forceEnvelope(),i=e.debug_meta||{},r=i.transactionSampling,o=tslib_1.__rest(i,["transactionSampling"]),d=r||{},g=d.method,_=d.rate;0===Object.keys(o).length?delete e.debug_meta:e.debug_meta=o;var l={body:JSON.stringify(n?enhanceEventWithSdkInfo(e,t.metadata.sdk):e),type:s,url:a?t.getEnvelopeEndpointWithUrlEncodedAuth():t.getStoreEndpointWithUrlEncodedAuth()};if(a){var p=JSON.stringify(tslib_1.__assign(tslib_1.__assign({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),t.forceEnvelope()&&{dsn:t.getDsn().toString()}))+"\n"+JSON.stringify({type:s,sample_rates:[{id:g,rate:_}]})+"\n"+l.body;l.body=p}return l}exports.sessionToSentryRequest=sessionToSentryRequest,exports.eventToSentryRequest=eventToSentryRequest; }, {"409":409}]; window.modules["438"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var hub_1=require(434),utils_1=require(411);function initAndBind(e,i){var n;!0===i.debug&&utils_1.logger.enable();var t=hub_1.getCurrentHub();null===(n=t.getScope())||void 0===n||n.update(i.initialScope);var r=new e(i);t.bindClient(r)}exports.initAndBind=initAndBind; }, {"411":411,"434":434}]; window.modules["439"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),hub_1=require(434);function callOnHub(t){for(var e=[],r=1;r<=0)return this;var i=tslib_1.__assign({timestamp:utils_1.dateTimestampInSeconds()},t);return this._breadcrumbs=tslib_1.__spread(this._breadcrumbs,[i]).slice(-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; }, {"409":409,"411":411}]; window.modules["445"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(412),utils_1=require(411),Session=function(){function t(t){this.errors=0,this.sid=utils_1.uuid4(),this.duration=0,this.status=types_1.SessionStatus.Ok,this.init=!0,this.ignoreDuration=!1;var s=utils_1.timestampInSeconds();this.timestamp=s,this.started=s,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||utils_1.timestampInSeconds(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:utils_1.uuid4()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var s=this.timestamp-this.started;this.duration=s>=0?s:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&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(1e3*this.started).toISOString(),timestamp:new Date(1e3*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; }, {"411":411,"412":412}]; window.modules["446"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var types_1=require(412),utils_1=require(411),hub_1=require(443),SessionFlusher=function(){function e(e,s){var t=this;this.flushTimeout=60,this._pendingAggregates={},this._isEnabled=!0,this._transport=e,this._intervalId=setInterval(function(){return t.flush()},1e3*this.flushTimeout),this._sessionAttrs=s}return e.prototype.sendSessionAggregates=function(e){this._transport.sendSession?this._transport.sendSession(e).then(null,function(e){utils_1.logger.error("Error while sending session: "+e)}):utils_1.logger.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.flush=function(){var e=this.getSessionAggregates();0!==e.aggregates.length&&(this._pendingAggregates={},this.sendSessionAggregates(e))},e.prototype.getSessionAggregates=function(){var e=this,s=Object.keys(this._pendingAggregates).map(function(s){return e._pendingAggregates[parseInt(s)]}),t={attrs:this._sessionAttrs,aggregates:s};return utils_1.dropUndefinedKeys(t)},e.prototype.close=function(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()},e.prototype.incrementSessionStatusCount=function(){var e,s;if(this._isEnabled){var t=hub_1.getCurrentHub().getScope(),n=null===(e=t)||void 0===e?void 0:e.getRequestSession();n&&n.status&&(this._incrementSessionStatusCount(n.status,new Date),null===(s=t)||void 0===s||s.setRequestSession(void 0))}},e.prototype._incrementSessionStatusCount=function(e,s){var t=new Date(s).setSeconds(0,0);this._pendingAggregates[t]=this._pendingAggregates[t]||{};var n=this._pendingAggregates[t];switch(n.started||(n.started=new Date(t).toISOString()),e){case types_1.RequestSessionStatus.Errored:return n.errored=(n.errored||0)+1,n.errored;case types_1.RequestSessionStatus.Ok:return n.exited=(n.exited||0)+1,n.exited;case types_1.RequestSessionStatus.Crashed:return n.crashed=(n.crashed||0)+1,n.crashed}},e}();exports.SessionFlusher=SessionFlusher; }, {"411":411,"412":412,"443":443}]; window.modules["447"] = [function(require,module,exports){var SessionStatus,RequestSessionStatus;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={})),function(e){e.Ok="ok",e.Errored="errored",e.Crashed="crashed"}(RequestSessionStatus=exports.RequestSessionStatus||(exports.RequestSessionStatus={})); }, {}]; window.modules["448"] = [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["449"] = [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<300?t.Success:429===e?t.RateLimit:e>=400&&e<500?t.Invalid:e>=500?t.Failed:t.Unknown}}(Status=exports.Status||(exports.Status={})); }, {}]; window.modules["450"] = [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["451"] = [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["452"] = [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["453"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(454);function htmlTreeAsString(e,t){try{for(var r=e,n=[],i=0,s=0,l=" > ".length,h=void 0;r&&i++<5&&!("html"===(h=_htmlElementAsString(r,t))||i>1&&s+n.length*l+h.length>=80);)n.push(h),s+=h.length,r=r.parentNode;return n.reverse().join(" > ")}catch(e){return""}}function _htmlElementAsString(e,t){var r,n,i,s,l,h=e,u=[];if(!h||!h.tagName)return"";u.push(h.tagName.toLowerCase());var a=t?h.getAttribute(t):null;if(a)u.push("["+t+'="'+a+'"]');else if(h.id&&u.push("#"+h.id),(r=h.className)&&is_1.isString(r))for(n=r.split(/\s+/),l=0;l1&&(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; }, {"409":409,"456":456}]; window.modules["456"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require(409),polyfill_1=require(457),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; }, {"409":409,"457":457}]; window.modules["457"] = [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["458"] = [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 : {})}, {"461":461,"465":465}]; window.modules["464"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var error_1=require(456),syncpromise_1=require(467),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; }, {"456":456,"467":467}]; window.modules["465"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var is_1=require(454);function truncate(t,n){return void 0===n&&(n=0),"string"!=typeof t||0===n?t:t.length<=n?t:t.substr(0,n)+"..."}function snipLine(t,n){var e=t,r=e.length;if(r<=150)return e;n>r&&(n=r);var i=Math.max(n-60,0);i<5&&(i=0);var s=Math.min(i+140,r);return s>r-5&&(s=r),s===r&&(i=Math.max(s-140,0)),e=e.slice(i,s),i>0&&(e="'{snip} "+e),s<36e5?n<=m?(exports._browserPerformanceTimeOriginMode="timeOrigin",e.timeOrigin):(exports._browserPerformanceTimeOriginMode="navigationStart",i):(exports._browserPerformanceTimeOriginMode="dateNow",o)}exports._browserPerformanceTimeOriginMode="none"}(); }, {"461":461,"463":463}]; window.modules["469"] = [function(require,module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var lastHref,tslib_1=require(409),is_1=require(454),logger_1=require(462),misc_1=require(463),object_1=require(470),stacktrace_1=require(460),supports_1=require(466),global=misc_1.getGlobalObject(),handlers={},instrumented={};function instrument(e){if(!instrumented[e])switch(instrumented[e]=!0,e){case"console":instrumentConsole();break;case"dom":instrumentDOM();break;case"xhr":instrumentXHR();break;case"fetch":instrumentFetch();break;case"history":instrumentHistory();break;case"error":instrumentError();break;case"unhandledrejection":instrumentUnhandledRejection();break;default:logger_1.logger.warn("unknown instrumentation type:",e)}}function addInstrumentationHandler(e){e&&"string"==typeof e.type&&"function"==typeof e.callback&&(handlers[e.type]=handlers[e.type]||[],handlers[e.type].push(e.callback),instrument(e.type))}function triggerHandlers(e,t){var r,n;if(e&&handlers[e])try{for(var o=tslib_1.__values(handlers[e]||[]),a=o.next();!a.done;a=o.next()){var i=a.value;try{i(t)}catch(t){logger_1.logger.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+stacktrace_1.getFunctionName(i)+"\nError: "+t)}}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}function instrumentConsole(){"console"in global&&["debug","info","warn","error","log","assert"].forEach(function(e){e in global.console&&object_1.fill(global.console,e,function(t){return function(){for(var r=[],n=0;n